2018-02-26 00:11:31 +00:00
|
|
|
; 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
|
2019-08-09 14:53:39 +00:00
|
|
|
[env:esp12e]
|
|
|
|
platform = espressif8266
|
|
|
|
board = esp12e
|
|
|
|
board_build.f_cpu = 160000000L
|
2018-11-11 19:56:44 +00:00
|
|
|
|
2019-06-02 13:27:55 +00:00
|
|
|
extra_scripts = pre:timelib_fix.py
|
|
|
|
|
2018-02-26 00:11:31 +00:00
|
|
|
framework = arduino
|
2019-06-01 18:53:42 +00:00
|
|
|
monitor_speed = 115200
|
|
|
|
|
|
|
|
; Uncomment & modify the lines below in order to configure OTA updates
|
2019-06-02 18:01:06 +00:00
|
|
|
;upload_flags =
|
|
|
|
; --port=8266
|
|
|
|
; --auth=esp-react
|
|
|
|
;upload_port = 192.168.0.11
|
2019-04-07 21:51:08 +00:00
|
|
|
|
2018-02-26 22:55:58 +00:00
|
|
|
build_flags=
|
|
|
|
-D NO_GLOBAL_ARDUINOOTA
|
2019-06-01 18:53:42 +00:00
|
|
|
; Uncomment ENABLE_CORS to enable Cross-Origin Resource Sharing (required for local React development)
|
2019-08-09 19:36:18 +00:00
|
|
|
;-D ENABLE_CORS
|
2019-05-19 16:51:57 +00:00
|
|
|
-D CORS_ORIGIN=\"http://localhost:3000\"
|
2018-02-26 00:11:31 +00:00
|
|
|
lib_deps =
|
2019-04-24 22:41:24 +00:00
|
|
|
NtpClientLib@>=2.5.1,<3.0.0
|
2019-04-14 07:52:40 +00:00
|
|
|
ArduinoJson@>=6.0.0,<7.0.0
|
2019-04-24 22:41:24 +00:00
|
|
|
ESP Async WebServer@>=1.2.0,<2.0.0
|
|
|
|
AsyncTCP@>=1.0.3,<2.0.0
|