soc: esp32: unify runtime heap usage
This commit applies several changes in the way "heap_runtime" feature is used. It can't be split due to bisectability issues. Whenever the feature is enabled, a new heap is created and custom malloc/calloc/free functions are added into the build system. Those functions are currently used for internal Wi-Fi and BLE drivers only. Such changes are described below: 1) Rename heap.c to esp_heap_runtime.c for better readability. 2) Rename RUNTIME_HEAP to HEAP_RUNTIME to make it similar to what is available in Zephyr. 3) Add runtime heap to BT as such as Wi-Fi. Fixes #79490 Fixes #79470 Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
This commit is contained in:
parent
882ac1d088
commit
59f0418d2e
10 changed files with 151 additions and 55 deletions
|
@ -202,6 +202,7 @@ config BT_AIROC
|
|||
Infineon's AIROC™ Wi-Fi & combos portfolio integrates
|
||||
IEEE 802.11a/b/g/n/ac/ax Wi-Fi and Bluetooth® 5.2 in a single-chip
|
||||
solution to enable small-form-factor IoT designs.
|
||||
source "drivers/bluetooth/hci/Kconfig.esp32"
|
||||
source "drivers/bluetooth/hci/Kconfig.infineon"
|
||||
source "drivers/bluetooth/hci/Kconfig.nxp"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue