When I create a new C++ project (or import an old one) in MCUXpresso 11.0.0 with the SDMMC middleware component , the new Heap and Stack view is always empty.
Is there something that needs to be changed to get this view working with SDMMC?
The new "Heap and Stack Usage" view is aimed at baremetal (non-RTOS) applications.
From your screenshot, it appears that you are probably creating a FreeRTOS based application - can you confirm?
When debugging such an application, this will cause the "Heap and Stack Usage" view to be disabled. [ We are looking at making what has happened in such cases more obvious in a future release.]
If you are generating a FreeRTOS based app, then instead please take a look at the "FreeRTOS TAD" views that are available via the "FreeRTOS" menu of the IDE (and described in the IDE's FreeRTOS Debug Guide).
Regards,MCUXpresso IDE Support
Yes, it is FreeRTOS based. Isn't the FreeRTOS heap a subset of the overall heap?
The behaviour doesn't seem to depend on have FreeRTOS libraries included... it changes with SDMMC
Here is the Heap and Stack when SDMMC is not added and then added, the only change is adding or removing the middleware:
Retrieving data ...