Skip to content

Commit

Permalink
Merge pull request commaai#60 from energee/mac-update
Browse files Browse the repository at this point in the history
Adds Mac-specific instructions for setting up board and esp
  • Loading branch information
geohot committed Nov 13, 2017
2 parents e58a1cb + 3d7349f commit 80766f1
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 22 deletions.
16 changes: 3 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
------
Expand Down
9 changes: 0 additions & 9 deletions board/README

This file was deleted.

33 changes: 33 additions & 0 deletions board/README.md
Original file line number Diff line number Diff line change
@@ -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
5 changes: 5 additions & 0 deletions board/get_mac_sdk.sh
Original file line number Diff line number Diff line change
@@ -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 changes: 22 additions & 0 deletions boardesp/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

Dependencies
-----

**Mac**

```
./get_sdk.sh
```

**Debian / Ubuntu**

```
./get_mac_sdk.sh
```

Programming
-----

```
make
```

0 comments on commit 80766f1

Please sign in to comment.