include("cm3.common")
# CPU type used for flashing/debugging
-MK_PROGRAMMER_CPU = "lm3s1968"
+MK_PROGRAMMER_CPU = "lm3s"
+MK_FLASH_SCRIPT = PRG_SCRIPTS_DIR + "arm/flash-lm3s.sh"
# CPU default clock frequency
CPU_DEFAULT_FREQ = "50000000UL"
# GCC flags for this cpu.
MK_CPU_CPPFLAGS += " -D__ARM_LM3S8962__"
-MK_CPU_LDFLAGS += " -T " + SCRIPT_DIR + "lm3s1968_rom.ld"
+MK_CPU_LDFLAGS += " -Wl,-dT " + SCRIPT_DIR + "lm3s8962_rom.ld"