Fork of the excellent esp8266-react - https://github.com/rjwats/esp8266-react
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.1 KiB

  1. [platformio]
  2. extra_configs = factory_settings.ini
  3. default_envs = esp12e
  4. ;default_envs = node32s
  5. [env]
  6. build_flags=
  7. ${factory_settings.build_flags}
  8. -D NO_GLOBAL_ARDUINOOTA
  9. ; Uncomment ENABLE_CORS to enable Cross-Origin Resource Sharing (required for local React development)
  10. ;-D ENABLE_CORS
  11. -D CORS_ORIGIN=\"http://localhost:3000\"
  12. ; Uncomment PROGMEM_WWW to enable the storage of the WWW data in PROGMEM
  13. -D PROGMEM_WWW
  14. ; ensure transitive dependencies are included for correct platforms only
  15. lib_compat_mode = strict
  16. ; Uncomment & modify the lines below in order to configure OTA updates
  17. ;upload_flags =
  18. ; --port=8266
  19. ; --auth=esp-react
  20. ;upload_port = 192.168.0.11
  21. framework = arduino
  22. monitor_speed = 115200
  23. extra_scripts =
  24. pre:scripts/build_interface.py
  25. lib_deps =
  26. ArduinoJson@>=6.0.0,<7.0.0
  27. ESP Async WebServer@>=1.2.0,<2.0.0
  28. AsyncMqttClient@>=0.8.2,<1.0.0
  29. [env:esp12e]
  30. platform = espressif8266
  31. board = esp12e
  32. board_build.f_cpu = 160000000L
  33. [env:node32s]
  34. ; Comment out min_spiffs.csv setting if disabling PROGMEM_WWW with ESP32
  35. board_build.partitions = min_spiffs.csv
  36. platform = espressif32
  37. board = node32s