forked from DiverOfDark/KNOMI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
85 lines (76 loc) · 2.07 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
75
76
77
78
79
80
81
82
83
84
85
[platformio]
boards_dir = boards
[env]
platform = espressif32 @ 6.6.0
framework = arduino
board_build.filesystem = littlefs
board_build.partitions = partition.csv
lib_ldf_mode = deep+
monitor_speed = 115200
check_tool = cppcheck, clangtidy
check_skip_packages = yes
check_flags =
clangtidy: --fix
check_src_filters =
src
build_flags =
-Isrc -Os
-DARDUINOJSON_ENABLE_ARDUINO_PRINT=0
-DARDUINOJSON_ENABLE_STD_STRING=0
-DNDEBUG
lib_deps =
bblanchon/ArduinoJson @ 7.1.0
bitbank2/AnimatedGIF @ 2.1.1
bodmer/TFT_eSPI @ 2.5.43
extra_scripts =
pre:scripts/generate_images.py
pre:scripts/generate_fonts.py
pre:scripts/generate_ui.py
pre:scripts/git_version.py
pre:scripts/run_clangformat.py
pre:scripts/platformio_upload.py
pre:scripts/parse_coredump.py
custom_generateImages = true
custom_generateFonts = true
custom_generateUI = true
custom_generateVersion = true
custom_clangFormat = true
[env:knomiv1-debug]
board = esp32r8
build_type = debug
monitor_filters = esp32_exception_decoder
custom_generateImages = false
custom_generateFonts = false
custom_generateUI = false
custom_generateVersion = false
custom_clangFormat = false
build_flags = ${env.build_flags}
-DKNOMIV1
[env:knomiv1]
board = esp32r8
build_flags = ${env.build_flags}
-DKNOMIV1
[env:knomiv2]
board_build.partitions = partition-v2.csv
board = esp32s3r8
build_flags = ${env.build_flags}
-DKNOMIV2
lib_deps = ${env.lib_deps}
adafruit/Adafruit SHT4x Library @ 1.0.4
stm32duino/STM32duino LIS2DW12 @ 2.1.1
[env:knomiv2-debug]
board_build.partitions = partition-v2.csv
board = esp32s3r8
build_type = debug
monitor_filters = esp32_exception_decoder
custom_generateImages = false
custom_generateFonts = false
custom_generateUI = false
custom_generateVersion = false
custom_clangFormat = false
lib_deps = ${env.lib_deps}
adafruit/Adafruit SHT4x Library @ 1.0.4
stm32duino/STM32duino LIS2DW12 @ 2.1.1
build_flags = ${env.build_flags}
-DKNOMIV2
debug_tool = esp-builtin