diff --git a/pkg/nimble/Makefile b/pkg/nimble/Makefile index a08ef41fb5..ee32f8a689 100644 --- a/pkg/nimble/Makefile +++ b/pkg/nimble/Makefile @@ -44,6 +44,9 @@ nimble_npl_riot: nimble_transport: $(QQ)"$(MAKE)" -C $(PDIR)/nimble/transport/src/ -f $(RIOTBASE)/Makefile.base MODULE=$@ +nimble_transport_hci_h4: + $(QQ)"$(MAKE)" -C $(PDIR)/nimble/transport/common/hci_h4/src/ -f $(RIOTBASE)/Makefile.base MODULE=$@ + # host modules nimble_host: $(QQ)"$(MAKE)" -C $(PDIR)/nimble/host/src/ -f $(TDIR)/nimble.host.mk diff --git a/pkg/nimble/Makefile.include b/pkg/nimble/Makefile.include index 993aab65fb..ed2efc569d 100644 --- a/pkg/nimble/Makefile.include +++ b/pkg/nimble/Makefile.include @@ -50,6 +50,10 @@ endif # include transport headers INCLUDES += $(NIMIBASE)/nimble/transport/include +ifneq (,$(filter nimble_transport_hci_h4,$(USEMODULE))) + INCLUDES += $(NIMIBASE)/nimble/transport/common/hci_h4/include +endif + # include services ifneq (,$(filter nimble_svc_ans,$(USEMODULE))) INCLUDES += $(NIMIBASE)/nimble/host/services/ans/include