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.

38 lines
872 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. ; Uncomment & modify the lines below in order to configure OTA updates
  13. ;upload_flags =
  14. ; --port=8266
  15. ; --auth=esp-react
  16. ;upload_port = 192.168.0.11
  17. framework = arduino
  18. monitor_speed = 115200
  19. extra_scripts =
  20. pre:scripts/build_interface.py
  21. lib_deps =
  22. ArduinoJson@>=6.0.0,<7.0.0
  23. ESP Async WebServer@>=1.2.0,<2.0.0
  24. [env:esp12e]
  25. platform = espressif8266
  26. board = esp12e
  27. board_build.f_cpu = 160000000L
  28. [env:node32s]
  29. ;board_build.partitions = min_spiffs.csv
  30. platform = espressif32
  31. board = node32s