aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Lilleengen <[email protected]>2024-06-15 08:20:45 +0000
committerGitHub <[email protected]>2024-06-15 08:20:45 +0000
commitc818125c22034dd15b8525b3d41219a566542cee (patch)
tree89e0e679236c21af441786e0fc2fff29bba701bf
parent6bbb870bfade23e814169eb48e42e8bc55d9ff8f (diff)
parenta8581e242b165cdfce8518d2ba87a1cf572e80e6 (diff)
Merge pull request #3081 from 1-rafael-1/typo-in-rp-examples
typo: was missing "bin"
-rw-r--r--examples/rp/src/bin/wifi_ap_tcp_server.rs4
-rw-r--r--examples/rp/src/bin/wifi_blinky.rs4
-rw-r--r--examples/rp/src/bin/wifi_scan.rs4
-rw-r--r--examples/rp/src/bin/wifi_tcp_server.rs4
4 files changed, 8 insertions, 8 deletions
diff --git a/examples/rp/src/bin/wifi_ap_tcp_server.rs b/examples/rp/src/bin/wifi_ap_tcp_server.rs
index dd0ca61a4..8bf60ca48 100644
--- a/examples/rp/src/bin/wifi_ap_tcp_server.rs
+++ b/examples/rp/src/bin/wifi_ap_tcp_server.rs
@@ -46,8 +46,8 @@ async fn main(spawner: Spawner) {
46 46
47 // To make flashing faster for development, you may want to flash the firmwares independently 47 // To make flashing faster for development, you may want to flash the firmwares independently
48 // at hardcoded addresses, instead of baking them into the program with `include_bytes!`: 48 // at hardcoded addresses, instead of baking them into the program with `include_bytes!`:
49 // probe-rs download 43439A0.bin ---binary-format --chip RP2040 --base-address 0x10100000 49 // probe-rs download 43439A0.bin ---binary-format bin --chip RP2040 --base-address 0x10100000
50 // probe-rs download 43439A0_clm.bin ---binary-format --chip RP2040 --base-address 0x10140000 50 // probe-rs download 43439A0_clm.bin ---binary-format bin --chip RP2040 --base-address 0x10140000
51 //let fw = unsafe { core::slice::from_raw_parts(0x10100000 as *const u8, 230321) }; 51 //let fw = unsafe { core::slice::from_raw_parts(0x10100000 as *const u8, 230321) };
52 //let clm = unsafe { core::slice::from_raw_parts(0x10140000 as *const u8, 4752) }; 52 //let clm = unsafe { core::slice::from_raw_parts(0x10140000 as *const u8, 4752) };
53 53
diff --git a/examples/rp/src/bin/wifi_blinky.rs b/examples/rp/src/bin/wifi_blinky.rs
index 7af6c8c5f..7c0f9eef8 100644
--- a/examples/rp/src/bin/wifi_blinky.rs
+++ b/examples/rp/src/bin/wifi_blinky.rs
@@ -33,8 +33,8 @@ async fn main(spawner: Spawner) {
33 33
34 // To make flashing faster for development, you may want to flash the firmwares independently 34 // To make flashing faster for development, you may want to flash the firmwares independently
35 // at hardcoded addresses, instead of baking them into the program with `include_bytes!`: 35 // at hardcoded addresses, instead of baking them into the program with `include_bytes!`:
36 // probe-rs download 43439A0.bin ---binary-format --chip RP2040 --base-address 0x10100000 36 // probe-rs download 43439A0.bin ---binary-format bin --chip RP2040 --base-address 0x10100000
37 // probe-rs download 43439A0_clm.bin ---binary-format --chip RP2040 --base-address 0x10140000 37 // probe-rs download 43439A0_clm.bin ---binary-format bin --chip RP2040 --base-address 0x10140000
38 //let fw = unsafe { core::slice::from_raw_parts(0x10100000 as *const u8, 230321) }; 38 //let fw = unsafe { core::slice::from_raw_parts(0x10100000 as *const u8, 230321) };
39 //let clm = unsafe { core::slice::from_raw_parts(0x10140000 as *const u8, 4752) }; 39 //let clm = unsafe { core::slice::from_raw_parts(0x10140000 as *const u8, 4752) };
40 40
diff --git a/examples/rp/src/bin/wifi_scan.rs b/examples/rp/src/bin/wifi_scan.rs
index 41ad7492f..1e535e266 100644
--- a/examples/rp/src/bin/wifi_scan.rs
+++ b/examples/rp/src/bin/wifi_scan.rs
@@ -43,8 +43,8 @@ async fn main(spawner: Spawner) {
43 43
44 // To make flashing faster for development, you may want to flash the firmwares independently 44 // To make flashing faster for development, you may want to flash the firmwares independently
45 // at hardcoded addresses, instead of baking them into the program with `include_bytes!`: 45 // at hardcoded addresses, instead of baking them into the program with `include_bytes!`:
46 // probe-rs download 43439A0.bin ---binary-format --chip RP2040 --base-address 0x10100000 46 // probe-rs download 43439A0.bin ---binary-format bin --chip RP2040 --base-address 0x10100000
47 // probe-rs download 43439A0_clm.bin ---binary-format --chip RP2040 --base-address 0x10140000 47 // probe-rs download 43439A0_clm.bin ---binary-format bin --chip RP2040 --base-address 0x10140000
48 //let fw = unsafe { core::slice::from_raw_parts(0x10100000 as *const u8, 230321) }; 48 //let fw = unsafe { core::slice::from_raw_parts(0x10100000 as *const u8, 230321) };
49 //let clm = unsafe { core::slice::from_raw_parts(0x10140000 as *const u8, 4752) }; 49 //let clm = unsafe { core::slice::from_raw_parts(0x10140000 as *const u8, 4752) };
50 50
diff --git a/examples/rp/src/bin/wifi_tcp_server.rs b/examples/rp/src/bin/wifi_tcp_server.rs
index 272978efc..4246115f9 100644
--- a/examples/rp/src/bin/wifi_tcp_server.rs
+++ b/examples/rp/src/bin/wifi_tcp_server.rs
@@ -49,8 +49,8 @@ async fn main(spawner: Spawner) {
49 49
50 // To make flashing faster for development, you may want to flash the firmwares independently 50 // To make flashing faster for development, you may want to flash the firmwares independently
51 // at hardcoded addresses, instead of baking them into the program with `include_bytes!`: 51 // at hardcoded addresses, instead of baking them into the program with `include_bytes!`:
52 // probe-rs download 43439A0.bin ---binary-format --chip RP2040 --base-address 0x10100000 52 // probe-rs download 43439A0.bin ---binary-format bin --chip RP2040 --base-address 0x10100000
53 // probe-rs download 43439A0_clm.bin ---binary-format --chip RP2040 --base-address 0x10140000 53 // probe-rs download 43439A0_clm.bin ---binary-format bin --chip RP2040 --base-address 0x10140000
54 //let fw = unsafe { core::slice::from_raw_parts(0x10100000 as *const u8, 230321) }; 54 //let fw = unsafe { core::slice::from_raw_parts(0x10100000 as *const u8, 230321) };
55 //let clm = unsafe { core::slice::from_raw_parts(0x10140000 as *const u8, 4752) }; 55 //let clm = unsafe { core::slice::from_raw_parts(0x10140000 as *const u8, 4752) };
56 56