File tree Expand file tree Collapse file tree 2 files changed +23
-17
lines changed Expand file tree Collapse file tree 2 files changed +23
-17
lines changed Original file line number Diff line number Diff line change 6767
6868#ifndef max
6969#define max (a , b ) ((a)>(b)?(a):(b))
70- #endif
70+ #endif
71+
72+ #define CONFIG_BT_NIMBLE_LEGACY_VHCI_ENABLE 1
Original file line number Diff line number Diff line change 1313# define CONFIG_BT_NIMBLE_MAX_CONNECTIONS 1
1414#endif
1515
16- #if (DEVICE_RAM_SIZE ) > 16
17- # ifndef CONFIG_BT_NIMBLE_MSYS1_BLOCK_COUNT
18- # define CONFIG_BT_NIMBLE_MSYS1_BLOCK_COUNT (12)
19- # endif
20- # ifndef CONFIG_BT_NIMBLE_HOST_TASK_STACK_SIZE
21- # define CONFIG_BT_NIMBLE_HOST_TASK_STACK_SIZE 2048
22- # endif
23- #else
24- # ifndef CONFIG_BT_NIMBLE_MSYS1_BLOCK_COUNT
25- # define CONFIG_BT_NIMBLE_MSYS1_BLOCK_COUNT (5)
26- # endif
27- # ifndef CONFIG_BT_NIMBLE_HOST_TASK_STACK_SIZE
28- # define CONFIG_BT_NIMBLE_HOST_TASK_STACK_SIZE 1152
29- # endif
30- #endif
31-
3216#ifndef CONFIG_BT_NIMBLE_MAX_BONDS
3317# define CONFIG_BT_NIMBLE_MAX_BONDS 1
3418#endif
4731# endif
4832#endif
4933
34+ #if (DEVICE_RAM_SIZE ) > 16
35+ # ifndef CONFIG_BT_NIMBLE_MSYS1_BLOCK_COUNT
36+ # define CONFIG_BT_NIMBLE_MSYS1_BLOCK_COUNT (12)
37+ # endif
38+ # ifndef CONFIG_BT_NIMBLE_HOST_TASK_STACK_SIZE
39+ # define CONFIG_BT_NIMBLE_HOST_TASK_STACK_SIZE 2048
40+ # endif
41+ #else
42+ # ifndef CONFIG_BT_NIMBLE_MSYS1_BLOCK_COUNT
43+ # if CONFIG_BT_NIMBLE_ENABLE_PRIVACY
44+ # define CONFIG_BT_NIMBLE_MSYS1_BLOCK_COUNT (7)
45+ # else
46+ # define CONFIG_BT_NIMBLE_MSYS1_BLOCK_COUNT (5)
47+ # endif
48+ # endif
49+ # ifndef CONFIG_BT_NIMBLE_HOST_TASK_STACK_SIZE
50+ # define CONFIG_BT_NIMBLE_HOST_TASK_STACK_SIZE 1152
51+ # endif
52+ #endif
53+
5054#ifndef CONFIG_BT_NIMBLE_ATT_PREFERRED_MTU
5155#define CONFIG_BT_NIMBLE_ATT_PREFERRED_MTU (23)
5256#endif
You can’t perform that action at this time.
0 commit comments