forked from h2zero/esp-nimble-cpp
Rename command line config macros for role disable.
This commit is contained in:
@@ -51,28 +51,28 @@
|
|||||||
/** @brief Comment out if not using NimBLE Client functions \n
|
/** @brief Comment out if not using NimBLE Client functions \n
|
||||||
* Reduces flash size by approx. 7kB.
|
* Reduces flash size by approx. 7kB.
|
||||||
*/
|
*/
|
||||||
#ifndef CONFIG_BT_NIMBLE_ROLE_CENTRAL
|
#ifndef CONFIG_BT_NIMBLE_ROLE_CENTRAL_DISABLED
|
||||||
#define CONFIG_BT_NIMBLE_ROLE_CENTRAL
|
#define CONFIG_BT_NIMBLE_ROLE_CENTRAL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/** @brief Comment out if not using NimBLE Scan functions \n
|
/** @brief Comment out if not using NimBLE Scan functions \n
|
||||||
* Reduces flash size by approx. 26kB.
|
* Reduces flash size by approx. 26kB.
|
||||||
*/
|
*/
|
||||||
#ifndef CONFIG_BT_NIMBLE_ROLE_OBSERVER
|
#ifndef CONFIG_BT_NIMBLE_ROLE_OBSERVER_DISABLED
|
||||||
#define CONFIG_BT_NIMBLE_ROLE_OBSERVER
|
#define CONFIG_BT_NIMBLE_ROLE_OBSERVER
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/** @brief Comment out if not using NimBLE Server functions \n
|
/** @brief Comment out if not using NimBLE Server functions \n
|
||||||
* Reduces flash size by approx. 16kB.
|
* Reduces flash size by approx. 16kB.
|
||||||
*/
|
*/
|
||||||
#ifndef CONFIG_BT_NIMBLE_ROLE_PERIPHERAL
|
#ifndef CONFIG_BT_NIMBLE_ROLE_PERIPHERAL_DISABLED
|
||||||
#define CONFIG_BT_NIMBLE_ROLE_PERIPHERAL
|
#define CONFIG_BT_NIMBLE_ROLE_PERIPHERAL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/** @brief Comment out if not using NimBLE Advertising functions \n
|
/** @brief Comment out if not using NimBLE Advertising functions \n
|
||||||
* Reduces flash size by approx. 5kB.
|
* Reduces flash size by approx. 5kB.
|
||||||
*/
|
*/
|
||||||
#ifndef CONFIG_BT_NIMBLE_ROLE_BROADCASTER
|
#ifndef CONFIG_BT_NIMBLE_ROLE_BROADCASTER_DISABLED
|
||||||
#define CONFIG_BT_NIMBLE_ROLE_BROADCASTER
|
#define CONFIG_BT_NIMBLE_ROLE_BROADCASTER
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user