diff options
| author | rafael <rafael> | 2024-06-13 22:47:24 +0200 |
|---|---|---|
| committer | rafael <rafael> | 2024-06-13 22:47:24 +0200 |
| commit | 597b5d63379e42bad42f626b6bd409c55936a438 (patch) | |
| tree | cca616e32805da49e4a0fe1daac38bce8939d384 /tests/rp/src | |
| parent | e6a1fde3acb1313e4464d68b433e57ad3743e0ac (diff) | |
probe-rs download 43439A0.bin --format bin --chip RP2040 --base-address 0x10100000 yields:
Error: --format has been renamed to --binary-format. Please use --binary-format bin instead of --format bin
Diffstat (limited to 'tests/rp/src')
| -rw-r--r-- | tests/rp/src/bin/cyw43-perf.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rp/src/bin/cyw43-perf.rs b/tests/rp/src/bin/cyw43-perf.rs index b46ae670a..4b0c7f7b9 100644 --- a/tests/rp/src/bin/cyw43-perf.rs +++ b/tests/rp/src/bin/cyw43-perf.rs | |||
| @@ -45,8 +45,8 @@ async fn main(spawner: Spawner) { | |||
| 45 | } | 45 | } |
| 46 | 46 | ||
| 47 | // cyw43 firmware needs to be flashed manually: | 47 | // cyw43 firmware needs to be flashed manually: |
| 48 | // probe-rs download 43439A0.bin --format bin --chip RP2040 --base-address 0x101b0000 | 48 | // probe-rs download 43439A0.bin ---binary-format --chip RP2040 --base-address 0x101b0000 |
| 49 | // probe-rs download 43439A0_clm.bin --format bin --chip RP2040 --base-address 0x101f8000 | 49 | // probe-rs download 43439A0_clm.bin ---binary-format --chip RP2040 --base-address 0x101f8000 |
| 50 | let fw = unsafe { core::slice::from_raw_parts(0x101b0000 as *const u8, 230321) }; | 50 | let fw = unsafe { core::slice::from_raw_parts(0x101b0000 as *const u8, 230321) }; |
| 51 | let clm = unsafe { core::slice::from_raw_parts(0x101f8000 as *const u8, 4752) }; | 51 | let clm = unsafe { core::slice::from_raw_parts(0x101f8000 as *const u8, 4752) }; |
| 52 | 52 | ||
