STM32, serial driver: add support for STM32F101C4, i.e. only 2 serials instead of 3
[bertos.git] / bertos / cpu / arm / info / AT91SAM7S128.cdef
index 81faa48645140a94a0a02cb3e76d646f8e5b6bc5..67845577e4ebb9af41900929956c729ffb30576f 100644 (file)
 #
 #
 
-# 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 += [ "128 Kbytes internal flash memory",
+             "32 Kbytes internal SRAM memory" ]
 
 # GCC flags for this cpu.
-CPP_FLAGS += [ "-D__ARM_AT91SAM7S128__" ]
-LD_FLAGS += [ "-T " + SCRIPT_DIR + " at91sam7_128_rom.ld" ]
+MK_CPU_CPPFLAGS += " -D__ARM_AT91SAM7S128__"
+MK_CPU_LDFLAGS += " -T " + SCRIPT_DIR + "at91sam7_128_rom.ld"