While uncommon to change from the defaults, you can review umm_malloc_cfgport.h for more details, which may help reduce your Sketch's size in dire situations. Improved build option support via the method for Heap options: UMM_INFO, UMM_INLINE_METRICS, UMM_STATS, UMM_STATS_FULL, UMM_BEST_FIT, and UMM_FIRST_FIT. Updated build options to supply exported umm_free_heap_size_lw() via either UMM_STATS or UMM_INFO. Updated ESP.getFreeHeap() to use umm_free_heap_size_lw(). Update and export umm_free_heap_size_lw() to report the free Heap size of the current Heap. Possible breaking change for multiple Heap Sketches calling system_get_free_heap_size() it will now always report free DRAM Heap size. NONOS SDK API system_get_free_heap_size() relies on xPortGetFreeHeapSize() for the free Heap size. Ensure xPortGetFreeHeapSize reports DRAM ( #8680 ) Create dedicated function for xPortGetFreeHeapSize() that only reports on DRAM.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |