diff --git a/esp_guide.md b/esp_guide.md index 3f7017d..4aa9a32 100644 --- a/esp_guide.md +++ b/esp_guide.md @@ -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`)