mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Merge pull request #8160 from aabadie/pr/b-l072z-lrwan1-netif
boards/b-l072z-lrwan1: make sx127x default netdev
This commit is contained in:
commit
0454491e58
@ -1,3 +1,7 @@
|
||||
ifneq (,$(filter netdev_default,$(USEMODULE)))
|
||||
USEMODULE += sx1276
|
||||
endif
|
||||
|
||||
ifneq (,$(filter saul_default,$(USEMODULE)))
|
||||
USEMODULE += saul_gpio
|
||||
endif
|
||||
|
@ -281,6 +281,7 @@ static void _isr(netdev_t *netdev)
|
||||
|
||||
static int _get(netdev_t *netdev, netopt_t opt, void *val, size_t max_len)
|
||||
{
|
||||
(void) max_len; /* unused when compiled without debug, assert empty */
|
||||
sx127x_t *dev = (sx127x_t*) netdev;
|
||||
|
||||
if (dev == NULL) {
|
||||
|
@ -34,7 +34,7 @@ USEMODULE += ps
|
||||
# include and auto-initialize all available sensors
|
||||
USEMODULE += saul_default
|
||||
|
||||
BOARD_PROVIDES_NETIF := airfy-beacon cc2538dk fox iotlab-m3 iotlab-a8-m3 mulle \
|
||||
BOARD_PROVIDES_NETIF := airfy-beacon b-l072z-lrwan1 cc2538dk fox iotlab-m3 iotlab-a8-m3 mulle \
|
||||
microbit native nrf51dongle nrf52dk nrf6310 openmote-cc2538 pba-d-01-kw2x \
|
||||
remote-pa remote-reva samr21-xpro \
|
||||
spark-core telosb yunjia-nrf51822 z1
|
||||
|
@ -7,7 +7,7 @@ BOARD ?= native
|
||||
# This has to be the absolute path to the RIOT base directory:
|
||||
RIOTBASE ?= $(CURDIR)/../..
|
||||
|
||||
BOARD_INSUFFICIENT_MEMORY := airfy-beacon bluepill calliope-mini chronos \
|
||||
BOARD_INSUFFICIENT_MEMORY := airfy-beacon b-l072z-lrwan1 bluepill calliope-mini chronos \
|
||||
microbit msb-430 msb-430h nrf51dongle nrf6310 nucleo32-f031 \
|
||||
nucleo32-f042 nucleo32-f303 nucleo32-l031 nucleo-f030 \
|
||||
nucleo-f070 nucleo-f072 nucleo-f103 nucleo-f302 nucleo-f334 \
|
||||
|
Loading…
Reference in New Issue
Block a user