Replies: 2 comments 3 replies
-
I attempted to build an MWE. I create a new project based off of blinky and verified that it works correctly. Then I started to add in things in my prj.conf, when I use this (which is the same as my full build), I get a BusError immediately on attaching the ozone debugger:
If I comment out the two lines beginning with CONFIG_BT it works as expected. If I leave the CONFIG_BT lines in, but comment out everything but the CONFIG_GPIO (which blinky needs), it also works. So I'm a bit at a loss here, mostly in that I don't totally understand what is happening with each of these marcos. I'm assuming that that these config options build out zephyr OS and that for some reason different macros (are they macros?) are resulting in different builds that don't work on this hardware. What should I do next to debug? Note: this has been tried with two different devices, to eliminate a hardware defect. |
Beta Was this translation helpful? Give feedback.
-
Thanks @hermabe , I'll check these log lines. I found that when I turned off compile with debug (e.g. -oO) and instead compiled for size things just started to work. There was enough ram/rom on the device with debug, where would I modify the stack size? (Can I modify the stack size?) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm very new to embedded programming and the whole zephyr toolchain, so apologies for the naivety here. I'm using the Seeeduino Xiao BLE Sense device (https://docs.zephyrproject.org/latest/boards/arm/xiao_ble/doc/index.html) and have a j-link mini EDU which I'm using to program it. When I enable bluetooth in my prj.conf file with:
Then re-flash the device, it halts immediately with a BusFault (image below). Is there something else I need to configure in Kconfig to enable bluetooth? I don't actually have any bluetooth code written yet, so the exact same project without the two Kconfig values set deploys to the device fine.
Beta Was this translation helpful? Give feedback.
All reactions