|
From: | Zahir Lalani |
Subject: | Re: [lwip-users] Memory Pool relocation |
Date: | Sun, 15 Oct 2017 11:48:37 +0100 |
Hi I eventually got round to testing this – but I am not sure the docs are correct. Here is the note in the docs: extern u8_t attribute((section(".onchip_mem"))) memp_memory_my_private_pool[]; I could not get this to move the pool if I did: extern u8_t attribute((section(".onchip_mem"))) memp_memory_PBUF_POOL[]; Having looked at the code a little more, what I then did was: extern u8_t attribute((section(".onchip_mem"))) memp_memory_PBUF_POOL_base[]; This did seem to do the right thing. Can anyone confirm whether the first option should be the right way? Z From: lwip-users [mailto:address@hidden On Behalf Of Dirk Ziegelmeier See last line of LWIP_MEMPOOL_DECLARE description. |
[Prev in Thread] | Current Thread | [Next in Thread] |