Skip to content

Commit

Permalink
examples/simple: add build time to itm output
Browse files Browse the repository at this point in the history
  • Loading branch information
TomKeddie committed Sep 15, 2024
1 parent 51bcc85 commit 79f124d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions examples/simple/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,14 @@ int main( void )
_sieve();
ITM_Send8(0,a);
}
ITM_Send8(0,'\r');
ITM_Send8(0,'\n');
ITM_SendString(0, __DATE__);
ITM_Send8(0,'\r');
ITM_Send8(0,'\n');
ITM_SendString(0, __TIME__);
ITM_Send8(0,'\r');
ITM_Send8(0,'\n');
}

/* should not reach this statement */
Expand Down

0 comments on commit 79f124d

Please sign in to comment.