Skip to content

Commit 93b8164

Browse files
committed
lwip: STM32H7: specify heap location
Signed-off-by: Vincent Veron <[email protected]>
1 parent 76fb4d2 commit 93b8164

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

features/lwipstack/lwip-sys/arch/lwip_sys_arch.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@
4747
# else
4848
# define ETHMEM_SECTION __attribute__((section("AHBSRAM0"),aligned))
4949
# endif
50+
#elif defined(TARGET_STM32H7)
51+
# if defined (__ICCARM__)
52+
# define ETHMEM_SECTION
53+
# else
54+
# define ETHMEM_SECTION __attribute__((section(".ethusbram")))
55+
# endif
5056
#else
5157
#define ETHMEM_SECTION
5258
#endif

0 commit comments

Comments
 (0)