Crates.io | teensy-lc |
lib.rs | teensy-lc |
version | 0.1.1 |
source | src |
created_at | 2019-09-09 18:55:42.863957 |
updated_at | 2019-09-10 09:59:16.976712 |
description | Board Support / HAL Crate for Teensy LC |
homepage | https://gitlab.com/teensy-rs/teensy-lc/ |
repository | https://gitlab.com/teensy-rs/teensy-lc/ |
max_upload_size | |
id | 163617 |
size | 23,684 |
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).
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