
Added support for the MAX32650/1/2 series parts - MAX32650FTHR, MAX32650EvKit, MAX32651EvKit - Added special flash rule for MAX32651 due to signing required - Added depencies to flash-msdk rules for executable
17 lines
668 B
Makefile
17 lines
668 B
Makefile
LD_FILE = $(BOARD_PATH)/max32650.ld
|
|
|
|
# For flash-jlink target
|
|
JLINK_DEVICE = max32650
|
|
|
|
# flash target using Jlik
|
|
flash: flash-jlink
|
|
|
|
# Optional flash option when running within an installed MSDK to use OpenOCD
|
|
# Mainline OpenOCD does not yet have the MAX32's flash algorithm integrated.
|
|
# If the MSDK is installed, flash-msdk can be run to utilize the the modified
|
|
# openocd with the algorithms
|
|
MAXIM_PATH := $(subst \,/,$(MAXIM_PATH))
|
|
flash-msdk: $(BUILD)/$(PROJECT).elf
|
|
$(MAXIM_PATH)/Tools/OpenOCD/openocd -s $(MAXIM_PATH)/Tools/OpenOCD/scripts \
|
|
-f interface/cmsis-dap.cfg -f target/max32650.cfg \
|
|
-c "program $(BUILD)/$(PROJECT).elf verify; init; reset; exit"
|