Update firmware size in rp wifi examples
This commit is contained in:
parent
9228a6334b
commit
a931dfd9ad
@ -52,7 +52,7 @@ async fn main(spawner: Spawner) {
|
|||||||
// at hardcoded addresses, instead of baking them into the program with `include_bytes!`:
|
// at hardcoded addresses, instead of baking them into the program with `include_bytes!`:
|
||||||
// probe-rs download 43439A0.bin --format bin --chip RP2040 --base-address 0x10100000
|
// probe-rs download 43439A0.bin --format bin --chip RP2040 --base-address 0x10100000
|
||||||
// probe-rs download 43439A0_clm.bin --format bin --chip RP2040 --base-address 0x10140000
|
// probe-rs download 43439A0_clm.bin --format bin --chip RP2040 --base-address 0x10140000
|
||||||
//let fw = unsafe { core::slice::from_raw_parts(0x10100000 as *const u8, 224190) };
|
//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) };
|
//let clm = unsafe { core::slice::from_raw_parts(0x10140000 as *const u8, 4752) };
|
||||||
|
|
||||||
let pwr = Output::new(p.PIN_23, Level::Low);
|
let pwr = Output::new(p.PIN_23, Level::Low);
|
||||||
|
@ -38,7 +38,7 @@ async fn main(spawner: Spawner) {
|
|||||||
// at hardcoded addresses, instead of baking them into the program with `include_bytes!`:
|
// at hardcoded addresses, instead of baking them into the program with `include_bytes!`:
|
||||||
// probe-rs download 43439A0.bin --format bin --chip RP2040 --base-address 0x10100000
|
// probe-rs download 43439A0.bin --format bin --chip RP2040 --base-address 0x10100000
|
||||||
// probe-rs download 43439A0_clm.bin --format bin --chip RP2040 --base-address 0x10140000
|
// probe-rs download 43439A0_clm.bin --format bin --chip RP2040 --base-address 0x10140000
|
||||||
//let fw = unsafe { core::slice::from_raw_parts(0x10100000 as *const u8, 224190) };
|
//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) };
|
//let clm = unsafe { core::slice::from_raw_parts(0x10140000 as *const u8, 4752) };
|
||||||
|
|
||||||
let pwr = Output::new(p.PIN_23, Level::Low);
|
let pwr = Output::new(p.PIN_23, Level::Low);
|
||||||
|
@ -49,7 +49,7 @@ async fn main(spawner: Spawner) {
|
|||||||
// at hardcoded addresses, instead of baking them into the program with `include_bytes!`:
|
// at hardcoded addresses, instead of baking them into the program with `include_bytes!`:
|
||||||
// probe-rs download 43439A0.bin --format bin --chip RP2040 --base-address 0x10100000
|
// probe-rs download 43439A0.bin --format bin --chip RP2040 --base-address 0x10100000
|
||||||
// probe-rs download 43439A0_clm.bin --format bin --chip RP2040 --base-address 0x10140000
|
// probe-rs download 43439A0_clm.bin --format bin --chip RP2040 --base-address 0x10140000
|
||||||
//let fw = unsafe { core::slice::from_raw_parts(0x10100000 as *const u8, 224190) };
|
//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) };
|
//let clm = unsafe { core::slice::from_raw_parts(0x10140000 as *const u8, 4752) };
|
||||||
|
|
||||||
let pwr = Output::new(p.PIN_23, Level::Low);
|
let pwr = Output::new(p.PIN_23, Level::Low);
|
||||||
|
@ -55,7 +55,7 @@ async fn main(spawner: Spawner) {
|
|||||||
// at hardcoded addresses, instead of baking them into the program with `include_bytes!`:
|
// at hardcoded addresses, instead of baking them into the program with `include_bytes!`:
|
||||||
// probe-rs download 43439A0.bin --format bin --chip RP2040 --base-address 0x10100000
|
// probe-rs download 43439A0.bin --format bin --chip RP2040 --base-address 0x10100000
|
||||||
// probe-rs download 43439A0_clm.bin --format bin --chip RP2040 --base-address 0x10140000
|
// probe-rs download 43439A0_clm.bin --format bin --chip RP2040 --base-address 0x10140000
|
||||||
//let fw = unsafe { core::slice::from_raw_parts(0x10100000 as *const u8, 224190) };
|
//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) };
|
//let clm = unsafe { core::slice::from_raw_parts(0x10140000 as *const u8, 4752) };
|
||||||
|
|
||||||
let pwr = Output::new(p.PIN_23, Level::Low);
|
let pwr = Output::new(p.PIN_23, Level::Low);
|
||||||
|
Loading…
Reference in New Issue
Block a user