用于 AVR 微控制器的嵌入式 HAL 抽象
用于 AVR 微控制器和常见板卡(例如 Arduino)的硬件抽象层。基于 avr-device 编译单元。
您需要一个每晚的 Rust 编译器,用于编译 AVR 的 Rust 代码。 由于 Rust-toolchain.toml 文件,正确的版本将自动安装。
安装依赖项:
sudo apt install avr-libc gcc-avr pkg-config avrdude libudev-dev build-essential xcode-select --install # if you haven't already done so
brew tap osx-cross/avr
brew install avr-gcc avrdudewinget: winget install AVRDudes.AVRDUDE ZakKemble.avr-gcc在旧版系统中,您可以使用 Scoop,首先需要使用 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,或尚未同步最近议题。