circleci tweaks (#2770)

* skip circleci build on master push
* change max32666 probe to jlink, max32625pico is not reliable enough
This commit is contained in:
Ha Thach
2024-08-22 12:37:11 +07:00
committed by GitHub
parent 6118700828
commit 858ad66c93
4 changed files with 16 additions and 24 deletions

View File

@@ -148,18 +148,5 @@ function(family_configure_example TARGET RTOS)
# Flashing
family_flash_jlink(${TARGET})
family_flash_msdk(${TARGET})
endfunction()
# Add flash msdk target
function(family_flash_msdk TARGET)
set(MAXIM_PATH "$ENV{MAXIM_PATH}")
add_custom_target(${TARGET}-msdk
DEPENDS ${TARGET}
COMMAND ${MAXIM_PATH}/Tools/OpenOCD/openocd -s ${MAXIM_PATH}/Tools/OpenOCD/scripts
-f interface/cmsis-dap.cfg -f target/max32690.cfg
-c "program $<TARGET_FILE:${TARGET}> verify; init; reset; exit"
VERBATIM
)
family_flash_openocd_adi(${TARGET})
endfunction()