Skip to content

Commit 17f89bb

Browse files
cameledgmarull
authored andcommitted
fw/board_obelix: reset hr pin
Signed-off-by: HaiLong Yang <cameled@outlook.com>
1 parent 74084b9 commit 17f89bb

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/fw/board/boards/board_obelix.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -680,6 +680,11 @@ void board_early_init(void) {
680680

681681
__HAL_SYSCFG_CLEAR_SECURITY();
682682
HAL_EFUSE_Init();
683+
684+
// Reset HR pin, clear IE, PE
685+
hwp_pinmux1->PAD_PA09 &= ~((1 << 6) | (1 << 4));
686+
hwp_pinmux1->PAD_PA20 &= ~((1 << 6) | (1 << 4));
687+
hwp_pinmux1->PAD_PA25 &= ~((1 << 6) | (1 << 4));
683688
}
684689

685690
void board_init(void) {

0 commit comments

Comments
 (0)