Skip to content

Commit

Permalink
Fix Alternate for USB pins in BSP for boards that use SAMD51 (#661)
Browse files Browse the repository at this point in the history
* Fix Alternate for USB pins on boards that use SAMD51

* Update changelogs
  • Loading branch information
jboynes authored Jan 14, 2023
1 parent 61ffa08 commit 7d85efd
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 8 deletions.
2 changes: 2 additions & 0 deletions boards/feather_m4/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Unreleased

- Use correct alternate for USB (#661)

# v0.10.1

- Update to `atsamd-hal` version `0.15.1`
Expand Down
4 changes: 2 additions & 2 deletions boards/feather_m4/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,14 +155,14 @@ hal::bsp_pins!(
/// The USB D- pad
name: usb_dm,
aliases: {
AlternateG: UsbDm
AlternateH: UsbDm
}
}
PA25 {
/// The USB D+ pad
name: usb_dp,
aliases: {
AlternateG: UsbDp
AlternateH: UsbDp
}
}
);
Expand Down
1 change: 1 addition & 0 deletions boards/grand_central_m4/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Unreleased

- Use correct alternate for USB (#661)
- update to `atsamd-hal-0.15` (v2 drivers of peripherals and removal of deprecated things)
- correction to the USB clock in the bsp convenience function

Expand Down
4 changes: 2 additions & 2 deletions boards/grand_central_m4/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -466,14 +466,14 @@ hal::bsp_pins!(
/// The USB D- pad
name: usb_dm
aliases: {
AlternateG: UsbDm,
AlternateH: UsbDm,
}
}
PA25 {
/// The USB D+ pad
name: usb_dp
aliases: {
AlternateG: UsbDp,
AlternateH: UsbDp,
}
}
);
Expand Down
1 change: 1 addition & 0 deletions boards/metro_m4/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Unreleased

- Use correct alternate for USB (#661)
- Correction to the clock in the usb convenience function
- Add aliases for A6 and A7.

Expand Down
4 changes: 2 additions & 2 deletions boards/metro_m4/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -221,15 +221,15 @@ hal::bsp_pins!(
/// The USB D- pad
name: usb_dm
aliases: {
AlternateG: UsbDm
AlternateH: UsbDm
}

}
PA25 {
/// The USB D+ pad
name: usb_dp
aliases: {
AlternateG: UsbDp
AlternateH: UsbDp
}

}
Expand Down
2 changes: 2 additions & 0 deletions boards/pyportal/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Unreleased

- Use correct alternate for USB (#661)

# v0.10.0

- update to `atsamd-hal` to 0.15.1 and `cortex-m-rt` to 0.7.1
Expand Down
4 changes: 2 additions & 2 deletions boards/pyportal/src/pins.rs
Original file line number Diff line number Diff line change
Expand Up @@ -333,15 +333,15 @@ hal::bsp_pins!(
/// The USB D- pad
name: usb_dm
aliases: {
AlternateG: UsbDm,
AlternateH: UsbDm,
Reset: UsbDmReset,
}
}
PA25 {
/// The USB D+ pad
name: usb_dp
aliases: {
AlternateG: UsbDp,
AlternateH: UsbDp,
Reset: UsbDpReset,
}
}
Expand Down

0 comments on commit 7d85efd

Please sign in to comment.