From 79f124d08ab90befbadb599cbf638067a080e7da Mon Sep 17 00:00:00 2001 From: Tom Keddie Date: Sat, 14 Sep 2024 17:07:34 -0700 Subject: [PATCH] examples/simple: add build time to itm output --- examples/simple/src/main.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/examples/simple/src/main.c b/examples/simple/src/main.c index 2a39de0..b7d9fb5 100644 --- a/examples/simple/src/main.c +++ b/examples/simple/src/main.c @@ -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 */