[nxp][mcxw72] Removed Memory Manager Light#72503
Conversation
Signed-off-by: Leonard Ciobanu <leonard.ciobanu@nxp.com>
There was a problem hiding this comment.
Code Review
This pull request removes the NXP_USE_MML macro and its associated conditional compilation blocks across NXP platform files, defaulting to standard FreeRTOS heap management functions. A review comment suggests replacing the remaining preprocessor macros for heap size and watermark aliases with type-safe inline functions and a constexpr constant to improve type safety and adhere to modern C++ best practices.
Signed-off-by: Leonard Ciobanu <leonard.ciobanu@nxp.com>
Signed-off-by: Leonard Ciobanu <leonard.ciobanu@nxp.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #72503 +/- ##
=======================================
Coverage 55.77% 55.77%
=======================================
Files 1636 1636
Lines 111830 111830
Branches 13391 13391
=======================================
Hits 62372 62372
Misses 49458 49458 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
PR #72503: Size comparison from 3c9767a to 675475b Full report (33 builds for bl602, bl616, bl702, bl702l, cc13x4_26x4, efr32, esp32, nrfconnect, psoc6, qpg, realtek, stm32, telink)
|
Signed-off-by: Leonard Ciobanu <leonard.ciobanu@nxp.com>
|
PR #72503: Size comparison from 3c9767a to 4533dfb Full report (32 builds for bl602, bl616, bl702, bl702l, cc13x4_26x4, efr32, esp32, nrfconnect, psoc6, qpg, realtek, stm32, telink)
|
Summary
Memory Manager Light is not supported or used anymore. It only affects one component, the SoftwareDiagnostics cluster, where it overrides diagnostic data such as GetCurrentHeapFree, GetCurrentHeapUsed and GetCurrentHeapHighWatermark.
Testing
Tested manually using TC_RR.