AT91: distinct CPU definitions for AT91SAM7X and AT91SAM7S family
[bertos.git] / bertos / cpu / arm / info / AT91SAM7S256.cdef
index 0d39a4516300519238bad9b8b050d7de2a98ece9..ff883de3bf23bbbd093702d1bbbfcfa9edecd9b1 100644 (file)
@@ -40,8 +40,8 @@
 #
 #
 
-# Import the common settings for the AT91SAM7 family.
-include("at91sam7.common")
+# Import the common settings for the AT91SAM7S family.
+include("at91sam7s.common")
 
 # Short description of the cpu.
 CPU_DESC += [ "256 Kbytes internal flash memory",
@@ -49,6 +49,6 @@ CPU_DESC += [ "256 Kbytes internal flash memory",
 
 # GCC flags for this cpu.
 MK_CPU_CPPFLAGS += " -D__ARM_AT91SAM7S256__"
-MK_LDFLAGS += " -T " + SCRIPT_DIR + "at91sam7_256_rom.ld"
+MK_CPU_LDFLAGS += " -T " + SCRIPT_DIR + "at91sam7_256_rom.ld"