Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/osx-cross/homebrew-avr
Homebrew AVR Toolchain
https://github.com/osx-cross/homebrew-avr
arduino avr avr-gcc avr-programming avr-toolchain brew homebrew
Last synced: 4 days ago
JSON representation
Homebrew AVR Toolchain
- Host: GitHub
- URL: https://github.com/osx-cross/homebrew-avr
- Owner: osx-cross
- License: bsd-2-clause
- Created: 2015-02-17T21:57:23.000Z (almost 10 years ago)
- Default Branch: main
- Last Pushed: 2024-11-03T10:15:23.000Z (3 months ago)
- Last Synced: 2025-01-11T09:05:51.377Z (11 days ago)
- Topics: arduino, avr, avr-gcc, avr-programming, avr-toolchain, brew, homebrew
- Language: Ruby
- Homepage:
- Size: 423 KB
- Stars: 404
- Watchers: 14
- Forks: 81
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# homebrew-avr
This repository contains the GNU AVR Toolchain as formulae for [Homebrew].
AVR is a popular family of micro-controllers, used for example in the [Arduino] project.
## Current Versions
- GCC 9.4.0 - **default**, provided as `avr-gcc` or `avr-gcc@9`
- GCC 8.5.0 - provided as `avr-gcc@8`
- GCC 10.3.0 - provided as `avr-gcc@10`
- GCC 11.3.0 - provided as `avr-gcc@11`
- GCC 12.2.0 - provided as `avr-gcc@12`
- GCC 13.3.0 - provided as `avr-gcc@13`
- GCC 14.2.0 - provided as `avr-gcc@14`
- Binutils 2.43.1 - provided as `avr-binutils`
- AVR Libc 2.2.1 - provided as a resource for each GCC formula
- GDB 15.2 - provided as `avr-gdb`Support for older GCC versions (4, 5, 6, 7) has been removed. Please, raise an issue if you need one back.
## Installing homebrew-avr formulae
First, make sure you have xcode command line developer tools installed with
```console
$ xcode-select --install
```Then, just run the following to install the latest version of `avr-gcc`:
```console
$ brew tap osx-cross/avr
$ brew install avr-gcc
```If you want to install a different version:
```console
$ brew install avr-gcc@{x}
```Where `{x}` being the version number such as `avr-gcc@8` or `avr-gcc@10`
**Note**: only the default version will be available in your `$PATH`. The other ones are `keg-only` and thus won't be available in `/usr/local/bin`.
You can run `brew info avr-gcc` or `brew info avr-gcc@{x}` for more information on the flags available.
## Docs
`brew info avr-gcc`, `brew help`, `man brew`, or the Homebrew [documentation].
## Thanks
This repository is based on the works of:
- [Leka]
- [larsimmisch]
- [plietar]
- [0xPIT][Homebrew]: http://brew.sh
[Arduino]: http://arduino.cc
[documentation]: https://docs.brew.sh/
[Leka]: https://github.com/Leka/homebrew-avr
[larsimmisch]: https://github.com/larsimmisch/homebrew-avr
[plietar]: https://github.com/plietar/homebrew-avr/
[0xPIT]: https://github.com/0xPIT/homebrew-avr