mirror of
https://github.com/espressif/openthread.git
synced 2026-08-19 00:49:53 +00:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user