lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Memory Pool relocation


From: Dirk Ziegelmeier
Subject: Re: [lwip-users] Memory Pool relocation
Date: Sun, 15 Oct 2017 22:36:26 +0200

extern u8_t attribute((section(".onchip_mem"))) memp_memory_PBUF_POOL_base[];


The documentation is wrong. I'll fix it.


Ciao
Dirk

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]