Giter VIP home page Giter VIP logo

teensy_bare_metal's Introduction

Bare-metal Code Examples for the Teensy 3.1/3.2

This repository contains bare-metal (no Arduino compatibility) C code written from scratch based on the reference manuals. It's aimed to be heavily commented to allow a smooth start for C-developers diving into embedded coding with the Teensy.

The code is split into two parts:

  • common contains general-purpose/framework code, Makefile, linker script etc. shared amongst the different examples.
  • src has subdirectories with different examples.

To start experimenting yourself, simply create a new subfolder in src and create a symlink Makefile -> ../../common/Makefile.

Prerequisites

  • GNU make
  • GCC arm-none-eabi
  • libusb (for teensy_loader_cli)

On Debian/Ubuntu, the following should install the necessary requirements:

apt-get install build-essential gcc-arm-none-eabi libusb-dev

If you did not use --recursive when cloning, don't forget to init submodules (for teensy_loader_cli):

git submodule init
git submodule update

You should now be able to run make build in any of the examples in src. Use make load to also load the resulting hex file with teensy_loader_cli.

Reading Material

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.