summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2024-08-22 12:37:11 +0700
committerGitHub <[email protected]>2024-08-22 12:37:11 +0700
commit858ad66c9316250876dad533e47513b7def915d1 (patch)
tree4c0765f6f778cb4f510b154f244e2c7a23df7c8a /hw
parent61187008285d70d700e30e5f11636240ae4845d0 (diff)
circleci tweaks (#2770)
* skip circleci build on master push * change max32666 probe to jlink, max32625pico is not reliable enough
Diffstat (limited to 'hw')
-rw-r--r--hw/bsp/max32690/family.cmake15
1 files changed, 1 insertions, 14 deletions
diff --git a/hw/bsp/max32690/family.cmake b/hw/bsp/max32690/family.cmake
index 736ca8eac..96dcfedff 100644
--- a/hw/bsp/max32690/family.cmake
+++ b/hw/bsp/max32690/family.cmake
@@ -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()