Merge pull request #3081 from 1-rafael-1/typo-in-rp-examples

typo: was missing "bin"
This commit is contained in:
Ulf Lilleengen 2024-06-15 08:20:45 +00:00 committed by GitHub
commit c818125c22
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 8 additions and 8 deletions

View File

@ -46,8 +46,8 @@ async fn main(spawner: Spawner) {
// To make flashing faster for development, you may want to flash the firmwares independently
// at hardcoded addresses, instead of baking them into the program with `include_bytes!`:
// probe-rs download 43439A0.bin ---binary-format --chip RP2040 --base-address 0x10100000
// probe-rs download 43439A0_clm.bin ---binary-format --chip RP2040 --base-address 0x10140000
// probe-rs download 43439A0.bin ---binary-format bin --chip RP2040 --base-address 0x10100000
// probe-rs download 43439A0_clm.bin ---binary-format bin --chip RP2040 --base-address 0x10140000
//let fw = unsafe { core::slice::from_raw_parts(0x10100000 as *const u8, 230321) };
//let clm = unsafe { core::slice::from_raw_parts(0x10140000 as *const u8, 4752) };

View File

@ -33,8 +33,8 @@ async fn main(spawner: Spawner) {
// To make flashing faster for development, you may want to flash the firmwares independently
// at hardcoded addresses, instead of baking them into the program with `include_bytes!`:
// probe-rs download 43439A0.bin ---binary-format --chip RP2040 --base-address 0x10100000
// probe-rs download 43439A0_clm.bin ---binary-format --chip RP2040 --base-address 0x10140000
// probe-rs download 43439A0.bin ---binary-format bin --chip RP2040 --base-address 0x10100000
// probe-rs download 43439A0_clm.bin ---binary-format bin --chip RP2040 --base-address 0x10140000
//let fw = unsafe { core::slice::from_raw_parts(0x10100000 as *const u8, 230321) };
//let clm = unsafe { core::slice::from_raw_parts(0x10140000 as *const u8, 4752) };

View File

@ -43,8 +43,8 @@ async fn main(spawner: Spawner) {
// To make flashing faster for development, you may want to flash the firmwares independently
// at hardcoded addresses, instead of baking them into the program with `include_bytes!`:
// probe-rs download 43439A0.bin ---binary-format --chip RP2040 --base-address 0x10100000
// probe-rs download 43439A0_clm.bin ---binary-format --chip RP2040 --base-address 0x10140000
// probe-rs download 43439A0.bin ---binary-format bin --chip RP2040 --base-address 0x10100000
// probe-rs download 43439A0_clm.bin ---binary-format bin --chip RP2040 --base-address 0x10140000
//let fw = unsafe { core::slice::from_raw_parts(0x10100000 as *const u8, 230321) };
//let clm = unsafe { core::slice::from_raw_parts(0x10140000 as *const u8, 4752) };

View File

@ -49,8 +49,8 @@ async fn main(spawner: Spawner) {
// To make flashing faster for development, you may want to flash the firmwares independently
// at hardcoded addresses, instead of baking them into the program with `include_bytes!`:
// probe-rs download 43439A0.bin ---binary-format --chip RP2040 --base-address 0x10100000
// probe-rs download 43439A0_clm.bin ---binary-format --chip RP2040 --base-address 0x10140000
// probe-rs download 43439A0.bin ---binary-format bin --chip RP2040 --base-address 0x10100000
// probe-rs download 43439A0_clm.bin ---binary-format bin --chip RP2040 --base-address 0x10140000
//let fw = unsafe { core::slice::from_raw_parts(0x10100000 as *const u8, 230321) };
//let clm = unsafe { core::slice::from_raw_parts(0x10140000 as *const u8, 4752) };