]> git.donarmstrong.com Git - qmk_firmware.git/blob - tmk_core/protocol/arm_atsam/md_bootloader.h
Add missing links to features page and sidebar section (#5949)
[qmk_firmware.git] / tmk_core / protocol / arm_atsam / md_bootloader.h
1 #ifndef _MD_BOOTLOADER_H_
2 #define _MD_BOOTLOADER_H_
3
4 extern uint32_t _srom;
5 extern uint32_t _lrom;
6 extern uint32_t _erom;
7
8 #define BOOTLOADER_SERIAL_MAX_SIZE 20   //DO NOT MODIFY!
9
10 #ifdef KEYBOARD_massdrop_ctrl
11 //WARNING: These are only for CTRL bootloader release "v2.18Jun 22 2018 17:28:08" for bootloader_jump support
12 extern uint32_t _eram;
13 #define BOOTLOADER_MAGIC 0x3B9ACA00
14 #define MAGIC_ADDR (uint32_t *)((intptr_t)(&_eram) - 4)
15 #endif
16
17 #ifdef MD_BOOTLOADER
18
19 #define MCU_HZ 48000000
20 #define I2C_HZ 0 //Not used
21
22 #endif //MD_BOOTLOADER
23
24 #endif //_MD_BOOTLOADER_H_