7 CONFIG_OC_UL_DRV_SYSLESS=y
8 CONFIG_OC_UL_DRV_U450_VARPINS=y
9 CONFIG_OC_UL_DRV_U450_VARPINS_MSRSWAP=y
10 CONFIG_OC_UL_DRV_U450_TMELATE=y
13 #CONFIG_ULOI_GENOBJIDTAG=y
19 #CONFIG_APP_U2U_V2_WITH_KEYVAL=y
21 #CONFIG_APP_TEST_LPC=y
25 CONFIG_STDIO_COM_PORT=0
27 CROSS_COMPILE = arm-elf-
28 TARGET_ARCH = -mcpu=arm7tdmi
30 # Set default C flags. If theese are set elsewhere (e.g. on a command
31 # line), these default flags are not used.
37 LPC_TTY = /dev/ttyUSB0
39 LPC21ISP_OLD_PARAM_ORDER=y
41 ifeq ($(LPC21ISP_OLD_PARAM_ORDER),y)
42 LOAD_CMD-boot = $(LPC21ISP) -bin $(LPC_TTY) $(LPC_BAUD) $(CPU_SYS_KHZ)
44 LOAD_CMD-boot = load() { $(LPC21ISP) -bin $$1 $(LPC_TTY) $(LPC_BAUD) $(CPU_SYS_KHZ); }; load
47 TOLPC = tolpc --baud $(LPC_BAUD) --sdev $(LPC_TTY)
48 LOAD_CMD-ramisp = $(TOLPC) -v -q 7372 -L -f
50 # This selects linker script
52 #DEFAULT_LD_SCRIPT_VARIANT=boot
54 #OUTPUT_FORMATS = bin hex srec
63 UL_SENDHEX ?= ul_sendhex
67 $(UL_SENDHEX) -m $(MOD) -r -o 0 ; \
68 $(UL_SENDHEX) -m $(MOD) -o 0 -t 0x101 -s $(PROG_BASE) -l $(PROG_SIZE) -e; \
69 $(UL_SENDHEX) -m $(MOD) -o 0 -t 0x101 -b 256 -s $(PROG_BASE) -f binary
72 $(UL_SENDHEX) -m $(MOD) -r
76 USB_SENDHEX ?= usb_sendhex
79 USB_BOOT_VID ?= 0xdead
80 USB_BOOT_PID ?= 0x2263
83 $(USB_SENDHEX) -d $(USB_APP_VID) -i $(USB_APP_PID) -r ; \
84 $(USB_SENDHEX) -w -d $(USB_BOOT_VID) -i $(USB_BOOT_PID) -s $(PROG_BASE) -l $(PROG_SIZE) -e; sleep 2 ; \
85 $(USB_SENDHEX) -d $(USB_BOOT_VID) -i $(USB_BOOT_PID) -s $(PROG_BASE) -f binary
88 $(USB_SENDHEX) -d $(USB_BOOT_VID) -i $(USB_BOOT_PID) -r