10 CONFIG_BOARD_VARIANT=lmc1
21 CONFIG_OC_LINCAN_CARD_can_lmc1=y
24 CONFIG_OC_UL_DRV_SYSLESS=n
30 CONFIG_STDIO_COM_PORT=0
32 CROSS_COMPILE = arm-elf-
33 TARGET_ARCH = -mthumb -mcpu=cortex-m3
35 # Set default C flags. If theese are set elsewhere (e.g. on a command
36 # line), these default flags are not used.
40 # Set default C flags. If theese are set elsewhere (e.g. on a command
41 # line), these default flags are not used.
43 OPTIMIZE ?= -Os -ffunction-sections -fdata-sections -Wl,--gc-section
45 LDFLAGS += -Wl,--gc-section
49 LPC_TTY = /dev/ttyUSB0
52 LOAD_CMD-boot = load() { $(LPC21ISP) -bin $$1 $(LPC_TTY) $(LPC_BAUD) $(CPU_SYS_KHZ); }; load
59 LOAD_EXTENSION-app = .bin
61 USB_SENDHEX ?= usb_sendhex
64 USB_BOOT_VID ?= 0xdead
65 USB_BOOT_PID ?= 0x2263
68 $(USB_SENDHEX) -d $(USB_APP_VID):$(USB_APP_PID) -r ; \
69 $(USB_SENDHEX) -w -d $(USB_BOOT_VID):$(USB_BOOT_PID) -s $(PROG_BASE) -l $(PROG_SIZE) -e; sleep 2 ; \
70 $(USB_SENDHEX) -d $(USB_BOOT_VID):$(USB_BOOT_PID) -s $(PROG_BASE) -f binary
73 $(USB_SENDHEX) -d $(USB_BOOT_VID):$(USB_BOOT_PID) -r