Skip to content

Commit 3fe5d32

Browse files
c1728p9geky
authored andcommitted
Fix LPC1768 tests
Don't have GCC_ARM use GCC_CR's memory region in mem.c. This fixes some tests.
1 parent 89d02fa commit 3fe5d32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lwip/core/mem.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ struct mem {
189189
#elif defined(TARGET_LPC1768)
190190
# if defined (__ICCARM__)
191191
# define ETHMEM_SECTION
192-
# elif defined(TOOLCHAIN_GCC_CR) || defined(TOOLCHAIN_GCC_ARM)
192+
# elif defined(TOOLCHAIN_GCC_CR)
193193
# define ETHMEM_SECTION __attribute__((section(".data.$RamPeriph32")))
194194
# else
195195
# define ETHMEM_SECTION __attribute__((section("AHBSRAM0"),aligned))

0 commit comments

Comments
 (0)