projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos/arm: Align data so that gcc 5.4 doesn't do byte-accesses. Add -Wcast-align
[fw/altos]
/
src
/
stm
/
stm32l.h
diff --git
a/src/stm/stm32l.h
b/src/stm/stm32l.h
index 463125e25f19ebea5472adbd1c0cab57eaa407ff..be1e1d65112c6c47f7b65ee1b3be7bc9934c2472 100644
(file)
--- a/
src/stm/stm32l.h
+++ b/
src/stm/stm32l.h
@@
-1961,7
+1961,7
@@
union stm_usb_bdt {
#define STM_USB_BDT_SIZE 8
#define STM_USB_BDT_SIZE 8
-extern uint8_t stm_usb_sram[];
+extern uint8_t stm_usb_sram[]
__attribute__ ((aligned(4)))
;
struct stm_exti {
vuint32_t imr;
struct stm_exti {
vuint32_t imr;