Only configure STM32_HSECLK within board.h (#25001)
This commit is contained in:
8
keyboards/keychron/c1_pro_v2/board.h
Normal file
8
keyboards/keychron/c1_pro_v2/board.h
Normal file
@@ -0,0 +1,8 @@
|
||||
// Copyright 2025 @ Keychron (https://www.keychron.com)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
#pragma once
|
||||
|
||||
#include_next <board.h>
|
||||
|
||||
#undef STM32_HSECLK
|
||||
#define STM32_HSECLK 16000000U
|
||||
@@ -18,9 +18,6 @@
|
||||
|
||||
#include_next <mcuconf.h>
|
||||
|
||||
#undef STM32_HSECLK
|
||||
#define STM32_HSECLK 16000000U
|
||||
|
||||
#undef STM32_PLLM_VALUE
|
||||
#define STM32_PLLM_VALUE 8
|
||||
|
||||
|
||||
8
keyboards/keychron/c2_pro_v2/board.h
Normal file
8
keyboards/keychron/c2_pro_v2/board.h
Normal file
@@ -0,0 +1,8 @@
|
||||
// Copyright 2025 @ Keychron (https://www.keychron.com)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
#pragma once
|
||||
|
||||
#include_next <board.h>
|
||||
|
||||
#undef STM32_HSECLK
|
||||
#define STM32_HSECLK 16000000U
|
||||
@@ -18,9 +18,6 @@
|
||||
|
||||
#include_next <mcuconf.h>
|
||||
|
||||
#undef STM32_HSECLK
|
||||
#define STM32_HSECLK 16000000U
|
||||
|
||||
#undef STM32_PLLM_VALUE
|
||||
#define STM32_PLLM_VALUE 8
|
||||
|
||||
|
||||
8
keyboards/keychron/c3_pro/board.h
Normal file
8
keyboards/keychron/c3_pro/board.h
Normal file
@@ -0,0 +1,8 @@
|
||||
// Copyright 2024 @ Keychron (https://www.keychron.com)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
#pragma once
|
||||
|
||||
#include_next <board.h>
|
||||
|
||||
#undef STM32_HSECLK
|
||||
#define STM32_HSECLK 16000000U
|
||||
@@ -18,9 +18,6 @@
|
||||
|
||||
#include_next <mcuconf.h>
|
||||
|
||||
#undef STM32_HSECLK
|
||||
#define STM32_HSECLK 16000000U
|
||||
|
||||
#undef STM32_PLLM_VALUE
|
||||
#define STM32_PLLM_VALUE 8
|
||||
|
||||
|
||||
Reference in New Issue
Block a user