README.md: Add Mac instructions

This commit is contained in:
Thomas Roth 2020-11-30 15:52:48 +01:00 committed by GitHub
parent 8193c70e95
commit 0590fdd4e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 1 deletions

View File

@ -21,7 +21,7 @@ Game & Watch damaged. Use these tools at your own risk. If you feel like you don
When connecting the debugger ensrue that at least SWDIO, SWDCLK and GND are connected. Do *not* under any circumstances connect 3.3V to the VDD connection. If your debug probe (for example ST-Link clones) does not have a VTREF connector, just leave VDD unconnected. Connecting 3.3V to VDD will likely destroy your SPI flash.
## Ubuntu setup
### Ubuntu setup
Install the required tools:
@ -29,6 +29,15 @@ Install the required tools:
sudo apt-get install gcc-arm-none-eabi binutils-arm-none-eabi openocd python3
```
### Mac Setup
Using homebrew:
```
brew install openocd
brew tap ArmMbed/homebrew-formulae
brew install arm-none-eabi-gcc
```
## Usage
The scripts are split into 5 parts: