projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add sam7 cpu settings.
[bertos.git]
/
bertos
/
cpu
/
arm
/
info
/
at91sam7x128.cdef
diff --git
a/bertos/cpu/arm/info/at91sam7x128.cdef
b/bertos/cpu/arm/info/at91sam7x128.cdef
index 8da02e28387ae749dc84bd16d7b0a82a3d017323..645e5b6eee85cf0fa6651018214509070eb4a6bb 100644
(file)
--- a/
bertos/cpu/arm/info/at91sam7x128.cdef
+++ b/
bertos/cpu/arm/info/at91sam7x128.cdef
@@
-40,21
+40,17
@@
#
#
#
#
-# Where are locate the bertos directories
-BERTOS_CPU_DIR = "bertos/cpu/"
-BERTOS_SCRIPT_DIR = BERTOS_CPU_DIR + "arm/script/"
-BERTOS_HW_DIR = BERTOS_CPU_DIR + "arm/hw/"
-
# Type of the toolchain we should use to compile the source for this CPU.
TOOLCHAIN = "arm"
# If we use the GCC compiler we should pass some flags.
CORE_CPU = "arm7tdmi"
# Type of the toolchain we should use to compile the source for this CPU.
TOOLCHAIN = "arm"
# If we use the GCC compiler we should pass some flags.
CORE_CPU = "arm7tdmi"
+C_FLAGS = []
+
CPPA_FLAGS = []
CPPA_FLAGS = []
-CPP_FLAGS = [ "-D__ARM_AT91SAM7X128__"
- "-fverbose-asm"]
+CPP_FLAGS = []
LD_FLAGS = [ "-nostartfiles",
"-T " + BERTOS_SCRIPT_DIR + " at91sam7_128_rom.ld"
LD_FLAGS = [ "-nostartfiles",
"-T " + BERTOS_SCRIPT_DIR + " at91sam7_128_rom.ld"
@@
-63,6
+59,8
@@
LD_FLAGS = [ "-nostartfiles",
CPPA_SRC = [ BERTOS_HW_DIR + "crtat91sam7_rom.S",
BERTOS_HW_DIR + "switch_arm.S" ]
CPPA_SRC = [ BERTOS_HW_DIR + "crtat91sam7_rom.S",
BERTOS_HW_DIR + "switch_arm.S" ]
+PC_SRC = []
+
# For this cpu BeRTOS support these driver:
# For this cpu BeRTOS support these driver:
-SUPPORTED_DRV = [
adc, kdebug, pwm, ser, stepper, timer, twi
]
+SUPPORTED_DRV = []