Created
August 20, 2024 17:01
-
-
Save roboter/0a4feba863a680888fc371dd0bb09310 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Send a char through ITM */ | |
int _write(int file, char *ptr, int len) { | |
int DataIdx; | |
for (DataIdx = 0; DataIdx < len; DataIdx++) { | |
ITM_SendChar(*ptr++); | |
} | |
return len; | |
} | |
/* USER CODE END 4 */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment