teensy-lc

Crates.ioteensy-lc
lib.rsteensy-lc
version0.1.1
sourcesrc
created_at2019-09-09 18:55:42.863957
updated_at2019-09-10 09:59:16.976712
descriptionBoard Support / HAL Crate for Teensy LC
homepagehttps://gitlab.com/teensy-rs/teensy-lc/
repositoryhttps://gitlab.com/teensy-rs/teensy-lc/
max_upload_size
id163617
size23,684
Maciej Pasternacki (mpasternacki)

documentation

https://docs.rs/teensy-lc/0.1.1/

README

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
Commit count: 4

cargo fmt