examples/gnrc_lorawan: use crypto_aes module instead of CFLAGS
This commit is contained in:
parent
08162f72b6
commit
bba96a1cd5
@ -71,7 +71,7 @@ ifneq (,$(filter gnrc_lorawan,$(USEMODULE)))
|
|||||||
USEMODULE += xtimer
|
USEMODULE += xtimer
|
||||||
USEMODULE += random
|
USEMODULE += random
|
||||||
USEMODULE += hashes
|
USEMODULE += hashes
|
||||||
USEMODULE += crypto
|
USEMODULE += crypto_aes
|
||||||
USEMODULE += netdev_layer
|
USEMODULE += netdev_layer
|
||||||
USEMODULE += gnrc_neterr
|
USEMODULE += gnrc_neterr
|
||||||
endif
|
endif
|
||||||
|
|||||||
@ -19,9 +19,6 @@ DRIVER ?= sx1276
|
|||||||
|
|
||||||
USEMODULE += $(DRIVER)
|
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
|
# We can reduce the size of the packet buffer for LoRaWAN, since there's no IP
|
||||||
# support. This will reduce RAM consumption.
|
# support. This will reduce RAM consumption.
|
||||||
CFLAGS += -DGNRC_PKTBUF_SIZE=512
|
CFLAGS += -DGNRC_PKTBUF_SIZE=512
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user