Add header for i2c for lpc2.
[bertos.git] / bertos / cpu / arm / info / lpc2.common
index 3e62b877facd943f1cd3b359e234a174d9552020..b6b80043678df974a30c2a758f0e162fd31a416a 100644 (file)
@@ -61,11 +61,12 @@ MK_CPU = CORE_CPU
 CPU_DEFAULT_FREQ = "72000000UL"
 
 # Special CPU related tags.
-CPU_TAGS = ["lpc2", CORE_CPU]
+CPU_TAGS = ["lpc2", CORE_CPU, TOOLCHAIN]
 
 # Where are locate the bertos directories
 SCRIPT_DIR = CPU_DIR + "arm/scripts/"
 HW_DIR = CPU_DIR + "arm/hw/"
+DRV_DIR = CPU_DIR + "arm/drv/"
 
 MK_FLASH_SCRIPT = PRG_SCRIPTS_DIR + "arm/flash.sh"
 MK_STOPFLASH_SCRIPT = PRG_SCRIPTS_DIR + "arm/stopopenocd.sh"
@@ -81,4 +82,4 @@ MK_CPU_LDFLAGS = "-nostartfiles -Wl,--no-warn-mismatch"
 
 # CRT files.
 MK_CPU_CPPASRC = HW_DIR + "crt_arm7tdmi.S " + HW_DIR + "vectors_lpc2.S"
-MK_CPU_CSRC = HW_DIR + "init_lpc2.c"
+MK_CPU_CSRC = HW_DIR + "init_lpc2.c " + DRV_DIR + "vic_lpc2.c"