-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
74 lines (66 loc) · 1.73 KB
/
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
; 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
; https://docs.platformio.org/page/projectconf.html
[env]
framework = arduino
lib_deps =
arduino-libraries/ArduinoIoTCloud
ayushsharma82/ElegantOTA
kytpbs/SmoothPin
CloudSerial
Color
debug_build_flags=
-D VERBOSE
build_flags =
-D INFO
monitor_speed = 115200
board_build.partitions = max_app_4MB.csv
[esp32]
platform = espressif32
board = esp32dev
build_flags =
-UOTA_ENABLED ; Disable OTA, as Arduino IoT Cloud fucks up with it for some reason.
; if it still doesn't build, go to "AIoTC_Config.h" on src of the ARDUINO CLOUD Library and comment out "#define OTA_ENABLED (1)"
monitor_filters =
time
log2file
esp32_exception_decoder
lib_ignore = WiFiNINA
[env:esp32USB]
platform = ${esp32.platform}
board = ${esp32.board}
build_flags = ${esp32.build_flags}
monitor_filters = ${esp32.monitor_filters}
lib_ignore = WiFiNINA
[env:esp8266]
platform = espressif8266
board = nodemcuv2
monitor_speed = 115200
monitor_filters =
time
log2file
esp8266_exception_decoder
lib_deps =
${env.lib_deps}
vshymanskyy/Preferences
lib_ignore = WiFiNINA
[env:esp32OTA]
platform = ${esp32.platform}
board = ${esp32.board}
build_flags = ${esp32.build_flags}
lib_ignore = ${esp32.lib_ignore}
upload_protocol = espota
upload_port = 192.168.0.2
[env:esp32SIM]
platform = ${esp32.platform}
board = ${esp32.board}
build_flags =
${esp32.build_flags},
-D SIMULATION
lib_ignore = ${esp32.lib_ignore}