-
Notifications
You must be signed in to change notification settings - Fork 223
Setting up environment
Ralph Ursprung edited this page Dec 13, 2023
·
8 revisions
This page doesn't guide you to setup rust. if you don't have rust installed, please install rust first
- if you are going to use msys2, please add
C:\msys64\usr\bin
andC:\msys64\mingw64\bin
to yourPATH
. guide changingPATH
(written by java) - you can follow linux guide using wsl, serial may not work
- this guide is written assuming you use package manager like pacman by msys2 or scoop
avr-gcc
is toolchain required to build binary targeting avr
Many linux distribution provides this package through its official repository
this package is usually named avr-gcc
or gcc-avr
winget install ZakKemble.avr-gcc
pacman -S mingw-w64-x86_64-avr-gcc
scoop install avr-gcc
brew tap osx-cross/avr
brew install avr-gcc # take a lot of time
cargo install ravedude
note that you can still build your project without ravedude
avrdude
is required by ravedude
Many linux distribution provides this package through its official repository
this package is usually named avrdude
winget install AVRDudes.AVRDUDE
pacman -S mingw-w64-x86_64-avrdude
scoop install avrdude
brew install avrdude