Skip to content

Commit

Permalink
Enable printf to the debug console
Browse files Browse the repository at this point in the history
  • Loading branch information
sreckamp committed Sep 17, 2024
1 parent f17d602 commit f2f2212
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion benchmark/interface/Core/Src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,12 @@ void SystemClock_Config(void)
}

/* USER CODE BEGIN 4 */

int __io_putchar(int ch)
{
// Write character to ITM ch.0
ITM_SendChar(ch);
return(ch);
}
/* USER CODE END 4 */

/**
Expand Down

0 comments on commit f2f2212

Please sign in to comment.