[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
+2
View File
@@ -223,6 +223,8 @@ OT_TOOL_WEAK void otPlatUartReceived(const uint8_t *, uint16_t) {}
OT_TOOL_WEAK void otPlatReset(otInstance *) {}
OT_TOOL_WEAK otError otPlatResetToBootloader(otInstance *) { return OT_ERROR_NOT_CAPABLE; }
OT_TOOL_WEAK otPlatResetReason otPlatGetResetReason(otInstance *) { return OT_PLAT_RESET_REASON_POWER_ON; }
OT_TOOL_WEAK void otPlatLog(otLogLevel, otLogRegion, const char *, ...) {}