Skip to content

Commit 3ca3c04

Browse files
authored
[NuttX] update Docker image (#33329)
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
1 parent 930daf8 commit 3ca3c04

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
50 : [Telink] Update Docker image (Zephyr update)
1+
51 : [NuttX] Update Docker image to support compile with external source

integrations/docker/images/stage-2/chip-build-nuttx/Dockerfile

+13-6
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,27 @@ RUN set -x \
2424
&& rm -rf ../../gcc_build \
2525
&& : # last line
2626

27+
RUN set -x \
28+
&& ! test -f /opt/nuttx/gcc-13/bin/cc \
29+
&& ln -s /opt/nuttx/gcc-13/bin/gcc /opt/nuttx/gcc-13/bin/cc \
30+
&& : # last line
31+
2732
# ------------------------------------------------------------------------------
2833
# Download NuttX SDK
2934
RUN set -x \
3035
&& cd /opt/nuttx \
3136
&& rm -rf nuttx \
32-
&& wget -q -O nuttx.zip https://codeload.github.com/apache/nuttx/zip/ce61e866 \
37+
&& wget -q -O nuttx.zip https://codeload.github.com/apache/nuttx/zip/6e941aed \
3338
&& unzip -q nuttx.zip \
34-
&& mv nuttx-ce61e866 nuttx \
35-
&& rm nuttx.zip
39+
&& mv nuttx-6e941aed nuttx \
40+
&& rm nuttx.zip \
41+
&& : # last line
3642

3743
RUN set -x \
3844
&& cd /opt/nuttx \
3945
&& rm -rf apps \
40-
&& wget -q -O nuttx_app.zip https://codeload.github.com/apache/nuttx-apps/zip/e2805fc9 \
46+
&& wget -q -O nuttx_app.zip https://codeload.github.com/apache/nuttx-apps/zip/c6051e4c \
4147
&& unzip -q nuttx_app.zip \
42-
&& mv nuttx-apps-e2805fc9 apps \
43-
&& rm nuttx_app.zip
48+
&& mv nuttx-apps-c6051e4c apps \
49+
&& rm nuttx_app.zip \
50+
&& : # last line

0 commit comments

Comments
 (0)