File tree Expand file tree Collapse file tree 5 files changed +15
-3
lines changed Expand file tree Collapse file tree 5 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 12
12
#define MICROPY_HW_CLK_PLLP (RCC_PLLP_DIV7)
13
13
#define MICROPY_HW_CLK_PLLR (RCC_PLLR_DIV2)
14
14
#define MICROPY_HW_CLK_PLLQ (RCC_PLLQ_DIV4)
15
-
16
15
#define MICROPY_HW_FLASH_LATENCY FLASH_LATENCY_4
17
16
17
+ // The board has an external 32kHz crystal
18
+ #define MICROPY_HW_RTC_USE_LSE (1)
19
+
18
20
// USART1 config connected to ST-Link
19
21
#define MICROPY_HW_UART1_TX (pin_B6)
20
22
#define MICROPY_HW_UART1_RX (pin_B7)
Original file line number Diff line number Diff line change @@ -16,9 +16,11 @@ void LIMIFROG_board_early_init(void);
16
16
#define MICROPY_HW_CLK_PLLP (RCC_PLLP_DIV7)
17
17
#define MICROPY_HW_CLK_PLLR (RCC_PLLR_DIV2)
18
18
#define MICROPY_HW_CLK_PLLQ (RCC_PLLQ_DIV2)
19
-
20
19
#define MICROPY_HW_FLASH_LATENCY FLASH_LATENCY_4
21
20
21
+ // The board has an external 32kHz crystal
22
+ #define MICROPY_HW_RTC_USE_LSE (1)
23
+
22
24
// USART config
23
25
#define MICROPY_HW_UART3_TX (pin_C10)
24
26
#define MICROPY_HW_UART3_RX (pin_C11)
Original file line number Diff line number Diff line change 25
25
#define MICROPY_HW_CLK_PLLP (7)
26
26
#define MICROPY_HW_CLK_PLLQ (2)
27
27
28
+ // The board has an external 32kHz crystal
29
+ #define MICROPY_HW_RTC_USE_LSE (1)
30
+
28
31
// UART config
29
32
#define MICROPY_HW_UART1_TX (pin_B6)
30
33
#define MICROPY_HW_UART1_RX (pin_B7)
Original file line number Diff line number Diff line change 15
15
#define MICROPY_HW_CLK_PLLQ (RCC_PLLQ_DIV2)
16
16
#define MICROPY_HW_CLK_PLLR (RCC_PLLR_DIV2)
17
17
18
+ // The board has an external 32kHz crystal
19
+ #define MICROPY_HW_RTC_USE_LSE (1)
20
+
18
21
// UART config
19
22
#define MICROPY_HW_UART2_TX (pin_A2)
20
23
#define MICROPY_HW_UART2_RX (pin_A3)
Original file line number Diff line number Diff line change 14
14
#define MICROPY_HW_CLK_PLLP (RCC_PLLP_DIV7)
15
15
#define MICROPY_HW_CLK_PLLR (RCC_PLLR_DIV2)
16
16
#define MICROPY_HW_CLK_PLLQ (RCC_PLLQ_DIV2)
17
-
18
17
#define MICROPY_HW_FLASH_LATENCY FLASH_LATENCY_4
19
18
19
+ // The board has an external 32kHz crystal
20
+ #define MICROPY_HW_RTC_USE_LSE (1)
21
+
20
22
// USART config
21
23
#define MICROPY_HW_UART2_TX (pin_A2)
22
24
#define MICROPY_HW_UART2_RX (pin_D6)
You can’t perform that action at this time.
0 commit comments