Skip to content

Commit d6c1392

Browse files
authored
use fork in compile_slave.sh since upstream is broken
1 parent 1cc7d1d commit d6c1392

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tools/compile_slave.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ echo "* Installing/Updating ESP-IDF and all components..."
1111
source ./tools/install-esp-idf.sh
1212
if [ $? -ne 0 ]; then exit 1; fi
1313

14+
git clone https://github.com/Jason2866/esp-hosted-mcu.git
15+
cd ./esp-hosted-mcu/slave
1416

1517
slave_targets=(
1618
"esp32"
@@ -21,9 +23,10 @@ slave_targets=(
2123
"esp32c6"
2224
)
2325

24-
idf.py create-project-from-example "espressif/esp_hosted:slave"
26+
# idf.py create-project-from-example "espressif/esp_hosted:slave"
27+
idf.pyy build
2528
mkdir wifi_copro_fw
26-
cd ./slave
29+
2730
echo "Found firmware version: $(<./main/coprocessor_fw_version.txt)"
2831

2932
for target in "${slave_targets[@]}"; do

0 commit comments

Comments
 (0)