Skip to content

Commit 0956d12

Browse files
committed
Merge remote-tracking branch 'cros/main' into marigold
2 parents 7b88e17 + 4a21ed5 commit 0956d12

File tree

13,409 files changed

+565785
-145315
lines changed

Some content is hidden

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

13,409 files changed

+565785
-145315
lines changed

.github/ISSUE_TEMPLATE/005_hardware_support.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

.github/SECURITY.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ updates:
88
- The most recent release, and the release prior to that.
99
- Active LTS releases.
1010

11-
At this time, with the latest release of v3.3, the supported
11+
At this time, with the latest release of v3.5, the supported
1212
versions are:
1313

1414
- v2.7: Current LTS
15-
- v3.2: Prior release
16-
- v3.3: Current release
15+
- v3.4: Prior release
16+
- v3.5: Current release
1717

1818
## Reporting process
1919

.github/workflows/assigner.yml

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
branches:
1111
- main
1212
- v*-branch
13+
issues:
14+
types:
15+
- labeled
1316

1417
jobs:
1518
assignment:
@@ -21,7 +24,7 @@ jobs:
2124
- name: Install Python dependencies
2225
run: |
2326
sudo pip3 install -U setuptools wheel pip
24-
pip3 install -U PyGithub>=1.55
27+
pip3 install -U PyGithub>=1.55 west
2528
2629
- name: Check out source code
2730
uses: actions/checkout@v3
@@ -30,9 +33,19 @@ jobs:
3033
env:
3134
GITHUB_TOKEN: ${{ secrets.ZB_GITHUB_TOKEN }}
3235
run: |
33-
python3 scripts/set_assignees.py \
34-
-v \
35-
-o ${{ github.event.repository.owner.login }} \
36-
-r ${{ github.event.repository.name }} \
37-
-M MAINTAINERS.yml \
38-
-P ${{ github.event.pull_request.number }}
36+
FLAGS="-v"
37+
FLAGS+=" -o ${{ github.event.repository.owner.login }}"
38+
FLAGS+=" -r ${{ github.event.repository.name }}"
39+
FLAGS+=" -M MAINTAINERS.yml"
40+
if [ "${{ github.event_name }}" = "pull_request_target" ]; then
41+
FLAGS+=" -P ${{ github.event.pull_request.number }}"
42+
elif [ "${{ github.event_name }}" = "issues" ]; then
43+
FLAGS+=" -I ${{ github.event.issue.number }}"
44+
elif [ "${{ github.event_name }}" = "schedule" ]; then
45+
FLAGS+=" --modules"
46+
else
47+
echo "Unknown event: ${{ github.event_name }}"
48+
exit 1
49+
fi
50+
51+
python3 scripts/set_assignees.py $FLAGS

.github/workflows/bsim-tests.yaml

Lines changed: 35 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ on:
1212
- "boards/posix/**"
1313
- "soc/posix/**"
1414
- "arch/posix/**"
15+
- "include/zephyr/arch/posix/**"
16+
- "scripts/native_simulator/**"
1517
- "samples/net/sockets/echo_*/**"
1618
- "modules/openthread/**"
1719
- "subsys/net/l2/openthread/**"
@@ -28,18 +30,20 @@ jobs:
2830
if: github.repository_owner == 'zephyrproject-rtos'
2931
runs-on: zephyr-runner-linux-x64-4xlarge
3032
container:
31-
image: ghcr.io/zephyrproject-rtos/ci:v0.26.4
33+
image: ghcr.io/zephyrproject-rtos/ci:v0.26.6
3234
options: '--entrypoint /bin/bash'
3335
volumes:
3436
- /repo-cache/zephyrproject:/github/cache/zephyrproject
3537
env:
3638
ZEPHYR_TOOLCHAIN_VARIANT: zephyr
37-
ZEPHYR_SDK_INSTALL_DIR: /opt/toolchains/zephyr-sdk-0.16.1
39+
ZEPHYR_SDK_INSTALL_DIR: /opt/toolchains/zephyr-sdk-0.16.4
3840
BSIM_OUT_PATH: /opt/bsim/
3941
BSIM_COMPONENTS_PATH: /opt/bsim/components
4042
EDTT_PATH: ../tools/edtt
41-
bsim_bluetooth_test_results_file: ./bsim_bluetooth/bsim_results.xml
42-
bsim_networking_test_results_file: ./bsim_net/bsim_results.xml
43+
bsim_bt_52_test_results_file: ./bsim_bt/52_bsim_results.xml
44+
bsim_bt_53_test_results_file: ./bsim_bt/53_bsim_results.xml
45+
bsim_bt_53split_test_results_file: ./bsim_bt/53_bsim_split_results.xml
46+
bsim_net_52_test_results_file: ./bsim_net/52_bsim_results.xml
4347
steps:
4448
- name: Apply container owner mismatch workaround
4549
run: |
@@ -86,6 +90,8 @@ jobs:
8690
boards/posix/**
8791
soc/posix/**
8892
arch/posix/**
93+
include/zephyr/arch/posix/**
94+
scripts/native_simulator/**
8995
tests/bsim/*
9096
9197
- name: Check if Bluethooth files changed
@@ -129,16 +135,32 @@ jobs:
129135
if: steps.check-bluetooth-files.outputs.any_changed == 'true' || steps.check-common-files.outputs.any_changed == 'true'
130136
run: |
131137
export ZEPHYR_BASE=${PWD}
132-
WORK_DIR=${ZEPHYR_BASE}/bsim_bluetooth tests/bsim/bluetooth/compile.sh
133-
RESULTS_FILE=${ZEPHYR_BASE}/${bsim_bluetooth_test_results_file} \
134-
SEARCH_PATH=tests/bsim/bluetooth/ tests/bsim/run_parallel.sh
138+
export WORK_DIR=${ZEPHYR_BASE}/bsim_bt
139+
# Build and run the BT tests for nrf52_bsim:
140+
nice tests/bsim/bluetooth/compile.sh
141+
RESULTS_FILE=${ZEPHYR_BASE}/${bsim_bt_52_test_results_file} \
142+
TESTS_FILE=tests/bsim/bluetooth/tests.nrf52bsim.txt tests/bsim/run_parallel.sh
143+
# Build and run the BT controller tests also for the nrf5340bsim_nrf5340_cpunet
144+
BOARD=nrf5340bsim_nrf5340_cpunet \
145+
nice tests/bsim/bluetooth/compile.nrf5340bsim_nrf5340_cpunet.sh
146+
BOARD=nrf5340bsim_nrf5340_cpunet \
147+
RESULTS_FILE=${ZEPHYR_BASE}/${bsim_bt_53_test_results_file} \
148+
TESTS_FILE=tests/bsim/bluetooth/tests.nrf5340bsim_nrf5340_cpunet.txt \
149+
tests/bsim/run_parallel.sh
150+
# Build and run the nrf5340 split stack tests set
151+
BOARD=nrf5340bsim_nrf5340_cpuapp \
152+
nice tests/bsim/bluetooth/compile.nrf5340bsim_nrf5340_cpuapp.sh
153+
BOARD=nrf5340bsim_nrf5340_cpuapp \
154+
RESULTS_FILE=${ZEPHYR_BASE}/${bsim_bt_53split_test_results_file} \
155+
TESTS_FILE=tests/bsim/bluetooth/tests.nrf5340bsim_nrf5340_cpuapp.txt \
156+
tests/bsim/run_parallel.sh
135157
136158
- name: Run Networking Tests with BSIM
137159
if: steps.check-networking-files.outputs.any_changed == 'true' || steps.check-common-files.outputs.any_changed == 'true'
138160
run: |
139161
export ZEPHYR_BASE=${PWD}
140-
WORK_DIR=${ZEPHYR_BASE}/bsim_net tests/bsim/net/compile.sh
141-
RESULTS_FILE=${ZEPHYR_BASE}/${bsim_networking_test_results_file} \
162+
WORK_DIR=${ZEPHYR_BASE}/bsim_net nice tests/bsim/net/compile.sh
163+
RESULTS_FILE=${ZEPHYR_BASE}/${bsim_net_52_test_results_file} \
142164
SEARCH_PATH=tests/bsim/net/ tests/bsim/run_parallel.sh
143165
144166
- name: Upload Test Results
@@ -147,8 +169,10 @@ jobs:
147169
with:
148170
name: bsim-test-results
149171
path: |
150-
./bsim_bluetooth/bsim_results.xml
151-
./bsim_net/bsim_results.xml
172+
./bsim_bt/52_bsim_results.xml
173+
./bsim_bt/53_bsim_results.xml
174+
./bsim_bt/53_bsim_split_results.xml
175+
./bsim_net/52_bsim_results.xml
152176
${{ github.event_path }}
153177
if-no-files-found: warn
154178

.github/workflows/clang.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ jobs:
1111
if: github.repository_owner == 'zephyrproject-rtos'
1212
runs-on: zephyr-runner-linux-x64-4xlarge
1313
container:
14-
image: ghcr.io/zephyrproject-rtos/ci:v0.26.4
14+
image: ghcr.io/zephyrproject-rtos/ci:v0.26.6
1515
options: '--entrypoint /bin/bash'
1616
volumes:
1717
- /repo-cache/zephyrproject:/github/cache/zephyrproject
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
platform: ["native_posix"]
21+
platform: ["native_sim"]
2222
env:
23-
ZEPHYR_SDK_INSTALL_DIR: /opt/toolchains/zephyr-sdk-0.16.1
23+
ZEPHYR_SDK_INSTALL_DIR: /opt/toolchains/zephyr-sdk-0.16.4
2424
LLVM_TOOLCHAIN_PATH: /usr/lib/llvm-16
2525
COMMIT_RANGE: ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}
2626
BASE_REF: ${{ github.base_ref }}
@@ -58,6 +58,7 @@ jobs:
5858
git log --pretty=oneline | head -n 10
5959
west init -l . || true
6060
west config --global update.narrow true
61+
west config manifest.group-filter -- +ci,+optional
6162
# In some cases modules are left in a state where they can't be
6263
# updated (i.e. when we cancel a job and the builder is killed),
6364
# So first retry to update, if that does not work, remove all modules

.github/workflows/codecov.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ jobs:
1313
if: github.repository == 'zephyrproject-rtos/zephyr'
1414
runs-on: zephyr-runner-linux-x64-4xlarge
1515
container:
16-
image: ghcr.io/zephyrproject-rtos/ci:v0.26.4
16+
image: ghcr.io/zephyrproject-rtos/ci:v0.26.6
1717
options: '--entrypoint /bin/bash'
1818
volumes:
1919
- /repo-cache/zephyrproject:/github/cache/zephyrproject
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
platform: ["native_posix", "qemu_x86", "unit_testing"]
23+
platform: ["native_sim", "qemu_x86", "unit_testing"]
2424
env:
25-
ZEPHYR_SDK_INSTALL_DIR: /opt/toolchains/zephyr-sdk-0.16.1
25+
ZEPHYR_SDK_INSTALL_DIR: /opt/toolchains/zephyr-sdk-0.16.4
2626
steps:
2727
- name: Apply container owner mismatch workaround
2828
run: |

.github/workflows/coding_guidelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
uses: actions/cache@v3
1818
with:
1919
path: ~/.cache/pip
20-
key: ${{ runner.os }}-doc-pip
20+
key: ${{ runner.os }}-pip-${{ hashFiles('.github/workflows/coding_guidelines.yml') }}
2121

2222
- name: Install python dependencies
2323
run: |

.github/workflows/compliance.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
uses: actions/cache@v3
2222
with:
2323
path: ~/.cache/pip
24-
key: ${{ runner.os }}-doc-pip
24+
key: ${{ runner.os }}-pip-${{ hashFiles('.github/workflows/compliance.yml') }}
2525

2626
- name: Install python dependencies
2727
run: |
@@ -44,7 +44,8 @@ jobs:
4444
# debug
4545
git log --pretty=oneline | head -n 10
4646
west init -l . || true
47-
west update 2>&1 1> west.update.log || west update 2>&1 1> west.update2.log
47+
west config manifest.group-filter -- +ci,+optional
48+
west update -o=--depth=1 -n 2>&1 1> west.update.log || west update -o=--depth=1 -n 2>&1 1> west.update2.log
4849
4950
- name: Run Compliance Tests
5051
continue-on-error: true

.github/workflows/devicetree_checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
runs-on: ${{ matrix.os }}
2727
strategy:
2828
matrix:
29-
python-version: [3.8, 3.9, '3.10']
29+
python-version: [3.8, 3.9, '3.10', '3.11', '3.12']
3030
os: [ubuntu-22.04, macos-11, windows-2022]
3131
exclude:
3232
- os: macos-11

0 commit comments

Comments
 (0)