We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
st-flash
1 parent 8ea51ac commit dae9420Copy full SHA for dae9420
1 file changed
miosix/cmake/LinkTarget.cmake
@@ -27,7 +27,7 @@
27
function(miosix_add_program_target TARGET)
28
get_target_property(PROGRAM_CMDLINE miosix PROGRAM_CMDLINE)
29
if(PROGRAM_CMDLINE STREQUAL "PROGRAM_CMDLINE-NOTFOUND")
30
- set(PROGRAM_CMDLINE st-flash --reset write <binary> 0x8000000)
+ set(PROGRAM_CMDLINE st-flash --connect-under-reset write <binary> 0x8000000)
31
endif()
32
33
list(TRANSFORM PROGRAM_CMDLINE REPLACE <binary> ${CMAKE_CURRENT_BINARY_DIR}/${TARGET}.bin)
0 commit comments