- 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-qemuin 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 Debugconfiguration
Safe to ignore:
M profile return from interrupt with misaligned PC is UNPREDICTABLEUnresolved inclusion: <Debug\mbed-config.h>
Limitations of QEMU:
- Floating Point Unit is not supported
Other:
printfis not supported