Skip to content

Commit

Permalink
esp_guide.md: Modify AT Command Port Pins to UART0
Browse files Browse the repository at this point in the history
  • Loading branch information
amiclaus authored Nov 2, 2023
1 parent e84cfb8 commit 5fcdb15
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions esp_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,15 @@ Full Documentation at: `https://docs.espressif.com/projects/esp-at/en/latest/esp
1. Clone ESP-AT v2.4.0.0: `git clone -b v2.4.0.0 --recursive https://github.com/espressif/esp-at.git`
2. Change to the repository directory: `cd esp-at`
3. `./build.py install` -> Select Platform: ESP32 (Option 1) -> Select Module: WROOM-32 (Option 1) -> Select Silence Mode (Option 1)
4. `./build.py menuconfig` -> (Top) -> Compiler options -> Optimization Level -> Enable (X) Optimize for size (-Os)
-> (Top) -> Component config -> AT -> Disable [ ] AT ble command support.
-> (Top) -> Component config -> AT -> Disable [ ] AT ble hid command support.
-> (Top) -> Component config -> AT -> Disable [ ] AT blufi command support.
-> (Top) -> Component config -> AT -> Disable [ ] AT bt command support.
5. `./build.py build`
6. `./build.py -p (PORT) flash` (replace PORT with your serial port name, for example `/dev/ttyACM0`)
4. `./build.py menuconfig`
-> (Top) -> Compiler options -> Optimization Level -> Enable (X) Optimize for size (-Os)
-> (Top) -> Component config -> AT -> Disable [ ] AT ble command support.
-> (Top) -> Component config -> AT -> Disable [ ] AT ble hid command support.
-> (Top) -> Component config -> AT -> Disable [ ] AT blufi command support.
-> (Top) -> Component config -> AT -> Disable [ ] AT bt command support.
6. Modify AT Command Port Pins to UART0
(`https://docs.espressif.com/projects/esp-at/en/latest/esp32/Compile_and_Develop/How_to_set_AT_port_pin.html#modify-command-port-pins`)
-> Edit `components/customized_partitions/raw_data/factory_param/factory_param_data.csv`
-> Set PLATFORM_ESP32 WROOM-32 `uart_port: 0`, `uart_tx_pin: 22`, `uart_rx_pin: 23`, `uart_cts_pin: -1`, `uart_rts_pin: -1`
8. `./build.py build`
9. `./build.py -p (PORT) flash` (replace PORT with your serial port name, for example `/dev/ttyACM0`)

0 comments on commit 5fcdb15

Please sign in to comment.