Use a separate file for the private SSID config. (#268)
This commit is contained in:
parent
bc50c7c2fc
commit
2bc87e9414
4 changed files with 8 additions and 22 deletions
|
|
@ -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:
|
||||
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue