[api] add API to reset to bootloader mode (#9523)

This commit is contained in:
Mason Tran
2023-10-27 15:54:15 -07:00
committed by GitHub
parent 1528c8831d
commit 0b0db37a13
18 changed files with 167 additions and 14 deletions
+9
View File
@@ -60,6 +60,15 @@ void otPlatReset(otInstance *aInstance)
#endif // OPENTHREAD_PLATFORM_USE_PSEUDO_RESET
}
#if OPENTHREAD_CONFIG_PLATFORM_BOOTLOADER_MODE_ENABLE
otError otPlatResetToBootloader(otInstance *aInstance)
{
OT_UNUSED_VARIABLE(aInstance);
return OT_ERROR_NOT_CAPABLE;
}
#endif
otPlatResetReason otPlatGetResetReason(otInstance *aInstance)
{
OT_UNUSED_VARIABLE(aInstance);