Skip to content

Commit 8b1f8cd

Browse files
committed
fix formatting
1 parent 665b851 commit 8b1f8cd

File tree

6 files changed

+16
-17
lines changed

6 files changed

+16
-17
lines changed

ports/stm/peripherals/periph.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,4 +136,4 @@ typedef struct {
136136
#define HAS_TRNG 1
137137
#define HAS_BASIC_TIM 1
138138
#include "stm32h7/stm32h750xx/periph.h"
139-
#endif
139+
#endif

ports/stm/peripherals/pins.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,4 +95,4 @@ extern const mp_obj_type_t mcu_pin_type;
9595

9696
#ifdef STM32H750xx
9797
#include "stm32h7/stm32h750xx/pins.h"
98-
#endif
98+
#endif

ports/stm/peripherals/stm32h7/stm32h743xx/clocks.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,4 @@
6969
#endif
7070
#ifndef BOARD_PLL_SOURCE
7171
#define BOARD_PLL_SOURCE (RCC_PLLSOURCE_HSE)
72-
#endif
72+
#endif

ports/stm/peripherals/stm32h7/stm32h750xx/clocks.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,4 @@
8888
#endif
8989
#ifndef BOARD_PLL_SOURCE
9090
#define BOARD_PLL_SOURCE (RCC_PLLSOURCE_HSE)
91-
#endif
91+
#endif

ports/stm/peripherals/stm32h7/stm32h750xx/gpio.c

+12-12
Original file line numberDiff line numberDiff line change
@@ -37,19 +37,19 @@ void stm32_peripherals_gpio_init(void) {
3737
__HAL_RCC_GPIOF_CLK_ENABLE();
3838
__HAL_RCC_GPIOG_CLK_ENABLE();
3939
__HAL_RCC_GPIOH_CLK_ENABLE();
40-
__HAL_RCC_GPIOI_CLK_ENABLE();
40+
__HAL_RCC_GPIOI_CLK_ENABLE();
4141

4242
// Never reset pins
43-
never_reset_pin_number(7, 0); // PH00 OSC32_IN
44-
never_reset_pin_number(7, 1); // PH01 OSC32_OUT
45-
never_reset_pin_number(0, 13); // PA13 SWDIO
46-
never_reset_pin_number(0, 14); // PA14 SWCLK
47-
// qspi flash pins for the Daisy Seed -- TODO ?
48-
never_reset_pin_number(5, 6); // PF06 QSPI IO3
49-
never_reset_pin_number(5, 7); // PF07 QSPI IO2
50-
never_reset_pin_number(5, 8); // PF08 QSPI IO0
51-
never_reset_pin_number(5, 9); // PF09 QSPI IO1
52-
never_reset_pin_number(5, 10); // PF10 QSPI CLK
53-
never_reset_pin_number(6, 6); // PG06 QSPI NCS
43+
never_reset_pin_number(7, 0); // PH00 OSC32_IN
44+
never_reset_pin_number(7, 1); // PH01 OSC32_OUT
45+
never_reset_pin_number(0, 13); // PA13 SWDIO
46+
never_reset_pin_number(0, 14); // PA14 SWCLK
47+
// qspi flash pins for the Daisy Seed -- TODO ?
48+
never_reset_pin_number(5, 6); // PF06 QSPI IO3
49+
never_reset_pin_number(5, 7); // PF07 QSPI IO2
50+
never_reset_pin_number(5, 8); // PF08 QSPI IO0
51+
never_reset_pin_number(5, 9); // PF09 QSPI IO1
52+
never_reset_pin_number(5, 10); // PF10 QSPI CLK
53+
never_reset_pin_number(6, 6); // PG06 QSPI NCS
5454

5555
}

ports/stm/peripherals/stm32h7/stm32h750xx/periph.h

-1
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,3 @@ extern const mcu_periph_obj_t mcu_uart_rx_list[26];
5050
#define TIM_BANK_ARRAY_LEN 14
5151
#define TIM_PIN_ARRAY_LEN 58
5252
extern TIM_TypeDef *mcu_tim_banks[TIM_BANK_ARRAY_LEN];
53-

0 commit comments

Comments
 (0)