Commit a7c0f455 authored by Christian Eichler's avatar Christian Eichler
Browse files

Implement flashing to a specific XMC4500 board via variable JLINKSER

parent ef1b7dda
......@@ -34,7 +34,14 @@ SIZE = $(TOOLCHAIN)-size
STACK_SIZE?=2048
JLFLAGS = -device XMC4500-1024 -if SWD -speed 300
JLINKSER?=0
JLINKSERSTR=
ifneq ($(JLINKSER),0)
JLINKSERSTR=-SelectEmuBySN ${JLINKSER}
endif
JLFLAGS = -device XMC4500-1024 -if SWD -speed 300 ${JLINKSERSTR}
CFLAGS = -target armv6m--none-eabi -mcpu=cortex-m4 -mthumb -integrated-as -ccc-gcc-name arm-none-eabi-gcc
# CFLAGS = -g
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment