diff options
author | Joel Challis <git@zvecr.com> | 2020-02-13 19:39:22 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-13 19:39:22 +0000 |
commit | 014ad1d747d1688dc12a690282deae00a8efb88c (patch) | |
tree | 6907527114244b0c79da7847451a5c2d85853e56 /drivers/boards/GENERIC_STM32_F072XB/bootloader_defs.h | |
parent | 1a77abfe64f08a0b72f4f328418b4f4dc138ac8d (diff) |
Fix RESET keycode on some STM32F072 keyboards (#8134)
* Add f072 board files with 'enter_bootloader_mode_if_requested' support
* rename default f072 board file to GENERIC_STM32_F072XB
* Remove board files
* Add bootloader def
* Update generic f072 board paths
* Revert wrong deletion
Diffstat (limited to 'drivers/boards/GENERIC_STM32_F072XB/bootloader_defs.h')
-rw-r--r-- | drivers/boards/GENERIC_STM32_F072XB/bootloader_defs.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/boards/GENERIC_STM32_F072XB/bootloader_defs.h b/drivers/boards/GENERIC_STM32_F072XB/bootloader_defs.h new file mode 100644 index 0000000000..02c48c4e6d --- /dev/null +++ b/drivers/boards/GENERIC_STM32_F072XB/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 (page 175): + * 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 0x1FFFC800 |