Skip to content

Commit f8d2e36

Browse files
sihyung-maximlorne-maximJake-Carterozersaahmetyazicii
authored
chore(Other): Merge main into release for September 2024 Release (#1194)
Signed-off-by: Sadik Ozer <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Anıl Kara <[email protected]> Signed-off-by: Maureen Helm <[email protected]> Signed-off-by: Furkan Akkiz <[email protected]> Signed-off-by: Tahsin Mutlugun <[email protected]> Signed-off-by: Michael Perkins <[email protected]> Signed-off-by: Kevin Townsend <[email protected]> Co-authored-by: Lorne Smith <[email protected]> Co-authored-by: Jake Carter <[email protected]> Co-authored-by: Sadik Ozer <[email protected]> Co-authored-by: Jake Carter <[email protected]> Co-authored-by: ahmetyazicii <[email protected]> Co-authored-by: Brent K <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Omercan Kilic <[email protected]> Co-authored-by: EricB-ADI <[email protected]> Co-authored-by: Jake-Carter <[email protected]> Co-authored-by: Anıl Kara <[email protected]> Co-authored-by: Brandon Hurst <[email protected]> Co-authored-by: EricB-ADI <[email protected]> Co-authored-by: Victor Loginov <[email protected]> Co-authored-by: lorne-maxim <[email protected]> Co-authored-by: Sadik Ozer <[email protected]> Co-authored-by: Maureen Helm <[email protected]> Co-authored-by: Furkan AKKIZ <[email protected]> Co-authored-by: isztldav <[email protected]> Co-authored-by: JC-282-AD <[email protected]> Co-authored-by: Oğuzhan Büyüksolak <[email protected]> Co-authored-by: JC-282-AD <[email protected]> Co-authored-by: Mehmet Ozgun Kanal <[email protected]> Co-authored-by: Ozgun <[email protected]> Co-authored-by: Noxi123 <[email protected]> Co-authored-by: Changmin Jeon <[email protected]> Co-authored-by: ersahatmacaa <[email protected]> Co-authored-by: Kevin Gillespie <[email protected]> Co-authored-by: Kevin Gillespie <[email protected]> Co-authored-by: Kalvin McCallum <[email protected]> Co-authored-by: Omer Demir <[email protected]> Co-authored-by: sihyung-maxim <[email protected]> Co-authored-by: EricB-ADI <[email protected]> Co-authored-by: Tahsin Türker Mutlugün <[email protected]> Co-authored-by: Michael Perkins <[email protected]> Co-authored-by: Kevin Townsend <[email protected]> Co-authored-by: Bobby <[email protected]> Co-authored-by: Bobby Counts <[email protected]> Co-authored-by: Mert Ekren <[email protected]> Co-authored-by: Anıl Kara <[email protected]> Co-authored-by: Ozan Durgut <[email protected]> Co-authored-by: Cristian Cruz <[email protected]>
1 parent b20b398 commit f8d2e36

File tree

8,721 files changed

+408286
-91064
lines changed

Some content is hidden

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

8,721 files changed

+408286
-91064
lines changed

Diff for: .clang-format

+17-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
1-
# SPDX-License-Identifier: GPL-2.0
1+
###############################################################################
2+
#
3+
# Copyright (C) 2024 Analog Devices, Inc.
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
##############################################################################
218
#
319
# clang-format configuration file. Intended for clang-format >= 11.
420
#

Diff for: .github/labeler.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
###############################################################################
99
#
10-
# Copyright (C) 2022-2023 Maxim Integrated Products, Inc. All Rights Reserved.
11-
# (now owned by Analog Devices, Inc.),
10+
# Copyright (C) 2022-2023 Maxim Integrated Products, Inc. (now owned by
11+
# Analog Devices, Inc.),
1212
# Copyright (C) 2023-2024 Analog Devices, Inc. All Rights Reserved. This software
1313
# is proprietary to Analog Devices, Inc. and its licensors.
1414
#

Diff for: .github/pull_request_template.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,4 @@ NOTE: The scope is case-sensitive and must match one of the listed scopes.
6969

7070
#### More Info
7171

72-
Please refer to the [CONTRIBUTING.md](https://github.com/Analog-Devices-MSDK/msdk/blob/main/Documentation/CONTRIBUTING.md) for more information regarding the PR Title.
72+
Please refer to the [CONTRIBUTING.md](https://github.com/analogdevicesinc/msdk/blob/main/Documentation/CONTRIBUTING.md) for more information regarding the PR Title.

Diff for: .github/workflows/BLE_Examples_Test.yml

+188-403
Large diffs are not rendered by default.

Diff for: .github/workflows/Build_Examples.yml

+43-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
###############################################################################
2+
#
3+
# Copyright (C) 2022-2023 Maxim Integrated Products, Inc. (now owned by
4+
# Analog Devices, Inc.),
5+
# Copyright (C) 2023-2024 Analog Devices, Inc.
6+
#
7+
# Licensed under the Apache License, Version 2.0 (the "License");
8+
# you may not use this file except in compliance with the License.
9+
# You may obtain a copy of the License at
10+
#
11+
# http://www.apache.org/licenses/LICENSE-2.0
12+
#
13+
# Unless required by applicable law or agreed to in writing, software
14+
# distributed under the License is distributed on an "AS IS" BASIS,
15+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
# See the License for the specific language governing permissions and
17+
# limitations under the License.
18+
#
19+
##############################################################################
20+
121
name: Build_Examples
222

323
concurrency:
@@ -29,14 +49,35 @@ jobs:
2949

3050
steps:
3151
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
32-
- uses: actions/checkout@v3
52+
- uses: actions/checkout@v4
3353
with:
3454
# Update the submodules below, doing so here will convert ssh to https
3555
submodules: false
3656
fetch-depth: 0
3757
ref: '${{ github.event.pull_request.head.ref }}'
3858
repository: '${{ github.event.pull_request.head.repo.full_name }}'
3959

60+
- name: Get changed files
61+
id: changed-files
62+
uses: tj-actions/changed-files@v45
63+
with:
64+
files: |
65+
**.c
66+
**.h
67+
**.S
68+
**.s
69+
**.a
70+
**.cpp
71+
**.mk
72+
**/Makefile
73+
74+
- name: List all changed files
75+
env:
76+
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
77+
run: |
78+
echo ${ALL_CHANGED_FILES} > changed_files
79+
cat changed_files
80+
4081
- name: Check watch files
4182
id: check_watch
4283
run: |
@@ -202,7 +243,7 @@ jobs:
202243
# Set MAXIM_PATH to limit warnings
203244
export MAXIM_PATH=$(pwd)
204245
205-
python .github/workflows/scripts/build.py
246+
python .github/workflows/scripts/build.py --change_file changed_files
206247
207248
Regression_Test_Make_3_81:
208249
runs-on:

Diff for: .github/workflows/Generate_Register_Files.yml

+20
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
###############################################################################
2+
#
3+
# Copyright (C) 2022-2023 Maxim Integrated Products, Inc. (now owned by
4+
# Analog Devices, Inc.),
5+
# Copyright (C) 2023-2024 Analog Devices, Inc.
6+
#
7+
# Licensed under the Apache License, Version 2.0 (the "License");
8+
# you may not use this file except in compliance with the License.
9+
# You may obtain a copy of the License at
10+
#
11+
# http://www.apache.org/licenses/LICENSE-2.0
12+
#
13+
# Unless required by applicable law or agreed to in writing, software
14+
# distributed under the License is distributed on an "AS IS" BASIS,
15+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
# See the License for the specific language governing permissions and
17+
# limitations under the License.
18+
#
19+
##############################################################################
20+
121
name: Generate Register Files
222

323
# Controls when the workflow will run

Diff for: .github/workflows/PR_Title_Check.yml

+20
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
###############################################################################
2+
#
3+
# Copyright (C) 2022-2023 Maxim Integrated Products, Inc. (now owned by
4+
# Analog Devices, Inc.),
5+
# Copyright (C) 2023-2024 Analog Devices, Inc.
6+
#
7+
# Licensed under the Apache License, Version 2.0 (the "License");
8+
# you may not use this file except in compliance with the License.
9+
# You may obtain a copy of the License at
10+
#
11+
# http://www.apache.org/licenses/LICENSE-2.0
12+
#
13+
# Unless required by applicable law or agreed to in writing, software
14+
# distributed under the License is distributed on an "AS IS" BASIS,
15+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
# See the License for the specific language governing permissions and
17+
# limitations under the License.
18+
#
19+
##############################################################################
20+
121
name: Pull Request Title Checker
222

323
concurrency:

Diff for: .github/workflows/Release.yml

+20
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
###############################################################################
2+
#
3+
# Copyright (C) 2022-2023 Maxim Integrated Products, Inc. (now owned by
4+
# Analog Devices, Inc.),
5+
# Copyright (C) 2023-2024 Analog Devices, Inc.
6+
#
7+
# Licensed under the Apache License, Version 2.0 (the "License");
8+
# you may not use this file except in compliance with the License.
9+
# You may obtain a copy of the License at
10+
#
11+
# http://www.apache.org/licenses/LICENSE-2.0
12+
#
13+
# Unless required by applicable law or agreed to in writing, software
14+
# distributed under the License is distributed on an "AS IS" BASIS,
15+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
# See the License for the specific language governing permissions and
17+
# limitations under the License.
18+
#
19+
##############################################################################
20+
121
name: "Package Release Components"
222

323
on:

Diff for: .github/workflows/Stale_PR.yml

+20
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
###############################################################################
2+
#
3+
# Copyright (C) 2022-2023 Maxim Integrated Products, Inc. (now owned by
4+
# Analog Devices, Inc.),
5+
# Copyright (C) 2023-2024 Analog Devices, Inc.
6+
#
7+
# Licensed under the Apache License, Version 2.0 (the "License");
8+
# you may not use this file except in compliance with the License.
9+
# You may obtain a copy of the License at
10+
#
11+
# http://www.apache.org/licenses/LICENSE-2.0
12+
#
13+
# Unless required by applicable law or agreed to in writing, software
14+
# distributed under the License is distributed on an "AS IS" BASIS,
15+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
# See the License for the specific language governing permissions and
17+
# limitations under the License.
18+
#
19+
##############################################################################
20+
121
name: Check for Stale Pull Requests
222

323
concurrency:

Diff for: .github/workflows/Verify_Register_SVD.yml

+42-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
###############################################################################
2+
#
3+
# Copyright (C) 2022-2023 Maxim Integrated Products, Inc. (now owned by
4+
# Analog Devices, Inc.),
5+
# Copyright (C) 2023-2024 Analog Devices, Inc.
6+
#
7+
# Licensed under the Apache License, Version 2.0 (the "License");
8+
# you may not use this file except in compliance with the License.
9+
# You may obtain a copy of the License at
10+
#
11+
# http://www.apache.org/licenses/LICENSE-2.0
12+
#
13+
# Unless required by applicable law or agreed to in writing, software
14+
# distributed under the License is distributed on an "AS IS" BASIS,
15+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
# See the License for the specific language governing permissions and
17+
# limitations under the License.
18+
#
19+
##############################################################################
20+
121
name: Verify Register and SVD Files
222

323
concurrency:
@@ -635,5 +655,26 @@ jobs:
635655
fi
636656
done
637657
set -e
638-
658+
659+
# Remove generated register files for next time a runner picks up the job.
660+
# The register files generated in a previous instance will remain and won't
661+
# be regenerated because the Wall-E doesn't refresh its workspace and this
662+
# workflow only generates the register files for a specific part only once
663+
# (to save time) by checking whether the generated register files exist or not.
664+
cd ${{ env.MSDK-INTERNAL_DIR }}/SVD/Devices/
665+
666+
# Enter each directory and remove ./chip_test/
667+
for file_dir in *
668+
do
669+
# Don't mess with files.
670+
[[ -d $file_dir ]] || continue
671+
672+
if [[ ${DIE_TO_CHIP_NAMES[$file_dir]+_} ]]; then
673+
rm -rf ./${file_dir}/chip_test/
674+
fi
675+
done
676+
677+
# Return to workspace
678+
cd ../../../
679+
639680
exit $CHECK_FAIL

Diff for: .github/workflows/build-cordio-platform-docs.yml

+20
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
###############################################################################
2+
#
3+
# Copyright (C) 2022-2023 Maxim Integrated Products, Inc. (now owned by
4+
# Analog Devices, Inc.),
5+
# Copyright (C) 2023-2024 Analog Devices, Inc.
6+
#
7+
# Licensed under the Apache License, Version 2.0 (the "License");
8+
# you may not use this file except in compliance with the License.
9+
# You may obtain a copy of the License at
10+
#
11+
# http://www.apache.org/licenses/LICENSE-2.0
12+
#
13+
# Unless required by applicable law or agreed to in writing, software
14+
# distributed under the License is distributed on an "AS IS" BASIS,
15+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
# See the License for the specific language governing permissions and
17+
# limitations under the License.
18+
#
19+
##############################################################################
20+
121
name: Build & Deploy Cordio Platform Docs
222

323
on:

Diff for: .github/workflows/build-docs.yml

+21-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
###############################################################################
2+
#
3+
# Copyright (C) 2022-2023 Maxim Integrated Products, Inc. (now owned by
4+
# Analog Devices, Inc.),
5+
# Copyright (C) 2023-2024 Analog Devices, Inc.
6+
#
7+
# Licensed under the Apache License, Version 2.0 (the "License");
8+
# you may not use this file except in compliance with the License.
9+
# You may obtain a copy of the License at
10+
#
11+
# http://www.apache.org/licenses/LICENSE-2.0
12+
#
13+
# Unless required by applicable law or agreed to in writing, software
14+
# distributed under the License is distributed on an "AS IS" BASIS,
15+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
# See the License for the specific language governing permissions and
17+
# limitations under the License.
18+
#
19+
##############################################################################
20+
121
name: Build & Deploy Docs
222

323
# Controls when the workflow will run
@@ -15,7 +35,7 @@ jobs:
1535

1636
steps:
1737
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
18-
- uses: actions/checkout@v3
38+
- uses: actions/checkout@v4
1939

2040
- name: Setup Python
2141
uses: actions/[email protected]

Diff for: .github/workflows/build-max32665-ds.yml

+20
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
###############################################################################
2+
#
3+
# Copyright (C) 2022-2023 Maxim Integrated Products, Inc. (now owned by
4+
# Analog Devices, Inc.),
5+
# Copyright (C) 2023-2024 Analog Devices, Inc.
6+
#
7+
# Licensed under the Apache License, Version 2.0 (the "License");
8+
# you may not use this file except in compliance with the License.
9+
# You may obtain a copy of the License at
10+
#
11+
# http://www.apache.org/licenses/LICENSE-2.0
12+
#
13+
# Unless required by applicable law or agreed to in writing, software
14+
# distributed under the License is distributed on an "AS IS" BASIS,
15+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
# See the License for the specific language governing permissions and
17+
# limitations under the License.
18+
#
19+
##############################################################################
20+
121
name: build-max32665-ds
222

323
concurrency:

Diff for: .github/workflows/clang-format-check.yml

+21-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
###############################################################################
2+
#
3+
# Copyright (C) 2022-2023 Maxim Integrated Products, Inc. (now owned by
4+
# Analog Devices, Inc.),
5+
# Copyright (C) 2023-2024 Analog Devices, Inc.
6+
#
7+
# Licensed under the Apache License, Version 2.0 (the "License");
8+
# you may not use this file except in compliance with the License.
9+
# You may obtain a copy of the License at
10+
#
11+
# http://www.apache.org/licenses/LICENSE-2.0
12+
#
13+
# Unless required by applicable law or agreed to in writing, software
14+
# distributed under the License is distributed on an "AS IS" BASIS,
15+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
# See the License for the specific language governing permissions and
17+
# limitations under the License.
18+
#
19+
##############################################################################
20+
121
name: clang-format-check
222

323
# Cancel in-progress jobs if we're adding additional commits
@@ -45,7 +65,7 @@ jobs:
4565
# Exclude register header files. Those don't follow clang formatting or it becomes unreadable
4666
- name: clang-format-check
4767
run: |
48-
CHANGE_FILES=$(git diff --ignore-submodules --name-only remotes/origin/main '*.c' '*.h' ':!*_regs.h' ':!*ffconf.h' ':!*weights.h' ':!*cnn.h' ':!*cnn.c' ':!*sampledata.h' ':!*sampleoutput.h' ':!*softmax.c' ':!Examples/*/Coremark/*' ':!Libraries/FCL' ':!Libraries/FreeRTOS' ':!Libraries/lwIP' ':!Libraries/littlefs' ':!Libraries/FreeRTOS-Plus' ':!Libraries/LC3' ':!Libraries/SDHC' ':!Libraries/MAXUSB' ':!Libraries/Cordio' ':!Libraries/LVGL' ':!Libraries/Coremark' ':!Libraries/MiscDrivers/BarcodeDecoder')
68+
CHANGE_FILES=$(git diff --ignore-submodules --name-only remotes/origin/main '*.c' '*.h' ':!*_regs.h' ':!*ffconf.h' ':!*weights.h' ':!*cnn.h' ':!*cnn.c' ':!*sampledata.h' ':!*sampleoutput.h' ':!*softmax.c' ':!Examples/*/Coremark/*' ':!Libraries/FCL' ':!Libraries/FreeRTOS' ':!Libraries/lwIP' ':!Libraries/littlefs' ':!Libraries/FreeRTOS-Plus' ':!Libraries/LC3' ':!Libraries/SDHC' ':!Libraries/MAXUSB' ':!Libraries/Cordio' ':!Libraries/LVGL' ':!Libraries/Coremark' ':!Libraries/MiscDrivers/BarcodeDecoder' ':!Libraries/tinyusb' ':!Libraries/CMSIS/5.9.0/DSP')
4969
if [[ "$CHANGE_FILES" != "" ]]; then
5070
bash -e .github/workflows/clang-format-run.sh $CHANGE_FILES
5171
fi

0 commit comments

Comments
 (0)