fix(openthread): Disable Border Agent features by default

This commit is contained in:
WanqQixiang
2024-12-10 11:29:49 +08:00
parent daf465c038
commit 68fbe1dd83

View File

@ -370,6 +370,16 @@
/*----The following options set fixed default values but can be overridden by the user header file.----*/ /*----The following options set fixed default values but can be overridden by the user header file.----*/
#if CONFIG_OPENTHREAD_BORDER_ROUTER #if CONFIG_OPENTHREAD_BORDER_ROUTER
/**
* @def OPENTHREAD_CONFIG_BORDER_AGENT_ENABLE
*
* Define to 1 to enable Border Agent support.
*
*/
#ifndef OPENTHREAD_CONFIG_BORDER_AGENT_ENABLE
#define OPENTHREAD_CONFIG_BORDER_AGENT_ENABLE 1
#endif
/** /**
* @def OPENTHREAD_CONFIG_BORDER_AGENT_ID_ENABLE * @def OPENTHREAD_CONFIG_BORDER_AGENT_ID_ENABLE
* *
@ -451,16 +461,6 @@
#define OPENTHREAD_CONFIG_BORDER_ROUTER_ENABLE 1 #define OPENTHREAD_CONFIG_BORDER_ROUTER_ENABLE 1
#endif #endif
/**
* @def OPENTHREAD_CONFIG_BORDER_AGENT_ENABLE
*
* Define to 1 to enable Border Agent support.
*
*/
#ifndef OPENTHREAD_CONFIG_BORDER_AGENT_ENABLE
#define OPENTHREAD_CONFIG_BORDER_AGENT_ENABLE 1
#endif
#if !CONFIG_OPENTHREAD_RADIO_NATIVE #if !CONFIG_OPENTHREAD_RADIO_NATIVE
/** /**
* @def OPENTHREAD_SPINEL_CONFIG_COMPATIBILITY_ERROR_CALLBACK_ENABLE * @def OPENTHREAD_SPINEL_CONFIG_COMPATIBILITY_ERROR_CALLBACK_ENABLE