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.

41 lines
971 B

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