From 1ad9b7a4930bd1abb269665826cbc60468b34f4d Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Sun, 10 Dec 2017 16:40:40 +0100 Subject: [PATCH 1/3] drivers/sx127x: fix build issue with unused variable --- drivers/sx127x/sx127x_netdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/sx127x/sx127x_netdev.c b/drivers/sx127x/sx127x_netdev.c index cb759b13b6..9486d2143e 100644 --- a/drivers/sx127x/sx127x_netdev.c +++ b/drivers/sx127x/sx127x_netdev.c @@ -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) { From 0b5059f46ba19d0781cd307e461d41fadfa68322 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Fri, 17 Nov 2017 10:52:30 +0100 Subject: [PATCH 2/3] boards/b-l072z-lrwan1: configure auto netif configuration --- boards/b-l072z-lrwan1/Makefile.dep | 4 ++++ examples/default/Makefile | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/boards/b-l072z-lrwan1/Makefile.dep b/boards/b-l072z-lrwan1/Makefile.dep index 5472bf8b8d..52861764e8 100644 --- a/boards/b-l072z-lrwan1/Makefile.dep +++ b/boards/b-l072z-lrwan1/Makefile.dep @@ -1,3 +1,7 @@ +ifneq (,$(filter netdev_default,$(USEMODULE))) + USEMODULE += sx1276 +endif + ifneq (,$(filter saul_default,$(USEMODULE))) USEMODULE += saul_gpio endif diff --git a/examples/default/Makefile b/examples/default/Makefile index 6043c2984a..a61a885252 100644 --- a/examples/default/Makefile +++ b/examples/default/Makefile @@ -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 From eb7d24894400fc7a4fbd9310b8b8c08f1afb0511 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Fri, 17 Nov 2017 10:53:25 +0100 Subject: [PATCH 3/3] examples/gnrc_tftp: remove b-l072z-lrwan1 because of not enough memory --- examples/gnrc_tftp/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/gnrc_tftp/Makefile b/examples/gnrc_tftp/Makefile index 4b1ba75138..2d9d43bfe2 100644 --- a/examples/gnrc_tftp/Makefile +++ b/examples/gnrc_tftp/Makefile @@ -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 \