Hi
I am a MQX user, I am using K66 and MQX 4.2. I need to extend my external SDRAM to MQX pool with mem_extend, but it is not successful,. Could you please give me a clue how to this correctly?
Thank you.
解決済! 解決策の投稿を見る。
Hi David:
If your application runs out of RAM and you want to create new tasks you need external RAM. In this case _mem_extend function is used to let the kernel know about external mem pool.
you need to use these MACROs in user_config.h
#define MQX_USE_LWMEM_ALLOCATOR 0
#define MQX_USE_LWMEM 0
#define MQX_USE_MEM 1
Please rebuild all libraries.
Regards
Daniel
Hi David:
If your application runs out of RAM and you want to create new tasks you need external RAM. In this case _mem_extend function is used to let the kernel know about external mem pool.
you need to use these MACROs in user_config.h
#define MQX_USE_LWMEM_ALLOCATOR 0
#define MQX_USE_LWMEM 0
#define MQX_USE_MEM 1
Please rebuild all libraries.
Regards
Daniel