summaryrefslogtreecommitdiffstats
path: root/boot/project.h
blob: 4c3a92c9e9278ac684c9b9b52e8fedcfb9dc29fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#include <string.h>
#include <libopencm3/stm32/rcc.h>
#include <libopencm3/stm32/gpio.h>
#include <libopencm3/stm32/flash.h>
#include <libopencm3/usb/dwc/otg_common.h>
#include <libopencm3/usb/dwc/otg_fs.h>
#include <libopencm3/stm32/pwr.h>
#include <libopencm3/stm32/syscfg.h>
#include <libopencm3/stm32/usart.h>


#include <libopencm3/cm3/systick.h>
#include <libopencm3/cm3/scb.h>
#include <libopencm3/cm3/cortex.h>

#include <libopencm3/usb/usbd.h>
#include <libopencm3/usb/dfu.h>

#include "pins.h"

#include <id.h>



#include "prototypes.h"
extern uint32_t dfu_flag;


#define APP_ADDRESS 0x08004000

typedef struct rcc_clock_scale clock_scale_t;