|
From: | Dirk Ziegelmeier |
Subject: | Re: [lwip-users] Memory Pool relocation |
Date: | Sun, 15 Oct 2017 22:36:26 +0200 |
The documentation is wrong. I'll fix it.
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
[Prev in Thread] | Current Thread | [Next in Thread] |