diff options
author | Joel Challis <[email protected]> | 2021-08-18 00:04:15 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-08-18 00:04:15 +0100 |
commit | 4c9003b1779b7b404e3bb0ce103db683bd92bccb (patch) | |
tree | 7170b435e4456cb8ffc04b6b5abdd3e00cb63d15 /platforms/chibios/boards/GENERIC_STM32_F446XE/configs/board.h | |
parent | 4c4f632378867b5c3e61461333974f59170893c3 (diff) | |
download | qmk_firmware-4c9003b1779b7b404e3bb0ce103db683bd92bccb.tar.gz qmk_firmware-4c9003b1779b7b404e3bb0ce103db683bd92bccb.zip |
Move chibios board files to allow tmk_core platform migration (#13777)
* Move board files
* fix up after rebase
Diffstat (limited to 'platforms/chibios/boards/GENERIC_STM32_F446XE/configs/board.h')
-rw-r--r-- | platforms/chibios/boards/GENERIC_STM32_F446XE/configs/board.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/platforms/chibios/boards/GENERIC_STM32_F446XE/configs/board.h b/platforms/chibios/boards/GENERIC_STM32_F446XE/configs/board.h new file mode 100644 index 0000000000..80dfcffa99 --- /dev/null +++ b/platforms/chibios/boards/GENERIC_STM32_F446XE/configs/board.h @@ -0,0 +1,24 @@ +/* Copyright 2020 Nick Brassel (tzarc) + * + * 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 3 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 <https://www.gnu.org/licenses/>. + */ +#pragma once + +#define STM32_HSECLK 16000000 +// The following is required to disable the pull-down on PA9, when PA9 is used for the keyboard matrix: +#define BOARD_OTG_NOVBUSSENS + +#include_next "board.h" + +#undef STM32_HSE_BYPASS |