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:
parent
4b75725dd3
commit
e3b2b75aff
@ -44,6 +44,9 @@ nimble_npl_riot:
|
|||||||
nimble_transport:
|
nimble_transport:
|
||||||
$(QQ)"$(MAKE)" -C $(PDIR)/nimble/transport/src/ -f $(RIOTBASE)/Makefile.base MODULE=$@
|
$(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
|
# host modules
|
||||||
nimble_host:
|
nimble_host:
|
||||||
$(QQ)"$(MAKE)" -C $(PDIR)/nimble/host/src/ -f $(TDIR)/nimble.host.mk
|
$(QQ)"$(MAKE)" -C $(PDIR)/nimble/host/src/ -f $(TDIR)/nimble.host.mk
|
||||||
|
@ -50,6 +50,10 @@ endif
|
|||||||
# include transport headers
|
# include transport headers
|
||||||
INCLUDES += $(NIMIBASE)/nimble/transport/include
|
INCLUDES += $(NIMIBASE)/nimble/transport/include
|
||||||
|
|
||||||
|
ifneq (,$(filter nimble_transport_hci_h4,$(USEMODULE)))
|
||||||
|
INCLUDES += $(NIMIBASE)/nimble/transport/common/hci_h4/include
|
||||||
|
endif
|
||||||
|
|
||||||
# include services
|
# include services
|
||||||
ifneq (,$(filter nimble_svc_ans,$(USEMODULE)))
|
ifneq (,$(filter nimble_svc_ans,$(USEMODULE)))
|
||||||
INCLUDES += $(NIMIBASE)/nimble/host/services/ans/include
|
INCLUDES += $(NIMIBASE)/nimble/host/services/ans/include
|
||||||
|
Loading…
Reference in New Issue
Block a user