Skip to content

Commit e414f3a

Browse files
committed
fwk: Merge upstream 2bbf8f9 into framework-main
Merging upstream into framework-main and then renaming the branch to fwk-main to match the name on the ec repo. Manually resolved conflicts: - drivers/i2c/i2c_npcx_controller.c - drivers/espi/espi_npcx.c BRANCH=fwk-main BUG=Periodic pull from upstream to keep up to date TEST=Boot on tulip TEST=Boot on lotus TEST=Boot on azalea TEST=Boot on marigold
2 parents 78c9e70 + 2bbf8f9 commit e414f3a

20,504 files changed

Lines changed: 768423 additions & 237815 deletions

File tree

Some content is hidden

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

.checkpatch.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
--min-conf-desc-length=1
66
--typedefsfile=scripts/checkpatch/typedefsfile
77

8-
--ignore BRACES
98
--ignore PRINTK_WITHOUT_KERN_LEVEL
109
--ignore SPLIT_STRING
1110
--ignore VOLATILE

.clang-format

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ ForEachMacros:
4646
- 'SYS_DLIST_FOR_EACH_CONTAINER_SAFE'
4747
- 'SYS_DLIST_FOR_EACH_NODE'
4848
- 'SYS_DLIST_FOR_EACH_NODE_SAFE'
49+
- 'SYS_SEM_LOCK'
4950
- 'SYS_SFLIST_FOR_EACH_CONTAINER'
5051
- 'SYS_SFLIST_FOR_EACH_CONTAINER_SAFE'
5152
- 'SYS_SFLIST_FOR_EACH_NODE'
@@ -79,6 +80,8 @@ ForEachMacros:
7980
- 'HTTP_SERVER_CONTENT_TYPE_FOREACH'
8081
- 'HTTP_SERVICE_FOREACH'
8182
- 'HTTP_SERVICE_FOREACH_RESOURCE'
83+
- 'I3C_BUS_FOR_EACH_I3CDEV'
84+
- 'I3C_BUS_FOR_EACH_I2CDEV'
8285
IfMacros:
8386
- 'CHECKIF'
8487
# Disabled for now, see bug https://github.com/zephyrproject-rtos/zephyr/issues/48520
@@ -96,9 +99,16 @@ IndentCaseLabels: false
9699
IndentGotoLabels: false
97100
IndentWidth: 8
98101
InsertBraces: true
102+
SpaceBeforeInheritanceColon: False
99103
SpaceBeforeParens: ControlStatementsExceptControlMacros
100104
SortIncludes: Never
101105
UseTab: ForContinuationAndIndentation
102106
WhitespaceSensitiveMacros:
107+
- COND_CODE_0
108+
- COND_CODE_1
109+
- IF_DISABLED
110+
- IF_ENABLED
111+
- LISTIFY
103112
- STRINGIFY
104113
- Z_STRINGIFY
114+
- DT_FOREACH_PROP_ELEM_SEP

.codechecker.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
#
3+
# Copyright (c) 2024, Basalte bv
4+
5+
analyzer:
6+
# Start by disabling all
7+
- --disable-all
8+
9+
# Enable the sensitive profile
10+
- --enable=sensitive
11+
12+
# Disable unused cases
13+
- --disable=boost
14+
- --disable=mpi
15+
16+
# Many identifiers in zephyr start with _
17+
- --disable=clang-diagnostic-reserved-identifier
18+
- --disable=clang-diagnostic-reserved-macro-identifier
19+
20+
# Cleanup
21+
- --clean

.github/SECURITY.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ 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.6, the supported
11+
At this time, with the latest release of v4.0, the supported
1212
versions are:
1313

14-
- v3.7: Current LTS
15-
- v3.6: Prior release
14+
- v4.0: Current release
15+
- v3.7: Prior release and Current LTS
1616
- v2.7: Prior LTS
1717

1818
## Reporting process

.github/dependabot.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
commit-message:
8+
prefix: "ci: github: "
9+
labels: []
10+
groups:
11+
actions-deps:
12+
patterns:
13+
- "*"

.github/workflows/assigner.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ jobs:
2424
steps:
2525
- name: Install Python dependencies
2626
run: |
27-
sudo pip3 install -U setuptools wheel pip
28-
pip3 install -U PyGithub>=1.55 west
27+
pip install -U PyGithub>=1.55 west
2928
3029
- name: Check out source code
3130
uses: actions/checkout@v4

.github/workflows/backport_issue_check.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,20 @@ name: Backport Issue Check
22

33
on:
44
pull_request_target:
5+
types:
6+
- edited
7+
- opened
8+
- reopened
9+
- synchronize
510
branches:
611
- v*-branch
712

813
jobs:
914
backport:
1015
name: Backport Issue Check
16+
concurrency:
17+
group: backport-issue-check-${{ github.ref }}
18+
cancel-in-progress: true
1119
runs-on: ubuntu-22.04
1220
if: github.repository == 'zephyrproject-rtos/zephyr'
1321

@@ -17,8 +25,7 @@ jobs:
1725

1826
- name: Install Python dependencies
1927
run: |
20-
sudo pip3 install -U setuptools wheel pip
21-
pip3 install -U pygithub
28+
pip install -U pygithub
2229
2330
- name: Run backport issue checker
2431
env:

.github/workflows/bsim-tests-publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
steps:
1515
- name: Download artifacts
16-
uses: dawidd6/action-download-artifact@v3
16+
uses: dawidd6/action-download-artifact@v8
1717
with:
1818
run_id: ${{ github.event.workflow_run.id }}
1919

.github/workflows/bsim-tests.yaml

Lines changed: 27 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,18 @@ on:
88
- "west.yml"
99
- "subsys/bluetooth/**"
1010
- "tests/bsim/**"
11+
- "boards/nordic/nrf5*/*dt*"
12+
- "dts/*/nordic/**"
1113
- "tests/bluetooth/common/testlib/**"
1214
- "samples/bluetooth/**"
13-
- "boards/posix/**"
14-
- "soc/posix/**"
15+
- "boards/native/**"
16+
- "soc/native/**"
1517
- "arch/posix/**"
1618
- "include/zephyr/arch/posix/**"
1719
- "scripts/native_simulator/**"
1820
- "samples/net/sockets/echo_*/**"
21+
- "modules/hal_nordic/**"
22+
- "modules/mbedtls/**"
1923
- "modules/openthread/**"
2024
- "subsys/net/l2/openthread/**"
2125
- "include/zephyr/net/openthread.h"
@@ -34,7 +38,7 @@ jobs:
3438
runs-on:
3539
group: zephyr-runner-v2-linux-x64-4xlarge
3640
container:
37-
image: ghcr.io/zephyrproject-rtos/ci-repo-cache:v0.26.13.20240601
41+
image: ghcr.io/zephyrproject-rtos/ci-repo-cache:v0.27.4.20241026
3842
options: '--entrypoint /bin/bash'
3943
env:
4044
ZEPHYR_TOOLCHAIN_VARIANT: zephyr
@@ -74,7 +78,9 @@ jobs:
7478
git config --global user.email "bot@zephyrproject.org"
7579
git config --global user.name "Zephyr Bot"
7680
rm -fr ".git/rebase-apply"
81+
rm -fr ".git/rebase-merge"
7782
git rebase origin/${BASE_REF}
83+
git clean -f -d
7884
git log --pretty=oneline | head -n 10
7985
west init -l . || true
8086
west config manifest.group-filter -- +ci
@@ -85,22 +91,26 @@ jobs:
8591
echo "ZEPHYR_SDK_INSTALL_DIR=/opt/toolchains/zephyr-sdk-$( cat SDK_VERSION )" >> $GITHUB_ENV
8692
8793
- name: Check common triggering files
88-
uses: tj-actions/changed-files@v44
94+
uses: tj-actions/changed-files@v45
8995
id: check-common-files
9096
with:
9197
files: |
9298
.github/workflows/bsim-tests.yaml
9399
.github/workflows/bsim-tests-publish.yaml
94100
west.yml
95-
boards/posix/
96-
soc/posix/
101+
boards/native/
102+
soc/native/
97103
arch/posix/
98104
include/zephyr/arch/posix/
99105
scripts/native_simulator/
100106
tests/bsim/*
107+
boards/nordic/nrf5*/*dt*
108+
dts/*/nordic/
109+
modules/mbedtls/**
110+
modules/hal_nordic/**
101111
102112
- name: Check if Bluethooth files changed
103-
uses: tj-actions/changed-files@v44
113+
uses: tj-actions/changed-files@v45
104114
id: check-bluetooth-files
105115
with:
106116
files: |
@@ -109,7 +119,7 @@ jobs:
109119
subsys/bluetooth/
110120
111121
- name: Check if Networking files changed
112-
uses: tj-actions/changed-files@v44
122+
uses: tj-actions/changed-files@v45
113123
id: check-networking-files
114124
with:
115125
files: |
@@ -122,7 +132,7 @@ jobs:
122132
include/zephyr/net/ieee802154*
123133
124134
- name: Check if UART files changed
125-
uses: tj-actions/changed-files@v44
135+
uses: tj-actions/changed-files@v45
126136
id: check-uart-files
127137
with:
128138
files: |
@@ -132,10 +142,10 @@ jobs:
132142
133143
- name: Update BabbleSim to manifest revision
134144
if: >
135-
steps.check-bluetooth-files.outputs.any_changed == 'true'
136-
|| steps.check-networking-files.outputs.any_changed == 'true'
137-
|| steps.check-uart-files.outputs.any_changed == 'true'
138-
|| steps.check-common-files.outputs.any_changed == 'true'
145+
steps.check-bluetooth-files.outputs.any_modified == 'true'
146+
|| steps.check-networking-files.outputs.any_modified == 'true'
147+
|| steps.check-uart-files.outputs.any_modified == 'true'
148+
|| steps.check-common-files.outputs.any_modified == 'true'
139149
run: |
140150
export BSIM_VERSION=$( west list bsim -f {revision} )
141151
echo "Manifest points to bsim sha $BSIM_VERSION"
@@ -146,23 +156,23 @@ jobs:
146156
make everything -s -j 8
147157
148158
- name: Run Bluetooth Tests with BSIM
149-
if: steps.check-bluetooth-files.outputs.any_changed == 'true' || steps.check-common-files.outputs.any_changed == 'true'
159+
if: steps.check-bluetooth-files.outputs.any_modified == 'true' || steps.check-common-files.outputs.any_modified == 'true'
150160
run: |
151161
tests/bsim/ci.bt.sh
152162
153163
- name: Run Networking Tests with BSIM
154-
if: steps.check-networking-files.outputs.any_changed == 'true' || steps.check-common-files.outputs.any_changed == 'true'
164+
if: steps.check-networking-files.outputs.any_modified == 'true' || steps.check-common-files.outputs.any_modified == 'true'
155165
run: |
156166
tests/bsim/ci.net.sh
157167
158168
- name: Run UART Tests with BSIM
159-
if: steps.check-uart-files.outputs.any_changed == 'true' || steps.check-common-files.outputs.any_changed == 'true'
169+
if: steps.check-uart-files.outputs.any_modified == 'true' || steps.check-common-files.outputs.any_modified == 'true'
160170
run: |
161171
tests/bsim/ci.uart.sh
162172
163173
- name: Merge Test Results
164174
run: |
165-
pip3 install junitparser junit2html
175+
pip install junitparser junit2html
166176
junitparser merge --glob "./bsim_*/*bsim_results.*.xml" "./twister-out/twister.xml" junit.xml
167177
junit2html junit.xml junit.html
168178

.github/workflows/bug_snapshot.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ jobs:
2525

2626
- name: Install Python dependencies
2727
run: |
28-
sudo pip3 install -U setuptools wheel pip
29-
pip3 install -U pygithub
28+
pip install -U pygithub
3029
3130
- name: Snapshot bugs
3231
env:

0 commit comments

Comments
 (0)