Dive Computer ======================================== These are the sources for flashing the DIVE COMPUTER board micro:bit as well. Dependencies ------------------------ - `GNU Arm Embedded Toolchain `_ - `Git `_ - `CMake `_ - `Python 3 `_ - `Ninja Build `_ (only needed on Windows) For example, to install these dependencies on Ubuntu 18.x: .. code:: console sudo apt install gcc sudo apt install git sudo apt install cmake sudo apt install gcc-arm-none-eabi binutils-arm-none-eabi Building the project ------------------------ - Install the dependencies - Clone this repository .. code:: console git clone https://github.com/VlasovAlexey/DiveComputer.git - In the root of this repository run the ``build.py`` script .. code:: console 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 `_.