aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Lilleengen <[email protected]>2024-01-25 21:47:49 +0100
committerUlf Lilleengen <[email protected]>2024-01-25 21:47:49 +0100
commitf117213b6ee80c224e781d7bf4e750df49c345a6 (patch)
treefb97f656f47e2a96c30aeef68c84726a6ad5f97e
parent309dda057d05cd0c197ffe2befa271e9cad314b7 (diff)
fix: use nrf51-dk chip variant
-rwxr-xr-xci.sh2
-rw-r--r--examples/nrf51/.cargo/config.toml4
-rw-r--r--tests/nrf51422/.cargo/config.toml (renamed from tests/nrf51822/.cargo/config.toml)2
-rw-r--r--tests/nrf51422/Cargo.toml (renamed from tests/nrf51822/Cargo.toml)2
-rw-r--r--tests/nrf51422/build.rs (renamed from tests/nrf51822/build.rs)0
-rw-r--r--tests/nrf51422/memory.x (renamed from tests/nrf51822/memory.x)0
-rw-r--r--tests/nrf51422/src/bin/gpio.rs (renamed from tests/nrf51822/src/bin/gpio.rs)0
-rw-r--r--tests/nrf51422/src/bin/timer.rs (renamed from tests/nrf51822/src/bin/timer.rs)0
8 files changed, 5 insertions, 5 deletions
diff --git a/ci.sh b/ci.sh
index d29a686af..6a5e6e3f5 100755
--- a/ci.sh
+++ b/ci.sh
@@ -216,7 +216,7 @@ cargo batch \
216 --- build --release --manifest-path tests/stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32wl55jc --out-dir out/tests/stm32wl55jc \ 216 --- build --release --manifest-path tests/stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32wl55jc --out-dir out/tests/stm32wl55jc \
217 --- build --release --manifest-path tests/rp/Cargo.toml --target thumbv6m-none-eabi --out-dir out/tests/rpi-pico \ 217 --- build --release --manifest-path tests/rp/Cargo.toml --target thumbv6m-none-eabi --out-dir out/tests/rpi-pico \
218 --- build --release --manifest-path tests/nrf52840/Cargo.toml --target thumbv7em-none-eabi --out-dir out/tests/nrf52840-dk \ 218 --- build --release --manifest-path tests/nrf52840/Cargo.toml --target thumbv7em-none-eabi --out-dir out/tests/nrf52840-dk \
219 --- build --release --manifest-path tests/nrf51822/Cargo.toml --target thumbv6m-none-eabi --out-dir out/tests/nrf51-dk \ 219 --- build --release --manifest-path tests/nrf51422/Cargo.toml --target thumbv6m-none-eabi --out-dir out/tests/nrf51-dk \
220 --- build --release --manifest-path tests/riscv32/Cargo.toml --target riscv32imac-unknown-none-elf \ 220 --- build --release --manifest-path tests/riscv32/Cargo.toml --target riscv32imac-unknown-none-elf \
221 $BUILD_EXTRA 221 $BUILD_EXTRA
222 222
diff --git a/examples/nrf51/.cargo/config.toml b/examples/nrf51/.cargo/config.toml
index 29d35a9b4..1671f5db1 100644
--- a/examples/nrf51/.cargo/config.toml
+++ b/examples/nrf51/.cargo/config.toml
@@ -1,6 +1,6 @@
1[target.'cfg(all(target_arch = "arm", target_os = "none"))'] 1[target.'cfg(all(target_arch = "arm", target_os = "none"))']
2# replace nRF51822_xxAA with your chip as listed in `probe-rs chip list` 2# replace nRF51422_xxAA with your chip as listed in `probe-rs chip list`
3runner = "probe-rs run --chip nRF51822_xxAA" 3runner = "probe-rs run --chip nRF51422_xxAA"
4 4
5[build] 5[build]
6target = "thumbv6m-none-eabi" 6target = "thumbv6m-none-eabi"
diff --git a/tests/nrf51822/.cargo/config.toml b/tests/nrf51422/.cargo/config.toml
index 3d0c71092..634805633 100644
--- a/tests/nrf51822/.cargo/config.toml
+++ b/tests/nrf51422/.cargo/config.toml
@@ -1,5 +1,5 @@
1[target.'cfg(all(target_arch = "arm", target_os = "none"))'] 1[target.'cfg(all(target_arch = "arm", target_os = "none"))']
2#runner = "teleprobe local run --chip nRF51822_xxAA --elf" 2#runner = "teleprobe local run --chip nRF51422_xxAA --elf"
3runner = "teleprobe client run" 3runner = "teleprobe client run"
4 4
5[build] 5[build]
diff --git a/tests/nrf51822/Cargo.toml b/tests/nrf51422/Cargo.toml
index 468fa03fa..d95f122b0 100644
--- a/tests/nrf51822/Cargo.toml
+++ b/tests/nrf51422/Cargo.toml
@@ -1,6 +1,6 @@
1[package] 1[package]
2edition = "2021" 2edition = "2021"
3name = "embassy-nrf51822-tests" 3name = "embassy-nrf51-tests"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6 6
diff --git a/tests/nrf51822/build.rs b/tests/nrf51422/build.rs
index 71c82a70f..71c82a70f 100644
--- a/tests/nrf51822/build.rs
+++ b/tests/nrf51422/build.rs
diff --git a/tests/nrf51822/memory.x b/tests/nrf51422/memory.x
index c140005ce..c140005ce 100644
--- a/tests/nrf51822/memory.x
+++ b/tests/nrf51422/memory.x
diff --git a/tests/nrf51822/src/bin/gpio.rs b/tests/nrf51422/src/bin/gpio.rs
index 6c6bc0839..6c6bc0839 100644
--- a/tests/nrf51822/src/bin/gpio.rs
+++ b/tests/nrf51422/src/bin/gpio.rs
diff --git a/tests/nrf51822/src/bin/timer.rs b/tests/nrf51422/src/bin/timer.rs
index 93f4c2b1c..93f4c2b1c 100644
--- a/tests/nrf51822/src/bin/timer.rs
+++ b/tests/nrf51422/src/bin/timer.rs