-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathplatformio.ini
More file actions
237 lines (224 loc) · 7.64 KB
/
Copy pathplatformio.ini
File metadata and controls
237 lines (224 loc) · 7.64 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
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
[platformio]
extra_configs =
platformio.local.ini
[env]
lib_deps =
https://github.com/bitbank2/bb_epaper.git
extra_scripts =
pre:scripts/factory_config_gen.py
; Factory provisioning (scripts/factory_config_gen.py):
; OPENDISPLAY_FACTORY_CONFIG_HEX="BD 00 01 ..." pio run -e <env>
; OPENDISPLAY_FACTORY_CLEAR_CONFIG=1 pio run -e <env>
; Or: ./tools/provision_firmware.py build --env <env> [--version 1.4] [--config-hex ...]
[env:nrf52840custom]
extra_scripts =
pre:scripts/factory_config_gen.py
post:scripts/nrf_uf2_post.py
build_flags =
-DTARGET_NRF
; Existing targets pin 32 KB zlib windows for backwards compatibility with
; legacy clients. New targets can omit this flag to use the library default of 9.
; -DOPENDISPLAY_ZLIB_WINDOW_BITS=15
; nRF keeps the zlib history window in static storage for deterministic allocation.
-DOPENDISPLAY_ZLIB_USE_HEAP_WINDOW=0
platform = https://github.com/maxgerhardt/platform-nordicnrf52
framework = arduino
board_build.variants_dir = variants
board_build.variant = nrf52840custom
board = xiaoblesense_adafruit
monitor_speed = 115200
build_src_filter = +<*> -<main_mbed.cpp>
lib_ignore = Seeed_GFX
[env:esp32-s3-N16R8]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/stable/platform-espressif32.zip
framework = arduino
build_flags =
-DTARGET_ESP32
#-DOPENDISPLAY_ZLIB_WINDOW_BITS=15
-DOPENDISPLAY_ZLIB_USE_HEAP_WINDOW=1
-DBOARD_HAS_PSRAM
-DARDUINO_USB_MODE=1
-DARDUINO_USB_CDC_ON_BOOT=1
-DCONFIG_FREERTOS_WATCHDOG_TIMEOUT_S=120
-DOPENDISPLAY_SEEED_GFX
board_build.filesystem = littlefs
board = esp32-s3-devkitc-1
board_build.partitions = default_16MB.csv
board_build.flash_mode=qio
board_build.arduino.memory_type = qio_opi
board_build.psram_type=qspi_opi
board_build.usb_mode = hardware
board_upload.maximum_size = 16777216
board_upload.maximum_ram_size = 327680
board_upload.flash_size = 16MB
monitor_speed = 115200
[env:esp32-s3-N8R8]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/stable/platform-espressif32.zip
framework = arduino
build_flags =
-DTARGET_ESP32
#-DOPENDISPLAY_ZLIB_WINDOW_BITS=15
-DOPENDISPLAY_ZLIB_USE_HEAP_WINDOW=1
-DBOARD_HAS_PSRAM
-DARDUINO_USB_MODE=1
-DARDUINO_USB_CDC_ON_BOOT=1
-DCONFIG_FREERTOS_WATCHDOG_TIMEOUT_S=120
-DOPENDISPLAY_SEEED_GFX
board_build.filesystem = littlefs
board = esp32-s3-devkitc-1
board_build.partitions = default_8MB.csv
board_build.flash_mode=qio
board_build.arduino.memory_type = qio_opi
board_build.psram_type=qspi_opi
board_build.usb_mode = hardware
board_upload.maximum_size = 8388608
board_upload.maximum_ram_size = 327680
board_upload.flash_size = 8MB
monitor_speed = 115200
[env:esp32-s3-N32R8]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/stable/platform-espressif32.zip
framework = arduino
build_flags =
-DTARGET_ESP32
#-DOPENDISPLAY_ZLIB_WINDOW_BITS=15
-DOPENDISPLAY_ZLIB_USE_HEAP_WINDOW=1
-DBOARD_HAS_PSRAM
-DARDUINO_USB_MODE=1
-DARDUINO_USB_CDC_ON_BOOT=1
-DCONFIG_FREERTOS_WATCHDOG_TIMEOUT_S=120
-DOPENDISPLAY_SEEED_GFX
board_build.filesystem = littlefs
board = esp32-s3-devkitc-1
board_build.partitions = default_32MB.csv
board_build.flash_mode=qio
board_build.arduino.memory_type = qio_opi
board_build.psram_type=qspi_opi
board_build.usb_mode = hardware
board_upload.maximum_size = 33554432
board_upload.maximum_ram_size = 327680
board_upload.flash_size = 32MB
monitor_speed = 115200
; Seeed reTerminal Sticky — ESP32-S3R8 (8 MB OPI PSRAM) + W25Q256 32 MB QSPI flash.
; Console/debug via onboard CH343P USB-UART (U0TXD=GPIO43, U0RXD=GPIO44), not native USB-CDC.
; Panel/bus pins come from runtime device config (bb_epaper path).
[env:esp32-s3-N32R8-extuart]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/stable/platform-espressif32.zip
framework = arduino
build_flags =
-DTARGET_ESP32
-DOPENDISPLAY_ZLIB_USE_HEAP_WINDOW=1
-DBOARD_HAS_PSRAM
-DARDUINO_USB_MODE=0
-DARDUINO_USB_CDC_ON_BOOT=0
-DCONFIG_FREERTOS_WATCHDOG_TIMEOUT_S=120
-DOPENDISPLAY_LOG_UART
-DOPENDISPLAY_LOG_UART_RX=44
-DOPENDISPLAY_LOG_UART_TX=43
board_build.filesystem = littlefs
board = esp32-s3-devkitc-1
board_build.partitions = default_32MB.csv
board_build.flash_mode = qio
board_build.arduino.memory_type = qio_opi
board_build.psram_type = qspi_opi
board_upload.maximum_size = 33554432
board_upload.maximum_ram_size = 327680
board_upload.flash_size = 32MB
monitor_speed = 115200
lib_ignore = Seeed_GFX
[env:esp32-c3-N4]
platform = espressif32
framework = arduino
build_flags =
-DTARGET_ESP32
#-DOPENDISPLAY_ZLIB_WINDOW_BITS=15
-DOPENDISPLAY_ZLIB_USE_HEAP_WINDOW=1
-DARDUINO_USB_MODE=1
-DARDUINO_USB_CDC_ON_BOOT=1
-DCONFIG_FREERTOS_WATCHDOG_TIMEOUT_S=120
board_build.filesystem = littlefs
board_build.partitions = huge_app.csv
board = esp32-c3-devkitm-1
monitor_speed = 115200
; Seeed_GFX/TFT_eSPI is only for S3 + OPENDISPLAY_SEEED_GFX;
lib_ignore = Seeed_GFX
[env:esp32-c6-N4]
platform = espressif32
framework = arduino
build_flags =
-DTARGET_ESP32
#-DOPENDISPLAY_ZLIB_WINDOW_BITS=15
-DOPENDISPLAY_ZLIB_USE_HEAP_WINDOW=1
-DARDUINO_USB_MODE=1
-DARDUINO_USB_CDC_ON_BOOT=1
-DCONFIG_FREERTOS_WATCHDOG_TIMEOUT_S=120
board_build.filesystem = littlefs
board_build.partitions = huge_app.csv
board = esp32-c6-devkitm-1
monitor_speed = 115200
lib_ignore = Seeed_GFX
; Generic 16MB ESP32-C3, no PSRAM. All board specifics (panel, pins, and the
; optional battery latch via DEVICE_FLAG_BATTERY_LATCH) come from the runtime
; device config. DIO flash mode leaves GPIO12/13 free for general GPIO use
; (e.g. a battery-latch MOSFET).
[env:esp32-c3-N16]
platform = espressif32
framework = arduino
build_flags =
-DTARGET_ESP32
#-DOPENDISPLAY_ZLIB_WINDOW_BITS=15
-DOPENDISPLAY_ZLIB_USE_HEAP_WINDOW=1
-DARDUINO_USB_MODE=1
-DARDUINO_USB_CDC_ON_BOOT=1
-DCONFIG_FREERTOS_WATCHDOG_TIMEOUT_S=120
board_build.filesystem = littlefs
board_build.partitions = default_16MB.csv
board = esp32-c3-devkitm-1
board_build.flash_size = 16MB
board_build.flash_mode = dio
board_upload.flash_size = 16MB
board_upload.maximum_size = 16777216
monitor_speed = 115200
lib_ignore = Seeed_GFX
; esp32-s3-N16R8 + UART log; Seeed_GFX path when panel_ic_type is 3000 (1bpp) or 3001 (4bpp gray).
[env:esp32-s3-N16R8-extuart]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/stable/platform-espressif32.zip
framework = arduino
build_flags =
-DTARGET_ESP32
-DOPENDISPLAY_ZLIB_USE_HEAP_WINDOW=1
-DBOARD_HAS_PSRAM
-DARDUINO_USB_MODE=1
-DARDUINO_USB_CDC_ON_BOOT=1
-DCONFIG_FREERTOS_WATCHDOG_TIMEOUT_S=120
-DOPENDISPLAY_SEEED_GFX
-DOPENDISPLAY_LOG_UART
-DOPENDISPLAY_LOG_UART_RX=44
-DOPENDISPLAY_LOG_UART_TX=43
board_build.filesystem = littlefs
board = esp32-s3-devkitc-1
board_build.partitions = default_16MB.csv
board_build.flash_mode=qio
board_build.arduino.memory_type = qio_opi
board_build.psram_type=qspi_opi
board_build.usb_mode = hardware
board_upload.maximum_size = 16777216
board_upload.maximum_ram_size = 327680
board_upload.flash_size = 16MB
monitor_speed = 115200
[env:esp32-N4]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/stable/platform-espressif32.zip
framework = arduino
build_flags =
-DTARGET_ESP32
# Classic ESP32 (esp32dev) only: 320KB RAM has far less static DRAM than the
# S3/C3/C6 parts, so the full 33-slot PIPE_WRITE reorder queue overflows
# dram0_0_seg at link. Shrink the window/queue on THIS env only (see structs.h).
-DPIPE_SMALL_DRAM_WINDOW
#-DOPENDISPLAY_ZLIB_WINDOW_BITS=15
-DOPENDISPLAY_ZLIB_USE_HEAP_WINDOW=1
-DCONFIG_FREERTOS_WATCHDOG_TIMEOUT_S=120
board_build.filesystem = littlefs
board = esp32dev
board_build.partitions = huge_app.csv
monitor_speed = 115200
lib_ignore = Seeed_GFX