diff options
| author | Joel Challis <git@zvecr.com> | 2025-10-13 06:40:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-13 06:40:45 +0100 |
| commit | f4068dbfb0a5bc8ba0daf4e714ff3cbe89ef92c2 (patch) | |
| tree | 3007957050a8259df41d1d7f399faeeb088be5e7 /platforms | |
| parent | 08405df1505293acb9a4e89bcf98935d78902094 (diff) | |
Update STM32F446 default HSE to 8MHz (#25717)
Diffstat (limited to 'platforms')
3 files changed, 3 insertions, 3 deletions
diff --git a/platforms/chibios/boards/GENERIC_STM32_F446XE/configs/board.h b/platforms/chibios/boards/GENERIC_STM32_F446XE/configs/board.h index f05762c9b4..b06d96b5d7 100644 --- a/platforms/chibios/boards/GENERIC_STM32_F446XE/configs/board.h +++ b/platforms/chibios/boards/GENERIC_STM32_F446XE/configs/board.h | |||
| @@ -15,7 +15,6 @@ | |||
| 15 | */ | 15 | */ |
| 16 | #pragma once | 16 | #pragma once |
| 17 | 17 | ||
| 18 | #define STM32_HSECLK 16000000 | ||
| 19 | // The following is required to disable the pull-down on PA9, when PA9 is used for the keyboard matrix: | 18 | // The following is required to disable the pull-down on PA9, when PA9 is used for the keyboard matrix: |
| 20 | #define BOARD_OTG_NOVBUSSENS | 19 | #define BOARD_OTG_NOVBUSSENS |
| 21 | 20 | ||
diff --git a/platforms/chibios/boards/GENERIC_STM32_F446XE/configs/config.h b/platforms/chibios/boards/GENERIC_STM32_F446XE/configs/config.h index 362327efde..9af5c14d52 100644 --- a/platforms/chibios/boards/GENERIC_STM32_F446XE/configs/config.h +++ b/platforms/chibios/boards/GENERIC_STM32_F446XE/configs/config.h | |||
| @@ -13,6 +13,7 @@ | |||
| 13 | * You should have received a copy of the GNU General Public License | 13 | * You should have received a copy of the GNU General Public License |
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 | */ | 15 | */ |
| 16 | #pragma once | ||
| 16 | 17 | ||
| 17 | #ifndef EARLY_INIT_PERFORM_BOOTLOADER_JUMP | 18 | #ifndef EARLY_INIT_PERFORM_BOOTLOADER_JUMP |
| 18 | # define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE | 19 | # define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE |
diff --git a/platforms/chibios/boards/GENERIC_STM32_F446XE/configs/mcuconf.h b/platforms/chibios/boards/GENERIC_STM32_F446XE/configs/mcuconf.h index 566c146c25..9c5cb82436 100644 --- a/platforms/chibios/boards/GENERIC_STM32_F446XE/configs/mcuconf.h +++ b/platforms/chibios/boards/GENERIC_STM32_F446XE/configs/mcuconf.h | |||
| @@ -48,7 +48,7 @@ | |||
| 48 | #define STM32_CLOCK48_REQUIRED TRUE | 48 | #define STM32_CLOCK48_REQUIRED TRUE |
| 49 | #define STM32_SW STM32_SW_PLL | 49 | #define STM32_SW STM32_SW_PLL |
| 50 | #define STM32_PLLSRC STM32_PLLSRC_HSE | 50 | #define STM32_PLLSRC STM32_PLLSRC_HSE |
| 51 | #define STM32_PLLM_VALUE 8 | 51 | #define STM32_PLLM_VALUE 4 |
| 52 | #define STM32_PLLN_VALUE 180 | 52 | #define STM32_PLLN_VALUE 180 |
| 53 | #define STM32_PLLP_VALUE 2 | 53 | #define STM32_PLLP_VALUE 2 |
| 54 | #define STM32_PLLQ_VALUE 7 | 54 | #define STM32_PLLQ_VALUE 7 |
| @@ -58,7 +58,7 @@ | |||
| 58 | #define STM32_PLLI2SP_VALUE 4 | 58 | #define STM32_PLLI2SP_VALUE 4 |
| 59 | #define STM32_PLLI2SQ_VALUE 4 | 59 | #define STM32_PLLI2SQ_VALUE 4 |
| 60 | #define STM32_PLLSAIN_VALUE 192 | 60 | #define STM32_PLLSAIN_VALUE 192 |
| 61 | #define STM32_PLLSAIM_VALUE 8 | 61 | #define STM32_PLLSAIM_VALUE 4 |
| 62 | #define STM32_PLLSAIP_VALUE 8 | 62 | #define STM32_PLLSAIP_VALUE 8 |
| 63 | #define STM32_PLLSAIQ_VALUE 4 | 63 | #define STM32_PLLSAIQ_VALUE 4 |
| 64 | #define STM32_HPRE STM32_HPRE_DIV1 | 64 | #define STM32_HPRE STM32_HPRE_DIV1 |
