diff options
author | James McKenzie <git@madingley.org> | 2015-08-02 23:30:06 +0100 |
---|---|---|
committer | James McKenzie <git@madingley.org> | 2015-08-02 23:30:06 +0100 |
commit | 39687aa7c7b138d2a1ce2551f2400bade3b1a6fb (patch) | |
tree | 25e8441957ddbeff8aae91dc79b6a71ecbef51fe /boot/project.h | |
download | candlestick-39687aa7c7b138d2a1ce2551f2400bade3b1a6fb.tar.gz candlestick-39687aa7c7b138d2a1ce2551f2400bade3b1a6fb.tar.bz2 candlestick-39687aa7c7b138d2a1ce2551f2400bade3b1a6fb.zip |
fis
Diffstat (limited to 'boot/project.h')
-rw-r--r-- | boot/project.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/boot/project.h b/boot/project.h new file mode 100644 index 0000000..0323569 --- /dev/null +++ b/boot/project.h @@ -0,0 +1,23 @@ +#include <stdlib.h> +#include <libopencm3/stm32/rcc.h> +#include <libopencm3/stm32/gpio.h> +#include <libopencm3/stm32/usart.h> +#include <libopencm3/cm3/systick.h> +#include <libopencm3/cm3/nvic.h> +#include <libopencm3/usb/usbd.h> +#include <libopencm3/usb/hid.h> + +#define INCLUDE_DFU_INTERFACE + + +#ifdef INCLUDE_DFU_INTERFACE +#include <libopencm3/cm3/scb.h> +#include <libopencm3/usb/dfu.h> +#endif + +#include <stdio.h> +#include <errno.h> + +#include "ring.h" + +#include "prototypes.h" |