Only configure STM32_HSECLK within board.h (#25001)
				
					
				
			This commit is contained in:
		
							parent
							
								
									21c1fd5e5b
								
							
						
					
					
						commit
						67934546ea
					
				
					 35 changed files with 140 additions and 122 deletions
				
			
		| 
						 | 
					@ -1,7 +1,8 @@
 | 
				
			||||||
// Copyright 2022 Martin Arnstad (@arnstadm)
 | 
					// Copyright 2022 Martin Arnstad (@arnstadm)
 | 
				
			||||||
// SPDX-License-Identifier: GPL-2.0-or-later
 | 
					// SPDX-License-Identifier: GPL-2.0-or-later
 | 
				
			||||||
 | 
					 | 
				
			||||||
#pragma once
 | 
					#pragma once
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Set HSE clock since it differs from F411 default */
 | 
					#include_next <board.h>
 | 
				
			||||||
#define STM32_HSECLK 16000000
 | 
					
 | 
				
			||||||
 | 
					#undef STM32_HSECLK
 | 
				
			||||||
 | 
					#define STM32_HSECLK 16000000U
 | 
				
			||||||
| 
						 | 
					@ -1,23 +0,0 @@
 | 
				
			||||||
// Copyright 2022 Martin Arnstad (@arnstadm)
 | 
					 | 
				
			||||||
// SPDX-License-Identifier: GPL-2.0-or-later
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#pragma once
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
/*
 | 
					 | 
				
			||||||
 * Feature disable options
 | 
					 | 
				
			||||||
 *  These options are also useful to firmware size reduction.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
/* disable debug print */
 | 
					 | 
				
			||||||
//#define NO_DEBUG
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
/* disable print */
 | 
					 | 
				
			||||||
//#define NO_PRINT
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
/* disable action features */
 | 
					 | 
				
			||||||
//#define NO_ACTION_LAYER
 | 
					 | 
				
			||||||
//#define NO_ACTION_TAPPING
 | 
					 | 
				
			||||||
//#define NO_ACTION_ONESHOT
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
/* Set HSE clock since it differs from F411 default */
 | 
					 | 
				
			||||||
#define STM32_HSECLK 16000000
 | 
					 | 
				
			||||||
							
								
								
									
										8
									
								
								keyboards/ibm/model_m_4th_gen/overnumpad_1xb/board.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								keyboards/ibm/model_m_4th_gen/overnumpad_1xb/board.h
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,8 @@
 | 
				
			||||||
 | 
					// Copyright 2020 Purdea Andrei
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0-or-later
 | 
				
			||||||
 | 
					#pragma once
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include_next <board.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#undef STM32_HSECLK
 | 
				
			||||||
 | 
					#define STM32_HSECLK 16000000U
 | 
				
			||||||
| 
						 | 
					@ -21,8 +21,6 @@
 | 
				
			||||||
#define SERIAL_NUMBER DEF_SERIAL_NUMBER
 | 
					#define SERIAL_NUMBER DEF_SERIAL_NUMBER
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define STM32_HSECLK 16000000
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#define SOLENOID_PIN B5
 | 
					#define SOLENOID_PIN B5
 | 
				
			||||||
#define HAPTIC_ENABLE_PIN C13
 | 
					#define HAPTIC_ENABLE_PIN C13
 | 
				
			||||||
#define SOLENOID_DEFAULT_DWELL 20
 | 
					#define SOLENOID_DEFAULT_DWELL 20
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										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>
 | 
					#include_next <mcuconf.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#undef STM32_HSECLK
 | 
					 | 
				
			||||||
#define STM32_HSECLK 16000000U
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#undef STM32_PLLM_VALUE
 | 
					#undef STM32_PLLM_VALUE
 | 
				
			||||||
#define STM32_PLLM_VALUE 8
 | 
					#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>
 | 
					#include_next <mcuconf.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#undef STM32_HSECLK
 | 
					 | 
				
			||||||
#define STM32_HSECLK 16000000U
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#undef STM32_PLLM_VALUE
 | 
					#undef STM32_PLLM_VALUE
 | 
				
			||||||
#define STM32_PLLM_VALUE 8
 | 
					#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>
 | 
					#include_next <mcuconf.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#undef STM32_HSECLK
 | 
					 | 
				
			||||||
#define STM32_HSECLK 16000000U
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#undef STM32_PLLM_VALUE
 | 
					#undef STM32_PLLM_VALUE
 | 
				
			||||||
#define STM32_PLLM_VALUE 8
 | 
					#define STM32_PLLM_VALUE 8
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										8
									
								
								keyboards/neson_design/810e/board.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								keyboards/neson_design/810e/board.h
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,8 @@
 | 
				
			||||||
 | 
					// Copyright 2024 astro
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0-or-later
 | 
				
			||||||
 | 
					#pragma once
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include_next <board.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#undef STM32_HSECLK
 | 
				
			||||||
 | 
					#define STM32_HSECLK 16000000U
 | 
				
			||||||
| 
						 | 
					@ -1,21 +0,0 @@
 | 
				
			||||||
/**
 | 
					 | 
				
			||||||
 * Copyright 2024 astro
 | 
					 | 
				
			||||||
 *
 | 
					 | 
				
			||||||
 * This program is free software: you can redistribute it and/or modify
 | 
					 | 
				
			||||||
 * it under the terms of the GNU General Public License as published by
 | 
					 | 
				
			||||||
 * the Free Software Foundation, either version 2 of the License, or
 | 
					 | 
				
			||||||
 * (at your option) any later version.
 | 
					 | 
				
			||||||
 *
 | 
					 | 
				
			||||||
 * This program is distributed in the hope that it will be useful,
 | 
					 | 
				
			||||||
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
					 | 
				
			||||||
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | 
					 | 
				
			||||||
 * GNU General Public License for more details.
 | 
					 | 
				
			||||||
 *
 | 
					 | 
				
			||||||
 * You should have received a copy of the GNU General Public License
 | 
					 | 
				
			||||||
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#pragma once
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#define BOARD_OTG_NOVBUSSENS 1
 | 
					 | 
				
			||||||
#define STM32_HSECLK 16000000U
 | 
					 | 
				
			||||||
							
								
								
									
										8
									
								
								keyboards/nix_studio/lilith/board.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								keyboards/nix_studio/lilith/board.h
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,8 @@
 | 
				
			||||||
 | 
					// Copyright 2022 Martin Arnstad (@arnstadm)
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0-or-later
 | 
				
			||||||
 | 
					#pragma once
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include_next <board.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#undef STM32_HSECLK
 | 
				
			||||||
 | 
					#define STM32_HSECLK 16000000U
 | 
				
			||||||
							
								
								
									
										8
									
								
								keyboards/teleport/native/board.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								keyboards/teleport/native/board.h
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,8 @@
 | 
				
			||||||
 | 
					// Copyright 2022 Moritz Plattner
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0-or-later
 | 
				
			||||||
 | 
					#pragma once
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include_next <board.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#undef STM32_HSECLK
 | 
				
			||||||
 | 
					#define STM32_HSECLK 16000000U
 | 
				
			||||||
| 
						 | 
					@ -67,6 +67,3 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
				
			||||||
#ifdef ENABLE_RGB_MATRIX_TYPING_HEATMAP
 | 
					#ifdef ENABLE_RGB_MATRIX_TYPING_HEATMAP
 | 
				
			||||||
    #define RGB_MATRIX_TYPING_HEATMAP_SLIM
 | 
					    #define RGB_MATRIX_TYPING_HEATMAP_SLIM
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					 | 
				
			||||||
/* Set HSE clock since it differs from F411 default */
 | 
					 | 
				
			||||||
#define STM32_HSECLK 16000000
 | 
					 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,8 @@
 | 
				
			||||||
 | 
					// Copyright 2020 Purdea Andrei
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0-or-later
 | 
				
			||||||
 | 
					#pragma once
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include_next <board.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#undef STM32_HSECLK
 | 
				
			||||||
 | 
					#define STM32_HSECLK 16000000U
 | 
				
			||||||
| 
						 | 
					@ -21,8 +21,6 @@
 | 
				
			||||||
#define SERIAL_NUMBER DEF_SERIAL_NUMBER
 | 
					#define SERIAL_NUMBER DEF_SERIAL_NUMBER
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define STM32_HSECLK 16000000
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#define SOLENOID_PIN B5
 | 
					#define SOLENOID_PIN B5
 | 
				
			||||||
#define HAPTIC_ENABLE_PIN C13
 | 
					#define HAPTIC_ENABLE_PIN C13
 | 
				
			||||||
#define SOLENOID_DEFAULT_DWELL 20
 | 
					#define SOLENOID_DEFAULT_DWELL 20
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,8 @@
 | 
				
			||||||
 | 
					// Copyright 2020 Purdea Andrei
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0-or-later
 | 
				
			||||||
 | 
					#pragma once
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include_next <board.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#undef STM32_HSECLK
 | 
				
			||||||
 | 
					#define STM32_HSECLK 16000000U
 | 
				
			||||||
| 
						 | 
					@ -21,8 +21,6 @@
 | 
				
			||||||
#define SERIAL_NUMBER DEF_SERIAL_NUMBER
 | 
					#define SERIAL_NUMBER DEF_SERIAL_NUMBER
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define STM32_HSECLK 16000000
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#define SOLENOID_PIN B5
 | 
					#define SOLENOID_PIN B5
 | 
				
			||||||
#define HAPTIC_ENABLE_PIN C13
 | 
					#define HAPTIC_ENABLE_PIN C13
 | 
				
			||||||
#define SOLENOID_DEFAULT_DWELL 20
 | 
					#define SOLENOID_DEFAULT_DWELL 20
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										8
									
								
								keyboards/unicomp/pc122/overnumpad_1xb/board.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								keyboards/unicomp/pc122/overnumpad_1xb/board.h
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,8 @@
 | 
				
			||||||
 | 
					// Copyright 2020 Purdea Andrei
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0-or-later
 | 
				
			||||||
 | 
					#pragma once
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include_next <board.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#undef STM32_HSECLK
 | 
				
			||||||
 | 
					#define STM32_HSECLK 16000000U
 | 
				
			||||||
| 
						 | 
					@ -21,8 +21,6 @@
 | 
				
			||||||
#define SERIAL_NUMBER DEF_SERIAL_NUMBER
 | 
					#define SERIAL_NUMBER DEF_SERIAL_NUMBER
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define STM32_HSECLK 16000000
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#define SOLENOID_PIN B5
 | 
					#define SOLENOID_PIN B5
 | 
				
			||||||
#define HAPTIC_ENABLE_PIN C13
 | 
					#define HAPTIC_ENABLE_PIN C13
 | 
				
			||||||
#define SOLENOID_DEFAULT_DWELL 20
 | 
					#define SOLENOID_DEFAULT_DWELL 20
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,8 @@
 | 
				
			||||||
 | 
					// Copyright 2020 Purdea Andrei
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0-or-later
 | 
				
			||||||
 | 
					#pragma once
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include_next <board.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#undef STM32_HSECLK
 | 
				
			||||||
 | 
					#define STM32_HSECLK 16000000U
 | 
				
			||||||
| 
						 | 
					@ -21,8 +21,6 @@
 | 
				
			||||||
#define SERIAL_NUMBER DEF_SERIAL_NUMBER
 | 
					#define SERIAL_NUMBER DEF_SERIAL_NUMBER
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define STM32_HSECLK 16000000
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#define SOLENOID_PIN B5
 | 
					#define SOLENOID_PIN B5
 | 
				
			||||||
#define HAPTIC_ENABLE_PIN C13
 | 
					#define HAPTIC_ENABLE_PIN C13
 | 
				
			||||||
#define SOLENOID_DEFAULT_DWELL 20
 | 
					#define SOLENOID_DEFAULT_DWELL 20
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,8 @@
 | 
				
			||||||
 | 
					// Copyright 2020 Purdea Andrei
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0-or-later
 | 
				
			||||||
 | 
					#pragma once
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include_next <board.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#undef STM32_HSECLK
 | 
				
			||||||
 | 
					#define STM32_HSECLK 16000000U
 | 
				
			||||||
| 
						 | 
					@ -21,8 +21,6 @@
 | 
				
			||||||
#define SERIAL_NUMBER DEF_SERIAL_NUMBER
 | 
					#define SERIAL_NUMBER DEF_SERIAL_NUMBER
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define STM32_HSECLK 16000000
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#define SOLENOID_PIN B5
 | 
					#define SOLENOID_PIN B5
 | 
				
			||||||
#define HAPTIC_ENABLE_PIN C13
 | 
					#define HAPTIC_ENABLE_PIN C13
 | 
				
			||||||
#define SOLENOID_DEFAULT_DWELL 20
 | 
					#define SOLENOID_DEFAULT_DWELL 20
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										8
									
								
								keyboards/werk_technica/one/board.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								keyboards/werk_technica/one/board.h
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,8 @@
 | 
				
			||||||
 | 
					// Copyright 2022 QMK
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0-or-later
 | 
				
			||||||
 | 
					#pragma once
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include_next <board.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#undef STM32_HSECLK
 | 
				
			||||||
 | 
					#define STM32_HSECLK 16000000U
 | 
				
			||||||
| 
						 | 
					@ -1,7 +0,0 @@
 | 
				
			||||||
// Copyright 2022 QMK
 | 
					 | 
				
			||||||
// SPDX-License-Identifier: GPL-2.0-or-later
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#pragma once
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
/* Set HSE clock since it differs from F411 default */
 | 
					 | 
				
			||||||
#define STM32_HSECLK 16000000
 | 
					 | 
				
			||||||
							
								
								
									
										8
									
								
								keyboards/xelus/rs108/board.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								keyboards/xelus/rs108/board.h
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,8 @@
 | 
				
			||||||
 | 
					// Copyright 2022 Harrison Chan (Xelus)
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0-or-later
 | 
				
			||||||
 | 
					#pragma once
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include_next <board.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#undef STM32_HSECLK
 | 
				
			||||||
 | 
					#define STM32_HSECLK 16000000U
 | 
				
			||||||
| 
						 | 
					@ -28,6 +28,3 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Hardware Defines
 | 
					// Hardware Defines
 | 
				
			||||||
#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
 | 
					#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
 | 
				
			||||||
 | 
					 | 
				
			||||||
// HSE CLK
 | 
					 | 
				
			||||||
#define STM32_HSECLK 16000000
 | 
					 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										8
									
								
								keyboards/xelus/rs60/rev2_0/board.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								keyboards/xelus/rs60/rev2_0/board.h
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,8 @@
 | 
				
			||||||
 | 
					// Copyright 2022 Harrison Chan (Xelus)
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0-or-later
 | 
				
			||||||
 | 
					#pragma once
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include_next <board.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#undef STM32_HSECLK
 | 
				
			||||||
 | 
					#define STM32_HSECLK 16000000U
 | 
				
			||||||
| 
						 | 
					@ -28,6 +28,3 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Hardware Defines
 | 
					// Hardware Defines
 | 
				
			||||||
#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
 | 
					#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
 | 
				
			||||||
 | 
					 | 
				
			||||||
// HSE CLK
 | 
					 | 
				
			||||||
#define STM32_HSECLK 16000000
 | 
					 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										8
									
								
								keyboards/xelus/valor_frl_tkl/rev2_0/board.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								keyboards/xelus/valor_frl_tkl/rev2_0/board.h
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,8 @@
 | 
				
			||||||
 | 
					// Copyright 2022 Harrison Chan (Xelus)
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0-or-later
 | 
				
			||||||
 | 
					#pragma once
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include_next <board.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#undef STM32_HSECLK
 | 
				
			||||||
 | 
					#define STM32_HSECLK 16000000U
 | 
				
			||||||
| 
						 | 
					@ -1,19 +0,0 @@
 | 
				
			||||||
/* Copyright 2022 Harrison Chan (Xelus)
 | 
					 | 
				
			||||||
 *
 | 
					 | 
				
			||||||
 * This program is free software: you can redistribute it and/or modify
 | 
					 | 
				
			||||||
 * it under the terms of the GNU General Public License as published by
 | 
					 | 
				
			||||||
 * the Free Software Foundation, either version 2 of the License, or
 | 
					 | 
				
			||||||
 * (at your option) any later version.
 | 
					 | 
				
			||||||
 *
 | 
					 | 
				
			||||||
 * This program is distributed in the hope that it will be useful,
 | 
					 | 
				
			||||||
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
					 | 
				
			||||||
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | 
					 | 
				
			||||||
 * GNU General Public License for more details.
 | 
					 | 
				
			||||||
 *
 | 
					 | 
				
			||||||
 * You should have received a copy of the GNU General Public License
 | 
					 | 
				
			||||||
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#pragma once
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#define STM32_HSECLK 16000000
 | 
					 | 
				
			||||||
							
								
								
									
										8
									
								
								keyboards/xelus/valor_frl_tkl/rev2_1/board.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								keyboards/xelus/valor_frl_tkl/rev2_1/board.h
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,8 @@
 | 
				
			||||||
 | 
					// Copyright 2022 Harrison Chan (Xelus)
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0-or-later
 | 
				
			||||||
 | 
					#pragma once
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include_next <board.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#undef STM32_HSECLK
 | 
				
			||||||
 | 
					#define STM32_HSECLK 16000000U
 | 
				
			||||||
| 
						 | 
					@ -1,19 +0,0 @@
 | 
				
			||||||
/* Copyright 2022 Harrison Chan (Xelus)
 | 
					 | 
				
			||||||
 *
 | 
					 | 
				
			||||||
 * This program is free software: you can redistribute it and/or modify
 | 
					 | 
				
			||||||
 * it under the terms of the GNU General Public License as published by
 | 
					 | 
				
			||||||
 * the Free Software Foundation, either version 2 of the License, or
 | 
					 | 
				
			||||||
 * (at your option) any later version.
 | 
					 | 
				
			||||||
 *
 | 
					 | 
				
			||||||
 * This program is distributed in the hope that it will be useful,
 | 
					 | 
				
			||||||
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
					 | 
				
			||||||
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | 
					 | 
				
			||||||
 * GNU General Public License for more details.
 | 
					 | 
				
			||||||
 *
 | 
					 | 
				
			||||||
 * You should have received a copy of the GNU General Public License
 | 
					 | 
				
			||||||
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#pragma once
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#define STM32_HSECLK 16000000
 | 
					 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue