tmk / tmk_keyboard

Keyboard firmwares for Atmel AVR and Cortex-M
3.98k stars 1.7k forks source link

Instructions for building and instilling on OS X #376

Open wmalloc opened 8 years ago

wmalloc commented 8 years ago

Would be possible to add a wiki page on how to do this?

tmk commented 8 years ago

Yeah, it would be appreciated. Feel free to add a page for this! I think you can use macports or homebrew basically and refer to qmk doc. https://github.com/jackhumbert/qmk_firmware/blob/master/doc/BUILD_GUIDE.md#mac

tmk commented 8 years ago

Also crosspack is available. https://github.com/tmk/tmk_keyboard/blob/master/tmk_core/doc/build.md#1-install-tools https://www.obdev.at/products/crosspack/index.html

Only real OSX users know which method is preferable and can write detail instructions. Contributions are welcomed.

matax87 commented 8 years ago

I was able to do this following the instruction from http://maxembedded.com/2015/06/setting-up-avr-gcc-toolchain-on-linux-and-mac-os-x/

pyro2927 commented 7 years ago

Just built http://github.com/tmk/tmk_core on my MacBook Pro running macOS 10.12 and can confirm that all I needed to do was @jackhumbert's instructions:

brew tap osx-cross/avr
brew install avr-libc
brew install dfu-programmer
tmk commented 7 years ago

Just added an entry for this in wiki. Thanks guys! https://github.com/tmk/tmk_keyboard/wiki#build-on-mac