basic cortex-m3 simulation on qemu
also , bravegnu tutorials..
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -g -c test.c -o test.o arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -g -c startup.c -o startup.o arm-none-eabi-ld -g -T standalone.ld startup.o test.o -o test.elf arm-none-eabi-objcopy -O binary test.elf test.bin
qemu-system-arm -M lm3s6965evb --kernel test.bin --serial null -nographic -S -s
arm-none-eabi-as -mcpu=cortex-m3 -mthumb -g -c basepri.s -o basepri.o arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -g -c startup.c -o startup.o arm-none-eabi-ld -g -T standalone.ld startup.o basepri.o -o test.elf
start gdb using arm-none-eabi-gdb test.elf then type target remote localhost:1234