diff options
| author | Dario Nieuwenhuis <[email protected]> | 2024-06-13 21:32:19 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-06-13 21:32:19 +0000 |
| commit | 74739997bd70d3c23b5c58d25aa5c9ba4db55f35 (patch) | |
| tree | cca616e32805da49e4a0fe1daac38bce8939d384 /examples | |
| parent | e6a1fde3acb1313e4464d68b433e57ad3743e0ac (diff) | |
| parent | 597b5d63379e42bad42f626b6bd409c55936a438 (diff) | |
Merge pull request #3073 from 1-rafael-1/uploading-cyw-fw-new-format
probe-rs download 43439A0.bin --format bin deprecated
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/rp/src/bin/wifi_ap_tcp_server.rs | 4 | ||||
| -rw-r--r-- | examples/rp/src/bin/wifi_blinky.rs | 4 | ||||
| -rw-r--r-- | examples/rp/src/bin/wifi_scan.rs | 4 | ||||
| -rw-r--r-- | examples/rp/src/bin/wifi_tcp_server.rs | 4 |
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 b60852359..dd0ca61a4 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 --format bin --chip RP2040 --base-address 0x10100000 | 49 | // probe-rs download 43439A0.bin ---binary-format --chip RP2040 --base-address 0x10100000 |
| 50 | // probe-rs download 43439A0_clm.bin --format bin --chip RP2040 --base-address 0x10140000 | 50 | // probe-rs download 43439A0_clm.bin ---binary-format --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 18eefe41f..7af6c8c5f 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 --format bin --chip RP2040 --base-address 0x10100000 | 36 | // probe-rs download 43439A0.bin ---binary-format --chip RP2040 --base-address 0x10100000 |
| 37 | // probe-rs download 43439A0_clm.bin --format bin --chip RP2040 --base-address 0x10140000 | 37 | // probe-rs download 43439A0_clm.bin ---binary-format --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 e0f85a6b0..41ad7492f 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 --format bin --chip RP2040 --base-address 0x10100000 | 46 | // probe-rs download 43439A0.bin ---binary-format --chip RP2040 --base-address 0x10100000 |
| 47 | // probe-rs download 43439A0_clm.bin --format bin --chip RP2040 --base-address 0x10140000 | 47 | // probe-rs download 43439A0_clm.bin ---binary-format --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 f1afc4a00..272978efc 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 --format bin --chip RP2040 --base-address 0x10100000 | 52 | // probe-rs download 43439A0.bin ---binary-format --chip RP2040 --base-address 0x10100000 |
| 53 | // probe-rs download 43439A0_clm.bin --format bin --chip RP2040 --base-address 0x10140000 | 53 | // probe-rs download 43439A0_clm.bin ---binary-format --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 | ||
