[low-power] add csl debug option (#5455)

This commit adds a option to debug CSL feature. When the option is
turned on, a CSL receiver wouldn't actually sleep so that it could
receive all packets from its parent and know the tx time.
This commit is contained in:
Li Cao
2020-08-26 20:52:21 -07:00
committed by GitHub
parent c3d2b1f8b9
commit 35ede082ac
5 changed files with 42 additions and 6 deletions
+4
View File
@@ -134,6 +134,10 @@ ifeq ($(CSL_RECEIVER),1)
COMMONCFLAGS += -DOPENTHREAD_CONFIG_MAC_CSL_RECEIVER_ENABLE=1
endif
ifeq ($(CSL_DEBUG),1)
COMMONCFLAGS += -DOPENTHREAD_CONFIG_MAC_CSL_DEBUG_ENABLE=1
endif
ifeq ($(DEBUG),1)
configure_OPTIONS += --enable-debug --disable-optimization
endif