The application is located in the zephyrproject/app directory. It is designed to run on the Zephyr RTOS and is compatible with micro:bit v2 hardware.
General board info can be found here.
While there is existing documentation on the MicroPython libraries for the micro:bit and Kitronik :MOVE, this firmware provides a more direct interface to the hardware. Check out this wiki for the MicroPython extension documentation, our implementations are loosely based on it.
Usage:
- Cd into the
zephyrproject/appdirectory. - Use the
westtool to build and flash the application:west build -b bbc_microbit_v2 app west flash
- To monitor the application output, use:
Ensure that the serial port matches your system's configuration. You can use Ctrl+A then \ to exit the screen session. You can use
screen /dev/ttyACM0 115200
-Lto enable logging into a file.
- https://www.zephyrproject.org/zephyr-and-the-bbc-microbit-v2-tutorial-part-1-gpio/
- https://www.zephyrproject.org/zephyr-and-the-bbc-microbit-part-2/
- https://www.zephyrproject.org/zephyr-and-the-bbc-microbit-v2-tutorial-part-3-i2c/
- https://www.zephyrproject.org/zephyr-and-the-bbc-microbit-v2-tutorial-part-4-ble/
- https://docs.zephyrproject.org/latest/develop/application/index.html#application
- https://pc-microbit-extension.readthedocs.io/en/latest/_downloads/5d83be39f1368f41b80dd72b077dfacf/MOVEMotor_v31.py
- https://github.com/fduignan/zephyr_bbc_microbit_v2/tree/main