diff options
author | root <root@lab2.panaceas.james.local> | 2014-11-02 18:17:44 +0000 |
---|---|---|
committer | root <root@lab2.panaceas.james.local> | 2014-11-02 18:17:44 +0000 |
commit | 12287ff0a55f929bf840dcb4780d3f77b862c434 (patch) | |
tree | 46632674f393249e7cd74eacd7a4da00ccec540f /boot/project.h | |
parent | 479e719a64d75374f00438498cf91ba2601a63f1 (diff) | |
download | stm32_usb_kvm-12287ff0a55f929bf840dcb4780d3f77b862c434.tar.gz stm32_usb_kvm-12287ff0a55f929bf840dcb4780d3f77b862c434.tar.bz2 stm32_usb_kvm-12287ff0a55f929bf840dcb4780d3f77b862c434.zip |
fish
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" |