add ch32v103 bsp support, compile but does not run, probably due to compile/linker issue

This commit is contained in:
hathach
2024-06-14 16:06:37 +07:00
parent 969b06d77c
commit 33f5547ed4
18 changed files with 1295 additions and 15 deletions

View File

@@ -443,7 +443,7 @@ function(family_flash_openocd TARGET)
# note skip verify since it has issue with rp2040
add_custom_target(${TARGET}-openocd
DEPENDS ${TARGET}
COMMAND ${OPENOCD} ${OPTION_LIST} -c "program $<TARGET_FILE:${TARGET}> reset" ${OPTION_LIST2} -c exit
COMMAND ${OPENOCD} ${OPTION_LIST} -c init -c halt -c "program $<TARGET_FILE:${TARGET}> reset" ${OPTION_LIST2} -c exit
VERBATIM
)
endfunction()