wiktorkwiatkowski opened a new pull request, #3476:
URL: https://github.com/apache/mynewt-core/pull/3476

   Added support for reading the reset cause using the `RSTGEN->STAT` register. 
Function checks what kind of reset occurred and returns matching 
`hal_reset_reason` enum value.
   
   Unlike in apollo2, apollo3 does not provide a register to manually clear the 
reset status. Is is cleared automatically on startup.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to