Compare commits
No commits in common. "a34cafc034fb22bcf30419e9b9a4a7b017056c35" and "886cbf291a80c339e06f63f60a49eff7b34c30d8" have entirely different histories.
a34cafc034
...
886cbf291a
27
README.md
27
README.md
|
|
@ -30,36 +30,9 @@ High-performance UDP traffic generator firmware for ESP32 devices with interacti
|
|||
- Python 3.7+ (for deployment scripts)
|
||||
- USB serial connection to ESP32 device
|
||||
|
||||
### ESP-IDF Setup
|
||||
|
||||
Add this function to your `~/.bashrc` or `~/.zshrc` to activate ESP-IDF v6:
|
||||
|
||||
```bash
|
||||
# ESP-IDF v6 activator
|
||||
get_idf() {
|
||||
export IDF_PATH="$HOME/Code/esp32/esp-idf-v6"
|
||||
export IDF_PYTHON_ENV_PATH="$HOME/.espressif/python_env/idf6.0_py3.11_env"
|
||||
export IDF_TOOLS_PYTHON="$IDF_PYTHON_ENV_PATH/bin/python"
|
||||
export PATH="$IDF_PYTHON_ENV_PATH/bin:$PATH"
|
||||
export PYTHONNOUSERSITE=1
|
||||
. "$IDF_PATH/export.sh"
|
||||
hash -r
|
||||
echo "ESP-IDF : $(idf.py --version 2>/dev/null)"
|
||||
echo "python : $(python --version)"
|
||||
echo "idf.py : $(command -v idf.py)"
|
||||
}
|
||||
```
|
||||
|
||||
After adding the function, reload your shell configuration and run `get_idf` to activate the ESP-IDF environment.
|
||||
|
||||
### Building
|
||||
|
||||
**Note:** All `idf.py` commands require the ESP-IDF environment to be activated first by running `get_idf`.
|
||||
|
||||
```bash
|
||||
# Activate ESP-IDF environment (required before all idf.py commands)
|
||||
get_idf
|
||||
|
||||
# Set target (e.g., esp32c5, esp32s3, esp32)
|
||||
idf.py set-target esp32c5
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue