Cortex-M0+ and M4 motor control MCUs KV10, KV11, KV30, KV31, KV42, KV44 and KV46 added to SDID identification. Watchdog disable code changed to work on Cortex-M0+ (KV1x) Protection size set to 1K for 16K flash devices (KV10Z16) - cherry picked from Andrey Smirnov's change #2051 Change-Id: Ia6f4868eaf7e2cb6ad6a736210c703a67e0027be Signed-off-by: Tomas Vanek <vanekt@fbl.cz> Reviewed-on: http://openocd.zylin.com/3235 Tested-by: jenkins Reviewed-by: Kyle Manna <kyle.manna@fuel7.com> Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
20 lines
383 B
Makefile
20 lines
383 B
Makefile
BIN2C = ../../../src/helper/bin2char.sh
|
|
|
|
ARM_CROSS_COMPILE ?= arm-none-eabi-
|
|
ARM_AS ?= $(ARM_CROSS_COMPILE)as
|
|
ARM_OBJCOPY ?= $(ARM_CROSS_COMPILE)objcopy
|
|
|
|
arm: armv7m_kinetis_wdog.inc
|
|
|
|
armv7m_%.elf: armv7m_%.s
|
|
$(ARM_AS) -mthumb $< -o $@
|
|
|
|
armv7m_%.bin: armv7m_%.elf
|
|
$(ARM_OBJCOPY) -Obinary $< $@
|
|
|
|
armv7m_%.inc: armv7m_%.bin
|
|
$(BIN2C) < $< > $@
|
|
|
|
clean:
|
|
-rm -f *.elf *.bin *.inc
|