Merge branch 'bugfix/uart_echo_readme_v4.1' into 'release/v4.1'

example: Remove duplicate commands and invalid serial port information (v4.1)

See merge request espressif/esp-idf!8335
This commit is contained in:
Krzysztof Budzynski 2020-04-14 00:33:50 +08:00
commit 5a09cfe70a
33 changed files with 6 additions and 115 deletions

View file

@ -35,8 +35,6 @@ Note :
idf.py menuconfig idf.py menuconfig
``` ```
* Set serial port under Serial Flasher Options.
### Build and Flash ### Build and Flash
Build the project and flash it to the board, then run monitor tool to view serial output: Build the project and flash it to the board, then run monitor tool to view serial output:

View file

@ -26,8 +26,6 @@ Note :
idf.py menuconfig idf.py menuconfig
``` ```
* Set serial port under Serial Flasher Options.
### Build and Flash ### Build and Flash
Build the project and flash it to the board, then run monitor tool to view serial output: Build the project and flash it to the board, then run monitor tool to view serial output:

View file

@ -23,8 +23,6 @@ To test this demo, any BLE mesh provisioner app can be used.
idf.py menuconfig idf.py menuconfig
``` ```
* Set serial port under Serial Flasher Options.
* Select 'Enable BLE mesh functionality' under 'Component config > Bluetooth > Enable NimBLE host stack'. * Select 'Enable BLE mesh functionality' under 'Component config > Bluetooth > Enable NimBLE host stack'.
### Build and Flash ### Build and Flash

View file

@ -29,8 +29,6 @@ Note :
idf.py menuconfig idf.py menuconfig
``` ```
* Set serial port under Serial Flasher Options.
* Select I/O capabilities of device from 'Example Configuration > I/O Capability', default is 'Just_works'. * Select I/O capabilities of device from 'Example Configuration > I/O Capability', default is 'Just_works'.
* Enable/Disable other security related parameters 'Bonding, MITM option, secure connection(SM SC)' from 'Example Configuration'. * Enable/Disable other security related parameters 'Bonding, MITM option, secure connection(SM SC)' from 'Example Configuration'.

View file

@ -19,8 +19,6 @@ In this example, we use `ADC_UNIT_1` by default, we need to connect a voltage so
idf.py menuconfig idf.py menuconfig
``` ```
* Set serial port under Serial Flasher Options.
### Build and Flash ### Build and Flash
Build the project and flash it to the board, then run monitor tool to view serial output: Build the project and flash it to the board, then run monitor tool to view serial output:

View file

@ -27,8 +27,6 @@ We use ADC1_CHANNEL_7 (GPIO18) and DAC_CHANNEL_1 (GPIO17) by default, you need t
``` ```
idf.py menuconfig idf.py menuconfig
``` ```
* Set serial port under Serial Flasher Options.
* Set ADC2 and DAC channel in "Example Configuration" * Set ADC2 and DAC channel in "Example Configuration"
### Build and Flash ### Build and Flash

View file

@ -17,8 +17,6 @@ In this example, we generate a 100Hz triangle and sine wave and send it out from
idf.py menuconfig idf.py menuconfig
``` ```
* Set serial port under Serial Flasher Options.
### Build and Flash ### Build and Flash
Build the project and flash it to the board, then run monitor tool to view serial output: Build the project and flash it to the board, then run monitor tool to view serial output:

View file

@ -38,7 +38,7 @@ The following is the hardware connection:
idf.py menuconfig idf.py menuconfig
``` ```
* Set serial port under Serial Flasher Options, the flash size should be set to 4 MB. * Set the flash size to 4 MB under Serial Flasher Options.
* Select "Custom partition table CSV" and rename "Custom partition CSV file" to "partitions_adc_dac_example.csv". * Select "Custom partition table CSV" and rename "Custom partition CSV file" to "partitions_adc_dac_example.csv".
(Note that you can use `sdkconfig.defaults`) (Note that you can use `sdkconfig.defaults`)

View file

@ -26,8 +26,6 @@ Connect four LEDs to the following LEDC channels / individual GPIOs:
idf.py menuconfig idf.py menuconfig
``` ```
* Set serial port under Serial Flasher Options.
### Build and Flash ### Build and Flash
Build the project and flash it to the board, then run monitor tool to view serial output: Build the project and flash it to the board, then run monitor tool to view serial output:

View file

@ -23,8 +23,6 @@ Pin connection:
idf.py menuconfig idf.py menuconfig
``` ```
* Set serial port under Serial Flasher Options.
### Build and Flash ### Build and Flash
Build the project and flash it to the board, then run monitor tool to view serial output: Build the project and flash it to the board, then run monitor tool to view serial output:

View file

@ -27,9 +27,6 @@ By default the GPIO output is 4. To change it, edit the line with `GPIO_NUM_4` i
idf.py menuconfig idf.py menuconfig
``` ```
Set serial port under Serial Flasher Options and save the configuration.
### Build and Flash ### Build and Flash
Build the project and flash it to the board, then run monitor tool to view serial output: Build the project and flash it to the board, then run monitor tool to view serial output:

View file

@ -26,21 +26,11 @@ order to receive back the same data which were sent out.
``` ```
idf.py menuconfig idf.py menuconfig
``` ```
or
```
idf.py menuconfig
```
* Set serial port under Serial Flasher Options.
### Build and Flash ### Build and Flash
Build the project and flash it to the board, then run monitor tool to view serial output: Build the project and flash it to the board, then run monitor tool to view serial output:
```
idf.py -p PORT flash monitor
```
or
``` ```
idf.py -p PORT flash monitor idf.py -p PORT flash monitor
``` ```

View file

@ -38,21 +38,11 @@ UART1 driver to use the hardware flow control by setting `.flow_ctrl = UART_HW_F
``` ```
idf.py menuconfig idf.py menuconfig
``` ```
or
```
idf.py menuconfig
```
* Set serial port under Serial Flasher Options.
### Build and Flash ### Build and Flash
Build the project and flash it to the board, then run monitor tool to view serial output: Build the project and flash it to the board, then run monitor tool to view serial output:
```
idf.py -p PORT flash monitor
```
or
``` ```
idf.py -p PORT flash monitor idf.py -p PORT flash monitor
``` ```

View file

@ -47,21 +47,12 @@ Connect USB to RS485 adapter to computer and connect its D+, D- output lines wit
``` ```
idf.py menuconfig idf.py menuconfig
``` ```
or
```
idf.py menuconfig
```
* Set serial port under Serial Flasher Options to the serial port of ESP32-WROVER-KIT board.
### Build and Flash ### Build and Flash
Build the project and flash it to the board, then run monitor tool to view serial output: Build the project and flash it to the board, then run monitor tool to view serial output:
``` ```
idf.py -p PORT flash monitor idf.py -p PORT flash monitor
``` ```
or
```
idf.py -p PORT flash monitor
```
(To exit the serial monitor, type ``Ctrl-]``.) (To exit the serial monitor, type ``Ctrl-]``.)

View file

@ -16,21 +16,11 @@ The example can be used with any ESP32 development board connected to a computer
``` ```
idf.py menuconfig idf.py menuconfig
``` ```
or
```
idf.py menuconfig
```
* Set serial port under Serial Flasher Options.
### Build and Flash ### Build and Flash
Build the project and flash it to the board, then run monitor tool to view serial output: Build the project and flash it to the board, then run monitor tool to view serial output:
```
idf.py -p PORT flash monitor
```
or
``` ```
idf.py -p PORT flash monitor idf.py -p PORT flash monitor
``` ```

View file

@ -28,21 +28,11 @@ through UART.
``` ```
idf.py menuconfig idf.py menuconfig
``` ```
or
```
idf.py menuconfig
```
* Set serial port under Serial Flasher Options.
### Build and Flash ### Build and Flash
Build the project and flash it to the board, then run monitor tool to view serial output: Build the project and flash it to the board, then run monitor tool to view serial output:
```
idf.py -p PORT flash monitor
```
or
``` ```
idf.py -p PORT flash monitor idf.py -p PORT flash monitor
``` ```

View file

@ -82,8 +82,6 @@ This example can be run on any commonly available ESP32 development board.
idf.py menuconfig idf.py menuconfig
``` ```
* Set serial port under Serial Flasher Options.
* Specific configuration for each example can be found in its README.md file. * Specific configuration for each example can be found in its README.md file.
## Build and Flash ## Build and Flash

View file

@ -38,10 +38,6 @@ This example can be run on any commonly available ESP32 development board.
idf.py menuconfig idf.py menuconfig
``` ```
Set following parameter under Serial Flasher Options:
* Set `Default serial port`.
Set following parameters under Example Configuration Options: Set following parameters under Example Configuration Options:
* Set `IP version` of example to be IPV4 or IPV6. * Set `IP version` of example to be IPV4 or IPV6.

View file

@ -40,10 +40,6 @@ This example can be run on any commonly available ESP32 development board.
idf.py menuconfig idf.py menuconfig
``` ```
Set following parameter under Serial Flasher Options:
* Set `Default serial port`.
Set following parameters under Example Configuration Options: Set following parameters under Example Configuration Options:
* Set `IP version` of the example to be IPV4 or IPV6. * Set `IP version` of the example to be IPV4 or IPV6.

View file

@ -48,10 +48,6 @@ This example can be run on any commonly available ESP32 development board.
idf.py menuconfig idf.py menuconfig
``` ```
Set following parameter under Serial Flasher Options:
* Set `Default serial port`.
Set following parameters under Example Configuration Options: Set following parameters under Example Configuration Options:
* Set `IP version` of example to be IPV4 or IPV6. * Set `IP version` of example to be IPV4 or IPV6.

View file

@ -50,10 +50,6 @@ This example can be run on any commonly available ESP32 development board.
idf.py menuconfig idf.py menuconfig
``` ```
Set following parameter under Serial Flasher Options:
* Set `Default serial port`.
Set following parameters under Example Configuration Options: Set following parameters under Example Configuration Options:
* Set `IP version` of the example to be IPV4 or IPV6. * Set `IP version` of the example to be IPV4 or IPV6.

View file

@ -50,8 +50,6 @@ There are various applications, specific to Windows and macOS platform which can
idf.py menuconfig idf.py menuconfig
``` ```
* Set serial port under Serial Flasher Options.
* Under Example Configuration set the following : * Under Example Configuration set the following :
* Security Version (default 1) * Security Version (default 1)
* Proof of Possession (default "abcd1234") * Proof of Possession (default "abcd1234")

View file

@ -33,8 +33,6 @@ To provision the device running this example, the `esp_prov.py` script needs to
idf.py menuconfig idf.py menuconfig
``` ```
* Set serial port under Serial Flasher Options.
* Under Example Configuration set the following : * Under Example Configuration set the following :
* Security Version (default 1) * Security Version (default 1)
* Proof of Possession (default "abcd1234") * Proof of Possession (default "abcd1234")

View file

@ -32,8 +32,6 @@ To provision the device running this example, the `esp_prov.py` script needs to
idf.py menuconfig idf.py menuconfig
``` ```
* Set serial port under Serial Flasher Options.
* Under Example Configuration set the following : * Under Example Configuration set the following :
* SoftAP SSID (Defaults to PROV_<MACID>) * SoftAP SSID (Defaults to PROV_<MACID>)
* SoftAP Password (Defaults to PROV_PASS) * SoftAP Password (Defaults to PROV_PASS)

View file

@ -50,8 +50,6 @@ There are various applications, specific to Windows and macOS platform which can
idf.py menuconfig idf.py menuconfig
``` ```
* Set serial port under Serial Flasher Options.
### Build and Flash ### Build and Flash
Build the project and flash it to the board, then run monitor tool to view serial output: Build the project and flash it to the board, then run monitor tool to view serial output:

View file

@ -45,8 +45,6 @@ To provision the device running this example, the `esp_prov.py` script needs to
idf.py menuconfig idf.py menuconfig
``` ```
* Set serial port under Serial Flasher Options.
* Under Example Configuration set the following : * Under Example Configuration set the following :
* SoftAP SSID (Defaults to PROV_<MACID>) * SoftAP SSID (Defaults to PROV_<MACID>)
* SoftAP Password (Defaults to PROV_PASS) * SoftAP Password (Defaults to PROV_PASS)

View file

@ -14,8 +14,6 @@ The example also demonstrates writing and reading encrypted partitions in flash.
idf.py menuconfig idf.py menuconfig
``` ```
* Set serial port under Serial Flasher Options.
* Enable the flash encryption mode (Development or Release) under Security Features. Default usage mode is Development (recommended during test and development phase). * Enable the flash encryption mode (Development or Release) under Security Features. Default usage mode is Development (recommended during test and development phase).
* Ensure Bootloader log verbosity is Info under Bootloader config. * Ensure Bootloader log verbosity is Info under Bootloader config.

View file

@ -24,8 +24,6 @@ This example requires an ESP32 with external SPI RAM connected, for instance an
idf.py menuconfig idf.py menuconfig
``` ```
* Set serial port under Serial Flasher Options.
* Make sure that SPI RAM bank switching is enabled. (Compiling the example with default values will automatically enable this.) It can be found under `Component config > ESP32-specific > Support for external, SPI-connected RAM > SPI RAM config`. * Make sure that SPI RAM bank switching is enabled. (Compiling the example with default values will automatically enable this.) It can be found under `Component config > ESP32-specific > Support for external, SPI-connected RAM > SPI RAM config`.
### Build and Flash ### Build and Flash
@ -99,4 +97,4 @@ I (0) cpu_start: Starting scheduler on APP CPU.
I (132) spiram: Reserving pool of 32K of internal memory for DMA/internal allocations I (132) spiram: Reserving pool of 32K of internal memory for DMA/internal allocations
Himem has 6080 KiB of memory, 6080 KiB of which is free. Testing the free memory... Himem has 6080 KiB of memory, 6080 KiB of which is free. Testing the free memory...
Done! Done!
``` ```

View file

@ -18,14 +18,14 @@ Example should be able to run on any commonly available ESP32 development board.
### Configure the project ### Configure the project
``` ```
make menuconfig idf.py menuconfig
``` ```
* Set serial port under Serial Flasher Options.
### Build and Flash ### Build and Flash
Enter `make -j4 flash monitor` if you are using GNU Make based build system or enter `idf.py build flash monitor` if you' are using CMake based build system. ```
idf.py build flash monitor
```
(To exit the serial monitor, type ``Ctrl-]``.) (To exit the serial monitor, type ``Ctrl-]``.)

View file

@ -34,7 +34,6 @@ to make ESPNOW data more safe and more reliable.
idf.py menuconfig idf.py menuconfig
``` ```
* Set serial port under Serial Flasher Options.
* Set WiFi mode (station or SoftAP) under Example Configuration Options. * Set WiFi mode (station or SoftAP) under Example Configuration Options.
* Set ESPNOW primary master key under Example Configuration Options. * Set ESPNOW primary master key under Example Configuration Options.
This parameter must be set to the same value for sending and recving devices. This parameter must be set to the same value for sending and recving devices.

View file

@ -11,8 +11,6 @@
idf.py menuconfig idf.py menuconfig
``` ```
* Set serial port under Serial Flasher Options.
* Set WiFi SSID and WiFi Password and Maximal STA connections under Example Configuration Options. * Set WiFi SSID and WiFi Password and Maximal STA connections under Example Configuration Options.
### Build and Flash ### Build and Flash

View file

@ -11,8 +11,6 @@
idf.py menuconfig idf.py menuconfig
``` ```
* Set serial port under Serial Flasher Options.
* Set WiFi SSID and WiFi Password and Maximum retry under Example Configuration Options. * Set WiFi SSID and WiFi Password and Maximum retry under Example Configuration Options.
### Build and Flash ### Build and Flash

View file

@ -16,8 +16,6 @@ Download ESPTOUCH APP from app store:
idf.py menuconfig idf.py menuconfig
``` ```
* Set serial port under Serial Flasher Options.
### Build and Flash ### Build and Flash
Build the project and flash it to the board, then run monitor tool to view serial output: Build the project and flash it to the board, then run monitor tool to view serial output: