1. Dive Computer

These are the sources for flashing the DIVE COMPUTER board micro:bit as well.

1.1. Dependencies

For example, to install these dependencies on Ubuntu 18.x:

sudo apt install gcc
sudo apt install git
sudo apt install cmake
sudo apt install gcc-arm-none-eabi binutils-arm-none-eabi

1.2. Building the project

  • Install the dependencies

  • Clone this repository

git clone https://github.com/VlasovAlexey/DiveComputer.git
  • In the root of this repository run the build.py script

cd DiveComputer/dive_computer/src
python3 build.py
  • The MICROBIT.hex hex file will be built and placed in the root folder.

  • Copy the MICROBIT.hex file into the MICORBIT USB drive to flash the micro:bit

Tip

The DIVE COMPUTER sources run under CODAL. If you want to customize for Windows or MacOS you can read more about it here.