|
k_uptime_get()
#api
I need to keep track of the time elapsed since boot-up using the function k_uptime_get() but it is always returning zero (0). I am using an nRF5340PDK and Zephyr OS build v2.3.0-rc1-ncs1. The IDE used
I need to keep track of the time elapsed since boot-up using the function k_uptime_get() but it is always returning zero (0). I am using an nRF5340PDK and Zephyr OS build v2.3.0-rc1-ncs1. The IDE used
|
By
mohamed.belaroussi@...
·
|
|
BSD Sockets and poll-triggered work items
#networking
#api
Hi, Is there currently any way to trigger a work item when a message arrives to a BSD socket (without creating a new thread)? From the documentation it looks like there are two polling methods (k_poll
Hi, Is there currently any way to trigger a work item when a message arrives to a BSD socket (without creating a new thread)? From the documentation it looks like there are two polling methods (k_poll
|
By
valentin.plotkin@...
·
|
|
Read out channels on ADC3
#stm32
#api
I'm running Zephyr OS on a stm32f429i-eval (similar to the stm32f429-disc1 except for the crystal). I've enabled &adc1 in my dts overlay. I would have expected a &adc2 and &adc3 for the other adc peri
I'm running Zephyr OS on a stm32f429i-eval (similar to the stm32f429-disc1 except for the crystal). I've enabled &adc1 in my dts overlay. I would have expected a &adc2 and &adc3 for the other adc peri
|
By
robin@...
·
|
|
Password Protection for Shell 2 messages
#uart
#api
Hi Dave, I think you could try to look into selecting root command feature. Create dummy command with only “login” subcommand. Set this dummy command during system startup (shell_set_root_command(“dum
Hi Dave, I think you could try to look into selecting root command feature. Create dummy command with only “login” subcommand. Set this dummy command during system startup (shell_set_root_command(“dum
|
By
Chruściński, Krzysztof
·
|
|
Custom linker script for module 2 messages
#api
Ok, solution found. Adding zephyr_linker_sources(SECTIONS custom-sections.ld) into cmakelists.txt inside module folder giver required flexibility. Thanks!
Ok, solution found. Adding zephyr_linker_sources(SECTIONS custom-sections.ld) into cmakelists.txt inside module folder giver required flexibility. Thanks!
|
By
EugKrashtan
·
|
|
#driver #api #flash #nrf52832
#driver
#api
#flash
#nrf52832
Hello everyone, Now, I am implementing a Flash-map application for nRF52832. I have already included <storage/flash_map.h> and called flash_area_open() function, but I got an error when compile: undef
Hello everyone, Now, I am implementing a Flash-map application for nRF52832. I have already included <storage/flash_map.h> and called flash_area_open() function, but I got an error when compile: undef
|
By
nhuan.huynhduc1@...
·
|
|
#mqtt Failed to obtain RX buffer 2 messages
#mqtt
#api
Hi Erik, you are running out of RX network buffers. Try to increase the value of CONFIG_NET_BUF_RX_COUNT and optionally CONFIG_NET_PKT_RX_COUNT options. Cheers, Jukka
Hi Erik, you are running out of RX network buffers. Try to increase the value of CONFIG_NET_BUF_RX_COUNT and optionally CONFIG_NET_PKT_RX_COUNT options. Cheers, Jukka
|
By
Jukka Rissanen
·
|
|
#api 2 messages
#api
Mostly for the same sorts of reasons that poll() in Linux can't wait on a POSIX condition variable or futex. The zsock_poll() implementation is designed to work the way it works on existing Berkley so
Mostly for the same sorts of reasons that poll() in Linux can't wait on a POSIX condition variable or futex. The zsock_poll() implementation is designed to work the way it works on existing Berkley so
|
By
Andy Ross
·
|
|
Private: Re: [Zephyr-users] bt_set_name() and setting local name
#ble
#bt
#bluetooth
#api
Hi there, The name is placed in the advertising data automatically when you call bt_le_adv_start(BT_LE_ADV_CONN_NAME). When you call bt_set_name(), that is updated as well: https://github.com/zephyrpr
Hi there, The name is placed in the advertising data automatically when you call bt_le_adv_start(BT_LE_ADV_CONN_NAME). When you call bt_set_name(), that is updated as well: https://github.com/zephyrpr
|
By
Carles Cufi
·
|
|
bt_set_name() and setting local name 2 messages
#bt
#bluetooth
#api
#ble
Hi there, Most smartphones implement some sort of advertising data caching. Try stopping and starting scanning from the phone a couple of times to see if the name is updated without the need to connec
Hi there, Most smartphones implement some sort of advertising data caching. Try stopping and starting scanning from the phone a couple of times to see if the name is updated without the need to connec
|
By
Carles Cufi
·
|
|
cannot find "__device_[device name]" 3 messages
#api
Hi Justin, "Justin Huang via Lists.Zephyrproject.Org" <justin.y.huang=live.com@...> writes: DEVICE_GET() might not be the right thing here. Are you trying to get a pointer to your
Hi Justin, "Justin Huang via Lists.Zephyrproject.Org" <justin.y.huang=live.com@...> writes: DEVICE_GET() might not be the right thing here. Are you trying to get a pointer to your
|
By
Bolivar, Marti
·
|
|
user_data with gpio_callback 4 messages
#api
Hi Leo, Glad it did! You are very welcome. Hadrien
Hi Leo, Glad it did! You are very welcome. Hadrien
|
By
Hadrien KOHL
·
|