Skip to content

Commit

Permalink
fix build on windows and a missing conditional use statement
Browse files Browse the repository at this point in the history
  • Loading branch information
lzrd committed Feb 9, 2025
1 parent 165bbb4 commit bb29475
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion drv/lpc55-swd/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ fn prepare_endoscope() -> Result<(), anyhow::Error> {
)?;
writeln!(
&mut file,
"const ENDOSCOPE_BYTES: &[u8] = include_bytes!(\"{}\");",
"const ENDOSCOPE_BYTES: &[u8] = include_bytes!(r#\"{}\"#);",
bin_path.to_str().unwrap()
)?;
drop(file);
Expand Down
2 changes: 2 additions & 0 deletions drv/lpc55-swd/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ use drv_lpc55_spi as spi_core;
use drv_lpc55_syscon_api::{Peripheral, Syscon};
use drv_sp_ctrl_api::SpCtrlError;
use endoscope_abi::Shared;
#[cfg(not(feature = "enable_ext_sp_reset"))]
use idol_runtime::ClientError;
use idol_runtime::{
LeaseBufReader, LeaseBufWriter, Leased, LenLimit, NotificationHandler,
RequestError, R, W,
Expand Down

0 comments on commit bb29475

Please sign in to comment.