Page 1 of 1

Building TMK on Mac

Posted: 03 Apr 2020, 18:44
by matt3o
I'm rewriting the TMK firmware building tutorial but I don't have access to a mac anymore and I wanted some help regarding setting up the development environment.

I'm pretty sure you still need XCode, can you still install just the command line tools?

Then you need the AVR Toolchain, the official one is on https://www.microchip.com/mplab/avr-sup ... -compilers , you need an account to download them but they seem to work just fine as long as you set the path to the binaries.

Of course you need git and some dfu-programmer. Is homebrew still the best way to obtain these things?

Anything else? Thanks.

Re: Building TMK on Mac

Posted: 04 Apr 2020, 08:42
by matt3o
okay let's try this:

is there anyone with a Mac willing to test this with me? Maybe on Discord

Re: Building TMK on Mac

Posted: 06 Apr 2020, 08:23
by matt3o
well at least it's nice to see there are fewer mac users.

Re: Building TMK on Mac

Posted: 06 Apr 2020, 10:44
by nik137
The AVR Toolchain is on homebrew too (avr-gcc), no account needed. Homebrew wants you to have a current XCode so I never tried to build anything without it.

Re: Building TMK on Mac

Posted: 06 Apr 2020, 12:48
by matt3o
can you install xcode command line tools only?

Re: Building TMK on Mac

Posted: 06 Apr 2020, 13:09
by nik137
Yes, an easy way is to type this into Terminal: xcode-select --install