]> rtime.felk.cvut.cz Git - lincan.git/blob - embedded/board/arm/lpc17xx-common/config/config.ulboot
Merge master into can-usb1 branch to include proc update for 3.12+ kernels.
[lincan.git] / embedded / board / arm / lpc17xx-common / config / config.ulboot
1 # -*- makefile -*-
2
3 ARCH=arm
4 MACH=lpc17xx
5 BOARD=lpc17xx-common
6
7 CONFIG_BOARD_VARIANT=ulmi
8
9 CONFIG_ULBOOT=y
10
11 CONFIG_OC_UL_DRV_SYSLESS=y
12 CONFIG_OC_UL_DRV_U450_VARPINS=y
13 CONFIG_OC_UL_DRV_U450_VARPINS_MSRSWAP=y
14 CONFIG_OC_UL_DRV_U450_VARPINS_DIRNEG=y
15 CONFIG_OC_UL_DRV_U450_LOOPBACK=y
16 CONFIG_KEYVAL=y
17 CONFIG_ULAN_DY=y
18
19 #CONFIG_STDIO_COM_PORT=y
20
21 CROSS_COMPILE = arm-elf-
22 TARGET_ARCH = -mthumb -mcpu=cortex-m3
23
24 # Set default C flags. If theese are set elsewhere (e.g. on a command
25 # line), these default flags are not used.
26 DEBUG ?= -g
27 OPTIMIZE ?= -O2
28
29 # Set default C flags. If theese are set elsewhere (e.g. on a command
30 # line), these default flags are not used.
31 #DEBUG ?= -g
32 #OPTIMIZE ?= -Os -ffunction-sections -fdata-sections -Wl,--gc-section
33 #LDFLAGS += -Wl,--cref 
34 #LDFLAGS += -Wl,--gc-section
35
36 TOHIT=~/projects/cf/lpc21isp_v179/lpc21isp
37 LPC_BAUD = 38400
38 LPC_TTY = /dev/ttyUSB0
39 CPU_SYS_KHZ=14745
40
41 LOAD_CMD-boot = load() { $(TOHIT) -bin $$1 $(LPC_TTY) $(LPC_BAUD) $(CPU_SYS_KHZ); }; load
42
43 # This selects linker script
44 LD_SCRIPT=lpc1754
45
46 OUTPUT_FORMATS = bin
47