You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2022/02/02 10:34:12 UTC
[GitHub] [mynewt-nimble] andrzej-kaczmarek commented on pull request #1160: nimble/transport/cmac: Flush UART on CMAC error
andrzej-kaczmarek commented on pull request #1160:
URL: https://github.com/apache/mynewt-nimble/pull/1160#issuecomment-1027796280
As it turns out, resetting CMAC in cmac2sys interrupt is not a good idea since it probably will be reset before debug events are written to mbox from fault handler. So we better only disable cmac2sys interrupt (so we don't keep spinning in that interrupt since we cannot clear CMAC error) and then wait in task context until both mbox and UART are flushed.
--
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: commits-unsubscribe@mynewt.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org