[riot-notifications] [RIOT-OS/RIOT] examples/lorawan: add the possibility to use ABP activation procedure (#11237)

Francisco notifications at github.com
Fri Sep 20 10:45:57 CEST 2019

fjmolinas commented on this pull request.

+# Enable persistence on EEPROM and lowest possible power mode only if the board
+# provides the EEPROM feature
+ifneq (,$(filter $(BOARD), $(BOARD_PROVIDING_EEPROM)))
+  FEATURES_REQUIRED += periph_eeprom
+  # Enable lowest possible power mode (e.g. STANDBY mode on STM32) which
+  # in general doesn't provide RAM retention after wake-up.
+  # This low-power mode can only be used with boards providing an internal
+  # EEPROM to be able to restore the state of MAC from a non-volatile memory.
+  CFLAGS += '-DPM_BLOCKER_INITIAL={ .val_u32 = 0x01010100 }'
+  # WARNING: the next line disables the dutycycle restriction from the MAC. This

Can we make this a compilation warning:

`$(warning You are disabling dutycycle restriction, make sure your sending period is than the allowed dutycycle )`

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190920/a0834b9a/attachment.htm>

More information about the notifications mailing list