Beatled Pico

Requirements

Compilation

  1. Checkout the beatled-pico repo
  2. Checkout submodules:

    git submodule update --init
    
  3. Install the dependencies. For MacOS:

    brew install cmake
    brew tap ArmMbed/homebrew-formulae
    brew install gcc-arm-embedded
    brew install openocd
    brew install minicom
    

    Make sure vcpkg is also intalled on your machine.

    (Full instructions)

  4. You can now build the project from VS Code. To start with, you can build the project for MacOS. It will generate an ARM64 executable with a Metal Shaders visualization. In .vscode/settings.json, make sure the following line are uncommented:

     "PORT": "posix",
     "CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
    

    Image

  5. If you want to compile the Pico version, you need to:
    1. Delete the build folder
    2. Select the arm-none-eabi kit in Cmake (using the Cmake: Select Kit command)
    3. Rebuild the executables

Wiring Diagram

Image

Circuit