7 CONFIG_BOARD_VARIANT=lmc1
9 CONFIG_OC_UL_DRV_SYSLESS=y
10 CONFIG_OC_UL_DRV_U450_VARPINS=y
11 CONFIG_OC_UL_DRV_U450_VARPINS_MSRSWAP=n
12 CONFIG_OC_UL_DRV_U450_VARPINS_DIRNEG=n
13 CONFIG_OC_UL_DRV_U450_LOOPBACK=y
17 #CONFIG_STDIO_COM_PORT=y
19 CROSS_COMPILE = arm-elf-
20 TARGET_ARCH = -mthumb -mcpu=cortex-m3
22 # Set default C flags. If theese are set elsewhere (e.g. on a command
23 # line), these default flags are not used.
27 # Set default C flags. If theese are set elsewhere (e.g. on a command
28 # line), these default flags are not used.
30 #OPTIMIZE ?= -Os -ffunction-sections -fdata-sections -Wl,--gc-section
31 #LDFLAGS += -Wl,--cref
32 #LDFLAGS += -Wl,--gc-section
36 LPC_TTY = /dev/ttyUSB0
39 LOAD_CMD-boot = load() { $(LPC21ISP) -bin $$1 $(LPC_TTY) $(LPC_BAUD) $(CPU_SYS_KHZ); }; load
44 UL_SENDHEX ?= ul_sendhex
47 LOAD_EXTENSION-app = .bin
50 $(UL_SENDHEX) -m $(MOD) -r -o 0 ; \
51 $(UL_SENDHEX) -m $(MOD) -o 0 -t 0x101 -s $(PROG_BASE) -l $(PROG_SIZE) -e; \
52 $(UL_SENDHEX) -m $(MOD) -o 0 -t 0x101 -b 256 -s $(PROG_BASE) -f binary
55 $(UL_SENDHEX) -m $(MOD) -r
57 # This selects linker script