#teensy #arm #cortex-m #proc-macro

macro no-std teensy-lc-macros

Procedural macros for teensy-lc crate

2 releases

0.1.1 Sep 10, 2019
0.1.0 Sep 9, 2019

#11 in #teensy


Used in teensy-lc

MIT/Apache

6KB
106 lines

Teensy LC

This crate is an incomplete HAL and board crate for the Teensy LC microcontroller board.

Beware: it's early stage and very much a work in progress. It might never support more than what I directly need for my projects (but patches welcome).

Usage

See blinky. cargo build will generate an ELF binary. On Linux/FreeBSD (or any other platform supporting libusb) you can then upload the binary using the reimplamanted CLI loader.

Alternatively, to convert it to hex format suitable for the loader CLI, run:

objcopy -O ihex path/to/elf_binary path/to/hex_file

To convert it to raw binary which you can hexdump and inspect, run:

objcopy -O binary path/to/elf_binary path/to/hex_file

Dependencies

~1.5MB
~34K SLoC