add function to dump LUT

This commit is contained in:
Shuanglei Tao
2025-06-01 20:57:09 +08:00
parent 986bb49f8e
commit 95b1aaa99c
3 changed files with 39 additions and 0 deletions

1
main.c
View File

@@ -757,6 +757,7 @@ int main(void)
// Save reset reason.
m_resetreas = NRF_POWER->RESETREAS;
NRF_POWER->RESETREAS |= NRF_POWER->RESETREAS;
NRF_LOG_DEBUG("== RESET REASON: %d ===\n", m_resetreas);
NRF_LOG_DEBUG("init..\n");