mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
examples/lorawan: disable loramac state persistence on EEPROM
The code is kept but disabled by default. A comment explains how to avoid issues when enabling it
This commit is contained in:
parent
7bad517360
commit
8b7a8055c4
@ -44,7 +44,13 @@ USEPKG += semtech-loramac
|
|||||||
USEMODULE += $(DRIVER)
|
USEMODULE += $(DRIVER)
|
||||||
USEMODULE += fmt
|
USEMODULE += fmt
|
||||||
FEATURES_OPTIONAL += periph_rtc
|
FEATURES_OPTIONAL += periph_rtc
|
||||||
FEATURES_OPTIONAL += periph_eeprom
|
|
||||||
|
# Uncomment the following line to enable Loramac stack state persistence on EEPROM.
|
||||||
|
# Make sure the EEPROM is erased before enabling this and when flashing a board
|
||||||
|
# with an EEPROM the first time. If the board already contains a previous Loramac state
|
||||||
|
# in its EEPROM that is not corresponding to your LoRaWAN application settings,
|
||||||
|
# joining a network will fail.
|
||||||
|
# FEATURES_OPTIONAL += periph_eeprom
|
||||||
|
|
||||||
CFLAGS += -DSEND_PERIOD_S=$(SEND_PERIOD_S)
|
CFLAGS += -DSEND_PERIOD_S=$(SEND_PERIOD_S)
|
||||||
ifeq (otaa,$(ACTIVATION_MODE))
|
ifeq (otaa,$(ACTIVATION_MODE))
|
||||||
|
Loading…
Reference in New Issue
Block a user