aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB/Makefile')
-rw-r--r--demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB/Makefile b/demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB/Makefile
index 4323d9cb9..72bdc14b9 100644
--- a/demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB/Makefile
+++ b/demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB/Makefile
@@ -89,6 +89,9 @@ endif
# Define project name here
PROJECT = ch
+CONFDIR := ./cfg
+BUILDDIR := ./build
+DEPDIR := ./.dep
# Imported source files and paths
CHIBIOS = ../../..
@@ -127,7 +130,7 @@ CSRC = $(STARTUPSRC) \
$(STREAMSSRC) \
$(SHELLSRC) \
$(CHIBIOS)/os/various/evtimer.c \
- usbcfg.c main.c
+ src/usbcfg.c main.c
# C++ sources that can be compiled in ARM or THUMB mode depending on the global
# setting.
@@ -161,7 +164,7 @@ INCDIR = $(CHIBIOS)/os/license \
$(STARTUPINC) $(KERNINC) $(PORTINC) $(OSALINC) \
$(HALINC) $(PLATFORMINC) $(BOARDINC) $(TESTINC) \
$(STREAMSINC) $(SHELLINC) $(LWINC) $(FATFSINC) \
- $(CHIBIOS)/os/various
+ $(CHIBIOS)/os/various $(CONFDIR) ./src
#
# Project, sources and paths