|
Suppress line breaks when using LOG_INF etc with RTT and Segger
#debugging
Hi Justin, It is an option flag that can be used with log_output module which is a helper module for formatting log messages. Most of backends does not use it. It can be easily added to certain backen
Hi Justin, It is an option flag that can be used with log_output module which is a helper module for formatting log messages. Most of backends does not use it. It can be easily added to certain backen
|
By
Chruściński, Krzysztof
· #2924
·
|
|
Default logging version has changed!
Hi, Almost a year ago logging subsystem v2 was merged as an optional engine. It has the same user API but backend API has changed (see https://docs.zephyrproject.org/latest/reference/logging/index.htm
Hi, Almost a year ago logging subsystem v2 was merged as an optional engine. It has the same user API but backend API has changed (see https://docs.zephyrproject.org/latest/reference/logging/index.htm
|
By
Chruściński, Krzysztof
· #2860
·
|
|
ODP: k_sleep causes nRF5340 to reset
Hi Jason, I would check two things: if call to k_sleep happens before kernel is ready. You can use k_is_pre_kernel to check that. if your board has LF XTAL (as nrf5340dk) or it must run from LFRC. You
Hi Jason, I would check two things: if call to k_sleep happens before kernel is ready. You can use k_is_pre_kernel to check that. if your board has LF XTAL (as nrf5340dk) or it must run from LFRC. You
|
By
Chruściński, Krzysztof
· #2763
·
|
|
ODP: ODP: [Zephyr-users] console_getline vs 0ms char delay in UART comms
Just to be sure. Specifying pins is not enough. hw-flow-control property must be set like here: https://github.com/zephyrproject-rtos/zephyr/blob/0f93d58994cd17753cfdf02fd022c2f226ec0471/samples/bluet
Just to be sure. Specifying pins is not enough. hw-flow-control property must be set like here: https://github.com/zephyrproject-rtos/zephyr/blob/0f93d58994cd17753cfdf02fd022c2f226ec0471/samples/bluet
|
By
Chruściński, Krzysztof
· #2515
·
|
|
ODP: [Zephyr-users] console_getline vs 0ms char delay in UART comms
Hi, do you have flow control enabled? When it is disabled then after each byte receiver is stopped and restarted after reading the byte. Restarting may happen when transmitter is already started, in t
Hi, do you have flow control enabled? When it is disabled then after each byte receiver is stopped and restarted after reading the byte. Restarting may happen when transmitter is already started, in t
|
By
Chruściński, Krzysztof
· #2513
·
|
|
Drift through k_sleep or k_msleep
#api
Hi, One thing to consider is that k_timeout_t structure used for k_sleep and kernel timeouts can hold absolute value. Check out K_TIMEOUT_ABS_MS() for setting timeout in uptime milliseconds. Regards,
Hi, One thing to consider is that k_timeout_t structure used for k_sleep and kernel timeouts can hold absolute value. Check out K_TIMEOUT_ABS_MS() for setting timeout in uptime milliseconds. Regards,
|
By
Chruściński, Krzysztof
· #2440
·
|
|
Clock Control question
Hi, What do you mean when you say “the Clock”? clock control in case of Nordic is using single device and subsys argument determines the type of the clock (high frequency, low frequency, etc.). Howeve
Hi, What do you mean when you say “the Clock”? clock control in case of Nordic is using single device and subsys argument determines the type of the clock (high frequency, low frequency, etc.). Howeve
|
By
Chruściński, Krzysztof
· #2394
·
|
|
Password Protection for Shell
#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
· #2234
·
|
|
Using counter (with RTC) on
#nrf52832
Hi Diogo, As written before “Note that for other drivers enabling instances happens in Device Tree. Counter will be aligned to that at some point.”. We are going towards instances being enabled in DT
Hi Diogo, As written before “Note that for other drivers enabling instances happens in Device Tree. Counter will be aligned to that at some point.”. We are going towards instances being enabled in DT
|
By
Chruściński, Krzysztof
· #2159
·
|
|
Using counter (with RTC) on
#nrf52832
Hi Diogo, CMake is complaining because even though COUNTER driver is enabled there is no COUNTER instance enabled. In the example there is a Kconfig (samples/drivers/counter/alarm/Kconfig) which enabl
Hi Diogo, CMake is complaining because even though COUNTER driver is enabled there is no COUNTER instance enabled. In the example there is a Kconfig (samples/drivers/counter/alarm/Kconfig) which enabl
|
By
Chruściński, Krzysztof
· #2158
·
|
|
NRF52 and timing - actual state and what functions to use?
#nrf52-pca10040
Hi Martin, Nrf52832 has 3 RTC's. RTC0 is used for Bluetooth, RTC1 for system clock and RTC2 is usually available for application. You can use RTC2 with counter driver API (see counter.h). Then you can
Hi Martin, Nrf52832 has 3 RTC's. RTC0 is used for Bluetooth, RTC1 for system clock and RTC2 is usually available for application. You can use RTC2 with counter driver API (see counter.h). Then you can
|
By
Chruściński, Krzysztof
· #1841
·
|