]> mj.ucw.cz Git - home-hw.git/blob - test-bootloader/config.h
Merge branch 'master' of ssh://git.ucw.cz/home/mj/GIT/home-hw
[home-hw.git] / test-bootloader / config.h
1 /*
2  *      Test Gadget Bootloader -- Configuration
3  *
4  *      (c) 2020 Martin Mareš <mj@ucw.cz>
5  */
6
7 // Processor clock
8
9 #define CPU_CLOCK_MHZ 48
10
11 // Debugging port
12
13 #define DEBUG_USART USART1
14 #define DEBUG_LED_BLUEPILL
15
16 // Bootloader settings
17
18 #define BOOTLOADER_DEBUG
19 #define BOOTLOADER_APP_START 0x08002000
20 #define BOOTLOADER_MFG_ID 0x4242
21 #define BOOTLOADER_PROD_ID 0x0008
22 #define BOOTLOADER_PROD_VERSION 0x0100
23 #define BOOTLOADER_MFG_NAME "United Computer Wizards"
24 #define BOOTLOADER_PROD_NAME "Test Gadget (boot-loader)"