@@ -52,10 +52,10 @@ fn main() -> ! {
5252 & mut pac. RESETS ,
5353 ) ;
5454
55- // This is the correct pin on the Raspberry Pico board. On other boards, even if they have an
55+ // This is the correct pin on the Raspberry Pico 2 board. On other boards, even if they have an
5656 // on-board LED, it might need to be changed.
5757 //
58- // Notably, on the Pico W, the LED is not connected to any of the RP2040 GPIOs but to the cyw43 module instead.
58+ // Notably, on the Pico 2 W, the LED is not connected to any of the RP2350 GPIOs but to the cyw43 module instead.
5959 // One way to do that is by using [embassy](https://github.com/embassy-rs/embassy/blob/main/examples/rp/src/bin/wifi_blinky.rs)
6060 //
6161 // If you have a Pico W and want to toggle a LED with a simple GPIO output pin, you can connect an external
@@ -73,4 +73,15 @@ fn main() -> ! {
7373 }
7474}
7575
76+ /// Program metadata for `picotool info`
77+ #[ link_section = ".bi_entries" ]
78+ #[ used]
79+ pub static PICOTOOL_ENTRIES : [ rp235x_hal:: binary_info:: EntryAddr ; 5 ] = [
80+ rp235x_hal:: binary_info:: rp_cargo_bin_name!( ) ,
81+ rp235x_hal:: binary_info:: rp_cargo_version!( ) ,
82+ rp235x_hal:: binary_info:: rp_program_description!( c"RP2350 Template" ) ,
83+ rp235x_hal:: binary_info:: rp_cargo_homepage_url!( ) ,
84+ rp235x_hal:: binary_info:: rp_program_build_attribute!( ) ,
85+ ] ;
86+
7687// End of file
0 commit comments