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.

49 lines
1.2 KiB

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