[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #59385] Add lwipopts to specify default section for me
From: |
Chris |
Subject: |
[lwip-devel] [bug #59385] Add lwipopts to specify default section for memory pools |
Date: |
Fri, 30 Oct 2020 12:51:38 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36 |
URL:
<https://savannah.nongnu.org/bugs/?59385>
Summary: Add lwipopts to specify default section for memory
pools
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: khockuba
Submitted on: 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
Discussion Lock: Any
Planned Release: None
lwIP version: git head
_______________________________________________________
Details:
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
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/bugs/?59385>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-devel] [bug #59385] Add lwipopts to specify default section for memory pools,
Chris <=