From 02064576e8dc31509dc91a0681ba80f2c9615d2f Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Sun, 10 Apr 2016 13:22:17 +0000 Subject: 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 --- tests/qemu/README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 tests/qemu/README.md (limited to 'tests/qemu/README.md') diff --git a/tests/qemu/README.md b/tests/qemu/README.md new file mode 100644 index 0000000..4f02adb --- /dev/null +++ b/tests/qemu/README.md @@ -0,0 +1,20 @@ +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 + -- cgit