百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
A

avr-hal

> 编程语言
开源

用于 AVR 微控制器的嵌入式 HAL 抽象

1.6K stars0 点赞1 次浏览
访问官网GitHub

工具介绍

用于 AVR 微控制器的嵌入式 HAL 抽象

avr-hal [][arduino-hal 文档] [][atmega-hal 文档] [][attiny-hal 文档]

用于 AVR 微控制器和常见板卡(例如 Arduino)的硬件抽象层。基于 avr-device 编译单元。

快速入门

您需要一个每晚的 Rust 编译器,用于编译 AVR 的 Rust 代码。 由于 Rust-toolchain.toml 文件,正确的版本将自动安装。 安装依赖项:

  • Ubuntu
bash
  sudo apt install avr-libc gcc-avr pkg-config avrdude libudev-dev build-essential
  • MacOS
bash
  xcode-select --install # if you haven't already done so
  brew tap osx-cross/avr
  brew install avr-gcc avrdude
  • Windows 在 Windows 10 和 Windows 11 上使用 winget:
  winget install AVRDudes.AVRDUDE ZakKemble.avr-gcc

在旧版系统中,您可以使用 Scoop,首先需要使用 PowerShell 进行安装:

powershell
  Set-ExecutionPolicy RemoteSigned -Scope CurrentUser # Needed to run a remote script the first time
  irm get.scoop.sh | iex

安装 avr-gcc 和 avrdude

  scoop install avr-gcc
  scoop install avrdude

请参阅设置环境以了解更多信息。

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rustarduinoavrhal-cratesrust

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言