try to fix circleci with kinetis

This commit is contained in:
hathach
2024-11-22 20:22:00 +07:00
parent 07d47ba487
commit c09eedaf24
14 changed files with 25 additions and 28 deletions

View File

@@ -553,6 +553,7 @@ function(family_flash_teensy TARGET)
add_custom_target(${TARGET}-teensy
DEPENDS ${TARGET}
COMMAND ${CMAKE_OBJCOPY} -Oihex $<TARGET_FILE:${TARGET}> $<TARGET_FILE_DIR:${TARGET}>/${TARGET}.hex
COMMAND ${TEENSY_CLI} --mcu=${TEENSY_MCU} -w -s $<TARGET_FILE_DIR:${TARGET}>/${TARGET}.hex
)
endfunction()