aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorrafael <rafael>2024-06-15 14:39:41 +0200
committerrafael <rafael>2024-06-15 14:39:41 +0200
commit8b903e88736a2cb8906d216a4e7a291b670968b3 (patch)
treef4101d4604fa440ac032ab5a27533ede02e8e5ad /examples
parentc818125c22034dd15b8525b3d41219a566542cee (diff)
--binary-format bin in rp examples
Diffstat (limited to 'examples')
-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 8bf60ca48..69ce4e8be 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 bin --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 bin --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 7c0f9eef8..471349639 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 bin --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 bin --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 1e535e266..5f4c848a2 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 bin --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 bin --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 4246115f9..bbb531807 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 bin --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 bin --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