File tree Expand file tree Collapse file tree
stm32f407vg_stm32f4discovery
stm32f429zi_stm32f4discovery Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -80,4 +80,4 @@ list(APPEND CXXFLAGS_BASE -D_BOARD_STM32F4DISCOVERY)
8080# built. Use <binary> or <hex> as placeolders, they will be replaced by the
8181# build systems with the binary or hex file path repectively.
8282# If a command is not specified, the build system will fallback to st-flash
83- set (PROGRAM_CMDLINE qstlink2 -cqewV <binary>)
83+ # set(PROGRAM_CMDLINE st-flash --connect-under-reset --reset write <binary> 0x0000000 )
Original file line number Diff line number Diff line change @@ -87,4 +87,4 @@ list(APPEND CXXFLAGS_BASE -D_BOARD_STM32F429ZI_STM32F4DISCOVERY)
8787# built. Use <binary> or <hex> as placeolders, they will be replaced by the
8888# build systems with the binary or hex file path repectively.
8989# If a command is not specified, the build system will fallback to st-flash
90- set (PROGRAM_CMDLINE qstlink2 -cqewV <binary>)
90+ # set(PROGRAM_CMDLINE st-flash --connect-under-reset --reset write <binary> 0x0000000 )
Original file line number Diff line number Diff line change 2727function (miosix_add_program_target TARGET )
2828 get_target_property (PROGRAM_CMDLINE miosix PROGRAM_CMDLINE )
2929 if (PROGRAM_CMDLINE STREQUAL "PROGRAM_CMDLINE-NOTFOUND" )
30- set (PROGRAM_CMDLINE st-flash --reset write <binary> 0x8000000 )
30+ set (PROGRAM_CMDLINE st-flash --connect-under- reset --reset write <binary> 0x0000000 )
3131 endif ()
3232
3333 list (TRANSFORM PROGRAM_CMDLINE REPLACE <binary> ${CMAKE_CURRENT_BINARY_DIR} /${TARGET} .bin)
You can’t perform that action at this time.
0 commit comments