examples/gnrc_lorawan: use crypto_aes module instead of CFLAGS

This commit is contained in:
Alexandre Abadie 2020-03-05 12:34:49 +01:00
parent 08162f72b6
commit bba96a1cd5
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
2 changed files with 1 additions and 4 deletions

View File

@ -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

View File

@ -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