3 ms·
Try that on IAR EWARM on a Cortex-M0 target. It will absolutely fail (first because size_t is only 32b). What's behind malloc() is what matters. That being s
by SavantIdiot 5y ago
Try that on IAR EWARM on a Cortex-M0 target.
It will absolutely fail (first because size_t is only 32b).
What's behind malloc() is what matters.
That being said, I never would have expected that code to ever succeed! Shows how much I take memory allocation for granted on more sophisticated systems. I can't remember the last time I malloc'd more than a few megabytes.