[riot-notifications] [RIOT-OS/RIOT] shell_commands: gnrc_netif: only include LoRA options when LoRA PHY is present (#12295)

benpicco notifications at github.com
Tue Sep 24 17:00:20 CEST 2019


benpicco commented on this pull request.



> @@ -521,6 +521,7 @@ ifneq (,$(filter sx127%,$(USEMODULE)))
   USEMODULE += sx127x
   USEMODULE += netif
   USEMODULE += lora
+  USEMODULE += netif_cfg_lora

```
/usr/lib/gcc/arm-none-eabi/7.3.1/../../../arm-none-eabi/bin/ld: /home/benpicco/dev/RIOT/tests/driver_sx127x/bin/samr21-xpro/shell_commands/sc_gnrc_netif.o: in function `gnrc_netapi_get':
/home/benpicco/dev/RIOT/sys/include/net/gnrc/netapi.h:236: undefined reference to `_gnrc_netapi_get_set'
/usr/lib/gcc/arm-none-eabi/7.3.1/../../../arm-none-eabi/bin/ld: /home/benpicco/dev/RIOT/tests/driver_sx127x/bin/samr21-xpro/shell_commands/sc_gnrc_netif.o: in function `gnrc_netapi_set':
/home/benpicco/dev/RIOT/sys/include/net/gnrc/netapi.h:261: undefined reference to `_gnrc_netapi_get_set'
/usr/lib/gcc/arm-none-eabi/7.3.1/../../../arm-none-eabi/bin/ld: /home/benpicco/dev/RIOT/sys/include/net/gnrc/netapi.h:261: undefined reference to `_gnrc_netapi_get_set'
/usr/lib/gcc/arm-none-eabi/7.3.1/../../../arm-none-eabi/bin/ld: /home/benpicco/dev/RIOT/sys/include/net/gnrc/netapi.h:261: undefined reference to `_gnrc_netapi_get_set'
/usr/lib/gcc/arm-none-eabi/7.3.1/../../../arm-none-eabi/bin/ld: /home/benpicco/dev/RIOT/sys/include/net/gnrc/netapi.h:261: undefined reference to `_gnrc_netapi_get_set'
/usr/lib/gcc/arm-none-eabi/7.3.1/../../../arm-none-eabi/bin/ld: /home/benpicco/dev/RIOT/tests/driver_sx127x/bin/samr21-xpro/shell_commands/sc_gnrc_netif.o:/home/benpicco/dev/RIOT/sys/include/net/gnrc/netapi.h:261: more undefined references to `_gnrc_netapi_get_set' follow
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/12295#discussion_r327667134
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190924/4744c9f4/attachment.htm>


More information about the notifications mailing list