Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 6 additions & 6 deletions bootloader/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,33 +50,33 @@ $(wildcard ../shared/*.cpp)

# moved bootloader related files into the shared/ dir so other "custom" bootloaders are easier to manage..
#$(wildcard src/*.cpp)
LIBDAISY_DIR = ../libDaisy

USE_FATFS = 1

C_INCLUDES = -Isrc \
-I../shared

C_SOURCES += \
../cube_dfu/Middlewares/ST/STM32_USB_Device_Library/Class/DFU/Src/usbd_dfu.c \
../cube_dfu/USB_DEVICE/App/usbd_desc.c
$(LIBDAISY_DIR)/Middlewares/ST/STM32_USB_Device_Library/Class/DFU/Src/usbd_dfu.c \
../shared/usbd_desc.c

C_INCLUDES += \
-I. \
-I../cube_dfu/Middlewares/ST/STM32_USB_Device_Library/Class/DFU/Inc \
-I../cube_dfu/USB_DEVICE/App
-I$(LIBDAISY_DIR)/Middlewares/ST/STM32_USB_Device_Library/Class/DFU/Inc

C_INCLUDES += $(EXTRA_C_DEFS)

LDSCRIPT = boot_linker.lds

# WARNING -- an opt of -O3 causes the jump to fail and makes USB connectivity unreliable
OPT = -O0
OPT = -O2
DEBUG=1

# CFLAGS += -DUSBD_SUPPORT_USER_STRING_DESC=1

# Library Locations
LIBDAISY_DIR = ../libDaisy


# Core location, and generic Makefile.
SYSTEM_FILES_DIR = $(LIBDAISY_DIR)/core
Expand Down
54 changes: 0 additions & 54 deletions cube_dfu/.mxproject

This file was deleted.

71 changes: 0 additions & 71 deletions cube_dfu/Core/Inc/main.h

This file was deleted.

Loading