projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add lcd 32122a module cfg.
[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 abf6332f0ddac40e0befd56880ffab449f639fdc..f0fd278c7a2e78dfe7ff9945d411e1dd78133f01 100644
(file)
--- a/
bertos/cpu/avr/info/avr.common
+++ b/
bertos/cpu/avr/info/avr.common
@@
-47,32
+47,23
@@
include("../../path.common")
CPU_DESC = [ "ATMEL AVR Microcontroller ",
"8-bit RISC Architecture"]
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"
+# Special CPU related tags.
+CPU_TAGS = ["harvard", TOOLCHAIN]
+
+# CPU default clock frequency
+CPU_DEFAULT_FREQ = "8000000UL"
# Where are locate the bertos directories
SCRIPT_DIR = CPU_DIR + "avr/scripts/"
# Where are locate the bertos directories
SCRIPT_DIR = CPU_DIR + "avr/scripts/"
-HW_DIR = CPU_DIR + "avr/hw/"
-DRV_DIR = CPU_DIR + "avr/drv/"
+MK_FLASH_SCRIPT = PRG_SCRIPTS_DIR + "avr/flash.sh"
+MK_STOPFLASH_SCRIPT = PRG_SCRIPTS_DIR + "avr/stopflash.sh"
+MK_DEBUG_SCRIPT = PRG_SCRIPTS_DIR + "nodebug.sh"
+MK_STOPDEBUG_SCRIPT = PRG_SCRIPTS_DIR + "none.sh"
# Common GCC flags.
# Common GCC flags.
-C_FLAGS = [ "-Os", "-fno-strict-aliasing", "-I" + CPU_DIR + "avr/"]
-
-SUPPORTED_DRV = [ "adc",
- "flash",
- "pwm",
- "ser",
- "sipo",
- "timer",
- "wdt",
- "ic2",
- "kdebug",
- "lcd_32122a" ]
+MK_CPU_CPPFLAGS = "-Os -I" + CPU_DIR + "avr/"