{"id":17967485,"url":"https://github.com/reynoldsbd/gd32vf103-samples","last_synced_at":"2025-09-12T17:40:47.636Z","repository":{"id":105958241,"uuid":"245889430","full_name":"reynoldsbd/gd32vf103-samples","owner":"reynoldsbd","description":"Sample Rust programs for the GD32VF103","archived":false,"fork":false,"pushed_at":"2020-09-06T18:18:56.000Z","size":21,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T15:11:28.576Z","etag":null,"topics":["gd32v","gd32vf103","risc-v","rust","rust-embedded"],"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/reynoldsbd.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":"2020-03-08T21:17:05.000Z","updated_at":"2021-07-13T05:19:01.000Z","dependencies_parsed_at":"2023-03-09T10:30:41.112Z","dependency_job_id":null,"html_url":"https://github.com/reynoldsbd/gd32vf103-samples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/reynoldsbd/gd32vf103-samples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reynoldsbd%2Fgd32vf103-samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reynoldsbd%2Fgd32vf103-samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reynoldsbd%2Fgd32vf103-samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reynoldsbd%2Fgd32vf103-samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reynoldsbd","download_url":"https://codeload.github.com/reynoldsbd/gd32vf103-samples/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reynoldsbd%2Fgd32vf103-samples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274848047,"owners_count":25360979,"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","status":"online","status_checked_at":"2025-09-12T02:00:09.324Z","response_time":60,"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":["gd32v","gd32vf103","risc-v","rust","rust-embedded"],"created_at":"2024-10-29T14:08:59.408Z","updated_at":"2025-09-12T17:40:47.596Z","avatar_url":"https://github.com/reynoldsbd.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Overview\n\nThis repository provides examples of using Rust to program the [GD32VF103 MCU].\nAll of these build on foundational crates provided by the\n[Rust Embedded Working Group].\n\nAvailable examples:\n\n* [*blinky*](./src/blinky.rs)\n* [*hello*](./src/hello.rs)\n* [*echo*](./src/echo.rs)\n* [*interrupt*](./src/interrupt.rs)\n\n[GD32VF103 MCU]: https://www.gigadevice.com/products/microcontrollers/gd32/risc-v/\n[Rust Embedded Working Group]: https://github.com/rust-embedded/wg\n\n# Building\n\nThese examples can be compiled and flashed from any Windows or Linux system.\n\nPrerequisites:\n\n* Stable Rust w/ `riscv32imac-unknown-none-elf` target\n* [Nuclei RISC-V toolchain] (needed only for objcopy)\n* [Modified dfu-util] with support for GD32V bootloader\n  * As mentioned in the release notes, Windows users must also use [Zadig] to\n    configure WinUSB for the enumerated USB bootloader\n* Clone this repository and initialize submodules\n\nTo build and flash *blinky*:\n\n```\ncargo build --bin blinky --release\nriscv-nuclei-elf-objcopy target/riscv32imac-unknown-none-elf/release/blinky -O binary -S blinky.bin\ndfu-util -d 28e9:0189 -a 0 --dfuse-address 0x08000000:leave -D blinky.bin\n```\n\nNote that *dfu-util* requires the device to be in bootloader mode.\n\n[Nuclei RISC-V toolchain]: https://nucleisys.com/download.php\n[Modified dfu-util]: https://github.com/riscv-mcu/gd32-dfu-utils\n[Zadig]: https://zadig.akeo.ie/\n\n# License\n\nLicensed under either of:\n\n* Apache License, Version 2.0\n  ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)\n* MIT license\n  ([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\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall be\ndual licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freynoldsbd%2Fgd32vf103-samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freynoldsbd%2Fgd32vf103-samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freynoldsbd%2Fgd32vf103-samples/lists"}