projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reformat.
[bertos.git]
/
bertos
/
cpu
/
arm
/
info
/
at91sam7.common
diff --git
a/bertos/cpu/arm/info/at91sam7.common
b/bertos/cpu/arm/info/at91sam7.common
index c305d5ed394a30f5c2cd0b99af892c76d96dbb7e..b871bccd184c58122d5f3fcd8030e4d61c6eb8cc 100644
(file)
--- a/
bertos/cpu/arm/info/at91sam7.common
+++ b/
bertos/cpu/arm/info/at91sam7.common
@@
-54,15
+54,20
@@
TOOLCHAIN = "arm"
# If we use the GCC compiler we should pass some flags.
CORE_CPU = "arm7tdmi"
# If we use the GCC compiler we should pass some flags.
CORE_CPU = "arm7tdmi"
+# Name of the flag used by the build system to pass to the compiler the CPU type.
+CPU_FLAG_NAME = "CPU"
+
+# CPU default clock frequency
+CPU_DEFAULT_FREQ = "48023000UL"
+
# Where are locate the bertos directories
# Where are locate the bertos directories
-SCRIPT_DIR = CPU_DIR + "arm/script/"
+SCRIPT_DIR = CPU_DIR + "arm/script
s
/"
HW_DIR = CPU_DIR + "arm/hw/"
DRV_DIR = CPU_DIR + "arm/drv/"
# Common GCC flags.
HW_DIR = CPU_DIR + "arm/hw/"
DRV_DIR = CPU_DIR + "arm/drv/"
# Common GCC flags.
-C_FLAGS = ["-I" + CPU_DIR + "arm/"]
CPPA_FLAGS = [ "-O0", "-g -gdwarf-2", "-g -gen-debug" ]
CPPA_FLAGS = [ "-O0", "-g -gdwarf-2", "-g -gen-debug" ]
-CPP_FLAGS = [ "-O0", "-g3 -gdwarf-2", "-fverbose-asm" ]
+CPP_FLAGS = [ "-O0", "-g3 -gdwarf-2", "-fverbose-asm"
, "-I" + CPU_DIR + "arm/"
]
LD_FLAGS = [ "-nostartfiles", "-Wl,--no-warn-mismatch" ]
# CRT file.
CPPA_SRC = [ HW_DIR + "crtat91sam7_rom.S"]
LD_FLAGS = [ "-nostartfiles", "-Wl,--no-warn-mismatch" ]
# CRT file.
CPPA_SRC = [ HW_DIR + "crtat91sam7_rom.S"]
@@
-75,4
+80,4
@@
SUPPORTED_DRV = [ "adc",
"stepper",
"timer",
"twi" ]
"stepper",
"timer",
"twi" ]
-
+