Skip to content

Commit

Permalink
chore(Other): Merge main into release for September 2024 Release (#…
Browse files Browse the repository at this point in the history
…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]>
  • Loading branch information
1 parent b20b398 commit f8d2e36
Show file tree
Hide file tree
Showing 8,721 changed files with 408,286 additions and 91,064 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
18 changes: 17 additions & 1 deletion .clang-format
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
# SPDX-License-Identifier: GPL-2.0
###############################################################################
#
# Copyright (C) 2024 Analog Devices, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
##############################################################################
#
# clang-format configuration file. Intended for clang-format >= 11.
#
Expand Down
4 changes: 2 additions & 2 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

###############################################################################
#
# Copyright (C) 2022-2023 Maxim Integrated Products, Inc. All Rights Reserved.
# (now owned by Analog Devices, Inc.),
# Copyright (C) 2022-2023 Maxim Integrated Products, Inc. (now owned by
# Analog Devices, Inc.),
# Copyright (C) 2023-2024 Analog Devices, Inc. All Rights Reserved. This software
# is proprietary to Analog Devices, Inc. and its licensors.
#
Expand Down
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,4 @@ NOTE: The scope is case-sensitive and must match one of the listed scopes.

#### More Info

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.
Please refer to the [CONTRIBUTING.md](https://github.com/analogdevicesinc/msdk/blob/main/Documentation/CONTRIBUTING.md) for more information regarding the PR Title.
591 changes: 188 additions & 403 deletions .github/workflows/BLE_Examples_Test.yml

Large diffs are not rendered by default.

45 changes: 43 additions & 2 deletions .github/workflows/Build_Examples.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
###############################################################################
#
# Copyright (C) 2022-2023 Maxim Integrated Products, Inc. (now owned by
# Analog Devices, Inc.),
# Copyright (C) 2023-2024 Analog Devices, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
##############################################################################

name: Build_Examples

concurrency:
Expand Down Expand Up @@ -29,14 +49,35 @@ jobs:

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

- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v45
with:
files: |
**.c
**.h
**.S
**.s
**.a
**.cpp
**.mk
**/Makefile
- name: List all changed files
env:
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: |
echo ${ALL_CHANGED_FILES} > changed_files
cat changed_files
- name: Check watch files
id: check_watch
run: |
Expand Down Expand Up @@ -202,7 +243,7 @@ jobs:
# Set MAXIM_PATH to limit warnings
export MAXIM_PATH=$(pwd)
python .github/workflows/scripts/build.py
python .github/workflows/scripts/build.py --change_file changed_files
Regression_Test_Make_3_81:
runs-on:
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/Generate_Register_Files.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
###############################################################################
#
# Copyright (C) 2022-2023 Maxim Integrated Products, Inc. (now owned by
# Analog Devices, Inc.),
# Copyright (C) 2023-2024 Analog Devices, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
##############################################################################

name: Generate Register Files

# Controls when the workflow will run
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/PR_Title_Check.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
###############################################################################
#
# Copyright (C) 2022-2023 Maxim Integrated Products, Inc. (now owned by
# Analog Devices, Inc.),
# Copyright (C) 2023-2024 Analog Devices, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
##############################################################################

name: Pull Request Title Checker

concurrency:
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
###############################################################################
#
# Copyright (C) 2022-2023 Maxim Integrated Products, Inc. (now owned by
# Analog Devices, Inc.),
# Copyright (C) 2023-2024 Analog Devices, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
##############################################################################

name: "Package Release Components"

on:
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/Stale_PR.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
###############################################################################
#
# Copyright (C) 2022-2023 Maxim Integrated Products, Inc. (now owned by
# Analog Devices, Inc.),
# Copyright (C) 2023-2024 Analog Devices, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
##############################################################################

name: Check for Stale Pull Requests

concurrency:
Expand Down
43 changes: 42 additions & 1 deletion .github/workflows/Verify_Register_SVD.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
###############################################################################
#
# Copyright (C) 2022-2023 Maxim Integrated Products, Inc. (now owned by
# Analog Devices, Inc.),
# Copyright (C) 2023-2024 Analog Devices, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
##############################################################################

name: Verify Register and SVD Files

concurrency:
Expand Down Expand Up @@ -635,5 +655,26 @@ jobs:
fi
done
set -e
# Remove generated register files for next time a runner picks up the job.
# The register files generated in a previous instance will remain and won't
# be regenerated because the Wall-E doesn't refresh its workspace and this
# workflow only generates the register files for a specific part only once
# (to save time) by checking whether the generated register files exist or not.
cd ${{ env.MSDK-INTERNAL_DIR }}/SVD/Devices/
# Enter each directory and remove ./chip_test/
for file_dir in *
do
# Don't mess with files.
[[ -d $file_dir ]] || continue
if [[ ${DIE_TO_CHIP_NAMES[$file_dir]+_} ]]; then
rm -rf ./${file_dir}/chip_test/
fi
done
# Return to workspace
cd ../../../
exit $CHECK_FAIL
20 changes: 20 additions & 0 deletions .github/workflows/build-cordio-platform-docs.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
###############################################################################
#
# Copyright (C) 2022-2023 Maxim Integrated Products, Inc. (now owned by
# Analog Devices, Inc.),
# Copyright (C) 2023-2024 Analog Devices, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
##############################################################################

name: Build & Deploy Cordio Platform Docs

on:
Expand Down
22 changes: 21 additions & 1 deletion .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
###############################################################################
#
# Copyright (C) 2022-2023 Maxim Integrated Products, Inc. (now owned by
# Analog Devices, Inc.),
# Copyright (C) 2023-2024 Analog Devices, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
##############################################################################

name: Build & Deploy Docs

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

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

- name: Setup Python
uses: actions/[email protected]
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/build-max32665-ds.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
###############################################################################
#
# Copyright (C) 2022-2023 Maxim Integrated Products, Inc. (now owned by
# Analog Devices, Inc.),
# Copyright (C) 2023-2024 Analog Devices, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
##############################################################################

name: build-max32665-ds

concurrency:
Expand Down
22 changes: 21 additions & 1 deletion .github/workflows/clang-format-check.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
###############################################################################
#
# Copyright (C) 2022-2023 Maxim Integrated Products, Inc. (now owned by
# Analog Devices, Inc.),
# Copyright (C) 2023-2024 Analog Devices, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
##############################################################################

name: clang-format-check

# Cancel in-progress jobs if we're adding additional commits
Expand Down Expand Up @@ -45,7 +65,7 @@ jobs:
# Exclude register header files. Those don't follow clang formatting or it becomes unreadable
- name: clang-format-check
run: |
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')
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')
if [[ "$CHANGE_FILES" != "" ]]; then
bash -e .github/workflows/clang-format-run.sh $CHANGE_FILES
fi
Loading

0 comments on commit f8d2e36

Please sign in to comment.