etm trace for nrf52840

This commit is contained in:
hathach
2023-06-20 13:19:08 +07:00
parent 1b658ae109
commit 19c99d3b42
5 changed files with 278 additions and 11 deletions

View File

@@ -77,7 +77,7 @@ void trace_etm_init(void) {
DBGMCU->CR |= DBGMCU_CR_DBG_TRACECKEN | DBGMCU_CR_DBG_CKD1EN | DBGMCU_CR_DBG_CKD3EN;
}
#else
#define etm_trace_init()
#define trace_etm_init()
#endif
void board_init(void)