diff --git a/examples/simple/.gdbinit-jlink b/examples/simple/.gdbinit-jlink index 8aa28b9..8ae4cbc 100644 --- a/examples/simple/.gdbinit-jlink +++ b/examples/simple/.gdbinit-jlink @@ -5,6 +5,7 @@ monitor reset file ofiles/simple.elf set mem inaccessible-by-default off +load source /usr/local/share/orbcode/gdbtrace.init enableSTM32SWO 4 diff --git a/examples/simple/src/main.c b/examples/simple/src/main.c index 2a39de0..bfed136 100644 --- a/examples/simple/src/main.c +++ b/examples/simple/src/main.c @@ -66,6 +66,7 @@ int main( void ) _sieve(); ITM_Send8(0,a); } + ITM_SendString(0, "\r\n" __DATE__ "\r\n" __TIME__ "\r\n"); } /* should not reach this statement */