Giter VIP home page Giter VIP logo

coralmicro's Introduction

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

coralmicro's People

Contributors

atvrager avatar dmitriykovalev avatar namburger avatar scottamain avatar mbrooksx avatar jaisrael avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.