fixes
ci / Check build (push) Has been cancelled
ci / Check formatting (push) Has been cancelled
ci / Check Documentation Build (push) Has been cancelled
ci / Clippy (push) Has been cancelled
ci / Check build (pull_request) Has been cancelled
ci / Check formatting (pull_request) Has been cancelled
ci / Check Documentation Build (pull_request) Has been cancelled
ci / Clippy (pull_request) Has been cancelled
ci / Check build (push) Has been cancelled
ci / Check formatting (push) Has been cancelled
ci / Check Documentation Build (push) Has been cancelled
ci / Clippy (push) Has been cancelled
ci / Check build (pull_request) Has been cancelled
ci / Check formatting (pull_request) Has been cancelled
ci / Check Documentation Build (pull_request) Has been cancelled
ci / Clippy (pull_request) Has been cancelled
This commit is contained in:
@@ -28,7 +28,7 @@ fn entry_point() -> ! {
|
||||
main();
|
||||
}
|
||||
|
||||
const ERASE_PROGRAM_READ_TEST: bool = true;
|
||||
const ERASE_PROGRAM_READ_TEST: bool = false;
|
||||
|
||||
#[embassy_executor::main]
|
||||
async fn main(_spawner: Spawner) -> ! {
|
||||
@@ -91,8 +91,14 @@ async fn main(_spawner: Spawner) -> ! {
|
||||
|
||||
let qspi_io_mode = qspi.into_io_mode(false);
|
||||
|
||||
let mut spansion_qspi =
|
||||
qspi_spansion::QspiSpansionS25Fl256SIoMode::new(qspi_io_mode, true, Some(u2::ZERO), true);
|
||||
let mut spansion_qspi = qspi_spansion::QspiSpansionS25Fl256SIoMode::new(
|
||||
qspi_io_mode,
|
||||
qspi_spansion::Config {
|
||||
set_quad_bit_if_necessary: true,
|
||||
latency_config: Some(u2::ZERO),
|
||||
clear_write_protection: true,
|
||||
},
|
||||
);
|
||||
|
||||
let rdid = spansion_qspi.read_rdid_extended();
|
||||
info!(
|
||||
|
||||
@@ -98,8 +98,14 @@ fn main() -> ! {
|
||||
|
||||
let qspi_io_mode = qspi.into_io_mode(false);
|
||||
|
||||
let mut spansion_qspi =
|
||||
qspi_spansion::QspiSpansionS25Fl256SIoMode::new(qspi_io_mode, true, Some(u2::ZERO));
|
||||
let mut spansion_qspi = qspi_spansion::QspiSpansionS25Fl256SIoMode::new(
|
||||
qspi_io_mode,
|
||||
qspi_spansion::Config {
|
||||
set_quad_bit_if_necessary: true,
|
||||
latency_config: Some(u2::ZERO),
|
||||
clear_write_protection: true,
|
||||
},
|
||||
);
|
||||
|
||||
let mut boot_bin_slice = unsafe {
|
||||
core::slice::from_raw_parts(BOOT_BIN_BASE_ADDR as *const _, BootHeader::FIXED_SIZED_PART)
|
||||
|
||||
Reference in New Issue
Block a user