soc: espressif: Remove ESP heap and use heap adapter
Remove ESP heap from the sources. System heap is default heap. Use heap adapter layer to configure used heap. Use MEM_POOL memory request config to Wi-Fi and Bluetooth drivers. Update the Wi-Fi and BLE memory needs. Signed-off-by: Marek Matej <marek.matej@espressif.com>
This commit is contained in:
parent
65d2139dc6
commit
6e6ab2f8ab
15 changed files with 45 additions and 162 deletions
|
@ -102,13 +102,15 @@ MEMORY
|
|||
/* Default entry point: */
|
||||
ENTRY(CONFIG_KERNEL_ENTRY)
|
||||
|
||||
/* Used as a pointer to the heap end */
|
||||
/* Heap size calculations differs between the APPCPU and PROCPU */
|
||||
#ifdef CONFIG_SOC_ENABLE_APPCPU
|
||||
_heap_sentry = procpu_dram_end;
|
||||
#else
|
||||
_heap_sentry = DRAM_RESERVED_START;
|
||||
#endif
|
||||
|
||||
_libc_heap_size = _heap_sentry - _end;
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
_iram_dram_offset = IRAM_DRAM_OFFSET;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue