Skip to content

Commit fa944cd

Browse files
authored
Merge branch 'master' into remove_PICS_from_ICDM_tests
2 parents 267afbe + acba7f8 commit fa944cd

File tree

924 files changed

+35024
-25307
lines changed

Some content is hidden

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

924 files changed

+35024
-25307
lines changed

.devcontainer/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ RUN apt-get update \
4343
&& :
4444

4545
RUN groupadd -g $USER_GID $USERNAME \
46-
&& useradd -s /bin/bash -u $USER_UID -g $USER_GID -G docker,sudo -m $USERNAME \
46+
&& useradd --no-log-init -s /bin/bash -u $USER_UID -g $USER_GID -G docker,sudo -m $USERNAME \
4747
&& echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME \
4848
&& chmod 0440 /etc/sudoers.d/$USERNAME \
4949
&& :

.github/workflows/bloat_check.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
runs-on: ubuntu-latest
3535

3636
container:
37-
image: ghcr.io/project-chip/chip-build:66
37+
image: ghcr.io/project-chip/chip-build:74
3838

3939
steps:
4040
- name: Checkout

.github/workflows/build.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
if: github.actor != 'restyled-io[bot]'
4343

4444
container:
45-
image: ghcr.io/project-chip/chip-build:66
45+
image: ghcr.io/project-chip/chip-build:74
4646
volumes:
4747
- "/:/runner-root-volume"
4848
- "/tmp/log_output:/tmp/test_logs"
@@ -138,7 +138,7 @@ jobs:
138138
if: github.actor != 'restyled-io[bot]'
139139

140140
container:
141-
image: ghcr.io/project-chip/chip-build:65
141+
image: ghcr.io/project-chip/chip-build:74
142142
volumes:
143143
- "/:/runner-root-volume"
144144
- "/tmp/log_output:/tmp/test_logs"
@@ -455,7 +455,7 @@ jobs:
455455
if: github.actor != 'restyled-io[bot]'
456456

457457
container:
458-
image: ghcr.io/project-chip/chip-build:66
458+
image: ghcr.io/project-chip/chip-build:74
459459
volumes:
460460
- "/:/runner-root-volume"
461461
- "/tmp/log_output:/tmp/test_logs"

.github/workflows/chef.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
if: github.actor != 'restyled-io[bot]'
3636

3737
container:
38-
image: ghcr.io/project-chip/chip-build:66
38+
image: ghcr.io/project-chip/chip-build:74
3939
options: --user root
4040

4141
steps:
@@ -56,7 +56,7 @@ jobs:
5656
if: github.actor != 'restyled-io[bot]'
5757

5858
container:
59-
image: ghcr.io/project-chip/chip-build-esp32:67
59+
image: ghcr.io/project-chip/chip-build-esp32:74
6060
options: --user root
6161

6262
steps:
@@ -77,7 +77,7 @@ jobs:
7777
if: github.actor != 'restyled-io[bot]'
7878

7979
container:
80-
image: ghcr.io/project-chip/chip-build-nrf-platform:66
80+
image: ghcr.io/project-chip/chip-build-nrf-platform:74
8181
options: --user root
8282

8383
steps:
@@ -98,7 +98,7 @@ jobs:
9898
if: github.actor != 'restyled-io[bot]'
9999

100100
container:
101-
image: ghcr.io/project-chip/chip-build-telink:66
101+
image: ghcr.io/project-chip/chip-build-telink:74
102102
options: --user root
103103

104104
steps:

.github/workflows/doxygen.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181

8282
runs-on: ubuntu-latest
8383
container:
84-
image: ghcr.io/project-chip/chip-build-doxygen:66
84+
image: ghcr.io/project-chip/chip-build-doxygen:74
8585

8686
if: github.actor != 'restyled-io[bot]'
8787

.github/workflows/examples-ameba.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
if: github.actor != 'restyled-io[bot]'
3939

4040
container:
41-
image: ghcr.io/project-chip/chip-build-ameba:68
41+
image: ghcr.io/project-chip/chip-build-ameba:74
4242
options: --user root
4343

4444
steps:

.github/workflows/examples-asr.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
if: github.actor != 'restyled-io[bot]'
3737

3838
container:
39-
image: ghcr.io/project-chip/chip-build-asr:66
39+
image: ghcr.io/project-chip/chip-build-asr:74
4040
options: --user root
4141

4242
steps:

.github/workflows/examples-bouffalolab.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
if: github.actor != 'restyled-io[bot]'
3838

3939
container:
40-
image: ghcr.io/project-chip/chip-build-bouffalolab:68
40+
image: ghcr.io/project-chip/chip-build-bouffalolab:74
4141
volumes:
4242
- "/tmp/bloat_reports:/tmp/bloat_reports"
4343
steps:

.github/workflows/examples-cc13xx_26xx.yaml

+11-7
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,15 @@
1515
name: Build example - TI CC13XX_26XX
1616

1717
on:
18-
push:
19-
branches-ignore:
20-
- "dependabot/**"
21-
pull_request:
22-
merge_group:
18+
workflow_dispatch:
19+
# Temporarely disabled:
20+
# - TI CI runs out of disk space
21+
# - Image should be updated to an Ubuntu 24.04 or higher based one (move from :54 version)
22+
# push:
23+
# branches-ignore:
24+
# - 'dependabot/**'
25+
# pull_request:
26+
# merge_group:
2327

2428
concurrency:
2529
group:
@@ -41,7 +45,7 @@ jobs:
4145
if: github.actor != 'restyled-io[bot]'
4246

4347
container:
44-
image: ghcr.io/project-chip/chip-build-ti:54
48+
image: ghcr.io/project-chip/chip-build-ti:74
4549
volumes:
4650
- "/tmp/bloat_reports:/tmp/bloat_reports"
4751
steps:
@@ -101,7 +105,7 @@ jobs:
101105
run: |
102106
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
103107
cc13x4_26x4 LP_EM_CC1354P10_6 lighting-app \
104-
out/artifacts/ti-cc13x4_26x4-lighting-mtd/chip-LP_EM_CC1354P10_6-lighting-example.out \
108+
out/artifacts/ti-cc13x4_26x4-lighting-ftd/chip-LP_EM_CC1354P10_6-lighting-example.out \
105109
/tmp/bloat_reports/
106110
- name: Uploading Size Reports
107111
uses: ./.github/actions/upload-size-reports

.github/workflows/examples-cc32xx.yaml

+10-6
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,15 @@
1515
name: Build example - TI CC32XX
1616

1717
on:
18-
push:
19-
branches-ignore:
20-
- 'dependabot/**'
21-
pull_request:
22-
merge_group:
18+
workflow_dispatch:
19+
# Temporarely disabled:
20+
# - TI CI runs out of disk space
21+
# - Image should be updated to an Ubuntu 24.04 or higher based one (move from :54 version)
22+
# push:
23+
# branches-ignore:
24+
# - 'dependabot/**'
25+
# pull_request:
26+
# merge_group:
2327

2428
concurrency:
2529
group: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }}
@@ -39,7 +43,7 @@ jobs:
3943
if: github.actor != 'restyled-io[bot]'
4044

4145
container:
42-
image: ghcr.io/project-chip/chip-build-ti:54
46+
image: ghcr.io/project-chip/chip-build-ti:74
4347
volumes:
4448
- "/tmp/bloat_reports:/tmp/bloat_reports"
4549
steps:

.github/workflows/examples-efr32.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
if: github.actor != 'restyled-io[bot]'
4141

4242
container:
43-
image: ghcr.io/project-chip/chip-build-efr32:66
43+
image: ghcr.io/project-chip/chip-build-efr32:74
4444
volumes:
4545
- "/tmp/bloat_reports:/tmp/bloat_reports"
4646
steps:

.github/workflows/examples-esp32.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
if: github.actor != 'restyled-io[bot]'
3737

3838
container:
39-
image: ghcr.io/project-chip/chip-build-esp32:67
39+
image: ghcr.io/project-chip/chip-build-esp32:74
4040
volumes:
4141
- "/tmp/bloat_reports:/tmp/bloat_reports"
4242

@@ -126,7 +126,7 @@ jobs:
126126
if: github.actor != 'restyled-io[bot]'
127127

128128
container:
129-
image: ghcr.io/project-chip/chip-build-esp32:67
129+
image: ghcr.io/project-chip/chip-build-esp32:74
130130
volumes:
131131
- "/tmp/bloat_reports:/tmp/bloat_reports"
132132

.github/workflows/examples-linux-arm.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
if: github.actor != 'restyled-io[bot]'
3737

3838
container:
39-
image: ghcr.io/project-chip/chip-build-crosscompile:66
39+
image: ghcr.io/project-chip/chip-build-crosscompile:74
4040
volumes:
4141
- "/tmp/bloat_reports:/tmp/bloat_reports"
4242

.github/workflows/examples-linux-imx.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
if: github.actor != 'restyled-io[bot]'
3737

3838
container:
39-
image: ghcr.io/project-chip/chip-build-imx:54
39+
image: ghcr.io/project-chip/chip-build-imx:74
4040

4141
steps:
4242
- name: Checkout

.github/workflows/examples-linux-standalone.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
if: github.actor != 'restyled-io[bot]'
3737

3838
container:
39-
image: ghcr.io/project-chip/chip-build:66
39+
image: ghcr.io/project-chip/chip-build:74
4040
volumes:
4141
- "/tmp/bloat_reports:/tmp/bloat_reports"
4242

.github/workflows/examples-linux-tv-casting-app.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
if: github.actor != 'restyled-io[bot]'
3737

3838
container:
39-
image: ghcr.io/project-chip/chip-build:66
39+
image: ghcr.io/project-chip/chip-build:74
4040

4141
steps:
4242
- name: Checkout

.github/workflows/examples-mw320.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
if: github.actor != 'restyled-io[bot]'
4040

4141
container:
42-
image: ghcr.io/project-chip/chip-build:66
42+
image: ghcr.io/project-chip/chip-build:74
4343
volumes:
4444
- "/tmp/bloat_reports:/tmp/bloat_reports"
4545
steps:

.github/workflows/examples-nrfconnect.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
if: github.actor != 'restyled-io[bot]'
4040

4141
container:
42-
image: ghcr.io/project-chip/chip-build-nrf-platform:66
42+
image: ghcr.io/project-chip/chip-build-nrf-platform:74
4343
volumes:
4444
- "/tmp/bloat_reports:/tmp/bloat_reports"
4545

.github/workflows/examples-nuttx.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
if: github.actor != 'restyled-io[bot]'
3636

3737
container:
38-
image: ghcr.io/project-chip/chip-build-nuttx:66
38+
image: ghcr.io/project-chip/chip-build-nuttx:74
3939
volumes:
4040
- "/tmp/bloat_reports:/tmp/bloat_reports"
4141
steps:

.github/workflows/examples-nxp.yaml

+56-12
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ env:
2929
CHIP_NO_LOG_TIMESTAMPS: true
3030

3131
jobs:
32-
k32w:
33-
name: K32W
32+
k32w0:
33+
name: K32W0
3434

3535
env:
3636
BUILD_TYPE: gn_k32w
@@ -39,7 +39,7 @@ jobs:
3939
if: github.actor != 'restyled-io[bot]'
4040

4141
container:
42-
image: ghcr.io/project-chip/chip-build-k32w:66
42+
image: ghcr.io/project-chip/chip-build-k32w:74
4343
volumes:
4444
- "/tmp/bloat_reports:/tmp/bloat_reports"
4545
steps:
@@ -66,8 +66,6 @@ jobs:
6666
--target nxp-k32w0-freertos-contact-sensor \
6767
--target nxp-k32w0-freertos-contact-sensor-low-power \
6868
--target nxp-k32w0-freertos-contact-sensor-low-power-factory \
69-
--target nxp-k32w1-freertos-lighting \
70-
--target nxp-k32w1-freertos-contact-sensor-low-power \
7169
build \
7270
--copy-artifacts-to out/artifacts \
7371
"
@@ -77,16 +75,62 @@ jobs:
7775
nxp k32w0+release light \
7876
out/artifacts/nxp-k32w0-freertos-lighting/chip-k32w0x-light-example.elf \
7977
/tmp/bloat_reports/
80-
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
81-
nxp k32w1+release light \
82-
out/artifacts/nxp-k32w1-freertos-lighting/chip-k32w1-light-example.elf \
83-
/tmp/bloat_reports/
8478
- name: Get contact sensor size stats
8579
run: |
8680
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
8781
nxp k32w0+release contact \
8882
out/artifacts/nxp-k32w0-freertos-contact-sensor-low-power/chip-k32w0x-contact-example.elf \
8983
/tmp/bloat_reports/
84+
- name: Uploading Size Reports
85+
uses: ./.github/actions/upload-size-reports
86+
if: ${{ !env.ACT }}
87+
with:
88+
platform-name: K32W0
89+
k32w1:
90+
name: K32W1
91+
92+
env:
93+
BUILD_TYPE: gn_k32w
94+
95+
runs-on: ubuntu-latest
96+
if: github.actor != 'restyled-io[bot]'
97+
98+
container:
99+
image: ghcr.io/project-chip/chip-build-nxp:71
100+
volumes:
101+
- "/tmp/bloat_reports:/tmp/bloat_reports"
102+
steps:
103+
- name: Checkout
104+
uses: actions/checkout@v4
105+
- name: Checkout submodules & Bootstrap
106+
uses: ./.github/actions/checkout-submodules-and-bootstrap
107+
with:
108+
platform: nxp
109+
extra-submodule-parameters: --recursive
110+
111+
- name: Set up environment for size reports
112+
uses: ./.github/actions/setup-size-reports
113+
if: ${{ !env.ACT }}
114+
with:
115+
gh-context: ${{ toJson(github) }}
116+
117+
- name: Build examples
118+
run: |
119+
scripts/run_in_build_env.sh "\
120+
./scripts/build/build_examples.py \
121+
--target nxp-k32w1-freertos-lighting \
122+
--target nxp-k32w1-freertos-contact-sensor-low-power \
123+
build \
124+
--copy-artifacts-to out/artifacts \
125+
"
126+
- name: Get lighting app size stats
127+
run: |
128+
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
129+
nxp k32w1+release light \
130+
out/artifacts/nxp-k32w1-freertos-lighting/chip-k32w1-light-example.elf \
131+
/tmp/bloat_reports/
132+
- name: Get contact sensor size stats
133+
run: |
90134
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
91135
nxp k32w1+release contact \
92136
out/artifacts/nxp-k32w1-freertos-contact-sensor-low-power/chip-k32w1-contact-example.elf \
@@ -95,7 +139,7 @@ jobs:
95139
uses: ./.github/actions/upload-size-reports
96140
if: ${{ !env.ACT }}
97141
with:
98-
platform-name: K32W
142+
platform-name: K32W1
99143
rw61x:
100144
name: RW61X
101145

@@ -106,7 +150,7 @@ jobs:
106150
if: github.actor != 'restyled-io[bot]'
107151

108152
container:
109-
image: ghcr.io/project-chip/chip-build-rw61x:66
153+
image: ghcr.io/project-chip/chip-build-rw61x:74
110154
volumes:
111155
- "/tmp/bloat_reports:/tmp/bloat_reports"
112156
steps:
@@ -168,7 +212,7 @@ jobs:
168212
if: github.actor != 'restyled-io[bot]'
169213

170214
container:
171-
image: ghcr.io/project-chip/chip-build-nxp-zephyr:66
215+
image: ghcr.io/project-chip/chip-build-nxp-zephyr:74
172216

173217
steps:
174218
- name: Checkout

0 commit comments

Comments
 (0)