LPC2xxx: Add VIC sources to common cdef file.
[bertos.git] / bertos / cpu / arm / info / lpc2.common
index 3e62b877facd943f1cd3b359e234a174d9552020..0577347ef4d429037cdfd75efa3123bbaf3b80f8 100644 (file)
@@ -66,6 +66,7 @@ CPU_TAGS = ["lpc2", CORE_CPU]
 # 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"