{"id":17364339,"url":"https://github.com/zlosynth/daisy","last_synced_at":"2025-06-25T06:03:34.070Z","repository":{"id":57674267,"uuid":"482368792","full_name":"zlosynth/daisy","owner":"zlosynth","description":"Hardware abstraction layer for Daisy boards.","archived":false,"fork":false,"pushed_at":"2025-06-10T22:31:33.000Z","size":251,"stargazers_count":26,"open_issues_count":1,"forks_count":8,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-10T22:32:47.794Z","etag":null,"topics":["daisy","embedded","rust","stm32"],"latest_commit_sha":null,"homepage":"https://zlosynth.com/daisy","language":"Rust","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/zlosynth.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null}},"created_at":"2022-04-16T21:50:59.000Z","updated_at":"2025-06-10T22:31:36.000Z","dependencies_parsed_at":"2023-02-01T04:00:21.578Z","dependency_job_id":"72bc128c-8e5b-4749-9857-3741dc7a13c7","html_url":"https://github.com/zlosynth/daisy","commit_stats":{"total_commits":213,"total_committers":6,"mean_commits":35.5,"dds":0.460093896713615,"last_synced_commit":"c827f2c088412ed195800ded68218dc0375ed573"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/zlosynth/daisy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zlosynth%2Fdaisy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zlosynth%2Fdaisy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zlosynth%2Fdaisy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zlosynth%2Fdaisy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zlosynth","download_url":"https://codeload.github.com/zlosynth/daisy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zlosynth%2Fdaisy/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261816054,"owners_count":23213840,"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":["daisy","embedded","rust","stm32"],"created_at":"2024-10-15T20:06:05.061Z","updated_at":"2025-06-25T06:03:34.061Z","avatar_url":"https://github.com/zlosynth.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Daisy\n\nRust `no_std`, `embedded_hal` board support package for the Electro-Smith Daisy\nplatform.\n\n* [Documentation](https://zlosynth.com/daisy)\n* [Crate (crates.io)](https://crates.io/crates/daisy)\n* [Repository (github.com)](https://github.com/zlosynth/daisy)\n\n# Supported boards\n\nCurrently this library supports following boards:\n\n* [Daisy Seed](https://www.electro-smith.com/daisy/daisy) (codec AK4556), `seed`\n* [Daisy Seed 1.1](https://www.electro-smith.com/daisy/daisy) (codec WM8731), `seed_1_1`\n* [Daisy Seed 1.2](https://www.electro-smith.com/daisy/daisy) (codec PCM3060), `seed_1_2`\n* [Daisy Patch SM](https://www.electro-smith.com/daisy/patch-sm) (codec PCM3060), `patch_sm`\n\nSelect the board by using its respective feature.\n\n# Flashing an example\n\nUsing DFU. Connect using a sigle USB cable, click BOOT+RESET before flashing:\n\n```sh\nmake flash-dfu WHAT=blinky BOARD=seed_1_1\n```\n\nUsing [`probe-rs`](https://probe.rs/). This requires ST-Link probe, but provides\nadditional logs and panic messages:\n\n```sh\nmake flash WHAT=blinky BOARD=seed_1_1\n```\n\nUsing [Daisy Bootloader](https://electro-smith.github.io/libDaisy/md_doc_2md_2__a7___getting-_started-_daisy-_bootloader.html).\nThis extends the maximum firmware capacity. You can find a guide with an example under\n[examples/bootloader](examples/bootloader/).\n\n# Sampling rate\n\nBy default, the audio sampling rate is set to 48 kHz. This can be increased to\n96 kHz by enabling the `sampling_rate_96khz` feature.\n\n# Block length\n\nBy default, the audio block length is 32 frames. This can be increased to 64\nby enabling the `block_length_64` feature.\n\n# API stability\n\nI am still trying to figure out a good API for the project. Expect it to change.\nTo mitigate breakage of your code on library update, use macros defined under\n`board.rs` to initialize resources whenever possible.\n\n# HAL compatibility\n\nThis library is closely tied to [stm32h7xx-hal](https://github.com/stm32-rs/stm32h7xx-hal/).\nMake sure to use compatible versions in your `Cargo.toml`.\n\n| **Daisy**   | **HAL** |\n|-------------|---------|\n| `0.10`      | `0.16`  |\n| `0.9`       | `0.15`  |\n| `0.8`       | `0.14`  |\n| `0.2`-`0.7` | `0.12`  |\n| `0.1`       | `0.11`  |\n\n# Razor\n\n* This library aims to abstract all peripherals that are available on Daisy.\n* This library will **not** abstract anything that is not on Daisy, e.g. pots,\n  SD cards, MIDI, ...\n\n# License\n\nThis library is distributed under the terms of the MIT license. See\n[LICENSE](LICENSE) for details.\n\nThis project was forked from\n[antoinevg/daisy_bsp](https://github.com/antoinevg/daisy_bsp).\nKudos to Antoine for making his library public.\n\n# Changelog\n\nRead the [CHANGELOG.md](CHANGELOG.md) to learn about changes introduced in each\nrelease.\n\n# Versioning\n\nSee [VERSIONING.md](VERSIONING.md) to find detailed information about versioning\nof the project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzlosynth%2Fdaisy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzlosynth%2Fdaisy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzlosynth%2Fdaisy/lists"}