2 releases
0.1.1 | Sep 10, 2019 |
---|---|
0.1.0 | Sep 9, 2019 |
#8 in #teensy
6.5MB
218K
SLoC
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
~2.5MB
~49K SLoC