From bba96a1cd59eb10d6f87d942b4cd69305eeb2f09 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Thu, 5 Mar 2020 12:34:49 +0100 Subject: [PATCH] examples/gnrc_lorawan: use crypto_aes module instead of CFLAGS --- Makefile.dep | 2 +- examples/gnrc_lorawan/Makefile | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Makefile.dep b/Makefile.dep index dc22797cd7..e9194c7b1e 100644 --- a/Makefile.dep +++ b/Makefile.dep @@ -71,7 +71,7 @@ ifneq (,$(filter gnrc_lorawan,$(USEMODULE))) USEMODULE += xtimer USEMODULE += random USEMODULE += hashes - USEMODULE += crypto + USEMODULE += crypto_aes USEMODULE += netdev_layer USEMODULE += gnrc_neterr endif diff --git a/examples/gnrc_lorawan/Makefile b/examples/gnrc_lorawan/Makefile index e26cf131ff..eb9befba57 100644 --- a/examples/gnrc_lorawan/Makefile +++ b/examples/gnrc_lorawan/Makefile @@ -19,9 +19,6 @@ DRIVER ?= sx1276 USEMODULE += $(DRIVER) -# Required for the cipher module */ -CFLAGS += -DCRYPTO_AES -# # We can reduce the size of the packet buffer for LoRaWAN, since there's no IP # support. This will reduce RAM consumption. CFLAGS += -DGNRC_PKTBUF_SIZE=512