fix precursor target

This commit is contained in:
bunnie 2025-12-06 20:44:20 +08:00
parent 66272a82e4
commit 03d318d2a9
2 changed files with 2 additions and 0 deletions

View file

@ -94,6 +94,7 @@ use core::convert::TryInto;
use core::{mem, ptr, slice};
use asm::*;
#[cfg(feature = "bao1x")]
use bao1x_hal::board::{BOOKEND_END, BOOKEND_START};
use bootconfig::BootConfig;
use consts::*;

View file

@ -43,6 +43,7 @@ pub fn phase_2(cfg: &mut BootConfig, env_variables: EnvVariables) {
for tag in args.iter() {
let mut env_header = crate::env::EnvHeader::default();
#[allow(unused_mut)]
let mut pid_env = env_variables.clone();
#[cfg(feature = "bao1x")]