esptool_py used to create its own custom target to attach properties to. This commit uses component properties instead, and the APIs used to set and retrieve those properties in order to simplify generation of argument files to esptool.py.
20 lines
599 B
JSON
20 lines
599 B
JSON
{
|
|
"write_flash_args" : [ "--flash_mode", "${ESPFLASHMODE}",
|
|
"--flash_size", "${ESPFLASHSIZE}",
|
|
"--flash_freq", "${ESPFLASHFREQ}" ],
|
|
"flash_settings" : {
|
|
"flash_mode": "${ESPFLASHMODE}",
|
|
"flash_size": "${ESPFLASHSIZE}",
|
|
"flash_freq": "${ESPFLASHFREQ}"
|
|
},
|
|
"flash_files" : {
|
|
$<JOIN:${FLASH_PROJECT_ARGS_JSON},,
|
|
>
|
|
},
|
|
$<JOIN:${FLASH_PROJECT_ARGS_ENTRY_JSON},,
|
|
>,
|
|
"extra_esptool_args" : {
|
|
"after" : "${ESPTOOLPY_AFTER}",
|
|
"before" : "${ESPTOOLPY_BEFORE}"
|
|
}
|
|
}
|