Skip to content

Commit 7403750

Browse files
Merge branch 'main' into update-gcc-14-3
2 parents 83b8d13 + e8b977d commit 7403750

File tree

286 files changed

+9395
-8085
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

286 files changed

+9395
-8085
lines changed

.devcontainer/All/Dockerfile.All.SRC

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ RUN mkdir -p /tmp/dc-downloads /tmp/dc-extracted/gcc \
1717
&& tar -xvf /tmp/dc-downloads/gcc-arm.tar -C /tmp/dc-extracted/gcc --strip-components 1 \
1818
&& rm -rf /tmp/dc-extracted/gcc/share/doc/ /tmp/dc-extracted/gcc/share/gcc-arm-none-eabi/samples/
1919

20-
ARG CMAKE_VERSION=3.27.6
20+
ARG CMAKE_VERSION=3.31.6
2121
ARG CMAKE_SCRIPT=https://github.com/Kitware/CMake/releases/download/v$CMAKE_VERSION/cmake-$CMAKE_VERSION-linux-x86_64.sh
2222
RUN wget $CMAKE_SCRIPT \
2323
-q -O /tmp/dc-downloads/cmake-install.sh \
@@ -26,7 +26,7 @@ RUN wget $CMAKE_SCRIPT \
2626
&& /tmp/dc-downloads/cmake-install.sh --skip-license --prefix=/tmp/dc-extracted/cmake \
2727
&& rm /tmp/dc-downloads/cmake-install.sh
2828

29-
# This is TI XDC tools for linux. Cheack all versions here: https://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/rtsc/index.html
29+
# This is TI XDC tools for linux. Check all versions here: https://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/rtsc/index.html
3030
ARG TI_TOOL_URL=https://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/rtsc/3_62_00_08/exports/xdccore/xdctools_3_62_00_08_core_linux.zip
3131
RUN mkdir -p /tmp/dc-extracted/titools \
3232
&& curl -o /tmp/dc-downloads/titools.zip $TI_TOOL_URL -L \
@@ -66,19 +66,19 @@ RUN mkdir -p /usr/local/bin/gcc \
6666
# Alternative source for those having issues with git svn downloads:
6767
RUN git clone --branch stable_21.11.x https://github.com/ArduPilot/ChibiOS.svn.git --depth 1 ./sources/ChibiOs
6868

69-
# Clone support repos for STM32 including AzureRTOS
69+
# Clone support repos for STM32 including Eclipse ThreadX (a.k.a. Azure RTOS)
7070
RUN git clone --branch nf-build https://github.com/nanoframework/STM32CubeL4.git --depth 1 ./sources/STM32CubeL4 \
7171
&& git clone --branch nf-build https://github.com/nanoframework/STM32CubeF7.git --depth 1 ./sources/STM32CubeF7 \
7272
&& git clone --branch nf-build https://github.com/nanoframework/STM32CubeF4.git --depth 1 ./sources/STM32CubeF4 \
7373
&& git clone --branch nf-build https://github.com/nanoframework/STM32CubeH7.git --depth 1 ./sources/STM32CubeH7 \
7474
&& git clone --branch chibios-21.11.x https://github.com/ChibiOS/ChibiOS-Contrib.git --depth 1 ./sources/ChibiOs-Contrib
7575

76-
# Clone repos for AzureRTOS
76+
# Clone repos for Eclipse ThreadX (a.k.a. Azure RTOS)
7777
RUN git clone --branch v6.4.0_rel --recursive https://github.com/eclipse-threadx/threadx.git --depth 1 ./sources/AzureRTOS \
7878
&& git clone --branch v6.3.0_rel --recursive https://github.com/eclipse-threadx/netxduo.git --depth 1 ./sources/NetxDuo
7979

8080
# Clone dependent repos (mbedtls, fatfs and littlefs)
81-
RUN git clone --branch R0.15 https://github.com/abbrev/fatfs.git --depth 1 ./sources/fatfs \
81+
RUN git clone --branch R0.15a https://github.com/abbrev/fatfs.git --depth 1 ./sources/fatfs \
8282
&& git clone --branch v2.9.3 https://github.com/littlefs-project/littlefs --depth 1 ./sources/littlefs \
8383
&& git clone --branch mbedtls-3.6.0 https://github.com/ARMmbed/mbedtls.git --depth 1 ./sources/mbedtls \
8484
&& cd ./sources/mbedtls \

.devcontainer/All/scripts/git-pull-repos.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ cd /sources/mbedtls
1818
git pull origin mbedtls-3.6.0
1919
git submodule update --init
2020
cd /sources/fatfs
21-
git pull origin R0.15
21+
git pull origin R0.15a
2222
cd /sources/FreeRTOS
2323
git pull origin V10.4.1-kernel-only
2424
cd /sources/CMSIS_5

.devcontainer/AzureRTOS/Dockerfile.AzureRTOS.SRC

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ RUN mkdir -p /tmp/dc-downloads /tmp/dc-extracted/gcc \
1717
&& tar -xvf /tmp/dc-downloads/gcc-arm.tar -C /tmp/dc-extracted/gcc --strip-components 1 \
1818
&& rm -rf /tmp/dc-extracted/gcc/share/doc/ /tmp/dc-extracted/gcc/share/gcc-arm-none-eabi/samples/
1919

20-
ARG CMAKE_VERSION=3.27.6
20+
ARG CMAKE_VERSION=3.31.6
2121
ARG CMAKE_SCRIPT=https://github.com/Kitware/CMake/releases/download/v$CMAKE_VERSION/cmake-$CMAKE_VERSION-linux-x86_64.sh
2222
RUN wget $CMAKE_SCRIPT \
2323
-q -O /tmp/dc-downloads/cmake-install.sh \
@@ -62,12 +62,12 @@ RUN git clone --branch nf-build https://github.com/nanoframework/STM32CubeL4.git
6262
&& git clone --branch nf-build https://github.com/nanoframework/STM32CubeF4.git --depth 1 ./sources/STM32CubeF4 \
6363
&& git clone --branch nf-build https://github.com/nanoframework/STM32CubeH7.git --depth 1 ./sources/STM32CubeH7
6464

65-
# Clone repos for AzureRTOS
65+
# Clone repos for Eclipse ThreadX (a.k.a. Azure RTOS)
6666
RUN git clone --branch v6.4.0_rel --recursive https://github.com/eclipse-threadx/threadx.git --depth 1 ./sources/AzureRTOS \
6767
&& git clone --branch v6.4.0_rel --recursive https://github.com/eclipse-threadx/netxduo.git --depth 1 ./sources/NetxDuo
6868

6969
# Clone dependent repos (mbedtls, fatfs and littlefs)
70-
RUN git clone --branch R0.15 https://github.com/abbrev/fatfs.git --depth 1 ./sources/fatfs \
70+
RUN git clone --branch R0.15a https://github.com/abbrev/fatfs.git --depth 1 ./sources/fatfs \
7171
&& git clone --branch v2.9.3 https://github.com/littlefs-project/littlefs --depth 1 ./sources/littlefs \
7272
&& git clone --branch mbedtls-3.6.0 https://github.com/ARMmbed/mbedtls.git --depth 1 ./sources/mbedtls \
7373
&& cd ./sources/mbedtls \

.devcontainer/ChibiOS/Dockerfile.ChibiOS.SRC

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ RUN mkdir -p /tmp/dc-downloads /tmp/dc-extracted/gcc \
1717
&& tar -xvf /tmp/dc-downloads/gcc-arm.tar -C /tmp/dc-extracted/gcc --strip-components 1 \
1818
&& rm -rf /tmp/dc-extracted/gcc/share/doc/ /tmp/dc-extracted/gcc/share/gcc-arm-none-eabi/samples/
1919

20-
ARG CMAKE_VERSION=3.27.6
20+
ARG CMAKE_VERSION=3.31.6
2121
ARG CMAKE_SCRIPT=https://github.com/Kitware/CMake/releases/download/v$CMAKE_VERSION/cmake-$CMAKE_VERSION-linux-x86_64.sh
2222
RUN wget $CMAKE_SCRIPT \
2323
-q -O /tmp/dc-downloads/cmake-install.sh \
@@ -65,7 +65,7 @@ RUN git clone --branch nf-build https://github.com/nanoframework/STM32CubeL4.git
6565
&& git clone --branch chibios-21.11.x https://github.com/ChibiOS/ChibiOS-Contrib.git --depth 1 ./sources/ChibiOs-Contrib
6666

6767
# Clone dependent repos (mbedtls, fatfs and littlefs etc.)
68-
RUN git clone --branch R0.15 https://github.com/abbrev/fatfs.git --depth 1 ./sources/fatfs \
68+
RUN git clone --branch R0.15a https://github.com/abbrev/fatfs.git --depth 1 ./sources/fatfs \
6969
&& git clone --branch v2.9.3 https://github.com/littlefs-project/littlefs --depth 1 ./sources/littlefs \
7070
&& git clone --branch STABLE-2_1_3_RELEASE https://github.com/lwip-tcpip/lwip.git --depth 1 ./sources/lwip \
7171
&& git clone --branch mbedtls-3.6.0 https://github.com/ARMmbed/mbedtls.git --depth 1 ./sources/mbedtls \

.devcontainer/ESP32/Dockerfile.ESP32.SRC

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RUN apt-get update \
99

1010
RUN mkdir -p /tmp/dc-downloads /tmp/dc-extracted
1111

12-
ARG CMAKE_VERSION=3.27.6
12+
ARG CMAKE_VERSION=3.31.6
1313
ARG CMAKE_SCRIPT=https://github.com/Kitware/CMake/releases/download/v$CMAKE_VERSION/cmake-$CMAKE_VERSION-linux-x86_64.sh
1414
RUN wget $CMAKE_SCRIPT \
1515
-q -O /tmp/dc-downloads/cmake-install.sh \
@@ -45,7 +45,7 @@ RUN apt-get update \
4545
RUN mkdir -p /usr/local/bin/gcc
4646

4747
# Clone fatfs
48-
RUN git clone --branch R0.15 https://github.com/abbrev/fatfs.git --depth 1 ./sources/fatfs
48+
RUN git clone --branch R0.15a https://github.com/abbrev/fatfs.git --depth 1 ./sources/fatfs
4949

5050
# Clone ESP-IDF
5151
RUN git clone --branch v5.2.3 https://github.com/espressif/esp-idf --depth 1 --recursive ./sources/esp-idf

.devcontainer/FreeRTOS-NXP/Dockerfile.FreeRTOS-NXP.SRC

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ RUN mkdir -p /tmp/dc-downloads /tmp/dc-extracted/gcc \
1717
&& tar -xvf /tmp/dc-downloads/gcc-arm.tar -C /tmp/dc-extracted/gcc --strip-components 1 \
1818
&& rm -rf /tmp/dc-extracted/gcc/share/doc/ /tmp/dc-extracted/gcc/share/gcc-arm-none-eabi/samples/
1919

20-
ARG CMAKE_VERSION=3.27.6
20+
ARG CMAKE_VERSION=3.31.6
2121
ARG CMAKE_SCRIPT=https://github.com/Kitware/CMake/releases/download/v$CMAKE_VERSION/cmake-$CMAKE_VERSION-linux-x86_64.sh
2222
RUN wget $CMAKE_SCRIPT \
2323
-q -O /tmp/dc-downloads/cmake-install.sh \
@@ -55,7 +55,7 @@ RUN apt-get update \
5555
RUN mkdir -p /usr/local/bin/gcc
5656

5757
# Clone libs mbedtls and fatfs etc.
58-
RUN git clone --branch R0.15 https://github.com/abbrev/fatfs.git --depth 1 ./sources/fatfs \
58+
RUN git clone --branch R0.15a https://github.com/abbrev/fatfs.git --depth 1 ./sources/fatfs \
5959
&& git clone --branch STABLE-2_1_3_RELEASE https://github.com/lwip-tcpip/lwip.git --depth 1 ./sources/lwip \
6060
&& git clone --branch mbedtls-3.6.0 https://github.com/ARMmbed/mbedtls.git --depth 1 ./sources/mbedtls \
6161
&& cd ./sources/mbedtls \

.devcontainer/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ The available pre build images are:
88
* ghcr.io/nanoframework/dev-container-chibios: contains all elements to build a firmware image for any of the ChibiOS targets
99
* ghcr.io/nanoframework/dev-container-ti: contains all elements to build a firmware image for any of the TI SimpleLink targets
1010
* ghcr.io/nanoframework/dev-container-esp32: contains all elements to build a firmware image for any of the ESP32 targets
11-
* ghcr.io/nanoframework/dev-container-azure-rtos: contains all elements to build a firmware image for any of the Azure RTOS targets
11+
* ghcr.io/nanoframework/dev-container-azure-rtos: contains all elements to build a firmware image for any of the Eclipse ThreadX (a.k.a. Azure RTOS) targets
1212
* ghcr.io/nanoframework/dev-container-freertos-nxp: contains all elements to build a firmware image for any of the NXP targets
1313

1414
You can choose the dev container needed when opening a remote container in VSCode. The options are:
1515

1616
* `nanoFramework-All` to use the pre build container with all the elements to build a firmware image for any of the targets
17-
* `nanoFramework-AzureRTOS` to use the pre build container with all the elements to build Azure RTOS targets
17+
* `nanoFramework-AzureRTOS` to use the pre build container with all the elements to build Eclipse ThreadX (a.k.a. Azure RTOS) targets
1818
* `nanoFramework-ChibiOS` to use the pre build container with all the elements to build ChibiOS targets
1919
* `nanoFramework-ESP32` to use the pre build container with all the elements to build ESP32 targets
2020
* `nanoFramework-TI` to use the pre build container with all the elements to build TI SimpleLink targets
@@ -23,7 +23,7 @@ You can choose the dev container needed when opening a remote container in VSCod
2323
To use the source dockerfile for the respective platform adjust its `devcontainer.json` file and change the `"dockerFile": "Dockerfile.<platform>"` element for the image you would like to use:
2424

2525
* `Dockerfile.All.SRC` to build the container image from the source with all the elements to build all the images
26-
* `Dockerfile.AzureRTOS.SRC` to build the container image from the source with all the elements to build Azure RTOS based devices
26+
* `Dockerfile.AzureRTOS.SRC` to build the container image from the source with all the elements to build Eclipse ThreadX (a.k.a. Azure RTOS) based devices
2727
* `Dockerfile.ChibiOS.SRC` to build the container image from the source with all the elements to build ChibiOS based devices
2828
* `Dockerfile.ESP32.SRC` to build the container image from the source with all the elements to build ESP32 based devices
2929
* `Dockerfile.TI.SRC` to build the container image from the source with all the elements to build TI SimpleLink based devices

.devcontainer/TI/Dockerfile.TI

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
FROM ghcr.io/nanoframework/dev-container-ti:v1.29
1+
FROM ghcr.io/nanoframework/dev-container-ti:v1.27

.devcontainer/TI/Dockerfile.TI.SRC

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ RUN mkdir -p /tmp/dc-downloads /tmp/dc-extracted/gcc \
1717
&& tar -xvf /tmp/dc-downloads/gcc-arm.tar -C /tmp/dc-extracted/gcc --strip-components 1 \
1818
&& rm -rf /tmp/dc-extracted/gcc/share/doc/ /tmp/dc-extracted/gcc/share/gcc-arm-none-eabi/samples/
1919

20-
ARG CMAKE_VERSION=3.27.6
20+
ARG CMAKE_VERSION=3.31.6
2121
ARG CMAKE_SCRIPT=https://github.com/Kitware/CMake/releases/download/v$CMAKE_VERSION/cmake-$CMAKE_VERSION-linux-x86_64.sh
2222
RUN wget $CMAKE_SCRIPT \
2323
-q -O /tmp/dc-downloads/cmake-install.sh \
Lines changed: 89 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -1,89 +1,89 @@
1-
name: Smoketest Dockerfile builds for selected targets
2-
3-
on:
4-
pull_request:
5-
paths:
6-
- '.devcontainer/**/*'
7-
- '.github/workflows/*'
8-
9-
jobs:
10-
build-target:
11-
strategy:
12-
fail-fast: false # Continues to build other targets in the matrix, even if one fails.
13-
14-
matrix: # Add the target and build type you wish to generate firmware for:
15-
include: [
16-
{ target: SL_STK3701A, build-type: Debug, container: AzureRTOS},
17-
{ target: SL_STK3701A, build-type: Debug, container: All},
18-
{ target: ST_STM32F769I_DISCOVERY, build-type: Debug, container: ChibiOS },
19-
{ target: ST_STM32F769I_DISCOVERY, build-type: Debug, container: All },
20-
{ target: M5Core2, build-type: Debug, container: ESP32 },
21-
{ target: ESP_WROVER_KIT, build-type: Debug, container: ESP32 },
22-
{ target: FEATHER_S2, build-type: Debug, container: ESP32 },
23-
{ target: ESP32_S3, build-type: Debug, container: ESP32 },
24-
{ target: ESP32_C3, build-type: Debug, container: ESP32 },
25-
{ target: ESP32_C6_THREAD, build-type: Debug, container: ESP32 },
26-
{ target: ESP32_H2_THREAD, build-type: Debug, container: ESP32 },
27-
{ target: NXP_MIMXRT1060_EVK, build-type: Debug, container: FreeRTOS-NXP },
28-
{ target: NXP_MIMXRT1060_EVK, build-type: Debug, container: All },
29-
{ target: TI_CC1352R1_LAUNCHXL, build-type: Debug, container: TI, radio-freq: 915 },
30-
{ target: TI_CC1352R1_LAUNCHXL, build-type: Debug, container: All, radio-freq: 915 },
31-
]
32-
33-
runs-on: ubuntu-latest
34-
35-
steps:
36-
- uses: actions/checkout@v4
37-
with:
38-
submodules: true
39-
40-
- name: Free Disk Space (Ubuntu)
41-
uses: jlumbroso/free-disk-space@main
42-
with:
43-
# this might remove tools that are actually needed,
44-
# when set to "true" but frees about 6 GB
45-
tool-cache: true
46-
large-packages: false
47-
48-
- name: Update repo submodules
49-
run: |
50-
git submodule update --init
51-
52-
- name: Adjust config templates for a devcontainer
53-
run: |
54-
# Move into the config directory
55-
pushd config
56-
57-
# Rename the templates
58-
mv user-prefs.TEMPLATE.json user-prefs.json
59-
mv user-tools-repos.TEMPLATE.json user-tools-repos.json
60-
61-
# Adjust the file content for a valid radio frequency (TI targets)
62-
sed -i -- 's|"RADIO_FREQUENCY": "CHANGE_ME_TO_A_VALID_VALUE_868_OR_915"|"RADIO_FREQUENCY": "${{ matrix.radio-freq }}"|g' user-prefs.json
63-
64-
# Adjust the file content for a devcontainer
65-
sed -i -- 's|"name": "user-tools-repos-container"|"name": "user-tools-repos"|g' user-tools-repos.json
66-
67-
# Move out of the config directory
68-
popd
69-
70-
- name: Adjust devcontainer.json for ${{ matrix.container }} source
71-
run: |
72-
# Move into the .devcontainer directory
73-
pushd .devcontainer/${{ matrix.container }}
74-
75-
# Target the dockerfile source.
76-
sed -i -- 's|"dockerFile": "Dockerfile.${{ matrix.container }}"|"dockerFile": "Dockerfile.${{ matrix.container }}.SRC"|g' devcontainer.json
77-
78-
# Move out of the .devcontainer directory
79-
popd
80-
81-
- name: Build ${{ matrix.target }} ${{ matrix.build-type }} Firmware
82-
uses: devcontainers/[email protected]
83-
with:
84-
configFile: ./.devcontainer/${{ matrix.container }}/devcontainer.json
85-
push: never
86-
runCmd: |
87-
# Build target:
88-
cmake --preset=${{ matrix.target }} -DCMAKE_BUILD_TYPE=${{ matrix.build-type }}
89-
cmake --build build
1+
name: Smoketest Dockerfile builds for selected targets
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- '.devcontainer/**/*'
7+
- '.github/workflows/*'
8+
9+
jobs:
10+
build-target:
11+
strategy:
12+
fail-fast: false # Continues to build other targets in the matrix, even if one fails.
13+
14+
matrix: # Add the target and build type you wish to generate firmware for:
15+
include: [
16+
{ target: SL_STK3701A, build-type: Debug, container: AzureRTOS},
17+
{ target: SL_STK3701A, build-type: Debug, container: All},
18+
{ target: ST_STM32F769I_DISCOVERY, build-type: Debug, container: ChibiOS },
19+
{ target: ST_STM32F769I_DISCOVERY, build-type: Debug, container: All },
20+
{ target: M5Core2, build-type: Debug, container: ESP32 },
21+
{ target: ESP_WROVER_KIT, build-type: Debug, container: ESP32 },
22+
{ target: ESP32_S2_USB, build-type: Debug, container: ESP32 },
23+
{ target: ESP32_S3, build-type: Debug, container: ESP32 },
24+
{ target: ESP32_C3, build-type: Debug, container: ESP32 },
25+
{ target: ESP32_C6_THREAD, build-type: Debug, container: ESP32 },
26+
{ target: ESP32_H2_THREAD, build-type: Debug, container: ESP32 },
27+
{ target: NXP_MIMXRT1060_EVK, build-type: Debug, container: FreeRTOS-NXP },
28+
{ target: NXP_MIMXRT1060_EVK, build-type: Debug, container: All },
29+
{ target: TI_CC1352R1_LAUNCHXL, build-type: Debug, container: TI, radio-freq: 915 },
30+
{ target: TI_CC1352R1_LAUNCHXL, build-type: Debug, container: All, radio-freq: 915 },
31+
]
32+
33+
runs-on: ubuntu-latest
34+
35+
steps:
36+
- uses: actions/checkout@v4
37+
with:
38+
submodules: true
39+
40+
- name: Free Disk Space (Ubuntu)
41+
uses: jlumbroso/free-disk-space@main
42+
with:
43+
# this might remove tools that are actually needed,
44+
# when set to "true" but frees about 6 GB
45+
tool-cache: true
46+
large-packages: false
47+
48+
- name: Update repo submodules
49+
run: |
50+
git submodule update --init
51+
52+
- name: Adjust config templates for a devcontainer
53+
run: |
54+
# Move into the config directory
55+
pushd config
56+
57+
# Rename the templates
58+
mv user-prefs.TEMPLATE.json user-prefs.json
59+
mv user-tools-repos.TEMPLATE.json user-tools-repos.json
60+
61+
# Adjust the file content for a valid radio frequency (TI targets)
62+
sed -i -- 's|"RADIO_FREQUENCY": "CHANGE_ME_TO_A_VALID_VALUE_868_OR_915"|"RADIO_FREQUENCY": "${{ matrix.radio-freq }}"|g' user-prefs.json
63+
64+
# Adjust the file content for a devcontainer
65+
sed -i -- 's|"name": "user-tools-repos-container"|"name": "user-tools-repos"|g' user-tools-repos.json
66+
67+
# Move out of the config directory
68+
popd
69+
70+
- name: Adjust devcontainer.json for ${{ matrix.container }} source
71+
run: |
72+
# Move into the .devcontainer directory
73+
pushd .devcontainer/${{ matrix.container }}
74+
75+
# Target the dockerfile source.
76+
sed -i -- 's|"dockerFile": "Dockerfile.${{ matrix.container }}"|"dockerFile": "Dockerfile.${{ matrix.container }}.SRC"|g' devcontainer.json
77+
78+
# Move out of the .devcontainer directory
79+
popd
80+
81+
- name: Build ${{ matrix.target }} ${{ matrix.build-type }} Firmware
82+
uses: devcontainers/[email protected]
83+
with:
84+
configFile: ./.devcontainer/${{ matrix.container }}/devcontainer.json
85+
push: never
86+
runCmd: |
87+
# Build target:
88+
cmake --preset=${{ matrix.target }} -DCMAKE_BUILD_TYPE=${{ matrix.build-type }}
89+
cmake --build build

0 commit comments

Comments
 (0)