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
This allows for a heapless mode, which asserts on malloc and new operators (or deletes them?) and removes the heap and its initialization code from the linkerscript.
This allows ultra-low memory devices (AVRs and STM32L0) to use more of their RAM for static data and to assure developers that they are indeed not using any heap.
Our HAL and most classes should support this out of the box, otherwise they can transparently depend on the heap module (which maybe logs that is is used).
The text was updated successfully, but these errors were encountered:
Oh, just discovered we already have a module called :architecture:heap, which currently only defines the additional memory traits.
But it's always depended upon and implemented by :platform:core/:platform:cortex-m, so that needs to be actually implemented properly.
This allows for a heapless mode, which asserts on malloc and new operators (or deletes them?) and removes the heap and its initialization code from the linkerscript.
This allows ultra-low memory devices (AVRs and STM32L0) to use more of their RAM for static data and to assure developers that they are indeed not using any heap.
Our HAL and most classes should support this out of the box, otherwise they can transparently depend on the heap module (which maybe logs that is is used).
The text was updated successfully, but these errors were encountered: