You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: root struct of file 'start' has no member named 'os'
root.os.heap.page_allocator
Is there a way to get the allocator in the Microzig? or ESP32C2 environment? Can I resolve those issues without the allocator usage?
Thank you in advance.
The text was updated successfully, but these errors were encountered:
kanstantsin-bucha
changed the title
Please help with apllocator pattern in microzig.
Please help: with format a string with numbers or apllocator instance in microzig.
Jun 4, 2023
kanstantsin-bucha
changed the title
Please help: with format a string with numbers or apllocator instance in microzig.
Please help: with format a string with numbers or allocator instance in microzig.
Jun 8, 2023
Hi sorry for the late reply. For embedded projects you have to setup an allocator yourself. The easiest way you can do that is to use a fixed buffer allocator.
For the example above keep in mind that you can't free the memory allocated from a FBA, i.e., you have to place it strategically in your code.
If you have any questions regarding Microzig and embedded programming in Zig, the best place to go is the Zig Embedded Group Discord server (https://discord.gg/XRbsd3Ee). The response time is usually pretty quick.
Hello!
Thank you for your work on that project.
I start to use it in development. I want to write some simple apps to understand if it works.
I want to be able to format a string with numbers.
I need help with the allocator issue. I need help finding a way to use the standard library functions that require an allocator instance.
Example:
Gives me the error:
Is there a way to get the allocator in the Microzig? or ESP32C2 environment? Can I resolve those issues without the allocator usage?
Thank you in advance.
The text was updated successfully, but these errors were encountered: