projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge driver from external project.
[bertos.git]
/
bertos
/
cpu
/
avr
/
info
/
avr.common
diff --git
a/bertos/cpu/avr/info/avr.common
b/bertos/cpu/avr/info/avr.common
index e4837a79915de406ca36f96296b4fa58888e8a62..140c207627b107a42839b8f747fdb070dec6d587 100644
(file)
--- a/
bertos/cpu/avr/info/avr.common
+++ b/
bertos/cpu/avr/info/avr.common
@@
-43,26
+43,30
@@
# Import the common settings for the path.
include("../../path.common")
# Import the common settings for the path.
include("../../path.common")
+# Short description of the cpu.
+CPU_DESC = [ "ATMEL AVR Microcontroller ",
+ "8-bit RISC Architecture"]
+
+# Special CPU related tags.
+CPU_TAGS = ["harvard"]
+
# Type of the toolchain we should use to compile the source for this CPU.
TOOLCHAIN = "avr"
# Type of the toolchain we should use to compile the source for this CPU.
TOOLCHAIN = "avr"
+# Name of the flag used by the build system to pass to the compiler the CPU type.
+CPU_FLAG_NAME = "MCU"
+
+# CPU default clock frequency
+CPU_DEFAULT_FREQ = "8000000UL"
+
# Where are locate the bertos directories
# Where are locate the bertos directories
-SCRIPT_DIR = CPU_DIR + "avr/script/"
+SCRIPT_DIR = CPU_DIR + "avr/script
s
/"
HW_DIR = CPU_DIR + "avr/hw/"
DRV_DIR = CPU_DIR + "avr/drv/"
# Common GCC flags.
HW_DIR = CPU_DIR + "avr/hw/"
DRV_DIR = CPU_DIR + "avr/drv/"
# Common GCC flags.
-C_FLAGS = [ "-O0", "-fno-strict-aliasing"]
-
-
-# If you want to use, one o more, of these modules in your project you should compile in
-# different way.
-PC_SRC = [ "kdebug",
- "formartwr",
- "sprintf",
- "text_format",
- "text" ]
+CPP_FLAGS = [ "-Os", "-fno-strict-aliasing", "-I" + CPU_DIR + "avr/"]
SUPPORTED_DRV = [ "adc",
"flash",
SUPPORTED_DRV = [ "adc",
"flash",
@@
-74,4
+78,4
@@
SUPPORTED_DRV = [ "adc",
"ic2",
"kdebug",
"lcd_32122a" ]
"ic2",
"kdebug",
"lcd_32122a" ]
-
+