diff options
author | James McKenzie <git@madingley.org> | 2015-08-03 10:34:07 +0100 |
---|---|---|
committer | James McKenzie <git@madingley.org> | 2015-08-03 10:34:07 +0100 |
commit | 061430973e82995368d27ff9081391f9475da3c7 (patch) | |
tree | 62ac12e6cff789050ca17f00ac70d85de75e3efd /boot | |
parent | 23e5d273ef3e11c8ad463c632daa5a52684bc5bb (diff) | |
download | candlestick-061430973e82995368d27ff9081391f9475da3c7.tar.gz candlestick-061430973e82995368d27ff9081391f9475da3c7.tar.bz2 candlestick-061430973e82995368d27ff9081391f9475da3c7.zip |
fish
Diffstat (limited to 'boot')
-rw-r--r-- | boot/Makefile | 2 | ||||
-rw-r--r-- | boot/usbdfu.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/boot/Makefile b/boot/Makefile index 86d4d2c..55cbe4e 100644 --- a/boot/Makefile +++ b/boot/Makefile @@ -28,5 +28,5 @@ OBJS = ${CSRCS:%.c=%.o} include ../Makefile.include -CFLAGS += -I.. +CFLAGS += -I../include diff --git a/boot/usbdfu.c b/boot/usbdfu.c index 33f4c22..400fc7c 100644 --- a/boot/usbdfu.c +++ b/boot/usbdfu.c @@ -24,7 +24,7 @@ #include <libopencm3/cm3/scb.h> #include <libopencm3/usb/usbd.h> #include <libopencm3/usb/dfu.h> - +#include <stm32f101cb_clock.h> #define APP_ADDRESS 0x08002000 @@ -270,7 +270,7 @@ int main(void) dfu_flag=0; - rcc_clock_setup_in_hsi_out_48mhz(); + rcc_clock_setup_in_hse_8mhz_out_48mhz(); rcc_periph_clock_enable(RCC_GPIOC); |