lwip: STM32H7: specify heap location

Signed-off-by: Vincent Veron <vincent.veron@st.com>
pull/11274/head
Vincent Veron 2019-08-20 11:21:35 +02:00
parent 76fb4d22cc
commit 93b8164830
1 changed files with 6 additions and 0 deletions

View File

@ -47,6 +47,12 @@
# else # else
# define ETHMEM_SECTION __attribute__((section("AHBSRAM0"),aligned)) # define ETHMEM_SECTION __attribute__((section("AHBSRAM0"),aligned))
# endif # endif
#elif defined(TARGET_STM32H7)
# if defined (__ICCARM__)
# define ETHMEM_SECTION
# else
# define ETHMEM_SECTION __attribute__((section(".ethusbram")))
# endif
#else #else
#define ETHMEM_SECTION #define ETHMEM_SECTION
#endif #endif