{"id":16239179,"url":"https://github.com/jessebraham/esp-hal-template","last_synced_at":"2025-03-19T16:31:18.473Z","repository":{"id":247862090,"uuid":"747315219","full_name":"jessebraham/esp-hal-template","owner":"jessebraham","description":"Opinionated template for using esp-hal with embassy","archived":false,"fork":false,"pushed_at":"2024-10-11T06:37:40.000Z","size":17,"stargazers_count":7,"open_issues_count":3,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-16T01:28:56.676Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jessebraham.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","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":"2024-01-23T17:31:35.000Z","updated_at":"2025-02-16T13:15:21.000Z","dependencies_parsed_at":"2024-11-25T22:15:52.789Z","dependency_job_id":null,"html_url":"https://github.com/jessebraham/esp-hal-template","commit_stats":null,"previous_names":["jessebraham/esp-hal-template"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jessebraham%2Fesp-hal-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jessebraham%2Fesp-hal-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jessebraham%2Fesp-hal-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jessebraham%2Fesp-hal-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jessebraham","download_url":"https://codeload.github.com/jessebraham/esp-hal-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244006258,"owners_count":20382441,"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":[],"created_at":"2024-10-10T13:42:35.595Z","updated_at":"2025-03-19T16:31:18.179Z","avatar_url":"https://github.com/jessebraham.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# esp-hal-template\n\nOne day, maybe, a collection of templates for creating applications using [esp-hal].\n\nCurrently, a single opinionated template for creating applications using [esp-hal] and [embassy]. Compatible with all devices supported by [esp-hal] (i.e. the entire ESP32 line of chips).\n\n[esp-hal]: https://github.com/esp-rs/esp-hal\n[embassy]: https://github.com/embassy-rs/embassy\n\n# Quickstart\n\nIt is assumed that Rust, and in turn `cargo`, are already installed on your system. If you have not yet installed Rust, please visit \u003chttps://rustup.rs/\u003e for installation instructions.\n\nIn order to use this template, you must first install [cargo-generate] and [probe-rs]:\n\n```\ncargo install cargo-generate probe-rs-tools\n```\n\n[cargo-generate]: https://github.com/cargo-generate/cargo-generate/\n[probe-rs]: https://github.com/probe-rs/probe-rs/\n\nWith the prerequisite tools installed, you can generate a project from the template:\n\n```\ncargo generate jessebraham/esp-hal-template embassy\n```\n\nAfter answering the prompts, you can `cd` into your new project's directory.\n\nMake sure that you have connected the device you wish to flash using an interface which is compatible with `probe-rs`. For any devices which have the `USB_SERIAL_JTAG` peripheral (ESP32-C3/C6/H2/S3) then you can use this interface, usually labelled USB on the official devkits from Espressif. For chips without this peripheral (ESP32, ESP32-C2) you must use an external programmer such as an ESP-Prog in order to use `probe-rs` with that device.\n\n\u003e [!IMPORTANT]  \n\u003e At the time of writing, `probe-rs` does not support flashing the original ESP32; with time this should change. All other devices can be flashed.\n\nFinally, to build, flash, and execute your application on-device using `probe-rs`:\n\n```\ncargo run --release\n```\n\n## License\n\nLicensed under either of:\n\n- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)\n- MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n\nat your option.\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in\nthe work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without\nany additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjessebraham%2Fesp-hal-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjessebraham%2Fesp-hal-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjessebraham%2Fesp-hal-template/lists"}