-
Hi all, I am trying to build the shell sample for my xG24-DK2601B board. The build works fine, I can flash fine, also run a couple of commands in the shell such as help or other bt commands, but when I run So far the only clue I found is that there is no mention of any bluetooth device in the device tree and various DTS ... could it be possible that the board definition is not complete? Other BT example seem to run fine, at least without stack overflow. If anyone had a similar issue on a bluetooth board any help would be much appreciated. @carlescufi or @andreeaDumitrache , any thoughts ? |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 5 replies
-
Update, after looking into it I've put together a sort of call stack: I can't go any deeper, I assume it directly calls an already compiled driver afterwards. Running an example such as |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
@Dermiste, may need to increase By the way, the assert shown on indicate that assertion fail due to net_buf which seem link to this piece of code. zephyr/subsys/bluetooth/host/hci_core.c Lines 131 to 133 in 3b99fb1 |
Beta Was this translation helpful? Give feedback.
-
Hi all, it's fixed, what did the trick for the first error: Proposed fix: in a zephyr/boards/arm/efr32xg24_dk2601b/Kconfig.defconfig Lines 28 to 45 in 3b99fb1 And for the second error: Proposed fix: Add a new case linked to BT_SILABS_HCI with default 1 in: zephyr/subsys/bluetooth/host/Kconfig Lines 75 to 93 in 3b99fb1 |
Beta Was this translation helpful? Give feedback.
-
@Dermiste, Good to hear that. |
Beta Was this translation helpful? Give feedback.
-
@Dermiste could you please create a PR with your suggested fix? Please link it here afterwards, we will continue the discussion there. |
Beta Was this translation helpful? Give feedback.
Hi all, it's fixed, what did the trick for the first error:
CONFIG_SHELL_STACK_SIZE=4096
Proposed fix: in a
efr32xg24_dk2601b.conf
in the sample folder OR here:zephyr/boards/arm/efr32xg24_dk2601b/Kconfig.defconfig
Lines 28 to 45 in 3b99fb1
And for the second error:
BT_HCI_RESERVE=1
Proposed fix:
Add a new case linked to BT_SILABS_HCI with default 1 in:
zephyr/subsys/bluetoot…