summaryrefslogtreecommitdiff
path: root/platforms/chibios/GENERIC_STM32_F042X6
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2021-01-20 00:23:07 +1100
committerGitHub <noreply@github.com>2021-01-20 00:23:07 +1100
commitd85b27bbbc6b086db469570cf741b515695dd816 (patch)
tree07686f572255adfb278aa10a4d3021619fab264c /platforms/chibios/GENERIC_STM32_F042X6
parentd668fd3977c46bd5c9a5c50ce77ac86c85cc18ed (diff)
Leftover early initialisation conversions (#11615)
* jm60 * ergodox_stm32 * F042 bootloader jumps. * xiaomi/mk02 custom bootloader, no early-init bootloader jump for F072. * matrix/m20add, matrix/noah
Diffstat (limited to 'platforms/chibios/GENERIC_STM32_F042X6')
-rw-r--r--platforms/chibios/GENERIC_STM32_F042X6/board/board.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/platforms/chibios/GENERIC_STM32_F042X6/board/board.c b/platforms/chibios/GENERIC_STM32_F042X6/board/board.c
index 3c6f54ef5e..0d7c88756a 100644
--- a/platforms/chibios/GENERIC_STM32_F042X6/board/board.c
+++ b/platforms/chibios/GENERIC_STM32_F042X6/board/board.c
@@ -202,16 +202,12 @@ static void stm32_gpio_init(void) {
/* Driver exported functions. */
/*===========================================================================*/
-__attribute__((weak)) void enter_bootloader_mode_if_requested(void) {}
-
/**
* @brief Early initialization code.
* @details GPIO ports and system clocks are initialized before everything
* else.
*/
void __early_init(void) {
- enter_bootloader_mode_if_requested();
-
stm32_gpio_init();
stm32_clock_init();
}