X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fstm%2Fstm32l.h;h=be1e1d65112c6c47f7b65ee1b3be7bc9934c2472;hb=89ecc32b90565ace078c4a84d4406a4d1f86821a;hp=352214ffdbc055c50c8fb44a3cde16dee23ea8d8;hpb=21a29c7452398e0cca0fb90f99fa42a2a0684668;p=fw%2Faltos diff --git a/src/stm/stm32l.h b/src/stm/stm32l.h index 352214ff..be1e1d65 100644 --- a/src/stm/stm32l.h +++ b/src/stm/stm32l.h @@ -3,7 +3,8 @@ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of @@ -1960,7 +1961,7 @@ union stm_usb_bdt { #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;