test.c

来自「openocd是比较好的调试工具软件,支持wiggle调试arm,也支持其他调试」· C语言 代码 · 共 28 行

C
28
字号
/* simple app. modify test.ld to change address.Even if the app is position independent, the symbolsneed to match to test basic debugging.To load the app to 0x20000000 in GDB, use:load a.outmonitor reg sp 0x20004000monitor reg pc 0x20002000stepiarm-elf-gcc -mthumb -mcpu=cortex-m3 -nostdlib -Ttest.ld test.c*/int j;void _start(){  int i;  for (i=0; i<1000; i++)    {      j++;    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?