Skip to content

Commit

Permalink
Merge pull request #13743 from fabian18/driver-nrf24l01p-netdev-minimal
Browse files Browse the repository at this point in the history
drivers/nrf24l01p: Netdev driver for nrf24l01p
  • Loading branch information
benpicco authored Jan 24, 2021
2 parents 67e5a37 + 7d618af commit 71fe668
Show file tree
Hide file tree
Showing 33 changed files with 5,186 additions and 2 deletions.
4 changes: 4 additions & 0 deletions drivers/Makefile.dep
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ ifneq (,$(filter nrfmin,$(USEMODULE)))
USEMODULE += netif
endif

ifneq (,$(filter nrf24l01p_ng_%,$(USEMODULE)))
USEMODULE += nrf24l01p_ng
endif

ifneq (,$(filter periph_ptp_timer periph_ptp_speed_adjustment,$(FEATURES_USED)))
FEATURES_REQUIRED += periph_ptp
endif
Expand Down
2 changes: 2 additions & 0 deletions drivers/include/net/netdev.h
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ enum {
NETDEV_TYPE_CC110X,
NETDEV_TYPE_LORA,
NETDEV_TYPE_NRFMIN,
NETDEV_TYPE_NRF24L01P_NG,
NETDEV_TYPE_SLIP,
NETDEV_TYPE_ESP_NOW,
};
Expand Down Expand Up @@ -315,6 +316,7 @@ typedef enum {
NETDEV_SX127X,
NETDEV_SAM0_ETH,
NETDEV_ESP_NOW,
NETDEV_NRF24L01P_NG,
/* add more if needed */
} netdev_type_t;
/** @} */
Expand Down
Loading

0 comments on commit 71fe668

Please sign in to comment.