From 2df656a2aa07a92d868a83a306f86d23ce82578c Mon Sep 17 00:00:00 2001 From: Marcin Szymczyk Date: Fri, 25 Jul 2025 16:48:34 +0200 Subject: [PATCH 1/4] dt-rust.yaml: add nRF54L flash controller RRAM controller is used on the nRF54L series. Signed-off-by: Marcin Szymczyk --- dt-rust.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/dt-rust.yaml b/dt-rust.yaml index 01c747a..d083c3a 100644 --- a/dt-rust.yaml +++ b/dt-rust.yaml @@ -35,6 +35,7 @@ names: - "nordic,nrf52-flash-controller" - "nordic,nrf51-flash-controller" + - "nordic,rram-controller" - "raspberrypi,pico-flash-controller" - "zephyr,sim-flash" - "st,stm32-flash-controller" From 1e3c9d3044220a7f541aa559ca0f81ebd52fe6ca Mon Sep 17 00:00:00 2001 From: Marcin Szymczyk Date: Fri, 22 Aug 2025 13:10:03 +0200 Subject: [PATCH 2/4] samples: async-philosopers: add missing space Space was missing before board name. Signed-off-by: Marcin Szymczyk --- samples/async-philosophers/src/lib.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/samples/async-philosophers/src/lib.rs b/samples/async-philosophers/src/lib.rs index 0cf4b3b..a8cf1f1 100644 --- a/samples/async-philosophers/src/lib.rs +++ b/samples/async-philosophers/src/lib.rs @@ -26,7 +26,10 @@ const NUM_PHIL: usize = 6; #[no_mangle] extern "C" fn rust_main() { - printkln!("Async dining philosophers{}", zephyr::kconfig::CONFIG_BOARD); + printkln!( + "Async dining philosophers {}", + zephyr::kconfig::CONFIG_BOARD + ); printkln!("Time tick: {}", zephyr::time::SYS_FREQUENCY); let executor = EXECUTOR.init(Executor::new()); From f29fe19cf5245f2fba0707b0d5089d017dfdbd4f Mon Sep 17 00:00:00 2001 From: Marcin Szymczyk Date: Fri, 22 Aug 2025 13:13:47 +0200 Subject: [PATCH 3/4] samples: add support for nrf54l15dk/nrf54l15/cpuapp Tested manually, all tests are passing. Signed-off-by: Marcin Szymczyk --- samples/async-philosophers/sample.yaml | 1 + samples/bench/sample.yaml | 1 + samples/blinky/sample.yaml | 1 + samples/embassy/sample.yaml | 1 + samples/hello_world/sample.yaml | 1 + samples/philosophers/sample.yaml | 1 + 6 files changed, 6 insertions(+) diff --git a/samples/async-philosophers/sample.yaml b/samples/async-philosophers/sample.yaml index 1b96018..d72fcdc 100644 --- a/samples/async-philosophers/sample.yaml +++ b/samples/async-philosophers/sample.yaml @@ -15,6 +15,7 @@ common: - qemu_riscv32 - qemu_riscv64 - nrf52840dk/nrf52840 + - nrf54l15dk/nrf54l15/cpuapp tests: sample.rust.work-philosopher: tags: introduction diff --git a/samples/bench/sample.yaml b/samples/bench/sample.yaml index 0d8e5c1..87832aa 100644 --- a/samples/bench/sample.yaml +++ b/samples/bench/sample.yaml @@ -16,6 +16,7 @@ common: - qemu_riscv32 - qemu_riscv64 - nrf52840dk/nrf52840 + - nrf54l15dk/nrf54l15/cpuapp tests: sample.rust/bench.plain: tags: benchmark diff --git a/samples/blinky/sample.yaml b/samples/blinky/sample.yaml index 169fa5e..7e1ea70 100644 --- a/samples/blinky/sample.yaml +++ b/samples/blinky/sample.yaml @@ -9,6 +9,7 @@ common: - qemu_riscv32 - qemu_riscv64 - nrf52840dk/nrf52840 + - nrf54l15dk/nrf54l15/cpuapp tests: sample.rust.basic.blinky: tags: diff --git a/samples/embassy/sample.yaml b/samples/embassy/sample.yaml index c4a24cf..b4f76c9 100644 --- a/samples/embassy/sample.yaml +++ b/samples/embassy/sample.yaml @@ -15,6 +15,7 @@ common: - qemu_riscv32 - qemu_riscv64 - nrf52840dk/nrf52840 + - nrf54l15dk/nrf54l15/cpuapp tests: sample.rust.embassyhello: tags: introduction diff --git a/samples/hello_world/sample.yaml b/samples/hello_world/sample.yaml index 48d2a38..990ab13 100644 --- a/samples/hello_world/sample.yaml +++ b/samples/hello_world/sample.yaml @@ -15,6 +15,7 @@ common: - qemu_riscv32 - qemu_riscv64 - nrf52840dk/nrf52840 + - nrf54l15dk/nrf54l15/cpuapp tests: sample.rust.helloworld: tags: introduction diff --git a/samples/philosophers/sample.yaml b/samples/philosophers/sample.yaml index 8738850..75feb3a 100644 --- a/samples/philosophers/sample.yaml +++ b/samples/philosophers/sample.yaml @@ -17,6 +17,7 @@ common: - qemu_riscv32 - qemu_riscv64 - nrf52840dk/nrf52840 + - nrf54l15dk/nrf54l15/cpuapp tests: sample.rust.philosopher.semaphore: tags: introduction From 43eb608bb10d9f3be0926e165142fcf2e33e7e92 Mon Sep 17 00:00:00 2001 From: Marcin Szymczyk Date: Fri, 22 Aug 2025 13:15:35 +0200 Subject: [PATCH 4/4] gitignore: skip `build` dirs Ignore the build directory. Signed-off-by: Marcin Szymczyk --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 85873b5..1674601 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ # Normal west builds will place the Rust target directory under the build directory. However, # sometimes IDEs and such will litter these target directories as well. +build*/ target/ # None of this code is an application, so don't capture any of the dependencies in the lock file.