Skip to content

Commit

Permalink
Merge pull request #32 from rosetree/feature/extend-for-esp32
Browse files Browse the repository at this point in the history
Feature/extend for esp32
  • Loading branch information
rosetree authored Jan 9, 2020
2 parents ea04df3 + 52cb240 commit 7c42724
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,26 @@ Following features are implemented in this project:
The default update time is 30s and should be changed to the wanted time (in seconds) for production, by changing following line in the Makefile: `CFLAGS += -DCORD_LT=30s`.

## Build and Execute
Enter shell with board command (Phytec)
### Phytec Board
Enter shell and execute:

SERIAL=... BOARD=pba-d-01-kw2x BUILD_IN_DOCKER=1 make all flash term

### ESP-WROOM-32
Add following lines to your Makefile (Replace `<SSID>` and `<PASSWORD>` by WIFI-Access-Point data):

```Makefile
USEMODULE += esp_wifi
CFLAGS += -DESP_WIFI_SSID=\"<SSID>\"
CFLAGS += -DESP_WIFI_PASS=\"<PASSWORD>\"
```

Enter shell and execute:

SERIAL=... BOARD=esp32-wroom-32 BUILD_IN_DOCKER=1 make all flash term

### Note
To distinguish multiple boards using SERIAL number

make list-ttys

0 comments on commit 7c42724

Please sign in to comment.