Merge pull request #60 from energee/mac-update

Adds Mac-specific instructions for setting up board and esp
master
George Hotz 2017-11-12 19:28:37 -08:00 committed by GitHub
commit 80766f184f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 63 additions and 22 deletions

View File

@ -59,20 +59,10 @@ Directory structure
Programming (over USB)
------
Programming the STM32
```
cd board
./get_sdk.sh
make recover # initially
make # future
```
[Programming the Board (STM32)](board/README.md)
[Programming the ESP](boardesp/README.md)
Programming the ESP
```
cd boardesp
./get_sdk.sh
make
```
Debugging
------

View File

@ -1,9 +0,0 @@
== Building ==
./get_sdk.sh
dfu-util from
git@github.com:dsigma/dfu-util.git

33
board/README.md 100644
View File

@ -0,0 +1,33 @@
Dependencies
--------
**Mac**
```
./get_mac_sdk.sh
```
**Debian / Ubuntu**
```
./get_sdk.sh
```
Programming
----
**Panda**
```
make
```
**NEO**
```
make -f Makefile.legacy
```
[dfu-util](http://github.com/dsigma/dfu-util.git) for flashing

View File

@ -0,0 +1,5 @@
#!/bin/bash
# Need formula for gcc
brew tap ArmMbed/homebrew-formulae
brew install python dfu-util arm-none-eabi-gcc
pip2 install libusb1

22
boardesp/README.md 100644
View File

@ -0,0 +1,22 @@
Dependencies
-----
**Mac**
```
./get_sdk.sh
```
**Debian / Ubuntu**
```
./get_mac_sdk.sh
```
Programming
-----
```
make
```