lwIP - A Lightweight TCP/IP stack - Bugs: bug #59385, Add lwipopts to specify default...
You are not allowed to post comments on this tracker with your current authentication level.
bug #59385: Add lwipopts to specify default section for memory pools
Submitter: | Chris <khockuba> | ||
Submitted: | Fri 30 Oct 2020 04:51:37 PM UTC | ||
Category: | pbufs | Severity: | 3 - Normal |
Item Group: | Feature Request | Status: | None |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Open | Planned Release: | None |
lwIP version: | git head |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
No changes have been made to this item
Powered by Savane 3.13-4448.
Corresponding source code
Hi,
I'm currently working with STM32F4 MCU however this relates to many different microcontrollers that embed different types of RAM. Usually, those different types of RAM occupy different addresses and thus default LWIP memory pools are placed by default in bss section.
There is a "hacky" way to define a different section for a specific memory pool by defining it in cc.h as an extern symbol. I find it very cumbersome and inelegant way. Having a define option like LWIP_MEMPOOL_DEFAULT_SECTION would be very useful here and at the same time would avoid any mistakes related to placing memory pool in a different section.
Chris