Skip to content

Commit

Permalink
feat(stm32h7): bump hal version
Browse files Browse the repository at this point in the history
Signed-off-by: HaoboGu <[email protected]>
  • Loading branch information
HaoboGu committed Nov 18, 2023
1 parent 537b9aa commit efd37ff
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 13 deletions.
13 changes: 3 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion boards/stm32h7/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ rmk = { version = "0.0.5", path = "../../rmk", features = [
"eeprom",
"col2row",
] }
stm32h7xx-hal = { version = "0.14.0", features = [
stm32h7xx-hal = { version = "0.15.1", features = [
"stm32h7b0",
"rt",
"log-rtt",
Expand Down
4 changes: 2 additions & 2 deletions boards/stm32h7/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ mod app {
let gpiob = dp.GPIOB.split(ccdr.peripheral.GPIOB);

// USB config
let usb_dm = gpioa.pa11.into_alternate();
let usb_dp = gpioa.pa12.into_alternate();
let usb_dm = gpioa.pa11.into_analog();
let usb_dp = gpioa.pa12.into_analog();
let usb: USB1 = USB1::new(
dp.OTG1_HS_GLOBAL,
dp.OTG1_HS_DEVICE,
Expand Down

0 comments on commit efd37ff

Please sign in to comment.