mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-16 15:04:22 +00:00
feat(openthread): Add support to allocate message pool from PSRAM
This commit is contained in:
@@ -517,4 +517,23 @@
|
||||
#define OPENTHREAD_CONFIG_OPERATIONAL_DATASET_AUTO_INIT 1
|
||||
#endif
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Define as 1 to enable support for allocating message pool buffer in PSRAM
|
||||
*
|
||||
*/
|
||||
#if CONFIG_OPENTHREAD_PLATFORM_MSGPOOL_MANAGEMENT
|
||||
|
||||
/**
|
||||
* @def OPENTHREAD_CONFIG_PLATFORM_MESSAGE_MANAGEMENT
|
||||
*
|
||||
* The message pool is managed by platform defined logic when this flag is set.
|
||||
* This feature would typically be used when operating in a multi-threaded system
|
||||
* and multiple threads need to access the message pool.
|
||||
*
|
||||
*/
|
||||
#define OPENTHREAD_CONFIG_PLATFORM_MESSAGE_MANAGEMENT 1
|
||||
#endif
|
||||
|
||||
#define OPENTHREAD_FTD 1
|
||||
|
Reference in New Issue
Block a user