- Install:
- ARM Toolchain
- Eclipse CDT
- GNU ARM plugins from the Eclipse Marketplace
- GNU ARM Eclipse QEMU
- mbed-cli
- Clone this repo and cd there
git clone https://github.com/amq/mbed-os-qemu
cd mbed-os-qemu
- Download mbed-os and the libraries
mbed update
- Export an Eclipse project
mbed export -i gnuarmeclipse -m DISCO_F429ZI
- Import
mbed-os-qemu
in Eclipse usingFile - Import - General - Existing Projects into Workspace
- Configure the QEMU path in
Window - Preferences - Run/Debug - QEMU
- Start debugging using the
mbed-os-qemu Debug
configuration
Safe to ignore:
M profile return from interrupt with misaligned PC is UNPREDICTABLE
Unresolved inclusion: <Debug\mbed-config.h>
Limitations of QEMU:
- Floating Point Unit is not supported
Other:
printf
is not supported