@@ -187,12 +187,53 @@ recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build
187
187
recipe.size.regex=^(?:\.iram0\.text|\.iram0\.vectors|\.dram0\.data|\.flash\.text|\.flash\.rodata|)\s+([0-9]+).*
188
188
recipe.size.regex.data=^(?:\.dram0\.data|\.dram0\.bss|\.noinit)\s+([0-9]+).*
189
189
190
- # ------------------------------
191
-
190
+ ## Required discoveries and monitors
191
+ ## ---------------------------------
192
+ pluggable_discovery.required.0=builtin:serial-discovery
193
+ pluggable_discovery.required.1=builtin:mdns-discovery
194
+ pluggable_monitor.required.serial=builtin:serial-monitor
195
+
196
+ ## ------------------
197
+ ## Upload/Debug tools
198
+ ## ------------------
199
+
200
+ ##
201
+ ## ESPTool
202
+ ##
203
+
204
+ ## Upload Sketch
205
+ ## -------------
192
206
tools.esptool_py.upload.protocol=esp32
193
207
tools.esptool_py.upload.params.verbose=
194
208
tools.esptool_py.upload.params.quiet=
195
- tools.esptool_py.upload.pattern_args=--chip {build.mcu} --port "{serial.port}" --baud {upload.speed} {upload.flags} --before default_reset --after hard_reset write_flash -z --flash_mode {build.flash_mode} --flash_freq {build.flash_freq} --flash_size {build.flash_size} 0xe000 "{runtime.platform.path}/tools/partitions/boot_app0.bin" { build.bootloader_addr} "{build.path}/{build.project_name}.bootloader.bin" 0x10000 "{build.path}/{build.project_name}.bin" 0x8000 "{build.path}/{build.project_name}.partitions. bin" {upload.extra_flags}
209
+ tools.esptool_py.upload.pattern_args=--chip {build.mcu} --port "{serial.port}" --baud {upload.speed} {upload.flags} --before default_reset --after hard_reset write_flash -z --flash_mode {build.flash_mode} --flash_freq {build.flash_freq} --flash_size {build.flash_size} { build.bootloader_addr} "{build.path}/{build.project_name}.bootloader.bin" 0x8000 "{build.path}/{build.project_name}.partitions. bin" 0xe000 "{runtime.platform.path}/tools/partitions/boot_app0.bin" 0x10000 "{ build.path}/{build.project_name}.bin"{upload.extra_flags}
196
210
tools.esptool_py.upload.pattern="{path}/{cmd}" {upload.pattern_args}
197
211
tools.esptool_py.upload.pattern.linux=python3 "{path}/{cmd}" {upload.pattern_args}
212
+
213
+ ## Upload Sketch Through OTA
214
+ ## -------------------------
198
215
tools.esptool_py.upload.network_pattern={network_cmd} -i "{serial.port}" -p "{network.port}" "--auth={network.password}" -f "{build.path}/{build.project_name}.bin"
216
+
217
+ ## Program Application
218
+ ## -------------------
219
+ tools.esptool_py.program.params.verbose=
220
+ tools.esptool_py.program.params.quiet=
221
+ tools.esptool_py.program.pattern_args=--chip {build.mcu} --port "{serial.port}" --baud {upload.speed} {upload.flags} --before default_reset --after hard_reset write_flash -z --flash_mode {build.flash_mode} --flash_freq {build.flash_freq} --flash_size {build.flash_size} 0x10000 "{build.path}/{build.project_name}.bin"
222
+ tools.esptool_py.program.pattern="{path}/{cmd}" {program.pattern_args}
223
+ tools.esptool_py.program.pattern.linux=python3 "{path}/{cmd}" {program.pattern_args}
224
+
225
+ ## Erase Chip (before burning the bootloader)
226
+ ## ------------------------------------------
227
+ tools.esptool_py.erase.params.verbose=
228
+ tools.esptool_py.erase.params.quiet=
229
+ tools.esptool_py.erase.pattern_args=--chip {build.mcu} --port "{serial.port}" --baud {upload.speed} {upload.flags} --before default_reset --after hard_reset erase_flash
230
+ tools.esptool_py.erase.pattern="{path}/{cmd}" {erase.pattern_args}
231
+ tools.esptool_py.erase.pattern.linux=python3 "{path}/{cmd}" {erase.pattern_args}
232
+
233
+ ## Burn Bootloader
234
+ ## ---------------
235
+ tools.esptool_py.bootloader.params.verbose=
236
+ tools.esptool_py.bootloader.params.quiet=
237
+ tools.esptool_py.bootloader.pattern_args=--chip {build.mcu} --port "{serial.port}" --baud {upload.speed} {upload.flags} --before default_reset --after hard_reset write_flash -z --flash_mode {build.flash_mode} --flash_freq {build.flash_freq} --flash_size {build.flash_size} {build.bootloader_addr} "{runtime.platform.path}/tools/sdk/{build.mcu}/bin/{bootloader.file}"
238
+ tools.esptool_py.bootloader.pattern="{path}/{cmd}" {bootloader.pattern_args}
239
+ tools.esptool_py.bootloader.pattern.linux=python3 "{path}/{cmd}" {bootloader.pattern_args}
0 commit comments