Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix LED ordering for nucleo boards #1503

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions drv/user-leds/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -439,11 +439,11 @@ cfg_if::cfg_if! {
(drv_stm32xx_sys_api::Port::G.pin(11), true),
];
} else if #[cfg(any(target_board = "nucleo-h743zi2", target_board = "nucleo-h753zi"))] {
// Nucleo boards: LEDs are on PB0, PB14 and PE1.
// Nucleo boards: LEDs are on PB0, PE1 and PB14.
const LEDS: &[(drv_stm32xx_sys_api::PinSet, bool)] = &[
(drv_stm32xx_sys_api::Port::B.pin(0), false),
(drv_stm32xx_sys_api::Port::B.pin(14), false),
(drv_stm32xx_sys_api::Port::E.pin(1), false),
(drv_stm32xx_sys_api::Port::B.pin(14), false),
];
} else if #[cfg(target_board = "gemini-bu-1")] {
// Gemini bringup SP: LEDs are on PI8, PI9, PI10 and PI11.
Expand Down
Loading