1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

pkg/nimble: add module for HCI UART H4 transport protocol

If the package is used for a controller that supports the HCI UART H4 transport layer protocol, the functions implemented in `nimble/transport/common/hci_h4` are very useful to deal with H4 formatted packages. If required, they can be enabled by module `nimble_transport_hci_h4`.
This commit is contained in:
Gunar Schorcht 2022-08-11 09:44:19 +02:00
parent 4b75725dd3
commit e3b2b75aff
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -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