diff --git a/fw16-epd-bsp/Cargo.toml b/fw16-epd-bsp/Cargo.toml index 8c0f36a..0a10c45 100644 --- a/fw16-epd-bsp/Cargo.toml +++ b/fw16-epd-bsp/Cargo.toml @@ -2,7 +2,7 @@ name = "fw16-epd-bsp" version = "0.1.0" authors = ["arthomnix"] -edition = "2021" +edition = "2024" description = "Board Support Package for arthomnix's touchscreen e-paper input module for the Framework 16" license = "MIT" diff --git a/fw16-epd-bsp/src/lib.rs b/fw16-epd-bsp/src/lib.rs index 795dd26..b5002d0 100644 --- a/fw16-epd-bsp/src/lib.rs +++ b/fw16-epd-bsp/src/lib.rs @@ -8,8 +8,8 @@ pub use hal::pac; pub use rp2040_hal::entry; #[cfg(feature = "boot2")] -#[link_section = ".boot2"] -#[no_mangle] +#[unsafe(link_section = ".boot2")] +#[unsafe(no_mangle)] #[used] pub static BOOT2_FIRMWARE: [u8; 256] = rp2040_boot2::BOOT_LOADER_W25Q080;