-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio.ini
More file actions
52 lines (46 loc) · 1.2 KB
/
Copy pathplatformio.ini
File metadata and controls
52 lines (46 loc) · 1.2 KB
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
; 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
[platformio]
default_envs = nodemcuv2
[env:nodemcuv2]
platform = espressif8266
board = nodemcuv2
framework = arduino
monitor_speed = 115200
board_build.filesystem = littlefs
lib_compat_mode = strict
test_ignore = *
lib_deps =
bblanchon/ArduinoJson
knolleary/PubSubClient@^2.8
ayushsharma82/ElegantOTA@^3.1.7
esp32async/ESPAsyncTCP@^2.0.0
esp32async/ESPAsyncWebServer@^3.9.4
build_flags =
-D PIO_FRAMEWORK_ARDUINO_LITTLEFS_ENABLE
-D ELEGANTOTA_USE_ASYNC_WEBSERVER=1
-I include
-Os
[env:nodemcuv2-ota]
extends = env:nodemcuv2
upload_protocol = custom
extra_scripts = scripts/platformio_elegantota_upload.py
[env:test]
platform = native
test_framework = unity
test_build_src = no
build_flags =
-I include
-I test/mocks
-D UNITY_INCLUDE_DOUBLE
lib_deps =
bblanchon/ArduinoJson@^7.4.2
throwtheswitch/Unity@^2.6.0
fabiobatsilva/ArduinoFake@^0.4.0