|
designing a message "bus"
I’m sure you’ll get a slew of possible implementations, but have you considered implementing the observer pattern? https://en.wikipedia.org/wiki/Observer_pattern . If I were to implement this, I’d giv
I’m sure you’ll get a slew of possible implementations, but have you considered implementing the observer pattern? https://en.wikipedia.org/wiki/Observer_pattern . If I were to implement this, I’d giv
|
By
Jason Bens
· #2943
·
|
|
Connecting to a private resolvable address found using bt_le_scan_start
Hi, I’m writing some firmware for both sides of a BLE link. I would like to scan for advertisers, filter the results to find my device, then store the address to be connected later, without necessaril
Hi, I’m writing some firmware for both sides of a BLE link. I would like to scan for advertisers, filter the results to find my device, then store the address to be connected later, without necessaril
|
By
Jason Bens
· #2940
·
|
|
Enabling i2c on nucleo_f429zi
Hi David. I'm also not an expert, but I'll try to help you if I can. More experienced users can feel free to correct me on this. First off, regarding "And accordingly its the devicetree contains an i2
Hi David. I'm also not an expert, but I'll try to help you if I can. More experienced users can feel free to correct me on this. First off, regarding "And accordingly its the devicetree contains an i2
|
By
Jason Bens
· #2928
·
|
|
Unable to get GPIO controller handle from gpio node using DT_GPIO_CTLR
Solved, and yes, it was a stupid question. Given a closer read of the DT_GPIO_CTLR documentation, I noticed that it returns a node identifier, and not, as I expected a device handle. The correct state
Solved, and yes, it was a stupid question. Given a closer read of the DT_GPIO_CTLR documentation, I noticed that it returns a node identifier, and not, as I expected a device handle. The correct state
|
By
Jason Bens
· #2914
·
|
|
Unable to get GPIO controller handle from gpio node using DT_GPIO_CTLR
Hi, I’m sure this is a very stupid question, but I haven’t been able to get to get this working. I’ve got the following device tree fragment: gpio0: gpio@842500 { compatible = "nordic,nrf-gpio"; gpio-
Hi, I’m sure this is a very stupid question, but I haven’t been able to get to get this working. I’ve got the following device tree fragment: gpio0: gpio@842500 { compatible = "nordic,nrf-gpio"; gpio-
|
By
Jason Bens
· #2910
·
|
|
Using UART on STM32-H753 with Asynchrnous API
There’s not a lot happening behind the scenes. This is the definition of uart_callback_set(): static inline int uart_callback_set(const struct device *dev, uart_callback_t callback, void *user_data) {
There’s not a lot happening behind the scenes. This is the definition of uart_callback_set(): static inline int uart_callback_set(const struct device *dev, uart_callback_t callback, void *user_data) {
|
By
Jason Bens
· #2879
·
|
|
Require help to build an application
Hi, I'm also quite new at Zephyr, but it sounds like west isn't properly detecting the extensions defined by Zephyr, or may have been configured to disallow extensions. As a first step, are you aware
Hi, I'm also quite new at Zephyr, but it sounds like west isn't properly detecting the extensions defined by Zephyr, or may have been configured to disallow extensions. As a first step, are you aware
|
By
Jason Bens
· #2871
·
|
|
nRF52833
#nrf52832
Hi, I’m not an expert in this by any means, but I’d like to point you to https://docs.zephyrproject.org/latest/reference/kconfig/index-all.html , which is a list of all of the config symbols as define
Hi, I’m not an expert in this by any means, but I’d like to point you to https://docs.zephyrproject.org/latest/reference/kconfig/index-all.html , which is a list of all of the config symbols as define
|
By
Jason Bens
· #2867
·
|
|
Confusion around bt_le_scan_start callbacks
Sounds good. Thanks for the clarification, Johan. Jason
Sounds good. Thanks for the clarification, Johan. Jason
|
By
Jason Bens
· #2852
·
|
|
Confusion around bt_le_scan_start callbacks
Hi, It seems as though there are two ways to invoke a callback when a BLE device has been scanned. I can register a callback with bt_le_scan_cb_register, where my callback is the .recv field of the bt
Hi, It seems as though there are two ways to invoke a callback when a BLE device has been scanned. I can register a callback with bt_le_scan_cb_register, where my callback is the .recv field of the bt
|
By
Jason Bens
· #2848
·
|
|
bt_le_per_adv_start() failing successfully
Hi, I’m developing a broadcast audio application with the nRF5340 SoC, based on the iso_broadcast and iso_receive sample. At the moment, I can connect the broadcaster with multiple receivers and trans
Hi, I’m developing a broadcast audio application with the nRF5340 SoC, based on the iso_broadcast and iso_receive sample. At the moment, I can connect the broadcaster with multiple receivers and trans
|
By
Jason Bens
· #2832
·
|
|
Zephyr escaping its virtual environment
Hey Marti, thanks for the advice. In this case specifically, I tracked it down to a pretty silly mistake. I was using the nRF extension for VS Code, but also had the CMake extension installed. I had b
Hey Marti, thanks for the advice. In this case specifically, I tracked it down to a pretty silly mistake. I was using the nRF extension for VS Code, but also had the CMake extension installed. I had b
|
By
Jason Bens
· #2781
·
|
|
Zephyr escaping its virtual environment
Hey Marti, As far as I can tell, I don't have west currently installed outside of the virtual environment. This project I'm trying to get going predates a tonne of build environment issues I've been f
Hey Marti, As far as I can tell, I don't have west currently installed outside of the virtual environment. This project I'm trying to get going predates a tonne of build environment issues I've been f
|
By
Jason Bens
· #2776
·
|
|
Zephyr escaping its virtual environment
Hi. I’m trying to build zephyr inside a python virtual environment. It looks like it’s somehow pulling in the base python interpreter, rather than the fake one provided in the virtual environment. Thi
Hi. I’m trying to build zephyr inside a python virtual environment. It looks like it’s somehow pulling in the base python interpreter, rather than the fake one provided in the virtual environment. Thi
|
By
Jason Bens
· #2774
·
|
|
k_sleep causes nRF5340 to reset
Hi, I’m porting some code from an nRF5340 eval board to my own board, and I’ve run into an issue. While waiting for the net core to boot up, I enter a loop and call k_sleep until an initialization cal
Hi, I’m porting some code from an nRF5340 eval board to my own board, and I’ve run into an issue. While waiting for the net core to boot up, I enter a loop and call k_sleep until an initialization cal
|
By
Jason Bens
· #2761
·
|
|
Not understanding how to enable peripherals in devicetree
Thanks Armand, I think I‘ve got that working, now, and referenced properly in the CMakeList. A devicetree binding somewhere requires a couple pin definitions, but I can handle that. I did come across
Thanks Armand, I think I‘ve got that working, now, and referenced properly in the CMakeList. A devicetree binding somewhere requires a couple pin definitions, but I can handle that. I did come across
|
By
Jason Bens
· #2627
·
|
|
Not understanding how to enable peripherals in devicetree
Hi, I’m a complete newcomer to zephyr and devicetree, and I’m running into some trouble trying to enable the I2S peripheral on the nRF5340dk board. I’ve enabled both the I2S driver (Modules->hal_nordi
Hi, I’m a complete newcomer to zephyr and devicetree, and I’m running into some trouble trying to enable the I2S peripheral on the nRF5340dk board. I’ve enabled both the I2S driver (Modules->hal_nordi
|
By
Jason Bens
· #2625
·
|