14个版本 (重大更新)

0.11.1 2023年7月15日
0.11.0 2022年1月11日
0.10.0 2021年9月27日
0.9.0 2020年12月31日
0.1.0 2018年5月14日

#2129 in 嵌入式开发

每月44次下载

MIT/Apache

1.5MB
24K SLoC

Adafruit Gemma M0 开发板支持包

此包提供了一种类型安全的API,用于与Adafruit Gemma M0 开发板交互。

先决条件

上传示例

查看仓库中的示例

https://github.com/atsamd-rs/atsamd/tree/master/boards/gemma_m0/examples

  • 在此目录下 cd boards/gemma_m0
  • 将您的设备置于引导加载程序模式,通常是通过连续按两次复位按钮。
  • 一步构建和上传
$ cargo hf2 --release --example blinky_basic
    Finished release [optimized + debuginfo] target(s) in 0.19s
    Searching for a connected device with known vid/pid pair.
    Trying  Ok(Some("Adafruit Industries")) Ok(Some("PyBadge"))
    Flashing "/Users/User/atsamd/boards/gemma_m0/target/thumbv7em-none-eabihf/release/examples/blinky_basic"
    Finished in 0.079s
$

依赖项

~5MB
~109K SLoC