summaryrefslogtreecommitdiff
path: root/platforms/chibios/boards/GENERIC_WB32_F3G71XX/configs/bootloader_defs.h
blob: c929d2ad035aa5f205d882a8f1bedc96ac765a9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* Address for jumping to bootloader on WB32 chips. */
/* It is chip dependent, the correct number can be looked up here:
 * http://www.westberrytech.com/down/mcu/data/WB32F3G71xx_rm.pdf
 */
#ifndef WB32_BOOTLOADER_ADDRESS
#    undef STM32_BOOTLOADER_ADDRESS
#    define WB32_BOOTLOADER_ADDRESS 0x1FFFE000
#    define STM32_BOOTLOADER_ADDRESS WB32_BOOTLOADER_ADDRESS
#else
#    undef STM32_BOOTLOADER_ADDRESS
#    define STM32_BOOTLOADER_ADDRESS WB32_BOOTLOADER_ADDRESS
#endif