X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Fcortex-m3%2Finfo%2Fcm3.common;h=380a02b5ca37252a8b4a96b55a0451e4a983986d;hb=af6f92fdde767ddb88623acead8a59a468c1ae15;hp=f7f078af607cd993749b8eb4d22d432e15bcdd22;hpb=af03091bf072048998709ae7089716bcf8c39ac0;p=bertos.git diff --git a/bertos/cpu/cortex-m3/info/cm3.common b/bertos/cpu/cortex-m3/info/cm3.common index f7f078af..380a02b5 100644 --- a/bertos/cpu/cortex-m3/info/cm3.common +++ b/bertos/cpu/cortex-m3/info/cm3.common @@ -49,7 +49,7 @@ CPU_DESC = ["ARM Cortex-M3", "16-bit and 32-bit RISC Architecture"] # Type of the toolchain we should use to compile the source for this CPU. -TOOLCHAIN = "arm-" +TOOLCHAIN = "arm" # If we use the GCC compiler we should pass some flags. CORE_CPU = "cortex-m3" @@ -65,9 +65,8 @@ SCRIPT_DIR = CPU_DIR + "cortex-m3/scripts/" HW_DIR = CPU_DIR + "cortex-m3/hw/" DRV_DIR = CPU_DIR + "cortex-m3/drv/" -MK_FLASH_SCRIPT = PRG_SCRIPTS_DIR + "arm/flash-cortex.sh" MK_STOPFLASH_SCRIPT = PRG_SCRIPTS_DIR + "arm/stopopenocd.sh" -MK_DEBUG_SCRIPT = PRG_SCRIPTS_DIR + "arm/debug-cortex.sh" +MK_DEBUG_SCRIPT = PRG_SCRIPTS_DIR + "arm/debug.sh" MK_STOPDEBUG_SCRIPT = PRG_SCRIPTS_DIR + "arm/stopopenocd.sh" GDB_INIT_SCRIPT = PRG_SCRIPTS_DIR + "arm/openocd/gdbinit-sam7" @@ -79,4 +78,4 @@ MK_CPU_LDFLAGS = "-mthumb -mno-thumb-interwork -nostartfiles -Wl,--no-warn-misma # CRT files. MK_CPU_CPPASRC = HW_DIR + "crt_cm3.S " + HW_DIR + "vectors_cm3.S " -MK_CPU_CSRC = HW_DIR + "init_lm3s.c " + DRV_DIR + "irq_cm3.c " +MK_CPU_CSRC = HW_DIR + "init_cm3.c " + DRV_DIR + "irq_cm3.c "