mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 04:02:27 +00:00
heap: Fix compilation errors when CONFIG_HEAP_TLSF_USE_ROM_IMPL is set
- include headers from the tlsf submodule only when CONFIG_HEAP_TLSF_USE_ROM_IMPL is not set - remove usage of the tlsf_t type in the multi_heap.c - add missing declaration of tlsf_poison_fill_pfunc_set() in multi_heap_poisoning.c - define headers from tlsf submodule as private - update the linker file in the heap component to the new naming of the tlsf file - update the copyright docuementation to reference the submodule in github (https://github.com/espressif/tlsf) - remove deleted files from the check_copyright_ignore.txt
This commit is contained in:
@@ -21,7 +21,15 @@
|
||||
/* Defines compile-time configuration macros */
|
||||
#include "multi_heap_config.h"
|
||||
|
||||
#if !CONFIG_HEAP_TLSF_USE_ROM_IMPL
|
||||
#include "tlsf.h"
|
||||
#else
|
||||
/* Declaration of the tlsf_poison_fill_pfunc_set defined in RAM
|
||||
* used to call IDF function multi_heap_internal_poison_fill_region()
|
||||
* in this source file
|
||||
*/
|
||||
extern void tlsf_poison_fill_pfunc_set(void *pfunc);
|
||||
#endif
|
||||
|
||||
#ifdef MULTI_HEAP_POISONING
|
||||
|
||||
|
Reference in New Issue
Block a user