Skip to content

Commit

Permalink
[ESP32] Fix flashing_script dependency on partition table (#15643)
Browse files Browse the repository at this point in the history
#### Problem

`gen_flashing_script.py` for ESP32 occasionally fails; it turns out
that there is no dependency declared on the partition table, which
is a required input.

#### Change overview

Add the depencency.

#### Testing

Manual build works (but may have merely won the race).
  • Loading branch information
kpschoedel authored and pull[bot] committed Oct 12, 2023
1 parent 0fcdcee commit 1053187
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/common/cmake/idf_flashing.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ macro(flashing_script)
--use-sdkconfig ${project_path}/sdkconfig
WORKING_DIRECTORY ${build_dir}
DEPENDS "${build_dir}/${board_firmware_utils}"
"${build_dir}/${partition_table}"
"${build_dir}/firmware_utils.py"
"${build_dir_deps}"
COMMENT "To flash ${build_dir}/${CMAKE_PROJECT_NAME}.bin run ./build/${CMAKE_PROJECT_NAME}.flash.py"
Expand Down

0 comments on commit 1053187

Please sign in to comment.