forked from rjwats/esp8266-react
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathplatformio.ini
41 lines (34 loc) · 945 Bytes
/
platformio.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[platformio]
;default_envs = esp12e
default_envs = node32s
[env]
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\"
; Uncomment PROGMEM_WWW to enable the storage of the WWW data in PROGMEM
;-D PROGMEM_WWW
; Uncomment & modify the lines below in order to configure OTA updates
;upload_flags =
; --port=8266
; --auth=esp-react
;upload_port = 192.168.0.11
framework = arduino
monitor_speed = 115200
extra_scripts =
pre:scripts/build_interface.py
lib_deps =
ArduinoJson@>=6.0.0,<7.0.0
ESP Async WebServer@>=1.2.0,<2.0.0
[env:esp12e]
platform = espressif8266
board = esp12e
board_build.f_cpu = 160000000L
lib_ignore = AsyncTCP
[env:node32s]
;board_build.partitions = min_spiffs.csv
platform = espressif32
board = node32s
lib_ignore = ESPAsyncTCP
upload_port = /dev/ttyUSB0