Skip to content

Commit

Permalink
Allow boards to override EARLY_INIT_PERFORM_BOOTLOADER_JUMP.
Browse files Browse the repository at this point in the history
  • Loading branch information
tzarc committed Oct 11, 2020
1 parent 84673d0 commit 3155e2b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion platforms/chibios/BLACKPILL_STM32_F401/configs/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@
#define STM32_LSECLK 32768U
#define STM32_HSECLK 25000000U

#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
#ifndef EARLY_INIT_PERFORM_BOOTLOADER_JUMP
# define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
#endif
4 changes: 3 additions & 1 deletion platforms/chibios/BLACKPILL_STM32_F411/configs/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@
#define STM32_LSECLK 32768U
#define STM32_HSECLK 25000000U

#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
#ifndef EARLY_INIT_PERFORM_BOOTLOADER_JUMP
# define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
#endif
4 changes: 3 additions & 1 deletion platforms/chibios/GENERIC_STM32_F303XC/configs/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@
*/
#pragma once

#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
#ifndef EARLY_INIT_PERFORM_BOOTLOADER_JUMP
# define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
#endif

0 comments on commit 3155e2b

Please sign in to comment.