mirror of
https://github.com/espressif/openthread.git
synced 2026-10-13 19:27:37 +00:00
[samr21] Implement otPlatLog for SAMR21 XPLAINED PRO board (#3491)
Use EDBG DGI SPI interface to put log. Signed-off-by: Oleksandr Grytsov <[email protected]>
This commit is contained in:
committed by
Jonathan Hui
parent
513b0f8b8d
commit
e7a6bde56d
@@ -34,6 +34,7 @@
|
||||
|
||||
#include "asf.h"
|
||||
|
||||
#include <openthread-core-config.h>
|
||||
#include <openthread/platform/radio.h>
|
||||
|
||||
#include "openthread-system.h"
|
||||
@@ -173,6 +174,10 @@ void otSysInit(int argc, char *argv[])
|
||||
getKitData();
|
||||
#endif
|
||||
|
||||
#if (OPENTHREAD_CONFIG_LOG_OUTPUT == OPENTHREAD_CONFIG_LOG_OUTPUT_PLATFORM_DEFINED) || \
|
||||
(OPENTHREAD_CONFIG_LOG_OUTPUT == OPENTHREAD_CONFIG_LOG_OUTPUT_NCP_SPINEL)
|
||||
samr21LogInit();
|
||||
#endif
|
||||
samr21AlarmInit();
|
||||
samr21RadioInit();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user