projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sam3 pmc: add functions to handle peripheral clock enable/disable;
[bertos.git]
/
bertos
/
cpu
/
cortex-m3
/
info
/
STM32F103RB.cdef
diff --git
a/bertos/cpu/cortex-m3/info/STM32F103RB.cdef
b/bertos/cpu/cortex-m3/info/STM32F103RB.cdef
index add4cea6293f4c6a339e719837c1ff558d8c4f2d..fec9a27eb019066ac1df10f944c8598757199a70 100644
(file)
--- a/
bertos/cpu/cortex-m3/info/STM32F103RB.cdef
+++ b/
bertos/cpu/cortex-m3/info/STM32F103RB.cdef
@@
-58,8
+58,11
@@
MK_CPU_CSRC += DRV_DIR + "gpio_stm32.c " + DRV_DIR + "clock_stm32.c "
# Short description of the cpu.
CPU_DESC += [ "128 Kbytes on-chip flash memory",
# Short description of the cpu.
CPU_DESC += [ "128 Kbytes on-chip flash memory",
- "20 Kbytes on-chip SRAM memory" ]
+ "20 Kbytes on-chip SRAM memory",
+ "2 UARTs interfaces",
+ "2 I2C interfaces",
+ "2 ADC x16 channel 12-bit" ]
# GCC flags for this cpu.
MK_CPU_CPPFLAGS += " -D__ARM_STM32F103RB__"
# GCC flags for this cpu.
MK_CPU_CPPFLAGS += " -D__ARM_STM32F103RB__"
-MK_CPU_LDFLAGS += " -T " + SCRIPT_DIR + "stm32f103rb_rom.ld"
+MK_CPU_LDFLAGS += " -
Wl,-d
T " + SCRIPT_DIR + "stm32f103rb_rom.ld"