Skip to content

Commit

Permalink
esp http WSL bash
Browse files Browse the repository at this point in the history
  • Loading branch information
gojimmypi committed Sep 16, 2024
1 parent ae5905e commit 06f29d4
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion IDE/Espressif/ESP-IDF/examples/esp_http_client_example/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
How to build WSL ESP-IDF based project
=====================================

```bash
WRK_IDF_PATH=/mnt/c/SysGCC/esp32/esp-idf/v5.2-master

# Confirm 'origin/my_522' branch
cd $WRK_IDF_PATH
git status

echo "Run export.sh from ${WRK_IDF_PATH}"
. ${WRK_IDF_PATH}/export.sh

cd /mnt/c/workspace/wolfssl-gojimmypi/IDE/Espressif/ESP-IDF/examples/esp_http_client_example

idf.py set-target esp32c6

idf.py erase-flash -p /dev/ttyS68 -b 115200

idf.py build flash -p /dev/ttyS68 -b 115200 monitor

idf.py build flash -p /dev/ttyS68 -b 230400 monitor -b 115200
```

How to build PlatformIO based project
=====================================

Expand Down Expand Up @@ -81,5 +105,5 @@ idf_component_get_property(wolfssl wolfssl COMPONENT_LIB)
idf_component_get_property(wolfssl wolfssl__wolfssl COMPONENT_LIB)
idf_component_get_property(wolfssl esp-wolfssl COMPONENT_LIB)
```

0 comments on commit 06f29d4

Please sign in to comment.