Add bootloader to CI
This commit is contained in:
@ -13,7 +13,7 @@ use embassy_nrf::{
|
||||
use embedded_storage::nor_flash::{ErrorType, NorFlash, ReadNorFlash};
|
||||
|
||||
pub struct BootLoader {
|
||||
boot: embassy_boot::BootLoader<PAGE_SIZE>,
|
||||
boot: embassy_boot::BootLoader<PAGE_SIZE, 4, 0xFF>,
|
||||
}
|
||||
|
||||
impl BootLoader {
|
||||
|
@ -46,8 +46,5 @@ unsafe fn DefaultHandler(_: i16) -> ! {
|
||||
|
||||
#[panic_handler]
|
||||
fn panic(_info: &core::panic::PanicInfo) -> ! {
|
||||
unsafe {
|
||||
cortex_m::asm::udf();
|
||||
core::hint::unreachable_unchecked();
|
||||
}
|
||||
cortex_m::asm::udf();
|
||||
}
|
||||
|
Reference in New Issue
Block a user