From d9bc0efc06864f9f92726f75f0f26593f47dbbaa Mon Sep 17 00:00:00 2001 From: Richard Barnes Date: Sun, 14 Sep 2025 08:09:14 -1000 Subject: [PATCH 1/6] Add EEPROM experiment --- ui-stm32/src/board/ev13.rs | 7 +++++++ ui-stm32/src/main.rs | 42 +++++++++++++++++++++++++++++++++++++- 2 files changed, 48 insertions(+), 1 deletion(-) diff --git a/ui-stm32/src/board/ev13.rs b/ui-stm32/src/board/ev13.rs index 7a6ed93..f806fb6 100644 --- a/ui-stm32/src/board/ev13.rs +++ b/ui-stm32/src/board/ev13.rs @@ -4,6 +4,7 @@ use embassy_stm32::{ bind_interrupts, exti::ExtiInput, gpio::{Input, Level, Output, Pull, Speed}, + i2c::{mode::Master, I2c}, mode::{Async, Blocking}, peripherals, spi::{Spi, Word}, @@ -103,6 +104,8 @@ pub struct Board { status_led: StatusLed, screen: Ili9341>, net_tx: NetTx>, + pub i2s: I2S<'static, u8>, + pub i2c: I2c<'static, Blocking, Master>, pub button_a: Option