Skip to content

Commit e0d3992

Browse files
committed
esptooldev
1 parent 6cc1563 commit e0d3992

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

.github/workflows/nuttx_esp32.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@ jobs:
4949
- name: Checkout Source Files
5050
run: |
5151
echo 'Checkout Source Files'
52-
mkdir nuttxspace
52+
mkdir -p nuttxspace
5353
ls -a
5454
cd nuttxspace
5555
## git clone https://github.com/apache/incubator-nuttx nuttx
5656
## git clone https://github.com/apache/incubator-nuttx-apps apps
57-
git clone --single-branch --branch simbit18-20240306 https://github.com/simbit18/nuttx.git nuttx
58-
git clone --single-branch --branch simbit18-20240306 https://github.com/simbit18/nuttx-apps.git apps
57+
git clone --depth 1 --single-branch --branch simbit18-20240306 https://github.com/simbit18/nuttx.git nuttx
58+
git clone --depth 1 --single-branch --branch simbit18-20240306 https://github.com/simbit18/nuttx-apps.git apps
5959
## curl -L https://www.apache.org/dyn/closer.lua/nuttx/12.0.0/apache-nuttx-12.0.0.tar.gz?action=download -o nuttx.tar.gz
6060
## curl -L https://www.apache.org/dyn/closer.lua/nuttx/12.0.0/apache-nuttx-apps-12.0.0.tar.gz?action=download -o apps.tar.gz
6161
## tar zxf nuttx.tar.gz --one-top-level=nuttx --strip-components 1
@@ -64,6 +64,12 @@ jobs:
6464
## cd nuttx
6565
ls -a
6666
echo 'Copy tools'
67+
# Awaiting official release 4.8 !!!
68+
# https://github.com/espressif/esptool/actions/runs/9301686672
69+
# v4.8.dev4
70+
mkdir -p tools/esptool
71+
cp -fr ../tools/esptool tools
72+
ls -a tools/esptool
6773
cp -f ../tools/esp32/install_tools_esp.sh install_tools_esp.sh
6874
ls -a
6975
./install_tools_esp.sh

tools/esp32/install_tools_esp.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,15 @@ esp_tool() {
9898

9999
esp_tool_dev() {
100100
add_path "${NUTTXTOOLS}"/esp-tool
101+
# Awaiting official release 4.8 !!!
101102
# https://github.com/espressif/esptool/actions/runs/9301686672
102103
# v4.8.dev4
103104
if ! type esptool > /dev/null 2>&1; then
104105
cd "${NUTTXTOOLS}"
105-
mkdir -p esp-tool
106-
mv $GITHUB_WORKSPACE/esptool esp-tool
106+
ls -a
107+
ls -a esptool
108+
mv esptool esp-tool
109+
ls -a esp-tool
107110
fi
108111
command esptool version
109112
}

0 commit comments

Comments
 (0)