[LPC4088] GCC: corrected alignment problem when setting up memory region for Ethernet driver

pull/347/head
Andreas Rebert 2014-06-09 14:55:49 +02:00
parent eba3f25ec6
commit 6d42cdc540
1 changed files with 1 additions and 1 deletions

View File

@ -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