mirror of
https://github.com/espressif/openthread.git
synced 2026-08-15 07:07:46 +00:00
Reduce MTD code size by removing some unused MeshCoP features (#1361)
* Seperate FTD-only dataset APIs; * Remove some unused MeshCoP functions from MTD build; * Remove some unused CLI functions from MTD build.
This commit is contained in:
@@ -22,6 +22,8 @@
|
||||
#define OTAPI EXTERN_C __declspec(dllexport)
|
||||
|
||||
#include <openthread/openthread.h>
|
||||
#include <openthread/dataset_ftd.h>
|
||||
#include <openthread/thread_ftd.h>
|
||||
#include <openthread/commissioner.h>
|
||||
#include <openthread/joiner.h>
|
||||
#include <openthread/platform/logging-windows.h>
|
||||
|
||||
@@ -62,6 +62,8 @@ RtlCopyBufferToMdl(
|
||||
#include <openthread-windows-config.h>
|
||||
#include <openthread-core-config.h>
|
||||
#include <openthread/openthread.h>
|
||||
#include <openthread/dataset_ftd.h>
|
||||
#include <openthread/thread_ftd.h>
|
||||
#include <openthread/icmp6.h>
|
||||
#include <openthread/ip6.h>
|
||||
#include <openthread/tasklet.h>
|
||||
|
||||
@@ -50,6 +50,8 @@ using namespace std;
|
||||
#define OTNODEAPI EXTERN_C __declspec(dllexport)
|
||||
|
||||
#include <openthread/openthread.h>
|
||||
#include <openthread/dataset_ftd.h>
|
||||
#include <openthread/thread_ftd.h>
|
||||
#include <openthread/commissioner.h>
|
||||
#include <openthread/joiner.h>
|
||||
#include <openthread/platform/logging-windows.h>
|
||||
|
||||
Reference in New Issue
Block a user