diff options
author | Joel Challis <git@zvecr.com> | 2022-04-06 01:23:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-06 01:23:04 +0100 |
commit | a5e810b86cff89faa082c3ff71b69cda0709ab79 (patch) | |
tree | b4ee97a356f41435c8beff8aeff3b0ce877bd7ac /platforms/chibios/boards/GENERIC_STM32_F411XE/configs/config.h | |
parent | 45504bb0949f4bddd5679bde0076f10512303e3a (diff) |
Add non blackpill F4x1 config files (#16600)
* Add non blackpill F4x1 config files
* Move ld files
* Remove f401 i2c bodges
* more bodge?
* Update to recommended defaults
Diffstat (limited to 'platforms/chibios/boards/GENERIC_STM32_F411XE/configs/config.h')
-rw-r--r-- | platforms/chibios/boards/GENERIC_STM32_F411XE/configs/config.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/platforms/chibios/boards/GENERIC_STM32_F411XE/configs/config.h b/platforms/chibios/boards/GENERIC_STM32_F411XE/configs/config.h new file mode 100644 index 0000000000..e06ca0b725 --- /dev/null +++ b/platforms/chibios/boards/GENERIC_STM32_F411XE/configs/config.h @@ -0,0 +1,22 @@ +/* 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 BOARD_OTG_NOVBUSSENS 1 + +#ifndef EARLY_INIT_PERFORM_BOOTLOADER_JUMP +# define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE +#endif |