Skip to content

Commit 776330f

Browse files
Jimmy Huanggrgustaf
authored andcommitted
[general] Increase call stack size to improve BLE stability (zephyrproject-rtos#1424)
The callstack of 2k is causing segfault in BLE stack, for example, when it starts physical web advertising, or the Websocket over 6lowpan, increasing it to 4k fixes the segfault. Fixes zephyrproject-rtos#1369 zephyrproject-rtos#1421 Signed-off-by: Jimmy Huang <[email protected]>
1 parent 33a9c72 commit 776330f

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/zjs_arduino_101.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"targets": ["arduino_101"],
44
"zephyr_conf": {
55
"arduino_101": [
6-
"CONFIG_MAIN_STACK_SIZE=2048"
6+
"CONFIG_MAIN_STACK_SIZE=4096"
77
]
88
}
99
}

src/zjs_ble.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"zephyr_conf": {
66
"all": [
77
"CONFIG_BLUETOOTH=y",
8-
"CONFIG_BLUETOOTH_STACK_NBLE=y",
98
"CONFIG_NBLE=y",
109
"CONFIG_BLUETOOTH_SMP=y",
1110
"CONFIG_BLUETOOTH_PERIPHERAL=y",

0 commit comments

Comments
 (0)