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.

35 lines
1019 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:esp12e]
  11. platform = espressif8266
  12. board = esp12e
  13. board_build.f_cpu = 160000000L
  14. extra_scripts = pre:timelib_fix.py
  15. framework = arduino
  16. monitor_speed = 115200
  17. ; Uncomment & modify the lines below in order to configure OTA updates
  18. ;upload_flags =
  19. ; --port=8266
  20. ; --auth=esp-react
  21. ;upload_port = 192.168.0.11
  22. build_flags=
  23. -D NO_GLOBAL_ARDUINOOTA
  24. ; Uncomment ENABLE_CORS to enable Cross-Origin Resource Sharing (required for local React development)
  25. ;-D ENABLE_CORS
  26. -D CORS_ORIGIN=\"http://localhost:3000\"
  27. lib_deps =
  28. NtpClientLib@>=2.5.1,<3.0.0
  29. ArduinoJson@>=6.0.0,<7.0.0
  30. ESP Async WebServer@>=1.2.0,<2.0.0
  31. AsyncTCP@>=1.0.3,<2.0.0