Use a separate file for the private SSID config.

This commit is contained in:
Our Air Quality 2016-11-11 14:18:11 +11:00
parent 7c702d7f09
commit 4af12824bd
4 changed files with 8 additions and 22 deletions

View file

@ -33,15 +33,13 @@ git clone --recursive https://github.com/Superhouse/esp-open-rtos.git
cd esp-open-rtos
```
* To build any examples that use WiFi, edit `include/ssid_config.h` and change the two macro defines:
* To build any examples that use WiFi, create `include/private_ssid_config.h` defining the two macro defines:
```c
#define WIFI_SSID "mywifissid"
#define WIFI_PASS "my secret password"
```
Remove the `#warning` line and follow the git ignore instructions written in the header file to keep your credentials from being pushed to Github.
* Build an example project (found in the 'examples' directory) and flash it to a serial port:
```