feat(openthread): Add support to allocate message pool from PSRAM

This commit is contained in:
zhangwenxu
2023-08-23 16:03:13 +08:00
committed by Xu Si Yu
parent 7275ae17bd
commit 331cc97d01
9 changed files with 87 additions and 92 deletions

View File

@@ -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