mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
feat(openthread): support openthread heap allocation from PSRAM
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2021-2025 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2021-2026 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
@@ -99,6 +99,16 @@
|
||||
#define OPENTHREAD_CONFIG_RADIO_LINK_TREL_ENABLE 0
|
||||
#endif // CONFIG_OPENTHREAD_RADIO_TREL
|
||||
|
||||
#if CONFIG_OPENTHREAD_RADIO_TREL
|
||||
/**
|
||||
* @def OPENTHREAD_CONFIG_TREL_USE_HEAP_ENABLE
|
||||
*
|
||||
* Set to 1 to allow TREL modules to use heap allocated objects (e.g. for the TREL peer table).
|
||||
*
|
||||
*/
|
||||
#define OPENTHREAD_CONFIG_TREL_USE_HEAP_ENABLE 1
|
||||
#endif // CONFIG_OPENTHREAD_RADIO_TREL
|
||||
|
||||
/**
|
||||
* @def OPENTHREAD_CONFIG_RADIO_LINK_IEEE_802_15_4_ENABLE
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user