{"id":17687929,"url":"https://github.com/mogenson/atmega32u4-usb-serial","last_synced_at":"2025-05-13T00:44:13.422Z","repository":{"id":93827366,"uuid":"301527478","full_name":"mogenson/atmega32u4-usb-serial","owner":"mogenson","description":"Rust USB serial driver crate for atmega32u4 based on FFI bindings for Teensy AVR-C library","archived":false,"fork":false,"pushed_at":"2020-10-06T18:02:13.000Z","size":17,"stargazers_count":9,"open_issues_count":1,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-01T05:11:51.258Z","etag":null,"topics":["arduino","avr","ffi","rust","rust-embedded","usb"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mogenson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-05T20:09:36.000Z","updated_at":"2025-02-23T12:49:26.000Z","dependencies_parsed_at":"2023-04-08T21:37:07.705Z","dependency_job_id":null,"html_url":"https://github.com/mogenson/atmega32u4-usb-serial","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mogenson%2Fatmega32u4-usb-serial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mogenson%2Fatmega32u4-usb-serial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mogenson%2Fatmega32u4-usb-serial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mogenson%2Fatmega32u4-usb-serial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mogenson","download_url":"https://codeload.github.com/mogenson/atmega32u4-usb-serial/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253850873,"owners_count":21973671,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arduino","avr","ffi","rust","rust-embedded","usb"],"created_at":"2024-10-24T11:23:44.339Z","updated_at":"2025-05-13T00:44:13.413Z","avatar_url":"https://github.com/mogenson.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Atmega32u4 USB Serial Crate\n\nThis is a Rust crate for the Atmega32u4 microcontroller. It implements a CDC ACM USB serial device using the [Teensy AVR C library](https://www.pjrc.com/teensy/usb_serial.html).\n\nThis crate provides a `UsbSerial` struct that implements the [embedded_hal serial](https://docs.rs/embedded-hal/0.2.4/embedded_hal/serial/index.html) `Read` and `Write` traits. It also implements the [ufmt](https://docs.rs/ufmt/0.1.0/ufmt/trait.uWrite.html) `uWrite` trait.\n\n## To build\n\nUse a nightly compiler version with AVR support by appending `+nightly` to each `cargo` command, or running `rustup override set nightly` once in the crate directory.\n\nRun `cargo build`.\n\n## To use\n\nTo upload the `echo.rs` example to a connected Arduino Leonardo board, run `cargo run --example echo`. Open the virtual serial port with a serial terminal and enter lowercase characters. They should be repeated back in uppercase.\n\nLook at `src/lib.rs` and `examples/echo.rs` to see how to use the available USB serial methods.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmogenson%2Fatmega32u4-usb-serial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmogenson%2Fatmega32u4-usb-serial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmogenson%2Fatmega32u4-usb-serial/lists"}