File tree Expand file tree Collapse file tree 2 files changed +66
-0
lines changed
testFiles/gcov/.devcontainer Expand file tree Collapse file tree 2 files changed +66
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM espressif/idf:release-v4.3
2+
3+ ARG DEBIAN_FRONTEND=nointeractive
4+
5+ RUN apt-get update \
6+ && apt install -y -q \
7+ cmake \
8+ git \
9+ libglib2.0-0 \
10+ libnuma1 \
11+ libpixman-1-0
12+
13+ RUN ./opt/esp/entrypoint.sh && pip install --no-cache-dir idf-component-manager
14+
15+ # QEMU
16+ ENV QEMU_REL=esp-develop-20210220
17+ ENV QEMU_SHA256=44c130226bdce9aff6abf0aeaab44f09fe4f2d71a5f9225ac1708d68e4852c02
18+ ENV QEMU_DIST=qemu-${QEMU_REL}.tar.bz2
19+ ENV QEMU_URL=https://github.com/espressif/qemu/releases/download/${QEMU_REL}/${QEMU_DIST}
20+
21+ ENV LC_ALL=C.UTF-8
22+ ENV LANG=C.UTF-8
23+ ENV IDF_PYTHON_ENV_PATH=/opt/esp/python_env/idf4.3_py3.6_env
24+
25+ RUN wget --no-verbose ${QEMU_URL} \
26+ && echo "${QEMU_SHA256} *${QEMU_DIST}" | sha256sum --check --strict - \
27+ && tar -xf $QEMU_DIST -C /opt \
28+ && rm ${QEMU_DIST}
29+
30+ ENV PATH=/opt/qemu/bin:${PATH}
31+
32+ RUN echo $($IDF_PATH/tools/idf_tools.py export) >> $HOME/.bashrc
33+
34+ ENTRYPOINT [ "/opt/esp/entrypoint.sh" ]
35+
36+ CMD ["/bin/bash" ]
Original file line number Diff line number Diff line change 1+ // For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
2+ // https://github.com/microsoft/vscode-dev-containers/tree/v0.183.0/containers/ubuntu
3+ {
4+ "name" : " ESP-IDF QEMU" ,
5+ "build" : {
6+ "dockerfile" : " Dockerfile"
7+ },
8+ "settings" : {
9+ "terminal.integrated.defaultProfile.linux" : " bash" ,
10+ "idf.espIdfPath" : " /opt/esp/idf" ,
11+ "idf.customExtraPaths" : " " ,
12+ "idf.pythonBinPath" : " /opt/esp/python_env/idf4.3_py3.6_env/bin/python" ,
13+ "idf.toolsPath" : " /opt/esp" ,
14+ "idf.gitPath" : " /usr/bin/git"
15+ },
16+ // Add the IDs of extensions you want installed when the container is created.
17+ "extensions" : [
18+ " ms-vscode.cpptools" ,
19+ " espressif.esp-idf-extension"
20+ ],
21+
22+ // Use 'forwardPorts' to make a list of ports inside the container available locally.
23+ // "forwardPorts": [],
24+
25+ // Use 'postCreateCommand' to run commands after the container is created.
26+ // "postCreateCommand": "bash /opt/esp/entrypoint.sh",
27+
28+ // Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
29+ // "remoteUser": "vscodeuser"
30+ }
You can’t perform that action at this time.
0 commit comments