35 lines
987 B
INI
35 lines
987 B
INI
; PlatformIO Project Configuration File
|
|
;
|
|
; Build options: build flags, source filter
|
|
; Upload options: custom upload port, speed and extra flags
|
|
; Library options: dependencies, extra library storages
|
|
; Advanced options: extra scripting
|
|
;
|
|
; Please visit documentation for the other options and examples
|
|
; http://docs.platformio.org/page/projectconf.html
|
|
[env:node32s]
|
|
platform = espressif32
|
|
board = node32s
|
|
|
|
extra_scripts = pre:timelib_fix.py
|
|
|
|
framework = arduino
|
|
monitor_speed = 115200
|
|
|
|
; Uncomment & modify the lines below in order to configure OTA updates
|
|
;upload_flags =
|
|
; --port=8266
|
|
; --auth=esp-react
|
|
;upload_port = 192.168.0.11
|
|
|
|
build_flags=
|
|
-D NO_GLOBAL_ARDUINOOTA
|
|
; Uncomment ENABLE_CORS to enable Cross-Origin Resource Sharing (required for local React development)
|
|
-D ENABLE_CORS
|
|
-D CORS_ORIGIN=\"http://localhost:3000\"
|
|
lib_deps =
|
|
NtpClientLib@>=2.5.1,<3.0.0
|
|
ArduinoJson@>=6.0.0,<7.0.0
|
|
ESP Async WebServer@>=1.2.0,<2.0.0
|
|
AsyncTCP@>=1.0.3,<2.0.0
|