!dASuPAbUCerhCYFqJs:matrix.org

nRF Rust

255 Members
Discussion medium for the nRF-rs organization on Github27 Servers

Load older messages


SenderMessageTime
9 Aug 2024
@brastak:matrix.orgyuri joined the room.20:39:22
12 Aug 2024
@pinball_wizard:matrix.orgpinball_wizard joined the room.06:14:59
13 Aug 2024
@ahadjeres:matrix.orgahmed hadjeresRedacted or Malformed Event02:36:54
@ahadjeres:matrix.orgahmed hadjeres hey guys I have been bug down for a little while with a embassy-executor: task arena is full. You must increase the arena size,
I tried to follow embassy doc
#[embassy_executor::task(pool_size = 4)] but no lock I have this error with my code and the test code too any advice would be welcome
20:19:37
@dirbaio:matrix.orgdirbaioincrease arena size in Cargo.toml20:20:15
@ahadjeres:matrix.orgahmed hadjeres Via environment variables at build time: set the variable named EMBASSY_EXECUTOR_TASK_ARENA_SIZE. For example EMBASSY_EXECUTOR_TASK_ARENA_SIZE=4321 cargo build. You can also set them in the [env] section of .cargo/config.toml. Any value can be set, unlike with Cargo features. 20:20:33
@dirbaio:matrix.orgdirbaiohttps://github.com/embassy-rs/embassy/blob/main/examples/nrf52840/Cargo.toml#L1020:20:43
@ahadjeres:matrix.orgahmed hadjeres i tried the EMBASSY_EXECUTOR_TASK_ARENA_SIZE but did not work 20:20:49
@dirbaio:matrix.orgdirbaio change task-arena-size-32768 with something higher 20:20:54
@ahadjeres:matrix.orgahmed hadjeresare these pre defined values ? 20:21:17
@ahadjeres:matrix.orgahmed hadjeres Thanks dirbaio for the help but based on the example do you need to change anything to enable the softdevice from the cargo file ?
sd_softdevice_enable err SdmIncorrectInterruptConfiguration'
20:32:21
@dirbaio:matrix.orgdirbaio
In reply to @ahadjeres:matrix.org
are these pre defined values ?
Yes, check Cargo.toml for the list
21:20:00
@dirbaio:matrix.orgdirbaio
In reply to @ahadjeres:matrix.org
Thanks dirbaio for the help but based on the example do you need to change anything to enable the softdevice from the cargo file ?
sd_softdevice_enable err SdmIncorrectInterruptConfiguration'
Check nrf-softdevice's Readme, it explains how to fix that
21:20:27
@ahadjeres:matrix.orgahmed hadjeresI guess it's a priority set too high for the UARTE I am trying to use. 21:21:04
@ahadjeres:matrix.orgahmed hadjeresI am looking at this part --> https://github.com/embassy-rs/embassy/blob/main/examples/nrf52840/src/bin/multiprio.rs21:22:31
@ahadjeres:matrix.orgahmed hadjerestrying to set a lower priority to my embassy_executor 21:23:23
@ahadjeres:matrix.orgahmed hadjeresdo you have an example for UART and softdevice running along by any chance? 21:24:22
14 Aug 2024
@ahadjeres:matrix.orgahmed hadjeres took me a while to find it but got it
interrupt::UARTE0_UART0.set_priority(interrupt::Priority::P3);
00:12:21
@brastak:matrix.orgyuriHi all! I have a question: why timer0::cc::W::cc() exist in nrf51840-pac, but doesn't exist in nrf51-pac? Is there a good reason?16:56:19
@brastak:matrix.orgyuri * Hi all! I have a question: why timer0::cc::W::cc() exists in nrf52840-pac, but doesn't exist in nrf51-pac? Is there a good reason?18:30:34
15 Aug 2024
@ahadjeres:matrix.orgahmed hadjeresRedacted or Malformed Event21:26:34
31 Aug 2024
@dalprahcd:matrix.org@dalprahcd:matrix.org joined the room.07:44:13
@dalprahcd:matrix.org@dalprahcd:matrix.org left the room.07:44:34
2 Sep 2024
@brastak:matrix.orgyuri
In reply to @brastak:matrix.org
Hi all! I have a question: why timer0::cc::W::cc() exists in nrf52840-pac, but doesn't exist in nrf51-pac? Is there a good reason?
Hi, I created a PR adding that. Intension is to reuse nRF52 code in rtic-monotonics for nRF51
20:04:29
5 Sep 2024
@burglins:matrix.orgburglins joined the room.04:31:05
@dom:rodriguez.org.ukDom 'shymega' Rodriguez joined the room.10:50:42
12 Sep 2024
@stuart_cfa:matrix.orgStuart Brown joined the room.03:50:59
25 Sep 2024
@drewbus:matrix.orgdrewbus joined the room.17:48:53
27 Sep 2024
@chrissuozzo:matrix.orgchrissuozzo set a profile picture.17:30:29
@chrissuozzo:matrix.orgchrissuozzo removed their profile picture.17:30:37

Show newer messages


Back to Room ListRoom Version: 4