mirror of
https://github.com/espressif/openthread.git
synced 2026-10-11 18:27:43 +00:00
[slaac] add config option to enable/disable SLAAC support (#3512)
This commit adds `OPENTHREAD_CONFIG_ENABLE_SLAAC` as a build configuration option to enable/disable SLAAC support within OpenThread. This feature is disabled by default. This commit also adds `SLAAC` to `common-switches` list to allow builds to enable this feature easily.
This commit is contained in:
committed by
Jonathan Hui
parent
96de36385a
commit
7a69ae36a1
@@ -53,6 +53,16 @@
|
||||
#define OPENTHREAD_CONFIG_LOG_OUTPUT OPENTHREAD_CONFIG_LOG_OUTPUT_PLATFORM_DEFINED
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @def OPENTHREAD_CONFIG_ENABLE_SLAAC
|
||||
*
|
||||
* Define as 1 to enable support for adding of auto-configured SLAAC addresses by OpenThread.
|
||||
*
|
||||
*/
|
||||
#ifndef OPENTHREAD_CONFIG_ENABLE_SLAAC /* allows command line override */
|
||||
#define OPENTHREAD_CONFIG_ENABLE_SLAAC 1
|
||||
#endif
|
||||
|
||||
#if OPENTHREAD_RADIO
|
||||
/**
|
||||
* @def OPENTHREAD_CONFIG_ENABLE_SOFTWARE_ACK_TIMEOUT
|
||||
|
||||
Reference in New Issue
Block a user