Skip to content

Commit e506d7c

Browse files
authored
Merge branch 'master' into UpdateTIAppTaskPriority
2 parents 00507cb + 78ce5b0 commit e506d7c

File tree

932 files changed

+29206
-15084
lines changed

Some content is hidden

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

932 files changed

+29206
-15084
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/dependabot.yml

-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ updates:
5454
- dependency-name: "third_party/open-iot-sdk/repo"
5555
- dependency-name: "third_party/ot-br-posix/repo"
5656
- dependency-name: "third_party/perfetto/repo"
57-
- dependency-name: "third_party/pybind11/repo"
5857
- dependency-name: "third_party/qpg_sdk/repo"
5958
- dependency-name: "third_party/silabs/repo"
6059
- dependency-name: "third_party/simw-top-mini/repo"

.github/stale.yml

-42
This file was deleted.

.github/workflows/build.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ jobs:
308308

309309
- name: Setup Build, Run Build and Run Tests
310310
run: |
311-
scripts/build/gn_gen.sh --args="enable_rtti=true enable_pylib=true chip_config_memory_debug_checks=false chip_config_memory_debug_dmalloc=false chip_generate_link_map_file=false"
311+
scripts/build/gn_gen.sh --args="enable_rtti=true chip_config_memory_debug_checks=false chip_config_memory_debug_dmalloc=false chip_generate_link_map_file=false"
312312
scripts/run_in_build_env.sh "ninja -C ./out"
313313
scripts/tests/gn_tests.sh
314314
- name: Setup test python environment
@@ -414,7 +414,6 @@ jobs:
414414
# "host clang" build, which uses the pigweed
415415
# clang.
416416
"default") GN_ARGS='target_os="all" is_asan=true enable_host_clang_build=false';;
417-
"python_lib") GN_ARGS='enable_rtti=true enable_pylib=true';;
418417
esac
419418
BUILD_TYPE=$BUILD_TYPE scripts/build/gn_gen.sh --args="$GN_ARGS" --export-compile-commands
420419
scripts/run_in_build_env.sh "ninja -C ./out/$BUILD_TYPE"

.github/workflows/docker_img.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ jobs:
102102
# - "-imx"
103103
- "-java"
104104
- "-k32w"
105-
- "-mbed-os"
106105
- "-nrf-platform"
107106
- "-telink"
108107
- "-ti"

.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:54
41+
image: ghcr.io/project-chip/chip-build-ameba:68
4242
options: --user root
4343

4444
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:54
40+
image: ghcr.io/project-chip/chip-build-bouffalolab:68
4141
volumes:
4242
- "/tmp/bloat_reports:/tmp/bloat_reports"
4343
steps:

.github/workflows/examples-mbed.yaml

-170
This file was deleted.

.github/workflows/examples-nxp.yaml

+54-10
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:71
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

0 commit comments

Comments
 (0)