mirror of
https://github.com/espressif/esp-idf.git
synced 2026-05-05 20:35:08 +02:00
idf.py: Print flashing steps at the end of each build
This commit is contained in:
committed by
Angus Gratton
parent
955e84a3bc
commit
580cfeaaae
@@ -1,7 +1,7 @@
|
||||
register_config_only_component()
|
||||
|
||||
# Generate pre-canned flasher args files suitable for passing to esptool.py
|
||||
foreach(part project app bootloader)
|
||||
foreach(part project app bootloader partition_table)
|
||||
configure_file(
|
||||
"${CMAKE_CURRENT_LIST_DIR}/flash_${part}_args.in"
|
||||
"${CMAKE_BINARY_DIR}/flash_${part}_args"
|
||||
|
||||
@@ -1,4 +1 @@
|
||||
--flash_mode ${ESPFLASHMODE}
|
||||
--flash_size ${ESPFLASHSIZE}
|
||||
--flash_freq ${ESPFLASHFREQ}
|
||||
${CONFIG_APP_OFFSET} ${PROJECT_NAME}.bin
|
||||
|
||||
@@ -1,4 +1 @@
|
||||
--flash_mode ${ESPFLASHMODE}
|
||||
--flash_size ${ESPFLASHSIZE}
|
||||
--flash_freq ${ESPFLASHFREQ}
|
||||
0x8000 partition_table/partition-table.bin
|
||||
|
||||
@@ -7,5 +7,11 @@
|
||||
"0x8000" : "partition_table/partition-table.bin",
|
||||
"${CONFIG_APP_OFFSET}" : "${PROJECT_NAME}.bin",
|
||||
"${PHY_PARTITION_OFFSET}" : "${PHY_PARTITION_BIN_FILE}"
|
||||
}
|
||||
},
|
||||
"bootloader" : { "offset" : "0x1000",
|
||||
"file" : "bootloader/bootloader.bin" },
|
||||
"app" : { "offset" : "${CONFIG_APP_OFFSET}",
|
||||
"file" : "${PROJECT_NAME}.bin" },
|
||||
"partition_table" : { "offset" : "0x8000",
|
||||
"file" : "partition_table/partition-table.bin" }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user