[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-devel] Putting memp_memory (in core/memp.c) in its own section
From: |
Simon Goldschmidt |
Subject: |
Re: [lwip-devel] Putting memp_memory (in core/memp.c) in its own section |
Date: |
Fri, 21 Oct 2011 15:36:59 +0200 |
"Bill Auerbach" <address@hidden> wrote:
> Isn't what you want to do covered by MEMP_SEPARATE_POOLS?
Exactly: define MEMP_SEPARATE_POOLS to 1 and prototype the pool with its
section in cc.h. e.g. for GCC, to move the UCP_PCBs into the section
".onchip_mem", add this line to cc.h:
extern u8_t __attribute__((section(".onchip_mem"))) memp_memory_UDP_PCB_base[];
This is documented in memp.c only, so might be rather hard to find... However,
you don't have to change the lwIP sources for that :-)
Simon
--
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!
Jetzt informieren: http://www.gmx.net/de/go/freephone
- [lwip-devel] Putting memp_memory (in core/memp.c) in its own section, David Brown, 2011/10/21
- Re: [lwip-devel] Putting memp_memory (in core/memp.c) in its own section, Bill Auerbach, 2011/10/21
- Re: [lwip-devel] Putting memp_memory (in core/memp.c) in its own section,
Simon Goldschmidt <=
- Re: [lwip-devel] Putting memp_memory (in core/memp.c) in its own section, David Brown, 2011/10/21
- Re: [lwip-devel] Putting memp_memory (in core/memp.c) in its own section, address@hidden, 2011/10/21
- Re: [lwip-devel] Putting memp_memory (in core/memp.c) in its own section, David Brown, 2011/10/24
- Re: [lwip-devel] Putting memp_memory (in core/memp.c) in its own section, Simon Goldschmidt, 2011/10/24
- Re: [lwip-devel] Putting memp_memory (in core/memp.c) in its own section, David Brown, 2011/10/24