Skip to content

Commit 25e2274

Browse files
committed
include partition-ota.bin, flash_args to artifacts
1 parent f89bfbd commit 25e2274

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

ports/espressif/CMakeLists.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,10 @@ string(FIND ${BOARD_SDKCONFIG_CONTENTS} "partitions-4MB-noota.csv" MATCH_INDEX)
4848
if(NOT MATCH_INDEX EQUAL -1)
4949
file(APPEND ${CMAKE_BINARY_DIR}/tinyuf2.postbuild.sh
5050
"echo \"Creating combined-ota.bin\"\n"
51-
"gen_esp32part.py ${CMAKE_CURRENT_LIST_DIR}/partitions-4MB.csv ${CMAKE_BINARY_DIR}/partition_table/partitions-table-4MB-ota.bin\n"
52-
"esptool.py --chip ${IDF_TARGET} merge_bin --output combined_ota.bin $(tr '\\n' ' ' < ${CMAKE_BINARY_DIR}/flash_args | sed 's/partition-table.bin/partitions-table-4MB-ota.bin/g')\n"
53-
"cp combined_ota.bin ${ARTIFACT_PATH}/combined_ota.bin\n"
51+
"gen_esp32part.py ${CMAKE_CURRENT_LIST_DIR}/partitions-4MB.csv ${CMAKE_BINARY_DIR}/partition_table/partitions-table-ota.bin\n"
52+
"esptool.py --chip ${IDF_TARGET} merge_bin --output combined-ota.bin $(tr '\\n' ' ' < ${CMAKE_BINARY_DIR}/flash_args | sed 's/partition-table.bin/partitions-table-ota.bin/g')\n"
53+
"cp ${CMAKE_BINARY_DIR}/partition_table/partitions-table-ota.bin ${ARTIFACT_PATH}/partitions-table-ota.bin\n"
54+
"cp combined-ota.bin ${ARTIFACT_PATH}/combined-ota.bin\n"
5455
)
5556
endif()
5657

0 commit comments

Comments
 (0)