diff --git a/boards/feather_rp2040/Cargo.toml b/boards/feather_rp2040/Cargo.toml index 10313a0..fbcb575 100644 --- a/boards/feather_rp2040/Cargo.toml +++ b/boards/feather_rp2040/Cargo.toml @@ -18,7 +18,7 @@ embedded-time = "0.12.0" [dev-dependencies] panic-halt= "0.2.0" embedded-hal ="0.2.5" -rp2040-boot2 = { git = "https://github.com/rp-rs/rp2040-boot2-rs", rev = "d2128ef9875e91e454dd0fb0d747c7439ae0627b" } +rp2040-boot2 = "0.2" nb = "1.0.0" smart-leds = "0.3.0" pio = { git = "https://github.com/rp-rs/pio-rs.git", branch = "main" } diff --git a/boards/pico/Cargo.toml b/boards/pico/Cargo.toml index ce58f24..887079b 100644 --- a/boards/pico/Cargo.toml +++ b/boards/pico/Cargo.toml @@ -22,7 +22,7 @@ usbd-hid = "0.5.1" panic-halt= "0.2.0" embedded-hal ="0.2.5" cortex-m-rtic = "0.6.0-alpha.5" -rp2040-boot2 = "0.1.2" +rp2040-boot2 = "0.2" nb = "1.0" [features] diff --git a/boards/pico/examples/pico_blinky.rs b/boards/pico/examples/pico_blinky.rs index 2970ee5..f4630aa 100644 --- a/boards/pico/examples/pico_blinky.rs +++ b/boards/pico/examples/pico_blinky.rs @@ -38,7 +38,7 @@ use pico::hal; //// need this to help the ROM bootloader get our code up and running. #[link_section = ".boot2"] #[used] -pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER; +pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER_W25Q080; /// Entry point to our bare-metal application. /// diff --git a/boards/pico/examples/pico_countdown_blinky.rs b/boards/pico/examples/pico_countdown_blinky.rs index a4d162f..0233d7d 100644 --- a/boards/pico/examples/pico_countdown_blinky.rs +++ b/boards/pico/examples/pico_countdown_blinky.rs @@ -35,7 +35,7 @@ use pico::hal; #[link_section = ".boot2"] #[used] -pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER; +pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER_W25Q080; #[entry] fn main() -> ! { diff --git a/boards/pico/examples/pico_gpio_in_out.rs b/boards/pico/examples/pico_gpio_in_out.rs index 81d1c9b..6546c54 100644 --- a/boards/pico/examples/pico_gpio_in_out.rs +++ b/boards/pico/examples/pico_gpio_in_out.rs @@ -34,7 +34,7 @@ use pico::hal; //// need this to help the ROM bootloader get our code up and running. #[link_section = ".boot2"] #[used] -pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER; +pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER_W25Q080; /// Entry point to our bare-metal application. /// diff --git a/boards/pico/examples/pico_pwm_blink.rs b/boards/pico/examples/pico_pwm_blink.rs index 16b48f8..657e1de 100644 --- a/boards/pico/examples/pico_pwm_blink.rs +++ b/boards/pico/examples/pico_pwm_blink.rs @@ -38,7 +38,7 @@ use pico::hal; //// need this to help the ROM bootloader get our code up and running. #[link_section = ".boot2"] #[used] -pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER; +pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER_W25Q080; // The minimum PWM value (i.e. LED brightness) we want const LOW: u16 = 0; diff --git a/boards/pico/examples/pico_rtic.rs b/boards/pico/examples/pico_rtic.rs index c88b011..44704c8 100644 --- a/boards/pico/examples/pico_rtic.rs +++ b/boards/pico/examples/pico_rtic.rs @@ -6,7 +6,7 @@ use rp2040_hal as hal; #[link_section = ".boot2"] #[used] -pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER; +pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER_W25Q080; #[rtic::app(device = crate::hal::pac, peripherals = true)] mod app { diff --git a/boards/pico/examples/pico_usb_serial.rs b/boards/pico/examples/pico_usb_serial.rs index fb431b1..12c0344 100644 --- a/boards/pico/examples/pico_usb_serial.rs +++ b/boards/pico/examples/pico_usb_serial.rs @@ -37,7 +37,7 @@ use usbd_serial::SerialPort; //// need this to help the ROM bootloader get our code up and running. #[link_section = ".boot2"] #[used] -pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER; +pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER_W25Q080; /// Entry point to our bare-metal application. /// diff --git a/boards/pico/examples/pico_usb_serial_interrupt.rs b/boards/pico/examples/pico_usb_serial_interrupt.rs index e5b8fe6..6cbc00f 100644 --- a/boards/pico/examples/pico_usb_serial_interrupt.rs +++ b/boards/pico/examples/pico_usb_serial_interrupt.rs @@ -49,7 +49,7 @@ use usbd_serial::SerialPort; //// need this to help the ROM bootloader get our code up and running. #[link_section = ".boot2"] #[used] -pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER; +pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER_W25Q080; /// The USB Device Driver (shared with the interrupt). static mut USB_DEVICE: Option> = None; diff --git a/boards/pico/examples/pico_usb_twitchy_mouse.rs b/boards/pico/examples/pico_usb_twitchy_mouse.rs index 76fff72..a160a3a 100644 --- a/boards/pico/examples/pico_usb_twitchy_mouse.rs +++ b/boards/pico/examples/pico_usb_twitchy_mouse.rs @@ -48,7 +48,7 @@ use usbd_hid::hid_class::HIDClass; //// need this to help the ROM bootloader get our code up and running. #[link_section = ".boot2"] #[used] -pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER; +pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER_W25Q080; /// The USB Device Driver (shared with the interrupt). static mut USB_DEVICE: Option> = None; diff --git a/boards/pico_explorer/Cargo.toml b/boards/pico_explorer/Cargo.toml index 7b6d780..a693d47 100644 --- a/boards/pico_explorer/Cargo.toml +++ b/boards/pico_explorer/Cargo.toml @@ -27,5 +27,5 @@ rt = ["cortex-m-rt","rp2040-hal/rt"] display-interface = "0.4.1" panic-halt = "0.2.0" arrayvec = { version="0.7.1", default-features=false } -rp2040-boot2 = { git = "https://github.com/rp-rs/rp2040-boot2-rs", rev = "67400f600b192e950b58df79ddc9b57ff209ef08" } +rp2040-boot2 = "0.2" nb = "1.0.0" diff --git a/boards/pico_explorer/examples/pico_explorer_showcase.rs b/boards/pico_explorer/examples/pico_explorer_showcase.rs index 87bd7e9..1643752 100644 --- a/boards/pico_explorer/examples/pico_explorer_showcase.rs +++ b/boards/pico_explorer/examples/pico_explorer_showcase.rs @@ -18,7 +18,7 @@ use pico_explorer::{hal, pac, Button, PicoExplorer, XOSC_CRYSTAL_FREQ}; #[link_section = ".boot2"] #[used] -pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER; +pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER_W25Q080; // See 4.9.5 from RP2040 datasheet fn calc_temp(adc_value: f32, refv: f64) -> f64 { diff --git a/boards/pico_lipo_16mb/Cargo.toml b/boards/pico_lipo_16mb/Cargo.toml index c4a05d6..0e24538 100644 --- a/boards/pico_lipo_16mb/Cargo.toml +++ b/boards/pico_lipo_16mb/Cargo.toml @@ -19,7 +19,7 @@ embedded-time = "0.12.0" panic-halt= "0.2.0" embedded-hal ="0.2.5" cortex-m-rtic = "0.6.0-alpha.5" -rp2040-boot2 = "0.1.2" +rp2040-boot2 = "0.2" nb = "1.0" diff --git a/boards/pico_lipo_16mb/examples/pico_lipo_16mb_blinky.rs b/boards/pico_lipo_16mb/examples/pico_lipo_16mb_blinky.rs index b5e4318..f2813f6 100644 --- a/boards/pico_lipo_16mb/examples/pico_lipo_16mb_blinky.rs +++ b/boards/pico_lipo_16mb/examples/pico_lipo_16mb_blinky.rs @@ -38,7 +38,7 @@ use pico_lipo_16_mb::hal; //// need this to help the ROM bootloader get our code up and running. #[link_section = ".boot2"] #[used] -pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER; +pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER_W25Q080; /// Entry point to our bare-metal application. /// diff --git a/boards/pro_micro_rp2040/Cargo.toml b/boards/pro_micro_rp2040/Cargo.toml index 3c1833f..750622b 100644 --- a/boards/pro_micro_rp2040/Cargo.toml +++ b/boards/pro_micro_rp2040/Cargo.toml @@ -21,7 +21,7 @@ rt = ["cortex-m-rt", "rp2040-hal/rt"] [dev-dependencies] panic-halt = "0.2.0" -rp2040-boot2 = { git = "https://github.com/rp-rs/rp2040-boot2-rs", rev = "67400f600b192e950b58df79ddc9b57ff209ef08" } +rp2040-boot2 = "0.2" smart-leds = "0.3.0" embedded-time = "0.12.0" nb = "1.0.0" diff --git a/boards/pro_micro_rp2040/examples/pro_micro_rainbow.rs b/boards/pro_micro_rp2040/examples/pro_micro_rainbow.rs index d18ceeb..169e03a 100644 --- a/boards/pro_micro_rp2040/examples/pro_micro_rainbow.rs +++ b/boards/pro_micro_rp2040/examples/pro_micro_rainbow.rs @@ -33,7 +33,7 @@ use ws2812_pio::Ws2812; /// We need this to help the ROM bootloader get our code up and running. #[link_section = ".boot2"] #[used] -pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER; +pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER_W25Q080; /// Entry point to our bare-metal application. /// diff --git a/boards/qt_py_rp2040/Cargo.toml b/boards/qt_py_rp2040/Cargo.toml index ffe9baf..b265960 100644 --- a/boards/qt_py_rp2040/Cargo.toml +++ b/boards/qt_py_rp2040/Cargo.toml @@ -18,7 +18,7 @@ embedded-time = "0.12.0" [dev-dependencies] panic-halt= "0.2.0" embedded-hal ="0.2.5" -rp2040-boot2 = { git = "https://github.com/rp-rs/rp2040-boot2-rs", rev = "d2128ef9875e91e454dd0fb0d747c7439ae0627b" } +rp2040-boot2 = "0.2" smart-leds = "0.3" nb = "1.0.0" pio = { git = "https://github.com/rp-rs/pio-rs.git", branch = "main" } diff --git a/rp2040-hal/Cargo.toml b/rp2040-hal/Cargo.toml index e538450..16f3796 100644 --- a/rp2040-hal/Cargo.toml +++ b/rp2040-hal/Cargo.toml @@ -27,7 +27,7 @@ rand_core = "0.6.3" [dev-dependencies] cortex-m-rt = "0.7" panic-halt = "0.2.0" -rp2040-boot2 = { git = "https://github.com/rp-rs/rp2040-boot2-rs", rev = "67400f600b192e950b58df79ddc9b57ff209ef08" } +rp2040-boot2 = "0.2" hd44780-driver = "0.4.0" pio-proc = { git = "https://github.com/rp-rs/pio-rs.git", branch = "main" } diff --git a/rp2040-hal/examples/adc.rs b/rp2040-hal/examples/adc.rs index 88809d1..5a826f2 100644 --- a/rp2040-hal/examples/adc.rs +++ b/rp2040-hal/examples/adc.rs @@ -34,7 +34,7 @@ use hal::pac; /// need this to help the ROM bootloader get our code up and running. #[link_section = ".boot2"] #[used] -pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER; +pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER_W25Q080; /// External high-speed crystal on the Raspberry Pi Pico board is 12 MHz. Adjust /// if your board has a different frequency diff --git a/rp2040-hal/examples/blinky.rs b/rp2040-hal/examples/blinky.rs index 6cf2f43..0344b16 100644 --- a/rp2040-hal/examples/blinky.rs +++ b/rp2040-hal/examples/blinky.rs @@ -32,7 +32,7 @@ use rp2040_hal::clocks::Clock; // need this to help the ROM bootloader get our code up and running. #[link_section = ".boot2"] #[used] -pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER; +pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER_W25Q080; /// External high-speed crystal on the Raspberry Pi Pico board is 12 MHz. Adjust /// if your board has a different frequency diff --git a/rp2040-hal/examples/gpio_in_out.rs b/rp2040-hal/examples/gpio_in_out.rs index f2aa738..968aa48 100644 --- a/rp2040-hal/examples/gpio_in_out.rs +++ b/rp2040-hal/examples/gpio_in_out.rs @@ -31,7 +31,7 @@ use embedded_hal::digital::v2::OutputPin; /// need this to help the ROM bootloader get our code up and running. #[link_section = ".boot2"] #[used] -pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER; +pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER_W25Q080; /// External high-speed crystal on the Raspberry Pi Pico board is 12 MHz. Adjust /// if your board has a different frequency diff --git a/rp2040-hal/examples/i2c.rs b/rp2040-hal/examples/i2c.rs index 8d401fd..2f3c69e 100644 --- a/rp2040-hal/examples/i2c.rs +++ b/rp2040-hal/examples/i2c.rs @@ -31,7 +31,7 @@ use hal::pac; /// need this to help the ROM bootloader get our code up and running. #[link_section = ".boot2"] #[used] -pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER; +pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER_W25Q080; /// External high-speed crystal on the Raspberry Pi Pico board is 12 MHz. Adjust /// if your board has a different frequency diff --git a/rp2040-hal/examples/lcd_display.rs b/rp2040-hal/examples/lcd_display.rs index bb9fe9c..8db4182 100644 --- a/rp2040-hal/examples/lcd_display.rs +++ b/rp2040-hal/examples/lcd_display.rs @@ -37,7 +37,7 @@ use hal::pac; /// need this to help the ROM bootloader get our code up and running. #[link_section = ".boot2"] #[used] -pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER; +pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER_W25Q080; /// External high-speed crystal on the Raspberry Pi Pico board is 12 MHz. Adjust /// if your board has a different frequency diff --git a/rp2040-hal/examples/pio_blink.rs b/rp2040-hal/examples/pio_blink.rs index 6e2b38d..3c4778e 100644 --- a/rp2040-hal/examples/pio_blink.rs +++ b/rp2040-hal/examples/pio_blink.rs @@ -14,7 +14,7 @@ use rp2040_hal as hal; #[link_section = ".boot2"] #[used] -pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER; +pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER_W25Q080; #[entry] fn main() -> ! { diff --git a/rp2040-hal/examples/pio_proc_blink.rs b/rp2040-hal/examples/pio_proc_blink.rs index 7086e50..d395e2d 100644 --- a/rp2040-hal/examples/pio_proc_blink.rs +++ b/rp2040-hal/examples/pio_proc_blink.rs @@ -14,7 +14,7 @@ use rp2040_hal as hal; #[link_section = ".boot2"] #[used] -pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER; +pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER_W25Q080; #[entry] fn main() -> ! { diff --git a/rp2040-hal/examples/pwm_blink.rs b/rp2040-hal/examples/pwm_blink.rs index ec81a68..9a9864d 100644 --- a/rp2040-hal/examples/pwm_blink.rs +++ b/rp2040-hal/examples/pwm_blink.rs @@ -33,7 +33,7 @@ use hal::pac; //// need this to help the ROM bootloader get our code up and running. #[link_section = ".boot2"] #[used] -pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER; +pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER_W25Q080; /// The minimum PWM value (i.e. LED brightness) we want const LOW: u16 = 0; diff --git a/rp2040-hal/examples/spi.rs b/rp2040-hal/examples/spi.rs index c363aee..3b6b00d 100644 --- a/rp2040-hal/examples/spi.rs +++ b/rp2040-hal/examples/spi.rs @@ -35,7 +35,7 @@ use hal::pac; /// need this to help the ROM bootloader get our code up and running. #[link_section = ".boot2"] #[used] -pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER; +pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER_W25Q080; /// External high-speed crystal on the Raspberry Pi Pico board is 12 MHz. Adjust /// if your board has a different frequency diff --git a/rp2040-hal/examples/uart.rs b/rp2040-hal/examples/uart.rs index e20443e..542c661 100644 --- a/rp2040-hal/examples/uart.rs +++ b/rp2040-hal/examples/uart.rs @@ -34,7 +34,7 @@ use rp2040_hal::clocks::Clock; // need this to help the ROM bootloader get our code up and running. #[link_section = ".boot2"] #[used] -pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER; +pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER_W25Q080; /// External high-speed crystal on the Raspberry Pi Pico board is 12 MHz. Adjust /// if your board has a different frequency diff --git a/rp2040-hal/examples/watchdog.rs b/rp2040-hal/examples/watchdog.rs index 41aae21..848e2ba 100644 --- a/rp2040-hal/examples/watchdog.rs +++ b/rp2040-hal/examples/watchdog.rs @@ -34,7 +34,7 @@ use rp2040_hal::clocks::Clock; // need this to help the ROM bootloader get our code up and running. #[link_section = ".boot2"] #[used] -pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER; +pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER_W25Q080; /// External high-speed crystal on the Raspberry Pi Pico board is 12 MHz. Adjust /// if your board has a different frequency