- 
                Notifications
    You must be signed in to change notification settings 
- Fork 247
Setting up environment
        Timofey Koolin edited this page Dec 16, 2022 
        ·
        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\binandC:\msys64\mingw64\binto 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
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
pacman -S mingw-w64-x86_64-avrdude
scoop install avrdude
brew install avrdude