3 modify test.ld to change address.
5 Even if the app is position independent, the symbols
6 need to match to test basic debugging.
8 To load the app to 0x20000000 in GDB, use:
11 monitor reg sp 0x20004000
12 monitor reg pc 0x20002000
15 arm-elf-gcc -mthumb -mcpu = cortex-m3 -nostdlib -Ttest.ld test.c
23 for (i
= 0; i
< 1000; i
++)