diff --git a/README.md b/README.md index f882cb1..2da201b 100644 --- a/README.md +++ b/README.md @@ -68,13 +68,11 @@ You should have the following ready before beginning with any board: - Locate the board's `Arduino.h` (`hardware/esp8266//cores/esp8266/` and comment out the line containing `#define round(x)`, around line 137. -- Two folders up from the `Arduino.h` step above, in the same folder as the board's `platform.txt`, paste the [`platform.local.txt`](https://github.com/Azure/azure-iot-arduino/blob/master/examples/iothub_ll_telemetry_sample/esp8266/platform.local.txt) file from the `esp8266` folder in the sample into it. +- Two folders up from the `Arduino.h` step above, in the same folder as the board's `platform.txt`, create file `platform.local.txt` containing a single line `build.extra_flags=-DESP8266 -DDONT_USE_UPLOADTOBLOB -DUSE_BALTIMORE_CERT`. - - Note1: It is necessary to add `-DDONT_USE_UPLOADTOBLOB` and `-DUSE_BALTIMORE_CERT` to `build.extra_flags=` in a `platform.txt` in order to run the sample, however, you can define them in your own `platform.txt` or a `platform.local.txt` of your own creation. + - Note1: If your device is not intended to connect to the global portal.azure.com, please change the CERT define to the appropriate cert define as laid out in [`certs.c`](https://github.com/Azure/azure-iot-sdk-c/blob/master/certs/certs.c) - - Note2: If your device is not intended to connect to the global portal.azure.com, please change the CERT define to the appropriate cert define as laid out in [`certs.c`](https://github.com/Azure/azure-iot-sdk-c/blob/master/certs/certs.c) - - - Note3: Due to RAM limits, you must select just one CERT define. + - Note2: Due to RAM limits, you must select just one CERT define. 6. Run the sample.