Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
1 change: 1 addition & 0 deletions dt-rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions samples/async-philosophers/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ common:
- qemu_riscv32
- qemu_riscv64
- nrf52840dk/nrf52840
- nrf54l15dk/nrf54l15/cpuapp
tests:
sample.rust.work-philosopher:
tags: introduction
Expand Down
5 changes: 4 additions & 1 deletion samples/async-philosophers/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down
1 change: 1 addition & 0 deletions samples/bench/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ common:
- qemu_riscv32
- qemu_riscv64
- nrf52840dk/nrf52840
- nrf54l15dk/nrf54l15/cpuapp
tests:
sample.rust/bench.plain:
tags: benchmark
Expand Down
1 change: 1 addition & 0 deletions samples/blinky/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ common:
- qemu_riscv32
- qemu_riscv64
- nrf52840dk/nrf52840
- nrf54l15dk/nrf54l15/cpuapp
tests:
sample.rust.basic.blinky:
tags:
Expand Down
1 change: 1 addition & 0 deletions samples/embassy/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ common:
- qemu_riscv32
- qemu_riscv64
- nrf52840dk/nrf52840
- nrf54l15dk/nrf54l15/cpuapp
tests:
sample.rust.embassyhello:
tags: introduction
1 change: 1 addition & 0 deletions samples/hello_world/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ common:
- qemu_riscv32
- qemu_riscv64
- nrf52840dk/nrf52840
- nrf54l15dk/nrf54l15/cpuapp
tests:
sample.rust.helloworld:
tags: introduction
1 change: 1 addition & 0 deletions samples/philosophers/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ common:
- qemu_riscv32
- qemu_riscv64
- nrf52840dk/nrf52840
- nrf54l15dk/nrf54l15/cpuapp
tests:
sample.rust.philosopher.semaphore:
tags: introduction
Expand Down