diff options
Diffstat (limited to 'demos/various/RT-ARMCM4-GENERIC/Makefile')
-rw-r--r-- | demos/various/RT-ARMCM4-GENERIC/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/demos/various/RT-ARMCM4-GENERIC/Makefile b/demos/various/RT-ARMCM4-GENERIC/Makefile index 383f60b98..719585ddc 100644 --- a/demos/various/RT-ARMCM4-GENERIC/Makefile +++ b/demos/various/RT-ARMCM4-GENERIC/Makefile @@ -123,8 +123,9 @@ ASMSRC = $(PORTASM) # List of the standard inclusion directories.
INCDIR = $(PORTINC) $(KERNINC)
-# Make this point to your CMSIS device file.
-INCDIR += $(CHIBIOS)/os/ext/CMSIS/ST
+# Make this point to your CMSIS and chparams.h headers.
+INCDIR += $(CHIBIOS)/os/ext/CMSIS/ST \
+ $(CHIBIOS)/os/common/ports/ARMCMx/devices/STM32F4xx
#
# Project, sources and paths
@@ -174,7 +175,7 @@ CPPWARN = -Wall -Wextra #
# List all user C define here, like -D_DEBUG=1
-UDEFS =
+UDEFS = -DSTM32F407xx
# Define ASM defines here
UADEFS =
|