projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
First version of new i2c bitbang API.
[bertos.git]
/
bertos
/
cpu
/
cortex-m3
/
io
/
stm32_memmap.h
diff --git
a/bertos/cpu/cortex-m3/io/stm32_memmap.h
b/bertos/cpu/cortex-m3/io/stm32_memmap.h
index 1c86443f6b14397c803d3919d8532ae0d9fffb6f..a99577a174b05db215ecef9e26c91143b05c5100 100644
(file)
--- a/
bertos/cpu/cortex-m3/io/stm32_memmap.h
+++ b/
bertos/cpu/cortex-m3/io/stm32_memmap.h
@@
-50,7
+50,7
@@
#define OB_BASE (0x1FFFF800)
/* Peripheral memory map */
#define OB_BASE (0x1FFFF800)
/* Peripheral memory map */
-#define APB1PERIPH_BASE (
(uint32_t)
PERIPH_BASE)
+#define APB1PERIPH_BASE (PERIPH_BASE)
#define APB2PERIPH_BASE (PERIPH_BASE + 0x10000)
#define AHBPERIPH_BASE (PERIPH_BASE + 0x20000)
#define APB2PERIPH_BASE (PERIPH_BASE + 0x10000)
#define AHBPERIPH_BASE (PERIPH_BASE + 0x20000)