examples: change default build instructions in docs to CMake

This commit is contained in:
Mahavir Jain
2019-08-02 09:01:20 +05:30
parent 096b741a23
commit e7dba7d7bc
63 changed files with 136 additions and 137 deletions
+4 -4
View File
@@ -8,7 +8,7 @@ The example checks if the flash encryption feature is enabled/disabled and if en
### Configure the project
```
make menuconfig
idf.py menuconfig
```
* Set serial port under Serial Flasher Options.
@@ -24,7 +24,7 @@ make menuconfig
When building the project and flashing it to the board FOR THE FIRST TIME after enabling flash encryption feature in menuconfig, run following command to program ESP32 and monitor the output
```
make -j4 flash monitor
idf.py -p PORT flash monitor
```
(To exit the serial monitor, type ``Ctrl-]``.)
@@ -34,13 +34,13 @@ See the Getting Started Guide for full steps to configure and use ESP-IDF to bui
When reprogramming the device subsequently use following command for encrypted write of new plaintext application
```
make -j4 encrypted-app-flash monitor
idf.py encrypted-app-flash monitor
```
Please note above command programs only the app partition. In order to reprogram all partitions (bootloader, partition table and application) in encrypted form use
```
make -j4 encrypted-flash monitor
idf.py encrypted-flash monitor
```
## Example Output