Skip to content

Commit 5fcdb15

Browse files
authored
esp_guide.md: Modify AT Command Port Pins to UART0
1 parent e84cfb8 commit 5fcdb15

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

esp_guide.md

+12-7
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,15 @@ Full Documentation at: `https://docs.espressif.com/projects/esp-at/en/latest/esp
1414
1. Clone ESP-AT v2.4.0.0: `git clone -b v2.4.0.0 --recursive https://github.com/espressif/esp-at.git`
1515
2. Change to the repository directory: `cd esp-at`
1616
3. `./build.py install` -> Select Platform: ESP32 (Option 1) -> Select Module: WROOM-32 (Option 1) -> Select Silence Mode (Option 1)
17-
4. `./build.py menuconfig` -> (Top) -> Compiler options -> Optimization Level -> Enable (X) Optimize for size (-Os)
18-
-> (Top) -> Component config -> AT -> Disable [ ] AT ble command support.
19-
-> (Top) -> Component config -> AT -> Disable [ ] AT ble hid command support.
20-
-> (Top) -> Component config -> AT -> Disable [ ] AT blufi command support.
21-
-> (Top) -> Component config -> AT -> Disable [ ] AT bt command support.
22-
5. `./build.py build`
23-
6. `./build.py -p (PORT) flash` (replace PORT with your serial port name, for example `/dev/ttyACM0`)
17+
4. `./build.py menuconfig`
18+
-> (Top) -> Compiler options -> Optimization Level -> Enable (X) Optimize for size (-Os)
19+
-> (Top) -> Component config -> AT -> Disable [ ] AT ble command support.
20+
-> (Top) -> Component config -> AT -> Disable [ ] AT ble hid command support.
21+
-> (Top) -> Component config -> AT -> Disable [ ] AT blufi command support.
22+
-> (Top) -> Component config -> AT -> Disable [ ] AT bt command support.
23+
6. Modify AT Command Port Pins to UART0
24+
(`https://docs.espressif.com/projects/esp-at/en/latest/esp32/Compile_and_Develop/How_to_set_AT_port_pin.html#modify-command-port-pins`)
25+
-> Edit `components/customized_partitions/raw_data/factory_param/factory_param_data.csv`
26+
-> Set PLATFORM_ESP32 WROOM-32 `uart_port: 0`, `uart_tx_pin: 22`, `uart_rx_pin: 23`, `uart_cts_pin: -1`, `uart_rts_pin: -1`
27+
8. `./build.py build`
28+
9. `./build.py -p (PORT) flash` (replace PORT with your serial port name, for example `/dev/ttyACM0`)

0 commit comments

Comments
 (0)