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 76191a0f55
commit 70af759dd2
63 changed files with 136 additions and 137 deletions

View File

@@ -24,7 +24,7 @@ order to receive back the same data which were sent out.
### Configure the project
```
make menuconfig
idf.py menuconfig
```
or
```
@@ -38,11 +38,11 @@ idf.py menuconfig
Build the project and flash it to the board, then run monitor tool to view serial output:
```
make -j4 flash monitor
idf.py -p PORT flash monitor
```
or
```
idf.py flash monitor
idf.py -p PORT flash monitor
```
(To exit the serial monitor, type ``Ctrl-]``.)

View File

@@ -36,7 +36,7 @@ UART1 driver to use the hardware flow control by setting `.flow_ctrl = UART_HW_F
### Configure the project
```
make menuconfig
idf.py menuconfig
```
or
```
@@ -50,11 +50,11 @@ idf.py menuconfig
Build the project and flash it to the board, then run monitor tool to view serial output:
```
make -j4 flash monitor
idf.py -p PORT flash monitor
```
or
```
idf.py flash monitor
idf.py -p PORT flash monitor
```
(To exit the serial monitor, type ``Ctrl-]``.)

View File

@@ -45,7 +45,7 @@ Connect USB to RS485 adapter to computer and connect its D+, D- output lines wit
### Configure the project
```
make menuconfig
idf.py menuconfig
```
or
```
@@ -56,11 +56,11 @@ idf.py menuconfig
### Build and Flash
Build the project and flash it to the board, then run monitor tool to view serial output:
```
make -j4 flash monitor
idf.py -p PORT flash monitor
```
or
```
idf.py flash monitor
idf.py -p PORT flash monitor
```
(To exit the serial monitor, type ``Ctrl-]``.)

View File

@@ -14,7 +14,7 @@ The example can be used with any ESP32 development board connected to a computer
### Configure the project
```
make menuconfig
idf.py menuconfig
```
or
```
@@ -28,11 +28,11 @@ idf.py menuconfig
Build the project and flash it to the board, then run monitor tool to view serial output:
```
make -j4 flash monitor
idf.py -p PORT flash monitor
```
or
```
idf.py flash monitor
idf.py -p PORT flash monitor
```
(To exit the serial monitor, type ``Ctrl-]``.)

View File

@@ -26,7 +26,7 @@ through UART.
### Configure the project
```
make menuconfig
idf.py menuconfig
```
or
```
@@ -40,11 +40,11 @@ idf.py menuconfig
Build the project and flash it to the board, then run monitor tool to view serial output:
```
make -j4 flash monitor
idf.py -p PORT flash monitor
```
or
```
idf.py flash monitor
idf.py -p PORT flash monitor
```
(To exit the serial monitor, type ``Ctrl-]``.)