{"id":20246951,"url":"https://github.com/prdktntwcklr/cpp-on-avr","last_synced_at":"2026-05-28T13:32:07.561Z","repository":{"id":202782152,"uuid":"708019477","full_name":"prdktntwcklr/cpp-on-avr","owner":"prdktntwcklr","description":"C++ code for AVR microcontrollers.","archived":false,"fork":false,"pushed_at":"2024-09-08T14:46:01.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T00:51:26.454Z","etag":null,"topics":["avr","cmake","cpp","gtest","microcontrollers"],"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/prdktntwcklr.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":"2023-10-21T09:24:17.000Z","updated_at":"2024-09-08T14:46:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"c3134aea-27e4-4b38-b6c0-c92d680705e2","html_url":"https://github.com/prdktntwcklr/cpp-on-avr","commit_stats":null,"previous_names":["prdktntwcklr/cpp-on-avr"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/prdktntwcklr/cpp-on-avr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prdktntwcklr%2Fcpp-on-avr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prdktntwcklr%2Fcpp-on-avr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prdktntwcklr%2Fcpp-on-avr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prdktntwcklr%2Fcpp-on-avr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prdktntwcklr","download_url":"https://codeload.github.com/prdktntwcklr/cpp-on-avr/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prdktntwcklr%2Fcpp-on-avr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33611248,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["avr","cmake","cpp","gtest","microcontrollers"],"created_at":"2024-11-14T09:34:21.236Z","updated_at":"2026-05-28T13:32:07.542Z","avatar_url":"https://github.com/prdktntwcklr.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# C++ on AVR\n\nC++ code for resource-constrained microcontrollers.\n\n## Getting started\n\nThe best way to get started is to use the provided `Dockerfile` that comes with\nall required dependencies pre-installed.\n\n### Building the project\n\nTo build the project for the target hardware, you have to supply the toolchain\nfile as follows:\n\n```bash\ncmake -DCMAKE_TOOLCHAIN_FILE=\"avr.cmake\" -B Build/Avr\n```\n\nThen, build the project:\n\n```bash\ncmake --build Build/Avr --target app size hex\n```\n\n### Flashing firmware\n\nThese commands need to be run outside of `Docker`. First, erase the chip:\n\n```bash\navrdude -p m168 -P COM6 -c avrispv2 -e\n```\n\nThen, flash the firmware:\n\n```bash\navrdude -p m168 -P COM6 -c avrispv2 -U flash:w:app.hex\n```\n\n## Further reading\n\n- Kormanyos, C. (2021): *Real-Time C++: Efficient Object-Oriented and Template\nMicrocontroller Programming.* Springer Berlin Heidelberg.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprdktntwcklr%2Fcpp-on-avr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprdktntwcklr%2Fcpp-on-avr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprdktntwcklr%2Fcpp-on-avr/lists"}