mirror of
https://github.com/espressif/openthread.git
synced 2026-08-10 04:37:47 +00:00
Add Dynamic Memory Support to otLwf.sys (#1414)
* Add Dynamic Memory Support * Use single list for free buffers. Null mNext on return of new buffer. * Use Paged memory for Buffers.
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
#include <ctype.h>
|
||||
#include "test_util.h"
|
||||
#include "openthread/openthread.h"
|
||||
#include <openthread-instance.h>
|
||||
#include <common/code_utils.hpp>
|
||||
#include <common/message.hpp>
|
||||
#include <ncp/ncp_buffer.hpp>
|
||||
@@ -49,7 +50,8 @@ static const uint8_t sHelloText[] = "Hello there!";
|
||||
static const uint8_t sMottoText[] = "Think good thoughts, say good words, do good deeds!";
|
||||
static const uint8_t sMysteryText[] = "4871(\\):|(3$}{4|/4/2%14(\\)";
|
||||
|
||||
static MessagePool sMessagePool;
|
||||
static otInstance sInstance;
|
||||
static MessagePool sMessagePool(&sInstance);
|
||||
|
||||
struct CallbackContext
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user