Clarification on Dynamic Memory Allocation Usage and Extension in MCUboot #2457
Unanswered
PragatiGarg-eaton
asked this question in
Q&A
Replies: 1 comment
-
malloc in that file is used for split image mode which is used by mynewt only, if you use that then it is expected your OS or build system provides though functions and you can use a define to change it to another function e.g. as is in |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
While working with
loader.c
, I noticed that dynamic memory allocation functions like malloc are used in the file, but I couldn’t find their definitions within the repository itself (except inrun.c
).I’d like to understand:
Any insights or references would be greatly appreciated to help ensure proper integration and alignment with MCUboot’s design principles.
Thanks in advance!
cc: @de-nordic @nordicjm @d3zd3z
Beta Was this translation helpful? Give feedback.
All reactions