-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
47 lines (43 loc) · 1.46 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
[platformio]
default_envs = esp32-s3-devkitc-1
[env]
build_flags =
-std=gnu++17 ; necessary for using modern STL
-Werror=return-type ; consider missing return information as fatal error
-Werror=overflow
build_unflags = -std=gnu++11 ; necessary to be able to specify a different language standard
[production]
extends = env
lib_deps =
adafruit/Adafruit SSD1306@~2.5.3
lvgl@^8.3
johboh/nlohmann-json@^3.11.3
3rd_party_adapters ; this is necessary as no source code dependency shall exist to that packet
lib_ldf_mode = deep ; to automatically detect nested dependencies (for external libraries)
build_flags =
${env.build_flags}
-DLV_CONF_PATH="${PROJECT_DIR}/lib/3rd_party_adapters/LVGL/lv_conf.h" ; lvgl: use this config file
-DBAUD_RATE=${this.monitor_speed}
monitor_speed = 115200
[env:native]
platform = native
lib_deps =
unity
ArduinoFake@^0.4.0
enterprise_business_rules
utilities
lib_ldf_mode = chain ; to simplify mocking, do not use deep mode
build_flags =
${env.build_flags}
-Wno-deprecated ; Workaround for https://github.com/FabioBatSilva/ArduinoFake/pull/41#issuecomment-1440550553
-lgcov
--coverage
-fprofile-abs-path
-O0
-ggdb3
[env:esp32-s3-devkitc-1]
platform = espressif32
board = esp32-s3-devkitc-1
framework = arduino
extends = production
monitor_filters = esp32_exception_decoder