RTT replaces printf

The found file is transplanted to the project.

 

SEGGER_RTT_ConfigUpBuffer(0, "RTTUP", NULL, 0, SEGGER_RTT_MODE_BLOCK_IF_FIFO_FULL);
	SEGGER_RTT_ConfigDownBuffer(0, "RTTDOWN", NULL, 0, SEGGER_RTT_MODE_NO_BLOCK_SKIP);

The important point is this address. If some MCUs find that they can’t print, they need to find it in the map file.

 

 

 

Guess you like

Origin blog.csdn.net/C_ROOKIES/article/details/107389465