Skip to content

Commit 2485858

Browse files
committed
fmpi2c timings
1 parent 0a088e2 commit 2485858

File tree

8 files changed

+374
-205
lines changed

8 files changed

+374
-205
lines changed

.zed/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"rust-analyzer": {
44
"initialization_options": {
55
"cargo": {
6-
"features": ["defmt", "rtic1", "stm32f411"]
6+
"features": ["defmt", "rtic1", "stm32f446"]
77
},
88
"check": {
99
"allTargets": false,

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ dsihost = []
503503
eth = []
504504
fmc = []
505505
fsmc = []
506-
fmpi2c1 = []
506+
fmpi2c1 = ["dep:micromath"]
507507
gpiod = []
508508
gpioe = []
509509
gpiof = []

examples/display-touch.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//!
1+
//!
22
//! Demonstrates use of I2C bus to configure and use FT6x06 touchscreen controller
33
//!
44
//! Hardware Required: STM32F412G-DISCO board or STM32F413H-DISCO board
@@ -32,7 +32,7 @@ use embedded_graphics_07::{
3232
};
3333

3434
#[cfg(feature = "stm32f413")]
35-
use stm32f4xx_hal::fmpi2c::FMPI2c;
35+
use stm32f4xx_hal::fmpi2c::I2c;
3636
#[cfg(feature = "stm32f412")]
3737
use stm32f4xx_hal::i2c::I2c;
3838

0 commit comments

Comments
 (0)