Skip to content

Commit

Permalink
fixup! pkg/cmsis: add PKG_SPARSE_PATHS for NN and DSP sub-pkgs
Browse files Browse the repository at this point in the history
  • Loading branch information
kaspar030 committed Jan 30, 2024
1 parent ecdf640 commit 43d1e70
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions pkg/cmsis/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,14 @@ CMSIS_MODULES_USED = $(CMSIS_DSP_MODULES_USED) $(CMSIS_NN_MODULES_USED)

PKG_SPARSE_PATHS=CMSIS/Core/Include

ifneq (, $(CMSIS_DSP_MODULES_USED))
PKG_SPARSE_PATHS+=CMSIS/DSP
endif

ifneq (, $(CMSIS_NN_MODULES_USED))
PKG_SPARSE_PATHS+=CMSIS/NN
CMSIS_DSP_NEEDED=1
endif
ifneq (, $(CMSIS_DSP_MODULES_USED)$(CMSIS_DSP_NEEDED))
PKG_SPARSE_PATHS+=CMSIS/DSP
endif


include $(RIOTBASE)/pkg/pkg.mk

Expand Down

0 comments on commit 43d1e70

Please sign in to comment.