-
Notifications
You must be signed in to change notification settings - Fork 3k
stm32l475: lwip symbols in sram1 #9793
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -106,6 +106,16 @@ SECTIONS | |
__CRASH_DATA_RAM_END__ = .; /* Define a global symbol at data end */ | ||
} > SRAM1 | ||
|
||
.lwip : | ||
{ | ||
. = ALIGN(8); | ||
__lwip_bss_start__ = .; | ||
*mbed-os/features/lwipstack*.o(.bss*) | ||
*mbed-os/features/lwipstack*.o(COMMON) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think LWIP is a defaut feature on all L475 based boards - will that work fine anyway when there are no LWIP symbols at all (mbed2 application for instance) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should work, I tested this precise use case by disabling lwip. I saw no ill effects. Can't comment for mbed2, though. |
||
. = ALIGN(8); | ||
__lwip_bss_end__ = .; | ||
} > SRAM1 | ||
|
||
.data : AT (__etext) | ||
{ | ||
__data_start__ = .; | ||
|
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ARM compiler supports expansion of RW and ZI in multiple banks, please try below solution