-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio.ini
More file actions
51 lines (47 loc) · 1.6 KB
/
platformio.ini
File metadata and controls
51 lines (47 loc) · 1.6 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
; 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]
extra_configs = platformio_upload.ini
default_envs = esp-wrover-kit
[env]
test_framework = googletest
[env:esp-wrover-kit]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/stable/platform-espressif32.zip
board = esp-wrover-kit
framework = arduino
lib_compat_mode = strict
lib_deps =
bblanchon/ArduinoJson@^7.4.3
adafruit/DHT sensor library@^1.4.6
ayushsharma82/ElegantOTA@^3.1.7
ayushsharma82/WebSerial@^2.1.2
https://github.com/sblantipodi/platformio_version_increment.git#v0.1.9
monitor_speed = 115200
upload_speed = 460800
board_build.filesystem = littlefs
build_unflags = -std=gnu++11
build_flags =
-DELEGANTOTA_USE_ASYNC_WEBSERVER=1
-std=gnu++17
extra_scripts =
pre:$PROJECT_LIBDEPS_DIR/$PIOENV/platformio_version_increment/version_increment_pre.py
post:$PROJECT_LIBDEPS_DIR/$PIOENV/platformio_version_increment/esp32_create_factory_bin_post.py
post:$PROJECT_LIBDEPS_DIR/$PIOENV/platformio_version_increment/version_increment_post.py
$PROJECT_LIBDEPS_DIR/$PIOENV/ElegantOTA/platformio_upload.py
[env:native]
platform = native
lib_deps =
bblanchon/ArduinoJson@^7.0.4
google/googletest@^1.12.1
build_unflags = -std=gnu++11
build_flags =
-std=gnu++17
-lgcov --coverage
extra_scripts = test/coverage.py