diff --git a/src/.devcontainer/Dockerfile b/src/.devcontainer/Dockerfile new file mode 100644 index 0000000..c2d5b61 --- /dev/null +++ b/src/.devcontainer/Dockerfile @@ -0,0 +1,12 @@ +FROM mcr.microsoft.com/devcontainers/universal:linux + +RUN mkdir -p /opt/gcc && \ + cd /opt/gcc && \ + wget -q https://developer.arm.com/-/media/Files/downloads/gnu-a/10.3-2021.07/binrel/gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf.tar.xz && \ + tar xf gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf.tar.xz && \ + rm gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf.tar.xz && \ + wget -q https://developer.arm.com/-/media/Files/downloads/gnu-a/10.3-2021.07/binrel/gcc-arm-10.3-2021.07-x86_64-arm-none-eabi.tar.xz && \ + tar xf gcc-arm-10.3-2021.07-x86_64-arm-none-eabi.tar.xz && \ + rm gcc-arm-10.3-2021.07-x86_64-arm-none-eabi.tar.xz + +ENV PATH=/opt/gcc/gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf/bin:/opt/gcc/gcc-arm-10.3-2021.07-x86_64-arm-none-eabi/bin:$PATH diff --git a/src/.devcontainer/devcontainer.json b/src/.devcontainer/devcontainer.json new file mode 100644 index 0000000..dae163b --- /dev/null +++ b/src/.devcontainer/devcontainer.json @@ -0,0 +1,3 @@ +{ + "build": { "dockerfile": "Dockerfile" }, +}