-
Notifications
You must be signed in to change notification settings - Fork 15
/
platformio.ini
155 lines (147 loc) · 3.5 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
; 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]
build_cache_dir = .pio/build_cache
[env]
test_framework = googletest
[env:paxo-v5]
platform = espressif32
board = esp-wrover-kit
framework = arduino
board_build.partitions = huge_app.csv
monitor_speed = 115200
lib_ldf_mode = chain+
lib_deps =
lovyan03/LovyanGFX@^1.1.9
bitbank2/FT6236G@^1.0.0
anto/[email protected]
build_flags =
-std=gnu++17
-DPLATFORM_PAXO_V5
-DCONFIG_FATFS_MAX_LFN=255
-I include
-fexceptions
-Wno-error=maybe-uninitialized
-Wno-reorder
-DBOARD_HAS_PSRAM
;-mfix-esp32-psram-cache-issue
-DCONFIG_SPIRAM_CACHE_WORKAROUND
-DCORE_DEBUG_LEVEL=5
-DSOL_NO_THREAD_LOCAL=1
-mtext-section-literals
-Wl,--wrap=esp_panic_handler
build_unflags =
-std=gnu++11
-std=gnu++14
build_type = debug
monitor_filters = esp32_exception_decoder
[env:windows]
platform = native
lib_ldf_mode = chain+
lib_deps =
lovyan03/LovyanGFX@^1.1.9
plerup/EspSoftwareSerial@^8.2.0
maxgerhardt/ghostl@^1.0.1
mbed-babylonica/[email protected]+sha.278f7f125495
bitbank2/FT6236G@^1.0.0
bitbank2/JPEGENC@^1.1.0
test_framework = googletest
test_testing_command = ${platformio.build_dir}/${this.__env__}/program
build_flags =
-std=c++17
-lm
-Iextern/SDL2-2.28.5/x86_64-w64-mingw32/include/SDL2
-Lextern/SDL2-2.28.5/x86_64-w64-mingw32/lib
-lSDL2main
-lSDL2
-m64
-Wa,-mbig-obj
-Wl,-allow-multiple-definition,--stack,16777216
-Os
extra_scripts =
pre:scripts/platformio/windows/setup_workspace.py
pre:scripts/platformio/windows/copy_dependencies.py
scripts/platformio/windows/execute.py
[env:windows-build-only]
platform = native
lib_ldf_mode = chain+
lib_deps =
lovyan03/LovyanGFX@^1.1.9
plerup/EspSoftwareSerial@^8.2.0
maxgerhardt/ghostl@^1.0.1
mbed-babylonica/[email protected]+sha.278f7f125495
bitbank2/FT6236G@^1.0.0
bitbank2/JPEGENC@^1.1.0
build_flags =
-std=c++17
-lm
-Iextern/SDL2-2.28.5/x86_64-w64-mingw32/include/SDL2
-Lextern/SDL2-2.28.5/x86_64-w64-mingw32/lib
-lSDL2main
-lSDL2
-m64
-Wa,-mbig-obj
-Wl,-allow-multiple-definition,--stack,16777216
-Os
extra_scripts =
pre:scripts/platformio/windows/setup_workspace.py
pre:scripts/platformio/windows/copy_dependencies.py
[env:linux]
platform = native
lib_ldf_mode = chain+
lib_deps =
lovyan03/LovyanGFX@^1.1.9
plerup/EspSoftwareSerial@^8.2.0
maxgerhardt/ghostl@^1.0.1
mbed-babylonica/[email protected]+sha.278f7f125495
bitbank2/FT6236G@^1.0.0
bitbank2/JPEGENC@^1.1.0
test_framework = googletest
build_flags =
-std=c++17
-lm
-lSDL2main
-lSDL2
-g
-ggdb
[env:macos]
platform = native
lib_ldf_mode = chain+
lib_deps =
lovyan03/LovyanGFX@^1.1.9
plerup/EspSoftwareSerial@^8.2.0
maxgerhardt/ghostl@^1.0.1
mbed-babylonica/[email protected]+sha.278f7f125495
bitbank2/FT6236G@^1.0.0
bitbank2/JPEGENC@^1.1.0
test_framework = googletest
build_flags =
-std=c++17
-lm
-lSDL2main
-lSDL2
-I/usr/local/include/SDL2
-L/usr/local/lib
-I/opt/homebrew/include/SDL2
-L/opt/homebrew/lib
[env:test]
platform = native
test_framework = googletest
build_flags =
-std=c++23
-lm
lib_ldf_mode = chain+
lib_ignore = graphics
lib_deps =
plerup/EspSoftwareSerial@^8.2.0
maxgerhardt/ghostl@^1.0.1
mbed-babylonica/[email protected]+sha.278f7f125495
bitbank2/FT6236G@^1.0.0
bitbank2/JPEGENC@^1.1.0