Skip to content
 
 

Repository files navigation

Coral Pico Source Code

This fork of the Coral Dev Board Micro provides the minimal set of changes to support the modified hardware of the Starbelt Open Hardware Edge TPU payload for picosatellites.

Key changes include:

  • Removal of Power Management Integrated Circuit (PMIC) hardware abstraction
    • The Starbelt EdgeTPU PCB does not feature a PMIC, as the PMIC utilized by the Dev Board Micro was not available for purchase at time of design for the Starbelt PCB.
  • Removal of hardware abstraction for the camera and microphone peripherals.
    • These devices are not included in the Starbelt Edge TPU Picosatellite PCB.
  • Updated Python Package Requirements

Change Contributors: Jack Rathert

Coral Dev Board Micro source code (coralmicro)

This repository contains all the code required to build apps for the Coral Dev Board Micro. The Dev Board Micro is based on the NXP RT1176 microcontroller (dual-core MCU with Cortex M7 and M4) and includes an on-board camera (324x324 px), a microphone, and a Coral Edge TPU to accelerate TensorFlow Lite models.

The software platform for Dev Board Micro is called coralmicro and is based on FreeRTOS. It also includes libraries for compatibility with the Arduino programming language.

The coralmicro build system is based on CMake and includes support for Make and Ninja builds. After you build the included projects, you can flash them to your board with the included flashtool (scripts/flashtool.py).

main arduino

Documentation

Get the code

  1. Clone coralmicro and all submodules:

    git clone --recurse-submodules -j8 https://github.com/google-coral/coralmicro
  2. Install the required tools:

    cd coralmicro && bash setup.sh

Build the code

This builds everything in a folder called build (or you can specify a different path with -b, but if you do then you must also specify that path everytime you call flashtool.py):

bash build.sh

Flash the board

This example blinks the board's green LED:

python3 scripts/flashtool.py -e blink_led

You can see the code at examples/blink_led/.

Reset the board to Serial Downloader

Flashing the Dev Board Micro might fail sometimes and you can usually solve it by starting Serial Downloader mode in one of two ways:

  • Hold the User button while you press the Reset button.
  • Or, hold the User button while you plug in the USB cable.

Then try flashing the board again.

For more details, see the troubleshooting info on coral.ai.

Update the repo

Use the following commands to keep all coralmicro submodules in sync (rebasing your current branch):

git fetch origin

git rebase origin/main

git submodule update --init --recursive

About

A fork of the existing CoralMicro repository, to support the Starbelt Open Hardware Edge TPU for Picosatellites

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages