firmware for my Touchscreen E-Paper Input Module for Framework Laptop 16
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

eepy-launcher: migrate to rust 2024

+3 -3
+1 -1
eepy-launcher/Cargo.toml
··· 1 1 [package] 2 2 name = "eepy-launcher" 3 3 version = "0.1.0" 4 - edition = "2021" 4 + edition = "2024" 5 5 6 6 [dependencies] 7 7 eepy-sys = { path = "../eepy-sys", features = ["critical-section-impl"] }
+2 -2
eepy-launcher/src/serial.rs
··· 49 49 .map(|(s, _e)| s) 50 50 } 51 51 52 - unsafe fn write_flash(buf: &[u8], slot: u8, page: usize) { 52 + unsafe fn write_flash(buf: &[u8], slot: u8, page: usize) { unsafe { 53 53 erase_and_program((slot as u32) * 512 * 1024 + (page as u32) * 4096, buf); 54 - } 54 + }} 55 55 56 56 fn write_all(serial: &mut SerialPort<UsbBus>, mut buf: &[u8]) { 57 57 while !buf.is_empty() {