CMSIS RTOS on microbit
- microbit Ver 1.5
- arm-none-eabi-gcc
$ arm-none-eabi-gcc --version
arm-none-eabi-gcc (GNU Tools for Arm Embedded Processors 7-2018-q2-update) 7.3.1 20180622 (release) [ARM/embedded-7-branch revision 261907]
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- qemu
$ qemu-system-arm --version
QEMU emulator version 4.2.1 (Debian 1:4.2-3ubuntu6.8)
Copyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers
$ ./get-src-build-newlib.sh
# It's take some time.
$ cd build
$ make
Copy main.hex
to microbit
- Run qemu
$ cd build
$ qemu-system-arm -M microbit -device loader,file=main.hex -serial stdio -s -S