diff options
| author | Dario Nieuwenhuis <[email protected]> | 2024-08-17 21:56:14 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2024-08-17 22:12:39 +0200 |
| commit | eab3a57263d52eed517ee0fb9ccb307196664ee6 (patch) | |
| tree | c0d9653f01d0f167d04a4e368023cb68665cbdb2 /examples | |
| parent | e30a888823ca96e4f9a2cbf82a0db6a5617228d6 (diff) | |
rp: use the rp-binary-info crate for binary info.
Diffstat (limited to 'examples')
43 files changed, 172 insertions, 172 deletions
diff --git a/examples/rp23/src/bin/adc.rs b/examples/rp23/src/bin/adc.rs index 19872607e..d1f053d39 100644 --- a/examples/rp23/src/bin/adc.rs +++ b/examples/rp23/src/bin/adc.rs | |||
| @@ -21,10 +21,10 @@ pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | |||
| 21 | #[link_section = ".bi_entries"] | 21 | #[link_section = ".bi_entries"] |
| 22 | #[used] | 22 | #[used] |
| 23 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ | 23 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ |
| 24 | embassy_rp::binary_info_rp_cargo_bin_name!(), | 24 | embassy_rp::binary_info::rp_program_name!(c"example"), |
| 25 | embassy_rp::binary_info_rp_cargo_version!(), | 25 | embassy_rp::binary_info::rp_cargo_version!(), |
| 26 | embassy_rp::binary_info_rp_program_description!(c"Blinky"), | 26 | embassy_rp::binary_info::rp_program_description!(c"Blinky"), |
| 27 | embassy_rp::binary_info_rp_program_build_attribute!(), | 27 | embassy_rp::binary_info::rp_program_build_attribute!(), |
| 28 | ]; | 28 | ]; |
| 29 | 29 | ||
| 30 | bind_interrupts!(struct Irqs { | 30 | bind_interrupts!(struct Irqs { |
diff --git a/examples/rp23/src/bin/adc_dma.rs b/examples/rp23/src/bin/adc_dma.rs index d538ddaa2..5046e5530 100644 --- a/examples/rp23/src/bin/adc_dma.rs +++ b/examples/rp23/src/bin/adc_dma.rs | |||
| @@ -21,10 +21,10 @@ pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | |||
| 21 | #[link_section = ".bi_entries"] | 21 | #[link_section = ".bi_entries"] |
| 22 | #[used] | 22 | #[used] |
| 23 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ | 23 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ |
| 24 | embassy_rp::binary_info_rp_cargo_bin_name!(), | 24 | embassy_rp::binary_info::rp_program_name!(c"example"), |
| 25 | embassy_rp::binary_info_rp_cargo_version!(), | 25 | embassy_rp::binary_info::rp_cargo_version!(), |
| 26 | embassy_rp::binary_info_rp_program_description!(c"Blinky"), | 26 | embassy_rp::binary_info::rp_program_description!(c"Blinky"), |
| 27 | embassy_rp::binary_info_rp_program_build_attribute!(), | 27 | embassy_rp::binary_info::rp_program_build_attribute!(), |
| 28 | ]; | 28 | ]; |
| 29 | 29 | ||
| 30 | bind_interrupts!(struct Irqs { | 30 | bind_interrupts!(struct Irqs { |
diff --git a/examples/rp23/src/bin/assign_resources.rs b/examples/rp23/src/bin/assign_resources.rs index 923c13514..2f9783917 100644 --- a/examples/rp23/src/bin/assign_resources.rs +++ b/examples/rp23/src/bin/assign_resources.rs | |||
| @@ -28,10 +28,10 @@ pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | |||
| 28 | #[link_section = ".bi_entries"] | 28 | #[link_section = ".bi_entries"] |
| 29 | #[used] | 29 | #[used] |
| 30 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ | 30 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ |
| 31 | embassy_rp::binary_info_rp_cargo_bin_name!(), | 31 | embassy_rp::binary_info::rp_program_name!(c"example"), |
| 32 | embassy_rp::binary_info_rp_cargo_version!(), | 32 | embassy_rp::binary_info::rp_cargo_version!(), |
| 33 | embassy_rp::binary_info_rp_program_description!(c"Blinky"), | 33 | embassy_rp::binary_info::rp_program_description!(c"Blinky"), |
| 34 | embassy_rp::binary_info_rp_program_build_attribute!(), | 34 | embassy_rp::binary_info::rp_program_build_attribute!(), |
| 35 | ]; | 35 | ]; |
| 36 | 36 | ||
| 37 | #[embassy_executor::main] | 37 | #[embassy_executor::main] |
diff --git a/examples/rp23/src/bin/blinky.rs b/examples/rp23/src/bin/blinky.rs index 02bdf9b3d..9e45679c8 100644 --- a/examples/rp23/src/bin/blinky.rs +++ b/examples/rp23/src/bin/blinky.rs | |||
| @@ -21,10 +21,10 @@ pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | |||
| 21 | #[link_section = ".bi_entries"] | 21 | #[link_section = ".bi_entries"] |
| 22 | #[used] | 22 | #[used] |
| 23 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ | 23 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ |
| 24 | embassy_rp::binary_info_rp_cargo_bin_name!(), | 24 | embassy_rp::binary_info::rp_program_name!(c"example"), |
| 25 | embassy_rp::binary_info_rp_cargo_version!(), | 25 | embassy_rp::binary_info::rp_cargo_version!(), |
| 26 | embassy_rp::binary_info_rp_program_description!(c"Blinky"), | 26 | embassy_rp::binary_info::rp_program_description!(c"Blinky"), |
| 27 | embassy_rp::binary_info_rp_program_build_attribute!(), | 27 | embassy_rp::binary_info::rp_program_build_attribute!(), |
| 28 | ]; | 28 | ]; |
| 29 | 29 | ||
| 30 | #[embassy_executor::main] | 30 | #[embassy_executor::main] |
diff --git a/examples/rp23/src/bin/blinky_two_channels.rs b/examples/rp23/src/bin/blinky_two_channels.rs index 4d7dc89fa..87fc58bbc 100644 --- a/examples/rp23/src/bin/blinky_two_channels.rs +++ b/examples/rp23/src/bin/blinky_two_channels.rs | |||
| @@ -23,10 +23,10 @@ pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | |||
| 23 | #[link_section = ".bi_entries"] | 23 | #[link_section = ".bi_entries"] |
| 24 | #[used] | 24 | #[used] |
| 25 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ | 25 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ |
| 26 | embassy_rp::binary_info_rp_cargo_bin_name!(), | 26 | embassy_rp::binary_info::rp_program_name!(c"example"), |
| 27 | embassy_rp::binary_info_rp_cargo_version!(), | 27 | embassy_rp::binary_info::rp_cargo_version!(), |
| 28 | embassy_rp::binary_info_rp_program_description!(c"Blinky"), | 28 | embassy_rp::binary_info::rp_program_description!(c"Blinky"), |
| 29 | embassy_rp::binary_info_rp_program_build_attribute!(), | 29 | embassy_rp::binary_info::rp_program_build_attribute!(), |
| 30 | ]; | 30 | ]; |
| 31 | 31 | ||
| 32 | enum LedState { | 32 | enum LedState { |
diff --git a/examples/rp23/src/bin/blinky_two_tasks.rs b/examples/rp23/src/bin/blinky_two_tasks.rs index 24b960242..40236c53b 100644 --- a/examples/rp23/src/bin/blinky_two_tasks.rs +++ b/examples/rp23/src/bin/blinky_two_tasks.rs | |||
| @@ -23,10 +23,10 @@ pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | |||
| 23 | #[link_section = ".bi_entries"] | 23 | #[link_section = ".bi_entries"] |
| 24 | #[used] | 24 | #[used] |
| 25 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ | 25 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ |
| 26 | embassy_rp::binary_info_rp_cargo_bin_name!(), | 26 | embassy_rp::binary_info::rp_program_name!(c"example"), |
| 27 | embassy_rp::binary_info_rp_cargo_version!(), | 27 | embassy_rp::binary_info::rp_cargo_version!(), |
| 28 | embassy_rp::binary_info_rp_program_description!(c"Blinky"), | 28 | embassy_rp::binary_info::rp_program_description!(c"Blinky"), |
| 29 | embassy_rp::binary_info_rp_program_build_attribute!(), | 29 | embassy_rp::binary_info::rp_program_build_attribute!(), |
| 30 | ]; | 30 | ]; |
| 31 | 31 | ||
| 32 | type LedType = Mutex<ThreadModeRawMutex, Option<Output<'static>>>; | 32 | type LedType = Mutex<ThreadModeRawMutex, Option<Output<'static>>>; |
diff --git a/examples/rp23/src/bin/button.rs b/examples/rp23/src/bin/button.rs index 0a0559397..fb067a370 100644 --- a/examples/rp23/src/bin/button.rs +++ b/examples/rp23/src/bin/button.rs | |||
| @@ -18,10 +18,10 @@ pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | |||
| 18 | #[link_section = ".bi_entries"] | 18 | #[link_section = ".bi_entries"] |
| 19 | #[used] | 19 | #[used] |
| 20 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ | 20 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ |
| 21 | embassy_rp::binary_info_rp_cargo_bin_name!(), | 21 | embassy_rp::binary_info::rp_program_name!(c"example"), |
| 22 | embassy_rp::binary_info_rp_cargo_version!(), | 22 | embassy_rp::binary_info::rp_cargo_version!(), |
| 23 | embassy_rp::binary_info_rp_program_description!(c"Blinky"), | 23 | embassy_rp::binary_info::rp_program_description!(c"Blinky"), |
| 24 | embassy_rp::binary_info_rp_program_build_attribute!(), | 24 | embassy_rp::binary_info::rp_program_build_attribute!(), |
| 25 | ]; | 25 | ]; |
| 26 | 26 | ||
| 27 | #[embassy_executor::main] | 27 | #[embassy_executor::main] |
diff --git a/examples/rp23/src/bin/debounce.rs b/examples/rp23/src/bin/debounce.rs index e82e71f61..e672521ec 100644 --- a/examples/rp23/src/bin/debounce.rs +++ b/examples/rp23/src/bin/debounce.rs | |||
| @@ -19,10 +19,10 @@ pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | |||
| 19 | #[link_section = ".bi_entries"] | 19 | #[link_section = ".bi_entries"] |
| 20 | #[used] | 20 | #[used] |
| 21 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ | 21 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ |
| 22 | embassy_rp::binary_info_rp_cargo_bin_name!(), | 22 | embassy_rp::binary_info::rp_program_name!(c"example"), |
| 23 | embassy_rp::binary_info_rp_cargo_version!(), | 23 | embassy_rp::binary_info::rp_cargo_version!(), |
| 24 | embassy_rp::binary_info_rp_program_description!(c"Blinky"), | 24 | embassy_rp::binary_info::rp_program_description!(c"Blinky"), |
| 25 | embassy_rp::binary_info_rp_program_build_attribute!(), | 25 | embassy_rp::binary_info::rp_program_build_attribute!(), |
| 26 | ]; | 26 | ]; |
| 27 | 27 | ||
| 28 | pub struct Debouncer<'a> { | 28 | pub struct Debouncer<'a> { |
diff --git a/examples/rp23/src/bin/flash.rs b/examples/rp23/src/bin/flash.rs index 2917dda0b..811561f26 100644 --- a/examples/rp23/src/bin/flash.rs +++ b/examples/rp23/src/bin/flash.rs | |||
| @@ -19,10 +19,10 @@ pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | |||
| 19 | #[link_section = ".bi_entries"] | 19 | #[link_section = ".bi_entries"] |
| 20 | #[used] | 20 | #[used] |
| 21 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ | 21 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ |
| 22 | embassy_rp::binary_info_rp_cargo_bin_name!(), | 22 | embassy_rp::binary_info::rp_program_name!(c"example"), |
| 23 | embassy_rp::binary_info_rp_cargo_version!(), | 23 | embassy_rp::binary_info::rp_cargo_version!(), |
| 24 | embassy_rp::binary_info_rp_program_description!(c"Blinky"), | 24 | embassy_rp::binary_info::rp_program_description!(c"Blinky"), |
| 25 | embassy_rp::binary_info_rp_program_build_attribute!(), | 25 | embassy_rp::binary_info::rp_program_build_attribute!(), |
| 26 | ]; | 26 | ]; |
| 27 | 27 | ||
| 28 | const ADDR_OFFSET: u32 = 0x100000; | 28 | const ADDR_OFFSET: u32 = 0x100000; |
diff --git a/examples/rp23/src/bin/gpio_async.rs b/examples/rp23/src/bin/gpio_async.rs index 1618f7c8b..ff12367bf 100644 --- a/examples/rp23/src/bin/gpio_async.rs +++ b/examples/rp23/src/bin/gpio_async.rs | |||
| @@ -21,10 +21,10 @@ pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | |||
| 21 | #[link_section = ".bi_entries"] | 21 | #[link_section = ".bi_entries"] |
| 22 | #[used] | 22 | #[used] |
| 23 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ | 23 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ |
| 24 | embassy_rp::binary_info_rp_cargo_bin_name!(), | 24 | embassy_rp::binary_info::rp_program_name!(c"example"), |
| 25 | embassy_rp::binary_info_rp_cargo_version!(), | 25 | embassy_rp::binary_info::rp_cargo_version!(), |
| 26 | embassy_rp::binary_info_rp_program_description!(c"Blinky"), | 26 | embassy_rp::binary_info::rp_program_description!(c"Blinky"), |
| 27 | embassy_rp::binary_info_rp_program_build_attribute!(), | 27 | embassy_rp::binary_info::rp_program_build_attribute!(), |
| 28 | ]; | 28 | ]; |
| 29 | 29 | ||
| 30 | /// It requires an external signal to be manually triggered on PIN 16. For | 30 | /// It requires an external signal to be manually triggered on PIN 16. For |
diff --git a/examples/rp23/src/bin/gpout.rs b/examples/rp23/src/bin/gpout.rs index b15963f02..d2ee55197 100644 --- a/examples/rp23/src/bin/gpout.rs +++ b/examples/rp23/src/bin/gpout.rs | |||
| @@ -20,10 +20,10 @@ pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | |||
| 20 | #[link_section = ".bi_entries"] | 20 | #[link_section = ".bi_entries"] |
| 21 | #[used] | 21 | #[used] |
| 22 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ | 22 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ |
| 23 | embassy_rp::binary_info_rp_cargo_bin_name!(), | 23 | embassy_rp::binary_info::rp_program_name!(c"example"), |
| 24 | embassy_rp::binary_info_rp_cargo_version!(), | 24 | embassy_rp::binary_info::rp_cargo_version!(), |
| 25 | embassy_rp::binary_info_rp_program_description!(c"Blinky"), | 25 | embassy_rp::binary_info::rp_program_description!(c"Blinky"), |
| 26 | embassy_rp::binary_info_rp_program_build_attribute!(), | 26 | embassy_rp::binary_info::rp_program_build_attribute!(), |
| 27 | ]; | 27 | ]; |
| 28 | 28 | ||
| 29 | #[embassy_executor::main] | 29 | #[embassy_executor::main] |
diff --git a/examples/rp23/src/bin/i2c_async.rs b/examples/rp23/src/bin/i2c_async.rs index 2528fe1d2..c8d918b56 100644 --- a/examples/rp23/src/bin/i2c_async.rs +++ b/examples/rp23/src/bin/i2c_async.rs | |||
| @@ -24,10 +24,10 @@ pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | |||
| 24 | #[link_section = ".bi_entries"] | 24 | #[link_section = ".bi_entries"] |
| 25 | #[used] | 25 | #[used] |
| 26 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ | 26 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ |
| 27 | embassy_rp::binary_info_rp_cargo_bin_name!(), | 27 | embassy_rp::binary_info::rp_program_name!(c"example"), |
| 28 | embassy_rp::binary_info_rp_cargo_version!(), | 28 | embassy_rp::binary_info::rp_cargo_version!(), |
| 29 | embassy_rp::binary_info_rp_program_description!(c"Blinky"), | 29 | embassy_rp::binary_info::rp_program_description!(c"Blinky"), |
| 30 | embassy_rp::binary_info_rp_program_build_attribute!(), | 30 | embassy_rp::binary_info::rp_program_build_attribute!(), |
| 31 | ]; | 31 | ]; |
| 32 | 32 | ||
| 33 | bind_interrupts!(struct Irqs { | 33 | bind_interrupts!(struct Irqs { |
diff --git a/examples/rp23/src/bin/i2c_async_embassy.rs b/examples/rp23/src/bin/i2c_async_embassy.rs index 461b1d171..cce0abcde 100644 --- a/examples/rp23/src/bin/i2c_async_embassy.rs +++ b/examples/rp23/src/bin/i2c_async_embassy.rs | |||
| @@ -19,10 +19,10 @@ pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | |||
| 19 | #[link_section = ".bi_entries"] | 19 | #[link_section = ".bi_entries"] |
| 20 | #[used] | 20 | #[used] |
| 21 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ | 21 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ |
| 22 | embassy_rp::binary_info_rp_cargo_bin_name!(), | 22 | embassy_rp::binary_info::rp_program_name!(c"example"), |
| 23 | embassy_rp::binary_info_rp_cargo_version!(), | 23 | embassy_rp::binary_info::rp_cargo_version!(), |
| 24 | embassy_rp::binary_info_rp_program_description!(c"Blinky"), | 24 | embassy_rp::binary_info::rp_program_description!(c"Blinky"), |
| 25 | embassy_rp::binary_info_rp_program_build_attribute!(), | 25 | embassy_rp::binary_info::rp_program_build_attribute!(), |
| 26 | ]; | 26 | ]; |
| 27 | 27 | ||
| 28 | // Our anonymous hypotetical temperature sensor could be: | 28 | // Our anonymous hypotetical temperature sensor could be: |
diff --git a/examples/rp23/src/bin/i2c_blocking.rs b/examples/rp23/src/bin/i2c_blocking.rs index 6d36d1890..85c33bf0d 100644 --- a/examples/rp23/src/bin/i2c_blocking.rs +++ b/examples/rp23/src/bin/i2c_blocking.rs | |||
| @@ -22,10 +22,10 @@ pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | |||
| 22 | #[link_section = ".bi_entries"] | 22 | #[link_section = ".bi_entries"] |
| 23 | #[used] | 23 | #[used] |
| 24 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ | 24 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ |
| 25 | embassy_rp::binary_info_rp_cargo_bin_name!(), | 25 | embassy_rp::binary_info::rp_program_name!(c"example"), |
| 26 | embassy_rp::binary_info_rp_cargo_version!(), | 26 | embassy_rp::binary_info::rp_cargo_version!(), |
| 27 | embassy_rp::binary_info_rp_program_description!(c"Blinky"), | 27 | embassy_rp::binary_info::rp_program_description!(c"Blinky"), |
| 28 | embassy_rp::binary_info_rp_program_build_attribute!(), | 28 | embassy_rp::binary_info::rp_program_build_attribute!(), |
| 29 | ]; | 29 | ]; |
| 30 | 30 | ||
| 31 | #[allow(dead_code)] | 31 | #[allow(dead_code)] |
diff --git a/examples/rp23/src/bin/i2c_slave.rs b/examples/rp23/src/bin/i2c_slave.rs index 1f3408cf3..fb5f3cda1 100644 --- a/examples/rp23/src/bin/i2c_slave.rs +++ b/examples/rp23/src/bin/i2c_slave.rs | |||
| @@ -19,10 +19,10 @@ pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | |||
| 19 | #[link_section = ".bi_entries"] | 19 | #[link_section = ".bi_entries"] |
| 20 | #[used] | 20 | #[used] |
| 21 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ | 21 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ |
| 22 | embassy_rp::binary_info_rp_cargo_bin_name!(), | 22 | embassy_rp::binary_info::rp_program_name!(c"example"), |
| 23 | embassy_rp::binary_info_rp_cargo_version!(), | 23 | embassy_rp::binary_info::rp_cargo_version!(), |
| 24 | embassy_rp::binary_info_rp_program_description!(c"Blinky"), | 24 | embassy_rp::binary_info::rp_program_description!(c"Blinky"), |
| 25 | embassy_rp::binary_info_rp_program_build_attribute!(), | 25 | embassy_rp::binary_info::rp_program_build_attribute!(), |
| 26 | ]; | 26 | ]; |
| 27 | 27 | ||
| 28 | bind_interrupts!(struct Irqs { | 28 | bind_interrupts!(struct Irqs { |
diff --git a/examples/rp23/src/bin/interrupt.rs b/examples/rp23/src/bin/interrupt.rs index 6184b1bd7..ee3d9bfe7 100644 --- a/examples/rp23/src/bin/interrupt.rs +++ b/examples/rp23/src/bin/interrupt.rs | |||
| @@ -33,10 +33,10 @@ pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | |||
| 33 | #[link_section = ".bi_entries"] | 33 | #[link_section = ".bi_entries"] |
| 34 | #[used] | 34 | #[used] |
| 35 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ | 35 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ |
| 36 | embassy_rp::binary_info_rp_cargo_bin_name!(), | 36 | embassy_rp::binary_info::rp_program_name!(c"example"), |
| 37 | embassy_rp::binary_info_rp_cargo_version!(), | 37 | embassy_rp::binary_info::rp_cargo_version!(), |
| 38 | embassy_rp::binary_info_rp_program_description!(c"Blinky"), | 38 | embassy_rp::binary_info::rp_program_description!(c"Blinky"), |
| 39 | embassy_rp::binary_info_rp_program_build_attribute!(), | 39 | embassy_rp::binary_info::rp_program_build_attribute!(), |
| 40 | ]; | 40 | ]; |
| 41 | 41 | ||
| 42 | static COUNTER: AtomicU32 = AtomicU32::new(0); | 42 | static COUNTER: AtomicU32 = AtomicU32::new(0); |
diff --git a/examples/rp23/src/bin/multicore.rs b/examples/rp23/src/bin/multicore.rs index 8649143e1..9ab43d7a5 100644 --- a/examples/rp23/src/bin/multicore.rs +++ b/examples/rp23/src/bin/multicore.rs | |||
| @@ -24,10 +24,10 @@ pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | |||
| 24 | #[link_section = ".bi_entries"] | 24 | #[link_section = ".bi_entries"] |
| 25 | #[used] | 25 | #[used] |
| 26 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ | 26 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ |
| 27 | embassy_rp::binary_info_rp_cargo_bin_name!(), | 27 | embassy_rp::binary_info::rp_program_name!(c"example"), |
| 28 | embassy_rp::binary_info_rp_cargo_version!(), | 28 | embassy_rp::binary_info::rp_cargo_version!(), |
| 29 | embassy_rp::binary_info_rp_program_description!(c"Blinky"), | 29 | embassy_rp::binary_info::rp_program_description!(c"Blinky"), |
| 30 | embassy_rp::binary_info_rp_program_build_attribute!(), | 30 | embassy_rp::binary_info::rp_program_build_attribute!(), |
| 31 | ]; | 31 | ]; |
| 32 | 32 | ||
| 33 | static mut CORE1_STACK: Stack<4096> = Stack::new(); | 33 | static mut CORE1_STACK: Stack<4096> = Stack::new(); |
diff --git a/examples/rp23/src/bin/multiprio.rs b/examples/rp23/src/bin/multiprio.rs index 7590fb431..27cd3656e 100644 --- a/examples/rp23/src/bin/multiprio.rs +++ b/examples/rp23/src/bin/multiprio.rs | |||
| @@ -74,10 +74,10 @@ pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | |||
| 74 | #[link_section = ".bi_entries"] | 74 | #[link_section = ".bi_entries"] |
| 75 | #[used] | 75 | #[used] |
| 76 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ | 76 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ |
| 77 | embassy_rp::binary_info_rp_cargo_bin_name!(), | 77 | embassy_rp::binary_info::rp_program_name!(c"example"), |
| 78 | embassy_rp::binary_info_rp_cargo_version!(), | 78 | embassy_rp::binary_info::rp_cargo_version!(), |
| 79 | embassy_rp::binary_info_rp_program_description!(c"Blinky"), | 79 | embassy_rp::binary_info::rp_program_description!(c"Blinky"), |
| 80 | embassy_rp::binary_info_rp_program_build_attribute!(), | 80 | embassy_rp::binary_info::rp_program_build_attribute!(), |
| 81 | ]; | 81 | ]; |
| 82 | 82 | ||
| 83 | #[embassy_executor::task] | 83 | #[embassy_executor::task] |
diff --git a/examples/rp23/src/bin/pio_async.rs b/examples/rp23/src/bin/pio_async.rs index 005708bc2..231afc80e 100644 --- a/examples/rp23/src/bin/pio_async.rs +++ b/examples/rp23/src/bin/pio_async.rs | |||
| @@ -20,10 +20,10 @@ pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | |||
| 20 | #[link_section = ".bi_entries"] | 20 | #[link_section = ".bi_entries"] |
| 21 | #[used] | 21 | #[used] |
| 22 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ | 22 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ |
| 23 | embassy_rp::binary_info_rp_cargo_bin_name!(), | 23 | embassy_rp::binary_info::rp_program_name!(c"example"), |
| 24 | embassy_rp::binary_info_rp_cargo_version!(), | 24 | embassy_rp::binary_info::rp_cargo_version!(), |
| 25 | embassy_rp::binary_info_rp_program_description!(c"Blinky"), | 25 | embassy_rp::binary_info::rp_program_description!(c"Blinky"), |
| 26 | embassy_rp::binary_info_rp_program_build_attribute!(), | 26 | embassy_rp::binary_info::rp_program_build_attribute!(), |
| 27 | ]; | 27 | ]; |
| 28 | 28 | ||
| 29 | bind_interrupts!(struct Irqs { | 29 | bind_interrupts!(struct Irqs { |
diff --git a/examples/rp23/src/bin/pio_dma.rs b/examples/rp23/src/bin/pio_dma.rs index 48fd9123f..60fbcb83a 100644 --- a/examples/rp23/src/bin/pio_dma.rs +++ b/examples/rp23/src/bin/pio_dma.rs | |||
| @@ -21,10 +21,10 @@ pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | |||
| 21 | #[link_section = ".bi_entries"] | 21 | #[link_section = ".bi_entries"] |
| 22 | #[used] | 22 | #[used] |
| 23 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ | 23 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ |
| 24 | embassy_rp::binary_info_rp_cargo_bin_name!(), | 24 | embassy_rp::binary_info::rp_program_name!(c"example"), |
| 25 | embassy_rp::binary_info_rp_cargo_version!(), | 25 | embassy_rp::binary_info::rp_cargo_version!(), |
| 26 | embassy_rp::binary_info_rp_program_description!(c"Blinky"), | 26 | embassy_rp::binary_info::rp_program_description!(c"Blinky"), |
| 27 | embassy_rp::binary_info_rp_program_build_attribute!(), | 27 | embassy_rp::binary_info::rp_program_build_attribute!(), |
| 28 | ]; | 28 | ]; |
| 29 | 29 | ||
| 30 | bind_interrupts!(struct Irqs { | 30 | bind_interrupts!(struct Irqs { |
diff --git a/examples/rp23/src/bin/pio_hd44780.rs b/examples/rp23/src/bin/pio_hd44780.rs index fc658267d..92aa858f9 100644 --- a/examples/rp23/src/bin/pio_hd44780.rs +++ b/examples/rp23/src/bin/pio_hd44780.rs | |||
| @@ -26,10 +26,10 @@ pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | |||
| 26 | #[link_section = ".bi_entries"] | 26 | #[link_section = ".bi_entries"] |
| 27 | #[used] | 27 | #[used] |
| 28 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ | 28 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ |
| 29 | embassy_rp::binary_info_rp_cargo_bin_name!(), | 29 | embassy_rp::binary_info::rp_program_name!(c"example"), |
| 30 | embassy_rp::binary_info_rp_cargo_version!(), | 30 | embassy_rp::binary_info::rp_cargo_version!(), |
| 31 | embassy_rp::binary_info_rp_program_description!(c"Blinky"), | 31 | embassy_rp::binary_info::rp_program_description!(c"Blinky"), |
| 32 | embassy_rp::binary_info_rp_program_build_attribute!(), | 32 | embassy_rp::binary_info::rp_program_build_attribute!(), |
| 33 | ]; | 33 | ]; |
| 34 | 34 | ||
| 35 | bind_interrupts!(pub struct Irqs { | 35 | bind_interrupts!(pub struct Irqs { |
diff --git a/examples/rp23/src/bin/pio_i2s.rs b/examples/rp23/src/bin/pio_i2s.rs index 5a3bde759..d6d2d0ade 100644 --- a/examples/rp23/src/bin/pio_i2s.rs +++ b/examples/rp23/src/bin/pio_i2s.rs | |||
| @@ -29,10 +29,10 @@ pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | |||
| 29 | #[link_section = ".bi_entries"] | 29 | #[link_section = ".bi_entries"] |
| 30 | #[used] | 30 | #[used] |
| 31 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ | 31 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ |
| 32 | embassy_rp::binary_info_rp_cargo_bin_name!(), | 32 | embassy_rp::binary_info::rp_program_name!(c"example"), |
| 33 | embassy_rp::binary_info_rp_cargo_version!(), | 33 | embassy_rp::binary_info::rp_cargo_version!(), |
| 34 | embassy_rp::binary_info_rp_program_description!(c"Blinky"), | 34 | embassy_rp::binary_info::rp_program_description!(c"Blinky"), |
| 35 | embassy_rp::binary_info_rp_program_build_attribute!(), | 35 | embassy_rp::binary_info::rp_program_build_attribute!(), |
| 36 | ]; | 36 | ]; |
| 37 | 37 | ||
| 38 | bind_interrupts!(struct Irqs { | 38 | bind_interrupts!(struct Irqs { |
diff --git a/examples/rp23/src/bin/pio_pwm.rs b/examples/rp23/src/bin/pio_pwm.rs index 7c5eefc45..587f91ac3 100644 --- a/examples/rp23/src/bin/pio_pwm.rs +++ b/examples/rp23/src/bin/pio_pwm.rs | |||
| @@ -22,10 +22,10 @@ pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | |||
| 22 | #[link_section = ".bi_entries"] | 22 | #[link_section = ".bi_entries"] |
| 23 | #[used] | 23 | #[used] |
| 24 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ | 24 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ |
| 25 | embassy_rp::binary_info_rp_cargo_bin_name!(), | 25 | embassy_rp::binary_info::rp_program_name!(c"example"), |
| 26 | embassy_rp::binary_info_rp_cargo_version!(), | 26 | embassy_rp::binary_info::rp_cargo_version!(), |
| 27 | embassy_rp::binary_info_rp_program_description!(c"Blinky"), | 27 | embassy_rp::binary_info::rp_program_description!(c"Blinky"), |
| 28 | embassy_rp::binary_info_rp_program_build_attribute!(), | 28 | embassy_rp::binary_info::rp_program_build_attribute!(), |
| 29 | ]; | 29 | ]; |
| 30 | 30 | ||
| 31 | const REFRESH_INTERVAL: u64 = 20000; | 31 | const REFRESH_INTERVAL: u64 = 20000; |
diff --git a/examples/rp23/src/bin/pio_rotary_encoder.rs b/examples/rp23/src/bin/pio_rotary_encoder.rs index 287992a83..c147351e8 100644 --- a/examples/rp23/src/bin/pio_rotary_encoder.rs +++ b/examples/rp23/src/bin/pio_rotary_encoder.rs | |||
| @@ -21,10 +21,10 @@ pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | |||
| 21 | #[link_section = ".bi_entries"] | 21 | #[link_section = ".bi_entries"] |
| 22 | #[used] | 22 | #[used] |
| 23 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ | 23 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ |
| 24 | embassy_rp::binary_info_rp_cargo_bin_name!(), | 24 | embassy_rp::binary_info::rp_program_name!(c"example"), |
| 25 | embassy_rp::binary_info_rp_cargo_version!(), | 25 | embassy_rp::binary_info::rp_cargo_version!(), |
| 26 | embassy_rp::binary_info_rp_program_description!(c"Blinky"), | 26 | embassy_rp::binary_info::rp_program_description!(c"Blinky"), |
| 27 | embassy_rp::binary_info_rp_program_build_attribute!(), | 27 | embassy_rp::binary_info::rp_program_build_attribute!(), |
| 28 | ]; | 28 | ]; |
| 29 | 29 | ||
| 30 | bind_interrupts!(struct Irqs { | 30 | bind_interrupts!(struct Irqs { |
diff --git a/examples/rp23/src/bin/pio_servo.rs b/examples/rp23/src/bin/pio_servo.rs index 1dec86927..5e8714178 100644 --- a/examples/rp23/src/bin/pio_servo.rs +++ b/examples/rp23/src/bin/pio_servo.rs | |||
| @@ -22,10 +22,10 @@ pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | |||
| 22 | #[link_section = ".bi_entries"] | 22 | #[link_section = ".bi_entries"] |
| 23 | #[used] | 23 | #[used] |
| 24 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ | 24 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ |
| 25 | embassy_rp::binary_info_rp_cargo_bin_name!(), | 25 | embassy_rp::binary_info::rp_program_name!(c"example"), |
| 26 | embassy_rp::binary_info_rp_cargo_version!(), | 26 | embassy_rp::binary_info::rp_cargo_version!(), |
| 27 | embassy_rp::binary_info_rp_program_description!(c"Blinky"), | 27 | embassy_rp::binary_info::rp_program_description!(c"Blinky"), |
| 28 | embassy_rp::binary_info_rp_program_build_attribute!(), | 28 | embassy_rp::binary_info::rp_program_build_attribute!(), |
| 29 | ]; | 29 | ]; |
| 30 | 30 | ||
| 31 | const DEFAULT_MIN_PULSE_WIDTH: u64 = 1000; // uncalibrated default, the shortest duty cycle sent to a servo | 31 | const DEFAULT_MIN_PULSE_WIDTH: u64 = 1000; // uncalibrated default, the shortest duty cycle sent to a servo |
diff --git a/examples/rp23/src/bin/pio_stepper.rs b/examples/rp23/src/bin/pio_stepper.rs index 8b52dc37a..24785443b 100644 --- a/examples/rp23/src/bin/pio_stepper.rs +++ b/examples/rp23/src/bin/pio_stepper.rs | |||
| @@ -25,10 +25,10 @@ pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | |||
| 25 | #[link_section = ".bi_entries"] | 25 | #[link_section = ".bi_entries"] |
| 26 | #[used] | 26 | #[used] |
| 27 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ | 27 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ |
| 28 | embassy_rp::binary_info_rp_cargo_bin_name!(), | 28 | embassy_rp::binary_info::rp_program_name!(c"example"), |
| 29 | embassy_rp::binary_info_rp_cargo_version!(), | 29 | embassy_rp::binary_info::rp_cargo_version!(), |
| 30 | embassy_rp::binary_info_rp_program_description!(c"Blinky"), | 30 | embassy_rp::binary_info::rp_program_description!(c"Blinky"), |
| 31 | embassy_rp::binary_info_rp_program_build_attribute!(), | 31 | embassy_rp::binary_info::rp_program_build_attribute!(), |
| 32 | ]; | 32 | ]; |
| 33 | 33 | ||
| 34 | bind_interrupts!(struct Irqs { | 34 | bind_interrupts!(struct Irqs { |
diff --git a/examples/rp23/src/bin/pio_ws2812.rs b/examples/rp23/src/bin/pio_ws2812.rs index 99d9cf7e6..00fe5e396 100644 --- a/examples/rp23/src/bin/pio_ws2812.rs +++ b/examples/rp23/src/bin/pio_ws2812.rs | |||
| @@ -27,10 +27,10 @@ pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | |||
| 27 | #[link_section = ".bi_entries"] | 27 | #[link_section = ".bi_entries"] |
| 28 | #[used] | 28 | #[used] |
| 29 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ | 29 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ |
| 30 | embassy_rp::binary_info_rp_cargo_bin_name!(), | 30 | embassy_rp::binary_info::rp_program_name!(c"example"), |
| 31 | embassy_rp::binary_info_rp_cargo_version!(), | 31 | embassy_rp::binary_info::rp_cargo_version!(), |
| 32 | embassy_rp::binary_info_rp_program_description!(c"Blinky"), | 32 | embassy_rp::binary_info::rp_program_description!(c"Blinky"), |
| 33 | embassy_rp::binary_info_rp_program_build_attribute!(), | 33 | embassy_rp::binary_info::rp_program_build_attribute!(), |
| 34 | ]; | 34 | ]; |
| 35 | 35 | ||
| 36 | bind_interrupts!(struct Irqs { | 36 | bind_interrupts!(struct Irqs { |
diff --git a/examples/rp23/src/bin/pwm.rs b/examples/rp23/src/bin/pwm.rs index 4cd3b3eb4..bfc2c6f67 100644 --- a/examples/rp23/src/bin/pwm.rs +++ b/examples/rp23/src/bin/pwm.rs | |||
| @@ -20,10 +20,10 @@ pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | |||
| 20 | #[link_section = ".bi_entries"] | 20 | #[link_section = ".bi_entries"] |
| 21 | #[used] | 21 | #[used] |
| 22 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ | 22 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ |
| 23 | embassy_rp::binary_info_rp_cargo_bin_name!(), | 23 | embassy_rp::binary_info::rp_program_name!(c"example"), |
| 24 | embassy_rp::binary_info_rp_cargo_version!(), | 24 | embassy_rp::binary_info::rp_cargo_version!(), |
| 25 | embassy_rp::binary_info_rp_program_description!(c"Blinky"), | 25 | embassy_rp::binary_info::rp_program_description!(c"Blinky"), |
| 26 | embassy_rp::binary_info_rp_program_build_attribute!(), | 26 | embassy_rp::binary_info::rp_program_build_attribute!(), |
| 27 | ]; | 27 | ]; |
| 28 | 28 | ||
| 29 | #[embassy_executor::main] | 29 | #[embassy_executor::main] |
diff --git a/examples/rp23/src/bin/pwm_input.rs b/examples/rp23/src/bin/pwm_input.rs index b75d04963..b65f2778b 100644 --- a/examples/rp23/src/bin/pwm_input.rs +++ b/examples/rp23/src/bin/pwm_input.rs | |||
| @@ -19,10 +19,10 @@ pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | |||
| 19 | #[link_section = ".bi_entries"] | 19 | #[link_section = ".bi_entries"] |
| 20 | #[used] | 20 | #[used] |
| 21 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ | 21 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ |
| 22 | embassy_rp::binary_info_rp_cargo_bin_name!(), | 22 | embassy_rp::binary_info::rp_program_name!(c"example"), |
| 23 | embassy_rp::binary_info_rp_cargo_version!(), | 23 | embassy_rp::binary_info::rp_cargo_version!(), |
| 24 | embassy_rp::binary_info_rp_program_description!(c"Blinky"), | 24 | embassy_rp::binary_info::rp_program_description!(c"Blinky"), |
| 25 | embassy_rp::binary_info_rp_program_build_attribute!(), | 25 | embassy_rp::binary_info::rp_program_build_attribute!(), |
| 26 | ]; | 26 | ]; |
| 27 | 27 | ||
| 28 | #[embassy_executor::main] | 28 | #[embassy_executor::main] |
diff --git a/examples/rp23/src/bin/rosc.rs b/examples/rp23/src/bin/rosc.rs index 28c778f51..f65b236b1 100644 --- a/examples/rp23/src/bin/rosc.rs +++ b/examples/rp23/src/bin/rosc.rs | |||
| @@ -21,10 +21,10 @@ pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | |||
| 21 | #[link_section = ".bi_entries"] | 21 | #[link_section = ".bi_entries"] |
| 22 | #[used] | 22 | #[used] |
| 23 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ | 23 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ |
| 24 | embassy_rp::binary_info_rp_cargo_bin_name!(), | 24 | embassy_rp::binary_info::rp_program_name!(c"example"), |
| 25 | embassy_rp::binary_info_rp_cargo_version!(), | 25 | embassy_rp::binary_info::rp_cargo_version!(), |
| 26 | embassy_rp::binary_info_rp_program_description!(c"Blinky"), | 26 | embassy_rp::binary_info::rp_program_description!(c"Blinky"), |
| 27 | embassy_rp::binary_info_rp_program_build_attribute!(), | 27 | embassy_rp::binary_info::rp_program_build_attribute!(), |
| 28 | ]; | 28 | ]; |
| 29 | 29 | ||
| 30 | #[embassy_executor::main] | 30 | #[embassy_executor::main] |
diff --git a/examples/rp23/src/bin/shared_bus.rs b/examples/rp23/src/bin/shared_bus.rs index 00e65f80d..b3fde13e3 100644 --- a/examples/rp23/src/bin/shared_bus.rs +++ b/examples/rp23/src/bin/shared_bus.rs | |||
| @@ -27,10 +27,10 @@ pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | |||
| 27 | #[link_section = ".bi_entries"] | 27 | #[link_section = ".bi_entries"] |
| 28 | #[used] | 28 | #[used] |
| 29 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ | 29 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ |
| 30 | embassy_rp::binary_info_rp_cargo_bin_name!(), | 30 | embassy_rp::binary_info::rp_program_name!(c"example"), |
| 31 | embassy_rp::binary_info_rp_cargo_version!(), | 31 | embassy_rp::binary_info::rp_cargo_version!(), |
| 32 | embassy_rp::binary_info_rp_program_description!(c"Blinky"), | 32 | embassy_rp::binary_info::rp_program_description!(c"Blinky"), |
| 33 | embassy_rp::binary_info_rp_program_build_attribute!(), | 33 | embassy_rp::binary_info::rp_program_build_attribute!(), |
| 34 | ]; | 34 | ]; |
| 35 | 35 | ||
| 36 | type Spi1Bus = Mutex<NoopRawMutex, Spi<'static, SPI1, spi::Async>>; | 36 | type Spi1Bus = Mutex<NoopRawMutex, Spi<'static, SPI1, spi::Async>>; |
diff --git a/examples/rp23/src/bin/sharing.rs b/examples/rp23/src/bin/sharing.rs index b5ef08147..4a3301cfd 100644 --- a/examples/rp23/src/bin/sharing.rs +++ b/examples/rp23/src/bin/sharing.rs | |||
| @@ -40,10 +40,10 @@ pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | |||
| 40 | #[link_section = ".bi_entries"] | 40 | #[link_section = ".bi_entries"] |
| 41 | #[used] | 41 | #[used] |
| 42 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ | 42 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ |
| 43 | embassy_rp::binary_info_rp_cargo_bin_name!(), | 43 | embassy_rp::binary_info::rp_program_name!(c"example"), |
| 44 | embassy_rp::binary_info_rp_cargo_version!(), | 44 | embassy_rp::binary_info::rp_cargo_version!(), |
| 45 | embassy_rp::binary_info_rp_program_description!(c"Blinky"), | 45 | embassy_rp::binary_info::rp_program_description!(c"Blinky"), |
| 46 | embassy_rp::binary_info_rp_program_build_attribute!(), | 46 | embassy_rp::binary_info::rp_program_build_attribute!(), |
| 47 | ]; | 47 | ]; |
| 48 | 48 | ||
| 49 | type UartAsyncMutex = mutex::Mutex<CriticalSectionRawMutex, UartTx<'static, UART0, uart::Async>>; | 49 | type UartAsyncMutex = mutex::Mutex<CriticalSectionRawMutex, UartTx<'static, UART0, uart::Async>>; |
diff --git a/examples/rp23/src/bin/spi.rs b/examples/rp23/src/bin/spi.rs index 98aa7622c..924873e60 100644 --- a/examples/rp23/src/bin/spi.rs +++ b/examples/rp23/src/bin/spi.rs | |||
| @@ -21,10 +21,10 @@ pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | |||
| 21 | #[link_section = ".bi_entries"] | 21 | #[link_section = ".bi_entries"] |
| 22 | #[used] | 22 | #[used] |
| 23 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ | 23 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ |
| 24 | embassy_rp::binary_info_rp_cargo_bin_name!(), | 24 | embassy_rp::binary_info::rp_program_name!(c"example"), |
| 25 | embassy_rp::binary_info_rp_cargo_version!(), | 25 | embassy_rp::binary_info::rp_cargo_version!(), |
| 26 | embassy_rp::binary_info_rp_program_description!(c"Blinky"), | 26 | embassy_rp::binary_info::rp_program_description!(c"Blinky"), |
| 27 | embassy_rp::binary_info_rp_program_build_attribute!(), | 27 | embassy_rp::binary_info::rp_program_build_attribute!(), |
| 28 | ]; | 28 | ]; |
| 29 | 29 | ||
| 30 | #[embassy_executor::main] | 30 | #[embassy_executor::main] |
diff --git a/examples/rp23/src/bin/spi_async.rs b/examples/rp23/src/bin/spi_async.rs index 71eaa5c05..4a74f991c 100644 --- a/examples/rp23/src/bin/spi_async.rs +++ b/examples/rp23/src/bin/spi_async.rs | |||
| @@ -19,10 +19,10 @@ pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | |||
| 19 | #[link_section = ".bi_entries"] | 19 | #[link_section = ".bi_entries"] |
| 20 | #[used] | 20 | #[used] |
| 21 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ | 21 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ |
| 22 | embassy_rp::binary_info_rp_cargo_bin_name!(), | 22 | embassy_rp::binary_info::rp_program_name!(c"example"), |
| 23 | embassy_rp::binary_info_rp_cargo_version!(), | 23 | embassy_rp::binary_info::rp_cargo_version!(), |
| 24 | embassy_rp::binary_info_rp_program_description!(c"Blinky"), | 24 | embassy_rp::binary_info::rp_program_description!(c"Blinky"), |
| 25 | embassy_rp::binary_info_rp_program_build_attribute!(), | 25 | embassy_rp::binary_info::rp_program_build_attribute!(), |
| 26 | ]; | 26 | ]; |
| 27 | 27 | ||
| 28 | #[embassy_executor::main] | 28 | #[embassy_executor::main] |
diff --git a/examples/rp23/src/bin/spi_display.rs b/examples/rp23/src/bin/spi_display.rs index 2441b1186..71dd84658 100644 --- a/examples/rp23/src/bin/spi_display.rs +++ b/examples/rp23/src/bin/spi_display.rs | |||
| @@ -36,10 +36,10 @@ pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | |||
| 36 | #[link_section = ".bi_entries"] | 36 | #[link_section = ".bi_entries"] |
| 37 | #[used] | 37 | #[used] |
| 38 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ | 38 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ |
| 39 | embassy_rp::binary_info_rp_cargo_bin_name!(), | 39 | embassy_rp::binary_info::rp_program_name!(c"example"), |
| 40 | embassy_rp::binary_info_rp_cargo_version!(), | 40 | embassy_rp::binary_info::rp_cargo_version!(), |
| 41 | embassy_rp::binary_info_rp_program_description!(c"Blinky"), | 41 | embassy_rp::binary_info::rp_program_description!(c"Blinky"), |
| 42 | embassy_rp::binary_info_rp_program_build_attribute!(), | 42 | embassy_rp::binary_info::rp_program_build_attribute!(), |
| 43 | ]; | 43 | ]; |
| 44 | 44 | ||
| 45 | use crate::my_display_interface::SPIDeviceInterface; | 45 | use crate::my_display_interface::SPIDeviceInterface; |
diff --git a/examples/rp23/src/bin/spi_sdmmc.rs b/examples/rp23/src/bin/spi_sdmmc.rs index d7af77a30..dabf41ab8 100644 --- a/examples/rp23/src/bin/spi_sdmmc.rs +++ b/examples/rp23/src/bin/spi_sdmmc.rs | |||
| @@ -25,10 +25,10 @@ pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | |||
| 25 | #[link_section = ".bi_entries"] | 25 | #[link_section = ".bi_entries"] |
| 26 | #[used] | 26 | #[used] |
| 27 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ | 27 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ |
| 28 | embassy_rp::binary_info_rp_cargo_bin_name!(), | 28 | embassy_rp::binary_info::rp_program_name!(c"example"), |
| 29 | embassy_rp::binary_info_rp_cargo_version!(), | 29 | embassy_rp::binary_info::rp_cargo_version!(), |
| 30 | embassy_rp::binary_info_rp_program_description!(c"Blinky"), | 30 | embassy_rp::binary_info::rp_program_description!(c"Blinky"), |
| 31 | embassy_rp::binary_info_rp_program_build_attribute!(), | 31 | embassy_rp::binary_info::rp_program_build_attribute!(), |
| 32 | ]; | 32 | ]; |
| 33 | 33 | ||
| 34 | struct DummyTimesource(); | 34 | struct DummyTimesource(); |
diff --git a/examples/rp23/src/bin/uart.rs b/examples/rp23/src/bin/uart.rs index ae00f36dc..0ffe0b293 100644 --- a/examples/rp23/src/bin/uart.rs +++ b/examples/rp23/src/bin/uart.rs | |||
| @@ -20,10 +20,10 @@ pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | |||
| 20 | #[link_section = ".bi_entries"] | 20 | #[link_section = ".bi_entries"] |
| 21 | #[used] | 21 | #[used] |
| 22 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ | 22 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ |
| 23 | embassy_rp::binary_info_rp_cargo_bin_name!(), | 23 | embassy_rp::binary_info::rp_program_name!(c"example"), |
| 24 | embassy_rp::binary_info_rp_cargo_version!(), | 24 | embassy_rp::binary_info::rp_cargo_version!(), |
| 25 | embassy_rp::binary_info_rp_program_description!(c"Blinky"), | 25 | embassy_rp::binary_info::rp_program_description!(c"Blinky"), |
| 26 | embassy_rp::binary_info_rp_program_build_attribute!(), | 26 | embassy_rp::binary_info::rp_program_build_attribute!(), |
| 27 | ]; | 27 | ]; |
| 28 | 28 | ||
| 29 | #[embassy_executor::main] | 29 | #[embassy_executor::main] |
diff --git a/examples/rp23/src/bin/uart_buffered_split.rs b/examples/rp23/src/bin/uart_buffered_split.rs index 2b14520d5..4e69a20c4 100644 --- a/examples/rp23/src/bin/uart_buffered_split.rs +++ b/examples/rp23/src/bin/uart_buffered_split.rs | |||
| @@ -26,10 +26,10 @@ pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | |||
| 26 | #[link_section = ".bi_entries"] | 26 | #[link_section = ".bi_entries"] |
| 27 | #[used] | 27 | #[used] |
| 28 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ | 28 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ |
| 29 | embassy_rp::binary_info_rp_cargo_bin_name!(), | 29 | embassy_rp::binary_info::rp_program_name!(c"example"), |
| 30 | embassy_rp::binary_info_rp_cargo_version!(), | 30 | embassy_rp::binary_info::rp_cargo_version!(), |
| 31 | embassy_rp::binary_info_rp_program_description!(c"Blinky"), | 31 | embassy_rp::binary_info::rp_program_description!(c"Blinky"), |
| 32 | embassy_rp::binary_info_rp_program_build_attribute!(), | 32 | embassy_rp::binary_info::rp_program_build_attribute!(), |
| 33 | ]; | 33 | ]; |
| 34 | 34 | ||
| 35 | bind_interrupts!(struct Irqs { | 35 | bind_interrupts!(struct Irqs { |
diff --git a/examples/rp23/src/bin/uart_r503.rs b/examples/rp23/src/bin/uart_r503.rs index 39a17d305..5ac8839e3 100644 --- a/examples/rp23/src/bin/uart_r503.rs +++ b/examples/rp23/src/bin/uart_r503.rs | |||
| @@ -19,10 +19,10 @@ pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | |||
| 19 | #[link_section = ".bi_entries"] | 19 | #[link_section = ".bi_entries"] |
| 20 | #[used] | 20 | #[used] |
| 21 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ | 21 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ |
| 22 | embassy_rp::binary_info_rp_cargo_bin_name!(), | 22 | embassy_rp::binary_info::rp_program_name!(c"example"), |
| 23 | embassy_rp::binary_info_rp_cargo_version!(), | 23 | embassy_rp::binary_info::rp_cargo_version!(), |
| 24 | embassy_rp::binary_info_rp_program_description!(c"Blinky"), | 24 | embassy_rp::binary_info::rp_program_description!(c"Blinky"), |
| 25 | embassy_rp::binary_info_rp_program_build_attribute!(), | 25 | embassy_rp::binary_info::rp_program_build_attribute!(), |
| 26 | ]; | 26 | ]; |
| 27 | 27 | ||
| 28 | bind_interrupts!(pub struct Irqs { | 28 | bind_interrupts!(pub struct Irqs { |
diff --git a/examples/rp23/src/bin/uart_unidir.rs b/examples/rp23/src/bin/uart_unidir.rs index 38210a8d0..988e44a79 100644 --- a/examples/rp23/src/bin/uart_unidir.rs +++ b/examples/rp23/src/bin/uart_unidir.rs | |||
| @@ -25,10 +25,10 @@ pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | |||
| 25 | #[link_section = ".bi_entries"] | 25 | #[link_section = ".bi_entries"] |
| 26 | #[used] | 26 | #[used] |
| 27 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ | 27 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ |
| 28 | embassy_rp::binary_info_rp_cargo_bin_name!(), | 28 | embassy_rp::binary_info::rp_program_name!(c"example"), |
| 29 | embassy_rp::binary_info_rp_cargo_version!(), | 29 | embassy_rp::binary_info::rp_cargo_version!(), |
| 30 | embassy_rp::binary_info_rp_program_description!(c"Blinky"), | 30 | embassy_rp::binary_info::rp_program_description!(c"Blinky"), |
| 31 | embassy_rp::binary_info_rp_program_build_attribute!(), | 31 | embassy_rp::binary_info::rp_program_build_attribute!(), |
| 32 | ]; | 32 | ]; |
| 33 | 33 | ||
| 34 | bind_interrupts!(struct Irqs { | 34 | bind_interrupts!(struct Irqs { |
diff --git a/examples/rp23/src/bin/usb_webusb.rs b/examples/rp23/src/bin/usb_webusb.rs index f4ecde30e..3ade2226b 100644 --- a/examples/rp23/src/bin/usb_webusb.rs +++ b/examples/rp23/src/bin/usb_webusb.rs | |||
| @@ -38,10 +38,10 @@ pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | |||
| 38 | #[link_section = ".bi_entries"] | 38 | #[link_section = ".bi_entries"] |
| 39 | #[used] | 39 | #[used] |
| 40 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ | 40 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ |
| 41 | embassy_rp::binary_info_rp_cargo_bin_name!(), | 41 | embassy_rp::binary_info::rp_program_name!(c"example"), |
| 42 | embassy_rp::binary_info_rp_cargo_version!(), | 42 | embassy_rp::binary_info::rp_cargo_version!(), |
| 43 | embassy_rp::binary_info_rp_program_description!(c"Blinky"), | 43 | embassy_rp::binary_info::rp_program_description!(c"Blinky"), |
| 44 | embassy_rp::binary_info_rp_program_build_attribute!(), | 44 | embassy_rp::binary_info::rp_program_build_attribute!(), |
| 45 | ]; | 45 | ]; |
| 46 | 46 | ||
| 47 | bind_interrupts!(struct Irqs { | 47 | bind_interrupts!(struct Irqs { |
diff --git a/examples/rp23/src/bin/watchdog.rs b/examples/rp23/src/bin/watchdog.rs index 3ac457219..a901c1164 100644 --- a/examples/rp23/src/bin/watchdog.rs +++ b/examples/rp23/src/bin/watchdog.rs | |||
| @@ -22,10 +22,10 @@ pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | |||
| 22 | #[link_section = ".bi_entries"] | 22 | #[link_section = ".bi_entries"] |
| 23 | #[used] | 23 | #[used] |
| 24 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ | 24 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ |
| 25 | embassy_rp::binary_info_rp_cargo_bin_name!(), | 25 | embassy_rp::binary_info::rp_program_name!(c"example"), |
| 26 | embassy_rp::binary_info_rp_cargo_version!(), | 26 | embassy_rp::binary_info::rp_cargo_version!(), |
| 27 | embassy_rp::binary_info_rp_program_description!(c"Blinky"), | 27 | embassy_rp::binary_info::rp_program_description!(c"Blinky"), |
| 28 | embassy_rp::binary_info_rp_program_build_attribute!(), | 28 | embassy_rp::binary_info::rp_program_build_attribute!(), |
| 29 | ]; | 29 | ]; |
| 30 | 30 | ||
| 31 | #[embassy_executor::main] | 31 | #[embassy_executor::main] |
diff --git a/examples/rp23/src/bin/zerocopy.rs b/examples/rp23/src/bin/zerocopy.rs index d04e1bf2a..86fca6f12 100644 --- a/examples/rp23/src/bin/zerocopy.rs +++ b/examples/rp23/src/bin/zerocopy.rs | |||
| @@ -27,10 +27,10 @@ pub static IMAGE_DEF: ImageDef = ImageDef::secure_exe(); | |||
| 27 | #[link_section = ".bi_entries"] | 27 | #[link_section = ".bi_entries"] |
| 28 | #[used] | 28 | #[used] |
| 29 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ | 29 | pub static PICOTOOL_ENTRIES: [embassy_rp::binary_info::EntryAddr; 4] = [ |
| 30 | embassy_rp::binary_info_rp_cargo_bin_name!(), | 30 | embassy_rp::binary_info::rp_program_name!(c"example"), |
| 31 | embassy_rp::binary_info_rp_cargo_version!(), | 31 | embassy_rp::binary_info::rp_cargo_version!(), |
| 32 | embassy_rp::binary_info_rp_program_description!(c"Blinky"), | 32 | embassy_rp::binary_info::rp_program_description!(c"Blinky"), |
| 33 | embassy_rp::binary_info_rp_program_build_attribute!(), | 33 | embassy_rp::binary_info::rp_program_build_attribute!(), |
| 34 | ]; | 34 | ]; |
| 35 | 35 | ||
| 36 | type SampleBuffer = [u16; 512]; | 36 | type SampleBuffer = [u16; 512]; |
