olsndot/tests/qemu
Karl Palsson 02064576e8 qemu test sample from daniellinux:
soruced originally from: https://github.com/libopencm3/libopencm3/pull/613

edited to drop the use of bin files, and switch to devices.data
2016-09-09 22:16:45 +00:00
..
main.c qemu test sample from daniellinux: 2016-09-09 22:16:45 +00:00
Makefile qemu test sample from daniellinux: 2016-09-09 22:16:45 +00:00
README.md qemu test sample from daniellinux: 2016-09-09 22:16:45 +00:00

This project is used as a demonstrator on how to run a small baremetal application on a LM3S6965 board, which can be emulated on qemu as well (using qemu-system-arm with -M lm3s6965evb).

For this reason, this application is not portable to other platforms at the moment.

To execute in qemu run:

make qemu

To debug using gcc run:

make qemu-dbg

and then attach a gdb to localhost tcp port 3333.

Requirements: qemu-system-arm openocd