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:[email protected]] On
Behalf Of Dirk Ziegelmeier
Sent: 02 October 2017 09:11
To: Mailing list for lwIP users <[email protected]>
Subject: Re: [lwip-users] Memory Pool relocation
http://www.nongnu.org/lwip/2_0_x/group__mempool.html#ga5b1fb3ce7942432d87cc948b1c5ed6cb
See last line of LWIP_MEMPOOL_DECLARE description.
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users