AT91: distinct CPU definitions for AT91SAM7X and AT91SAM7S family
[bertos.git] / bertos / cpu / arm / info / AT91SAM7X256.cdef
index 6cdd0273ea798b87525497919b2d4027d7456ad4..1f16ffabf455e181adc6eb5179bb2bd5dddcad09 100644 (file)
 #
 #
 
-# Import the common settings for the AT91SAM7 family.
-include("at91sam7.common")
+# Import the common settings for the AT91SAM7X family.
+include("at91sam7x.common")
 
 # Short description of the cpu.
 CPU_DESC += [ "256 Kbytes internal flash memory",
              "64 Kbytes internal SRAM memory" ]
 
 # GCC flags for this cpu.
-CPP_FLAGS += [ "-D__ARM_AT91SAM7X256__" ]
-LD_FLAGS += [ "-T " + SCRIPT_DIR + " at91sam7_256_rom.ld" ]
+MK_CPU_CPPFLAGS += " -D__ARM_AT91SAM7X256__"
+MK_CPU_LDFLAGS += " -T " + SCRIPT_DIR + "at91sam7_256_rom.ld"