mirror of https://github.com/ARMmbed/mbed-os.git
Fix LPC1768 tests
Don't have GCC_ARM use GCC_CR's memory region in mem.c. This fixes some tests.pull/2231/head
parent
89d02fab17
commit
3fe5d320ec
|
|
@ -189,7 +189,7 @@ struct mem {
|
||||||
#elif defined(TARGET_LPC1768)
|
#elif defined(TARGET_LPC1768)
|
||||||
# if defined (__ICCARM__)
|
# if defined (__ICCARM__)
|
||||||
# define ETHMEM_SECTION
|
# define ETHMEM_SECTION
|
||||||
# elif defined(TOOLCHAIN_GCC_CR) || defined(TOOLCHAIN_GCC_ARM)
|
# elif defined(TOOLCHAIN_GCC_CR)
|
||||||
# define ETHMEM_SECTION __attribute__((section(".data.$RamPeriph32")))
|
# define ETHMEM_SECTION __attribute__((section(".data.$RamPeriph32")))
|
||||||
# else
|
# else
|
||||||
# define ETHMEM_SECTION __attribute__((section("AHBSRAM0"),aligned))
|
# define ETHMEM_SECTION __attribute__((section("AHBSRAM0"),aligned))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue