1
0

Update STM32F446 default HSE to 8MHz (#25717)

This commit is contained in:
Joel Challis
2025-10-13 06:40:45 +01:00
committed by GitHub
parent 08405df150
commit f4068dbfb0
12 changed files with 71 additions and 12 deletions

View File

@@ -4,6 +4,5 @@
#include_next <board.h>
#undef STM32_HSECLK
#define STM32_HSECLK 8000000U
// Configure clocks to use onboard STLINKs MCO as HSE is not populated by default
#define STM32_HSE_BYPASS

View File

@@ -4,12 +4,6 @@
#include_next <mcuconf.h>
#undef STM32_PLLM_VALUE
#define STM32_PLLM_VALUE 4
#undef STM32_PLLSAIM_VALUE
#define STM32_PLLSAIM_VALUE 4
#undef STM32_ADC_USE_ADC1
#define STM32_ADC_USE_ADC1 TRUE

View File

@@ -1,4 +1,4 @@
# STM32 Nucleo-L432 onekey
# STM32 Nucleo-F446 onekey
To trigger keypress, short together pins *A0* and *A1*. Note that the pin numbering is relative to the MCU, so that A0 and A1 refer to PA0 and PA1 on the MCU (which are also labelled A0 and A1 on the board, but this isn't true for the other PAx pins).