[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Custom memory allocator for running Lua on CM4
- From: Dhaval Kapil <me@...>
- Date: Wed, 2 Aug 2017 16:47:11 +0530
> Let me confess i am newbee on Lua and embedded. I am trying to port Lua on custom freertos running on CM4 and which does not have reallocation. is there any standard custom memory allocator available?
I understand that 'realloc' is unavailable on the custom freertos.
If you want a 'hack' to get it running, you could probably implement the 'realloc' function as a wrapper over 'malloc' and 'free'?