mirror of https://github.com/arendst/Tasmota.git
prepare transition to esp-nimble-cpp (#19370)
This commit is contained in:
parent
0d80e639ef
commit
f4585a2718
|
@ -149,6 +149,12 @@
|
|||
End Arduino user-config
|
||||
**********************************/
|
||||
|
||||
#ifndef CONFIG_BT_NIMBLE_HOST_TASK_STACK_SIZE
|
||||
#define CONFIG_BT_NIMBLE_HOST_TASK_STACK_SIZE 4096
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_BT_NIMBLE_ROLE_CENTRAL // means for Tasmota: nimble was already embedded into the Arduino framework
|
||||
|
||||
/* This section should not be altered */
|
||||
#ifndef CONFIG_BT_NIMBLE_ROLE_CENTRAL_DISABLED
|
||||
#define CONFIG_BT_NIMBLE_ROLE_CENTRAL
|
||||
|
@ -170,10 +176,6 @@
|
|||
#define CONFIG_BT_NIMBLE_PINNED_TO_CORE 0
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_BT_NIMBLE_HOST_TASK_STACK_SIZE
|
||||
#define CONFIG_BT_NIMBLE_HOST_TASK_STACK_SIZE 4096
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_BT_NIMBLE_MEM_ALLOC_MODE_EXTERNAL
|
||||
#define CONFIG_BT_NIMBLE_MEM_ALLOC_MODE_INTERNAL 1
|
||||
#endif
|
||||
|
@ -324,9 +326,12 @@
|
|||
#define CONFIG_BT_NIMBLE_ROLE_BROADCASTER
|
||||
#endif
|
||||
|
||||
#endif //CONFIG_BT_NIMBLE_ROLE_CENTRAL
|
||||
|
||||
/* Enables the use of Arduino String class for attribute values */
|
||||
#if defined __has_include
|
||||
# if __has_include (<Arduino.h>)
|
||||
# define NIMBLE_CPP_ARDUINO_STRING_AVAILABLE
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue