diff options
author | Nick Brassel <nick@tzarc.org> | 2020-12-03 13:04:28 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-03 13:04:28 +1100 |
commit | 87291437bd5afccb44677db3ebcf0c284128e990 (patch) | |
tree | a7817c2b282c39fadb067d7e01fbacfe84a73601 /platforms/chibios/QMK_PROTON_C/configs/bootloader_defs.h | |
parent | 777a30cb423e0636431dae0b8578ef5e962bac30 (diff) |
Add board specific to Proton-C, with usual defaults turned on. (#10976)
- Set all other ChibiOS defaults to 'off', when not targeting Proton-C
- Modified all existing F303 boards to point at the QMK_PROTON_C to ensure repeatable binary output
- Modified version.h generation so that SKIP_VERSION=yes generates the same output
Diffstat (limited to 'platforms/chibios/QMK_PROTON_C/configs/bootloader_defs.h')
-rw-r--r-- | platforms/chibios/QMK_PROTON_C/configs/bootloader_defs.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/platforms/chibios/QMK_PROTON_C/configs/bootloader_defs.h b/platforms/chibios/QMK_PROTON_C/configs/bootloader_defs.h new file mode 100644 index 0000000000..3b0e9d20a6 --- /dev/null +++ b/platforms/chibios/QMK_PROTON_C/configs/bootloader_defs.h @@ -0,0 +1,7 @@ +/* Address for jumping to bootloader on STM32 chips. */ +/* It is chip dependent, the correct number can be looked up here: + * http://www.st.com/web/en/resource/technical/document/application_note/CD00167594.pdf + * This also requires a patch to chibios: + * <tmk_dir>/tmk_core/tool/chibios/ch-bootloader-jump.patch + */ +#define STM32_BOOTLOADER_ADDRESS 0x1FFFD800 |