mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 20:41:14 +00:00
Merge branch 'bugfix/uart_echo_readme' into 'master'
example: Remove duplicate commands and invalid serial port information Closes IDFGH-3022 See merge request espressif/esp-idf!8295
This commit is contained in:
@@ -22,8 +22,6 @@ In this example, we use `ADC_UNIT_1` by default, we need to connect a voltage so
|
||||
idf.py menuconfig
|
||||
```
|
||||
|
||||
* Set serial port under Serial Flasher Options.
|
||||
|
||||
### Build and Flash
|
||||
|
||||
Build the project and flash it to the board, then run monitor tool to view serial output:
|
||||
|
@@ -30,8 +30,6 @@ We use ADC1_CHANNEL_7 (GPIO18) and DAC_CHANNEL_1 (GPIO17) by default, you need t
|
||||
```
|
||||
idf.py menuconfig
|
||||
```
|
||||
|
||||
* Set serial port under Serial Flasher Options.
|
||||
* Set ADC2 and DAC channel in "Example Configuration"
|
||||
|
||||
### Build and Flash
|
||||
|
@@ -20,8 +20,6 @@ In this example, we generate a 100Hz triangle and sine wave and send it out from
|
||||
idf.py menuconfig
|
||||
```
|
||||
|
||||
* Set serial port under Serial Flasher Options.
|
||||
|
||||
### Build and Flash
|
||||
|
||||
Build the project and flash it to the board, then run monitor tool to view serial output:
|
||||
|
@@ -41,7 +41,7 @@ The following is the hardware connection:
|
||||
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".
|
||||
|
||||
(Note that you can use `sdkconfig.defaults`)
|
||||
|
@@ -26,8 +26,6 @@ Connect four LEDs to the following LEDC channels / individual GPIOs:
|
||||
idf.py menuconfig
|
||||
```
|
||||
|
||||
* Set serial port under Serial Flasher Options.
|
||||
|
||||
### Build and Flash
|
||||
|
||||
Build the project and flash it to the board, then run monitor tool to view serial output:
|
||||
|
@@ -26,8 +26,6 @@ Pin connection:
|
||||
idf.py menuconfig
|
||||
```
|
||||
|
||||
* Set serial port under Serial Flasher Options.
|
||||
|
||||
### Build and Flash
|
||||
|
||||
Build the project and flash it to the board, then run monitor tool to view serial output:
|
||||
|
@@ -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
|
||||
```
|
||||
|
||||
Set serial port under Serial Flasher Options and save the configuration.
|
||||
|
||||
|
||||
### Build and Flash
|
||||
|
||||
Build the project and flash it to the board, then run monitor tool to view serial output:
|
||||
|
@@ -26,21 +26,11 @@ order to receive back the same data which were sent out.
|
||||
```
|
||||
idf.py menuconfig
|
||||
```
|
||||
or
|
||||
```
|
||||
idf.py menuconfig
|
||||
```
|
||||
|
||||
* Set serial port under Serial Flasher Options.
|
||||
|
||||
### Build and Flash
|
||||
|
||||
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
|
||||
```
|
||||
|
@@ -38,21 +38,11 @@ UART1 driver to use the hardware flow control by setting `.flow_ctrl = UART_HW_F
|
||||
```
|
||||
idf.py menuconfig
|
||||
```
|
||||
or
|
||||
```
|
||||
idf.py menuconfig
|
||||
```
|
||||
|
||||
* Set serial port under Serial Flasher Options.
|
||||
|
||||
### Build and Flash
|
||||
|
||||
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
|
||||
```
|
||||
|
@@ -47,21 +47,12 @@ Note: The GPIO22 - GPIO25 can not be used with ESP32-S2 chip because they are us
|
||||
```
|
||||
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 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
|
||||
```
|
||||
|
||||
(To exit the serial monitor, type ``Ctrl-]``.)
|
||||
|
||||
|
@@ -16,21 +16,11 @@ The example can be used with any ESP32 development board connected to a computer
|
||||
```
|
||||
idf.py menuconfig
|
||||
```
|
||||
or
|
||||
```
|
||||
idf.py menuconfig
|
||||
```
|
||||
|
||||
* Set serial port under Serial Flasher Options.
|
||||
|
||||
### Build and Flash
|
||||
|
||||
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
|
||||
```
|
||||
|
@@ -28,21 +28,11 @@ through UART.
|
||||
```
|
||||
idf.py menuconfig
|
||||
```
|
||||
or
|
||||
```
|
||||
idf.py menuconfig
|
||||
```
|
||||
|
||||
* Set serial port under Serial Flasher Options.
|
||||
|
||||
### Build and Flash
|
||||
|
||||
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
|
||||
```
|
||||
|
Reference in New Issue
Block a user