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.

33 lines
980 B

  1. ; PlatformIO Project Configuration File
  2. ;
  3. ; Build options: build flags, source filter
  4. ; Upload options: custom upload port, speed and extra flags
  5. ; Library options: dependencies, extra library storages
  6. ; Advanced options: extra scripting
  7. ;
  8. ; Please visit documentation for the other options and examples
  9. ; http://docs.platformio.org/page/projectconf.html
  10. [env:node32s]
  11. platform = espressif32
  12. board = node32s
  13. extra_scripts = pre:timelib_fix.py
  14. framework = arduino
  15. monitor_speed = 115200
  16. ; Uncomment & modify the lines below in order to configure OTA updates
  17. ;upload_flags = --port=8266 --auth=esp-react
  18. ;upload_port = 192.168.0.6
  19. build_flags=
  20. -D NO_GLOBAL_ARDUINOOTA
  21. ; Uncomment ENABLE_CORS to enable Cross-Origin Resource Sharing (required for local React development)
  22. ;-D ENABLE_CORS
  23. -D CORS_ORIGIN=\"http://localhost:3000\"
  24. lib_deps =
  25. NtpClientLib@>=2.5.1,<3.0.0
  26. ArduinoJson@>=6.0.0,<7.0.0
  27. ESP Async WebServer@>=1.2.0,<2.0.0
  28. AsyncTCP@>=1.0.3,<2.0.0