fix(BLE): Re-implement UART with DMA on MAX32690 #5811
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################################### | |
# | |
# 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. | |
# | |
############################################################################## | |
################################# | |
## Super Linter GitHub Actions ## | |
################################# | |
################################# | |
name: Lint Code Base | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
# | |
# Documentation: | |
# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions | |
# | |
############################# | |
# Start the job on all push # | |
############################# | |
on: | |
push: | |
branches: [master, main] | |
pull_request: | |
branches: [master, main] | |
workflow_dispatch: | |
############### | |
# Set the Job # | |
############### | |
jobs: | |
build: | |
# Name the Job | |
name: Lint Code Base | |
# Set the agent to run on | |
runs-on: [ ubuntu-latest ] | |
################## | |
# Load all steps # | |
################## | |
steps: | |
########################## | |
# Checkout the code base # | |
########################## | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
with: | |
# Full git history is needed to get a proper list of changed files within `super-linter` | |
fetch-depth: 0 | |
################################ | |
# Run Linter against code base # | |
################################ | |
- name: Lint Code Base | |
uses: github/super-linter/slim@v4 | |
env: | |
VALIDATE_ALL_CODEBASE: ${{ github.event_name == 'workflow_dispatch' }} | |
DEFAULT_BRANCH: main | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# Skip autogenerated register files and internal use board files | |
FILTER_REGEX_EXCLUDE: (.*\/Libraries\/CMSIS\/Device\/Maxim\/.*\/Include\/partition_.*\.h)|(.*\/Libraries\/((CMSIS\/Device\/Maxim\/[^\/]*\/Include)|(PeriphDrivers\/Source\/[^\/]*))\/[^\/]*_regs\.h)|(.*\/Libraries\/Boards\/[^\/]*\/(BCB|Emulator|Simulation|ROM)[^\/]*\/.*)|(.*\/Examples\/[^\/]*\/Display\/lvgl-8\.0\.2\/.*)|(.*\/Examples\/[^\/]*\/Demo\/lv_conf.h)|(.*\/Libraries\/CMSIS\/5.9.0\/.*)|(.*\/Libraries\/CMSIS\/Include\/.*)|(.*\/Libraries\/Cordio\/.*)|(.*\/Libraries\/SDHC\/.*)|(.*\/Libraries\/lwIP\/.*)|(.*\/Examples\/[^\/]*\/CNN\/.*)|(.*\/Libraries\/tinyusb\/.*)|(.*\/Libraries\/CMSIS\/5\.9\.0\/DSP\/.*)|(.*\/Libraries\/CMSIS\/Device\/Maxim\/MAX32657\/Source\/Template\/.*)|(.*\/partition_.*\.h) | |
# Explicity turn off all linters except CPP | |
# SuperLinter Documentation says all we need to do is turn on the ones we want | |
# and the rest will be off, but that doesn't seem to be the case in practice. | |
VALIDATE_ANSIBLE: false | |
VALIDATE_ARM: false | |
VALIDATE_BASH: false | |
VALIDATE_BASH_EXEC: false | |
# VALIDATE_CPP: false | |
VALIDATE_CLANG_FORMAT: false | |
VALIDATE_CLOJURE: false | |
VALIDATE_CLOUDFORMATION: false | |
VALIDATE_COFFEESCRIPT: false | |
VALIDATE_CSHARP: false | |
VALIDATE_CSS: false | |
VALIDATE_DART: false | |
VALIDATE_DOCKERFILE_HADOLINT: false | |
VALIDATE_EDITORCONFIG: false | |
VALIDATE_ENV: false | |
VALIDATE_GHERKIN: false | |
VALIDATE_GITHUB_ACTIONS: false | |
VALIDATE_GITLEAKS: false | |
VALIDATE_GO: false | |
VALIDATE_GOOGLE_JAVA_FORMAT: false | |
VALIDATE_GROOVY: false | |
VALIDATE_HTML: false | |
VALIDATE_JAVA: false | |
VALIDATE_JAVASCRIPT_ES: false | |
VALIDATE_JAVASCRIPT_STANDARD: false | |
VALIDATE_JSCPD: false | |
VALIDATE_JSON: false | |
VALIDATE_JSX: false | |
VALIDATE_KOTLIN: false | |
VALIDATE_KOTLIN_ANDROID: false | |
VALIDATE_KUBERNETES_KUBEVAL: false | |
VALIDATE_LATEX: false | |
VALIDATE_LUA: false | |
VALIDATE_MARKDOWN: false | |
VALIDATE_NATURAL_LANGUAGE: false | |
VALIDATE_OPENAPI: false | |
VALIDATE_PERL: false | |
VALIDATE_PHP: false | |
VALIDATE_PHP_BUILTIN: false | |
VALIDATE_PHP_PHPCS: false | |
VALIDATE_PHP_PHPSTAN: false | |
VALIDATE_PHP_PSALM: false | |
VALIDATE_POWERSHELL: false | |
VALIDATE_PROTOBUF: false | |
VALIDATE_PYTHON: false | |
VALIDATE_PYTHON_BLACK: false | |
VALIDATE_PYTHON_FLAKE8: false | |
VALIDATE_PYTHON_ISORT: false | |
VALIDATE_PYTHON_MYPY: false | |
VALIDATE_PYTHON_PYLINT: false | |
VALIDATE_R: false | |
VALIDATE_RAKU: false | |
VALIDATE_RUBY: false | |
VALIDATE_RUST_2015: false | |
VALIDATE_RUST_2018: false | |
VALIDATE_RUST_2021: false | |
VALIDATE_RUST_CLIPPY: false | |
VALIDATE_SCALAFMT: false | |
VALIDATE_SHELL_SHFMT: false | |
VALIDATE_SNAKEMAKE_LINT: false | |
VALIDATE_SNAKEMAKE_SNAKEFMT: false | |
VALIDATE_STATES: false | |
VALIDATE_SQL: false | |
VALIDATE_SQLFLUFF: false | |
VALIDATE_TEKTON: false | |
VALIDATE_TERRAFORM_TERRASCAN: false | |
VALIDATE_TERRAFORM_TFLINT: false | |
VALIDATE_TERRAGRUNT: false | |
VALIDATE_TSX: false | |
VALIDATE_TYPESCRIPT_STANDARD: false | |
VALIDATE_XML: false | |
VALIDATE_YAML: false |