Repository navigation
Expand file tree
/
Copy pathplatformio.ini
More file actions
172 lines (159 loc) · 4.03 KB
/
Copy pathplatformio.ini
File metadata and controls
172 lines (159 loc) · 4.03 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
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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
; 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 =
; arduino-nesso-n1
; Awok-Mini
; Awok-Touch
; CYD-2432S022C
; CYD-2432S024R
; CYD-2432S028
; CYD-2432S032C
; CYD-2432S032R
; CYD-2432W328C
; CYD-2432W328C_2
; CYD-2432W328R
; CYD-2-USB
; CYD-3248S035C
; CYD-3248S035R
; CYD-3248W535C
; CYD-4827S043R
; CYD-8048S043C
; CYD-8048W550C
; elecrow-24B
; elecrow-28B
; elecrow-35B
; elecrow-35Bv2_2
; elecrow-esp32p4-7in
; elecrow-esp32s3-5in
; ES3C28P
; ESP32-E32R40T
; headless-esp32-4mb
; headless-esp32-8mb
; headless-esp32s3-16mb
; headless-esp32s3-4mb
; headless-esp32s3-8mb
; headless-xiao-esp32s3-8mb
; headless-xiao-esp32s3-16mb
; headless-xiao-esp32c5-8mb
; lilygo-t5-epaper-s3-pro
; lilygo-t-deck
; lilygo-t-deck-plus
; lilygo-t-deck-pro
; lilygo-t-display-c5
; lilygo-t-display-p4
; lilygo-t-display-S3-amoled
; lilygo-t-display-S3-amoled-plus
; lilygo-t-display-S3-pro
; lilygo-t-display-S3-touch
; lilygo-t-dongle-c5-tft
; lilygo-t-dongle-s3-tft
; lilygo-t-embed-all
; lilygo-t-hmi
; lilygo-t-lora-pager
; lilygo-t-watch-s3
; lilygo-t-watch-ultra
m5stack-cardputer
; m5stack-core
; m5stack-core2
; m5stack-core-4Mb
; m5stack-cores3
; m5stack-cplus2
; m5stack-dinmeter
; m5stack-paper
; m5stack-paper-color
; m5stack-paper-mono
; m5stack-paper-s3
; m5stack-plus
; m5stack-sticks3
; m5stack-tab5
; Marauder-Mini
; Marauder-v4-OG
; Marauder-v61
; Marauder-v7
; Marauder-v8
; NM-CYD-C5
; pancake
; Phantom_S024R
; reaper
; seeedstudio-reterminal-d1001
; seeedstudio-reterminal-e1001
; seeedstudio-reterminal-sticky
; seeedstudio-sensecap
; smoochiee-board
; WaveSentry-R1
; waveshare-esp32-s3-lcd-147
; waveshare-esp32-c5-lcd-147
; waveshare-esp32-c6-lcd-147
; waveshare-esp32-c6-lcd-130
; waveshare-esp32-s3-touch-amoled-206
; xteink-x3-x4
; xteink-x4pro
; xueersi-xiaomiao
boards_dir = boards/_jsonfiles
# Setup for common usage
build_cache_dir = .pio/buildcache
cache_dir = .pio/cache
core_dir = .pio/core
# Setup for codespaces
; build_dir = /tmp/.pio/build
; build_cache_dir = /tmp/.pio/buildcache
; cache_dir = /tmp/.pio/cache
; core_dir = /tmp/.pio/core
extra_configs =
boards/*.ini
boards/*/*.ini
[env]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/55.03.39/platform-espressif32.zip
platform_packages = framework-arduinoespressif32-libs @ https://github.com/bmorcelli/myLibBuilder/releases/download/builds/launcher_keyboot_esp32-arduino-libs-20260910-173758.tar.gz
monitor_filters = esp32_exception_decoder, send_on_enter, colorize
monitor_speed = 115200
framework = arduino
board_build.variants_dir = boards
board_upload.offset_address = 0x10000
extra_scripts =
pre:support_files/check_submodules.py
pre:support_files/prep_web_files.py
pre:support_files/clang_format.py
support_files/enable_lto.py
pre:support_files/upload_patch.py
post:support_files/merge.py
;build_src_flags =
;-D ENABLE_RAM_LOGGING=1
build_flags =
# The library's own src/DisplayDrivers_Setup.h reads our
# include/DisplayDrivers_User_Setup.h first, and PlatformIO does not hand
# include/ to library builds on its own.
-I include
-DLAUNCHER='"dev"'
-DWIFI_ENC_KEY='"LauncherWifi2025!"'
-DMAXFILES=256
-DCONFIG_FILE='"/config.conf"'
# -D ENABLE_RAM_LOGGING=1
-DDISABLE_ALL_LIBRARY_WARNINGS
; --- New GCC Flags for size ---
-flto
-ffunction-sections
-fdata-sections
-fno-rtti
-fno-threadsafe-statics
-fno-common
-fno-exceptions
-Os
; --- Flags for warnings ---
-w
-Wl,--print-memory-usage
-Wl,--gc-sections
; --- ESP32 SDK Flags for size ---
-DCORE_DEBUG_LEVEL=0
-DCONFIG_ESP32_JTAG_SUPPORT_DISABLE=1
-DCONFIG_COMPILER_OPTIMIZATION_ASSERTION_LEVEL=0
-DCONFIG_ESP_SYSTEM_PANIC=0
-DCONFIG_MBEDTLS_DEBUG=0