mirror of https://github.com/ARMmbed/mbed-os.git
[LPC4088] GCC: corrected alignment problem when setting up memory region for Ethernet driver
parent
eba3f25ec6
commit
6d42cdc540
|
@ -138,7 +138,7 @@ struct lpc_enetdata {
|
|||
# if defined (__ICCARM__)
|
||||
# define ETHMEM_SECTION
|
||||
# elif defined(TOOLCHAIN_GCC_CR)
|
||||
# define ETHMEM_SECTION __attribute__((section(".data.$RamPeriph32")))
|
||||
# define ETHMEM_SECTION __attribute__((section(".data.$RamPeriph32"), aligned))
|
||||
# else
|
||||
# define ETHMEM_SECTION __attribute__((section("AHBSRAM1"),aligned))
|
||||
# endif
|
||||
|
|
Loading…
Reference in New Issue