diff --git a/.github/workflows/check-easyjson.yml b/.github/workflows/check-easyjson.yml index 84fd85cdd19..419f736256a 100644 --- a/.github/workflows/check-easyjson.yml +++ b/.github/workflows/check-easyjson.yml @@ -2,7 +2,7 @@ name: Check easyjson generated files env: # See: https://github.com/actions/setup-go/tree/main#supported-version-syntax - GO_VERSION: "1.22" + GO_VERSION: "1.24" # See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows on: diff --git a/.github/workflows/check-go-dependencies-task.yml b/.github/workflows/check-go-dependencies-task.yml index c54558672b4..c3d31664168 100644 --- a/.github/workflows/check-go-dependencies-task.yml +++ b/.github/workflows/check-go-dependencies-task.yml @@ -3,7 +3,7 @@ name: Check Go Dependencies env: # See: https://github.com/actions/setup-go/tree/main#supported-version-syntax - GO_VERSION: "1.22" + GO_VERSION: "1.24" # See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows on: diff --git a/.github/workflows/check-go-task.yml b/.github/workflows/check-go-task.yml index 91c417f179c..360c450de35 100644 --- a/.github/workflows/check-go-task.yml +++ b/.github/workflows/check-go-task.yml @@ -3,7 +3,7 @@ name: Check Go env: # See: https://github.com/actions/setup-go/tree/main#supported-version-syntax - GO_VERSION: "1.22" + GO_VERSION: "1.24" # See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows on: @@ -114,9 +114,9 @@ jobs: version: 3.x - name: golangci-lint - uses: golangci/golangci-lint-action@v6 + uses: golangci/golangci-lint-action@v8 with: - version: v1.57 + version: v2.1.0 - name: Check style env: diff --git a/.github/workflows/check-i18n-task.yml b/.github/workflows/check-i18n-task.yml index d6500c6964f..0e000fe13b9 100644 --- a/.github/workflows/check-i18n-task.yml +++ b/.github/workflows/check-i18n-task.yml @@ -2,7 +2,7 @@ name: Check Internationalization env: # See: https://github.com/actions/setup-go/tree/main#supported-version-syntax - GO_VERSION: "1.22" + GO_VERSION: "1.24" # See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows on: diff --git a/.github/workflows/check-markdown-task.yml b/.github/workflows/check-markdown-task.yml index 5e8a72add69..02ae36cb159 100644 --- a/.github/workflows/check-markdown-task.yml +++ b/.github/workflows/check-markdown-task.yml @@ -5,7 +5,7 @@ env: # See: https://github.com/actions/setup-node/#readme NODE_VERSION: 16.x # See: https://github.com/actions/setup-go/tree/main#supported-version-syntax - GO_VERSION: "1.22" + GO_VERSION: "1.24" # See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows on: diff --git a/.github/workflows/check-mkdocs-task.yml b/.github/workflows/check-mkdocs-task.yml index 228a288d785..18680faab36 100644 --- a/.github/workflows/check-mkdocs-task.yml +++ b/.github/workflows/check-mkdocs-task.yml @@ -3,7 +3,7 @@ name: Check Website env: # See: https://github.com/actions/setup-go/tree/main#supported-version-syntax - GO_VERSION: "1.22" + GO_VERSION: "1.24" # See: https://github.com/actions/setup-python/tree/main#available-versions-of-python PYTHON_VERSION: "3.9" diff --git a/.github/workflows/check-protobuf-task.yml b/.github/workflows/check-protobuf-task.yml index f81a5da2a05..c0ecd1cda3d 100644 --- a/.github/workflows/check-protobuf-task.yml +++ b/.github/workflows/check-protobuf-task.yml @@ -2,7 +2,7 @@ name: Check Protocol Buffers env: # See: https://github.com/actions/setup-go/tree/main#supported-version-syntax - GO_VERSION: "1.22" + GO_VERSION: "1.24" # See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows on: @@ -53,7 +53,8 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - - uses: bufbuild/buf-action@v1 + - name: Install buf + uses: bufbuild/buf-action@v1 with: setup_only: true diff --git a/.github/workflows/deploy-cobra-mkdocs-versioned-poetry.yml b/.github/workflows/deploy-cobra-mkdocs-versioned-poetry.yml index da7e07b514a..76f32ad3eaa 100644 --- a/.github/workflows/deploy-cobra-mkdocs-versioned-poetry.yml +++ b/.github/workflows/deploy-cobra-mkdocs-versioned-poetry.yml @@ -3,7 +3,7 @@ name: Deploy Website env: # See: https://github.com/actions/setup-go/tree/main#supported-version-syntax - GO_VERSION: "1.22" + GO_VERSION: "1.24" # See: https://github.com/actions/setup-python/tree/main#available-versions-of-python PYTHON_VERSION: "3.9" diff --git a/.github/workflows/i18n-weekly-pull.yaml b/.github/workflows/i18n-weekly-pull.yaml index d8fcd8a41ec..173d8070094 100644 --- a/.github/workflows/i18n-weekly-pull.yaml +++ b/.github/workflows/i18n-weekly-pull.yaml @@ -2,7 +2,7 @@ name: i18n-weekly-pull env: # See: https://github.com/actions/setup-go/tree/main#supported-version-syntax - GO_VERSION: "1.22" + GO_VERSION: "1.24" COVERAGE_ARTIFACT: coverage-data on: diff --git a/.github/workflows/publish-go-nightly-task.yml b/.github/workflows/publish-go-nightly-task.yml index ade13e6c2ef..46dd1089c13 100644 --- a/.github/workflows/publish-go-nightly-task.yml +++ b/.github/workflows/publish-go-nightly-task.yml @@ -265,6 +265,11 @@ jobs: repo-token: ${{ secrets.GITHUB_TOKEN }} version: 3.x + - name: Install buf + uses: bufbuild/buf-action@v1 + with: + setup_only: true + - name: Collect proto files env: NIGHTLY: true diff --git a/.github/workflows/publish-go-tester-task.yml b/.github/workflows/publish-go-tester-task.yml index 6f26162096c..82dfad0fff1 100644 --- a/.github/workflows/publish-go-tester-task.yml +++ b/.github/workflows/publish-go-tester-task.yml @@ -76,7 +76,7 @@ jobs: create-artifacts: needs: package-name-prefix name: Create artifact ${{ matrix.artifact.name }} - runs-on: ubuntu-latest + runs-on: ${{ matrix.artifact.runner }} strategy: matrix: @@ -84,36 +84,47 @@ jobs: - task: dist:Windows_32bit path: "*Windows_32bit.zip" name: Windows_X86-32 + runner: ubuntu-latest - task: dist:Windows_64bit path: "*Windows_64bit.zip" name: Windows_X86-64 + runner: ubuntu-latest - task: dist:Linux_32bit path: "*Linux_32bit.tar.gz" name: Linux_X86-32 + runner: ubuntu-latest - task: dist:Linux_64bit path: "*Linux_64bit.tar.gz" name: Linux_X86-64 + runner: ubuntu-latest - task: dist:Linux_ARMv6 path: "*Linux_ARMv6.tar.gz" name: Linux_ARMv6 + runner: ubuntu-latest - task: dist:Linux_ARMv7 path: "*Linux_ARMv7.tar.gz" name: Linux_ARMv7 + runner: ubuntu-latest - task: dist:Linux_ARM64 path: "*Linux_ARM64.tar.gz" name: Linux_ARM64 + runner: ubuntu-latest - task: dist:macOS_64bit path: "*macOS_64bit.tar.gz" name: macOS_64 + runner: ubuntu-latest - task: dist:macOS_ARM64 path: "*macOS_ARM64.tar.gz" name: macOS_ARM64 + runner: ubuntu-24.04-arm - task: protoc:collect path: "*_proto.zip" name: rpc-protocol-files + runner: ubuntu-latest - task: dist:jsonschema path: "*configuration.schema.json" name: configuration-schema + runner: ubuntu-latest steps: - name: Checkout repository @@ -127,6 +138,11 @@ jobs: repo-token: ${{ secrets.GITHUB_TOKEN }} version: 3.x + - name: Install buf + uses: bufbuild/buf-action@v1 + with: + setup_only: true + - name: Build run: | PACKAGE_NAME_PREFIX=${{ needs.package-name-prefix.outputs.prefix }} diff --git a/.github/workflows/release-go-task.yml b/.github/workflows/release-go-task.yml index d61142f066d..fa9ed513bf7 100644 --- a/.github/workflows/release-go-task.yml +++ b/.github/workflows/release-go-task.yml @@ -20,20 +20,29 @@ jobs: create-release-artifacts: outputs: version: ${{ steps.get-version.outputs.version }} - runs-on: ubuntu-latest + runs-on: ${{ matrix.env.runner }} strategy: matrix: - os: - - Windows_32bit - - Windows_64bit - - Linux_32bit - - Linux_64bit - - Linux_ARMv6 - - Linux_ARMv7 - - Linux_ARM64 - - macOS_64bit - - macOS_ARM64 + env: + - os: Windows_32bit + runner: ubuntu-latest + - os: Windows_64bit + runner: ubuntu-latest + - os: Linux_32bit + runner: ubuntu-latest + - os: Linux_64bit + runner: ubuntu-latest + - os: Linux_ARMv6 + runner: ubuntu-latest + - os: Linux_ARMv7 + runner: ubuntu-latest + - os: Linux_ARM64 + runner: ubuntu-latest + - os: macOS_64bit + runner: ubuntu-latest + - os: macOS_ARM64 + runner: ubuntu-24.04-arm steps: - name: Checkout repository @@ -43,7 +52,7 @@ jobs: - name: Create changelog # Avoid creating the same changelog for each os - if: matrix.os == 'Windows_32bit' + if: matrix.env.os == 'Windows_32bit' uses: arduino/create-changelog@v1 with: tag-regex: '^v[0-9]+\.[0-9]+\.[0-9]+.*$' @@ -58,7 +67,7 @@ jobs: version: 3.x - name: Build - run: task dist:${{ matrix.os }} + run: task dist:${{ matrix.env.os }} - name: Output Version id: get-version @@ -68,7 +77,7 @@ jobs: uses: actions/upload-artifact@v4 with: if-no-files-found: error - name: ${{ env.ARTIFACT_NAME }}-${{ matrix.os }} + name: ${{ env.ARTIFACT_NAME }}-${{ matrix.env.os }} path: ${{ env.DIST_DIR }} notarize-macos: @@ -265,6 +274,11 @@ jobs: repo-token: ${{ secrets.GITHUB_TOKEN }} version: 3.x + - name: Install buf + uses: bufbuild/buf-action@v1 + with: + setup_only: true + - name: Collect proto files run: task protoc:collect diff --git a/.github/workflows/test-go-task.yml b/.github/workflows/test-go-task.yml index c686489edbf..088e58669f7 100644 --- a/.github/workflows/test-go-task.yml +++ b/.github/workflows/test-go-task.yml @@ -3,7 +3,7 @@ name: Test Go env: # See: https://github.com/actions/setup-go/tree/main#supported-version-syntax - GO_VERSION: "1.22" + GO_VERSION: "1.24" COVERAGE_ARTIFACT: coverage-data # See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows @@ -205,7 +205,7 @@ jobs: echo "CODECOV_TOKEN=$CODECOV_TOKEN" >> "$GITHUB_ENV" - name: Send unit tests coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v5 with: token: ${{ env.CODECOV_TOKEN }} files: ./coverage.txt diff --git a/.golangci.yml b/.golangci.yml index 5d01dc9aa88..774ff649564 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,11 +1,11 @@ +version: "2" run: - timeout: 10m - go: "1.22" + go: "1.24" tests: true linters: # Disable all linters. - disable-all: true + default: none # Enable specific linter enable: # Nice to have @@ -13,173 +13,168 @@ linters: #- errcheck #- gocritic #- thelper - - errorlint + - copyloopvar - dupword - - exportloopref + - errorlint - forbidigo - - gofmt - - goimports - gosec - - gosimple - govet - ineffassign - misspell - revive - staticcheck - - tenv - - typecheck - unconvert # We must disable this one because there is no support 'optional' protobuf fields yet: https://github.com/arduino/arduino-cli/pull/2570 #- protogetter -linters-settings: - govet: - # Enable analyzers by name. - # Run `GL_DEBUG=govet golangci-lint run --enable=govet` to see default, all available analyzers, and enabled analyzers. - enable: - - appends - - asmdecl - - assign - - atomic - - atomicalign - - bools - - buildtag - - cgocall - - composites - - copylocks - - deepequalerrors - - defers - - directive - - errorsas - #- fieldalignment - - findcall - - framepointer - - httpresponse - - ifaceassert - - loopclosure - - lostcancel - - nilfunc - - nilness - - printf - - reflectvaluecompare - #- shadow - - shift - - sigchanyzer - - slog - - sortslice - - stdmethods - - stringintconv - - structtag - - testinggoroutine - - tests - - unmarshal - - unreachable - - unsafeptr - - unusedresult - - unusedwrite - - forbidigo: - forbid: - - p: ^(fmt\.Print(|f|ln)|print|println)$ - msg: in cli package use `feedback.*` instead - - p: (os\.(Stdout|Stderr|Stdin))(# )? - msg: in cli package use `feedback.*` instead - analyze-types: true - - revive: - confidence: 0.8 + settings: + errorlint: + errorf: false + asserts: false + comparison: true + forbidigo: + forbid: + - pattern: ^(fmt\.Print(|f|ln)|print|println)$ + msg: in cli package use `feedback.*` instead + - pattern: (os\.(Stdout|Stderr|Stdin))(# )? + msg: in cli package use `feedback.*` instead + analyze-types: true + govet: + enable: + - appends + - asmdecl + - assign + - atomic + - atomicalign + - bools + - buildtag + - cgocall + - composites + - copylocks + - deepequalerrors + - defers + - directive + - errorsas + - findcall + - framepointer + - httpresponse + - ifaceassert + - loopclosure + - lostcancel + - nilfunc + - nilness + - printf + - reflectvaluecompare + - shift + - sigchanyzer + - slog + - sortslice + - stdmethods + - stringintconv + - structtag + - testinggoroutine + - tests + - unmarshal + - unreachable + - unsafeptr + - unusedresult + - unusedwrite + revive: + confidence: 0.8 + rules: + - name: blank-imports + - name: context-as-argument + - name: context-keys-type + - name: dot-imports + - name: empty-block + - name: error-naming + - name: error-strings + - name: errorf + - name: exported + - name: increment-decrement + - name: package-comments + - name: range + - name: receiver-naming + - name: redefines-builtin-id + - name: superfluous-else + - name: time-naming + - name: unreachable-code + - name: var-declaration + - name: defer + - name: atomic + - name: waitgroup-by-value + exclusions: + generated: lax + presets: + - comments + - common-false-positives + - legacy + - std-error-handling rules: - #- name: error-return - #- name: unused-parameter - #- name: var-naming - - name: blank-imports - - name: context-as-argument - - name: context-keys-type - - name: dot-imports - - name: empty-block - - name: error-naming - - name: error-strings - - name: errorf - - name: exported - - name: increment-decrement - #- name: indent-error-flow - - name: package-comments - - name: range - - name: receiver-naming - - name: redefines-builtin-id - - name: superfluous-else - - name: time-naming - - name: unreachable-code - - name: var-declaration - - name: defer - - name: atomic - - name: waitgroup-by-value - - errorlint: - # Check for plain error comparisons. - comparison: true - - # We might evalute to allow the asserts and errofs in the future - # Do not check for plain type assertions and type switches. - asserts: false - # Do not check whether fmt.Errorf uses the %w verb for formatting errors. - errorf: false - + - linters: + - errcheck + - gosec + path: _test\.go + - linters: + - gosec + text: G401 + - linters: + - gosec + text: G501 + - linters: + - gosec + path: internal/integrationtest/ + text: G112 + - linters: + - gosec + path: executils/process.go + text: G204 + - linters: + - staticcheck + path: commands/lib/search.go + text: SA1019 + - linters: + - revive + path: arduino/libraries/loader.go + text: empty-block + - linters: + - revive + path: arduino/serialutils/serialutils.go + text: empty-block + - linters: + - revive + path: arduino/resources/download.go + text: empty-block + - linters: + - revive + path: arduino/builder/internal/progress/progress_test.go + text: empty-block + - linters: + - revive + path: internal/algorithms/channels.go + text: empty-block + - linters: + - forbidigo + path-except: internal/cli/ + - linters: + - forbidigo + path: internal/cli/.*_test.go + - linters: + - forbidigo + path: internal/cli/feedback/ + paths: + - third_party$ + - builtin$ + - examples$ issues: - # Fix found issues (if it's supported by the linter). fix: false - # List of regexps of issue texts to exclude. - # - # But independently of this option we use default exclude patterns, - # it can be disabled by `exclude-use-default: false`. - # To list all excluded by default patterns execute `golangci-lint run --help` - # - # Default: https://golangci-lint.run/usage/false-positives/#default-exclusions - exclude-rules: - # Exclude some linters from running on tests files. - - path: _test\.go - linters: [gosec, errcheck] - # G401: Use of weak cryptographic primitive - - linters: [gosec] - text: "G401" - # G501: Blocklisted import crypto/md5: weak cryptographic primitive - - linters: [gosec] - text: "G501" - # G112: Potential Slowloris Attack because ReadHeaderTimeout is not configured in the http.Server - - linters: [gosec] - path: internal/integrationtest/ - text: "G112" - # G204: Subprocess launched with a potential tainted input or cmd arguments - - linters: [gosec] - path: executils/process.go - text: "G204" - # SA1019: req.GetQuery is deprecated: Marked as deprecated in cc/arduino/cli/commands/v1/lib.proto. - - linters: [staticcheck] - path: commands/lib/search.go - text: "SA1019" - - # Ignore revive emptyblock - - linters: [revive] - path: arduino/libraries/loader.go - text: "empty-block" - - linters: [revive] - path: arduino/serialutils/serialutils.go - text: "empty-block" - - linters: [revive] - path: arduino/resources/download.go - text: "empty-block" - - linters: [revive] - path: arduino/builder/internal/progress/progress_test.go - text: "empty-block" - - linters: [revive] - path: internal/algorithms/channels.go - text: "empty-block" - - # Run linters only on specific path - - path-except: internal/cli/ - linters: - - forbidigo - - path: internal/cli/.*_test.go - linters: [forbidigo] - - path: internal/cli/feedback/ - linters: [forbidigo] +formatters: + enable: + - gofmt + - goimports + exclusions: + generated: lax + paths: + - third_party$ + - builtin$ + - examples$ diff --git a/.licensed.yml b/.licensed.yml index 47e06d5e8f8..1b775e1b797 100644 --- a/.licensed.yml +++ b/.licensed.yml @@ -53,6 +53,7 @@ reviewed: - github.com/go-git/gcfg/types - github.com/russross/blackfriday/v2 - github.com/sagikazarmark/slog-shim + - golang.org/x/crypto/sha3 - golang.org/x/sys/execabs - golang.org/x/text/encoding - golang.org/x/text/encoding/internal diff --git a/.licenses/go/github.com/imdario/mergo.dep.yml b/.licenses/go/dario.cat/mergo.dep.yml similarity index 95% rename from .licenses/go/github.com/imdario/mergo.dep.yml rename to .licenses/go/dario.cat/mergo.dep.yml index 5d739462a9e..45534cb4edc 100644 --- a/.licenses/go/github.com/imdario/mergo.dep.yml +++ b/.licenses/go/dario.cat/mergo.dep.yml @@ -1,9 +1,9 @@ --- -name: github.com/imdario/mergo -version: v0.3.12 +name: dario.cat/mergo +version: v1.0.0 type: go summary: A helper to merge structs and maps in Golang. -homepage: https://pkg.go.dev/github.com/imdario/mergo +homepage: https://pkg.go.dev/dario.cat/mergo license: bsd-3-clause licenses: - sources: LICENSE @@ -40,6 +40,5 @@ licenses: text: |- [BSD 3-Clause](http://opensource.org/licenses/BSD-3-Clause) license, as [Go language](http://golang.org/LICENSE). - [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fimdario%2Fmergo.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fimdario%2Fmergo?ref=badge_large) notices: [] diff --git a/.licenses/go/fortio.org/safecast.dep.yml b/.licenses/go/fortio.org/safecast.dep.yml new file mode 100644 index 00000000000..35c4304dcf1 --- /dev/null +++ b/.licenses/go/fortio.org/safecast.dep.yml @@ -0,0 +1,214 @@ +--- +name: fortio.org/safecast +version: v1.0.0 +type: go +summary: Package safecast allows you to safely cast between numeric types in Go and + return errors (or panic when using the Must* variants) when the cast would result + in a loss of precision, range or sign. +homepage: https://godoc.org/fortio.org/safecast +license: apache-2.0 +licenses: +- sources: LICENSE + text: |2 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. +notices: [] diff --git a/.licenses/go/github.com/ProtonMail/go-crypto/bitcurves.dep.yml b/.licenses/go/github.com/ProtonMail/go-crypto/bitcurves.dep.yml index de1d42c131f..456257e6631 100644 --- a/.licenses/go/github.com/ProtonMail/go-crypto/bitcurves.dep.yml +++ b/.licenses/go/github.com/ProtonMail/go-crypto/bitcurves.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/ProtonMail/go-crypto/bitcurves -version: v1.1.0-beta.0-proton +version: v1.3.0 type: go -summary: +summary: homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/bitcurves license: other licenses: -- sources: go-crypto@v1.1.0-beta.0-proton/LICENSE +- sources: go-crypto@v1.3.0/LICENSE text: | Copyright (c) 2009 The Go Authors. All rights reserved. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: go-crypto@v1.1.0-beta.0-proton/PATENTS +- sources: go-crypto@v1.3.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/github.com/ProtonMail/go-crypto/brainpool.dep.yml b/.licenses/go/github.com/ProtonMail/go-crypto/brainpool.dep.yml index 577e7a93c41..43ea652b190 100644 --- a/.licenses/go/github.com/ProtonMail/go-crypto/brainpool.dep.yml +++ b/.licenses/go/github.com/ProtonMail/go-crypto/brainpool.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/ProtonMail/go-crypto/brainpool -version: v1.1.0-beta.0-proton +version: v1.3.0 type: go summary: Package brainpool implements Brainpool elliptic curves. homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/brainpool license: other licenses: -- sources: go-crypto@v1.1.0-beta.0-proton/LICENSE +- sources: go-crypto@v1.3.0/LICENSE text: | Copyright (c) 2009 The Go Authors. All rights reserved. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: go-crypto@v1.1.0-beta.0-proton/PATENTS +- sources: go-crypto@v1.3.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/github.com/ProtonMail/go-crypto/eax.dep.yml b/.licenses/go/github.com/ProtonMail/go-crypto/eax.dep.yml index 1b668e6b01c..561b80a4b55 100644 --- a/.licenses/go/github.com/ProtonMail/go-crypto/eax.dep.yml +++ b/.licenses/go/github.com/ProtonMail/go-crypto/eax.dep.yml @@ -1,6 +1,6 @@ --- name: github.com/ProtonMail/go-crypto/eax -version: v1.1.0-beta.0-proton +version: v1.3.0 type: go summary: 'Package eax provides an implementation of the EAX (encrypt-authenticate-translate) mode of operation, as described in Bellare, Rogaway, and Wagner "THE EAX MODE OF @@ -9,7 +9,7 @@ summary: 'Package eax provides an implementation of the EAX (encrypt-authenticat homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/eax license: other licenses: -- sources: go-crypto@v1.1.0-beta.0-proton/LICENSE +- sources: go-crypto@v1.3.0/LICENSE text: | Copyright (c) 2009 The Go Authors. All rights reserved. @@ -38,7 +38,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: go-crypto@v1.1.0-beta.0-proton/PATENTS +- sources: go-crypto@v1.3.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/github.com/ProtonMail/go-crypto/internal/byteutil.dep.yml b/.licenses/go/github.com/ProtonMail/go-crypto/internal/byteutil.dep.yml index 33ba19321a1..477d0208f93 100644 --- a/.licenses/go/github.com/ProtonMail/go-crypto/internal/byteutil.dep.yml +++ b/.licenses/go/github.com/ProtonMail/go-crypto/internal/byteutil.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/ProtonMail/go-crypto/internal/byteutil -version: v1.1.0-beta.0-proton +version: v1.3.0 type: go -summary: +summary: homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/internal/byteutil license: other licenses: -- sources: go-crypto@v1.1.0-beta.0-proton/LICENSE +- sources: go-crypto@v1.3.0/LICENSE text: | Copyright (c) 2009 The Go Authors. All rights reserved. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: go-crypto@v1.1.0-beta.0-proton/PATENTS +- sources: go-crypto@v1.3.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/github.com/ProtonMail/go-crypto/ocb.dep.yml b/.licenses/go/github.com/ProtonMail/go-crypto/ocb.dep.yml index 5c8a2f6e947..404d1b54a3c 100644 --- a/.licenses/go/github.com/ProtonMail/go-crypto/ocb.dep.yml +++ b/.licenses/go/github.com/ProtonMail/go-crypto/ocb.dep.yml @@ -1,6 +1,6 @@ --- name: github.com/ProtonMail/go-crypto/ocb -version: v1.1.0-beta.0-proton +version: v1.3.0 type: go summary: 'Package ocb provides an implementation of the OCB (offset codebook) mode of operation, as described in RFC-7253 of the IRTF and in Rogaway, Bellare, Black @@ -9,7 +9,7 @@ summary: 'Package ocb provides an implementation of the OCB (offset codebook) mo homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/ocb license: other licenses: -- sources: go-crypto@v1.1.0-beta.0-proton/LICENSE +- sources: go-crypto@v1.3.0/LICENSE text: | Copyright (c) 2009 The Go Authors. All rights reserved. @@ -38,7 +38,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: go-crypto@v1.1.0-beta.0-proton/PATENTS +- sources: go-crypto@v1.3.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/github.com/ProtonMail/go-crypto/openpgp.dep.yml b/.licenses/go/github.com/ProtonMail/go-crypto/openpgp.dep.yml index 98e1788ea56..ee0a17fea38 100644 --- a/.licenses/go/github.com/ProtonMail/go-crypto/openpgp.dep.yml +++ b/.licenses/go/github.com/ProtonMail/go-crypto/openpgp.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/ProtonMail/go-crypto/openpgp -version: v1.1.0-beta.0-proton +version: v1.3.0 type: go summary: Package openpgp implements high level operations on OpenPGP messages. homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/openpgp license: other licenses: -- sources: go-crypto@v1.1.0-beta.0-proton/LICENSE +- sources: go-crypto@v1.3.0/LICENSE text: | Copyright (c) 2009 The Go Authors. All rights reserved. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: go-crypto@v1.1.0-beta.0-proton/PATENTS +- sources: go-crypto@v1.3.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/aes/keywrap.dep.yml b/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/aes/keywrap.dep.yml index b4a9237b0e9..df26c679b98 100644 --- a/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/aes/keywrap.dep.yml +++ b/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/aes/keywrap.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/ProtonMail/go-crypto/openpgp/aes/keywrap -version: v1.1.0-beta.0-proton +version: v1.3.0 type: go summary: Package keywrap is an implementation of the RFC 3394 AES key wrapping algorithm. homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/openpgp/aes/keywrap license: other licenses: -- sources: go-crypto@v1.1.0-beta.0-proton/LICENSE +- sources: go-crypto@v1.3.0/LICENSE text: | Copyright (c) 2009 The Go Authors. All rights reserved. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: go-crypto@v1.1.0-beta.0-proton/PATENTS +- sources: go-crypto@v1.3.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/armor.dep.yml b/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/armor.dep.yml index a28aab0642b..6bf90db323d 100644 --- a/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/armor.dep.yml +++ b/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/armor.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/ProtonMail/go-crypto/openpgp/armor -version: v1.1.0-beta.0-proton +version: v1.3.0 type: go summary: Package armor implements OpenPGP ASCII Armor, see RFC 4880. homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/openpgp/armor license: other licenses: -- sources: go-crypto@v1.1.0-beta.0-proton/LICENSE +- sources: go-crypto@v1.3.0/LICENSE text: | Copyright (c) 2009 The Go Authors. All rights reserved. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: go-crypto@v1.1.0-beta.0-proton/PATENTS +- sources: go-crypto@v1.3.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/ecdh.dep.yml b/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/ecdh.dep.yml index 2d6160eafcb..c7c31705536 100644 --- a/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/ecdh.dep.yml +++ b/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/ecdh.dep.yml @@ -1,13 +1,13 @@ --- name: github.com/ProtonMail/go-crypto/openpgp/ecdh -version: v1.1.0-beta.0-proton +version: v1.3.0 type: go summary: Package ecdh implements ECDH encryption, suitable for OpenPGP, as specified in RFC 6637, section 8. homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/openpgp/ecdh license: other licenses: -- sources: go-crypto@v1.1.0-beta.0-proton/LICENSE +- sources: go-crypto@v1.3.0/LICENSE text: | Copyright (c) 2009 The Go Authors. All rights reserved. @@ -36,7 +36,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: go-crypto@v1.1.0-beta.0-proton/PATENTS +- sources: go-crypto@v1.3.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/ecdsa.dep.yml b/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/ecdsa.dep.yml index 6402117bb17..3e7a007b80c 100644 --- a/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/ecdsa.dep.yml +++ b/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/ecdsa.dep.yml @@ -1,13 +1,13 @@ --- name: github.com/ProtonMail/go-crypto/openpgp/ecdsa -version: v1.1.0-beta.0-proton +version: v1.3.0 type: go summary: Package ecdsa implements ECDSA signature, suitable for OpenPGP, as specified in RFC 6637, section 5. homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/openpgp/ecdsa license: other licenses: -- sources: go-crypto@v1.1.0-beta.0-proton/LICENSE +- sources: go-crypto@v1.3.0/LICENSE text: | Copyright (c) 2009 The Go Authors. All rights reserved. @@ -36,7 +36,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: go-crypto@v1.1.0-beta.0-proton/PATENTS +- sources: go-crypto@v1.3.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/ed25519.dep.yml b/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/ed25519.dep.yml index 27542ddb1b4..72e9fa27b9e 100644 --- a/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/ed25519.dep.yml +++ b/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/ed25519.dep.yml @@ -1,13 +1,13 @@ --- name: github.com/ProtonMail/go-crypto/openpgp/ed25519 -version: v1.1.0-beta.0-proton +version: v1.3.0 type: go summary: Package ed25519 implements the ed25519 signature algorithm for OpenPGP as defined in the Open PGP crypto refresh. homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/openpgp/ed25519 license: other licenses: -- sources: go-crypto@v1.1.0-beta.0-proton/LICENSE +- sources: go-crypto@v1.3.0/LICENSE text: | Copyright (c) 2009 The Go Authors. All rights reserved. @@ -36,7 +36,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: go-crypto@v1.1.0-beta.0-proton/PATENTS +- sources: go-crypto@v1.3.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/ed448.dep.yml b/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/ed448.dep.yml index 863e19f2ccc..4e2666754b4 100644 --- a/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/ed448.dep.yml +++ b/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/ed448.dep.yml @@ -1,13 +1,13 @@ --- name: github.com/ProtonMail/go-crypto/openpgp/ed448 -version: v1.1.0-beta.0-proton +version: v1.3.0 type: go summary: Package ed448 implements the ed448 signature algorithm for OpenPGP as defined in the Open PGP crypto refresh. homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/openpgp/ed448 license: other licenses: -- sources: go-crypto@v1.1.0-beta.0-proton/LICENSE +- sources: go-crypto@v1.3.0/LICENSE text: | Copyright (c) 2009 The Go Authors. All rights reserved. @@ -36,7 +36,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: go-crypto@v1.1.0-beta.0-proton/PATENTS +- sources: go-crypto@v1.3.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/eddsa.dep.yml b/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/eddsa.dep.yml index e8b22e5e50f..163d87dbdd5 100644 --- a/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/eddsa.dep.yml +++ b/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/eddsa.dep.yml @@ -1,13 +1,13 @@ --- name: github.com/ProtonMail/go-crypto/openpgp/eddsa -version: v1.1.0-beta.0-proton +version: v1.3.0 type: go summary: Package eddsa implements EdDSA signature, suitable for OpenPGP, as specified in https://datatracker.ietf.org/doc/html/draft-ietf-openpgp-crypto-refresh-06#section-13.7 homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/openpgp/eddsa license: other licenses: -- sources: go-crypto@v1.1.0-beta.0-proton/LICENSE +- sources: go-crypto@v1.3.0/LICENSE text: | Copyright (c) 2009 The Go Authors. All rights reserved. @@ -36,7 +36,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: go-crypto@v1.1.0-beta.0-proton/PATENTS +- sources: go-crypto@v1.3.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/elgamal.dep.yml b/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/elgamal.dep.yml index ef219c70723..2738b5a8adf 100644 --- a/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/elgamal.dep.yml +++ b/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/elgamal.dep.yml @@ -1,6 +1,6 @@ --- name: github.com/ProtonMail/go-crypto/openpgp/elgamal -version: v1.1.0-beta.0-proton +version: v1.3.0 type: go summary: Package elgamal implements ElGamal encryption, suitable for OpenPGP, as specified in "A Public-Key Cryptosystem and a Signature Scheme Based on Discrete Logarithms," @@ -8,7 +8,7 @@ summary: Package elgamal implements ElGamal encryption, suitable for OpenPGP, as homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/openpgp/elgamal license: other licenses: -- sources: go-crypto@v1.1.0-beta.0-proton/LICENSE +- sources: go-crypto@v1.3.0/LICENSE text: | Copyright (c) 2009 The Go Authors. All rights reserved. @@ -37,7 +37,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: go-crypto@v1.1.0-beta.0-proton/PATENTS +- sources: go-crypto@v1.3.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/errors.dep.yml b/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/errors.dep.yml index ac4524d80ab..7e5f244313d 100644 --- a/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/errors.dep.yml +++ b/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/errors.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/ProtonMail/go-crypto/openpgp/errors -version: v1.1.0-beta.0-proton +version: v1.3.0 type: go summary: Package errors contains common error types for the OpenPGP packages. homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/openpgp/errors license: other licenses: -- sources: go-crypto@v1.1.0-beta.0-proton/LICENSE +- sources: go-crypto@v1.3.0/LICENSE text: | Copyright (c) 2009 The Go Authors. All rights reserved. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: go-crypto@v1.1.0-beta.0-proton/PATENTS +- sources: go-crypto@v1.3.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/internal/algorithm.dep.yml b/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/internal/algorithm.dep.yml index 98cb04279ec..b368bb81c1c 100644 --- a/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/internal/algorithm.dep.yml +++ b/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/internal/algorithm.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/ProtonMail/go-crypto/openpgp/internal/algorithm -version: v1.1.0-beta.0-proton +version: v1.3.0 type: go -summary: +summary: homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/openpgp/internal/algorithm license: other licenses: -- sources: go-crypto@v1.1.0-beta.0-proton/LICENSE +- sources: go-crypto@v1.3.0/LICENSE text: | Copyright (c) 2009 The Go Authors. All rights reserved. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: go-crypto@v1.1.0-beta.0-proton/PATENTS +- sources: go-crypto@v1.3.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/internal/ecc.dep.yml b/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/internal/ecc.dep.yml index d19a8bc6153..7b856775e02 100644 --- a/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/internal/ecc.dep.yml +++ b/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/internal/ecc.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/ProtonMail/go-crypto/openpgp/internal/ecc -version: v1.1.0-beta.0-proton +version: v1.3.0 type: go summary: Package ecc implements a generic interface for ECDH, ECDSA, and EdDSA. homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/openpgp/internal/ecc license: other licenses: -- sources: go-crypto@v1.1.0-beta.0-proton/LICENSE +- sources: go-crypto@v1.3.0/LICENSE text: | Copyright (c) 2009 The Go Authors. All rights reserved. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: go-crypto@v1.1.0-beta.0-proton/PATENTS +- sources: go-crypto@v1.3.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/internal/encoding.dep.yml b/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/internal/encoding.dep.yml index c95e61906f7..463558c8e4c 100644 --- a/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/internal/encoding.dep.yml +++ b/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/internal/encoding.dep.yml @@ -1,13 +1,13 @@ --- name: github.com/ProtonMail/go-crypto/openpgp/internal/encoding -version: v1.1.0-beta.0-proton +version: v1.3.0 type: go summary: Package encoding implements openpgp packet field encodings as specified in RFC 4880 and 6637. homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/openpgp/internal/encoding license: other licenses: -- sources: go-crypto@v1.1.0-beta.0-proton/LICENSE +- sources: go-crypto@v1.3.0/LICENSE text: | Copyright (c) 2009 The Go Authors. All rights reserved. @@ -36,7 +36,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: go-crypto@v1.1.0-beta.0-proton/PATENTS +- sources: go-crypto@v1.3.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/packet.dep.yml b/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/packet.dep.yml index 2bd60c7ef4e..e93d815c820 100644 --- a/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/packet.dep.yml +++ b/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/packet.dep.yml @@ -1,13 +1,13 @@ --- name: github.com/ProtonMail/go-crypto/openpgp/packet -version: v1.1.0-beta.0-proton +version: v1.3.0 type: go summary: Package packet implements parsing and serialization of OpenPGP packets, as specified in RFC 4880. homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/openpgp/packet license: other licenses: -- sources: go-crypto@v1.1.0-beta.0-proton/LICENSE +- sources: go-crypto@v1.3.0/LICENSE text: | Copyright (c) 2009 The Go Authors. All rights reserved. @@ -36,7 +36,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: go-crypto@v1.1.0-beta.0-proton/PATENTS +- sources: go-crypto@v1.3.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/s2k.dep.yml b/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/s2k.dep.yml index 23315a687d3..1f240fa7043 100644 --- a/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/s2k.dep.yml +++ b/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/s2k.dep.yml @@ -1,6 +1,6 @@ --- name: github.com/ProtonMail/go-crypto/openpgp/s2k -version: v1.1.0-beta.0-proton +version: v1.3.0 type: go summary: Package s2k implements the various OpenPGP string-to-key transforms as specified in RFC 4800 section 3.7.1, and Argon2 specified in draft-ietf-openpgp-crypto-refresh-08 @@ -8,7 +8,7 @@ summary: Package s2k implements the various OpenPGP string-to-key transforms as homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/openpgp/s2k license: other licenses: -- sources: go-crypto@v1.1.0-beta.0-proton/LICENSE +- sources: go-crypto@v1.3.0/LICENSE text: | Copyright (c) 2009 The Go Authors. All rights reserved. @@ -37,7 +37,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: go-crypto@v1.1.0-beta.0-proton/PATENTS +- sources: go-crypto@v1.3.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/x25519.dep.yml b/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/x25519.dep.yml index 7253e755797..918b402b8c9 100644 --- a/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/x25519.dep.yml +++ b/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/x25519.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/ProtonMail/go-crypto/openpgp/x25519 -version: v1.1.0-beta.0-proton +version: v1.3.0 type: go -summary: +summary: homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/openpgp/x25519 license: other licenses: -- sources: go-crypto@v1.1.0-beta.0-proton/LICENSE +- sources: go-crypto@v1.3.0/LICENSE text: | Copyright (c) 2009 The Go Authors. All rights reserved. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: go-crypto@v1.1.0-beta.0-proton/PATENTS +- sources: go-crypto@v1.3.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/x448.dep.yml b/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/x448.dep.yml index 42b9892daec..7cd4b16271b 100644 --- a/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/x448.dep.yml +++ b/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/x448.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/ProtonMail/go-crypto/openpgp/x448 -version: v1.1.0-beta.0-proton +version: v1.3.0 type: go -summary: +summary: homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/openpgp/x448 license: other licenses: -- sources: go-crypto@v1.1.0-beta.0-proton/LICENSE +- sources: go-crypto@v1.3.0/LICENSE text: | Copyright (c) 2009 The Go Authors. All rights reserved. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: go-crypto@v1.1.0-beta.0-proton/PATENTS +- sources: go-crypto@v1.3.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/github.com/arduino/go-paths-helper.dep.yml b/.licenses/go/github.com/arduino/go-paths-helper.dep.yml index 01899363c84..c3a80f1c84e 100644 --- a/.licenses/go/github.com/arduino/go-paths-helper.dep.yml +++ b/.licenses/go/github.com/arduino/go-paths-helper.dep.yml @@ -1,6 +1,6 @@ --- name: github.com/arduino/go-paths-helper -version: v1.12.1 +version: v1.13.1 type: go summary: homepage: https://pkg.go.dev/github.com/arduino/go-paths-helper diff --git a/.licenses/go/github.com/cloudflare/circl/dh/x25519.dep.yml b/.licenses/go/github.com/cloudflare/circl/dh/x25519.dep.yml index 9a3efa5ab03..fd3120d3677 100644 --- a/.licenses/go/github.com/cloudflare/circl/dh/x25519.dep.yml +++ b/.licenses/go/github.com/cloudflare/circl/dh/x25519.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/cloudflare/circl/dh/x25519 -version: v1.3.7 +version: v1.6.1 type: go summary: Package x25519 provides Diffie-Hellman functions as specified in RFC-7748. homepage: https://pkg.go.dev/github.com/cloudflare/circl/dh/x25519 license: other licenses: -- sources: circl@v1.3.7/LICENSE +- sources: circl@v1.6.1/LICENSE text: | Copyright (c) 2019 Cloudflare. All rights reserved. @@ -65,6 +65,6 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: circl@v1.3.7/README.md +- sources: circl@v1.6.1/README.md text: The project is licensed under the [BSD-3-Clause License](./LICENSE). notices: [] diff --git a/.licenses/go/github.com/cloudflare/circl/dh/x448.dep.yml b/.licenses/go/github.com/cloudflare/circl/dh/x448.dep.yml index 89ebbe18990..f86fe6dd093 100644 --- a/.licenses/go/github.com/cloudflare/circl/dh/x448.dep.yml +++ b/.licenses/go/github.com/cloudflare/circl/dh/x448.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/cloudflare/circl/dh/x448 -version: v1.3.7 +version: v1.6.1 type: go summary: Package x448 provides Diffie-Hellman functions as specified in RFC-7748. homepage: https://pkg.go.dev/github.com/cloudflare/circl/dh/x448 license: other licenses: -- sources: circl@v1.3.7/LICENSE +- sources: circl@v1.6.1/LICENSE text: | Copyright (c) 2019 Cloudflare. All rights reserved. @@ -65,6 +65,6 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: circl@v1.3.7/README.md +- sources: circl@v1.6.1/README.md text: The project is licensed under the [BSD-3-Clause License](./LICENSE). notices: [] diff --git a/.licenses/go/github.com/cloudflare/circl/ecc/goldilocks.dep.yml b/.licenses/go/github.com/cloudflare/circl/ecc/goldilocks.dep.yml index e9daa048734..b2fdae77357 100644 --- a/.licenses/go/github.com/cloudflare/circl/ecc/goldilocks.dep.yml +++ b/.licenses/go/github.com/cloudflare/circl/ecc/goldilocks.dep.yml @@ -1,13 +1,13 @@ --- name: github.com/cloudflare/circl/ecc/goldilocks -version: v1.3.7 +version: v1.6.1 type: go summary: Package goldilocks provides elliptic curve operations over the goldilocks curve. homepage: https://pkg.go.dev/github.com/cloudflare/circl/ecc/goldilocks license: other licenses: -- sources: circl@v1.3.7/LICENSE +- sources: circl@v1.6.1/LICENSE text: | Copyright (c) 2019 Cloudflare. All rights reserved. @@ -66,6 +66,6 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: circl@v1.3.7/README.md +- sources: circl@v1.6.1/README.md text: The project is licensed under the [BSD-3-Clause License](./LICENSE). notices: [] diff --git a/.licenses/go/github.com/cloudflare/circl/internal/conv.dep.yml b/.licenses/go/github.com/cloudflare/circl/internal/conv.dep.yml index 1cedf0ceec2..b86614ebdf0 100644 --- a/.licenses/go/github.com/cloudflare/circl/internal/conv.dep.yml +++ b/.licenses/go/github.com/cloudflare/circl/internal/conv.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/cloudflare/circl/internal/conv -version: v1.3.7 +version: v1.6.1 type: go -summary: +summary: homepage: https://pkg.go.dev/github.com/cloudflare/circl/internal/conv license: other licenses: -- sources: circl@v1.3.7/LICENSE +- sources: circl@v1.6.1/LICENSE text: | Copyright (c) 2019 Cloudflare. All rights reserved. @@ -65,6 +65,6 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: circl@v1.3.7/README.md +- sources: circl@v1.6.1/README.md text: The project is licensed under the [BSD-3-Clause License](./LICENSE). notices: [] diff --git a/.licenses/go/github.com/cloudflare/circl/internal/sha3.dep.yml b/.licenses/go/github.com/cloudflare/circl/internal/sha3.dep.yml index 49fa79d68f6..c065af5cfd2 100644 --- a/.licenses/go/github.com/cloudflare/circl/internal/sha3.dep.yml +++ b/.licenses/go/github.com/cloudflare/circl/internal/sha3.dep.yml @@ -1,13 +1,13 @@ --- name: github.com/cloudflare/circl/internal/sha3 -version: v1.3.7 +version: v1.6.1 type: go summary: Package sha3 implements the SHA-3 fixed-output-length hash functions and the SHAKE variable-output-length hash functions defined by FIPS-202. homepage: https://pkg.go.dev/github.com/cloudflare/circl/internal/sha3 license: other licenses: -- sources: circl@v1.3.7/LICENSE +- sources: circl@v1.6.1/LICENSE text: | Copyright (c) 2019 Cloudflare. All rights reserved. @@ -66,6 +66,6 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: circl@v1.3.7/README.md +- sources: circl@v1.6.1/README.md text: The project is licensed under the [BSD-3-Clause License](./LICENSE). notices: [] diff --git a/.licenses/go/github.com/cloudflare/circl/math.dep.yml b/.licenses/go/github.com/cloudflare/circl/math.dep.yml index efdc59bc46c..867a95442bd 100644 --- a/.licenses/go/github.com/cloudflare/circl/math.dep.yml +++ b/.licenses/go/github.com/cloudflare/circl/math.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/cloudflare/circl/math -version: v1.3.7 +version: v1.6.1 type: go summary: Package math provides some utility functions for big integers. homepage: https://pkg.go.dev/github.com/cloudflare/circl/math license: other licenses: -- sources: circl@v1.3.7/LICENSE +- sources: circl@v1.6.1/LICENSE text: | Copyright (c) 2019 Cloudflare. All rights reserved. @@ -65,6 +65,6 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: circl@v1.3.7/README.md +- sources: circl@v1.6.1/README.md text: The project is licensed under the [BSD-3-Clause License](./LICENSE). notices: [] diff --git a/.licenses/go/github.com/cloudflare/circl/math/fp25519.dep.yml b/.licenses/go/github.com/cloudflare/circl/math/fp25519.dep.yml index 20c3b2393c3..fd7c532d5ee 100644 --- a/.licenses/go/github.com/cloudflare/circl/math/fp25519.dep.yml +++ b/.licenses/go/github.com/cloudflare/circl/math/fp25519.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/cloudflare/circl/math/fp25519 -version: v1.3.7 +version: v1.6.1 type: go summary: Package fp25519 provides prime field arithmetic over GF(2^255-19). homepage: https://pkg.go.dev/github.com/cloudflare/circl/math/fp25519 license: other licenses: -- sources: circl@v1.3.7/LICENSE +- sources: circl@v1.6.1/LICENSE text: | Copyright (c) 2019 Cloudflare. All rights reserved. @@ -65,6 +65,6 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: circl@v1.3.7/README.md +- sources: circl@v1.6.1/README.md text: The project is licensed under the [BSD-3-Clause License](./LICENSE). notices: [] diff --git a/.licenses/go/github.com/cloudflare/circl/math/fp448.dep.yml b/.licenses/go/github.com/cloudflare/circl/math/fp448.dep.yml index b65891c9114..a0449597c0f 100644 --- a/.licenses/go/github.com/cloudflare/circl/math/fp448.dep.yml +++ b/.licenses/go/github.com/cloudflare/circl/math/fp448.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/cloudflare/circl/math/fp448 -version: v1.3.7 +version: v1.6.1 type: go summary: Package fp448 provides prime field arithmetic over GF(2^448-2^224-1). homepage: https://pkg.go.dev/github.com/cloudflare/circl/math/fp448 license: other licenses: -- sources: circl@v1.3.7/LICENSE +- sources: circl@v1.6.1/LICENSE text: | Copyright (c) 2019 Cloudflare. All rights reserved. @@ -65,6 +65,6 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: circl@v1.3.7/README.md +- sources: circl@v1.6.1/README.md text: The project is licensed under the [BSD-3-Clause License](./LICENSE). notices: [] diff --git a/.licenses/go/github.com/cloudflare/circl/math/mlsbset.dep.yml b/.licenses/go/github.com/cloudflare/circl/math/mlsbset.dep.yml index c837e724cf8..5ab6f36f848 100644 --- a/.licenses/go/github.com/cloudflare/circl/math/mlsbset.dep.yml +++ b/.licenses/go/github.com/cloudflare/circl/math/mlsbset.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/cloudflare/circl/math/mlsbset -version: v1.3.7 +version: v1.6.1 type: go summary: Package mlsbset provides a constant-time exponentiation method with precomputation. homepage: https://pkg.go.dev/github.com/cloudflare/circl/math/mlsbset license: other licenses: -- sources: circl@v1.3.7/LICENSE +- sources: circl@v1.6.1/LICENSE text: | Copyright (c) 2019 Cloudflare. All rights reserved. @@ -65,6 +65,6 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: circl@v1.3.7/README.md +- sources: circl@v1.6.1/README.md text: The project is licensed under the [BSD-3-Clause License](./LICENSE). notices: [] diff --git a/.licenses/go/github.com/cloudflare/circl/sign.dep.yml b/.licenses/go/github.com/cloudflare/circl/sign.dep.yml index 5d3285605df..bbed7b93929 100644 --- a/.licenses/go/github.com/cloudflare/circl/sign.dep.yml +++ b/.licenses/go/github.com/cloudflare/circl/sign.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/cloudflare/circl/sign -version: v1.3.7 +version: v1.6.1 type: go summary: Package sign provides unified interfaces for signature schemes. homepage: https://pkg.go.dev/github.com/cloudflare/circl/sign license: other licenses: -- sources: circl@v1.3.7/LICENSE +- sources: circl@v1.6.1/LICENSE text: | Copyright (c) 2019 Cloudflare. All rights reserved. @@ -65,6 +65,6 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: circl@v1.3.7/README.md +- sources: circl@v1.6.1/README.md text: The project is licensed under the [BSD-3-Clause License](./LICENSE). notices: [] diff --git a/.licenses/go/github.com/cloudflare/circl/sign/ed25519.dep.yml b/.licenses/go/github.com/cloudflare/circl/sign/ed25519.dep.yml index 8586196a41a..ce8545230c1 100644 --- a/.licenses/go/github.com/cloudflare/circl/sign/ed25519.dep.yml +++ b/.licenses/go/github.com/cloudflare/circl/sign/ed25519.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/cloudflare/circl/sign/ed25519 -version: v1.3.7 +version: v1.6.1 type: go summary: Package ed25519 implements Ed25519 signature scheme as described in RFC-8032. homepage: https://pkg.go.dev/github.com/cloudflare/circl/sign/ed25519 license: other licenses: -- sources: circl@v1.3.7/LICENSE +- sources: circl@v1.6.1/LICENSE text: | Copyright (c) 2019 Cloudflare. All rights reserved. @@ -65,6 +65,6 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: circl@v1.3.7/README.md +- sources: circl@v1.6.1/README.md text: The project is licensed under the [BSD-3-Clause License](./LICENSE). notices: [] diff --git a/.licenses/go/github.com/cloudflare/circl/sign/ed448.dep.yml b/.licenses/go/github.com/cloudflare/circl/sign/ed448.dep.yml index 96cace11ded..a18f71b59cf 100644 --- a/.licenses/go/github.com/cloudflare/circl/sign/ed448.dep.yml +++ b/.licenses/go/github.com/cloudflare/circl/sign/ed448.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/cloudflare/circl/sign/ed448 -version: v1.3.7 +version: v1.6.1 type: go summary: Package ed448 implements Ed448 signature scheme as described in RFC-8032. homepage: https://pkg.go.dev/github.com/cloudflare/circl/sign/ed448 license: other licenses: -- sources: circl@v1.3.7/LICENSE +- sources: circl@v1.6.1/LICENSE text: | Copyright (c) 2019 Cloudflare. All rights reserved. @@ -65,6 +65,6 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: circl@v1.3.7/README.md +- sources: circl@v1.6.1/README.md text: The project is licensed under the [BSD-3-Clause License](./LICENSE). notices: [] diff --git a/.licenses/go/github.com/cpuguy83/go-md2man/v2/md2man.dep.yml b/.licenses/go/github.com/cpuguy83/go-md2man/v2/md2man.dep.yml index b54f9f66208..64115882aeb 100644 --- a/.licenses/go/github.com/cpuguy83/go-md2man/v2/md2man.dep.yml +++ b/.licenses/go/github.com/cpuguy83/go-md2man/v2/md2man.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/cpuguy83/go-md2man/v2/md2man -version: v2.0.4 +version: v2.0.6 type: go summary: homepage: https://pkg.go.dev/github.com/cpuguy83/go-md2man/v2/md2man license: mit licenses: -- sources: v2@v2.0.4/LICENSE.md +- sources: v2@v2.0.6/LICENSE.md text: | The MIT License (MIT) diff --git a/.licenses/go/github.com/cyphar/filepath-securejoin.dep.yml b/.licenses/go/github.com/cyphar/filepath-securejoin.dep.yml index 8f76b76fd35..868b96d40a5 100644 --- a/.licenses/go/github.com/cyphar/filepath-securejoin.dep.yml +++ b/.licenses/go/github.com/cyphar/filepath-securejoin.dep.yml @@ -1,16 +1,16 @@ --- name: github.com/cyphar/filepath-securejoin -version: v0.2.4 +version: v0.4.1 type: go -summary: Package securejoin is an implementation of the hopefully-soon-to-be-included - SecureJoin helper that is meant to be part of the "path/filepath" package. +summary: Package securejoin implements a set of helpers to make it easier to write + Go code that is safe against symlink-related escape attacks. homepage: https://pkg.go.dev/github.com/cyphar/filepath-securejoin license: bsd-3-clause licenses: - sources: LICENSE text: | Copyright (C) 2014-2015 Docker Inc & Go Authors. All rights reserved. - Copyright (C) 2017 SUSE LLC. All rights reserved. + Copyright (C) 2017-2024 SUSE LLC. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are diff --git a/.licenses/go/github.com/fsnotify/fsnotify.dep.yml b/.licenses/go/github.com/fsnotify/fsnotify.dep.yml index 5b3324b3ee4..a26cfe1088d 100644 --- a/.licenses/go/github.com/fsnotify/fsnotify.dep.yml +++ b/.licenses/go/github.com/fsnotify/fsnotify.dep.yml @@ -1,6 +1,6 @@ --- name: github.com/fsnotify/fsnotify -version: v1.7.0 +version: v1.8.0 type: go summary: Package fsnotify provides a cross-platform interface for file system notifications. homepage: https://pkg.go.dev/github.com/fsnotify/fsnotify diff --git a/.licenses/go/github.com/fsnotify/fsnotify/internal.dep.yml b/.licenses/go/github.com/fsnotify/fsnotify/internal.dep.yml new file mode 100644 index 00000000000..d9a708111a0 --- /dev/null +++ b/.licenses/go/github.com/fsnotify/fsnotify/internal.dep.yml @@ -0,0 +1,36 @@ +--- +name: github.com/fsnotify/fsnotify/internal +version: v1.8.0 +type: go +summary: Package internal contains some helpers. +homepage: https://pkg.go.dev/github.com/fsnotify/fsnotify/internal +license: bsd-3-clause +licenses: +- sources: fsnotify@v1.8.0/LICENSE + text: | + Copyright © 2012 The Go Authors. All rights reserved. + Copyright © fsnotify Authors. All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, this + list of conditions and the following disclaimer in the documentation and/or + other materials provided with the distribution. + * Neither the name of Google Inc. nor the names of its contributors may be used + to endorse or promote products derived from this software without specific + prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR + ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +notices: [] diff --git a/.licenses/go/github.com/go-git/go-billy/v5.dep.yml b/.licenses/go/github.com/go-git/go-billy/v5.dep.yml index 837015de539..e9a2fb4e896 100644 --- a/.licenses/go/github.com/go-git/go-billy/v5.dep.yml +++ b/.licenses/go/github.com/go-git/go-billy/v5.dep.yml @@ -1,6 +1,6 @@ --- name: github.com/go-git/go-billy/v5 -version: v5.5.0 +version: v5.6.2 type: go summary: homepage: https://pkg.go.dev/github.com/go-git/go-billy/v5 diff --git a/.licenses/go/github.com/go-git/go-billy/v5/helper/chroot.dep.yml b/.licenses/go/github.com/go-git/go-billy/v5/helper/chroot.dep.yml index a4d1640e4e7..59bf81f4477 100644 --- a/.licenses/go/github.com/go-git/go-billy/v5/helper/chroot.dep.yml +++ b/.licenses/go/github.com/go-git/go-billy/v5/helper/chroot.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/go-git/go-billy/v5/helper/chroot -version: v5.5.0 +version: v5.6.2 type: go summary: homepage: https://pkg.go.dev/github.com/go-git/go-billy/v5/helper/chroot license: apache-2.0 licenses: -- sources: v5@v5.5.0/LICENSE +- sources: v5@v5.6.2/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -209,6 +209,6 @@ licenses: 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. -- sources: v5@v5.5.0/README.md +- sources: v5@v5.6.2/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-billy/v5/helper/polyfill.dep.yml b/.licenses/go/github.com/go-git/go-billy/v5/helper/polyfill.dep.yml index 674f8705ace..9734d1379b0 100644 --- a/.licenses/go/github.com/go-git/go-billy/v5/helper/polyfill.dep.yml +++ b/.licenses/go/github.com/go-git/go-billy/v5/helper/polyfill.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/go-git/go-billy/v5/helper/polyfill -version: v5.5.0 +version: v5.6.2 type: go summary: homepage: https://pkg.go.dev/github.com/go-git/go-billy/v5/helper/polyfill license: apache-2.0 licenses: -- sources: v5@v5.5.0/LICENSE +- sources: v5@v5.6.2/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -209,6 +209,6 @@ licenses: 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. -- sources: v5@v5.5.0/README.md +- sources: v5@v5.6.2/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-billy/v5/osfs.dep.yml b/.licenses/go/github.com/go-git/go-billy/v5/osfs.dep.yml index 041506546b9..931014d3906 100644 --- a/.licenses/go/github.com/go-git/go-billy/v5/osfs.dep.yml +++ b/.licenses/go/github.com/go-git/go-billy/v5/osfs.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/go-git/go-billy/v5/osfs -version: v5.5.0 +version: v5.6.2 type: go summary: Package osfs provides a billy filesystem for the OS. homepage: https://pkg.go.dev/github.com/go-git/go-billy/v5/osfs license: apache-2.0 licenses: -- sources: v5@v5.5.0/LICENSE +- sources: v5@v5.6.2/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -209,6 +209,6 @@ licenses: 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. -- sources: v5@v5.5.0/README.md +- sources: v5@v5.6.2/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-billy/v5/util.dep.yml b/.licenses/go/github.com/go-git/go-billy/v5/util.dep.yml index 1d54d0647fc..743ba6eb11c 100644 --- a/.licenses/go/github.com/go-git/go-billy/v5/util.dep.yml +++ b/.licenses/go/github.com/go-git/go-billy/v5/util.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/go-git/go-billy/v5/util -version: v5.5.0 +version: v5.6.2 type: go summary: homepage: https://pkg.go.dev/github.com/go-git/go-billy/v5/util license: apache-2.0 licenses: -- sources: v5@v5.5.0/LICENSE +- sources: v5@v5.6.2/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -209,6 +209,6 @@ licenses: 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. -- sources: v5@v5.5.0/README.md +- sources: v5@v5.6.2/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5.dep.yml b/.licenses/go/github.com/go-git/go-git/v5.dep.yml index e578fe0864b..c52acf256e0 100644 --- a/.licenses/go/github.com/go-git/go-git/v5.dep.yml +++ b/.licenses/go/github.com/go-git/go-git/v5.dep.yml @@ -1,6 +1,6 @@ --- name: github.com/go-git/go-git/v5 -version: v5.4.2 +version: v5.16.0 type: go summary: A highly extensible git implementation in pure Go. homepage: https://pkg.go.dev/github.com/go-git/go-git/v5 diff --git a/.licenses/go/github.com/go-git/go-git/v5/config.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/config.dep.yml index bd3dea9b8d8..3dfe6bf1a69 100644 --- a/.licenses/go/github.com/go-git/go-git/v5/config.dep.yml +++ b/.licenses/go/github.com/go-git/go-git/v5/config.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/go-git/go-git/v5/config -version: v5.4.2 +version: v5.16.0 type: go summary: Package config contains the abstraction of multiple config files homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/config license: apache-2.0 licenses: -- sources: v5@v5.4.2/LICENSE +- sources: v5@v5.16.0/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -209,6 +209,6 @@ licenses: 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. -- sources: v5@v5.4.2/README.md +- sources: v5@v5.16.0/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/internal/path_util.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/internal/path_util.dep.yml new file mode 100644 index 00000000000..97ef2cec190 --- /dev/null +++ b/.licenses/go/github.com/go-git/go-git/v5/internal/path_util.dep.yml @@ -0,0 +1,214 @@ +--- +name: github.com/go-git/go-git/v5/internal/path_util +version: v5.16.0 +type: go +summary: +homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/internal/path_util +license: apache-2.0 +licenses: +- sources: v5@v5.16.0/LICENSE + text: |2 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018 Sourced Technologies, S.L. + + 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. +- sources: v5@v5.16.0/README.md + text: Apache License Version 2.0, see [LICENSE](LICENSE) +notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/internal/revision.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/internal/revision.dep.yml index d9fba01d89c..2318bc714bd 100644 --- a/.licenses/go/github.com/go-git/go-git/v5/internal/revision.dep.yml +++ b/.licenses/go/github.com/go-git/go-git/v5/internal/revision.dep.yml @@ -1,13 +1,13 @@ --- name: github.com/go-git/go-git/v5/internal/revision -version: v5.4.2 +version: v5.16.0 type: go summary: 'Package revision extracts git revision from string More information about revision : https://www.kernel.org/pub/software/scm/git/docs/gitrevisions.html' homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/internal/revision license: apache-2.0 licenses: -- sources: v5@v5.4.2/LICENSE +- sources: v5@v5.16.0/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -210,6 +210,6 @@ licenses: 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. -- sources: v5@v5.4.2/README.md +- sources: v5@v5.16.0/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/internal/url.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/internal/url.dep.yml index b590f0c011d..b12e6554740 100644 --- a/.licenses/go/github.com/go-git/go-git/v5/internal/url.dep.yml +++ b/.licenses/go/github.com/go-git/go-git/v5/internal/url.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/go-git/go-git/v5/internal/url -version: v5.4.2 +version: v5.16.0 type: go -summary: +summary: homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/internal/url license: apache-2.0 licenses: -- sources: v5@v5.4.2/LICENSE +- sources: v5@v5.16.0/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -209,6 +209,6 @@ licenses: 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. -- sources: v5@v5.4.2/README.md +- sources: v5@v5.16.0/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/plumbing.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/plumbing.dep.yml index 8832bedbeef..9b8a49f107e 100644 --- a/.licenses/go/github.com/go-git/go-git/v5/plumbing.dep.yml +++ b/.licenses/go/github.com/go-git/go-git/v5/plumbing.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/go-git/go-git/v5/plumbing -version: v5.4.2 +version: v5.16.0 type: go summary: package plumbing implement the core interfaces and structs used by go-git homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing license: apache-2.0 licenses: -- sources: v5@v5.4.2/LICENSE +- sources: v5@v5.16.0/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -209,6 +209,6 @@ licenses: 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. -- sources: v5@v5.4.2/README.md +- sources: v5@v5.16.0/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/plumbing/cache.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/plumbing/cache.dep.yml index 6c6402d47a3..79aa3b6bb91 100644 --- a/.licenses/go/github.com/go-git/go-git/v5/plumbing/cache.dep.yml +++ b/.licenses/go/github.com/go-git/go-git/v5/plumbing/cache.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/go-git/go-git/v5/plumbing/cache -version: v5.4.2 +version: v5.16.0 type: go -summary: +summary: homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/cache license: apache-2.0 licenses: -- sources: v5@v5.4.2/LICENSE +- sources: v5@v5.16.0/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -209,6 +209,6 @@ licenses: 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. -- sources: v5@v5.4.2/README.md +- sources: v5@v5.16.0/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/plumbing/color.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/plumbing/color.dep.yml index c3bd3a53026..3a84f54412d 100644 --- a/.licenses/go/github.com/go-git/go-git/v5/plumbing/color.dep.yml +++ b/.licenses/go/github.com/go-git/go-git/v5/plumbing/color.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/go-git/go-git/v5/plumbing/color -version: v5.4.2 +version: v5.16.0 type: go -summary: +summary: homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/color license: apache-2.0 licenses: -- sources: v5@v5.4.2/LICENSE +- sources: v5@v5.16.0/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -209,6 +209,6 @@ licenses: 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. -- sources: v5@v5.4.2/README.md +- sources: v5@v5.16.0/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/plumbing/filemode.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/plumbing/filemode.dep.yml index 64866671642..9f6ef9b16ce 100644 --- a/.licenses/go/github.com/go-git/go-git/v5/plumbing/filemode.dep.yml +++ b/.licenses/go/github.com/go-git/go-git/v5/plumbing/filemode.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/go-git/go-git/v5/plumbing/filemode -version: v5.4.2 +version: v5.16.0 type: go -summary: +summary: homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/filemode license: apache-2.0 licenses: -- sources: v5@v5.4.2/LICENSE +- sources: v5@v5.16.0/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -209,6 +209,6 @@ licenses: 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. -- sources: v5@v5.4.2/README.md +- sources: v5@v5.16.0/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/plumbing/format/config.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/plumbing/format/config.dep.yml index ef3cc2ff2f2..3c6a36d20c4 100644 --- a/.licenses/go/github.com/go-git/go-git/v5/plumbing/format/config.dep.yml +++ b/.licenses/go/github.com/go-git/go-git/v5/plumbing/format/config.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/go-git/go-git/v5/plumbing/format/config -version: v5.4.2 +version: v5.16.0 type: go summary: Package config implements encoding and decoding of git config files. homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/format/config license: apache-2.0 licenses: -- sources: v5@v5.4.2/LICENSE +- sources: v5@v5.16.0/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -209,6 +209,6 @@ licenses: 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. -- sources: v5@v5.4.2/README.md +- sources: v5@v5.16.0/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/plumbing/format/diff.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/plumbing/format/diff.dep.yml index 4e3018fedfa..13a4fda9d62 100644 --- a/.licenses/go/github.com/go-git/go-git/v5/plumbing/format/diff.dep.yml +++ b/.licenses/go/github.com/go-git/go-git/v5/plumbing/format/diff.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/go-git/go-git/v5/plumbing/format/diff -version: v5.4.2 +version: v5.16.0 type: go -summary: +summary: homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/format/diff license: apache-2.0 licenses: -- sources: v5@v5.4.2/LICENSE +- sources: v5@v5.16.0/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -209,6 +209,6 @@ licenses: 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. -- sources: v5@v5.4.2/README.md +- sources: v5@v5.16.0/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/plumbing/format/gitignore.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/plumbing/format/gitignore.dep.yml index 9790e2368c1..fd2cba88c78 100644 --- a/.licenses/go/github.com/go-git/go-git/v5/plumbing/format/gitignore.dep.yml +++ b/.licenses/go/github.com/go-git/go-git/v5/plumbing/format/gitignore.dep.yml @@ -1,6 +1,6 @@ --- name: github.com/go-git/go-git/v5/plumbing/format/gitignore -version: v5.4.2 +version: v5.16.0 type: go summary: Package gitignore implements matching file system paths to gitignore patterns that can be automatically read from a git repository tree in the order of definition @@ -8,7 +8,7 @@ summary: Package gitignore implements matching file system paths to gitignore pa homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/format/gitignore license: apache-2.0 licenses: -- sources: v5@v5.4.2/LICENSE +- sources: v5@v5.16.0/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -211,6 +211,6 @@ licenses: 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. -- sources: v5@v5.4.2/README.md +- sources: v5@v5.16.0/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/plumbing/format/idxfile.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/plumbing/format/idxfile.dep.yml index f46c7348e5e..0e373f69535 100644 --- a/.licenses/go/github.com/go-git/go-git/v5/plumbing/format/idxfile.dep.yml +++ b/.licenses/go/github.com/go-git/go-git/v5/plumbing/format/idxfile.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/go-git/go-git/v5/plumbing/format/idxfile -version: v5.4.2 +version: v5.16.0 type: go summary: Package idxfile implements encoding and decoding of packfile idx files. homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/format/idxfile license: apache-2.0 licenses: -- sources: v5@v5.4.2/LICENSE +- sources: v5@v5.16.0/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -209,6 +209,6 @@ licenses: 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. -- sources: v5@v5.4.2/README.md +- sources: v5@v5.16.0/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/plumbing/format/index.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/plumbing/format/index.dep.yml index a27872fa31a..48408f33602 100644 --- a/.licenses/go/github.com/go-git/go-git/v5/plumbing/format/index.dep.yml +++ b/.licenses/go/github.com/go-git/go-git/v5/plumbing/format/index.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/go-git/go-git/v5/plumbing/format/index -version: v5.4.2 +version: v5.16.0 type: go summary: Package index implements encoding and decoding of index format files. homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/format/index license: apache-2.0 licenses: -- sources: v5@v5.4.2/LICENSE +- sources: v5@v5.16.0/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -209,6 +209,6 @@ licenses: 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. -- sources: v5@v5.4.2/README.md +- sources: v5@v5.16.0/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/plumbing/format/objfile.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/plumbing/format/objfile.dep.yml index d24eecbff58..b3a2579f38a 100644 --- a/.licenses/go/github.com/go-git/go-git/v5/plumbing/format/objfile.dep.yml +++ b/.licenses/go/github.com/go-git/go-git/v5/plumbing/format/objfile.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/go-git/go-git/v5/plumbing/format/objfile -version: v5.4.2 +version: v5.16.0 type: go summary: Package objfile implements encoding and decoding of object files. homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/format/objfile license: apache-2.0 licenses: -- sources: v5@v5.4.2/LICENSE +- sources: v5@v5.16.0/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -209,6 +209,6 @@ licenses: 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. -- sources: v5@v5.4.2/README.md +- sources: v5@v5.16.0/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/plumbing/format/packfile.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/plumbing/format/packfile.dep.yml index eaf5827a5b0..0df36340c9a 100644 --- a/.licenses/go/github.com/go-git/go-git/v5/plumbing/format/packfile.dep.yml +++ b/.licenses/go/github.com/go-git/go-git/v5/plumbing/format/packfile.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/go-git/go-git/v5/plumbing/format/packfile -version: v5.4.2 +version: v5.16.0 type: go summary: Package packfile implements encoding and decoding of packfile format. homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/format/packfile license: apache-2.0 licenses: -- sources: v5@v5.4.2/LICENSE +- sources: v5@v5.16.0/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -209,6 +209,6 @@ licenses: 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. -- sources: v5@v5.4.2/README.md +- sources: v5@v5.16.0/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/plumbing/format/pktline.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/plumbing/format/pktline.dep.yml index 3a47f94dbc0..c1ea32247cd 100644 --- a/.licenses/go/github.com/go-git/go-git/v5/plumbing/format/pktline.dep.yml +++ b/.licenses/go/github.com/go-git/go-git/v5/plumbing/format/pktline.dep.yml @@ -1,13 +1,13 @@ --- name: github.com/go-git/go-git/v5/plumbing/format/pktline -version: v5.4.2 +version: v5.16.0 type: go summary: Package pktline implements reading payloads form pkt-lines and encoding pkt-lines from payloads. homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/format/pktline license: apache-2.0 licenses: -- sources: v5@v5.4.2/LICENSE +- sources: v5@v5.16.0/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -210,6 +210,6 @@ licenses: 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. -- sources: v5@v5.4.2/README.md +- sources: v5@v5.16.0/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/plumbing/hash.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/plumbing/hash.dep.yml new file mode 100644 index 00000000000..8dbce4e6fa9 --- /dev/null +++ b/.licenses/go/github.com/go-git/go-git/v5/plumbing/hash.dep.yml @@ -0,0 +1,215 @@ +--- +name: github.com/go-git/go-git/v5/plumbing/hash +version: v5.16.0 +type: go +summary: package hash provides a way for managing the underlying hash implementations + used across go-git. +homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/hash +license: apache-2.0 +licenses: +- sources: v5@v5.16.0/LICENSE + text: |2 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018 Sourced Technologies, S.L. + + 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. +- sources: v5@v5.16.0/README.md + text: Apache License Version 2.0, see [LICENSE](LICENSE) +notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/plumbing/object.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/plumbing/object.dep.yml index 623d786d6a1..d52efcf1be4 100644 --- a/.licenses/go/github.com/go-git/go-git/v5/plumbing/object.dep.yml +++ b/.licenses/go/github.com/go-git/go-git/v5/plumbing/object.dep.yml @@ -1,13 +1,13 @@ --- name: github.com/go-git/go-git/v5/plumbing/object -version: v5.4.2 +version: v5.16.0 type: go summary: Package object contains implementations of all Git objects and utility functions to work with them. homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/object license: apache-2.0 licenses: -- sources: v5@v5.4.2/LICENSE +- sources: v5@v5.16.0/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -210,6 +210,6 @@ licenses: 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. -- sources: v5@v5.4.2/README.md +- sources: v5@v5.16.0/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/plumbing/protocol/packp.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/plumbing/protocol/packp.dep.yml index cf33fda3c6c..62ce11c1972 100644 --- a/.licenses/go/github.com/go-git/go-git/v5/plumbing/protocol/packp.dep.yml +++ b/.licenses/go/github.com/go-git/go-git/v5/plumbing/protocol/packp.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/go-git/go-git/v5/plumbing/protocol/packp -version: v5.4.2 +version: v5.16.0 type: go -summary: +summary: homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/protocol/packp license: apache-2.0 licenses: -- sources: v5@v5.4.2/LICENSE +- sources: v5@v5.16.0/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -209,6 +209,6 @@ licenses: 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. -- sources: v5@v5.4.2/README.md +- sources: v5@v5.16.0/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/plumbing/protocol/packp/capability.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/plumbing/protocol/packp/capability.dep.yml index 7b3893f0d92..53c4215f7b4 100644 --- a/.licenses/go/github.com/go-git/go-git/v5/plumbing/protocol/packp/capability.dep.yml +++ b/.licenses/go/github.com/go-git/go-git/v5/plumbing/protocol/packp/capability.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/go-git/go-git/v5/plumbing/protocol/packp/capability -version: v5.4.2 +version: v5.16.0 type: go summary: Package capability defines the server and client capabilities. homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/protocol/packp/capability license: apache-2.0 licenses: -- sources: v5@v5.4.2/LICENSE +- sources: v5@v5.16.0/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -209,6 +209,6 @@ licenses: 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. -- sources: v5@v5.4.2/README.md +- sources: v5@v5.16.0/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/plumbing/protocol/packp/sideband.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/plumbing/protocol/packp/sideband.dep.yml index 45783530e22..d8bde849aac 100644 --- a/.licenses/go/github.com/go-git/go-git/v5/plumbing/protocol/packp/sideband.dep.yml +++ b/.licenses/go/github.com/go-git/go-git/v5/plumbing/protocol/packp/sideband.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/go-git/go-git/v5/plumbing/protocol/packp/sideband -version: v5.4.2 +version: v5.16.0 type: go summary: Package sideband implements a sideband mutiplex/demultiplexer homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/protocol/packp/sideband license: apache-2.0 licenses: -- sources: v5@v5.4.2/LICENSE +- sources: v5@v5.16.0/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -209,6 +209,6 @@ licenses: 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. -- sources: v5@v5.4.2/README.md +- sources: v5@v5.16.0/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/plumbing/revlist.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/plumbing/revlist.dep.yml index dd05d9e90a5..3c6d32c4257 100644 --- a/.licenses/go/github.com/go-git/go-git/v5/plumbing/revlist.dep.yml +++ b/.licenses/go/github.com/go-git/go-git/v5/plumbing/revlist.dep.yml @@ -1,13 +1,13 @@ --- name: github.com/go-git/go-git/v5/plumbing/revlist -version: v5.4.2 +version: v5.16.0 type: go summary: Package revlist provides support to access the ancestors of commits, in a similar way as the git-rev-list command. homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/revlist license: apache-2.0 licenses: -- sources: v5@v5.4.2/LICENSE +- sources: v5@v5.16.0/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -210,6 +210,6 @@ licenses: 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. -- sources: v5@v5.4.2/README.md +- sources: v5@v5.16.0/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/plumbing/storer.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/plumbing/storer.dep.yml index 001fc8bae87..2bd8f5ddcf6 100644 --- a/.licenses/go/github.com/go-git/go-git/v5/plumbing/storer.dep.yml +++ b/.licenses/go/github.com/go-git/go-git/v5/plumbing/storer.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/go-git/go-git/v5/plumbing/storer -version: v5.4.2 +version: v5.16.0 type: go summary: Package storer defines the interfaces to store objects, references, etc. homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/storer license: apache-2.0 licenses: -- sources: v5@v5.4.2/LICENSE +- sources: v5@v5.16.0/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -209,6 +209,6 @@ licenses: 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. -- sources: v5@v5.4.2/README.md +- sources: v5@v5.16.0/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/plumbing/transport.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/plumbing/transport.dep.yml index a8100155f7e..2b31553cda6 100644 --- a/.licenses/go/github.com/go-git/go-git/v5/plumbing/transport.dep.yml +++ b/.licenses/go/github.com/go-git/go-git/v5/plumbing/transport.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/go-git/go-git/v5/plumbing/transport -version: v5.4.2 +version: v5.16.0 type: go summary: Package transport includes the implementation for different transport protocols. homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/transport license: apache-2.0 licenses: -- sources: v5@v5.4.2/LICENSE +- sources: v5@v5.16.0/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -209,6 +209,6 @@ licenses: 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. -- sources: v5@v5.4.2/README.md +- sources: v5@v5.16.0/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/plumbing/transport/client.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/plumbing/transport/client.dep.yml index dcaa6c28757..92211f50bf1 100644 --- a/.licenses/go/github.com/go-git/go-git/v5/plumbing/transport/client.dep.yml +++ b/.licenses/go/github.com/go-git/go-git/v5/plumbing/transport/client.dep.yml @@ -1,13 +1,13 @@ --- name: github.com/go-git/go-git/v5/plumbing/transport/client -version: v5.4.2 +version: v5.16.0 type: go summary: Package client contains helper function to deal with the different client protocols. homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/transport/client license: apache-2.0 licenses: -- sources: v5@v5.4.2/LICENSE +- sources: v5@v5.16.0/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -210,6 +210,6 @@ licenses: 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. -- sources: v5@v5.4.2/README.md +- sources: v5@v5.16.0/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/plumbing/transport/file.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/plumbing/transport/file.dep.yml index 9dd61d1175b..9e8fce34d9f 100644 --- a/.licenses/go/github.com/go-git/go-git/v5/plumbing/transport/file.dep.yml +++ b/.licenses/go/github.com/go-git/go-git/v5/plumbing/transport/file.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/go-git/go-git/v5/plumbing/transport/file -version: v5.4.2 +version: v5.16.0 type: go summary: Package file implements the file transport protocol. homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/transport/file license: apache-2.0 licenses: -- sources: v5@v5.4.2/LICENSE +- sources: v5@v5.16.0/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -209,6 +209,6 @@ licenses: 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. -- sources: v5@v5.4.2/README.md +- sources: v5@v5.16.0/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/plumbing/transport/git.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/plumbing/transport/git.dep.yml index 5cbfc424a95..fe0589e2d11 100644 --- a/.licenses/go/github.com/go-git/go-git/v5/plumbing/transport/git.dep.yml +++ b/.licenses/go/github.com/go-git/go-git/v5/plumbing/transport/git.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/go-git/go-git/v5/plumbing/transport/git -version: v5.4.2 +version: v5.16.0 type: go summary: Package git implements the git transport protocol. homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/transport/git license: apache-2.0 licenses: -- sources: v5@v5.4.2/LICENSE +- sources: v5@v5.16.0/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -209,6 +209,6 @@ licenses: 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. -- sources: v5@v5.4.2/README.md +- sources: v5@v5.16.0/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/plumbing/transport/http.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/plumbing/transport/http.dep.yml index 0761d31f079..659c88f9421 100644 --- a/.licenses/go/github.com/go-git/go-git/v5/plumbing/transport/http.dep.yml +++ b/.licenses/go/github.com/go-git/go-git/v5/plumbing/transport/http.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/go-git/go-git/v5/plumbing/transport/http -version: v5.4.2 +version: v5.16.0 type: go summary: Package http implements the HTTP transport protocol. homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/transport/http license: apache-2.0 licenses: -- sources: v5@v5.4.2/LICENSE +- sources: v5@v5.16.0/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -209,6 +209,6 @@ licenses: 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. -- sources: v5@v5.4.2/README.md +- sources: v5@v5.16.0/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/plumbing/transport/internal/common.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/plumbing/transport/internal/common.dep.yml index c2551eba8c2..af75a9caedb 100644 --- a/.licenses/go/github.com/go-git/go-git/v5/plumbing/transport/internal/common.dep.yml +++ b/.licenses/go/github.com/go-git/go-git/v5/plumbing/transport/internal/common.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/go-git/go-git/v5/plumbing/transport/internal/common -version: v5.4.2 +version: v5.16.0 type: go summary: Package common implements the git pack protocol with a pluggable transport. homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/transport/internal/common license: apache-2.0 licenses: -- sources: v5@v5.4.2/LICENSE +- sources: v5@v5.16.0/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -209,6 +209,6 @@ licenses: 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. -- sources: v5@v5.4.2/README.md +- sources: v5@v5.16.0/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/plumbing/transport/server.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/plumbing/transport/server.dep.yml index a0101bea695..e8c9645297e 100644 --- a/.licenses/go/github.com/go-git/go-git/v5/plumbing/transport/server.dep.yml +++ b/.licenses/go/github.com/go-git/go-git/v5/plumbing/transport/server.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/go-git/go-git/v5/plumbing/transport/server -version: v5.4.2 +version: v5.16.0 type: go summary: Package server implements the git server protocol. homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/transport/server license: apache-2.0 licenses: -- sources: v5@v5.4.2/LICENSE +- sources: v5@v5.16.0/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -209,6 +209,6 @@ licenses: 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. -- sources: v5@v5.4.2/README.md +- sources: v5@v5.16.0/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/plumbing/transport/ssh.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/plumbing/transport/ssh.dep.yml index 93e9cc28ecb..d7e176a6de2 100644 --- a/.licenses/go/github.com/go-git/go-git/v5/plumbing/transport/ssh.dep.yml +++ b/.licenses/go/github.com/go-git/go-git/v5/plumbing/transport/ssh.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/go-git/go-git/v5/plumbing/transport/ssh -version: v5.4.2 +version: v5.16.0 type: go summary: Package ssh implements the SSH transport protocol. homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/transport/ssh license: apache-2.0 licenses: -- sources: v5@v5.4.2/LICENSE +- sources: v5@v5.16.0/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -209,6 +209,6 @@ licenses: 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. -- sources: v5@v5.4.2/README.md +- sources: v5@v5.16.0/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/storage.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/storage.dep.yml index 57afd5c8acc..32fa1f6baf8 100644 --- a/.licenses/go/github.com/go-git/go-git/v5/storage.dep.yml +++ b/.licenses/go/github.com/go-git/go-git/v5/storage.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/go-git/go-git/v5/storage -version: v5.4.2 +version: v5.16.0 type: go -summary: +summary: homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/storage license: apache-2.0 licenses: -- sources: v5@v5.4.2/LICENSE +- sources: v5@v5.16.0/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -209,6 +209,6 @@ licenses: 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. -- sources: v5@v5.4.2/README.md +- sources: v5@v5.16.0/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/storage/filesystem.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/storage/filesystem.dep.yml index 785fe51d342..ff4325de3e2 100644 --- a/.licenses/go/github.com/go-git/go-git/v5/storage/filesystem.dep.yml +++ b/.licenses/go/github.com/go-git/go-git/v5/storage/filesystem.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/go-git/go-git/v5/storage/filesystem -version: v5.4.2 +version: v5.16.0 type: go summary: Package filesystem is a storage backend base on filesystems homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/storage/filesystem license: apache-2.0 licenses: -- sources: v5@v5.4.2/LICENSE +- sources: v5@v5.16.0/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -209,6 +209,6 @@ licenses: 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. -- sources: v5@v5.4.2/README.md +- sources: v5@v5.16.0/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/storage/filesystem/dotgit.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/storage/filesystem/dotgit.dep.yml index 56572727e88..8e386df1f45 100644 --- a/.licenses/go/github.com/go-git/go-git/v5/storage/filesystem/dotgit.dep.yml +++ b/.licenses/go/github.com/go-git/go-git/v5/storage/filesystem/dotgit.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/go-git/go-git/v5/storage/filesystem/dotgit -version: v5.4.2 +version: v5.16.0 type: go summary: https://github.com/git/git/blob/master/Documentation/gitrepository-layout.txt homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/storage/filesystem/dotgit license: apache-2.0 licenses: -- sources: v5@v5.4.2/LICENSE +- sources: v5@v5.16.0/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -209,6 +209,6 @@ licenses: 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. -- sources: v5@v5.4.2/README.md +- sources: v5@v5.16.0/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/storage/memory.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/storage/memory.dep.yml index 5090c08296b..c188fb3b6d8 100644 --- a/.licenses/go/github.com/go-git/go-git/v5/storage/memory.dep.yml +++ b/.licenses/go/github.com/go-git/go-git/v5/storage/memory.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/go-git/go-git/v5/storage/memory -version: v5.4.2 +version: v5.16.0 type: go summary: Package memory is a storage backend base on memory homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/storage/memory license: apache-2.0 licenses: -- sources: v5@v5.4.2/LICENSE +- sources: v5@v5.16.0/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -209,6 +209,6 @@ licenses: 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. -- sources: v5@v5.4.2/README.md +- sources: v5@v5.16.0/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/utils/binary.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/utils/binary.dep.yml index 78d1fda9e5b..d16531ee042 100644 --- a/.licenses/go/github.com/go-git/go-git/v5/utils/binary.dep.yml +++ b/.licenses/go/github.com/go-git/go-git/v5/utils/binary.dep.yml @@ -1,13 +1,13 @@ --- name: github.com/go-git/go-git/v5/utils/binary -version: v5.4.2 +version: v5.16.0 type: go -summary: Package binary implements sintax-sugar functions on top of the standard library +summary: Package binary implements syntax-sugar functions on top of the standard library binary package homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/utils/binary license: apache-2.0 licenses: -- sources: v5@v5.4.2/LICENSE +- sources: v5@v5.16.0/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -210,6 +210,6 @@ licenses: 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. -- sources: v5@v5.4.2/README.md +- sources: v5@v5.16.0/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/utils/diff.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/utils/diff.dep.yml index 30b5b63ed42..e2a00197bf4 100644 --- a/.licenses/go/github.com/go-git/go-git/v5/utils/diff.dep.yml +++ b/.licenses/go/github.com/go-git/go-git/v5/utils/diff.dep.yml @@ -1,13 +1,13 @@ --- name: github.com/go-git/go-git/v5/utils/diff -version: v5.4.2 +version: v5.16.0 type: go summary: Package diff implements line oriented diffs, similar to the ancient Unix diff command. homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/utils/diff license: apache-2.0 licenses: -- sources: v5@v5.4.2/LICENSE +- sources: v5@v5.16.0/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -210,6 +210,6 @@ licenses: 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. -- sources: v5@v5.4.2/README.md +- sources: v5@v5.16.0/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/utils/ioutil.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/utils/ioutil.dep.yml index c99f6f1f8f9..9447f2d5c10 100644 --- a/.licenses/go/github.com/go-git/go-git/v5/utils/ioutil.dep.yml +++ b/.licenses/go/github.com/go-git/go-git/v5/utils/ioutil.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/go-git/go-git/v5/utils/ioutil -version: v5.4.2 +version: v5.16.0 type: go summary: Package ioutil implements some I/O utility functions. homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/utils/ioutil license: apache-2.0 licenses: -- sources: v5@v5.4.2/LICENSE +- sources: v5@v5.16.0/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -209,6 +209,6 @@ licenses: 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. -- sources: v5@v5.4.2/README.md +- sources: v5@v5.16.0/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/utils/merkletrie.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/utils/merkletrie.dep.yml index 265d420847b..ab1807f53b4 100644 --- a/.licenses/go/github.com/go-git/go-git/v5/utils/merkletrie.dep.yml +++ b/.licenses/go/github.com/go-git/go-git/v5/utils/merkletrie.dep.yml @@ -1,13 +1,13 @@ --- name: github.com/go-git/go-git/v5/utils/merkletrie -version: v5.4.2 +version: v5.16.0 type: go summary: Package merkletrie provides support for n-ary trees that are at the same time Merkle trees and Radix trees (tries). homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/utils/merkletrie license: apache-2.0 licenses: -- sources: v5@v5.4.2/LICENSE +- sources: v5@v5.16.0/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -210,6 +210,6 @@ licenses: 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. -- sources: v5@v5.4.2/README.md +- sources: v5@v5.16.0/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/utils/merkletrie/filesystem.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/utils/merkletrie/filesystem.dep.yml index fc4c222f2de..5f43c47d8d3 100644 --- a/.licenses/go/github.com/go-git/go-git/v5/utils/merkletrie/filesystem.dep.yml +++ b/.licenses/go/github.com/go-git/go-git/v5/utils/merkletrie/filesystem.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/go-git/go-git/v5/utils/merkletrie/filesystem -version: v5.4.2 +version: v5.16.0 type: go -summary: +summary: homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/utils/merkletrie/filesystem license: apache-2.0 licenses: -- sources: v5@v5.4.2/LICENSE +- sources: v5@v5.16.0/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -209,6 +209,6 @@ licenses: 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. -- sources: v5@v5.4.2/README.md +- sources: v5@v5.16.0/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/utils/merkletrie/index.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/utils/merkletrie/index.dep.yml index 6a55e655e34..3c8cb9529dd 100644 --- a/.licenses/go/github.com/go-git/go-git/v5/utils/merkletrie/index.dep.yml +++ b/.licenses/go/github.com/go-git/go-git/v5/utils/merkletrie/index.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/go-git/go-git/v5/utils/merkletrie/index -version: v5.4.2 +version: v5.16.0 type: go -summary: +summary: homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/utils/merkletrie/index license: apache-2.0 licenses: -- sources: v5@v5.4.2/LICENSE +- sources: v5@v5.16.0/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -209,6 +209,6 @@ licenses: 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. -- sources: v5@v5.4.2/README.md +- sources: v5@v5.16.0/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/utils/merkletrie/internal/frame.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/utils/merkletrie/internal/frame.dep.yml index f00790b93fb..2730a57ce7b 100644 --- a/.licenses/go/github.com/go-git/go-git/v5/utils/merkletrie/internal/frame.dep.yml +++ b/.licenses/go/github.com/go-git/go-git/v5/utils/merkletrie/internal/frame.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/go-git/go-git/v5/utils/merkletrie/internal/frame -version: v5.4.2 +version: v5.16.0 type: go -summary: +summary: homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/utils/merkletrie/internal/frame license: apache-2.0 licenses: -- sources: v5@v5.4.2/LICENSE +- sources: v5@v5.16.0/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -209,6 +209,6 @@ licenses: 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. -- sources: v5@v5.4.2/README.md +- sources: v5@v5.16.0/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/utils/merkletrie/noder.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/utils/merkletrie/noder.dep.yml index c42d860de69..02e2df5a64c 100644 --- a/.licenses/go/github.com/go-git/go-git/v5/utils/merkletrie/noder.dep.yml +++ b/.licenses/go/github.com/go-git/go-git/v5/utils/merkletrie/noder.dep.yml @@ -1,13 +1,13 @@ --- name: github.com/go-git/go-git/v5/utils/merkletrie/noder -version: v5.4.2 +version: v5.16.0 type: go summary: Package noder provide an interface for defining nodes in a merkletrie, their hashes and their paths (a noders and its ancestors). homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/utils/merkletrie/noder license: apache-2.0 licenses: -- sources: v5@v5.4.2/LICENSE +- sources: v5@v5.16.0/LICENSE text: |2 Apache License Version 2.0, January 2004 @@ -210,6 +210,6 @@ licenses: 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. -- sources: v5@v5.4.2/README.md +- sources: v5@v5.16.0/README.md text: Apache License Version 2.0, see [LICENSE](LICENSE) notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/utils/sync.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/utils/sync.dep.yml new file mode 100644 index 00000000000..9335b5126cd --- /dev/null +++ b/.licenses/go/github.com/go-git/go-git/v5/utils/sync.dep.yml @@ -0,0 +1,214 @@ +--- +name: github.com/go-git/go-git/v5/utils/sync +version: v5.16.0 +type: go +summary: +homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/utils/sync +license: apache-2.0 +licenses: +- sources: v5@v5.16.0/LICENSE + text: |2 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018 Sourced Technologies, S.L. + + 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. +- sources: v5@v5.16.0/README.md + text: Apache License Version 2.0, see [LICENSE](LICENSE) +notices: [] diff --git a/.licenses/go/github.com/go-git/go-git/v5/utils/trace.dep.yml b/.licenses/go/github.com/go-git/go-git/v5/utils/trace.dep.yml new file mode 100644 index 00000000000..abb2b9fec2e --- /dev/null +++ b/.licenses/go/github.com/go-git/go-git/v5/utils/trace.dep.yml @@ -0,0 +1,214 @@ +--- +name: github.com/go-git/go-git/v5/utils/trace +version: v5.16.0 +type: go +summary: +homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/utils/trace +license: apache-2.0 +licenses: +- sources: v5@v5.16.0/LICENSE + text: |2 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018 Sourced Technologies, S.L. + + 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. +- sources: v5@v5.16.0/README.md + text: Apache License Version 2.0, see [LICENSE](LICENSE) +notices: [] diff --git a/.licenses/go/github.com/mitchellh/mapstructure.dep.yml b/.licenses/go/github.com/go-viper/mapstructure/v2.dep.yml similarity index 86% rename from .licenses/go/github.com/mitchellh/mapstructure.dep.yml rename to .licenses/go/github.com/go-viper/mapstructure/v2.dep.yml index 073c6eabcd7..aa4e7760c61 100644 --- a/.licenses/go/github.com/mitchellh/mapstructure.dep.yml +++ b/.licenses/go/github.com/go-viper/mapstructure/v2.dep.yml @@ -1,10 +1,10 @@ --- -name: github.com/mitchellh/mapstructure -version: v1.5.0 +name: github.com/go-viper/mapstructure/v2 +version: v2.2.1 type: go summary: Package mapstructure exposes functionality to convert one arbitrary Go type into another, typically to convert a map[string]interface{} into a native Go structure. -homepage: https://pkg.go.dev/github.com/mitchellh/mapstructure +homepage: https://pkg.go.dev/github.com/go-viper/mapstructure/v2 license: mit licenses: - sources: LICENSE @@ -30,4 +30,6 @@ licenses: LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +- sources: README.md + text: The project is licensed under the [MIT License](LICENSE). notices: [] diff --git a/.licenses/go/github.com/mitchellh/go-homedir.dep.yml b/.licenses/go/github.com/go-viper/mapstructure/v2/internal/errors.dep.yml similarity index 81% rename from .licenses/go/github.com/mitchellh/go-homedir.dep.yml rename to .licenses/go/github.com/go-viper/mapstructure/v2/internal/errors.dep.yml index 40d6bcdb08a..4156e692500 100644 --- a/.licenses/go/github.com/mitchellh/go-homedir.dep.yml +++ b/.licenses/go/github.com/go-viper/mapstructure/v2/internal/errors.dep.yml @@ -1,12 +1,12 @@ --- -name: github.com/mitchellh/go-homedir -version: v1.1.0 +name: github.com/go-viper/mapstructure/v2/internal/errors +version: v2.2.1 type: go summary: -homepage: https://pkg.go.dev/github.com/mitchellh/go-homedir +homepage: https://pkg.go.dev/github.com/go-viper/mapstructure/v2/internal/errors license: mit licenses: -- sources: LICENSE +- sources: v2@v2.2.1/LICENSE text: | The MIT License (MIT) @@ -29,4 +29,6 @@ licenses: LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +- sources: v2@v2.2.1/README.md + text: The project is licensed under the [MIT License](LICENSE). notices: [] diff --git a/.licenses/go/github.com/gofrs/uuid/v5.dep.yml b/.licenses/go/github.com/gofrs/uuid/v5.dep.yml index b5e46a1acc5..fe507a6e480 100644 --- a/.licenses/go/github.com/gofrs/uuid/v5.dep.yml +++ b/.licenses/go/github.com/gofrs/uuid/v5.dep.yml @@ -1,6 +1,6 @@ --- name: github.com/gofrs/uuid/v5 -version: v5.3.0 +version: v5.3.2 type: go summary: Package uuid provides implementations of the Universally Unique Identifier (UUID), as specified in RFC-9562 (formerly RFC-4122). diff --git a/.licenses/go/gopkg.in/ini.v1.dep.yml b/.licenses/go/github.com/golang/groupcache/lru.dep.yml similarity index 96% rename from .licenses/go/gopkg.in/ini.v1.dep.yml rename to .licenses/go/github.com/golang/groupcache/lru.dep.yml index a34309de360..11dad64f329 100644 --- a/.licenses/go/gopkg.in/ini.v1.dep.yml +++ b/.licenses/go/github.com/golang/groupcache/lru.dep.yml @@ -1,12 +1,12 @@ --- -name: gopkg.in/ini.v1 -version: v1.67.0 +name: github.com/golang/groupcache/lru +version: v0.0.0-20241129210726-2c02b8208cf8 type: go -summary: Package ini provides INI file read and write functionality in Go. -homepage: https://pkg.go.dev/gopkg.in/ini.v1 +summary: Package lru implements an LRU cache. +homepage: https://pkg.go.dev/github.com/golang/groupcache/lru license: apache-2.0 licenses: -- sources: LICENSE +- sources: groupcache@v0.0.0-20241129210726-2c02b8208cf8/LICENSE text: | Apache License Version 2.0, January 2004 @@ -186,7 +186,7 @@ licenses: the same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright 2014 Unknwon + Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -199,7 +199,4 @@ licenses: 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. -- sources: README.md - text: This project is under Apache v2 License. See the [LICENSE](LICENSE) file for - the full license text. notices: [] diff --git a/.licenses/go/github.com/hashicorp/hcl.dep.yml b/.licenses/go/github.com/hashicorp/hcl.dep.yml deleted file mode 100644 index 5aeb06dd53a..00000000000 --- a/.licenses/go/github.com/hashicorp/hcl.dep.yml +++ /dev/null @@ -1,365 +0,0 @@ ---- -name: github.com/hashicorp/hcl -version: v1.0.0 -type: go -summary: Package hcl decodes HCL into usable Go structures. -homepage: https://pkg.go.dev/github.com/hashicorp/hcl -license: mpl-2.0 -licenses: -- sources: LICENSE - text: |+ - Mozilla Public License, version 2.0 - - 1. Definitions - - 1.1. “Contributor” - - means each individual or legal entity that creates, contributes to the - creation of, or owns Covered Software. - - 1.2. “Contributor Version” - - means the combination of the Contributions of others (if any) used by a - Contributor and that particular Contributor’s Contribution. - - 1.3. “Contribution” - - means Covered Software of a particular Contributor. - - 1.4. “Covered Software” - - means Source Code Form to which the initial Contributor has attached the - notice in Exhibit A, the Executable Form of such Source Code Form, and - Modifications of such Source Code Form, in each case including portions - thereof. - - 1.5. “Incompatible With Secondary Licenses” - means - - a. that the initial Contributor has attached the notice described in - Exhibit B to the Covered Software; or - - b. that the Covered Software was made available under the terms of version - 1.1 or earlier of the License, but not also under the terms of a - Secondary License. - - 1.6. “Executable Form” - - means any form of the work other than Source Code Form. - - 1.7. “Larger Work” - - means a work that combines Covered Software with other material, in a separate - file or files, that is not Covered Software. - - 1.8. “License” - - means this document. - - 1.9. “Licensable” - - means having the right to grant, to the maximum extent possible, whether at the - time of the initial grant or subsequently, any and all of the rights conveyed by - this License. - - 1.10. “Modifications” - - means any of the following: - - a. any file in Source Code Form that results from an addition to, deletion - from, or modification of the contents of Covered Software; or - - b. any new file in Source Code Form that contains any Covered Software. - - 1.11. “Patent Claims” of a Contributor - - means any patent claim(s), including without limitation, method, process, - and apparatus claims, in any patent Licensable by such Contributor that - would be infringed, but for the grant of the License, by the making, - using, selling, offering for sale, having made, import, or transfer of - either its Contributions or its Contributor Version. - - 1.12. “Secondary License” - - means either the GNU General Public License, Version 2.0, the GNU Lesser - General Public License, Version 2.1, the GNU Affero General Public - License, Version 3.0, or any later versions of those licenses. - - 1.13. “Source Code Form” - - means the form of the work preferred for making modifications. - - 1.14. “You” (or “Your”) - - means an individual or a legal entity exercising rights under this - License. For legal entities, “You” includes any entity that controls, is - controlled by, or is under common control with You. For purposes of this - definition, “control” means (a) the power, direct or indirect, to cause - the direction or management of such entity, whether by contract or - otherwise, or (b) ownership of more than fifty percent (50%) of the - outstanding shares or beneficial ownership of such entity. - - - 2. License Grants and Conditions - - 2.1. Grants - - Each Contributor hereby grants You a world-wide, royalty-free, - non-exclusive license: - - a. under intellectual property rights (other than patent or trademark) - Licensable by such Contributor to use, reproduce, make available, - modify, display, perform, distribute, and otherwise exploit its - Contributions, either on an unmodified basis, with Modifications, or as - part of a Larger Work; and - - b. under Patent Claims of such Contributor to make, use, sell, offer for - sale, have made, import, and otherwise transfer either its Contributions - or its Contributor Version. - - 2.2. Effective Date - - The licenses granted in Section 2.1 with respect to any Contribution become - effective for each Contribution on the date the Contributor first distributes - such Contribution. - - 2.3. Limitations on Grant Scope - - The licenses granted in this Section 2 are the only rights granted under this - License. No additional rights or licenses will be implied from the distribution - or licensing of Covered Software under this License. Notwithstanding Section - 2.1(b) above, no patent license is granted by a Contributor: - - a. for any code that a Contributor has removed from Covered Software; or - - b. for infringements caused by: (i) Your and any other third party’s - modifications of Covered Software, or (ii) the combination of its - Contributions with other software (except as part of its Contributor - Version); or - - c. under Patent Claims infringed by Covered Software in the absence of its - Contributions. - - This License does not grant any rights in the trademarks, service marks, or - logos of any Contributor (except as may be necessary to comply with the - notice requirements in Section 3.4). - - 2.4. Subsequent Licenses - - No Contributor makes additional grants as a result of Your choice to - distribute the Covered Software under a subsequent version of this License - (see Section 10.2) or under the terms of a Secondary License (if permitted - under the terms of Section 3.3). - - 2.5. Representation - - Each Contributor represents that the Contributor believes its Contributions - are its original creation(s) or it has sufficient rights to grant the - rights to its Contributions conveyed by this License. - - 2.6. Fair Use - - This License is not intended to limit any rights You have under applicable - copyright doctrines of fair use, fair dealing, or other equivalents. - - 2.7. Conditions - - Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in - Section 2.1. - - - 3. Responsibilities - - 3.1. Distribution of Source Form - - All distribution of Covered Software in Source Code Form, including any - Modifications that You create or to which You contribute, must be under the - terms of this License. You must inform recipients that the Source Code Form - of the Covered Software is governed by the terms of this License, and how - they can obtain a copy of this License. You may not attempt to alter or - restrict the recipients’ rights in the Source Code Form. - - 3.2. Distribution of Executable Form - - If You distribute Covered Software in Executable Form then: - - a. such Covered Software must also be made available in Source Code Form, - as described in Section 3.1, and You must inform recipients of the - Executable Form how they can obtain a copy of such Source Code Form by - reasonable means in a timely manner, at a charge no more than the cost - of distribution to the recipient; and - - b. You may distribute such Executable Form under the terms of this License, - or sublicense it under different terms, provided that the license for - the Executable Form does not attempt to limit or alter the recipients’ - rights in the Source Code Form under this License. - - 3.3. Distribution of a Larger Work - - You may create and distribute a Larger Work under terms of Your choice, - provided that You also comply with the requirements of this License for the - Covered Software. If the Larger Work is a combination of Covered Software - with a work governed by one or more Secondary Licenses, and the Covered - Software is not Incompatible With Secondary Licenses, this License permits - You to additionally distribute such Covered Software under the terms of - such Secondary License(s), so that the recipient of the Larger Work may, at - their option, further distribute the Covered Software under the terms of - either this License or such Secondary License(s). - - 3.4. Notices - - You may not remove or alter the substance of any license notices (including - copyright notices, patent notices, disclaimers of warranty, or limitations - of liability) contained within the Source Code Form of the Covered - Software, except that You may alter any license notices to the extent - required to remedy known factual inaccuracies. - - 3.5. Application of Additional Terms - - You may choose to offer, and to charge a fee for, warranty, support, - indemnity or liability obligations to one or more recipients of Covered - Software. However, You may do so only on Your own behalf, and not on behalf - of any Contributor. You must make it absolutely clear that any such - warranty, support, indemnity, or liability obligation is offered by You - alone, and You hereby agree to indemnify every Contributor for any - liability incurred by such Contributor as a result of warranty, support, - indemnity or liability terms You offer. You may include additional - disclaimers of warranty and limitations of liability specific to any - jurisdiction. - - 4. Inability to Comply Due to Statute or Regulation - - If it is impossible for You to comply with any of the terms of this License - with respect to some or all of the Covered Software due to statute, judicial - order, or regulation then You must: (a) comply with the terms of this License - to the maximum extent possible; and (b) describe the limitations and the code - they affect. Such description must be placed in a text file included with all - distributions of the Covered Software under this License. Except to the - extent prohibited by statute or regulation, such description must be - sufficiently detailed for a recipient of ordinary skill to be able to - understand it. - - 5. Termination - - 5.1. The rights granted under this License will terminate automatically if You - fail to comply with any of its terms. However, if You become compliant, - then the rights granted under this License from a particular Contributor - are reinstated (a) provisionally, unless and until such Contributor - explicitly and finally terminates Your grants, and (b) on an ongoing basis, - if such Contributor fails to notify You of the non-compliance by some - reasonable means prior to 60 days after You have come back into compliance. - Moreover, Your grants from a particular Contributor are reinstated on an - ongoing basis if such Contributor notifies You of the non-compliance by - some reasonable means, this is the first time You have received notice of - non-compliance with this License from such Contributor, and You become - compliant prior to 30 days after Your receipt of the notice. - - 5.2. If You initiate litigation against any entity by asserting a patent - infringement claim (excluding declaratory judgment actions, counter-claims, - and cross-claims) alleging that a Contributor Version directly or - indirectly infringes any patent, then the rights granted to You by any and - all Contributors for the Covered Software under Section 2.1 of this License - shall terminate. - - 5.3. In the event of termination under Sections 5.1 or 5.2 above, all end user - license agreements (excluding distributors and resellers) which have been - validly granted by You or Your distributors under this License prior to - termination shall survive termination. - - 6. Disclaimer of Warranty - - Covered Software is provided under this License on an “as is” basis, without - warranty of any kind, either expressed, implied, or statutory, including, - without limitation, warranties that the Covered Software is free of defects, - merchantable, fit for a particular purpose or non-infringing. The entire - risk as to the quality and performance of the Covered Software is with You. - Should any Covered Software prove defective in any respect, You (not any - Contributor) assume the cost of any necessary servicing, repair, or - correction. This disclaimer of warranty constitutes an essential part of this - License. No use of any Covered Software is authorized under this License - except under this disclaimer. - - 7. Limitation of Liability - - Under no circumstances and under no legal theory, whether tort (including - negligence), contract, or otherwise, shall any Contributor, or anyone who - distributes Covered Software as permitted above, be liable to You for any - direct, indirect, special, incidental, or consequential damages of any - character including, without limitation, damages for lost profits, loss of - goodwill, work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses, even if such party shall have been - informed of the possibility of such damages. This limitation of liability - shall not apply to liability for death or personal injury resulting from such - party’s negligence to the extent applicable law prohibits such limitation. - Some jurisdictions do not allow the exclusion or limitation of incidental or - consequential damages, so this exclusion and limitation may not apply to You. - - 8. Litigation - - Any litigation relating to this License may be brought only in the courts of - a jurisdiction where the defendant maintains its principal place of business - and such litigation shall be governed by laws of that jurisdiction, without - reference to its conflict-of-law provisions. Nothing in this Section shall - prevent a party’s ability to bring cross-claims or counter-claims. - - 9. Miscellaneous - - This License represents the complete agreement concerning the subject matter - hereof. If any provision of this License is held to be unenforceable, such - provision shall be reformed only to the extent necessary to make it - enforceable. Any law or regulation which provides that the language of a - contract shall be construed against the drafter shall not be used to construe - this License against a Contributor. - - - 10. Versions of the License - - 10.1. New Versions - - Mozilla Foundation is the license steward. Except as provided in Section - 10.3, no one other than the license steward has the right to modify or - publish new versions of this License. Each version will be given a - distinguishing version number. - - 10.2. Effect of New Versions - - You may distribute the Covered Software under the terms of the version of - the License under which You originally received the Covered Software, or - under the terms of any subsequent version published by the license - steward. - - 10.3. Modified Versions - - If you create software not governed by this License, and you want to - create a new license for such software, you may create and use a modified - version of this License if you rename the license and remove any - references to the name of the license steward (except to note that such - modified license differs from this License). - - 10.4. Distributing Source Code Form that is Incompatible With Secondary Licenses - If You choose to distribute Source Code Form that is Incompatible With - Secondary Licenses under the terms of this version of the License, the - notice described in Exhibit B of this License must be attached. - - Exhibit A - Source Code Form License Notice - - This Source Code Form is subject to the - terms of the Mozilla Public License, v. - 2.0. If a copy of the MPL was not - distributed with this file, You can - obtain one at - http://mozilla.org/MPL/2.0/. - - If it is not possible or desirable to put the notice in a particular file, then - You may include the notice in a location (such as a LICENSE file in a relevant - directory) where a recipient would be likely to look for such a notice. - - You may add additional accurate notices of copyright ownership. - - Exhibit B - “Incompatible With Secondary Licenses” Notice - - This Source Code Form is “Incompatible - With Secondary Licenses”, as defined by - the Mozilla Public License, v. 2.0. - -notices: [] diff --git a/.licenses/go/github.com/hashicorp/hcl/hcl/ast.dep.yml b/.licenses/go/github.com/hashicorp/hcl/hcl/ast.dep.yml deleted file mode 100644 index ce823de2d46..00000000000 --- a/.licenses/go/github.com/hashicorp/hcl/hcl/ast.dep.yml +++ /dev/null @@ -1,366 +0,0 @@ ---- -name: github.com/hashicorp/hcl/hcl/ast -version: v1.0.0 -type: go -summary: Package ast declares the types used to represent syntax trees for HCL (HashiCorp - Configuration Language) -homepage: https://pkg.go.dev/github.com/hashicorp/hcl/hcl/ast -license: mpl-2.0 -licenses: -- sources: hcl@v1.0.0/LICENSE - text: |+ - Mozilla Public License, version 2.0 - - 1. Definitions - - 1.1. “Contributor” - - means each individual or legal entity that creates, contributes to the - creation of, or owns Covered Software. - - 1.2. “Contributor Version” - - means the combination of the Contributions of others (if any) used by a - Contributor and that particular Contributor’s Contribution. - - 1.3. “Contribution” - - means Covered Software of a particular Contributor. - - 1.4. “Covered Software” - - means Source Code Form to which the initial Contributor has attached the - notice in Exhibit A, the Executable Form of such Source Code Form, and - Modifications of such Source Code Form, in each case including portions - thereof. - - 1.5. “Incompatible With Secondary Licenses” - means - - a. that the initial Contributor has attached the notice described in - Exhibit B to the Covered Software; or - - b. that the Covered Software was made available under the terms of version - 1.1 or earlier of the License, but not also under the terms of a - Secondary License. - - 1.6. “Executable Form” - - means any form of the work other than Source Code Form. - - 1.7. “Larger Work” - - means a work that combines Covered Software with other material, in a separate - file or files, that is not Covered Software. - - 1.8. “License” - - means this document. - - 1.9. “Licensable” - - means having the right to grant, to the maximum extent possible, whether at the - time of the initial grant or subsequently, any and all of the rights conveyed by - this License. - - 1.10. “Modifications” - - means any of the following: - - a. any file in Source Code Form that results from an addition to, deletion - from, or modification of the contents of Covered Software; or - - b. any new file in Source Code Form that contains any Covered Software. - - 1.11. “Patent Claims” of a Contributor - - means any patent claim(s), including without limitation, method, process, - and apparatus claims, in any patent Licensable by such Contributor that - would be infringed, but for the grant of the License, by the making, - using, selling, offering for sale, having made, import, or transfer of - either its Contributions or its Contributor Version. - - 1.12. “Secondary License” - - means either the GNU General Public License, Version 2.0, the GNU Lesser - General Public License, Version 2.1, the GNU Affero General Public - License, Version 3.0, or any later versions of those licenses. - - 1.13. “Source Code Form” - - means the form of the work preferred for making modifications. - - 1.14. “You” (or “Your”) - - means an individual or a legal entity exercising rights under this - License. For legal entities, “You” includes any entity that controls, is - controlled by, or is under common control with You. For purposes of this - definition, “control” means (a) the power, direct or indirect, to cause - the direction or management of such entity, whether by contract or - otherwise, or (b) ownership of more than fifty percent (50%) of the - outstanding shares or beneficial ownership of such entity. - - - 2. License Grants and Conditions - - 2.1. Grants - - Each Contributor hereby grants You a world-wide, royalty-free, - non-exclusive license: - - a. under intellectual property rights (other than patent or trademark) - Licensable by such Contributor to use, reproduce, make available, - modify, display, perform, distribute, and otherwise exploit its - Contributions, either on an unmodified basis, with Modifications, or as - part of a Larger Work; and - - b. under Patent Claims of such Contributor to make, use, sell, offer for - sale, have made, import, and otherwise transfer either its Contributions - or its Contributor Version. - - 2.2. Effective Date - - The licenses granted in Section 2.1 with respect to any Contribution become - effective for each Contribution on the date the Contributor first distributes - such Contribution. - - 2.3. Limitations on Grant Scope - - The licenses granted in this Section 2 are the only rights granted under this - License. No additional rights or licenses will be implied from the distribution - or licensing of Covered Software under this License. Notwithstanding Section - 2.1(b) above, no patent license is granted by a Contributor: - - a. for any code that a Contributor has removed from Covered Software; or - - b. for infringements caused by: (i) Your and any other third party’s - modifications of Covered Software, or (ii) the combination of its - Contributions with other software (except as part of its Contributor - Version); or - - c. under Patent Claims infringed by Covered Software in the absence of its - Contributions. - - This License does not grant any rights in the trademarks, service marks, or - logos of any Contributor (except as may be necessary to comply with the - notice requirements in Section 3.4). - - 2.4. Subsequent Licenses - - No Contributor makes additional grants as a result of Your choice to - distribute the Covered Software under a subsequent version of this License - (see Section 10.2) or under the terms of a Secondary License (if permitted - under the terms of Section 3.3). - - 2.5. Representation - - Each Contributor represents that the Contributor believes its Contributions - are its original creation(s) or it has sufficient rights to grant the - rights to its Contributions conveyed by this License. - - 2.6. Fair Use - - This License is not intended to limit any rights You have under applicable - copyright doctrines of fair use, fair dealing, or other equivalents. - - 2.7. Conditions - - Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in - Section 2.1. - - - 3. Responsibilities - - 3.1. Distribution of Source Form - - All distribution of Covered Software in Source Code Form, including any - Modifications that You create or to which You contribute, must be under the - terms of this License. You must inform recipients that the Source Code Form - of the Covered Software is governed by the terms of this License, and how - they can obtain a copy of this License. You may not attempt to alter or - restrict the recipients’ rights in the Source Code Form. - - 3.2. Distribution of Executable Form - - If You distribute Covered Software in Executable Form then: - - a. such Covered Software must also be made available in Source Code Form, - as described in Section 3.1, and You must inform recipients of the - Executable Form how they can obtain a copy of such Source Code Form by - reasonable means in a timely manner, at a charge no more than the cost - of distribution to the recipient; and - - b. You may distribute such Executable Form under the terms of this License, - or sublicense it under different terms, provided that the license for - the Executable Form does not attempt to limit or alter the recipients’ - rights in the Source Code Form under this License. - - 3.3. Distribution of a Larger Work - - You may create and distribute a Larger Work under terms of Your choice, - provided that You also comply with the requirements of this License for the - Covered Software. If the Larger Work is a combination of Covered Software - with a work governed by one or more Secondary Licenses, and the Covered - Software is not Incompatible With Secondary Licenses, this License permits - You to additionally distribute such Covered Software under the terms of - such Secondary License(s), so that the recipient of the Larger Work may, at - their option, further distribute the Covered Software under the terms of - either this License or such Secondary License(s). - - 3.4. Notices - - You may not remove or alter the substance of any license notices (including - copyright notices, patent notices, disclaimers of warranty, or limitations - of liability) contained within the Source Code Form of the Covered - Software, except that You may alter any license notices to the extent - required to remedy known factual inaccuracies. - - 3.5. Application of Additional Terms - - You may choose to offer, and to charge a fee for, warranty, support, - indemnity or liability obligations to one or more recipients of Covered - Software. However, You may do so only on Your own behalf, and not on behalf - of any Contributor. You must make it absolutely clear that any such - warranty, support, indemnity, or liability obligation is offered by You - alone, and You hereby agree to indemnify every Contributor for any - liability incurred by such Contributor as a result of warranty, support, - indemnity or liability terms You offer. You may include additional - disclaimers of warranty and limitations of liability specific to any - jurisdiction. - - 4. Inability to Comply Due to Statute or Regulation - - If it is impossible for You to comply with any of the terms of this License - with respect to some or all of the Covered Software due to statute, judicial - order, or regulation then You must: (a) comply with the terms of this License - to the maximum extent possible; and (b) describe the limitations and the code - they affect. Such description must be placed in a text file included with all - distributions of the Covered Software under this License. Except to the - extent prohibited by statute or regulation, such description must be - sufficiently detailed for a recipient of ordinary skill to be able to - understand it. - - 5. Termination - - 5.1. The rights granted under this License will terminate automatically if You - fail to comply with any of its terms. However, if You become compliant, - then the rights granted under this License from a particular Contributor - are reinstated (a) provisionally, unless and until such Contributor - explicitly and finally terminates Your grants, and (b) on an ongoing basis, - if such Contributor fails to notify You of the non-compliance by some - reasonable means prior to 60 days after You have come back into compliance. - Moreover, Your grants from a particular Contributor are reinstated on an - ongoing basis if such Contributor notifies You of the non-compliance by - some reasonable means, this is the first time You have received notice of - non-compliance with this License from such Contributor, and You become - compliant prior to 30 days after Your receipt of the notice. - - 5.2. If You initiate litigation against any entity by asserting a patent - infringement claim (excluding declaratory judgment actions, counter-claims, - and cross-claims) alleging that a Contributor Version directly or - indirectly infringes any patent, then the rights granted to You by any and - all Contributors for the Covered Software under Section 2.1 of this License - shall terminate. - - 5.3. In the event of termination under Sections 5.1 or 5.2 above, all end user - license agreements (excluding distributors and resellers) which have been - validly granted by You or Your distributors under this License prior to - termination shall survive termination. - - 6. Disclaimer of Warranty - - Covered Software is provided under this License on an “as is” basis, without - warranty of any kind, either expressed, implied, or statutory, including, - without limitation, warranties that the Covered Software is free of defects, - merchantable, fit for a particular purpose or non-infringing. The entire - risk as to the quality and performance of the Covered Software is with You. - Should any Covered Software prove defective in any respect, You (not any - Contributor) assume the cost of any necessary servicing, repair, or - correction. This disclaimer of warranty constitutes an essential part of this - License. No use of any Covered Software is authorized under this License - except under this disclaimer. - - 7. Limitation of Liability - - Under no circumstances and under no legal theory, whether tort (including - negligence), contract, or otherwise, shall any Contributor, or anyone who - distributes Covered Software as permitted above, be liable to You for any - direct, indirect, special, incidental, or consequential damages of any - character including, without limitation, damages for lost profits, loss of - goodwill, work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses, even if such party shall have been - informed of the possibility of such damages. This limitation of liability - shall not apply to liability for death or personal injury resulting from such - party’s negligence to the extent applicable law prohibits such limitation. - Some jurisdictions do not allow the exclusion or limitation of incidental or - consequential damages, so this exclusion and limitation may not apply to You. - - 8. Litigation - - Any litigation relating to this License may be brought only in the courts of - a jurisdiction where the defendant maintains its principal place of business - and such litigation shall be governed by laws of that jurisdiction, without - reference to its conflict-of-law provisions. Nothing in this Section shall - prevent a party’s ability to bring cross-claims or counter-claims. - - 9. Miscellaneous - - This License represents the complete agreement concerning the subject matter - hereof. If any provision of this License is held to be unenforceable, such - provision shall be reformed only to the extent necessary to make it - enforceable. Any law or regulation which provides that the language of a - contract shall be construed against the drafter shall not be used to construe - this License against a Contributor. - - - 10. Versions of the License - - 10.1. New Versions - - Mozilla Foundation is the license steward. Except as provided in Section - 10.3, no one other than the license steward has the right to modify or - publish new versions of this License. Each version will be given a - distinguishing version number. - - 10.2. Effect of New Versions - - You may distribute the Covered Software under the terms of the version of - the License under which You originally received the Covered Software, or - under the terms of any subsequent version published by the license - steward. - - 10.3. Modified Versions - - If you create software not governed by this License, and you want to - create a new license for such software, you may create and use a modified - version of this License if you rename the license and remove any - references to the name of the license steward (except to note that such - modified license differs from this License). - - 10.4. Distributing Source Code Form that is Incompatible With Secondary Licenses - If You choose to distribute Source Code Form that is Incompatible With - Secondary Licenses under the terms of this version of the License, the - notice described in Exhibit B of this License must be attached. - - Exhibit A - Source Code Form License Notice - - This Source Code Form is subject to the - terms of the Mozilla Public License, v. - 2.0. If a copy of the MPL was not - distributed with this file, You can - obtain one at - http://mozilla.org/MPL/2.0/. - - If it is not possible or desirable to put the notice in a particular file, then - You may include the notice in a location (such as a LICENSE file in a relevant - directory) where a recipient would be likely to look for such a notice. - - You may add additional accurate notices of copyright ownership. - - Exhibit B - “Incompatible With Secondary Licenses” Notice - - This Source Code Form is “Incompatible - With Secondary Licenses”, as defined by - the Mozilla Public License, v. 2.0. - -notices: [] diff --git a/.licenses/go/github.com/hashicorp/hcl/hcl/parser.dep.yml b/.licenses/go/github.com/hashicorp/hcl/hcl/parser.dep.yml deleted file mode 100644 index 4d54adcda3a..00000000000 --- a/.licenses/go/github.com/hashicorp/hcl/hcl/parser.dep.yml +++ /dev/null @@ -1,365 +0,0 @@ ---- -name: github.com/hashicorp/hcl/hcl/parser -version: v1.0.0 -type: go -summary: Package parser implements a parser for HCL (HashiCorp Configuration Language) -homepage: https://pkg.go.dev/github.com/hashicorp/hcl/hcl/parser -license: mpl-2.0 -licenses: -- sources: hcl@v1.0.0/LICENSE - text: |+ - Mozilla Public License, version 2.0 - - 1. Definitions - - 1.1. “Contributor” - - means each individual or legal entity that creates, contributes to the - creation of, or owns Covered Software. - - 1.2. “Contributor Version” - - means the combination of the Contributions of others (if any) used by a - Contributor and that particular Contributor’s Contribution. - - 1.3. “Contribution” - - means Covered Software of a particular Contributor. - - 1.4. “Covered Software” - - means Source Code Form to which the initial Contributor has attached the - notice in Exhibit A, the Executable Form of such Source Code Form, and - Modifications of such Source Code Form, in each case including portions - thereof. - - 1.5. “Incompatible With Secondary Licenses” - means - - a. that the initial Contributor has attached the notice described in - Exhibit B to the Covered Software; or - - b. that the Covered Software was made available under the terms of version - 1.1 or earlier of the License, but not also under the terms of a - Secondary License. - - 1.6. “Executable Form” - - means any form of the work other than Source Code Form. - - 1.7. “Larger Work” - - means a work that combines Covered Software with other material, in a separate - file or files, that is not Covered Software. - - 1.8. “License” - - means this document. - - 1.9. “Licensable” - - means having the right to grant, to the maximum extent possible, whether at the - time of the initial grant or subsequently, any and all of the rights conveyed by - this License. - - 1.10. “Modifications” - - means any of the following: - - a. any file in Source Code Form that results from an addition to, deletion - from, or modification of the contents of Covered Software; or - - b. any new file in Source Code Form that contains any Covered Software. - - 1.11. “Patent Claims” of a Contributor - - means any patent claim(s), including without limitation, method, process, - and apparatus claims, in any patent Licensable by such Contributor that - would be infringed, but for the grant of the License, by the making, - using, selling, offering for sale, having made, import, or transfer of - either its Contributions or its Contributor Version. - - 1.12. “Secondary License” - - means either the GNU General Public License, Version 2.0, the GNU Lesser - General Public License, Version 2.1, the GNU Affero General Public - License, Version 3.0, or any later versions of those licenses. - - 1.13. “Source Code Form” - - means the form of the work preferred for making modifications. - - 1.14. “You” (or “Your”) - - means an individual or a legal entity exercising rights under this - License. For legal entities, “You” includes any entity that controls, is - controlled by, or is under common control with You. For purposes of this - definition, “control” means (a) the power, direct or indirect, to cause - the direction or management of such entity, whether by contract or - otherwise, or (b) ownership of more than fifty percent (50%) of the - outstanding shares or beneficial ownership of such entity. - - - 2. License Grants and Conditions - - 2.1. Grants - - Each Contributor hereby grants You a world-wide, royalty-free, - non-exclusive license: - - a. under intellectual property rights (other than patent or trademark) - Licensable by such Contributor to use, reproduce, make available, - modify, display, perform, distribute, and otherwise exploit its - Contributions, either on an unmodified basis, with Modifications, or as - part of a Larger Work; and - - b. under Patent Claims of such Contributor to make, use, sell, offer for - sale, have made, import, and otherwise transfer either its Contributions - or its Contributor Version. - - 2.2. Effective Date - - The licenses granted in Section 2.1 with respect to any Contribution become - effective for each Contribution on the date the Contributor first distributes - such Contribution. - - 2.3. Limitations on Grant Scope - - The licenses granted in this Section 2 are the only rights granted under this - License. No additional rights or licenses will be implied from the distribution - or licensing of Covered Software under this License. Notwithstanding Section - 2.1(b) above, no patent license is granted by a Contributor: - - a. for any code that a Contributor has removed from Covered Software; or - - b. for infringements caused by: (i) Your and any other third party’s - modifications of Covered Software, or (ii) the combination of its - Contributions with other software (except as part of its Contributor - Version); or - - c. under Patent Claims infringed by Covered Software in the absence of its - Contributions. - - This License does not grant any rights in the trademarks, service marks, or - logos of any Contributor (except as may be necessary to comply with the - notice requirements in Section 3.4). - - 2.4. Subsequent Licenses - - No Contributor makes additional grants as a result of Your choice to - distribute the Covered Software under a subsequent version of this License - (see Section 10.2) or under the terms of a Secondary License (if permitted - under the terms of Section 3.3). - - 2.5. Representation - - Each Contributor represents that the Contributor believes its Contributions - are its original creation(s) or it has sufficient rights to grant the - rights to its Contributions conveyed by this License. - - 2.6. Fair Use - - This License is not intended to limit any rights You have under applicable - copyright doctrines of fair use, fair dealing, or other equivalents. - - 2.7. Conditions - - Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in - Section 2.1. - - - 3. Responsibilities - - 3.1. Distribution of Source Form - - All distribution of Covered Software in Source Code Form, including any - Modifications that You create or to which You contribute, must be under the - terms of this License. You must inform recipients that the Source Code Form - of the Covered Software is governed by the terms of this License, and how - they can obtain a copy of this License. You may not attempt to alter or - restrict the recipients’ rights in the Source Code Form. - - 3.2. Distribution of Executable Form - - If You distribute Covered Software in Executable Form then: - - a. such Covered Software must also be made available in Source Code Form, - as described in Section 3.1, and You must inform recipients of the - Executable Form how they can obtain a copy of such Source Code Form by - reasonable means in a timely manner, at a charge no more than the cost - of distribution to the recipient; and - - b. You may distribute such Executable Form under the terms of this License, - or sublicense it under different terms, provided that the license for - the Executable Form does not attempt to limit or alter the recipients’ - rights in the Source Code Form under this License. - - 3.3. Distribution of a Larger Work - - You may create and distribute a Larger Work under terms of Your choice, - provided that You also comply with the requirements of this License for the - Covered Software. If the Larger Work is a combination of Covered Software - with a work governed by one or more Secondary Licenses, and the Covered - Software is not Incompatible With Secondary Licenses, this License permits - You to additionally distribute such Covered Software under the terms of - such Secondary License(s), so that the recipient of the Larger Work may, at - their option, further distribute the Covered Software under the terms of - either this License or such Secondary License(s). - - 3.4. Notices - - You may not remove or alter the substance of any license notices (including - copyright notices, patent notices, disclaimers of warranty, or limitations - of liability) contained within the Source Code Form of the Covered - Software, except that You may alter any license notices to the extent - required to remedy known factual inaccuracies. - - 3.5. Application of Additional Terms - - You may choose to offer, and to charge a fee for, warranty, support, - indemnity or liability obligations to one or more recipients of Covered - Software. However, You may do so only on Your own behalf, and not on behalf - of any Contributor. You must make it absolutely clear that any such - warranty, support, indemnity, or liability obligation is offered by You - alone, and You hereby agree to indemnify every Contributor for any - liability incurred by such Contributor as a result of warranty, support, - indemnity or liability terms You offer. You may include additional - disclaimers of warranty and limitations of liability specific to any - jurisdiction. - - 4. Inability to Comply Due to Statute or Regulation - - If it is impossible for You to comply with any of the terms of this License - with respect to some or all of the Covered Software due to statute, judicial - order, or regulation then You must: (a) comply with the terms of this License - to the maximum extent possible; and (b) describe the limitations and the code - they affect. Such description must be placed in a text file included with all - distributions of the Covered Software under this License. Except to the - extent prohibited by statute or regulation, such description must be - sufficiently detailed for a recipient of ordinary skill to be able to - understand it. - - 5. Termination - - 5.1. The rights granted under this License will terminate automatically if You - fail to comply with any of its terms. However, if You become compliant, - then the rights granted under this License from a particular Contributor - are reinstated (a) provisionally, unless and until such Contributor - explicitly and finally terminates Your grants, and (b) on an ongoing basis, - if such Contributor fails to notify You of the non-compliance by some - reasonable means prior to 60 days after You have come back into compliance. - Moreover, Your grants from a particular Contributor are reinstated on an - ongoing basis if such Contributor notifies You of the non-compliance by - some reasonable means, this is the first time You have received notice of - non-compliance with this License from such Contributor, and You become - compliant prior to 30 days after Your receipt of the notice. - - 5.2. If You initiate litigation against any entity by asserting a patent - infringement claim (excluding declaratory judgment actions, counter-claims, - and cross-claims) alleging that a Contributor Version directly or - indirectly infringes any patent, then the rights granted to You by any and - all Contributors for the Covered Software under Section 2.1 of this License - shall terminate. - - 5.3. In the event of termination under Sections 5.1 or 5.2 above, all end user - license agreements (excluding distributors and resellers) which have been - validly granted by You or Your distributors under this License prior to - termination shall survive termination. - - 6. Disclaimer of Warranty - - Covered Software is provided under this License on an “as is” basis, without - warranty of any kind, either expressed, implied, or statutory, including, - without limitation, warranties that the Covered Software is free of defects, - merchantable, fit for a particular purpose or non-infringing. The entire - risk as to the quality and performance of the Covered Software is with You. - Should any Covered Software prove defective in any respect, You (not any - Contributor) assume the cost of any necessary servicing, repair, or - correction. This disclaimer of warranty constitutes an essential part of this - License. No use of any Covered Software is authorized under this License - except under this disclaimer. - - 7. Limitation of Liability - - Under no circumstances and under no legal theory, whether tort (including - negligence), contract, or otherwise, shall any Contributor, or anyone who - distributes Covered Software as permitted above, be liable to You for any - direct, indirect, special, incidental, or consequential damages of any - character including, without limitation, damages for lost profits, loss of - goodwill, work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses, even if such party shall have been - informed of the possibility of such damages. This limitation of liability - shall not apply to liability for death or personal injury resulting from such - party’s negligence to the extent applicable law prohibits such limitation. - Some jurisdictions do not allow the exclusion or limitation of incidental or - consequential damages, so this exclusion and limitation may not apply to You. - - 8. Litigation - - Any litigation relating to this License may be brought only in the courts of - a jurisdiction where the defendant maintains its principal place of business - and such litigation shall be governed by laws of that jurisdiction, without - reference to its conflict-of-law provisions. Nothing in this Section shall - prevent a party’s ability to bring cross-claims or counter-claims. - - 9. Miscellaneous - - This License represents the complete agreement concerning the subject matter - hereof. If any provision of this License is held to be unenforceable, such - provision shall be reformed only to the extent necessary to make it - enforceable. Any law or regulation which provides that the language of a - contract shall be construed against the drafter shall not be used to construe - this License against a Contributor. - - - 10. Versions of the License - - 10.1. New Versions - - Mozilla Foundation is the license steward. Except as provided in Section - 10.3, no one other than the license steward has the right to modify or - publish new versions of this License. Each version will be given a - distinguishing version number. - - 10.2. Effect of New Versions - - You may distribute the Covered Software under the terms of the version of - the License under which You originally received the Covered Software, or - under the terms of any subsequent version published by the license - steward. - - 10.3. Modified Versions - - If you create software not governed by this License, and you want to - create a new license for such software, you may create and use a modified - version of this License if you rename the license and remove any - references to the name of the license steward (except to note that such - modified license differs from this License). - - 10.4. Distributing Source Code Form that is Incompatible With Secondary Licenses - If You choose to distribute Source Code Form that is Incompatible With - Secondary Licenses under the terms of this version of the License, the - notice described in Exhibit B of this License must be attached. - - Exhibit A - Source Code Form License Notice - - This Source Code Form is subject to the - terms of the Mozilla Public License, v. - 2.0. If a copy of the MPL was not - distributed with this file, You can - obtain one at - http://mozilla.org/MPL/2.0/. - - If it is not possible or desirable to put the notice in a particular file, then - You may include the notice in a location (such as a LICENSE file in a relevant - directory) where a recipient would be likely to look for such a notice. - - You may add additional accurate notices of copyright ownership. - - Exhibit B - “Incompatible With Secondary Licenses” Notice - - This Source Code Form is “Incompatible - With Secondary Licenses”, as defined by - the Mozilla Public License, v. 2.0. - -notices: [] diff --git a/.licenses/go/github.com/hashicorp/hcl/hcl/printer.dep.yml b/.licenses/go/github.com/hashicorp/hcl/hcl/printer.dep.yml deleted file mode 100644 index 51a38c946fb..00000000000 --- a/.licenses/go/github.com/hashicorp/hcl/hcl/printer.dep.yml +++ /dev/null @@ -1,365 +0,0 @@ ---- -name: github.com/hashicorp/hcl/hcl/printer -version: v1.0.0 -type: go -summary: Package printer implements printing of AST nodes to HCL format. -homepage: https://pkg.go.dev/github.com/hashicorp/hcl/hcl/printer -license: mpl-2.0 -licenses: -- sources: hcl@v1.0.0/LICENSE - text: |+ - Mozilla Public License, version 2.0 - - 1. Definitions - - 1.1. “Contributor” - - means each individual or legal entity that creates, contributes to the - creation of, or owns Covered Software. - - 1.2. “Contributor Version” - - means the combination of the Contributions of others (if any) used by a - Contributor and that particular Contributor’s Contribution. - - 1.3. “Contribution” - - means Covered Software of a particular Contributor. - - 1.4. “Covered Software” - - means Source Code Form to which the initial Contributor has attached the - notice in Exhibit A, the Executable Form of such Source Code Form, and - Modifications of such Source Code Form, in each case including portions - thereof. - - 1.5. “Incompatible With Secondary Licenses” - means - - a. that the initial Contributor has attached the notice described in - Exhibit B to the Covered Software; or - - b. that the Covered Software was made available under the terms of version - 1.1 or earlier of the License, but not also under the terms of a - Secondary License. - - 1.6. “Executable Form” - - means any form of the work other than Source Code Form. - - 1.7. “Larger Work” - - means a work that combines Covered Software with other material, in a separate - file or files, that is not Covered Software. - - 1.8. “License” - - means this document. - - 1.9. “Licensable” - - means having the right to grant, to the maximum extent possible, whether at the - time of the initial grant or subsequently, any and all of the rights conveyed by - this License. - - 1.10. “Modifications” - - means any of the following: - - a. any file in Source Code Form that results from an addition to, deletion - from, or modification of the contents of Covered Software; or - - b. any new file in Source Code Form that contains any Covered Software. - - 1.11. “Patent Claims” of a Contributor - - means any patent claim(s), including without limitation, method, process, - and apparatus claims, in any patent Licensable by such Contributor that - would be infringed, but for the grant of the License, by the making, - using, selling, offering for sale, having made, import, or transfer of - either its Contributions or its Contributor Version. - - 1.12. “Secondary License” - - means either the GNU General Public License, Version 2.0, the GNU Lesser - General Public License, Version 2.1, the GNU Affero General Public - License, Version 3.0, or any later versions of those licenses. - - 1.13. “Source Code Form” - - means the form of the work preferred for making modifications. - - 1.14. “You” (or “Your”) - - means an individual or a legal entity exercising rights under this - License. For legal entities, “You” includes any entity that controls, is - controlled by, or is under common control with You. For purposes of this - definition, “control” means (a) the power, direct or indirect, to cause - the direction or management of such entity, whether by contract or - otherwise, or (b) ownership of more than fifty percent (50%) of the - outstanding shares or beneficial ownership of such entity. - - - 2. License Grants and Conditions - - 2.1. Grants - - Each Contributor hereby grants You a world-wide, royalty-free, - non-exclusive license: - - a. under intellectual property rights (other than patent or trademark) - Licensable by such Contributor to use, reproduce, make available, - modify, display, perform, distribute, and otherwise exploit its - Contributions, either on an unmodified basis, with Modifications, or as - part of a Larger Work; and - - b. under Patent Claims of such Contributor to make, use, sell, offer for - sale, have made, import, and otherwise transfer either its Contributions - or its Contributor Version. - - 2.2. Effective Date - - The licenses granted in Section 2.1 with respect to any Contribution become - effective for each Contribution on the date the Contributor first distributes - such Contribution. - - 2.3. Limitations on Grant Scope - - The licenses granted in this Section 2 are the only rights granted under this - License. No additional rights or licenses will be implied from the distribution - or licensing of Covered Software under this License. Notwithstanding Section - 2.1(b) above, no patent license is granted by a Contributor: - - a. for any code that a Contributor has removed from Covered Software; or - - b. for infringements caused by: (i) Your and any other third party’s - modifications of Covered Software, or (ii) the combination of its - Contributions with other software (except as part of its Contributor - Version); or - - c. under Patent Claims infringed by Covered Software in the absence of its - Contributions. - - This License does not grant any rights in the trademarks, service marks, or - logos of any Contributor (except as may be necessary to comply with the - notice requirements in Section 3.4). - - 2.4. Subsequent Licenses - - No Contributor makes additional grants as a result of Your choice to - distribute the Covered Software under a subsequent version of this License - (see Section 10.2) or under the terms of a Secondary License (if permitted - under the terms of Section 3.3). - - 2.5. Representation - - Each Contributor represents that the Contributor believes its Contributions - are its original creation(s) or it has sufficient rights to grant the - rights to its Contributions conveyed by this License. - - 2.6. Fair Use - - This License is not intended to limit any rights You have under applicable - copyright doctrines of fair use, fair dealing, or other equivalents. - - 2.7. Conditions - - Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in - Section 2.1. - - - 3. Responsibilities - - 3.1. Distribution of Source Form - - All distribution of Covered Software in Source Code Form, including any - Modifications that You create or to which You contribute, must be under the - terms of this License. You must inform recipients that the Source Code Form - of the Covered Software is governed by the terms of this License, and how - they can obtain a copy of this License. You may not attempt to alter or - restrict the recipients’ rights in the Source Code Form. - - 3.2. Distribution of Executable Form - - If You distribute Covered Software in Executable Form then: - - a. such Covered Software must also be made available in Source Code Form, - as described in Section 3.1, and You must inform recipients of the - Executable Form how they can obtain a copy of such Source Code Form by - reasonable means in a timely manner, at a charge no more than the cost - of distribution to the recipient; and - - b. You may distribute such Executable Form under the terms of this License, - or sublicense it under different terms, provided that the license for - the Executable Form does not attempt to limit or alter the recipients’ - rights in the Source Code Form under this License. - - 3.3. Distribution of a Larger Work - - You may create and distribute a Larger Work under terms of Your choice, - provided that You also comply with the requirements of this License for the - Covered Software. If the Larger Work is a combination of Covered Software - with a work governed by one or more Secondary Licenses, and the Covered - Software is not Incompatible With Secondary Licenses, this License permits - You to additionally distribute such Covered Software under the terms of - such Secondary License(s), so that the recipient of the Larger Work may, at - their option, further distribute the Covered Software under the terms of - either this License or such Secondary License(s). - - 3.4. Notices - - You may not remove or alter the substance of any license notices (including - copyright notices, patent notices, disclaimers of warranty, or limitations - of liability) contained within the Source Code Form of the Covered - Software, except that You may alter any license notices to the extent - required to remedy known factual inaccuracies. - - 3.5. Application of Additional Terms - - You may choose to offer, and to charge a fee for, warranty, support, - indemnity or liability obligations to one or more recipients of Covered - Software. However, You may do so only on Your own behalf, and not on behalf - of any Contributor. You must make it absolutely clear that any such - warranty, support, indemnity, or liability obligation is offered by You - alone, and You hereby agree to indemnify every Contributor for any - liability incurred by such Contributor as a result of warranty, support, - indemnity or liability terms You offer. You may include additional - disclaimers of warranty and limitations of liability specific to any - jurisdiction. - - 4. Inability to Comply Due to Statute or Regulation - - If it is impossible for You to comply with any of the terms of this License - with respect to some or all of the Covered Software due to statute, judicial - order, or regulation then You must: (a) comply with the terms of this License - to the maximum extent possible; and (b) describe the limitations and the code - they affect. Such description must be placed in a text file included with all - distributions of the Covered Software under this License. Except to the - extent prohibited by statute or regulation, such description must be - sufficiently detailed for a recipient of ordinary skill to be able to - understand it. - - 5. Termination - - 5.1. The rights granted under this License will terminate automatically if You - fail to comply with any of its terms. However, if You become compliant, - then the rights granted under this License from a particular Contributor - are reinstated (a) provisionally, unless and until such Contributor - explicitly and finally terminates Your grants, and (b) on an ongoing basis, - if such Contributor fails to notify You of the non-compliance by some - reasonable means prior to 60 days after You have come back into compliance. - Moreover, Your grants from a particular Contributor are reinstated on an - ongoing basis if such Contributor notifies You of the non-compliance by - some reasonable means, this is the first time You have received notice of - non-compliance with this License from such Contributor, and You become - compliant prior to 30 days after Your receipt of the notice. - - 5.2. If You initiate litigation against any entity by asserting a patent - infringement claim (excluding declaratory judgment actions, counter-claims, - and cross-claims) alleging that a Contributor Version directly or - indirectly infringes any patent, then the rights granted to You by any and - all Contributors for the Covered Software under Section 2.1 of this License - shall terminate. - - 5.3. In the event of termination under Sections 5.1 or 5.2 above, all end user - license agreements (excluding distributors and resellers) which have been - validly granted by You or Your distributors under this License prior to - termination shall survive termination. - - 6. Disclaimer of Warranty - - Covered Software is provided under this License on an “as is” basis, without - warranty of any kind, either expressed, implied, or statutory, including, - without limitation, warranties that the Covered Software is free of defects, - merchantable, fit for a particular purpose or non-infringing. The entire - risk as to the quality and performance of the Covered Software is with You. - Should any Covered Software prove defective in any respect, You (not any - Contributor) assume the cost of any necessary servicing, repair, or - correction. This disclaimer of warranty constitutes an essential part of this - License. No use of any Covered Software is authorized under this License - except under this disclaimer. - - 7. Limitation of Liability - - Under no circumstances and under no legal theory, whether tort (including - negligence), contract, or otherwise, shall any Contributor, or anyone who - distributes Covered Software as permitted above, be liable to You for any - direct, indirect, special, incidental, or consequential damages of any - character including, without limitation, damages for lost profits, loss of - goodwill, work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses, even if such party shall have been - informed of the possibility of such damages. This limitation of liability - shall not apply to liability for death or personal injury resulting from such - party’s negligence to the extent applicable law prohibits such limitation. - Some jurisdictions do not allow the exclusion or limitation of incidental or - consequential damages, so this exclusion and limitation may not apply to You. - - 8. Litigation - - Any litigation relating to this License may be brought only in the courts of - a jurisdiction where the defendant maintains its principal place of business - and such litigation shall be governed by laws of that jurisdiction, without - reference to its conflict-of-law provisions. Nothing in this Section shall - prevent a party’s ability to bring cross-claims or counter-claims. - - 9. Miscellaneous - - This License represents the complete agreement concerning the subject matter - hereof. If any provision of this License is held to be unenforceable, such - provision shall be reformed only to the extent necessary to make it - enforceable. Any law or regulation which provides that the language of a - contract shall be construed against the drafter shall not be used to construe - this License against a Contributor. - - - 10. Versions of the License - - 10.1. New Versions - - Mozilla Foundation is the license steward. Except as provided in Section - 10.3, no one other than the license steward has the right to modify or - publish new versions of this License. Each version will be given a - distinguishing version number. - - 10.2. Effect of New Versions - - You may distribute the Covered Software under the terms of the version of - the License under which You originally received the Covered Software, or - under the terms of any subsequent version published by the license - steward. - - 10.3. Modified Versions - - If you create software not governed by this License, and you want to - create a new license for such software, you may create and use a modified - version of this License if you rename the license and remove any - references to the name of the license steward (except to note that such - modified license differs from this License). - - 10.4. Distributing Source Code Form that is Incompatible With Secondary Licenses - If You choose to distribute Source Code Form that is Incompatible With - Secondary Licenses under the terms of this version of the License, the - notice described in Exhibit B of this License must be attached. - - Exhibit A - Source Code Form License Notice - - This Source Code Form is subject to the - terms of the Mozilla Public License, v. - 2.0. If a copy of the MPL was not - distributed with this file, You can - obtain one at - http://mozilla.org/MPL/2.0/. - - If it is not possible or desirable to put the notice in a particular file, then - You may include the notice in a location (such as a LICENSE file in a relevant - directory) where a recipient would be likely to look for such a notice. - - You may add additional accurate notices of copyright ownership. - - Exhibit B - “Incompatible With Secondary Licenses” Notice - - This Source Code Form is “Incompatible - With Secondary Licenses”, as defined by - the Mozilla Public License, v. 2.0. - -notices: [] diff --git a/.licenses/go/github.com/hashicorp/hcl/hcl/scanner.dep.yml b/.licenses/go/github.com/hashicorp/hcl/hcl/scanner.dep.yml deleted file mode 100644 index a3312d03414..00000000000 --- a/.licenses/go/github.com/hashicorp/hcl/hcl/scanner.dep.yml +++ /dev/null @@ -1,366 +0,0 @@ ---- -name: github.com/hashicorp/hcl/hcl/scanner -version: v1.0.0 -type: go -summary: Package scanner implements a scanner for HCL (HashiCorp Configuration Language) - source text. -homepage: https://pkg.go.dev/github.com/hashicorp/hcl/hcl/scanner -license: mpl-2.0 -licenses: -- sources: hcl@v1.0.0/LICENSE - text: |+ - Mozilla Public License, version 2.0 - - 1. Definitions - - 1.1. “Contributor” - - means each individual or legal entity that creates, contributes to the - creation of, or owns Covered Software. - - 1.2. “Contributor Version” - - means the combination of the Contributions of others (if any) used by a - Contributor and that particular Contributor’s Contribution. - - 1.3. “Contribution” - - means Covered Software of a particular Contributor. - - 1.4. “Covered Software” - - means Source Code Form to which the initial Contributor has attached the - notice in Exhibit A, the Executable Form of such Source Code Form, and - Modifications of such Source Code Form, in each case including portions - thereof. - - 1.5. “Incompatible With Secondary Licenses” - means - - a. that the initial Contributor has attached the notice described in - Exhibit B to the Covered Software; or - - b. that the Covered Software was made available under the terms of version - 1.1 or earlier of the License, but not also under the terms of a - Secondary License. - - 1.6. “Executable Form” - - means any form of the work other than Source Code Form. - - 1.7. “Larger Work” - - means a work that combines Covered Software with other material, in a separate - file or files, that is not Covered Software. - - 1.8. “License” - - means this document. - - 1.9. “Licensable” - - means having the right to grant, to the maximum extent possible, whether at the - time of the initial grant or subsequently, any and all of the rights conveyed by - this License. - - 1.10. “Modifications” - - means any of the following: - - a. any file in Source Code Form that results from an addition to, deletion - from, or modification of the contents of Covered Software; or - - b. any new file in Source Code Form that contains any Covered Software. - - 1.11. “Patent Claims” of a Contributor - - means any patent claim(s), including without limitation, method, process, - and apparatus claims, in any patent Licensable by such Contributor that - would be infringed, but for the grant of the License, by the making, - using, selling, offering for sale, having made, import, or transfer of - either its Contributions or its Contributor Version. - - 1.12. “Secondary License” - - means either the GNU General Public License, Version 2.0, the GNU Lesser - General Public License, Version 2.1, the GNU Affero General Public - License, Version 3.0, or any later versions of those licenses. - - 1.13. “Source Code Form” - - means the form of the work preferred for making modifications. - - 1.14. “You” (or “Your”) - - means an individual or a legal entity exercising rights under this - License. For legal entities, “You” includes any entity that controls, is - controlled by, or is under common control with You. For purposes of this - definition, “control” means (a) the power, direct or indirect, to cause - the direction or management of such entity, whether by contract or - otherwise, or (b) ownership of more than fifty percent (50%) of the - outstanding shares or beneficial ownership of such entity. - - - 2. License Grants and Conditions - - 2.1. Grants - - Each Contributor hereby grants You a world-wide, royalty-free, - non-exclusive license: - - a. under intellectual property rights (other than patent or trademark) - Licensable by such Contributor to use, reproduce, make available, - modify, display, perform, distribute, and otherwise exploit its - Contributions, either on an unmodified basis, with Modifications, or as - part of a Larger Work; and - - b. under Patent Claims of such Contributor to make, use, sell, offer for - sale, have made, import, and otherwise transfer either its Contributions - or its Contributor Version. - - 2.2. Effective Date - - The licenses granted in Section 2.1 with respect to any Contribution become - effective for each Contribution on the date the Contributor first distributes - such Contribution. - - 2.3. Limitations on Grant Scope - - The licenses granted in this Section 2 are the only rights granted under this - License. No additional rights or licenses will be implied from the distribution - or licensing of Covered Software under this License. Notwithstanding Section - 2.1(b) above, no patent license is granted by a Contributor: - - a. for any code that a Contributor has removed from Covered Software; or - - b. for infringements caused by: (i) Your and any other third party’s - modifications of Covered Software, or (ii) the combination of its - Contributions with other software (except as part of its Contributor - Version); or - - c. under Patent Claims infringed by Covered Software in the absence of its - Contributions. - - This License does not grant any rights in the trademarks, service marks, or - logos of any Contributor (except as may be necessary to comply with the - notice requirements in Section 3.4). - - 2.4. Subsequent Licenses - - No Contributor makes additional grants as a result of Your choice to - distribute the Covered Software under a subsequent version of this License - (see Section 10.2) or under the terms of a Secondary License (if permitted - under the terms of Section 3.3). - - 2.5. Representation - - Each Contributor represents that the Contributor believes its Contributions - are its original creation(s) or it has sufficient rights to grant the - rights to its Contributions conveyed by this License. - - 2.6. Fair Use - - This License is not intended to limit any rights You have under applicable - copyright doctrines of fair use, fair dealing, or other equivalents. - - 2.7. Conditions - - Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in - Section 2.1. - - - 3. Responsibilities - - 3.1. Distribution of Source Form - - All distribution of Covered Software in Source Code Form, including any - Modifications that You create or to which You contribute, must be under the - terms of this License. You must inform recipients that the Source Code Form - of the Covered Software is governed by the terms of this License, and how - they can obtain a copy of this License. You may not attempt to alter or - restrict the recipients’ rights in the Source Code Form. - - 3.2. Distribution of Executable Form - - If You distribute Covered Software in Executable Form then: - - a. such Covered Software must also be made available in Source Code Form, - as described in Section 3.1, and You must inform recipients of the - Executable Form how they can obtain a copy of such Source Code Form by - reasonable means in a timely manner, at a charge no more than the cost - of distribution to the recipient; and - - b. You may distribute such Executable Form under the terms of this License, - or sublicense it under different terms, provided that the license for - the Executable Form does not attempt to limit or alter the recipients’ - rights in the Source Code Form under this License. - - 3.3. Distribution of a Larger Work - - You may create and distribute a Larger Work under terms of Your choice, - provided that You also comply with the requirements of this License for the - Covered Software. If the Larger Work is a combination of Covered Software - with a work governed by one or more Secondary Licenses, and the Covered - Software is not Incompatible With Secondary Licenses, this License permits - You to additionally distribute such Covered Software under the terms of - such Secondary License(s), so that the recipient of the Larger Work may, at - their option, further distribute the Covered Software under the terms of - either this License or such Secondary License(s). - - 3.4. Notices - - You may not remove or alter the substance of any license notices (including - copyright notices, patent notices, disclaimers of warranty, or limitations - of liability) contained within the Source Code Form of the Covered - Software, except that You may alter any license notices to the extent - required to remedy known factual inaccuracies. - - 3.5. Application of Additional Terms - - You may choose to offer, and to charge a fee for, warranty, support, - indemnity or liability obligations to one or more recipients of Covered - Software. However, You may do so only on Your own behalf, and not on behalf - of any Contributor. You must make it absolutely clear that any such - warranty, support, indemnity, or liability obligation is offered by You - alone, and You hereby agree to indemnify every Contributor for any - liability incurred by such Contributor as a result of warranty, support, - indemnity or liability terms You offer. You may include additional - disclaimers of warranty and limitations of liability specific to any - jurisdiction. - - 4. Inability to Comply Due to Statute or Regulation - - If it is impossible for You to comply with any of the terms of this License - with respect to some or all of the Covered Software due to statute, judicial - order, or regulation then You must: (a) comply with the terms of this License - to the maximum extent possible; and (b) describe the limitations and the code - they affect. Such description must be placed in a text file included with all - distributions of the Covered Software under this License. Except to the - extent prohibited by statute or regulation, such description must be - sufficiently detailed for a recipient of ordinary skill to be able to - understand it. - - 5. Termination - - 5.1. The rights granted under this License will terminate automatically if You - fail to comply with any of its terms. However, if You become compliant, - then the rights granted under this License from a particular Contributor - are reinstated (a) provisionally, unless and until such Contributor - explicitly and finally terminates Your grants, and (b) on an ongoing basis, - if such Contributor fails to notify You of the non-compliance by some - reasonable means prior to 60 days after You have come back into compliance. - Moreover, Your grants from a particular Contributor are reinstated on an - ongoing basis if such Contributor notifies You of the non-compliance by - some reasonable means, this is the first time You have received notice of - non-compliance with this License from such Contributor, and You become - compliant prior to 30 days after Your receipt of the notice. - - 5.2. If You initiate litigation against any entity by asserting a patent - infringement claim (excluding declaratory judgment actions, counter-claims, - and cross-claims) alleging that a Contributor Version directly or - indirectly infringes any patent, then the rights granted to You by any and - all Contributors for the Covered Software under Section 2.1 of this License - shall terminate. - - 5.3. In the event of termination under Sections 5.1 or 5.2 above, all end user - license agreements (excluding distributors and resellers) which have been - validly granted by You or Your distributors under this License prior to - termination shall survive termination. - - 6. Disclaimer of Warranty - - Covered Software is provided under this License on an “as is” basis, without - warranty of any kind, either expressed, implied, or statutory, including, - without limitation, warranties that the Covered Software is free of defects, - merchantable, fit for a particular purpose or non-infringing. The entire - risk as to the quality and performance of the Covered Software is with You. - Should any Covered Software prove defective in any respect, You (not any - Contributor) assume the cost of any necessary servicing, repair, or - correction. This disclaimer of warranty constitutes an essential part of this - License. No use of any Covered Software is authorized under this License - except under this disclaimer. - - 7. Limitation of Liability - - Under no circumstances and under no legal theory, whether tort (including - negligence), contract, or otherwise, shall any Contributor, or anyone who - distributes Covered Software as permitted above, be liable to You for any - direct, indirect, special, incidental, or consequential damages of any - character including, without limitation, damages for lost profits, loss of - goodwill, work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses, even if such party shall have been - informed of the possibility of such damages. This limitation of liability - shall not apply to liability for death or personal injury resulting from such - party’s negligence to the extent applicable law prohibits such limitation. - Some jurisdictions do not allow the exclusion or limitation of incidental or - consequential damages, so this exclusion and limitation may not apply to You. - - 8. Litigation - - Any litigation relating to this License may be brought only in the courts of - a jurisdiction where the defendant maintains its principal place of business - and such litigation shall be governed by laws of that jurisdiction, without - reference to its conflict-of-law provisions. Nothing in this Section shall - prevent a party’s ability to bring cross-claims or counter-claims. - - 9. Miscellaneous - - This License represents the complete agreement concerning the subject matter - hereof. If any provision of this License is held to be unenforceable, such - provision shall be reformed only to the extent necessary to make it - enforceable. Any law or regulation which provides that the language of a - contract shall be construed against the drafter shall not be used to construe - this License against a Contributor. - - - 10. Versions of the License - - 10.1. New Versions - - Mozilla Foundation is the license steward. Except as provided in Section - 10.3, no one other than the license steward has the right to modify or - publish new versions of this License. Each version will be given a - distinguishing version number. - - 10.2. Effect of New Versions - - You may distribute the Covered Software under the terms of the version of - the License under which You originally received the Covered Software, or - under the terms of any subsequent version published by the license - steward. - - 10.3. Modified Versions - - If you create software not governed by this License, and you want to - create a new license for such software, you may create and use a modified - version of this License if you rename the license and remove any - references to the name of the license steward (except to note that such - modified license differs from this License). - - 10.4. Distributing Source Code Form that is Incompatible With Secondary Licenses - If You choose to distribute Source Code Form that is Incompatible With - Secondary Licenses under the terms of this version of the License, the - notice described in Exhibit B of this License must be attached. - - Exhibit A - Source Code Form License Notice - - This Source Code Form is subject to the - terms of the Mozilla Public License, v. - 2.0. If a copy of the MPL was not - distributed with this file, You can - obtain one at - http://mozilla.org/MPL/2.0/. - - If it is not possible or desirable to put the notice in a particular file, then - You may include the notice in a location (such as a LICENSE file in a relevant - directory) where a recipient would be likely to look for such a notice. - - You may add additional accurate notices of copyright ownership. - - Exhibit B - “Incompatible With Secondary Licenses” Notice - - This Source Code Form is “Incompatible - With Secondary Licenses”, as defined by - the Mozilla Public License, v. 2.0. - -notices: [] diff --git a/.licenses/go/github.com/hashicorp/hcl/hcl/strconv.dep.yml b/.licenses/go/github.com/hashicorp/hcl/hcl/strconv.dep.yml deleted file mode 100644 index 313c4501f51..00000000000 --- a/.licenses/go/github.com/hashicorp/hcl/hcl/strconv.dep.yml +++ /dev/null @@ -1,365 +0,0 @@ ---- -name: github.com/hashicorp/hcl/hcl/strconv -version: v1.0.0 -type: go -summary: -homepage: https://pkg.go.dev/github.com/hashicorp/hcl/hcl/strconv -license: mpl-2.0 -licenses: -- sources: hcl@v1.0.0/LICENSE - text: |+ - Mozilla Public License, version 2.0 - - 1. Definitions - - 1.1. “Contributor” - - means each individual or legal entity that creates, contributes to the - creation of, or owns Covered Software. - - 1.2. “Contributor Version” - - means the combination of the Contributions of others (if any) used by a - Contributor and that particular Contributor’s Contribution. - - 1.3. “Contribution” - - means Covered Software of a particular Contributor. - - 1.4. “Covered Software” - - means Source Code Form to which the initial Contributor has attached the - notice in Exhibit A, the Executable Form of such Source Code Form, and - Modifications of such Source Code Form, in each case including portions - thereof. - - 1.5. “Incompatible With Secondary Licenses” - means - - a. that the initial Contributor has attached the notice described in - Exhibit B to the Covered Software; or - - b. that the Covered Software was made available under the terms of version - 1.1 or earlier of the License, but not also under the terms of a - Secondary License. - - 1.6. “Executable Form” - - means any form of the work other than Source Code Form. - - 1.7. “Larger Work” - - means a work that combines Covered Software with other material, in a separate - file or files, that is not Covered Software. - - 1.8. “License” - - means this document. - - 1.9. “Licensable” - - means having the right to grant, to the maximum extent possible, whether at the - time of the initial grant or subsequently, any and all of the rights conveyed by - this License. - - 1.10. “Modifications” - - means any of the following: - - a. any file in Source Code Form that results from an addition to, deletion - from, or modification of the contents of Covered Software; or - - b. any new file in Source Code Form that contains any Covered Software. - - 1.11. “Patent Claims” of a Contributor - - means any patent claim(s), including without limitation, method, process, - and apparatus claims, in any patent Licensable by such Contributor that - would be infringed, but for the grant of the License, by the making, - using, selling, offering for sale, having made, import, or transfer of - either its Contributions or its Contributor Version. - - 1.12. “Secondary License” - - means either the GNU General Public License, Version 2.0, the GNU Lesser - General Public License, Version 2.1, the GNU Affero General Public - License, Version 3.0, or any later versions of those licenses. - - 1.13. “Source Code Form” - - means the form of the work preferred for making modifications. - - 1.14. “You” (or “Your”) - - means an individual or a legal entity exercising rights under this - License. For legal entities, “You” includes any entity that controls, is - controlled by, or is under common control with You. For purposes of this - definition, “control” means (a) the power, direct or indirect, to cause - the direction or management of such entity, whether by contract or - otherwise, or (b) ownership of more than fifty percent (50%) of the - outstanding shares or beneficial ownership of such entity. - - - 2. License Grants and Conditions - - 2.1. Grants - - Each Contributor hereby grants You a world-wide, royalty-free, - non-exclusive license: - - a. under intellectual property rights (other than patent or trademark) - Licensable by such Contributor to use, reproduce, make available, - modify, display, perform, distribute, and otherwise exploit its - Contributions, either on an unmodified basis, with Modifications, or as - part of a Larger Work; and - - b. under Patent Claims of such Contributor to make, use, sell, offer for - sale, have made, import, and otherwise transfer either its Contributions - or its Contributor Version. - - 2.2. Effective Date - - The licenses granted in Section 2.1 with respect to any Contribution become - effective for each Contribution on the date the Contributor first distributes - such Contribution. - - 2.3. Limitations on Grant Scope - - The licenses granted in this Section 2 are the only rights granted under this - License. No additional rights or licenses will be implied from the distribution - or licensing of Covered Software under this License. Notwithstanding Section - 2.1(b) above, no patent license is granted by a Contributor: - - a. for any code that a Contributor has removed from Covered Software; or - - b. for infringements caused by: (i) Your and any other third party’s - modifications of Covered Software, or (ii) the combination of its - Contributions with other software (except as part of its Contributor - Version); or - - c. under Patent Claims infringed by Covered Software in the absence of its - Contributions. - - This License does not grant any rights in the trademarks, service marks, or - logos of any Contributor (except as may be necessary to comply with the - notice requirements in Section 3.4). - - 2.4. Subsequent Licenses - - No Contributor makes additional grants as a result of Your choice to - distribute the Covered Software under a subsequent version of this License - (see Section 10.2) or under the terms of a Secondary License (if permitted - under the terms of Section 3.3). - - 2.5. Representation - - Each Contributor represents that the Contributor believes its Contributions - are its original creation(s) or it has sufficient rights to grant the - rights to its Contributions conveyed by this License. - - 2.6. Fair Use - - This License is not intended to limit any rights You have under applicable - copyright doctrines of fair use, fair dealing, or other equivalents. - - 2.7. Conditions - - Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in - Section 2.1. - - - 3. Responsibilities - - 3.1. Distribution of Source Form - - All distribution of Covered Software in Source Code Form, including any - Modifications that You create or to which You contribute, must be under the - terms of this License. You must inform recipients that the Source Code Form - of the Covered Software is governed by the terms of this License, and how - they can obtain a copy of this License. You may not attempt to alter or - restrict the recipients’ rights in the Source Code Form. - - 3.2. Distribution of Executable Form - - If You distribute Covered Software in Executable Form then: - - a. such Covered Software must also be made available in Source Code Form, - as described in Section 3.1, and You must inform recipients of the - Executable Form how they can obtain a copy of such Source Code Form by - reasonable means in a timely manner, at a charge no more than the cost - of distribution to the recipient; and - - b. You may distribute such Executable Form under the terms of this License, - or sublicense it under different terms, provided that the license for - the Executable Form does not attempt to limit or alter the recipients’ - rights in the Source Code Form under this License. - - 3.3. Distribution of a Larger Work - - You may create and distribute a Larger Work under terms of Your choice, - provided that You also comply with the requirements of this License for the - Covered Software. If the Larger Work is a combination of Covered Software - with a work governed by one or more Secondary Licenses, and the Covered - Software is not Incompatible With Secondary Licenses, this License permits - You to additionally distribute such Covered Software under the terms of - such Secondary License(s), so that the recipient of the Larger Work may, at - their option, further distribute the Covered Software under the terms of - either this License or such Secondary License(s). - - 3.4. Notices - - You may not remove or alter the substance of any license notices (including - copyright notices, patent notices, disclaimers of warranty, or limitations - of liability) contained within the Source Code Form of the Covered - Software, except that You may alter any license notices to the extent - required to remedy known factual inaccuracies. - - 3.5. Application of Additional Terms - - You may choose to offer, and to charge a fee for, warranty, support, - indemnity or liability obligations to one or more recipients of Covered - Software. However, You may do so only on Your own behalf, and not on behalf - of any Contributor. You must make it absolutely clear that any such - warranty, support, indemnity, or liability obligation is offered by You - alone, and You hereby agree to indemnify every Contributor for any - liability incurred by such Contributor as a result of warranty, support, - indemnity or liability terms You offer. You may include additional - disclaimers of warranty and limitations of liability specific to any - jurisdiction. - - 4. Inability to Comply Due to Statute or Regulation - - If it is impossible for You to comply with any of the terms of this License - with respect to some or all of the Covered Software due to statute, judicial - order, or regulation then You must: (a) comply with the terms of this License - to the maximum extent possible; and (b) describe the limitations and the code - they affect. Such description must be placed in a text file included with all - distributions of the Covered Software under this License. Except to the - extent prohibited by statute or regulation, such description must be - sufficiently detailed for a recipient of ordinary skill to be able to - understand it. - - 5. Termination - - 5.1. The rights granted under this License will terminate automatically if You - fail to comply with any of its terms. However, if You become compliant, - then the rights granted under this License from a particular Contributor - are reinstated (a) provisionally, unless and until such Contributor - explicitly and finally terminates Your grants, and (b) on an ongoing basis, - if such Contributor fails to notify You of the non-compliance by some - reasonable means prior to 60 days after You have come back into compliance. - Moreover, Your grants from a particular Contributor are reinstated on an - ongoing basis if such Contributor notifies You of the non-compliance by - some reasonable means, this is the first time You have received notice of - non-compliance with this License from such Contributor, and You become - compliant prior to 30 days after Your receipt of the notice. - - 5.2. If You initiate litigation against any entity by asserting a patent - infringement claim (excluding declaratory judgment actions, counter-claims, - and cross-claims) alleging that a Contributor Version directly or - indirectly infringes any patent, then the rights granted to You by any and - all Contributors for the Covered Software under Section 2.1 of this License - shall terminate. - - 5.3. In the event of termination under Sections 5.1 or 5.2 above, all end user - license agreements (excluding distributors and resellers) which have been - validly granted by You or Your distributors under this License prior to - termination shall survive termination. - - 6. Disclaimer of Warranty - - Covered Software is provided under this License on an “as is” basis, without - warranty of any kind, either expressed, implied, or statutory, including, - without limitation, warranties that the Covered Software is free of defects, - merchantable, fit for a particular purpose or non-infringing. The entire - risk as to the quality and performance of the Covered Software is with You. - Should any Covered Software prove defective in any respect, You (not any - Contributor) assume the cost of any necessary servicing, repair, or - correction. This disclaimer of warranty constitutes an essential part of this - License. No use of any Covered Software is authorized under this License - except under this disclaimer. - - 7. Limitation of Liability - - Under no circumstances and under no legal theory, whether tort (including - negligence), contract, or otherwise, shall any Contributor, or anyone who - distributes Covered Software as permitted above, be liable to You for any - direct, indirect, special, incidental, or consequential damages of any - character including, without limitation, damages for lost profits, loss of - goodwill, work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses, even if such party shall have been - informed of the possibility of such damages. This limitation of liability - shall not apply to liability for death or personal injury resulting from such - party’s negligence to the extent applicable law prohibits such limitation. - Some jurisdictions do not allow the exclusion or limitation of incidental or - consequential damages, so this exclusion and limitation may not apply to You. - - 8. Litigation - - Any litigation relating to this License may be brought only in the courts of - a jurisdiction where the defendant maintains its principal place of business - and such litigation shall be governed by laws of that jurisdiction, without - reference to its conflict-of-law provisions. Nothing in this Section shall - prevent a party’s ability to bring cross-claims or counter-claims. - - 9. Miscellaneous - - This License represents the complete agreement concerning the subject matter - hereof. If any provision of this License is held to be unenforceable, such - provision shall be reformed only to the extent necessary to make it - enforceable. Any law or regulation which provides that the language of a - contract shall be construed against the drafter shall not be used to construe - this License against a Contributor. - - - 10. Versions of the License - - 10.1. New Versions - - Mozilla Foundation is the license steward. Except as provided in Section - 10.3, no one other than the license steward has the right to modify or - publish new versions of this License. Each version will be given a - distinguishing version number. - - 10.2. Effect of New Versions - - You may distribute the Covered Software under the terms of the version of - the License under which You originally received the Covered Software, or - under the terms of any subsequent version published by the license - steward. - - 10.3. Modified Versions - - If you create software not governed by this License, and you want to - create a new license for such software, you may create and use a modified - version of this License if you rename the license and remove any - references to the name of the license steward (except to note that such - modified license differs from this License). - - 10.4. Distributing Source Code Form that is Incompatible With Secondary Licenses - If You choose to distribute Source Code Form that is Incompatible With - Secondary Licenses under the terms of this version of the License, the - notice described in Exhibit B of this License must be attached. - - Exhibit A - Source Code Form License Notice - - This Source Code Form is subject to the - terms of the Mozilla Public License, v. - 2.0. If a copy of the MPL was not - distributed with this file, You can - obtain one at - http://mozilla.org/MPL/2.0/. - - If it is not possible or desirable to put the notice in a particular file, then - You may include the notice in a location (such as a LICENSE file in a relevant - directory) where a recipient would be likely to look for such a notice. - - You may add additional accurate notices of copyright ownership. - - Exhibit B - “Incompatible With Secondary Licenses” Notice - - This Source Code Form is “Incompatible - With Secondary Licenses”, as defined by - the Mozilla Public License, v. 2.0. - -notices: [] diff --git a/.licenses/go/github.com/hashicorp/hcl/hcl/token.dep.yml b/.licenses/go/github.com/hashicorp/hcl/hcl/token.dep.yml deleted file mode 100644 index c2f6e60074c..00000000000 --- a/.licenses/go/github.com/hashicorp/hcl/hcl/token.dep.yml +++ /dev/null @@ -1,366 +0,0 @@ ---- -name: github.com/hashicorp/hcl/hcl/token -version: v1.0.0 -type: go -summary: Package token defines constants representing the lexical tokens for HCL (HashiCorp - Configuration Language) -homepage: https://pkg.go.dev/github.com/hashicorp/hcl/hcl/token -license: mpl-2.0 -licenses: -- sources: hcl@v1.0.0/LICENSE - text: |+ - Mozilla Public License, version 2.0 - - 1. Definitions - - 1.1. “Contributor” - - means each individual or legal entity that creates, contributes to the - creation of, or owns Covered Software. - - 1.2. “Contributor Version” - - means the combination of the Contributions of others (if any) used by a - Contributor and that particular Contributor’s Contribution. - - 1.3. “Contribution” - - means Covered Software of a particular Contributor. - - 1.4. “Covered Software” - - means Source Code Form to which the initial Contributor has attached the - notice in Exhibit A, the Executable Form of such Source Code Form, and - Modifications of such Source Code Form, in each case including portions - thereof. - - 1.5. “Incompatible With Secondary Licenses” - means - - a. that the initial Contributor has attached the notice described in - Exhibit B to the Covered Software; or - - b. that the Covered Software was made available under the terms of version - 1.1 or earlier of the License, but not also under the terms of a - Secondary License. - - 1.6. “Executable Form” - - means any form of the work other than Source Code Form. - - 1.7. “Larger Work” - - means a work that combines Covered Software with other material, in a separate - file or files, that is not Covered Software. - - 1.8. “License” - - means this document. - - 1.9. “Licensable” - - means having the right to grant, to the maximum extent possible, whether at the - time of the initial grant or subsequently, any and all of the rights conveyed by - this License. - - 1.10. “Modifications” - - means any of the following: - - a. any file in Source Code Form that results from an addition to, deletion - from, or modification of the contents of Covered Software; or - - b. any new file in Source Code Form that contains any Covered Software. - - 1.11. “Patent Claims” of a Contributor - - means any patent claim(s), including without limitation, method, process, - and apparatus claims, in any patent Licensable by such Contributor that - would be infringed, but for the grant of the License, by the making, - using, selling, offering for sale, having made, import, or transfer of - either its Contributions or its Contributor Version. - - 1.12. “Secondary License” - - means either the GNU General Public License, Version 2.0, the GNU Lesser - General Public License, Version 2.1, the GNU Affero General Public - License, Version 3.0, or any later versions of those licenses. - - 1.13. “Source Code Form” - - means the form of the work preferred for making modifications. - - 1.14. “You” (or “Your”) - - means an individual or a legal entity exercising rights under this - License. For legal entities, “You” includes any entity that controls, is - controlled by, or is under common control with You. For purposes of this - definition, “control” means (a) the power, direct or indirect, to cause - the direction or management of such entity, whether by contract or - otherwise, or (b) ownership of more than fifty percent (50%) of the - outstanding shares or beneficial ownership of such entity. - - - 2. License Grants and Conditions - - 2.1. Grants - - Each Contributor hereby grants You a world-wide, royalty-free, - non-exclusive license: - - a. under intellectual property rights (other than patent or trademark) - Licensable by such Contributor to use, reproduce, make available, - modify, display, perform, distribute, and otherwise exploit its - Contributions, either on an unmodified basis, with Modifications, or as - part of a Larger Work; and - - b. under Patent Claims of such Contributor to make, use, sell, offer for - sale, have made, import, and otherwise transfer either its Contributions - or its Contributor Version. - - 2.2. Effective Date - - The licenses granted in Section 2.1 with respect to any Contribution become - effective for each Contribution on the date the Contributor first distributes - such Contribution. - - 2.3. Limitations on Grant Scope - - The licenses granted in this Section 2 are the only rights granted under this - License. No additional rights or licenses will be implied from the distribution - or licensing of Covered Software under this License. Notwithstanding Section - 2.1(b) above, no patent license is granted by a Contributor: - - a. for any code that a Contributor has removed from Covered Software; or - - b. for infringements caused by: (i) Your and any other third party’s - modifications of Covered Software, or (ii) the combination of its - Contributions with other software (except as part of its Contributor - Version); or - - c. under Patent Claims infringed by Covered Software in the absence of its - Contributions. - - This License does not grant any rights in the trademarks, service marks, or - logos of any Contributor (except as may be necessary to comply with the - notice requirements in Section 3.4). - - 2.4. Subsequent Licenses - - No Contributor makes additional grants as a result of Your choice to - distribute the Covered Software under a subsequent version of this License - (see Section 10.2) or under the terms of a Secondary License (if permitted - under the terms of Section 3.3). - - 2.5. Representation - - Each Contributor represents that the Contributor believes its Contributions - are its original creation(s) or it has sufficient rights to grant the - rights to its Contributions conveyed by this License. - - 2.6. Fair Use - - This License is not intended to limit any rights You have under applicable - copyright doctrines of fair use, fair dealing, or other equivalents. - - 2.7. Conditions - - Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in - Section 2.1. - - - 3. Responsibilities - - 3.1. Distribution of Source Form - - All distribution of Covered Software in Source Code Form, including any - Modifications that You create or to which You contribute, must be under the - terms of this License. You must inform recipients that the Source Code Form - of the Covered Software is governed by the terms of this License, and how - they can obtain a copy of this License. You may not attempt to alter or - restrict the recipients’ rights in the Source Code Form. - - 3.2. Distribution of Executable Form - - If You distribute Covered Software in Executable Form then: - - a. such Covered Software must also be made available in Source Code Form, - as described in Section 3.1, and You must inform recipients of the - Executable Form how they can obtain a copy of such Source Code Form by - reasonable means in a timely manner, at a charge no more than the cost - of distribution to the recipient; and - - b. You may distribute such Executable Form under the terms of this License, - or sublicense it under different terms, provided that the license for - the Executable Form does not attempt to limit or alter the recipients’ - rights in the Source Code Form under this License. - - 3.3. Distribution of a Larger Work - - You may create and distribute a Larger Work under terms of Your choice, - provided that You also comply with the requirements of this License for the - Covered Software. If the Larger Work is a combination of Covered Software - with a work governed by one or more Secondary Licenses, and the Covered - Software is not Incompatible With Secondary Licenses, this License permits - You to additionally distribute such Covered Software under the terms of - such Secondary License(s), so that the recipient of the Larger Work may, at - their option, further distribute the Covered Software under the terms of - either this License or such Secondary License(s). - - 3.4. Notices - - You may not remove or alter the substance of any license notices (including - copyright notices, patent notices, disclaimers of warranty, or limitations - of liability) contained within the Source Code Form of the Covered - Software, except that You may alter any license notices to the extent - required to remedy known factual inaccuracies. - - 3.5. Application of Additional Terms - - You may choose to offer, and to charge a fee for, warranty, support, - indemnity or liability obligations to one or more recipients of Covered - Software. However, You may do so only on Your own behalf, and not on behalf - of any Contributor. You must make it absolutely clear that any such - warranty, support, indemnity, or liability obligation is offered by You - alone, and You hereby agree to indemnify every Contributor for any - liability incurred by such Contributor as a result of warranty, support, - indemnity or liability terms You offer. You may include additional - disclaimers of warranty and limitations of liability specific to any - jurisdiction. - - 4. Inability to Comply Due to Statute or Regulation - - If it is impossible for You to comply with any of the terms of this License - with respect to some or all of the Covered Software due to statute, judicial - order, or regulation then You must: (a) comply with the terms of this License - to the maximum extent possible; and (b) describe the limitations and the code - they affect. Such description must be placed in a text file included with all - distributions of the Covered Software under this License. Except to the - extent prohibited by statute or regulation, such description must be - sufficiently detailed for a recipient of ordinary skill to be able to - understand it. - - 5. Termination - - 5.1. The rights granted under this License will terminate automatically if You - fail to comply with any of its terms. However, if You become compliant, - then the rights granted under this License from a particular Contributor - are reinstated (a) provisionally, unless and until such Contributor - explicitly and finally terminates Your grants, and (b) on an ongoing basis, - if such Contributor fails to notify You of the non-compliance by some - reasonable means prior to 60 days after You have come back into compliance. - Moreover, Your grants from a particular Contributor are reinstated on an - ongoing basis if such Contributor notifies You of the non-compliance by - some reasonable means, this is the first time You have received notice of - non-compliance with this License from such Contributor, and You become - compliant prior to 30 days after Your receipt of the notice. - - 5.2. If You initiate litigation against any entity by asserting a patent - infringement claim (excluding declaratory judgment actions, counter-claims, - and cross-claims) alleging that a Contributor Version directly or - indirectly infringes any patent, then the rights granted to You by any and - all Contributors for the Covered Software under Section 2.1 of this License - shall terminate. - - 5.3. In the event of termination under Sections 5.1 or 5.2 above, all end user - license agreements (excluding distributors and resellers) which have been - validly granted by You or Your distributors under this License prior to - termination shall survive termination. - - 6. Disclaimer of Warranty - - Covered Software is provided under this License on an “as is” basis, without - warranty of any kind, either expressed, implied, or statutory, including, - without limitation, warranties that the Covered Software is free of defects, - merchantable, fit for a particular purpose or non-infringing. The entire - risk as to the quality and performance of the Covered Software is with You. - Should any Covered Software prove defective in any respect, You (not any - Contributor) assume the cost of any necessary servicing, repair, or - correction. This disclaimer of warranty constitutes an essential part of this - License. No use of any Covered Software is authorized under this License - except under this disclaimer. - - 7. Limitation of Liability - - Under no circumstances and under no legal theory, whether tort (including - negligence), contract, or otherwise, shall any Contributor, or anyone who - distributes Covered Software as permitted above, be liable to You for any - direct, indirect, special, incidental, or consequential damages of any - character including, without limitation, damages for lost profits, loss of - goodwill, work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses, even if such party shall have been - informed of the possibility of such damages. This limitation of liability - shall not apply to liability for death or personal injury resulting from such - party’s negligence to the extent applicable law prohibits such limitation. - Some jurisdictions do not allow the exclusion or limitation of incidental or - consequential damages, so this exclusion and limitation may not apply to You. - - 8. Litigation - - Any litigation relating to this License may be brought only in the courts of - a jurisdiction where the defendant maintains its principal place of business - and such litigation shall be governed by laws of that jurisdiction, without - reference to its conflict-of-law provisions. Nothing in this Section shall - prevent a party’s ability to bring cross-claims or counter-claims. - - 9. Miscellaneous - - This License represents the complete agreement concerning the subject matter - hereof. If any provision of this License is held to be unenforceable, such - provision shall be reformed only to the extent necessary to make it - enforceable. Any law or regulation which provides that the language of a - contract shall be construed against the drafter shall not be used to construe - this License against a Contributor. - - - 10. Versions of the License - - 10.1. New Versions - - Mozilla Foundation is the license steward. Except as provided in Section - 10.3, no one other than the license steward has the right to modify or - publish new versions of this License. Each version will be given a - distinguishing version number. - - 10.2. Effect of New Versions - - You may distribute the Covered Software under the terms of the version of - the License under which You originally received the Covered Software, or - under the terms of any subsequent version published by the license - steward. - - 10.3. Modified Versions - - If you create software not governed by this License, and you want to - create a new license for such software, you may create and use a modified - version of this License if you rename the license and remove any - references to the name of the license steward (except to note that such - modified license differs from this License). - - 10.4. Distributing Source Code Form that is Incompatible With Secondary Licenses - If You choose to distribute Source Code Form that is Incompatible With - Secondary Licenses under the terms of this version of the License, the - notice described in Exhibit B of this License must be attached. - - Exhibit A - Source Code Form License Notice - - This Source Code Form is subject to the - terms of the Mozilla Public License, v. - 2.0. If a copy of the MPL was not - distributed with this file, You can - obtain one at - http://mozilla.org/MPL/2.0/. - - If it is not possible or desirable to put the notice in a particular file, then - You may include the notice in a location (such as a LICENSE file in a relevant - directory) where a recipient would be likely to look for such a notice. - - You may add additional accurate notices of copyright ownership. - - Exhibit B - “Incompatible With Secondary Licenses” Notice - - This Source Code Form is “Incompatible - With Secondary Licenses”, as defined by - the Mozilla Public License, v. 2.0. - -notices: [] diff --git a/.licenses/go/github.com/hashicorp/hcl/json/parser.dep.yml b/.licenses/go/github.com/hashicorp/hcl/json/parser.dep.yml deleted file mode 100644 index 913fb5bb0ba..00000000000 --- a/.licenses/go/github.com/hashicorp/hcl/json/parser.dep.yml +++ /dev/null @@ -1,365 +0,0 @@ ---- -name: github.com/hashicorp/hcl/json/parser -version: v1.0.0 -type: go -summary: -homepage: https://pkg.go.dev/github.com/hashicorp/hcl/json/parser -license: mpl-2.0 -licenses: -- sources: hcl@v1.0.0/LICENSE - text: |+ - Mozilla Public License, version 2.0 - - 1. Definitions - - 1.1. “Contributor” - - means each individual or legal entity that creates, contributes to the - creation of, or owns Covered Software. - - 1.2. “Contributor Version” - - means the combination of the Contributions of others (if any) used by a - Contributor and that particular Contributor’s Contribution. - - 1.3. “Contribution” - - means Covered Software of a particular Contributor. - - 1.4. “Covered Software” - - means Source Code Form to which the initial Contributor has attached the - notice in Exhibit A, the Executable Form of such Source Code Form, and - Modifications of such Source Code Form, in each case including portions - thereof. - - 1.5. “Incompatible With Secondary Licenses” - means - - a. that the initial Contributor has attached the notice described in - Exhibit B to the Covered Software; or - - b. that the Covered Software was made available under the terms of version - 1.1 or earlier of the License, but not also under the terms of a - Secondary License. - - 1.6. “Executable Form” - - means any form of the work other than Source Code Form. - - 1.7. “Larger Work” - - means a work that combines Covered Software with other material, in a separate - file or files, that is not Covered Software. - - 1.8. “License” - - means this document. - - 1.9. “Licensable” - - means having the right to grant, to the maximum extent possible, whether at the - time of the initial grant or subsequently, any and all of the rights conveyed by - this License. - - 1.10. “Modifications” - - means any of the following: - - a. any file in Source Code Form that results from an addition to, deletion - from, or modification of the contents of Covered Software; or - - b. any new file in Source Code Form that contains any Covered Software. - - 1.11. “Patent Claims” of a Contributor - - means any patent claim(s), including without limitation, method, process, - and apparatus claims, in any patent Licensable by such Contributor that - would be infringed, but for the grant of the License, by the making, - using, selling, offering for sale, having made, import, or transfer of - either its Contributions or its Contributor Version. - - 1.12. “Secondary License” - - means either the GNU General Public License, Version 2.0, the GNU Lesser - General Public License, Version 2.1, the GNU Affero General Public - License, Version 3.0, or any later versions of those licenses. - - 1.13. “Source Code Form” - - means the form of the work preferred for making modifications. - - 1.14. “You” (or “Your”) - - means an individual or a legal entity exercising rights under this - License. For legal entities, “You” includes any entity that controls, is - controlled by, or is under common control with You. For purposes of this - definition, “control” means (a) the power, direct or indirect, to cause - the direction or management of such entity, whether by contract or - otherwise, or (b) ownership of more than fifty percent (50%) of the - outstanding shares or beneficial ownership of such entity. - - - 2. License Grants and Conditions - - 2.1. Grants - - Each Contributor hereby grants You a world-wide, royalty-free, - non-exclusive license: - - a. under intellectual property rights (other than patent or trademark) - Licensable by such Contributor to use, reproduce, make available, - modify, display, perform, distribute, and otherwise exploit its - Contributions, either on an unmodified basis, with Modifications, or as - part of a Larger Work; and - - b. under Patent Claims of such Contributor to make, use, sell, offer for - sale, have made, import, and otherwise transfer either its Contributions - or its Contributor Version. - - 2.2. Effective Date - - The licenses granted in Section 2.1 with respect to any Contribution become - effective for each Contribution on the date the Contributor first distributes - such Contribution. - - 2.3. Limitations on Grant Scope - - The licenses granted in this Section 2 are the only rights granted under this - License. No additional rights or licenses will be implied from the distribution - or licensing of Covered Software under this License. Notwithstanding Section - 2.1(b) above, no patent license is granted by a Contributor: - - a. for any code that a Contributor has removed from Covered Software; or - - b. for infringements caused by: (i) Your and any other third party’s - modifications of Covered Software, or (ii) the combination of its - Contributions with other software (except as part of its Contributor - Version); or - - c. under Patent Claims infringed by Covered Software in the absence of its - Contributions. - - This License does not grant any rights in the trademarks, service marks, or - logos of any Contributor (except as may be necessary to comply with the - notice requirements in Section 3.4). - - 2.4. Subsequent Licenses - - No Contributor makes additional grants as a result of Your choice to - distribute the Covered Software under a subsequent version of this License - (see Section 10.2) or under the terms of a Secondary License (if permitted - under the terms of Section 3.3). - - 2.5. Representation - - Each Contributor represents that the Contributor believes its Contributions - are its original creation(s) or it has sufficient rights to grant the - rights to its Contributions conveyed by this License. - - 2.6. Fair Use - - This License is not intended to limit any rights You have under applicable - copyright doctrines of fair use, fair dealing, or other equivalents. - - 2.7. Conditions - - Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in - Section 2.1. - - - 3. Responsibilities - - 3.1. Distribution of Source Form - - All distribution of Covered Software in Source Code Form, including any - Modifications that You create or to which You contribute, must be under the - terms of this License. You must inform recipients that the Source Code Form - of the Covered Software is governed by the terms of this License, and how - they can obtain a copy of this License. You may not attempt to alter or - restrict the recipients’ rights in the Source Code Form. - - 3.2. Distribution of Executable Form - - If You distribute Covered Software in Executable Form then: - - a. such Covered Software must also be made available in Source Code Form, - as described in Section 3.1, and You must inform recipients of the - Executable Form how they can obtain a copy of such Source Code Form by - reasonable means in a timely manner, at a charge no more than the cost - of distribution to the recipient; and - - b. You may distribute such Executable Form under the terms of this License, - or sublicense it under different terms, provided that the license for - the Executable Form does not attempt to limit or alter the recipients’ - rights in the Source Code Form under this License. - - 3.3. Distribution of a Larger Work - - You may create and distribute a Larger Work under terms of Your choice, - provided that You also comply with the requirements of this License for the - Covered Software. If the Larger Work is a combination of Covered Software - with a work governed by one or more Secondary Licenses, and the Covered - Software is not Incompatible With Secondary Licenses, this License permits - You to additionally distribute such Covered Software under the terms of - such Secondary License(s), so that the recipient of the Larger Work may, at - their option, further distribute the Covered Software under the terms of - either this License or such Secondary License(s). - - 3.4. Notices - - You may not remove or alter the substance of any license notices (including - copyright notices, patent notices, disclaimers of warranty, or limitations - of liability) contained within the Source Code Form of the Covered - Software, except that You may alter any license notices to the extent - required to remedy known factual inaccuracies. - - 3.5. Application of Additional Terms - - You may choose to offer, and to charge a fee for, warranty, support, - indemnity or liability obligations to one or more recipients of Covered - Software. However, You may do so only on Your own behalf, and not on behalf - of any Contributor. You must make it absolutely clear that any such - warranty, support, indemnity, or liability obligation is offered by You - alone, and You hereby agree to indemnify every Contributor for any - liability incurred by such Contributor as a result of warranty, support, - indemnity or liability terms You offer. You may include additional - disclaimers of warranty and limitations of liability specific to any - jurisdiction. - - 4. Inability to Comply Due to Statute or Regulation - - If it is impossible for You to comply with any of the terms of this License - with respect to some or all of the Covered Software due to statute, judicial - order, or regulation then You must: (a) comply with the terms of this License - to the maximum extent possible; and (b) describe the limitations and the code - they affect. Such description must be placed in a text file included with all - distributions of the Covered Software under this License. Except to the - extent prohibited by statute or regulation, such description must be - sufficiently detailed for a recipient of ordinary skill to be able to - understand it. - - 5. Termination - - 5.1. The rights granted under this License will terminate automatically if You - fail to comply with any of its terms. However, if You become compliant, - then the rights granted under this License from a particular Contributor - are reinstated (a) provisionally, unless and until such Contributor - explicitly and finally terminates Your grants, and (b) on an ongoing basis, - if such Contributor fails to notify You of the non-compliance by some - reasonable means prior to 60 days after You have come back into compliance. - Moreover, Your grants from a particular Contributor are reinstated on an - ongoing basis if such Contributor notifies You of the non-compliance by - some reasonable means, this is the first time You have received notice of - non-compliance with this License from such Contributor, and You become - compliant prior to 30 days after Your receipt of the notice. - - 5.2. If You initiate litigation against any entity by asserting a patent - infringement claim (excluding declaratory judgment actions, counter-claims, - and cross-claims) alleging that a Contributor Version directly or - indirectly infringes any patent, then the rights granted to You by any and - all Contributors for the Covered Software under Section 2.1 of this License - shall terminate. - - 5.3. In the event of termination under Sections 5.1 or 5.2 above, all end user - license agreements (excluding distributors and resellers) which have been - validly granted by You or Your distributors under this License prior to - termination shall survive termination. - - 6. Disclaimer of Warranty - - Covered Software is provided under this License on an “as is” basis, without - warranty of any kind, either expressed, implied, or statutory, including, - without limitation, warranties that the Covered Software is free of defects, - merchantable, fit for a particular purpose or non-infringing. The entire - risk as to the quality and performance of the Covered Software is with You. - Should any Covered Software prove defective in any respect, You (not any - Contributor) assume the cost of any necessary servicing, repair, or - correction. This disclaimer of warranty constitutes an essential part of this - License. No use of any Covered Software is authorized under this License - except under this disclaimer. - - 7. Limitation of Liability - - Under no circumstances and under no legal theory, whether tort (including - negligence), contract, or otherwise, shall any Contributor, or anyone who - distributes Covered Software as permitted above, be liable to You for any - direct, indirect, special, incidental, or consequential damages of any - character including, without limitation, damages for lost profits, loss of - goodwill, work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses, even if such party shall have been - informed of the possibility of such damages. This limitation of liability - shall not apply to liability for death or personal injury resulting from such - party’s negligence to the extent applicable law prohibits such limitation. - Some jurisdictions do not allow the exclusion or limitation of incidental or - consequential damages, so this exclusion and limitation may not apply to You. - - 8. Litigation - - Any litigation relating to this License may be brought only in the courts of - a jurisdiction where the defendant maintains its principal place of business - and such litigation shall be governed by laws of that jurisdiction, without - reference to its conflict-of-law provisions. Nothing in this Section shall - prevent a party’s ability to bring cross-claims or counter-claims. - - 9. Miscellaneous - - This License represents the complete agreement concerning the subject matter - hereof. If any provision of this License is held to be unenforceable, such - provision shall be reformed only to the extent necessary to make it - enforceable. Any law or regulation which provides that the language of a - contract shall be construed against the drafter shall not be used to construe - this License against a Contributor. - - - 10. Versions of the License - - 10.1. New Versions - - Mozilla Foundation is the license steward. Except as provided in Section - 10.3, no one other than the license steward has the right to modify or - publish new versions of this License. Each version will be given a - distinguishing version number. - - 10.2. Effect of New Versions - - You may distribute the Covered Software under the terms of the version of - the License under which You originally received the Covered Software, or - under the terms of any subsequent version published by the license - steward. - - 10.3. Modified Versions - - If you create software not governed by this License, and you want to - create a new license for such software, you may create and use a modified - version of this License if you rename the license and remove any - references to the name of the license steward (except to note that such - modified license differs from this License). - - 10.4. Distributing Source Code Form that is Incompatible With Secondary Licenses - If You choose to distribute Source Code Form that is Incompatible With - Secondary Licenses under the terms of this version of the License, the - notice described in Exhibit B of this License must be attached. - - Exhibit A - Source Code Form License Notice - - This Source Code Form is subject to the - terms of the Mozilla Public License, v. - 2.0. If a copy of the MPL was not - distributed with this file, You can - obtain one at - http://mozilla.org/MPL/2.0/. - - If it is not possible or desirable to put the notice in a particular file, then - You may include the notice in a location (such as a LICENSE file in a relevant - directory) where a recipient would be likely to look for such a notice. - - You may add additional accurate notices of copyright ownership. - - Exhibit B - “Incompatible With Secondary Licenses” Notice - - This Source Code Form is “Incompatible - With Secondary Licenses”, as defined by - the Mozilla Public License, v. 2.0. - -notices: [] diff --git a/.licenses/go/github.com/hashicorp/hcl/json/scanner.dep.yml b/.licenses/go/github.com/hashicorp/hcl/json/scanner.dep.yml deleted file mode 100644 index 27f5acdf6e1..00000000000 --- a/.licenses/go/github.com/hashicorp/hcl/json/scanner.dep.yml +++ /dev/null @@ -1,365 +0,0 @@ ---- -name: github.com/hashicorp/hcl/json/scanner -version: v1.0.0 -type: go -summary: -homepage: https://pkg.go.dev/github.com/hashicorp/hcl/json/scanner -license: mpl-2.0 -licenses: -- sources: hcl@v1.0.0/LICENSE - text: |+ - Mozilla Public License, version 2.0 - - 1. Definitions - - 1.1. “Contributor” - - means each individual or legal entity that creates, contributes to the - creation of, or owns Covered Software. - - 1.2. “Contributor Version” - - means the combination of the Contributions of others (if any) used by a - Contributor and that particular Contributor’s Contribution. - - 1.3. “Contribution” - - means Covered Software of a particular Contributor. - - 1.4. “Covered Software” - - means Source Code Form to which the initial Contributor has attached the - notice in Exhibit A, the Executable Form of such Source Code Form, and - Modifications of such Source Code Form, in each case including portions - thereof. - - 1.5. “Incompatible With Secondary Licenses” - means - - a. that the initial Contributor has attached the notice described in - Exhibit B to the Covered Software; or - - b. that the Covered Software was made available under the terms of version - 1.1 or earlier of the License, but not also under the terms of a - Secondary License. - - 1.6. “Executable Form” - - means any form of the work other than Source Code Form. - - 1.7. “Larger Work” - - means a work that combines Covered Software with other material, in a separate - file or files, that is not Covered Software. - - 1.8. “License” - - means this document. - - 1.9. “Licensable” - - means having the right to grant, to the maximum extent possible, whether at the - time of the initial grant or subsequently, any and all of the rights conveyed by - this License. - - 1.10. “Modifications” - - means any of the following: - - a. any file in Source Code Form that results from an addition to, deletion - from, or modification of the contents of Covered Software; or - - b. any new file in Source Code Form that contains any Covered Software. - - 1.11. “Patent Claims” of a Contributor - - means any patent claim(s), including without limitation, method, process, - and apparatus claims, in any patent Licensable by such Contributor that - would be infringed, but for the grant of the License, by the making, - using, selling, offering for sale, having made, import, or transfer of - either its Contributions or its Contributor Version. - - 1.12. “Secondary License” - - means either the GNU General Public License, Version 2.0, the GNU Lesser - General Public License, Version 2.1, the GNU Affero General Public - License, Version 3.0, or any later versions of those licenses. - - 1.13. “Source Code Form” - - means the form of the work preferred for making modifications. - - 1.14. “You” (or “Your”) - - means an individual or a legal entity exercising rights under this - License. For legal entities, “You” includes any entity that controls, is - controlled by, or is under common control with You. For purposes of this - definition, “control” means (a) the power, direct or indirect, to cause - the direction or management of such entity, whether by contract or - otherwise, or (b) ownership of more than fifty percent (50%) of the - outstanding shares or beneficial ownership of such entity. - - - 2. License Grants and Conditions - - 2.1. Grants - - Each Contributor hereby grants You a world-wide, royalty-free, - non-exclusive license: - - a. under intellectual property rights (other than patent or trademark) - Licensable by such Contributor to use, reproduce, make available, - modify, display, perform, distribute, and otherwise exploit its - Contributions, either on an unmodified basis, with Modifications, or as - part of a Larger Work; and - - b. under Patent Claims of such Contributor to make, use, sell, offer for - sale, have made, import, and otherwise transfer either its Contributions - or its Contributor Version. - - 2.2. Effective Date - - The licenses granted in Section 2.1 with respect to any Contribution become - effective for each Contribution on the date the Contributor first distributes - such Contribution. - - 2.3. Limitations on Grant Scope - - The licenses granted in this Section 2 are the only rights granted under this - License. No additional rights or licenses will be implied from the distribution - or licensing of Covered Software under this License. Notwithstanding Section - 2.1(b) above, no patent license is granted by a Contributor: - - a. for any code that a Contributor has removed from Covered Software; or - - b. for infringements caused by: (i) Your and any other third party’s - modifications of Covered Software, or (ii) the combination of its - Contributions with other software (except as part of its Contributor - Version); or - - c. under Patent Claims infringed by Covered Software in the absence of its - Contributions. - - This License does not grant any rights in the trademarks, service marks, or - logos of any Contributor (except as may be necessary to comply with the - notice requirements in Section 3.4). - - 2.4. Subsequent Licenses - - No Contributor makes additional grants as a result of Your choice to - distribute the Covered Software under a subsequent version of this License - (see Section 10.2) or under the terms of a Secondary License (if permitted - under the terms of Section 3.3). - - 2.5. Representation - - Each Contributor represents that the Contributor believes its Contributions - are its original creation(s) or it has sufficient rights to grant the - rights to its Contributions conveyed by this License. - - 2.6. Fair Use - - This License is not intended to limit any rights You have under applicable - copyright doctrines of fair use, fair dealing, or other equivalents. - - 2.7. Conditions - - Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in - Section 2.1. - - - 3. Responsibilities - - 3.1. Distribution of Source Form - - All distribution of Covered Software in Source Code Form, including any - Modifications that You create or to which You contribute, must be under the - terms of this License. You must inform recipients that the Source Code Form - of the Covered Software is governed by the terms of this License, and how - they can obtain a copy of this License. You may not attempt to alter or - restrict the recipients’ rights in the Source Code Form. - - 3.2. Distribution of Executable Form - - If You distribute Covered Software in Executable Form then: - - a. such Covered Software must also be made available in Source Code Form, - as described in Section 3.1, and You must inform recipients of the - Executable Form how they can obtain a copy of such Source Code Form by - reasonable means in a timely manner, at a charge no more than the cost - of distribution to the recipient; and - - b. You may distribute such Executable Form under the terms of this License, - or sublicense it under different terms, provided that the license for - the Executable Form does not attempt to limit or alter the recipients’ - rights in the Source Code Form under this License. - - 3.3. Distribution of a Larger Work - - You may create and distribute a Larger Work under terms of Your choice, - provided that You also comply with the requirements of this License for the - Covered Software. If the Larger Work is a combination of Covered Software - with a work governed by one or more Secondary Licenses, and the Covered - Software is not Incompatible With Secondary Licenses, this License permits - You to additionally distribute such Covered Software under the terms of - such Secondary License(s), so that the recipient of the Larger Work may, at - their option, further distribute the Covered Software under the terms of - either this License or such Secondary License(s). - - 3.4. Notices - - You may not remove or alter the substance of any license notices (including - copyright notices, patent notices, disclaimers of warranty, or limitations - of liability) contained within the Source Code Form of the Covered - Software, except that You may alter any license notices to the extent - required to remedy known factual inaccuracies. - - 3.5. Application of Additional Terms - - You may choose to offer, and to charge a fee for, warranty, support, - indemnity or liability obligations to one or more recipients of Covered - Software. However, You may do so only on Your own behalf, and not on behalf - of any Contributor. You must make it absolutely clear that any such - warranty, support, indemnity, or liability obligation is offered by You - alone, and You hereby agree to indemnify every Contributor for any - liability incurred by such Contributor as a result of warranty, support, - indemnity or liability terms You offer. You may include additional - disclaimers of warranty and limitations of liability specific to any - jurisdiction. - - 4. Inability to Comply Due to Statute or Regulation - - If it is impossible for You to comply with any of the terms of this License - with respect to some or all of the Covered Software due to statute, judicial - order, or regulation then You must: (a) comply with the terms of this License - to the maximum extent possible; and (b) describe the limitations and the code - they affect. Such description must be placed in a text file included with all - distributions of the Covered Software under this License. Except to the - extent prohibited by statute or regulation, such description must be - sufficiently detailed for a recipient of ordinary skill to be able to - understand it. - - 5. Termination - - 5.1. The rights granted under this License will terminate automatically if You - fail to comply with any of its terms. However, if You become compliant, - then the rights granted under this License from a particular Contributor - are reinstated (a) provisionally, unless and until such Contributor - explicitly and finally terminates Your grants, and (b) on an ongoing basis, - if such Contributor fails to notify You of the non-compliance by some - reasonable means prior to 60 days after You have come back into compliance. - Moreover, Your grants from a particular Contributor are reinstated on an - ongoing basis if such Contributor notifies You of the non-compliance by - some reasonable means, this is the first time You have received notice of - non-compliance with this License from such Contributor, and You become - compliant prior to 30 days after Your receipt of the notice. - - 5.2. If You initiate litigation against any entity by asserting a patent - infringement claim (excluding declaratory judgment actions, counter-claims, - and cross-claims) alleging that a Contributor Version directly or - indirectly infringes any patent, then the rights granted to You by any and - all Contributors for the Covered Software under Section 2.1 of this License - shall terminate. - - 5.3. In the event of termination under Sections 5.1 or 5.2 above, all end user - license agreements (excluding distributors and resellers) which have been - validly granted by You or Your distributors under this License prior to - termination shall survive termination. - - 6. Disclaimer of Warranty - - Covered Software is provided under this License on an “as is” basis, without - warranty of any kind, either expressed, implied, or statutory, including, - without limitation, warranties that the Covered Software is free of defects, - merchantable, fit for a particular purpose or non-infringing. The entire - risk as to the quality and performance of the Covered Software is with You. - Should any Covered Software prove defective in any respect, You (not any - Contributor) assume the cost of any necessary servicing, repair, or - correction. This disclaimer of warranty constitutes an essential part of this - License. No use of any Covered Software is authorized under this License - except under this disclaimer. - - 7. Limitation of Liability - - Under no circumstances and under no legal theory, whether tort (including - negligence), contract, or otherwise, shall any Contributor, or anyone who - distributes Covered Software as permitted above, be liable to You for any - direct, indirect, special, incidental, or consequential damages of any - character including, without limitation, damages for lost profits, loss of - goodwill, work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses, even if such party shall have been - informed of the possibility of such damages. This limitation of liability - shall not apply to liability for death or personal injury resulting from such - party’s negligence to the extent applicable law prohibits such limitation. - Some jurisdictions do not allow the exclusion or limitation of incidental or - consequential damages, so this exclusion and limitation may not apply to You. - - 8. Litigation - - Any litigation relating to this License may be brought only in the courts of - a jurisdiction where the defendant maintains its principal place of business - and such litigation shall be governed by laws of that jurisdiction, without - reference to its conflict-of-law provisions. Nothing in this Section shall - prevent a party’s ability to bring cross-claims or counter-claims. - - 9. Miscellaneous - - This License represents the complete agreement concerning the subject matter - hereof. If any provision of this License is held to be unenforceable, such - provision shall be reformed only to the extent necessary to make it - enforceable. Any law or regulation which provides that the language of a - contract shall be construed against the drafter shall not be used to construe - this License against a Contributor. - - - 10. Versions of the License - - 10.1. New Versions - - Mozilla Foundation is the license steward. Except as provided in Section - 10.3, no one other than the license steward has the right to modify or - publish new versions of this License. Each version will be given a - distinguishing version number. - - 10.2. Effect of New Versions - - You may distribute the Covered Software under the terms of the version of - the License under which You originally received the Covered Software, or - under the terms of any subsequent version published by the license - steward. - - 10.3. Modified Versions - - If you create software not governed by this License, and you want to - create a new license for such software, you may create and use a modified - version of this License if you rename the license and remove any - references to the name of the license steward (except to note that such - modified license differs from this License). - - 10.4. Distributing Source Code Form that is Incompatible With Secondary Licenses - If You choose to distribute Source Code Form that is Incompatible With - Secondary Licenses under the terms of this version of the License, the - notice described in Exhibit B of this License must be attached. - - Exhibit A - Source Code Form License Notice - - This Source Code Form is subject to the - terms of the Mozilla Public License, v. - 2.0. If a copy of the MPL was not - distributed with this file, You can - obtain one at - http://mozilla.org/MPL/2.0/. - - If it is not possible or desirable to put the notice in a particular file, then - You may include the notice in a location (such as a LICENSE file in a relevant - directory) where a recipient would be likely to look for such a notice. - - You may add additional accurate notices of copyright ownership. - - Exhibit B - “Incompatible With Secondary Licenses” Notice - - This Source Code Form is “Incompatible - With Secondary Licenses”, as defined by - the Mozilla Public License, v. 2.0. - -notices: [] diff --git a/.licenses/go/github.com/hashicorp/hcl/json/token.dep.yml b/.licenses/go/github.com/hashicorp/hcl/json/token.dep.yml deleted file mode 100644 index 3e3939f095d..00000000000 --- a/.licenses/go/github.com/hashicorp/hcl/json/token.dep.yml +++ /dev/null @@ -1,365 +0,0 @@ ---- -name: github.com/hashicorp/hcl/json/token -version: v1.0.0 -type: go -summary: -homepage: https://pkg.go.dev/github.com/hashicorp/hcl/json/token -license: mpl-2.0 -licenses: -- sources: hcl@v1.0.0/LICENSE - text: |+ - Mozilla Public License, version 2.0 - - 1. Definitions - - 1.1. “Contributor” - - means each individual or legal entity that creates, contributes to the - creation of, or owns Covered Software. - - 1.2. “Contributor Version” - - means the combination of the Contributions of others (if any) used by a - Contributor and that particular Contributor’s Contribution. - - 1.3. “Contribution” - - means Covered Software of a particular Contributor. - - 1.4. “Covered Software” - - means Source Code Form to which the initial Contributor has attached the - notice in Exhibit A, the Executable Form of such Source Code Form, and - Modifications of such Source Code Form, in each case including portions - thereof. - - 1.5. “Incompatible With Secondary Licenses” - means - - a. that the initial Contributor has attached the notice described in - Exhibit B to the Covered Software; or - - b. that the Covered Software was made available under the terms of version - 1.1 or earlier of the License, but not also under the terms of a - Secondary License. - - 1.6. “Executable Form” - - means any form of the work other than Source Code Form. - - 1.7. “Larger Work” - - means a work that combines Covered Software with other material, in a separate - file or files, that is not Covered Software. - - 1.8. “License” - - means this document. - - 1.9. “Licensable” - - means having the right to grant, to the maximum extent possible, whether at the - time of the initial grant or subsequently, any and all of the rights conveyed by - this License. - - 1.10. “Modifications” - - means any of the following: - - a. any file in Source Code Form that results from an addition to, deletion - from, or modification of the contents of Covered Software; or - - b. any new file in Source Code Form that contains any Covered Software. - - 1.11. “Patent Claims” of a Contributor - - means any patent claim(s), including without limitation, method, process, - and apparatus claims, in any patent Licensable by such Contributor that - would be infringed, but for the grant of the License, by the making, - using, selling, offering for sale, having made, import, or transfer of - either its Contributions or its Contributor Version. - - 1.12. “Secondary License” - - means either the GNU General Public License, Version 2.0, the GNU Lesser - General Public License, Version 2.1, the GNU Affero General Public - License, Version 3.0, or any later versions of those licenses. - - 1.13. “Source Code Form” - - means the form of the work preferred for making modifications. - - 1.14. “You” (or “Your”) - - means an individual or a legal entity exercising rights under this - License. For legal entities, “You” includes any entity that controls, is - controlled by, or is under common control with You. For purposes of this - definition, “control” means (a) the power, direct or indirect, to cause - the direction or management of such entity, whether by contract or - otherwise, or (b) ownership of more than fifty percent (50%) of the - outstanding shares or beneficial ownership of such entity. - - - 2. License Grants and Conditions - - 2.1. Grants - - Each Contributor hereby grants You a world-wide, royalty-free, - non-exclusive license: - - a. under intellectual property rights (other than patent or trademark) - Licensable by such Contributor to use, reproduce, make available, - modify, display, perform, distribute, and otherwise exploit its - Contributions, either on an unmodified basis, with Modifications, or as - part of a Larger Work; and - - b. under Patent Claims of such Contributor to make, use, sell, offer for - sale, have made, import, and otherwise transfer either its Contributions - or its Contributor Version. - - 2.2. Effective Date - - The licenses granted in Section 2.1 with respect to any Contribution become - effective for each Contribution on the date the Contributor first distributes - such Contribution. - - 2.3. Limitations on Grant Scope - - The licenses granted in this Section 2 are the only rights granted under this - License. No additional rights or licenses will be implied from the distribution - or licensing of Covered Software under this License. Notwithstanding Section - 2.1(b) above, no patent license is granted by a Contributor: - - a. for any code that a Contributor has removed from Covered Software; or - - b. for infringements caused by: (i) Your and any other third party’s - modifications of Covered Software, or (ii) the combination of its - Contributions with other software (except as part of its Contributor - Version); or - - c. under Patent Claims infringed by Covered Software in the absence of its - Contributions. - - This License does not grant any rights in the trademarks, service marks, or - logos of any Contributor (except as may be necessary to comply with the - notice requirements in Section 3.4). - - 2.4. Subsequent Licenses - - No Contributor makes additional grants as a result of Your choice to - distribute the Covered Software under a subsequent version of this License - (see Section 10.2) or under the terms of a Secondary License (if permitted - under the terms of Section 3.3). - - 2.5. Representation - - Each Contributor represents that the Contributor believes its Contributions - are its original creation(s) or it has sufficient rights to grant the - rights to its Contributions conveyed by this License. - - 2.6. Fair Use - - This License is not intended to limit any rights You have under applicable - copyright doctrines of fair use, fair dealing, or other equivalents. - - 2.7. Conditions - - Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in - Section 2.1. - - - 3. Responsibilities - - 3.1. Distribution of Source Form - - All distribution of Covered Software in Source Code Form, including any - Modifications that You create or to which You contribute, must be under the - terms of this License. You must inform recipients that the Source Code Form - of the Covered Software is governed by the terms of this License, and how - they can obtain a copy of this License. You may not attempt to alter or - restrict the recipients’ rights in the Source Code Form. - - 3.2. Distribution of Executable Form - - If You distribute Covered Software in Executable Form then: - - a. such Covered Software must also be made available in Source Code Form, - as described in Section 3.1, and You must inform recipients of the - Executable Form how they can obtain a copy of such Source Code Form by - reasonable means in a timely manner, at a charge no more than the cost - of distribution to the recipient; and - - b. You may distribute such Executable Form under the terms of this License, - or sublicense it under different terms, provided that the license for - the Executable Form does not attempt to limit or alter the recipients’ - rights in the Source Code Form under this License. - - 3.3. Distribution of a Larger Work - - You may create and distribute a Larger Work under terms of Your choice, - provided that You also comply with the requirements of this License for the - Covered Software. If the Larger Work is a combination of Covered Software - with a work governed by one or more Secondary Licenses, and the Covered - Software is not Incompatible With Secondary Licenses, this License permits - You to additionally distribute such Covered Software under the terms of - such Secondary License(s), so that the recipient of the Larger Work may, at - their option, further distribute the Covered Software under the terms of - either this License or such Secondary License(s). - - 3.4. Notices - - You may not remove or alter the substance of any license notices (including - copyright notices, patent notices, disclaimers of warranty, or limitations - of liability) contained within the Source Code Form of the Covered - Software, except that You may alter any license notices to the extent - required to remedy known factual inaccuracies. - - 3.5. Application of Additional Terms - - You may choose to offer, and to charge a fee for, warranty, support, - indemnity or liability obligations to one or more recipients of Covered - Software. However, You may do so only on Your own behalf, and not on behalf - of any Contributor. You must make it absolutely clear that any such - warranty, support, indemnity, or liability obligation is offered by You - alone, and You hereby agree to indemnify every Contributor for any - liability incurred by such Contributor as a result of warranty, support, - indemnity or liability terms You offer. You may include additional - disclaimers of warranty and limitations of liability specific to any - jurisdiction. - - 4. Inability to Comply Due to Statute or Regulation - - If it is impossible for You to comply with any of the terms of this License - with respect to some or all of the Covered Software due to statute, judicial - order, or regulation then You must: (a) comply with the terms of this License - to the maximum extent possible; and (b) describe the limitations and the code - they affect. Such description must be placed in a text file included with all - distributions of the Covered Software under this License. Except to the - extent prohibited by statute or regulation, such description must be - sufficiently detailed for a recipient of ordinary skill to be able to - understand it. - - 5. Termination - - 5.1. The rights granted under this License will terminate automatically if You - fail to comply with any of its terms. However, if You become compliant, - then the rights granted under this License from a particular Contributor - are reinstated (a) provisionally, unless and until such Contributor - explicitly and finally terminates Your grants, and (b) on an ongoing basis, - if such Contributor fails to notify You of the non-compliance by some - reasonable means prior to 60 days after You have come back into compliance. - Moreover, Your grants from a particular Contributor are reinstated on an - ongoing basis if such Contributor notifies You of the non-compliance by - some reasonable means, this is the first time You have received notice of - non-compliance with this License from such Contributor, and You become - compliant prior to 30 days after Your receipt of the notice. - - 5.2. If You initiate litigation against any entity by asserting a patent - infringement claim (excluding declaratory judgment actions, counter-claims, - and cross-claims) alleging that a Contributor Version directly or - indirectly infringes any patent, then the rights granted to You by any and - all Contributors for the Covered Software under Section 2.1 of this License - shall terminate. - - 5.3. In the event of termination under Sections 5.1 or 5.2 above, all end user - license agreements (excluding distributors and resellers) which have been - validly granted by You or Your distributors under this License prior to - termination shall survive termination. - - 6. Disclaimer of Warranty - - Covered Software is provided under this License on an “as is” basis, without - warranty of any kind, either expressed, implied, or statutory, including, - without limitation, warranties that the Covered Software is free of defects, - merchantable, fit for a particular purpose or non-infringing. The entire - risk as to the quality and performance of the Covered Software is with You. - Should any Covered Software prove defective in any respect, You (not any - Contributor) assume the cost of any necessary servicing, repair, or - correction. This disclaimer of warranty constitutes an essential part of this - License. No use of any Covered Software is authorized under this License - except under this disclaimer. - - 7. Limitation of Liability - - Under no circumstances and under no legal theory, whether tort (including - negligence), contract, or otherwise, shall any Contributor, or anyone who - distributes Covered Software as permitted above, be liable to You for any - direct, indirect, special, incidental, or consequential damages of any - character including, without limitation, damages for lost profits, loss of - goodwill, work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses, even if such party shall have been - informed of the possibility of such damages. This limitation of liability - shall not apply to liability for death or personal injury resulting from such - party’s negligence to the extent applicable law prohibits such limitation. - Some jurisdictions do not allow the exclusion or limitation of incidental or - consequential damages, so this exclusion and limitation may not apply to You. - - 8. Litigation - - Any litigation relating to this License may be brought only in the courts of - a jurisdiction where the defendant maintains its principal place of business - and such litigation shall be governed by laws of that jurisdiction, without - reference to its conflict-of-law provisions. Nothing in this Section shall - prevent a party’s ability to bring cross-claims or counter-claims. - - 9. Miscellaneous - - This License represents the complete agreement concerning the subject matter - hereof. If any provision of this License is held to be unenforceable, such - provision shall be reformed only to the extent necessary to make it - enforceable. Any law or regulation which provides that the language of a - contract shall be construed against the drafter shall not be used to construe - this License against a Contributor. - - - 10. Versions of the License - - 10.1. New Versions - - Mozilla Foundation is the license steward. Except as provided in Section - 10.3, no one other than the license steward has the right to modify or - publish new versions of this License. Each version will be given a - distinguishing version number. - - 10.2. Effect of New Versions - - You may distribute the Covered Software under the terms of the version of - the License under which You originally received the Covered Software, or - under the terms of any subsequent version published by the license - steward. - - 10.3. Modified Versions - - If you create software not governed by this License, and you want to - create a new license for such software, you may create and use a modified - version of this License if you rename the license and remove any - references to the name of the license steward (except to note that such - modified license differs from this License). - - 10.4. Distributing Source Code Form that is Incompatible With Secondary Licenses - If You choose to distribute Source Code Form that is Incompatible With - Secondary Licenses under the terms of this version of the License, the - notice described in Exhibit B of this License must be attached. - - Exhibit A - Source Code Form License Notice - - This Source Code Form is subject to the - terms of the Mozilla Public License, v. - 2.0. If a copy of the MPL was not - distributed with this file, You can - obtain one at - http://mozilla.org/MPL/2.0/. - - If it is not possible or desirable to put the notice in a particular file, then - You may include the notice in a location (such as a LICENSE file in a relevant - directory) where a recipient would be likely to look for such a notice. - - You may add additional accurate notices of copyright ownership. - - Exhibit B - “Incompatible With Secondary Licenses” Notice - - This Source Code Form is “Incompatible - With Secondary Licenses”, as defined by - the Mozilla Public License, v. 2.0. - -notices: [] diff --git a/.licenses/go/github.com/leonelquinteros/gotext.dep.yml b/.licenses/go/github.com/leonelquinteros/gotext.dep.yml index e03e5a03e88..a2ef6431056 100644 --- a/.licenses/go/github.com/leonelquinteros/gotext.dep.yml +++ b/.licenses/go/github.com/leonelquinteros/gotext.dep.yml @@ -1,6 +1,6 @@ --- name: github.com/leonelquinteros/gotext -version: v1.7.0 +version: v1.7.1 type: go summary: Package gotext implements GNU gettext utilities. homepage: https://pkg.go.dev/github.com/leonelquinteros/gotext diff --git a/.licenses/go/github.com/leonelquinteros/gotext/plurals.dep.yml b/.licenses/go/github.com/leonelquinteros/gotext/plurals.dep.yml index 050b3c60f42..508d984c518 100644 --- a/.licenses/go/github.com/leonelquinteros/gotext/plurals.dep.yml +++ b/.licenses/go/github.com/leonelquinteros/gotext/plurals.dep.yml @@ -1,13 +1,13 @@ --- name: github.com/leonelquinteros/gotext/plurals -version: v1.7.0 +version: v1.7.1 type: go summary: Package plurals is the pluralform compiler to get the correct translation id of the plural string homepage: https://pkg.go.dev/github.com/leonelquinteros/gotext/plurals license: other licenses: -- sources: gotext@v1.7.0/LICENSE +- sources: gotext@v1.7.1/LICENSE text: | The MIT License (MIT) @@ -64,6 +64,6 @@ licenses: ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: gotext@v1.7.0/README.md +- sources: gotext@v1.7.1/README.md text: "[MIT license](LICENSE)" notices: [] diff --git a/.licenses/go/github.com/magiconair/properties.dep.yml b/.licenses/go/github.com/magiconair/properties.dep.yml deleted file mode 100644 index ef04e0f92b3..00000000000 --- a/.licenses/go/github.com/magiconair/properties.dep.yml +++ /dev/null @@ -1,39 +0,0 @@ ---- -name: github.com/magiconair/properties -version: v1.8.7 -type: go -summary: Package properties provides functions for reading and writing ISO-8859-1 - and UTF-8 encoded .properties files and has support for recursive property expansion. -homepage: https://pkg.go.dev/github.com/magiconair/properties -license: bsd-2-clause -licenses: -- sources: LICENSE.md - text: | - Copyright (c) 2013-2020, Frank Schroeder - - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - - * Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR - ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: README.md - text: 2 clause BSD license. See [LICENSE](https://github.com/magiconair/properties/blob/master/LICENSE) - file for details. -notices: [] diff --git a/.licenses/go/github.com/mattn/go-colorable.dep.yml b/.licenses/go/github.com/mattn/go-colorable.dep.yml index dab73bc8865..be6df443687 100644 --- a/.licenses/go/github.com/mattn/go-colorable.dep.yml +++ b/.licenses/go/github.com/mattn/go-colorable.dep.yml @@ -1,9 +1,9 @@ --- name: github.com/mattn/go-colorable -version: v0.1.13 +version: v0.1.14 type: go -summary: -homepage: https://pkg.go.dev/github.com/mattn/go-colorable +summary: +homepage: https://godoc.org/github.com/mattn/go-colorable license: mit licenses: - sources: LICENSE diff --git a/.licenses/go/github.com/pelletier/go-toml/v2.dep.yml b/.licenses/go/github.com/pelletier/go-toml/v2.dep.yml index 44cb14185ef..3460ed72598 100644 --- a/.licenses/go/github.com/pelletier/go-toml/v2.dep.yml +++ b/.licenses/go/github.com/pelletier/go-toml/v2.dep.yml @@ -1,6 +1,6 @@ --- name: github.com/pelletier/go-toml/v2 -version: v2.2.2 +version: v2.2.3 type: go summary: Package toml is a library to read and write TOML documents. homepage: https://pkg.go.dev/github.com/pelletier/go-toml/v2 diff --git a/.licenses/go/github.com/pelletier/go-toml/v2/internal/characters.dep.yml b/.licenses/go/github.com/pelletier/go-toml/v2/internal/characters.dep.yml index afddf80f550..f481041fa66 100644 --- a/.licenses/go/github.com/pelletier/go-toml/v2/internal/characters.dep.yml +++ b/.licenses/go/github.com/pelletier/go-toml/v2/internal/characters.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/pelletier/go-toml/v2/internal/characters -version: v2.2.2 +version: v2.2.3 type: go summary: homepage: https://pkg.go.dev/github.com/pelletier/go-toml/v2/internal/characters license: other licenses: -- sources: v2@v2.2.2/LICENSE +- sources: v2@v2.2.3/LICENSE text: | The MIT License (MIT) @@ -30,6 +30,6 @@ licenses: LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -- sources: v2@v2.2.2/README.md +- sources: v2@v2.2.3/README.md text: The MIT License (MIT). Read [LICENSE](LICENSE). notices: [] diff --git a/.licenses/go/github.com/pelletier/go-toml/v2/internal/danger.dep.yml b/.licenses/go/github.com/pelletier/go-toml/v2/internal/danger.dep.yml index 5fe64d014f7..7e2f86e2e9f 100644 --- a/.licenses/go/github.com/pelletier/go-toml/v2/internal/danger.dep.yml +++ b/.licenses/go/github.com/pelletier/go-toml/v2/internal/danger.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/pelletier/go-toml/v2/internal/danger -version: v2.2.2 +version: v2.2.3 type: go summary: homepage: https://pkg.go.dev/github.com/pelletier/go-toml/v2/internal/danger license: other licenses: -- sources: v2@v2.2.2/LICENSE +- sources: v2@v2.2.3/LICENSE text: | The MIT License (MIT) @@ -30,6 +30,6 @@ licenses: LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -- sources: v2@v2.2.2/README.md +- sources: v2@v2.2.3/README.md text: The MIT License (MIT). Read [LICENSE](LICENSE). notices: [] diff --git a/.licenses/go/github.com/pelletier/go-toml/v2/internal/tracker.dep.yml b/.licenses/go/github.com/pelletier/go-toml/v2/internal/tracker.dep.yml index 6b73e51e6b9..8452277d00a 100644 --- a/.licenses/go/github.com/pelletier/go-toml/v2/internal/tracker.dep.yml +++ b/.licenses/go/github.com/pelletier/go-toml/v2/internal/tracker.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/pelletier/go-toml/v2/internal/tracker -version: v2.2.2 +version: v2.2.3 type: go summary: homepage: https://pkg.go.dev/github.com/pelletier/go-toml/v2/internal/tracker license: other licenses: -- sources: v2@v2.2.2/LICENSE +- sources: v2@v2.2.3/LICENSE text: | The MIT License (MIT) @@ -30,6 +30,6 @@ licenses: LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -- sources: v2@v2.2.2/README.md +- sources: v2@v2.2.3/README.md text: The MIT License (MIT). Read [LICENSE](LICENSE). notices: [] diff --git a/.licenses/go/github.com/pelletier/go-toml/v2/unstable.dep.yml b/.licenses/go/github.com/pelletier/go-toml/v2/unstable.dep.yml index 4fc5a61cb02..c224d7079af 100644 --- a/.licenses/go/github.com/pelletier/go-toml/v2/unstable.dep.yml +++ b/.licenses/go/github.com/pelletier/go-toml/v2/unstable.dep.yml @@ -1,13 +1,13 @@ --- name: github.com/pelletier/go-toml/v2/unstable -version: v2.2.2 +version: v2.2.3 type: go summary: Package unstable provides APIs that do not meet the backward compatibility guarantees yet. homepage: https://pkg.go.dev/github.com/pelletier/go-toml/v2/unstable license: other licenses: -- sources: v2@v2.2.2/LICENSE +- sources: v2@v2.2.3/LICENSE text: | The MIT License (MIT) @@ -31,6 +31,6 @@ licenses: LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -- sources: v2@v2.2.2/README.md +- sources: v2@v2.2.3/README.md text: The MIT License (MIT). Read [LICENSE](LICENSE). notices: [] diff --git a/.licenses/go/github.com/pjbgf/sha1cd.dep.yml b/.licenses/go/github.com/pjbgf/sha1cd.dep.yml new file mode 100644 index 00000000000..fbe273662bb --- /dev/null +++ b/.licenses/go/github.com/pjbgf/sha1cd.dep.yml @@ -0,0 +1,213 @@ +--- +name: github.com/pjbgf/sha1cd +version: v0.3.2 +type: go +summary: Package sha1cd implements collision detection based on the whitepaper Counter-cryptanalysis + from Marc Stevens. +homepage: https://pkg.go.dev/github.com/pjbgf/sha1cd +license: apache-2.0 +licenses: +- sources: LICENSE + text: |2 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2023 pjbgf + + 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. +notices: [] diff --git a/.licenses/go/github.com/pjbgf/sha1cd/internal.dep.yml b/.licenses/go/github.com/pjbgf/sha1cd/internal.dep.yml new file mode 100644 index 00000000000..0117afa6425 --- /dev/null +++ b/.licenses/go/github.com/pjbgf/sha1cd/internal.dep.yml @@ -0,0 +1,212 @@ +--- +name: github.com/pjbgf/sha1cd/internal +version: v0.3.2 +type: go +summary: +homepage: https://pkg.go.dev/github.com/pjbgf/sha1cd/internal +license: apache-2.0 +licenses: +- sources: sha1cd@v0.3.2/LICENSE + text: |2 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2023 pjbgf + + 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. +notices: [] diff --git a/.licenses/go/github.com/pjbgf/sha1cd/ubc.dep.yml b/.licenses/go/github.com/pjbgf/sha1cd/ubc.dep.yml new file mode 100644 index 00000000000..493675f8e28 --- /dev/null +++ b/.licenses/go/github.com/pjbgf/sha1cd/ubc.dep.yml @@ -0,0 +1,213 @@ +--- +name: github.com/pjbgf/sha1cd/ubc +version: v0.3.2 +type: go +summary: ubc package provides ways for SHA1 blocks to be checked for Unavoidable Bit + Conditions that arise from crypto analysis attacks. +homepage: https://pkg.go.dev/github.com/pjbgf/sha1cd/ubc +license: apache-2.0 +licenses: +- sources: sha1cd@v0.3.2/LICENSE + text: |2 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2023 pjbgf + + 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. +notices: [] diff --git a/.licenses/go/github.com/spf13/viper/internal/encoding/javaproperties.dep.yml b/.licenses/go/github.com/sagikazarmark/locafero.dep.yml similarity index 72% rename from .licenses/go/github.com/spf13/viper/internal/encoding/javaproperties.dep.yml rename to .licenses/go/github.com/sagikazarmark/locafero.dep.yml index ae854532146..d159fe8a4b6 100644 --- a/.licenses/go/github.com/spf13/viper/internal/encoding/javaproperties.dep.yml +++ b/.licenses/go/github.com/sagikazarmark/locafero.dep.yml @@ -1,23 +1,21 @@ --- -name: github.com/spf13/viper/internal/encoding/javaproperties -version: v1.19.0 +name: github.com/sagikazarmark/locafero +version: v0.7.0 type: go -summary: -homepage: https://pkg.go.dev/github.com/spf13/viper/internal/encoding/javaproperties +summary: Package finder looks for files and directories in an {fs.Fs} filesystem. +homepage: https://pkg.go.dev/github.com/sagikazarmark/locafero license: mit licenses: -- sources: viper@v1.19.0/LICENSE - text: |- - The MIT License (MIT) - - Copyright (c) 2014 Steve Francia +- sources: LICENSE + text: | + Copyright (c) 2023 Márk Sági-Kazár Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + copies of the Software, and to permit persons to whom the Software is furnished + to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. @@ -27,8 +25,8 @@ licenses: FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE. -- sources: viper@v1.19.0/README.md + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +- sources: README.md text: The project is licensed under the [MIT License](LICENSE). notices: [] diff --git a/.licenses/go/github.com/sagikazarmark/slog-shim.dep.yml b/.licenses/go/github.com/sagikazarmark/slog-shim.dep.yml deleted file mode 100644 index 6ff17440f94..00000000000 --- a/.licenses/go/github.com/sagikazarmark/slog-shim.dep.yml +++ /dev/null @@ -1,40 +0,0 @@ ---- -name: github.com/sagikazarmark/slog-shim -version: v0.1.0 -type: go -summary: -homepage: https://pkg.go.dev/github.com/sagikazarmark/slog-shim -license: other -licenses: -- sources: LICENSE - text: | - Copyright (c) 2009 The Go Authors. All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are - met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following disclaimer - in the documentation and/or other materials provided with the - distribution. - * Neither the name of Google Inc. nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: README.md - text: The project is licensed under a [BSD-style license](LICENSE). -notices: [] diff --git a/.licenses/go/github.com/sergi/go-diff/diffmatchpatch.dep.yml b/.licenses/go/github.com/sergi/go-diff/diffmatchpatch.dep.yml index 3ab4bd653d9..ee155766e7e 100644 --- a/.licenses/go/github.com/sergi/go-diff/diffmatchpatch.dep.yml +++ b/.licenses/go/github.com/sergi/go-diff/diffmatchpatch.dep.yml @@ -1,13 +1,13 @@ --- name: github.com/sergi/go-diff/diffmatchpatch -version: v1.3.1 +version: v1.3.2-0.20230802210424-5b0b94c5c0d3 type: go summary: Package diffmatchpatch offers robust algorithms to perform the operations required for synchronizing plain text. homepage: https://pkg.go.dev/github.com/sergi/go-diff/diffmatchpatch license: apache-2.0 licenses: -- sources: go-diff@v1.3.1/LICENSE +- sources: go-diff@v1.3.2-0.20230802210424-5b0b94c5c0d3/LICENSE text: |+ Copyright (c) 2012-2016 The go-diff Authors. All rights reserved. @@ -29,7 +29,7 @@ licenses: FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -- sources: go-diff@v1.3.1/APACHE-LICENSE-2.0 +- sources: go-diff@v1.3.2-0.20230802210424-5b0b94c5c0d3/APACHE-LICENSE-2.0 text: |2 Apache License diff --git a/.licenses/go/github.com/skeema/knownhosts.dep.yml b/.licenses/go/github.com/skeema/knownhosts.dep.yml new file mode 100644 index 00000000000..61e2ba7dd9e --- /dev/null +++ b/.licenses/go/github.com/skeema/knownhosts.dep.yml @@ -0,0 +1,245 @@ +--- +name: github.com/skeema/knownhosts +version: v1.3.1 +type: go +summary: Package knownhosts is a thin wrapper around golang.org/x/crypto/ssh/knownhosts, + adding the ability to obtain the list of host key algorithms for a known host. +homepage: https://pkg.go.dev/github.com/skeema/knownhosts +license: apache-2.0 +licenses: +- sources: LICENSE + text: |2 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright {yyyy} {name of copyright owner} + + 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. +- sources: README.md + text: |- + **Source code copyright 2025 Skeema LLC and the Skeema Knownhosts authors** + + ```text + 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. + ``` +notices: +- sources: NOTICE + text: |- + Copyright 2025 Skeema LLC and the Skeema Knownhosts authors + + 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. diff --git a/.licenses/go/github.com/spf13/viper/internal/encoding.dep.yml b/.licenses/go/github.com/sourcegraph/conc.dep.yml similarity index 76% rename from .licenses/go/github.com/spf13/viper/internal/encoding.dep.yml rename to .licenses/go/github.com/sourcegraph/conc.dep.yml index 60a44da36d7..0bc689af1ea 100644 --- a/.licenses/go/github.com/spf13/viper/internal/encoding.dep.yml +++ b/.licenses/go/github.com/sourcegraph/conc.dep.yml @@ -1,16 +1,16 @@ --- -name: github.com/spf13/viper/internal/encoding -version: v1.19.0 +name: github.com/sourcegraph/conc +version: v0.3.0 type: go summary: -homepage: https://pkg.go.dev/github.com/spf13/viper/internal/encoding +homepage: https://pkg.go.dev/github.com/sourcegraph/conc license: mit licenses: -- sources: viper@v1.19.0/LICENSE - text: |- - The MIT License (MIT) +- sources: LICENSE + text: | + MIT License - Copyright (c) 2014 Steve Francia + Copyright (c) 2023 Sourcegraph Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -29,6 +29,4 @@ licenses: LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -- sources: viper@v1.19.0/README.md - text: The project is licensed under the [MIT License](LICENSE). notices: [] diff --git a/.licenses/go/github.com/spf13/viper/internal/encoding/ini.dep.yml b/.licenses/go/github.com/sourcegraph/conc/internal/multierror.dep.yml similarity index 76% rename from .licenses/go/github.com/spf13/viper/internal/encoding/ini.dep.yml rename to .licenses/go/github.com/sourcegraph/conc/internal/multierror.dep.yml index 8e16e7b070c..141e969d89e 100644 --- a/.licenses/go/github.com/spf13/viper/internal/encoding/ini.dep.yml +++ b/.licenses/go/github.com/sourcegraph/conc/internal/multierror.dep.yml @@ -1,16 +1,16 @@ --- -name: github.com/spf13/viper/internal/encoding/ini -version: v1.19.0 +name: github.com/sourcegraph/conc/internal/multierror +version: v0.3.0 type: go summary: -homepage: https://pkg.go.dev/github.com/spf13/viper/internal/encoding/ini +homepage: https://pkg.go.dev/github.com/sourcegraph/conc/internal/multierror license: mit licenses: -- sources: viper@v1.19.0/LICENSE - text: |- - The MIT License (MIT) +- sources: conc@v0.3.0/LICENSE + text: | + MIT License - Copyright (c) 2014 Steve Francia + Copyright (c) 2023 Sourcegraph Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -29,6 +29,4 @@ licenses: LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -- sources: viper@v1.19.0/README.md - text: The project is licensed under the [MIT License](LICENSE). notices: [] diff --git a/.licenses/go/github.com/spf13/viper/internal/encoding/hcl.dep.yml b/.licenses/go/github.com/sourcegraph/conc/iter.dep.yml similarity index 76% rename from .licenses/go/github.com/spf13/viper/internal/encoding/hcl.dep.yml rename to .licenses/go/github.com/sourcegraph/conc/iter.dep.yml index b022cf64505..fdec207b935 100644 --- a/.licenses/go/github.com/spf13/viper/internal/encoding/hcl.dep.yml +++ b/.licenses/go/github.com/sourcegraph/conc/iter.dep.yml @@ -1,16 +1,16 @@ --- -name: github.com/spf13/viper/internal/encoding/hcl -version: v1.19.0 +name: github.com/sourcegraph/conc/iter +version: v0.3.0 type: go summary: -homepage: https://pkg.go.dev/github.com/spf13/viper/internal/encoding/hcl +homepage: https://pkg.go.dev/github.com/sourcegraph/conc/iter license: mit licenses: -- sources: viper@v1.19.0/LICENSE - text: |- - The MIT License (MIT) +- sources: conc@v0.3.0/LICENSE + text: | + MIT License - Copyright (c) 2014 Steve Francia + Copyright (c) 2023 Sourcegraph Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -29,6 +29,4 @@ licenses: LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -- sources: viper@v1.19.0/README.md - text: The project is licensed under the [MIT License](LICENSE). notices: [] diff --git a/.licenses/go/github.com/sourcegraph/conc/panics.dep.yml b/.licenses/go/github.com/sourcegraph/conc/panics.dep.yml new file mode 100644 index 00000000000..61e4000b6e9 --- /dev/null +++ b/.licenses/go/github.com/sourcegraph/conc/panics.dep.yml @@ -0,0 +1,32 @@ +--- +name: github.com/sourcegraph/conc/panics +version: v0.3.0 +type: go +summary: +homepage: https://pkg.go.dev/github.com/sourcegraph/conc/panics +license: mit +licenses: +- sources: conc@v0.3.0/LICENSE + text: | + MIT License + + Copyright (c) 2023 Sourcegraph + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. +notices: [] diff --git a/.licenses/go/github.com/spf13/afero.dep.yml b/.licenses/go/github.com/spf13/afero.dep.yml index c0053ded734..0af4a79e2e5 100644 --- a/.licenses/go/github.com/spf13/afero.dep.yml +++ b/.licenses/go/github.com/spf13/afero.dep.yml @@ -1,6 +1,6 @@ --- name: github.com/spf13/afero -version: v1.11.0 +version: v1.12.0 type: go summary: homepage: https://pkg.go.dev/github.com/spf13/afero diff --git a/.licenses/go/github.com/spf13/afero/internal/common.dep.yml b/.licenses/go/github.com/spf13/afero/internal/common.dep.yml index bd5796a18c1..bab8a718b9f 100644 --- a/.licenses/go/github.com/spf13/afero/internal/common.dep.yml +++ b/.licenses/go/github.com/spf13/afero/internal/common.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/spf13/afero/internal/common -version: v1.11.0 +version: v1.12.0 type: go summary: homepage: https://pkg.go.dev/github.com/spf13/afero/internal/common license: apache-2.0 licenses: -- sources: afero@v1.11.0/LICENSE.txt +- sources: afero@v1.12.0/LICENSE.txt text: |2 Apache License Version 2.0, January 2004 @@ -182,7 +182,7 @@ licenses: defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. -- sources: afero@v1.11.0/README.md +- sources: afero@v1.12.0/README.md text: |- Afero is released under the Apache 2.0 license. See [LICENSE.txt](https://github.com/spf13/afero/blob/master/LICENSE.txt) diff --git a/.licenses/go/github.com/spf13/afero/mem.dep.yml b/.licenses/go/github.com/spf13/afero/mem.dep.yml index bf2e3824949..58fc184ace1 100644 --- a/.licenses/go/github.com/spf13/afero/mem.dep.yml +++ b/.licenses/go/github.com/spf13/afero/mem.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/spf13/afero/mem -version: v1.11.0 +version: v1.12.0 type: go summary: homepage: https://pkg.go.dev/github.com/spf13/afero/mem license: apache-2.0 licenses: -- sources: afero@v1.11.0/LICENSE.txt +- sources: afero@v1.12.0/LICENSE.txt text: |2 Apache License Version 2.0, January 2004 @@ -182,7 +182,7 @@ licenses: defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. -- sources: afero@v1.11.0/README.md +- sources: afero@v1.12.0/README.md text: |- Afero is released under the Apache 2.0 license. See [LICENSE.txt](https://github.com/spf13/afero/blob/master/LICENSE.txt) diff --git a/.licenses/go/github.com/spf13/cast.dep.yml b/.licenses/go/github.com/spf13/cast.dep.yml index 2a3a308e4ef..22ec680c2d3 100644 --- a/.licenses/go/github.com/spf13/cast.dep.yml +++ b/.licenses/go/github.com/spf13/cast.dep.yml @@ -1,6 +1,6 @@ --- name: github.com/spf13/cast -version: v1.6.0 +version: v1.7.1 type: go summary: Package cast provides easy and safe casting in Go. homepage: https://pkg.go.dev/github.com/spf13/cast diff --git a/.licenses/go/github.com/spf13/cobra.dep.yml b/.licenses/go/github.com/spf13/cobra.dep.yml index 4c4ee44eebe..8259dc45262 100644 --- a/.licenses/go/github.com/spf13/cobra.dep.yml +++ b/.licenses/go/github.com/spf13/cobra.dep.yml @@ -1,6 +1,6 @@ --- name: github.com/spf13/cobra -version: v1.8.1 +version: v1.9.1 type: go summary: Package cobra is a commander providing a simple interface to create powerful modern CLI interfaces. diff --git a/.licenses/go/github.com/spf13/cobra/doc.dep.yml b/.licenses/go/github.com/spf13/cobra/doc.dep.yml index 9ba6a34eefc..cf8977f3ea4 100644 --- a/.licenses/go/github.com/spf13/cobra/doc.dep.yml +++ b/.licenses/go/github.com/spf13/cobra/doc.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/spf13/cobra/doc -version: v1.8.1 +version: v1.9.1 type: go summary: homepage: https://pkg.go.dev/github.com/spf13/cobra/doc license: apache-2.0 licenses: -- sources: cobra@v1.8.1/LICENSE.txt +- sources: cobra@v1.9.1/LICENSE.txt text: |2 Apache License Version 2.0, January 2004 @@ -182,6 +182,6 @@ licenses: defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. -- sources: cobra@v1.8.1/README.md +- sources: cobra@v1.9.1/README.md text: Cobra is released under the Apache 2.0 license. See [LICENSE.txt](LICENSE.txt) notices: [] diff --git a/.licenses/go/github.com/spf13/pflag.dep.yml b/.licenses/go/github.com/spf13/pflag.dep.yml index c0bf7c43354..fd6fa37096a 100644 --- a/.licenses/go/github.com/spf13/pflag.dep.yml +++ b/.licenses/go/github.com/spf13/pflag.dep.yml @@ -1,6 +1,6 @@ --- name: github.com/spf13/pflag -version: v1.0.5 +version: v1.0.6 type: go summary: Package pflag is a drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags. diff --git a/.licenses/go/github.com/spf13/viper.dep.yml b/.licenses/go/github.com/spf13/viper.dep.yml index 1dbadc50239..bab64c75e1e 100644 --- a/.licenses/go/github.com/spf13/viper.dep.yml +++ b/.licenses/go/github.com/spf13/viper.dep.yml @@ -1,6 +1,6 @@ --- name: github.com/spf13/viper -version: v1.19.0 +version: v1.20.1 type: go summary: homepage: https://pkg.go.dev/github.com/spf13/viper diff --git a/.licenses/go/github.com/spf13/viper/internal/encoding/dotenv.dep.yml b/.licenses/go/github.com/spf13/viper/internal/encoding/dotenv.dep.yml index a86b7f1ca05..157ab721a5a 100644 --- a/.licenses/go/github.com/spf13/viper/internal/encoding/dotenv.dep.yml +++ b/.licenses/go/github.com/spf13/viper/internal/encoding/dotenv.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/spf13/viper/internal/encoding/dotenv -version: v1.19.0 +version: v1.20.1 type: go summary: homepage: https://pkg.go.dev/github.com/spf13/viper/internal/encoding/dotenv license: mit licenses: -- sources: viper@v1.19.0/LICENSE +- sources: viper@v1.20.1/LICENSE text: |- The MIT License (MIT) @@ -29,6 +29,6 @@ licenses: LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -- sources: viper@v1.19.0/README.md +- sources: viper@v1.20.1/README.md text: The project is licensed under the [MIT License](LICENSE). notices: [] diff --git a/.licenses/go/github.com/spf13/viper/internal/encoding/json.dep.yml b/.licenses/go/github.com/spf13/viper/internal/encoding/json.dep.yml index f897e31d0a0..8cedebc4b37 100644 --- a/.licenses/go/github.com/spf13/viper/internal/encoding/json.dep.yml +++ b/.licenses/go/github.com/spf13/viper/internal/encoding/json.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/spf13/viper/internal/encoding/json -version: v1.19.0 +version: v1.20.1 type: go summary: homepage: https://pkg.go.dev/github.com/spf13/viper/internal/encoding/json license: mit licenses: -- sources: viper@v1.19.0/LICENSE +- sources: viper@v1.20.1/LICENSE text: |- The MIT License (MIT) @@ -29,6 +29,6 @@ licenses: LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -- sources: viper@v1.19.0/README.md +- sources: viper@v1.20.1/README.md text: The project is licensed under the [MIT License](LICENSE). notices: [] diff --git a/.licenses/go/github.com/spf13/viper/internal/encoding/toml.dep.yml b/.licenses/go/github.com/spf13/viper/internal/encoding/toml.dep.yml index df7c8a7c2ad..323cd1e843e 100644 --- a/.licenses/go/github.com/spf13/viper/internal/encoding/toml.dep.yml +++ b/.licenses/go/github.com/spf13/viper/internal/encoding/toml.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/spf13/viper/internal/encoding/toml -version: v1.19.0 +version: v1.20.1 type: go summary: homepage: https://pkg.go.dev/github.com/spf13/viper/internal/encoding/toml license: mit licenses: -- sources: viper@v1.19.0/LICENSE +- sources: viper@v1.20.1/LICENSE text: |- The MIT License (MIT) @@ -29,6 +29,6 @@ licenses: LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -- sources: viper@v1.19.0/README.md +- sources: viper@v1.20.1/README.md text: The project is licensed under the [MIT License](LICENSE). notices: [] diff --git a/.licenses/go/github.com/spf13/viper/internal/encoding/yaml.dep.yml b/.licenses/go/github.com/spf13/viper/internal/encoding/yaml.dep.yml index c24379aa0ca..1bbe6ca9d02 100644 --- a/.licenses/go/github.com/spf13/viper/internal/encoding/yaml.dep.yml +++ b/.licenses/go/github.com/spf13/viper/internal/encoding/yaml.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/spf13/viper/internal/encoding/yaml -version: v1.19.0 +version: v1.20.1 type: go summary: homepage: https://pkg.go.dev/github.com/spf13/viper/internal/encoding/yaml license: mit licenses: -- sources: viper@v1.19.0/LICENSE +- sources: viper@v1.20.1/LICENSE text: |- The MIT License (MIT) @@ -29,6 +29,6 @@ licenses: LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -- sources: viper@v1.19.0/README.md +- sources: viper@v1.20.1/README.md text: The project is licensed under the [MIT License](LICENSE). notices: [] diff --git a/.licenses/go/github.com/spf13/viper/internal/features.dep.yml b/.licenses/go/github.com/spf13/viper/internal/features.dep.yml index b62bdcb5162..37a3c243f36 100644 --- a/.licenses/go/github.com/spf13/viper/internal/features.dep.yml +++ b/.licenses/go/github.com/spf13/viper/internal/features.dep.yml @@ -1,12 +1,12 @@ --- name: github.com/spf13/viper/internal/features -version: v1.19.0 +version: v1.20.1 type: go summary: homepage: https://pkg.go.dev/github.com/spf13/viper/internal/features license: mit licenses: -- sources: viper@v1.19.0/LICENSE +- sources: viper@v1.20.1/LICENSE text: |- The MIT License (MIT) @@ -29,6 +29,6 @@ licenses: LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -- sources: viper@v1.19.0/README.md +- sources: viper@v1.20.1/README.md text: The project is licensed under the [MIT License](LICENSE). notices: [] diff --git a/.licenses/go/go.bug.st/f.dep.yml b/.licenses/go/go.bug.st/f.dep.yml new file mode 100644 index 00000000000..59ef92f95a3 --- /dev/null +++ b/.licenses/go/go.bug.st/f.dep.yml @@ -0,0 +1,45 @@ +--- +name: go.bug.st/f +version: v0.4.0 +type: go +summary: Package f is a golang library implementing some basic algorithms. +homepage: https://godoc.org/go.bug.st/f +license: bsd-3-clause +licenses: +- sources: LICENSE + text: |2+ + + Copyright (c) 2024, Cristian Maglie. + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + 3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN + ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +notices: [] +... diff --git a/.licenses/go/go.bug.st/relaxed-semver.dep.yml b/.licenses/go/go.bug.st/relaxed-semver.dep.yml index 6a4349bf119..6ac2c4a1e29 100644 --- a/.licenses/go/go.bug.st/relaxed-semver.dep.yml +++ b/.licenses/go/go.bug.st/relaxed-semver.dep.yml @@ -1,6 +1,6 @@ --- name: go.bug.st/relaxed-semver -version: v0.12.0 +version: v0.15.0 type: go summary: homepage: https://pkg.go.dev/go.bug.st/relaxed-semver @@ -9,7 +9,7 @@ licenses: - sources: LICENSE text: |2+ - Copyright (c) 2018-2022, Cristian Maglie. + Copyright (c) 2018-2025, Cristian Maglie. All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/.licenses/go/go.bug.st/serial.dep.yml b/.licenses/go/go.bug.st/serial.dep.yml index c55d351d0ca..69008aa53fb 100644 --- a/.licenses/go/go.bug.st/serial.dep.yml +++ b/.licenses/go/go.bug.st/serial.dep.yml @@ -1,6 +1,6 @@ --- name: go.bug.st/serial -version: v1.6.1 +version: v1.6.2 type: go summary: Package serial is a cross-platform serial library for the go language. homepage: https://pkg.go.dev/go.bug.st/serial diff --git a/.licenses/go/go.bug.st/serial/unixutils.dep.yml b/.licenses/go/go.bug.st/serial/unixutils.dep.yml index b744d2524d1..56868ecb299 100644 --- a/.licenses/go/go.bug.st/serial/unixutils.dep.yml +++ b/.licenses/go/go.bug.st/serial/unixutils.dep.yml @@ -1,12 +1,12 @@ --- name: go.bug.st/serial/unixutils -version: v1.6.1 +version: v1.6.2 type: go summary: homepage: https://pkg.go.dev/go.bug.st/serial/unixutils license: bsd-3-clause licenses: -- sources: serial@v1.6.1/LICENSE +- sources: serial@v1.6.2/LICENSE text: |2+ Copyright (c) 2014-2023, Cristian Maglie. @@ -41,7 +41,7 @@ licenses: ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: serial@v1.6.1/README.md +- sources: serial@v1.6.2/README.md text: |- The software is release under a [BSD 3-clause license] diff --git a/.licenses/go/golang.org/x/crypto/argon2.dep.yml b/.licenses/go/golang.org/x/crypto/argon2.dep.yml index cbe146c1175..41421486c89 100644 --- a/.licenses/go/golang.org/x/crypto/argon2.dep.yml +++ b/.licenses/go/golang.org/x/crypto/argon2.dep.yml @@ -1,12 +1,12 @@ --- name: golang.org/x/crypto/argon2 -version: v0.26.0 +version: v0.37.0 type: go summary: Package argon2 implements the key derivation function Argon2. homepage: https://pkg.go.dev/golang.org/x/crypto/argon2 license: bsd-3-clause licenses: -- sources: crypto@v0.26.0/LICENSE +- sources: crypto@v0.37.0/LICENSE text: | Copyright 2009 The Go Authors. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: crypto@v0.26.0/PATENTS +- sources: crypto@v0.37.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/golang.org/x/crypto/blake2b.dep.yml b/.licenses/go/golang.org/x/crypto/blake2b.dep.yml index aaa790540b5..b4ba10ebf38 100644 --- a/.licenses/go/golang.org/x/crypto/blake2b.dep.yml +++ b/.licenses/go/golang.org/x/crypto/blake2b.dep.yml @@ -1,13 +1,13 @@ --- name: golang.org/x/crypto/blake2b -version: v0.26.0 +version: v0.37.0 type: go summary: Package blake2b implements the BLAKE2b hash algorithm defined by RFC 7693 and the extendable output function (XOF) BLAKE2Xb. homepage: https://pkg.go.dev/golang.org/x/crypto/blake2b license: bsd-3-clause licenses: -- sources: crypto@v0.26.0/LICENSE +- sources: crypto@v0.37.0/LICENSE text: | Copyright 2009 The Go Authors. @@ -36,7 +36,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: crypto@v0.26.0/PATENTS +- sources: crypto@v0.37.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/golang.org/x/crypto/blowfish.dep.yml b/.licenses/go/golang.org/x/crypto/blowfish.dep.yml index 46a96d924ba..47deecfb634 100644 --- a/.licenses/go/golang.org/x/crypto/blowfish.dep.yml +++ b/.licenses/go/golang.org/x/crypto/blowfish.dep.yml @@ -1,12 +1,12 @@ --- name: golang.org/x/crypto/blowfish -version: v0.26.0 +version: v0.37.0 type: go summary: Package blowfish implements Bruce Schneier's Blowfish encryption algorithm. homepage: https://pkg.go.dev/golang.org/x/crypto/blowfish license: bsd-3-clause licenses: -- sources: crypto@v0.26.0/LICENSE +- sources: crypto@v0.37.0/LICENSE text: | Copyright 2009 The Go Authors. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: crypto@v0.26.0/PATENTS +- sources: crypto@v0.37.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/golang.org/x/crypto/cast5.dep.yml b/.licenses/go/golang.org/x/crypto/cast5.dep.yml index 6ba85bd34fd..472d7c6eb71 100644 --- a/.licenses/go/golang.org/x/crypto/cast5.dep.yml +++ b/.licenses/go/golang.org/x/crypto/cast5.dep.yml @@ -1,12 +1,12 @@ --- name: golang.org/x/crypto/cast5 -version: v0.26.0 +version: v0.37.0 type: go summary: Package cast5 implements CAST5, as defined in RFC 2144. homepage: https://pkg.go.dev/golang.org/x/crypto/cast5 license: bsd-3-clause licenses: -- sources: crypto@v0.26.0/LICENSE +- sources: crypto@v0.37.0/LICENSE text: | Copyright 2009 The Go Authors. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: crypto@v0.26.0/PATENTS +- sources: crypto@v0.37.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/golang.org/x/crypto/curve25519.dep.yml b/.licenses/go/golang.org/x/crypto/curve25519.dep.yml index ad91e024222..db2cad5cb0f 100644 --- a/.licenses/go/golang.org/x/crypto/curve25519.dep.yml +++ b/.licenses/go/golang.org/x/crypto/curve25519.dep.yml @@ -1,13 +1,13 @@ --- name: golang.org/x/crypto/curve25519 -version: v0.26.0 +version: v0.37.0 type: go summary: Package curve25519 provides an implementation of the X25519 function, which performs scalar multiplication on the elliptic curve known as Curve25519. homepage: https://pkg.go.dev/golang.org/x/crypto/curve25519 license: bsd-3-clause licenses: -- sources: crypto@v0.26.0/LICENSE +- sources: crypto@v0.37.0/LICENSE text: | Copyright 2009 The Go Authors. @@ -36,7 +36,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: crypto@v0.26.0/PATENTS +- sources: crypto@v0.37.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/internal/ecc/curve25519/field.dep.yml b/.licenses/go/golang.org/x/crypto/hkdf.dep.yml similarity index 85% rename from .licenses/go/github.com/ProtonMail/go-crypto/openpgp/internal/ecc/curve25519/field.dep.yml rename to .licenses/go/golang.org/x/crypto/hkdf.dep.yml index 41a500db154..4678764fd83 100644 --- a/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/internal/ecc/curve25519/field.dep.yml +++ b/.licenses/go/golang.org/x/crypto/hkdf.dep.yml @@ -1,14 +1,15 @@ --- -name: github.com/ProtonMail/go-crypto/openpgp/internal/ecc/curve25519/field -version: v1.1.0-beta.0-proton +name: golang.org/x/crypto/hkdf +version: v0.37.0 type: go -summary: Package field implements fast arithmetic modulo 2^255-19. -homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/openpgp/internal/ecc/curve25519/field -license: other +summary: Package hkdf implements the HMAC-based Extract-and-Expand Key Derivation + Function (HKDF) as defined in RFC 5869. +homepage: https://pkg.go.dev/golang.org/x/crypto/hkdf +license: bsd-3-clause licenses: -- sources: go-crypto@v1.1.0-beta.0-proton/LICENSE +- sources: crypto@v0.37.0/LICENSE text: | - Copyright (c) 2009 The Go Authors. All rights reserved. + Copyright 2009 The Go Authors. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are @@ -20,7 +21,7 @@ licenses: copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - * Neither the name of Google Inc. nor the names of its + * Neither the name of Google LLC nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. @@ -35,7 +36,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: go-crypto@v1.1.0-beta.0-proton/PATENTS +- sources: crypto@v0.37.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/golang.org/x/crypto/sha3.dep.yml b/.licenses/go/golang.org/x/crypto/sha3.dep.yml index d05ad199bfc..a854eae5e2a 100644 --- a/.licenses/go/golang.org/x/crypto/sha3.dep.yml +++ b/.licenses/go/golang.org/x/crypto/sha3.dep.yml @@ -1,13 +1,13 @@ --- name: golang.org/x/crypto/sha3 -version: v0.26.0 +version: v0.37.0 type: go summary: Package sha3 implements the SHA-3 fixed-output-length hash functions and the SHAKE variable-output-length hash functions defined by FIPS-202. homepage: https://pkg.go.dev/golang.org/x/crypto/sha3 -license: bsd-3-clause +license: other licenses: -- sources: crypto@v0.26.0/LICENSE +- sources: crypto@v0.37.0/LICENSE text: | Copyright 2009 The Go Authors. @@ -36,7 +36,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: crypto@v0.26.0/PATENTS +- sources: crypto@v0.37.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/golang.org/x/crypto/ssh.dep.yml b/.licenses/go/golang.org/x/crypto/ssh.dep.yml index 00c8118f170..51cc4f34fdd 100644 --- a/.licenses/go/golang.org/x/crypto/ssh.dep.yml +++ b/.licenses/go/golang.org/x/crypto/ssh.dep.yml @@ -1,12 +1,12 @@ --- name: golang.org/x/crypto/ssh -version: v0.26.0 +version: v0.37.0 type: go summary: Package ssh implements an SSH client and server. homepage: https://pkg.go.dev/golang.org/x/crypto/ssh license: bsd-3-clause licenses: -- sources: crypto@v0.26.0/LICENSE +- sources: crypto@v0.37.0/LICENSE text: | Copyright 2009 The Go Authors. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: crypto@v0.26.0/PATENTS +- sources: crypto@v0.37.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/golang.org/x/crypto/ssh/agent.dep.yml b/.licenses/go/golang.org/x/crypto/ssh/agent.dep.yml index a3b863d8be8..9df1ce6608c 100644 --- a/.licenses/go/golang.org/x/crypto/ssh/agent.dep.yml +++ b/.licenses/go/golang.org/x/crypto/ssh/agent.dep.yml @@ -1,13 +1,13 @@ --- name: golang.org/x/crypto/ssh/agent -version: v0.26.0 +version: v0.37.0 type: go summary: Package agent implements the ssh-agent protocol, and provides both a client and a server. homepage: https://pkg.go.dev/golang.org/x/crypto/ssh/agent license: bsd-3-clause licenses: -- sources: crypto@v0.26.0/LICENSE +- sources: crypto@v0.37.0/LICENSE text: | Copyright 2009 The Go Authors. @@ -36,7 +36,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: crypto@v0.26.0/PATENTS +- sources: crypto@v0.37.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/golang.org/x/crypto/ssh/internal/bcrypt_pbkdf.dep.yml b/.licenses/go/golang.org/x/crypto/ssh/internal/bcrypt_pbkdf.dep.yml index c5e486f0a34..da7606d4a2d 100644 --- a/.licenses/go/golang.org/x/crypto/ssh/internal/bcrypt_pbkdf.dep.yml +++ b/.licenses/go/golang.org/x/crypto/ssh/internal/bcrypt_pbkdf.dep.yml @@ -1,12 +1,12 @@ --- name: golang.org/x/crypto/ssh/internal/bcrypt_pbkdf -version: v0.26.0 +version: v0.37.0 type: go summary: Package bcrypt_pbkdf implements bcrypt_pbkdf(3) from OpenBSD. homepage: https://pkg.go.dev/golang.org/x/crypto/ssh/internal/bcrypt_pbkdf license: bsd-3-clause licenses: -- sources: crypto@v0.26.0/LICENSE +- sources: crypto@v0.37.0/LICENSE text: | Copyright 2009 The Go Authors. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: crypto@v0.26.0/PATENTS +- sources: crypto@v0.37.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/golang.org/x/crypto/ssh/knownhosts.dep.yml b/.licenses/go/golang.org/x/crypto/ssh/knownhosts.dep.yml index 1db61805b47..110580f8187 100644 --- a/.licenses/go/golang.org/x/crypto/ssh/knownhosts.dep.yml +++ b/.licenses/go/golang.org/x/crypto/ssh/knownhosts.dep.yml @@ -1,6 +1,6 @@ --- name: golang.org/x/crypto/ssh/knownhosts -version: v0.26.0 +version: v0.37.0 type: go summary: Package knownhosts implements a parser for the OpenSSH known_hosts host key database, and provides utility functions for writing OpenSSH compliant known_hosts @@ -8,7 +8,7 @@ summary: Package knownhosts implements a parser for the OpenSSH known_hosts host homepage: https://pkg.go.dev/golang.org/x/crypto/ssh/knownhosts license: bsd-3-clause licenses: -- sources: crypto@v0.26.0/LICENSE +- sources: crypto@v0.37.0/LICENSE text: | Copyright 2009 The Go Authors. @@ -37,7 +37,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: crypto@v0.26.0/PATENTS +- sources: crypto@v0.37.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/golang.org/x/net/context.dep.yml b/.licenses/go/golang.org/x/net/context.dep.yml index efe9d919571..fa503d775d2 100644 --- a/.licenses/go/golang.org/x/net/context.dep.yml +++ b/.licenses/go/golang.org/x/net/context.dep.yml @@ -1,13 +1,13 @@ --- name: golang.org/x/net/context -version: v0.28.0 +version: v0.39.0 type: go -summary: Package context defines the Context type, which carries deadlines, cancelation +summary: Package context defines the Context type, which carries deadlines, cancellation signals, and other request-scoped values across API boundaries and between processes. homepage: https://pkg.go.dev/golang.org/x/net/context license: bsd-3-clause licenses: -- sources: net@v0.28.0/LICENSE +- sources: net@v0.39.0/LICENSE text: | Copyright 2009 The Go Authors. @@ -36,7 +36,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: net@v0.28.0/PATENTS +- sources: net@v0.39.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/golang.org/x/net/http2.dep.yml b/.licenses/go/golang.org/x/net/http2.dep.yml index 9e1bc3de98c..f73c354f234 100644 --- a/.licenses/go/golang.org/x/net/http2.dep.yml +++ b/.licenses/go/golang.org/x/net/http2.dep.yml @@ -1,12 +1,12 @@ --- name: golang.org/x/net/http2 -version: v0.28.0 +version: v0.39.0 type: go summary: Package http2 implements the HTTP/2 protocol. homepage: https://pkg.go.dev/golang.org/x/net/http2 license: bsd-3-clause licenses: -- sources: net@v0.28.0/LICENSE +- sources: net@v0.39.0/LICENSE text: | Copyright 2009 The Go Authors. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: net@v0.28.0/PATENTS +- sources: net@v0.39.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/internal/ecc/curve25519.dep.yml b/.licenses/go/golang.org/x/net/internal/httpcommon.dep.yml similarity index 84% rename from .licenses/go/github.com/ProtonMail/go-crypto/openpgp/internal/ecc/curve25519.dep.yml rename to .licenses/go/golang.org/x/net/internal/httpcommon.dep.yml index 0cb73a34478..884179b9339 100644 --- a/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/internal/ecc/curve25519.dep.yml +++ b/.licenses/go/golang.org/x/net/internal/httpcommon.dep.yml @@ -1,15 +1,14 @@ --- -name: github.com/ProtonMail/go-crypto/openpgp/internal/ecc/curve25519 -version: v1.1.0-beta.0-proton +name: golang.org/x/net/internal/httpcommon +version: v0.39.0 type: go -summary: Package curve25519 implements custom field operations without clamping for - forwarding. -homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/openpgp/internal/ecc/curve25519 -license: other +summary: +homepage: https://pkg.go.dev/golang.org/x/net/internal/httpcommon +license: bsd-3-clause licenses: -- sources: go-crypto@v1.1.0-beta.0-proton/LICENSE +- sources: net@v0.39.0/LICENSE text: | - Copyright (c) 2009 The Go Authors. All rights reserved. + Copyright 2009 The Go Authors. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are @@ -21,7 +20,7 @@ licenses: copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - * Neither the name of Google Inc. nor the names of its + * Neither the name of Google LLC nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. @@ -36,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: go-crypto@v1.1.0-beta.0-proton/PATENTS +- sources: net@v0.39.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/golang.org/x/net/internal/socks.dep.yml b/.licenses/go/golang.org/x/net/internal/socks.dep.yml index 5940e3ad2ca..0b4715c838f 100644 --- a/.licenses/go/golang.org/x/net/internal/socks.dep.yml +++ b/.licenses/go/golang.org/x/net/internal/socks.dep.yml @@ -1,12 +1,12 @@ --- name: golang.org/x/net/internal/socks -version: v0.28.0 +version: v0.39.0 type: go summary: Package socks provides a SOCKS version 5 client implementation. homepage: https://pkg.go.dev/golang.org/x/net/internal/socks license: bsd-3-clause licenses: -- sources: net@v0.28.0/LICENSE +- sources: net@v0.39.0/LICENSE text: | Copyright 2009 The Go Authors. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: net@v0.28.0/PATENTS +- sources: net@v0.39.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/golang.org/x/net/internal/timeseries.dep.yml b/.licenses/go/golang.org/x/net/internal/timeseries.dep.yml index 4fab24cbb36..56f464eebf7 100644 --- a/.licenses/go/golang.org/x/net/internal/timeseries.dep.yml +++ b/.licenses/go/golang.org/x/net/internal/timeseries.dep.yml @@ -1,12 +1,12 @@ --- name: golang.org/x/net/internal/timeseries -version: v0.28.0 +version: v0.39.0 type: go summary: Package timeseries implements a time series structure for stats collection. homepage: https://pkg.go.dev/golang.org/x/net/internal/timeseries license: bsd-3-clause licenses: -- sources: net@v0.28.0/LICENSE +- sources: net@v0.39.0/LICENSE text: | Copyright 2009 The Go Authors. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: net@v0.28.0/PATENTS +- sources: net@v0.39.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/golang.org/x/net/proxy.dep.yml b/.licenses/go/golang.org/x/net/proxy.dep.yml index 4b6081c41bf..67866d2af52 100644 --- a/.licenses/go/golang.org/x/net/proxy.dep.yml +++ b/.licenses/go/golang.org/x/net/proxy.dep.yml @@ -1,13 +1,13 @@ --- name: golang.org/x/net/proxy -version: v0.28.0 +version: v0.39.0 type: go summary: Package proxy provides support for a variety of protocols to proxy network data. homepage: https://pkg.go.dev/golang.org/x/net/proxy license: bsd-3-clause licenses: -- sources: net@v0.28.0/LICENSE +- sources: net@v0.39.0/LICENSE text: | Copyright 2009 The Go Authors. @@ -36,7 +36,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: net@v0.28.0/PATENTS +- sources: net@v0.39.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/golang.org/x/net/trace.dep.yml b/.licenses/go/golang.org/x/net/trace.dep.yml index 0bf3c32f314..5e84bd215ba 100644 --- a/.licenses/go/golang.org/x/net/trace.dep.yml +++ b/.licenses/go/golang.org/x/net/trace.dep.yml @@ -1,12 +1,12 @@ --- name: golang.org/x/net/trace -version: v0.28.0 +version: v0.39.0 type: go summary: Package trace implements tracing of requests and long-lived objects. homepage: https://pkg.go.dev/golang.org/x/net/trace license: bsd-3-clause licenses: -- sources: net@v0.28.0/LICENSE +- sources: net@v0.39.0/LICENSE text: | Copyright 2009 The Go Authors. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: net@v0.28.0/PATENTS +- sources: net@v0.39.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/golang.org/x/sys/execabs.dep.yml b/.licenses/go/golang.org/x/sys/execabs.dep.yml index 16790d00045..e2f2952b2e6 100644 --- a/.licenses/go/golang.org/x/sys/execabs.dep.yml +++ b/.licenses/go/golang.org/x/sys/execabs.dep.yml @@ -1,13 +1,13 @@ --- name: golang.org/x/sys/execabs -version: v0.26.0 +version: v0.33.0 type: go summary: Package execabs is a drop-in replacement for os/exec that requires PATH lookups to find absolute paths. homepage: https://pkg.go.dev/golang.org/x/sys/execabs license: other licenses: -- sources: sys@v0.26.0/LICENSE +- sources: sys@v0.33.0/LICENSE text: | Copyright 2009 The Go Authors. @@ -36,7 +36,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: sys@v0.26.0/PATENTS +- sources: sys@v0.33.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/golang.org/x/sys/unix.dep.yml b/.licenses/go/golang.org/x/sys/unix.dep.yml index 09ccbbba45a..0d1502c8aa9 100644 --- a/.licenses/go/golang.org/x/sys/unix.dep.yml +++ b/.licenses/go/golang.org/x/sys/unix.dep.yml @@ -1,12 +1,12 @@ --- name: golang.org/x/sys/unix -version: v0.26.0 +version: v0.33.0 type: go summary: Package unix contains an interface to the low-level operating system primitives. homepage: https://pkg.go.dev/golang.org/x/sys/unix license: bsd-3-clause licenses: -- sources: sys@v0.26.0/LICENSE +- sources: sys@v0.33.0/LICENSE text: | Copyright 2009 The Go Authors. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: sys@v0.26.0/PATENTS +- sources: sys@v0.33.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/golang.org/x/term.dep.yml b/.licenses/go/golang.org/x/term.dep.yml index 9c2566c7386..6b429e20738 100644 --- a/.licenses/go/golang.org/x/term.dep.yml +++ b/.licenses/go/golang.org/x/term.dep.yml @@ -1,6 +1,6 @@ --- name: golang.org/x/term -version: v0.25.0 +version: v0.32.0 type: go summary: Package term provides support functions for dealing with terminals, as commonly found on UNIX systems. diff --git a/.licenses/go/golang.org/x/text/encoding.dep.yml b/.licenses/go/golang.org/x/text/encoding.dep.yml index b43d4fe87a7..b236f79f6f6 100644 --- a/.licenses/go/golang.org/x/text/encoding.dep.yml +++ b/.licenses/go/golang.org/x/text/encoding.dep.yml @@ -1,13 +1,13 @@ --- name: golang.org/x/text/encoding -version: v0.19.0 +version: v0.26.0 type: go summary: Package encoding defines an interface for character encodings, such as Shift JIS and Windows 1252, that can convert to and from UTF-8. homepage: https://pkg.go.dev/golang.org/x/text/encoding license: other licenses: -- sources: text@v0.19.0/LICENSE +- sources: text@v0.26.0/LICENSE text: | Copyright 2009 The Go Authors. @@ -36,7 +36,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: text@v0.19.0/PATENTS +- sources: text@v0.26.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/golang.org/x/text/encoding/internal.dep.yml b/.licenses/go/golang.org/x/text/encoding/internal.dep.yml index a1e8049cd4a..21aed0d64fe 100644 --- a/.licenses/go/golang.org/x/text/encoding/internal.dep.yml +++ b/.licenses/go/golang.org/x/text/encoding/internal.dep.yml @@ -1,12 +1,12 @@ --- name: golang.org/x/text/encoding/internal -version: v0.19.0 +version: v0.26.0 type: go summary: Package internal contains code that is shared among encoding implementations. homepage: https://pkg.go.dev/golang.org/x/text/encoding/internal license: other licenses: -- sources: text@v0.19.0/LICENSE +- sources: text@v0.26.0/LICENSE text: | Copyright 2009 The Go Authors. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: text@v0.19.0/PATENTS +- sources: text@v0.26.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/golang.org/x/text/encoding/internal/identifier.dep.yml b/.licenses/go/golang.org/x/text/encoding/internal/identifier.dep.yml index 41812fd6992..aae33c8c115 100644 --- a/.licenses/go/golang.org/x/text/encoding/internal/identifier.dep.yml +++ b/.licenses/go/golang.org/x/text/encoding/internal/identifier.dep.yml @@ -1,6 +1,6 @@ --- name: golang.org/x/text/encoding/internal/identifier -version: v0.19.0 +version: v0.26.0 type: go summary: Package identifier defines the contract between implementations of Encoding and Index by defining identifiers that uniquely identify standardized coded character @@ -10,7 +10,7 @@ summary: Package identifier defines the contract between implementations of Enco homepage: https://pkg.go.dev/golang.org/x/text/encoding/internal/identifier license: other licenses: -- sources: text@v0.19.0/LICENSE +- sources: text@v0.26.0/LICENSE text: | Copyright 2009 The Go Authors. @@ -39,7 +39,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: text@v0.19.0/PATENTS +- sources: text@v0.26.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/golang.org/x/text/encoding/unicode.dep.yml b/.licenses/go/golang.org/x/text/encoding/unicode.dep.yml index 43fc02b4f1b..d8eebc3a197 100644 --- a/.licenses/go/golang.org/x/text/encoding/unicode.dep.yml +++ b/.licenses/go/golang.org/x/text/encoding/unicode.dep.yml @@ -1,12 +1,12 @@ --- name: golang.org/x/text/encoding/unicode -version: v0.19.0 +version: v0.26.0 type: go summary: Package unicode provides Unicode encodings such as UTF-16. homepage: https://pkg.go.dev/golang.org/x/text/encoding/unicode license: other licenses: -- sources: text@v0.19.0/LICENSE +- sources: text@v0.26.0/LICENSE text: | Copyright 2009 The Go Authors. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: text@v0.19.0/PATENTS +- sources: text@v0.26.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/golang.org/x/text/internal/utf8internal.dep.yml b/.licenses/go/golang.org/x/text/internal/utf8internal.dep.yml index 6eae8309d07..e5d541910bf 100644 --- a/.licenses/go/golang.org/x/text/internal/utf8internal.dep.yml +++ b/.licenses/go/golang.org/x/text/internal/utf8internal.dep.yml @@ -1,12 +1,12 @@ --- name: golang.org/x/text/internal/utf8internal -version: v0.19.0 +version: v0.26.0 type: go summary: Package utf8internal contains low-level utf8-related constants, tables, etc. homepage: https://pkg.go.dev/golang.org/x/text/internal/utf8internal license: other licenses: -- sources: text@v0.19.0/LICENSE +- sources: text@v0.26.0/LICENSE text: | Copyright 2009 The Go Authors. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: text@v0.19.0/PATENTS +- sources: text@v0.26.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/golang.org/x/text/runes.dep.yml b/.licenses/go/golang.org/x/text/runes.dep.yml index 346dba07a5a..27ad4db9275 100644 --- a/.licenses/go/golang.org/x/text/runes.dep.yml +++ b/.licenses/go/golang.org/x/text/runes.dep.yml @@ -1,12 +1,12 @@ --- name: golang.org/x/text/runes -version: v0.19.0 +version: v0.26.0 type: go summary: Package runes provide transforms for UTF-8 encoded text. homepage: https://pkg.go.dev/golang.org/x/text/runes license: bsd-3-clause licenses: -- sources: text@v0.19.0/LICENSE +- sources: text@v0.26.0/LICENSE text: | Copyright 2009 The Go Authors. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: text@v0.19.0/PATENTS +- sources: text@v0.26.0/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/google.golang.org/genproto/googleapis/rpc/status.dep.yml b/.licenses/go/google.golang.org/genproto/googleapis/rpc/status.dep.yml index 1224fef9bb5..fb9180ea76f 100644 --- a/.licenses/go/google.golang.org/genproto/googleapis/rpc/status.dep.yml +++ b/.licenses/go/google.golang.org/genproto/googleapis/rpc/status.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/genproto/googleapis/rpc/status -version: v0.0.0-20240814211410-ddb44dafa142 +version: v0.0.0-20250218202821-56aae31c358a type: go -summary: +summary: homepage: https://pkg.go.dev/google.golang.org/genproto/googleapis/rpc/status license: apache-2.0 licenses: -- sources: rpc@v0.0.0-20240814211410-ddb44dafa142/LICENSE +- sources: rpc@v0.0.0-20250218202821-56aae31c358a/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc.dep.yml b/.licenses/go/google.golang.org/grpc.dep.yml index 29e8fb7d8f3..1f818798e09 100644 --- a/.licenses/go/google.golang.org/grpc.dep.yml +++ b/.licenses/go/google.golang.org/grpc.dep.yml @@ -1,6 +1,6 @@ --- name: google.golang.org/grpc -version: v1.67.1 +version: v1.72.0 type: go summary: Package grpc implements an RPC system called gRPC. homepage: https://pkg.go.dev/google.golang.org/grpc diff --git a/.licenses/go/google.golang.org/grpc/attributes.dep.yml b/.licenses/go/google.golang.org/grpc/attributes.dep.yml index 89f55b407ff..daad74de000 100644 --- a/.licenses/go/google.golang.org/grpc/attributes.dep.yml +++ b/.licenses/go/google.golang.org/grpc/attributes.dep.yml @@ -1,13 +1,13 @@ --- name: google.golang.org/grpc/attributes -version: v1.67.1 +version: v1.72.0 type: go summary: Package attributes defines a generic key/value store used in various gRPC components. homepage: https://pkg.go.dev/google.golang.org/grpc/attributes license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/backoff.dep.yml b/.licenses/go/google.golang.org/grpc/backoff.dep.yml index 85acb2a27ff..d31941c32c8 100644 --- a/.licenses/go/google.golang.org/grpc/backoff.dep.yml +++ b/.licenses/go/google.golang.org/grpc/backoff.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/grpc/backoff -version: v1.67.1 +version: v1.72.0 type: go summary: Package backoff provides configuration options for backoff. homepage: https://pkg.go.dev/google.golang.org/grpc/backoff license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/balancer.dep.yml b/.licenses/go/google.golang.org/grpc/balancer.dep.yml index 874c68b6227..91273b196a4 100644 --- a/.licenses/go/google.golang.org/grpc/balancer.dep.yml +++ b/.licenses/go/google.golang.org/grpc/balancer.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/grpc/balancer -version: v1.67.1 +version: v1.72.0 type: go summary: Package balancer defines APIs for load balancing in gRPC. homepage: https://pkg.go.dev/google.golang.org/grpc/balancer license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/balancer/base.dep.yml b/.licenses/go/google.golang.org/grpc/balancer/base.dep.yml index 1b17123cdf3..b9970d4fb0d 100644 --- a/.licenses/go/google.golang.org/grpc/balancer/base.dep.yml +++ b/.licenses/go/google.golang.org/grpc/balancer/base.dep.yml @@ -1,13 +1,13 @@ --- name: google.golang.org/grpc/balancer/base -version: v1.67.1 +version: v1.72.0 type: go summary: Package base defines a balancer base that can be used to build balancers with different picking algorithms. homepage: https://pkg.go.dev/google.golang.org/grpc/balancer/base license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/balancer/endpointsharding.dep.yml b/.licenses/go/google.golang.org/grpc/balancer/endpointsharding.dep.yml new file mode 100644 index 00000000000..d3739824754 --- /dev/null +++ b/.licenses/go/google.golang.org/grpc/balancer/endpointsharding.dep.yml @@ -0,0 +1,214 @@ +--- +name: google.golang.org/grpc/balancer/endpointsharding +version: v1.72.0 +type: go +summary: Package endpointsharding implements a load balancing policy that manages + homogeneous child policies each owning a single endpoint. +homepage: https://pkg.go.dev/google.golang.org/grpc/balancer/endpointsharding +license: apache-2.0 +licenses: +- sources: grpc@v1.72.0/LICENSE + text: |2 + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. +notices: [] diff --git a/.licenses/go/google.golang.org/grpc/balancer/grpclb/state.dep.yml b/.licenses/go/google.golang.org/grpc/balancer/grpclb/state.dep.yml index 11ddede13c8..c81465c541a 100644 --- a/.licenses/go/google.golang.org/grpc/balancer/grpclb/state.dep.yml +++ b/.licenses/go/google.golang.org/grpc/balancer/grpclb/state.dep.yml @@ -1,13 +1,13 @@ --- name: google.golang.org/grpc/balancer/grpclb/state -version: v1.67.1 +version: v1.72.0 type: go summary: Package state declares grpclb types to be set by resolvers wishing to pass information to grpclb via resolver.State Attributes. homepage: https://pkg.go.dev/google.golang.org/grpc/balancer/grpclb/state license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/balancer/pickfirst.dep.yml b/.licenses/go/google.golang.org/grpc/balancer/pickfirst.dep.yml index 19f57f42abe..550167183d3 100644 --- a/.licenses/go/google.golang.org/grpc/balancer/pickfirst.dep.yml +++ b/.licenses/go/google.golang.org/grpc/balancer/pickfirst.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/grpc/balancer/pickfirst -version: v1.67.1 +version: v1.72.0 type: go summary: Package pickfirst contains the pick_first load balancing policy. homepage: https://pkg.go.dev/google.golang.org/grpc/balancer/pickfirst license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/balancer/pickfirst/internal.dep.yml b/.licenses/go/google.golang.org/grpc/balancer/pickfirst/internal.dep.yml new file mode 100644 index 00000000000..e37a1e02019 --- /dev/null +++ b/.licenses/go/google.golang.org/grpc/balancer/pickfirst/internal.dep.yml @@ -0,0 +1,213 @@ +--- +name: google.golang.org/grpc/balancer/pickfirst/internal +version: v1.72.0 +type: go +summary: Package internal contains code internal to the pickfirst package. +homepage: https://pkg.go.dev/google.golang.org/grpc/balancer/pickfirst/internal +license: apache-2.0 +licenses: +- sources: grpc@v1.72.0/LICENSE + text: |2 + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. +notices: [] diff --git a/.licenses/go/google.golang.org/grpc/balancer/pickfirst/pickfirstleaf.dep.yml b/.licenses/go/google.golang.org/grpc/balancer/pickfirst/pickfirstleaf.dep.yml new file mode 100644 index 00000000000..89565229de5 --- /dev/null +++ b/.licenses/go/google.golang.org/grpc/balancer/pickfirst/pickfirstleaf.dep.yml @@ -0,0 +1,214 @@ +--- +name: google.golang.org/grpc/balancer/pickfirst/pickfirstleaf +version: v1.72.0 +type: go +summary: Package pickfirstleaf contains the pick_first load balancing policy which + will be the universal leaf policy after dualstack changes are implemented. +homepage: https://pkg.go.dev/google.golang.org/grpc/balancer/pickfirst/pickfirstleaf +license: apache-2.0 +licenses: +- sources: grpc@v1.72.0/LICENSE + text: |2 + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. +notices: [] diff --git a/.licenses/go/google.golang.org/grpc/balancer/roundrobin.dep.yml b/.licenses/go/google.golang.org/grpc/balancer/roundrobin.dep.yml index 128548be697..5d97a3bb070 100644 --- a/.licenses/go/google.golang.org/grpc/balancer/roundrobin.dep.yml +++ b/.licenses/go/google.golang.org/grpc/balancer/roundrobin.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/grpc/balancer/roundrobin -version: v1.67.1 +version: v1.72.0 type: go summary: Package roundrobin defines a roundrobin balancer. homepage: https://pkg.go.dev/google.golang.org/grpc/balancer/roundrobin license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/binarylog/grpc_binarylog_v1.dep.yml b/.licenses/go/google.golang.org/grpc/binarylog/grpc_binarylog_v1.dep.yml index 91ddb057c51..0656f8dc769 100644 --- a/.licenses/go/google.golang.org/grpc/binarylog/grpc_binarylog_v1.dep.yml +++ b/.licenses/go/google.golang.org/grpc/binarylog/grpc_binarylog_v1.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/grpc/binarylog/grpc_binarylog_v1 -version: v1.67.1 +version: v1.72.0 type: go -summary: +summary: homepage: https://pkg.go.dev/google.golang.org/grpc/binarylog/grpc_binarylog_v1 license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/channelz.dep.yml b/.licenses/go/google.golang.org/grpc/channelz.dep.yml index 364325ae560..a7d4e0fd164 100644 --- a/.licenses/go/google.golang.org/grpc/channelz.dep.yml +++ b/.licenses/go/google.golang.org/grpc/channelz.dep.yml @@ -1,13 +1,13 @@ --- name: google.golang.org/grpc/channelz -version: v1.67.1 +version: v1.72.0 type: go summary: Package channelz exports internals of the channelz implementation as required by other gRPC packages. homepage: https://pkg.go.dev/google.golang.org/grpc/channelz license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/codes.dep.yml b/.licenses/go/google.golang.org/grpc/codes.dep.yml index 83da697094d..bc88cec5aef 100644 --- a/.licenses/go/google.golang.org/grpc/codes.dep.yml +++ b/.licenses/go/google.golang.org/grpc/codes.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/grpc/codes -version: v1.67.1 +version: v1.72.0 type: go summary: Package codes defines the canonical error codes used by gRPC. homepage: https://pkg.go.dev/google.golang.org/grpc/codes license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/connectivity.dep.yml b/.licenses/go/google.golang.org/grpc/connectivity.dep.yml index 5f07c3809ff..c4249d13687 100644 --- a/.licenses/go/google.golang.org/grpc/connectivity.dep.yml +++ b/.licenses/go/google.golang.org/grpc/connectivity.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/grpc/connectivity -version: v1.67.1 +version: v1.72.0 type: go summary: Package connectivity defines connectivity semantics. homepage: https://pkg.go.dev/google.golang.org/grpc/connectivity license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/credentials.dep.yml b/.licenses/go/google.golang.org/grpc/credentials.dep.yml index 91f834bdfdf..33de557a781 100644 --- a/.licenses/go/google.golang.org/grpc/credentials.dep.yml +++ b/.licenses/go/google.golang.org/grpc/credentials.dep.yml @@ -1,6 +1,6 @@ --- name: google.golang.org/grpc/credentials -version: v1.67.1 +version: v1.72.0 type: go summary: Package credentials implements various credentials supported by gRPC library, which encapsulate all the state needed by a client to authenticate with a server @@ -9,7 +9,7 @@ summary: Package credentials implements various credentials supported by gRPC li homepage: https://pkg.go.dev/google.golang.org/grpc/credentials license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/credentials/insecure.dep.yml b/.licenses/go/google.golang.org/grpc/credentials/insecure.dep.yml index d3ae1107d13..875369419d9 100644 --- a/.licenses/go/google.golang.org/grpc/credentials/insecure.dep.yml +++ b/.licenses/go/google.golang.org/grpc/credentials/insecure.dep.yml @@ -1,13 +1,13 @@ --- name: google.golang.org/grpc/credentials/insecure -version: v1.67.1 +version: v1.72.0 type: go summary: Package insecure provides an implementation of the credentials.TransportCredentials interface which disables transport security. homepage: https://pkg.go.dev/google.golang.org/grpc/credentials/insecure license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/encoding.dep.yml b/.licenses/go/google.golang.org/grpc/encoding.dep.yml index 6729ea209b9..ffdb6ca9e2a 100644 --- a/.licenses/go/google.golang.org/grpc/encoding.dep.yml +++ b/.licenses/go/google.golang.org/grpc/encoding.dep.yml @@ -1,13 +1,13 @@ --- name: google.golang.org/grpc/encoding -version: v1.67.1 +version: v1.72.0 type: go summary: Package encoding defines the interface for the compressor and codec, and functions to register and retrieve compressors and codecs. homepage: https://pkg.go.dev/google.golang.org/grpc/encoding license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/encoding/proto.dep.yml b/.licenses/go/google.golang.org/grpc/encoding/proto.dep.yml index be8dea35db5..4ae9e50f087 100644 --- a/.licenses/go/google.golang.org/grpc/encoding/proto.dep.yml +++ b/.licenses/go/google.golang.org/grpc/encoding/proto.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/grpc/encoding/proto -version: v1.67.1 +version: v1.72.0 type: go summary: Package proto defines the protobuf codec. homepage: https://pkg.go.dev/google.golang.org/grpc/encoding/proto license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/experimental/stats.dep.yml b/.licenses/go/google.golang.org/grpc/experimental/stats.dep.yml index 563a8b1238f..31dedbe58b0 100644 --- a/.licenses/go/google.golang.org/grpc/experimental/stats.dep.yml +++ b/.licenses/go/google.golang.org/grpc/experimental/stats.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/grpc/experimental/stats -version: v1.67.1 +version: v1.72.0 type: go summary: Package stats contains experimental metrics/stats API's. homepage: https://pkg.go.dev/google.golang.org/grpc/experimental/stats license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/grpclog.dep.yml b/.licenses/go/google.golang.org/grpc/grpclog.dep.yml index e63ad5aedf1..b75daf68093 100644 --- a/.licenses/go/google.golang.org/grpc/grpclog.dep.yml +++ b/.licenses/go/google.golang.org/grpc/grpclog.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/grpc/grpclog -version: v1.67.1 +version: v1.72.0 type: go summary: Package grpclog defines logging for grpc. homepage: https://pkg.go.dev/google.golang.org/grpc/grpclog license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/grpclog/internal.dep.yml b/.licenses/go/google.golang.org/grpc/grpclog/internal.dep.yml index 95b32e2492f..59e47cde6c6 100644 --- a/.licenses/go/google.golang.org/grpc/grpclog/internal.dep.yml +++ b/.licenses/go/google.golang.org/grpc/grpclog/internal.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/grpc/grpclog/internal -version: v1.67.1 +version: v1.72.0 type: go summary: Package internal contains functionality internal to the grpclog package. homepage: https://pkg.go.dev/google.golang.org/grpc/grpclog/internal license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/internal.dep.yml b/.licenses/go/google.golang.org/grpc/internal.dep.yml index 63753f22682..32a8a313988 100644 --- a/.licenses/go/google.golang.org/grpc/internal.dep.yml +++ b/.licenses/go/google.golang.org/grpc/internal.dep.yml @@ -1,13 +1,13 @@ --- name: google.golang.org/grpc/internal -version: v1.67.1 +version: v1.72.0 type: go summary: Package internal contains gRPC-internal code, to avoid polluting the godoc of the top-level grpc package. homepage: https://pkg.go.dev/google.golang.org/grpc/internal license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/internal/backoff.dep.yml b/.licenses/go/google.golang.org/grpc/internal/backoff.dep.yml index 131d234ba79..d67d4f739ac 100644 --- a/.licenses/go/google.golang.org/grpc/internal/backoff.dep.yml +++ b/.licenses/go/google.golang.org/grpc/internal/backoff.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/grpc/internal/backoff -version: v1.67.1 +version: v1.72.0 type: go summary: Package backoff implement the backoff strategy for gRPC. homepage: https://pkg.go.dev/google.golang.org/grpc/internal/backoff license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/internal/balancer/gracefulswitch.dep.yml b/.licenses/go/google.golang.org/grpc/internal/balancer/gracefulswitch.dep.yml index c37e897d370..b68951d9f6a 100644 --- a/.licenses/go/google.golang.org/grpc/internal/balancer/gracefulswitch.dep.yml +++ b/.licenses/go/google.golang.org/grpc/internal/balancer/gracefulswitch.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/grpc/internal/balancer/gracefulswitch -version: v1.67.1 +version: v1.72.0 type: go summary: Package gracefulswitch implements a graceful switch load balancer. homepage: https://pkg.go.dev/google.golang.org/grpc/internal/balancer/gracefulswitch license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/internal/balancerload.dep.yml b/.licenses/go/google.golang.org/grpc/internal/balancerload.dep.yml index 0411a07381c..ebee895822a 100644 --- a/.licenses/go/google.golang.org/grpc/internal/balancerload.dep.yml +++ b/.licenses/go/google.golang.org/grpc/internal/balancerload.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/grpc/internal/balancerload -version: v1.67.1 +version: v1.72.0 type: go summary: Package balancerload defines APIs to parse server loads in trailers. homepage: https://pkg.go.dev/google.golang.org/grpc/internal/balancerload license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/internal/binarylog.dep.yml b/.licenses/go/google.golang.org/grpc/internal/binarylog.dep.yml index 5303005025d..78c5aa4d95d 100644 --- a/.licenses/go/google.golang.org/grpc/internal/binarylog.dep.yml +++ b/.licenses/go/google.golang.org/grpc/internal/binarylog.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/grpc/internal/binarylog -version: v1.67.1 +version: v1.72.0 type: go summary: Package binarylog implementation binary logging as defined in https://github.com/grpc/proposal/blob/master/A16-binary-logging.md. homepage: https://pkg.go.dev/google.golang.org/grpc/internal/binarylog license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/internal/buffer.dep.yml b/.licenses/go/google.golang.org/grpc/internal/buffer.dep.yml index a3799a06cfa..291abdf8616 100644 --- a/.licenses/go/google.golang.org/grpc/internal/buffer.dep.yml +++ b/.licenses/go/google.golang.org/grpc/internal/buffer.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/grpc/internal/buffer -version: v1.67.1 +version: v1.72.0 type: go summary: Package buffer provides an implementation of an unbounded buffer. homepage: https://pkg.go.dev/google.golang.org/grpc/internal/buffer license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/internal/channelz.dep.yml b/.licenses/go/google.golang.org/grpc/internal/channelz.dep.yml index ea5ef6aca4c..9fdd267d6d4 100644 --- a/.licenses/go/google.golang.org/grpc/internal/channelz.dep.yml +++ b/.licenses/go/google.golang.org/grpc/internal/channelz.dep.yml @@ -1,13 +1,13 @@ --- name: google.golang.org/grpc/internal/channelz -version: v1.67.1 +version: v1.72.0 type: go summary: Package channelz defines internal APIs for enabling channelz service, entry registration/deletion, and accessing channelz data. homepage: https://pkg.go.dev/google.golang.org/grpc/internal/channelz license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/internal/credentials.dep.yml b/.licenses/go/google.golang.org/grpc/internal/credentials.dep.yml index 7720aca85ea..48a1889a22c 100644 --- a/.licenses/go/google.golang.org/grpc/internal/credentials.dep.yml +++ b/.licenses/go/google.golang.org/grpc/internal/credentials.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/grpc/internal/credentials -version: v1.67.1 +version: v1.72.0 type: go summary: Package credentials defines APIs for parsing SPIFFE ID. homepage: https://pkg.go.dev/google.golang.org/grpc/internal/credentials license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/internal/envconfig.dep.yml b/.licenses/go/google.golang.org/grpc/internal/envconfig.dep.yml index 2964e2b06cd..343086b4714 100644 --- a/.licenses/go/google.golang.org/grpc/internal/envconfig.dep.yml +++ b/.licenses/go/google.golang.org/grpc/internal/envconfig.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/grpc/internal/envconfig -version: v1.67.1 +version: v1.72.0 type: go summary: Package envconfig contains grpc settings configured by environment variables. homepage: https://pkg.go.dev/google.golang.org/grpc/internal/envconfig license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/internal/grpclog.dep.yml b/.licenses/go/google.golang.org/grpc/internal/grpclog.dep.yml index 4435f1424f3..b1ea5ff1f08 100644 --- a/.licenses/go/google.golang.org/grpc/internal/grpclog.dep.yml +++ b/.licenses/go/google.golang.org/grpc/internal/grpclog.dep.yml @@ -1,13 +1,13 @@ --- name: google.golang.org/grpc/internal/grpclog -version: v1.67.1 +version: v1.72.0 type: go summary: Package grpclog provides logging functionality for internal gRPC packages, outside of the functionality provided by the external `grpclog` package. homepage: https://pkg.go.dev/google.golang.org/grpc/internal/grpclog license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/internal/grpcsync.dep.yml b/.licenses/go/google.golang.org/grpc/internal/grpcsync.dep.yml index c52158c702f..dd97de6bed2 100644 --- a/.licenses/go/google.golang.org/grpc/internal/grpcsync.dep.yml +++ b/.licenses/go/google.golang.org/grpc/internal/grpcsync.dep.yml @@ -1,13 +1,13 @@ --- name: google.golang.org/grpc/internal/grpcsync -version: v1.67.1 +version: v1.72.0 type: go summary: Package grpcsync implements additional synchronization primitives built upon the sync package. homepage: https://pkg.go.dev/google.golang.org/grpc/internal/grpcsync license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/internal/grpcutil.dep.yml b/.licenses/go/google.golang.org/grpc/internal/grpcutil.dep.yml index 88292a27082..0a7e96504f1 100644 --- a/.licenses/go/google.golang.org/grpc/internal/grpcutil.dep.yml +++ b/.licenses/go/google.golang.org/grpc/internal/grpcutil.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/grpc/internal/grpcutil -version: v1.67.1 +version: v1.72.0 type: go summary: Package grpcutil provides utility functions used across the gRPC codebase. homepage: https://pkg.go.dev/google.golang.org/grpc/internal/grpcutil license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/internal/idle.dep.yml b/.licenses/go/google.golang.org/grpc/internal/idle.dep.yml index e13936d68ee..82e64ec8b9a 100644 --- a/.licenses/go/google.golang.org/grpc/internal/idle.dep.yml +++ b/.licenses/go/google.golang.org/grpc/internal/idle.dep.yml @@ -1,13 +1,13 @@ --- name: google.golang.org/grpc/internal/idle -version: v1.67.1 +version: v1.72.0 type: go summary: Package idle contains a component for managing idleness (entering and exiting) based on RPC activity. homepage: https://pkg.go.dev/google.golang.org/grpc/internal/idle license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/internal/metadata.dep.yml b/.licenses/go/google.golang.org/grpc/internal/metadata.dep.yml index 43a279abcb2..09a87890c1d 100644 --- a/.licenses/go/google.golang.org/grpc/internal/metadata.dep.yml +++ b/.licenses/go/google.golang.org/grpc/internal/metadata.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/grpc/internal/metadata -version: v1.67.1 +version: v1.72.0 type: go summary: Package metadata contains functions to set and get metadata from addresses. homepage: https://pkg.go.dev/google.golang.org/grpc/internal/metadata license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/internal/pretty.dep.yml b/.licenses/go/google.golang.org/grpc/internal/pretty.dep.yml index 64e5df74f83..e96c5e820d7 100644 --- a/.licenses/go/google.golang.org/grpc/internal/pretty.dep.yml +++ b/.licenses/go/google.golang.org/grpc/internal/pretty.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/grpc/internal/pretty -version: v1.67.1 +version: v1.72.0 type: go summary: Package pretty defines helper functions to pretty-print structs for logging. homepage: https://pkg.go.dev/google.golang.org/grpc/internal/pretty license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/internal/proxyattributes.dep.yml b/.licenses/go/google.golang.org/grpc/internal/proxyattributes.dep.yml new file mode 100644 index 00000000000..e178b81ee5b --- /dev/null +++ b/.licenses/go/google.golang.org/grpc/internal/proxyattributes.dep.yml @@ -0,0 +1,214 @@ +--- +name: google.golang.org/grpc/internal/proxyattributes +version: v1.72.0 +type: go +summary: Package proxyattributes contains functions for getting and setting proxy + attributes like the CONNECT address and user info. +homepage: https://pkg.go.dev/google.golang.org/grpc/internal/proxyattributes +license: apache-2.0 +licenses: +- sources: grpc@v1.72.0/LICENSE + text: |2 + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. +notices: [] diff --git a/.licenses/go/google.golang.org/grpc/internal/resolver.dep.yml b/.licenses/go/google.golang.org/grpc/internal/resolver.dep.yml index 37523410e79..b902ef5a8ec 100644 --- a/.licenses/go/google.golang.org/grpc/internal/resolver.dep.yml +++ b/.licenses/go/google.golang.org/grpc/internal/resolver.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/grpc/internal/resolver -version: v1.67.1 +version: v1.72.0 type: go summary: Package resolver provides internal resolver-related functionality. homepage: https://pkg.go.dev/google.golang.org/grpc/internal/resolver license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/internal/resolver/delegatingresolver.dep.yml b/.licenses/go/google.golang.org/grpc/internal/resolver/delegatingresolver.dep.yml new file mode 100644 index 00000000000..c399ffdb93a --- /dev/null +++ b/.licenses/go/google.golang.org/grpc/internal/resolver/delegatingresolver.dep.yml @@ -0,0 +1,214 @@ +--- +name: google.golang.org/grpc/internal/resolver/delegatingresolver +version: v1.72.0 +type: go +summary: Package delegatingresolver implements a resolver capable of resolving both + target URIs and proxy addresses. +homepage: https://pkg.go.dev/google.golang.org/grpc/internal/resolver/delegatingresolver +license: apache-2.0 +licenses: +- sources: grpc@v1.72.0/LICENSE + text: |2 + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. +notices: [] diff --git a/.licenses/go/google.golang.org/grpc/internal/resolver/dns.dep.yml b/.licenses/go/google.golang.org/grpc/internal/resolver/dns.dep.yml index ba02004e49f..0f6202e5985 100644 --- a/.licenses/go/google.golang.org/grpc/internal/resolver/dns.dep.yml +++ b/.licenses/go/google.golang.org/grpc/internal/resolver/dns.dep.yml @@ -1,13 +1,13 @@ --- name: google.golang.org/grpc/internal/resolver/dns -version: v1.67.1 +version: v1.72.0 type: go summary: Package dns implements a dns resolver to be installed as the default resolver in grpc. homepage: https://pkg.go.dev/google.golang.org/grpc/internal/resolver/dns license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/internal/resolver/dns/internal.dep.yml b/.licenses/go/google.golang.org/grpc/internal/resolver/dns/internal.dep.yml index 75e21b25b34..5d3008a22bd 100644 --- a/.licenses/go/google.golang.org/grpc/internal/resolver/dns/internal.dep.yml +++ b/.licenses/go/google.golang.org/grpc/internal/resolver/dns/internal.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/grpc/internal/resolver/dns/internal -version: v1.67.1 +version: v1.72.0 type: go summary: Package internal contains functionality internal to the dns resolver package. homepage: https://pkg.go.dev/google.golang.org/grpc/internal/resolver/dns/internal license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/internal/resolver/passthrough.dep.yml b/.licenses/go/google.golang.org/grpc/internal/resolver/passthrough.dep.yml index 9b88b454f1f..d809dc1a9e5 100644 --- a/.licenses/go/google.golang.org/grpc/internal/resolver/passthrough.dep.yml +++ b/.licenses/go/google.golang.org/grpc/internal/resolver/passthrough.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/grpc/internal/resolver/passthrough -version: v1.67.1 +version: v1.72.0 type: go summary: Package passthrough implements a pass-through resolver. homepage: https://pkg.go.dev/google.golang.org/grpc/internal/resolver/passthrough license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/internal/resolver/unix.dep.yml b/.licenses/go/google.golang.org/grpc/internal/resolver/unix.dep.yml index 610fe2f7979..dae54706b32 100644 --- a/.licenses/go/google.golang.org/grpc/internal/resolver/unix.dep.yml +++ b/.licenses/go/google.golang.org/grpc/internal/resolver/unix.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/grpc/internal/resolver/unix -version: v1.67.1 +version: v1.72.0 type: go summary: Package unix implements a resolver for unix targets. homepage: https://pkg.go.dev/google.golang.org/grpc/internal/resolver/unix license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/internal/serviceconfig.dep.yml b/.licenses/go/google.golang.org/grpc/internal/serviceconfig.dep.yml index a79a921b0f5..64219c4e724 100644 --- a/.licenses/go/google.golang.org/grpc/internal/serviceconfig.dep.yml +++ b/.licenses/go/google.golang.org/grpc/internal/serviceconfig.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/grpc/internal/serviceconfig -version: v1.67.1 +version: v1.72.0 type: go summary: Package serviceconfig contains utility functions to parse service config. homepage: https://pkg.go.dev/google.golang.org/grpc/internal/serviceconfig license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/internal/stats.dep.yml b/.licenses/go/google.golang.org/grpc/internal/stats.dep.yml index e91028bf74e..e237ba19cde 100644 --- a/.licenses/go/google.golang.org/grpc/internal/stats.dep.yml +++ b/.licenses/go/google.golang.org/grpc/internal/stats.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/grpc/internal/stats -version: v1.67.1 +version: v1.72.0 type: go summary: Package stats provides internal stats related functionality. homepage: https://pkg.go.dev/google.golang.org/grpc/internal/stats license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/internal/status.dep.yml b/.licenses/go/google.golang.org/grpc/internal/status.dep.yml index 401de4ea66d..3babfd5a408 100644 --- a/.licenses/go/google.golang.org/grpc/internal/status.dep.yml +++ b/.licenses/go/google.golang.org/grpc/internal/status.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/grpc/internal/status -version: v1.67.1 +version: v1.72.0 type: go summary: Package status implements errors returned by gRPC. homepage: https://pkg.go.dev/google.golang.org/grpc/internal/status license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/internal/syscall.dep.yml b/.licenses/go/google.golang.org/grpc/internal/syscall.dep.yml index fd2a839e603..678027f65e3 100644 --- a/.licenses/go/google.golang.org/grpc/internal/syscall.dep.yml +++ b/.licenses/go/google.golang.org/grpc/internal/syscall.dep.yml @@ -1,13 +1,13 @@ --- name: google.golang.org/grpc/internal/syscall -version: v1.67.1 +version: v1.72.0 type: go summary: Package syscall provides functionalities that grpc uses to get low-level operating system stats/info. homepage: https://pkg.go.dev/google.golang.org/grpc/internal/syscall license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/internal/transport.dep.yml b/.licenses/go/google.golang.org/grpc/internal/transport.dep.yml index 4dc3a8ba8a3..2daf4a00e59 100644 --- a/.licenses/go/google.golang.org/grpc/internal/transport.dep.yml +++ b/.licenses/go/google.golang.org/grpc/internal/transport.dep.yml @@ -1,13 +1,13 @@ --- name: google.golang.org/grpc/internal/transport -version: v1.67.1 +version: v1.72.0 type: go summary: Package transport defines and implements message oriented communication channel to complete various transactions (e.g., an RPC). homepage: https://pkg.go.dev/google.golang.org/grpc/internal/transport license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/internal/transport/networktype.dep.yml b/.licenses/go/google.golang.org/grpc/internal/transport/networktype.dep.yml index 86b084f0539..66ab6e32131 100644 --- a/.licenses/go/google.golang.org/grpc/internal/transport/networktype.dep.yml +++ b/.licenses/go/google.golang.org/grpc/internal/transport/networktype.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/grpc/internal/transport/networktype -version: v1.67.1 +version: v1.72.0 type: go summary: Package networktype declares the network type to be used in the default dialer. homepage: https://pkg.go.dev/google.golang.org/grpc/internal/transport/networktype license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/keepalive.dep.yml b/.licenses/go/google.golang.org/grpc/keepalive.dep.yml index 9158b97093c..7728d998486 100644 --- a/.licenses/go/google.golang.org/grpc/keepalive.dep.yml +++ b/.licenses/go/google.golang.org/grpc/keepalive.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/grpc/keepalive -version: v1.67.1 +version: v1.72.0 type: go summary: Package keepalive defines configurable parameters for point-to-point healthcheck. homepage: https://pkg.go.dev/google.golang.org/grpc/keepalive license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/mem.dep.yml b/.licenses/go/google.golang.org/grpc/mem.dep.yml index d8f776c3a3c..833a60ae7fc 100644 --- a/.licenses/go/google.golang.org/grpc/mem.dep.yml +++ b/.licenses/go/google.golang.org/grpc/mem.dep.yml @@ -1,13 +1,13 @@ --- name: google.golang.org/grpc/mem -version: v1.67.1 +version: v1.72.0 type: go summary: Package mem provides utilities that facilitate memory reuse in byte slices that are used as buffers. homepage: https://pkg.go.dev/google.golang.org/grpc/mem license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/metadata.dep.yml b/.licenses/go/google.golang.org/grpc/metadata.dep.yml index 73484ce7a0f..31a33bc572f 100644 --- a/.licenses/go/google.golang.org/grpc/metadata.dep.yml +++ b/.licenses/go/google.golang.org/grpc/metadata.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/grpc/metadata -version: v1.67.1 +version: v1.72.0 type: go summary: Package metadata define the structure of the metadata supported by gRPC library. homepage: https://pkg.go.dev/google.golang.org/grpc/metadata license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/peer.dep.yml b/.licenses/go/google.golang.org/grpc/peer.dep.yml index 8ceaf6a32a1..54fcf729f48 100644 --- a/.licenses/go/google.golang.org/grpc/peer.dep.yml +++ b/.licenses/go/google.golang.org/grpc/peer.dep.yml @@ -1,13 +1,13 @@ --- name: google.golang.org/grpc/peer -version: v1.67.1 +version: v1.72.0 type: go summary: Package peer defines various peer information associated with RPCs and corresponding utils. homepage: https://pkg.go.dev/google.golang.org/grpc/peer license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/resolver.dep.yml b/.licenses/go/google.golang.org/grpc/resolver.dep.yml index 6c6192054aa..c64f67ba7b0 100644 --- a/.licenses/go/google.golang.org/grpc/resolver.dep.yml +++ b/.licenses/go/google.golang.org/grpc/resolver.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/grpc/resolver -version: v1.67.1 +version: v1.72.0 type: go summary: Package resolver defines APIs for name resolution in gRPC. homepage: https://pkg.go.dev/google.golang.org/grpc/resolver license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/resolver/dns.dep.yml b/.licenses/go/google.golang.org/grpc/resolver/dns.dep.yml index 8b39315e9ad..3c76dd87c0b 100644 --- a/.licenses/go/google.golang.org/grpc/resolver/dns.dep.yml +++ b/.licenses/go/google.golang.org/grpc/resolver/dns.dep.yml @@ -1,13 +1,13 @@ --- name: google.golang.org/grpc/resolver/dns -version: v1.67.1 +version: v1.72.0 type: go summary: Package dns implements a dns resolver to be installed as the default resolver in grpc. homepage: https://pkg.go.dev/google.golang.org/grpc/resolver/dns license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/serviceconfig.dep.yml b/.licenses/go/google.golang.org/grpc/serviceconfig.dep.yml index 8fae8896d7b..1c7c22b6404 100644 --- a/.licenses/go/google.golang.org/grpc/serviceconfig.dep.yml +++ b/.licenses/go/google.golang.org/grpc/serviceconfig.dep.yml @@ -1,13 +1,13 @@ --- name: google.golang.org/grpc/serviceconfig -version: v1.67.1 +version: v1.72.0 type: go summary: Package serviceconfig defines types and methods for operating on gRPC service configs. homepage: https://pkg.go.dev/google.golang.org/grpc/serviceconfig license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/stats.dep.yml b/.licenses/go/google.golang.org/grpc/stats.dep.yml index 2474b83265c..d0948a17740 100644 --- a/.licenses/go/google.golang.org/grpc/stats.dep.yml +++ b/.licenses/go/google.golang.org/grpc/stats.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/grpc/stats -version: v1.67.1 +version: v1.72.0 type: go summary: Package stats is for collecting and reporting various network and RPC stats. homepage: https://pkg.go.dev/google.golang.org/grpc/stats license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/status.dep.yml b/.licenses/go/google.golang.org/grpc/status.dep.yml index b1979be8b93..e8b36243d49 100644 --- a/.licenses/go/google.golang.org/grpc/status.dep.yml +++ b/.licenses/go/google.golang.org/grpc/status.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/grpc/status -version: v1.67.1 +version: v1.72.0 type: go summary: Package status implements errors returned by gRPC. homepage: https://pkg.go.dev/google.golang.org/grpc/status license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/grpc/tap.dep.yml b/.licenses/go/google.golang.org/grpc/tap.dep.yml index 262be90628f..06da3f95c3e 100644 --- a/.licenses/go/google.golang.org/grpc/tap.dep.yml +++ b/.licenses/go/google.golang.org/grpc/tap.dep.yml @@ -1,13 +1,13 @@ --- name: google.golang.org/grpc/tap -version: v1.67.1 +version: v1.72.0 type: go summary: Package tap defines the function handles which are executed on the transport layer of gRPC-Go and related information. homepage: https://pkg.go.dev/google.golang.org/grpc/tap license: apache-2.0 licenses: -- sources: grpc@v1.67.1/LICENSE +- sources: grpc@v1.72.0/LICENSE text: |2 Apache License diff --git a/.licenses/go/google.golang.org/protobuf/encoding/protojson.dep.yml b/.licenses/go/google.golang.org/protobuf/encoding/protojson.dep.yml index 1316ce0b1ec..5b111717d12 100644 --- a/.licenses/go/google.golang.org/protobuf/encoding/protojson.dep.yml +++ b/.licenses/go/google.golang.org/protobuf/encoding/protojson.dep.yml @@ -1,13 +1,13 @@ --- name: google.golang.org/protobuf/encoding/protojson -version: v1.35.1 +version: v1.36.6 type: go summary: Package protojson marshals and unmarshals protocol buffer messages as JSON format. homepage: https://pkg.go.dev/google.golang.org/protobuf/encoding/protojson license: other licenses: -- sources: protobuf@v1.35.1/LICENSE +- sources: protobuf@v1.36.6/LICENSE text: | Copyright (c) 2018 The Go Authors. All rights reserved. @@ -36,7 +36,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: protobuf@v1.35.1/PATENTS +- sources: protobuf@v1.36.6/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/google.golang.org/protobuf/encoding/prototext.dep.yml b/.licenses/go/google.golang.org/protobuf/encoding/prototext.dep.yml index 260a6ea7993..fa8c6b9dda7 100644 --- a/.licenses/go/google.golang.org/protobuf/encoding/prototext.dep.yml +++ b/.licenses/go/google.golang.org/protobuf/encoding/prototext.dep.yml @@ -1,13 +1,13 @@ --- name: google.golang.org/protobuf/encoding/prototext -version: v1.35.1 +version: v1.36.6 type: go summary: Package prototext marshals and unmarshals protocol buffer messages as the textproto format. homepage: https://pkg.go.dev/google.golang.org/protobuf/encoding/prototext license: bsd-3-clause licenses: -- sources: protobuf@v1.35.1/LICENSE +- sources: protobuf@v1.36.6/LICENSE text: | Copyright (c) 2018 The Go Authors. All rights reserved. @@ -36,7 +36,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: protobuf@v1.35.1/PATENTS +- sources: protobuf@v1.36.6/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/google.golang.org/protobuf/encoding/protowire.dep.yml b/.licenses/go/google.golang.org/protobuf/encoding/protowire.dep.yml index 1e39620a466..2a709b7eb9a 100644 --- a/.licenses/go/google.golang.org/protobuf/encoding/protowire.dep.yml +++ b/.licenses/go/google.golang.org/protobuf/encoding/protowire.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/protobuf/encoding/protowire -version: v1.35.1 +version: v1.36.6 type: go summary: Package protowire parses and formats the raw wire encoding. homepage: https://pkg.go.dev/google.golang.org/protobuf/encoding/protowire license: bsd-3-clause licenses: -- sources: protobuf@v1.35.1/LICENSE +- sources: protobuf@v1.36.6/LICENSE text: | Copyright (c) 2018 The Go Authors. All rights reserved. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: protobuf@v1.35.1/PATENTS +- sources: protobuf@v1.36.6/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/google.golang.org/protobuf/internal/descfmt.dep.yml b/.licenses/go/google.golang.org/protobuf/internal/descfmt.dep.yml index 0844e1b493e..dfc77d20cad 100644 --- a/.licenses/go/google.golang.org/protobuf/internal/descfmt.dep.yml +++ b/.licenses/go/google.golang.org/protobuf/internal/descfmt.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/protobuf/internal/descfmt -version: v1.35.1 +version: v1.36.6 type: go summary: Package descfmt provides functionality to format descriptors. homepage: https://pkg.go.dev/google.golang.org/protobuf/internal/descfmt license: bsd-3-clause licenses: -- sources: protobuf@v1.35.1/LICENSE +- sources: protobuf@v1.36.6/LICENSE text: | Copyright (c) 2018 The Go Authors. All rights reserved. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: protobuf@v1.35.1/PATENTS +- sources: protobuf@v1.36.6/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/google.golang.org/protobuf/internal/descopts.dep.yml b/.licenses/go/google.golang.org/protobuf/internal/descopts.dep.yml index ac246e942b6..bf48781295c 100644 --- a/.licenses/go/google.golang.org/protobuf/internal/descopts.dep.yml +++ b/.licenses/go/google.golang.org/protobuf/internal/descopts.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/protobuf/internal/descopts -version: v1.35.1 +version: v1.36.6 type: go summary: Package descopts contains the nil pointers to concrete descriptor options. homepage: https://pkg.go.dev/google.golang.org/protobuf/internal/descopts license: bsd-3-clause licenses: -- sources: protobuf@v1.35.1/LICENSE +- sources: protobuf@v1.36.6/LICENSE text: | Copyright (c) 2018 The Go Authors. All rights reserved. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: protobuf@v1.35.1/PATENTS +- sources: protobuf@v1.36.6/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/google.golang.org/protobuf/internal/detrand.dep.yml b/.licenses/go/google.golang.org/protobuf/internal/detrand.dep.yml index 9ac1bb6ba7a..de8d758c1e7 100644 --- a/.licenses/go/google.golang.org/protobuf/internal/detrand.dep.yml +++ b/.licenses/go/google.golang.org/protobuf/internal/detrand.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/protobuf/internal/detrand -version: v1.35.1 +version: v1.36.6 type: go summary: Package detrand provides deterministically random functionality. homepage: https://pkg.go.dev/google.golang.org/protobuf/internal/detrand license: bsd-3-clause licenses: -- sources: protobuf@v1.35.1/LICENSE +- sources: protobuf@v1.36.6/LICENSE text: | Copyright (c) 2018 The Go Authors. All rights reserved. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: protobuf@v1.35.1/PATENTS +- sources: protobuf@v1.36.6/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/google.golang.org/protobuf/internal/editiondefaults.dep.yml b/.licenses/go/google.golang.org/protobuf/internal/editiondefaults.dep.yml index 7782a7d7e8f..cf24ec27b65 100644 --- a/.licenses/go/google.golang.org/protobuf/internal/editiondefaults.dep.yml +++ b/.licenses/go/google.golang.org/protobuf/internal/editiondefaults.dep.yml @@ -1,13 +1,13 @@ --- name: google.golang.org/protobuf/internal/editiondefaults -version: v1.35.1 +version: v1.36.6 type: go summary: Package editiondefaults contains the binary representation of the editions defaults. homepage: https://pkg.go.dev/google.golang.org/protobuf/internal/editiondefaults license: bsd-3-clause licenses: -- sources: protobuf@v1.35.1/LICENSE +- sources: protobuf@v1.36.6/LICENSE text: | Copyright (c) 2018 The Go Authors. All rights reserved. @@ -36,7 +36,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: protobuf@v1.35.1/PATENTS +- sources: protobuf@v1.36.6/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/google.golang.org/protobuf/internal/encoding/defval.dep.yml b/.licenses/go/google.golang.org/protobuf/internal/encoding/defval.dep.yml index d678b37f3ed..1b1dda85d0c 100644 --- a/.licenses/go/google.golang.org/protobuf/internal/encoding/defval.dep.yml +++ b/.licenses/go/google.golang.org/protobuf/internal/encoding/defval.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/protobuf/internal/encoding/defval -version: v1.35.1 +version: v1.36.6 type: go summary: Package defval marshals and unmarshals textual forms of default values. homepage: https://pkg.go.dev/google.golang.org/protobuf/internal/encoding/defval license: bsd-3-clause licenses: -- sources: protobuf@v1.35.1/LICENSE +- sources: protobuf@v1.36.6/LICENSE text: | Copyright (c) 2018 The Go Authors. All rights reserved. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: protobuf@v1.35.1/PATENTS +- sources: protobuf@v1.36.6/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/google.golang.org/protobuf/internal/encoding/json.dep.yml b/.licenses/go/google.golang.org/protobuf/internal/encoding/json.dep.yml index 752121a7728..c13c0b838e3 100644 --- a/.licenses/go/google.golang.org/protobuf/internal/encoding/json.dep.yml +++ b/.licenses/go/google.golang.org/protobuf/internal/encoding/json.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/protobuf/internal/encoding/json -version: v1.35.1 +version: v1.36.6 type: go summary: homepage: https://pkg.go.dev/google.golang.org/protobuf/internal/encoding/json license: other licenses: -- sources: protobuf@v1.35.1/LICENSE +- sources: protobuf@v1.36.6/LICENSE text: | Copyright (c) 2018 The Go Authors. All rights reserved. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: protobuf@v1.35.1/PATENTS +- sources: protobuf@v1.36.6/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/google.golang.org/protobuf/internal/encoding/messageset.dep.yml b/.licenses/go/google.golang.org/protobuf/internal/encoding/messageset.dep.yml index 40b18a1e1b8..301f01e5ec0 100644 --- a/.licenses/go/google.golang.org/protobuf/internal/encoding/messageset.dep.yml +++ b/.licenses/go/google.golang.org/protobuf/internal/encoding/messageset.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/protobuf/internal/encoding/messageset -version: v1.35.1 +version: v1.36.6 type: go summary: Package messageset encodes and decodes the obsolete MessageSet wire format. homepage: https://pkg.go.dev/google.golang.org/protobuf/internal/encoding/messageset license: bsd-3-clause licenses: -- sources: protobuf@v1.35.1/LICENSE +- sources: protobuf@v1.36.6/LICENSE text: | Copyright (c) 2018 The Go Authors. All rights reserved. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: protobuf@v1.35.1/PATENTS +- sources: protobuf@v1.36.6/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/google.golang.org/protobuf/internal/encoding/tag.dep.yml b/.licenses/go/google.golang.org/protobuf/internal/encoding/tag.dep.yml index 510ab82e066..3216052a3cd 100644 --- a/.licenses/go/google.golang.org/protobuf/internal/encoding/tag.dep.yml +++ b/.licenses/go/google.golang.org/protobuf/internal/encoding/tag.dep.yml @@ -1,13 +1,13 @@ --- name: google.golang.org/protobuf/internal/encoding/tag -version: v1.35.1 +version: v1.36.6 type: go summary: Package tag marshals and unmarshals the legacy struct tags as generated by historical versions of protoc-gen-go. homepage: https://pkg.go.dev/google.golang.org/protobuf/internal/encoding/tag license: bsd-3-clause licenses: -- sources: protobuf@v1.35.1/LICENSE +- sources: protobuf@v1.36.6/LICENSE text: | Copyright (c) 2018 The Go Authors. All rights reserved. @@ -36,7 +36,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: protobuf@v1.35.1/PATENTS +- sources: protobuf@v1.36.6/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/google.golang.org/protobuf/internal/encoding/text.dep.yml b/.licenses/go/google.golang.org/protobuf/internal/encoding/text.dep.yml index adae9e46038..6e1d0f4148a 100644 --- a/.licenses/go/google.golang.org/protobuf/internal/encoding/text.dep.yml +++ b/.licenses/go/google.golang.org/protobuf/internal/encoding/text.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/protobuf/internal/encoding/text -version: v1.35.1 +version: v1.36.6 type: go summary: Package text implements the text format for protocol buffers. homepage: https://pkg.go.dev/google.golang.org/protobuf/internal/encoding/text license: bsd-3-clause licenses: -- sources: protobuf@v1.35.1/LICENSE +- sources: protobuf@v1.36.6/LICENSE text: | Copyright (c) 2018 The Go Authors. All rights reserved. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: protobuf@v1.35.1/PATENTS +- sources: protobuf@v1.36.6/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/google.golang.org/protobuf/internal/errors.dep.yml b/.licenses/go/google.golang.org/protobuf/internal/errors.dep.yml index 480989941c8..f9ff1da3dc1 100644 --- a/.licenses/go/google.golang.org/protobuf/internal/errors.dep.yml +++ b/.licenses/go/google.golang.org/protobuf/internal/errors.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/protobuf/internal/errors -version: v1.35.1 +version: v1.36.6 type: go summary: Package errors implements functions to manipulate errors. homepage: https://pkg.go.dev/google.golang.org/protobuf/internal/errors license: bsd-3-clause licenses: -- sources: protobuf@v1.35.1/LICENSE +- sources: protobuf@v1.36.6/LICENSE text: | Copyright (c) 2018 The Go Authors. All rights reserved. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: protobuf@v1.35.1/PATENTS +- sources: protobuf@v1.36.6/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/google.golang.org/protobuf/internal/filedesc.dep.yml b/.licenses/go/google.golang.org/protobuf/internal/filedesc.dep.yml index e000823b672..4e6401d877d 100644 --- a/.licenses/go/google.golang.org/protobuf/internal/filedesc.dep.yml +++ b/.licenses/go/google.golang.org/protobuf/internal/filedesc.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/protobuf/internal/filedesc -version: v1.35.1 +version: v1.36.6 type: go summary: Package filedesc provides functionality for constructing descriptors. homepage: https://pkg.go.dev/google.golang.org/protobuf/internal/filedesc license: bsd-3-clause licenses: -- sources: protobuf@v1.35.1/LICENSE +- sources: protobuf@v1.36.6/LICENSE text: | Copyright (c) 2018 The Go Authors. All rights reserved. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: protobuf@v1.35.1/PATENTS +- sources: protobuf@v1.36.6/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/google.golang.org/protobuf/internal/filetype.dep.yml b/.licenses/go/google.golang.org/protobuf/internal/filetype.dep.yml index a482d950bc1..28622c838d4 100644 --- a/.licenses/go/google.golang.org/protobuf/internal/filetype.dep.yml +++ b/.licenses/go/google.golang.org/protobuf/internal/filetype.dep.yml @@ -1,13 +1,13 @@ --- name: google.golang.org/protobuf/internal/filetype -version: v1.35.1 +version: v1.36.6 type: go summary: Package filetype provides functionality for wrapping descriptors with Go type information. homepage: https://pkg.go.dev/google.golang.org/protobuf/internal/filetype license: bsd-3-clause licenses: -- sources: protobuf@v1.35.1/LICENSE +- sources: protobuf@v1.36.6/LICENSE text: | Copyright (c) 2018 The Go Authors. All rights reserved. @@ -36,7 +36,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: protobuf@v1.35.1/PATENTS +- sources: protobuf@v1.36.6/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/google.golang.org/protobuf/internal/flags.dep.yml b/.licenses/go/google.golang.org/protobuf/internal/flags.dep.yml index 7f71b18ba29..b2293a1c6dd 100644 --- a/.licenses/go/google.golang.org/protobuf/internal/flags.dep.yml +++ b/.licenses/go/google.golang.org/protobuf/internal/flags.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/protobuf/internal/flags -version: v1.35.1 +version: v1.36.6 type: go summary: Package flags provides a set of flags controlled by build tags. homepage: https://pkg.go.dev/google.golang.org/protobuf/internal/flags license: bsd-3-clause licenses: -- sources: protobuf@v1.35.1/LICENSE +- sources: protobuf@v1.36.6/LICENSE text: | Copyright (c) 2018 The Go Authors. All rights reserved. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: protobuf@v1.35.1/PATENTS +- sources: protobuf@v1.36.6/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/google.golang.org/protobuf/internal/genid.dep.yml b/.licenses/go/google.golang.org/protobuf/internal/genid.dep.yml index a3df6fc75a8..685c44fd390 100644 --- a/.licenses/go/google.golang.org/protobuf/internal/genid.dep.yml +++ b/.licenses/go/google.golang.org/protobuf/internal/genid.dep.yml @@ -1,13 +1,13 @@ --- name: google.golang.org/protobuf/internal/genid -version: v1.35.1 +version: v1.36.6 type: go summary: Package genid contains constants for declarations in descriptor.proto and the well-known types. homepage: https://pkg.go.dev/google.golang.org/protobuf/internal/genid license: bsd-3-clause licenses: -- sources: protobuf@v1.35.1/LICENSE +- sources: protobuf@v1.36.6/LICENSE text: | Copyright (c) 2018 The Go Authors. All rights reserved. @@ -36,7 +36,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: protobuf@v1.35.1/PATENTS +- sources: protobuf@v1.36.6/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/google.golang.org/protobuf/internal/impl.dep.yml b/.licenses/go/google.golang.org/protobuf/internal/impl.dep.yml index c3cde0fd884..3516366f692 100644 --- a/.licenses/go/google.golang.org/protobuf/internal/impl.dep.yml +++ b/.licenses/go/google.golang.org/protobuf/internal/impl.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/protobuf/internal/impl -version: v1.35.1 +version: v1.36.6 type: go summary: homepage: https://pkg.go.dev/google.golang.org/protobuf/internal/impl license: bsd-3-clause licenses: -- sources: protobuf@v1.35.1/LICENSE +- sources: protobuf@v1.36.6/LICENSE text: | Copyright (c) 2018 The Go Authors. All rights reserved. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: protobuf@v1.35.1/PATENTS +- sources: protobuf@v1.36.6/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/google.golang.org/protobuf/internal/order.dep.yml b/.licenses/go/google.golang.org/protobuf/internal/order.dep.yml index e98589eb694..59d61e7c527 100644 --- a/.licenses/go/google.golang.org/protobuf/internal/order.dep.yml +++ b/.licenses/go/google.golang.org/protobuf/internal/order.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/protobuf/internal/order -version: v1.35.1 +version: v1.36.6 type: go summary: Package order provides ordered access to messages and maps. homepage: https://pkg.go.dev/google.golang.org/protobuf/internal/order license: bsd-3-clause licenses: -- sources: protobuf@v1.35.1/LICENSE +- sources: protobuf@v1.36.6/LICENSE text: | Copyright (c) 2018 The Go Authors. All rights reserved. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: protobuf@v1.35.1/PATENTS +- sources: protobuf@v1.36.6/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/google.golang.org/protobuf/internal/pragma.dep.yml b/.licenses/go/google.golang.org/protobuf/internal/pragma.dep.yml index d2ec77194ba..001ed2bfbec 100644 --- a/.licenses/go/google.golang.org/protobuf/internal/pragma.dep.yml +++ b/.licenses/go/google.golang.org/protobuf/internal/pragma.dep.yml @@ -1,13 +1,13 @@ --- name: google.golang.org/protobuf/internal/pragma -version: v1.35.1 +version: v1.36.6 type: go summary: Package pragma provides types that can be embedded into a struct to statically enforce or prevent certain language properties. homepage: https://pkg.go.dev/google.golang.org/protobuf/internal/pragma license: bsd-3-clause licenses: -- sources: protobuf@v1.35.1/LICENSE +- sources: protobuf@v1.36.6/LICENSE text: | Copyright (c) 2018 The Go Authors. All rights reserved. @@ -36,7 +36,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: protobuf@v1.35.1/PATENTS +- sources: protobuf@v1.36.6/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/symmetric.dep.yml b/.licenses/go/google.golang.org/protobuf/internal/protolazy.dep.yml similarity index 88% rename from .licenses/go/github.com/ProtonMail/go-crypto/openpgp/symmetric.dep.yml rename to .licenses/go/google.golang.org/protobuf/internal/protolazy.dep.yml index 447fa615a96..2435d7a2f5a 100644 --- a/.licenses/go/github.com/ProtonMail/go-crypto/openpgp/symmetric.dep.yml +++ b/.licenses/go/google.golang.org/protobuf/internal/protolazy.dep.yml @@ -1,14 +1,14 @@ --- -name: github.com/ProtonMail/go-crypto/openpgp/symmetric -version: v1.1.0-beta.0-proton +name: google.golang.org/protobuf/internal/protolazy +version: v1.36.6 type: go -summary: -homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/openpgp/symmetric -license: other +summary: Package protolazy contains internal data structures for lazy message decoding. +homepage: https://pkg.go.dev/google.golang.org/protobuf/internal/protolazy +license: bsd-3-clause licenses: -- sources: go-crypto@v1.1.0-beta.0-proton/LICENSE +- sources: protobuf@v1.36.6/LICENSE text: | - Copyright (c) 2009 The Go Authors. All rights reserved. + Copyright (c) 2018 The Go Authors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: go-crypto@v1.1.0-beta.0-proton/PATENTS +- sources: protobuf@v1.36.6/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/google.golang.org/protobuf/internal/set.dep.yml b/.licenses/go/google.golang.org/protobuf/internal/set.dep.yml index d30969ffb6e..52152d0cf9e 100644 --- a/.licenses/go/google.golang.org/protobuf/internal/set.dep.yml +++ b/.licenses/go/google.golang.org/protobuf/internal/set.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/protobuf/internal/set -version: v1.35.1 +version: v1.36.6 type: go summary: Package set provides simple set data structures for uint64s. homepage: https://pkg.go.dev/google.golang.org/protobuf/internal/set license: bsd-3-clause licenses: -- sources: protobuf@v1.35.1/LICENSE +- sources: protobuf@v1.36.6/LICENSE text: | Copyright (c) 2018 The Go Authors. All rights reserved. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: protobuf@v1.35.1/PATENTS +- sources: protobuf@v1.36.6/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/google.golang.org/protobuf/internal/strs.dep.yml b/.licenses/go/google.golang.org/protobuf/internal/strs.dep.yml index 8ce44738bf0..9030b61dc80 100644 --- a/.licenses/go/google.golang.org/protobuf/internal/strs.dep.yml +++ b/.licenses/go/google.golang.org/protobuf/internal/strs.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/protobuf/internal/strs -version: v1.35.1 +version: v1.36.6 type: go summary: Package strs provides string manipulation functionality specific to protobuf. homepage: https://pkg.go.dev/google.golang.org/protobuf/internal/strs license: bsd-3-clause licenses: -- sources: protobuf@v1.35.1/LICENSE +- sources: protobuf@v1.36.6/LICENSE text: | Copyright (c) 2018 The Go Authors. All rights reserved. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: protobuf@v1.35.1/PATENTS +- sources: protobuf@v1.36.6/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/google.golang.org/protobuf/internal/version.dep.yml b/.licenses/go/google.golang.org/protobuf/internal/version.dep.yml index 3a96c85819c..a8abbd93aee 100644 --- a/.licenses/go/google.golang.org/protobuf/internal/version.dep.yml +++ b/.licenses/go/google.golang.org/protobuf/internal/version.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/protobuf/internal/version -version: v1.35.1 +version: v1.36.6 type: go summary: Package version records versioning information about this module. homepage: https://pkg.go.dev/google.golang.org/protobuf/internal/version license: bsd-3-clause licenses: -- sources: protobuf@v1.35.1/LICENSE +- sources: protobuf@v1.36.6/LICENSE text: | Copyright (c) 2018 The Go Authors. All rights reserved. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: protobuf@v1.35.1/PATENTS +- sources: protobuf@v1.36.6/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/google.golang.org/protobuf/proto.dep.yml b/.licenses/go/google.golang.org/protobuf/proto.dep.yml index 6a4ec0c15be..44a8835d9a2 100644 --- a/.licenses/go/google.golang.org/protobuf/proto.dep.yml +++ b/.licenses/go/google.golang.org/protobuf/proto.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/protobuf/proto -version: v1.35.1 +version: v1.36.6 type: go summary: Package proto provides functions operating on protocol buffer messages. homepage: https://pkg.go.dev/google.golang.org/protobuf/proto license: bsd-3-clause licenses: -- sources: protobuf@v1.35.1/LICENSE +- sources: protobuf@v1.36.6/LICENSE text: | Copyright (c) 2018 The Go Authors. All rights reserved. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: protobuf@v1.35.1/PATENTS +- sources: protobuf@v1.36.6/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/google.golang.org/protobuf/protoadapt.dep.yml b/.licenses/go/google.golang.org/protobuf/protoadapt.dep.yml index a6b72b1de39..4bfb7937200 100644 --- a/.licenses/go/google.golang.org/protobuf/protoadapt.dep.yml +++ b/.licenses/go/google.golang.org/protobuf/protoadapt.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/protobuf/protoadapt -version: v1.35.1 +version: v1.36.6 type: go summary: Package protoadapt bridges the original and new proto APIs. homepage: https://pkg.go.dev/google.golang.org/protobuf/protoadapt license: bsd-3-clause licenses: -- sources: protobuf@v1.35.1/LICENSE +- sources: protobuf@v1.36.6/LICENSE text: | Copyright (c) 2018 The Go Authors. All rights reserved. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: protobuf@v1.35.1/PATENTS +- sources: protobuf@v1.36.6/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/google.golang.org/protobuf/reflect/protoreflect.dep.yml b/.licenses/go/google.golang.org/protobuf/reflect/protoreflect.dep.yml index e4df8de87c7..5343f737627 100644 --- a/.licenses/go/google.golang.org/protobuf/reflect/protoreflect.dep.yml +++ b/.licenses/go/google.golang.org/protobuf/reflect/protoreflect.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/protobuf/reflect/protoreflect -version: v1.35.1 +version: v1.36.6 type: go summary: Package protoreflect provides interfaces to dynamically manipulate messages. homepage: https://pkg.go.dev/google.golang.org/protobuf/reflect/protoreflect license: bsd-3-clause licenses: -- sources: protobuf@v1.35.1/LICENSE +- sources: protobuf@v1.36.6/LICENSE text: | Copyright (c) 2018 The Go Authors. All rights reserved. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: protobuf@v1.35.1/PATENTS +- sources: protobuf@v1.36.6/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/google.golang.org/protobuf/reflect/protoregistry.dep.yml b/.licenses/go/google.golang.org/protobuf/reflect/protoregistry.dep.yml index c2de9422f70..c16761390c3 100644 --- a/.licenses/go/google.golang.org/protobuf/reflect/protoregistry.dep.yml +++ b/.licenses/go/google.golang.org/protobuf/reflect/protoregistry.dep.yml @@ -1,13 +1,13 @@ --- name: google.golang.org/protobuf/reflect/protoregistry -version: v1.35.1 +version: v1.36.6 type: go summary: Package protoregistry provides data structures to register and lookup protobuf descriptor types. homepage: https://pkg.go.dev/google.golang.org/protobuf/reflect/protoregistry license: bsd-3-clause licenses: -- sources: protobuf@v1.35.1/LICENSE +- sources: protobuf@v1.36.6/LICENSE text: | Copyright (c) 2018 The Go Authors. All rights reserved. @@ -36,7 +36,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: protobuf@v1.35.1/PATENTS +- sources: protobuf@v1.36.6/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/google.golang.org/protobuf/runtime/protoiface.dep.yml b/.licenses/go/google.golang.org/protobuf/runtime/protoiface.dep.yml index 56d1e3566af..0c4287a0af3 100644 --- a/.licenses/go/google.golang.org/protobuf/runtime/protoiface.dep.yml +++ b/.licenses/go/google.golang.org/protobuf/runtime/protoiface.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/protobuf/runtime/protoiface -version: v1.35.1 +version: v1.36.6 type: go summary: Package protoiface contains types referenced or implemented by messages. homepage: https://pkg.go.dev/google.golang.org/protobuf/runtime/protoiface license: bsd-3-clause licenses: -- sources: protobuf@v1.35.1/LICENSE +- sources: protobuf@v1.36.6/LICENSE text: | Copyright (c) 2018 The Go Authors. All rights reserved. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: protobuf@v1.35.1/PATENTS +- sources: protobuf@v1.36.6/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/google.golang.org/protobuf/runtime/protoimpl.dep.yml b/.licenses/go/google.golang.org/protobuf/runtime/protoimpl.dep.yml index a8be9b1a4ef..2ce73e33e61 100644 --- a/.licenses/go/google.golang.org/protobuf/runtime/protoimpl.dep.yml +++ b/.licenses/go/google.golang.org/protobuf/runtime/protoimpl.dep.yml @@ -1,13 +1,13 @@ --- name: google.golang.org/protobuf/runtime/protoimpl -version: v1.35.1 +version: v1.36.6 type: go summary: Package protoimpl contains the default implementation for messages generated by protoc-gen-go. homepage: https://pkg.go.dev/google.golang.org/protobuf/runtime/protoimpl license: bsd-3-clause licenses: -- sources: protobuf@v1.35.1/LICENSE +- sources: protobuf@v1.36.6/LICENSE text: | Copyright (c) 2018 The Go Authors. All rights reserved. @@ -36,7 +36,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: protobuf@v1.35.1/PATENTS +- sources: protobuf@v1.36.6/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/google.golang.org/protobuf/types/known/anypb.dep.yml b/.licenses/go/google.golang.org/protobuf/types/known/anypb.dep.yml index 660ec4e6e83..008b5ea473a 100644 --- a/.licenses/go/google.golang.org/protobuf/types/known/anypb.dep.yml +++ b/.licenses/go/google.golang.org/protobuf/types/known/anypb.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/protobuf/types/known/anypb -version: v1.35.1 +version: v1.36.6 type: go summary: Package anypb contains generated types for google/protobuf/any.proto. homepage: https://pkg.go.dev/google.golang.org/protobuf/types/known/anypb license: bsd-3-clause licenses: -- sources: protobuf@v1.35.1/LICENSE +- sources: protobuf@v1.36.6/LICENSE text: | Copyright (c) 2018 The Go Authors. All rights reserved. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: protobuf@v1.35.1/PATENTS +- sources: protobuf@v1.36.6/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/google.golang.org/protobuf/types/known/durationpb.dep.yml b/.licenses/go/google.golang.org/protobuf/types/known/durationpb.dep.yml index 12a8295ea37..0b0a33c05c7 100644 --- a/.licenses/go/google.golang.org/protobuf/types/known/durationpb.dep.yml +++ b/.licenses/go/google.golang.org/protobuf/types/known/durationpb.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/protobuf/types/known/durationpb -version: v1.35.1 +version: v1.36.6 type: go summary: Package durationpb contains generated types for google/protobuf/duration.proto. homepage: https://pkg.go.dev/google.golang.org/protobuf/types/known/durationpb license: bsd-3-clause licenses: -- sources: protobuf@v1.35.1/LICENSE +- sources: protobuf@v1.36.6/LICENSE text: | Copyright (c) 2018 The Go Authors. All rights reserved. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: protobuf@v1.35.1/PATENTS +- sources: protobuf@v1.36.6/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.licenses/go/google.golang.org/protobuf/types/known/timestamppb.dep.yml b/.licenses/go/google.golang.org/protobuf/types/known/timestamppb.dep.yml index 4fe0c2916d8..85c9973c3fc 100644 --- a/.licenses/go/google.golang.org/protobuf/types/known/timestamppb.dep.yml +++ b/.licenses/go/google.golang.org/protobuf/types/known/timestamppb.dep.yml @@ -1,12 +1,12 @@ --- name: google.golang.org/protobuf/types/known/timestamppb -version: v1.35.1 +version: v1.36.6 type: go summary: Package timestamppb contains generated types for google/protobuf/timestamp.proto. homepage: https://pkg.go.dev/google.golang.org/protobuf/types/known/timestamppb license: bsd-3-clause licenses: -- sources: protobuf@v1.35.1/LICENSE +- sources: protobuf@v1.36.6/LICENSE text: | Copyright (c) 2018 The Go Authors. All rights reserved. @@ -35,7 +35,7 @@ licenses: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- sources: protobuf@v1.35.1/PATENTS +- sources: protobuf@v1.36.6/PATENTS text: | Additional IP Rights Grant (Patents) diff --git a/.markdown-link-check.json b/.markdown-link-check.json index 281aa2d61e0..2d7d80a50c3 100644 --- a/.markdown-link-check.json +++ b/.markdown-link-check.json @@ -4,9 +4,6 @@ "timeout": "20s", "aliveStatusCodes": [200, 206], "ignorePatterns": [ - { - "pattern": "^#" - }, { "pattern": "https?://localhost:\\d*/" }, diff --git a/DistTasks.yml b/DistTasks.yml index 4c0514e70af..c1b3fe243c3 100644 --- a/DistTasks.yml +++ b/DistTasks.yml @@ -19,7 +19,7 @@ version: "3" vars: CONTAINER: "docker.elastic.co/beats-dev/golang-crossbuild" - GO_VERSION: "1.22.5" + GO_VERSION: "1.24.1" tasks: Windows_32bit: @@ -76,6 +76,10 @@ tasks: -p "{{.BUILD_PLATFORM}}" tar cz -C {{.PLATFORM_DIR}} {{.PROJECT_NAME}} -C ../.. LICENSE.txt -f {{.PACKAGE_NAME}} + - task: build_deb + vars: + GO_BINARY: "{{.DIST_DIR}}/{{.PLATFORM_DIR}}/{{.PROJECT_NAME}}" + ARCH: "i386" vars: PLATFORM_DIR: "{{.PROJECT_NAME}}_linux_amd32" @@ -97,6 +101,10 @@ tasks: -p "{{.BUILD_PLATFORM}}" tar cz -C {{.PLATFORM_DIR}} {{.PROJECT_NAME}} -C ../.. LICENSE.txt -f {{.PACKAGE_NAME}} + - task: build_deb + vars: + GO_BINARY: "{{.DIST_DIR}}/{{.PLATFORM_DIR}}/{{.PROJECT_NAME}}" + ARCH: "amd64" vars: PLATFORM_DIR: "{{.PROJECT_NAME}}_linux_amd64" @@ -118,6 +126,10 @@ tasks: -p "{{.BUILD_PLATFORM}}" tar cz -C {{.PLATFORM_DIR}} {{.PROJECT_NAME}} -C ../.. LICENSE.txt -f {{.PACKAGE_NAME}} + - task: build_deb + vars: + GO_BINARY: "{{.DIST_DIR}}/{{.PLATFORM_DIR}}/{{.PROJECT_NAME}}" + ARCH: "armhf" vars: PLATFORM_DIR: "{{.PROJECT_NAME}}_linux_arm_7" @@ -139,40 +151,16 @@ tasks: -p "{{.BUILD_PLATFORM}}" tar cz -C {{.PLATFORM_DIR}} {{.PROJECT_NAME}} -C ../.. LICENSE.txt -f {{.PACKAGE_NAME}} + - task: build_deb + vars: + GO_BINARY: "{{.DIST_DIR}}/{{.PLATFORM_DIR}}/{{.PROJECT_NAME}}" + ARCH: "armel" vars: PLATFORM_DIR: "{{.PROJECT_NAME}}_linux_arm_6" - BUILD_COMMAND: "go build -o {{.DIST_DIR}}/{{.PLATFORM_DIR}}/{{.PROJECT_NAME}} {{.LDFLAGS}}" + BUILD_COMMAND: "go build -buildvcs=false -o {{.DIST_DIR}}/{{.PLATFORM_DIR}}/{{.PROJECT_NAME}} {{.LDFLAGS}}" BUILD_PLATFORM: "linux/armv6" - # We are experiencing the following error with ARMv6 build: - # - # # github.com/arduino/arduino-cli - # net(.text): unexpected relocation type 296 (R_ARM_V4BX) - # panic: runtime error: invalid memory address or nil pointer dereference - # [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x51ae53] - # - # goroutine 1 [running]: - # cmd/link/internal/loader.(*Loader).SymName(0xc000095c00, 0x0, 0xc0000958d8, 0x5a0ac) - # /usr/local/go/src/cmd/link/internal/loader/loader.go:684 +0x53 - # cmd/link/internal/ld.dynrelocsym2(0xc000095880, 0x5a0ac) - # /usr/local/go/src/cmd/link/internal/ld/data.go:777 +0x295 - # cmd/link/internal/ld.(*dodataState).dynreloc2(0xc007df9800, 0xc000095880) - # /usr/local/go/src/cmd/link/internal/ld/data.go:794 +0x89 - # cmd/link/internal/ld.(*Link).dodata2(0xc000095880, 0xc007d00000, 0x60518, 0x60518) - # /usr/local/go/src/cmd/link/internal/ld/data.go:1434 +0x4d4 - # cmd/link/internal/ld.Main(0x8729a0, 0x4, 0x8, 0x1, 0xd, 0xe, 0x0, 0x0, 0x6d7737, 0x12, ...) - # /usr/local/go/src/cmd/link/internal/ld/main.go:302 +0x123a - # main.main() - # /usr/local/go/src/cmd/link/main.go:68 +0x1dc - # Error: failed building for linux/armv6: exit status 2 - # - # This seems to be a problem in the go builder 1.16.x that removed support for the R_ARM_V4BX instruction: - # https://github.com/golang/go/pull/44998 - # https://groups.google.com/g/golang-codereviews/c/yzN80xxwu2E - # - # Until there is a fix released we must use a recent gcc for Linux_ARMv6 build, so for this - # build we select the debian10 based container. - CONTAINER_TAG: "{{.GO_VERSION}}-armel-debian9" + CONTAINER_TAG: "{{.GO_VERSION}}-armel-debian12" PACKAGE_PLATFORM: "Linux_ARMv6" PACKAGE_NAME: "{{.PROJECT_NAME}}_{{.VERSION}}_{{.PACKAGE_PLATFORM}}.tar.gz" @@ -188,12 +176,16 @@ tasks: -p "{{.BUILD_PLATFORM}}" tar cz -C {{.PLATFORM_DIR}} {{.PROJECT_NAME}} -C ../.. LICENSE.txt -f {{.PACKAGE_NAME}} + - task: build_deb + vars: + GO_BINARY: "{{.DIST_DIR}}/{{.PLATFORM_DIR}}/{{.PROJECT_NAME}}" + ARCH: "arm64" vars: PLATFORM_DIR: "{{.PROJECT_NAME}}_linux_arm_64" - BUILD_COMMAND: "go build -o {{.DIST_DIR}}/{{.PLATFORM_DIR}}/{{.PROJECT_NAME}} {{.LDFLAGS}}" + BUILD_COMMAND: "go build -buildvcs=false -o {{.DIST_DIR}}/{{.PLATFORM_DIR}}/{{.PROJECT_NAME}} {{.LDFLAGS}}" BUILD_PLATFORM: "linux/arm64" - CONTAINER_TAG: "{{.GO_VERSION}}-arm" + CONTAINER_TAG: "{{.GO_VERSION}}-arm-debian12" PACKAGE_PLATFORM: "Linux_ARM64" PACKAGE_NAME: "{{.PROJECT_NAME}}_{{.VERSION}}_{{.PACKAGE_PLATFORM}}.tar.gz" @@ -259,3 +251,19 @@ tasks: cmds: - mkdir --parents {{.DIST_DIR}} - cp ./internal/cli/configuration/configuration.schema.json {{.DIST_DIR}}/{{.PROJECT_NAME}}_{{.VERSION}}_configuration.schema.json + + build_deb: + desc: Builds the deb package + internal: true + cmds: + - | + docker build \ + --build-arg BINARY_NAME={{.PROJECT_NAME}} \ + --build-arg DEB_NAME={{.PROJECT_NAME}} \ + --build-arg VERSION={{ .VERSION }} \ + --build-arg ARCH={{ .ARCH }} \ + --build-arg GO_BINARY={{ .GO_BINARY }} \ + --output=./dist \ + -f debian/Dockerfile . + vars: + VERSION: "{{if .TAG}}{{.VERSION}}{{else}}v0.0.0-{{.VERSION}}{{end}}" diff --git a/README.md b/README.md index 18633011a45..277f36a3a37 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ e-mail contact: security@arduino.cc ## License -Arduino CLI is licensed under the [GPL 3.0] license. +Arduino CLI is licensed under the GPL-3.0 license. You can be released from the requirements of the above license by purchasing a commercial license. Buying such a license is mandatory if you want to modify or otherwise use the software for commercial activities involving the Arduino @@ -59,4 +59,3 @@ license@arduino.cc [contributors]: https://github.com/arduino/arduino-cli/graphs/contributors [nightly builds]: https://arduino.github.io/arduino-cli/latest/installation/#nightly-builds [security policy]: https://github.com/arduino/arduino-cli/security/policy -[gpl 3.0]: https://www.gnu.org/licenses/gpl-3.0.en.html diff --git a/Taskfile.yml b/Taskfile.yml index c375e5eb39d..08cd153a3be 100755 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -228,11 +228,11 @@ tasks: protoc: desc: Lint, format and compile protobuf definitions - deps: - - protoc:check - - protoc:format - - protoc:compile - - protoc:breaking-change-detection + cmds: + - task: protoc:format + - task: protoc:check + - task: protoc:compile + - task: protoc:breaking-change-detection protoc:compile: desc: Compile protobuf definitions @@ -243,8 +243,7 @@ tasks: protoc:docs: desc: Generate docs for protobuf definitions cmds: - - | - buf generate --template buf.doc.gen.yaml + - buf generate --template buf.doc.gen.yaml docs:include-configuration-json-schema: desc: Copy configuration JSON schema to make it available in documentation @@ -258,15 +257,15 @@ tasks: protoc:collect: desc: Create a zip file containing all .proto files in DIST_DIR - dir: rpc cmds: - - mkdir --parents ../{{.DIST_DIR}} - - zip -r ../{{.DIST_DIR}}/{{.PROJECT_NAME}}_{{.VERSION}}_proto.zip * -i \*.proto + - mkdir --parents {{.DIST_DIR}} + - buf export . -o {{.DIST_DIR}}/proto + - cd {{.DIST_DIR}}/proto && zip -r ../{{.PROJECT_NAME}}_{{.VERSION}}_proto.zip . protoc:format: desc: Perform formatting of the protobuf definitions cmds: - - buf format --write --exit-code + - buf format --write protoc:breaking-change-detection: desc: Detect protobuf breaking changes @@ -309,24 +308,24 @@ tasks: i18n:update: desc: Updates i18n files cmds: - - go run ./internal/i18n/cmd/main.go catalog generate . > ./internal/i18n/data/en.po + - go run ./internal/locales/cmd/main.go catalog generate . > ./internal/locales/data/en.po i18n:pull: desc: Pull i18n files from transifex cmds: - - go run ./internal/i18n/cmd/main.go transifex pull ./internal/i18n/data + - go run ./internal/locales/cmd/main.go transifex pull ./internal/locales/data i18n:push: desc: Push i18n files to transifex cmds: - - go run ./internal/i18n/cmd/main.go transifex push ./internal/i18n/data + - go run ./internal/locales/cmd/main.go transifex push ./internal/locales/data i18n:check: desc: Check if the i18n message catalog was updated cmds: - task: i18n:pull - - git add -N ./internal/i18n/data - - git diff --exit-code ./internal/i18n/data + - git add -N ./internal/locales/data + - git diff --exit-code ./internal/locales/data # Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-mkdocs-task/Taskfile.yml website:check: @@ -371,7 +370,7 @@ vars: TAG: sh: echo "$(git tag --points-at=HEAD 2> /dev/null | head -n1 | sed 's/^v//')" VERSION: "{{if .NIGHTLY}}nightly-{{.TIMESTAMP_SHORT}}{{else if .TAG}}{{.TAG}}{{else}}{{.PACKAGE_NAME_PREFIX}}git-snapshot{{end}}" - CONFIGURATION_PACKAGE: "github.com/arduino/arduino-cli/version" + CONFIGURATION_PACKAGE: "github.com/arduino/arduino-cli/internal/version" LDFLAGS: >- -ldflags ' diff --git a/commands/cmderrors/cmderrors.go b/commands/cmderrors/cmderrors.go index bcc33bc3a8f..38eef33bcc1 100644 --- a/commands/cmderrors/cmderrors.go +++ b/commands/cmderrors/cmderrors.go @@ -16,6 +16,7 @@ package cmderrors import ( + "errors" "fmt" "strings" @@ -415,6 +416,26 @@ func (e *PlatformNotFoundError) Unwrap() error { return e.Cause } +// PlatformNotAvailableForOSError is returned when a platform contains a tool not available +// for the user OS + ARCH +type PlatformNotAvailableForOSError struct { + Platform string + Cause error +} + +func (e *PlatformNotAvailableForOSError) Error() string { + return composeErrorMsg(i18n.Tr("Platform '%s'", e.Platform), errors.New(i18n.Tr("platform is not available for your OS"))) +} + +// GRPCStatus converts the error into a *status.Status +func (e *PlatformNotAvailableForOSError) GRPCStatus() *status.Status { + return status.New(codes.FailedPrecondition, e.Error()) +} + +func (e *PlatformNotAvailableForOSError) Unwrap() error { + return e.Cause +} + // PlatformLoadingError is returned when a platform has fatal errors that prevents loading type PlatformLoadingError struct { Cause error diff --git a/commands/instances.go b/commands/instances.go index 23f42be9638..5b5fe09fcdb 100644 --- a/commands/instances.go +++ b/commands/instances.go @@ -38,6 +38,7 @@ import ( "github.com/arduino/arduino-cli/internal/arduino/sketch" "github.com/arduino/arduino-cli/internal/arduino/utils" "github.com/arduino/arduino-cli/internal/i18n" + "github.com/arduino/arduino-cli/internal/locales" rpc "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1" paths "github.com/arduino/go-paths-helper" "github.com/sirupsen/logrus" @@ -46,7 +47,7 @@ import ( "google.golang.org/grpc/status" ) -func installTool(ctx context.Context, pm *packagemanager.PackageManager, tool *cores.ToolRelease, downloadCB rpc.DownloadProgressCB, taskCB rpc.TaskProgressCB) error { +func installTool(ctx context.Context, pm *packagemanager.PackageManager, tool *cores.ToolRelease, downloadCB rpc.DownloadProgressCB, taskCB rpc.TaskProgressCB, checks resources.IntegrityCheckMode) error { pme, release := pm.NewExplorer() defer release() @@ -55,7 +56,7 @@ func installTool(ctx context.Context, pm *packagemanager.PackageManager, tool *c return errors.New(i18n.Tr("downloading %[1]s tool: %[2]s", tool, err)) } taskCB(&rpc.TaskProgress{Completed: true}) - if err := pme.InstallTool(tool, taskCB, true); err != nil { + if err := pme.InstallTool(tool, taskCB, true, checks); err != nil { return errors.New(i18n.Tr("installing %[1]s tool: %[2]s", tool, err)) } return nil @@ -88,7 +89,7 @@ func (s *arduinoCoreServerImpl) Create(ctx context.Context, req *rpc.CreateReque } } - config, err := s.settings.DownloaderConfig() + config, err := s.settings.DownloaderConfig(ctx) if err != nil { return nil, err } @@ -281,7 +282,7 @@ func (s *arduinoCoreServerImpl) Init(req *rpc.InitRequest, stream rpc.ArduinoCor // Install builtin tools if necessary if len(builtinToolsToInstall) > 0 { for _, toolRelease := range builtinToolsToInstall { - if err := installTool(ctx, pmb.Build(), toolRelease, downloadCallback, taskCallback); err != nil { + if err := installTool(ctx, pmb.Build(), toolRelease, downloadCallback, taskCallback, resources.IntegrityCheckFull); err != nil { e := &cmderrors.InitFailedError{ Code: codes.Internal, Cause: err, @@ -339,7 +340,7 @@ func (s *arduinoCoreServerImpl) Init(req *rpc.InitRequest, stream rpc.ArduinoCor logrus.WithField("index", indexFile).Info("Loading libraries index file") li, err := librariesindex.LoadIndex(indexFile) if err != nil { - s := status.Newf(codes.FailedPrecondition, i18n.Tr("Loading index file: %v", err)) + s := status.New(codes.FailedPrecondition, i18n.Tr("Loading index file: %v", err)) responseError(s) li = librariesindex.EmptyIndex } @@ -376,7 +377,7 @@ func (s *arduinoCoreServerImpl) Init(req *rpc.InitRequest, stream rpc.ArduinoCor responseError(err.GRPCStatus()) continue } - config, err := s.settings.DownloaderConfig() + config, err := s.settings.DownloaderConfig(ctx) if err != nil { taskCallback(&rpc.TaskProgress{Name: i18n.Tr("Error downloading library %s", libraryRef)}) e := &cmderrors.FailedLibraryInstallError{Cause: err} @@ -393,7 +394,7 @@ func (s *arduinoCoreServerImpl) Init(req *rpc.InitRequest, stream rpc.ArduinoCor // Install library taskCallback(&rpc.TaskProgress{Name: i18n.Tr("Installing library %s", libraryRef)}) - if err := libRelease.Resource.Install(pme.DownloadDir, libRoot, libDir); err != nil { + if err := libRelease.Resource.Install(pme.DownloadDir, libRoot, libDir, resources.IntegrityCheckFull); err != nil { taskCallback(&rpc.TaskProgress{Name: i18n.Tr("Error installing library %s", libraryRef)}) e := &cmderrors.FailedLibraryInstallError{Cause: err} responseError(e.GRPCStatus()) @@ -420,7 +421,7 @@ func (s *arduinoCoreServerImpl) Init(req *rpc.InitRequest, stream rpc.ArduinoCor // language of the CLI if the locale is different // after started. if locale, ok, _ := s.settings.GetStringOk("locale"); ok { - i18n.Init(locale) + locales.Init(locale) } return nil @@ -497,7 +498,7 @@ func (s *arduinoCoreServerImpl) UpdateLibrariesIndex(req *rpc.UpdateLibrariesInd } // Perform index update - config, err := s.settings.DownloaderConfig() + config, err := s.settings.DownloaderConfig(stream.Context()) if err != nil { return err } @@ -533,9 +534,9 @@ func (s *arduinoCoreServerImpl) UpdateIndex(req *rpc.UpdateIndexRequest, stream return &cmderrors.InvalidInstanceError{} } - report := func(indexURL *url.URL, status rpc.IndexUpdateReport_Status) *rpc.IndexUpdateReport { + report := func(indexURL string, status rpc.IndexUpdateReport_Status) *rpc.IndexUpdateReport { return &rpc.IndexUpdateReport{ - IndexUrl: indexURL.String(), + IndexUrl: indexURL, Status: status, } } @@ -563,7 +564,7 @@ func (s *arduinoCoreServerImpl) UpdateIndex(req *rpc.UpdateIndexRequest, stream downloadCB.Start(u, i18n.Tr("Downloading index: %s", u)) downloadCB.End(false, msg) failed = true - result.UpdatedIndexes = append(result.GetUpdatedIndexes(), report(URL, rpc.IndexUpdateReport_STATUS_FAILED)) + result.UpdatedIndexes = append(result.GetUpdatedIndexes(), report(u, rpc.IndexUpdateReport_STATUS_FAILED)) continue } @@ -581,9 +582,9 @@ func (s *arduinoCoreServerImpl) UpdateIndex(req *rpc.UpdateIndexRequest, stream downloadCB.Start(u, i18n.Tr("Downloading index: %s", filepath.Base(URL.Path))) downloadCB.End(false, msg) failed = true - result.UpdatedIndexes = append(result.GetUpdatedIndexes(), report(URL, rpc.IndexUpdateReport_STATUS_FAILED)) + result.UpdatedIndexes = append(result.GetUpdatedIndexes(), report(u, rpc.IndexUpdateReport_STATUS_FAILED)) } else { - result.UpdatedIndexes = append(result.GetUpdatedIndexes(), report(URL, rpc.IndexUpdateReport_STATUS_SKIPPED)) + result.UpdatedIndexes = append(result.GetUpdatedIndexes(), report(u, rpc.IndexUpdateReport_STATUS_SKIPPED)) } continue } @@ -595,19 +596,19 @@ func (s *arduinoCoreServerImpl) UpdateIndex(req *rpc.UpdateIndexRequest, stream downloadCB.Start(u, i18n.Tr("Downloading index: %s", filepath.Base(URL.Path))) downloadCB.End(false, i18n.Tr("Invalid index URL: %s", err)) failed = true - result.UpdatedIndexes = append(result.GetUpdatedIndexes(), report(URL, rpc.IndexUpdateReport_STATUS_FAILED)) + result.UpdatedIndexes = append(result.GetUpdatedIndexes(), report(u, rpc.IndexUpdateReport_STATUS_FAILED)) continue } indexFile := indexpath.Join(indexFileName) if info, err := indexFile.Stat(); err == nil { ageSecs := int64(time.Since(info.ModTime()).Seconds()) if ageSecs < req.GetUpdateIfOlderThanSecs() { - result.UpdatedIndexes = append(result.GetUpdatedIndexes(), report(URL, rpc.IndexUpdateReport_STATUS_ALREADY_UP_TO_DATE)) + result.UpdatedIndexes = append(result.GetUpdatedIndexes(), report(u, rpc.IndexUpdateReport_STATUS_ALREADY_UP_TO_DATE)) continue } } - config, err := s.settings.DownloaderConfig() + config, err := s.settings.DownloaderConfig(stream.Context()) if err != nil { downloadCB.Start(u, i18n.Tr("Downloading index: %s", filepath.Base(URL.Path))) downloadCB.End(false, i18n.Tr("Invalid network configuration: %s", err)) @@ -621,9 +622,9 @@ func (s *arduinoCoreServerImpl) UpdateIndex(req *rpc.UpdateIndexRequest, stream } if err := indexResource.Download(stream.Context(), indexpath, downloadCB, config); err != nil { failed = true - result.UpdatedIndexes = append(result.GetUpdatedIndexes(), report(URL, rpc.IndexUpdateReport_STATUS_FAILED)) + result.UpdatedIndexes = append(result.GetUpdatedIndexes(), report(u, rpc.IndexUpdateReport_STATUS_FAILED)) } else { - result.UpdatedIndexes = append(result.GetUpdatedIndexes(), report(URL, rpc.IndexUpdateReport_STATUS_UPDATED)) + result.UpdatedIndexes = append(result.GetUpdatedIndexes(), report(u, rpc.IndexUpdateReport_STATUS_UPDATED)) } } syncSend.Send(&rpc.UpdateIndexResponse{ diff --git a/commands/internal/instances/instances.go b/commands/internal/instances/instances.go index 272eaaaafdb..b327bbc1d88 100644 --- a/commands/internal/instances/instances.go +++ b/commands/internal/instances/instances.go @@ -22,8 +22,8 @@ import ( "github.com/arduino/arduino-cli/internal/arduino/cores/packagemanager" "github.com/arduino/arduino-cli/internal/arduino/libraries/librariesindex" "github.com/arduino/arduino-cli/internal/arduino/libraries/librariesmanager" + "github.com/arduino/arduino-cli/internal/version" rpc "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1" - "github.com/arduino/arduino-cli/version" "github.com/arduino/go-paths-helper" "go.bug.st/downloader/v2" ) diff --git a/commands/service.go b/commands/service.go index 20ffda4de2a..fb226be6035 100644 --- a/commands/service.go +++ b/commands/service.go @@ -19,8 +19,8 @@ import ( "context" "github.com/arduino/arduino-cli/internal/cli/configuration" + "github.com/arduino/arduino-cli/internal/version" rpc "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1" - "github.com/arduino/arduino-cli/version" ) // NewArduinoCoreServer returns an implementation of the ArduinoCoreService gRPC service diff --git a/commands/service_board_details.go b/commands/service_board_details.go index 5f042452582..02a82bb6ffe 100644 --- a/commands/service_board_details.go +++ b/commands/service_board_details.go @@ -20,8 +20,8 @@ import ( "github.com/arduino/arduino-cli/commands/cmderrors" "github.com/arduino/arduino-cli/commands/internal/instances" - "github.com/arduino/arduino-cli/internal/arduino/cores" "github.com/arduino/arduino-cli/internal/arduino/utils" + "github.com/arduino/arduino-cli/pkg/fqbn" rpc "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1" ) @@ -34,7 +34,7 @@ func (s *arduinoCoreServerImpl) BoardDetails(ctx context.Context, req *rpc.Board } defer release() - fqbn, err := cores.ParseFQBN(req.GetFqbn()) + fqbn, err := fqbn.Parse(req.GetFqbn()) if err != nil { return nil, &cmderrors.InvalidFQBNError{Cause: err} } @@ -48,7 +48,7 @@ func (s *arduinoCoreServerImpl) BoardDetails(ctx context.Context, req *rpc.Board details.Name = board.Name() details.Fqbn = board.FQBN() details.PropertiesId = board.BoardID - details.Official = fqbn.Package == "arduino" + details.Official = fqbn.Vendor == "arduino" details.Version = board.PlatformRelease.Version.String() details.IdentificationProperties = []*rpc.BoardIdentificationProperties{} for _, p := range board.GetIdentificationProperties() { diff --git a/commands/service_board_identify.go b/commands/service_board_identify.go new file mode 100644 index 00000000000..787de81cee3 --- /dev/null +++ b/commands/service_board_identify.go @@ -0,0 +1,217 @@ +// This file is part of arduino-cli. +// +// Copyright 2020 ARDUINO SA (http://www.arduino.cc/) +// +// This software is released under the GNU General Public License version 3, +// which covers the main part of arduino-cli. +// The terms of this license can be found at: +// https://www.gnu.org/licenses/gpl-3.0.en.html +// +// You can be released from the requirements of the above licenses by purchasing +// a commercial license. Buying such a license is mandatory if you want to +// modify or otherwise use the software for commercial activities involving the +// Arduino software without disclosing the source code of your own applications. +// To purchase a commercial license, send an email to license@arduino.cc. + +package commands + +import ( + "context" + "encoding/json" + "errors" + "fmt" + "io" + "net/http" + "regexp" + "sort" + "strings" + "time" + + "github.com/arduino/arduino-cli/commands/cmderrors" + "github.com/arduino/arduino-cli/commands/internal/instances" + "github.com/arduino/arduino-cli/internal/arduino/cores/packagemanager" + "github.com/arduino/arduino-cli/internal/cli/configuration" + "github.com/arduino/arduino-cli/internal/i18n" + "github.com/arduino/arduino-cli/internal/inventory" + "github.com/arduino/arduino-cli/pkg/fqbn" + rpc "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1" + "github.com/arduino/go-properties-orderedmap" + "github.com/sirupsen/logrus" +) + +// BoardIdentify identifies the board based on the provided properties +func (s *arduinoCoreServerImpl) BoardIdentify(ctx context.Context, req *rpc.BoardIdentifyRequest) (*rpc.BoardIdentifyResponse, error) { + pme, release, err := instances.GetPackageManagerExplorer(req.GetInstance()) + if err != nil { + return nil, err + } + defer release() + + props := properties.NewFromHashmap(req.GetProperties()) + res, err := identify(ctx, pme, props, s.settings, !req.GetUseCloudApiForUnknownBoardDetection()) + if err != nil { + return nil, err + } + return &rpc.BoardIdentifyResponse{ + Boards: res, + }, nil +} + +// identify returns a list of boards checking first the installed platforms or the Cloud API +func identify(ctx context.Context, pme *packagemanager.Explorer, properties *properties.Map, settings *configuration.Settings, skipCloudAPI bool) ([]*rpc.BoardListItem, error) { + if properties == nil { + return nil, nil + } + + // first query installed cores through the Package Manager + boards := []*rpc.BoardListItem{} + logrus.Debug("Querying installed cores for board identification...") + for _, board := range pme.IdentifyBoard(properties) { + fqbn, err := fqbn.Parse(board.FQBN()) + if err != nil { + return nil, &cmderrors.InvalidFQBNError{Cause: err} + } + fqbn.Configs = board.IdentifyBoardConfiguration(properties) + + // We need the Platform maintaner for sorting so we set it here + platform := &rpc.Platform{ + Metadata: &rpc.PlatformMetadata{ + Maintainer: board.PlatformRelease.Platform.Package.Maintainer, + }, + } + boards = append(boards, &rpc.BoardListItem{ + Name: board.Name(), + Fqbn: fqbn.String(), + IsHidden: board.IsHidden(), + Platform: platform, + }) + } + + // if installed cores didn't recognize the board, try querying + // the builder API if the board is a USB device port + if len(boards) == 0 && !skipCloudAPI && !settings.SkipCloudApiForBoardDetection() { + items, err := identifyViaCloudAPI(ctx, properties, settings) + if err != nil { + // this is bad, but keep going + logrus.WithError(err).Debug("Error querying builder API") + } + boards = items + } + + // Sort by FQBN alphabetically + sort.Slice(boards, func(i, j int) bool { + return strings.ToLower(boards[i].GetFqbn()) < strings.ToLower(boards[j].GetFqbn()) + }) + + // Put Arduino boards before others in case there are non Arduino boards with identical VID:PID combination + sort.SliceStable(boards, func(i, j int) bool { + if boards[i].GetPlatform().GetMetadata().GetMaintainer() == "Arduino" && boards[j].GetPlatform().GetMetadata().GetMaintainer() != "Arduino" { + return true + } + return false + }) + + // We need the Board's Platform only for sorting but it shouldn't be present in the output + for _, board := range boards { + board.Platform = nil + } + + return boards, nil +} + +func identifyViaCloudAPI(ctx context.Context, props *properties.Map, settings *configuration.Settings) ([]*rpc.BoardListItem, error) { + // If the port is not USB do not try identification via cloud + if !props.ContainsKey("vid") || !props.ContainsKey("pid") { + return nil, nil + } + + logrus.Debug("Querying builder API for board identification...") + return cachedAPIByVidPid(ctx, props.Get("vid"), props.Get("pid"), settings) +} + +var ( + vidPidURL = "https://builder.arduino.cc/v3/boards/byVidPid" + validVidPid = regexp.MustCompile(`0[xX][a-fA-F\d]{4}`) +) + +func cachedAPIByVidPid(ctx context.Context, vid, pid string, settings *configuration.Settings) ([]*rpc.BoardListItem, error) { + var resp []*rpc.BoardListItem + + cacheKey := fmt.Sprintf("cache.builder-api.v3/boards/byvid/pid/%s/%s", vid, pid) + if cachedResp := inventory.Store.GetString(cacheKey + ".data"); cachedResp != "" { + ts := inventory.Store.GetTime(cacheKey + ".ts") + if time.Since(ts) < time.Hour*24 { + // Use cached response + if err := json.Unmarshal([]byte(cachedResp), &resp); err == nil { + return resp, nil + } + } + } + + resp, err := apiByVidPid(ctx, vid, pid, settings) // Perform API requrest + + if err == nil { + if cachedResp, err := json.Marshal(resp); err == nil { + inventory.Store.Set(cacheKey+".data", string(cachedResp)) + inventory.Store.Set(cacheKey+".ts", time.Now()) + inventory.WriteStore() + } + } + return resp, err +} + +func apiByVidPid(ctx context.Context, vid, pid string, settings *configuration.Settings) ([]*rpc.BoardListItem, error) { + // ensure vid and pid are valid before hitting the API + if !validVidPid.MatchString(vid) { + return nil, errors.New(i18n.Tr("Invalid vid value: '%s'", vid)) + } + if !validVidPid.MatchString(pid) { + return nil, errors.New(i18n.Tr("Invalid pid value: '%s'", pid)) + } + + url := fmt.Sprintf("%s/%s/%s", vidPidURL, vid, pid) + req, _ := http.NewRequest("GET", url, nil) + req.Header.Set("Content-Type", "application/json") + + httpClient, err := settings.NewHttpClient(ctx) + if err != nil { + return nil, fmt.Errorf("%s: %w", i18n.Tr("failed to initialize http client"), err) + } + + res, err := httpClient.Do(req) + if err != nil { + return nil, fmt.Errorf("%s: %w", i18n.Tr("error querying Arduino Cloud Api"), err) + } + if res.StatusCode == 404 { + // This is not an error, it just means that the board is not recognized + return nil, nil + } + if res.StatusCode >= 400 { + return nil, errors.New(i18n.Tr("the server responded with status %s", res.Status)) + } + + resp, err := io.ReadAll(res.Body) + if err != nil { + return nil, err + } + if err := res.Body.Close(); err != nil { + return nil, err + } + + var dat map[string]interface{} + if err := json.Unmarshal(resp, &dat); err != nil { + return nil, fmt.Errorf("%s: %w", i18n.Tr("error processing response from server"), err) + } + name, nameFound := dat["name"].(string) + fqbn, fbqnFound := dat["fqbn"].(string) + if !nameFound || !fbqnFound { + return nil, errors.New(i18n.Tr("wrong format in server response")) + } + + return []*rpc.BoardListItem{ + { + Name: name, + Fqbn: fqbn, + }, + }, nil +} diff --git a/commands/service_board_list_test.go b/commands/service_board_identify_test.go similarity index 90% rename from commands/service_board_list_test.go rename to commands/service_board_identify_test.go index 6fb1366d111..31687359885 100644 --- a/commands/service_board_list_test.go +++ b/commands/service_board_identify_test.go @@ -16,6 +16,7 @@ package commands import ( + "context" "fmt" "net/http" "net/http/httptest" @@ -25,7 +26,6 @@ import ( "github.com/arduino/arduino-cli/internal/cli/configuration" "github.com/arduino/go-paths-helper" "github.com/arduino/go-properties-orderedmap" - discovery "github.com/arduino/pluggable-discovery-protocol-handler/v2" "github.com/stretchr/testify/require" "go.bug.st/downloader/v2" semver "go.bug.st/relaxed-semver" @@ -49,7 +49,7 @@ func TestGetByVidPid(t *testing.T) { vidPidURL = ts.URL settings := configuration.NewSettings() - res, err := apiByVidPid("0xf420", "0XF069", settings) + res, err := apiByVidPid(context.Background(), "0xf420", "0XF069", settings) require.Nil(t, err) require.Len(t, res, 1) require.Equal(t, "Arduino/Genuino MKR1000", res[0].GetName()) @@ -57,7 +57,7 @@ func TestGetByVidPid(t *testing.T) { // wrong vid (too long), wrong pid (not an hex value) - _, err = apiByVidPid("0xfffff", "0xDEFG", settings) + _, err = apiByVidPid(context.Background(), "0xfffff", "0xDEFG", settings) require.NotNil(t, err) } @@ -70,7 +70,7 @@ func TestGetByVidPidNotFound(t *testing.T) { defer ts.Close() vidPidURL = ts.URL - res, err := apiByVidPid("0x0420", "0x0069", settings) + res, err := apiByVidPid(context.Background(), "0x0420", "0x0069", settings) require.NoError(t, err) require.Empty(t, res) } @@ -85,7 +85,7 @@ func TestGetByVidPid5xx(t *testing.T) { defer ts.Close() vidPidURL = ts.URL - res, err := apiByVidPid("0x0420", "0x0069", settings) + res, err := apiByVidPid(context.Background(), "0x0420", "0x0069", settings) require.NotNil(t, err) require.Equal(t, "the server responded with status 500 Internal Server Error", err.Error()) require.Len(t, res, 0) @@ -100,7 +100,7 @@ func TestGetByVidPidMalformedResponse(t *testing.T) { defer ts.Close() vidPidURL = ts.URL - res, err := apiByVidPid("0x0420", "0x0069", settings) + res, err := apiByVidPid(context.Background(), "0x0420", "0x0069", settings) require.NotNil(t, err) require.Equal(t, "wrong format in server response", err.Error()) require.Len(t, res, 0) @@ -108,7 +108,7 @@ func TestGetByVidPidMalformedResponse(t *testing.T) { func TestBoardDetectionViaAPIWithNonUSBPort(t *testing.T) { settings := configuration.NewSettings() - items, err := identifyViaCloudAPI(properties.NewMap(), settings) + items, err := identifyViaCloudAPI(context.Background(), properties.NewMap(), settings) require.NoError(t, err) require.Empty(t, items) } @@ -157,7 +157,7 @@ func TestBoardIdentifySorting(t *testing.T) { defer release() settings := configuration.NewSettings() - res, err := identify(pme, &discovery.Port{Properties: idPrefs}, settings) + res, err := identify(context.Background(), pme, idPrefs, settings, true) require.NoError(t, err) require.NotNil(t, res) require.Len(t, res, 4) diff --git a/commands/service_board_list.go b/commands/service_board_list.go index 2b124c29f37..1d1bf7acff5 100644 --- a/commands/service_board_list.go +++ b/commands/service_board_list.go @@ -17,215 +17,48 @@ package commands import ( "context" - "encoding/json" "errors" - "fmt" - "io" - "net/http" - "regexp" - "sort" - "strings" "time" "github.com/arduino/arduino-cli/commands/cmderrors" "github.com/arduino/arduino-cli/commands/internal/instances" - f "github.com/arduino/arduino-cli/internal/algorithms" - "github.com/arduino/arduino-cli/internal/arduino/cores" - "github.com/arduino/arduino-cli/internal/arduino/cores/packagemanager" - "github.com/arduino/arduino-cli/internal/cli/configuration" + "github.com/arduino/arduino-cli/internal/arduino/discovery/discoverymanager" "github.com/arduino/arduino-cli/internal/i18n" - "github.com/arduino/arduino-cli/internal/inventory" + "github.com/arduino/arduino-cli/pkg/fqbn" rpc "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1" - "github.com/arduino/go-properties-orderedmap" - discovery "github.com/arduino/pluggable-discovery-protocol-handler/v2" "github.com/sirupsen/logrus" + "go.bug.st/f" ) -var ( - vidPidURL = "https://builder.arduino.cc/v3/boards/byVidPid" - validVidPid = regexp.MustCompile(`0[xX][a-fA-F\d]{4}`) -) - -func cachedAPIByVidPid(vid, pid string, settings *configuration.Settings) ([]*rpc.BoardListItem, error) { - var resp []*rpc.BoardListItem - - cacheKey := fmt.Sprintf("cache.builder-api.v3/boards/byvid/pid/%s/%s", vid, pid) - if cachedResp := inventory.Store.GetString(cacheKey + ".data"); cachedResp != "" { - ts := inventory.Store.GetTime(cacheKey + ".ts") - if time.Since(ts) < time.Hour*24 { - // Use cached response - if err := json.Unmarshal([]byte(cachedResp), &resp); err == nil { - return resp, nil - } - } - } - - resp, err := apiByVidPid(vid, pid, settings) // Perform API requrest - - if err == nil { - if cachedResp, err := json.Marshal(resp); err == nil { - inventory.Store.Set(cacheKey+".data", string(cachedResp)) - inventory.Store.Set(cacheKey+".ts", time.Now()) - inventory.WriteStore() - } - } - return resp, err -} - -func apiByVidPid(vid, pid string, settings *configuration.Settings) ([]*rpc.BoardListItem, error) { - // ensure vid and pid are valid before hitting the API - if !validVidPid.MatchString(vid) { - return nil, errors.New(i18n.Tr("Invalid vid value: '%s'", vid)) - } - if !validVidPid.MatchString(pid) { - return nil, errors.New(i18n.Tr("Invalid pid value: '%s'", pid)) - } - - url := fmt.Sprintf("%s/%s/%s", vidPidURL, vid, pid) - req, _ := http.NewRequest("GET", url, nil) - req.Header.Set("Content-Type", "application/json") - - httpClient, err := settings.NewHttpClient() - if err != nil { - return nil, fmt.Errorf("%s: %w", i18n.Tr("failed to initialize http client"), err) - } - - res, err := httpClient.Do(req) - if err != nil { - return nil, fmt.Errorf("%s: %w", i18n.Tr("error querying Arduino Cloud Api"), err) - } - if res.StatusCode == 404 { - // This is not an error, it just means that the board is not recognized - return nil, nil - } - if res.StatusCode >= 400 { - return nil, errors.New(i18n.Tr("the server responded with status %s", res.Status)) - } - - resp, err := io.ReadAll(res.Body) - if err != nil { - return nil, err - } - if err := res.Body.Close(); err != nil { - return nil, err - } - - var dat map[string]interface{} - if err := json.Unmarshal(resp, &dat); err != nil { - return nil, fmt.Errorf("%s: %w", i18n.Tr("error processing response from server"), err) - } - name, nameFound := dat["name"].(string) - fqbn, fbqnFound := dat["fqbn"].(string) - if !nameFound || !fbqnFound { - return nil, errors.New(i18n.Tr("wrong format in server response")) - } - - return []*rpc.BoardListItem{ - { - Name: name, - Fqbn: fqbn, - }, - }, nil -} - -func identifyViaCloudAPI(props *properties.Map, settings *configuration.Settings) ([]*rpc.BoardListItem, error) { - // If the port is not USB do not try identification via cloud - if !props.ContainsKey("vid") || !props.ContainsKey("pid") { - return nil, nil - } - - logrus.Debug("Querying builder API for board identification...") - return cachedAPIByVidPid(props.Get("vid"), props.Get("pid"), settings) -} - -// identify returns a list of boards checking first the installed platforms or the Cloud API -func identify(pme *packagemanager.Explorer, port *discovery.Port, settings *configuration.Settings) ([]*rpc.BoardListItem, error) { - boards := []*rpc.BoardListItem{} - if port.Properties == nil { - return boards, nil - } - - // first query installed cores through the Package Manager - logrus.Debug("Querying installed cores for board identification...") - for _, board := range pme.IdentifyBoard(port.Properties) { - fqbn, err := cores.ParseFQBN(board.FQBN()) - if err != nil { - return nil, &cmderrors.InvalidFQBNError{Cause: err} - } - fqbn.Configs = board.IdentifyBoardConfiguration(port.Properties) - - // We need the Platform maintaner for sorting so we set it here - platform := &rpc.Platform{ - Metadata: &rpc.PlatformMetadata{ - Maintainer: board.PlatformRelease.Platform.Package.Maintainer, - }, - } - boards = append(boards, &rpc.BoardListItem{ - Name: board.Name(), - Fqbn: fqbn.String(), - IsHidden: board.IsHidden(), - Platform: platform, - }) - } - - // if installed cores didn't recognize the board, try querying - // the builder API if the board is a USB device port - if len(boards) == 0 { - items, err := identifyViaCloudAPI(port.Properties, settings) - if err != nil { - // this is bad, but keep going - logrus.WithError(err).Debug("Error querying builder API") - } - boards = items - } - - // Sort by FQBN alphabetically - sort.Slice(boards, func(i, j int) bool { - return strings.ToLower(boards[i].GetFqbn()) < strings.ToLower(boards[j].GetFqbn()) - }) - - // Put Arduino boards before others in case there are non Arduino boards with identical VID:PID combination - sort.SliceStable(boards, func(i, j int) bool { - if boards[i].GetPlatform().GetMetadata().GetMaintainer() == "Arduino" && boards[j].GetPlatform().GetMetadata().GetMaintainer() != "Arduino" { - return true - } - return false - }) - - // We need the Board's Platform only for sorting but it shouldn't be present in the output - for _, board := range boards { - board.Platform = nil - } - - return boards, nil -} - // BoardList returns a list of boards found by the loaded discoveries. // In case of errors partial results from discoveries that didn't fail // are returned. func (s *arduinoCoreServerImpl) BoardList(ctx context.Context, req *rpc.BoardListRequest) (*rpc.BoardListResponse, error) { - pme, release, err := instances.GetPackageManagerExplorer(req.GetInstance()) - if err != nil { - return nil, err - } - defer release() - - var fqbnFilter *cores.FQBN + var fqbnFilter *fqbn.FQBN if f := req.GetFqbn(); f != "" { var err error - fqbnFilter, err = cores.ParseFQBN(f) + fqbnFilter, err = fqbn.Parse(f) if err != nil { return nil, &cmderrors.InvalidFQBNError{Cause: err} } } + pme, release, err := instances.GetPackageManagerExplorer(req.GetInstance()) + if err != nil { + return nil, err + } dm := pme.DiscoveryManager() warnings := f.Map(dm.Start(), (error).Error) + release() time.Sleep(time.Duration(req.GetTimeout()) * time.Millisecond) ports := []*rpc.DetectedPort{} for _, port := range dm.List() { - boards, err := identify(pme, port, s.settings) + resp, err := s.BoardIdentify(ctx, &rpc.BoardIdentifyRequest{ + Instance: req.GetInstance(), + Properties: port.Properties.AsMap(), + UseCloudApiForUnknownBoardDetection: !req.GetSkipCloudApiForBoardDetection(), + }) if err != nil { warnings = append(warnings, err.Error()) } @@ -234,7 +67,7 @@ func (s *arduinoCoreServerImpl) BoardList(ctx context.Context, req *rpc.BoardLis // API managed to recognize the connected board b := &rpc.DetectedPort{ Port: rpc.DiscoveryPortToRPC(port), - MatchingBoards: boards, + MatchingBoards: resp.GetBoards(), } if fqbnFilter == nil || hasMatchingBoard(b, fqbnFilter) { @@ -247,9 +80,9 @@ func (s *arduinoCoreServerImpl) BoardList(ctx context.Context, req *rpc.BoardLis }, nil } -func hasMatchingBoard(b *rpc.DetectedPort, fqbnFilter *cores.FQBN) bool { +func hasMatchingBoard(b *rpc.DetectedPort, fqbnFilter *fqbn.FQBN) bool { for _, detectedBoard := range b.GetMatchingBoards() { - detectedFqbn, err := cores.ParseFQBN(detectedBoard.GetFqbn()) + detectedFqbn, err := fqbn.Parse(detectedBoard.GetFqbn()) if err != nil { continue } @@ -278,16 +111,18 @@ func (s *arduinoCoreServerImpl) BoardListWatch(req *rpc.BoardListWatchRequest, s return err } - pme, release, err := instances.GetPackageManagerExplorer(req.GetInstance()) - if err != nil { - return err - } - dm := pme.DiscoveryManager() - - watcher, err := dm.Watch() - release() - if err != nil { - return err + var watcher *discoverymanager.PortWatcher + { + pme, release, err := instances.GetPackageManagerExplorer(req.GetInstance()) + if err != nil { + return err + } + dm := pme.DiscoveryManager() + watcher, err = dm.Watch() + release() + if err != nil { + return err + } } go func() { @@ -298,11 +133,16 @@ func (s *arduinoCoreServerImpl) BoardListWatch(req *rpc.BoardListWatchRequest, s boardsError := "" if event.Type == "add" { - boards, err := identify(pme, event.Port, s.settings) + resp, err := s.BoardIdentify(context.Background(), &rpc.BoardIdentifyRequest{ + Instance: req.GetInstance(), + Properties: event.Port.Properties.AsMap(), + UseCloudApiForUnknownBoardDetection: !req.GetSkipCloudApiForBoardDetection(), + }) if err != nil { boardsError = err.Error() + } else { + port.MatchingBoards = resp.GetBoards() } - port.MatchingBoards = boards } stream.Send(&rpc.BoardListWatchResponse{ EventType: event.Type, diff --git a/commands/service_check_for_updates.go b/commands/service_check_for_updates.go index 15221905d56..cce5a4a02a1 100644 --- a/commands/service_check_for_updates.go +++ b/commands/service_check_for_updates.go @@ -22,8 +22,8 @@ import ( "github.com/arduino/arduino-cli/internal/cli/feedback" "github.com/arduino/arduino-cli/internal/inventory" + "github.com/arduino/arduino-cli/internal/version" rpc "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1" - "github.com/arduino/arduino-cli/version" semver "go.bug.st/relaxed-semver" ) @@ -43,7 +43,7 @@ func (s *arduinoCoreServerImpl) CheckForArduinoCLIUpdates(ctx context.Context, r inventory.WriteStore() }() - latestVersion, err := semver.Parse(s.getLatestRelease()) + latestVersion, err := semver.Parse(s.getLatestRelease(ctx)) if err != nil { return nil, err } @@ -82,8 +82,8 @@ func (s *arduinoCoreServerImpl) shouldCheckForUpdate(currentVersion *semver.Vers // getLatestRelease queries the official Arduino download server for the latest release, // if there are no errors or issues a version string is returned, in all other case an empty string. -func (s *arduinoCoreServerImpl) getLatestRelease() string { - client, err := s.settings.NewHttpClient() +func (s *arduinoCoreServerImpl) getLatestRelease(ctx context.Context) string { + client, err := s.settings.NewHttpClient(ctx) if err != nil { return "" } diff --git a/commands/service_compile.go b/commands/service_compile.go index 37f401397de..ea36641c5e3 100644 --- a/commands/service_compile.go +++ b/commands/service_compile.go @@ -22,18 +22,20 @@ import ( "io" "sort" "strings" + "sync" "time" "github.com/arduino/arduino-cli/commands/cmderrors" "github.com/arduino/arduino-cli/commands/internal/instances" "github.com/arduino/arduino-cli/internal/arduino/builder" - "github.com/arduino/arduino-cli/internal/arduino/cores" + "github.com/arduino/arduino-cli/internal/arduino/builder/logger" "github.com/arduino/arduino-cli/internal/arduino/libraries/librariesmanager" "github.com/arduino/arduino-cli/internal/arduino/sketch" "github.com/arduino/arduino-cli/internal/arduino/utils" "github.com/arduino/arduino-cli/internal/buildcache" "github.com/arduino/arduino-cli/internal/i18n" "github.com/arduino/arduino-cli/internal/inventory" + "github.com/arduino/arduino-cli/pkg/fqbn" rpc "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1" paths "github.com/arduino/go-paths-helper" "github.com/sirupsen/logrus" @@ -81,6 +83,7 @@ func (s *arduinoCoreServerImpl) Compile(req *rpc.CompileRequest, stream rpc.Ardu if err != nil { return err } + release = sync.OnceFunc(release) defer release() if pme.Dirty() { @@ -114,7 +117,7 @@ func (s *arduinoCoreServerImpl) Compile(req *rpc.CompileRequest, stream rpc.Ardu return &cmderrors.MissingFQBNError{} } - fqbn, err := cores.ParseFQBN(fqbnIn) + fqbn, err := fqbn.Parse(fqbnIn) if err != nil { return &cmderrors.InvalidFQBNError{Cause: err} } @@ -122,7 +125,7 @@ func (s *arduinoCoreServerImpl) Compile(req *rpc.CompileRequest, stream rpc.Ardu if err != nil { if targetPlatform == nil { return &cmderrors.PlatformNotFoundError{ - Platform: fmt.Sprintf("%s:%s", fqbn.Package, fqbn.PlatformArch), + Platform: fmt.Sprintf("%s:%s", fqbn.Vendor, fqbn.Architecture), Cause: errors.New(i18n.Tr("platform not installed")), } } @@ -156,7 +159,7 @@ func (s *arduinoCoreServerImpl) Compile(req *rpc.CompileRequest, stream rpc.Ardu signProp := boardBuildProperties.ContainsKey("build.keys.sign_key") encryptProp := boardBuildProperties.ContainsKey("build.keys.encrypt_key") // we verify that all the properties for the secure boot keys are defined or none of them is defined. - if !(keychainProp == signProp && signProp == encryptProp) { + if keychainProp != signProp || signProp != encryptProp { return errors.New(i18n.Tr("Firmware encryption/signing requires all the following properties to be defined: %s", "build.keys.keychain, build.keys.sign_key, build.keys.encrypt_key")) } @@ -242,6 +245,13 @@ func (s *arduinoCoreServerImpl) Compile(req *rpc.CompileRequest, stream rpc.Ardu Message: &rpc.CompileResponse_Progress{Progress: p}, }) } + var verbosity = logger.VerbosityNormal + if req.GetQuiet() { + verbosity = logger.VerbosityQuiet + } + if req.GetVerbose() { + verbosity = logger.VerbosityVerbose + } sketchBuilder, err := builder.NewBuilder( ctx, sk, @@ -263,7 +273,7 @@ func (s *arduinoCoreServerImpl) Compile(req *rpc.CompileRequest, stream rpc.Ardu req.GetSkipLibrariesDiscovery(), libsManager, paths.NewPathList(req.GetLibrary()...), - outStream, errStream, req.GetVerbose(), req.GetWarnings(), + outStream, errStream, verbosity, req.GetWarnings(), progressCB, pme.GetEnvVarsForSpawnedProcess(), ) @@ -343,10 +353,10 @@ func (s *arduinoCoreServerImpl) Compile(req *rpc.CompileRequest, stream rpc.Ardu // select the core name in case of "package:core" format normalizedFQBN, err := pme.NormalizeFQBN(fqbn) if err != nil { - outStream.Write([]byte(fmt.Sprintf("Could not normalize FQBN: %s\n", err))) + fmt.Fprintf(outStream, "Could not normalize FQBN: %s\n", err) normalizedFQBN = fqbn } - outStream.Write([]byte(fmt.Sprintf("FQBN: %s\n", normalizedFQBN))) + fmt.Fprintf(outStream, "FQBN: %s\n", normalizedFQBN) core = core[strings.Index(core, ":")+1:] outStream.Write([]byte(i18n.Tr("Using board '%[1]s' from platform in folder: %[2]s", targetBoard.BoardID, targetPlatform.InstallDir) + "\n")) outStream.Write([]byte(i18n.Tr("Using core '%[1]s' from platform in folder: %[2]s", core, buildPlatform.InstallDir) + "\n")) @@ -358,6 +368,10 @@ func (s *arduinoCoreServerImpl) Compile(req *rpc.CompileRequest, stream rpc.Ardu targetBoard.String(), "'build.board'", sketchBuilder.GetBuildProperties().Get("build.board")) + "\n")) } + // Release package manager + release() + + // Perform the actual build if err := sketchBuilder.Build(); err != nil { return &cmderrors.CompileFailedError{Message: err.Error()} } @@ -398,6 +412,7 @@ func (s *arduinoCoreServerImpl) Compile(req *rpc.CompileRequest, stream rpc.Ardu return &cmderrors.PermissionDeniedError{Message: i18n.Tr("Error reading build directory"), Cause: err} } buildFiles.FilterPrefix(baseName) + buildFiles.FilterOutDirs() for _, buildFile := range buildFiles { exportedFile := exportPath.Join(buildFile.Base()) logrus.WithField("src", buildFile).WithField("dest", exportedFile).Trace("Copying artifact.") diff --git a/commands/service_debug_config.go b/commands/service_debug_config.go index c2cf04e5aa3..4f69fc791e6 100644 --- a/commands/service_debug_config.go +++ b/commands/service_debug_config.go @@ -27,10 +27,10 @@ import ( "github.com/arduino/arduino-cli/commands/cmderrors" "github.com/arduino/arduino-cli/commands/internal/instances" - "github.com/arduino/arduino-cli/internal/arduino/cores" "github.com/arduino/arduino-cli/internal/arduino/cores/packagemanager" "github.com/arduino/arduino-cli/internal/arduino/sketch" "github.com/arduino/arduino-cli/internal/i18n" + "github.com/arduino/arduino-cli/pkg/fqbn" rpc "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1" "github.com/arduino/go-paths-helper" "github.com/arduino/go-properties-orderedmap" @@ -76,7 +76,7 @@ func (s *arduinoCoreServerImpl) IsDebugSupported(ctx context.Context, req *rpc.I // Compute the minimum FQBN required to get the same debug configuration. // (i.e. the FQBN cleaned up of the options that do not affect the debugger configuration) - minimumFQBN := cores.MustParseFQBN(req.GetFqbn()) + minimumFQBN := fqbn.MustParse(req.GetFqbn()) for _, config := range minimumFQBN.Configs.Keys() { checkFQBN := minimumFQBN.Clone() checkFQBN.Configs.Remove(config) @@ -127,7 +127,7 @@ func (s *arduinoCoreServerImpl) getDebugProperties(req *rpc.GetDebugConfigReques if fqbnIn == "" { return nil, &cmderrors.MissingFQBNError{} } - fqbn, err := cores.ParseFQBN(fqbnIn) + fqbn, err := fqbn.Parse(fqbnIn) if err != nil { return nil, &cmderrors.InvalidFQBNError{Cause: err} } @@ -270,7 +270,7 @@ func (s *arduinoCoreServerImpl) getDebugProperties(req *rpc.GetDebugConfigReques }, nil } -// Extract a JSON from a given properies.Map and converts key-indexed arrays +// Extract a JSON from a given properties.Map and converts key-indexed arrays // like: // // my.indexed.array.0=first diff --git a/commands/service_library_download.go b/commands/service_library_download.go index 2384d59396f..4253be8cca1 100644 --- a/commands/service_library_download.go +++ b/commands/service_library_download.go @@ -82,11 +82,15 @@ func (s *arduinoCoreServerImpl) LibraryDownload(req *rpc.LibraryDownloadRequest, }) } -func downloadLibrary(ctx context.Context, downloadsDir *paths.Path, libRelease *librariesindex.Release, - downloadCB rpc.DownloadProgressCB, taskCB rpc.TaskProgressCB, queryParameter string, settings *configuration.Settings) error { - +func downloadLibrary( + ctx context.Context, + downloadsDir *paths.Path, libRelease *librariesindex.Release, + downloadCB rpc.DownloadProgressCB, taskCB rpc.TaskProgressCB, + queryParameter string, + settings *configuration.Settings, +) error { taskCB(&rpc.TaskProgress{Name: i18n.Tr("Downloading %s", libRelease)}) - config, err := settings.DownloaderConfig() + config, err := settings.DownloaderConfig(ctx) if err != nil { return &cmderrors.FailedDownloadError{Message: i18n.Tr("Can't download library"), Cause: err} } diff --git a/commands/service_library_install.go b/commands/service_library_install.go index ca1531ac267..3fe2641282a 100644 --- a/commands/service_library_install.go +++ b/commands/service_library_install.go @@ -25,6 +25,7 @@ import ( "github.com/arduino/arduino-cli/internal/arduino/libraries" "github.com/arduino/arduino-cli/internal/arduino/libraries/librariesindex" "github.com/arduino/arduino-cli/internal/arduino/libraries/librariesmanager" + "github.com/arduino/arduino-cli/internal/arduino/resources" "github.com/arduino/arduino-cli/internal/i18n" rpc "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1" "github.com/arduino/go-paths-helper" @@ -159,7 +160,7 @@ func (s *arduinoCoreServerImpl) LibraryInstall(req *rpc.LibraryInstallRequest, s if err := downloadLibrary(ctx, downloadsDir, libRelease, downloadCB, taskCB, downloadReason, s.settings); err != nil { return err } - if err := installLibrary(lmi, downloadsDir, libRelease, installTask, taskCB); err != nil { + if err := installLibrary(lmi, downloadsDir, libRelease, installTask, taskCB, resources.IntegrityCheckFull); err != nil { return err } } @@ -179,7 +180,7 @@ func (s *arduinoCoreServerImpl) LibraryInstall(req *rpc.LibraryInstallRequest, s return nil } -func installLibrary(lmi *librariesmanager.Installer, downloadsDir *paths.Path, libRelease *librariesindex.Release, installTask *librariesmanager.LibraryInstallPlan, taskCB rpc.TaskProgressCB) error { +func installLibrary(lmi *librariesmanager.Installer, downloadsDir *paths.Path, libRelease *librariesindex.Release, installTask *librariesmanager.LibraryInstallPlan, taskCB rpc.TaskProgressCB, checks resources.IntegrityCheckMode) error { taskCB(&rpc.TaskProgress{Name: i18n.Tr("Installing %s", libRelease)}) logrus.WithField("library", libRelease).Info("Installing library") @@ -193,7 +194,7 @@ func installLibrary(lmi *librariesmanager.Installer, downloadsDir *paths.Path, l installPath := installTask.TargetPath tmpDirPath := installPath.Parent() - if err := libRelease.Resource.Install(downloadsDir, tmpDirPath, installPath); err != nil { + if err := libRelease.Resource.Install(downloadsDir, tmpDirPath, installPath, checks); err != nil { return &cmderrors.FailedLibraryInstallError{Cause: err} } diff --git a/commands/service_library_list.go b/commands/service_library_list.go index 35104caf08b..2d30e11dbd3 100644 --- a/commands/service_library_list.go +++ b/commands/service_library_list.go @@ -21,12 +21,12 @@ import ( "github.com/arduino/arduino-cli/commands/cmderrors" "github.com/arduino/arduino-cli/commands/internal/instances" - "github.com/arduino/arduino-cli/internal/arduino/cores" "github.com/arduino/arduino-cli/internal/arduino/libraries" "github.com/arduino/arduino-cli/internal/arduino/libraries/librariesindex" "github.com/arduino/arduino-cli/internal/arduino/libraries/librariesmanager" "github.com/arduino/arduino-cli/internal/arduino/libraries/librariesresolver" "github.com/arduino/arduino-cli/internal/i18n" + "github.com/arduino/arduino-cli/pkg/fqbn" rpc "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1" ) @@ -59,7 +59,7 @@ func (s *arduinoCoreServerImpl) LibraryList(ctx context.Context, req *rpc.Librar var allLibs []*installedLib if fqbnString := req.GetFqbn(); fqbnString != "" { allLibs = listLibraries(lme, li, req.GetUpdatable(), true) - fqbn, err := cores.ParseFQBN(req.GetFqbn()) + fqbn, err := fqbn.Parse(req.GetFqbn()) if err != nil { return nil, &cmderrors.InvalidFQBNError{Cause: err} } @@ -77,8 +77,8 @@ func (s *arduinoCoreServerImpl) LibraryList(ctx context.Context, req *rpc.Librar } } if latest, has := filteredRes[lib.Library.Name]; has { - latestPriority := librariesresolver.ComputePriority(latest.Library, "", fqbn.PlatformArch) - libPriority := librariesresolver.ComputePriority(lib.Library, "", fqbn.PlatformArch) + latestPriority := librariesresolver.ComputePriority(latest.Library, "", fqbn.Architecture) + libPriority := librariesresolver.ComputePriority(lib.Library, "", fqbn.Architecture) if latestPriority >= libPriority { // Pick library with the best priority continue @@ -87,7 +87,7 @@ func (s *arduinoCoreServerImpl) LibraryList(ctx context.Context, req *rpc.Librar // Check if library is compatible with board specified by FBQN lib.Library.CompatibleWith = map[string]bool{ - fqbnString: lib.Library.IsCompatibleWith(fqbn.PlatformArch), + fqbnString: lib.Library.IsCompatibleWith(fqbn.Architecture), } filteredRes[lib.Library.Name] = lib diff --git a/commands/service_monitor.go b/commands/service_monitor.go index 8c3402681b7..012d4ddf8bc 100644 --- a/commands/service_monitor.go +++ b/commands/service_monitor.go @@ -28,6 +28,7 @@ import ( "github.com/arduino/arduino-cli/internal/arduino/cores/packagemanager" pluggableMonitor "github.com/arduino/arduino-cli/internal/arduino/monitor" "github.com/arduino/arduino-cli/internal/i18n" + "github.com/arduino/arduino-cli/pkg/fqbn" rpc "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1" "github.com/arduino/go-properties-orderedmap" "github.com/djherbis/buffer" @@ -237,7 +238,7 @@ func (s *arduinoCoreServerImpl) Monitor(stream rpc.ArduinoCoreService_MonitorSer return nil } -func findMonitorAndSettingsForProtocolAndBoard(pme *packagemanager.Explorer, protocol, fqbn string) (*pluggableMonitor.PluggableMonitor, *properties.Map, error) { +func findMonitorAndSettingsForProtocolAndBoard(pme *packagemanager.Explorer, protocol, fqbnIn string) (*pluggableMonitor.PluggableMonitor, *properties.Map, error) { if protocol == "" { return nil, nil, &cmderrors.MissingPortProtocolError{} } @@ -246,8 +247,8 @@ func findMonitorAndSettingsForProtocolAndBoard(pme *packagemanager.Explorer, pro boardSettings := properties.NewMap() // If a board is specified search the monitor in the board package first - if fqbn != "" { - fqbn, err := cores.ParseFQBN(fqbn) + if fqbnIn != "" { + fqbn, err := fqbn.Parse(fqbnIn) if err != nil { return nil, nil, &cmderrors.InvalidFQBNError{Cause: err} } diff --git a/commands/service_platform_install.go b/commands/service_platform_install.go index 6a9583fa429..bd4ea00ddb7 100644 --- a/commands/service_platform_install.go +++ b/commands/service_platform_install.go @@ -17,11 +17,13 @@ package commands import ( "context" + "errors" "fmt" "github.com/arduino/arduino-cli/commands/cmderrors" "github.com/arduino/arduino-cli/commands/internal/instances" "github.com/arduino/arduino-cli/internal/arduino/cores/packagemanager" + "github.com/arduino/arduino-cli/internal/arduino/resources" "github.com/arduino/arduino-cli/internal/i18n" rpc "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1" ) @@ -78,6 +80,9 @@ func (s *arduinoCoreServerImpl) PlatformInstall(req *rpc.PlatformInstallRequest, } platformRelease, tools, err := pme.FindPlatformReleaseDependencies(ref) if err != nil { + if errors.Is(err, packagemanager.ErrPlatformNotAvailableForOS) { + return &cmderrors.PlatformNotAvailableForOSError{Platform: ref.String()} + } return &cmderrors.PlatformNotFoundError{Platform: ref.String(), Cause: err} } @@ -95,7 +100,11 @@ func (s *arduinoCoreServerImpl) PlatformInstall(req *rpc.PlatformInstallRequest, } } - if err := pme.DownloadAndInstallPlatformAndTools(ctx, platformRelease, tools, downloadCB, taskCB, req.GetSkipPostInstall(), req.GetSkipPreUninstall()); err != nil { + checks := resources.IntegrityCheckFull + if s.settings.BoardManagerEnableUnsafeInstall() { + checks = resources.IntegrityCheckNone + } + if err := pme.DownloadAndInstallPlatformAndTools(ctx, platformRelease, tools, downloadCB, taskCB, req.GetSkipPostInstall(), req.GetSkipPreUninstall(), checks); err != nil { return err } diff --git a/commands/service_platform_upgrade.go b/commands/service_platform_upgrade.go index 94432e87c31..11aac1346f8 100644 --- a/commands/service_platform_upgrade.go +++ b/commands/service_platform_upgrade.go @@ -21,6 +21,7 @@ import ( "github.com/arduino/arduino-cli/commands/internal/instances" "github.com/arduino/arduino-cli/internal/arduino/cores" "github.com/arduino/arduino-cli/internal/arduino/cores/packagemanager" + "github.com/arduino/arduino-cli/internal/arduino/resources" rpc "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1" ) @@ -75,7 +76,11 @@ func (s *arduinoCoreServerImpl) PlatformUpgrade(req *rpc.PlatformUpgradeRequest, Package: req.GetPlatformPackage(), PlatformArchitecture: req.GetArchitecture(), } - platform, err := pme.DownloadAndInstallPlatformUpgrades(ctx, ref, downloadCB, taskCB, req.GetSkipPostInstall(), req.GetSkipPreUninstall()) + checks := resources.IntegrityCheckFull + if s.settings.BoardManagerEnableUnsafeInstall() { + checks = resources.IntegrityCheckNone + } + platform, err := pme.DownloadAndInstallPlatformUpgrades(ctx, ref, downloadCB, taskCB, req.GetSkipPostInstall(), req.GetSkipPreUninstall(), checks) if err != nil { return platform, err } diff --git a/commands/service_settings.go b/commands/service_settings.go index d38f4a95cfd..7a0f7f252ae 100644 --- a/commands/service_settings.go +++ b/commands/service_settings.go @@ -22,10 +22,10 @@ import ( "reflect" "github.com/arduino/arduino-cli/commands/cmderrors" - f "github.com/arduino/arduino-cli/internal/algorithms" "github.com/arduino/arduino-cli/internal/cli/configuration" "github.com/arduino/arduino-cli/internal/go-configmap" rpc "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1" + "go.bug.st/f" "google.golang.org/protobuf/proto" "gopkg.in/yaml.v3" ) diff --git a/commands/service_settings_test.go b/commands/service_settings_test.go index 89f7b11c3f7..24959962f38 100644 --- a/commands/service_settings_test.go +++ b/commands/service_settings_test.go @@ -224,12 +224,73 @@ func TestDelete(t *testing.T) { srv := NewArduinoCoreServer() loadConfig(t, srv, paths.New("testdata", "arduino-cli.yml")) - _, err := srv.SettingsGetValue(context.Background(), &rpc.SettingsGetValueRequest{Key: "network"}) + // Check loaded config + resp, err := srv.ConfigurationSave(context.Background(), &rpc.ConfigurationSaveRequest{ + SettingsFormat: "yaml", + }) + require.NoError(t, err) + require.YAMLEq(t, ` +board_manager: + additional_urls: + - http://foobar.com + - http://example.com + +daemon: + port: "50051" + +directories: + data: /home/massi/.arduino15 + downloads: /home/massi/.arduino15/staging + +logging: + file: "" + format: text + level: info + +network: + proxy: "123" +`, resp.GetEncodedSettings()) + + // Check default and setted values + res, err := srv.SettingsGetValue(context.Background(), &rpc.SettingsGetValueRequest{Key: "network"}) + require.NoError(t, err) + require.Equal(t, `{"proxy":"123"}`, res.GetEncodedValue()) + // Maybe should be like this? + // require.Equal(t, `{"proxy":"123","connection_timeout":"1m0s"}`, res.GetEncodedValue()) + res, err = srv.SettingsGetValue(context.Background(), &rpc.SettingsGetValueRequest{Key: "network.connection_timeout"}) + require.Equal(t, `"1m0s"`, res.GetEncodedValue()) // default value require.NoError(t, err) + // Run deletion _, err = srv.SettingsSetValue(context.Background(), &rpc.SettingsSetValueRequest{Key: "network", EncodedValue: ""}) require.NoError(t, err) + resp, err = srv.ConfigurationSave(context.Background(), &rpc.ConfigurationSaveRequest{ + SettingsFormat: "yaml", + }) + require.NoError(t, err) + require.YAMLEq(t, ` +board_manager: + additional_urls: + - http://foobar.com + - http://example.com - _, err = srv.SettingsGetValue(context.Background(), &rpc.SettingsGetValueRequest{Key: "network"}) - require.Error(t, err) +daemon: + port: "50051" + +directories: + data: /home/massi/.arduino15 + downloads: /home/massi/.arduino15/staging + +logging: + file: "" + format: text + level: info +`, resp.GetEncodedSettings()) + // Check default and setted values + res, err = srv.SettingsGetValue(context.Background(), &rpc.SettingsGetValueRequest{Key: "network"}) + require.NoError(t, err) + require.Equal(t, `{"connection_timeout":"1m0s"}`, res.GetEncodedValue()) + res, err = srv.SettingsGetValue(context.Background(), &rpc.SettingsGetValueRequest{Key: "network.connection_timeout"}) + require.Equal(t, `"1m0s"`, res.GetEncodedValue()) // default value + require.NoError(t, err) } diff --git a/commands/service_sketch_new.go b/commands/service_sketch_new.go index ca3143e31b9..8f02908637a 100644 --- a/commands/service_sketch_new.go +++ b/commands/service_sketch_new.go @@ -48,7 +48,7 @@ func (s *arduinoCoreServerImpl) NewSketch(ctx context.Context, req *rpc.NewSketc if len(req.GetSketchDir()) > 0 { sketchesDir = req.GetSketchDir() } else { - sketchesDir = s.settings.GetString("directories.User") + sketchesDir = s.settings.UserDir().String() } if err := validateSketchName(req.GetSketchName()); err != nil { diff --git a/commands/service_upload.go b/commands/service_upload.go index 56d621813fe..10f759998d7 100644 --- a/commands/service_upload.go +++ b/commands/service_upload.go @@ -32,6 +32,7 @@ import ( "github.com/arduino/arduino-cli/internal/arduino/globals" "github.com/arduino/arduino-cli/internal/arduino/sketch" "github.com/arduino/arduino-cli/internal/i18n" + "github.com/arduino/arduino-cli/pkg/fqbn" rpc "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1" paths "github.com/arduino/go-paths-helper" properties "github.com/arduino/go-properties-orderedmap" @@ -53,7 +54,7 @@ func (s *arduinoCoreServerImpl) SupportedUserFields(ctx context.Context, req *rp } defer release() - fqbn, err := cores.ParseFQBN(req.GetFqbn()) + fqbn, err := fqbn.Parse(req.GetFqbn()) if err != nil { return nil, &cmderrors.InvalidFQBNError{Cause: err} } @@ -61,7 +62,7 @@ func (s *arduinoCoreServerImpl) SupportedUserFields(ctx context.Context, req *rp _, platformRelease, _, boardProperties, _, err := pme.ResolveFQBN(fqbn) if platformRelease == nil { return nil, &cmderrors.PlatformNotFoundError{ - Platform: fmt.Sprintf("%s:%s", fqbn.Package, fqbn.PlatformArch), + Platform: fmt.Sprintf("%s:%s", fqbn.Vendor, fqbn.Architecture), Cause: err, } } else if err != nil { @@ -282,7 +283,7 @@ func (s *arduinoCoreServerImpl) runProgramAction(ctx context.Context, pme *packa return nil, &cmderrors.MissingProgrammerError{} } - fqbn, err := cores.ParseFQBN(fqbnIn) + fqbn, err := fqbn.Parse(fqbnIn) if err != nil { return nil, &cmderrors.InvalidFQBNError{Cause: err} } @@ -292,7 +293,7 @@ func (s *arduinoCoreServerImpl) runProgramAction(ctx context.Context, pme *packa _, boardPlatform, board, boardProperties, buildPlatform, err := pme.ResolveFQBN(fqbn) if boardPlatform == nil { return nil, &cmderrors.PlatformNotFoundError{ - Platform: fmt.Sprintf("%s:%s", fqbn.Package, fqbn.PlatformArch), + Platform: fmt.Sprintf("%s:%s", fqbn.Vendor, fqbn.Architecture), Cause: err, } } else if err != nil { @@ -504,20 +505,20 @@ func (s *arduinoCoreServerImpl) runProgramAction(ctx context.Context, pme *packa // if touch is requested but port is not specified, print a warning if touch && portToTouch == "" { - outStream.Write([]byte(fmt.Sprintln(i18n.Tr("Skipping 1200-bps touch reset: no serial port selected!")))) + fmt.Fprintln(outStream, i18n.Tr("Skipping 1200-bps touch reset: no serial port selected!")) } cb := &serialutils.ResetProgressCallbacks{ TouchingPort: func(portAddress string) { logrus.WithField("phase", "board reset").Infof("Performing 1200-bps touch reset on serial port %s", portAddress) if verbose { - outStream.Write([]byte(fmt.Sprintln(i18n.Tr("Performing 1200-bps touch reset on serial port %s", portAddress)))) + fmt.Fprintln(outStream, i18n.Tr("Performing 1200-bps touch reset on serial port %s", portAddress)) } }, WaitingForNewSerial: func() { logrus.WithField("phase", "board reset").Info("Waiting for upload port...") if verbose { - outStream.Write([]byte(fmt.Sprintln(i18n.Tr("Waiting for upload port...")))) + fmt.Fprintln(outStream, i18n.Tr("Waiting for upload port...")) } }, BootloaderPortFound: func(portAddress string) { @@ -528,9 +529,9 @@ func (s *arduinoCoreServerImpl) runProgramAction(ctx context.Context, pme *packa } if verbose { if portAddress != "" { - outStream.Write([]byte(fmt.Sprintln(i18n.Tr("Upload port found on %s", portAddress)))) + fmt.Fprintln(outStream, i18n.Tr("Upload port found on %s", portAddress)) } else { - outStream.Write([]byte(fmt.Sprintln(i18n.Tr("No upload port found, using %s as fallback", actualPort.Address)))) + fmt.Fprintln(outStream, i18n.Tr("No upload port found, using %s as fallback", actualPort.Address)) } } }, @@ -540,7 +541,7 @@ func (s *arduinoCoreServerImpl) runProgramAction(ctx context.Context, pme *packa } if newPortAddress, err := serialutils.Reset(portToTouch, wait, dryRun, nil, cb); err != nil { - errStream.Write([]byte(fmt.Sprintln(i18n.Tr("Cannot perform port reset: %s", err)))) + fmt.Fprintln(errStream, i18n.Tr("Cannot perform port reset: %s", err)) } else { if newPortAddress != "" { actualPort.Address = newPortAddress @@ -727,7 +728,7 @@ func runTool(ctx context.Context, recipeID string, props *properties.Map, outStr // Run Tool logrus.WithField("phase", "upload").Tracef("Executing upload tool: %s", cmdLine) if verbose { - outStream.Write([]byte(fmt.Sprintln(cmdLine))) + fmt.Fprintln(outStream, cmdLine) } if dryRun { return nil diff --git a/commands/service_upload_list_programmers.go b/commands/service_upload_list_programmers.go index f05142cf147..761d9babf5c 100644 --- a/commands/service_upload_list_programmers.go +++ b/commands/service_upload_list_programmers.go @@ -21,6 +21,7 @@ import ( "github.com/arduino/arduino-cli/commands/cmderrors" "github.com/arduino/arduino-cli/commands/internal/instances" "github.com/arduino/arduino-cli/internal/arduino/cores" + "github.com/arduino/arduino-cli/pkg/fqbn" rpc "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1" ) @@ -36,7 +37,7 @@ func (s *arduinoCoreServerImpl) ListProgrammersAvailableForUpload(ctx context.Co if fqbnIn == "" { return nil, &cmderrors.MissingFQBNError{} } - fqbn, err := cores.ParseFQBN(fqbnIn) + fqbn, err := fqbn.Parse(fqbnIn) if err != nil { return nil, &cmderrors.InvalidFQBNError{Cause: err} } diff --git a/commands/service_upload_test.go b/commands/service_upload_test.go index 737eec92e83..4a86a0f274b 100644 --- a/commands/service_upload_test.go +++ b/commands/service_upload_test.go @@ -25,6 +25,7 @@ import ( "github.com/arduino/arduino-cli/internal/arduino/cores" "github.com/arduino/arduino-cli/internal/arduino/cores/packagemanager" "github.com/arduino/arduino-cli/internal/arduino/sketch" + "github.com/arduino/arduino-cli/pkg/fqbn" rpc "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1" paths "github.com/arduino/go-paths-helper" properties "github.com/arduino/go-properties-orderedmap" @@ -60,7 +61,7 @@ func TestDetermineBuildPathAndSketchName(t *testing.T) { importFile string importDir string sketch *sketch.Sketch - fqbn *cores.FQBN + fqbn *fqbn.FQBN resBuildPath string resSketchName string } @@ -68,7 +69,7 @@ func TestDetermineBuildPathAndSketchName(t *testing.T) { blonk, err := sketch.New(paths.New("testdata/upload/Blonk")) require.NoError(t, err) - fqbn, err := cores.ParseFQBN("arduino:samd:mkr1000") + fqbn, err := fqbn.Parse("arduino:samd:mkr1000") require.NoError(t, err) srv := NewArduinoCoreServer().(*arduinoCoreServerImpl) diff --git a/debian/Dockerfile b/debian/Dockerfile new file mode 100644 index 00000000000..bd6cfaad4d6 --- /dev/null +++ b/debian/Dockerfile @@ -0,0 +1,33 @@ +FROM debian:bookworm AS debian + +ARG VERSION +RUN test -n "${VERSION}" || (echo "Error: VERSION is not set" && exit 1) + +ARG REVISION="1" +ARG ARCH +RUN test -n "${ARCH}" || (echo "Error: ARCH is not set" && exit 1) + +ARG DEB_NAME +RUN test -n "${DEB_NAME}" || (echo "Error: DEB_NAME is not set" && exit 1) + +ARG BINARY_NAME +RUN test -n "${BINARY_NAME}" || (echo "Error: BINARY_NAME is not set" && exit 1) + +RUN apt-get update && apt-get install -y sed + +ARG GO_BINARY + +COPY ./debian/${DEB_NAME} /${DEB_NAME}/ +COPY ./${GO_BINARY} /${DEB_NAME}/usr/bin/${BINARY_NAME} +COPY ./debian/${DEB_NAME}/DEBIAN/copyright /${DEB_NAME}/usr/share/doc/copyright + +# Go application are tagged with `v` prefix, this remove the first v if present +RUN export VERSION=$(echo "${VERSION}" | sed -e "s/^v\(.*\)/\1/") && \ + sed -i "s/\$ARCH/${ARCH}/" /${DEB_NAME}/DEBIAN/control && \ + sed -i "s/\$VERSION/${VERSION}/" /${DEB_NAME}/DEBIAN/control && \ + dpkg-deb --build --root-owner-group /${DEB_NAME} &&\ + mv /${DEB_NAME}.deb "/${DEB_NAME}_${VERSION}-${REVISION}_${ARCH}.deb" + +FROM scratch + +COPY --from=debian /*.deb / diff --git a/debian/arduino-cli/DEBIAN/control b/debian/arduino-cli/DEBIAN/control new file mode 100644 index 00000000000..f9a23038492 --- /dev/null +++ b/debian/arduino-cli/DEBIAN/control @@ -0,0 +1,5 @@ +Package: arduino-cli +Version: $VERSION +Architecture: $ARCH +Maintainer: arduino +Description: Arduino CLI diff --git a/debian/arduino-cli/DEBIAN/copyright b/debian/arduino-cli/DEBIAN/copyright new file mode 100644 index 00000000000..aee0cd7a5d3 --- /dev/null +++ b/debian/arduino-cli/DEBIAN/copyright @@ -0,0 +1,18 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Source: https://github.com/arduino/arduino-cli +Upstream-Name: arduino-cli + +Files: + * +Copyright: Copyright 2020-2025 ARDUINO SA (http://www.arduino.cc/) +License: GPL-3+ with exception + This software is released under the GNU General Public License version 3, + which covers the main part of arduino-cli. + The terms of this license can be found at: + https://www.gnu.org/licenses/gpl-3.0.en.html + . + You can be released from the requirements of the above licenses by purchasing + a commercial license. Buying such a license is mandatory if you want to + modify or otherwise use the software for commercial activities involving the + Arduino software without disclosing the source code of your own applications. + To purchase a commercial license, send an email to license@arduino.cc. diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index bb7a0832ea4..7f615230da6 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -303,7 +303,7 @@ package main import ( "fmt" - "github.com/arduino/arduino-cli/i18n" + "github.com/arduino/arduino-cli/internal/i18n" ) func main() { @@ -321,8 +321,8 @@ changes in the generated code. ### Additional settings If you need to push a commit that's only shipping documentation changes or example files, thus a complete no-op for the -test suite, please start the commit message with the string **[skip ci]** to skip the build and give that slot to someone -else who does need it. +test suite, please start the commit message with the string **[skip ci]** to skip the build and give that slot to +someone else who does need it. If your PR doesn't need to be included in the changelog, please start the commit message and PR title with the string **[skip changelog]** diff --git a/docs/FAQ.md b/docs/FAQ.md index f52e8d2b9d4..63aa5f74d1f 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -11,10 +11,8 @@ When you run [`arduino-cli board list`][arduino cli board list], your board does FQBN stands for Fully Qualified Board Name. It has the following format: `VENDOR:ARCHITECTURE:BOARD_ID[:MENU_ID=OPTION_ID[,MENU2_ID=OPTION_ID ...]]`, with each `MENU_ID=OPTION_ID` being an -optional key-value pair configuration. Each field accepts letters (`A-Z` or `a-z`), numbers (`0-9`), underscores (`_`), -dashes(`-`) and dots(`.`). The special character `=` is accepted in the configuration value. The `VENDOR` and -`ARCHITECTURE` parts can be empty. For a deeper understanding of how FQBN works, you should understand the [Arduino -platform specification][0]. +optional key-value pair configuration. The `VENDOR` and `ARCHITECTURE` parts can be empty. For a deeper understanding of +how FQBN works, you should understand the [Arduino platform specification][0]. ## How to set multiple board options? @@ -27,8 +25,8 @@ Additional board options have to be separated by commas (instead of colon): The serial monitor is available through the [monitor command][monitor command]. By the way, the functionality provided by this command is very limited and you may want to look for other tools if you need more advanced functionality. -There are many excellent serial terminals to chose from. On Linux or macOS, you may already have [screen][screen] -installed. On Windows, a good choice for command line usage is Plink, included with [PuTTY][putty]. +There are many excellent serial terminals to chose from. On Linux or macOS, you may already have `screen` installed. On +Windows, a good choice for command line usage is Plink, included with [PuTTY][putty]. ## How to change monitor configuration? @@ -60,7 +58,6 @@ If your question wasn't answered, feel free to ask on [Arduino CLI's forum board [arduino cli board list]: commands/arduino-cli_board_list.md [0]: platform-specification.md [1]: https://forum.arduino.cc/c/software/arduino-cli/89 -[screen]: https://www.gnu.org/software/screen/manual/screen.html [putty]: https://www.chiark.greenend.org.uk/~sgtatham/putty/ [monitor command]: commands/arduino-cli_monitor.md [configuration parameters]: pluggable-monitor-specification.md#describe-command diff --git a/docs/configuration.md b/docs/configuration.md index ecbc25d65a5..702594a019b 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -2,13 +2,16 @@ - `board_manager` - `additional_urls` - the URLs to any additional Boards Manager package index files needed for your boards platforms. + - `enable_unsafe_install` - set to `true` to allow installation of packages that do not pass the checksum test. This + is considered an unsafe installation method and should be used only for development purposes. - `daemon` - options related to running Arduino CLI as a [gRPC] server. - `port` - TCP port used for gRPC client connections. - `directories` - directories used by Arduino CLI. - `data` - directory used to store Boards/Library Manager index files and Boards Manager platform installations. - `downloads` - directory used to stage downloaded archives during Boards/Library Manager installations. - `user` - the equivalent of the Arduino IDE's ["sketchbook" directory][sketchbook directory]. Library Manager - installations are made to the `libraries` subdirectory of the user directory. + installations are made to the `libraries` subdirectory of the user directory. Users can manually install 3rd party + platforms in the `hardware` subdirectory of the user directory. - `builtin.libraries` - the libraries in this directory will be available to all platforms without the need for the user to install them, but with the lowest priority over other installed libraries with the same name, it's the equivalent of the Arduino IDE's bundled libraries directory. @@ -35,7 +38,7 @@ - `updater` - configuration options related to Arduino CLI updates - `enable_notification` - set to `false` to disable notifications of new Arduino CLI releases, defaults to `true` - `build_cache` configuration options related to the compilation cache - - `path` - the path to the build cache, default is `$TMP/arduino`. + - `path` - the path to the folder under which build caches are stored. - `extra_paths` - a list of paths to look for precompiled artifacts if not found on `build_cache.path` setting. - `compilations_before_purge` - interval, in number of compilations, at which the cache is purged, defaults to `10`. When `0` the cache is never purged. @@ -44,6 +47,38 @@ [time.ParseDuration()](https://pkg.go.dev/time#ParseDuration), defaults to `720h` (30 days). - `network` - configuration options related to the network connection. - `proxy` - URL of the proxy server. + - `connection_timeout` - network connection timeout, the value format must be a valid input for + [time.ParseDuration()](https://pkg.go.dev/time#ParseDuration), defaults to `60s` (60 seconds). `0` means it will + wait indefinitely. + - `cloud_api.skip_board_detection_calls` - if set to `true` it will make the Arduino CLI skip network calls to Arduino + Cloud API to help detection of an unknown board. + +### Default directories + +The following are the default directories selected by the Arduino CLI if alternatives are not specified in the +configuration file. + +- The `build_cache.path` default is OS-dependent: + + - on Linux (and other Unix-based OS) is: if + [`$XDG_CACHE_HOME`](https://specifications.freedesktop.org/basedir-spec/latest/#variables) is defined, + `$XDG_CACHE_HOME/arduino`. Otherwise `{HOME}/.config/arduino`. + - on Windows is: `{HOME}/AppData/Local/arduino` + - on MacOS is: `{HOME}/Library/Caches/arduino` + +- The `directories.data` default is OS-dependent: + + - on Linux (and other Unix-based OS) is: `{HOME}/.arduino15` + - on Windows is: `{HOME}/AppData/Local/Arduino15` + - on MacOS is: `{HOME}/Library/Arduino15` + +- The `directories.downloads` default is `{directories.data}/staging`. If the value of `{directories.data}` is changed + in the configuration the user-specified value will be used. + +- The `directories.user` default is OS-dependent: + - on Linux (and other Unix-based OS) is: `{HOME}/Arduino` + - on Windows is: `{DOCUMENTS}/Arduino` + - on MacOS is: `{HOME}/Documents/Arduino` ## Configuration methods diff --git a/docs/index.md b/docs/index.md index b02aa1a4b4c..2819e36b837 100644 --- a/docs/index.md +++ b/docs/index.md @@ -17,13 +17,7 @@ Follow the [Getting started guide] to see how to use the most common CLI command The [client_example] folder contains a sample program that shows how to use the gRPC interface of the CLI. Available services and messages are detailed in the [gRPC reference] pages. -## Versioning and backward compatibility policy - -This software is currently under active development: anything can change at any time, API and UI must be considered -unstable until we release version 1.0.0. For more information see our [versioning and backward compatibility] policy. - [installation]: installation.md [getting started guide]: getting-started.md [client_example]: https://github.com/arduino/arduino-cli/blob/master/rpc/internal/client_example [grpc reference]: rpc/commands.md -[versioning and backward compatibility]: versioning.md diff --git a/docs/integration-options.md b/docs/integration-options.md index 01f32893759..fe476365407 100644 --- a/docs/integration-options.md +++ b/docs/integration-options.md @@ -4,8 +4,8 @@ The Arduino CLI is an open source Command Line Application written in [Golang] t compile, verify and upload sketches to Arduino boards and that’s capable of managing all the software and tools needed in the process. But don’t get fooled by its name: Arduino CLI can do much more than the average console application, as shown by [Arduino IDE 2.x][arduino ide 2.x] and [Arduino Cloud], which rely on it for similar purposes but each one in a -completely different way from the other. In this article we introduce the three pillars of the Arduino CLI, explaining how -we designed the software so that it can be effectively leveraged under different scenarios. +completely different way from the other. In this article we introduce the three pillars of the Arduino CLI, explaining +how we designed the software so that it can be effectively leveraged under different scenarios. ## The first pillar: command line interface @@ -132,17 +132,18 @@ $ arduino-cli lib search FlashStorage --format json | jq .libraries[0].latest ``` Even if not related to software design, one last feature that’s worth mentioning is the availability of a one-line -[installation script] that can be used to make the latest version of the Arduino CLI available on most systems with an HTTP -client like curl or wget and a shell like bash. +[installation script] that can be used to make the latest version of the Arduino CLI available on most systems with an +HTTP client like curl or wget and a shell like bash. For more information on Arduino CLI's command line interface, see the [command reference]. ## The second pillar: gRPC interface [gRPC] is a high performance [RPC] framework that can efficiently connect client and server applications. The Arduino -CLI can act as a gRPC server (we call it [daemon mode]), exposing a set of procedures that implement the very same set of -features of the command line interface and waiting for clients to connect and use them. To give an idea, the following is -some [Golang] code capable of retrieving the version number of a remote running Arduino CLI server instance: +CLI can act as a gRPC server (we call it [daemon mode]), exposing a set of procedures that implement the very same set +of features of the command line interface and waiting for clients to connect and use them. To give an idea, the +following is some [Golang] code capable of retrieving the version number of a remote running Arduino CLI server +instance: ```go // This file is part of arduino-cli. @@ -210,8 +211,8 @@ a common Golang API, based on the gRPC protobuf definitions: a set of functions offered by the Arduino CLI, so that when we provide a fix or a new feature, they are automatically available to both the command line and gRPC interfaces. The source modules implementing this API are implemented through the `commands` package, and it can be imported in other Golang programs to embed a full-fledged Arduino CLI. For example, this is how -some backend services powering [Arduino Cloud] can compile sketches and manage libraries. Just to give you a taste of what -it means to embed the Arduino CLI, here is how to search for a core using the API: +some backend services powering [Arduino Cloud] can compile sketches and manage libraries. Just to give you a taste of +what it means to embed the Arduino CLI, here is how to search for a core using the API: ```go // This file is part of arduino-cli. @@ -296,8 +297,7 @@ use and provide support for. You can start playing with the Arduino CLI right away. The code is open source and [the repo][arduino cli repository] contains [example code showing how to implement a gRPC client][grpc client example]. If you’re curious about how we designed the low level API, have a look at the [commands package] and don’t hesitate to leave feedback on the [issue -tracker] -if you’ve got a use case that doesn’t fit one of the three pillars. +tracker] if you’ve got a use case that doesn’t fit one of the three pillars. [golang]: https://go.dev/ [arduino ide 2.x]: https://github.com/arduino/arduino-ide diff --git a/docs/package_index_json-specification.md b/docs/package_index_json-specification.md index 416a5e2e815..9cfcebe4422 100644 --- a/docs/package_index_json-specification.md +++ b/docs/package_index_json-specification.md @@ -64,6 +64,8 @@ The metadata fields are: - `name`: the folder used for the installed cores. The [vendor folder](platform-specification.md#hardware-folders-structure) name of the installed package is determined by this field + - The value must not contain any characters other than the letters `A`-`Z` and `a`-`z`, numbers (`0`-`9`), underscores + (`_`), dashes (`-`), and dots (`.`). - `maintainer`: the extended name of the vendor that is displayed on the Arduino IDE Boards Manager GUI - `websiteURL`: the URL to the vendor's website, appears on the Arduino IDE Boards Manager as a "More info" link - `email`: the email of the vendor/maintainer @@ -170,21 +172,21 @@ Each tool version may come in different build flavours for different OS. Each fl array. The IDE will take care to install the right flavour for the user's OS by matching the `host` value with the following table or fail if a needed flavour is missing. -| OS flavour | `host` regexp | suggested `host` value | -| --------------- | ------------------------------------- | ---------------------------------- | -| Linux 32 | `i[3456]86-.*linux-gnu` | `i686-linux-gnu` | -| Linux 64 | `x86_64-.*linux-gnu` | `x86_64-linux-gnu` | -| Linux Arm | `arm.*-linux-gnueabihf` | `arm-linux-gnueabihf` | -| Linux Arm64 | `(aarch64\|arm64)-linux-gnu` | `aarch64-linux-gnu` | -| Linux RISC-V 64 | `riscv64-linux-gnu` | `riscv64-linux-gnu` | -| Windows 32 | `i[3456]86-.*(mingw32\|cygwin)` | `i686-mingw32` or `i686-cygwin` | -| Windows 64 | `(amd64\|x86_64)-.*(mingw32\|cygwin)` | `x86_64-migw32` or `x86_64-cygwin` | -| MacOSX 32 | `i[3456]86-apple-darwin.*` | `i686-apple-darwin` | -| MacOSX 64 | `x86_64-apple-darwin.*` | `x86_64-apple-darwin` | -| MacOSX Arm64 | `arm64-apple-darwin.*` | `arm64-apple-darwin` | -| FreeBSD 32 | `i?[3456]86-freebsd[0-9]*` | `i686-freebsd` | -| FreeBSD 64 | `amd64-freebsd[0-9]*` | `amd64-freebsd` | -| FreeBSD Arm | `arm.*-freebsd[0-9]*` | `arm-freebsd` | +| OS flavour | `host` regexp | suggested `host` value | +| --------------- | ------------------------------------- | ----------------------------------- | +| Linux 32 | `i[3456]86-.*linux-gnu` | `i686-linux-gnu` | +| Linux 64 | `x86_64-.*linux-gnu` | `x86_64-linux-gnu` | +| Linux Arm | `arm.*-linux-gnueabihf` | `arm-linux-gnueabihf` | +| Linux Arm64 | `(aarch64\|arm64)-linux-gnu` | `aarch64-linux-gnu` | +| Linux RISC-V 64 | `riscv64-linux-gnu` | `riscv64-linux-gnu` | +| Windows 32 | `i[3456]86-.*(mingw32\|cygwin)` | `i686-mingw32` or `i686-cygwin` | +| Windows 64 | `(amd64\|x86_64)-.*(mingw32\|cygwin)` | `x86_64-mingw32` or `x86_64-cygwin` | +| MacOSX 32 | `i[3456]86-apple-darwin.*` | `i686-apple-darwin` | +| MacOSX 64 | `x86_64-apple-darwin.*` | `x86_64-apple-darwin` | +| MacOSX Arm64 | `arm64-apple-darwin.*` | `arm64-apple-darwin` | +| FreeBSD 32 | `i?[3456]86-freebsd[0-9]*` | `i686-freebsd` | +| FreeBSD 64 | `amd64-freebsd[0-9]*` | `amd64-freebsd` | +| FreeBSD Arm | `arm.*-freebsd[0-9]*` | `arm-freebsd` | The `host` value is matched with the regexp, this means that a more specific value for the `host` field is allowed (for example you may write `x86_64-apple-darwin14.1` for MacOSX instead of the suggested `x86_64-apple-darwin`), by the way, @@ -260,6 +262,8 @@ Each PLATFORM describes a core for a specific architecture. The fields needed ar - `name`: the extended name of the platform that is displayed on the Boards Manager GUI - `architecture`: is the architecture of the platform (avr, sam, etc...). It must match the architecture of the core as explained in the [Arduino platform specification](platform-specification.md#hardware-folders-structure) + - The value must not contain any characters other than the letters `A`-`Z` and `a`-`z`, numbers (`0`-`9`), underscores + (`_`), dashes (`-`), and dots (`.`). - `version`: the version of the platform. - `deprecated`: (optional) setting to `true` causes the platform to be moved to the bottom of all Boards Manager and [`arduino-cli core`](https://arduino.github.io/arduino-cli/latest/commands/arduino-cli_core/) listings and marked diff --git a/docs/platform-specification.md b/docs/platform-specification.md index 8d01bb098dd..652b7348878 100644 --- a/docs/platform-specification.md +++ b/docs/platform-specification.md @@ -5,31 +5,69 @@ Platforms add support for new boards to the Arduino development software. They a [Boards Manager](package_index_json-specification.md) or manual installation to the _hardware_ folder of Arduino's sketchbook folder (AKA "user directory").
A platform may consist of as little as a single configuration file. -## Hardware Folders structure +## Platform installation directories -The new hardware folders have a hierarchical structure organized in two levels: +If the platforms are installed using the Board Manager the installation directory location will be as follow: -- the first level is the vendor/maintainer -- the second level is the supported architecture +`{directories.data}/packages/{VENDOR_NAME}/hardware/{ARCHITECTURE}/{VERSION}/...` -A vendor/maintainer can have multiple supported architectures. For example, below we have three hardware vendors called -"arduino", "yyyyy" and "xxxxx": +- `{directories.data}` is the data directory as specified in the + [configuration file](configuration.md#default-directories). +- `{VENDOR_NAME}` is the identifier of the vendor/maintainer of the platform. +- `{ARCHITECTURE}` is the architecture of the CPU used in the platform. +- `{VERSION}` is the platform version. + +Alternatively, a platform may be manually installed by the user inside the Sketchbook/user directory as follows: + +`{directories.user}/hardware/{VENDOR_NAME}/{ARCHITECTURE}/...` + +- `{directories.user}` is the user directory as specified in the + [configuration file](configuration.md#default-directories). +- `{VENDOR_NAME}` is the identifier of the vendor/maintainer of the platform. + - The name of the vendor directory must not contain any characters other than the letters `A`-`Z` and `a`-`z`, numbers + (`0`-`9`), underscores (`_`), dashes (`-`), and dots (`.`). +- `{ARCHITECTURE}` is the architecture of the CPU used in the platform. + - The name of the architecture directory must not contain any characters other than the letters `A`-`Z` and `a`-`z`, + numbers (`0`-`9`), underscores (`_`), dashes (`-`), and dots (`.`). + +A vendor/maintainer may have multiple supported architectures. + +Let's see an example, below we have a bunch of platforms downloaded from three hardware vendors `arduino`, `adafruit` +and `esp32`, and installed using the Board Manager: ``` -hardware/arduino/avr/... - Arduino - AVR Boards -hardware/arduino/sam/... - Arduino - SAM (32bit ARM) Boards -hardware/yyyyy/avr/... - Yyy - AVR -hardware/xxxxx/avr/... - Xxx - AVR +{directories.data}/packages/arduino/hardware/avr/1.8.6/... +{directories.data}/packages/arduino/hardware/esp32/2.0.18-arduino.5/... +{directories.data}/packages/arduino/hardware/nrf52/1.4.5/... +{directories.data}/packages/adafruit/hardware/nrf52/1.6.1/... +{directories.data}/packages/esp32/hardware/esp32/3.0.7/... ``` -The vendor "arduino" has two supported architectures (AVR and SAM), while "xxxxx" and "yyyyy" have only AVR. +In this example three architectures have been installed from the vendor `arduino` (`avr`, `esp32` and `nrf52`), and one +from `adafruit` and `esp32` (`nrf52` and `esp32` respectively). Note that the vendor `esp32` has the same name as the +architecture `esp32`. + +If the user manually installed the same platforms, they should have unpacked them in the following directories: + +``` +{directories.user}/hardware/arduino/avr/... +{directories.user}/hardware/arduino/esp32/... +{directories.user}/hardware/arduino/nrf52/... +{directories.user}/hardware/adafruit/nrf52/... +{directories.user}/hardware/esp32/esp32/... +``` + +In this latter case the version must be omitted. + +### Notes about choosing the architecture name Architecture values are case sensitive (e.g. `AVR` != `avr`). -If possible, follow existing architecture name conventions when creating hardware packages. Use the vendor folder name -to differentiate your package. The architecture folder name is used to determine library compatibility and to permit -referencing resources from another core of the same architecture, so use of a non-standard architecture name can have a -harmful effect. +Platform developers should follow the existing architecture name conventions when creating hardware packages, if you +need to differentiate your package use the vendor/maintainer folder name to do so. + +The architecture name is used to determine the libraries compatibility and to permit referencing resources from another +platform of the same architecture. Use of a non-standard architecture name can have a harmful effect. ## Architecture configurations @@ -500,6 +538,9 @@ This file contains definitions and metadata for the boards supported by the plat short name, the board ID. The settings for a board are defined through a set of properties with keys having the board ID as prefix. +The board ID must not contain any characters other than the letters `A`-`Z` and `a`-`z`, numbers (`0`-`9`), underscores +(`_`), and dashes (`-`). + For example, the board ID chosen for the Arduino Uno board is "uno". An extract of the Uno board configuration in boards.txt looks like: @@ -1557,8 +1598,13 @@ This board was produced in two models, one with an ATmega168 microcontroller and going then to define a custom option, using the "cpu" MENU_ID, that allows the user to choose between the two different microcontrollers. -We must first define a set of **menu.MENU_ID=Text** properties. **Text** is what is displayed on the GUI for every -custom menu we are going to create and must be declared at the beginning of the boards.txt file: +We must first define a set of **menu.MENU_ID=Text** properties. + +The menu ID must not contain any characters other than the letters `A`-`Z` and `a`-`z`, numbers (`0`-`9`), underscores +(`_`), and dashes (`-`). + +**Text** is what is displayed on the GUI for every custom menu we are going to create and must be declared at the +beginning of the boards.txt file: ``` menu.cpu=Processor @@ -1593,7 +1639,12 @@ duemilanove.menu.cpu.atmega168=ATmega168 We have defined two values: "atmega328" and "atmega168".
Note that the property keys must follow the format **BOARD_ID.menu.MENU_ID.OPTION_ID=Text**, where **Text** is what is displayed under the "Processor" menu in the IDE's -GUI.
Finally, the specific configuration for each option value: +GUI. + +The option ID must not contain any characters other than the letters `A`-`Z` and `a`-`z`, numbers (`0`-`9`), underscores +(`_`), dashes (`-`), and equal signs (`=`). + +Finally, the specific configuration for each option value: ``` [.....] diff --git a/docs/pluggable-discovery-specification.md b/docs/pluggable-discovery-specification.md index 4854fa1968e..759dd86eea1 100644 --- a/docs/pluggable-discovery-specification.md +++ b/docs/pluggable-discovery-specification.md @@ -312,7 +312,8 @@ The `properties` associated to a port can be used to identify the board attached "candidate" board attached to that port. Some port `properties` may not be precise enough to uniquely identify a board, in that case more boards may match the -same set of `properties`, that's why we called it "candidate". +same set of `properties`, that's why we called it "candidate". The board identification properties should be used only +if they allows to match the board model beyond any doubt. Let's see an example to clarify things a bit, let's suppose that we have the following `properties` coming from the serial discovery: @@ -392,6 +393,13 @@ myboard.upload_port.1.apples=40 will match on both `pears=20, apples=30` and `pears=30, apples=40` but not `pears=20, apples=40`, in that sense each "set" of identification properties is independent from each other and cannot be mixed for port matching. +#### An important note about `vid` and `pid` + +The board identification properties should be used only if they allows to match the board model beyond any doubt. +Sometimes a board do not expose a unique vid/pid combination, this is the case for example if a USB-2-serial converter +chip is used (like the omnipresent FT232 or CH340): those chips exposes their specific vid/pid that will be the same for +all the other boards using the same chip. In such cases the board identification properties should NOT be used. + #### Identification of board options [Custom board options](platform-specification.md#custom-board-options) can also be identified. diff --git a/go.mod b/go.mod index 2f0afa56031..715202cde3b 100644 --- a/go.mod +++ b/go.mod @@ -1,13 +1,14 @@ module github.com/arduino/arduino-cli -go 1.22.3 +go 1.24.1 // We must use this fork until https://github.com/mailru/easyjson/pull/372 is merged replace github.com/mailru/easyjson => github.com/cmaglie/easyjson v0.8.1 require ( - github.com/ProtonMail/go-crypto v1.1.0-beta.0-proton - github.com/arduino/go-paths-helper v1.12.1 + fortio.org/safecast v1.0.0 + github.com/ProtonMail/go-crypto v1.3.0 + github.com/arduino/go-paths-helper v1.13.1 github.com/arduino/go-properties-orderedmap v1.8.1 github.com/arduino/go-serial-utils v0.1.2 github.com/arduino/go-timeutils v0.0.0-20171220113728-d1dd9e313b1b @@ -19,52 +20,52 @@ require ( github.com/djherbis/buffer v1.2.0 github.com/djherbis/nio/v3 v3.0.1 github.com/fatih/color v1.18.0 - github.com/go-git/go-git/v5 v5.4.2 - github.com/gofrs/uuid/v5 v5.3.0 - github.com/leonelquinteros/gotext v1.7.0 + github.com/go-git/go-git/v5 v5.16.0 + github.com/gofrs/uuid/v5 v5.3.2 + github.com/leonelquinteros/gotext v1.7.1 github.com/mailru/easyjson v0.7.7 github.com/marcinbor85/gohex v0.0.0-20210308104911-55fb1c624d84 - github.com/mattn/go-colorable v0.1.13 + github.com/mattn/go-colorable v0.1.14 github.com/mattn/go-isatty v0.0.20 github.com/rifflock/lfshook v0.0.0-20180920164130-b9218ef580f5 - github.com/rogpeppe/go-internal v1.13.1 + github.com/rogpeppe/go-internal v1.14.1 github.com/schollz/closestmatch v2.1.0+incompatible github.com/sirupsen/logrus v1.9.3 - github.com/spf13/cobra v1.8.1 - github.com/spf13/viper v1.19.0 - github.com/stretchr/testify v1.9.0 + github.com/spf13/cobra v1.9.1 + github.com/spf13/viper v1.20.1 + github.com/stretchr/testify v1.10.0 github.com/xeipuuv/gojsonschema v1.2.0 go.bug.st/cleanup v1.0.0 go.bug.st/downloader/v2 v2.2.0 go.bug.st/f v0.4.0 - go.bug.st/relaxed-semver v0.12.0 - go.bug.st/testifyjson v1.2.0 - golang.org/x/sys v0.26.0 - golang.org/x/term v0.25.0 - golang.org/x/text v0.19.0 - google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 - google.golang.org/grpc v1.67.1 - google.golang.org/protobuf v1.35.1 + go.bug.st/relaxed-semver v0.15.0 + go.bug.st/testifyjson v1.3.0 + golang.org/x/sys v0.33.0 + golang.org/x/term v0.32.0 + golang.org/x/text v0.26.0 + google.golang.org/genproto/googleapis/rpc v0.0.0-20250218202821-56aae31c358a + google.golang.org/grpc v1.72.0 + google.golang.org/protobuf v1.36.6 gopkg.in/yaml.v3 v3.0.1 ) require ( - github.com/Microsoft/go-winio v0.6.1 // indirect - github.com/acomagu/bufpipe v1.0.3 // indirect - github.com/cloudflare/circl v1.3.7 // indirect - github.com/cpuguy83/go-md2man/v2 v2.0.4 // indirect + dario.cat/mergo v1.0.0 // indirect + github.com/Microsoft/go-winio v0.6.2 // indirect + github.com/cloudflare/circl v1.6.1 // indirect + github.com/cpuguy83/go-md2man/v2 v2.0.6 // indirect github.com/creack/goselect v0.1.2 // indirect - github.com/cyphar/filepath-securejoin v0.2.4 // indirect + github.com/cyphar/filepath-securejoin v0.4.1 // indirect github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect github.com/emirpasic/gods v1.18.1 // indirect - github.com/fsnotify/fsnotify v1.7.0 // indirect + github.com/fsnotify/fsnotify v1.8.0 // indirect github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect - github.com/go-git/go-billy/v5 v5.5.0 // indirect + github.com/go-git/go-billy/v5 v5.6.2 // indirect + github.com/go-viper/mapstructure/v2 v2.2.1 // indirect + github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect github.com/h2non/filetype v1.1.3 // indirect github.com/hashicorp/errwrap v1.1.0 // indirect github.com/hashicorp/go-multierror v1.1.1 // indirect - github.com/hashicorp/hcl v1.0.0 // indirect - github.com/imdario/mergo v0.3.12 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/itchyny/gojq v0.12.8 // indirect github.com/itchyny/timefmt-go v0.1.3 // indirect @@ -73,35 +74,29 @@ require ( github.com/juju/errors v1.0.0 // indirect github.com/kevinburke/ssh_config v1.2.0 // indirect github.com/klauspost/compress v1.17.2 // indirect - github.com/magiconair/properties v1.8.7 // indirect github.com/mattn/go-runewidth v0.0.15 // indirect - github.com/mitchellh/go-homedir v1.1.0 // indirect - github.com/mitchellh/mapstructure v1.5.0 // indirect - github.com/pelletier/go-toml/v2 v2.2.2 // indirect + github.com/pelletier/go-toml/v2 v2.2.3 // indirect + github.com/pjbgf/sha1cd v0.3.2 // indirect github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect github.com/rivo/uniseg v0.4.4 // indirect github.com/russross/blackfriday/v2 v2.1.0 // indirect - github.com/sagikazarmark/locafero v0.4.0 // indirect - github.com/sagikazarmark/slog-shim v0.1.0 // indirect - github.com/sergi/go-diff v1.3.1 // indirect + github.com/sagikazarmark/locafero v0.7.0 // indirect + github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect + github.com/skeema/knownhosts v1.3.1 // indirect github.com/sourcegraph/conc v0.3.0 // indirect - github.com/spf13/afero v1.11.0 // indirect - github.com/spf13/cast v1.6.0 // indirect - github.com/spf13/pflag v1.0.5 // indirect + github.com/spf13/afero v1.12.0 // indirect + github.com/spf13/cast v1.7.1 // indirect + github.com/spf13/pflag v1.0.6 // indirect github.com/subosito/gotenv v1.6.0 // indirect github.com/ulikunitz/xz v0.5.12 // indirect github.com/xanzy/ssh-agent v0.3.3 // indirect github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect - go.bug.st/serial v1.6.1 // indirect + go.bug.st/serial v1.6.2 // indirect go.uber.org/atomic v1.9.0 // indirect go.uber.org/multierr v1.9.0 // indirect - golang.org/x/crypto v0.26.0 // indirect - golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect - golang.org/x/mod v0.18.0 // indirect - golang.org/x/net v0.28.0 // indirect - golang.org/x/sync v0.8.0 // indirect - golang.org/x/tools v0.22.0 // indirect - gopkg.in/ini.v1 v1.67.0 // indirect + golang.org/x/crypto v0.37.0 // indirect + golang.org/x/exp v0.0.0-20241217172543-b2144cdd0a67 // indirect + golang.org/x/net v0.39.0 // indirect gopkg.in/warnings.v0 v0.1.2 // indirect ) diff --git a/go.sum b/go.sum index 30de5ce5735..ed926cd0d4f 100644 --- a/go.sum +++ b/go.sum @@ -1,18 +1,17 @@ -github.com/Microsoft/go-winio v0.4.14/go.mod h1:qXqCSQ3Xa7+6tgxaGTIe4Kpcdsi+P8jBhyzoq1bpyYA= -github.com/Microsoft/go-winio v0.4.16/go.mod h1:XB6nPKklQyQ7GC9LdcBEcBl8PF76WugXOPRXwdLnMv0= +dario.cat/mergo v1.0.0 h1:AGCNq9Evsj31mOgNPcLyXc+4PNABt905YmuqPYYpBWk= +dario.cat/mergo v1.0.0/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk= +fortio.org/safecast v1.0.0 h1:dr3131WPX8iS1pTf76+39WeXbTrerDYLvi9s7Oi3wiY= +fortio.org/safecast v1.0.0/go.mod h1:xZmcPk3vi4kuUFf+tq4SvnlVdwViqf6ZSZl91Jr9Jdg= github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY= -github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migciow= -github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM= -github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7/go.mod h1:z4/9nQmJSSwwds7ejkxaJwO37dru3geImFUdJlaLzQo= -github.com/ProtonMail/go-crypto v1.1.0-beta.0-proton h1:ZGewsAoeSirbUS5cO8L0FMQA+iSop9xR1nmFYifDBPo= -github.com/ProtonMail/go-crypto v1.1.0-beta.0-proton/go.mod h1:rA3QumHc/FZ8pAHreoekgiAbzpNsfQAosU5td4SnOrE= -github.com/acomagu/bufpipe v1.0.3 h1:fxAGrHZTgQ9w5QqVItgzwj235/uYZYgbXitB+dLupOk= -github.com/acomagu/bufpipe v1.0.3/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4= -github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239 h1:kFOfPq6dUM1hTo4JG6LR5AXSUEsOjtdm0kw0FtQtMJA= -github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239/go.mod h1:2FmKhYUyUczH0OGQWaF5ceTx0UBShxjsH6f8oGKYe2c= +github.com/Microsoft/go-winio v0.6.2 h1:F2VQgta7ecxGYO8k3ZZz3RS8fVIXVxONVUPlNERoyfY= +github.com/Microsoft/go-winio v0.6.2/go.mod h1:yd8OoFMLzJbo9gZq8j5qaps8bJ9aShtEA8Ipt1oGCvU= +github.com/ProtonMail/go-crypto v1.3.0 h1:ILq8+Sf5If5DCpHQp4PbZdS1J7HDFRXz/+xKBiRGFrw= +github.com/ProtonMail/go-crypto v1.3.0/go.mod h1:9whxjD8Rbs29b4XWbB8irEcE8KHMqaR2e7GWU1R+/PE= +github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be h1:9AeTilPcZAjCFIImctFaOjnTIavg87rW78vTPkQqLI8= +github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be/go.mod h1:ySMOLuWl6zY27l47sB3qLNK6tF2fkHG55UZxx8oIVo4= github.com/arduino/go-paths-helper v1.0.1/go.mod h1:HpxtKph+g238EJHq4geEPv9p+gl3v5YYu35Yb+w31Ck= -github.com/arduino/go-paths-helper v1.12.1 h1:WkxiVUxBjKWlLMiMuYy8DcmVrkxdP7aKxQOAq7r2lVM= -github.com/arduino/go-paths-helper v1.12.1/go.mod h1:jcpW4wr0u69GlXhTYydsdsqAjLaYK5n7oWHfKqOG6LM= +github.com/arduino/go-paths-helper v1.13.1 h1:M7SCdLB2VldxOdChnjZkxAZwWZdDtNY4IlHL9nxGQFo= +github.com/arduino/go-paths-helper v1.13.1/go.mod h1:dDodKn2ZX4iwuoBMapdDO+5d0oDLBeM4BS0xS4i40Ak= github.com/arduino/go-properties-orderedmap v1.8.1 h1:nU5S6cXPwMoxZs4ORw61wPTALNfriIduvNB4cxTmNYM= github.com/arduino/go-properties-orderedmap v1.8.1/go.mod h1:DKjD2VXY/NZmlingh4lSFMEYCVubfeArCsGPGDwb2yk= github.com/arduino/go-serial-utils v0.1.2 h1:MRFwME4w/uaVkJ1R+wzz4KSbI9cF9IDVrYorazvjpTk= @@ -27,21 +26,20 @@ github.com/arduino/pluggable-monitor-protocol-handler v0.9.2 h1:vb5AmE3bT9we5Ej4 github.com/arduino/pluggable-monitor-protocol-handler v0.9.2/go.mod h1:vMG8tgHyE+hli26oT0JB/M7NxUMzzWoU5wd6cgJQRK4= github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio= github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= -github.com/cloudflare/circl v1.3.7 h1:qlCDlTPz2n9fu58M0Nh1J/JzcFpfgkFHHX3O35r5vcU= -github.com/cloudflare/circl v1.3.7/go.mod h1:sRTcRWXGLrKw6yIGJ+l7amYJFfAXbZG0kBSc8r4zxgA= +github.com/cloudflare/circl v1.6.1 h1:zqIqSPIndyBh1bjLVVDHMPpVKqp8Su/V+6MeDzzQBQ0= +github.com/cloudflare/circl v1.6.1/go.mod h1:uddAzsPgqdMAYatqJ0lsjX1oECcQLIlRpzZh3pJrofs= github.com/cmaglie/easyjson v0.8.1 h1:nKQ6Yew57jsoGsuyRJPgm8PSsjbU3eO/uA9BsTu3E/8= github.com/cmaglie/easyjson v0.8.1/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= github.com/cmaglie/pb v1.0.27 h1:ynGj8vBXR+dtj4B7Q/W/qGt31771Ux5iFfRQBnwdQiA= github.com/cmaglie/pb v1.0.27/go.mod h1:GilkKZMXYjBA4NxItWFfO+lwkp59PLHQ+IOW/b/kmZI= github.com/codeclysm/extract/v4 v4.0.0 h1:H87LFsUNaJTu2e/8p/oiuiUsOK/TaPQ5wxsjPnwPEIY= github.com/codeclysm/extract/v4 v4.0.0/go.mod h1:SFju1lj6as7FvUgalpSct7torJE0zttbJUWtryPRG6s= -github.com/cpuguy83/go-md2man/v2 v2.0.4 h1:wfIWP927BUkWJb2NmU/kNDYIBTh/ziUX91+lVfRxZq4= -github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= +github.com/cpuguy83/go-md2man/v2 v2.0.6 h1:XJtiaUW6dEEqVuZiMTn1ldk455QWwEIsMIJlo5vtkx0= +github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g= github.com/creack/goselect v0.1.2 h1:2DNy14+JPjRBgPzAd1thbQp4BSIihxcBf0IXhQXDRa0= github.com/creack/goselect v0.1.2/go.mod h1:a/NhLweNvqIYMuxcMOuWY516Cimucms3DglDzQP3hKY= -github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/cyphar/filepath-securejoin v0.2.4 h1:Ugdm7cg7i6ZK6x3xDF1oEu1nfkyfH53EtKeQYTC3kyg= -github.com/cyphar/filepath-securejoin v0.2.4/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4= +github.com/cyphar/filepath-securejoin v0.4.1 h1:JyxxyPEaktOD+GAnqIqTf9A8tHyAG22rowi7HkoSU1s= +github.com/cyphar/filepath-securejoin v0.4.1/go.mod h1:Sdj7gXlvMcPZsbhwhQ33GguGLDGQL7h7bg04C/+u9jI= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM= @@ -51,35 +49,43 @@ github.com/djherbis/buffer v1.2.0 h1:PH5Dd2ss0C7CRRhQCZ2u7MssF+No9ide8Ye71nPHcrQ github.com/djherbis/buffer v1.2.0/go.mod h1:fjnebbZjCUpPinBRD+TDwXSOeNQ7fPQWLfGQqiAiUyE= github.com/djherbis/nio/v3 v3.0.1 h1:6wxhnuppteMa6RHA4L81Dq7ThkZH8SwnDzXDYy95vB4= github.com/djherbis/nio/v3 v3.0.1/go.mod h1:Ng4h80pbZFMla1yKzm61cF0tqqilXZYrogmWgZxOcmg= -github.com/emirpasic/gods v1.12.0/go.mod h1:YfzfFFoVP/catgzJb4IKIqXjX78Ha8FMSDh3ymbK86o= +github.com/elazarl/goproxy v1.7.2 h1:Y2o6urb7Eule09PjlhQRGNsqRfPmYI3KKQLFpCAV3+o= +github.com/elazarl/goproxy v1.7.2/go.mod h1:82vkLNir0ALaW14Rc399OTTjyNREgmdL2cVoIbS6XaE= github.com/emirpasic/gods v1.18.1 h1:FXtiHYKDGKCW2KzwZKx0iC0PQmdlorYgdFG9jPXJ1Bc= github.com/emirpasic/gods v1.18.1/go.mod h1:8tpGGwCnJ5H4r6BWwaV6OrWmMoPhUl5jm/FMNAnJvWQ= github.com/fatih/color v1.18.0 h1:S8gINlzdQ840/4pfAwic/ZE0djQEH3wM94VfqLTZcOM= github.com/fatih/color v1.18.0/go.mod h1:4FelSpRwEGDpQ12mAdzqdOukCy4u8WUtOY6lkT/6HfU= -github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc= github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHkI4W8= github.com/frankban/quicktest v1.14.6/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0= -github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA= -github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM= -github.com/gliderlabs/ssh v0.2.2 h1:6zsha5zo/TWhRhwqCD3+EarCAgZ2yN28ipRnGPnwkI0= -github.com/gliderlabs/ssh v0.2.2/go.mod h1:U7qILu1NlMHj9FlMhZLlkCdDnU1DBEAqr0aevW3Awn0= -github.com/go-git/gcfg v1.5.0/go.mod h1:5m20vg6GwYabIxaOonVkTdrILxQMpEShl1xiMF4ua+E= +github.com/fsnotify/fsnotify v1.8.0 h1:dAwr6QBTBZIkG8roQaJjGof0pp0EeF+tNV7YBP3F/8M= +github.com/fsnotify/fsnotify v1.8.0/go.mod h1:8jBTzvmWwFyi3Pb8djgCCO5IBqzKJ/Jwo8TRcHyHii0= +github.com/gliderlabs/ssh v0.3.8 h1:a4YXD1V7xMF9g5nTkdfnja3Sxy1PVDCj1Zg4Wb8vY6c= +github.com/gliderlabs/ssh v0.3.8/go.mod h1:xYoytBv1sV0aL3CavoDuJIQNURXkkfPA/wxQ1pL1fAU= github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 h1:+zs/tPmkDkHx3U66DAb0lQFJrpS6731Oaa12ikc+DiI= github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376/go.mod h1:an3vInlBmSxCcxctByoQdvwPiA7DTK7jaaFDBTtu0ic= -github.com/go-git/go-billy/v5 v5.2.0/go.mod h1:pmpqyWchKfYfrkb/UVH4otLvyi/5gJlGI4Hb3ZqZ3W0= -github.com/go-git/go-billy/v5 v5.3.1/go.mod h1:pmpqyWchKfYfrkb/UVH4otLvyi/5gJlGI4Hb3ZqZ3W0= -github.com/go-git/go-billy/v5 v5.5.0 h1:yEY4yhzCDuMGSv83oGxiBotRzhwhNr8VZyphhiu+mTU= -github.com/go-git/go-billy/v5 v5.5.0/go.mod h1:hmexnoNsr2SJU1Ju67OaNz5ASJY3+sHgFRpCtpDCKow= -github.com/go-git/go-git-fixtures/v4 v4.2.1 h1:n9gGL1Ct/yIw+nfsfr8s4+sbhT+Ncu2SubfXjIWgci8= -github.com/go-git/go-git-fixtures/v4 v4.2.1/go.mod h1:K8zd3kDUAykwTdDCr+I0per6Y6vMiRR/nnVTBtavnB0= -github.com/go-git/go-git/v5 v5.4.2 h1:BXyZu9t0VkbiHtqrsvdq39UDhGJTl1h55VW6CSC4aY4= -github.com/go-git/go-git/v5 v5.4.2/go.mod h1:gQ1kArt6d+n+BGd+/B/I74HwRTLhth2+zti4ihgckDc= -github.com/gofrs/uuid/v5 v5.3.0 h1:m0mUMr+oVYUdxpMLgSYCZiXe7PuVPnI94+OMeVBNedk= -github.com/gofrs/uuid/v5 v5.3.0/go.mod h1:CDOjlDMVAtN56jqyRUZh58JT31Tiw7/oQyEXZV+9bD8= -github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/go-git/go-billy/v5 v5.6.2 h1:6Q86EsPXMa7c3YZ3aLAQsMA0VlWmy43r6FHqa/UNbRM= +github.com/go-git/go-billy/v5 v5.6.2/go.mod h1:rcFC2rAsp/erv7CMz9GczHcuD0D32fWzH+MJAU+jaUU= +github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399 h1:eMje31YglSBqCdIqdhKBW8lokaMrL3uTkpGYlE2OOT4= +github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399/go.mod h1:1OCfN199q1Jm3HZlxleg+Dw/mwps2Wbk9frAWm+4FII= +github.com/go-git/go-git/v5 v5.16.0 h1:k3kuOEpkc0DeY7xlL6NaaNg39xdgQbtH5mwCafHO9AQ= +github.com/go-git/go-git/v5 v5.16.0/go.mod h1:4Ge4alE/5gPs30F2H1esi2gPd69R0C39lolkucHBOp8= +github.com/go-logr/logr v1.4.2 h1:6pFjapn8bFcIbiKo3XT4j/BhANplGihG6tvd+8rYgrY= +github.com/go-logr/logr v1.4.2/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= +github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= +github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= +github.com/go-viper/mapstructure/v2 v2.2.1 h1:ZAaOCxANMuZx5RCeg0mBdEZk7DZasvvZIxtHqx8aGss= +github.com/go-viper/mapstructure/v2 v2.2.1/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM= +github.com/gofrs/uuid/v5 v5.3.2 h1:2jfO8j3XgSwlz/wHqemAEugfnTlikAYHhnqQ8Xh4fE0= +github.com/gofrs/uuid/v5 v5.3.2/go.mod h1:CDOjlDMVAtN56jqyRUZh58JT31Tiw7/oQyEXZV+9bD8= +github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 h1:f+oWsMOmNPc8JmEHVZIycC7hBoQxHH9pNKQORJNozsQ= +github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8/go.mod h1:wcDNUvekVysuuOpQKo3191zZyTpiI6se1N1ULghS0sw= +github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek= +github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps= github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= -github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= +github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= +github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= +github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/h2non/filetype v1.1.3 h1:FKkx9QbD7HR/zjK1Ia5XiBsq9zdLi5Kf3zGyFTAFkGg= github.com/h2non/filetype v1.1.3/go.mod h1:319b3zT68BvV+WRj7cwy856M2ehB3HqNOt6sy1HndBY= github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= @@ -87,10 +93,6 @@ github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= -github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= -github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= -github.com/imdario/mergo v0.3.12 h1:b6R2BslTbIEToALKP7LxUvijTsNI9TAe80pLWN2g/HU= -github.com/imdario/mergo v0.3.12/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/itchyny/gojq v0.12.8 h1:Zxcwq8w4IeR8JJYEtoG2MWJZUv0RGY6QqJcO1cqV8+A= @@ -99,52 +101,39 @@ github.com/itchyny/timefmt-go v0.1.3 h1:7M3LGVDsqcd0VZH2U+x393obrzZisp7C0uEe921i github.com/itchyny/timefmt-go v0.1.3/go.mod h1:0osSSCQSASBJMsIZnhAaF1C2fCBTJZXrnj37mG8/c+A= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo= -github.com/jessevdk/go-flags v1.5.0/go.mod h1:Fw0T6WPc1dYxT4mKEZRfG5kJhaTDP9pj1c2EWnYs/m4= github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY= github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= github.com/juju/errors v1.0.0 h1:yiq7kjCLll1BiaRuNY53MGI0+EQ3rF6GB+wvboZDefM= github.com/juju/errors v1.0.0/go.mod h1:B5x9thDqx0wIMH3+aLIMP9HjItInYWObRovoCFM5Qe8= -github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= github.com/kevinburke/ssh_config v1.2.0 h1:x584FjTGwHzMwvHx18PXxbBVzfnxogHaAReU4gf13a4= github.com/kevinburke/ssh_config v1.2.0/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= github.com/klauspost/compress v1.17.2 h1:RlWWUY/Dr4fL8qk9YG7DTZ7PDgME2V4csBXA8L/ixi4= github.com/klauspost/compress v1.17.2/go.mod h1:ntbaceVETuRiXiv4DpjP66DpAtAGkEQskQzEyD//IeE= -github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= -github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/leonelquinteros/gotext v1.7.0 h1:jcJmF4AXqyamP7vuw2MMIKs+O3jAEmvrc5JQiI8Ht/8= -github.com/leonelquinteros/gotext v1.7.0/go.mod h1:qJdoQuERPpccw7L70uoU+K/BvTfRBHYsisCQyFLXyvw= -github.com/magiconair/properties v1.8.7 h1:IeQXZAiQcpL9mgcAe1Nu6cX9LLw6ExEHKjN0VQdvPDY= -github.com/magiconair/properties v1.8.7/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3vdS329zhj2hYo0= +github.com/leonelquinteros/gotext v1.7.1 h1:/JNPeE3lY5JeVYv2+KBpz39994W3W9fmZCGq3eO9Ri8= +github.com/leonelquinteros/gotext v1.7.1/go.mod h1:I0WoFDn9u2D3VbPnnDPT8mzZu0iSXG8iih+AH2fHHqg= github.com/marcinbor85/gohex v0.0.0-20210308104911-55fb1c624d84 h1:hyAgCuG5nqTMDeUD8KZs7HSPs6KprPgPP8QmGV8nyvk= github.com/marcinbor85/gohex v0.0.0-20210308104911-55fb1c624d84/go.mod h1:Pb6XcsXyropB9LNHhnqaknG/vEwYztLkQzVCHv8sQ3M= -github.com/matryer/is v1.2.0 h1:92UTHpy8CDwaJ08GqLDzhhuixiBUUD1p3AU6PHddz4A= -github.com/matryer/is v1.2.0/go.mod h1:2fLPjFQM9rhQ15aVEtbuwhJinnOqrmgXPNdZsdwlWXA= -github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= -github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= +github.com/mattn/go-colorable v0.1.14 h1:9A9LHSqF/7dyVVX6g0U9cwm9pG3kP9gSzcuIPHPsaIE= +github.com/mattn/go-colorable v0.1.14/go.mod h1:6LmQG8QLFO4G5z1gPvYEzlUgJ2wF+stgPZH1UqBm1s8= github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= -github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= github.com/mattn/go-runewidth v0.0.13/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= github.com/mattn/go-runewidth v0.0.15 h1:UNAjwbU9l54TA3KzvqLGxwWjHmMgBUVhBiTjelZgg3U= github.com/mattn/go-runewidth v0.0.15/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= -github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= -github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= -github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= -github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= -github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= -github.com/onsi/gomega v1.27.10 h1:naR28SdDFlqrG6kScpT8VWpu1xWY5nJRCF3XaYyBjhI= -github.com/onsi/gomega v1.27.10/go.mod h1:RsS8tutOdbdgzbPtzzATp12yT7kM5I5aElG3evPbQ0M= -github.com/pelletier/go-toml/v2 v2.2.2 h1:aYUidT7k73Pcl9nb2gScu7NSrKCSHIDE89b3+6Wq+LM= -github.com/pelletier/go-toml/v2 v2.2.2/go.mod h1:1t835xjRzz80PqgE6HHgN2JOsmgYu/h4qDAS4n929Rs= -github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/onsi/gomega v1.34.1 h1:EUMJIKUjM8sKjYbtxQI9A4z2o+rruxnzNvpknOXie6k= +github.com/onsi/gomega v1.34.1/go.mod h1:kU1QgUvBDLXBJq618Xvm2LUX6rSAfRaFRTcdOeDLwwY= +github.com/pelletier/go-toml/v2 v2.2.3 h1:YmeHyLY8mFWbdkNWwpr+qIL2bEqT0o95WSdkNHvL12M= +github.com/pelletier/go-toml/v2 v2.2.3/go.mod h1:MfCQTFTvCcUyyvvwm1+G6H/jORL20Xlb6rzQu9GuUkc= +github.com/pjbgf/sha1cd v0.3.2 h1:a9wb0bp1oC2TGwStyn0Umc/IGKQnEgF0vVaZ8QF8eo4= +github.com/pjbgf/sha1cd v0.3.2/go.mod h1:zQWigSxVmsHEZow5qaLtPYxpcKMMQpa09ixqBxuCS6A= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= @@ -155,54 +144,44 @@ github.com/rifflock/lfshook v0.0.0-20180920164130-b9218ef580f5/go.mod h1:GEXHk5H github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= github.com/rivo/uniseg v0.4.4/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= -github.com/rogpeppe/go-internal v1.13.1 h1:KvO1DLK/DRN07sQ1LQKScxyZJuNnedQ5/wKSR38lUII= -github.com/rogpeppe/go-internal v1.13.1/go.mod h1:uMEvuHeurkdAXX61udpOXGD/AzZDWNMNyH2VO9fmH0o= +github.com/rogpeppe/go-internal v1.14.1 h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0tI/otEQ= +github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7so1lCWt35ZSgc= github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/sagikazarmark/locafero v0.4.0 h1:HApY1R9zGo4DBgr7dqsTH/JJxLTTsOt7u6keLGt6kNQ= -github.com/sagikazarmark/locafero v0.4.0/go.mod h1:Pe1W6UlPYUk/+wc/6KFhbORCfqzgYEpgQ3O5fPuL3H4= -github.com/sagikazarmark/slog-shim v0.1.0 h1:diDBnUNK9N/354PgrxMywXnAwEr1QZcOr6gto+ugjYE= -github.com/sagikazarmark/slog-shim v0.1.0/go.mod h1:SrcSrq8aKtyuqEI1uvTDTK1arOWRIczQRv+GVI1AkeQ= +github.com/sagikazarmark/locafero v0.7.0 h1:5MqpDsTGNDhY8sGp0Aowyf0qKsPrhewaLSsFaodPcyo= +github.com/sagikazarmark/locafero v0.7.0/go.mod h1:2za3Cg5rMaTMoG/2Ulr9AwtFaIppKXTRYnozin4aB5k= github.com/schollz/closestmatch v2.1.0+incompatible h1:Uel2GXEpJqOWBrlyI+oY9LTiyyjYS17cCYRqP13/SHk= github.com/schollz/closestmatch v2.1.0+incompatible/go.mod h1:RtP1ddjLong6gTkbtmuhtR2uUrrJOpYzYRvbcPAid+g= -github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= -github.com/sergi/go-diff v1.3.1 h1:xkr+Oxo4BOQKmkn/B9eMK0g5Kg/983T9DqqPHwYqD+8= -github.com/sergi/go-diff v1.3.1/go.mod h1:aMJSSKb2lpPvRNec0+w3fl7LP9IOFzdc9Pa4NFbPK1I= -github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= +github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 h1:n661drycOFuPLCN3Uc8sB6B/s6Z4t2xvBgU1htSHuq8= +github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3/go.mod h1:A0bzQcvG0E7Rwjx0REVgAGH58e96+X0MeOfepqsbeW4= github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ= github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= +github.com/skeema/knownhosts v1.3.1 h1:X2osQ+RAjK76shCbvhHHHVl3ZlgDm8apHEHFqRjnBY8= +github.com/skeema/knownhosts v1.3.1/go.mod h1:r7KTdC8l4uxWRyK2TpQZ/1o5HaSzh06ePQNxPwTcfiY= github.com/sourcegraph/conc v0.3.0 h1:OQTbbt6P72L20UqAkXXuLOj79LfEanQ+YQFNpLA9ySo= github.com/sourcegraph/conc v0.3.0/go.mod h1:Sdozi7LEKbFPqYX2/J+iBAM6HpqSLTASQIKqDmF7Mt0= -github.com/spf13/afero v1.11.0 h1:WJQKhtpdm3v2IzqG8VMqrr6Rf3UYpEF239Jy9wNepM8= -github.com/spf13/afero v1.11.0/go.mod h1:GH9Y3pIexgf1MTIWtNGyogA5MwRIDXGUr+hbWNoBjkY= -github.com/spf13/cast v1.6.0 h1:GEiTHELF+vaR5dhz3VqZfFSzZjYbgeKDpBxQVS4GYJ0= -github.com/spf13/cast v1.6.0/go.mod h1:ancEpBxwJDODSW/UG4rDrAqiKolqNNh2DX3mk86cAdo= -github.com/spf13/cobra v1.8.1 h1:e5/vxKd/rZsfSJMUX1agtjeTDf+qv1/JdBF8gg5k9ZM= -github.com/spf13/cobra v1.8.1/go.mod h1:wHxEcudfqmLYa8iTfL+OuZPbBZkmvliBWKIezN3kD9Y= -github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= -github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= -github.com/spf13/viper v1.19.0 h1:RWq5SEjt8o25SROyN3z2OrDB9l7RPd3lwTWU8EcEdcI= -github.com/spf13/viper v1.19.0/go.mod h1:GQUN9bilAbhU/jgc1bKs99f/suXKeUMct8Adx5+Ntkg= +github.com/spf13/afero v1.12.0 h1:UcOPyRBYczmFn6yvphxkn9ZEOY65cpwGKb5mL36mrqs= +github.com/spf13/afero v1.12.0/go.mod h1:ZTlWwG4/ahT8W7T0WQ5uYmjI9duaLQGy3Q2OAl4sk/4= +github.com/spf13/cast v1.7.1 h1:cuNEagBQEHWN1FnbGEjCXL2szYEXqfJPbP2HNUaca9Y= +github.com/spf13/cast v1.7.1/go.mod h1:ancEpBxwJDODSW/UG4rDrAqiKolqNNh2DX3mk86cAdo= +github.com/spf13/cobra v1.9.1 h1:CXSaggrXdbHK9CF+8ywj8Amf7PBRmPCOJugH954Nnlo= +github.com/spf13/cobra v1.9.1/go.mod h1:nDyEzZ8ogv936Cinf6g1RU9MRY64Ir93oCnqb9wxYW0= +github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o= +github.com/spf13/pflag v1.0.6/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= +github.com/spf13/viper v1.20.1 h1:ZMi+z/lvLyPSCoNtFCpqjy0S4kPbirhpTMwl8BkW9X4= +github.com/spf13/viper v1.20.1/go.mod h1:P9Mdzt1zoHIG8m2eZQinpiBjo6kCmZSKBClNNqjJvu4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= -github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= -github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= -github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= -github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= -github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= +github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA= +github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8= github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU= github.com/ulikunitz/xz v0.5.12 h1:37Nm15o69RwBkXM0J6A5OlE67RZTfzUxTj8fB3dfcsc= github.com/ulikunitz/xz v0.5.12/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14= -github.com/xanzy/ssh-agent v0.3.0/go.mod h1:3s9xbODqPuuhK9JV1R321M/FlMZSBvE5aY6eAcqrDh0= github.com/xanzy/ssh-agent v0.3.3 h1:+/15pJfg/RsTxqYcX6fHqOXZwwMP+2VyYWJeWM2qQFM= github.com/xanzy/ssh-agent v0.3.3/go.mod h1:6dzNDKs0J9rVPHPhaGCukekBHKqfl+L3KghI1Bc68Uw= github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f h1:J9EGpcZtP0E/raorCMxlFGSTBrsSlaDGf3jU/qvAE2c= @@ -211,104 +190,74 @@ github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 h1:EzJWgHo github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415/go.mod h1:GwrjFmJcFw6At/Gs6z4yjiIwzuJ1/+UwLxMQDVQXShQ= github.com/xeipuuv/gojsonschema v1.2.0 h1:LhYJRs+L4fBtjZUfuSZIKGeVu0QRy8e5Xi7D17UxZ74= github.com/xeipuuv/gojsonschema v1.2.0/go.mod h1:anYRn/JVcOK2ZgGU+IjEV4nwlhoK5sQluxsYJ78Id3Y= -github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= go.bug.st/cleanup v1.0.0 h1:XVj1HZxkBXeq3gMT7ijWUpHyIC1j8XAoNSyQ06CskgA= go.bug.st/cleanup v1.0.0/go.mod h1:EqVmTg2IBk4znLbPD28xne3abjsJftMdqqJEjhn70bk= go.bug.st/downloader/v2 v2.2.0 h1:Y0jSuDISNhrzePkrAWqz9xUC3xol9hqZo/+tz1D4EqY= go.bug.st/downloader/v2 v2.2.0/go.mod h1:VZW2V1iGKV8rJL2ZEGIDzzBeKowYv34AedJz13RzVII= go.bug.st/f v0.4.0 h1:Vstqb950nMA+PhAlRxUw8QL1ntHy/gXHNyyzjkQLJ10= go.bug.st/f v0.4.0/go.mod h1:bMo23205ll7UW63KwO1ut5RdlJ9JK8RyEEr88CmOF5Y= -go.bug.st/relaxed-semver v0.12.0 h1:se8v3lTdAAFp68+/RS/0Y/nFdnpdzkP5ICY04SPau4E= -go.bug.st/relaxed-semver v0.12.0/go.mod h1:Cpcbiig6Omwlq6bS7i3MQWiqS7W7HDd8CAnZFC40Cl0= -go.bug.st/serial v1.6.1 h1:VSSWmUxlj1T/YlRo2J104Zv3wJFrjHIl/T3NeruWAHY= -go.bug.st/serial v1.6.1/go.mod h1:UABfsluHAiaNI+La2iESysd9Vetq7VRdpxvjx7CmmOE= -go.bug.st/testifyjson v1.2.0 h1:0pAfOUMVCOJ6bb9JcC4UmnACjxwxv2Ojb6Z9chaQBjg= -go.bug.st/testifyjson v1.2.0/go.mod h1:nZyy2icFbv3OE3zW3mGVOnC/GhWgb93LRu+29n2tJlI= +go.bug.st/relaxed-semver v0.15.0 h1:w37+SYQPxF53RQO7QZZuPIMaPouOifdaP0B1ktst2nA= +go.bug.st/relaxed-semver v0.15.0/go.mod h1:bwHiCtYuD2m716tBk2OnOBjelsbXw9el5EIuyxT/ksU= +go.bug.st/serial v1.6.2 h1:kn9LRX3sdm+WxWKufMlIRndwGfPWsH1/9lCWXQCasq8= +go.bug.st/serial v1.6.2/go.mod h1:UABfsluHAiaNI+La2iESysd9Vetq7VRdpxvjx7CmmOE= +go.bug.st/testifyjson v1.3.0 h1:DiO3LpK0RIgxvm66Pf8m7FhRVLEBFRmLkg+6vRzmk0g= +go.bug.st/testifyjson v1.3.0/go.mod h1:nZyy2icFbv3OE3zW3mGVOnC/GhWgb93LRu+29n2tJlI= +go.opentelemetry.io/auto/sdk v1.1.0 h1:cH53jehLUN6UFLY71z+NDOiNJqDdPRaXzTel0sJySYA= +go.opentelemetry.io/auto/sdk v1.1.0/go.mod h1:3wSPjt5PWp2RhlCcmmOial7AvC4DQqZb7a7wCow3W8A= +go.opentelemetry.io/otel v1.34.0 h1:zRLXxLCgL1WyKsPVrgbSdMN4c0FMkDAskSTQP+0hdUY= +go.opentelemetry.io/otel v1.34.0/go.mod h1:OWFPOQ+h4G8xpyjgqo4SxJYdDQ/qmRH+wivy7zzx9oI= +go.opentelemetry.io/otel/metric v1.34.0 h1:+eTR3U0MyfWjRDhmFMxe2SsW64QrZ84AOhvqS7Y+PoQ= +go.opentelemetry.io/otel/metric v1.34.0/go.mod h1:CEDrp0fy2D0MvkXE+dPV7cMi8tWZwX3dmaIhwPOaqHE= +go.opentelemetry.io/otel/sdk v1.34.0 h1:95zS4k/2GOy069d321O8jWgYsW3MzVV+KuSPKp7Wr1A= +go.opentelemetry.io/otel/sdk v1.34.0/go.mod h1:0e/pNiaMAqaykJGKbi+tSjWfNNHMTxoC9qANsCzbyxU= +go.opentelemetry.io/otel/sdk/metric v1.34.0 h1:5CeK9ujjbFVL5c1PhLuStg1wxA7vQv7ce1EK0Gyvahk= +go.opentelemetry.io/otel/sdk/metric v1.34.0/go.mod h1:jQ/r8Ze28zRKoNRdkjCZxfs6YvBTG1+YIqyFVFYec5w= +go.opentelemetry.io/otel/trace v1.34.0 h1:+ouXS2V8Rd4hp4580a8q23bg0azF2nI8cqLYnC8mh/k= +go.opentelemetry.io/otel/trace v1.34.0/go.mod h1:Svm7lSjQD7kG7KJ/MUHPVXSDGz2OX4h0M2jHBhmSfRE= go.uber.org/atomic v1.9.0 h1:ECmE8Bn/WFTYwEW/bpKD3M8VtR/zQVbavAoalC1PYyE= go.uber.org/atomic v1.9.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= go.uber.org/multierr v1.9.0 h1:7fIwc/ZtS0q++VgcfqFDxSBZVv/Xo49/SYnDFupUwlI= go.uber.org/multierr v1.9.0/go.mod h1:X2jQV1h+kxSjClGpnseKVIxpmcjrj7MNnI0bnlfKTVQ= -golang.org/x/crypto v0.0.0-20190219172222-a4c6cb3142f2/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= -golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= -golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/crypto v0.26.0 h1:RrRspgV4mU+YwB4FYnuBoKsUapNIL5cohGAmSH3azsw= -golang.org/x/crypto v0.26.0/go.mod h1:GY7jblb9wI+FOo5y8/S2oY4zWP07AkOJ4+jxCqdqn54= -golang.org/x/exp v0.0.0-20230905200255-921286631fa9 h1:GoHiUyI/Tp2nVkLI2mCxVkOjsbSXD66ic0XW0js0R9g= -golang.org/x/exp v0.0.0-20230905200255-921286631fa9/go.mod h1:S2oDrQGGwySpoQPVqRShND87VCbxmc6bL1Yd2oYrm6k= -golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= -golang.org/x/mod v0.18.0 h1:5+9lSbEzPSdWkH32vYPBwEpX8KwDbM52Ud9xBUvNlb0= -golang.org/x/mod v0.18.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= -golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20210326060303-6b1517762897/go.mod h1:uSPa2vr4CLtc/ILN5odXGNXS6mhrKVzTaCXzk9m6W3k= +golang.org/x/crypto v0.37.0 h1:kJNSjF/Xp7kU0iB2Z+9viTPMW4EqqsrywMXLJOOsXSE= +golang.org/x/crypto v0.37.0/go.mod h1:vg+k43peMZ0pUMhYmVAWysMK35e6ioLh3wB8ZCAfbVc= +golang.org/x/exp v0.0.0-20241217172543-b2144cdd0a67 h1:1UoZQm6f0P/ZO0w1Ri+f+ifG/gXhegadRdwBIXEFWDo= +golang.org/x/exp v0.0.0-20241217172543-b2144cdd0a67/go.mod h1:qj5a5QZpwLU2NLQudwIN5koi3beDhSAlJwa67PuM98c= golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= -golang.org/x/net v0.28.0 h1:a9JDOJc5GMUJ0+UDqmLT86WiEy7iWyIhz8gz8E4e5hE= -golang.org/x/net v0.28.0/go.mod h1:yqtgsTWOOnlGLG9GFRrK3++bGOUEkNBoHZc8MEDWPNg= -golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ= -golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= -golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/net v0.39.0 h1:ZCu7HMWDxpXpaiKdhzIfaltL9Lp31x/3fCP11bc6/fY= +golang.org/x/net v0.39.0/go.mod h1:X7NRbYVEA+ewNkCNyJ513WmMdQ3BineSwVtN2zD/d+E= golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210324051608-47abb6519492/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210502180810-71e4cd670f79/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.26.0 h1:KHjCJyddX0LoSTb3J+vWpupP9p0oznkqVk/IfjymZbo= -golang.org/x/sys v0.26.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.33.0 h1:q3i8TbbEz+JRD9ywIRlyRAQbM0qF7hu24q3teo2hbuw= +golang.org/x/sys v0.33.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= -golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.25.0 h1:WtHI/ltw4NvSUig5KARz9h521QvRC8RmF/cuYqifU24= -golang.org/x/term v0.25.0/go.mod h1:RPyXicDX+6vLxogjjRxjgD2TKtmAO6NZBsBRfrOLu7M= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/term v0.32.0 h1:DR4lr0TjUs3epypdhTOkMmuF5CDFJ/8pOnbzMZPQ7bg= +golang.org/x/term v0.32.0/go.mod h1:uZG1FhGx848Sqfsq4/DlJr3xGGsYMu/L5GW4abiaEPQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= -golang.org/x/text v0.19.0 h1:kTxAhCbGbxhK0IwgSKiMO5awPoDQ0RpfiVYBfK860YM= -golang.org/x/text v0.19.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= +golang.org/x/text v0.26.0 h1:P42AVeLghgTYr4+xUnTRKDMqpar+PtX7KWuNQL21L8M= +golang.org/x/text v0.26.0/go.mod h1:QK15LZJUUQVJxhz7wXgxSy/CJaTFjd0G+YLonydOVQA= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= -golang.org/x/tools v0.22.0 h1:gqSGLZqv+AI9lIQzniJ0nZDRG5GBPsSi+DRNHWNz6yA= -golang.org/x/tools v0.22.0/go.mod h1:aCwcsjqvq7Yqt6TNyX7QMU2enbQ/Gt0bo6krSeEri+c= -golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 h1:e7S5W7MGGLaSu8j3YjdezkZ+m1/Nm0uRVRMEMGk26Xs= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142/go.mod h1:UqMtugtsSgubUsoxbuAoiCXvqvErP7Gf0so0mK9tHxU= -google.golang.org/grpc v1.67.1 h1:zWnc1Vrcno+lHZCOofnIMvycFcc0QRGIzm9dhnDX68E= -google.golang.org/grpc v1.67.1/go.mod h1:1gLDyUQU7CTLJI90u3nXZ9ekeghjeM7pTDZlqFNg2AA= -google.golang.org/protobuf v1.35.1 h1:m3LfL6/Ca+fqnjnlqQXNpFPABW1UD7mjh8KO2mKFytA= -google.golang.org/protobuf v1.35.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/genproto/googleapis/rpc v0.0.0-20250218202821-56aae31c358a h1:51aaUVRocpvUOSQKM6Q7VuoaktNIaMCLuhZB6DKksq4= +google.golang.org/genproto/googleapis/rpc v0.0.0-20250218202821-56aae31c358a/go.mod h1:uRxBH1mhmO8PGhU89cMcHaXKZqO+OfakD8QQO0oYwlQ= +google.golang.org/grpc v1.72.0 h1:S7UkcVa60b5AAQTaO6ZKamFp1zMZSU0fGDK2WZLbBnM= +google.golang.org/grpc v1.72.0/go.mod h1:wH5Aktxcg25y1I3w7H69nHfXdOG3UiadoBtjh3izSDM= +google.golang.org/protobuf v1.36.6 h1:z1NpPI8ku2WgiWnf+t9wTPsn6eP1L7ksHUlkfLvd9xY= +google.golang.org/protobuf v1.36.6/go.mod h1:jduwjTPXsFjZGTmRluh+L6NjiWu7pchiJ2/5YcXBHnY= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= -gopkg.in/ini.v1 v1.67.0 h1:Dgnx+6+nfE+IfzjUEISNeydPJh9AXNNsWbGP9KzCsOA= -gopkg.in/ini.v1 v1.67.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= gopkg.in/warnings.v0 v0.1.2 h1:wFXVbFY8DY5/xOe1ECiWdKCzZlxgshcYVNkBHstARME= gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= diff --git a/internal/algorithms/slices.go b/internal/algorithms/slices.go deleted file mode 100644 index 90ea3d1984b..00000000000 --- a/internal/algorithms/slices.go +++ /dev/null @@ -1,87 +0,0 @@ -// This file is part of arduino-cli. -// -// Copyright 2023 ARDUINO SA (http://www.arduino.cc/) -// -// This software is released under the GNU General Public License version 3, -// which covers the main part of arduino-cli. -// The terms of this license can be found at: -// https://www.gnu.org/licenses/gpl-3.0.en.html -// -// You can be released from the requirements of the above licenses by purchasing -// a commercial license. Buying such a license is mandatory if you want to -// modify or otherwise use the software for commercial activities involving the -// Arduino software without disclosing the source code of your own applications. -// To purchase a commercial license, send an email to license@arduino.cc. - -package f - -// Matcher is a function that tests if a given value match a certain criteria. -type Matcher[T any] func(T) bool - -// Reducer is a function that combines two values of the same type and return -// the combined value. -type Reducer[T any] func(T, T) T - -// Mapper is a function that converts a value of one type to another type. -type Mapper[T, U any] func(T) U - -// Filter takes a slice of type []T and a Matcher[T]. It returns a newly -// allocated slice containing only those elements of the input slice that -// satisfy the matcher. -func Filter[T any](values []T, matcher Matcher[T]) []T { - res := []T{} - for _, x := range values { - if matcher(x) { - res = append(res, x) - } - } - return res -} - -// Map applies the Mapper function to each element of the slice and returns -// a new slice with the results in the same order. -func Map[T, U any](values []T, mapper Mapper[T, U]) []U { - res := []U{} - for _, x := range values { - res = append(res, mapper(x)) - } - return res -} - -// Reduce applies the Reducer function to all elements of the input values -// and returns the result. -func Reduce[T any](values []T, reducer Reducer[T]) T { - var result T - for _, v := range values { - result = reducer(result, v) - } - return result -} - -// Equals return a Matcher that matches the given value -func Equals[T comparable](value T) Matcher[T] { - return func(x T) bool { - return x == value - } -} - -// NotEquals return a Matcher that does not match the given value -func NotEquals[T comparable](value T) Matcher[T] { - return func(x T) bool { - return x != value - } -} - -// Uniq return a copy of the input array with all duplicates removed -func Uniq[T comparable](in []T) []T { - have := map[T]bool{} - var out []T - for _, v := range in { - if have[v] { - continue - } - out = append(out, v) - have[v] = true - } - return out -} diff --git a/internal/algorithms/slices_test.go b/internal/algorithms/slices_test.go deleted file mode 100644 index 8ef58c660a9..00000000000 --- a/internal/algorithms/slices_test.go +++ /dev/null @@ -1,53 +0,0 @@ -// This file is part of arduino-cli. -// -// Copyright 2023 ARDUINO SA (http://www.arduino.cc/) -// -// This software is released under the GNU General Public License version 3, -// which covers the main part of arduino-cli. -// The terms of this license can be found at: -// https://www.gnu.org/licenses/gpl-3.0.en.html -// -// You can be released from the requirements of the above licenses by purchasing -// a commercial license. Buying such a license is mandatory if you want to -// modify or otherwise use the software for commercial activities involving the -// Arduino software without disclosing the source code of your own applications. -// To purchase a commercial license, send an email to license@arduino.cc. - -package f_test - -import ( - "strings" - "testing" - - f "github.com/arduino/arduino-cli/internal/algorithms" - "github.com/stretchr/testify/require" -) - -func TestFilter(t *testing.T) { - a := []string{"aaa", "bbb", "ccc"} - require.Equal(t, []string{"bbb", "ccc"}, f.Filter(a, func(x string) bool { return x > "b" })) - b := []int{5, 9, 15, 2, 4, -2} - require.Equal(t, []int{5, 9, 15}, f.Filter(b, func(x int) bool { return x > 4 })) -} - -func TestIsEmpty(t *testing.T) { - require.True(t, f.Equals(int(0))(0)) - require.False(t, f.Equals(int(1))(0)) - require.True(t, f.Equals("")("")) - require.False(t, f.Equals("abc")("")) - require.False(t, f.NotEquals(int(0))(0)) - require.True(t, f.NotEquals(int(1))(0)) - require.False(t, f.NotEquals("")("")) - require.True(t, f.NotEquals("abc")("")) -} - -func TestMap(t *testing.T) { - value := "hello, world , how are,you? " - parts := f.Map(strings.Split(value, ","), strings.TrimSpace) - - require.Equal(t, 4, len(parts)) - require.Equal(t, "hello", parts[0]) - require.Equal(t, "world", parts[1]) - require.Equal(t, "how are", parts[2]) - require.Equal(t, "you?", parts[3]) -} diff --git a/internal/arduino/builder/archive_compiled_files.go b/internal/arduino/builder/archive_compiled_files.go index ed87225e2ff..32208a59092 100644 --- a/internal/arduino/builder/archive_compiled_files.go +++ b/internal/arduino/builder/archive_compiled_files.go @@ -16,6 +16,7 @@ package builder import ( + "github.com/arduino/arduino-cli/internal/arduino/builder/logger" "github.com/arduino/arduino-cli/internal/i18n" "github.com/arduino/go-paths-helper" ) @@ -23,7 +24,7 @@ import ( // ArchiveCompiledFiles fixdoc func (b *Builder) archiveCompiledFiles(archiveFilePath *paths.Path, objectFilesToArchive paths.PathList) (*paths.Path, error) { if b.onlyUpdateCompilationDatabase { - if b.logger.Verbose() { + if b.logger.VerbosityLevel() == logger.VerbosityVerbose { b.logger.Info(i18n.Tr("Skipping archive creation of: %[1]s", archiveFilePath)) } return archiveFilePath, nil @@ -46,7 +47,7 @@ func (b *Builder) archiveCompiledFiles(archiveFilePath *paths.Path, objectFilesT return nil, err } } else { - if b.logger.Verbose() { + if b.logger.VerbosityLevel() == logger.VerbosityVerbose { b.logger.Info(i18n.Tr("Using previously compiled file: %[1]s", archiveFilePath)) } return archiveFilePath, nil diff --git a/internal/arduino/builder/build_options_manager.go b/internal/arduino/builder/build_options_manager.go index 09f0afad815..ebaf97bda28 100644 --- a/internal/arduino/builder/build_options_manager.go +++ b/internal/arduino/builder/build_options_manager.go @@ -22,9 +22,9 @@ import ( "strings" "github.com/arduino/arduino-cli/internal/arduino/builder/internal/utils" - "github.com/arduino/arduino-cli/internal/arduino/cores" "github.com/arduino/arduino-cli/internal/arduino/sketch" "github.com/arduino/arduino-cli/internal/i18n" + "github.com/arduino/arduino-cli/pkg/fqbn" "github.com/arduino/go-paths-helper" properties "github.com/arduino/go-properties-orderedmap" ) @@ -51,7 +51,7 @@ func newBuildOptions( builtInLibrariesDirs, buildPath *paths.Path, sketch *sketch.Sketch, customBuildProperties []string, - fqbn *cores.FQBN, + fqbn *fqbn.FQBN, clean bool, compilerOptimizationFlags string, runtimePlatformPath, buildCorePath *paths.Path, diff --git a/internal/arduino/builder/builder.go b/internal/arduino/builder/builder.go index 91c74965782..0c711273a5d 100644 --- a/internal/arduino/builder/builder.go +++ b/internal/arduino/builder/builder.go @@ -27,14 +27,15 @@ import ( "github.com/arduino/arduino-cli/internal/arduino/builder/internal/compilation" "github.com/arduino/arduino-cli/internal/arduino/builder/internal/detector" "github.com/arduino/arduino-cli/internal/arduino/builder/internal/diagnostics" - "github.com/arduino/arduino-cli/internal/arduino/builder/internal/logger" "github.com/arduino/arduino-cli/internal/arduino/builder/internal/progress" "github.com/arduino/arduino-cli/internal/arduino/builder/internal/utils" + "github.com/arduino/arduino-cli/internal/arduino/builder/logger" "github.com/arduino/arduino-cli/internal/arduino/cores" "github.com/arduino/arduino-cli/internal/arduino/libraries" "github.com/arduino/arduino-cli/internal/arduino/libraries/librariesmanager" "github.com/arduino/arduino-cli/internal/arduino/sketch" "github.com/arduino/arduino-cli/internal/i18n" + "github.com/arduino/arduino-cli/pkg/fqbn" rpc "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1" "github.com/arduino/go-paths-helper" "github.com/arduino/go-properties-orderedmap" @@ -127,7 +128,7 @@ func NewBuilder( requestBuildProperties []string, hardwareDirs, otherLibrariesDirs paths.PathList, builtInLibrariesDirs *paths.Path, - fqbn *cores.FQBN, + fqbn *fqbn.FQBN, clean bool, sourceOverrides map[string]string, onlyUpdateCompilationDatabase bool, @@ -135,7 +136,7 @@ func NewBuilder( useCachedLibrariesResolution bool, librariesManager *librariesmanager.LibrariesManager, libraryDirs paths.PathList, - stdout, stderr io.Writer, verbose bool, warningsLevel string, + stdout, stderr io.Writer, verbosity logger.Verbosity, warningsLevel string, progresCB rpc.TaskProgressCB, toolEnv []string, ) (*Builder, error) { @@ -188,7 +189,7 @@ func NewBuilder( return nil, ErrSketchCannotBeLocatedInBuildPath } - logger := logger.New(stdout, stderr, verbose, warningsLevel) + log := logger.New(stdout, stderr, verbosity, warningsLevel) libsManager, libsResolver, verboseOut, err := detector.LibrariesLoader( useCachedLibrariesResolution, librariesManager, builtInLibrariesDirs, libraryDirs, otherLibrariesDirs, @@ -197,8 +198,8 @@ func NewBuilder( if err != nil { return nil, err } - if logger.Verbose() { - logger.Warn(string(verboseOut)) + if log.VerbosityLevel() == logger.VerbosityVerbose { + log.Warn(string(verboseOut)) } diagnosticStore := diagnostics.NewStore() @@ -214,7 +215,7 @@ func NewBuilder( customBuildProperties: customBuildPropertiesArgs, coreBuildCachePath: coreBuildCachePath, extraCoreBuildCachePaths: extraCoreBuildCachePaths, - logger: logger, + logger: log, clean: clean, sourceOverrides: sourceOverrides, onlyUpdateCompilationDatabase: onlyUpdateCompilationDatabase, @@ -241,7 +242,7 @@ func NewBuilder( libsManager, libsResolver, useCachedLibrariesResolution, onlyUpdateCompilationDatabase, - logger, + log, diagnosticStore, ), } @@ -340,7 +341,7 @@ func (b *Builder) preprocess() error { } func (b *Builder) logIfVerbose(warn bool, msg string) { - if !b.logger.Verbose() { + if b.logger.VerbosityLevel() != logger.VerbosityVerbose { return } if warn { @@ -525,7 +526,7 @@ func (b *Builder) prepareCommandForRecipe(buildProperties *properties.Map, recip } func (b *Builder) execCommand(command *paths.Process) error { - if b.logger.Verbose() { + if b.logger.VerbosityLevel() == logger.VerbosityVerbose { b.logger.Info(utils.PrintableCommand(command.GetArgs())) command.RedirectStdoutTo(b.logger.Stdout()) } diff --git a/internal/arduino/builder/compilation.go b/internal/arduino/builder/compilation.go index d3a1459da25..c739a2e37de 100644 --- a/internal/arduino/builder/compilation.go +++ b/internal/arduino/builder/compilation.go @@ -23,6 +23,7 @@ import ( "sync" "github.com/arduino/arduino-cli/internal/arduino/builder/internal/utils" + "github.com/arduino/arduino-cli/internal/arduino/builder/logger" "github.com/arduino/arduino-cli/internal/arduino/globals" "github.com/arduino/arduino-cli/internal/i18n" "github.com/arduino/go-paths-helper" @@ -152,7 +153,7 @@ func (b *Builder) compileFileWithRecipe( command.RedirectStdoutTo(commandStdout) command.RedirectStderrTo(commandStderr) - if b.logger.Verbose() { + if b.logger.VerbosityLevel() == logger.VerbosityVerbose { b.logger.Info(utils.PrintableCommand(command.GetArgs())) } // Since this compile could be multithreaded, we first capture the command output @@ -161,7 +162,7 @@ func (b *Builder) compileFileWithRecipe( } err := command.Wait() // and transfer all at once at the end... - if b.logger.Verbose() { + if b.logger.VerbosityLevel() == logger.VerbosityVerbose { b.logger.WriteStdout(commandStdout.Bytes()) } b.logger.WriteStderr(commandStderr.Bytes()) @@ -176,7 +177,7 @@ func (b *Builder) compileFileWithRecipe( if err != nil { return nil, err } - } else if b.logger.Verbose() { + } else if b.logger.VerbosityLevel() == logger.VerbosityVerbose { if objIsUpToDate { b.logger.Info(i18n.Tr("Using previously compiled file: %[1]s", objectFile)) } else { diff --git a/internal/arduino/builder/core.go b/internal/arduino/builder/core.go index f407ed60c41..c6d87ec7d66 100644 --- a/internal/arduino/builder/core.go +++ b/internal/arduino/builder/core.go @@ -22,12 +22,13 @@ import ( "os" "strings" - f "github.com/arduino/arduino-cli/internal/algorithms" "github.com/arduino/arduino-cli/internal/arduino/builder/cpp" "github.com/arduino/arduino-cli/internal/arduino/builder/internal/utils" + "github.com/arduino/arduino-cli/internal/arduino/builder/logger" "github.com/arduino/arduino-cli/internal/buildcache" "github.com/arduino/arduino-cli/internal/i18n" "github.com/arduino/go-paths-helper" + "go.bug.st/f" ) // buildCore fixdoc @@ -116,7 +117,7 @@ func (b *Builder) compileCore() (*paths.Path, paths.PathList, error) { return nil, nil, errors.New(i18n.Tr("creating core cache folder: %s", err)) } // use archived core - if b.logger.Verbose() { + if b.logger.VerbosityLevel() == logger.VerbosityVerbose { b.logger.Info(i18n.Tr("Using precompiled core: %[1]s", targetArchivedCore)) } return targetArchivedCore, variantObjectFiles, nil @@ -128,7 +129,7 @@ func (b *Builder) compileCore() (*paths.Path, paths.PathList, error) { extraTargetArchivedCore := extraCoreBuildCachePath.Join(archivedCoreName, "core.a") if canUseArchivedCore(extraTargetArchivedCore) { // use archived core - if b.logger.Verbose() { + if b.logger.VerbosityLevel() == logger.VerbosityVerbose { b.logger.Info(i18n.Tr("Using precompiled core: %[1]s", extraTargetArchivedCore)) } return extraTargetArchivedCore, variantObjectFiles, nil @@ -158,7 +159,7 @@ func (b *Builder) compileCore() (*paths.Path, paths.PathList, error) { // archive core.a if targetArchivedCore != nil && !b.onlyUpdateCompilationDatabase { err := archiveFile.CopyTo(targetArchivedCore) - if b.logger.Verbose() { + if b.logger.VerbosityLevel() == logger.VerbosityVerbose { if err == nil { b.logger.Info(i18n.Tr("Archiving built core (caching) in: %[1]s", targetArchivedCore)) } else if os.IsNotExist(err) { diff --git a/internal/arduino/builder/internal/detector/detector.go b/internal/arduino/builder/internal/detector/detector.go index 17de9377833..a983370b075 100644 --- a/internal/arduino/builder/internal/detector/detector.go +++ b/internal/arduino/builder/internal/detector/detector.go @@ -28,9 +28,9 @@ import ( "time" "github.com/arduino/arduino-cli/internal/arduino/builder/internal/diagnostics" - "github.com/arduino/arduino-cli/internal/arduino/builder/internal/logger" "github.com/arduino/arduino-cli/internal/arduino/builder/internal/preprocessor" "github.com/arduino/arduino-cli/internal/arduino/builder/internal/utils" + "github.com/arduino/arduino-cli/internal/arduino/builder/logger" "github.com/arduino/arduino-cli/internal/arduino/cores" "github.com/arduino/arduino-cli/internal/arduino/globals" "github.com/arduino/arduino-cli/internal/arduino/libraries" @@ -87,7 +87,7 @@ func (l *SketchLibrariesDetector) resolveLibrary(header, platformArch string) *l importedLibraries := l.importedLibraries candidates := l.librariesResolver.AlternativesFor(header) - if l.logger.Verbose() { + if l.logger.VerbosityLevel() == logger.VerbosityVerbose { l.logger.Info(i18n.Tr("Alternatives for %[1]s: %[2]s", header, candidates)) l.logger.Info(fmt.Sprintf("ResolveLibrary(%s)", header)) l.logger.Info(fmt.Sprintf(" -> %s: %s", i18n.Tr("candidates"), candidates)) @@ -144,7 +144,7 @@ func (l *SketchLibrariesDetector) PrintUsedAndNotUsedLibraries(sketchError bool) // - as warning, when the sketch didn't compile // - as info, when verbose is on // - otherwise, output nothing - if !sketchError && !l.logger.Verbose() { + if !sketchError && l.logger.VerbosityLevel() != logger.VerbosityVerbose { return } @@ -239,7 +239,7 @@ func (l *SketchLibrariesDetector) findIncludes( if err := json.Unmarshal(d, &l.includeFolders); err != nil { return err } - if l.logger.Verbose() { + if l.logger.VerbosityLevel() == logger.VerbosityVerbose { l.logger.Info("Using cached library discovery: " + librariesResolutionCache.String()) } return nil @@ -347,12 +347,12 @@ func (l *SketchLibrariesDetector) findIncludesUntilDone( var missingIncludeH string if unchanged && cache.valid { missingIncludeH = cache.Next().Include - if first && l.logger.Verbose() { + if first && l.logger.VerbosityLevel() == logger.VerbosityVerbose { l.logger.Info(i18n.Tr("Using cached library dependencies for file: %[1]s", sourcePath)) } } else { preprocFirstResult, preprocErr = preprocessor.GCC(ctx, sourcePath, targetFilePath, includeFolders, buildProperties) - if l.logger.Verbose() { + if l.logger.VerbosityLevel() == logger.VerbosityVerbose { l.logger.WriteStdout(preprocFirstResult.Stdout()) } // Unwrap error and see if it is an ExitError. @@ -365,7 +365,7 @@ func (l *SketchLibrariesDetector) findIncludesUntilDone( return preprocErr } else { missingIncludeH = IncludesFinderWithRegExp(string(preprocFirstResult.Stderr())) - if missingIncludeH == "" && l.logger.Verbose() { + if missingIncludeH == "" && l.logger.VerbosityLevel() == logger.VerbosityVerbose { l.logger.Info(i18n.Tr("Error while detecting libraries included by %[1]s", sourcePath)) } } @@ -383,7 +383,7 @@ func (l *SketchLibrariesDetector) findIncludesUntilDone( if preprocErr == nil || preprocFirstResult.Stderr() == nil { // Filename came from cache, so run preprocessor to obtain error to show result, err := preprocessor.GCC(ctx, sourcePath, targetFilePath, includeFolders, buildProperties) - if l.logger.Verbose() { + if l.logger.VerbosityLevel() == logger.VerbosityVerbose { l.logger.WriteStdout(result.Stdout()) } if err == nil { @@ -410,7 +410,7 @@ func (l *SketchLibrariesDetector) findIncludesUntilDone( if library.Precompiled && library.PrecompiledWithSources { // Fully precompiled libraries should have no dependencies to avoid ABI breakage - if l.logger.Verbose() { + if l.logger.VerbosityLevel() == logger.VerbosityVerbose { l.logger.Info(i18n.Tr("Skipping dependencies detection for precompiled library %[1]s", library.Name)) } } else { @@ -477,8 +477,7 @@ func (l *SketchLibrariesDetector) failIfImportedLibraryIsWrong() error { return nil } -// includeRegexp fixdoc -var includeRegexp = regexp.MustCompile("(?ms)^\\s*#[ \t]*include\\s*[<\"](\\S+)[\">]") +var includeRegexp = regexp.MustCompile(`(?ms)^\s*[0-9 |]*\s*#[ \t]*include\s*[<"](\S+)[">]`) // IncludesFinderWithRegExp fixdoc func IncludesFinderWithRegExp(source string) string { diff --git a/internal/arduino/builder/internal/detector/detector_test.go b/internal/arduino/builder/internal/detector/detector_test.go index 6e7f72648a4..dbec95ca918 100644 --- a/internal/arduino/builder/internal/detector/detector_test.go +++ b/internal/arduino/builder/internal/detector/detector_test.go @@ -75,3 +75,13 @@ func TestIncludesFinderWithRegExpPaddedIncludes4(t *testing.T) { require.Equal(t, "register.h", include) } + +func TestIncludesFinderWithRegExpPaddedIncludes5(t *testing.T) { + output := "/some/path/sketch.ino:23:42: fatal error: 'Foobar.h' file not found\n" + + " 23 | #include \"Foobar.h\"\n" + + " | ^~~~~~~~~~\n" + + include := detector.IncludesFinderWithRegExp(output) + + require.Equal(t, "Foobar.h", include) +} diff --git a/internal/arduino/builder/internal/preprocessor/ctags.go b/internal/arduino/builder/internal/preprocessor/ctags.go index fe36cfc89e5..bfe24408b25 100644 --- a/internal/arduino/builder/internal/preprocessor/ctags.go +++ b/internal/arduino/builder/internal/preprocessor/ctags.go @@ -65,16 +65,16 @@ func PreprocessSketchWithCtags( } // Do not bail out if we are generating the compile commands database - stderr.WriteString(fmt.Sprintf("%s: %s", + fmt.Fprintf(stderr, "%s: %s", i18n.Tr("An error occurred adding prototypes"), - i18n.Tr("the compilation database may be incomplete or inaccurate"))) + i18n.Tr("the compilation database may be incomplete or inaccurate")) if err := sourceFile.CopyTo(ctagsTarget); err != nil { return &Result{args: result.Args(), stdout: stdout.Bytes(), stderr: stderr.Bytes()}, err } } if src, err := ctagsTarget.ReadFile(); err == nil { - filteredSource := filterSketchSource(sketch, bytes.NewReader(src), false) + filteredSource := filterSketchSource(sketch, bytes.NewReader(src), false, stderr) if err := ctagsTarget.WriteFile([]byte(filteredSource)); err != nil { return &Result{args: result.Args(), stdout: stdout.Bytes(), stderr: stderr.Bytes()}, err } @@ -83,8 +83,9 @@ func PreprocessSketchWithCtags( } // Run CTags on gcc-preprocessed source - ctagsOutput, ctagsStdErr, err := RunCTags(ctx, ctagsTarget, buildProperties) + ctagsOutput, ctagsStdErr, ctagsCmdLine, err := RunCTags(ctx, ctagsTarget, buildProperties) if verbose { + stdout.Write([]byte(ctagsCmdLine + "\n")) stderr.Write(ctagsStdErr) } if err != nil { @@ -178,7 +179,7 @@ func isFirstFunctionOutsideOfSource(firstFunctionLine int, sourceRows []string) } // RunCTags performs a run of ctags on the given source file. Returns the ctags output and the stderr contents. -func RunCTags(ctx context.Context, sourceFile *paths.Path, buildProperties *properties.Map) ([]byte, []byte, error) { +func RunCTags(ctx context.Context, sourceFile *paths.Path, buildProperties *properties.Map) ([]byte, []byte, string, error) { ctagsBuildProperties := properties.NewMap() ctagsBuildProperties.Set("tools.ctags.path", "{runtime.tools.ctags.path}") ctagsBuildProperties.Set("tools.ctags.cmd.path", "{path}/ctags") @@ -189,27 +190,25 @@ func RunCTags(ctx context.Context, sourceFile *paths.Path, buildProperties *prop pattern := ctagsBuildProperties.Get("pattern") if pattern == "" { - return nil, nil, errors.New(i18n.Tr("%s pattern is missing", "ctags")) + return nil, nil, "", errors.New(i18n.Tr("%s pattern is missing", "ctags")) } commandLine := ctagsBuildProperties.ExpandPropsInString(pattern) parts, err := properties.SplitQuotedString(commandLine, `"'`, false) if err != nil { - return nil, nil, err + return nil, nil, "", err } proc, err := paths.NewProcess(nil, parts...) if err != nil { - return nil, nil, err + return nil, nil, "", err } stdout, stderr, err := proc.RunAndCaptureOutput(ctx) - // Append ctags arguments to stderr args := fmt.Sprintln(strings.Join(parts, " ")) - stderr = append([]byte(args), stderr...) - return stdout, stderr, err + return stdout, stderr, args, err } -func filterSketchSource(sketch *sketch.Sketch, source io.Reader, removeLineMarkers bool) string { +func filterSketchSource(sketch *sketch.Sketch, source io.Reader, removeLineMarkers bool, stderr *bytes.Buffer) string { fileNames := paths.NewPathList() fileNames.Add(sketch.MainFile) fileNames.AddAll(sketch.OtherSketchFiles) @@ -218,6 +217,11 @@ func filterSketchSource(sketch *sketch.Sketch, source io.Reader, removeLineMarke filtered := "" scanner := bufio.NewScanner(source) + + var buf []byte + const maxTokenSize = 1024 * 1024 // 1 MB + scanner.Buffer(buf, maxTokenSize) + for scanner.Scan() { line := scanner.Text() if filename := cpp.ParseLineMarker(line); filename != nil { @@ -231,6 +235,11 @@ func filterSketchSource(sketch *sketch.Sketch, source io.Reader, removeLineMarke filtered += line + "\n" } } + if errors.Is(scanner.Err(), bufio.ErrTooLong) { + fmt.Fprintf(stderr, "%s: %s", + i18n.Tr("An error occurred adding prototypes"), + i18n.Tr("line too long\n")) + } return filtered } diff --git a/internal/arduino/builder/internal/preprocessor/ctags_test.go b/internal/arduino/builder/internal/preprocessor/ctags_test.go new file mode 100644 index 00000000000..70177f28d5c --- /dev/null +++ b/internal/arduino/builder/internal/preprocessor/ctags_test.go @@ -0,0 +1,42 @@ +// This file is part of arduino-cli. +// +// Copyright 2025 ARDUINO SA (http://www.arduino.cc/) +// +// This software is released under the GNU General Public License version 3, +// which covers the main part of arduino-cli. +// The terms of this license can be found at: +// https://www.gnu.org/licenses/gpl-3.0.en.html +// +// You can be released from the requirements of the above licenses by purchasing +// a commercial license. Buying such a license is mandatory if you want to +// modify or otherwise use the software for commercial activities involving the +// Arduino software without disclosing the source code of your own applications. +// To purchase a commercial license, send an email to license@arduino.cc. + +package preprocessor + +import ( + "bytes" + "fmt" + "testing" + + "github.com/arduino/arduino-cli/internal/arduino/sketch" + "github.com/arduino/go-paths-helper" + "github.com/stretchr/testify/require" +) + +func TestCtagsSketchFilter(t *testing.T) { + sourcePath := paths.New("testdata", "sketch_merged.cpp") + f, err := sourcePath.Open() + require.NoError(t, err) + t.Cleanup(func() { f.Close() }) + + sketch := &sketch.Sketch{ + MainFile: paths.New("/home/megabug/Arduino/Test/Test.ino"), + } + stderr := bytes.NewBuffer(nil) + res := filterSketchSource(sketch, f, false, stderr) + require.Empty(t, stderr) + require.NotEmpty(t, res) + fmt.Println(res) +} diff --git a/internal/arduino/builder/internal/preprocessor/gcc.go b/internal/arduino/builder/internal/preprocessor/gcc.go index bfcc9512e0c..f8d6100d10d 100644 --- a/internal/arduino/builder/internal/preprocessor/gcc.go +++ b/internal/arduino/builder/internal/preprocessor/gcc.go @@ -16,16 +16,17 @@ package preprocessor import ( + "bytes" "context" "errors" "fmt" "strings" - f "github.com/arduino/arduino-cli/internal/algorithms" "github.com/arduino/arduino-cli/internal/arduino/builder/cpp" "github.com/arduino/arduino-cli/internal/i18n" "github.com/arduino/go-paths-helper" "github.com/arduino/go-properties-orderedmap" + "go.bug.st/f" ) // GCC performs a run of the gcc preprocess (macro/includes expansion). The function outputs the result @@ -77,10 +78,42 @@ func GCC( if err != nil { return Result{}, err } - stdout, stderr, err := proc.RunAndCaptureOutput(ctx) - // Append gcc arguments to stdout - stdout = append([]byte(fmt.Sprintln(strings.Join(args, " "))), stdout...) + stdout := bytes.NewBuffer(nil) + stderr := bytes.NewBuffer(nil) - return Result{args: proc.GetArgs(), stdout: stdout, stderr: stderr}, err + ctx, cancel := context.WithCancel(ctx) + defer cancel() + count := 0 + stderrLimited := writerFunc(func(p []byte) (int, error) { + // Limit the size of the stderr buffer to 100KB + n, err := stderr.Write(p) + count += n + if count > 100*1024 { + fmt.Fprintln(stderr, i18n.Tr("Compiler error output has been truncated.")) + cancel() + } + return n, err + }) + + proc.RedirectStdoutTo(stdout) + proc.RedirectStderrTo(stderrLimited) + + // Append gcc arguments to stdout before running the command + fmt.Fprintln(stdout, strings.Join(args, " ")) + + if err := proc.Start(); err != nil { + return Result{}, err + } + + // Wait for the process to finish + err = proc.WaitWithinContext(ctx) + + return Result{args: proc.GetArgs(), stdout: stdout.Bytes(), stderr: stderr.Bytes()}, err +} + +type writerFunc func(p []byte) (n int, err error) + +func (f writerFunc) Write(p []byte) (n int, err error) { + return f(p) } diff --git a/internal/arduino/builder/internal/preprocessor/testdata/sketch_merged.cpp b/internal/arduino/builder/internal/preprocessor/testdata/sketch_merged.cpp new file mode 100644 index 00000000000..20c28c4c781 --- /dev/null +++ b/internal/arduino/builder/internal/preprocessor/testdata/sketch_merged.cpp @@ -0,0 +1,145614 @@ +# 0 "/home/megabug/Arduino/Test/build/sketch/Test.ino.cpp" +# 1 "/home/megabug/Arduino/Test//" +# 0 "" +# 0 "" +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/autoconf.h" 1 +# 0 "" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain/zephyr_stdint.h" 1 + +# 10 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain/zephyr_stdint.h" + +# 19 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain/zephyr_stdint.h" + +# 76 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain/zephyr_stdint.h" + +# 92 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain/zephyr_stdint.h" + +# 0 "" 2 +# 1 "/home/megabug/Arduino/Test/build/sketch/Test.ino.cpp" +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/Arduino.h" 1 +/* + * Copyright (c) 2022 Dhruva Gole + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/ArduinoAPI.h" 1 +/* + Arduino API main include + Copyright (c) 2016 Arduino LLC. All right reserved. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +*/ + + + + +// version 1.5.1 + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/Binary.h" 1 +/* + binary.h - Definitions for binary constants + Deprecated -- use 0b binary literals instead + Copyright (c) 2006 David A. Mellis. All right reserved. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +*/ + + + + +/* If supported, 0b binary literals are preferable to these constants. + * In that case, warn the user about these being deprecated (if possible). */ + + /* C++14 introduces binary literals; C++11 introduces [[deprecated()]] */ +# 37 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/Binary.h" +enum { + B0 [[deprecated("use " "0b0" " instead")]] = 0, + B00 [[deprecated("use " "0b00" " instead")]] = 0, + B000 [[deprecated("use " "0b000" " instead")]] = 0, + B0000 [[deprecated("use " "0b0000" " instead")]] = 0, + B00000 [[deprecated("use " "0b00000" " instead")]] = 0, + B000000 [[deprecated("use " "0b000000" " instead")]] = 0, + B0000000 [[deprecated("use " "0b0000000" " instead")]] = 0, + B00000000 [[deprecated("use " "0b00000000" " instead")]] = 0, + B1 [[deprecated("use " "0b1" " instead")]] = 1, + B01 [[deprecated("use " "0b01" " instead")]] = 1, + B001 [[deprecated("use " "0b001" " instead")]] = 1, + B0001 [[deprecated("use " "0b0001" " instead")]] = 1, + B00001 [[deprecated("use " "0b00001" " instead")]] = 1, + B000001 [[deprecated("use " "0b000001" " instead")]] = 1, + B0000001 [[deprecated("use " "0b0000001" " instead")]] = 1, + B00000001 [[deprecated("use " "0b00000001" " instead")]] = 1, + B10 [[deprecated("use " "0b10" " instead")]] = 2, + B010 [[deprecated("use " "0b010" " instead")]] = 2, + B0010 [[deprecated("use " "0b0010" " instead")]] = 2, + B00010 [[deprecated("use " "0b00010" " instead")]] = 2, + B000010 [[deprecated("use " "0b000010" " instead")]] = 2, + B0000010 [[deprecated("use " "0b0000010" " instead")]] = 2, + B00000010 [[deprecated("use " "0b00000010" " instead")]] = 2, + B11 [[deprecated("use " "0b11" " instead")]] = 3, + B011 [[deprecated("use " "0b011" " instead")]] = 3, + B0011 [[deprecated("use " "0b0011" " instead")]] = 3, + B00011 [[deprecated("use " "0b00011" " instead")]] = 3, + B000011 [[deprecated("use " "0b000011" " instead")]] = 3, + B0000011 [[deprecated("use " "0b0000011" " instead")]] = 3, + B00000011 [[deprecated("use " "0b00000011" " instead")]] = 3, + B100 [[deprecated("use " "0b100" " instead")]] = 4, + B0100 [[deprecated("use " "0b0100" " instead")]] = 4, + B00100 [[deprecated("use " "0b00100" " instead")]] = 4, + B000100 [[deprecated("use " "0b000100" " instead")]] = 4, + B0000100 [[deprecated("use " "0b0000100" " instead")]] = 4, + B00000100 [[deprecated("use " "0b00000100" " instead")]] = 4, + B101 [[deprecated("use " "0b101" " instead")]] = 5, + B0101 [[deprecated("use " "0b0101" " instead")]] = 5, + B00101 [[deprecated("use " "0b00101" " instead")]] = 5, + B000101 [[deprecated("use " "0b000101" " instead")]] = 5, + B0000101 [[deprecated("use " "0b0000101" " instead")]] = 5, + B00000101 [[deprecated("use " "0b00000101" " instead")]] = 5, + B110 [[deprecated("use " "0b110" " instead")]] = 6, + B0110 [[deprecated("use " "0b0110" " instead")]] = 6, + B00110 [[deprecated("use " "0b00110" " instead")]] = 6, + B000110 [[deprecated("use " "0b000110" " instead")]] = 6, + B0000110 [[deprecated("use " "0b0000110" " instead")]] = 6, + B00000110 [[deprecated("use " "0b00000110" " instead")]] = 6, + B111 [[deprecated("use " "0b111" " instead")]] = 7, + B0111 [[deprecated("use " "0b0111" " instead")]] = 7, + B00111 [[deprecated("use " "0b00111" " instead")]] = 7, + B000111 [[deprecated("use " "0b000111" " instead")]] = 7, + B0000111 [[deprecated("use " "0b0000111" " instead")]] = 7, + B00000111 [[deprecated("use " "0b00000111" " instead")]] = 7, + B1000 [[deprecated("use " "0b1000" " instead")]] = 8, + B01000 [[deprecated("use " "0b01000" " instead")]] = 8, + B001000 [[deprecated("use " "0b001000" " instead")]] = 8, + B0001000 [[deprecated("use " "0b0001000" " instead")]] = 8, + B00001000 [[deprecated("use " "0b00001000" " instead")]] = 8, + B1001 [[deprecated("use " "0b1001" " instead")]] = 9, + B01001 [[deprecated("use " "0b01001" " instead")]] = 9, + B001001 [[deprecated("use " "0b001001" " instead")]] = 9, + B0001001 [[deprecated("use " "0b0001001" " instead")]] = 9, + B00001001 [[deprecated("use " "0b00001001" " instead")]] = 9, + B1010 [[deprecated("use " "0b1010" " instead")]] = 10, + B01010 [[deprecated("use " "0b01010" " instead")]] = 10, + B001010 [[deprecated("use " "0b001010" " instead")]] = 10, + B0001010 [[deprecated("use " "0b0001010" " instead")]] = 10, + B00001010 [[deprecated("use " "0b00001010" " instead")]] = 10, + B1011 [[deprecated("use " "0b1011" " instead")]] = 11, + B01011 [[deprecated("use " "0b01011" " instead")]] = 11, + B001011 [[deprecated("use " "0b001011" " instead")]] = 11, + B0001011 [[deprecated("use " "0b0001011" " instead")]] = 11, + B00001011 [[deprecated("use " "0b00001011" " instead")]] = 11, + B1100 [[deprecated("use " "0b1100" " instead")]] = 12, + B01100 [[deprecated("use " "0b01100" " instead")]] = 12, + B001100 [[deprecated("use " "0b001100" " instead")]] = 12, + B0001100 [[deprecated("use " "0b0001100" " instead")]] = 12, + B00001100 [[deprecated("use " "0b00001100" " instead")]] = 12, + B1101 [[deprecated("use " "0b1101" " instead")]] = 13, + B01101 [[deprecated("use " "0b01101" " instead")]] = 13, + B001101 [[deprecated("use " "0b001101" " instead")]] = 13, + B0001101 [[deprecated("use " "0b0001101" " instead")]] = 13, + B00001101 [[deprecated("use " "0b00001101" " instead")]] = 13, + B1110 [[deprecated("use " "0b1110" " instead")]] = 14, + B01110 [[deprecated("use " "0b01110" " instead")]] = 14, + B001110 [[deprecated("use " "0b001110" " instead")]] = 14, + B0001110 [[deprecated("use " "0b0001110" " instead")]] = 14, + B00001110 [[deprecated("use " "0b00001110" " instead")]] = 14, + B1111 [[deprecated("use " "0b1111" " instead")]] = 15, + B01111 [[deprecated("use " "0b01111" " instead")]] = 15, + B001111 [[deprecated("use " "0b001111" " instead")]] = 15, + B0001111 [[deprecated("use " "0b0001111" " instead")]] = 15, + B00001111 [[deprecated("use " "0b00001111" " instead")]] = 15, + B10000 [[deprecated("use " "0b10000" " instead")]] = 16, + B010000 [[deprecated("use " "0b010000" " instead")]] = 16, + B0010000 [[deprecated("use " "0b0010000" " instead")]] = 16, + B00010000 [[deprecated("use " "0b00010000" " instead")]] = 16, + B10001 [[deprecated("use " "0b10001" " instead")]] = 17, + B010001 [[deprecated("use " "0b010001" " instead")]] = 17, + B0010001 [[deprecated("use " "0b0010001" " instead")]] = 17, + B00010001 [[deprecated("use " "0b00010001" " instead")]] = 17, + B10010 [[deprecated("use " "0b10010" " instead")]] = 18, + B010010 [[deprecated("use " "0b010010" " instead")]] = 18, + B0010010 [[deprecated("use " "0b0010010" " instead")]] = 18, + B00010010 [[deprecated("use " "0b00010010" " instead")]] = 18, + B10011 [[deprecated("use " "0b10011" " instead")]] = 19, + B010011 [[deprecated("use " "0b010011" " instead")]] = 19, + B0010011 [[deprecated("use " "0b0010011" " instead")]] = 19, + B00010011 [[deprecated("use " "0b00010011" " instead")]] = 19, + B10100 [[deprecated("use " "0b10100" " instead")]] = 20, + B010100 [[deprecated("use " "0b010100" " instead")]] = 20, + B0010100 [[deprecated("use " "0b0010100" " instead")]] = 20, + B00010100 [[deprecated("use " "0b00010100" " instead")]] = 20, + B10101 [[deprecated("use " "0b10101" " instead")]] = 21, + B010101 [[deprecated("use " "0b010101" " instead")]] = 21, + B0010101 [[deprecated("use " "0b0010101" " instead")]] = 21, + B00010101 [[deprecated("use " "0b00010101" " instead")]] = 21, + B10110 [[deprecated("use " "0b10110" " instead")]] = 22, + B010110 [[deprecated("use " "0b010110" " instead")]] = 22, + B0010110 [[deprecated("use " "0b0010110" " instead")]] = 22, + B00010110 [[deprecated("use " "0b00010110" " instead")]] = 22, + B10111 [[deprecated("use " "0b10111" " instead")]] = 23, + B010111 [[deprecated("use " "0b010111" " instead")]] = 23, + B0010111 [[deprecated("use " "0b0010111" " instead")]] = 23, + B00010111 [[deprecated("use " "0b00010111" " instead")]] = 23, + B11000 [[deprecated("use " "0b11000" " instead")]] = 24, + B011000 [[deprecated("use " "0b011000" " instead")]] = 24, + B0011000 [[deprecated("use " "0b0011000" " instead")]] = 24, + B00011000 [[deprecated("use " "0b00011000" " instead")]] = 24, + B11001 [[deprecated("use " "0b11001" " instead")]] = 25, + B011001 [[deprecated("use " "0b011001" " instead")]] = 25, + B0011001 [[deprecated("use " "0b0011001" " instead")]] = 25, + B00011001 [[deprecated("use " "0b00011001" " instead")]] = 25, + B11010 [[deprecated("use " "0b11010" " instead")]] = 26, + B011010 [[deprecated("use " "0b011010" " instead")]] = 26, + B0011010 [[deprecated("use " "0b0011010" " instead")]] = 26, + B00011010 [[deprecated("use " "0b00011010" " instead")]] = 26, + B11011 [[deprecated("use " "0b11011" " instead")]] = 27, + B011011 [[deprecated("use " "0b011011" " instead")]] = 27, + B0011011 [[deprecated("use " "0b0011011" " instead")]] = 27, + B00011011 [[deprecated("use " "0b00011011" " instead")]] = 27, + B11100 [[deprecated("use " "0b11100" " instead")]] = 28, + B011100 [[deprecated("use " "0b011100" " instead")]] = 28, + B0011100 [[deprecated("use " "0b0011100" " instead")]] = 28, + B00011100 [[deprecated("use " "0b00011100" " instead")]] = 28, + B11101 [[deprecated("use " "0b11101" " instead")]] = 29, + B011101 [[deprecated("use " "0b011101" " instead")]] = 29, + B0011101 [[deprecated("use " "0b0011101" " instead")]] = 29, + B00011101 [[deprecated("use " "0b00011101" " instead")]] = 29, + B11110 [[deprecated("use " "0b11110" " instead")]] = 30, + B011110 [[deprecated("use " "0b011110" " instead")]] = 30, + B0011110 [[deprecated("use " "0b0011110" " instead")]] = 30, + B00011110 [[deprecated("use " "0b00011110" " instead")]] = 30, + B11111 [[deprecated("use " "0b11111" " instead")]] = 31, + B011111 [[deprecated("use " "0b011111" " instead")]] = 31, + B0011111 [[deprecated("use " "0b0011111" " instead")]] = 31, + B00011111 [[deprecated("use " "0b00011111" " instead")]] = 31, + B100000 [[deprecated("use " "0b100000" " instead")]] = 32, + B0100000 [[deprecated("use " "0b0100000" " instead")]] = 32, + B00100000 [[deprecated("use " "0b00100000" " instead")]] = 32, + B100001 [[deprecated("use " "0b100001" " instead")]] = 33, + B0100001 [[deprecated("use " "0b0100001" " instead")]] = 33, + B00100001 [[deprecated("use " "0b00100001" " instead")]] = 33, + B100010 [[deprecated("use " "0b100010" " instead")]] = 34, + B0100010 [[deprecated("use " "0b0100010" " instead")]] = 34, + B00100010 [[deprecated("use " "0b00100010" " instead")]] = 34, + B100011 [[deprecated("use " "0b100011" " instead")]] = 35, + B0100011 [[deprecated("use " "0b0100011" " instead")]] = 35, + B00100011 [[deprecated("use " "0b00100011" " instead")]] = 35, + B100100 [[deprecated("use " "0b100100" " instead")]] = 36, + B0100100 [[deprecated("use " "0b0100100" " instead")]] = 36, + B00100100 [[deprecated("use " "0b00100100" " instead")]] = 36, + B100101 [[deprecated("use " "0b100101" " instead")]] = 37, + B0100101 [[deprecated("use " "0b0100101" " instead")]] = 37, + B00100101 [[deprecated("use " "0b00100101" " instead")]] = 37, + B100110 [[deprecated("use " "0b100110" " instead")]] = 38, + B0100110 [[deprecated("use " "0b0100110" " instead")]] = 38, + B00100110 [[deprecated("use " "0b00100110" " instead")]] = 38, + B100111 [[deprecated("use " "0b100111" " instead")]] = 39, + B0100111 [[deprecated("use " "0b0100111" " instead")]] = 39, + B00100111 [[deprecated("use " "0b00100111" " instead")]] = 39, + B101000 [[deprecated("use " "0b101000" " instead")]] = 40, + B0101000 [[deprecated("use " "0b0101000" " instead")]] = 40, + B00101000 [[deprecated("use " "0b00101000" " instead")]] = 40, + B101001 [[deprecated("use " "0b101001" " instead")]] = 41, + B0101001 [[deprecated("use " "0b0101001" " instead")]] = 41, + B00101001 [[deprecated("use " "0b00101001" " instead")]] = 41, + B101010 [[deprecated("use " "0b101010" " instead")]] = 42, + B0101010 [[deprecated("use " "0b0101010" " instead")]] = 42, + B00101010 [[deprecated("use " "0b00101010" " instead")]] = 42, + B101011 [[deprecated("use " "0b101011" " instead")]] = 43, + B0101011 [[deprecated("use " "0b0101011" " instead")]] = 43, + B00101011 [[deprecated("use " "0b00101011" " instead")]] = 43, + B101100 [[deprecated("use " "0b101100" " instead")]] = 44, + B0101100 [[deprecated("use " "0b0101100" " instead")]] = 44, + B00101100 [[deprecated("use " "0b00101100" " instead")]] = 44, + B101101 [[deprecated("use " "0b101101" " instead")]] = 45, + B0101101 [[deprecated("use " "0b0101101" " instead")]] = 45, + B00101101 [[deprecated("use " "0b00101101" " instead")]] = 45, + B101110 [[deprecated("use " "0b101110" " instead")]] = 46, + B0101110 [[deprecated("use " "0b0101110" " instead")]] = 46, + B00101110 [[deprecated("use " "0b00101110" " instead")]] = 46, + B101111 [[deprecated("use " "0b101111" " instead")]] = 47, + B0101111 [[deprecated("use " "0b0101111" " instead")]] = 47, + B00101111 [[deprecated("use " "0b00101111" " instead")]] = 47, + B110000 [[deprecated("use " "0b110000" " instead")]] = 48, + B0110000 [[deprecated("use " "0b0110000" " instead")]] = 48, + B00110000 [[deprecated("use " "0b00110000" " instead")]] = 48, + B110001 [[deprecated("use " "0b110001" " instead")]] = 49, + B0110001 [[deprecated("use " "0b0110001" " instead")]] = 49, + B00110001 [[deprecated("use " "0b00110001" " instead")]] = 49, + B110010 [[deprecated("use " "0b110010" " instead")]] = 50, + B0110010 [[deprecated("use " "0b0110010" " instead")]] = 50, + B00110010 [[deprecated("use " "0b00110010" " instead")]] = 50, + B110011 [[deprecated("use " "0b110011" " instead")]] = 51, + B0110011 [[deprecated("use " "0b0110011" " instead")]] = 51, + B00110011 [[deprecated("use " "0b00110011" " instead")]] = 51, + B110100 [[deprecated("use " "0b110100" " instead")]] = 52, + B0110100 [[deprecated("use " "0b0110100" " instead")]] = 52, + B00110100 [[deprecated("use " "0b00110100" " instead")]] = 52, + B110101 [[deprecated("use " "0b110101" " instead")]] = 53, + B0110101 [[deprecated("use " "0b0110101" " instead")]] = 53, + B00110101 [[deprecated("use " "0b00110101" " instead")]] = 53, + B110110 [[deprecated("use " "0b110110" " instead")]] = 54, + B0110110 [[deprecated("use " "0b0110110" " instead")]] = 54, + B00110110 [[deprecated("use " "0b00110110" " instead")]] = 54, + B110111 [[deprecated("use " "0b110111" " instead")]] = 55, + B0110111 [[deprecated("use " "0b0110111" " instead")]] = 55, + B00110111 [[deprecated("use " "0b00110111" " instead")]] = 55, + B111000 [[deprecated("use " "0b111000" " instead")]] = 56, + B0111000 [[deprecated("use " "0b0111000" " instead")]] = 56, + B00111000 [[deprecated("use " "0b00111000" " instead")]] = 56, + B111001 [[deprecated("use " "0b111001" " instead")]] = 57, + B0111001 [[deprecated("use " "0b0111001" " instead")]] = 57, + B00111001 [[deprecated("use " "0b00111001" " instead")]] = 57, + B111010 [[deprecated("use " "0b111010" " instead")]] = 58, + B0111010 [[deprecated("use " "0b0111010" " instead")]] = 58, + B00111010 [[deprecated("use " "0b00111010" " instead")]] = 58, + B111011 [[deprecated("use " "0b111011" " instead")]] = 59, + B0111011 [[deprecated("use " "0b0111011" " instead")]] = 59, + B00111011 [[deprecated("use " "0b00111011" " instead")]] = 59, + B111100 [[deprecated("use " "0b111100" " instead")]] = 60, + B0111100 [[deprecated("use " "0b0111100" " instead")]] = 60, + B00111100 [[deprecated("use " "0b00111100" " instead")]] = 60, + B111101 [[deprecated("use " "0b111101" " instead")]] = 61, + B0111101 [[deprecated("use " "0b0111101" " instead")]] = 61, + B00111101 [[deprecated("use " "0b00111101" " instead")]] = 61, + B111110 [[deprecated("use " "0b111110" " instead")]] = 62, + B0111110 [[deprecated("use " "0b0111110" " instead")]] = 62, + B00111110 [[deprecated("use " "0b00111110" " instead")]] = 62, + B111111 [[deprecated("use " "0b111111" " instead")]] = 63, + B0111111 [[deprecated("use " "0b0111111" " instead")]] = 63, + B00111111 [[deprecated("use " "0b00111111" " instead")]] = 63, + B1000000 [[deprecated("use " "0b1000000" " instead")]] = 64, + B01000000 [[deprecated("use " "0b01000000" " instead")]] = 64, + B1000001 [[deprecated("use " "0b1000001" " instead")]] = 65, + B01000001 [[deprecated("use " "0b01000001" " instead")]] = 65, + B1000010 [[deprecated("use " "0b1000010" " instead")]] = 66, + B01000010 [[deprecated("use " "0b01000010" " instead")]] = 66, + B1000011 [[deprecated("use " "0b1000011" " instead")]] = 67, + B01000011 [[deprecated("use " "0b01000011" " instead")]] = 67, + B1000100 [[deprecated("use " "0b1000100" " instead")]] = 68, + B01000100 [[deprecated("use " "0b01000100" " instead")]] = 68, + B1000101 [[deprecated("use " "0b1000101" " instead")]] = 69, + B01000101 [[deprecated("use " "0b01000101" " instead")]] = 69, + B1000110 [[deprecated("use " "0b1000110" " instead")]] = 70, + B01000110 [[deprecated("use " "0b01000110" " instead")]] = 70, + B1000111 [[deprecated("use " "0b1000111" " instead")]] = 71, + B01000111 [[deprecated("use " "0b01000111" " instead")]] = 71, + B1001000 [[deprecated("use " "0b1001000" " instead")]] = 72, + B01001000 [[deprecated("use " "0b01001000" " instead")]] = 72, + B1001001 [[deprecated("use " "0b1001001" " instead")]] = 73, + B01001001 [[deprecated("use " "0b01001001" " instead")]] = 73, + B1001010 [[deprecated("use " "0b1001010" " instead")]] = 74, + B01001010 [[deprecated("use " "0b01001010" " instead")]] = 74, + B1001011 [[deprecated("use " "0b1001011" " instead")]] = 75, + B01001011 [[deprecated("use " "0b01001011" " instead")]] = 75, + B1001100 [[deprecated("use " "0b1001100" " instead")]] = 76, + B01001100 [[deprecated("use " "0b01001100" " instead")]] = 76, + B1001101 [[deprecated("use " "0b1001101" " instead")]] = 77, + B01001101 [[deprecated("use " "0b01001101" " instead")]] = 77, + B1001110 [[deprecated("use " "0b1001110" " instead")]] = 78, + B01001110 [[deprecated("use " "0b01001110" " instead")]] = 78, + B1001111 [[deprecated("use " "0b1001111" " instead")]] = 79, + B01001111 [[deprecated("use " "0b01001111" " instead")]] = 79, + B1010000 [[deprecated("use " "0b1010000" " instead")]] = 80, + B01010000 [[deprecated("use " "0b01010000" " instead")]] = 80, + B1010001 [[deprecated("use " "0b1010001" " instead")]] = 81, + B01010001 [[deprecated("use " "0b01010001" " instead")]] = 81, + B1010010 [[deprecated("use " "0b1010010" " instead")]] = 82, + B01010010 [[deprecated("use " "0b01010010" " instead")]] = 82, + B1010011 [[deprecated("use " "0b1010011" " instead")]] = 83, + B01010011 [[deprecated("use " "0b01010011" " instead")]] = 83, + B1010100 [[deprecated("use " "0b1010100" " instead")]] = 84, + B01010100 [[deprecated("use " "0b01010100" " instead")]] = 84, + B1010101 [[deprecated("use " "0b1010101" " instead")]] = 85, + B01010101 [[deprecated("use " "0b01010101" " instead")]] = 85, + B1010110 [[deprecated("use " "0b1010110" " instead")]] = 86, + B01010110 [[deprecated("use " "0b01010110" " instead")]] = 86, + B1010111 [[deprecated("use " "0b1010111" " instead")]] = 87, + B01010111 [[deprecated("use " "0b01010111" " instead")]] = 87, + B1011000 [[deprecated("use " "0b1011000" " instead")]] = 88, + B01011000 [[deprecated("use " "0b01011000" " instead")]] = 88, + B1011001 [[deprecated("use " "0b1011001" " instead")]] = 89, + B01011001 [[deprecated("use " "0b01011001" " instead")]] = 89, + B1011010 [[deprecated("use " "0b1011010" " instead")]] = 90, + B01011010 [[deprecated("use " "0b01011010" " instead")]] = 90, + B1011011 [[deprecated("use " "0b1011011" " instead")]] = 91, + B01011011 [[deprecated("use " "0b01011011" " instead")]] = 91, + B1011100 [[deprecated("use " "0b1011100" " instead")]] = 92, + B01011100 [[deprecated("use " "0b01011100" " instead")]] = 92, + B1011101 [[deprecated("use " "0b1011101" " instead")]] = 93, + B01011101 [[deprecated("use " "0b01011101" " instead")]] = 93, + B1011110 [[deprecated("use " "0b1011110" " instead")]] = 94, + B01011110 [[deprecated("use " "0b01011110" " instead")]] = 94, + B1011111 [[deprecated("use " "0b1011111" " instead")]] = 95, + B01011111 [[deprecated("use " "0b01011111" " instead")]] = 95, + B1100000 [[deprecated("use " "0b1100000" " instead")]] = 96, + B01100000 [[deprecated("use " "0b01100000" " instead")]] = 96, + B1100001 [[deprecated("use " "0b1100001" " instead")]] = 97, + B01100001 [[deprecated("use " "0b01100001" " instead")]] = 97, + B1100010 [[deprecated("use " "0b1100010" " instead")]] = 98, + B01100010 [[deprecated("use " "0b01100010" " instead")]] = 98, + B1100011 [[deprecated("use " "0b1100011" " instead")]] = 99, + B01100011 [[deprecated("use " "0b01100011" " instead")]] = 99, + B1100100 [[deprecated("use " "0b1100100" " instead")]] = 100, + B01100100 [[deprecated("use " "0b01100100" " instead")]] = 100, + B1100101 [[deprecated("use " "0b1100101" " instead")]] = 101, + B01100101 [[deprecated("use " "0b01100101" " instead")]] = 101, + B1100110 [[deprecated("use " "0b1100110" " instead")]] = 102, + B01100110 [[deprecated("use " "0b01100110" " instead")]] = 102, + B1100111 [[deprecated("use " "0b1100111" " instead")]] = 103, + B01100111 [[deprecated("use " "0b01100111" " instead")]] = 103, + B1101000 [[deprecated("use " "0b1101000" " instead")]] = 104, + B01101000 [[deprecated("use " "0b01101000" " instead")]] = 104, + B1101001 [[deprecated("use " "0b1101001" " instead")]] = 105, + B01101001 [[deprecated("use " "0b01101001" " instead")]] = 105, + B1101010 [[deprecated("use " "0b1101010" " instead")]] = 106, + B01101010 [[deprecated("use " "0b01101010" " instead")]] = 106, + B1101011 [[deprecated("use " "0b1101011" " instead")]] = 107, + B01101011 [[deprecated("use " "0b01101011" " instead")]] = 107, + B1101100 [[deprecated("use " "0b1101100" " instead")]] = 108, + B01101100 [[deprecated("use " "0b01101100" " instead")]] = 108, + B1101101 [[deprecated("use " "0b1101101" " instead")]] = 109, + B01101101 [[deprecated("use " "0b01101101" " instead")]] = 109, + B1101110 [[deprecated("use " "0b1101110" " instead")]] = 110, + B01101110 [[deprecated("use " "0b01101110" " instead")]] = 110, + B1101111 [[deprecated("use " "0b1101111" " instead")]] = 111, + B01101111 [[deprecated("use " "0b01101111" " instead")]] = 111, + B1110000 [[deprecated("use " "0b1110000" " instead")]] = 112, + B01110000 [[deprecated("use " "0b01110000" " instead")]] = 112, + B1110001 [[deprecated("use " "0b1110001" " instead")]] = 113, + B01110001 [[deprecated("use " "0b01110001" " instead")]] = 113, + B1110010 [[deprecated("use " "0b1110010" " instead")]] = 114, + B01110010 [[deprecated("use " "0b01110010" " instead")]] = 114, + B1110011 [[deprecated("use " "0b1110011" " instead")]] = 115, + B01110011 [[deprecated("use " "0b01110011" " instead")]] = 115, + B1110100 [[deprecated("use " "0b1110100" " instead")]] = 116, + B01110100 [[deprecated("use " "0b01110100" " instead")]] = 116, + B1110101 [[deprecated("use " "0b1110101" " instead")]] = 117, + B01110101 [[deprecated("use " "0b01110101" " instead")]] = 117, + B1110110 [[deprecated("use " "0b1110110" " instead")]] = 118, + B01110110 [[deprecated("use " "0b01110110" " instead")]] = 118, + B1110111 [[deprecated("use " "0b1110111" " instead")]] = 119, + B01110111 [[deprecated("use " "0b01110111" " instead")]] = 119, + B1111000 [[deprecated("use " "0b1111000" " instead")]] = 120, + B01111000 [[deprecated("use " "0b01111000" " instead")]] = 120, + B1111001 [[deprecated("use " "0b1111001" " instead")]] = 121, + B01111001 [[deprecated("use " "0b01111001" " instead")]] = 121, + B1111010 [[deprecated("use " "0b1111010" " instead")]] = 122, + B01111010 [[deprecated("use " "0b01111010" " instead")]] = 122, + B1111011 [[deprecated("use " "0b1111011" " instead")]] = 123, + B01111011 [[deprecated("use " "0b01111011" " instead")]] = 123, + B1111100 [[deprecated("use " "0b1111100" " instead")]] = 124, + B01111100 [[deprecated("use " "0b01111100" " instead")]] = 124, + B1111101 [[deprecated("use " "0b1111101" " instead")]] = 125, + B01111101 [[deprecated("use " "0b01111101" " instead")]] = 125, + B1111110 [[deprecated("use " "0b1111110" " instead")]] = 126, + B01111110 [[deprecated("use " "0b01111110" " instead")]] = 126, + B1111111 [[deprecated("use " "0b1111111" " instead")]] = 127, + B01111111 [[deprecated("use " "0b01111111" " instead")]] = 127, + B10000000 [[deprecated("use " "0b10000000" " instead")]] = 128, + B10000001 [[deprecated("use " "0b10000001" " instead")]] = 129, + B10000010 [[deprecated("use " "0b10000010" " instead")]] = 130, + B10000011 [[deprecated("use " "0b10000011" " instead")]] = 131, + B10000100 [[deprecated("use " "0b10000100" " instead")]] = 132, + B10000101 [[deprecated("use " "0b10000101" " instead")]] = 133, + B10000110 [[deprecated("use " "0b10000110" " instead")]] = 134, + B10000111 [[deprecated("use " "0b10000111" " instead")]] = 135, + B10001000 [[deprecated("use " "0b10001000" " instead")]] = 136, + B10001001 [[deprecated("use " "0b10001001" " instead")]] = 137, + B10001010 [[deprecated("use " "0b10001010" " instead")]] = 138, + B10001011 [[deprecated("use " "0b10001011" " instead")]] = 139, + B10001100 [[deprecated("use " "0b10001100" " instead")]] = 140, + B10001101 [[deprecated("use " "0b10001101" " instead")]] = 141, + B10001110 [[deprecated("use " "0b10001110" " instead")]] = 142, + B10001111 [[deprecated("use " "0b10001111" " instead")]] = 143, + B10010000 [[deprecated("use " "0b10010000" " instead")]] = 144, + B10010001 [[deprecated("use " "0b10010001" " instead")]] = 145, + B10010010 [[deprecated("use " "0b10010010" " instead")]] = 146, + B10010011 [[deprecated("use " "0b10010011" " instead")]] = 147, + B10010100 [[deprecated("use " "0b10010100" " instead")]] = 148, + B10010101 [[deprecated("use " "0b10010101" " instead")]] = 149, + B10010110 [[deprecated("use " "0b10010110" " instead")]] = 150, + B10010111 [[deprecated("use " "0b10010111" " instead")]] = 151, + B10011000 [[deprecated("use " "0b10011000" " instead")]] = 152, + B10011001 [[deprecated("use " "0b10011001" " instead")]] = 153, + B10011010 [[deprecated("use " "0b10011010" " instead")]] = 154, + B10011011 [[deprecated("use " "0b10011011" " instead")]] = 155, + B10011100 [[deprecated("use " "0b10011100" " instead")]] = 156, + B10011101 [[deprecated("use " "0b10011101" " instead")]] = 157, + B10011110 [[deprecated("use " "0b10011110" " instead")]] = 158, + B10011111 [[deprecated("use " "0b10011111" " instead")]] = 159, + B10100000 [[deprecated("use " "0b10100000" " instead")]] = 160, + B10100001 [[deprecated("use " "0b10100001" " instead")]] = 161, + B10100010 [[deprecated("use " "0b10100010" " instead")]] = 162, + B10100011 [[deprecated("use " "0b10100011" " instead")]] = 163, + B10100100 [[deprecated("use " "0b10100100" " instead")]] = 164, + B10100101 [[deprecated("use " "0b10100101" " instead")]] = 165, + B10100110 [[deprecated("use " "0b10100110" " instead")]] = 166, + B10100111 [[deprecated("use " "0b10100111" " instead")]] = 167, + B10101000 [[deprecated("use " "0b10101000" " instead")]] = 168, + B10101001 [[deprecated("use " "0b10101001" " instead")]] = 169, + B10101010 [[deprecated("use " "0b10101010" " instead")]] = 170, + B10101011 [[deprecated("use " "0b10101011" " instead")]] = 171, + B10101100 [[deprecated("use " "0b10101100" " instead")]] = 172, + B10101101 [[deprecated("use " "0b10101101" " instead")]] = 173, + B10101110 [[deprecated("use " "0b10101110" " instead")]] = 174, + B10101111 [[deprecated("use " "0b10101111" " instead")]] = 175, + B10110000 [[deprecated("use " "0b10110000" " instead")]] = 176, + B10110001 [[deprecated("use " "0b10110001" " instead")]] = 177, + B10110010 [[deprecated("use " "0b10110010" " instead")]] = 178, + B10110011 [[deprecated("use " "0b10110011" " instead")]] = 179, + B10110100 [[deprecated("use " "0b10110100" " instead")]] = 180, + B10110101 [[deprecated("use " "0b10110101" " instead")]] = 181, + B10110110 [[deprecated("use " "0b10110110" " instead")]] = 182, + B10110111 [[deprecated("use " "0b10110111" " instead")]] = 183, + B10111000 [[deprecated("use " "0b10111000" " instead")]] = 184, + B10111001 [[deprecated("use " "0b10111001" " instead")]] = 185, + B10111010 [[deprecated("use " "0b10111010" " instead")]] = 186, + B10111011 [[deprecated("use " "0b10111011" " instead")]] = 187, + B10111100 [[deprecated("use " "0b10111100" " instead")]] = 188, + B10111101 [[deprecated("use " "0b10111101" " instead")]] = 189, + B10111110 [[deprecated("use " "0b10111110" " instead")]] = 190, + B10111111 [[deprecated("use " "0b10111111" " instead")]] = 191, + B11000000 [[deprecated("use " "0b11000000" " instead")]] = 192, + B11000001 [[deprecated("use " "0b11000001" " instead")]] = 193, + B11000010 [[deprecated("use " "0b11000010" " instead")]] = 194, + B11000011 [[deprecated("use " "0b11000011" " instead")]] = 195, + B11000100 [[deprecated("use " "0b11000100" " instead")]] = 196, + B11000101 [[deprecated("use " "0b11000101" " instead")]] = 197, + B11000110 [[deprecated("use " "0b11000110" " instead")]] = 198, + B11000111 [[deprecated("use " "0b11000111" " instead")]] = 199, + B11001000 [[deprecated("use " "0b11001000" " instead")]] = 200, + B11001001 [[deprecated("use " "0b11001001" " instead")]] = 201, + B11001010 [[deprecated("use " "0b11001010" " instead")]] = 202, + B11001011 [[deprecated("use " "0b11001011" " instead")]] = 203, + B11001100 [[deprecated("use " "0b11001100" " instead")]] = 204, + B11001101 [[deprecated("use " "0b11001101" " instead")]] = 205, + B11001110 [[deprecated("use " "0b11001110" " instead")]] = 206, + B11001111 [[deprecated("use " "0b11001111" " instead")]] = 207, + B11010000 [[deprecated("use " "0b11010000" " instead")]] = 208, + B11010001 [[deprecated("use " "0b11010001" " instead")]] = 209, + B11010010 [[deprecated("use " "0b11010010" " instead")]] = 210, + B11010011 [[deprecated("use " "0b11010011" " instead")]] = 211, + B11010100 [[deprecated("use " "0b11010100" " instead")]] = 212, + B11010101 [[deprecated("use " "0b11010101" " instead")]] = 213, + B11010110 [[deprecated("use " "0b11010110" " instead")]] = 214, + B11010111 [[deprecated("use " "0b11010111" " instead")]] = 215, + B11011000 [[deprecated("use " "0b11011000" " instead")]] = 216, + B11011001 [[deprecated("use " "0b11011001" " instead")]] = 217, + B11011010 [[deprecated("use " "0b11011010" " instead")]] = 218, + B11011011 [[deprecated("use " "0b11011011" " instead")]] = 219, + B11011100 [[deprecated("use " "0b11011100" " instead")]] = 220, + B11011101 [[deprecated("use " "0b11011101" " instead")]] = 221, + B11011110 [[deprecated("use " "0b11011110" " instead")]] = 222, + B11011111 [[deprecated("use " "0b11011111" " instead")]] = 223, + B11100000 [[deprecated("use " "0b11100000" " instead")]] = 224, + B11100001 [[deprecated("use " "0b11100001" " instead")]] = 225, + B11100010 [[deprecated("use " "0b11100010" " instead")]] = 226, + B11100011 [[deprecated("use " "0b11100011" " instead")]] = 227, + B11100100 [[deprecated("use " "0b11100100" " instead")]] = 228, + B11100101 [[deprecated("use " "0b11100101" " instead")]] = 229, + B11100110 [[deprecated("use " "0b11100110" " instead")]] = 230, + B11100111 [[deprecated("use " "0b11100111" " instead")]] = 231, + B11101000 [[deprecated("use " "0b11101000" " instead")]] = 232, + B11101001 [[deprecated("use " "0b11101001" " instead")]] = 233, + B11101010 [[deprecated("use " "0b11101010" " instead")]] = 234, + B11101011 [[deprecated("use " "0b11101011" " instead")]] = 235, + B11101100 [[deprecated("use " "0b11101100" " instead")]] = 236, + B11101101 [[deprecated("use " "0b11101101" " instead")]] = 237, + B11101110 [[deprecated("use " "0b11101110" " instead")]] = 238, + B11101111 [[deprecated("use " "0b11101111" " instead")]] = 239, + B11110000 [[deprecated("use " "0b11110000" " instead")]] = 240, + B11110001 [[deprecated("use " "0b11110001" " instead")]] = 241, + B11110010 [[deprecated("use " "0b11110010" " instead")]] = 242, + B11110011 [[deprecated("use " "0b11110011" " instead")]] = 243, + B11110100 [[deprecated("use " "0b11110100" " instead")]] = 244, + B11110101 [[deprecated("use " "0b11110101" " instead")]] = 245, + B11110110 [[deprecated("use " "0b11110110" " instead")]] = 246, + B11110111 [[deprecated("use " "0b11110111" " instead")]] = 247, + B11111000 [[deprecated("use " "0b11111000" " instead")]] = 248, + B11111001 [[deprecated("use " "0b11111001" " instead")]] = 249, + B11111010 [[deprecated("use " "0b11111010" " instead")]] = 250, + B11111011 [[deprecated("use " "0b11111011" " instead")]] = 251, + B11111100 [[deprecated("use " "0b11111100" " instead")]] = 252, + B11111101 [[deprecated("use " "0b11111101" " instead")]] = 253, + B11111110 [[deprecated("use " "0b11111110" " instead")]] = 254, + B11111111 [[deprecated("use " "0b11111111" " instead")]] = 255 +}; +# 27 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/ArduinoAPI.h" 2 + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/Interrupts.h" 1 +/* + Interrupts.h - Arduino interrupt management functions + Copyright (c) 2018 Arduino LLC. All right reserved. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +*/ + + + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdlib.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdlib.h" 3 4 +/* +Copyright (c) 1991, 1993 +The Regents of the University of California. All rights reserved. +c) UNIX System Laboratories, Inc. +All or some portions of this file are derived from material licensed +to the University of California by American Telephone and Telegraph +Co. or Unix System Laboratories, Inc. and are reproduced herein with +the permission of UNIX System Laboratories, Inc. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. +3. Neither the name of the University nor the names of its contributors +may be used to endorse or promote products derived from this software +without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + */ +/* + * stdlib.h + * + * Definitions for common types, variables, and functions. + */ + + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/ieeefp.h" 1 3 4 +/* +Copyright (C) 1991 DJ Delorie +All rights reserved. + +Redistribution, modification, and use in source and binary forms is permitted +provided that the above copyright notice and following paragraph are +duplicated in all such forms. + +This file is distributed WITHOUT ANY WARRANTY; without even the implied +warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + */ + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/picolibc.h" 1 3 4 +/* + * Autogenerated by the Meson build system. + * Do not edit, your changes will be lost. + */ + + + +/* Use atomics for fgetc/ungetc for re-entrancy */ + + +/* Always optimize strcmp for performance */ + + +/* Obsoleted. Use regular syscalls */ + + +/* use global errno variable */ + + +/* use thread local storage */ + + +/* use thread local storage */ + + +/* Use open/close/read/write in tinystdio */ + + +/* Optimize for space over speed */ + + +/* Obsoleted. Reentrant syscalls provided for us */ + + +/* Use tiny stdio from gcc avr */ +# 44 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/picolibc.h" 3 4 +/* The default printf functions is the double variant */ + + +/* The default printf functions is the float variant */ + + +/* The default printf functions is the integer variant */ + + +/* The default printf functions is the minimal variant */ +# 62 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/picolibc.h" 3 4 +/* The compiler REALLY has the attribute __alloc_size__ */ + + +/* The compiler supports the always_inline function attribute */ + + +/* The compiler supports the gnu_inline function attribute */ + + +/* Use bitfields in packed structs */ + + +/* Compiler has __builtin_add_overflow */ + + +/* The compiler supports __builtin_alloca */ + + +/* Compiler has __builtin_complex */ + + +/* The compiler supports __builtin_copysign */ + + +/* The compiler supports __builtin_copysignl */ + + +/* The compiler supports __builtin_ctz */ + + +/* The compiler supports __builtin_ctzl */ + + +/* The compiler supports __builtin_ctzll */ + + +/* Compiler has __builtin_expect */ + + +/* The compiler supports __builtin_ffs */ + + +/* The compiler supports __builtin_ffsl */ + + +/* The compiler supports __builtin_ffsll */ + + +/* The compiler supports __builtin_finitel */ + + +/* The compiler supports __builtin_isfinite */ + + +/* The compiler supports __builtin_isinf */ + + +/* The compiler supports __builtin_isinfl */ + + +/* The compiler supports __builtin_isnan */ + + +/* The compiler supports __builtin_isnanl */ + + +/* The compiler supports __builtin_issignalingl */ + + +/* Compiler has __builtin_mul_overflow */ + + +/* Compiler flag to prevent detecting memcpy/memset patterns */ + + +/* Compiler supports _Complex */ + + + + + + +/* IEEE fp funcs available */ + + +/* compiler supports INIT_ARRAY sections */ + + +/* Support _init() and _fini() functions */ + + +/* Compiler has long double type */ + + +/* Compiler attribute to prevent the optimizer from adding new builtin calls */ + + +/* _set_tls and _init_tls functions available */ + + +/* Semihost APIs supported */ +# 369 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/picolibc.h" 3 4 +/* math library does not set errno (offering only ieee semantics) */ +# 384 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/picolibc.h" 3 4 +/* The newlib version in string format. */ + + +/* Use atomics for signal/raise for re-entrancy */ + + +/* The Picolibc minor version number. */ + + +/* The Picolibc version in string format. */ + + +/* The Picolibc major version number. */ + + + + +/* avoid software division in decimal conversion */ +# 422 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/picolibc.h" 3 4 +/* math library sets errno */ +# 431 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/picolibc.h" 3 4 +/* Obsoleted. Define time_t to long instead of using a 64-bit type */ + + + + +/* extended locale support */ + + +/* locale support */ + + +/* The newlib minor version number. */ + + +/* The newlib patch level. */ + + +/* The newlib major version number. */ + + +/* Use old math code (undef auto, 0 no, 1 yes) */ + + +/* Use old math code for double funcs (undef auto, 0 no, 1 yes) */ + + +/* Use old math code for float funcs (undef auto, 0 no, 1 yes) */ + + +/* Compute static memory area sizes at runtime instead of link time */ + + +/* The Picolibc minor version number. */ + + +/* The Picolibc patch level. */ + + +/* The Picolibc version in string format. */ + + +/* The Picolibc major version number. */ +# 14 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/ieeefp.h" 2 3 4 + + +/* This file can define macros to choose variations of the IEEE float + format: + + _FLT_LARGEST_EXPONENT_IS_NORMAL + + Defined if the float format uses the largest exponent for finite + numbers rather than NaN and infinity representations. Such a + format cannot represent NaNs or infinities at all, but it's FLT_MAX + is twice the IEEE value. + + _FLT_NO_DENORMALS + + Defined if the float format does not support IEEE denormals. Every + float with a zero exponent is taken to be a zero representation. + + ??? At the moment, there are no equivalent macros above for doubles and + the macros are not fully supported by --enable-newlib-hw-fp. + + __IEEE_BIG_ENDIAN + + Defined if the float format is big endian. This is mutually exclusive + with __IEEE_LITTLE_ENDIAN. + + __IEEE_LITTLE_ENDIAN + + Defined if the float format is little endian. This is mutually exclusive + with __IEEE_BIG_ENDIAN. + + Note that one of __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN must be specified for a + platform or error will occur. + + __IEEE_BYTES_LITTLE_ENDIAN + + This flag is used in conjunction with __IEEE_BIG_ENDIAN to describe a situation + whereby multiple words of an IEEE floating point are in big endian order, but the + words themselves are little endian with respect to the bytes. + + _DOUBLE_IS_32BITS + + This is used on platforms that support double by using the 32-bit IEEE + float type. + + _FLOAT_ARG + + This represents what type a float arg is passed as. It is used when the type is + not promoted to double. + + + __OBSOLETE_MATH_DEFAULT + + Default value for __OBSOLETE_MATH if that's not set by the user. + It should be set here based on predefined feature macros. + + __OBSOLETE_MATH + + If set to 1 then some new math code will be disabled and older libm + code will be used instead. This is necessary because the new math + code does not support all targets, it assumes that the toolchain has + ISO C99 support (hexfloat literals, standard fenv semantics), the + target has IEEE-754 conforming binary32 float and binary64 double + (not mixed endian) representation, standard SNaN representation, + double and single precision arithmetics has similar latency and it + has no legacy SVID matherr support, only POSIX errno and fenv + exception based error handling. +*/ +# 109 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/ieeefp.h" 3 4 +/* arm with hard fp and soft dp cannot use new float code */ + + + +/* ARM traditionally used big-endian words; and within those words the + byte ordering was big or little endian depending upon the target. + Modern floating-point formats are naturally ordered; in this case + __VFP_FP__ will be defined, even if soft-float. */ +# 132 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/ieeefp.h" 3 4 +/* As per ISO/IEC TS 18661 '__FLT_EVAL_METHOD__' will be defined to 16 + (if compiling with +fp16 support) so it can't be used by math.h to + define float_t and double_t. For values of '__FLT_EVAL_METHOD__' + other than 0, 1, 2 the definition of float_t and double_t is + implementation-defined. */ +# 339 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/ieeefp.h" 3 4 +/* necv70 was __IEEE_LITTLE_ENDIAN. */ +# 578 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/ieeefp.h" 3 4 +/* New math code requires 64-bit doubles */ +# 620 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/ieeefp.h" 3 4 +/* Use __FLOAT_WORD_ORDER__ if we don't have + * more specific platform knowledge + */ +# 44 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdlib.h" 2 3 4 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/_ansi.h" 1 3 4 +/* +Copyright (c) 1991, 1993 +The Regents of the University of California. All rights reserved. +c) UNIX System Laboratories, Inc. +All or some portions of this file are derived from material licensed +to the University of California by American Telephone and Telegraph +Co. or Unix System Laboratories, Inc. and are reproduced herein with +the permission of UNIX System Laboratories, Inc. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. +3. Neither the name of the University nor the names of its contributors +may be used to endorse or promote products derived from this software +without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + */ +/* Provide support for both ANSI and non-ANSI environments. */ + +/* To get a strict ANSI C environment, define macro __STRICT_ANSI__. This will + "comment out" the non-ANSI parts of the ANSI header files (non-ANSI header + files aren't affected). */ + + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/newlib.h" 1 3 4 +/* + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright © 2019 Keith Packard + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials provided + * with the distribution. + * + * 3. Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + * OF THE POSSIBILITY OF SUCH DAMAGE. + */ +# 44 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/_ansi.h" 2 3 4 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/config.h" 1 3 4 +/* +Copyright (c) 1982, 1986, 1993 +The Regents of the University of California. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. +3. Neither the name of the University nor the names of its contributors +may be used to endorse or promote products derived from this software +without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + */ + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/ieeefp.h" 1 3 4 +/* +Copyright (C) 1991 DJ Delorie +All rights reserved. + +Redistribution, modification, and use in source and binary forms is permitted +provided that the above copyright notice and following paragraph are +duplicated in all such forms. + +This file is distributed WITHOUT ANY WARRANTY; without even the implied +warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + */ +# 33 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/config.h" 2 3 4 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/features.h" 1 3 4 +/* + * Written by Joel Sherrill . + * + * COPYRIGHT (c) 1989-2014. + * + * On-Line Applications Research Corporation (OAR). + * + * Permission to use, copy, modify, and distribute this software for any + * purpose without fee is hereby granted, provided that this entire notice + * is included in all copies of any software which is or includes a copy + * or modification of this software. + * + * THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED + * WARRANTY. IN PARTICULAR, THE AUTHOR MAKES NO REPRESENTATION + * OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS + * SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE. + * + * $Id$ + */ + + + + + +extern "C" { + + + + +/* Macro to test version of GCC. Returns 0 for non-GCC or too old GCC. */ +# 39 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/features.h" 3 4 +/* Version with trailing underscores for BSD compatibility. */ + + +/* + * Feature test macros control which symbols are exposed by the system + * headers. Any of these must be defined before including any headers. + * + * __STRICT_ANSI__ (defined by gcc -ansi, -std=c90, -std=c99, or -std=c11) + * ISO C + * + * _POSIX_SOURCE (deprecated by _POSIX_C_SOURCE=1) + * _POSIX_C_SOURCE >= 1 + * POSIX.1-1990 + * + * _POSIX_C_SOURCE >= 2 + * POSIX.2-1992 + * + * _POSIX_C_SOURCE >= 199309L + * POSIX.1b-1993 Real-time extensions + * + * _POSIX_C_SOURCE >= 199506L + * POSIX.1c-1995 Threads extensions + * + * _POSIX_C_SOURCE >= 200112L + * POSIX.1-2001 and C99 + * + * _POSIX_C_SOURCE >= 200809L + * POSIX.1-2008 + * + * _XOPEN_SOURCE + * POSIX.1-1990 and XPG4 + * + * _XOPEN_SOURCE_EXTENDED + * SUSv1 (POSIX.2-1992 plus XPG4v2) + * + * _XOPEN_SOURCE >= 500 + * SUSv2 (POSIX.1c-1995 plus XSI) + * + * _XOPEN_SOURCE >= 600 + * SUSv3 (POSIX.1-2001 plus XSI) and C99 + * + * _XOPEN_SOURCE >= 700 + * SUSv4 (POSIX.1-2008 plus XSI) + * + * _ISOC99_SOURCE or gcc -std=c99 or g++ + * ISO C99 + * + * _ISOC11_SOURCE or gcc -std=c11 or g++ -std=c++11 + * ISO C11 + * + * _ISOC2x_SOURCE or gcc -std=c2x or g++ -std=c++20 + * ISO C11 + * + * _ATFILE_SOURCE (implied by _POSIX_C_SOURCE >= 200809L) + * "at" functions + * + * _LARGEFILE_SOURCE (deprecated by _XOPEN_SOURCE >= 500) + * fseeko, ftello + * + * _GNU_SOURCE + * All of the above plus GNU extensions + * + * _BSD_SOURCE (deprecated by _DEFAULT_SOURCE) + * _SVID_SOURCE (deprecated by _DEFAULT_SOURCE) + * _DEFAULT_SOURCE (or none of the above) + * POSIX-1.2008 with BSD and SVr4 extensions + * + * _FORTIFY_SOURCE = 1 or 2 + * Object Size Checking function wrappers + * + * _ZEPHYR_SOURCE + * Zephyr. ISO C + a small selection of other APIs. + */ +# 134 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/features.h" 3 4 +/* When building for Zephyr, set _ZEPHYR_SOURCE unless some other API + * indicator is set by the application. Don't check __STRICT_ANSI__ as that + * is set by the compiler for -std=cxx, or _POSIX_C_SOURCE as Zephyr defines + * that for picolibc currently. + */ +# 193 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/features.h" 3 4 +/* + * The following private macros are used throughout the headers to control + * which symbols should be exposed. They are for internal use only, as + * indicated by the leading double underscore, and must never be used outside + * of these headers. + * + * __POSIX_VISIBLE + * any version of POSIX.1; enabled by default, or with _POSIX_SOURCE, + * any value of _POSIX_C_SOURCE, or _XOPEN_SOURCE >= 500. + * + * __POSIX_VISIBLE >= 2 + * POSIX.2-1992; enabled by default, with _POSIX_C_SOURCE >= 2, + * or _XOPEN_SOURCE >= 500. + * + * __POSIX_VISIBLE >= 199309 + * POSIX.1b-1993; enabled by default, with _POSIX_C_SOURCE >= 199309L, + * or _XOPEN_SOURCE >= 500. + * + * __POSIX_VISIBLE >= 199506 + * POSIX.1c-1995; enabled by default, with _POSIX_C_SOURCE >= 199506L, + * or _XOPEN_SOURCE >= 500. + * + * __POSIX_VISIBLE >= 200112 + * POSIX.1-2001; enabled by default, with _POSIX_C_SOURCE >= 200112L, + * or _XOPEN_SOURCE >= 600. + * + * __POSIX_VISIBLE >= 200809 + * POSIX.1-2008; enabled by default, with _POSIX_C_SOURCE >= 200809L, + * or _XOPEN_SOURCE >= 700. + * + * __XSI_VISIBLE + * XPG4 XSI extensions; enabled with any version of _XOPEN_SOURCE. + * + * __XSI_VISIBLE >= 4 + * SUSv1 XSI extensions; enabled with both _XOPEN_SOURCE and + * _XOPEN_SOURCE_EXTENDED together. + * + * __XSI_VISIBLE >= 500 + * SUSv2 XSI extensions; enabled with _XOPEN_SOURCE >= 500. + * + * __XSI_VISIBLE >= 600 + * SUSv3 XSI extensions; enabled with _XOPEN_SOURCE >= 600. + * + * __XSI_VISIBLE >= 700 + * SUSv4 XSI extensions; enabled with _XOPEN_SOURCE >= 700. + * + * __ISO_C_VISIBLE >= 1999 + * ISO C99; enabled with gcc -std=c99 or newer (on by default since GCC 5), + * any version of C++, or with _ISOC99_SOURCE, _POSIX_C_SOURCE >= 200112L, + * or _XOPEN_SOURCE >= 600. + * + * __ISO_C_VISIBLE >= 2011 + * ISO C11; enabled with gcc -std=c11 or newer (on by default since GCC 5), + * g++ -std=c++11 or newer (on by default since GCC 6), or with + * _ISOC11_SOURCE. + * + * __ISO_C_VISIBLE >= 2020 + * ISO C2x; enabled with gcc -std=c2x or newer, + * g++ -std=c++20 or newer, or with + * _ISOC2X_SOURCE. + * + * __ATFILE_VISIBLE + * "at" functions; enabled by default, with _ATFILE_SOURCE, + * _POSIX_C_SOURCE >= 200809L, or _XOPEN_SOURCE >= 700. + * + * __LARGEFILE_VISIBLE + * fseeko, ftello; enabled with _LARGEFILE_SOURCE or _XOPEN_SOURCE >= 500. + * + * __BSD_VISIBLE + * BSD extensions; enabled by default, or with _BSD_SOURCE. + * + * __SVID_VISIBLE + * SVr4 extensions; enabled by default, or with _SVID_SOURCE. + * + * __MISC_VISIBLE + * Extensions found in both BSD and SVr4 (shorthand for + * (__BSD_VISIBLE || __SVID_VISIBLE)), or newlib-specific + * extensions; enabled by default. + * + * __GNU_VISIBLE + * GNU extensions; enabled with _GNU_SOURCE. + * + * __SSP_FORTIFY_LEVEL + * Object Size Checking; defined to 0 (off), 1, or 2. + * + * __ZEPHYR_VISIBLE + * Zephyr extensions; enabled with _ZEPHYR_SOURCE. + * + * In all cases above, "enabled by default" means either by defining + * _DEFAULT_SOURCE, or by not defining any of the public feature test macros. + */ +# 382 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/features.h" 3 4 +/* RTEMS adheres to POSIX -- 1003.1b with some features from annexes. */ +# 439 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/features.h" 3 4 +/* XMK loosely adheres to POSIX -- 1003.1 */ +# 584 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/features.h" 3 4 +} +# 34 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/config.h" 2 3 4 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/float.h" 1 3 4 +/* Copyright (C) 2002-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 5.2.4.2.2 Characteristics of floating types + */ + + + + +/* Radix of exponent representation, b. */ + + + +/* Number of base-FLT_RADIX digits in the significand, p. */ + + + + + + + +/* Number of decimal digits, q, such that any floating-point number with q + decimal digits can be rounded into a floating-point number with p radix b + digits and back again without change to the q decimal digits, + + p * log10(b) if b is a power of 10 + floor((p - 1) * log10(b)) otherwise +*/ + + + + + + + +/* Minimum int x such that FLT_RADIX**(x-1) is a normalized float, emin */ + + + + + + + +/* Minimum negative integer such that 10 raised to that power is in the + range of normalized floating-point numbers, + + ceil(log10(b) * (emin - 1)) +*/ + + + + + + + +/* Maximum int x such that FLT_RADIX**(x-1) is a representable float, emax. */ + + + + + + + +/* Maximum integer such that 10 raised to that power is in the range of + representable finite floating-point numbers, + + floor(log10((1 - b**-p) * b**emax)) +*/ + + + + + + + +/* Maximum representable finite floating-point number, + + (1 - b**-p) * b**emax +*/ + + + + + + + +/* The difference between 1 and the least value greater than 1 that is + representable in the given floating point type, b**1-p. */ + + + + + + + +/* Minimum normalized positive floating-point number, b**(emin - 1). */ + + + + + + + +/* Addition rounds to 0: zero, 1: nearest, 2: +inf, 3: -inf, -1: unknown. */ +/* ??? This is supposed to change with calls to fesetround in . */ + + + + + +/* The floating-point expression evaluation method. The precise + definitions of these values are generalised to include support for + the interchange and extended types defined in ISO/IEC TS 18661-3. + Prior to this (for C99/C11) the definitions were: + + -1 indeterminate + 0 evaluate all operations and constants just to the range and + precision of the type + 1 evaluate operations and constants of type float and double + to the range and precision of the double type, evaluate + long double operations and constants to the range and + precision of the long double type + 2 evaluate all operations and constants to the range and + precision of the long double type + + The TS 18661-3 definitions are: + + -1 indeterminate + 0 evaluate all operations and constants, whose semantic type has + at most the range and precision of float, to the range and + precision of float; evaluate all other operations and constants + to the range and precision of the semantic type. + 1 evaluate all operations and constants, whose semantic type has + at most the range and precision of double, to the range and + precision of double; evaluate all other operations and constants + to the range and precision of the semantic type. + 2 evaluate all operations and constants, whose semantic type has + at most the range and precision of long double, to the range and + precision of long double; evaluate all other operations and + constants to the range and precision of the semantic type. + N where _FloatN is a supported interchange floating type + evaluate all operations and constants, whose semantic type has + at most the range and precision of the _FloatN type, to the + range and precision of the _FloatN type; evaluate all other + operations and constants to the range and precision of the + semantic type. + N + 1, where _FloatNx is a supported extended floating type + evaluate operations and constants, whose semantic type has at + most the range and precision of the _FloatNx type, to the range + and precision of the _FloatNx type; evaluate all other + operations and constants to the range and precision of the + semantic type. + + The compiler predefines two macros: + + __FLT_EVAL_METHOD__ + Which, depending on the value given for + -fpermitted-flt-eval-methods, may be limited to only those values + for FLT_EVAL_METHOD defined in C99/C11. + + __FLT_EVAL_METHOD_TS_18661_3__ + Which always permits the values for FLT_EVAL_METHOD defined in + ISO/IEC TS 18661-3. + + Here we want to use __FLT_EVAL_METHOD__, unless + __STDC_WANT_IEC_60559_TYPES_EXT__ is defined, in which case the user + is specifically asking for the ISO/IEC TS 18661-3 types, so we use + __FLT_EVAL_METHOD_TS_18661_3__. + + ??? This ought to change with the setting of the fp control word; + the value provided by the compiler assumes the widest setting. */ + + + + + + + +/* Number of decimal digits, n, such that any floating-point number in the + widest supported floating type with pmax radix b digits can be rounded + to a floating-point number with n decimal digits and back again without + change to the value, + + pmax * log10(b) if b is a power of 10 + ceil(1 + pmax * log10(b)) otherwise +*/ + + + + + + + +/* Versions of DECIMAL_DIG for each floating-point type. */ + + + + + + + +/* Whether types support subnormal numbers. */ + + + + + + + +/* Minimum positive values, including subnormals. */ +# 35 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/config.h" 2 3 4 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/newlib.h" 1 3 4 +/* + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright © 2019 Keith Packard + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials provided + * with the distribution. + * + * 3. Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + * OF THE POSSIBILITY OF SUCH DAMAGE. + */ +# 36 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/config.h" 2 3 4 +# 45 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/config.h" 3 4 +/* exceptions first */ + + + + + + + +/* 16 bit integer machines */ +# 146 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/config.h" 3 4 +/* For the PowerPC eabi, force the _impure_ptr to be in .sdata */ +# 156 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/config.h" 3 4 +/* Configure small REENT structure for Xilinx MicroBlaze platforms */ +# 223 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/config.h" 3 4 +/* This block should be kept in sync with GCC's limits.h. The point + of having these definitions here is to not include limits.h, which + would pollute the user namespace, while still using types of the + the correct widths when deciding how to define __int32_t and + __int64_t. */ +# 248 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/config.h" 3 4 +/* End of block that should be kept in sync with GCC's limits.h. */ +# 293 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/config.h" 3 4 +/* See if small reent asked for at configuration time and + is not chosen by the platform by default. */ +# 321 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/config.h" 3 4 +/* If _MB_EXTENDED_CHARSETS_ALL is set, we want all of the extended + charsets. The extended charsets add a few functions and a couple + of tables of a few K each. */ + + + + + +/* Figure out if long double is the same size as double. If the system + * doesn't provide long double, then those values will be undefined + * and cpp will substitute 0 for them in the test + */ + + + + + +/* Newlib doesn't fully support long double math functions so far. + On platforms where long double equals double the long double functions + simply call the double functions. On Cygwin the long double functions + are implemented independently from newlib to be able to use optimized + assembler functions despite using the Microsoft x86_64 ABI. */ + + + + +/* + * When the address sanitizer is enabled, we must prevent the library + * from even reading beyond the end of input data. This happens in + * many optimized string functions. + */ +# 45 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/_ansi.h" 2 3 4 + +/* ISO C++. */ +# 77 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/_ansi.h" 3 4 +/* Support gcc's __attribute__ facility. */ + + + + + + + +/* The traditional meaning of 'extern inline' for GCC is not + to emit the function body unless the address is explicitly + taken. However this behaviour is changing to match the C99 + standard, which uses 'extern inline' to indicate that the + function body *must* be emitted. Likewise, a function declared + without either 'extern' or 'static' defaults to extern linkage + (C99 6.2.2p5), and the compiler may choose whether to use the + inline version or call the extern linkage version (6.7.4p6). + If we are using GCC, but do not have the new behaviour, we need + to use extern inline; if we are using a new GCC with the + C99-compatible behaviour, or a non-GCC compiler (which we will + have to hope is C99, since there is no other way to achieve the + effect of omitting the function if it isn't referenced) we use + 'static inline', which c99 defines to mean more-or-less the same + as the Gnu C 'extern inline'. */ + + + + +/* We're using GCC in C99 mode, or an unknown compiler which + we just have to hope obeys the C99 semantics of inline. */ +# 45 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdlib.h" 2 3 4 + + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 1 3 4 +/* Copyright (C) 1989-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.17 Common definitions + */ + + + + + + +/* Any one of these symbols __need_* means that GNU libc + wants us just to define one data type. So don't define + the symbols that indicate this file's entire job has been done. */ +# 46 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* This avoids lossage on SunOS but only if stdtypes.h comes first. + There's no way to win with the other order! Sun lossage. */ +# 86 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* Sequent's header files use _PTRDIFF_T_ in some conflicting way. + Just ignore it. */ + + + + +/* On VxWorks, may have defined macros like + _TYPE_size_t which will typedef size_t. fixincludes patched the + vxTypesBase.h so that this macro is only defined if _GCC_SIZE_T is + not defined, and so that defining this macro defines _GCC_SIZE_T. + If we find that the macros are still defined at this point, we must + invoke them so that the type is defined as expected. */ +# 111 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* In case nobody has defined these types, but we aren't running under + GCC 2.00, make sure that __PTRDIFF_TYPE__, __SIZE_TYPE__, and + __WCHAR_TYPE__ have reasonable values. This can happen if the + parts of GCC is compiled by an older compiler, that actually + include gstddef.h, such as collect2. */ + +/* Signed type of difference of two pointers. */ + +/* Define this type if we are doing the whole job, + or if we want this type in particular. */ +# 162 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* Unsigned type of `sizeof' something. */ + +/* Define this type if we are doing the whole job, + or if we want this type in particular. */ +# 214 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +typedef unsigned int size_t; +# 241 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* Wide character type. + Locale-writers should change this as necessary to + be big enough to hold unique values not between 0 and 127, + and not (wchar_t) -1, for each defined multibyte character. */ + +/* Define this type if we are doing the whole job, + or if we want this type in particular. */ +# 284 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* On BSD/386 1.1, at least, machine/ansi.h defines _BSD_WCHAR_T_ + instead of _WCHAR_T_, and _BSD_RUNE_T_ (which, unlike the other + symbols in the _FOO_T_ family, stays defined even after its + corresponding type is defined). If we define wchar_t, then we + must undef _WCHAR_T_; for BSD/386 1.1 (and perhaps others), if + we undef _WCHAR_T_, then we must also define rune_t, since + headers like runetype.h assume that if machine/ansi.h is included, + and _BSD_WCHAR_T_ is not defined, then rune_t is available. + machine/ansi.h says, "Note that _WCHAR_T_ and _RUNE_T_ must be of + the same type." */ +# 311 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* FreeBSD 5 can't be handled well using "traditional" logic above + since it no longer defines _BSD_RUNE_T_ yet still desires to export + rune_t in some cases... */ +# 396 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* A null pointer constant. */ +# 50 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdlib.h" 2 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/cdefs.h" 1 3 4 +/* libc/sys/linux/sys/cdefs.h - Helper macros for K&R vs. ANSI C compat. */ + +/* Written 2000 by Werner Almesberger */ + +/*- + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 1991, 1993 + * The Regents of the University of California. All rights reserved. + * + * This code is derived from software contributed to Berkeley by + * Berkeley Software Design, Inc. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * @(#)cdefs.h 8.8 (Berkeley) 1/9/95 + * $FreeBSD$ + */ + + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/_default_types.h" 1 3 4 +/* + * Copyright (c) 2007 Patrick Mansfield + */ + + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/features.h" 1 3 4 +/* + * Written by Joel Sherrill . + * + * COPYRIGHT (c) 1989-2014. + * + * On-Line Applications Research Corporation (OAR). + * + * Permission to use, copy, modify, and distribute this software for any + * purpose without fee is hereby granted, provided that this entire notice + * is included in all copies of any software which is or includes a copy + * or modification of this software. + * + * THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED + * WARRANTY. IN PARTICULAR, THE AUTHOR MAKES NO REPRESENTATION + * OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS + * SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE. + * + * $Id$ + */ +# 9 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/_default_types.h" 2 3 4 + +/* + * Guess on types by examining *_MIN / *_MAX defines. + */ + +/* GCC >= 3.3.0 has ____ implicitly defined. */ + + + + + + + +/* Check if "long long" is 64bit wide */ +/* Modern GCCs provide __LONG_LONG_MAX__, SUSv3 wants LLONG_MAX */ + + + + + +/* Check if "long" is 64bit or 32bit wide */ + + + + + + + +extern "C" { + + + +typedef signed char __int8_t; + +typedef unsigned char __uint8_t; +# 55 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/_default_types.h" 3 4 +typedef short int __int16_t; + +typedef short unsigned int __uint16_t; +# 77 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/_default_types.h" 3 4 +typedef +# 77 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/_default_types.h" + int +# 77 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/_default_types.h" 3 4 + __int32_t; + +typedef +# 79 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/_default_types.h" + unsigned int +# 79 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/_default_types.h" 3 4 + __uint32_t; +# 103 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/_default_types.h" 3 4 +typedef +# 103 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/_default_types.h" + long long int +# 103 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/_default_types.h" 3 4 + __int64_t; + +typedef +# 105 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/_default_types.h" + unsigned long long int +# 105 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/_default_types.h" 3 4 + __uint64_t; +# 134 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/_default_types.h" 3 4 +typedef signed char __int_least8_t; + +typedef unsigned char __uint_least8_t; +# 160 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/_default_types.h" 3 4 +typedef short int __int_least16_t; + +typedef short unsigned int __uint_least16_t; +# 182 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/_default_types.h" 3 4 +typedef +# 182 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/_default_types.h" + int +# 182 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/_default_types.h" 3 4 + __int_least32_t; + +typedef +# 184 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/_default_types.h" + unsigned int +# 184 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/_default_types.h" 3 4 + __uint_least32_t; +# 200 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/_default_types.h" 3 4 +typedef +# 200 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/_default_types.h" + long long int +# 200 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/_default_types.h" 3 4 + __int_least64_t; + +typedef +# 202 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/_default_types.h" + unsigned long long int +# 202 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/_default_types.h" 3 4 + __uint_least64_t; +# 214 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/_default_types.h" 3 4 +typedef long long int __intmax_t; + + + + + + + +typedef long long unsigned int __uintmax_t; + + + + + + + +typedef +# 230 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/_default_types.h" + long int +# 230 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/_default_types.h" 3 4 + __intptr_t; + +typedef +# 232 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/_default_types.h" + long unsigned int +# 232 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/_default_types.h" 3 4 + __uintptr_t; +# 247 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/_default_types.h" 3 4 +} +# 46 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/cdefs.h" 2 3 4 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/features.h" 1 3 4 +/* + * Written by Joel Sherrill . + * + * COPYRIGHT (c) 1989-2014. + * + * On-Line Applications Research Corporation (OAR). + * + * Permission to use, copy, modify, and distribute this software for any + * purpose without fee is hereby granted, provided that this entire notice + * is included in all copies of any software which is or includes a copy + * or modification of this software. + * + * THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED + * WARRANTY. IN PARTICULAR, THE AUTHOR MAKES NO REPRESENTATION + * OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS + * SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE. + * + * $Id$ + */ +# 47 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/cdefs.h" 2 3 4 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 1 3 4 +/* Copyright (C) 1989-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.17 Common definitions + */ + + + + + + +/* Any one of these symbols __need_* means that GNU libc + wants us just to define one data type. So don't define + the symbols that indicate this file's entire job has been done. */ + + + + + +/* snaroff@next.com says the NeXT needs this. */ + + + + +/* This avoids lossage on SunOS but only if stdtypes.h comes first. + There's no way to win with the other order! Sun lossage. */ +# 86 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* Sequent's header files use _PTRDIFF_T_ in some conflicting way. + Just ignore it. */ + + + + +/* On VxWorks, may have defined macros like + _TYPE_size_t which will typedef size_t. fixincludes patched the + vxTypesBase.h so that this macro is only defined if _GCC_SIZE_T is + not defined, and so that defining this macro defines _GCC_SIZE_T. + If we find that the macros are still defined at this point, we must + invoke them so that the type is defined as expected. */ +# 111 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* In case nobody has defined these types, but we aren't running under + GCC 2.00, make sure that __PTRDIFF_TYPE__, __SIZE_TYPE__, and + __WCHAR_TYPE__ have reasonable values. This can happen if the + parts of GCC is compiled by an older compiler, that actually + include gstddef.h, such as collect2. */ + +/* Signed type of difference of two pointers. */ + +/* Define this type if we are doing the whole job, + or if we want this type in particular. */ +# 145 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +typedef int ptrdiff_t; +# 157 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* If this symbol has done its job, get rid of it. */ + + + + +/* Unsigned type of `sizeof' something. */ + +/* Define this type if we are doing the whole job, + or if we want this type in particular. */ +# 241 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* Wide character type. + Locale-writers should change this as necessary to + be big enough to hold unique values not between 0 and 127, + and not (wchar_t) -1, for each defined multibyte character. */ + +/* Define this type if we are doing the whole job, + or if we want this type in particular. */ +# 396 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* A null pointer constant. */ +# 414 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* Offset of member MEMBER in a struct of type TYPE. */ + + + + + + +/* Type whose alignment is supported in every context and is at least + as great as that of any standard type not using alignment + specifiers. */ +typedef struct { + long long __max_align_ll __attribute__((__aligned__(__alignof__(long long)))); + long double __max_align_ld __attribute__((__aligned__(__alignof__(long double)))); + /* _Float128 is defined as a basic type, so max_align_t must be + sufficiently aligned for it. This code must work in C++, so we + use __float128 here; that is only available on some + architectures, but only on i386 is extra alignment needed for + __float128. */ + + + +} max_align_t; + + + + + + + typedef decltype(nullptr) nullptr_t; +# 48 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/cdefs.h" 2 3 4 +# 71 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/cdefs.h" 3 4 +/* + * Testing against Clang-specific extensions. + */ +# 98 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/cdefs.h" 3 4 +/** + * Not all compilers offer __builtin_expect (e.g. CompCert does + * not have it). In that case, transparently replace all + * occurences of that builtin with just the condition: + */ + + + + +/* + * This code has been put in place to help reduce the addition of + * compiler specific defines in FreeBSD code. It helps to aid in + * having a compiler-agnostic source tree. + */ +# 136 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/cdefs.h" 3 4 +/* + * Compiler memory barriers, specific to gcc and clang. + */ + + + + + + + +/* XXX: if __GNUC__ >= 2: not tested everywhere originally, where replaced */ +# 160 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/cdefs.h" 3 4 +/* + * The __CONCAT macro is used to concatenate parts of symbol names, e.g. + * with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo. + * The __CONCAT macro is a bit tricky to use if it must work in non-ANSI + * mode -- there must be no spaces between its arguments, and for nested + * __CONCAT's, all the __CONCAT's must be at the left. __CONCAT can also + * concatenate double-quoted strings produced by the __STRING macro, but + * this only works with ANSI C. + * + * __XSTRING is like __STRING, but it expands any macros in its argument + * first. It is only available with ANSI C. + */ +# 217 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/cdefs.h" 3 4 +/* + * Compiler-dependent macros to help declare dead (non-returning) and + * pure (no side effects) functions, and unused variables. They are + * null except for versions of gcc that are known to support the features + * properly (old versions of gcc-2 supported the dead and pure features + * in a different (wrong) way). If we do not provide an implementation + * for a given compiler, let the compile fail if it is told to use + * a feature that we cannot live without. + */ +# 271 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/cdefs.h" 3 4 +/* + * Keywords added in C11. + */ +# 326 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/cdefs.h" 3 4 +/* + * Emulation of C11 _Generic(). Unlike the previously defined C11 + * keywords, it is not possible to implement this using exactly the same + * syntax. Therefore implement something similar under the name + * __generic(). Unlike _Generic(), this macro can only distinguish + * between a single type, so it requires nested invocations to + * distinguish multiple cases. + * + * Note that the comma operator is used to force expr to decay in + * order to match _Generic(). + */ +# 348 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/cdefs.h" 3 4 +/* + * C99 Static array indices in function parameter declarations. Syntax such as: + * void bar(int myArray[static 10]); + * is allowed in C99 but not in C++. Define __min_size appropriately so + * headers using it can be compiled in either language. Use like this: + * void bar(int myArray[__min_size(10)]); + */ +# 394 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/cdefs.h" 3 4 +/* + * When this macro is defined, use it to declare inline versions of extern functions. + */ +# 432 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/cdefs.h" 3 4 +/* XXX: should use `#if __STDC_VERSION__ < 199901'. */ + + + + +/* + * We use `__restrict' as a way to define the `restrict' type qualifier + * without disturbing older software that is unaware of C99 keywords. + * GCC also provides `__restrict' as an extension to support C99-style + * restricted pointers in other language modes. + */ + + + + + + +/* + * Additionally, we allow to use `__restrict_arr' for declaring arrays as + * non-overlapping per C99. That's supported since gcc 3.1, but it's not + * allowed in C++. + */ +# 462 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/cdefs.h" 3 4 +/* + * GNU C version 2.96 adds explicit branch prediction so that + * the CPU back-end can hint the processor and also so that + * code blocks can be reordered such that the predicted path + * sees a more linear flow, thus improving cache behavior, etc. + * + * The following two macros provide us with a way to utilize this + * compiler feature. Use __predict_true() if you expect the expression + * to evaluate to true, and __predict_false() if you expect the + * expression to evaluate to false. + * + * A few notes about usage: + * + * * Generally, __predict_false() error condition checks (unless + * you have some _strong_ reason to do otherwise, in which case + * document it), and/or __predict_true() `no-error' condition + * checks, assuming you want to optimize for the no-error case. + * + * * Other than that, if you don't know the likelihood of a test + * succeeding from empirical or other `hard' evidence, don't + * make predictions. + * + * * These are meant to be used in places that are run `a lot'. + * It is wasteful to make predictions in code that is run + * seldomly (e.g. at subsystem initialization time) as the + * basic block reordering that this affects can often generate + * larger code. + */ +# 501 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/cdefs.h" 3 4 +/* Only default visibility is supported on PE/COFF targets. */ +# 517 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/cdefs.h" 3 4 +/* + * Given the pointer x to the member m of the struct s, return + * a pointer to the containing structure. When using GCC, we first + * assign pointer x to a local variable, to check that its type is + * compatible with member m. + */ +# 533 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/cdefs.h" 3 4 +/* + * Compiler-dependent macros to declare that functions take printf-like + * or scanf-like arguments. They are null except for versions of gcc + * that are known to support the features properly (old versions of gcc-2 + * didn't permit keeping the keywords out of the application namespace). + */ +# 557 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/cdefs.h" 3 4 +/* Compiler-dependent macros that rely on FreeBSD-specific extensions. */ +# 576 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/cdefs.h" 3 4 +/* + Taken from glibc: + Add the compiler optimization to inhibit loop transformation to library + calls. This is used to avoid recursive calls in memset and memmove + default implementations. +*/ +# 592 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/cdefs.h" 3 4 +/* + * Tell optimizer to not add new builtin calls when optimizing a + * function body. + */ +# 684 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/cdefs.h" 3 4 +/* + * Nullability qualifiers: currently only supported by Clang. + */ +# 699 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/cdefs.h" 3 4 +/* + * Type Safety Checking + * + * Clang provides additional attributes to enable checking type safety + * properties that cannot be enforced by the C type system. + */ +# 717 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/cdefs.h" 3 4 +/* + * Lock annotations. + * + * Clang provides support for doing basic thread-safety tests at + * compile-time, by marking which locks will/should be held when + * entering/leaving a functions. + * + * Furthermore, it is also possible to annotate variables and structure + * members to enforce that they are only accessed when certain locks are + * held. + */ + + + + + + + +/* Structure implements a lock. */ +/* FIXME: Use __lockable__, etc. to avoid colliding with user namespace macros, + * once clang is fixed: https://bugs.llvm.org/show_bug.cgi?id=34319 */ + + +/* Function acquires an exclusive or shared lock. */ + + + + + +/* Function attempts to acquire an exclusive or shared lock. */ + + + + + +/* Function releases a lock. */ + + +/* Function asserts that an exclusive or shared lock is held. */ + + + + + +/* Function requires that an exclusive or shared lock is or is not held. */ + + + + + + + +/* Function should not be analyzed. */ + + +/* + * Function or variable should not be sanitized, e.g., by AddressSanitizer. + * GCC has the nosanitize attribute, but as a function attribute only, and + * warns on use as a variable attribute. + */ +# 792 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/cdefs.h" 3 4 +/* + * fall-through case statement annotations + */ + +/* Standard C++17/C23 attribute */ +# 805 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/cdefs.h" 3 4 +/* Guard variables and structure members by lock. */ + + + +/* Alignment builtins for better type checking and improved code generation. */ +/* Provide fallback versions for other compilers (GCC/Clang < 10): */ +# 52 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdlib.h" 2 3 4 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/stdlib.h" 1 3 4 +/* Copyright (c) 2002 Jeff Johnston */ + + + +/* place holder so platforms may add stdlib.h extensions */ +# 53 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdlib.h" 2 3 4 +# 65 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdlib.h" 3 4 +extern "C" { + +typedef struct +{ + int quot; /* quotient */ + int rem; /* remainder */ +} div_t; + +typedef struct +{ + long quot; /* quotient */ + long rem; /* remainder */ +} ldiv_t; + + +typedef struct +{ + long long int quot; /* quotient */ + long long int rem; /* remainder */ +} lldiv_t; + + + + +typedef int (*__compar_fn_t) (const void *, const void *); + + + + + + + +size_t __locale_mb_cur_max (void); + + + +void abort (void) __attribute__ ((__noreturn__)); +int abs (int); + + + + + + +int atexit (void (*__func)(void)); +double atof (const char *__nptr); + + + +int atoi (const char *__nptr); +long atol (const char *__nptr); +void * bsearch (const void *__key, + const void *__base, + size_t __nmemb, + size_t __size, + __compar_fn_t _compar); +void free (void *) __attribute__ ((__nothrow__)); +void *calloc(size_t, size_t) __attribute__((__malloc__, __malloc__(free,1))) __attribute__((__warn_unused_result__)) + __attribute__((__alloc_size__(1, 2))) __attribute__ ((__nothrow__)); +div_t div (int __numer, int __denom); +void exit (int __status) __attribute__ ((__noreturn__)); +char * getenv (const char *__string); + + + +char * _findenv (const char *, int *); + + + + +long labs (long); +ldiv_t ldiv (long __numer, long __denom); +void *malloc(size_t) __attribute__((__malloc__, __malloc__(free,1))) __attribute__((__warn_unused_result__)) __attribute__((__alloc_size__(1))) __attribute__ ((__nothrow__)); +void *valloc (size_t) __attribute__((__malloc__, __malloc__(free,1))) __attribute__((__warn_unused_result__)) __attribute__((__alloc_size__(1))) __attribute__ ((__nothrow__)); +int mblen (const char *, size_t); +int mbtowc (wchar_t *__restrict, const char *__restrict, size_t); +int wctomb (char *, wchar_t); +size_t mbstowcs (wchar_t *__restrict, const char *__restrict, size_t); +size_t wcstombs (char *__restrict, const wchar_t *__restrict, size_t); +# 160 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdlib.h" 3 4 +void qsort (void *__base, size_t __nmemb, size_t __size, __compar_fn_t _compar); +int rand (void); +void *realloc(void *, size_t) __attribute__((__warn_unused_result__)) __attribute__((__alloc_size__(2))) __attribute__ ((__nothrow__)); +# 176 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdlib.h" 3 4 +void srand (unsigned __seed); +double strtod (const char *__restrict __n, char **__restrict __end_PTR); + +int strfromd(char *__restrict str, size_t n, + const char *__restrict format, double fp); + + +float strtof (const char *__restrict __n, char **__restrict __end_PTR); + +long double strtold (const char *__restrict __n, char **__restrict __end_PTR); + + +int strfromf(char *__restrict str, size_t n, + const char *__restrict format, float fp); + +int strfroml (char *__restrict str, size_t n, + const char *__restrict format, long double fp); +# 202 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdlib.h" 3 4 +long strtol (const char *__restrict __n, char **__restrict __end_PTR, int __base); +unsigned long strtoul (const char *__restrict __n, char **__restrict __end_PTR, int __base); +# 220 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdlib.h" 3 4 +int system (const char *__string); +# 230 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdlib.h" 3 4 +void _Exit (int __status) __attribute__ ((__noreturn__)); +# 280 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdlib.h" 3 4 +char * __itoa (int, char *, int); +char * __utoa (unsigned, char *, int); +# 320 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdlib.h" 3 4 +long long atoll (const char *__nptr); + + +long long llabs (long long); +lldiv_t lldiv (long long __numer, long long __denom); +long long strtoll (const char *__restrict __n, char **__restrict __end_PTR, int __base); + + +unsigned long long strtoull (const char *__restrict __n, char **__restrict __end_PTR, int __base); +# 345 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdlib.h" 3 4 +char * __dtoa (double, int, int, int *, int*, char**); +char * __ldtoa (long double, int, int, int *, int *, char **); + +void __eprintf (const char *, const char *, unsigned int, const char *); + +/* There are two common qsort_r variants. If you request + _BSD_SOURCE, you get the BSD version; otherwise you get the GNU + version. We want that #undef qsort_r will still let you + invoke the underlying function, but that requires gcc support. */ +# 366 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdlib.h" 3 4 +/* On platforms where long double equals double. */ + + +extern long double strtold (const char *__restrict, char **__restrict); + + + +/* + * If we're in a mode greater than C99, expose C11 functions. + */ + +void * aligned_alloc(size_t, size_t) __attribute__((__malloc__, __malloc__(free,1))) __attribute__((__alloc_align__(1))) + __attribute__((__alloc_size__(2))) __attribute__((__warn_unused_result__)) __attribute__ ((__nothrow__)); +int at_quick_exit(void (*)(void)); +[[noreturn]] void + quick_exit(int); + + +} +# 25 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/Interrupts.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdbool.h" 1 3 4 +/* Copyright (C) 1998-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.16 Boolean type and values + */ +# 44 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdbool.h" 3 4 +/* Supporting _Bool in C++ is a GCC extension. */ + + + + +/* Signal that all the definitions are present. */ +# 26 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/Interrupts.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 1 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ + + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/_default_types.h" 1 3 4 +/* + * Copyright (c) 2007 Patrick Mansfield + */ +# 13 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 2 3 4 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/_intsup.h" 1 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ + + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/features.h" 1 3 4 +/* + * Written by Joel Sherrill . + * + * COPYRIGHT (c) 1989-2014. + * + * On-Line Applications Research Corporation (OAR). + * + * Permission to use, copy, modify, and distribute this software for any + * purpose without fee is hereby granted, provided that this entire notice + * is included in all copies of any software which is or includes a copy + * or modification of this software. + * + * THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED + * WARRANTY. IN PARTICULAR, THE AUTHOR MAKES NO REPRESENTATION + * OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS + * SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE. + * + * $Id$ + */ +# 13 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/_intsup.h" 2 3 4 + + +/* gcc > 3.2 implicitly defines the values we are interested */ + + + + + + +/* Determine how intptr_t and intN_t fastN_t and leastN_t are defined by gcc + for this target. This is used to determine the correct printf() constant in + inttypes.h and other constants in stdint.h. + So we end up with + ?(signed|unsigned) char == 0 + ?(signed|unsigned) short == 1 + ?(signed|unsigned) int == 2 + ?(signed|unsigned) short int == 3 + ?(signed|unsigned) long == 4 + ?(signed|unsigned) long int == 6 + ?(signed|unsigned) long long == 8 + ?(signed|unsigned) long long int == 10 + */ + + + + + + + + +# 63 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/_intsup.h" 3 4 +/* Note - the tests for _INTPTR_EQ_INT and _INTPTR_EQ_SHORT are currently + redundant as the values are not used. But one day they may be needed + and so the tests remain. */ +# 76 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/_intsup.h" 3 4 +/* Nothing to define because int32_t is safe to print as an int. */ +# 190 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/_intsup.h" 3 4 + + + + + + + + +# 14 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 2 3 4 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/_stdint.h" 1 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ + + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/_default_types.h" 1 3 4 +/* + * Copyright (c) 2007 Patrick Mansfield + */ +# 13 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/_stdint.h" 2 3 4 + + +extern "C" { + + + + +typedef __int8_t int8_t ; + + + +typedef __uint8_t uint8_t ; + + + + + + + +typedef __int16_t int16_t ; + + + +typedef __uint16_t uint16_t ; + + + + + + + +typedef __int32_t int32_t ; + + + +typedef __uint32_t uint32_t ; + + + + + + + +typedef __int64_t int64_t ; + + + +typedef __uint64_t uint64_t ; + + + + + + +typedef __intmax_t intmax_t; + + + + +typedef __uintmax_t uintmax_t; + + + + +typedef __intptr_t intptr_t; + + + + +typedef __uintptr_t uintptr_t; + + + + +} +# 15 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 2 3 4 + + +extern "C" { + + + +typedef __int_least8_t int_least8_t; +typedef __uint_least8_t uint_least8_t; + + + + +typedef __int_least16_t int_least16_t; +typedef __uint_least16_t uint_least16_t; + + + + +typedef __int_least32_t int_least32_t; +typedef __uint_least32_t uint_least32_t; + + + + +typedef __int_least64_t int_least64_t; +typedef __uint_least64_t uint_least64_t; + + + +/* + * Fastest minimum-width integer types + * + * Assume int to be the fastest type for all types with a width + * less than __INT_MAX__ rsp. INT_MAX + */ + + typedef int int_fast8_t; + typedef unsigned int uint_fast8_t; +# 61 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 3 4 + typedef int int_fast16_t; + typedef unsigned int uint_fast16_t; +# 71 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 3 4 + typedef +# 71 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" + int +# 71 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 3 4 + int_fast32_t; + typedef +# 72 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" + unsigned int +# 72 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 3 4 + uint_fast32_t; +# 81 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 3 4 + typedef +# 81 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" + long long int +# 81 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 3 4 + int_fast64_t; + typedef +# 82 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" + unsigned long long int +# 82 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 3 4 + uint_fast64_t; + + + + + + + +/* + * Fall back to [u]int_least_t for [u]int_fast_t types + * not having been defined, yet. + * Leave undefined, if [u]int_least_t should not be available. + */ +# 149 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 3 4 +/* Limits of Specified-Width Integer Types */ +# 341 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 3 4 +/* This must match size_t in stddef.h, currently long unsigned int */ + + + + + + +/* This must match sig_atomic_t in (currently int) */ + + + +/* This must match ptrdiff_t in (currently long int) */ + + + + + + + +/* This must match definition in */ +# 371 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 3 4 +/* This must match definition in */ +# 382 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 3 4 +/* wint_t is unsigned int on almost all GCC targets. */ +# 394 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 3 4 +/** Macros for minimum-width integer constant expressions */ +# 447 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 3 4 +/** Macros for greatest-width integer constant expression */ +# 463 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 3 4 +} +# 27 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/Interrupts.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/Common.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/Common.h" +/* + Common.h - Common definitions for Arduino core + Copyright (c) 2017 Arduino LLC. All right reserved. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +*/ + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ +# 22 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/Common.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdbool.h" 1 3 4 +/* Copyright (C) 1998-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.16 Boolean type and values + */ +# 23 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/Common.h" 2 + + + +# 25 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/Common.h" +extern "C"{ + + +void yield(void); + +typedef enum { + LOW = 0, + HIGH = 1, + CHANGE = 2, + FALLING = 3, + RISING = 4, +} PinStatus; + +typedef enum { + INPUT = 0x0, + OUTPUT = 0x1, + INPUT_PULLUP = 0x2, + INPUT_PULLDOWN = 0x3, + OUTPUT_OPENDRAIN = 0x4, +} PinMode; + +typedef enum { + LSBFIRST = 0, + MSBFIRST = 1, +} BitOrder; +# 77 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/Common.h" +typedef void (*voidFuncPtr)(void); +typedef void (*voidFuncPtrParam)(void*); + +// interrupts() / noInterrupts() must be defined by the core +# 95 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/Common.h" +/* TODO: request for removal */ +typedef bool boolean; +typedef uint8_t byte; +typedef uint16_t word; + +void init(void); +void initVariant(void); + + +int atexit(void (*func)()) __attribute__((weak)); + +int main() __attribute__((weak)); + + + + + +typedef uint8_t pin_size_t; + + +void pinMode(pin_size_t pinNumber, PinMode pinMode); +void digitalWrite(pin_size_t pinNumber, PinStatus status); +PinStatus digitalRead(pin_size_t pinNumber); +int analogRead(pin_size_t pinNumber); +void analogReference(uint8_t mode); +void analogWrite(pin_size_t pinNumber, int value); + +unsigned long millis(void); +unsigned long micros(void); +void delay(unsigned long); +void delayMicroseconds(unsigned int us); +unsigned long pulseIn(pin_size_t pin, uint8_t state, unsigned long timeout); +unsigned long pulseInLong(pin_size_t pin, uint8_t state, unsigned long timeout); + +void shiftOut(pin_size_t dataPin, pin_size_t clockPin, BitOrder bitOrder, uint8_t val); +uint8_t shiftIn(pin_size_t dataPin, pin_size_t clockPin, BitOrder bitOrder); + +void attachInterrupt(pin_size_t interruptNumber, voidFuncPtr callback, PinStatus mode); +void attachInterruptParam(pin_size_t interruptNumber, voidFuncPtrParam callback, PinStatus mode, void* param); +void detachInterrupt(pin_size_t interruptNumber); + +void setup(void); +void loop(void); + + +} // extern "C" + + + + template + auto min(const T& a, const L& b) -> decltype((b < a) ? b : a) + { + return (b < a) ? b : a; + } + + template + auto max(const T& a, const L& b) -> decltype((b < a) ? b : a) + { + return (a < b) ? b : a; + } +# 172 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/Common.h" +/* C++ prototypes */ +uint16_t makeWord(uint16_t w); +uint16_t makeWord(byte h, byte l); + + + +unsigned long pulseIn(uint8_t pin, uint8_t state, unsigned long timeout = 1000000L); +unsigned long pulseInLong(uint8_t pin, uint8_t state, unsigned long timeout = 1000000L); + +void tone(uint8_t _pin, unsigned int frequency, unsigned long duration = 0); +void noTone(uint8_t _pin); + +// WMath prototypes +long random(long); +long random(long, long); +void randomSeed(unsigned long); +long map(long, long, long, long, long); +# 28 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/Interrupts.h" 2 + +namespace arduino { + +template +using voidTemplateFuncPtrParam = void (*)(T param); + +template struct __container__ { + void* param; + voidTemplateFuncPtrParam function; +}; + +// C++ only overloaded version of attachInterrupt function +template void attachInterrupt(pin_size_t interruptNum, voidTemplateFuncPtrParam userFunc, PinStatus mode, T& param) { + + struct __container__ *cont = new __container__(); + cont->param = ¶m; + cont->function = userFunc; + + // TODO: check lambda scope + // TODO: add structure to delete(__container__) when detachInterrupt() is called + auto f = [](void* a) -> void + { + T param = *(T*)((struct __container__*)a)->param; + (((struct __container__*)a)->function)(param); + }; + + attachInterruptParam(interruptNum, f, mode, cont); +} + +template void attachInterrupt(pin_size_t interruptNum, voidTemplateFuncPtrParam userFunc, PinStatus mode, T* param) { + attachInterruptParam(interruptNum, (voidFuncPtrParam)userFunc, mode, (void*)param); +} + +} +# 30 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/ArduinoAPI.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/IPAddress.h" 1 +/* + IPAddress.h - Base class that provides IPAddress + Copyright (c) 2011 Adrian McEwen. All right reserved. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +*/ + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ +# 23 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/IPAddress.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/Printable.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/Printable.h" +/* + Printable.h - Interface for classes that can be printed via Print + Copyright (c) 2016 Arduino LLC. All right reserved. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +*/ + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdlib.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdlib.h" 3 4 +/* +Copyright (c) 1991, 1993 +The Regents of the University of California. All rights reserved. +c) UNIX System Laboratories, Inc. +All or some portions of this file are derived from material licensed +to the University of California by American Telephone and Telegraph +Co. or Unix System Laboratories, Inc. and are reproduced herein with +the permission of UNIX System Laboratories, Inc. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. +3. Neither the name of the University nor the names of its contributors +may be used to endorse or promote products derived from this software +without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + */ +/* + * stdlib.h + * + * Definitions for common types, variables, and functions. + */ +# 23 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/Printable.h" 2 + + +# 24 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/Printable.h" +namespace arduino { + +class Print; + +/** The Printable class provides a way for new classes to allow themselves to be printed. + By deriving from Printable and implementing the printTo method, it will then be possible + for users to print out instances of this class by passing them into the usual + Print::print and Print::println methods. +*/ + +class Printable +{ + public: + virtual size_t printTo(Print& p) const = 0; +}; + +} +# 24 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/IPAddress.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/String.h" 1 +/* + String library for Wiring & Arduino + ...mostly rewritten by Paul Stoffregen... + Copyright (c) 2009-10 Hernando Barragan. All right reserved. + Copyright 2011, Paul Stoffregen, paul@pjrc.com + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +*/ + + + + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdlib.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdlib.h" 3 4 +/* +Copyright (c) 1991, 1993 +The Regents of the University of California. All rights reserved. +c) UNIX System Laboratories, Inc. +All or some portions of this file are derived from material licensed +to the University of California by American Telephone and Telegraph +Co. or Unix System Laboratories, Inc. and are reproduced herein with +the permission of UNIX System Laboratories, Inc. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. +3. Neither the name of the University nor the names of its contributors +may be used to endorse or promote products derived from this software +without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + */ +/* + * stdlib.h + * + * Definitions for common types, variables, and functions. + */ +# 28 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/String.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/string.h" 1 3 4 +/* +Copyright (c) 1991, 1993 +The Regents of the University of California. All rights reserved. +c) UNIX System Laboratories, Inc. +All or some portions of this file are derived from material licensed +to the University of California by American Telephone and Telegraph +Co. or Unix System Laboratories, Inc. and are reproduced herein with +the permission of UNIX System Laboratories, Inc. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. +3. Neither the name of the University nor the names of its contributors +may be used to endorse or promote products derived from this software +without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + */ +/* + * string.h + * + * Definitions for memory and string functions. + */ + + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/_ansi.h" 1 3 4 +/* +Copyright (c) 1991, 1993 +The Regents of the University of California. All rights reserved. +c) UNIX System Laboratories, Inc. +All or some portions of this file are derived from material licensed +to the University of California by American Telephone and Telegraph +Co. or Unix System Laboratories, Inc. and are reproduced herein with +the permission of UNIX System Laboratories, Inc. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. +3. Neither the name of the University nor the names of its contributors +may be used to endorse or promote products derived from this software +without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + */ +/* Provide support for both ANSI and non-ANSI environments. */ + +/* To get a strict ANSI C environment, define macro __STRICT_ANSI__. This will + "comment out" the non-ANSI parts of the ANSI header files (non-ANSI header + files aren't affected). */ +# 44 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/string.h" 2 3 4 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/cdefs.h" 1 3 4 +/* libc/sys/linux/sys/cdefs.h - Helper macros for K&R vs. ANSI C compat. */ + +/* Written 2000 by Werner Almesberger */ + +/*- + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 1991, 1993 + * The Regents of the University of California. All rights reserved. + * + * This code is derived from software contributed to Berkeley by + * Berkeley Software Design, Inc. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * @(#)cdefs.h 8.8 (Berkeley) 1/9/95 + * $FreeBSD$ + */ +# 45 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/string.h" 2 3 4 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/features.h" 1 3 4 +/* + * Written by Joel Sherrill . + * + * COPYRIGHT (c) 1989-2014. + * + * On-Line Applications Research Corporation (OAR). + * + * Permission to use, copy, modify, and distribute this software for any + * purpose without fee is hereby granted, provided that this entire notice + * is included in all copies of any software which is or includes a copy + * or modification of this software. + * + * THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED + * WARRANTY. IN PARTICULAR, THE AUTHOR MAKES NO REPRESENTATION + * OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS + * SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE. + * + * $Id$ + */ +# 46 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/string.h" 2 3 4 + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 1 3 4 +/* Copyright (C) 1989-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.17 Common definitions + */ + + + + + + +/* Any one of these symbols __need_* means that GNU libc + wants us just to define one data type. So don't define + the symbols that indicate this file's entire job has been done. */ +# 46 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* This avoids lossage on SunOS but only if stdtypes.h comes first. + There's no way to win with the other order! Sun lossage. */ +# 86 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* Sequent's header files use _PTRDIFF_T_ in some conflicting way. + Just ignore it. */ + + + + +/* On VxWorks, may have defined macros like + _TYPE_size_t which will typedef size_t. fixincludes patched the + vxTypesBase.h so that this macro is only defined if _GCC_SIZE_T is + not defined, and so that defining this macro defines _GCC_SIZE_T. + If we find that the macros are still defined at this point, we must + invoke them so that the type is defined as expected. */ +# 111 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* In case nobody has defined these types, but we aren't running under + GCC 2.00, make sure that __PTRDIFF_TYPE__, __SIZE_TYPE__, and + __WCHAR_TYPE__ have reasonable values. This can happen if the + parts of GCC is compiled by an older compiler, that actually + include gstddef.h, such as collect2. */ + +/* Signed type of difference of two pointers. */ + +/* Define this type if we are doing the whole job, + or if we want this type in particular. */ +# 157 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* If this symbol has done its job, get rid of it. */ + + + + +/* Unsigned type of `sizeof' something. */ + +/* Define this type if we are doing the whole job, + or if we want this type in particular. */ +# 241 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* Wide character type. + Locale-writers should change this as necessary to + be big enough to hold unique values not between 0 and 127, + and not (wchar_t) -1, for each defined multibyte character. */ + +/* Define this type if we are doing the whole job, + or if we want this type in particular. */ +# 396 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* A null pointer constant. */ +# 414 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* Offset of member MEMBER in a struct of type TYPE. */ +# 50 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/string.h" 2 3 4 +# 59 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/string.h" 3 4 +extern "C" { + +void * memchr (const void *, int, size_t); +int memcmp (const void *, const void *, size_t); +void * memcpy (void *__restrict, const void *__restrict, size_t); +void * memmove (void *, const void *, size_t); +void * memset (void *, int, size_t); +char *strcat (char *__restrict, const char *__restrict); +char *strchr (const char *, int); +int strcmp (const char *, const char *); +int strcoll (const char *, const char *); +char *strcpy (char *__restrict, const char *__restrict); +size_t strcspn (const char *, const char *); +char *strerror (int); +size_t strlen (const char *); +char *strncat (char *__restrict, const char *__restrict, size_t); +int strncmp (const char *, const char *, size_t); +char *strncpy (char *__restrict, const char *__restrict, size_t); +char *strpbrk (const char *, const char *); +char *strrchr (const char *, int); +size_t strspn (const char *, const char *); +char *strstr (const char *, const char *); + +char *strtok (char *__restrict, const char *__restrict); + +size_t strxfrm (char *__restrict, const char *__restrict, size_t); + + + + + + + +char *strtok_r (char *__restrict, const char *__restrict, char **__restrict); +# 123 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/string.h" 3 4 +/* There are two common strerror_r variants. If you request + _GNU_SOURCE, you get the GNU version; otherwise you get the POSIX + version. POSIX requires that #undef strerror_r will still let you + invoke the underlying function, but that requires gcc support. */ +# 142 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/string.h" 3 4 +/* Reentrant version of strerror. */ +char * _strerror_r (int, int, int *); + + + + + + +size_t strnlen (const char *, size_t); +# 190 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/string.h" 3 4 +/* There are two common basename variants. If you do NOT #include + and you do + + #define _GNU_SOURCE + #include + + you get the GNU version. Otherwise you get the POSIX versionfor which you + should #include i for the function prototype. POSIX requires that + #undef basename will still let you invoke the underlying function. However, + this also implies that the POSIX version is used in this case. That's made + sure here. */ +# 210 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/string.h" 3 4 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/string.h" 1 3 4 +/* Copyright (c) 2005 Jeff Johnston */ +/* This is a dummy used as a placeholder for + systems that need to have a special header file. */ +# 211 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/string.h" 2 3 4 + +} +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/String.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/ctype.h" 1 3 4 +/* +Copyright (c) 1991, 1993 +The Regents of the University of California. All rights reserved. +c) UNIX System Laboratories, Inc. +All or some portions of this file are derived from material licensed +to the University of California by American Telephone and Telegraph +Co. or Unix System Laboratories, Inc. and are reproduced herein with +the permission of UNIX System Laboratories, Inc. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. +3. Neither the name of the University nor the names of its contributors +may be used to endorse or promote products derived from this software +without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + */ + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/_ansi.h" 1 3 4 +/* +Copyright (c) 1991, 1993 +The Regents of the University of California. All rights reserved. +c) UNIX System Laboratories, Inc. +All or some portions of this file are derived from material licensed +to the University of California by American Telephone and Telegraph +Co. or Unix System Laboratories, Inc. and are reproduced herein with +the permission of UNIX System Laboratories, Inc. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. +3. Neither the name of the University nor the names of its contributors +may be used to endorse or promote products derived from this software +without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + */ +/* Provide support for both ANSI and non-ANSI environments. */ + +/* To get a strict ANSI C environment, define macro __STRICT_ANSI__. This will + "comment out" the non-ANSI parts of the ANSI header files (non-ANSI header + files aren't affected). */ +# 38 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/ctype.h" 2 3 4 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/cdefs.h" 1 3 4 +/* libc/sys/linux/sys/cdefs.h - Helper macros for K&R vs. ANSI C compat. */ + +/* Written 2000 by Werner Almesberger */ + +/*- + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 1991, 1993 + * The Regents of the University of California. All rights reserved. + * + * This code is derived from software contributed to Berkeley by + * Berkeley Software Design, Inc. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * @(#)cdefs.h 8.8 (Berkeley) 1/9/95 + * $FreeBSD$ + */ +# 39 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/ctype.h" 2 3 4 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/limits.h" 1 3 4 +/* Copyright (c) 2002 Jeff Johnston */ + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/newlib.h" 1 3 4 +/* + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright © 2019 Keith Packard + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials provided + * with the distribution. + * + * 3. Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + * OF THE POSSIBILITY OF SUCH DAMAGE. + */ +# 6 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/limits.h" 2 3 4 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/cdefs.h" 1 3 4 +/* libc/sys/linux/sys/cdefs.h - Helper macros for K&R vs. ANSI C compat. */ + +/* Written 2000 by Werner Almesberger */ + +/*- + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 1991, 1993 + * The Regents of the University of California. All rights reserved. + * + * This code is derived from software contributed to Berkeley by + * Berkeley Software Design, Inc. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * @(#)cdefs.h 8.8 (Berkeley) 1/9/95 + * $FreeBSD$ + */ +# 7 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/limits.h" 2 3 4 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/syslimits.h" 1 3 4 +/* + * Copyright (c) 1988, 1993 + * The Regents of the University of California. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * @(#)syslimits.h 8.1 (Berkeley) 6/2/93 + * $FreeBSD: src/sys/sys/syslimits.h,v 1.10 2001/06/18 20:24:54 wollman Exp $ + */ +# 8 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/limits.h" 2 3 4 + + + + + + + +/* Maximum number of positional arguments, if _WANT_IO_POS_ARGS. */ + + + + +/* if do not have #include_next support, then we + have to define the limits here. */ +# 132 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/limits.h" 3 4 +/* `_GCC_LIMITS_H_' is what GCC's file defines. */ + + + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed/limits.h" 1 3 4 +/* Copyright (C) 1992-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 3, or (at your option) any later +version. + +GCC is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* This administrivia gets added to the beginning of limits.h + if the system has its own version of limits.h. */ + +/* We use _GCC_LIMITS_H_ because we want this not to match + any macros that the system's limits.h uses for its own purposes. */ + + + + + + + +/* Copyright (C) 1991-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 3, or (at your option) any later +version. + +GCC is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + + + + +/* Number of bits in a `char'. */ + + + +/* Maximum length of a multibyte character. */ + + + + +/* Minimum and maximum values a `signed char' can hold. */ + + + + + +/* Maximum value an `unsigned char' can hold. (Minimum is 0). */ + + + + + + + +/* Minimum and maximum values a `char' can hold. */ +# 102 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed/limits.h" 3 4 +/* Minimum and maximum values a `signed short int' can hold. */ + + + + + +/* Maximum value an `unsigned short int' can hold. (Minimum is 0). */ + + + + + + + +/* Minimum and maximum values a `signed int' can hold. */ + + + + + +/* Maximum value an `unsigned int' can hold. (Minimum is 0). */ + + + +/* Minimum and maximum values a `signed long int' can hold. + (Same as `int'). */ + + + + + +/* Maximum value an `unsigned long int' can hold. (Minimum is 0). */ +# 197 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include-fixed/limits.h" 3 4 +/* This administrivia gets added to the end of limits.h + if the system has its own version of limits.h. */ +# 139 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/limits.h" 2 3 4 + + + +/* The maximum number of repeated occurrences of a regular expression + * permitted when using the interval notation `\{M,N\}'. */ +# 40 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/ctype.h" 2 3 4 + + + + + +extern "C" { + +/* + * The small ctype code does not support locales or extended character sets. It also breaks + * libstdc++'s ctype implementation, so just skip it for c++ + */ +# 59 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/ctype.h" 3 4 +/* + * The default ctype style depends upon whether we are optimizing for + * size and whether the library supports locale-specific ctype data + */ +# 71 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/ctype.h" 3 4 +int isalnum (int c); +int isalpha (int c); +int iscntrl (int c); +int isdigit (int c); +int isgraph (int c); +int islower (int c); +int isprint (int c); +int ispunct (int c); +int isspace (int c); +int isupper (int c); +int isxdigit (int c); +int tolower (int c); +int toupper (int c); + + +int isblank (int c); + +extern inline /* convert to C++ keyword */ int __attribute((gnu_inline, always_inline)) isblank(int c) { + return c == ' ' || c == '\t'; +} +# 243 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/ctype.h" 3 4 +extern const char _ctype_[]; +# 332 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/ctype.h" 3 4 +} +# 30 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/String.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/deprecated-avr-comp/avr/pgmspace.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/deprecated-avr-comp/avr/pgmspace.h" +/* + pgmspace.h - Definitions for compatibility with AVR pgmspace macros + + Copyright (c) 2015 Arduino LLC + + Based on work of Paul Stoffregen on Teensy 3 (http://pjrc.com) + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE +*/ + + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/inttypes.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/inttypes.h" 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ + +/** + * @file inttypes.h + */ + + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/newlib.h" 1 3 4 +/* + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright © 2019 Keith Packard + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials provided + * with the distribution. + * + * 3. Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + * OF THE POSSIBILITY OF SUCH DAMAGE. + */ +# 17 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/inttypes.h" 2 3 4 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/config.h" 1 3 4 +/* +Copyright (c) 1982, 1986, 1993 +The Regents of the University of California. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. +3. Neither the name of the University nor the names of its contributors +may be used to endorse or promote products derived from this software +without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + */ +# 18 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/inttypes.h" 2 3 4 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/_intsup.h" 1 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ +# 19 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/inttypes.h" 2 3 4 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/_ansi.h" 1 3 4 +/* +Copyright (c) 1991, 1993 +The Regents of the University of California. All rights reserved. +c) UNIX System Laboratories, Inc. +All or some portions of this file are derived from material licensed +to the University of California by American Telephone and Telegraph +Co. or Unix System Laboratories, Inc. and are reproduced herein with +the permission of UNIX System Laboratories, Inc. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. +3. Neither the name of the University nor the names of its contributors +may be used to endorse or promote products derived from this software +without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + */ +/* Provide support for both ANSI and non-ANSI environments. */ + +/* To get a strict ANSI C environment, define macro __STRICT_ANSI__. This will + "comment out" the non-ANSI parts of the ANSI header files (non-ANSI header + files aren't affected). */ +# 20 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/inttypes.h" 2 3 4 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 1 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ +# 21 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/inttypes.h" 2 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 1 3 4 +/* Copyright (C) 1989-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.17 Common definitions + */ + + + + + + +/* Any one of these symbols __need_* means that GNU libc + wants us just to define one data type. So don't define + the symbols that indicate this file's entire job has been done. */ +# 46 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* This avoids lossage on SunOS but only if stdtypes.h comes first. + There's no way to win with the other order! Sun lossage. */ +# 86 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* Sequent's header files use _PTRDIFF_T_ in some conflicting way. + Just ignore it. */ + + + + +/* On VxWorks, may have defined macros like + _TYPE_size_t which will typedef size_t. fixincludes patched the + vxTypesBase.h so that this macro is only defined if _GCC_SIZE_T is + not defined, and so that defining this macro defines _GCC_SIZE_T. + If we find that the macros are still defined at this point, we must + invoke them so that the type is defined as expected. */ +# 111 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* In case nobody has defined these types, but we aren't running under + GCC 2.00, make sure that __PTRDIFF_TYPE__, __SIZE_TYPE__, and + __WCHAR_TYPE__ have reasonable values. This can happen if the + parts of GCC is compiled by an older compiler, that actually + include gstddef.h, such as collect2. */ + +/* Signed type of difference of two pointers. */ + +/* Define this type if we are doing the whole job, + or if we want this type in particular. */ +# 157 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* If this symbol has done its job, get rid of it. */ + + + + +/* Unsigned type of `sizeof' something. */ + +/* Define this type if we are doing the whole job, + or if we want this type in particular. */ +# 241 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* Wide character type. + Locale-writers should change this as necessary to + be big enough to hold unique values not between 0 and 127, + and not (wchar_t) -1, for each defined multibyte character. */ + +/* Define this type if we are doing the whole job, + or if we want this type in particular. */ +# 396 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* A null pointer constant. */ +# 414 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* Offset of member MEMBER in a struct of type TYPE. */ +# 23 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/inttypes.h" 2 3 4 + + + + + + + +/* 8-bit types */ + + + + +/* NOTICE: scanning 8-bit types requires use of the hh specifier + * which is only supported on newlib platforms that + * are built with C99 I/O format support enabled. If the flag in + * newlib.h hasn't been set during configuration to indicate this, the 8-bit + * scanning format macros are disabled here as they result in undefined + * behaviour which can include memory overwrite. Overriding the flag after the + * library has been built is not recommended as it will expose the underlying + * undefined behaviour. + */ +# 59 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/inttypes.h" 3 4 +/* Macros below are only enabled for a newlib built with C99 I/O format support. */ +# 78 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/inttypes.h" 3 4 +/* Macros below are only enabled for a newlib built with C99 I/O format support. */ +# 96 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/inttypes.h" 3 4 +/* Macros below are only enabled for a newlib built with C99 I/O format support. */ +# 107 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/inttypes.h" 3 4 +/* 16-bit types */ +# 157 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/inttypes.h" 3 4 +/* 32-bit types */ +# 207 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/inttypes.h" 3 4 +/* 64-bit types */ +# 261 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/inttypes.h" 3 4 +/* max-bit types */ +# 286 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/inttypes.h" 3 4 +/* ptr types */ +# 312 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/inttypes.h" 3 4 +typedef struct { + intmax_t quot; + intmax_t rem; +} imaxdiv_t; + + +extern "C" { + + +extern intmax_t imaxabs(intmax_t); +extern imaxdiv_t imaxdiv(intmax_t __numer, intmax_t __denomer); +extern intmax_t strtoimax(const char *__restrict, char **__restrict, int); +extern uintmax_t strtoumax(const char *__restrict, char **__restrict, int); +extern intmax_t wcstoimax(const wchar_t *__restrict, wchar_t **__restrict, int); +extern uintmax_t wcstoumax(const wchar_t *__restrict, wchar_t **__restrict, int); +# 336 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/inttypes.h" 3 4 +} +# 31 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/deprecated-avr-comp/avr/pgmspace.h" 2 +# 40 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/deprecated-avr-comp/avr/pgmspace.h" + +# 40 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/deprecated-avr-comp/avr/pgmspace.h" +typedef void prog_void; +typedef char prog_char; +typedef unsigned char prog_uchar; +typedef int8_t prog_int8_t; +typedef uint8_t prog_uint8_t; +typedef int16_t prog_int16_t; +typedef uint16_t prog_uint16_t; +typedef int32_t prog_int32_t; +typedef uint32_t prog_uint32_t; +typedef int64_t prog_int64_t; +typedef uint64_t prog_uint64_t; + +typedef const void* int_farptr_t; +typedef const void* uint_farptr_t; +# 34 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/String.h" 2 + + +namespace arduino { + +// When compiling programs with this class, the following gcc parameters +// dramatically increase performance and memory (RAM) efficiency, typically +// with little or no increase in code size. +// -felide-constructors +// -std=c++0x + +class __FlashStringHelper; + + +// An inherited class for holding the result of a concatenation. These +// result objects are assumed to be writable by subsequent concatenations. +class StringSumHelper; + +// The string class +class String +{ + friend class StringSumHelper; + // use a function pointer to allow for "if (s)" without the + // complications of an operator bool(). for more information, see: + // http://www.artima.com/cppsource/safebool.html + typedef void (String::*StringIfHelperType)() const; + void StringIfHelper() const {} + + static size_t const FLT_MAX_DECIMAL_PLACES = 10; + static size_t const DBL_MAX_DECIMAL_PLACES = FLT_MAX_DECIMAL_PLACES; + +public: + // constructors + // creates a copy of the initial value. + // if the initial value is null or invalid, or if memory allocation + // fails, the string will be marked as invalid (i.e. "if (s)" will + // be false). + String(const char *cstr = ""); + String(const char *cstr, unsigned int length); + String(const uint8_t *cstr, unsigned int length) : String((const char*)cstr, length) {} + String(const String &str); + String(const __FlashStringHelper *str); + String(String &&rval); + explicit String(char c); + explicit String(unsigned char, unsigned char base=10); + explicit String(int, unsigned char base=10); + explicit String(unsigned int, unsigned char base=10); + explicit String(long, unsigned char base=10); + explicit String(unsigned long, unsigned char base=10); + explicit String(float, unsigned char decimalPlaces=2); + explicit String(double, unsigned char decimalPlaces=2); + ~String(void); + + // memory management + // return true on success, false on failure (in which case, the string + // is left unchanged). reserve(0), if successful, will validate an + // invalid string (i.e., "if (s)" will be true afterwards) + bool reserve(unsigned int size); + inline unsigned int length(void) const {return len;} + inline bool isEmpty(void) const { return length() == 0; } + + // creates a copy of the assigned value. if the value is null or + // invalid, or if the memory allocation fails, the string will be + // marked as invalid ("if (s)" will be false). + String & operator = (const String &rhs); + String & operator = (const char *cstr); + String & operator = (const __FlashStringHelper *str); + String & operator = (String &&rval); + + // concatenate (works w/ built-in types) + + // returns true on success, false on failure (in which case, the string + // is left unchanged). if the argument is null or invalid, the + // concatenation is considered unsuccessful. + bool concat(const String &str); + bool concat(const char *cstr); + bool concat(const char *cstr, unsigned int length); + bool concat(const uint8_t *cstr, unsigned int length) {return concat((const char*)cstr, length);} + bool concat(char c); + bool concat(unsigned char num); + bool concat(int num); + bool concat(unsigned int num); + bool concat(long num); + bool concat(unsigned long num); + bool concat(float num); + bool concat(double num); + bool concat(const __FlashStringHelper * str); + + // if there's not enough memory for the concatenated value, the string + // will be left unchanged (but this isn't signalled in any way) + String & operator += (const String &rhs) {concat(rhs); return (*this);} + String & operator += (const char *cstr) {concat(cstr); return (*this);} + String & operator += (char c) {concat(c); return (*this);} + String & operator += (unsigned char num) {concat(num); return (*this);} + String & operator += (int num) {concat(num); return (*this);} + String & operator += (unsigned int num) {concat(num); return (*this);} + String & operator += (long num) {concat(num); return (*this);} + String & operator += (unsigned long num) {concat(num); return (*this);} + String & operator += (float num) {concat(num); return (*this);} + String & operator += (double num) {concat(num); return (*this);} + String & operator += (const __FlashStringHelper *str){concat(str); return (*this);} + + friend StringSumHelper & operator + (const StringSumHelper &lhs, const String &rhs); + friend StringSumHelper & operator + (const StringSumHelper &lhs, const char *cstr); + friend StringSumHelper & operator + (const StringSumHelper &lhs, char c); + friend StringSumHelper & operator + (const StringSumHelper &lhs, unsigned char num); + friend StringSumHelper & operator + (const StringSumHelper &lhs, int num); + friend StringSumHelper & operator + (const StringSumHelper &lhs, unsigned int num); + friend StringSumHelper & operator + (const StringSumHelper &lhs, long num); + friend StringSumHelper & operator + (const StringSumHelper &lhs, unsigned long num); + friend StringSumHelper & operator + (const StringSumHelper &lhs, float num); + friend StringSumHelper & operator + (const StringSumHelper &lhs, double num); + friend StringSumHelper & operator + (const StringSumHelper &lhs, const __FlashStringHelper *rhs); + + // comparison (only works w/ Strings and "strings") + operator StringIfHelperType() const { return buffer ? &String::StringIfHelper : 0; } + int compareTo(const String &s) const; + int compareTo(const char *cstr) const; + bool equals(const String &s) const; + bool equals(const char *cstr) const; + + friend bool operator == (const String &a, const String &b) { return a.equals(b); } + friend bool operator == (const String &a, const char *b) { return a.equals(b); } + friend bool operator == (const char *a, const String &b) { return b == a; } + friend bool operator < (const String &a, const String &b) { return a.compareTo(b) < 0; } + friend bool operator < (const String &a, const char *b) { return a.compareTo(b) < 0; } + friend bool operator < (const char *a, const String &b) { return b.compareTo(a) > 0; } + + friend bool operator != (const String &a, const String &b) { return !(a == b); } + friend bool operator != (const String &a, const char *b) { return !(a == b); } + friend bool operator != (const char *a, const String &b) { return !(a == b); } + friend bool operator > (const String &a, const String &b) { return b < a; } + friend bool operator > (const String &a, const char *b) { return b < a; } + friend bool operator > (const char *a, const String &b) { return b < a; } + friend bool operator <= (const String &a, const String &b) { return !(b < a); } + friend bool operator <= (const String &a, const char *b) { return !(b < a); } + friend bool operator <= (const char *a, const String &b) { return !(b < a); } + friend bool operator >= (const String &a, const String &b) { return !(a < b); } + friend bool operator >= (const String &a, const char *b) { return !(a < b); } + friend bool operator >= (const char *a, const String &b) { return !(a < b); } + + bool equalsIgnoreCase(const String &s) const; + bool startsWith( const String &prefix) const; + bool startsWith(const String &prefix, unsigned int offset) const; + bool endsWith(const String &suffix) const; + + // character access + char charAt(unsigned int index) const; + void setCharAt(unsigned int index, char c); + char operator [] (unsigned int index) const; + char& operator [] (unsigned int index); + void getBytes(unsigned char *buf, unsigned int bufsize, unsigned int index=0) const; + void toCharArray(char *buf, unsigned int bufsize, unsigned int index=0) const + { getBytes((unsigned char *)buf, bufsize, index); } + const char* c_str() const { return buffer; } + char* begin() { return buffer; } + char* end() { return buffer + length(); } + const char* begin() const { return c_str(); } + const char* end() const { return c_str() + length(); } + + // search + int indexOf( char ch ) const; + int indexOf( char ch, unsigned int fromIndex ) const; + int indexOf( const String &str ) const; + int indexOf( const String &str, unsigned int fromIndex ) const; + int lastIndexOf( char ch ) const; + int lastIndexOf( char ch, unsigned int fromIndex ) const; + int lastIndexOf( const String &str ) const; + int lastIndexOf( const String &str, unsigned int fromIndex ) const; + String substring( unsigned int beginIndex ) const { return substring(beginIndex, len); }; + String substring( unsigned int beginIndex, unsigned int endIndex ) const; + + // modification + void replace(char find, char replace); + void replace(const String& find, const String& replace); + void remove(unsigned int index); + void remove(unsigned int index, unsigned int count); + void toLowerCase(void); + void toUpperCase(void); + void trim(void); + + // parsing/conversion + long toInt(void) const; + float toFloat(void) const; + double toDouble(void) const; + +protected: + char *buffer; // the actual char array + unsigned int capacity; // the array length minus one (for the '\0') + unsigned int len; // the String length (not counting the '\0') +protected: + void init(void); + void invalidate(void); + bool changeBuffer(unsigned int maxStrLen); + + // copy and move + String & copy(const char *cstr, unsigned int length); + String & copy(const __FlashStringHelper *pstr, unsigned int length); + void move(String &rhs); +}; + +class StringSumHelper : public String +{ +public: + StringSumHelper(const String &s) : String(s) {} + StringSumHelper(const char *p) : String(p) {} + StringSumHelper(char c) : String(c) {} + StringSumHelper(unsigned char num) : String(num) {} + StringSumHelper(int num) : String(num) {} + StringSumHelper(unsigned int num) : String(num) {} + StringSumHelper(long num) : String(num) {} + StringSumHelper(unsigned long num) : String(num) {} + StringSumHelper(float num) : String(num) {} + StringSumHelper(double num) : String(num) {} +}; + +} // namespace arduino + +using arduino::__FlashStringHelper; +using arduino::String; +# 25 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/IPAddress.h" 2 + + + + +// forward declarations of global name space friend classes +class EthernetClass; +class DhcpClass; +class DNSClient; + +namespace arduino { + +// A class to make it easier to handle and pass around IP addresses + +enum IPType { + IPv4, + IPv6 +}; + +class IPAddress : public Printable { +private: + union { + uint8_t bytes[16]; + uint32_t dword[4]; + } _address; + IPType _type; + + // Access the raw byte array containing the address. Because this returns a pointer + // to the internal structure rather than a copy of the address this function should only + // be used when you know that the usage of the returned uint8_t* will be transient and not + // stored. + uint8_t* raw_address() { return _type == IPv4 ? &_address.bytes[12] : _address.bytes; } + +public: + // Constructors + + // Default IPv4 + IPAddress(); + IPAddress(IPType ip_type); + IPAddress(uint8_t first_octet, uint8_t second_octet, uint8_t third_octet, uint8_t fourth_octet); + IPAddress(uint8_t o1, uint8_t o2, uint8_t o3, uint8_t o4, uint8_t o5, uint8_t o6, uint8_t o7, uint8_t o8, uint8_t o9, uint8_t o10, uint8_t o11, uint8_t o12, uint8_t o13, uint8_t o14, uint8_t o15, uint8_t o16); + // IPv4; see implementation note + IPAddress(uint32_t address); + // Default IPv4 + IPAddress(const uint8_t *address); + IPAddress(IPType ip_type, const uint8_t *address); + // If IPv4 fails tries IPv6 see fromString function + IPAddress(const char *address); + + bool fromString(const char *address); + bool fromString(const String &address) { return fromString(address.c_str()); } + + // Overloaded cast operator to allow IPAddress objects to be used where a uint32_t is expected + // NOTE: IPv4 only; see implementation note + operator uint32_t() const { return _type == IPv4 ? _address.dword[3] : 0; }; + + bool operator==(const IPAddress& addr) const; + bool operator!=(const IPAddress& addr) const { return !(*this == addr); }; + + // NOTE: IPv4 only; we don't know the length of the pointer + bool operator==(const uint8_t* addr) const; + + // Overloaded index operator to allow getting and setting individual octets of the address + uint8_t operator[](int index) const; + uint8_t& operator[](int index); + + // Overloaded copy operators to allow initialisation of IPAddress objects from other types + // NOTE: IPv4 only + IPAddress& operator=(const uint8_t *address); + // NOTE: IPv4 only; see implementation note + IPAddress& operator=(uint32_t address); + // If IPv4 fails tries IPv6 see fromString function + IPAddress& operator=(const char *address); + + virtual size_t printTo(Print& p) const; + String toString() const; + + IPType type() const { return _type; } + + friend class UDP; + friend class Client; + friend class Server; + + friend ::EthernetClass; + friend ::DhcpClass; + friend ::DNSClient; + +protected: + bool fromString4(const char *address); + bool fromString6(const char *address); + String toString4() const; + String toString6() const; +}; + +extern const IPAddress IN6ADDR_ANY; +extern const IPAddress INADDR_NONE; +} + +using arduino::IPAddress; +# 31 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/ArduinoAPI.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/Print.h" 1 +/* + Print.h - Base class that provides print() and println() + Copyright (c) 2016 Arduino LLC. All right reserved. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +*/ + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/inttypes.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/inttypes.h" 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ + +/** + * @file inttypes.h + */ +# 23 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/Print.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdio.h" 1 3 4 +/* Copyright (c) 2002, 2005, 2007 Joerg Wunsch + All rights reserved. + + Portions of documentation Copyright (c) 1990, 1991, 1993 + The Regents of the University of California. + + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + * Neither the name of the copyright holders nor the names of + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + + $Id: stdio.h 2527 2016-10-27 20:41:22Z joerg_wunsch $ +*/ + + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/_ansi.h" 1 3 4 +/* +Copyright (c) 1991, 1993 +The Regents of the University of California. All rights reserved. +c) UNIX System Laboratories, Inc. +All or some portions of this file are derived from material licensed +to the University of California by American Telephone and Telegraph +Co. or Unix System Laboratories, Inc. and are reproduced herein with +the permission of UNIX System Laboratories, Inc. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. +3. Neither the name of the University nor the names of its contributors +may be used to endorse or promote products derived from this software +without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + */ +/* Provide support for both ANSI and non-ANSI environments. */ + +/* To get a strict ANSI C environment, define macro __STRICT_ANSI__. This will + "comment out" the non-ANSI parts of the ANSI header files (non-ANSI header + files aren't affected). */ +# 43 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdio.h" 2 3 4 + + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/cdefs.h" 1 3 4 +/* libc/sys/linux/sys/cdefs.h - Helper macros for K&R vs. ANSI C compat. */ + +/* Written 2000 by Werner Almesberger */ + +/*- + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 1991, 1993 + * The Regents of the University of California. All rights reserved. + * + * This code is derived from software contributed to Berkeley by + * Berkeley Software Design, Inc. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * @(#)cdefs.h 8.8 (Berkeley) 1/9/95 + * $FreeBSD$ + */ +# 48 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdio.h" 2 3 4 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 1 3 4 +/* Copyright (C) 1989-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.17 Common definitions + */ + + + + + + +/* Any one of these symbols __need_* means that GNU libc + wants us just to define one data type. So don't define + the symbols that indicate this file's entire job has been done. */ +# 46 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* This avoids lossage on SunOS but only if stdtypes.h comes first. + There's no way to win with the other order! Sun lossage. */ +# 86 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* Sequent's header files use _PTRDIFF_T_ in some conflicting way. + Just ignore it. */ + + + + +/* On VxWorks, may have defined macros like + _TYPE_size_t which will typedef size_t. fixincludes patched the + vxTypesBase.h so that this macro is only defined if _GCC_SIZE_T is + not defined, and so that defining this macro defines _GCC_SIZE_T. + If we find that the macros are still defined at this point, we must + invoke them so that the type is defined as expected. */ +# 111 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* In case nobody has defined these types, but we aren't running under + GCC 2.00, make sure that __PTRDIFF_TYPE__, __SIZE_TYPE__, and + __WCHAR_TYPE__ have reasonable values. This can happen if the + parts of GCC is compiled by an older compiler, that actually + include gstddef.h, such as collect2. */ + +/* Signed type of difference of two pointers. */ + +/* Define this type if we are doing the whole job, + or if we want this type in particular. */ +# 157 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* If this symbol has done its job, get rid of it. */ + + + + +/* Unsigned type of `sizeof' something. */ + +/* Define this type if we are doing the whole job, + or if we want this type in particular. */ +# 241 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* Wide character type. + Locale-writers should change this as necessary to + be big enough to hold unique values not between 0 and 127, + and not (wchar_t) -1, for each defined multibyte character. */ + +/* Define this type if we are doing the whole job, + or if we want this type in particular. */ +# 396 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* A null pointer constant. */ +# 414 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* Offset of member MEMBER in a struct of type TYPE. */ +# 49 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdio.h" 2 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/inttypes.h" 1 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ + +/** + * @file inttypes.h + */ +# 51 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdio.h" 2 3 4 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdarg.h" 1 3 4 +/* Copyright (C) 1989-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.15 Variable arguments + */ +# 36 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdarg.h" 3 4 +/* Define __gnuc_va_list. */ + + + +typedef __builtin_va_list __gnuc_va_list; + + +/* Define the standard macros for the user, + if this invocation was from the user program. */ +# 56 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdarg.h" 3 4 +/* Define va_list, if desired, from __gnuc_va_list. */ +/* We deliberately do not define va_list when called from + stdio.h, because ANSI C says that stdio.h is not supposed to define + va_list. stdio.h needs to have access to that data type, + but must not use that name. It should use the name __gnuc_va_list, + which is safe because it is reserved for the implementation. */ +# 86 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdarg.h" 3 4 +/* The macro _VA_LIST_ is the same thing used by this file in Ultrix. + But on BSD NET2 we must not test or define or undef it. + (Note that the comments in NET 2's ansi.h + are incorrect for _VA_LIST_--see stdio.h!) */ + +/* The macro _VA_LIST_DEFINED is used in Windows NT 3.5 */ + +/* The macro _VA_LIST is used in SCO Unix 3.2. */ + +/* The macro _VA_LIST_T_H is used in the Bull dpx2 */ + +/* The macro __va_list__ is used by BeOS. */ + +typedef __gnuc_va_list va_list; +# 52 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdio.h" 2 3 4 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/types.h" 1 3 4 +/* +Copyright (c) 1982, 1986, 1993 +The Regents of the University of California. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. +3. Neither the name of the University nor the names of its contributors +may be used to endorse or promote products derived from this software +without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + */ +/* unified sys/types.h: + start with sef's sysvi386 version. + merge go32 version -- a few ifdefs. + h8300hms, h8300xray, and sysvnecv70 disagree on the following types: + + typedef int gid_t; + typedef int uid_t; + typedef int dev_t; + typedef int ino_t; + typedef int mode_t; + typedef int caddr_t; + + however, these aren't "reasonable" values, the sysvi386 ones make far + more sense, and should work sufficiently well (in particular, h8300 + doesn't have a stat, and the necv70 doesn't matter.) -- eichin + */ + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/_ansi.h" 1 3 4 +/* +Copyright (c) 1991, 1993 +The Regents of the University of California. All rights reserved. +c) UNIX System Laboratories, Inc. +All or some portions of this file are derived from material licensed +to the University of California by American Telephone and Telegraph +Co. or Unix System Laboratories, Inc. and are reproduced herein with +the permission of UNIX System Laboratories, Inc. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. +3. Neither the name of the University nor the names of its contributors +may be used to endorse or promote products derived from this software +without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + */ +/* Provide support for both ANSI and non-ANSI environments. */ + +/* To get a strict ANSI C environment, define macro __STRICT_ANSI__. This will + "comment out" the non-ANSI parts of the ANSI header files (non-ANSI header + files aren't affected). */ +# 49 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/types.h" 2 3 4 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/cdefs.h" 1 3 4 +/* libc/sys/linux/sys/cdefs.h - Helper macros for K&R vs. ANSI C compat. */ + +/* Written 2000 by Werner Almesberger */ + +/*- + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 1991, 1993 + * The Regents of the University of California. All rights reserved. + * + * This code is derived from software contributed to Berkeley by + * Berkeley Software Design, Inc. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * @(#)cdefs.h 8.8 (Berkeley) 1/9/95 + * $FreeBSD$ + */ +# 50 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/types.h" 2 3 4 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/_types.h" 1 3 4 +/* + * Copyright (c) 2005 Ralf Corsepious + */ + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/_default_types.h" 1 3 4 +/* + * Copyright (c) 2007 Patrick Mansfield + */ +# 8 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/_types.h" 2 3 4 +# 51 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/types.h" 2 3 4 + +/* BSD types permitted by POSIX and always exposed as in Glibc. Only provided + for backward compatibility with BSD code. The uintN_t standard types should + be preferred in new code. */ + +typedef __uint8_t u_int8_t; + + +typedef __uint16_t u_int16_t; + + +typedef __uint32_t u_int32_t; + + +typedef __uint64_t u_int64_t; + +typedef __intptr_t register_t; + + + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/_types.h" 1 3 4 +/* +Copyright (c) 1982, 1986, 1993 +The Regents of the University of California. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. +3. Neither the name of the University nor the names of its contributors +may be used to endorse or promote products derived from this software +without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + */ +/* ANSI C namespace clean utility typedefs */ + +/* This file defines various typedefs needed by the system calls that support + the C library. Basically, they're just the POSIX versions with an '_' + prepended. Targets shall use to define their own + internal types if desired. + + There are three define patterns used for type definitions. Lets assume + xyz_t is a user type. + + The internal type definition uses __machine_xyz_t_defined. It is defined by + to disable a default definition in . It + must not be used in other files. + + User type definitions are guarded by __xyz_t_defined in glibc and + _XYZ_T_DECLARED in BSD compatible systems. +*/ + + + + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 1 3 4 +/* Copyright (C) 1989-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.17 Common definitions + */ + + + + + + +/* Any one of these symbols __need_* means that GNU libc + wants us just to define one data type. So don't define + the symbols that indicate this file's entire job has been done. */ +# 46 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* This avoids lossage on SunOS but only if stdtypes.h comes first. + There's no way to win with the other order! Sun lossage. */ +# 86 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* Sequent's header files use _PTRDIFF_T_ in some conflicting way. + Just ignore it. */ + + + + +/* On VxWorks, may have defined macros like + _TYPE_size_t which will typedef size_t. fixincludes patched the + vxTypesBase.h so that this macro is only defined if _GCC_SIZE_T is + not defined, and so that defining this macro defines _GCC_SIZE_T. + If we find that the macros are still defined at this point, we must + invoke them so that the type is defined as expected. */ +# 111 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* In case nobody has defined these types, but we aren't running under + GCC 2.00, make sure that __PTRDIFF_TYPE__, __SIZE_TYPE__, and + __WCHAR_TYPE__ have reasonable values. This can happen if the + parts of GCC is compiled by an older compiler, that actually + include gstddef.h, such as collect2. */ + +/* Signed type of difference of two pointers. */ + +/* Define this type if we are doing the whole job, + or if we want this type in particular. */ +# 157 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* If this symbol has done its job, get rid of it. */ + + + + +/* Unsigned type of `sizeof' something. */ + +/* Define this type if we are doing the whole job, + or if we want this type in particular. */ +# 241 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* Wide character type. + Locale-writers should change this as necessary to + be big enough to hold unique values not between 0 and 127, + and not (wchar_t) -1, for each defined multibyte character. */ + +/* Define this type if we are doing the whole job, + or if we want this type in particular. */ +# 359 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +typedef unsigned int wint_t; +# 396 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* A null pointer constant. */ +# 414 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* Offset of member MEMBER in a struct of type TYPE. */ +# 53 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/_types.h" 2 3 4 + +/* The Arm Compiler doesn't define wint_t as part of stddef.h so + * define it here. + */ + + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/newlib.h" 1 3 4 +/* + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright © 2019 Keith Packard + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials provided + * with the distribution. + * + * 3. Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + * OF THE POSSIBILITY OF SUCH DAMAGE. + */ +# 62 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/_types.h" 2 3 4 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/config.h" 1 3 4 +/* +Copyright (c) 1982, 1986, 1993 +The Regents of the University of California. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. +3. Neither the name of the University nor the names of its contributors +may be used to endorse or promote products derived from this software +without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + */ +# 63 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/_types.h" 2 3 4 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/_types.h" 1 3 4 +/* + * Copyright (c) 2005 Ralf Corsepious + */ +# 64 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/_types.h" 2 3 4 + + +typedef long __blkcnt_t; +typedef __int64_t __blkcnt64_t; + + + +typedef long __blksize_t; + + + +typedef __uint64_t __fsblkcnt_t; + + + +typedef __uint32_t __fsfilcnt_t; + + + +typedef long _off_t; + + + + + +typedef int __pid_t; + + + + + + +typedef short __dev_t; + + + + + + + +typedef unsigned short __uid_t; + + + + + + +typedef unsigned short __gid_t; + + + + +typedef __uint32_t __id_t; + + + + + + + +typedef unsigned short __ino_t; + +typedef __uint64_t __ino64_t; +# 140 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/_types.h" 3 4 +typedef __uint32_t __mode_t; + + + + + +__extension__ typedef long long _off64_t; + + + + + +typedef _off_t __off_t; +typedef __uint64_t __off64_t; + + +typedef _off64_t __loff_t; + + +typedef long __key_t; + + +/* + * We need fpos_t for the following, but it doesn't have a leading "_", + * so we use _fpos_t instead. + */ + +typedef long _fpos_t; /* XXX must match off_t in */ + /* (and must be `long' for now) */ +# 177 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/_types.h" 3 4 +/* Defined by GCC provided */ + + + + +typedef unsigned int __size_t; +# 194 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/_types.h" 3 4 +/* If __SIZE_TYPE__ is defined (gcc) we define ssize_t based on size_t. + We simply change "unsigned" to "signed" for this single definition + to make sure ssize_t and size_t only differ by their signedness. */ + +typedef signed int _ssize_t; +# 209 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/_types.h" 3 4 +typedef _ssize_t __ssize_t; + + +/* Conversion state information. */ +typedef struct +{ + int __count; + union + { + wint_t __wch; + unsigned char __wchb[4]; + } __value; /* Value so far. */ +} _mbstate_t; + + + +/* Iconv descriptor type */ +typedef void *_iconv_t; + + + + + + +typedef unsigned long /* clock() */ __clock_t; + + + + + + +typedef __int_least64_t __time_t; + + + + + +typedef unsigned long __clockid_t; + + +typedef long __daddr_t; + + + +typedef unsigned long __timer_t; + + +typedef __uint8_t __sa_family_t; + + + +typedef __uint32_t __socklen_t; + + +typedef __int32_t __nl_item; +typedef unsigned short __nlink_t; +typedef long __suseconds_t; /* microseconds (signed) */ +typedef unsigned long __useconds_t; /* microseconds (unsigned) */ +# 74 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/types.h" 2 3 4 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/_stdint.h" 1 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ +# 75 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/types.h" 2 3 4 +# 124 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/types.h" 3 4 +typedef __blkcnt_t blkcnt_t; + + + + +typedef __blksize_t blksize_t; + + + + +typedef unsigned long /* clock() */ clock_t; + + + + + +typedef __int_least64_t time_t; + + + + +typedef __daddr_t daddr_t; + + +typedef char * caddr_t; + + + + +typedef __fsblkcnt_t fsblkcnt_t; +typedef __fsfilcnt_t fsfilcnt_t; + + + + +typedef __id_t id_t; /* can hold a uid_t or pid_t */ + + + + +typedef __ino_t ino_t; /* inode number */ +# 174 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/types.h" 3 4 +/* + * All these should be machine specific - right now they are all broken. + * However, for all of Cygnus' embedded targets, we want them to all be + * the same. Otherwise things like sizeof (struct stat) might depend on + * how the file was compiled (e.g. -mint16 vs -mint32, etc.). + */ + + +typedef __off_t off_t; /* file offset */ + + + +typedef __dev_t dev_t; /* device number or struct cdev */ + + + +typedef __uid_t uid_t; /* user id */ + + + +typedef __gid_t gid_t; /* group id */ + + + + +typedef __pid_t pid_t; /* process id */ + + + + +typedef __key_t key_t; /* IPC key */ + + + + +typedef _ssize_t ssize_t; + + + + +typedef __mode_t mode_t; /* permissions */ + + + + +typedef __nlink_t nlink_t; /* link count */ + + + + +typedef __clockid_t clockid_t; + + + + + +typedef __timer_t timer_t; + + + + + +typedef __useconds_t useconds_t; /* microseconds (unsigned) */ + + + + +typedef __suseconds_t suseconds_t; + + + +typedef __int64_t sbintime_t; + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/features.h" 1 3 4 +/* + * Written by Joel Sherrill . + * + * COPYRIGHT (c) 1989-2014. + * + * On-Line Applications Research Corporation (OAR). + * + * Permission to use, copy, modify, and distribute this software for any + * purpose without fee is hereby granted, provided that this entire notice + * is included in all copies of any software which is or includes a copy + * or modification of this software. + * + * THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED + * WARRANTY. IN PARTICULAR, THE AUTHOR MAKES NO REPRESENTATION + * OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS + * SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE. + * + * $Id$ + */ +# 248 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/types.h" 2 3 4 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/types.h" 1 3 4 +/* +Copyright (C) 1991 DJ Delorie +All rights reserved. + +Redistribution, modification, and use in source and binary forms is permitted +provided that the above copyright notice and following paragraph are +duplicated in all such forms. + +This file is distributed WITHOUT ANY WARRANTY; without even the implied +warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + */ +/* + * Newlib targets may provide an own version of this file in their machine + * directory to add custom user types for . + */ +# 249 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/types.h" 2 3 4 + + + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 1 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ +# 255 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/types.h" 2 3 4 +# 53 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdio.h" 2 3 4 + +/* + * This is an internal structure of the library that is subject to be + * changed without warnings at any time. Please do *never* reference + * elements of it beyond by using the official interfaces provided. + */ +# 81 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdio.h" 3 4 +typedef uint16_t __ungetc_t; + + +struct __file { + __ungetc_t unget; /* ungetc() buffer */ + uint8_t flags; /* flags, see below */ +# 95 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdio.h" 3 4 + int (*put)(char, struct __file *); /* function to write one char to device */ + int (*get)(struct __file *); /* function to read one char from device */ + int (*flush)(struct __file *); /* function to flush output to device */ +}; + +/* + * This variant includes a 'close' function which is + * invoked from fclose when the __SCLOSE bit is set + */ +struct __file_close { + struct __file file; /* main file struct */ + int (*close)(struct __file *); /* function to close file */ +}; + + + + + + + +struct __file_ext { + struct __file_close cfile; /* close file struct */ + __off_t (*seek)(struct __file *, __off_t offset, int whence); + int (*setvbuf)(struct __file *, char *buf, int mode, size_t size); +}; +# 128 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdio.h" 3 4 +/*@{*/ +/** + \c FILE is the opaque structure that is passed around between the + various standard IO functions. +*/ +typedef struct __file __FILE; + +typedef __FILE FILE; + + + +/** + This symbol is defined when stdin/stdout/stderr are global + variables. When undefined, the old __iob array is used which + contains the pointers instead +*/ + + +extern FILE *const stdin; +extern FILE *const stdout; +extern FILE *const stderr; + +/* The stdin, stdout, and stderr symbols are described as macros in the C + * standard. */ +# 174 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdio.h" 3 4 +/** + * Return code for an error condition during device read. + * + * To be used in the get function of fdevopen(). + */ + + +/** + * Return code for an end-of-file condition during device read. + * + * To be used in the get function of fdevopen(). + */ +# 197 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdio.h" 3 4 +extern "C" { + + +FILE *fdevopen(int (*__put)(char, FILE*), int (*__get)(FILE*), int(*__flush)(FILE *)); +int fclose(FILE *__stream); +int fflush(FILE *stream); +# 220 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdio.h" 3 4 +int fputc(int __c, FILE *__stream); +int putc(int __c, FILE *__stream); +int putchar(int __c); + + + +int printf(const char *__fmt, ...) __attribute__((__format__ (printf, 1, 2))); +int fprintf(FILE *__stream, const char *__fmt, ...) __attribute__((__format__ (printf, 2, 3))); +int vprintf(const char *__fmt, va_list __ap) __attribute__((__format__ (printf, 1, 0))); +int vfprintf(FILE *__stream, const char *__fmt, va_list __ap) __attribute__((__format__ (printf, 2, 0))); +int sprintf(char *__s, const char *__fmt, ...) __attribute__((__format__ (printf, 2, 3))); +int snprintf(char *__s, size_t __n, const char *__fmt, ...) __attribute__((__format__ (printf, 3, 4))); +int vsprintf(char *__s, const char *__fmt, va_list ap) __attribute__((__format__ (printf, 2, 0))); +int vsnprintf(char *__s, size_t __n, const char *__fmt, va_list ap) __attribute__((__format__ (printf, 3, 0))); +int asprintf(char **strp, const char *fmt, ...) __attribute__((__format__ (printf, 2, 3))); +int vasprintf(char **strp, const char *fmt, va_list ap) __attribute__((__format__ (printf, 2, 0))); + +int fputs(const char *__str, FILE *__stream); +int puts(const char *__str); +size_t fwrite(const void *__ptr, size_t __size, size_t __nmemb, + FILE *__stream); + +int fgetc(FILE *__stream); +int getc(FILE *__stream); +int getchar(void); + + +int ungetc(int __c, FILE *__stream); + +int scanf(const char *__fmt, ...) __attribute__((__format__ (scanf, 1, 2))); +int fscanf(FILE *__stream, const char *__fmt, ...) __attribute__((__format__ (scanf, 2, 3))); +int vscanf(const char *__fmt, va_list __ap) __attribute__((__format__ (scanf, 1, 0))); +int vfscanf(FILE *__stream, const char *__fmt, va_list __ap) __attribute__((__format__ (scanf, 2, 0))); +int sscanf(const char *__buf, const char *__fmt, ...) __attribute__((__format__ (scanf, 2, 3))); +int vsscanf(const char *__buf, const char *__fmt, va_list ap) __attribute__((__format__ (scanf, 2, 0))); + +char *fgets(char *__str, int __size, FILE *__stream); +char *gets(char *__str); +size_t fread(void *__ptr, size_t __size, size_t __nmemb, + FILE *__stream); + +void clearerr(FILE *__stream); + +/* fast inlined version of clearerr() */ + + +int feof(FILE *__stream); + +/* fast inlined version of feof() */ + + +int ferror(FILE *__stream); + +/* fast inlined version of ferror() */ +# 286 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdio.h" 3 4 +/* only mentioned for libstdc++ support, not implemented in library */ + + + + +/* + * We don't have any way of knowing any underlying POSIX limits, + * so just use a reasonably small values here + */ + + + + + + + +__extension__ typedef _fpos_t fpos_t; +int fgetpos(FILE *stream, fpos_t *pos); +FILE *fopen(const char *path, const char *mode) __attribute__((__malloc__, __malloc__(fclose,1))); +FILE *freopen(const char *path, const char *mode, FILE *stream); +FILE *fdopen(int, const char *) __attribute__((__malloc__, __malloc__(fclose,1))); +FILE *fmemopen(void *buf, size_t size, const char *mode) __attribute__((__malloc__, __malloc__(fclose,1))); +int fseek(FILE *stream, long offset, int whence); +int fseeko(FILE *stream, __off_t offset, int whence); +int fsetpos(FILE *stream, fpos_t *pos); +long ftell(FILE *stream); +__off_t ftello(FILE *stream); +int fileno(FILE *); +void perror(const char *s); +int remove(const char *pathname); +int rename(const char *oldpath, const char *newpath); +void rewind(FILE *stream); +void setbuf(FILE *stream, char *buf); +void setbuffer(FILE *stream, char *buf, size_t size); +void setlinebuf(FILE *stream); +int setvbuf(FILE *stream, char *buf, int mode, size_t size); +FILE *tmpfile(void); +char *tmpnam (char *s); +ssize_t getline(char **__restrict lineptr, size_t *__restrict n, FILE *__restrict stream); +ssize_t getdelim(char **__restrict lineptr, size_t *__restrict n, int delim, FILE *__restrict stream); + +/* + * The format of tmpnam names is TXXXXXX, which works with mktemp + */ + + +/* + * tmpnam files are created in the current directory + */ + + +/* + * We don't have any way of knowing any underlying POSIX limits, + * so just use a reasonably small value here + */ + + + +} + + +/*@}*/ + +static inline /* convert to C++ keyword */ uint32_t +__printf_float(float f) +{ + union { + float f; + uint32_t u; + } u = { .f = f }; + return u.u; +} +# 24 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/Print.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/String.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/String.h" +/* + String library for Wiring & Arduino + ...mostly rewritten by Paul Stoffregen... + Copyright (c) 2009-10 Hernando Barragan. All right reserved. + Copyright 2011, Paul Stoffregen, paul@pjrc.com + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +*/ +# 26 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/Print.h" 2 + + + + + + + +namespace arduino { + +class Print +{ + private: + int write_error; + size_t printNumber(unsigned long, uint8_t); + size_t printULLNumber(unsigned long long, uint8_t); + size_t printFloat(double, int); + protected: + void setWriteError(int err = 1) { write_error = err; } + public: + Print() : write_error(0) {} + + int getWriteError() { return write_error; } + void clearWriteError() { setWriteError(0); } + + virtual size_t write(uint8_t) = 0; + size_t write(const char *str) { + if (str == +# 52 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/Print.h" 3 4 + __null +# 52 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/Print.h" + ) return 0; + return write((const uint8_t *)str, strlen(str)); + } + virtual size_t write(const uint8_t *buffer, size_t size); + size_t write(const char *buffer, size_t size) { + return write((const uint8_t *)buffer, size); + } + + // default to zero, meaning "a single write may block" + // should be overridden by subclasses with buffering + virtual int availableForWrite() { return 0; } + + size_t print(const __FlashStringHelper *); + size_t print(const String &); + size_t print(const char[]); + size_t print(char); + size_t print(unsigned char, int = 10); + size_t print(int, int = 10); + size_t print(unsigned int, int = 10); + size_t print(long, int = 10); + size_t print(unsigned long, int = 10); + size_t print(long long, int = 10); + size_t print(unsigned long long, int = 10); + size_t print(double, int = 2); + size_t print(const Printable&); + + size_t println(const __FlashStringHelper *); + size_t println(const String &s); + size_t println(const char[]); + size_t println(char); + size_t println(unsigned char, int = 10); + size_t println(int, int = 10); + size_t println(unsigned int, int = 10); + size_t println(long, int = 10); + size_t println(unsigned long, int = 10); + size_t println(long long, int = 10); + size_t println(unsigned long long, int = 10); + size_t println(double, int = 2); + size_t println(const Printable&); + size_t println(void); + + virtual void flush() { /* Empty implementation for backward compatibility */ } +}; + +} +using arduino::Print; +# 32 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/ArduinoAPI.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/PluggableUSB.h" 1 +/* + PluggableUSB.h + Copyright (c) 2015 Arduino LLC + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +*/ + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/USBAPI.h" 1 +/* + USBAPI.h + Copyright (c) 2005-2014 Arduino. All right reserved. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +*/ + + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ +# 24 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/USBAPI.h" 2 + + +# 25 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/USBAPI.h" +namespace arduino { +//================================================================================ +//================================================================================ +// Low level API + +typedef struct __attribute__((packed)) +{ + union { + uint8_t bmRequestType; + struct { + uint8_t direction : 5; + uint8_t type : 2; + uint8_t transferDirection : 1; + }; + }; + uint8_t bRequest; + uint8_t wValueL; + uint8_t wValueH; + uint16_t wIndex; + uint16_t wLength; +} USBSetup; + +} + +//================================================================================ +// USB APIs (C scope) +//================================================================================ + +int USB_SendControl(uint8_t flags, const void* d, int len); +int USB_RecvControl(void* d, int len); +int USB_RecvControlLong(void* d, int len); + +uint8_t USB_Available(uint8_t ep); +uint8_t USB_SendSpace(uint8_t ep); +int USB_Send(uint8_t ep, const void* data, int len); // blocking +int USB_Recv(uint8_t ep, void* data, int len); // non-blocking +int USB_Recv(uint8_t ep); // non-blocking +void USB_Flush(uint8_t ep); +# 24 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/PluggableUSB.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ +# 25 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/PluggableUSB.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 1 3 4 +/* Copyright (C) 1989-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.17 Common definitions + */ +# 26 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/PluggableUSB.h" 2 + + +# 27 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/PluggableUSB.h" +namespace arduino { + +class PluggableUSBModule { +public: + PluggableUSBModule(uint8_t numEps, uint8_t numIfs, unsigned int *epType) : + numEndpoints(numEps), numInterfaces(numIfs), endpointType(epType) + { } + +protected: + virtual bool setup(USBSetup& setup) = 0; + virtual int getInterface(uint8_t* interfaceCount) = 0; + virtual int getDescriptor(USBSetup& setup) = 0; + virtual uint8_t getShortName(char *name) { name[0] = 'A'+pluggedInterface; return 1; } + + uint8_t pluggedInterface; + uint8_t pluggedEndpoint; + + const uint8_t numEndpoints; + const uint8_t numInterfaces; + const unsigned int *endpointType; + + PluggableUSBModule *next = +# 48 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/PluggableUSB.h" 3 4 + __null +# 48 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/PluggableUSB.h" + ; + + friend class PluggableUSB_; +}; + +class PluggableUSB_ { +public: + PluggableUSB_(); + bool plug(PluggableUSBModule *node); + int getInterface(uint8_t* interfaceCount); + int getDescriptor(USBSetup& setup); + bool setup(USBSetup& setup); + void getShortName(char *iSerialNum); + +private: + uint8_t lastIf; + uint8_t lastEp; + PluggableUSBModule* rootNode; + uint8_t totalEP; +}; +} + +// core need to define +void* epBuffer(unsigned int n); // -> returns a pointer to the Nth element of the EP buffer structure + +// Replacement for global singleton. +// This function prevents static-initialization-order-fiasco +// https://isocpp.org/wiki/faq/ctors#static-init-order-on-first-use +arduino::PluggableUSB_& PluggableUSB(); +# 34 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/ArduinoAPI.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/Server.h" 1 +/* + Server.h - Base class that provides Server + Copyright (c) 2011 Adrian McEwen. All right reserved. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +*/ + + + + + +namespace arduino { + +class Server : public Print { + public: + virtual void begin() = 0; +}; + +} +# 35 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/ArduinoAPI.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/String.h" 1 +/* + String library for Wiring & Arduino + ...mostly rewritten by Paul Stoffregen... + Copyright (c) 2009-10 Hernando Barragan. All right reserved. + Copyright 2011, Paul Stoffregen, paul@pjrc.com + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +*/ +# 36 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/ArduinoAPI.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/Stream.h" 1 +/* + Stream.h - base class for character-based streams. + Copyright (c) 2010 David A. Mellis. All right reserved. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + parsing functions based on TextFinder library by Michael Margolis +*/ + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/inttypes.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/inttypes.h" 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ + +/** + * @file inttypes.h + */ +# 25 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/Stream.h" 2 + + + +# 27 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/Stream.h" +// compatibility macros for testing +/* +#define getInt() parseInt() +#define getInt(ignore) parseInt(ignore) +#define getFloat() parseFloat() +#define getFloat(ignore) parseFloat(ignore) +#define getString( pre_string, post_string, buffer, length) +readBytesBetween( pre_string, terminator, buffer, length) +*/ + +namespace arduino { + +// This enumeration provides the lookahead options for parseInt(), parseFloat() +// The rules set out here are used until either the first valid character is found +// or a time out occurs due to lack of input. +enum LookaheadMode{ + SKIP_ALL, // All invalid characters are ignored. + SKIP_NONE, // Nothing is skipped, and the stream is not touched unless the first waiting character is valid. + SKIP_WHITESPACE // Only tabs, spaces, line feeds & carriage returns are skipped. +}; + + + +class Stream : public Print +{ + protected: + unsigned long _timeout; // number of milliseconds to wait for the next char before aborting timed read + unsigned long _startMillis; // used for timeout measurement + int timedRead(); // private method to read stream with timeout + int timedPeek(); // private method to peek stream with timeout + int peekNextDigit(LookaheadMode lookahead, bool detectDecimal); // returns the next numeric digit in the stream or -1 if timeout + + public: + virtual int available() = 0; + virtual int read() = 0; + virtual int peek() = 0; + + Stream() {_timeout=1000;} + +// parsing methods + + void setTimeout(unsigned long timeout); // sets maximum milliseconds to wait for stream data, default is 1 second + unsigned long getTimeout(void) { return _timeout; } + + bool find(const char *target); // reads data from the stream until the target string is found + bool find(const uint8_t *target) { return find ((const char *)target); } + // returns true if target string is found, false if timed out (see setTimeout) + + bool find(const char *target, size_t length); // reads data from the stream until the target string of given length is found + bool find(const uint8_t *target, size_t length) { return find ((const char *)target, length); } + // returns true if target string is found, false if timed out + + bool find(char target) { return find (&target, 1); } + + bool findUntil(const char *target, const char *terminator); // as find but search ends if the terminator string is found + bool findUntil(const uint8_t *target, const char *terminator) { return findUntil((const char *)target, terminator); } + + bool findUntil(const char *target, size_t targetLen, const char *terminate, size_t termLen); // as above but search ends if the terminate string is found + bool findUntil(const uint8_t *target, size_t targetLen, const char *terminate, size_t termLen) {return findUntil((const char *)target, targetLen, terminate, termLen); } + + long parseInt(LookaheadMode lookahead = SKIP_ALL, char ignore = '\x01' /* a char not found in a valid ASCII numeric field*/); + // returns the first valid (long) integer value from the current position. + // lookahead determines how parseInt looks ahead in the stream. + // See LookaheadMode enumeration at the top of the file. + // Lookahead is terminated by the first character that is not a valid part of an integer. + // Once parsing commences, 'ignore' will be skipped in the stream. + + float parseFloat(LookaheadMode lookahead = SKIP_ALL, char ignore = '\x01' /* a char not found in a valid ASCII numeric field*/); + // float version of parseInt + + size_t readBytes( char *buffer, size_t length); // read chars from stream into buffer + size_t readBytes( uint8_t *buffer, size_t length) { return readBytes((char *)buffer, length); } + // terminates if length characters have been read or timeout (see setTimeout) + // returns the number of characters placed in the buffer (0 means no valid data found) + + size_t readBytesUntil( char terminator, char *buffer, size_t length); // as readBytes with terminator character + size_t readBytesUntil( char terminator, uint8_t *buffer, size_t length) { return readBytesUntil(terminator, (char *)buffer, length); } + // terminates if length characters have been read, timeout, or if the terminator character detected + // returns the number of characters placed in the buffer (0 means no valid data found) + + // Arduino String functions to be added here + String readString(); + String readStringUntil(char terminator); + + protected: + long parseInt(char ignore) { return parseInt(SKIP_ALL, ignore); } + float parseFloat(char ignore) { return parseFloat(SKIP_ALL, ignore); } + // These overload exists for compatibility with any class that has derived + // Stream and used parseFloat/Int with a custom ignore character. To keep + // the public API simple, these overload remains protected. + + struct MultiTarget { + const char *str; // string you're searching for + size_t len; // length of string you're searching for + size_t index; // index used by the search routine. + }; + + // This allows you to search for an arbitrary number of strings. + // Returns index of the target that is found first or -1 if timeout occurs. + int findMulti(struct MultiTarget *targets, int tCount); +}; + + + +} + +using arduino::Stream; +# 37 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/ArduinoAPI.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/Udp.h" 1 +/* + * Udp.cpp: Library to send/receive UDP packets. + * + * NOTE: UDP is fast, but has some important limitations (thanks to Warren Gray for mentioning these) + * 1) UDP does not guarantee the order in which assembled UDP packets are received. This + * might not happen often in practice, but in larger network topologies, a UDP + * packet can be received out of sequence. + * 2) UDP does not guard against lost packets - so packets *can* disappear without the sender being + * aware of it. Again, this may not be a concern in practice on small local networks. + * For more information, see http://www.cafeaulait.org/course/week12/35.html + * + * MIT License: + * Copyright (c) 2008 Bjoern Hartmann + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + * + * bjoern@cs.stanford.edu 12/30/2008 + */ + + + + + + +namespace arduino { + +class UDP : public Stream { + +public: + virtual uint8_t begin(uint16_t) =0; // initialize, start listening on specified port. Returns 1 if successful, 0 if there are no sockets available to use + virtual uint8_t beginMulticast(IPAddress, uint16_t) { return 0; } // initialize, start listening on specified multicast IP address and port. Returns 1 if successful, 0 on failure + virtual void stop() =0; // Finish with the UDP socket + + // Sending UDP packets + + // Start building up a packet to send to the remote host specified in ip and port + // Returns 1 if successful, 0 if there was a problem with the supplied IP address or port + virtual int beginPacket(IPAddress ip, uint16_t port) =0; + // Start building up a packet to send to the remote host specified in host and port + // Returns 1 if successful, 0 if there was a problem resolving the hostname or port + virtual int beginPacket(const char *host, uint16_t port) =0; + // Finish off this packet and send it + // Returns 1 if the packet was sent successfully, 0 if there was an error + virtual int endPacket() =0; + // Write a single byte into the packet + virtual size_t write(uint8_t) =0; + // Write size bytes from buffer into the packet + virtual size_t write(const uint8_t *buffer, size_t size) =0; + + // Start processing the next available incoming packet + // Returns the size of the packet in bytes, or 0 if no packets are available + virtual int parsePacket() =0; + // Number of bytes remaining in the current packet + virtual int available() =0; + // Read a single byte from the current packet + virtual int read() =0; + // Read up to len bytes from the current packet and place them into buffer + // Returns the number of bytes read, or 0 if none are available + virtual int read(unsigned char* buffer, size_t len) =0; + // Read up to len characters from the current packet and place them into buffer + // Returns the number of characters read, or 0 if none are available + virtual int read(char* buffer, size_t len) =0; + // Return the next byte from the current packet without moving on to the next byte + virtual int peek() =0; + virtual void flush() =0; // Finish reading the current packet + + // Return the IP address of the host who sent the current incoming packet + virtual IPAddress remoteIP() =0; + // Return the port of the host who sent the current incoming packet + virtual uint16_t remotePort() =0; +protected: + uint8_t* rawIPAddress(IPAddress& addr) { return addr.raw_address(); }; +}; + +} + +using arduino::UDP; +# 38 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/ArduinoAPI.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/USBAPI.h" 1 +/* + USBAPI.h + Copyright (c) 2005-2014 Arduino. All right reserved. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +*/ +# 39 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/ArduinoAPI.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/WCharacter.h" 1 +/* + WCharacter.h - Character utility functions for Wiring & Arduino + Copyright (c) 2010 Hernando Barragan. All right reserved. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ + + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/ctype.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/ctype.h" 3 4 +/* +Copyright (c) 1991, 1993 +The Regents of the University of California. All rights reserved. +c) UNIX System Laboratories, Inc. +All or some portions of this file are derived from material licensed +to the University of California by American Telephone and Telegraph +Co. or Unix System Laboratories, Inc. and are reproduced herein with +the permission of UNIX System Laboratories, Inc. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. +3. Neither the name of the University nor the names of its contributors +may be used to endorse or promote products derived from this software +without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + */ +# 24 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/WCharacter.h" 2 + + +# 25 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/WCharacter.h" +namespace arduino { + +// WCharacter.h prototypes +inline bool isAlphaNumeric(int c) __attribute__((always_inline)); +inline bool isAlpha(int c) __attribute__((always_inline)); +inline bool isAscii(int c) __attribute__((always_inline)); +inline bool isWhitespace(int c) __attribute__((always_inline)); +inline bool isControl(int c) __attribute__((always_inline)); +inline bool isDigit(int c) __attribute__((always_inline)); +inline bool isGraph(int c) __attribute__((always_inline)); +inline bool isLowerCase(int c) __attribute__((always_inline)); +inline bool isPrintable(int c) __attribute__((always_inline)); +inline bool isPunct(int c) __attribute__((always_inline)); +inline bool isSpace(int c) __attribute__((always_inline)); +inline bool isUpperCase(int c) __attribute__((always_inline)); +inline bool isHexadecimalDigit(int c) __attribute__((always_inline)); +inline int toAscii(int c) __attribute__((always_inline)); +inline int toLowerCase(int c) __attribute__((always_inline)); +inline int toUpperCase(int c)__attribute__((always_inline)); + + +// Checks for an alphanumeric character. +// It is equivalent to (isalpha(c) || isdigit(c)). +inline bool isAlphaNumeric(int c) +{ + return ( isalnum(c) == 0 ? false : true); +} + + +// Checks for an alphabetic character. +// It is equivalent to (isupper(c) || islower(c)). +inline bool isAlpha(int c) +{ + return ( isalpha(c) == 0 ? false : true); +} + + +// Checks whether c is a 7-bit unsigned char value +// that fits into the ASCII character set. +inline bool isAscii(int c) +{ + return ((c & ~0x7f) != 0 ? false : true ); +} + + +// Checks for a blank character, that is, a space or a tab. +inline bool isWhitespace(int c) +{ + return ( c == '\t' || c == ' '); +} + + +// Checks for a control character. +inline bool isControl(int c) +{ + return ( iscntrl (c) == 0 ? false : true); +} + + +// Checks for a digit (0 through 9). +inline bool isDigit(int c) +{ + return ( isdigit (c) == 0 ? false : true); +} + + +// Checks for any printable character except space. +inline bool isGraph(int c) +{ + return ( isgraph (c) == 0 ? false : true); +} + + +// Checks for a lower-case character. +inline bool isLowerCase(int c) +{ + return ( c >= 'a' && c <= 'z' ); +} + + +// Checks for any printable character including space. +inline bool isPrintable(int c) +{ + return ( isprint (c) == 0 ? false : true); +} + + +// Checks for any printable character which is not a space +// or an alphanumeric character. +inline bool isPunct(int c) +{ + return ( isPrintable(c) && !isSpace(c) && !isAlphaNumeric(c) ); +} + + +// Checks for white-space characters. For the avr-libc library, +// these are: space, formfeed ('\f'), newline ('\n'), carriage +// return ('\r'), horizontal tab ('\t'), and vertical tab ('\v'). +inline bool isSpace(int c) +{ + return ( isspace (c) == 0 ? false : true); +} + + +// Checks for an uppercase letter. +inline bool isUpperCase(int c) +{ + return ( isupper (c) == 0 ? false : true); +} + + +// Checks for a hexadecimal digits, i.e. one of 0 1 2 3 4 5 6 7 +// 8 9 a b c d e f A B C D E F. +inline bool isHexadecimalDigit(int c) +{ + return ( isxdigit (c) == 0 ? false : true); +} + + +// Converts c to a 7-bit unsigned char value that fits into the +// ASCII character set, by clearing the high-order bits. +inline int toAscii(int c) +{ + return (c & 0x7f); +} + + +// Warning: +// Many people will be unhappy if you use this function. +// This function will convert accented letters into random +// characters. + +// Converts the letter c to lower case, if possible. +inline int toLowerCase(int c) +{ + return tolower (c); +} + + +// Converts the letter c to upper case, if possible. +inline int toUpperCase(int c) +{ + return toupper (c); +} + +} +# 40 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/ArduinoAPI.h" 2 + + +/* Standard C library includes */ +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdlib.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdlib.h" 3 4 +/* +Copyright (c) 1991, 1993 +The Regents of the University of California. All rights reserved. +c) UNIX System Laboratories, Inc. +All or some portions of this file are derived from material licensed +to the University of California by American Telephone and Telegraph +Co. or Unix System Laboratories, Inc. and are reproduced herein with +the permission of UNIX System Laboratories, Inc. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. +3. Neither the name of the University nor the names of its contributors +may be used to endorse or promote products derived from this software +without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + */ +/* + * stdlib.h + * + * Definitions for common types, variables, and functions. + */ +# 44 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/ArduinoAPI.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 1 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ +# 45 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/ArduinoAPI.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdbool.h" 1 3 4 +/* Copyright (C) 1998-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.16 Boolean type and values + */ +# 46 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/ArduinoAPI.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/string.h" 1 3 4 +/* +Copyright (c) 1991, 1993 +The Regents of the University of California. All rights reserved. +c) UNIX System Laboratories, Inc. +All or some portions of this file are derived from material licensed +to the University of California by American Telephone and Telegraph +Co. or Unix System Laboratories, Inc. and are reproduced herein with +the permission of UNIX System Laboratories, Inc. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. +3. Neither the name of the University nor the names of its contributors +may be used to endorse or promote products derived from this software +without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + */ +/* + * string.h + * + * Definitions for memory and string functions. + */ +# 47 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/ArduinoAPI.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/math.h" 1 3 4 +/* +Copyright (c) 1991, 1993 +The Regents of the University of California. All rights reserved. +c) UNIX System Laboratories, Inc. +All or some portions of this file are derived from material licensed +to the University of California by American Telephone and Telegraph +Co. or Unix System Laboratories, Inc. and are reproduced herein with +the permission of UNIX System Laboratories, Inc. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. +3. Neither the name of the University nor the names of its contributors +may be used to endorse or promote products derived from this software +without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + */ + + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/cdefs.h" 1 3 4 +/* libc/sys/linux/sys/cdefs.h - Helper macros for K&R vs. ANSI C compat. */ + +/* Written 2000 by Werner Almesberger */ + +/*- + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 1991, 1993 + * The Regents of the University of California. All rights reserved. + * + * This code is derived from software contributed to Berkeley by + * Berkeley Software Design, Inc. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * @(#)cdefs.h 8.8 (Berkeley) 1/9/95 + * $FreeBSD$ + */ +# 39 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/math.h" 2 3 4 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/ieeefp.h" 1 3 4 +/* +Copyright (c) 1991, 1993 +The Regents of the University of California. All rights reserved. +c) UNIX System Laboratories, Inc. +All or some portions of this file are derived from material licensed +to the University of California by American Telephone and Telegraph +Co. or Unix System Laboratories, Inc. and are reproduced herein with +the permission of UNIX System Laboratories, Inc. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. +3. Neither the name of the University nor the names of its contributors +may be used to endorse or promote products derived from this software +without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + */ + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/_ansi.h" 1 3 4 +/* +Copyright (c) 1991, 1993 +The Regents of the University of California. All rights reserved. +c) UNIX System Laboratories, Inc. +All or some portions of this file are derived from material licensed +to the University of California by American Telephone and Telegraph +Co. or Unix System Laboratories, Inc. and are reproduced herein with +the permission of UNIX System Laboratories, Inc. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. +3. Neither the name of the University nor the names of its contributors +may be used to endorse or promote products derived from this software +without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + */ +/* Provide support for both ANSI and non-ANSI environments. */ + +/* To get a strict ANSI C environment, define macro __STRICT_ANSI__. This will + "comment out" the non-ANSI parts of the ANSI header files (non-ANSI header + files aren't affected). */ +# 38 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/ieeefp.h" 2 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/ieeefp.h" 1 3 4 +/* +Copyright (C) 1991 DJ Delorie +All rights reserved. + +Redistribution, modification, and use in source and binary forms is permitted +provided that the above copyright notice and following paragraph are +duplicated in all such forms. + +This file is distributed WITHOUT ANY WARRANTY; without even the implied +warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + */ +# 40 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/ieeefp.h" 2 3 4 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/float.h" 1 3 4 +/* Copyright (C) 2002-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 5.2.4.2.2 Characteristics of floating types + */ +# 41 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/ieeefp.h" 2 3 4 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 1 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ +# 42 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/ieeefp.h" 2 3 4 + +extern "C" { +# 124 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/ieeefp.h" 3 4 +/* FLOATING ROUNDING */ + +typedef int fp_rnd; + + + + + +fp_rnd fpgetround (void); +fp_rnd fpsetround (fp_rnd); + +/* EXCEPTIONS */ + +typedef int fp_except; + + + + + + +fp_except fpgetmask (void); +fp_except fpsetmask (fp_except); +fp_except fpgetsticky (void); +fp_except fpsetsticky (fp_except); + +/* INTEGER ROUNDING */ + +typedef int fp_rdi; + + + +fp_rdi fpgetroundtoi (void); +fp_rdi fpsetroundtoi (fp_rdi); +# 207 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/ieeefp.h" 3 4 +} +# 40 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/math.h" 2 3 4 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/_ansi.h" 1 3 4 +/* +Copyright (c) 1991, 1993 +The Regents of the University of California. All rights reserved. +c) UNIX System Laboratories, Inc. +All or some portions of this file are derived from material licensed +to the University of California by American Telephone and Telegraph +Co. or Unix System Laboratories, Inc. and are reproduced herein with +the permission of UNIX System Laboratories, Inc. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. +3. Neither the name of the University nor the names of its contributors +may be used to endorse or promote products derived from this software +without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + */ +/* Provide support for both ANSI and non-ANSI environments. */ + +/* To get a strict ANSI C environment, define macro __STRICT_ANSI__. This will + "comment out" the non-ANSI parts of the ANSI header files (non-ANSI header + files aren't affected). */ +# 41 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/math.h" 2 3 4 + +extern "C" { + +/* Natural log of 2 */ + + + + + /* gcc >= 3.3 implicitly defines builtins for HUGE_VALx values. */ +# 116 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/math.h" 3 4 +extern double atan (double); +extern double cos (double); +extern double sin (double); +extern double tan (double); +extern double tanh (double); +extern double frexp (double, int *); +extern double modf (double, double *); +extern double ceil (double); +extern double fabs (double); +extern double floor (double); + +extern double acos (double); +extern double asin (double); +extern double atan2 (double, double); +extern double cosh (double); +extern double sinh (double); +extern double exp (double); +extern double ldexp (double, int); +extern double log (double); +extern double log10 (double); +extern double pow (double, double); +extern double sqrt (double); +extern double fmod (double, double); +# 160 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/math.h" 3 4 +/* ISO C99 types and macros. */ + +/* FIXME: FLT_EVAL_METHOD should somehow be gotten from float.h (which is hard, + * considering that the standard says the includes it defines should not + * include other includes that it defines) and that value used. (This can be + * solved, but autoconf has a bug which makes the solution more difficult, so + * it has been skipped for now.) */ + + + + + +/* FLT_EVAL_METHOD == 16 has meaning as defined in ISO/IEC TS 18661-3, + * which provides non-compliant extensions to C and POSIX (by adding + * additional positive values for FLT_EVAL_METHOD). It effectively has + * same meaning as the C99 and C11 definitions for value 0, while also + * serving as a flag that the _Float16 (float16_t) type exists. + * + * FLT_EVAL_METHOD could be any number of bits of supported floating point + * format (e.g. 32, 64, 128), but currently only AArch64 and few other targets + * might define that as 16. */ + + + typedef float float_t; + typedef double double_t; +# 246 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/math.h" 3 4 +/* + * Specifies whether the target uses the snan/nan discriminator + * definition from IEEE 754 2008 (top bit of significand is 1 for qNaN + * and 0 for sNaN). This is set to zero in machine/math.h for targets + * that don't do this (such as MIPS). + */ + + + + +extern int __isinff (float); +extern int __isinfd (double); +extern int __isnanf (float); +extern int __isnand (double); +extern int __fpclassifyf (float); +extern int __fpclassifyd (double); +extern int __signbitf (float); +extern int __signbitd (double); +extern int __finite (double); +extern int __finitef (float); + +extern int __fpclassifyl (long double); +extern int __finitel (long double); + + +/* Note: isinf and isnan were once functions in newlib that took double + * arguments. C99 specifies that these names are reserved for macros + * supporting multiple floating point types. Thus, they are + * now defined as macros. Implementations of the old functions + * taking double arguments still exist for compatibility purposes + * (prototypes for them are earlier in this header). */ + +/* + * GCC bug 66462 raises INVALID exception when __builtin_fpclassify is + * passed snan, so we cannot use it when building with snan support. + * clang doesn't appear to have an option to control snan behavior, and + * it's builtin fpclassify also raises INVALID for snan, so always use + * our version for that. + */ +# 326 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/math.h" 3 4 +int __iseqsigd(double x, double y); +int __iseqsigf(float x, float y); + + +int __iseqsigl(long double x, long double y); +# 349 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/math.h" 3 4 +int __issignalingf(float f); +int __issignaling(double d); + + +int __issignalingl(long double d); +# 415 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/math.h" 3 4 +/* Non ANSI double precision functions. */ + +extern double infinity (void); +extern double nan (const char *); +extern double copysign (double, double); +extern double logb (double); +extern int ilogb (double); + +extern double asinh (double); +extern double cbrt (double); +extern double nextafter (double, double); +extern double rint (double); +extern double scalbn (double, int); +extern double scalb (double, double); +extern double getpayload(const double *x); +extern double significand (double); + +extern double exp2 (double); +extern double scalbln (double, long int); +extern double tgamma (double); +extern double nearbyint (double); +extern long int lrint (double); +extern long long int llrint (double); +extern double round (double); +extern long int lround (double); +extern long long int llround (double); +extern double trunc (double); +extern double remquo (double, double, int *); +extern double fdim (double, double); +extern double fmax (double, double); +extern double fmin (double, double); +extern double fma (double, double, double); + +extern double log1p (double); +extern double expm1 (double); + +extern double acosh (double); +extern double atanh (double); +extern double remainder (double, double); +extern double gamma (double); +extern double lgamma (double); +extern double erf (double); +extern double erfc (double); +extern double log2 (double); + + + + +extern double hypot (double, double); + +/* Single precision versions of ANSI functions. */ + +extern float atanf (float); +extern float cosf (float); +extern float sinf (float); +extern float tanf (float); +extern float tanhf (float); +extern float frexpf (float, int *); +extern float modff (float, float *); +extern float ceilf (float); +extern float fabsf (float); +extern float floorf (float); + +extern float acosf (float); +extern float asinf (float); +extern float atan2f (float, float); +extern float coshf (float); +extern float sinhf (float); +extern float expf (float); +extern float ldexpf (float, int); +extern float logf (float); +extern float log10f (float); +extern float powf (float, float); +extern float sqrtf (float); +extern float fmodf (float, float); + +/* Other single precision functions. */ + +extern float exp2f (float); +extern float scalblnf (float, long int); +extern float tgammaf (float); +extern float nearbyintf (float); +extern long int lrintf (float); +extern long long int llrintf (float); +extern float roundf (float); +extern long int lroundf (float); +extern long long int llroundf (float); +extern float truncf (float); +extern float remquof (float, float, int *); +extern float fdimf (float, float); +extern float fmaxf (float, float); +extern float fminf (float, float); +extern float fmaf (float, float, float); + +extern float infinityf (void); +extern float nanf (const char *); +extern float copysignf (float, float); +extern float logbf (float); +extern int ilogbf (float); + +extern float asinhf (float); +extern float cbrtf (float); +extern float nextafterf (float, float); +extern float rintf (float); +extern float scalbnf (float, int); +extern float scalbf (float, float); +extern float log1pf (float); +extern float expm1f (float); +extern float getpayloadf(const float *x); +extern float significandf (float); + +extern float acoshf (float); +extern float atanhf (float); +extern float remainderf (float, float); +extern float gammaf (float); +extern float lgammaf (float); +extern float erff (float); +extern float erfcf (float); +extern float log2f (float); +extern float hypotf (float, float); + + + +/* These functions are always available for long double */ + +extern long double hypotl (long double, long double); +extern long double sqrtl (long double); +extern long double frexpl (long double, int *); +extern long double scalbnl (long double, int); +extern long double scalblnl (long double, long); +extern long double rintl (long double); +extern long int lrintl (long double); +extern long long int llrintl (long double); +extern int ilogbl (long double); +extern long double logbl (long double); +extern long double ldexpl (long double, int); +extern long double nearbyintl (long double); +extern long double ceill (long double); +extern long double fmaxl (long double, long double); +extern long double fminl (long double, long double); +extern long double roundl (long double); +extern long lroundl (long double); +extern long long int llroundl (long double); +extern long double truncl (long double); +extern long double nanl (const char *); +extern long double floorl (long double); +/* Compiler provides these */ +extern long double fabsl (long double); +extern long double copysignl (long double, long double); + + +extern long double atanl (long double); +extern long double cosl (long double); +extern long double sinl (long double); +extern long double tanl (long double); +extern long double tanhl (long double); +extern long double modfl (long double, long double *); +extern long double log1pl (long double); +extern long double expm1l (long double); +extern long double acosl (long double); +extern long double asinl (long double); +extern long double atan2l (long double, long double); +extern long double coshl (long double); +extern long double sinhl (long double); +extern long double expl (long double); +extern long double logl (long double); +extern long double log10l (long double); +extern long double powl (long double, long double); +extern long double fmodl (long double, long double); +extern long double asinhl (long double); +extern long double cbrtl (long double); +extern long double nextafterl (long double, long double); +extern float nexttowardf (float, long double); +extern double nexttoward (double, long double); +extern long double nexttowardl (long double, long double); +extern long double log2l (long double); +extern long double exp2l (long double); +extern long double scalbl (long double, long double); +extern long double tgammal (long double); +extern long double remquol (long double, long double, int *); +extern long double fdiml (long double, long double); +extern long double fmal (long double, long double, long double); +extern long double acoshl (long double); +extern long double atanhl (long double); +extern long double remainderl (long double, long double); +extern long double lgammal (long double); +extern long double gammal (long double); +extern long double erfl (long double); +extern long double erfcl (long double); +extern long double j0l(long double); +extern long double y0l(long double); +extern long double j1l(long double); +extern long double y1l(long double); +extern long double jnl(int, long double); +extern long double ynl(int, long double); + +extern long double getpayloadl(const long double *x); +extern long double significandl(long double); +# 649 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/math.h" 3 4 +/* GNU extensions */ +# 670 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/math.h" 3 4 +/* Useful constants. */ +# 719 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/math.h" 3 4 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/math.h" 1 3 4 +/* + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright © 2020 Keith Packard + * Copyright (c) 2017 embedded brains GmbH. All rights reserved + Copyright (c) 2011, 2012 ARM Ltd. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials provided + * with the distribution. + * + * 3. Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + * OF THE POSSIBILITY OF SUCH DAMAGE. + */ +# 57 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/math.h" 3 4 +/* + * Double precision routines + */ + +extern inline /* convert to C++ keyword */ double __attribute((gnu_inline, always_inline)) +sqrt(double x) +{ + double result; + + + + + + __asm__ volatile ("vsqrt.f64 %P0, %P1" : "=w" (result) : "w" (x)); + + + + + return result; +} + +extern inline /* convert to C++ keyword */ double __attribute((gnu_inline, always_inline)) +fabs(double x) +{ + double result; + __asm__ ("vabs.f64\t%P0, %P1" : "=w" (result) : "w" (x)); + return result; +} +# 145 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/math.h" 3 4 +extern inline /* convert to C++ keyword */ double __attribute((gnu_inline, always_inline)) +fma (double x, double y, double z) +{ + __asm__ volatile ("vfma.f64 %P0, %P1, %P2" : "+w" (z) : "w" (x), "w" (y)); + return z; +} + + + + + + + +/* + * Single precision functions + */ + +extern inline /* convert to C++ keyword */ float __attribute((gnu_inline, always_inline)) +sqrtf(float x) +{ + float result; + + + + + + __asm__ volatile ("vsqrt.f32 %0, %1" : "=w" (result) : "w" (x)); + + + + + return result; +} + +extern inline /* convert to C++ keyword */ float __attribute((gnu_inline, always_inline)) +fabsf(float x) +{ + float result; + __asm__ ("vabs.f32\t%0, %1" : "=t" (result) : "t" (x)); + return result; +} +# 246 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/machine/math.h" 3 4 +extern inline /* convert to C++ keyword */ float __attribute((gnu_inline, always_inline)) +fmaf (float x, float y, float z) +{ + __asm__ volatile ("vfma.f32 %0, %1, %2" : "+t" (z) : "t" (x), "t" (y)); + return z; +} +# 720 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/math.h" 2 3 4 + +} +# 48 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/ArduinoAPI.h" 2 + + +# 49 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/ArduinoAPI.h" +// Misc Arduino core functions + + + +// Compatibility layer for older code +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/Compat.h" 1 +/* + Compat.h - Compatibility layer for Arduino API + Copyright (c) 2018 Arduino LLC. All right reserved. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +*/ + + + + +namespace arduino { + +inline void pinMode(pin_size_t pinNumber, int mode) { + pinMode(pinNumber, (PinMode)mode); +}; + +inline void digitalWrite(pin_size_t pinNumber, int status) { + digitalWrite(pinNumber, (PinStatus)status); +}; + +} +# 55 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/ArduinoAPI.h" 2 +# 10 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/Arduino.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" 1 +/* + * Copyright (c) 2016, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * + * @brief Public kernel APIs. + */ + + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_includes.h" 1 +/* + * Copyright (c) 2018 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * + * @brief Header files included by kernel.h. + */ +# 20 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_includes.h" +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* Copyright (C) 1989-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.17 Common definitions + */ +# 21 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_includes.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/types.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/types.h" +/* + * Copyright (c) 2017 Linaro Limited + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* Copyright (C) 1989-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.17 Common definitions + */ +# 11 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/types.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 1 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ +# 12 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/types.h" 2 + + + +# 14 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/types.h" +extern "C" { + + +/* + * A type with strong alignment requirements, similar to C11 max_align_t. It can + * be used to force alignment of data structures allocated on the stack or as + * return * type for heap allocators. + */ +typedef union { + long long thelonglong; + long double thelongdouble; + uintmax_t theuintmax_t; + size_t thesize_t; + uintptr_t theuintptr_t; + void *thepvoid; + void (*thepfunc)(void); +} z_max_align_t; + +/* + * Thread local variables are declared with different keywords depending on + * which C/C++ standard that is used. C++11 and C23 uses "thread_local" whilst + * C11 uses "_Thread_local". Previously the GNU "__thread" keyword was used + * which is the same in both gcc and g++. + */ +# 51 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/types.h" +/* Zephyr requires an int main(void) signature with C linkage for the application main if present */ +extern int main(void); + + + +} +# 22 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_includes.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/limits.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/limits.h" 3 4 +/* Copyright (c) 2002 Jeff Johnston */ +# 23 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_includes.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain.h" +/* + * Copyright (c) 2010-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Macros to abstract toolchain specific capabilities + * + * This file contains various macros to abstract compiler capabilities that + * utilize toolchain specific attributes and/or pragmas. + */ + + + + +/** + * @def HAS_BUILTIN(x) + * @brief Check if the compiler supports the built-in function \a x. + * + * This macro is for use with conditional compilation to enable code using a + * builtin function that may not be available in every compiler. + */ +# 52 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain.h" +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain/gcc.h" 1 +/* + * Copyright (c) 2010-2014,2017 Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 14 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain/gcc.h" +/** + * @file + * @brief GCC toolchain abstraction + * + * Macros to abstract compiler capabilities for GCC toolchain. + */ + + + + +/* GCC supports #pragma diagnostics since 4.6.0 */ +# 39 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain/gcc.h" +/* + * Older versions of GCC do not define __BYTE_ORDER__, so it must be manually + * detected and defined using arch-specific definitions. + */ +# 74 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain/gcc.h" +/* C++11 has static_assert built in */ + + + +/* + * GCC 4.6 and higher have the C11 _Static_assert built in and its + * output is easier to understand than the common BUILD_ASSERT macros. + * Don't use this in C++98 mode though (which we can hit, as + * static_assert() is not available) + */ +# 98 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain/gcc.h" +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain/common.h" 1 +/* + * Copyright (c) 2010-2014 Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 14 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain/common.h" +/** + * @file + * @brief Common toolchain abstraction + * + * Macros to abstract compiler capabilities (common to all toolchains). + */ + +/* Abstract use of extern keyword for compatibility between C and C++ */ + + + + + + +/* Use TASK_ENTRY_CPP to tag task entry points defined in C++ files. */ +# 42 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain/common.h" +/* + * Generate a reference to an external symbol. + * The reference indicates to the linker that the symbol is required + * by the module containing the reference and should be included + * in the image if the module is in the image. + * + * The assembler directive ".set" is used to define a local symbol. + * No memory is allocated, and the local symbol does not appear in + * the symbol table. + */ +# 63 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain/common.h" +/* + * If the project is being built for speed (i.e. not for minimum size) then + * align functions and branches in executable sections to improve performance. + */ +# 109 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain/common.h" +/* force inlining a function */ +# 136 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain/common.h" +/* concatenate the values of the arguments into one */ + + + +/* Additionally used as a sentinel by gen_syscalls.py to identify what + * functions are system calls + * + * Note POSIX unit tests don't still generate the system call stubs, so + * until https://github.com/zephyrproject-rtos/zephyr/issues/5006 is + * fixed via possibly #4174, we introduce this hack -- which will + * disallow us to test system calls in POSIX unit testing (currently + * not used). + */ +# 157 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain/common.h" +/* Definitions for struct declaration tags. These are sentinel values used by + * parse_syscalls.py to gather a list of names of struct declarations that + * have these tags applied for them. + */ + +/* Indicates this is a driver subsystem */ + + +/* Indicates this is a network socket object */ +# 178 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain/common.h" +/* + * This is meant to be used in conjunction with __in_section() and similar + * where scattered structure instances are concatenated together by the linker + * and walked by the code at run time just like a contiguous array of such + * structures. + * + * Assemblers and linkers may insert alignment padding by default whose + * size is larger than the natural alignment for those structures when + * gathering various section segments together, messing up the array walk. + * To prevent this, we need to provide an explicit alignment not to rely + * on the default that might just work by luck. + * + * Alignment statements in linker scripts are not sufficient as + * the assembler may add padding by itself to each segment when switching + * between sections within the same file even if it merges many such segments + * into a single section in the end. + */ + + +/* Check if a pointer is aligned for against a specific byte boundary */ + + +/* Check if a pointer is aligned enough for a particular data type. */ + + +/** @brief Tag a symbol (e.g. function) to be kept in the binary even though it is not used. + * + * It prevents symbol from being removed by the linker garbage collector. It + * is achieved by adding a pointer to that symbol to the kept memory section. + * + * @param symbol Symbol to keep. + */ +# 99 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain/gcc.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdbool.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdbool.h" 3 4 +/* Copyright (C) 1998-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.16 Boolean type and values + */ +# 100 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain/gcc.h" 2 +# 125 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain/gcc.h" + +# 125 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain/gcc.h" +/* The GNU assembler for Cortex-M3 uses # for immediate values, not + * comments, so the @nobits# trick does not work. + */ + + + + + + + +/* Unaligned access */ +# 147 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain/gcc.h" +/* Version of UNALIGNED_PUT() which issues a compiler_barrier() after + * the store. It is required to workaround an apparent optimization + * bug in GCC for ARM Cortex-M3 and higher targets, when multiple + * byte, half-word and word stores (strb, strh, str instructions), + * which support unaligned access, can be coalesced into store double + * (strd) instruction, which doesn't support unaligned access (the + * compilers in question do this optimization ignoring __packed__ + * attribute). + */ +# 177 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain/gcc.h" +/* Double indirection to ensure section names are expanded before + * stringification + */ +# 202 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain/gcc.h" +/* When using XIP, using '__ramfunc' places a function into RAM instead + * of FLASH. Make sure '__ramfunc' is defined only when + * CONFIG_ARCH_HAS_RAMFUNC_SUPPORT is defined, so that the compiler can + * report an error if '__ramfunc' is used but the architecture does not + * support it. + */ +# 265 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain/gcc.h" +/* When adding this, remember to follow the instructions in + * https://docs.zephyrproject.org/latest/develop/api/api_lifecycle.html#deprecated + */ +# 296 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain/gcc.h" +/* Builtins with availability that depend on the compiler version. */ +# 312 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain/gcc.h" +/* + * Be *very* careful with these. You cannot filter out __DEPRECATED_MACRO with + * -wno-deprecated, which has implications for -Werror. + */ + +/* + * Expands to nothing and generates a warning. Used like + * + * #define FOO __WARN("Please use BAR instead") ... + * + * The warning points to the location where the macro is expanded. + */ + + + +/* Generic message */ + + +/* When adding this, remember to follow the instructions in + * https://docs.zephyrproject.org/latest/develop/api/api_lifecycle.html#deprecated + */ + + +/* These macros allow having ARM asm functions callable from thumb */ +# 362 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain/gcc.h" +/* + * These macros are used to declare assembly language symbols that need + * to be typed properly(func or data) to be visible to the OMF tool. + * So that the build tool could mark them as an entry point to be linked + * correctly. This is an elfism. Use #if 0 for a.out. + */ +# 478 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain/gcc.h" +/* + * These macros generate absolute symbols for GCC + */ + +/* create an extern reference to the absolute symbol */ +# 493 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain/gcc.h" +/* + * Note that GEN_ABSOLUTE_SYM(), depending on the architecture + * and toolchain, may restrict the range of values permitted + * for assignment to the named symbol. + * + * For example, on x86, "value" is interpreted as signed + * 32-bit integer. Passing in an unsigned 32-bit integer + * with MSB set would result in a negative integer. + * Moreover, GCC would error out if an integer larger + * than 2^32-1 is passed as "value". + */ + +/* + * GEN_ABSOLUTE_SYM_KCONFIG() is outputted by the build system + * to generate named symbol/value pairs for kconfigs. + */ + + + +/* + * GNU/ARM backend does not have a proper operand modifier which does not + * produces prefix # followed by value, such as %0 for PowerPC, Intel, and + * MIPS. The workaround performed here is using %B0 which converts + * the value to ~(value). Thus "n"(~(value)) is set in operand constraint + * to output (value) in the ARM specific GEN_OFFSET macro. + */ +# 598 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain/gcc.h" +/** @brief Return larger value of two provided expressions. + * + * Macro ensures that expressions are evaluated only once. + * + * @note Macro has limited usage compared to the standard macro as it cannot be + * used: + * - to generate constant integer, e.g. __aligned(Z_MAX(4,5)) + * - static variable, e.g. array like static uint8_t array[Z_MAX(...)]; + */ + + + + + + + +/** @brief Return smaller value of two provided expressions. + * + * Macro ensures that expressions are evaluated only once. See @ref Z_MAX for + * macro limitations. + */ + + + + + + + +/** @brief Return a value clamped to a given range. + * + * Macro ensures that expressions are evaluated only once. See @ref Z_MAX for + * macro limitations. + */ +# 641 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain/gcc.h" +/** + * @brief Calculate power of two ceiling for some nonzero value + * + * @param x Nonzero unsigned long value + * @return X rounded up to the next power of two + */ + + + +/** + * @brief Check whether or not a value is a power of 2 + * + * @param x The value to check + * @return true if x is a power of 2, false otherwise + */ +# 670 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain/gcc.h" +/** + * @brief Function attribute to disable stack protector. + * + * @note Only supported for GCC >= 11.0.0 or Clang >= 7. + */ +# 701 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain/gcc.h" +/* GCC-specific warnings that aren't in clang. */ +# 53 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain.h" 2 + + + + +/** + * @def __noasan + * @brief Disable address sanitizer + * + * When used in the definition of a symbol, prevents that symbol (be it + * a function or data) from being instrumented by the address + * sanitizer feature of the compiler. Most commonly, this is used to + * prevent padding around data that will be treated specially by the + * Zephyr link (c.f. SYS_INIT records, STRUCT_SECTION_ITERABLE + * definitions) in ways that don't understand the guard padding. + */ + + + + +/** + * @def TOOLCHAIN_GCC_VERSION + * @brief GCC version in xxyyzz for xx.yy.zz. Zero if not GCC compatible. + */ + + + + +/** + * @def TOOLCHAIN_CLANG_VERSION + * @brief Clang version in xxyyzz for xx.yy.zz. Zero if not Clang compatible. + */ + + + + +/** + * @def TOOLCHAIN_HAS_PRAGMA_DIAG + * @brief Indicate if toolchain supports \#pragma diagnostics. + */ + + + + +/** + * @def TOOLCHAIN_HAS_C_GENERIC + * @brief Indicate if toolchain supports C Generic. + */ +# 112 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain.h" +/** + * @def TOOLCHAIN_HAS_C_AUTO_TYPE + * @brief Indicate if toolchain supports C __auto_type. + */ + + + + +/** + * @def TOOLCHAIN_HAS_ZLA + * @brief Indicate if toolchain supports Zero Length Arrays. + */ + + + + +/** + * @def TOOLCHAIN_IGNORE_WSHADOW_BEGIN + * @brief Begin of block to ignore -Wshadow. + * + * To be used inside another macro. + * Only for toolchain supporting _Pragma("GCC diagnostic ..."). + */ + + + + +/** + * @def TOOLCHAIN_IGNORE_WSHADOW_END + * @brief End of block to ignore -Wshadow. + * + * To be used inside another macro. + * Only for toolchain supporting _Pragma("GCC diagnostic ..."). + */ + + + + +/** + * @def TOOLCHAIN_PRAGMA + * @brief Helper for using pragma in macros. + */ + + + + + + +/** + * @def TOOLCHAIN_WARNING_ADDRESS_OF_PACKED_MEMBER + * @brief Toolchain-specific warning for taking the address of a packed member. + * + * Use this as an argument to the @ref TOOLCHAIN_DISABLE_WARNING and + * @ref TOOLCHAIN_ENABLE_WARNING family of macros. + */ + + + + +/** + * @def TOOLCHAIN_WARNING_ARRAY_BOUNDS + * @brief Toolchain-specific warning for array bounds violations. + * + * Use this as an argument to the @ref TOOLCHAIN_DISABLE_WARNING and + * @ref TOOLCHAIN_ENABLE_WARNING family of macros. + */ + + + + +/** + * @def TOOLCHAIN_WARNING_ATTRIBUTES + * @brief Toolchain-specific warning for unknown attributes. + * + * Use this as an argument to the @ref TOOLCHAIN_DISABLE_WARNING and + * @ref TOOLCHAIN_ENABLE_WARNING family of macros. + */ + + + + +/** + * @def TOOLCHAIN_WARNING_DELETE_NON_VIRTUAL_DTOR + * @brief Toolchain-specific warning for deleting a pointer to an object + * with a non-virtual destructor. + * + * Use this as an argument to the @ref TOOLCHAIN_DISABLE_WARNING and + * @ref TOOLCHAIN_ENABLE_WARNING family of macros. + */ + + + + +/** + * @def TOOLCHAIN_WARNING_EXTRA + * @brief Toolchain-specific warning for extra warnings. + * + * Use this as an argument to the @ref TOOLCHAIN_DISABLE_WARNING and + * @ref TOOLCHAIN_ENABLE_WARNING family of macros. + */ + + + + +/** + * @def TOOLCHAIN_WARNING_NONNULL + * @brief Toolchain-specific warning for null pointer arguments to functions marked with "nonnull". + * + * Use this as an argument to the @ref TOOLCHAIN_DISABLE_WARNING and + * @ref TOOLCHAIN_ENABLE_WARNING family of macros. + */ + + + + +/** + * @def TOOLCHAIN_WARNING_POINTER_ARITH + * @brief Toolchain-specific warning for pointer arithmetic. + * + * Use this as an argument to the @ref TOOLCHAIN_DISABLE_WARNING and + * @ref TOOLCHAIN_ENABLE_WARNING family of macros. + */ + + + + +/** + * @def TOOLCHAIN_WARNING_SHADOW + * @brief Toolchain-specific warning for shadow variables. + * + * Use this as an argument to the @ref TOOLCHAIN_DISABLE_WARNING and + * @ref TOOLCHAIN_ENABLE_WARNING family of macros. + */ + + + + +/** + * @def TOOLCHAIN_WARNING_UNUSED_LABEL + * @brief Toolchain-specific warning for unused labels. + * + * Use this as an argument to the @ref TOOLCHAIN_DISABLE_WARNING and + * @ref TOOLCHAIN_ENABLE_WARNING family of macros. + */ + + + + +/** + * @def TOOLCHAIN_WARNING_UNUSED_VARIABLE + * @brief Toolchain-specific warning for unused variables. + * + * Use this as an argument to the @ref TOOLCHAIN_DISABLE_WARNING and + * @ref TOOLCHAIN_ENABLE_WARNING family of macros. + */ + + + + +/** + * @def TOOLCHAIN_DISABLE_WARNING + * @brief Disable the specified compiler warning for all compilers. + */ + + + + +/** + * @def TOOLCHAIN_ENABLE_WARNING + * @brief Re-enable the specified compiler warning for all compilers. + * + * Can only be used after a call to @ref TOOLCHAIN_DISABLE_WARNING. + */ + + + + +/** + * @def TOOLCHAIN_DISABLE_CLANG_WARNING + * @brief Disable the specified compiler warning for clang. + */ + + + + +/** + * @def TOOLCHAIN_ENABLE_CLANG_WARNING + * @brief Re-enable the specified compiler warning for clang. + * + * Can only be used after a call to @ref TOOLCHAIN_DISABLE_CLANG_WARNING. + */ + + + + +/** + * @def TOOLCHAIN_DISABLE_GCC_WARNING + * @brief Disable the specified compiler warning for gcc. + */ + + + + +/** + * @def TOOLCHAIN_ENABLE_GCC_WARNING + * @brief Re-enable the specified compiler warning for gcc. + * + * Can only be used after a call to @ref TOOLCHAIN_DISABLE_GCC_WARNING. + */ + + + + +/* + * Ensure that __BYTE_ORDER__ and related preprocessor definitions are defined, + * and that they match the Kconfig option that is used in the code itself to + * check for endianness. + */ +# 24 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_includes.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/linker/sections.h" 1 +/* + * Copyright (c) 2013-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Definitions of various linker Sections. + * + * Linker Section declarations used by linker script, C files and Assembly + * files. + */ + + + + + + + +/* Linker issue with XIP where the name "data" cannot be used */ +# 35 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/linker/sections.h" +/* Interrupts */ +# 47 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/linker/sections.h" +/* Architecture-specific sections */ +# 81 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/linker/sections.h" +/* Symbol table section */ +# 109 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/linker/sections.h" +/* Short section references for use in ASM files */ +# 158 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/linker/sections.h" +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/linker/section_tags.h" 1 +/* Macros for tagging symbols and putting them in the correct sections. */ + +/* + * Copyright (c) 2013-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain.h" 1 +/* + * Copyright (c) 2010-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Macros to abstract toolchain specific capabilities + * + * This file contains various macros to abstract compiler capabilities that + * utilize toolchain specific attributes and/or pragmas. + */ +# 13 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/linker/section_tags.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/linker/sections.h" 1 +/* + * Copyright (c) 2013-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Definitions of various linker Sections. + * + * Linker Section declarations used by linker script, C files and Assembly + * files. + */ +# 17 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/linker/section_tags.h" 2 +# 27 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/linker/section_tags.h" +/* Attribute macros to place code and data into IMR memory */ +# 117 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/linker/section_tags.h" +/* Symbol table section */ +# 159 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/linker/sections.h" 2 +# 25 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_includes.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/atomic.h" 1 +/* + * Copyright (c) 1997-2015, Wind River Systems, Inc. + * Copyright (c) 2021 Intel Corporation + * Copyright (c) 2023 Nordic Semiconductor ASA + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdbool.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdbool.h" 3 4 +/* Copyright (C) 1998-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.16 Boolean type and values + */ +# 13 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/atomic.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain.h" +/* + * Copyright (c) 2010-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Macros to abstract toolchain specific capabilities + * + * This file contains various macros to abstract compiler capabilities that + * utilize toolchain specific attributes and/or pragmas. + */ +# 14 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/atomic.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* Copyright (C) 1989-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.17 Common definitions + */ +# 15 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/atomic.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/atomic_types.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/atomic_types.h" +/* Copyright (c) 1997-2015, Wind River Systems, Inc. + * Copyright (c) 2021 Intel Corporation + * Copyright (c) 2023 Nordic Semiconductor ASA + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + + +extern "C" { + + +typedef long atomic_t; +typedef atomic_t atomic_val_t; +typedef void *atomic_ptr_t; +typedef atomic_ptr_t atomic_ptr_val_t; + + +} +# 17 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/atomic.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/types.h" 1 +/* + * Copyright (c) 2017 Linaro Limited + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 18 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/atomic.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util.h" 1 +/* + * Copyright (c) 2011-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Misc utilities + * + * Misc utilities usable by the kernel and application code. + */ + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util_macro.h" 1 +/* + * Copyright (c) 2011-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Macro utilities + * + * Macro utilities are the public interface for C/C++ code and device tree + * related implementation. In general, C/C++ will include + * instead this file directly. For device tree implementation, this file + * should be include instead + */ + + + + + +extern "C" { + + +/** + * @addtogroup sys-util + * @{ + */ + +/* + * Most of the eldritch implementation details for all the macrobatics + * below (APIs like IS_ENABLED(), COND_CODE_1(), etc.) are hidden away + * in this file. + */ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util_internal.h" 1 +/* + * Copyright (c) 2011-2014, Wind River Systems, Inc. + * Copyright (c) 2020, Nordic Semiconductor ASA + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Misc utilities + * + * Repetitive or obscure helper macros needed by sys/util.h. + */ + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util_loops.h" 1 +/* + * Copyright (c) 2021, Nordic Semiconductor ASA + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Internals for looping macros + * + * Repetitive or obscure helper macros needed by sys/util.h. + */ +# 1082 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util_loops.h" +/* Set of UTIL_LISTIFY particles */ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util_listify.h" 1 +/* + * Copyright (c) 2021, Nordic Semiconductor ASA + * Copyright (c) 2023, Meta + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 1084 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util_loops.h" 2 +# 19 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util_internal.h" 2 + +/* IS_ENABLED() helpers */ + +/* This is called from IS_ENABLED(), and sticks on a "_XXXX" prefix, + * it will now be "_XXXX1" if config_macro is "1", or just "_XXXX" if it's + * undefined. + * ENABLED: Z_IS_ENABLED2(_XXXX1) + * DISABLED Z_IS_ENABLED2(_XXXX) + */ + + +/* Here's the core trick, we map "_XXXX1" to "_YYYY," (i.e. a string + * with a trailing comma), so it has the effect of making this a + * two-argument tuple to the preprocessor only in the case where the + * value is defined to "1" + * ENABLED: _YYYY, <--- note comma! + * DISABLED: _XXXX + */ + + +/* Then we append an extra argument to fool the gcc preprocessor into + * accepting it as a varargs macro. + * arg1 arg2 arg3 + * ENABLED: Z_IS_ENABLED3(_YYYY, 1, 0) + * DISABLED Z_IS_ENABLED3(_XXXX 1, 0) + */ + + +/* And our second argument is thus now cooked to be 1 in the case + * where the value is defined to 1, and 0 if not: + */ + + +/* Implementation of IS_EQ(). Returns 1 if _0 and _1 are the same integer from + * 0 to 4096, 0 otherwise. + */ + + +/* Used internally by COND_CODE_1 and COND_CODE_0. */ +# 66 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util_internal.h" +/* Gets second argument and removes brackets around that argument. It + * is expected that the parameter is provided in brackets/parentheses. + */ + + +/* Used to remove brackets from around a single argument. */ + + +/* Used by IS_EMPTY() */ +/* reference: https://gustedt.wordpress.com/2010/06/08/detect-empty-macro-arguments/ */ +# 94 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util_internal.h" +/* Used by LIST_DROP_EMPTY() */ +/* Adding ',' after each element would add empty element at the end of + * list, which is hard to remove, so instead precede each element with ',', + * this way first element is empty, and this one is easy to drop. + */ +# 128 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util_internal.h" +/* Implementation details for NUM_VA_ARGS_LESS_1 */ +# 139 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util_internal.h" +/* Used by MACRO_MAP_CAT */ +# 161 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util_internal.h" +/* Used by Z_IS_EQ */ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util_internal_is_eq.h" 1 +/* + * Copyright (c) 2011-2014, Wind River Systems, Inc. + * Copyright (c) 2020, Nordic Semiconductor ASA + * Copyright (c) 2023, Meta + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 163 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util_internal.h" 2 + +/* + * Generic sparse list of odd numbers (check the implementation of + * GPIO_DT_RESERVED_RANGES_NGPIOS as a usage example) + */ +# 178 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util_internal.h" +/* + * Generic sparse list of even numbers (check the implementation of + * GPIO_DT_RESERVED_RANGES_NGPIOS as a usage example) + */ +# 192 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util_internal.h" +/* Used by UTIL_INC */ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util_internal_util_inc.h" 1 +/* + * Copyright (c) 2011-2014, Wind River Systems, Inc. + * Copyright (c) 2020, Nordic Semiconductor ASA + * Copyright (c) 2023, Meta + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @cond INTERNAL_HIDDEN + */ +# 4120 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util_internal_util_inc.h" +/** + * INTERNAL_HIDDEN @endcond + */ +# 194 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util_internal.h" 2 + +/* Used by UTIL_DEC */ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util_internal_util_dec.h" 1 +/* + * Copyright (c) 2011-2014, Wind River Systems, Inc. + * Copyright (c) 2020, Nordic Semiconductor ASA + * Copyright (c) 2023, Meta + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @cond INTERNAL_HIDDEN + */ +# 4120 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util_internal_util_dec.h" +/** + * INTERNAL_HIDDEN @endcond + */ +# 197 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util_internal.h" 2 + +/* Used by UTIL_X2 */ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util_internal_util_x2.h" 1 +/* + * Copyright (c) 2011-2014, Wind River Systems, Inc. + * Copyright (c) 2020, Nordic Semiconductor ASA + * Copyright (c) 2023, Meta + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @cond INTERNAL_HIDDEN + */ +# 4119 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util_internal_util_x2.h" +/** + * INTERNAL_HIDDEN @endcond + */ +# 200 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util_internal.h" 2 +# 35 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util_macro.h" 2 + + + + + +/** + * @brief Unsigned integer with bit position @p n set (signed in + * assembly language). + */ + + + + +/** @brief 64-bit unsigned integer with bit position @p _n set. */ + + +/** + * @brief Set or clear a bit depending on a boolean value + * + * The argument @p var is a variable whose value is written to as a + * side effect. + * + * @param var Variable to be altered + * @param bit Bit number + * @param set if 0, clears @p bit in @p var; any other value sets @p bit + */ + + + +/** + * @brief Bit mask with bits 0 through n-1 (inclusive) set, + * or 0 if @p n is 0. + */ + + +/** + * @brief 64-bit bit mask with bits 0 through n-1 (inclusive) set, + * or 0 if @p n is 0. + */ + + +/** @brief Check if a @p x is a power of two */ + + +/** + * @brief Check if bits are set continuously from the specified bit + * + * The macro is not dependent on the bit-width. + * + * @param m Check whether the bits are set continuously or not. + * @param s Specify the lowest bit for that is continuously set bits. + */ + + +/** + * @brief Check if bits are set continuously from the LSB. + * + * @param m Check whether the bits are set continuously from LSB. + */ + + +/** + * @brief Check if bit is set in a value + * + * @param value Value that contain checked bit + * @param bit Bit number + */ + + +/** @brief Extract the Least Significant Bit from @p value. */ + + +/** + * @brief Extract a bitfield element from @p value corresponding to + * the field mask @p mask. + */ + + +/** + * @brief Prepare a bitfield element using @p value with @p mask representing + * its field position and width. The result should be combined + * with other fields using a logical OR. + */ + + +/** + * @brief Check for macro definition in compiler-visible expressions + * + * This trick was pioneered in Linux as the config_enabled() macro. It + * has the effect of taking a macro value that may be defined to "1" + * or may not be defined at all and turning it into a literal + * expression that can be handled by the C compiler instead of just + * the preprocessor. It is often used with a @p CONFIG_FOO macro which + * may be defined to 1 via Kconfig, or left undefined. + * + * That is, it works similarly to \#if defined(CONFIG_FOO) + * except that its expansion is a C expression. Thus, much \#ifdef + * usage can be replaced with equivalents like: + * + * if (IS_ENABLED(CONFIG_FOO)) { + * do_something_with_foo + * } + * + * This is cleaner since the compiler can generate errors and warnings + * for @p do_something_with_foo even when @p CONFIG_FOO is undefined. + * + * Note: Use of IS_ENABLED in a \#if statement is discouraged + * as it doesn't provide any benefit vs plain \#if defined() + * + * @param config_macro Macro to check + * @return 1 if @p config_macro is defined to 1, 0 otherwise (including + * if @p config_macro is not defined) + */ + +/* INTERNAL: the first pass above is just to expand any existing + * macros, we need the macro value to be e.g. a literal "1" at + * expansion time in the next macro, not "(1)", etc... Standard + * recursive expansion does not work. + */ + +/** + * @brief Insert code depending on whether @p _flag expands to 1 or not. + * + * This relies on similar tricks as IS_ENABLED(), but as the result of + * @p _flag expansion, results in either @p _if_1_code or @p + * _else_code is expanded. + * + * To prevent the preprocessor from treating commas as argument + * separators, the @p _if_1_code and @p _else_code expressions must be + * inside brackets/parentheses: (). These are stripped away + * during macro expansion. + * + * Example: + * + * COND_CODE_1(CONFIG_FLAG, (uint32_t x;), (there_is_no_flag();)) + * + * If @p CONFIG_FLAG is defined to 1, this expands to: + * + * uint32_t x; + * + * It expands to there_is_no_flag(); otherwise. + * + * This could be used as an alternative to: + * + * #if defined(CONFIG_FLAG) && (CONFIG_FLAG == 1) + * #define MAYBE_DECLARE(x) uint32_t x + * #else + * #define MAYBE_DECLARE(x) there_is_no_flag() + * #endif + * + * MAYBE_DECLARE(x); + * + * However, the advantage of COND_CODE_1() is that code is resolved in + * place where it is used, while the @p \#if method defines @p + * MAYBE_DECLARE on two lines and requires it to be invoked again on a + * separate line. This makes COND_CODE_1() more concise and also + * sometimes more useful when used within another macro's expansion. + * + * @note @p _flag can be the result of preprocessor expansion, e.g. + * an expression involving NUM_VA_ARGS_LESS_1(...). + * However, @p _if_1_code is only expanded if @p _flag expands + * to the integer literal 1. Integer expressions that evaluate + * to 1, e.g. after doing some arithmetic, will not work. + * + * @param _flag evaluated flag + * @param _if_1_code result if @p _flag expands to 1; must be in parentheses + * @param _else_code result otherwise; must be in parentheses + */ + + + +/** + * @brief Like COND_CODE_1() except tests if @p _flag is 0. + * + * This is like COND_CODE_1(), except that it tests whether @p _flag + * expands to the integer literal 0. It expands to @p _if_0_code if + * so, and @p _else_code otherwise; both of these must be enclosed in + * parentheses. + * + * @param _flag evaluated flag + * @param _if_0_code result if @p _flag expands to 0; must be in parentheses + * @param _else_code result otherwise; must be in parentheses + * @see COND_CODE_1() + */ + + + +/** + * @brief Insert code if @p _flag is defined and equals 1. + * + * Like COND_CODE_1(), this expands to @p _code if @p _flag is defined to 1; + * it expands to nothing otherwise. + * + * Example: + * + * IF_ENABLED(CONFIG_FLAG, (uint32_t foo;)) + * + * If @p CONFIG_FLAG is defined to 1, this expands to: + * + * uint32_t foo; + * + * and to nothing otherwise. + * + * It can be considered as a more compact alternative to: + * + * #if defined(CONFIG_FLAG) && (CONFIG_FLAG == 1) + * uint32_t foo; + * #endif + * + * @param _flag evaluated flag + * @param _code result if @p _flag expands to 1; must be in parentheses + */ + + + +/** + * @brief Insert code if @p _flag is not defined as 1. + * + * This expands to nothing if @p _flag is defined and equal to 1; + * it expands to @p _code otherwise. + * + * Example: + * + * IF_DISABLED(CONFIG_FLAG, (uint32_t foo;)) + * + * If @p CONFIG_FLAG isn't defined or different than 1, this expands to: + * + * uint32_t foo; + * + * and to nothing otherwise. + * + * IF_DISABLED does the opposite of IF_ENABLED. + * + * @param _flag evaluated flag + * @param _code result if @p _flag does not expand to 1; must be in parentheses + */ + + + +/** + * @brief Check if a macro has a replacement expression + * + * If @p a is a macro defined to a nonempty value, this will return + * true, otherwise it will return false. It only works with defined + * macros, so an additional @p \#ifdef test may be needed in some cases. + * + * This macro may be used with COND_CODE_1() and COND_CODE_0() while + * processing `__VA_ARGS__` to avoid processing empty arguments. + * + * Example: + * + * #define EMPTY + * #define NON_EMPTY 1 + * #undef UNDEFINED + * IS_EMPTY(EMPTY) + * IS_EMPTY(NON_EMPTY) + * IS_EMPTY(UNDEFINED) + * #if defined(EMPTY) && IS_EMPTY(EMPTY) == true + * some_conditional_code + * #endif + * + * In above examples, the invocations of IS_EMPTY(...) return @p true, + * @p false, and @p true; @p some_conditional_code is included. + * + * @param ... macro to check for emptiness (may be `__VA_ARGS__`) + */ + + +/** + * @brief Like a == b, but does evaluation and + * short-circuiting at C preprocessor time. + * + * This however only works for integer literal from 0 to 4096 (literals with U suffix, + * e.g. 0U are also included). + * + * Examples: + * + * IS_EQ(1, 1) -> 1 + * IS_EQ(1U, 1U) -> 1 + * IS_EQ(1U, 1) -> 1 + * IS_EQ(1, 1U) -> 1 + * IS_EQ(1, 0) -> 0 + * + * @param a Integer literal (can be with U suffix) + * @param b Integer literal + * + */ + + +/** + * @brief Remove empty arguments from list. + * + * During macro expansion, `__VA_ARGS__` and other preprocessor + * generated lists may contain empty elements, e.g.: + * + * #define LIST ,a,b,,d, + * + * Using EMPTY to show each empty element, LIST contains: + * + * EMPTY, a, b, EMPTY, d + * + * When processing such lists, e.g. using FOR_EACH(), all empty elements + * will be processed, and may require filtering out. + * To make that process easier, it is enough to invoke LIST_DROP_EMPTY + * which will remove all empty elements. + * + * Example: + * + * LIST_DROP_EMPTY(LIST) + * + * expands to: + * + * a, b, d + * + * @param ... list to be processed + */ + + + +/** + * @brief Macro with an empty expansion + * + * This trivial definition is provided for readability when a macro + * should expand to an empty result, which e.g. is sometimes needed to + * silence checkpatch. + * + * Example: + * + * #define LIST_ITEM(n) , item##n + * + * The above would cause checkpatch to complain, but: + * + * #define LIST_ITEM(n) EMPTY, item##n + * + * would not. + */ + + +/** + * @brief Macro that expands to its argument + * + * This is useful in macros like @c FOR_EACH() when there is no + * transformation required on the list elements. + * + * @param V any value + */ + + +/** + * @brief Get nth argument from argument list. + * + * @param N Argument index to fetch. Counter from 1. + * @param ... Variable list of arguments from which one argument is returned. + * + * @return Nth argument. + */ + + +/** + * @brief Strips n first arguments from the argument list. + * + * @param N Number of arguments to discard. + * @param ... Variable list of arguments. + * + * @return argument list without N first arguments. + */ + + +/** + * @brief Like a || b, but does evaluation and + * short-circuiting at C preprocessor time. + * + * This is not the same as the binary @p || operator; in particular, + * @p a should expand to an integer literal 0 or 1. However, @p b + * can be any value. + * + * This can be useful when @p b is an expression that would cause a + * build error when @p a is 1. + */ + + +/** + * @brief Like a && b, but does evaluation and + * short-circuiting at C preprocessor time. + * + * This is not the same as the binary @p &&, however; in particular, + * @p a should expand to an integer literal 0 or 1. However, @p b + * can be any value. + * + * This can be useful when @p b is an expression that would cause a + * build error when @p a is 0. + */ + + +/** + * @brief UTIL_INC(x) for an integer literal x from 0 to 4095 expands to an + * integer literal whose value is x+1. + * + * @see UTIL_DEC(x) + */ + + +/** + * @brief UTIL_DEC(x) for an integer literal x from 0 to 4095 expands to an + * integer literal whose value is x-1. + * + * @see UTIL_INC(x) + */ + + +/** + * @brief UTIL_X2(y) for an integer literal y from 0 to 4095 expands to an + * integer literal whose value is 2y. + */ + + + +/** + * @brief Generates a sequence of code with configurable separator. + * + * Example: + * + * #define FOO(i, _) MY_PWM ## i + * { LISTIFY(PWM_COUNT, FOO, (,)) } + * + * The above two lines expand to: + * + * { MY_PWM0 , MY_PWM1 } + * + * @param LEN The length of the sequence. Must be an integer literal less + * than 4095. + * @param F A macro function that accepts at least two arguments: + * F(i, ...). @p F is called repeatedly in the expansion. + * Its first argument @p i is the index in the sequence, and + * the variable list of arguments passed to LISTIFY are passed + * through to @p F. + * + * @param sep Separator (e.g. comma or semicolon). Must be in parentheses; + * this is required to enable providing a comma as separator. + * + * @note Calling LISTIFY with undefined arguments has undefined + * behavior. + */ + + +/** + * @brief Call a macro @p F on each provided argument with a given + * separator between each call. + * + * Example: + * + * #define F(x) int a##x + * FOR_EACH(F, (;), 4, 5, 6); + * + * This expands to: + * + * int a4; + * int a5; + * int a6; + * + * @param F Macro to invoke + * @param sep Separator (e.g. comma or semicolon). Must be in parentheses; + * this is required to enable providing a comma as separator. + * @param ... Variable argument list. The macro @p F is invoked as + * F(element) for each element in the list. + */ + + + +/** + * @brief Like FOR_EACH(), but with a terminator instead of a separator, + * and drops empty elements from the argument list + * + * The @p sep argument to FOR_EACH(F, (sep), a, b) is a + * separator which is placed between calls to @p F, like this: + * + * FOR_EACH(F, (sep), a, b) // F(a) sep F(b) + * // ^^^ no sep here! + * + * By contrast, the @p term argument to FOR_EACH_NONEMPTY_TERM(F, (term), + * a, b) is added after each time @p F appears in the expansion: + * + * FOR_EACH_NONEMPTY_TERM(F, (term), a, b) // F(a) term F(b) term + * // ^^^^ + * + * Further, any empty elements are dropped: + * + * FOR_EACH_NONEMPTY_TERM(F, (term), a, EMPTY, b) // F(a) term F(b) term + * + * This is more convenient in some cases, because FOR_EACH_NONEMPTY_TERM() + * expands to nothing when given an empty argument list, and it's + * often cumbersome to write a macro @p F that does the right thing + * even when given an empty argument. + * + * One example is when `__VA_ARGS__` may or may not be empty, + * and the results are embedded in a larger initializer: + * + * #define SQUARE(x) ((x)*(x)) + * + * int my_array[] = { + * FOR_EACH_NONEMPTY_TERM(SQUARE, (,), FOO(...)) + * FOR_EACH_NONEMPTY_TERM(SQUARE, (,), BAR(...)) + * FOR_EACH_NONEMPTY_TERM(SQUARE, (,), BAZ(...)) + * }; + * + * This is more convenient than: + * + * 1. figuring out whether the @p FOO, @p BAR, and @p BAZ expansions + * are empty and adding a comma manually (or not) between FOR_EACH() + * calls + * 2. rewriting SQUARE so it reacts appropriately when "x" is empty + * (which would be necessary if e.g. @p FOO expands to nothing) + * + * @param F Macro to invoke on each nonempty element of the variable + * arguments + * @param term Terminator (e.g. comma or semicolon) placed after each + * invocation of F. Must be in parentheses; this is required + * to enable providing a comma as separator. + * @param ... Variable argument list. The macro @p F is invoked as + * F(element) for each nonempty element in the list. + */ +# 569 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util_macro.h" +/** + * @brief Call macro @p F on each provided argument, with the argument's index + * as an additional parameter. + * + * This is like FOR_EACH(), except @p F should be a macro which takes two + * arguments: F(index, variable_arg). + * + * Example: + * + * #define F(idx, x) int a##idx = x + * FOR_EACH_IDX(F, (;), 4, 5, 6); + * + * This expands to: + * + * int a0 = 4; + * int a1 = 5; + * int a2 = 6; + * + * @param F Macro to invoke + * @param sep Separator (e.g. comma or semicolon). Must be in parentheses; + * this is required to enable providing a comma as separator. + * @param ... Variable argument list. The macro @p F is invoked as + * F(index, element) for each element in the list. + */ + + + +/** + * @brief Call macro @p F on each provided argument, with an additional fixed + * argument as a parameter. + * + * This is like FOR_EACH(), except @p F should be a macro which takes two + * arguments: F(variable_arg, fixed_arg). + * + * Example: + * + * static void func(int val, void *dev); + * FOR_EACH_FIXED_ARG(func, (;), dev, 4, 5, 6); + * + * This expands to: + * + * func(4, dev); + * func(5, dev); + * func(6, dev); + * + * @param F Macro to invoke + * @param sep Separator (e.g. comma or semicolon). Must be in parentheses; + * this is required to enable providing a comma as separator. + * @param fixed_arg Fixed argument passed to @p F as the second macro parameter. + * @param ... Variable argument list. The macro @p F is invoked as + * F(element, fixed_arg) for each element in the list. + */ + + + +/** + * @brief Calls macro @p F for each variable argument with an index and fixed + * argument + * + * This is like the combination of FOR_EACH_IDX() with FOR_EACH_FIXED_ARG(). + * + * Example: + * + * #define F(idx, x, fixed_arg) int fixed_arg##idx = x + * FOR_EACH_IDX_FIXED_ARG(F, (;), a, 4, 5, 6); + * + * This expands to: + * + * int a0 = 4; + * int a1 = 5; + * int a2 = 6; + * + * @param F Macro to invoke + * @param sep Separator (e.g. comma or semicolon). Must be in parentheses; + * This is required to enable providing a comma as separator. + * @param fixed_arg Fixed argument passed to @p F as the third macro parameter. + * @param ... Variable list of arguments. The macro @p F is invoked as + * F(index, element, fixed_arg) for each element in + * the list. + */ + + + +/** @brief Reverse arguments order. + * + * @param ... Variable argument list. + */ + + + +/** + * @brief Number of arguments in the variable arguments list minus one. + * + * @note Supports up to 64 arguments. + * + * @param ... List of arguments + * @return Number of variadic arguments in the argument list, minus one + */ +# 676 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util_macro.h" +/** + * @brief Number of arguments in the variable arguments list. + * + * @note Supports up to 63 arguments. + * + * @param ... List of arguments + * @return Number of variadic arguments in the argument list + */ + + + +/** + * @brief Mapping macro that pastes results together + * + * This is similar to FOR_EACH() in that it invokes a macro repeatedly + * on each element of `__VA_ARGS__`. However, unlike FOR_EACH(), + * MACRO_MAP_CAT() pastes the results together into a single token. + * + * For example, with this macro FOO: + * + * #define FOO(x) item_##x##_ + * + * MACRO_MAP_CAT(FOO, a, b, c), expands to the token: + * + * item_a_item_b_item_c_ + * + * @param ... Macro to expand on each argument, followed by its + * arguments. (The macro should take exactly one argument.) + * @return The results of expanding the macro on each argument, all pasted + * together + */ + + +/** + * @brief Mapping macro that pastes a fixed number of results together + * + * Similar to @ref MACRO_MAP_CAT(), but expects a fixed number of + * arguments. If more arguments are given than are expected, the rest + * are ignored. + * + * @param N Number of arguments to map + * @param ... Macro to expand on each argument, followed by its + * arguments. (The macro should take exactly one argument.) + * @return The results of expanding the macro on each argument, all pasted + * together + */ + + +/** + * @} + */ + + +} +# 18 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain.h" 1 +/* + * Copyright (c) 2010-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Macros to abstract toolchain specific capabilities + * + * This file contains various macros to abstract compiler capabilities that + * utilize toolchain specific attributes and/or pragmas. + */ +# 19 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util.h" 2 + +/* needs to be outside _ASMLANGUAGE so 'true' and 'false' can turn + * into '1' and '0' for asm or linker scripts + */ +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdbool.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdbool.h" 3 4 +/* Copyright (C) 1998-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.16 Boolean type and values + */ +# 24 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/__assert.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/__assert.h" +/* + * Copyright (c) 2011-2014 Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdbool.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdbool.h" 3 4 +/* Copyright (C) 1998-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.16 Boolean type and values + */ +# 11 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/__assert.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain.h" +/* + * Copyright (c) 2010-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Macros to abstract toolchain specific capabilities + * + * This file contains various macros to abstract compiler capabilities that + * utilize toolchain specific attributes and/or pragmas. + */ +# 12 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/__assert.h" 2 +# 31 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/__assert.h" +extern "C" { + + +/* Wrapper around printk to avoid including printk.h in assert.h */ +void __attribute__((format (printf, 1, 2))) assert_print(const char *fmt, ...); + + +} +# 28 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/types.h" 1 +/* + * Copyright (c) 2017 Linaro Limited + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* Copyright (C) 1989-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.17 Common definitions + */ +# 30 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 1 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ +# 31 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util.h" 2 + + +# 32 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util.h" +/** @brief Number of bits that make up a type */ + + + +extern "C" { + + +/** + * @defgroup sys-util Utility Functions + * @since 2.4 + * @version 0.1.0 + * @ingroup utilities + * @{ + */ + +/** @brief Cast @p x, a pointer, to an unsigned integer. */ + +/** @brief Cast @p x, an unsigned integer, to a void*. */ + +/** @brief Cast @p x, a pointer, to a signed integer. */ + +/** @brief Cast @p x, a signed integer, to a void*. */ + + + + + + +/** Number of bits in a byte. */ + + +/** Number of bits in a nibble. */ + + +/** Number of nibbles in a byte. */ + + +/** Number of bits in a long int. */ + + +/** Number of bits in a long long int. */ + + +/** + * @brief Create a contiguous bitmask starting at bit position @p l + * and ending at position @p h. + */ + + + +/** + * @brief Create a contiguous 64-bit bitmask starting at bit position @p l + * and ending at position @p h. + */ + + + +/** @brief 0 if @p cond is true-ish; causes a compile error otherwise. */ + + + + +/* The built-in function used below for type checking in C is not + * supported by GNU C++. + */ +# 125 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util.h" +/** + * @brief Declare a flexible array member. + * + * This macro declares a flexible array member in a struct. The member + * is named @p name and has type @p type. + * + * Since C99, flexible arrays are part of the C standard, but for historical + * reasons many places still use an older GNU extension that is declare + * zero length arrays. + * + * Although zero length arrays are flexible arrays, we can't blindly + * replace [0] with [] because of some syntax limitations. This macro + * workaround these limitations. + * + * It is specially useful for cases where flexible arrays are + * used in unions or are not the last element in the struct. + */ + + + + + + +/** + * @brief Whether @p ptr is an element of @p array + * + * This macro can be seen as a slightly stricter version of @ref PART_OF_ARRAY + * in that it also ensures that @p ptr is aligned to an array-element boundary + * of @p array. + * + * In C, passing a pointer as @p array causes a compile error. + * + * @param array the array in question + * @param ptr the pointer to check + * + * @return 1 if @p ptr is part of @p array, 0 otherwise + */ + + + + + +/** + * @brief Index of @p ptr within @p array + * + * With `CONFIG_ASSERT=y`, this macro will trigger a runtime assertion + * when @p ptr does not fall into the range of @p array or when @p ptr + * is not aligned to an array-element boundary of @p array. + * + * In C, passing a pointer as @p array causes a compile error. + * + * @param array the array in question + * @param ptr pointer to an element of @p array + * + * @return the array index of @p ptr within @p array, on success + */ + + + + + + +/** + * @brief Check if a pointer @p ptr lies within @p array. + * + * In C but not C++, this causes a compile error if @p array is not an array + * (e.g. if @p ptr and @p array are mixed up). + * + * @param array an array + * @param ptr a pointer + * @return 1 if @p ptr is part of @p array, 0 otherwise + */ + + + + +/** + * @brief Array-index of @p ptr within @p array, rounded down + * + * This macro behaves much like @ref ARRAY_INDEX with the notable + * difference that it accepts any @p ptr in the range of @p array rather than + * exclusively a @p ptr aligned to an array-element boundary of @p array. + * + * With `CONFIG_ASSERT=y`, this macro will trigger a runtime assertion + * when @p ptr does not fall into the range of @p array. + * + * In C, passing a pointer as @p array causes a compile error. + * + * @param array the array in question + * @param ptr pointer to an element of @p array + * + * @return the array index of @p ptr within @p array, on success + */ + + + + + + +/** + * @brief Iterate over members of an array using an index variable + * + * @param array the array in question + * @param idx name of array index variable + */ + + +/** + * @brief Iterate over members of an array using a pointer + * + * @param array the array in question + * @param ptr pointer to an element of @p array + */ + + + + +/** + * @brief Validate if two entities have a compatible type + * + * @param a the first entity to be compared + * @param b the second entity to be compared + * @return 1 if the two elements are compatible, 0 if they are not + */ + + +/** + * @brief Validate CONTAINER_OF parameters, only applies to C mode. + */ +# 263 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util.h" +/** + * @brief Get a pointer to a structure containing the element + * + * Example: + * + * struct foo { + * int bar; + * }; + * + * struct foo my_foo; + * int *ptr = &my_foo.bar; + * + * struct foo *container = CONTAINER_OF(ptr, struct foo, bar); + * + * Above, @p container points at @p my_foo. + * + * @param ptr pointer to a structure element + * @param type name of the type that @p ptr is an element of + * @param field the name of the field within the struct @p ptr points to + * @return a pointer to the structure that contains @p ptr + */ + + + + + + +/** + * @brief Report the size of a struct field in bytes. + * + * @param type The structure containing the field of interest. + * @param member The field to return the size of. + * + * @return The field size. + */ + + +/** + * @brief Concatenate input arguments + * + * Concatenate provided tokens into a combined token during the preprocessor pass. + * This can be used to, for ex., build an identifier out of multiple parts, + * where one of those parts may be, for ex, a number, another macro, or a macro argument. + * + * @param ... Tokens to concatencate + * + * @return Concatenated token. + */ + + + +/** + * @brief Check if @p ptr is aligned to @p align alignment + */ + + +/** + * @brief Value of @p x rounded up to the next multiple of @p align. + */ + + + + +/** + * @brief Value of @p x rounded down to the previous multiple of @p align. + */ + + + +/** @brief Value of @p x rounded up to the next word boundary. */ + + +/** @brief Value of @p x rounded down to the previous word boundary. */ + + +/** + * @brief Divide and round up. + * + * Example: + * @code{.c} + * DIV_ROUND_UP(1, 2); // 1 + * DIV_ROUND_UP(3, 2); // 2 + * @endcode + * + * @param n Numerator. + * @param d Denominator. + * + * @return The result of @p n / @p d, rounded up. + */ + + +/** + * @brief Divide and round to the nearest integer. + * + * Example: + * @code{.c} + * DIV_ROUND_CLOSEST(5, 2); // 3 + * DIV_ROUND_CLOSEST(5, -2); // -3 + * DIV_ROUND_CLOSEST(5, 3); // 2 + * @endcode + * + * @param n Numerator. + * @param d Denominator. + * + * @return The result of @p n / @p d, rounded to the nearest integer. + */ + + + + + + +/** + * @brief Obtain the maximum of two values. + * + * @note Arguments are evaluated twice. Use Z_MAX for a GCC-only, single + * evaluation version + * + * @param a First value. + * @param b Second value. + * + * @returns Maximum value of @p a and @p b. + */ + + + + +/** + * @brief Obtain the minimum of two values. + * + * @note Arguments are evaluated twice. Use Z_MIN for a GCC-only, single + * evaluation version + * + * @param a First value. + * @param b Second value. + * + * @returns Minimum value of @p a and @p b. + */ + + + + +/** + * @brief Clamp a value to a given range. + * + * @note Arguments are evaluated multiple times. Use Z_CLAMP for a GCC-only, + * single evaluation version. + * + * @param val Value to be clamped. + * @param low Lowest allowed value (inclusive). + * @param high Highest allowed value (inclusive). + * + * @returns Clamped value. + */ + + + +/** + * @brief Checks if a value is within range. + * + * @note @p val is evaluated twice. + * + * @param val Value to be checked. + * @param min Lower bound (inclusive). + * @param max Upper bound (inclusive). + * + * @retval true If value is within range + * @retval false If the value is not within range + */ + + +/** + * @brief Is @p x a power of two? + * @param x value to check + * @return true if @p x is a power of two, false otherwise + */ +static inline bool is_power_of_two(unsigned int x) +{ + return (((x) != 0U) && (((x) & ((x) - 1U)) == 0U)); +} + +/** + * @brief Is @p p equal to ``NULL``? + * + * Some macros may need to check their arguments against NULL to support + * multiple use-cases, but NULL checks can generate warnings if such a macro + * is used in contexts where that particular argument can never be NULL. + * + * The warnings can be triggered if: + * a) all macros are expanded (e.g. when using CONFIG_COMPILER_SAVE_TEMPS=y) + * or + * b) tracking of macro expansions are turned off (-ftrack-macro-expansion=0) + * + * The warnings can be circumvented by using this inline function for doing + * the NULL check within the macro. The compiler is still able to optimize the + * NULL check out at a later stage. + * + * @param p Pointer to check + * @return true if @p p is equal to ``NULL``, false otherwise + */ +static inline __attribute__((always_inline)) bool is_null_no_warn(void *p) +{ + return p == +# 465 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util.h" 3 4 + __null +# 465 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util.h" + ; +} + +/** + * @brief Arithmetic shift right + * @param value value to shift + * @param shift number of bits to shift + * @return @p value shifted right by @p shift; opened bit positions are + * filled with the sign bit + */ +static inline int64_t arithmetic_shift_right(int64_t value, uint8_t shift) +{ + int64_t sign_ext; + + if (shift == 0U) { + return value; + } + + /* extract sign bit */ + sign_ext = (value >> 63) & 1; + + /* make all bits of sign_ext be the same as the value's sign bit */ + sign_ext = -sign_ext; + + /* shift value and fill opened bit positions with sign bit */ + return (value >> shift) | (sign_ext << (64 - shift)); +} + +/** + * @brief byte by byte memcpy. + * + * Copy `size` bytes of `src` into `dest`. This is guaranteed to be done byte by byte. + * + * @param dst Pointer to the destination memory. + * @param src Pointer to the source of the data. + * @param size The number of bytes to copy. + */ +static inline void bytecpy(void *dst, const void *src, size_t size) +{ + size_t i; + + for (i = 0; i < size; ++i) { + ((volatile uint8_t *)dst)[i] = ((volatile const uint8_t *)src)[i]; + } +} + +/** + * @brief byte by byte swap. + * + * Swap @a size bytes between memory regions @a a and @a b. This is + * guaranteed to be done byte by byte. + * + * @param a Pointer to the first memory region. + * @param b Pointer to the second memory region. + * @param size The number of bytes to swap. + */ +static inline void byteswp(void *a, void *b, size_t size) +{ + uint8_t t; + uint8_t *aa = (uint8_t *)a; + uint8_t *bb = (uint8_t *)b; + + for (; size > 0; --size) { + t = *aa; + *aa++ = *bb; + *bb++ = t; + } +} + +/** + * @brief Convert a single character into a hexadecimal nibble. + * + * @param c The character to convert + * @param x The address of storage for the converted number. + * + * @return Zero on success or (negative) error code otherwise. + */ +int char2hex(char c, uint8_t *x); + +/** + * @brief Convert a single hexadecimal nibble into a character. + * + * @param c The number to convert + * @param x The address of storage for the converted character. + * + * @return Zero on success or (negative) error code otherwise. + */ +int hex2char(uint8_t x, char *c); + +/** + * @brief Convert a binary array into string representation. + * + * @param buf The binary array to convert + * @param buflen The length of the binary array to convert + * @param hex Address of where to store the string representation. + * @param hexlen Size of the storage area for string representation. + * + * @return The length of the converted string, or 0 if an error occurred. + */ +size_t bin2hex(const uint8_t *buf, size_t buflen, char *hex, size_t hexlen); + +/** + * @brief Convert a hexadecimal string into a binary array. + * + * @param hex The hexadecimal string to convert + * @param hexlen The length of the hexadecimal string to convert. + * @param buf Address of where to store the binary data + * @param buflen Size of the storage area for binary data + * + * @return The length of the binary array, or 0 if an error occurred. + */ +size_t hex2bin(const char *hex, size_t hexlen, uint8_t *buf, size_t buflen); + +/** + * @brief Convert a binary coded decimal (BCD 8421) value to binary. + * + * @param bcd BCD 8421 value to convert. + * + * @return Binary representation of input value. + */ +static inline uint8_t bcd2bin(uint8_t bcd) +{ + return ((10 * (bcd >> 4)) + (bcd & 0x0F)); +} + +/** + * @brief Convert a binary value to binary coded decimal (BCD 8421). + * + * @param bin Binary value to convert. + * + * @return BCD 8421 representation of input value. + */ +static inline uint8_t bin2bcd(uint8_t bin) +{ + return (((bin / 10) << 4) | (bin % 10)); +} + +/** + * @brief Convert a uint8_t into a decimal string representation. + * + * Convert a uint8_t value into its ASCII decimal string representation. + * The string is terminated if there is enough space in buf. + * + * @param buf Address of where to store the string representation. + * @param buflen Size of the storage area for string representation. + * @param value The value to convert to decimal string + * + * @return The length of the converted string (excluding terminator if + * any), or 0 if an error occurred. + */ +uint8_t u8_to_dec(char *buf, uint8_t buflen, uint8_t value); + +/** + * @brief Sign extend an 8, 16 or 32 bit value using the index bit as sign bit. + * + * @param value The value to sign expand. + * @param index 0 based bit index to sign bit (0 to 31) + */ +static inline int32_t sign_extend(uint32_t value, uint8_t index) +{ + { }; + + uint8_t shift = 31 - index; + + return (int32_t)(value << shift) >> shift; +} + +/** + * @brief Sign extend a 64 bit value using the index bit as sign bit. + * + * @param value The value to sign expand. + * @param index 0 based bit index to sign bit (0 to 63) + */ +static inline int64_t sign_extend_64(uint64_t value, uint8_t index) +{ + { }; + + uint8_t shift = 63 - index; + + return (int64_t)(value << shift) >> shift; +} + +/** + * @brief Properly truncate a NULL-terminated UTF-8 string + * + * Take a NULL-terminated UTF-8 string and ensure that if the string has been + * truncated (by setting the NULL terminator) earlier by other means, that + * the string ends with a properly formatted UTF-8 character (1-4 bytes). + * + * @htmlonly + * Example: + * char test_str[] = "€€€"; + * char trunc_utf8[8]; + * + * printf("Original : %s\n", test_str); // €€€ + * strncpy(trunc_utf8, test_str, sizeof(trunc_utf8)); + * trunc_utf8[sizeof(trunc_utf8) - 1] = '\0'; + * printf("Bad : %s\n", trunc_utf8); // €€� + * utf8_trunc(trunc_utf8); + * printf("Truncated: %s\n", trunc_utf8); // €€ + * @endhtmlonly + * + * @param utf8_str NULL-terminated string + * + * @return Pointer to the @p utf8_str + */ +char *utf8_trunc(char *utf8_str); + +/** + * @brief Copies a UTF-8 encoded string from @p src to @p dst + * + * The resulting @p dst will always be NULL terminated if @p n is larger than 0, + * and the @p dst string will always be properly UTF-8 truncated. + * + * @param dst The destination of the UTF-8 string. + * @param src The source string + * @param n The size of the @p dst buffer. Maximum number of characters copied + * is @p n - 1. If 0 nothing will be done, and the @p dst will not be + * NULL terminated. + * + * @return Pointer to the @p dst + */ +char *utf8_lcpy(char *dst, const char *src, size_t n); + + + + + +/** + * @brief Compute log2(x) + * + * @note This macro expands its argument multiple times (to permit use + * in constant expressions), which must not have side effects. + * + * @param x An unsigned integral value to compute logarithm of (positive only) + * + * @return log2(x) when 1 <= x <= max(x), -1 when x < 1 + */ + + +/** + * @brief Compute ceil(log2(x)) + * + * @note This macro expands its argument multiple times (to permit use + * in constant expressions), which must not have side effects. + * + * @param x An unsigned integral value + * + * @return ceil(log2(x)) when 1 <= x <= max(type(x)), 0 when x < 1 + */ + + +/** + * @brief Compute next highest power of two + * + * Equivalent to 2^ceil(log2(x)) + * + * @note This macro expands its argument multiple times (to permit use + * in constant expressions), which must not have side effects. + * + * @param x An unsigned integral value + * + * @return 2^ceil(log2(x)) or 0 if 2^ceil(log2(x)) would saturate 64-bits + */ + + +/** + * @brief Determine if a buffer exceeds highest address + * + * This macro determines if a buffer identified by a starting address @a addr + * and length @a buflen spans a region of memory that goes beyond the highest + * possible address (thereby resulting in a pointer overflow). + * + * @param addr Buffer starting address + * @param buflen Length of the buffer + * + * @return true if pointer overflow detected, false otherwise + */ + + + + +/** + * @brief XOR n bytes + * + * @param dst Destination of where to store result. Shall be @p len bytes. + * @param src1 First source. Shall be @p len bytes. + * @param src2 Second source. Shall be @p len bytes. + * @param len Number of bytes to XOR. + */ +static inline void mem_xor_n(uint8_t *dst, const uint8_t *src1, const uint8_t *src2, size_t len) +{ + while (len--) { + *dst++ = *src1++ ^ *src2++; + } +} + +/** + * @brief XOR 32 bits + * + * @param dst Destination of where to store result. Shall be 32 bits. + * @param src1 First source. Shall be 32 bits. + * @param src2 Second source. Shall be 32 bits. + */ +static inline void mem_xor_32(uint8_t dst[4], const uint8_t src1[4], const uint8_t src2[4]) +{ + mem_xor_n(dst, src1, src2, 4U); +} + +/** + * @brief XOR 128 bits + * + * @param dst Destination of where to store result. Shall be 128 bits. + * @param src1 First source. Shall be 128 bits. + * @param src2 Second source. Shall be 128 bits. + */ +static inline void mem_xor_128(uint8_t dst[16], const uint8_t src1[16], const uint8_t src2[16]) +{ + mem_xor_n(dst, src1, src2, 16); +} + + +} + + +/* This file must be included at the end of the !_ASMLANGUAGE guard. + * It depends on macros defined in this file above which cannot be forward declared. + */ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/time_units.h" 1 +/* + * Copyright (c) 2019 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain.h" 1 +/* + * Copyright (c) 2010-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Macros to abstract toolchain specific capabilities + * + * This file contains various macros to abstract compiler capabilities that + * utilize toolchain specific attributes and/or pragmas. + */ +# 11 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/time_units.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util.h" 1 +/* + * Copyright (c) 2011-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Misc utilities + * + * Misc utilities usable by the kernel and application code. + */ +# 12 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/time_units.h" 2 + + +extern "C" { + + +/** + * @file + * @defgroup timeutil_unit_apis Time Units Helpers + * @ingroup timeutil_apis + * + * @brief Various helper APIs for converting between time units. + * @{ + */ + +/** @brief System-wide macro to denote "forever" in milliseconds + * + * Usage of this macro is limited to APIs that want to expose a timeout value + * that can optionally be unlimited, or "forever". + * This macro can not be fed into kernel functions or macros directly. Use + * @ref SYS_TIMEOUT_MS instead. + */ + + +/** @brief System-wide macro to denote "forever" in microseconds + * + * See @ref SYS_FOREVER_MS. + */ + + +/** @brief System-wide macro to initialize #k_timeout_t with a number of ticks + * converted from milliseconds. + */ + + + + +/** @brief System-wide macro to convert milliseconds to kernel timeouts + */ + + +/* Exhaustively enumerated, highly optimized time unit conversion API */ +# 75 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/time_units.h" +/** + * @brief Get the system timer frequency. + * @return system timer frequency in Hz + */ + + + + + + +/** @internal + * Macro determines if fast conversion algorithm can be used. It checks if + * maximum timeout represented in source frequency domain and multiplied by + * target frequency fits in 64 bits. + * + * @param from_hz Source frequency. + * @param to_hz Target frequency. + * + * @retval true Use faster algorithm. + * @retval false Use algorithm preventing overflow of intermediate value. + */ + + + + +/* Time converter generator gadget. Selects from one of three + * conversion algorithms: ones that take advantage when the + * frequencies are an integer ratio (in either direction), or a full + * precision conversion. Clever use of extra arguments causes all the + * selection logic to be optimized out, and the generated code even + * reduces to 32 bit only if a ratio conversion is available and the + * result is 32 bits. + * + * This isn't intended to be used directly, instead being wrapped + * appropriately in a user-facing API. The boolean arguments are: + * + * const_hz - The hz arguments are known to be compile-time + * constants (because otherwise the modulus test would + * have to be done at runtime) + * result32 - The result will be truncated to 32 bits on use + * round_up - Return the ceiling of the resulting fraction + * round_off - Return the nearest value to the resulting fraction + * (pass both round_up/off as false to get "round_down") + * + * All of this must be implemented as expressions so that, when constant, + * the results may be used to initialize global variables. + */ + +/* true if the conversion is the identity */ + + + +/* true if the conversion requires a simple integer multiply */ + + + +/* true if the conversion requires a simple integer division */ + + + +/* + * Compute the offset needed to round the result correctly when + * the conversion requires a simple integer division + */ + + + + + +/* + * All users of this macro MUST ensure its output is never used when a/b + * is zero because it incorrectly but by design never returns zero. + * + * Some compiler versions emit a divide-by-zero warning for this code: + * "false ? 42/0 : 43". Dealing with (generated) dead code is hard: + * https://github.com/zephyrproject-rtos/zephyr/issues/63564 + * https://blog.llvm.org/2011/05/what-every-c-programmer-should-know_21.html + * + * To silence such divide-by-zero warnings, "cheat" and never return + * zero. Return 1 instead. Use octal "01u" as a breadcrumb to ease a + * little bit the huge pain of "reverse-engineering" pre-processor + * output. + * + * The "Elvis" operator "a/b ?: 1" is tempting because it avoids + * evaluating the same expression twice. However: 1. it's a non-standard + * GNU extension; 2. everything in this file is designed to be computed + * at compile time anyway. + */ + + +/* + * Compute the offset needed to round the result correctly when + * the conversion requires a full mul/div + */ + + + + + +/* Integer division 32-bit conversion */ +# 189 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/time_units.h" +/* Integer multiplication 32-bit conversion */ + + + +/* General 32-bit conversion */ + + + + +/* Integer division 64-bit conversion */ + + + + + +/* Integer multiplication 64-bit conversion */ + + + +/* Fast 64-bit conversion. This relies on the multiply not overflowing */ + + + + +/* Slow 64-bit conversion. This avoids overflowing the multiply */ + + + + + +/* General 64-bit conversion. Uses one of the two above macros */ + + + + + +/* Convert, generating a 32-bit result */ +# 244 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/time_units.h" +/* Convert, generating a 64-bit result */ +# 268 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/time_units.h" +/* The following code is programmatically generated using this perl + * code, which enumerates all possible combinations of units, rounding + * modes and precision. Do not edit directly. + * + * Note that nano/microsecond conversions are only defined with 64 bit + * precision. These units conversions were not available in 32 bit + * variants historically, and doing 32 bit math with units that small + * has precision traps that we probably don't want to support in an + * official API. + * + * #!/usr/bin/perl -w + * use strict; + * + * my %human = ("sec" => "seconds", + * "ms" => "milliseconds", + * "us" => "microseconds", + * "ns" => "nanoseconds", + * "cyc" => "hardware cycles", + * "ticks" => "ticks"); + * my %human_round = ("ceil" => "Rounds up", + * "near" => "Round nearest", + * "floor" => "Truncates"); + * + * sub big { return $_[0] eq "us" || $_[0] eq "ns"; } + * sub prefix { return $_[0] eq "sec" || $_[0] eq "ms" || $_[0] eq "us" || $_[0] eq "ns"; } + * + * for my $from_unit ("sec", "ms", "us", "ns", "cyc", "ticks") { + * for my $to_unit ("sec", "ms", "us", "ns", "cyc", "ticks") { + * next if $from_unit eq $to_unit; + * next if prefix($from_unit) && prefix($to_unit); + * for my $round ("floor", "near", "ceil") { + * for(my $big=0; $big <= 1; $big++) { + * my $sz = $big ? 64 : 32; + * my $sym = "k_${from_unit}_to_${to_unit}_$round$sz"; + * my $type = "uint${sz}_t"; + * my $const_hz = ($from_unit eq "cyc" || $to_unit eq "cyc") + * ? "Z_CCYC" : "true"; + * my $ret32 = $big ? "64" : "32"; + * my $rup = $round eq "ceil" ? "true" : "false"; + * my $roff = $round eq "near" ? "true" : "false"; + * + * my $hfrom = $human{$from_unit}; + * my $hto = $human{$to_unit}; + * my $hround = $human_round{$round}; + * print "/", "** \@brief Convert $hfrom to $hto. $ret32 bits. $hround.\n"; + * print " *\n"; + * print " * Converts time values in $hfrom to $hto.\n"; + * print " * Computes result in $sz bit precision.\n"; + * if ($round eq "ceil") { + * print " * Rounds up to the next highest output unit.\n"; + * } elsif ($round eq "near") { + * print " * Rounds to the nearest output unit.\n"; + * } else { + * print " * Truncates to the next lowest output unit.\n"; + * } + * print " *\n"; + * print " * \@warning Generated. Do not edit. See above.\n"; + * print " *\n"; + * print " * \@param t Source time in $hfrom. uint64_t\n"; + * print " *\n"; + * print " * \@return The converted time value in $hto. $type\n"; + * print " *", "/\n"; + * print "#define $sym(t) \\\n"; + * print "\tz_tmcvt_$ret32(t, Z_HZ_$from_unit, Z_HZ_$to_unit,"; + * print " $const_hz, $rup, $roff)\n"; + * print "\n\n"; + * } + * } + * } + * } + */ + +/* Some more concise declarations to simplify the generator script and + * save bytes below + */ +# 351 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/time_units.h" +/** @brief Convert seconds to hardware cycles. 32 bits. Truncates. + * + * Converts time values in seconds to hardware cycles. + * Computes result in 32 bit precision. + * Truncates to the next lowest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in seconds. uint64_t + * + * @return The converted time value in hardware cycles. uint32_t + */ + + + + +/** @brief Convert seconds to hardware cycles. 64 bits. Truncates. + * + * Converts time values in seconds to hardware cycles. + * Computes result in 64 bit precision. + * Truncates to the next lowest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in seconds. uint64_t + * + * @return The converted time value in hardware cycles. uint64_t + */ + + + + +/** @brief Convert seconds to hardware cycles. 32 bits. Round nearest. + * + * Converts time values in seconds to hardware cycles. + * Computes result in 32 bit precision. + * Rounds to the nearest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in seconds. uint64_t + * + * @return The converted time value in hardware cycles. uint32_t + */ + + + + +/** @brief Convert seconds to hardware cycles. 64 bits. Round nearest. + * + * Converts time values in seconds to hardware cycles. + * Computes result in 64 bit precision. + * Rounds to the nearest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in seconds. uint64_t + * + * @return The converted time value in hardware cycles. uint64_t + */ + + + + +/** @brief Convert seconds to hardware cycles. 32 bits. Rounds up. + * + * Converts time values in seconds to hardware cycles. + * Computes result in 32 bit precision. + * Rounds up to the next highest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in seconds. uint64_t + * + * @return The converted time value in hardware cycles. uint32_t + */ + + + + +/** @brief Convert seconds to hardware cycles. 64 bits. Rounds up. + * + * Converts time values in seconds to hardware cycles. + * Computes result in 64 bit precision. + * Rounds up to the next highest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in seconds. uint64_t + * + * @return The converted time value in hardware cycles. uint64_t + */ + + + + +/** @brief Convert seconds to ticks. 32 bits. Truncates. + * + * Converts time values in seconds to ticks. + * Computes result in 32 bit precision. + * Truncates to the next lowest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in seconds. uint64_t + * + * @return The converted time value in ticks. uint32_t + */ + + + + +/** @brief Convert seconds to ticks. 64 bits. Truncates. + * + * Converts time values in seconds to ticks. + * Computes result in 64 bit precision. + * Truncates to the next lowest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in seconds. uint64_t + * + * @return The converted time value in ticks. uint64_t + */ + + + + +/** @brief Convert seconds to ticks. 32 bits. Round nearest. + * + * Converts time values in seconds to ticks. + * Computes result in 32 bit precision. + * Rounds to the nearest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in seconds. uint64_t + * + * @return The converted time value in ticks. uint32_t + */ + + + + +/** @brief Convert seconds to ticks. 64 bits. Round nearest. + * + * Converts time values in seconds to ticks. + * Computes result in 64 bit precision. + * Rounds to the nearest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in seconds. uint64_t + * + * @return The converted time value in ticks. uint64_t + */ + + + + +/** @brief Convert seconds to ticks. 32 bits. Rounds up. + * + * Converts time values in seconds to ticks. + * Computes result in 32 bit precision. + * Rounds up to the next highest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in seconds. uint64_t + * + * @return The converted time value in ticks. uint32_t + */ + + + + +/** @brief Convert seconds to ticks. 64 bits. Rounds up. + * + * Converts time values in seconds to ticks. + * Computes result in 64 bit precision. + * Rounds up to the next highest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in seconds. uint64_t + * + * @return The converted time value in ticks. uint64_t + */ + + + + +/** @brief Convert milliseconds to hardware cycles. 32 bits. Truncates. + * + * Converts time values in milliseconds to hardware cycles. + * Computes result in 32 bit precision. + * Truncates to the next lowest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in milliseconds. uint64_t + * + * @return The converted time value in hardware cycles. uint32_t + */ + + + + +/** @brief Convert milliseconds to hardware cycles. 64 bits. Truncates. + * + * Converts time values in milliseconds to hardware cycles. + * Computes result in 64 bit precision. + * Truncates to the next lowest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in milliseconds. uint64_t + * + * @return The converted time value in hardware cycles. uint64_t + */ + + + + +/** @brief Convert milliseconds to hardware cycles. 32 bits. Round nearest. + * + * Converts time values in milliseconds to hardware cycles. + * Computes result in 32 bit precision. + * Rounds to the nearest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in milliseconds. uint64_t + * + * @return The converted time value in hardware cycles. uint32_t + */ + + + + +/** @brief Convert milliseconds to hardware cycles. 64 bits. Round nearest. + * + * Converts time values in milliseconds to hardware cycles. + * Computes result in 64 bit precision. + * Rounds to the nearest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in milliseconds. uint64_t + * + * @return The converted time value in hardware cycles. uint64_t + */ + + + + +/** @brief Convert milliseconds to hardware cycles. 32 bits. Rounds up. + * + * Converts time values in milliseconds to hardware cycles. + * Computes result in 32 bit precision. + * Rounds up to the next highest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in milliseconds. uint64_t + * + * @return The converted time value in hardware cycles. uint32_t + */ + + + + +/** @brief Convert milliseconds to hardware cycles. 64 bits. Rounds up. + * + * Converts time values in milliseconds to hardware cycles. + * Computes result in 64 bit precision. + * Rounds up to the next highest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in milliseconds. uint64_t + * + * @return The converted time value in hardware cycles. uint64_t + */ + + + + +/** @brief Convert milliseconds to ticks. 32 bits. Truncates. + * + * Converts time values in milliseconds to ticks. + * Computes result in 32 bit precision. + * Truncates to the next lowest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in milliseconds. uint64_t + * + * @return The converted time value in ticks. uint32_t + */ + + + + +/** @brief Convert milliseconds to ticks. 64 bits. Truncates. + * + * Converts time values in milliseconds to ticks. + * Computes result in 64 bit precision. + * Truncates to the next lowest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in milliseconds. uint64_t + * + * @return The converted time value in ticks. uint64_t + */ + + + + +/** @brief Convert milliseconds to ticks. 32 bits. Round nearest. + * + * Converts time values in milliseconds to ticks. + * Computes result in 32 bit precision. + * Rounds to the nearest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in milliseconds. uint64_t + * + * @return The converted time value in ticks. uint32_t + */ + + + + +/** @brief Convert milliseconds to ticks. 64 bits. Round nearest. + * + * Converts time values in milliseconds to ticks. + * Computes result in 64 bit precision. + * Rounds to the nearest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in milliseconds. uint64_t + * + * @return The converted time value in ticks. uint64_t + */ + + + + +/** @brief Convert milliseconds to ticks. 32 bits. Rounds up. + * + * Converts time values in milliseconds to ticks. + * Computes result in 32 bit precision. + * Rounds up to the next highest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in milliseconds. uint64_t + * + * @return The converted time value in ticks. uint32_t + */ + + + + +/** @brief Convert milliseconds to ticks. 64 bits. Rounds up. + * + * Converts time values in milliseconds to ticks. + * Computes result in 64 bit precision. + * Rounds up to the next highest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in milliseconds. uint64_t + * + * @return The converted time value in ticks. uint64_t + */ + + + + +/** @brief Convert microseconds to hardware cycles. 32 bits. Truncates. + * + * Converts time values in microseconds to hardware cycles. + * Computes result in 32 bit precision. + * Truncates to the next lowest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in microseconds. uint64_t + * + * @return The converted time value in hardware cycles. uint32_t + */ + + + + +/** @brief Convert microseconds to hardware cycles. 64 bits. Truncates. + * + * Converts time values in microseconds to hardware cycles. + * Computes result in 64 bit precision. + * Truncates to the next lowest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in microseconds. uint64_t + * + * @return The converted time value in hardware cycles. uint64_t + */ + + + + +/** @brief Convert microseconds to hardware cycles. 32 bits. Round nearest. + * + * Converts time values in microseconds to hardware cycles. + * Computes result in 32 bit precision. + * Rounds to the nearest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in microseconds. uint64_t + * + * @return The converted time value in hardware cycles. uint32_t + */ + + + + +/** @brief Convert microseconds to hardware cycles. 64 bits. Round nearest. + * + * Converts time values in microseconds to hardware cycles. + * Computes result in 64 bit precision. + * Rounds to the nearest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in microseconds. uint64_t + * + * @return The converted time value in hardware cycles. uint64_t + */ + + + + +/** @brief Convert microseconds to hardware cycles. 32 bits. Rounds up. + * + * Converts time values in microseconds to hardware cycles. + * Computes result in 32 bit precision. + * Rounds up to the next highest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in microseconds. uint64_t + * + * @return The converted time value in hardware cycles. uint32_t + */ + + + + +/** @brief Convert microseconds to hardware cycles. 64 bits. Rounds up. + * + * Converts time values in microseconds to hardware cycles. + * Computes result in 64 bit precision. + * Rounds up to the next highest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in microseconds. uint64_t + * + * @return The converted time value in hardware cycles. uint64_t + */ + + + + +/** @brief Convert microseconds to ticks. 32 bits. Truncates. + * + * Converts time values in microseconds to ticks. + * Computes result in 32 bit precision. + * Truncates to the next lowest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in microseconds. uint64_t + * + * @return The converted time value in ticks. uint32_t + */ + + + + +/** @brief Convert microseconds to ticks. 64 bits. Truncates. + * + * Converts time values in microseconds to ticks. + * Computes result in 64 bit precision. + * Truncates to the next lowest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in microseconds. uint64_t + * + * @return The converted time value in ticks. uint64_t + */ + + + + +/** @brief Convert microseconds to ticks. 32 bits. Round nearest. + * + * Converts time values in microseconds to ticks. + * Computes result in 32 bit precision. + * Rounds to the nearest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in microseconds. uint64_t + * + * @return The converted time value in ticks. uint32_t + */ + + + + +/** @brief Convert microseconds to ticks. 64 bits. Round nearest. + * + * Converts time values in microseconds to ticks. + * Computes result in 64 bit precision. + * Rounds to the nearest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in microseconds. uint64_t + * + * @return The converted time value in ticks. uint64_t + */ + + + + +/** @brief Convert microseconds to ticks. 32 bits. Rounds up. + * + * Converts time values in microseconds to ticks. + * Computes result in 32 bit precision. + * Rounds up to the next highest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in microseconds. uint64_t + * + * @return The converted time value in ticks. uint32_t + */ + + + + +/** @brief Convert microseconds to ticks. 64 bits. Rounds up. + * + * Converts time values in microseconds to ticks. + * Computes result in 64 bit precision. + * Rounds up to the next highest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in microseconds. uint64_t + * + * @return The converted time value in ticks. uint64_t + */ + + + + +/** @brief Convert nanoseconds to hardware cycles. 32 bits. Truncates. + * + * Converts time values in nanoseconds to hardware cycles. + * Computes result in 32 bit precision. + * Truncates to the next lowest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in nanoseconds. uint64_t + * + * @return The converted time value in hardware cycles. uint32_t + */ + + + + +/** @brief Convert nanoseconds to hardware cycles. 64 bits. Truncates. + * + * Converts time values in nanoseconds to hardware cycles. + * Computes result in 64 bit precision. + * Truncates to the next lowest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in nanoseconds. uint64_t + * + * @return The converted time value in hardware cycles. uint64_t + */ + + + + +/** @brief Convert nanoseconds to hardware cycles. 32 bits. Round nearest. + * + * Converts time values in nanoseconds to hardware cycles. + * Computes result in 32 bit precision. + * Rounds to the nearest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in nanoseconds. uint64_t + * + * @return The converted time value in hardware cycles. uint32_t + */ + + + + +/** @brief Convert nanoseconds to hardware cycles. 64 bits. Round nearest. + * + * Converts time values in nanoseconds to hardware cycles. + * Computes result in 64 bit precision. + * Rounds to the nearest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in nanoseconds. uint64_t + * + * @return The converted time value in hardware cycles. uint64_t + */ + + + + +/** @brief Convert nanoseconds to hardware cycles. 32 bits. Rounds up. + * + * Converts time values in nanoseconds to hardware cycles. + * Computes result in 32 bit precision. + * Rounds up to the next highest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in nanoseconds. uint64_t + * + * @return The converted time value in hardware cycles. uint32_t + */ + + + + +/** @brief Convert nanoseconds to hardware cycles. 64 bits. Rounds up. + * + * Converts time values in nanoseconds to hardware cycles. + * Computes result in 64 bit precision. + * Rounds up to the next highest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in nanoseconds. uint64_t + * + * @return The converted time value in hardware cycles. uint64_t + */ + + + + +/** @brief Convert nanoseconds to ticks. 32 bits. Truncates. + * + * Converts time values in nanoseconds to ticks. + * Computes result in 32 bit precision. + * Truncates to the next lowest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in nanoseconds. uint64_t + * + * @return The converted time value in ticks. uint32_t + */ + + + + +/** @brief Convert nanoseconds to ticks. 64 bits. Truncates. + * + * Converts time values in nanoseconds to ticks. + * Computes result in 64 bit precision. + * Truncates to the next lowest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in nanoseconds. uint64_t + * + * @return The converted time value in ticks. uint64_t + */ + + + + +/** @brief Convert nanoseconds to ticks. 32 bits. Round nearest. + * + * Converts time values in nanoseconds to ticks. + * Computes result in 32 bit precision. + * Rounds to the nearest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in nanoseconds. uint64_t + * + * @return The converted time value in ticks. uint32_t + */ + + + + +/** @brief Convert nanoseconds to ticks. 64 bits. Round nearest. + * + * Converts time values in nanoseconds to ticks. + * Computes result in 64 bit precision. + * Rounds to the nearest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in nanoseconds. uint64_t + * + * @return The converted time value in ticks. uint64_t + */ + + + + +/** @brief Convert nanoseconds to ticks. 32 bits. Rounds up. + * + * Converts time values in nanoseconds to ticks. + * Computes result in 32 bit precision. + * Rounds up to the next highest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in nanoseconds. uint64_t + * + * @return The converted time value in ticks. uint32_t + */ + + + + +/** @brief Convert nanoseconds to ticks. 64 bits. Rounds up. + * + * Converts time values in nanoseconds to ticks. + * Computes result in 64 bit precision. + * Rounds up to the next highest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in nanoseconds. uint64_t + * + * @return The converted time value in ticks. uint64_t + */ + + + + +/** @brief Convert hardware cycles to seconds. 32 bits. Truncates. + * + * Converts time values in hardware cycles to seconds. + * Computes result in 32 bit precision. + * Truncates to the next lowest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in hardware cycles. uint64_t + * + * @return The converted time value in seconds. uint32_t + */ + + + + +/** @brief Convert hardware cycles to seconds. 64 bits. Truncates. + * + * Converts time values in hardware cycles to seconds. + * Computes result in 64 bit precision. + * Truncates to the next lowest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in hardware cycles. uint64_t + * + * @return The converted time value in seconds. uint64_t + */ + + + + +/** @brief Convert hardware cycles to seconds. 32 bits. Round nearest. + * + * Converts time values in hardware cycles to seconds. + * Computes result in 32 bit precision. + * Rounds to the nearest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in hardware cycles. uint64_t + * + * @return The converted time value in seconds. uint32_t + */ + + + + +/** @brief Convert hardware cycles to seconds. 64 bits. Round nearest. + * + * Converts time values in hardware cycles to seconds. + * Computes result in 64 bit precision. + * Rounds to the nearest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in hardware cycles. uint64_t + * + * @return The converted time value in seconds. uint64_t + */ + + + + +/** @brief Convert hardware cycles to seconds. 32 bits. Rounds up. + * + * Converts time values in hardware cycles to seconds. + * Computes result in 32 bit precision. + * Rounds up to the next highest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in hardware cycles. uint64_t + * + * @return The converted time value in seconds. uint32_t + */ + + + + +/** @brief Convert hardware cycles to seconds. 64 bits. Rounds up. + * + * Converts time values in hardware cycles to seconds. + * Computes result in 64 bit precision. + * Rounds up to the next highest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in hardware cycles. uint64_t + * + * @return The converted time value in seconds. uint64_t + */ + + + + +/** @brief Convert hardware cycles to milliseconds. 32 bits. Truncates. + * + * Converts time values in hardware cycles to milliseconds. + * Computes result in 32 bit precision. + * Truncates to the next lowest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in hardware cycles. uint64_t + * + * @return The converted time value in milliseconds. uint32_t + */ + + + + +/** @brief Convert hardware cycles to milliseconds. 64 bits. Truncates. + * + * Converts time values in hardware cycles to milliseconds. + * Computes result in 64 bit precision. + * Truncates to the next lowest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in hardware cycles. uint64_t + * + * @return The converted time value in milliseconds. uint64_t + */ + + + + +/** @brief Convert hardware cycles to milliseconds. 32 bits. Round nearest. + * + * Converts time values in hardware cycles to milliseconds. + * Computes result in 32 bit precision. + * Rounds to the nearest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in hardware cycles. uint64_t + * + * @return The converted time value in milliseconds. uint32_t + */ + + + + +/** @brief Convert hardware cycles to milliseconds. 64 bits. Round nearest. + * + * Converts time values in hardware cycles to milliseconds. + * Computes result in 64 bit precision. + * Rounds to the nearest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in hardware cycles. uint64_t + * + * @return The converted time value in milliseconds. uint64_t + */ + + + + +/** @brief Convert hardware cycles to milliseconds. 32 bits. Rounds up. + * + * Converts time values in hardware cycles to milliseconds. + * Computes result in 32 bit precision. + * Rounds up to the next highest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in hardware cycles. uint64_t + * + * @return The converted time value in milliseconds. uint32_t + */ + + + + +/** @brief Convert hardware cycles to milliseconds. 64 bits. Rounds up. + * + * Converts time values in hardware cycles to milliseconds. + * Computes result in 64 bit precision. + * Rounds up to the next highest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in hardware cycles. uint64_t + * + * @return The converted time value in milliseconds. uint64_t + */ + + + + +/** @brief Convert hardware cycles to microseconds. 32 bits. Truncates. + * + * Converts time values in hardware cycles to microseconds. + * Computes result in 32 bit precision. + * Truncates to the next lowest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in hardware cycles. uint64_t + * + * @return The converted time value in microseconds. uint32_t + */ + + + + +/** @brief Convert hardware cycles to microseconds. 64 bits. Truncates. + * + * Converts time values in hardware cycles to microseconds. + * Computes result in 64 bit precision. + * Truncates to the next lowest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in hardware cycles. uint64_t + * + * @return The converted time value in microseconds. uint64_t + */ + + + + +/** @brief Convert hardware cycles to microseconds. 32 bits. Round nearest. + * + * Converts time values in hardware cycles to microseconds. + * Computes result in 32 bit precision. + * Rounds to the nearest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in hardware cycles. uint64_t + * + * @return The converted time value in microseconds. uint32_t + */ + + + + +/** @brief Convert hardware cycles to microseconds. 64 bits. Round nearest. + * + * Converts time values in hardware cycles to microseconds. + * Computes result in 64 bit precision. + * Rounds to the nearest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in hardware cycles. uint64_t + * + * @return The converted time value in microseconds. uint64_t + */ + + + + +/** @brief Convert hardware cycles to microseconds. 32 bits. Rounds up. + * + * Converts time values in hardware cycles to microseconds. + * Computes result in 32 bit precision. + * Rounds up to the next highest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in hardware cycles. uint64_t + * + * @return The converted time value in microseconds. uint32_t + */ + + + + +/** @brief Convert hardware cycles to microseconds. 64 bits. Rounds up. + * + * Converts time values in hardware cycles to microseconds. + * Computes result in 64 bit precision. + * Rounds up to the next highest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in hardware cycles. uint64_t + * + * @return The converted time value in microseconds. uint64_t + */ + + + + +/** @brief Convert hardware cycles to nanoseconds. 32 bits. Truncates. + * + * Converts time values in hardware cycles to nanoseconds. + * Computes result in 32 bit precision. + * Truncates to the next lowest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in hardware cycles. uint64_t + * + * @return The converted time value in nanoseconds. uint32_t + */ + + + + +/** @brief Convert hardware cycles to nanoseconds. 64 bits. Truncates. + * + * Converts time values in hardware cycles to nanoseconds. + * Computes result in 64 bit precision. + * Truncates to the next lowest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in hardware cycles. uint64_t + * + * @return The converted time value in nanoseconds. uint64_t + */ + + + + +/** @brief Convert hardware cycles to nanoseconds. 32 bits. Round nearest. + * + * Converts time values in hardware cycles to nanoseconds. + * Computes result in 32 bit precision. + * Rounds to the nearest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in hardware cycles. uint64_t + * + * @return The converted time value in nanoseconds. uint32_t + */ + + + + +/** @brief Convert hardware cycles to nanoseconds. 64 bits. Round nearest. + * + * Converts time values in hardware cycles to nanoseconds. + * Computes result in 64 bit precision. + * Rounds to the nearest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in hardware cycles. uint64_t + * + * @return The converted time value in nanoseconds. uint64_t + */ + + + + +/** @brief Convert hardware cycles to nanoseconds. 32 bits. Rounds up. + * + * Converts time values in hardware cycles to nanoseconds. + * Computes result in 32 bit precision. + * Rounds up to the next highest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in hardware cycles. uint64_t + * + * @return The converted time value in nanoseconds. uint32_t + */ + + + + +/** @brief Convert hardware cycles to nanoseconds. 64 bits. Rounds up. + * + * Converts time values in hardware cycles to nanoseconds. + * Computes result in 64 bit precision. + * Rounds up to the next highest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in hardware cycles. uint64_t + * + * @return The converted time value in nanoseconds. uint64_t + */ + + + + +/** @brief Convert hardware cycles to ticks. 32 bits. Truncates. + * + * Converts time values in hardware cycles to ticks. + * Computes result in 32 bit precision. + * Truncates to the next lowest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in hardware cycles. uint64_t + * + * @return The converted time value in ticks. uint32_t + */ + + + + +/** @brief Convert hardware cycles to ticks. 64 bits. Truncates. + * + * Converts time values in hardware cycles to ticks. + * Computes result in 64 bit precision. + * Truncates to the next lowest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in hardware cycles. uint64_t + * + * @return The converted time value in ticks. uint64_t + */ + + + + +/** @brief Convert hardware cycles to ticks. 32 bits. Round nearest. + * + * Converts time values in hardware cycles to ticks. + * Computes result in 32 bit precision. + * Rounds to the nearest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in hardware cycles. uint64_t + * + * @return The converted time value in ticks. uint32_t + */ + + + + +/** @brief Convert hardware cycles to ticks. 64 bits. Round nearest. + * + * Converts time values in hardware cycles to ticks. + * Computes result in 64 bit precision. + * Rounds to the nearest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in hardware cycles. uint64_t + * + * @return The converted time value in ticks. uint64_t + */ + + + + +/** @brief Convert hardware cycles to ticks. 32 bits. Rounds up. + * + * Converts time values in hardware cycles to ticks. + * Computes result in 32 bit precision. + * Rounds up to the next highest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in hardware cycles. uint64_t + * + * @return The converted time value in ticks. uint32_t + */ + + + + +/** @brief Convert hardware cycles to ticks. 64 bits. Rounds up. + * + * Converts time values in hardware cycles to ticks. + * Computes result in 64 bit precision. + * Rounds up to the next highest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in hardware cycles. uint64_t + * + * @return The converted time value in ticks. uint64_t + */ + + + + +/** @brief Convert ticks to seconds. 32 bits. Truncates. + * + * Converts time values in ticks to seconds. + * Computes result in 32 bit precision. + * Truncates to the next lowest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in ticks. uint64_t + * + * @return The converted time value in seconds. uint32_t + */ + + + + +/** @brief Convert ticks to seconds. 64 bits. Truncates. + * + * Converts time values in ticks to seconds. + * Computes result in 64 bit precision. + * Truncates to the next lowest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in ticks. uint64_t + * + * @return The converted time value in seconds. uint64_t + */ + + + + +/** @brief Convert ticks to seconds. 32 bits. Round nearest. + * + * Converts time values in ticks to seconds. + * Computes result in 32 bit precision. + * Rounds to the nearest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in ticks. uint64_t + * + * @return The converted time value in seconds. uint32_t + */ + + + + +/** @brief Convert ticks to seconds. 64 bits. Round nearest. + * + * Converts time values in ticks to seconds. + * Computes result in 64 bit precision. + * Rounds to the nearest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in ticks. uint64_t + * + * @return The converted time value in seconds. uint64_t + */ + + + + +/** @brief Convert ticks to seconds. 32 bits. Rounds up. + * + * Converts time values in ticks to seconds. + * Computes result in 32 bit precision. + * Rounds up to the next highest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in ticks. uint64_t + * + * @return The converted time value in seconds. uint32_t + */ + + + + +/** @brief Convert ticks to seconds. 64 bits. Rounds up. + * + * Converts time values in ticks to seconds. + * Computes result in 64 bit precision. + * Rounds up to the next highest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in ticks. uint64_t + * + * @return The converted time value in seconds. uint64_t + */ + + + + +/** @brief Convert ticks to milliseconds. 32 bits. Truncates. + * + * Converts time values in ticks to milliseconds. + * Computes result in 32 bit precision. + * Truncates to the next lowest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in ticks. uint64_t + * + * @return The converted time value in milliseconds. uint32_t + */ + + + + +/** @brief Convert ticks to milliseconds. 64 bits. Truncates. + * + * Converts time values in ticks to milliseconds. + * Computes result in 64 bit precision. + * Truncates to the next lowest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in ticks. uint64_t + * + * @return The converted time value in milliseconds. uint64_t + */ + + + + +/** @brief Convert ticks to milliseconds. 32 bits. Round nearest. + * + * Converts time values in ticks to milliseconds. + * Computes result in 32 bit precision. + * Rounds to the nearest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in ticks. uint64_t + * + * @return The converted time value in milliseconds. uint32_t + */ + + + + +/** @brief Convert ticks to milliseconds. 64 bits. Round nearest. + * + * Converts time values in ticks to milliseconds. + * Computes result in 64 bit precision. + * Rounds to the nearest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in ticks. uint64_t + * + * @return The converted time value in milliseconds. uint64_t + */ + + + + +/** @brief Convert ticks to milliseconds. 32 bits. Rounds up. + * + * Converts time values in ticks to milliseconds. + * Computes result in 32 bit precision. + * Rounds up to the next highest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in ticks. uint64_t + * + * @return The converted time value in milliseconds. uint32_t + */ + + + + +/** @brief Convert ticks to milliseconds. 64 bits. Rounds up. + * + * Converts time values in ticks to milliseconds. + * Computes result in 64 bit precision. + * Rounds up to the next highest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in ticks. uint64_t + * + * @return The converted time value in milliseconds. uint64_t + */ + + + + +/** @brief Convert ticks to microseconds. 32 bits. Truncates. + * + * Converts time values in ticks to microseconds. + * Computes result in 32 bit precision. + * Truncates to the next lowest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in ticks. uint64_t + * + * @return The converted time value in microseconds. uint32_t + */ + + + + +/** @brief Convert ticks to microseconds. 64 bits. Truncates. + * + * Converts time values in ticks to microseconds. + * Computes result in 64 bit precision. + * Truncates to the next lowest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in ticks. uint64_t + * + * @return The converted time value in microseconds. uint64_t + */ + + + + +/** @brief Convert ticks to microseconds. 32 bits. Round nearest. + * + * Converts time values in ticks to microseconds. + * Computes result in 32 bit precision. + * Rounds to the nearest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in ticks. uint64_t + * + * @return The converted time value in microseconds. uint32_t + */ + + + + +/** @brief Convert ticks to microseconds. 64 bits. Round nearest. + * + * Converts time values in ticks to microseconds. + * Computes result in 64 bit precision. + * Rounds to the nearest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in ticks. uint64_t + * + * @return The converted time value in microseconds. uint64_t + */ + + + + +/** @brief Convert ticks to microseconds. 32 bits. Rounds up. + * + * Converts time values in ticks to microseconds. + * Computes result in 32 bit precision. + * Rounds up to the next highest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in ticks. uint64_t + * + * @return The converted time value in microseconds. uint32_t + */ + + + + +/** @brief Convert ticks to microseconds. 64 bits. Rounds up. + * + * Converts time values in ticks to microseconds. + * Computes result in 64 bit precision. + * Rounds up to the next highest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in ticks. uint64_t + * + * @return The converted time value in microseconds. uint64_t + */ + + + + +/** @brief Convert ticks to nanoseconds. 32 bits. Truncates. + * + * Converts time values in ticks to nanoseconds. + * Computes result in 32 bit precision. + * Truncates to the next lowest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in ticks. uint64_t + * + * @return The converted time value in nanoseconds. uint32_t + */ + + + + +/** @brief Convert ticks to nanoseconds. 64 bits. Truncates. + * + * Converts time values in ticks to nanoseconds. + * Computes result in 64 bit precision. + * Truncates to the next lowest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in ticks. uint64_t + * + * @return The converted time value in nanoseconds. uint64_t + */ + + + + +/** @brief Convert ticks to nanoseconds. 32 bits. Round nearest. + * + * Converts time values in ticks to nanoseconds. + * Computes result in 32 bit precision. + * Rounds to the nearest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in ticks. uint64_t + * + * @return The converted time value in nanoseconds. uint32_t + */ + + + + +/** @brief Convert ticks to nanoseconds. 64 bits. Round nearest. + * + * Converts time values in ticks to nanoseconds. + * Computes result in 64 bit precision. + * Rounds to the nearest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in ticks. uint64_t + * + * @return The converted time value in nanoseconds. uint64_t + */ + + + + +/** @brief Convert ticks to nanoseconds. 32 bits. Rounds up. + * + * Converts time values in ticks to nanoseconds. + * Computes result in 32 bit precision. + * Rounds up to the next highest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in ticks. uint64_t + * + * @return The converted time value in nanoseconds. uint32_t + */ + + + + +/** @brief Convert ticks to nanoseconds. 64 bits. Rounds up. + * + * Converts time values in ticks to nanoseconds. + * Computes result in 64 bit precision. + * Rounds up to the next highest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in ticks. uint64_t + * + * @return The converted time value in nanoseconds. uint64_t + */ + + + + +/** @brief Convert ticks to hardware cycles. 32 bits. Truncates. + * + * Converts time values in ticks to hardware cycles. + * Computes result in 32 bit precision. + * Truncates to the next lowest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in ticks. uint64_t + * + * @return The converted time value in hardware cycles. uint32_t + */ + + + + +/** @brief Convert ticks to hardware cycles. 64 bits. Truncates. + * + * Converts time values in ticks to hardware cycles. + * Computes result in 64 bit precision. + * Truncates to the next lowest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in ticks. uint64_t + * + * @return The converted time value in hardware cycles. uint64_t + */ + + + + +/** @brief Convert ticks to hardware cycles. 32 bits. Round nearest. + * + * Converts time values in ticks to hardware cycles. + * Computes result in 32 bit precision. + * Rounds to the nearest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in ticks. uint64_t + * + * @return The converted time value in hardware cycles. uint32_t + */ + + + + +/** @brief Convert ticks to hardware cycles. 64 bits. Round nearest. + * + * Converts time values in ticks to hardware cycles. + * Computes result in 64 bit precision. + * Rounds to the nearest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in ticks. uint64_t + * + * @return The converted time value in hardware cycles. uint64_t + */ + + + + +/** @brief Convert ticks to hardware cycles. 32 bits. Rounds up. + * + * Converts time values in ticks to hardware cycles. + * Computes result in 32 bit precision. + * Rounds up to the next highest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in ticks. uint64_t + * + * @return The converted time value in hardware cycles. uint32_t + */ + + + + +/** @brief Convert ticks to hardware cycles. 64 bits. Rounds up. + * + * Converts time values in ticks to hardware cycles. + * Computes result in 64 bit precision. + * Rounds up to the next highest output unit. + * + * @warning Generated. Do not edit. See above. + * + * @param t Source time in ticks. uint64_t + * + * @return The converted time value in hardware cycles. uint64_t + */ +# 2084 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/time_units.h" +/** + * @} + */ + + +} +# 794 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util.h" 2 + + + +/** @brief Number of bytes in @p x kibibytes */ + + + + + + +/** @brief Number of bytes in @p x mebibytes */ + +/** @brief Number of bytes in @p x gibibytes */ + + +/** @brief Number of Hz in @p x kHz */ + +/** @brief Number of Hz in @p x MHz */ + + +/** + * @brief For the POSIX architecture add a minimal delay in a busy wait loop. + * For other architectures this is a no-op. + * + * In the POSIX ARCH, code takes zero simulated time to execute, + * so busy wait loops become infinite loops, unless we + * force the loop to take a bit of time. + * Include this macro in all busy wait/spin loops + * so they will also work when building for the POSIX architecture. + * + * @param t Time in microseconds we will busy wait + */ + + + + + + +/** + * @brief Wait for an expression to return true with a timeout + * + * Spin on an expression with a timeout and optional delay between iterations + * + * Commonly needed when waiting on hardware to complete an asynchronous + * request to read/write/initialize/reset, but useful for any expression. + * + * @param expr Truth expression upon which to poll, e.g.: XYZREG & XYZREG_EN + * @param timeout Timeout to wait for in microseconds, e.g.: 1000 (1ms) + * @param delay_stmt Delay statement to perform each poll iteration + * e.g.: NULL, k_yield(), k_msleep(1) or k_busy_wait(1) + * + * @retval expr As a boolean return, if false then it has timed out. + */ +# 858 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util.h" +/** + * @} + */ +# 19 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/atomic.h" 2 + + +extern "C" { + + +/* Low-level primitives come in several styles: */ +# 39 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/atomic.h" +/* Default. See this file for the Doxygen reference: */ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/atomic_builtin.h" 1 +/* atomic operations */ + +/* + * Copyright (c) 1997-2015, Wind River Systems, Inc. + * Copyright (c) 2023 Nordic Semiconductor ASA + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdbool.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdbool.h" 3 4 +/* Copyright (C) 1998-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.16 Boolean type and values + */ +# 14 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/atomic_builtin.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 1 3 4 +/* Copyright (C) 1989-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.17 Common definitions + */ +# 15 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/atomic_builtin.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/atomic_types.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/atomic_types.h" +/* Copyright (c) 1997-2015, Wind River Systems, Inc. + * Copyright (c) 2021 Intel Corporation + * Copyright (c) 2023 Nordic Semiconductor ASA + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 16 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/atomic_builtin.h" 2 + + +extern "C" { + + +/* Included from */ + +static inline bool atomic_cas(atomic_t *target, atomic_val_t old_value, + atomic_val_t new_value) +{ + return __atomic_compare_exchange_n(target, &old_value, new_value, + 0, 5, + 5); +} + +static inline bool atomic_ptr_cas(atomic_ptr_t *target, atomic_ptr_val_t old_value, + atomic_ptr_val_t new_value) +{ + return __atomic_compare_exchange_n(target, &old_value, new_value, + 0, 5, + 5); +} + +static inline atomic_val_t atomic_add(atomic_t *target, atomic_val_t value) +{ + return __atomic_fetch_add(target, value, 5); +} + +static inline atomic_val_t atomic_sub(atomic_t *target, atomic_val_t value) +{ + return __atomic_fetch_sub(target, value, 5); +} + +static inline atomic_val_t atomic_inc(atomic_t *target) +{ + return atomic_add(target, 1); +} + +static inline atomic_val_t atomic_dec(atomic_t *target) +{ + return atomic_sub(target, 1); +} + +static inline atomic_val_t atomic_get(const atomic_t *target) +{ + return __atomic_load_n(target, 5); +} + +static inline atomic_ptr_val_t atomic_ptr_get(const atomic_ptr_t *target) +{ + return __atomic_load_n(target, 5); +} + +static inline atomic_val_t atomic_set(atomic_t *target, atomic_val_t value) +{ + /* This builtin, as described by Intel, is not a traditional + * test-and-set operation, but rather an atomic exchange operation. It + * writes value into *ptr, and returns the previous contents of *ptr. + */ + return __atomic_exchange_n(target, value, 5); +} + +static inline atomic_ptr_val_t atomic_ptr_set(atomic_ptr_t *target, atomic_ptr_val_t value) +{ + return __atomic_exchange_n(target, value, 5); +} + +static inline atomic_val_t atomic_clear(atomic_t *target) +{ + return atomic_set(target, 0); +} + +static inline atomic_ptr_val_t atomic_ptr_clear(atomic_ptr_t *target) +{ + return atomic_ptr_set(target, +# 90 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/atomic_builtin.h" 3 4 + __null +# 90 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/atomic_builtin.h" + ); +} + +static inline atomic_val_t atomic_or(atomic_t *target, atomic_val_t value) +{ + return __atomic_fetch_or(target, value, 5); +} + +static inline atomic_val_t atomic_xor(atomic_t *target, atomic_val_t value) +{ + return __atomic_fetch_xor(target, value, 5); +} + +static inline atomic_val_t atomic_and(atomic_t *target, atomic_val_t value) +{ + return __atomic_fetch_and(target, value, 5); +} + +static inline atomic_val_t atomic_nand(atomic_t *target, atomic_val_t value) +{ + return __atomic_fetch_nand(target, value, 5); +} + + +} +# 41 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/atomic.h" 2 + + +/* Portable higher-level utilities: */ + +/** + * @defgroup atomic_apis Atomic Services APIs + * @ingroup kernel_apis + * @{ + */ + +/** + * @brief Initialize an atomic variable. + * + * This macro can be used to initialize an atomic variable. For example, + * @code atomic_t my_var = ATOMIC_INIT(75); @endcode + * + * @param i Value to assign to atomic variable. + */ + + +/** + * @brief Initialize an atomic pointer variable. + * + * This macro can be used to initialize an atomic pointer variable. For + * example, + * @code atomic_ptr_t my_ptr = ATOMIC_PTR_INIT(&data); @endcode + * + * @param p Pointer value to assign to atomic pointer variable. + */ + + +/** + * @cond INTERNAL_HIDDEN + */ + + + + + +/** + * INTERNAL_HIDDEN @endcond + */ + +/** + * @brief This macro computes the number of atomic variables necessary to + * represent a bitmap with @a num_bits. + * + * @param num_bits Number of bits. + */ + + +/** + * @brief Define an array of atomic variables. + * + * This macro defines an array of atomic variables containing at least + * @a num_bits bits. + * + * @note + * If used from file scope, the bits of the array are initialized to zero; + * if used from within a function, the bits are left uninitialized. + * + * @cond INTERNAL_HIDDEN + * @note + * This macro should be replicated in the PREDEFINED field of the documentation + * Doxyfile. + * @endcond + * + * @param name Name of array of atomic variables. + * @param num_bits Number of bits needed. + */ + + + +/** + * @brief Atomically get and test a bit. + * + * Atomically get a value and then test whether bit number @a bit of @a target is set or not. + * The target may be a single atomic variable or an array of them. + * + * @note @atomic_api + * + * @param target Address of atomic variable or array. + * @param bit Bit number (starting from 0). + * + * @return true if the bit was set, false if it wasn't. + */ +static inline bool atomic_test_bit(const atomic_t *target, int bit) +{ + atomic_val_t val = atomic_get(((target) + ((bit) / (sizeof(atomic_val_t) * (8))))); + + return (1 & (val >> (bit & ((sizeof(atomic_val_t) * (8)) - 1)))) != 0; +} + +/** + * @brief Atomically clear a bit and test it. + * + * Atomically clear bit number @a bit of @a target and return its old value. + * The target may be a single atomic variable or an array of them. + * + * @note @atomic_api + * + * @param target Address of atomic variable or array. + * @param bit Bit number (starting from 0). + * + * @return false if the bit was already cleared, true if it wasn't. + */ +static inline bool atomic_test_and_clear_bit(atomic_t *target, int bit) +{ + atomic_val_t mask = (1UL << ((unsigned long)(bit) & ((sizeof(atomic_val_t) * (8)) - 1U))); + atomic_val_t old; + + old = atomic_and(((target) + ((bit) / (sizeof(atomic_val_t) * (8)))), ~mask); + + return (old & mask) != 0; +} + +/** + * @brief Atomically set a bit and test it. + * + * Atomically set bit number @a bit of @a target and return its old value. + * The target may be a single atomic variable or an array of them. + * + * @note @atomic_api + * + * @param target Address of atomic variable or array. + * @param bit Bit number (starting from 0). + * + * @return true if the bit was already set, false if it wasn't. + */ +static inline bool atomic_test_and_set_bit(atomic_t *target, int bit) +{ + atomic_val_t mask = (1UL << ((unsigned long)(bit) & ((sizeof(atomic_val_t) * (8)) - 1U))); + atomic_val_t old; + + old = atomic_or(((target) + ((bit) / (sizeof(atomic_val_t) * (8)))), mask); + + return (old & mask) != 0; +} + +/** + * @brief Atomically clear a bit. + * + * Atomically clear bit number @a bit of @a target. + * The target may be a single atomic variable or an array of them. + * + * @note @atomic_api + * + * @param target Address of atomic variable or array. + * @param bit Bit number (starting from 0). + */ +static inline void atomic_clear_bit(atomic_t *target, int bit) +{ + atomic_val_t mask = (1UL << ((unsigned long)(bit) & ((sizeof(atomic_val_t) * (8)) - 1U))); + + (void)atomic_and(((target) + ((bit) / (sizeof(atomic_val_t) * (8)))), ~mask); +} + +/** + * @brief Atomically set a bit. + * + * Atomically set bit number @a bit of @a target. + * The target may be a single atomic variable or an array of them. + * + * @note @atomic_api + * + * @param target Address of atomic variable or array. + * @param bit Bit number (starting from 0). + */ +static inline void atomic_set_bit(atomic_t *target, int bit) +{ + atomic_val_t mask = (1UL << ((unsigned long)(bit) & ((sizeof(atomic_val_t) * (8)) - 1U))); + + (void)atomic_or(((target) + ((bit) / (sizeof(atomic_val_t) * (8)))), mask); +} + +/** + * @brief Atomically set a bit to a given value. + * + * Atomically set bit number @a bit of @a target to value @a val. + * The target may be a single atomic variable or an array of them. + * + * @note @atomic_api + * + * @param target Address of atomic variable or array. + * @param bit Bit number (starting from 0). + * @param val true for 1, false for 0. + */ +static inline void atomic_set_bit_to(atomic_t *target, int bit, bool val) +{ + atomic_val_t mask = (1UL << ((unsigned long)(bit) & ((sizeof(atomic_val_t) * (8)) - 1U))); + + if (val) { + (void)atomic_or(((target) + ((bit) / (sizeof(atomic_val_t) * (8)))), mask); + } else { + (void)atomic_and(((target) + ((bit) / (sizeof(atomic_val_t) * (8)))), ~mask); + } +} + +/** + * @brief Atomic compare-and-set. + * + * This routine performs an atomic compare-and-set on @a target. If the current + * value of @a target equals @a old_value, @a target is set to @a new_value. + * If the current value of @a target does not equal @a old_value, @a target + * is left unchanged. + * + * @note @atomic_api + * + * @param target Address of atomic variable. + * @param old_value Original value to compare against. + * @param new_value New value to store. + * @return true if @a new_value is written, false otherwise. + */ +bool atomic_cas(atomic_t *target, atomic_val_t old_value, atomic_val_t new_value); + +/** + * @brief Atomic compare-and-set with pointer values + * + * This routine performs an atomic compare-and-set on @a target. If the current + * value of @a target equals @a old_value, @a target is set to @a new_value. + * If the current value of @a target does not equal @a old_value, @a target + * is left unchanged. + * + * @note @atomic_api + * + * @param target Address of atomic variable. + * @param old_value Original value to compare against. + * @param new_value New value to store. + * @return true if @a new_value is written, false otherwise. + */ +bool atomic_ptr_cas(atomic_ptr_t *target, atomic_ptr_val_t old_value, + atomic_ptr_val_t new_value); + +/** + * @brief Atomic addition. + * + * This routine performs an atomic addition on @a target. + * + * @note @atomic_api + * + * @param target Address of atomic variable. + * @param value Value to add. + * + * @return Previous value of @a target. + */ +atomic_val_t atomic_add(atomic_t *target, atomic_val_t value); + +/** + * @brief Atomic subtraction. + * + * This routine performs an atomic subtraction on @a target. + * + * @note @atomic_api + * + * @param target Address of atomic variable. + * @param value Value to subtract. + * + * @return Previous value of @a target. + */ +atomic_val_t atomic_sub(atomic_t *target, atomic_val_t value); + +/** + * @brief Atomic increment. + * + * This routine performs an atomic increment by 1 on @a target. + * + * @note @atomic_api + * + * @param target Address of atomic variable. + * + * @return Previous value of @a target. + */ +atomic_val_t atomic_inc(atomic_t *target); + +/** + * @brief Atomic decrement. + * + * This routine performs an atomic decrement by 1 on @a target. + * + * @note @atomic_api + * + * @param target Address of atomic variable. + * + * @return Previous value of @a target. + */ +atomic_val_t atomic_dec(atomic_t *target); + +/** + * @brief Atomic get. + * + * This routine performs an atomic read on @a target. + * + * @note @atomic_api + * + * @param target Address of atomic variable. + * + * @return Value of @a target. + */ +atomic_val_t atomic_get(const atomic_t *target); + +/** + * @brief Atomic get a pointer value + * + * This routine performs an atomic read on @a target. + * + * @note @atomic_api + * + * @param target Address of pointer variable. + * + * @return Value of @a target. + */ +atomic_ptr_val_t atomic_ptr_get(const atomic_ptr_t *target); + +/** + * @brief Atomic get-and-set. + * + * This routine atomically sets @a target to @a value and returns + * the previous value of @a target. + * + * @note @atomic_api + * + * @param target Address of atomic variable. + * @param value Value to write to @a target. + * + * @return Previous value of @a target. + */ +atomic_val_t atomic_set(atomic_t *target, atomic_val_t value); + +/** + * @brief Atomic get-and-set for pointer values + * + * This routine atomically sets @a target to @a value and returns + * the previous value of @a target. + * + * @note @atomic_api + * + * @param target Address of atomic variable. + * @param value Value to write to @a target. + * + * @return Previous value of @a target. + */ +atomic_ptr_val_t atomic_ptr_set(atomic_ptr_t *target, atomic_ptr_val_t value); + +/** + * @brief Atomic clear. + * + * This routine atomically sets @a target to zero and returns its previous + * value. (Hence, it is equivalent to atomic_set(target, 0).) + * + * @note @atomic_api + * + * @param target Address of atomic variable. + * + * @return Previous value of @a target. + */ +atomic_val_t atomic_clear(atomic_t *target); + +/** + * @brief Atomic clear of a pointer value + * + * This routine atomically sets @a target to zero and returns its previous + * value. (Hence, it is equivalent to atomic_set(target, 0).) + * + * @note @atomic_api + * + * @param target Address of atomic variable. + * + * @return Previous value of @a target. + */ +atomic_ptr_val_t atomic_ptr_clear(atomic_ptr_t *target); + +/** + * @brief Atomic bitwise inclusive OR. + * + * This routine atomically sets @a target to the bitwise inclusive OR of + * @a target and @a value. + * + * @note @atomic_api + * + * @param target Address of atomic variable. + * @param value Value to OR. + * + * @return Previous value of @a target. + */ +atomic_val_t atomic_or(atomic_t *target, atomic_val_t value); + +/** + * @brief Atomic bitwise exclusive OR (XOR). + * + * @note @atomic_api + * + * This routine atomically sets @a target to the bitwise exclusive OR (XOR) of + * @a target and @a value. + * + * @param target Address of atomic variable. + * @param value Value to XOR + * + * @return Previous value of @a target. + */ +atomic_val_t atomic_xor(atomic_t *target, atomic_val_t value); + +/** + * @brief Atomic bitwise AND. + * + * This routine atomically sets @a target to the bitwise AND of @a target + * and @a value. + * + * @note @atomic_api + * + * @param target Address of atomic variable. + * @param value Value to AND. + * + * @return Previous value of @a target. + */ +atomic_val_t atomic_and(atomic_t *target, atomic_val_t value); + +/** + * @brief Atomic bitwise NAND. + * + * This routine atomically sets @a target to the bitwise NAND of @a target + * and @a value. (This operation is equivalent to target = ~(target & value).) + * + * @note @atomic_api + * + * @param target Address of atomic variable. + * @param value Value to NAND. + * + * @return Previous value of @a target. + */ +atomic_val_t atomic_nand(atomic_t *target, atomic_val_t value); + +/** + * @} + */ + + +} +# 26 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_includes.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/__assert.h" 1 +/* + * Copyright (c) 2011-2014 Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 27 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_includes.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/dlist.h" 1 +/* + * Copyright (c) 2013-2015 Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @defgroup doubly-linked-list_apis Doubly-linked list + * @ingroup datastructure_apis + * + * @brief Doubly-linked list implementation + * + * Doubly-linked list implementation using inline macros/functions. + * This API is not thread safe, and thus if a list is used across threads, + * calls to functions must be protected with synchronization primitives. + * + * The lists are expected to be initialized such that both the head and tail + * pointers point to the list itself. Initializing the lists in such a fashion + * simplifies the adding and removing of nodes to/from the list. + * + * @{ + */ + + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* Copyright (C) 1989-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.17 Common definitions + */ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/dlist.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdbool.h" 1 3 4 +/* Copyright (C) 1998-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.16 Boolean type and values + */ +# 30 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/dlist.h" 2 + + + +# 32 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/dlist.h" +extern "C" { + + + +struct _dnode { + union { + struct _dnode *head; + struct _dnode *next; + }; + union { + struct _dnode *tail; + struct _dnode *prev; + }; +}; + +/** + * @brief Doubly-linked list structure. + */ +typedef struct _dnode sys_dlist_t; +/** + * @brief Doubly-linked list node structure. + */ +typedef struct _dnode sys_dnode_t; + + +/** + * @brief Provide the primitive to iterate on a list + * Note: the loop is unsafe and thus __dn should not be removed + * + * User _MUST_ add the loop statement curly braces enclosing its own code: + * + * SYS_DLIST_FOR_EACH_NODE(l, n) { + * + * } + * + * This and other SYS_DLIST_*() macros are not thread safe. + * + * @param __dl A pointer on a sys_dlist_t to iterate on + * @param __dn A sys_dnode_t pointer to peek each node of the list + */ + + + + +/** + * @brief Provide the primitive to iterate on a list, from a node in the list + * Note: the loop is unsafe and thus __dn should not be removed + * + * User _MUST_ add the loop statement curly braces enclosing its own code: + * + * SYS_DLIST_ITERATE_FROM_NODE(l, n) { + * + * } + * + * Like SYS_DLIST_FOR_EACH_NODE(), but __dn already contains a node in the list + * where to start searching for the next entry from. If NULL, it starts from + * the head. + * + * This and other SYS_DLIST_*() macros are not thread safe. + * + * @param __dl A pointer on a sys_dlist_t to iterate on + * @param __dn A sys_dnode_t pointer to peek each node of the list; + * it contains the starting node, or NULL to start from the head + */ + + + + + + +/** + * @brief Provide the primitive to safely iterate on a list + * Note: __dn can be removed, it will not break the loop. + * + * User _MUST_ add the loop statement curly braces enclosing its own code: + * + * SYS_DLIST_FOR_EACH_NODE_SAFE(l, n, s) { + * + * } + * + * This and other SYS_DLIST_*() macros are not thread safe. + * + * @param __dl A pointer on a sys_dlist_t to iterate on + * @param __dn A sys_dnode_t pointer to peek each node of the list + * @param __dns A sys_dnode_t pointer for the loop to run safely + */ + + + + + + +/** + * @brief Provide the primitive to resolve the container of a list node + * Note: it is safe to use with NULL pointer nodes + * + * @param __dn A pointer on a sys_dnode_t to get its container + * @param __cn Container struct type pointer + * @param __n The field name of sys_dnode_t within the container struct + */ + + +/** + * @brief Provide the primitive to peek container of the list head + * + * @param __dl A pointer on a sys_dlist_t to peek + * @param __cn Container struct type pointer + * @param __n The field name of sys_dnode_t within the container struct + */ + + + +/** + * @brief Provide the primitive to peek the next container + * + * @param __dl A pointer on a sys_dlist_t to peek + * @param __cn Container struct type pointer + * @param __n The field name of sys_dnode_t within the container struct + */ + + + + + +/** + * @brief Provide the primitive to iterate on a list under a container + * Note: the loop is unsafe and thus __cn should not be detached + * + * User _MUST_ add the loop statement curly braces enclosing its own code: + * + * SYS_DLIST_FOR_EACH_CONTAINER(l, c, n) { + * + * } + * + * @param __dl A pointer on a sys_dlist_t to iterate on + * @param __cn A container struct type pointer to peek each entry of the list + * @param __n The field name of sys_dnode_t within the container struct + */ + + + + + +/** + * @brief Provide the primitive to safely iterate on a list under a container + * Note: __cn can be detached, it will not break the loop. + * + * User _MUST_ add the loop statement curly braces enclosing its own code: + * + * SYS_DLIST_FOR_EACH_CONTAINER_SAFE(l, c, cn, n) { + * + * } + * + * @param __dl A pointer on a sys_dlist_t to iterate on + * @param __cn A container struct type pointer to peek each entry of the list + * @param __cns A container struct type pointer for the loop to run safely + * @param __n The field name of sys_dnode_t within the container struct + */ + + + + + + +/** + * @brief initialize list to its empty state + * + * @param list the doubly-linked list + */ + +static inline void sys_dlist_init(sys_dlist_t *list) +{ + list->head = (sys_dnode_t *)list; + list->tail = (sys_dnode_t *)list; +} + +/** + * @brief Static initializer for a doubly-linked list + */ + + +/** + * @brief initialize node to its state when not in a list + * + * @param node the node + */ + +static inline void sys_dnode_init(sys_dnode_t *node) +{ + node->next = +# 221 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/dlist.h" 3 4 + __null +# 221 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/dlist.h" + ; + node->prev = +# 222 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/dlist.h" 3 4 + __null +# 222 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/dlist.h" + ; +} + +/** + * @brief check if a node is a member of any list + * + * @param node the node + * + * @return true if node is linked into a list, false if it is not + */ + +static inline bool sys_dnode_is_linked(const sys_dnode_t *node) +{ + return node->next != +# 235 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/dlist.h" 3 4 + __null +# 235 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/dlist.h" + ; +} + +/** + * @brief check if a node is the list's head + * + * @param list the doubly-linked list to operate on + * @param node the node to check + * + * @return true if node is the head, false otherwise + */ + +static inline bool sys_dlist_is_head(sys_dlist_t *list, sys_dnode_t *node) +{ + return list->head == node; +} + +/** + * @brief check if a node is the list's tail + * + * @param list the doubly-linked list to operate on + * @param node the node to check + * + * @return true if node is the tail, false otherwise + */ + +static inline bool sys_dlist_is_tail(sys_dlist_t *list, sys_dnode_t *node) +{ + return list->tail == node; +} + +/** + * @brief check if the list is empty + * + * @param list the doubly-linked list to operate on + * + * @return true if empty, false otherwise + */ + +static inline bool sys_dlist_is_empty(sys_dlist_t *list) +{ + return list->head == list; +} + +/** + * @brief check if more than one node present + * + * This and other sys_dlist_*() functions are not thread safe. + * + * @param list the doubly-linked list to operate on + * + * @return true if multiple nodes, false otherwise + */ + +static inline bool sys_dlist_has_multiple_nodes(sys_dlist_t *list) +{ + return list->head != list->tail; +} + +/** + * @brief get a reference to the head item in the list + * + * @param list the doubly-linked list to operate on + * + * @return a pointer to the head element, NULL if list is empty + */ + +static inline sys_dnode_t *sys_dlist_peek_head(sys_dlist_t *list) +{ + return sys_dlist_is_empty(list) ? +# 304 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/dlist.h" 3 4 + __null +# 304 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/dlist.h" + : list->head; +} + +/** + * @brief get a reference to the head item in the list + * + * The list must be known to be non-empty. + * + * @param list the doubly-linked list to operate on + * + * @return a pointer to the head element + */ + +static inline sys_dnode_t *sys_dlist_peek_head_not_empty(sys_dlist_t *list) +{ + return list->head; +} + +/** + * @brief get a reference to the next item in the list, node is not NULL + * + * Faster than sys_dlist_peek_next() if node is known not to be NULL. + * + * @param list the doubly-linked list to operate on + * @param node the node from which to get the next element in the list + * + * @return a pointer to the next element from a node, NULL if node is the tail + */ + +static inline sys_dnode_t *sys_dlist_peek_next_no_check(sys_dlist_t *list, + sys_dnode_t *node) +{ + return (node == list->tail) ? +# 336 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/dlist.h" 3 4 + __null +# 336 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/dlist.h" + : node->next; +} + +/** + * @brief get a reference to the next item in the list + * + * @param list the doubly-linked list to operate on + * @param node the node from which to get the next element in the list + * + * @return a pointer to the next element from a node, NULL if node is the tail + * or NULL (when node comes from reading the head of an empty list). + */ + +static inline sys_dnode_t *sys_dlist_peek_next(sys_dlist_t *list, + sys_dnode_t *node) +{ + return (node != +# 352 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/dlist.h" 3 4 + __null +# 352 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/dlist.h" + ) ? sys_dlist_peek_next_no_check(list, node) : +# 352 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/dlist.h" 3 4 + __null +# 352 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/dlist.h" + ; +} + +/** + * @brief get a reference to the previous item in the list, node is not NULL + * + * Faster than sys_dlist_peek_prev() if node is known not to be NULL. + * + * @param list the doubly-linked list to operate on + * @param node the node from which to get the previous element in the list + * + * @return a pointer to the previous element from a node, NULL if node is the + * tail + */ + +static inline sys_dnode_t *sys_dlist_peek_prev_no_check(sys_dlist_t *list, + sys_dnode_t *node) +{ + return (node == list->head) ? +# 370 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/dlist.h" 3 4 + __null +# 370 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/dlist.h" + : node->prev; +} + +/** + * @brief get a reference to the previous item in the list + * + * @param list the doubly-linked list to operate on + * @param node the node from which to get the previous element in the list + * + * @return a pointer to the previous element from a node, NULL if node is the + * tail or NULL (when node comes from reading the head of an empty + * list). + */ + +static inline sys_dnode_t *sys_dlist_peek_prev(sys_dlist_t *list, + sys_dnode_t *node) +{ + return (node != +# 387 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/dlist.h" 3 4 + __null +# 387 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/dlist.h" + ) ? sys_dlist_peek_prev_no_check(list, node) : +# 387 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/dlist.h" 3 4 + __null +# 387 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/dlist.h" + ; +} + +/** + * @brief get a reference to the tail item in the list + * + * @param list the doubly-linked list to operate on + * + * @return a pointer to the tail element, NULL if list is empty + */ + +static inline sys_dnode_t *sys_dlist_peek_tail(sys_dlist_t *list) +{ + return sys_dlist_is_empty(list) ? +# 400 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/dlist.h" 3 4 + __null +# 400 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/dlist.h" + : list->tail; +} + +/** + * @brief add node to tail of list + * + * This and other sys_dlist_*() functions are not thread safe. + * + * @param list the doubly-linked list to operate on + * @param node the element to append + */ + +static inline void sys_dlist_append(sys_dlist_t *list, sys_dnode_t *node) +{ + sys_dnode_t *const tail = list->tail; + + node->next = list; + node->prev = tail; + + tail->next = node; + list->tail = node; +} + +/** + * @brief add node to head of list + * + * This and other sys_dlist_*() functions are not thread safe. + * + * @param list the doubly-linked list to operate on + * @param node the element to append + */ + +static inline void sys_dlist_prepend(sys_dlist_t *list, sys_dnode_t *node) +{ + sys_dnode_t *const head = list->head; + + node->next = head; + node->prev = list; + + head->prev = node; + list->head = node; +} + +/** + * @brief Insert a node into a list + * + * Insert a node before a specified node in a dlist. + * + * @param successor the position before which "node" will be inserted + * @param node the element to insert + */ +static inline void sys_dlist_insert(sys_dnode_t *successor, sys_dnode_t *node) +{ + sys_dnode_t *const prev = successor->prev; + + node->prev = prev; + node->next = successor; + prev->next = node; + successor->prev = node; +} + +/** + * @brief insert node at position + * + * Insert a node in a location depending on a external condition. The cond() + * function checks if the node is to be inserted _before_ the current node + * against which it is checked. + * This and other sys_dlist_*() functions are not thread safe. + * + * @param list the doubly-linked list to operate on + * @param node the element to insert + * @param cond a function that determines if the current node is the correct + * insert point + * @param data parameter to cond() + */ + +static inline void sys_dlist_insert_at(sys_dlist_t *list, sys_dnode_t *node, + int (*cond)(sys_dnode_t *node, void *data), void *data) +{ + if (sys_dlist_is_empty(list)) { + sys_dlist_append(list, node); + } else { + sys_dnode_t *pos = sys_dlist_peek_head(list); + + while ((pos != +# 484 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/dlist.h" 3 4 + __null +# 484 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/dlist.h" + ) && (cond(pos, data) == 0)) { + pos = sys_dlist_peek_next(list, pos); + } + if (pos != +# 487 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/dlist.h" 3 4 + __null +# 487 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/dlist.h" + ) { + sys_dlist_insert(pos, node); + } else { + sys_dlist_append(list, node); + } + } +} + +/** + * @brief remove a specific node from a list + * + * Like :c:func:`sys_dlist_remove()`, this routine removes a specific node + * from a list. However, unlike :c:func:`sys_dlist_remove()`, this routine + * does not re-initialize the removed node. One significant implication of + * this difference is that the function :c:func`sys_dnode_is_linked()` will + * not work on a dequeued node. + * + * The list is implicit from the node. The node must be part of a list. + * This and other sys_dlist_*() functions are not thread safe. + * + * @param node the node to dequeue + */ +static inline void sys_dlist_dequeue(sys_dnode_t *node) +{ + sys_dnode_t *const prev = node->prev; + sys_dnode_t *const next = node->next; + + prev->next = next; + next->prev = prev; +} + +/** + * @brief remove a specific node from a list + * + * The list is implicit from the node. The node must be part of a list. + * This and other sys_dlist_*() functions are not thread safe. + * + * @param node the node to remove + */ + +static inline void sys_dlist_remove(sys_dnode_t *node) +{ + sys_dnode_t *const prev = node->prev; + sys_dnode_t *const next = node->next; + + prev->next = next; + next->prev = prev; + sys_dnode_init(node); +} + +/** + * @brief get the first node in a list + * + * This and other sys_dlist_*() functions are not thread safe. + * + * @param list the doubly-linked list to operate on + * + * @return the first node in the list, NULL if list is empty + */ + +static inline sys_dnode_t *sys_dlist_get(sys_dlist_t *list) +{ + sys_dnode_t *node = +# 549 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/dlist.h" 3 4 + __null +# 549 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/dlist.h" + ; + + if (!sys_dlist_is_empty(list)) { + node = list->head; + sys_dlist_remove(node); + } + + return node; +} + +/** + * @brief Compute the size of the given list in O(n) time + * + * @param list A pointer on the list + * + * @return an integer equal to the size of the list, or 0 if empty + */ +static inline size_t sys_dlist_len(sys_dlist_t *list) +{ + size_t len = 0; + sys_dnode_t *node = +# 569 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/dlist.h" 3 4 + __null +# 569 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/dlist.h" + ; + + for (node = sys_dlist_peek_head(list); node != +# 571 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/dlist.h" 3 4 +__null +# 571 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/dlist.h" +; node = sys_dlist_peek_next(list, node)) { + len++; + } + return len; +} + +/** @} */ + + +} +# 28 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_includes.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" 1 +/* + * Copyright (c) 2016 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + /** + * @file + * @defgroup single-linked-list_apis Single-linked list + * @ingroup datastructure_apis + * + * @brief Single-linked list implementation. + * + * Single-linked list implementation using inline macros/functions. + * This API is not thread safe, and thus if a list is used across threads, + * calls to functions must be protected with synchronization primitives. + * @{ + */ + + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* Copyright (C) 1989-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.17 Common definitions + */ +# 24 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdbool.h" 1 3 4 +/* Copyright (C) 1998-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.16 Boolean type and values + */ +# 25 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/list_gen.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/list_gen.h" +/* + * Copyright (c) 2016 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* Copyright (C) 1989-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.17 Common definitions + */ +# 11 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/list_gen.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdbool.h" 1 3 4 +/* Copyright (C) 1998-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.16 Boolean type and values + */ +# 12 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/list_gen.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util.h" +/* + * Copyright (c) 2011-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Misc utilities + * + * Misc utilities usable by the kernel and application code. + */ +# 13 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/list_gen.h" 2 +# 26 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" 2 + + +extern "C" { + + + +/** @cond INTERNAL_HIDDEN */ +struct _snode { + struct _snode *next; +}; +/** @endcond */ + +/** Single-linked list node structure. */ +typedef struct _snode sys_snode_t; + +/** @cond INTERNAL_HIDDEN */ +struct _slist { + sys_snode_t *head; + sys_snode_t *tail; +}; +/** @endcond */ + +/** Single-linked list structure. */ +typedef struct _slist sys_slist_t; + +/** + * @brief Provide the primitive to iterate on a list + * Note: the loop is unsafe and thus __sn should not be removed + * + * User _MUST_ add the loop statement curly braces enclosing its own code: + * + * SYS_SLIST_FOR_EACH_NODE(l, n) { + * + * } + * + * This and other SYS_SLIST_*() macros are not thread safe. + * + * @param __sl A pointer on a sys_slist_t to iterate on + * @param __sn A sys_snode_t pointer to peek each node of the list + */ + + + +/** + * @brief Provide the primitive to iterate on a list, from a node in the list + * Note: the loop is unsafe and thus __sn should not be removed + * + * User _MUST_ add the loop statement curly braces enclosing its own code: + * + * SYS_SLIST_ITERATE_FROM_NODE(l, n) { + * + * } + * + * Like SYS_SLIST_FOR_EACH_NODE(), but __dn already contains a node in the list + * where to start searching for the next entry from. If NULL, it starts from + * the head. + * + * This and other SYS_SLIST_*() macros are not thread safe. + * + * @param __sl A pointer on a sys_slist_t to iterate on + * @param __sn A sys_snode_t pointer to peek each node of the list + * it contains the starting node, or NULL to start from the head + */ + + + +/** + * @brief Provide the primitive to safely iterate on a list + * Note: __sn can be removed, it will not break the loop. + * + * User _MUST_ add the loop statement curly braces enclosing its own code: + * + * SYS_SLIST_FOR_EACH_NODE_SAFE(l, n, s) { + * + * } + * + * This and other SYS_SLIST_*() macros are not thread safe. + * + * @param __sl A pointer on a sys_slist_t to iterate on + * @param __sn A sys_snode_t pointer to peek each node of the list + * @param __sns A sys_snode_t pointer for the loop to run safely + */ + + + +/** + * @brief Provide the primitive to resolve the container of a list node + * Note: it is safe to use with NULL pointer nodes + * + * @param __ln A pointer on a sys_node_t to get its container + * @param __cn Container struct type pointer + * @param __n The field name of sys_node_t within the container struct + */ + + + +/** + * @brief Provide the primitive to peek container of the list head + * + * @param __sl A pointer on a sys_slist_t to peek + * @param __cn Container struct type pointer + * @param __n The field name of sys_node_t within the container struct + */ + + + +/** + * @brief Provide the primitive to peek container of the list tail + * + * @param __sl A pointer on a sys_slist_t to peek + * @param __cn Container struct type pointer + * @param __n The field name of sys_node_t within the container struct + */ + + + +/** + * @brief Provide the primitive to peek the next container + * + * @param __cn Container struct type pointer + * @param __n The field name of sys_node_t within the container struct + */ + + + +/** + * @brief Provide the primitive to iterate on a list under a container + * Note: the loop is unsafe and thus __cn should not be detached + * + * User _MUST_ add the loop statement curly braces enclosing its own code: + * + * SYS_SLIST_FOR_EACH_CONTAINER(l, c, n) { + * + * } + * + * @param __sl A pointer on a sys_slist_t to iterate on + * @param __cn A pointer to peek each entry of the list + * @param __n The field name of sys_node_t within the container struct + */ + + + +/** + * @brief Provide the primitive to safely iterate on a list under a container + * Note: __cn can be detached, it will not break the loop. + * + * User _MUST_ add the loop statement curly braces enclosing its own code: + * + * SYS_SLIST_FOR_EACH_NODE_SAFE(l, c, cn, n) { + * + * } + * + * @param __sl A pointer on a sys_slist_t to iterate on + * @param __cn A pointer to peek each entry of the list + * @param __cns A pointer for the loop to run safely + * @param __n The field name of sys_node_t within the container struct + */ + + + + +/* + * Required function definitions for the list_gen.h interface + * + * These are the only functions that do not treat the list/node pointers + * as completely opaque types. + */ + +/** + * @brief Initialize a list + * + * @param list A pointer on the list to initialize + */ +static inline void sys_slist_init(sys_slist_t *list) +{ + list->head = +# 201 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" 3 4 + __null +# 201 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" + ; + list->tail = +# 202 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" 3 4 + __null +# 202 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" + ; +} + +/** + * @brief Statically initialize a single-linked list + * @param ptr_to_list A pointer on the list to initialize + */ + + +static inline sys_snode_t *z_snode_next_peek(sys_snode_t *node) +{ + return node->next; +} + +static inline void z_snode_next_set(sys_snode_t *parent, sys_snode_t *child) +{ + parent->next = child; +} + +static inline void z_slist_head_set(sys_slist_t *list, sys_snode_t *node) +{ + list->head = node; +} + +static inline void z_slist_tail_set(sys_slist_t *list, sys_snode_t *node) +{ + list->tail = node; +} + +/** + * @brief Peek the first node from the list + * + * @param list A point on the list to peek the first node from + * + * @return A pointer on the first node of the list (or NULL if none) + */ +static inline sys_snode_t *sys_slist_peek_head(sys_slist_t *list) +{ + return list->head; +} + +/** + * @brief Peek the last node from the list + * + * @param list A point on the list to peek the last node from + * + * @return A pointer on the last node of the list (or NULL if none) + */ +static inline sys_snode_t *sys_slist_peek_tail(sys_slist_t *list) +{ + return list->tail; +} + +/* + * Derived, generated APIs + */ + +/** + * @brief Test if the given list is empty + * + * @param list A pointer on the list to test + * + * @return a boolean, true if it's empty, false otherwise + */ +static inline bool sys_slist_is_empty(sys_slist_t *list); + +static inline bool sys_slist_is_empty(sys_slist_t *list) { return (sys_slist_peek_head(list) == +# 268 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" 3 4 +__null +# 268 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" +); } + +/** + * @brief Peek the next node from current node, node is not NULL + * + * Faster then sys_slist_peek_next() if node is known not to be NULL. + * + * @param node A pointer on the node where to peek the next node + * + * @return a pointer on the next node (or NULL if none) + */ +static inline sys_snode_t *sys_slist_peek_next_no_check(sys_snode_t *node); + +static inline sys_snode_t * sys_slist_peek_next_no_check(sys_snode_t *node) { return z_snode_next_peek(node); } + +/** + * @brief Peek the next node from current node + * + * @param node A pointer on the node where to peek the next node + * + * @return a pointer on the next node (or NULL if none) + */ +static inline sys_snode_t *sys_slist_peek_next(sys_snode_t *node); + +static inline sys_snode_t * sys_slist_peek_next(sys_snode_t *node) { return (node != +# 292 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" 3 4 +__null +# 292 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" +) ? sys_slist_peek_next_no_check(node) : +# 292 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" 3 4 +__null +# 292 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" +; } + +/** + * @brief Prepend a node to the given list + * + * This and other sys_slist_*() functions are not thread safe. + * + * @param list A pointer on the list to affect + * @param node A pointer on the node to prepend + */ +static inline void sys_slist_prepend(sys_slist_t *list, + sys_snode_t *node); + +static inline void sys_slist_prepend(sys_slist_t *list, sys_snode_t *node) { z_snode_next_set(node, sys_slist_peek_head(list)); z_slist_head_set(list, node); if (sys_slist_peek_tail(list) == +# 305 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" 3 4 +__null +# 305 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" +) { z_slist_tail_set(list, sys_slist_peek_head(list)); } } + +/** + * @brief Append a node to the given list + * + * This and other sys_slist_*() functions are not thread safe. + * + * @param list A pointer on the list to affect + * @param node A pointer on the node to append + */ +static inline void sys_slist_append(sys_slist_t *list, + sys_snode_t *node); + +static inline void sys_slist_append(sys_slist_t *list, sys_snode_t *node) { z_snode_next_set(node, +# 318 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" 3 4 +__null +# 318 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" +); if (sys_slist_peek_tail(list) == +# 318 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" 3 4 +__null +# 318 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" +) { z_slist_tail_set(list, node); z_slist_head_set(list, node); } else { z_snode_next_set( sys_slist_peek_tail(list), node); z_slist_tail_set(list, node); } } + +/** + * @brief Append a list to the given list + * + * Append a singly-linked, NULL-terminated list consisting of nodes containing + * the pointer to the next node as the first element of a node, to @a list. + * This and other sys_slist_*() functions are not thread safe. + * + * FIXME: Why are the element parameters void *? + * + * @param list A pointer on the list to affect + * @param head A pointer to the first element of the list to append + * @param tail A pointer to the last element of the list to append + */ +static inline void sys_slist_append_list(sys_slist_t *list, + void *head, void *tail); + +static inline void sys_slist_append_list(sys_slist_t *list, void *head, void *tail) { if (head != +# 336 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" 3 4 +__null +# 336 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" +&& tail != +# 336 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" 3 4 +__null +# 336 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" +) { if (sys_slist_peek_tail(list) == +# 336 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" 3 4 +__null +# 336 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" +) { z_slist_head_set(list, (sys_snode_t *)head); } else { z_snode_next_set( sys_slist_peek_tail(list), (sys_snode_t *)head); } z_slist_tail_set(list, (sys_snode_t *)tail); } } + +/** + * @brief merge two slists, appending the second one to the first + * + * When the operation is completed, the appending list is empty. + * This and other sys_slist_*() functions are not thread safe. + * + * @param list A pointer on the list to affect + * @param list_to_append A pointer to the list to append. + */ +static inline void sys_slist_merge_slist(sys_slist_t *list, + sys_slist_t *list_to_append); + +static inline void sys_slist_merge_slist ( sys_slist_t *list, sys_slist_t *list_to_append) { sys_snode_t *head, *tail; head = sys_slist_peek_head(list_to_append); tail = sys_slist_peek_tail(list_to_append); sys_slist_append_list(list, head, tail); sys_slist_init(list_to_append); } + +/** + * @brief Insert a node to the given list + * + * This and other sys_slist_*() functions are not thread safe. + * + * @param list A pointer on the list to affect + * @param prev A pointer on the previous node + * @param node A pointer on the node to insert + */ +static inline void sys_slist_insert(sys_slist_t *list, + sys_snode_t *prev, + sys_snode_t *node); + +static inline void sys_slist_insert(sys_slist_t *list, sys_snode_t *prev, sys_snode_t *node) { if (prev == +# 365 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" 3 4 +__null +# 365 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" +) { sys_slist_prepend(list, node); } else if (z_snode_next_peek(prev) == +# 365 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" 3 4 +__null +# 365 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" +) { sys_slist_append(list, node); } else { z_snode_next_set(node, z_snode_next_peek(prev)); z_snode_next_set(prev, node); } } + +/** + * @brief Fetch and remove the first node of the given list + * + * List must be known to be non-empty. + * This and other sys_slist_*() functions are not thread safe. + * + * @param list A pointer on the list to affect + * + * @return A pointer to the first node of the list + */ +static inline sys_snode_t *sys_slist_get_not_empty(sys_slist_t *list); + +static inline sys_snode_t * sys_slist_get_not_empty(sys_slist_t *list) { sys_snode_t *node = sys_slist_peek_head(list); z_slist_head_set(list, z_snode_next_peek(node)); if (sys_slist_peek_tail(list) == node) { z_slist_tail_set(list, sys_slist_peek_head(list)); } return node; } + +/** + * @brief Fetch and remove the first node of the given list + * + * This and other sys_slist_*() functions are not thread safe. + * + * @param list A pointer on the list to affect + * + * @return A pointer to the first node of the list (or NULL if empty) + */ +static inline sys_snode_t *sys_slist_get(sys_slist_t *list); + +static inline sys_snode_t * sys_slist_get(sys_slist_t *list) { return sys_slist_is_empty(list) ? +# 392 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" 3 4 +__null +# 392 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" +: sys_slist_get_not_empty(list); } + +/** + * @brief Remove a node + * + * This and other sys_slist_*() functions are not thread safe. + * + * @param list A pointer on the list to affect + * @param prev_node A pointer on the previous node + * (can be NULL, which means the node is the list's head) + * @param node A pointer on the node to remove + */ +static inline void sys_slist_remove(sys_slist_t *list, + sys_snode_t *prev_node, + sys_snode_t *node); + +static inline void sys_slist_remove(sys_slist_t *list, sys_snode_t *prev_node, sys_snode_t *node) { if (prev_node == +# 408 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" 3 4 +__null +# 408 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" +) { z_slist_head_set(list, z_snode_next_peek(node)); if (sys_slist_peek_tail(list) == node) { z_slist_tail_set(list, sys_slist_peek_head(list)); } } else { z_snode_next_set(prev_node, z_snode_next_peek(node)); if (sys_slist_peek_tail(list) == node) { z_slist_tail_set(list, prev_node); } } z_snode_next_set(node, +# 408 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" 3 4 +__null +# 408 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" +); } + +/** + * @brief Find and remove a node from a list + * + * This and other sys_slist_*() functions are not thread safe. + * + * @param list A pointer on the list to affect + * @param node A pointer on the node to remove from the list + * + * @return true if node was removed + */ +static inline bool sys_slist_find_and_remove(sys_slist_t *list, + sys_snode_t *node); + +/** + * @brief Find if a node is already linked in a singly linked list + * + * This and other sys_slist_*() functions are not thread safe. + * + * @param list A pointer to the list to check + * @param node A pointer to the node to search in the list + * @param[out] prev A pointer to the previous node + * + * @return true if node was found in the list, false otherwise + */ +static inline bool sys_slist_find(sys_slist_t *list, sys_snode_t *node, + sys_snode_t **prev); +static inline bool sys_slist_find( sys_slist_t *list, sys_snode_t *node, sys_snode_t **prev) { sys_snode_t *current = +# 436 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" 3 4 +__null +# 436 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" +; sys_snode_t *previous = +# 436 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" 3 4 +__null +# 436 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" +; for ((current) = sys_slist_peek_head(list); (current) != +# 436 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" 3 4 +__null +# 436 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" +; (current) = sys_slist_peek_next(current)) { if (current == node) { if (prev != +# 436 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" 3 4 +__null +# 436 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" +) { *prev = previous; } return true; } previous = current; } if (prev != +# 436 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" 3 4 +__null +# 436 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" +) { *prev = previous; } return false; } + +/** + * @brief Compute the size of the given list in O(n) time + * + * @param list A pointer on the list + * + * @return an integer equal to the size of the list, or 0 if empty + */ +static inline size_t sys_slist_len(sys_slist_t *list); + +static inline size_t sys_slist_len(sys_slist_t * list) { size_t len = 0; static sys_snode_t * node; for ((node) = sys_slist_peek_head(list); (node) != +# 447 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" 3 4 +__null +# 447 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" +; (node) = sys_slist_peek_next(node)) { len++; } return len; } + +/** @} */ +static inline bool sys_slist_find_and_remove(sys_slist_t *list, sys_snode_t *node) { sys_snode_t *prev = +# 450 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" 3 4 +__null +# 450 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" +; sys_snode_t *test; for ((test) = sys_slist_peek_head(list); (test) != +# 450 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" 3 4 +__null +# 450 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" +; (test) = sys_slist_peek_next(test)) { if (test == node) { sys_slist_remove(list, prev, node); return true; } prev = test; } return false; } + + +} +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_includes.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sflist.h" 1 +/* + * Copyright (c) 2016 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + /** + * @file + * @defgroup flagged-single-linked-list_apis Flagged Single-linked list + * @ingroup datastructure_apis + * + * @brief Flagged single-linked list implementation. + * + * Similar to @ref single-linked-list_apis with the added ability to define + * user "flags" bits for each node. They can be accessed and modified + * using the sys_sfnode_flags_get() and sys_sfnode_flags_set() APIs. + * + * Flagged single-linked list implementation using inline macros/functions. + * This API is not thread safe, and thus if a list is used across threads, + * calls to functions must be protected with synchronization primitives. + * + * @{ + */ + + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sflist.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdbool.h" 1 3 4 +/* Copyright (C) 1998-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.16 Boolean type and values + */ +# 30 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sflist.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/__assert.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/__assert.h" +/* + * Copyright (c) 2011-2014 Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 31 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sflist.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/list_gen.h" 1 +/* + * Copyright (c) 2016 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 32 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sflist.h" 2 + + +extern "C" { + + +/** @cond INTERNAL_HIDDEN */ +struct _sfnode { + uintptr_t next_and_flags; +}; +/** @endcond */ + +/** Flagged single-linked list node structure. */ +typedef struct _sfnode sys_sfnode_t; + +/** @cond INTERNAL_HIDDEN */ +struct _sflist { + sys_sfnode_t *head; + sys_sfnode_t *tail; +}; +/** @endcond */ + +/** Flagged single-linked list structure. */ +typedef struct _sflist sys_sflist_t; + +/** + * @brief Provide the primitive to iterate on a list + * Note: the loop is unsafe and thus __sn should not be removed + * + * User _MUST_ add the loop statement curly braces enclosing its own code: + * + * SYS_SFLIST_FOR_EACH_NODE(l, n) { + * + * } + * + * This and other SYS_SFLIST_*() macros are not thread safe. + * + * @param __sl A pointer on a sys_sflist_t to iterate on + * @param __sn A sys_sfnode_t pointer to peek each node of the list + */ + + + +/** + * @brief Provide the primitive to iterate on a list, from a node in the list + * Note: the loop is unsafe and thus __sn should not be removed + * + * User _MUST_ add the loop statement curly braces enclosing its own code: + * + * SYS_SFLIST_ITERATE_FROM_NODE(l, n) { + * + * } + * + * Like SYS_SFLIST_FOR_EACH_NODE(), but __dn already contains a node in the list + * where to start searching for the next entry from. If NULL, it starts from + * the head. + * + * This and other SYS_SFLIST_*() macros are not thread safe. + * + * @param __sl A pointer on a sys_sflist_t to iterate on + * @param __sn A sys_sfnode_t pointer to peek each node of the list + * it contains the starting node, or NULL to start from the head + */ + + + +/** + * @brief Provide the primitive to safely iterate on a list + * Note: __sn can be removed, it will not break the loop. + * + * User _MUST_ add the loop statement curly braces enclosing its own code: + * + * SYS_SFLIST_FOR_EACH_NODE_SAFE(l, n, s) { + * + * } + * + * This and other SYS_SFLIST_*() macros are not thread safe. + * + * @param __sl A pointer on a sys_sflist_t to iterate on + * @param __sn A sys_sfnode_t pointer to peek each node of the list + * @param __sns A sys_sfnode_t pointer for the loop to run safely + */ + + + +/** + * @brief Provide the primitive to resolve the container of a list node + * Note: it is safe to use with NULL pointer nodes + * + * @param __ln A pointer on a sys_sfnode_t to get its container + * @param __cn Container struct type pointer + * @param __n The field name of sys_sfnode_t within the container struct + */ + + + +/** + * @brief Provide the primitive to peek container of the list head + * + * @param __sl A pointer on a sys_sflist_t to peek + * @param __cn Container struct type pointer + * @param __n The field name of sys_sfnode_t within the container struct + */ + + + +/** + * @brief Provide the primitive to peek container of the list tail + * + * @param __sl A pointer on a sys_sflist_t to peek + * @param __cn Container struct type pointer + * @param __n The field name of sys_sfnode_t within the container struct + */ + + + +/** + * @brief Provide the primitive to peek the next container + * + * @param __cn Container struct type pointer + * @param __n The field name of sys_sfnode_t within the container struct + */ + + + +/** + * @brief Provide the primitive to iterate on a list under a container + * Note: the loop is unsafe and thus __cn should not be detached + * + * User _MUST_ add the loop statement curly braces enclosing its own code: + * + * SYS_SFLIST_FOR_EACH_CONTAINER(l, c, n) { + * + * } + * + * @param __sl A pointer on a sys_sflist_t to iterate on + * @param __cn A pointer to peek each entry of the list + * @param __n The field name of sys_sfnode_t within the container struct + */ + + + +/** + * @brief Provide the primitive to safely iterate on a list under a container + * Note: __cn can be detached, it will not break the loop. + * + * User _MUST_ add the loop statement curly braces enclosing its own code: + * + * SYS_SFLIST_FOR_EACH_NODE_SAFE(l, c, cn, n) { + * + * } + * + * @param __sl A pointer on a sys_sflist_t to iterate on + * @param __cn A pointer to peek each entry of the list + * @param __cns A pointer for the loop to run safely + * @param __n The field name of sys_sfnode_t within the container struct + */ + + + + +/* + * Required function definitions for the list_gen.h interface + * + * These are the only functions that do not treat the list/node pointers + * as completely opaque types. + */ + +/** + * @brief Initialize a list + * + * @param list A pointer on the list to initialize + */ +static inline void sys_sflist_init(sys_sflist_t *list) +{ + list->head = +# 206 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sflist.h" 3 4 + __null +# 206 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sflist.h" + ; + list->tail = +# 207 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sflist.h" 3 4 + __null +# 207 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sflist.h" + ; +} + +/** + * @brief Statically initialize a flagged single-linked list + * @param ptr_to_list A pointer on the list to initialize + */ + + +/* Flag bits are stored in unused LSB of the sys_sfnode_t pointer */ + +/* At least 2 available flag bits are expected */ +static_assert(((uintptr_t)(__alignof__(sys_sfnode_t) - 1)) >= 0x3, "" ); + +static inline sys_sfnode_t *z_sfnode_next_peek(sys_sfnode_t *node) +{ + return (sys_sfnode_t *)(node->next_and_flags & ~((uintptr_t)(__alignof__(sys_sfnode_t) - 1))); +} + +static inline uint8_t sys_sfnode_flags_get(sys_sfnode_t *node); + +static inline void z_sfnode_next_set(sys_sfnode_t *parent, + sys_sfnode_t *child) +{ + uint8_t cur_flags = sys_sfnode_flags_get(parent); + + parent->next_and_flags = cur_flags | (uintptr_t)child; +} + +static inline void z_sflist_head_set(sys_sflist_t *list, sys_sfnode_t *node) +{ + list->head = node; +} + +static inline void z_sflist_tail_set(sys_sflist_t *list, sys_sfnode_t *node) +{ + list->tail = node; +} + +/** + * @brief Peek the first node from the list + * + * @param list A point on the list to peek the first node from + * + * @return A pointer on the first node of the list (or NULL if none) + */ +static inline sys_sfnode_t *sys_sflist_peek_head(sys_sflist_t *list) +{ + return list->head; +} + +/** + * @brief Peek the last node from the list + * + * @param list A point on the list to peek the last node from + * + * @return A pointer on the last node of the list (or NULL if none) + */ +static inline sys_sfnode_t *sys_sflist_peek_tail(sys_sflist_t *list) +{ + return list->tail; +} + +/* + * APIs specific to sflist type + */ + +/** + * @brief Fetch flags value for a particular sfnode + * + * @param node A pointer to the node to fetch flags from + * @return The value of flags, which will be between 0 and 3 on 32-bit + * architectures, or between 0 and 7 on 64-bit architectures + */ +static inline uint8_t sys_sfnode_flags_get(sys_sfnode_t *node) +{ + return node->next_and_flags & ((uintptr_t)(__alignof__(sys_sfnode_t) - 1)); +} + +/** + * @brief Initialize an sflist node + * + * Set an initial flags value for this slist node, which can be a value between + * 0 and 3 on 32-bit architectures, or between 0 and 7 on 64-bit architectures. + * These flags will persist even if the node is moved around within a list, + * removed, or transplanted to a different slist. + * + * This is ever so slightly faster than sys_sfnode_flags_set() and should + * only be used on a node that hasn't been added to any list. + * + * @param node A pointer to the node to set the flags on + * @param flags The flags value to set + */ +static inline void sys_sfnode_init(sys_sfnode_t *node, uint8_t flags) +{ + { }; + node->next_and_flags = flags; +} + +/** + * @brief Set flags value for an sflist node + * + * Set a flags value for this slist node, which can be a value between + * 0 and 3 on 32-bit architectures, or between 0 and 7 on 64-bit architectures. + * These flags will persist even if the node is moved around within a list, + * removed, or transplanted to a different slist. + * + * @param node A pointer to the node to set the flags on + * @param flags The flags value to set + */ +static inline void sys_sfnode_flags_set(sys_sfnode_t *node, uint8_t flags) +{ + { }; + node->next_and_flags = (uintptr_t)(z_sfnode_next_peek(node)) | flags; +} + +/* + * Derived, generated APIs + */ + +/** + * @brief Test if the given list is empty + * + * @param list A pointer on the list to test + * + * @return a boolean, true if it's empty, false otherwise + */ +static inline bool sys_sflist_is_empty(sys_sflist_t *list); + +static inline bool sys_sflist_is_empty(sys_sflist_t *list) { return (sys_sflist_peek_head(list) == +# 336 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sflist.h" 3 4 +__null +# 336 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sflist.h" +); } + +/** + * @brief Peek the next node from current node, node is not NULL + * + * Faster then sys_sflist_peek_next() if node is known not to be NULL. + * + * @param node A pointer on the node where to peek the next node + * + * @return a pointer on the next node (or NULL if none) + */ +static inline sys_sfnode_t *sys_sflist_peek_next_no_check(sys_sfnode_t *node); + +static inline sys_sfnode_t * sys_sflist_peek_next_no_check(sys_sfnode_t *node) { return z_sfnode_next_peek(node); } + +/** + * @brief Peek the next node from current node + * + * @param node A pointer on the node where to peek the next node + * + * @return a pointer on the next node (or NULL if none) + */ +static inline sys_sfnode_t *sys_sflist_peek_next(sys_sfnode_t *node); + +static inline sys_sfnode_t * sys_sflist_peek_next(sys_sfnode_t *node) { return (node != +# 360 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sflist.h" 3 4 +__null +# 360 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sflist.h" +) ? sys_sflist_peek_next_no_check(node) : +# 360 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sflist.h" 3 4 +__null +# 360 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sflist.h" +; } + +/** + * @brief Prepend a node to the given list + * + * This and other sys_sflist_*() functions are not thread safe. + * + * @param list A pointer on the list to affect + * @param node A pointer on the node to prepend + */ +static inline void sys_sflist_prepend(sys_sflist_t *list, + sys_sfnode_t *node); + +static inline void sys_sflist_prepend(sys_sflist_t *list, sys_sfnode_t *node) { z_sfnode_next_set(node, sys_sflist_peek_head(list)); z_sflist_head_set(list, node); if (sys_sflist_peek_tail(list) == +# 373 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sflist.h" 3 4 +__null +# 373 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sflist.h" +) { z_sflist_tail_set(list, sys_sflist_peek_head(list)); } } + +/** + * @brief Append a node to the given list + * + * This and other sys_sflist_*() functions are not thread safe. + * + * @param list A pointer on the list to affect + * @param node A pointer on the node to append + */ +static inline void sys_sflist_append(sys_sflist_t *list, + sys_sfnode_t *node); + +static inline void sys_sflist_append(sys_sflist_t *list, sys_sfnode_t *node) { z_sfnode_next_set(node, +# 386 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sflist.h" 3 4 +__null +# 386 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sflist.h" +); if (sys_sflist_peek_tail(list) == +# 386 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sflist.h" 3 4 +__null +# 386 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sflist.h" +) { z_sflist_tail_set(list, node); z_sflist_head_set(list, node); } else { z_sfnode_next_set( sys_sflist_peek_tail(list), node); z_sflist_tail_set(list, node); } } + +/** + * @brief Append a list to the given list + * + * Append a singly-linked, NULL-terminated list consisting of nodes containing + * the pointer to the next node as the first element of a node, to @a list. + * This and other sys_sflist_*() functions are not thread safe. + * + * FIXME: Why are the element parameters void *? + * + * @param list A pointer on the list to affect + * @param head A pointer to the first element of the list to append + * @param tail A pointer to the last element of the list to append + */ +static inline void sys_sflist_append_list(sys_sflist_t *list, + void *head, void *tail); + +static inline void sys_sflist_append_list(sys_sflist_t *list, void *head, void *tail) { if (head != +# 404 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sflist.h" 3 4 +__null +# 404 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sflist.h" +&& tail != +# 404 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sflist.h" 3 4 +__null +# 404 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sflist.h" +) { if (sys_sflist_peek_tail(list) == +# 404 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sflist.h" 3 4 +__null +# 404 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sflist.h" +) { z_sflist_head_set(list, (sys_sfnode_t *)head); } else { z_sfnode_next_set( sys_sflist_peek_tail(list), (sys_sfnode_t *)head); } z_sflist_tail_set(list, (sys_sfnode_t *)tail); } } + +/** + * @brief merge two sflists, appending the second one to the first + * + * When the operation is completed, the appending list is empty. + * This and other sys_sflist_*() functions are not thread safe. + * + * @param list A pointer on the list to affect + * @param list_to_append A pointer to the list to append. + */ +static inline void sys_sflist_merge_sflist(sys_sflist_t *list, + sys_sflist_t *list_to_append); + +static inline void sys_sflist_merge_sflist ( sys_sflist_t *list, sys_sflist_t *list_to_append) { sys_sfnode_t *head, *tail; head = sys_sflist_peek_head(list_to_append); tail = sys_sflist_peek_tail(list_to_append); sys_sflist_append_list(list, head, tail); sys_sflist_init(list_to_append); } + +/** + * @brief Insert a node to the given list + * + * This and other sys_sflist_*() functions are not thread safe. + * + * @param list A pointer on the list to affect + * @param prev A pointer on the previous node + * @param node A pointer on the node to insert + */ +static inline void sys_sflist_insert(sys_sflist_t *list, + sys_sfnode_t *prev, + sys_sfnode_t *node); + +static inline void sys_sflist_insert(sys_sflist_t *list, sys_sfnode_t *prev, sys_sfnode_t *node) { if (prev == +# 433 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sflist.h" 3 4 +__null +# 433 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sflist.h" +) { sys_sflist_prepend(list, node); } else if (z_sfnode_next_peek(prev) == +# 433 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sflist.h" 3 4 +__null +# 433 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sflist.h" +) { sys_sflist_append(list, node); } else { z_sfnode_next_set(node, z_sfnode_next_peek(prev)); z_sfnode_next_set(prev, node); } } + +/** + * @brief Fetch and remove the first node of the given list + * + * List must be known to be non-empty. + * This and other sys_sflist_*() functions are not thread safe. + * + * @param list A pointer on the list to affect + * + * @return A pointer to the first node of the list + */ +static inline sys_sfnode_t *sys_sflist_get_not_empty(sys_sflist_t *list); + +static inline sys_sfnode_t * sys_sflist_get_not_empty(sys_sflist_t *list) { sys_sfnode_t *node = sys_sflist_peek_head(list); z_sflist_head_set(list, z_sfnode_next_peek(node)); if (sys_sflist_peek_tail(list) == node) { z_sflist_tail_set(list, sys_sflist_peek_head(list)); } return node; } + +/** + * @brief Fetch and remove the first node of the given list + * + * This and other sys_sflist_*() functions are not thread safe. + * + * @param list A pointer on the list to affect + * + * @return A pointer to the first node of the list (or NULL if empty) + */ +static inline sys_sfnode_t *sys_sflist_get(sys_sflist_t *list); + +static inline sys_sfnode_t * sys_sflist_get(sys_sflist_t *list) { return sys_sflist_is_empty(list) ? +# 460 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sflist.h" 3 4 +__null +# 460 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sflist.h" +: sys_sflist_get_not_empty(list); } + +/** + * @brief Remove a node + * + * This and other sys_sflist_*() functions are not thread safe. + * + * @param list A pointer on the list to affect + * @param prev_node A pointer on the previous node + * (can be NULL, which means the node is the list's head) + * @param node A pointer on the node to remove + */ +static inline void sys_sflist_remove(sys_sflist_t *list, + sys_sfnode_t *prev_node, + sys_sfnode_t *node); + +static inline void sys_sflist_remove(sys_sflist_t *list, sys_sfnode_t *prev_node, sys_sfnode_t *node) { if (prev_node == +# 476 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sflist.h" 3 4 +__null +# 476 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sflist.h" +) { z_sflist_head_set(list, z_sfnode_next_peek(node)); if (sys_sflist_peek_tail(list) == node) { z_sflist_tail_set(list, sys_sflist_peek_head(list)); } } else { z_sfnode_next_set(prev_node, z_sfnode_next_peek(node)); if (sys_sflist_peek_tail(list) == node) { z_sflist_tail_set(list, prev_node); } } z_sfnode_next_set(node, +# 476 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sflist.h" 3 4 +__null +# 476 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sflist.h" +); } + +/** + * @brief Find and remove a node from a list + * + * This and other sys_sflist_*() functions are not thread safe. + * + * @param list A pointer on the list to affect + * @param node A pointer on the node to remove from the list + * + * @return true if node was removed + */ +static inline bool sys_sflist_find_and_remove(sys_sflist_t *list, + sys_sfnode_t *node); + +static inline bool sys_sflist_find_and_remove(sys_sflist_t *list, sys_sfnode_t *node) { sys_sfnode_t *prev = +# 491 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sflist.h" 3 4 +__null +# 491 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sflist.h" +; sys_sfnode_t *test; for ((test) = sys_sflist_peek_head(list); (test) != +# 491 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sflist.h" 3 4 +__null +# 491 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sflist.h" +; (test) = sys_sflist_peek_next(test)) { if (test == node) { sys_sflist_remove(list, prev, node); return true; } prev = test; } return false; } + +/** + * @brief Compute the size of the given list in O(n) time + * + * @param list A pointer on the list + * + * @return an integer equal to the size of the list, or 0 if empty + */ +static inline size_t sys_sflist_len(sys_sflist_t *list); + +static inline size_t sys_sflist_len(sys_sflist_t * list) { size_t len = 0; static sys_sfnode_t * node; for ((node) = sys_sflist_peek_head(list); (node) != +# 502 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sflist.h" 3 4 +__null +# 502 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sflist.h" +; (node) = sys_sflist_peek_next(node)) { len++; } return len; } + +/** @} */ + + +} +# 30 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_includes.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util.h" 1 +/* + * Copyright (c) 2011-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Misc utilities + * + * Misc utilities usable by the kernel and application code. + */ +# 31 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_includes.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/obj_core.h" 1 +/* + * Copyright (c) 2023, Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" 1 +/* + * Copyright (c) 2016 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + /** + * @file + * @defgroup single-linked-list_apis Single-linked list + * @ingroup datastructure_apis + * + * @brief Single-linked list implementation. + * + * Single-linked list implementation using inline macros/functions. + * This API is not thread safe, and thus if a list is used across threads, + * calls to functions must be protected with synchronization primitives. + * @{ + */ +# 11 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/obj_core.h" 2 + +/** + * @defgroup obj_core_apis Object Core APIs + * @ingroup kernel_apis + * @{ + */ + +/** + * @brief Convert kernel object pointer into its object core pointer + */ + + +/** + * @brief Generate new object type IDs based on a 4 letter string + */ + + +/* Known kernel object types */ + +/** Condition variable object type */ + +/** CPU object type */ + +/** Event object type */ + +/** FIFO object type */ + +/** Kernel object type */ + +/** LIFO object type */ + +/** Memory block object type */ + +/** Mailbox object type */ + +/** Memory slab object type */ + +/** Message queue object type */ + +/** Mutex object type */ + +/** Pipe object type */ + +/** Semaphore object type */ + +/** Stack object type */ + +/** Thread object type */ + +/** Timer object type */ + + +struct k_obj_type; +struct k_obj_core; + +/** + * @cond INTERNAL_HIDDEN + */ +# 81 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/obj_core.h" +/** + * INTERNAL_HIDDEN @endcond + */ + +/** + * Tools may use this list as an entry point to identify all registered + * object types and the object cores linked to them. + */ +extern sys_slist_t z_obj_type_list; + +/** Object core statistics descriptor */ +struct k_obj_core_stats_desc { + size_t raw_size; + size_t query_size; + + /** Function pointer to retrieve internal representation of stats */ + int (*raw)(struct k_obj_core *obj_core, void *stats); + /** Function pointer to retrieve reported statistics */ + int (*query)(struct k_obj_core *obj_core, void *stats); + /** Function pointer to reset object's statistics */ + int (*reset)(struct k_obj_core *obj_core); + /** Function pointer to disable object's statistics gathering */ + int (*disable)(struct k_obj_core *obj_core); + /** Function pointer to enable object's statistics gathering */ + int (*enable)(struct k_obj_core *obj_core); +}; + +/** Object type structure */ +struct k_obj_type { + sys_snode_t node; + sys_slist_t list; + uint32_t id; + size_t obj_core_offset; + + + + +}; + +/** Object core structure */ +struct k_obj_core { + sys_snode_t node; + struct k_obj_type *type; + + + +}; + +/** + * @brief Initialize a specific object type + * + * Initializes a specific object type and links it into the object core + * framework. + * + * @param type Pointer to the object type to initialize + * @param id A means to identify the object type + * @param off Offset of object core within the structure + * + * @retval Pointer to initialized object type + */ +struct k_obj_type *z_obj_type_init(struct k_obj_type *type, + uint32_t id, size_t off); + +/** + * @brief Find a specific object type by ID + * + * Given an object type ID, this function searches for the object type that + * is associated with the specified type ID @a type_id. + * + * @param type_id Type ID associated with object type + * + * @retval NULL if object type not found + * @retval Pointer to object type if found + */ +struct k_obj_type *k_obj_type_find(uint32_t type_id); + +/** + * @brief Walk the object type's list of object cores + * + * This function takes a global spinlock and walks the object type's list + * of object cores and invokes the callback function on each element while + * holding that lock. Although this will ensure that the list is not modified, + * one can expect a significant penalty in terms of performance and latency. + * + * The callback function shall either return non-zero to stop further walking, + * or it shall return 0 to continue walking. + * + * @param type Pointer to the object type + * @param func Callback to invoke on each object core of the object type + * @param data Custom data passed to the callback + * + * @retval non-zero if walk is terminated by the callback; otherwise 0 + */ +int k_obj_type_walk_locked(struct k_obj_type *type, + int (*func)(struct k_obj_core *, void *), + void *data); + +/** + * @brief Walk the object type's list of object cores + * + * This function is similar to k_obj_type_walk_locked() except that it walks + * the list without obtaining the global spinlock. No synchronization is + * provided here. Mutation of the list of objects while this function is in + * progress must be prevented at the application layer, otherwise + * undefined/unreliable behavior, corruption and/or crashes may result. + * + * The callback function shall either return non-zero to stop further walking, + * or it shall return 0 to continue walking. + * + * @param type Pointer to the object type + * @param func Callback to invoke on each object core of the object type + * @param data Custom data passed to the callback + * + * @retval non-zero if walk is terminated by the callback; otherwise 0 + */ +int k_obj_type_walk_unlocked(struct k_obj_type *type, + int (*func)(struct k_obj_core *, void *), + void *data); + +/** + * @brief Initialize the core of the kernel object + * + * Initializing the kernel object core associates it with the specified + * kernel object type. + * + * @param obj_core Pointer to the kernel object to initialize + * @param type Pointer to the kernel object type + */ +void k_obj_core_init(struct k_obj_core *obj_core, struct k_obj_type *type); + +/** + * @brief Link the kernel object to the kernel object type list + * + * A kernel object can be optionally linked into the kernel object type's + * list of objects. A kernel object must have been initialized before it + * can be linked. Linked kernel objects can be traversed and have information + * extracted from them by system tools. + * + * @param obj_core Pointer to the kernel object + */ +void k_obj_core_link(struct k_obj_core *obj_core); + +/** + * @brief Automatically link the kernel object after initializing it + * + * A useful wrapper to both initialize the core of the kernel object and + * automatically link it into the kernel object type's list of objects. + * + * @param obj_core Pointer to the kernel object to initialize + * @param type Pointer to the kernel object type + */ +void k_obj_core_init_and_link(struct k_obj_core *obj_core, + struct k_obj_type *type); + +/** + * @brief Unlink the kernel object from the kernel object type list + * + * Kernel objects can be unlinked from their respective kernel object type + * lists. If on a list, it must be done at the end of the kernel object's life + * cycle. + * + * @param obj_core Pointer to the kernel object + */ +void k_obj_core_unlink(struct k_obj_core *obj_core); + +/** @} */ + +/** + * @defgroup obj_core_stats_apis Object Core Statistics APIs + * @ingroup kernel_apis + * @{ + */ +# 285 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/obj_core.h" +/** + * @brief Register kernel object for gathering statistics + * + * Before a kernel object can gather statistics, it must be registered to do + * so. Registering will also automatically enable the kernel object to gather + * its statistics. + * + * @param obj_core Pointer to kernel object core + * @param stats Pointer to raw kernel statistics + * @param stats_len Size of raw kernel statistics buffer + * + * @retval 0 on success + * @retval -errno on failure + */ +int k_obj_core_stats_register(struct k_obj_core *obj_core, void *stats, + size_t stats_len); + +/** + * @brief Deregister kernel object from gathering statistics + * + * Deregistering a kernel object core from gathering statistics prevents it + * from gathering any more statistics. It is expected to be invoked at the end + * of a kernel object's life cycle. + * + * @param obj_core Pointer to kernel object core + * + * @retval 0 on success + * @retval -errno on failure + */ +int k_obj_core_stats_deregister(struct k_obj_core *obj_core); + +/** + * @brief Retrieve the raw statistics associated with the kernel object + * + * This function copies the raw statistics associated with the kernel object + * core specified by @a obj_core into the buffer @a stats. Note that the size + * of the buffer (@a stats_len) must match the size specified by the kernel + * object type's statistics descriptor. + * + * @param obj_core Pointer to kernel object core + * @param stats Pointer to memory buffer into which to copy raw stats + * @param stats_len Length of the memory buffer + * + * @retval 0 on success + * @retval -errno on failure + */ +int k_obj_core_stats_raw(struct k_obj_core *obj_core, void *stats, + size_t stats_len); + +/** + * @brief Retrieve the statistics associated with the kernel object + * + * This function copies the statistics associated with the kernel object core + * specified by @a obj_core into the buffer @a stats. Unlike the raw statistics + * this may report calculated values such as averages. Note that the size of + * the buffer (@a stats_len) must match the size specified by the kernel object + * type's statistics descriptor. + * + * @param obj_core Pointer to kernel object core + * @param stats Pointer to memory buffer into which to copy the queried stats + * @param stats_len Length of the memory buffer + * + * @retval 0 on success + * @retval -errno on failure + */ +int k_obj_core_stats_query(struct k_obj_core *obj_core, void *stats, + size_t stats_len); + +/** + * @brief Reset the stats associated with the kernel object + * + * This function resets the statistics associated with the kernel object core + * specified by @a obj_core. + * + * @param obj_core Pointer to kernel object core + * + * @retval 0 on success + * @retval -errno on failure + */ +int k_obj_core_stats_reset(struct k_obj_core *obj_core); + +/** + * @brief Stop gathering the stats associated with the kernel object + * + * This function temporarily stops the gathering of statistics associated with + * the kernel object core specified by @a obj_core. The gathering of statistics + * can be resumed by invoking :c:func :`k_obj_core_stats_enable`. + * + * @param obj_core Pointer to kernel object core + * + * @retval 0 on success + * @retval -errno on failure + */ +int k_obj_core_stats_disable(struct k_obj_core *obj_core); + +/** + * @brief Reset the stats associated with the kernel object + * + * This function resumes the gathering of statistics associated with the kernel + * object core specified by @a obj_core. + * + * @param obj_core Pointer to kernel object core + * + * @retval 0 on success + * @retval -errno on failure + */ +int k_obj_core_stats_enable(struct k_obj_core *obj_core); + +/** @} */ +# 32 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_includes.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_structs.h" 1 +/* + * Copyright (c) 2016 Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/* + * The purpose of this file is to provide essential/minimal kernel structure + * definitions, so that they can be used without including kernel.h. + * + * The following rules must be observed: + * 1. kernel_structs.h shall not depend on kernel.h both directly and + * indirectly (i.e. it shall not include any header files that include + * kernel.h in their dependency chain). + * 2. kernel.h shall imply kernel_structs.h, such that it shall not be + * necessary to include kernel_structs.h explicitly when kernel.h is + * included. + */ + + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/atomic.h" 1 +/* + * Copyright (c) 1997-2015, Wind River Systems, Inc. + * Copyright (c) 2021 Intel Corporation + * Copyright (c) 2023 Nordic Semiconductor ASA + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 25 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_structs.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/types.h" 1 +/* + * Copyright (c) 2017 Linaro Limited + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 26 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_structs.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/dlist.h" 1 +/* + * Copyright (c) 2013-2015 Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @defgroup doubly-linked-list_apis Doubly-linked list + * @ingroup datastructure_apis + * + * @brief Doubly-linked list implementation + * + * Doubly-linked list implementation using inline macros/functions. + * This API is not thread safe, and thus if a list is used across threads, + * calls to functions must be protected with synchronization primitives. + * + * The lists are expected to be initialized such that both the head and tail + * pointers point to the list itself. Initializing the lists in such a fashion + * simplifies the adding and removing of nodes to/from the list. + * + * @{ + */ +# 27 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_structs.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util.h" 1 +/* + * Copyright (c) 2011-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Misc utilities + * + * Misc utilities usable by the kernel and application code. + */ +# 28 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_structs.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sys_heap.h" 1 +/* + * Copyright (c) 2019 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* Copyright (C) 1989-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.17 Common definitions + */ +# 10 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sys_heap.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdbool.h" 1 3 4 +/* Copyright (C) 1998-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.16 Boolean type and values + */ +# 11 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sys_heap.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/types.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/types.h" +/* + * Copyright (c) 2017 Linaro Limited + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 12 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sys_heap.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mem_stats.h" 1 +/* + * Copyright (c) 2022 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * + * @brief Memory Statistics + */ + + + + + +extern "C" { + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* Copyright (C) 1989-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.17 Common definitions + */ +# 21 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mem_stats.h" 2 + + +# 22 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mem_stats.h" +/* A common structure used to report runtime memory usage statistics */ + +struct sys_memory_stats { + size_t free_bytes; + size_t allocated_bytes; + size_t max_allocated_bytes; +}; + + +} +# 13 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sys_heap.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain.h" 1 +/* + * Copyright (c) 2010-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Macros to abstract toolchain specific capabilities + * + * This file contains various macros to abstract compiler capabilities that + * utilize toolchain specific attributes and/or pragmas. + */ +# 14 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sys_heap.h" 2 + + +extern "C" { + + +/* Simple, fast heap implementation. + * + * A more or less conventional segregated fit allocator with + * power-of-two buckets. + * + * Excellent space efficiency. Chunks can be split arbitrarily in 8 + * byte units. Overhead is only four bytes per allocated chunk (eight + * bytes for heaps >256kb or on 64 bit systems), plus a log2-sized + * array of 2-word bucket headers. No coarse alignment restrictions + * on blocks, they can be split and merged (in units of 8 bytes) + * arbitrarily. + * + * Simple API. Initialize at runtime with any blob of memory and not + * a macro-generated, carefully aligned static array. Allocate and + * free by user pointer and not an opaque block handle. + * + * Good fragmentation resistance. Freed blocks are always immediately + * merged with adjacent free blocks. Allocations are attempted from a + * sample of the smallest bucket that might fit, falling back rapidly + * to the smallest block guaranteed to fit. Split memory remaining in + * the chunk is always returned immediately to the heap for other + * allocation. + * + * Excellent performance with firmly bounded runtime. All operations + * are constant time (though there is a search of the smallest bucket + * that has a compile-time-configurable upper bound, setting this to + * extreme values results in an effectively linear search of the + * list), objectively fast (~hundred instructions) and amenable to + * locked operation. + */ + +/* Note: the init_mem/bytes fields are for the static initializer to + * have somewhere to put the arguments. The actual heap metadata at + * runtime lives in the heap memory itself and this struct simply + * functions as an opaque pointer. Would be good to clean this up and + * put the two values somewhere else, though it would make + * SYS_HEAP_DEFINE a little hairy to write. + */ +struct sys_heap { + struct z_heap *heap; + void *init_mem; + size_t init_bytes; +}; + +struct z_heap_stress_result { + uint32_t total_allocs; + uint32_t successful_allocs; + uint32_t total_frees; + uint64_t accumulated_in_use_bytes; +}; + +/** + * @defgroup low_level_heap_allocator Low Level Heap Allocator + * @ingroup heaps + * @{ + */ + +/** + * @brief Get the runtime statistics of a sys_heap + * + * @param heap Pointer to specified sys_heap + * @param stats Pointer to struct to copy statistics into + * @return -EINVAL if null pointers, otherwise 0 + */ +int sys_heap_runtime_stats_get(struct sys_heap *heap, + struct sys_memory_stats *stats); + +/** + * @brief Reset the maximum heap usage. + * + * Set the statistic measuring the maximum number of allocated bytes to the + * current number of allocated bytes. + * + * @param heap Pointer to sys_heap + * @return -EINVAL if null pointer was passed, otherwise 0 + */ +int sys_heap_runtime_stats_reset_max(struct sys_heap *heap); + +/** @brief Initialize sys_heap + * + * Initializes a sys_heap struct to manage the specified memory. + * + * @param heap Heap to initialize + * @param mem Untyped pointer to unused memory + * @param bytes Size of region pointed to by @a mem + */ +void sys_heap_init(struct sys_heap *heap, void *mem, size_t bytes); + +/** @brief Allocate memory from a sys_heap + * + * Returns a pointer to a block of unused memory in the heap. This + * memory will not otherwise be used until it is freed with + * sys_heap_free(). If no memory can be allocated, NULL will be + * returned. The allocated memory is guaranteed to have a starting + * address which is a multiple of sizeof(void *). If a bigger alignment + * is necessary then sys_heap_aligned_alloc() should be used instead. + * + * @note The sys_heap implementation is not internally synchronized. + * No two sys_heap functions should operate on the same heap at the + * same time. All locking must be provided by the user. + * + * @param heap Heap from which to allocate + * @param bytes Number of bytes requested + * @return Pointer to memory the caller can now use + */ +void *sys_heap_alloc(struct sys_heap *heap, size_t bytes); + +/** @brief Allocate aligned memory from a sys_heap + * + * Behaves in all ways like sys_heap_alloc(), except that the returned + * memory (if available) will have a starting address in memory which + * is a multiple of the specified power-of-two alignment value in + * bytes. With align=0 this behaves exactly like sys_heap_alloc(). + * The resulting memory can be returned to the heap using sys_heap_free(). + * + * @param heap Heap from which to allocate + * @param align Alignment in bytes, must be a power of two + * @param bytes Number of bytes requested + * @return Pointer to memory the caller can now use + */ +void *sys_heap_aligned_alloc(struct sys_heap *heap, size_t align, size_t bytes); + +/** @brief Free memory into a sys_heap + * + * De-allocates a pointer to memory previously returned from + * sys_heap_alloc such that it can be used for other purposes. The + * caller must not use the memory region after entry to this function. + * + * @note The sys_heap implementation is not internally synchronized. + * No two sys_heap functions should operate on the same heap at the + * same time. All locking must be provided by the user. + * + * @param heap Heap to which to return the memory + * @param mem A pointer previously returned from sys_heap_alloc() + */ +void sys_heap_free(struct sys_heap *heap, void *mem); + +/** @brief Expand the size of an existing allocation + * + * Returns a pointer to a new memory region with the same contents, + * but a different allocated size. If the new allocation can be + * expanded in place, the pointer returned will be identical. + * Otherwise the data will be copies to a new block and the old one + * will be freed as per sys_heap_free(). If the specified size is + * smaller than the original, the block will be truncated in place and + * the remaining memory returned to the heap. If the allocation of a + * new block fails, then NULL will be returned and the old block will + * not be freed or modified. + * + * @param heap Heap from which to allocate + * @param ptr Original pointer returned from a previous allocation + * @param align Alignment in bytes, must be a power of two + * @param bytes Number of bytes requested for the new block + * @return Pointer to memory the caller can now use, or NULL + */ +void *sys_heap_aligned_realloc(struct sys_heap *heap, void *ptr, + size_t align, size_t bytes); + + + + +/** @brief Return allocated memory size + * + * Returns the size, in bytes, of a block returned from a successful + * sys_heap_alloc() or sys_heap_alloc_aligned() call. The value + * returned is the size of the heap-managed memory, which may be + * larger than the number of bytes requested due to allocation + * granularity. The heap code is guaranteed to make no access to this + * region of memory until a subsequent sys_heap_free() on the same + * pointer. + * + * @param heap Heap containing the block + * @param mem Pointer to memory allocated from this heap + * @return Size in bytes of the memory region + */ +size_t sys_heap_usable_size(struct sys_heap *heap, void *mem); + +/** @brief Validate heap integrity + * + * Validates the internal integrity of a sys_heap. Intended for unit + * test and validation code, though potentially useful as a user API + * for applications with complicated runtime reliability requirements. + * Note: this cannot catch every possible error, but if it returns + * true then the heap is in a consistent state and can correctly + * handle any sys_heap_alloc() request and free any live pointer + * returned from a previous allocation. + * + * @param heap Heap to validate + * @return true, if the heap is valid, otherwise false + */ + + + +static inline bool sys_heap_validate(struct sys_heap *heap) +{ + (void)(heap); + return true; +} + + +/** @brief sys_heap stress test rig + * + * Test rig for heap allocation validation. This will loop for @a + * op_count cycles, in each iteration making a random choice to + * allocate or free a pointer of randomized (power law) size based on + * heuristics designed to keep the heap in a state where it is near @a + * target_percent full. Allocation and free operations are provided + * by the caller as callbacks (i.e. this can in theory test any heap). + * Results, including counts of frees and successful/unsuccessful + * allocations, are returned via the @a result struct. + * + * @param alloc_fn Callback to perform an allocation. Passes back the @a + * arg parameter as a context handle. + * @param free_fn Callback to perform a free of a pointer returned from + * @a alloc. Passes back the @a arg parameter as a + * context handle. + * @param arg Context handle to pass back to the callbacks + * @param total_bytes Size of the byte array the heap was initialized in + * @param op_count How many iterations to test + * @param scratch_mem A pointer to scratch memory to be used by the + * test. Should be about 1/2 the size of the heap + * for tests that need to stress fragmentation. + * @param scratch_bytes Size of the memory pointed to by @a scratch_mem + * @param target_percent Percentage fill value (1-100) to which the + * random allocation choices will seek. High + * values will result in significant allocation + * failures and a very fragmented heap. + * @param result Struct into which to store test results. + */ +void sys_heap_stress(void *(*alloc_fn)(void *arg, size_t bytes), + void (*free_fn)(void *arg, void *p), + void *arg, size_t total_bytes, + uint32_t op_count, + void *scratch_mem, size_t scratch_bytes, + int target_percent, + struct z_heap_stress_result *result); + +/** @brief Print heap internal structure information to the console + * + * Print information on the heap structure such as its size, chunk buckets, + * chunk list and some statistics for debugging purpose. + * + * @param heap Heap to print information about + * @param dump_chunks True to print the entire heap chunk list + */ +void sys_heap_print_info(struct sys_heap *heap, bool dump_chunks); + +/** @brief Save the heap pointer + * + * The heap pointer is saved into an internal array, if there is space. + * + * @param heap Heap to save + * @return -EINVAL if null pointer or array is full, otherwise 0 + */ +int sys_heap_array_save(struct sys_heap *heap); + +/** @brief Get the array of saved heap pointers + * + * Returns the pointer to the array of heap pointers. + * + * @param heap Heap array + * @return -EINVAL if null pointer, otherwise number of saved pointers + */ +int sys_heap_array_get(struct sys_heap ***heap); + +/** + * @} + */ + + +} +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_structs.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/structs.h" 1 +/* + * Copyright (c) BayLibre SAS + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/* + * The purpose of this file is to provide essential/minimal architecture- + * specific structure definitions to be included in generic kernel + * structures. + * + * The following rules must be observed: + * 1. arch/structs.h shall not depend on kernel.h both directly and + * indirectly (i.e. it shall not include any header files that include + * kernel.h in their dependency chain). + * 2. kernel.h shall imply arch/structs.h via kernel_structs.h , such that + * it shall not be necessary to include arch/structs.h explicitly when + * kernel.h is included. + */ +# 31 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/structs.h" +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/structs.h" 1 +/* + * Copyright (c) 2023 Arm Limited (or its affiliates). All rights reserved. + * SPDX-License-Identifier: Apache-2.0 + */ + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/types.h" 1 +/* + * Copyright (c) 2017 Linaro Limited + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 10 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/structs.h" 2 +# 19 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/structs.h" +/* Default definitions when no architecture specific definitions exist. */ + +/* Per CPU architecture specifics (empty) */ +struct _cpu_arch { + + /* This struct will have a size 0 in C which is not allowed in C++ (it'll have a size 1). To + * prevent this, we add a 1 byte dummy variable. + */ + uint8_t dummy; + +}; +# 32 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/structs.h" 2 +# 50 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/structs.h" +/* typedefs to be used with GEN_OFFSET_SYM(), etc. */ +typedef struct _cpu_arch _cpu_arch_t; +# 30 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_structs.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/stats.h" 1 +/* + * Copyright (c) 2021,2023, Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ +# 11 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/stats.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdbool.h" 1 3 4 +/* Copyright (C) 1998-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.16 Boolean type and values + */ +# 12 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/stats.h" 2 + + +# 13 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/stats.h" +/** + * Structure used to track internal statistics about both thread + * and CPU usage. + */ + +struct k_cycle_stats { + uint64_t total; +# 30 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/stats.h" + bool track_usage; +}; +# 31 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_structs.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/obj_core.h" 1 +/* + * Copyright (c) 2023, Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 32 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_structs.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/rb.h" 1 +/* + * Copyright (c) 2018 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @defgroup rbtree_apis Balanced Red/Black Tree + * @ingroup datastructure_apis + * + * @brief Balanced Red/Black Tree implementation + * + * This implements an intrusive balanced tree that guarantees + * O(log2(N)) runtime for all operations and amortized O(1) behavior + * for creation and destruction of whole trees. The algorithms and + * naming are conventional per existing academic and didactic + * implementations, c.f.: + * + * https://en.wikipedia.org/wiki/Red%E2%80%93black_tree + * + * The implementation is size-optimized to prioritize runtime memory + * usage. The data structure is intrusive, which is to say the @ref + * rbnode handle is intended to be placed in a separate struct, in the + * same way as with other such structures (e.g. Zephyr's @ref + * doubly-linked-list_apis), and requires no data pointer to be stored + * in the node. The color bit is unioned with a pointer (fairly common + * for such libraries). Most notably, there is no "parent" pointer + * stored in the node, the upper structure of the tree being generated + * dynamically via a stack as the tree is recursed. So the overall + * memory overhead of a node is just two pointers, identical with a + * doubly-linked list. + * + * @{ + */ + + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdbool.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdbool.h" 3 4 +/* Copyright (C) 1998-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.16 Boolean type and values + */ +# 41 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/rb.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 1 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ +# 42 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/rb.h" 2 + + +# 43 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/rb.h" +/* Our SDK/toolchains integration seems to be inconsistent about + * whether they expose alloca.h or not. On gcc it's a moot point as + * it's always builtin. + */ +# 55 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/rb.h" +/** + * @brief Balanced red/black tree node structure + */ +struct rbnode { + /** @cond INTERNAL_HIDDEN */ + struct rbnode *children[2]; + /** @endcond */ +}; + +/* Theoretical maximum depth of tree based on pointer size. If memory + * is filled with 2-pointer nodes, and the tree can be twice as a + * packed binary tree, plus root... Works out to 59 entries for 32 + * bit pointers and 121 at 64 bits. + */ + + + + +/** + * @typedef rb_lessthan_t + * @brief Red/black tree comparison predicate + * + * Compares the two nodes and returns true if node A is strictly less + * than B according to the tree's sorting criteria, false otherwise. + * + * Note that during insert, the new node being inserted will always be + * "A", where "B" is the existing node within the tree against which + * it is being compared. This trait can be used (with care!) to + * implement "most/least recently added" semantics between nodes which + * would otherwise compare as equal. + */ +typedef bool (*rb_lessthan_t)(struct rbnode *a, struct rbnode *b); + +/** + * @brief Balanced red/black tree structure + */ +struct rbtree { + /** Root node of the tree */ + struct rbnode *root; + /** Comparison function for nodes in the tree */ + rb_lessthan_t lessthan_fn; + /** @cond INTERNAL_HIDDEN */ + int max_depth; + + + + + /** @endcond */ +}; + +/** + * @brief Prototype for node visitor callback. + * @param node Node being visited + * @param cookie User-specified data + */ +typedef void (*rb_visit_t)(struct rbnode *node, void *cookie); + +struct rbnode *z_rb_child(struct rbnode *node, uint8_t side); +int z_rb_is_black(struct rbnode *node); + +void z_rb_walk(struct rbnode *node, rb_visit_t visit_fn, void *cookie); + +struct rbnode *z_rb_get_minmax(struct rbtree *tree, uint8_t side); + +/** + * @brief Insert node into tree + */ +void rb_insert(struct rbtree *tree, struct rbnode *node); + +/** + * @brief Remove node from tree + */ +void rb_remove(struct rbtree *tree, struct rbnode *node); + +/** + * @brief Returns the lowest-sorted member of the tree + */ +static inline struct rbnode *rb_get_min(struct rbtree *tree) +{ + return z_rb_get_minmax(tree, 0U); +} + +/** + * @brief Returns the highest-sorted member of the tree + */ +static inline struct rbnode *rb_get_max(struct rbtree *tree) +{ + return z_rb_get_minmax(tree, 1U); +} + +/** + * @brief Returns true if the given node is part of the tree + * + * Note that this does not internally dereference the node pointer + * (though the tree's lessthan callback might!), it just tests it for + * equality with items in the tree. So it's feasible to use this to + * implement a "set" construct by simply testing the pointer value + * itself. + */ +bool rb_contains(struct rbtree *tree, struct rbnode *node); + + +/** + * @brief Walk/enumerate a rbtree + * + * Very simple recursive enumeration. Low code size, but requiring a + * separate function can be clumsy for the user and there is no way to + * break out of the loop early. See RB_FOR_EACH for an iterative + * implementation. + */ +static inline void rb_walk(struct rbtree *tree, rb_visit_t visit_fn, + void *cookie) +{ + z_rb_walk(tree->root, visit_fn, cookie); +} + + +struct _rb_foreach { + struct rbnode **stack; + uint8_t *is_left; + int32_t top; +}; +# 193 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/rb.h" +struct rbnode *z_rb_foreach_next(struct rbtree *tree, struct _rb_foreach *f); + +/** + * @brief Walk a tree in-order without recursing + * + * While @ref rb_walk() is very simple, recursing on the C stack can + * be clumsy for some purposes and on some architectures wastes + * significant memory in stack frames. This macro implements a + * non-recursive "foreach" loop that can iterate directly on the tree, + * at a moderate cost in code size. + * + * Note that the resulting loop is not safe against modifications to + * the tree. Changes to the tree structure during the loop will + * produce incorrect results, as nodes may be skipped or duplicated. + * Unlike linked lists, no _SAFE variant exists. + * + * Note also that the macro expands its arguments multiple times, so + * they should not be expressions with side effects. + * + * @param tree A pointer to a struct rbtree to walk + * @param node The symbol name of a local struct rbnode* variable to + * use as the iterator + */ + + + + + +/** + * @brief Loop over rbtree with implicit container field logic + * + * As for RB_FOR_EACH(), but "node" can have an arbitrary type + * containing a struct rbnode. + * + * @param tree A pointer to a struct rbtree to walk + * @param node The symbol name of a local iterator + * @param field The field name of a struct rbnode inside node + */ + + + + + + + +/** @} */ +# 33 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_structs.h" 2 + + + + + + +extern "C" { + + +/* + * Bitmask definitions for the struct k_thread.thread_state field. + * + * Must be before kernel_arch_data.h because it might need them to be already + * defined. + */ + +/* states: common uses low bits, arch-specific use high bits */ + +/* Not a real thread */ + + +/* Thread is waiting on an object */ + + +/* Thread is sleeping */ + + +/* Thread has terminated */ + + +/* Thread is suspended */ + + +/* Thread is in the process of aborting */ + + +/* Thread is in the process of suspending */ + + +/* Thread is present in the ready queue */ + + +/* end - states */ + + + + + + +/* lowest value of _thread_base.preempt at which a thread is non-preemptible */ + + +/* highest value of _thread_base.preempt at which a thread is preemptible */ + + + + +/* Two abstractions are defined here for "thread priority queues". + * + * One is a "dumb" list implementation appropriate for systems with + * small numbers of threads and sensitive to code size. It is stored + * in sorted order, taking an O(N) cost every time a thread is added + * to the list. This corresponds to the way the original _wait_q_t + * abstraction worked and is very fast as long as the number of + * threads is small. + * + * The other is a balanced tree "fast" implementation with rather + * larger code size (due to the data structure itself, the code here + * is just stubs) and higher constant-factor performance overhead, but + * much better O(logN) scaling in the presence of large number of + * threads. + * + * Each can be used for either the wait_q or system ready queue, + * configurable at build time. + */ + +struct _priq_rb { + struct rbtree tree; + int next_order_key; +}; + + +/* Traditional/textbook "multi-queue" structure. Separate lists for a + * small number (max 32 here) of fixed priorities. This corresponds + * to the original Zephyr scheduler. RAM requirements are + * comparatively high, but performance is very fast. Won't work with + * features like deadline scheduling which need large priority spaces + * to represent their requirements. + */ +struct _priq_mq { + sys_dlist_t queues[(15 + 16 + 1)]; + unsigned long bitmask[(((((15 + 16 + 1)) + ((8 * 4)) - 1) / ((8 * 4))))]; + + unsigned int cached_queue_index; + +}; + +struct _ready_q { + + /* always contains next thread to run: cannot be NULL */ + struct k_thread *cache; + + + + sys_dlist_t runq; + + + + + +}; + +typedef struct _ready_q _ready_q_t; + +struct _cpu { + /* nested interrupt count */ + uint32_t nested; + + /* interrupt stack pointer base */ + char *irq_stack; + + /* currently scheduled thread */ + struct k_thread *current; + + /* one assigned idle thread per CPU */ + struct k_thread *idle_thread; +# 170 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_structs.h" + uint8_t id; + + + void *fp_ctx; +# 199 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_structs.h" + /* Per CPU architecture specifics */ + struct _cpu_arch arch; +}; + +typedef struct _cpu _cpu_t; + +struct z_kernel { + struct _cpu cpus[1]; + + + + + + /* + * ready queue: can be big, keep after small fields, since some + * assembly (e.g. ARC) are limited in the encoding of the offset + */ + + struct _ready_q ready_q; + + + + struct k_thread *threads; +# 235 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_structs.h" +}; + +typedef struct z_kernel _kernel_t; + +extern struct z_kernel _kernel; + +extern atomic_t _cpus_active; +# 260 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_structs.h" +/* This is always invoked from a context where preemption is disabled */ +# 271 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_structs.h" +/* kernel wait queue record */ +# 285 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_structs.h" +typedef struct { + sys_dlist_t waitq; +} _wait_q_t; + + + + + +/* kernel timeout record */ +struct _timeout; +typedef void (*_timeout_func_t)(struct _timeout *t); + +struct _timeout { + sys_dnode_t node; + _timeout_func_t fn; + + /* Can't use k_ticks_t for header dependency reasons */ + int64_t dticks; + + + +}; + +typedef void (*k_thread_timeslice_fn_t)(struct k_thread *thread, void *data); + + +} +# 33 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_includes.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_version.h" 1 +/* kernel version support */ + +/* + * Copyright (c) 2015 Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + + +extern "C" { + + +/** + * @defgroup version_apis Version APIs + * @ingroup kernel_apis + * @{ + * + * The kernel version has been converted from a string to a four-byte + * quantity that is divided into two parts. + * + * Part 1: The three most significant bytes represent the kernel's + * numeric version, x.y.z. These fields denote: + * x -- major release + * y -- minor release + * z -- patchlevel release + * Each of these elements must therefore be in the range 0 to 255, inclusive. + * + * Part 2: The least significant byte is reserved for future use. + */ + + + + +/* kernel version routines */ + +/** + * @brief Return the kernel version of the present build + * + * The kernel version is a four-byte value, whose format is described in the + * file "kernel_version.h". + * + * @return kernel version + */ +uint32_t sys_kernel_version_get(void); + +/** + * @} + */ + + +} +# 34 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_includes.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/syscall.h" 1 +/* + * Copyright (c) 2017, Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscall_list.h" 1 +/* auto-generated by gen_syscalls.py, don't edit */ +# 220 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscall_list.h" +/* Following syscalls are not used in image */ +# 586 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscall_list.h" +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdarg.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdarg.h" 3 4 +/* Copyright (C) 1989-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.15 Variable arguments + */ +# 587 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscall_list.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 1 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ +# 588 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscall_list.h" 2 +# 12 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/syscall.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/syscall.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/syscall.h" +/* syscall.h - automatically selects the correct syscall.h file to include */ + +/* + * Copyright (c) 1997-2014 Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 19 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/syscall.h" +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/syscall.h" 1 +/* + * Copyright (c) 2018 Linaro Limited. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief ARM AArch32 specific syscall header + * + * This header contains the ARM AArch32 specific syscall interface. It is + * included by the syscall interface architecture-abstraction header + * (include/arch/syscall.h) + */ +# 20 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/syscall.h" 2 +# 13 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/syscall.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdbool.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdbool.h" 3 4 +/* Copyright (C) 1998-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.16 Boolean type and values + */ +# 14 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/syscall.h" 2 + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/types.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/types.h" +/* + * Copyright (c) 2017 Linaro Limited + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 17 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/syscall.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/linker/sections.h" 1 +/* + * Copyright (c) 2013-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Definitions of various linker Sections. + * + * Linker Section declarations used by linker script, C files and Assembly + * files. + */ +# 18 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/syscall.h" 2 + + +extern "C" { + + +/* + * System Call Declaration macros + * + * These macros are used in public header files to declare system calls. + * They generate inline functions which have different implementations + * depending on the current compilation context: + * + * - Kernel-only code, or CONFIG_USERSPACE disabled, these inlines will + * directly call the implementation + * - User-only code, these inlines will marshal parameters and elevate + * privileges + * - Mixed or indeterminate code, these inlines will do a runtime check + * to determine what course of action is needed. + * + * All system calls require a verifier function and an implementation + * function. These must follow a naming convention. For a system call + * named k_foo(): + * + * - The handler function will be named z_vrfy_k_foo(). Handler + * functions have the same type signature as the wrapped call, + * verify arguments passed up from userspace, and call the + * implementation function. See documentation for that typedef for + * more information. - The implementation function will be named + * z_impl_k_foo(). This is the actual implementation of the system + * call. + */ + +/** + * @typedef _k_syscall_handler_t + * @brief System call handler function type + * + * These are kernel-side skeleton functions for system calls. They are + * necessary to sanitize the arguments passed into the system call: + * + * - Any kernel object or device pointers are validated with _SYSCALL_IS_OBJ() + * - Any memory buffers passed in are checked to ensure that the calling thread + * actually has access to them + * - Many kernel calls do no sanity checking of parameters other than + * assertions. The handler must check all of these conditions using + * _SYSCALL_ASSERT() + * - If the system call has more than 6 arguments, then arg6 will be a pointer + * to some struct containing arguments 6+. The struct itself needs to be + * validated like any other buffer passed in from userspace, and its members + * individually validated (if necessary) and then passed to the real + * implementation like normal arguments + * + * Even if the system call implementation has no return value, these always + * return something, even 0, to prevent register leakage to userspace. + * + * Once everything has been validated, the real implementation will be executed. + * + * @param arg1 system call argument 1 + * @param arg2 system call argument 2 + * @param arg3 system call argument 3 + * @param arg4 system call argument 4 + * @param arg5 system call argument 5 + * @param arg6 system call argument 6 + * @param ssf System call stack frame pointer. Used to generate kernel oops + * via _arch_syscall_oops_at(). Contents are arch-specific. + * @return system call return value, or 0 if the system call implementation + * return void + * + */ +typedef uintptr_t (*_k_syscall_handler_t)(uintptr_t arg1, uintptr_t arg2, + uintptr_t arg3, uintptr_t arg4, + uintptr_t arg5, uintptr_t arg6, + void *ssf); + +/* True if a syscall function must trap to the kernel, usually a + * compile-time decision. + */ +static inline __attribute__((always_inline)) bool z_syscall_trap(void) +{ + bool ret = false; +# 106 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/syscall.h" + return ret; +} + +/** + * Indicate whether the CPU is currently in user mode + * + * @return true if the CPU is currently running with user permissions + */ + +static inline bool k_is_user_context(void) +{ + + + + return false; + +} + + +} +# 35 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_includes.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/printk.h" 1 +/* printk.h - low-level debug output */ + +/* + * Copyright (c) 2010-2012, 2014 Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain.h" 1 +/* + * Copyright (c) 2010-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Macros to abstract toolchain specific capabilities + * + * This file contains various macros to abstract compiler capabilities that + * utilize toolchain specific attributes and/or pragmas. + */ +# 12 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/printk.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* Copyright (C) 1989-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.17 Common definitions + */ +# 13 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/printk.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdarg.h" 1 3 4 +/* Copyright (C) 1989-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.15 Variable arguments + */ +# 14 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/printk.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/inttypes.h" 1 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ + +/** + * @file inttypes.h + */ +# 15 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/printk.h" 2 + + + +# 17 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/printk.h" +extern "C" { + + +/** + * + * @brief Print kernel debugging message. + * + * This routine prints a kernel debugging message to the system console. + * Output is send immediately, without any mutual exclusion or buffering. + * + * A basic set of conversion specifier characters are supported: + * - signed decimal: \%d, \%i + * - unsigned decimal: \%u + * - unsigned hexadecimal: \%x (\%X is treated as \%x) + * - pointer: \%p + * - string: \%s + * - character: \%c + * - percent: \%\% + * + * Field width (with or without leading zeroes) is supported. + * Length attributes h, hh, l, ll and z are supported. However, integral + * values with %lld and %lli are only printed if they fit in a long + * otherwise 'ERR' is printed. Full 64-bit values may be printed with %llx. + * Flags and precision attributes are not supported. + * + * @param fmt Format string. + * @param ... Optional list of format arguments. + */ + + +__attribute__((format (printf, 1, 2))) void printk(const char *fmt, ...); +__attribute__((format (printf, 1, 0))) void vprintk(const char *fmt, va_list ap); +# 65 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/printk.h" +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdio.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdio.h" 3 4 +/* Copyright (c) 2002, 2005, 2007 Joerg Wunsch + All rights reserved. + + Portions of documentation Copyright (c) 1990, 1991, 1993 + The Regents of the University of California. + + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + * Neither the name of the copyright holders nor the names of + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + + $Id: stdio.h 2527 2016-10-27 20:41:22Z joerg_wunsch $ +*/ +# 66 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/printk.h" 2 +# 80 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/printk.h" + +# 80 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/printk.h" +} +# 36 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_includes.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/cpu.h" 1 +/* cpu.h - automatically selects the correct arch.h file to include */ + +/* + * Copyright (c) 1997-2014 Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arch_interface.h" 1 +/* + * Copyright (c) 2019 Intel Corporation. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @defgroup arch-interface Architecture Interface + * @ingroup internal_api + * @brief Internal kernel APIs with public scope + * + * Any public kernel APIs that are implemented as inline functions and need to + * call architecture-specific API so will have the prototypes for the + * architecture-specific APIs here. Architecture APIs that aren't used in this + * way go in kernel/include/kernel_arch_interface.h. + * + * The set of architecture-specific APIs used internally by public macros and + * inline functions in public headers are also specified and documented. + * + * For all macros and inline function prototypes described herein, + * must eventually pull in full definitions for all of them (the actual macro + * defines and inline function bodies) + * + * include/kernel.h and other public headers depend on definitions in this + * header. + */ + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain.h" 1 +/* + * Copyright (c) 2010-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Macros to abstract toolchain specific capabilities + * + * This file contains various macros to abstract compiler capabilities that + * utilize toolchain specific attributes and/or pragmas. + */ +# 32 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arch_interface.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* Copyright (C) 1989-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.17 Common definitions + */ +# 33 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arch_interface.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/types.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/types.h" +/* + * Copyright (c) 2017 Linaro Limited + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 34 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arch_interface.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/cpu.h" 1 +/* cpu.h - automatically selects the correct arch.h file to include */ + +/* + * Copyright (c) 1997-2014 Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 35 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arch_interface.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/irq_offload.h" 1 +/* + * Copyright (c) 2015 Intel corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief IRQ Offload interface + */ + + + + +extern "C" { + + +typedef void (*irq_offload_routine_t)(const void *parameter); + +/** + * @brief Run a function in interrupt context + * + * This function synchronously runs the provided function in interrupt + * context, passing in the supplied device. Useful for test code + * which needs to show that kernel objects work correctly in interrupt + * context. + * + * Additionally, when CONFIG_IRQ_OFFLOAD_NESTED is set by the + * architecture, this routine works to synchronously invoke a nested + * interrupt when called from an ISR context (i.e. when k_is_in_isr() + * is true). Note that not all platforms will have hardware support + * for this capability, and even on those some interrupts may be + * running at unpreemptible priorities. + * + * @param routine The function to run + * @param parameter Argument to pass to the function when it is run as an + * interrupt + */ +void irq_offload(irq_offload_routine_t routine, const void *parameter); + + +} +# 36 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arch_interface.h" 2 + + +extern "C" { + + +/* NOTE: We cannot pull in kernel.h here, need some forward declarations */ +struct arch_esf; +struct k_thread; +struct k_mem_domain; + +typedef struct z_thread_stack_element k_thread_stack_t; + +typedef void (*k_thread_entry_t)(void *p1, void *p2, void *p3); + +/** + * @defgroup arch-timing Architecture timing APIs + * @ingroup arch-interface + * @{ + */ + +/** + * Obtain the current cycle count, in units specified by + * CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC. While this is historically + * specified as part of the architecture API, in practice virtually + * all platforms forward it to the sys_clock_cycle_get_32() API + * provided by the timer driver. + * + * @see k_cycle_get_32() + * + * @return The current cycle time. This should count up monotonically + * through the full 32 bit space, wrapping at 0xffffffff. Hardware + * with fewer bits of precision in the timer is expected to synthesize + * a 32 bit count. + */ +static inline uint32_t arch_k_cycle_get_32(void); + +/** + * As for arch_k_cycle_get_32(), but with a 64 bit return value. Not + * all timer hardware has a 64 bit timer, this needs to be implemented + * only if CONFIG_TIMER_HAS_64BIT_CYCLE_COUNTER is set. + * + * @see arch_k_cycle_get_32() + * + * @return The current cycle time. This should count up monotonically + * through the full 64 bit space, wrapping at 2^64-1. Hardware with + * fewer bits of precision in the timer is generally not expected to + * implement this API. + */ +static inline uint64_t arch_k_cycle_get_64(void); + +/** @} */ + + +/** + * @addtogroup arch-threads + * @{ + */ + +/** + * @def ARCH_THREAD_STACK_RESERVED + * + * @see K_THREAD_STACK_RESERVED + */ + +/** + * @def ARCH_STACK_PTR_ALIGN + * + * Required alignment of the CPU's stack pointer register value, dictated by + * hardware constraints and the ABI calling convention. + * + * @see Z_STACK_PTR_ALIGN + */ + +/** + * @def ARCH_THREAD_STACK_OBJ_ALIGN(size) + * + * Required alignment of the lowest address of a stack object. + * + * Optional definition. + * + * @see Z_THREAD_STACK_OBJ_ALIGN + */ + +/** + * @def ARCH_THREAD_STACK_SIZE_ADJUST(size) + * @brief Round up a stack buffer size to alignment constraints + * + * Adjust a requested stack buffer size to the true size of its underlying + * buffer, defined as the area usable for thread stack context and thread- + * local storage. + * + * The size value passed here does not include storage reserved for platform + * data. + * + * The returned value is either the same size provided (if already properly + * aligned), or rounded up to satisfy alignment constraints. Calculations + * performed here *must* be idempotent. + * + * Optional definition. If undefined, stack buffer sizes are either: + * - Rounded up to the next power of two if user mode is enabled on an arch + * with an MPU that requires such alignment + * - Rounded up to ARCH_STACK_PTR_ALIGN + * + * @see Z_THREAD_STACK_SIZE_ADJUST + */ + +/** + * @def ARCH_KERNEL_STACK_RESERVED + * @brief MPU guard size for kernel-only stacks + * + * If MPU stack guards are used to catch stack overflows, specify the + * amount of space reserved in kernel stack objects. If guard sizes are + * context dependent, this should be in the minimum guard size, with + * remaining space carved out if needed. + * + * Optional definition, defaults to 0. + * + * @see K_KERNEL_STACK_RESERVED + */ + +/** + * @def ARCH_KERNEL_STACK_OBJ_ALIGN + * @brief Required alignment of the lowest address of a kernel-only stack. + */ + +/** @} */ + +/** + * @addtogroup arch-pm + * @{ + */ + +/** + * @brief Power save idle routine + * + * This function will be called by the kernel idle loop or possibly within + * an implementation of z_pm_save_idle in the kernel when the + * '_pm_save_flag' variable is non-zero. + * + * Architectures that do not implement power management instructions may + * immediately return, otherwise a power-saving instruction should be + * issued to wait for an interrupt. + * + * @note The function is expected to return after the interrupt that has + * caused the CPU to exit power-saving mode has been serviced, although + * this is not a firm requirement. + * + * @see k_cpu_idle() + */ +void arch_cpu_idle(void); + +/** + * @brief Atomically re-enable interrupts and enter low power mode + * + * The requirements for arch_cpu_atomic_idle() are as follows: + * + * -# Enabling interrupts and entering a low-power mode needs to be + * atomic, i.e. there should be no period of time where interrupts are + * enabled before the processor enters a low-power mode. See the comments + * in k_lifo_get(), for example, of the race condition that + * occurs if this requirement is not met. + * + * -# After waking up from the low-power mode, the interrupt lockout state + * must be restored as indicated in the 'key' input parameter. + * + * @see k_cpu_atomic_idle() + * + * @param key Lockout key returned by previous invocation of arch_irq_lock() + */ +void arch_cpu_atomic_idle(unsigned int key); + +/** @} */ + + +/** + * @addtogroup arch-smp + * @{ + */ + +/** + * Per-cpu entry function + * + * @param data context parameter, implementation specific + */ +typedef void (*arch_cpustart_t)(void *data); + +/** + * @brief Start a numbered CPU on a MP-capable system + * + * This starts and initializes a specific CPU. The main thread on startup is + * running on CPU zero, other processors are numbered sequentially. On return + * from this function, the CPU is known to have begun operating and will enter + * the provided function. Its interrupts will be initialized but disabled such + * that irq_unlock() with the provided key will work to enable them. + * + * Normally, in SMP mode this function will be called by the kernel + * initialization and should not be used as a user API. But it is defined here + * for special-purpose apps which want Zephyr running on one core and to use + * others for design-specific processing. + * + * @param cpu_num Integer number of the CPU + * @param stack Stack memory for the CPU + * @param sz Stack buffer size, in bytes + * @param fn Function to begin running on the CPU. + * @param arg Untyped argument to be passed to "fn" + */ +void arch_cpu_start(int cpu_num, k_thread_stack_t *stack, int sz, + arch_cpustart_t fn, void *arg); + +/** + * @brief Return CPU power status + * + * @param cpu_num Integer number of the CPU + */ +bool arch_cpu_active(int cpu_num); + +/** @} */ + + +/** + * @addtogroup arch-irq + * @{ + */ + +/** + * Lock interrupts on the current CPU + * + * @see irq_lock() + */ +static inline unsigned int arch_irq_lock(void); + +/** + * Unlock interrupts on the current CPU + * + * @see irq_unlock() + */ +static inline void arch_irq_unlock(unsigned int key); + +/** + * Test if calling arch_irq_unlock() with this key would unlock irqs + * + * @param key value returned by arch_irq_lock() + * @return true if interrupts were unlocked prior to the arch_irq_lock() + * call that produced the key argument. + */ +static inline bool arch_irq_unlocked(unsigned int key); + +/** + * Disable the specified interrupt line + * + * @note: The behavior of interrupts that arrive after this call + * returns and before the corresponding call to arch_irq_enable() is + * undefined. The hardware is not required to latch and deliver such + * an interrupt, though on some architectures that may work. Other + * architectures will simply lose such an interrupt and never deliver + * it. Many drivers and subsystems are not tolerant of such dropped + * interrupts and it is the job of the application layer to ensure + * that behavior remains correct. + * + * @see irq_disable() + */ +void arch_irq_disable(unsigned int irq); + +/** + * Enable the specified interrupt line + * + * @see irq_enable() + */ +void arch_irq_enable(unsigned int irq); + +/** + * Test if an interrupt line is enabled + * + * @see irq_is_enabled() + */ +int arch_irq_is_enabled(unsigned int irq); + +/** + * Arch-specific hook to install a dynamic interrupt. + * + * @param irq IRQ line number + * @param priority Interrupt priority + * @param routine Interrupt service routine + * @param parameter ISR parameter + * @param flags Arch-specific IRQ configuration flag + * + * @return The vector assigned to this interrupt + */ +int arch_irq_connect_dynamic(unsigned int irq, unsigned int priority, + void (*routine)(const void *parameter), + const void *parameter, uint32_t flags); + +/** + * Arch-specific hook to dynamically uninstall a shared interrupt. + * If the interrupt is not being shared, then the associated + * _sw_isr_table entry will be replaced by (NULL, z_irq_spurious) + * (default entry). + * + * @param irq IRQ line number + * @param priority Interrupt priority + * @param routine Interrupt service routine + * @param parameter ISR parameter + * @param flags Arch-specific IRQ configuration flag + * + * @return 0 in case of success, negative value otherwise + */ +int arch_irq_disconnect_dynamic(unsigned int irq, unsigned int priority, + void (*routine)(const void *parameter), + const void *parameter, uint32_t flags); + +/** + * @def ARCH_IRQ_CONNECT(irq, pri, isr, arg, flags) + * + * @see IRQ_CONNECT() + */ +# 360 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arch_interface.h" +/** + * @def ARCH_IRQ_DIRECT_CONNECT(irq_p, priority_p, isr_p, flags_p) + * + * @see IRQ_DIRECT_CONNECT() + */ + +/** + * @def ARCH_ISR_DIRECT_PM() + * + * @see ISR_DIRECT_PM() + */ + +/** + * @def ARCH_ISR_DIRECT_HEADER() + * + * @see ISR_DIRECT_HEADER() + */ + +/** + * @def ARCH_ISR_DIRECT_FOOTER(swap) + * + * @see ISR_DIRECT_FOOTER() + */ + +/** + * @def ARCH_ISR_DIRECT_DECLARE(name) + * + * @see ISR_DIRECT_DECLARE() + */ + + +/** + * @brief Arch-specific hook for allocating IRQs + * + * Note: disable/enable IRQ relevantly inside the implementation of such + * function to avoid concurrency issues. Also, an allocated IRQ is assumed + * to be used thus a following @see arch_irq_is_used() should return true. + * + * @return The newly allocated IRQ or UINT_MAX on error. + */ +unsigned int arch_irq_allocate(void); + +/** + * @brief Arch-specific hook for declaring an IRQ being used + * + * Note: disable/enable IRQ relevantly inside the implementation of such + * function to avoid concurrency issues. + * + * @param irq the IRQ to declare being used + */ +void arch_irq_set_used(unsigned int irq); + +/** + * @brief Arch-specific hook for checking if an IRQ is being used already + * + * @param irq the IRQ to check + * + * @return true if being, false otherwise + */ +bool arch_irq_is_used(unsigned int irq); + + + +/** + * @def ARCH_EXCEPT(reason_p) + * + * Generate a software induced fatal error. + * + * If the caller is running in user mode, only K_ERR_KERNEL_OOPS or + * K_ERR_STACK_CHK_FAIL may be induced. + * + * This should ideally generate a software trap, with exception context + * indicating state when this was invoked. General purpose register state at + * the time of trap should not be disturbed from the calling context. + * + * @param reason_p K_ERR_ scoped reason code for the fatal error. + */ +# 465 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arch_interface.h" +/** @} */ + + +/** + * @defgroup arch-smp Architecture-specific SMP APIs + * @ingroup arch-interface + * @{ + */ +# 519 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arch_interface.h" +/** + * @brief Returns the number of CPUs + * + * For most systems this will be the same as CONFIG_MP_MAX_NUM_CPUS, + * however some systems may determine this at runtime instead. + * + * @return the number of CPUs + */ +static inline unsigned int arch_num_cpus(void); + +/** @} */ + + +/** + * @defgroup arch-userspace Architecture-specific userspace APIs + * @ingroup arch-interface + * @{ + */ +# 873 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arch_interface.h" +/** + * @brief Detect memory coherence type + * + * Required when ARCH_HAS_COHERENCE is true. This function returns + * true if the byte pointed to lies within an architecture-defined + * "coherence region" (typically implemented with uncached memory) and + * can safely be used in multiprocessor code without explicit flush or + * invalidate operations. + * + * @note The result is for only the single byte at the specified + * address, this API is not required to check region boundaries or to + * expect aligned pointers. The expectation is that the code above + * will have queried the appropriate address(es). + */ + +static inline bool arch_mem_coherent(void *ptr) +{ + (void)(ptr); + return true; +} + + +/** + * @brief Ensure cache coherence prior to context switch + * + * Required when ARCH_HAS_COHERENCE is true. On cache-incoherent + * multiprocessor architectures, thread stacks are cached by default + * for performance reasons. They must therefore be flushed + * appropriately on context switch. The rules are: + * + * 1. The region containing live data in the old stack (generally the + * bytes between the current stack pointer and the top of the stack + * memory) must be flushed to underlying storage so a new CPU that + * runs the same thread sees the correct data. This must happen + * before the assignment of the switch_handle field in the thread + * struct which signals the completion of context switch. + * + * 2. Any data areas to be read from the new stack (generally the same + * as the live region when it was saved) should be invalidated (and + * NOT flushed!) in the data cache. This is because another CPU + * may have run or re-initialized the thread since this CPU + * suspended it, and any data present in cache will be stale. + * + * @note The kernel will call this function during interrupt exit when + * a new thread has been chosen to run, and also immediately before + * entering arch_switch() to effect a code-driven context switch. In + * the latter case, it is very likely that more data will be written + * to the old_thread stack region after this function returns but + * before the completion of the switch. Simply flushing naively here + * is not sufficient on many architectures and coordination with the + * arch_switch() implementation is likely required. + * + * @param old_thread The old thread to be flushed before being allowed + * to run on other CPUs. + * @param old_switch_handle The switch handle to be stored into + * old_thread (it will not be valid until the + * cache is flushed so is not present yet). + * This will be NULL if inside z_swap() + * (because the arch_switch() has not saved it + * yet). + * @param new_thread The new thread to be invalidated before it runs locally. + */ + +static inline void arch_cohere_stacks(struct k_thread *old_thread, + void *old_switch_handle, + struct k_thread *new_thread) +{ + (void)(old_thread); + (void)(old_switch_handle); + (void)(new_thread); +} + + +/** @} */ + +/** + * @defgroup arch-gdbstub Architecture-specific gdbstub APIs + * @ingroup arch-interface + * @{ + */ +# 1073 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arch_interface.h" +/** @} */ +# 1249 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arch_interface.h" +/** + * @brief Perform architecture specific processing within spin loops + * + * This is invoked from busy loops with IRQs disabled such as the contended + * spinlock loop. The default implementation is a weak function that calls + * arch_nop(). Architectures may implement this function to perform extra + * checks or power management tricks if needed. + */ +void arch_spin_relax(void); + +/** + * @defgroup arch-stackwalk Architecture-specific Stack Walk APIs + * @ingroup arch-interface + * + * To add API support to an architecture, `arch_stack_walk()` should be implemented and a non-user + * configurable Kconfig `ARCH_HAS_STACKWALK` that is default to `y` should be created in the + * architecture's top level Kconfig, with all the relevant dependencies. + * + * @{ + */ + +/** + * stack_trace_callback_fn - Callback for @ref arch_stack_walk + * @param cookie Caller supplied pointer handed back by @ref arch_stack_walk + * @param addr The stack entry address to consume + * + * @return True, if the entry was consumed or skipped. False, if there is no space left to store + */ +typedef bool (*stack_trace_callback_fn)(void *cookie, unsigned long addr); + +/** + * @brief Architecture-specific function to walk the stack + * + * @param callback_fn Callback which is invoked by the architecture code for each entry. + * @param cookie Caller supplied pointer which is handed back to @a callback_fn + * @param thread Pointer to a k_thread struct, can be NULL + * @param esf Pointer to an arch_esf struct, can be NULL + * + * ============ ======= ============================================ + * thread esf + * ============ ======= ============================================ + * thread NULL Stack trace from thread (can be _current) + * thread esf Stack trace starting on esf + * ============ ======= ============================================ + */ +void arch_stack_walk(stack_trace_callback_fn callback_fn, void *cookie, + const struct k_thread *thread, const struct arch_esf *esf); + +/** + * arch-stackwalk + * @} + */ + + +} + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arch_inlines.h" 1 +/* + * arch_inlines.h - automatically selects the correct arch_inlines.h file to + * include based on the selected architecture. + */ + +/* + * Copyright (c) 2019 Stephanos Ioannidis + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/arch_inlines.h" 1 +/* + * Copyright 2022 IoT.bzh + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_structs.h" 1 +/* + * Copyright (c) 2016 Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/* + * The purpose of this file is to provide essential/minimal kernel structure + * definitions, so that they can be used without including kernel.h. + * + * The following rules must be observed: + * 1. kernel_structs.h shall not depend on kernel.h both directly and + * indirectly (i.e. it shall not include any header files that include + * kernel.h in their dependency chain). + * 2. kernel.h shall imply kernel_structs.h, such that it shall not be + * necessary to include kernel_structs.h explicitly when kernel.h is + * included. + */ +# 11 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/arch_inlines.h" 2 +# 22 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/arch_inlines.h" +static inline __attribute__((always_inline)) _cpu_t *arch_curr_cpu(void) +{ + /* Dummy implementation always return the first cpu */ + return &_kernel.cpus[0]; +} + + + +static inline __attribute__((always_inline)) uint32_t arch_proc_id(void) +{ + /* + * Placeholder implementation to be replaced with an architecture + * specific call to get processor ID + */ + return arch_curr_cpu()->id; +} + +static inline __attribute__((always_inline)) unsigned int arch_num_cpus(void) +{ + return 1; +} +# 19 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arch_inlines.h" 2 +# 1307 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arch_interface.h" 2 +# 13 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/cpu.h" 2 + + + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/arch.h" 1 +/* + * Copyright (c) 2013-2014 Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief ARM AArch32 specific kernel interface header + * + * This header contains the ARM AArch32 specific kernel interface. It is + * included by the kernel interface architecture-abstraction header + * (include/arm/cpu.h) + */ + + + + +/* Add include for DTS generated information */ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/devicetree.h" 1 +/* + * SPDX-License-Identifier: Apache-2.0 + * Copyright (c) 2020 Nordic Semiconductor + * Copyright (c) 2020, Linaro Ltd. + * + * Not a generated file. Feel free to modify. + */ + +/** + * @file + * @brief Devicetree main header + * + * API for accessing the current application's devicetree macros. + */ + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" 1 +/* + * Generated by gen_defines.py + * + * DTS input file: + * /home/runner/work/ArduinoCore-zephyr/ArduinoCore-zephyr/build/arduino_giga_r1_stm32h747xx_m7/zephyr/zephyr.dts.pre + * + * Directories with bindings: + * $ZEPHYR_BASE/dts/bindings + * + * Node dependency ordering (ordinal and path): + * 0 / + * 1 /aliases + * 2 /chosen + * 3 /connector + * 4 /soc + * 5 /soc/interrupt-controller@e000e100 + * 6 /clocks + * 7 /clocks/clk-hse + * 8 /clocks/pll@0 + * 9 /soc/rcc@58024400 + * 10 /soc/pin-controller@58020000 + * 11 /soc/pin-controller@58020000/adc3_inp0_pc2_c + * 12 /soc/pin-controller@58020000/adc3_inp1_pc3_c + * 13 /soc/adc@58026000 + * 14 /dietemp + * 15 /soc/pin-controller@58020000/i2c4_scl_pb6 + * 16 /soc/pin-controller@58020000/i2c4_sda_ph12 + * 17 /soc/i2c@58001c00 + * 18 /soc/pin-controller@58020000/gpio@58022000 + * 19 /soc/i2c@58001c00/gt911@5d + * 20 /lvgl_pointer + * 21 /memory@24000000 + * 22 /memory@30000000 + * 23 /memory@30020000 + * 24 /memory@30040000 + * 25 /memory@38000000 + * 26 /memory@90000000 + * 27 /soc/pin-controller@58020000/i2c1_scl_pb8 + * 28 /soc/pin-controller@58020000/i2c1_sda_pb9 + * 29 /soc/i2c@40005400 + * 30 /smbus1 + * 31 /soc/pin-controller@58020000/i2c2_scl_ph4 + * 32 /soc/pin-controller@58020000/i2c2_sda_pb11 + * 33 /soc/i2c@40005800 + * 34 /smbus2 + * 35 /soc/i2c@40005c00 + * 36 /smbus3 + * 37 /smbus4 + * 38 /vbat + * 39 /vref + * 40 /gpio@deadbeef + * 41 /soc/pin-controller@58020000/adc1_inp0_pa0_c + * 42 /soc/pin-controller@58020000/adc1_inp10_pc0 + * 43 /soc/pin-controller@58020000/adc1_inp12_pc2 + * 44 /soc/pin-controller@58020000/adc1_inp13_pc3 + * 45 /soc/pin-controller@58020000/adc1_inp16_pa0 + * 46 /soc/pin-controller@58020000/adc1_inp18_pa4 + * 47 /soc/pin-controller@58020000/adc1_inp19_pa5 + * 48 /soc/pin-controller@58020000/adc1_inp1_pa1_c + * 49 /soc/pin-controller@58020000/adc1_inp4_pc4 + * 50 /soc/pin-controller@58020000/adc1_inp5_pb1 + * 51 /soc/pin-controller@58020000/adc1_inp8_pc5 + * 52 /soc/pin-controller@58020000/adc1_inp9_pb0 + * 53 /soc/adc@40022000 + * 54 /soc/pin-controller@58020000/dac1_out1_pa4 + * 55 /soc/pin-controller@58020000/dac1_out2_pa5 + * 56 /soc/dac@40007400 + * 57 /soc/pin-controller@58020000/usart2_rx_pd6 + * 58 /soc/pin-controller@58020000/usart2_tx_pd5 + * 59 /soc/rcc@58024400/reset-controller + * 60 /soc/serial@40004400 + * 61 /soc/pin-controller@58020000/uart4_rx_pi9 + * 62 /soc/pin-controller@58020000/uart4_tx_ph13 + * 63 /soc/serial@40004c00 + * 64 /soc/pin-controller@58020000/usart1_rx_pb7 + * 65 /soc/pin-controller@58020000/usart1_tx_pa9 + * 66 /soc/serial@40011000 + * 67 /soc/pin-controller@58020000/usart6_rx_pc7 + * 68 /soc/pin-controller@58020000/usart6_tx_pg14 + * 69 /soc/serial@40011400 + * 70 /soc/pin-controller@58020000/spi1_miso_pg9 + * 71 /soc/pin-controller@58020000/spi1_mosi_pd7 + * 72 /soc/pin-controller@58020000/spi1_sck_pb3 + * 73 /soc/spi@40013000 + * 74 /soc/pin-controller@58020000/spi5_miso_pj11 + * 75 /soc/pin-controller@58020000/spi5_mosi_pj10 + * 76 /soc/pin-controller@58020000/spi5_sck_ph6 + * 77 /soc/spi@40015000 + * 78 /soc/pin-controller@58020000/gpio@58020000 + * 79 /soc/pin-controller@58020000/gpio@58020400 + * 80 /soc/pin-controller@58020000/gpio@58020800 + * 81 /soc/pin-controller@58020000/gpio@58020C00 + * 82 /soc/pin-controller@58020000/gpio@58021000 + * 83 /soc/pin-controller@58020000/gpio@58021800 + * 84 /soc/pin-controller@58020000/gpio@58021C00 + * 85 /soc/pin-controller@58020000/gpio@58022400 + * 86 /soc/pin-controller@58020000/gpio@58022800 + * 87 /soc/timers@40000000 + * 88 /soc/pin-controller@58020000/tim2_ch3_pa2 + * 89 /soc/pin-controller@58020000/tim2_ch4_pa3 + * 90 /soc/timers@40000000/pwm + * 91 /soc/timers@40000400 + * 92 /soc/pin-controller@58020000/tim3_ch1_pb4 + * 93 /soc/pin-controller@58020000/tim3_ch2_pa7 + * 94 /soc/timers@40000400/pwm + * 95 /soc/timers@40000800 + * 96 /soc/pin-controller@58020000/tim4_ch2_pd13 + * 97 /soc/pin-controller@58020000/tim4_ch3_pb8 + * 98 /soc/pin-controller@58020000/tim4_ch4_pb9 + * 99 /soc/timers@40000800/pwm + * 100 /soc/timers@40010000 + * 101 /soc/pin-controller@58020000/tim1_ch1_pk1 + * 102 /soc/pin-controller@58020000/tim1_ch3_pj9 + * 103 /soc/timers@40010000/pwm + * 104 /soc/timers@40010400 + * 105 /soc/pin-controller@58020000/tim8_ch1_pj8 + * 106 /soc/timers@40010400/pwm + * 107 /otghs_fs_phy + * 108 /soc/pin-controller@58020000/usb_otg_fs_dm_pa11 + * 109 /soc/pin-controller@58020000/usb_otg_fs_dp_pa12 + * 110 /soc/usb@40080000 + * 111 /soc/usb@40080000/board_cdc_acm_uart + * 112 /zephyr,user + * 113 /clocks/clk-csi + * 114 /clocks/clk-hsi + * 115 /clocks/clk-hsi48 + * 116 /clocks/clk-lse + * 117 /clocks/clk-lsi + * 118 /clocks/perck + * 119 /clocks/pll@1 + * 120 /clocks/pll@2 + * 121 /cpus + * 122 /cpus/cpu@0 + * 123 /cpus/cpu@0/mpu@e000ed90 + * 124 /gpio_keys + * 125 /gpio_keys/button_0 + * 126 /leds + * 127 /leds/led_0 + * 128 /leds/led_1 + * 129 /leds/led_2 + * 130 /mcos + * 131 /mcos/mco1 + * 132 /mcos/mco2 + * 133 /soc/adc@40022100 + * 134 /soc/adc@40022300 + * 135 /soc/bdma@58025400 + * 136 /soc/can@4000a000 + * 137 /soc/pin-controller@58020000/fdcan2_rx_pb5 + * 138 /soc/pin-controller@58020000/fdcan2_tx_pb13 + * 139 /soc/can@4000a400 + * 140 /soc/dma@40020400 + * 141 /soc/dmamux@58025800 + * 142 /soc/dmamux@40020800 + * 143 /soc/i2s@40003800 + * 144 /soc/i2s@40003c00 + * 145 /soc/i2s@40013000 + * 146 /soc/interrupt-controller@58000000 + * 147 /soc/mailbox@58026400 + * 148 /soc/memory@38800000 + * 149 /soc/rng@48021800 + * 150 /soc/sdmmc@48022400 + * 151 /soc/sdmmc@52007000 + * 152 /soc/serial@40004800 + * 153 /soc/serial@40005000 + * 154 /soc/serial@40007c00 + * 155 /soc/serial@58000c00 + * 156 /soc/spi@40003800 + * 157 /soc/spi@40003c00 + * 158 /soc/spi@40013400 + * 159 /soc/spi@58001400 + * 160 /soc/timer@e000e010 + * 161 /soc/timers@40002400 + * 162 /soc/usb@40040000 + * 163 /soc/watchdog@50003000 + * 164 /soc/watchdog@58004800 + * 165 /soc/adc@40022000/channel@0 + * 166 /soc/adc@40022000/channel@1 + * 167 /soc/adc@40022000/channel@4 + * 168 /soc/adc@40022000/channel@5 + * 169 /soc/adc@40022000/channel@8 + * 170 /soc/adc@40022000/channel@9 + * 171 /soc/adc@40022000/channel@a + * 172 /soc/adc@40022000/channel@c + * 173 /soc/adc@40022000/channel@d + * 174 /soc/adc@40022000/channel@10 + * 175 /soc/adc@40022000/channel@12 + * 176 /soc/adc@40022000/channel@13 + * 177 /soc/adc@58026000/channel@0 + * 178 /soc/adc@58026000/channel@1 + * 179 /soc/dma@40020000 + * 180 /soc/i2c@58001c00/gc2145@3c + * 181 /soc/pin-controller@58020000/dcmi_d0_ph9 + * 182 /soc/pin-controller@58020000/dcmi_d1_ph10 + * 183 /soc/pin-controller@58020000/dcmi_d2_ph11 + * 184 /soc/pin-controller@58020000/dcmi_d3_pg11 + * 185 /soc/pin-controller@58020000/dcmi_d4_ph14 + * 186 /soc/pin-controller@58020000/dcmi_d5_pi4 + * 187 /soc/pin-controller@58020000/dcmi_d6_pi6 + * 188 /soc/pin-controller@58020000/dcmi_d7_pi7 + * 189 /soc/pin-controller@58020000/dcmi_hsync_ph8 + * 190 /soc/pin-controller@58020000/dcmi_pixclk_pa6 + * 191 /soc/pin-controller@58020000/dcmi_vsync_pi5 + * 192 /soc/dcmi@48020000 + * 193 /soc/dcmi@48020000/port + * 194 /soc/dcmi@48020000/port/endpoint + * 195 /sdram@c0000000 + * 196 /soc/display-controller@50001000 + * 197 /soc/display-controller@50001000/display-timings + * 198 /soc/dsihost@50000000 + * 199 /soc/dsihost@50000000/st7701@0 + * 200 /soc/dsihost@50000000/st7701@0/display-timings + * 201 /soc/ethernet@40028000 + * 202 /soc/ethernet@40028000/mdio + * 203 /soc/flash-controller@52002000 + * 204 /soc/flash-controller@52002000/flash@8000000 + * 205 /soc/flash-controller@52002000/flash@8000000/partitions + * 206 /soc/flash-controller@52002000/flash@8000000/partitions/partition@0 + * 207 /soc/flash-controller@52002000/flash@8000000/partitions/partition@40000 + * 208 /soc/flash-controller@52002000/flash@8000000/partitions/partition@e0000 + * 209 /soc/i2c@58001c00/gc2145@3c/port + * 210 /soc/i2c@58001c00/gc2145@3c/port/endpoint + * 211 /soc/pin-controller@58020000/fmc_a0_pf0 + * 212 /soc/pin-controller@58020000/fmc_a10_pg0 + * 213 /soc/pin-controller@58020000/fmc_a11_pg1 + * 214 /soc/pin-controller@58020000/fmc_a12_pg2 + * 215 /soc/pin-controller@58020000/fmc_a14_pg4 + * 216 /soc/pin-controller@58020000/fmc_a15_pg5 + * 217 /soc/pin-controller@58020000/fmc_a1_pf1 + * 218 /soc/pin-controller@58020000/fmc_a2_pf2 + * 219 /soc/pin-controller@58020000/fmc_a3_pf3 + * 220 /soc/pin-controller@58020000/fmc_a4_pf4 + * 221 /soc/pin-controller@58020000/fmc_a5_pf5 + * 222 /soc/pin-controller@58020000/fmc_a6_pf12 + * 223 /soc/pin-controller@58020000/fmc_a7_pf13 + * 224 /soc/pin-controller@58020000/fmc_a8_pf14 + * 225 /soc/pin-controller@58020000/fmc_a9_pf15 + * 226 /soc/pin-controller@58020000/fmc_d0_pd14 + * 227 /soc/pin-controller@58020000/fmc_d10_pe13 + * 228 /soc/pin-controller@58020000/fmc_d11_pe14 + * 229 /soc/pin-controller@58020000/fmc_d12_pe15 + * 230 /soc/pin-controller@58020000/fmc_d13_pd8 + * 231 /soc/pin-controller@58020000/fmc_d14_pd9 + * 232 /soc/pin-controller@58020000/fmc_d15_pd10 + * 233 /soc/pin-controller@58020000/fmc_d1_pd15 + * 234 /soc/pin-controller@58020000/fmc_d2_pd0 + * 235 /soc/pin-controller@58020000/fmc_d3_pd1 + * 236 /soc/pin-controller@58020000/fmc_d4_pe7 + * 237 /soc/pin-controller@58020000/fmc_d5_pe8 + * 238 /soc/pin-controller@58020000/fmc_d6_pe9 + * 239 /soc/pin-controller@58020000/fmc_d7_pe10 + * 240 /soc/pin-controller@58020000/fmc_d8_pe11 + * 241 /soc/pin-controller@58020000/fmc_d9_pe12 + * 242 /soc/pin-controller@58020000/fmc_nbl0_pe0 + * 243 /soc/pin-controller@58020000/fmc_nbl1_pe1 + * 244 /soc/pin-controller@58020000/fmc_sdcke0_ph2 + * 245 /soc/pin-controller@58020000/fmc_sdclk_pg8 + * 246 /soc/pin-controller@58020000/fmc_sdncas_pg15 + * 247 /soc/pin-controller@58020000/fmc_sdne0_ph3 + * 248 /soc/pin-controller@58020000/fmc_sdnras_pf11 + * 249 /soc/pin-controller@58020000/fmc_sdnwe_ph5 + * 250 /soc/memory-controller@52004000 + * 251 /soc/memory-controller@52004000/sdram + * 252 /soc/memory-controller@52004000/sdram/bank@0 + * 253 /soc/pin-controller@58020000/gpio@58021400 + * 254 /soc/rtc@58004000 + * 255 /soc/rtc@58004000/backup_regs + * 256 /soc/pin-controller@58020000/uart7_cts_pf9 + * 257 /soc/pin-controller@58020000/uart7_rts_pf8 + * 258 /soc/pin-controller@58020000/uart7_rx_pa8 + * 259 /soc/pin-controller@58020000/uart7_tx_pf7 + * 260 /soc/serial@40007800 + * 261 /soc/serial@40007800/bt_hci_uart + * 262 /soc/serial@40007800/bt_hci_uart/murata-1dx + * 263 /soc/pin-controller@58020000/quadspi_bk1_io0_pd11 + * 264 /soc/pin-controller@58020000/quadspi_bk1_io1_pd12 + * 265 /soc/pin-controller@58020000/quadspi_bk1_io2_pe2 + * 266 /soc/pin-controller@58020000/quadspi_bk1_io3_pf6 + * 267 /soc/pin-controller@58020000/quadspi_bk1_ncs_pg6 + * 268 /soc/pin-controller@58020000/quadspi_clk_pf10 + * 269 /soc/spi@52005000 + * 270 /soc/spi@52005000/qspi-nor-flash@90000000 + * 271 /soc/spi@52005000/qspi-nor-flash@90000000/partitions + * 272 /soc/spi@52005000/qspi-nor-flash@90000000/partitions/partition@0 + * 273 /soc/spi@52005000/qspi-nor-flash@90000000/partitions/partition@100000 + * 274 /soc/timers@40000000/counter + * 275 /soc/timers@40000400/counter + * 276 /soc/timers@40000800/counter + * 277 /soc/timers@40000c00 + * 278 /soc/timers@40000c00/counter + * 279 /soc/timers@40000c00/pwm + * 280 /soc/timers@40001000 + * 281 /soc/timers@40001000/counter + * 282 /soc/timers@40001400 + * 283 /soc/timers@40001400/counter + * 284 /soc/timers@40001800 + * 285 /soc/timers@40001800/counter + * 286 /soc/timers@40001800/pwm + * 287 /soc/timers@40001c00 + * 288 /soc/timers@40001c00/counter + * 289 /soc/timers@40001c00/pwm + * 290 /soc/timers@40002000 + * 291 /soc/timers@40002000/counter + * 292 /soc/timers@40002000/pwm + * 293 /soc/timers@40010000/pwm/pwmclock + * 294 /soc/timers@40014000 + * 295 /soc/timers@40014000/counter + * 296 /soc/timers@40014000/pwm + * 297 /soc/timers@40014400 + * 298 /soc/timers@40014400/counter + * 299 /soc/timers@40014400/pwm + * 300 /soc/timers@40014800 + * 301 /soc/timers@40014800/counter + * 302 /soc/timers@40014800/pwm + * + * Definitions derived from these nodes in dependency order are next, + * followed by /chosen nodes. + */ + +/* Used to remove brackets from around a single argument */ + + +/* + * Devicetree node: / + * + * Node identifier: DT_N + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 355 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + +/* Ordinals for what depends directly on this node: */ +# 395 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ +# 412 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 429 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /aliases + * + * Node identifier: DT_N_S_aliases + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 468 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* (No generic property macros) */ + +/* + * Devicetree node: /chosen + * + * Node identifier: DT_N_S_chosen + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 537 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* (No generic property macros) */ + +/* + * Devicetree node: /connector + * + * Node identifier: DT_N_S_connector + * + * Binding (compatible = arduino-header-r3): + * $ZEPHYR_BASE/dts/bindings/gpio/arduino-header-r3.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 612 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 640 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 663 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc + * + * Node identifier: DT_N_S_soc + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 702 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ +# 787 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Existence and alternate IDs: */ + + + + + +/* Macros for properties that are special in the specification: */ +# 812 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 848 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/interrupt-controller@e000e100 + * + * Node identifier: DT_N_S_soc_S_interrupt_controller_e000e100 + * + * Binding (compatible = arm,v7m-nvic): + * $ZEPHYR_BASE/dts/bindings/interrupt-controller/arm,v7m-nvic.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 893 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ +# 969 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 990 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 1023 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /clocks + * + * Node identifier: DT_N_S_clocks + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 1062 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ +# 1086 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Existence and alternate IDs: */ + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* (No generic property macros) */ + +/* + * Devicetree node: /clocks/clk-hse + * + * Node identifier: DT_N_S_clocks_S_clk_hse + * + * Binding (compatible = st,stm32-hse-clock): + * $ZEPHYR_BASE/dts/bindings/clock/st,stm32-hse-clock.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/clocks) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 1147 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 1181 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 1224 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /clocks/pll@0 + * + * Node identifier: DT_N_S_clocks_S_pll_0 + * + * Binding (compatible = st,stm32h7-pll-clock): + * $ZEPHYR_BASE/dts/bindings/clock/st,stm32h7-pll-clock.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/clocks) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 1269 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 1305 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 1364 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/rcc@58024400 + * + * Node identifier: DT_N_S_soc_S_rcc_58024400 + * + * Binding (compatible = st,stm32h7-rcc): + * $ZEPHYR_BASE/dts/bindings/clock/st,stm32h7-rcc.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 1409 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + +/* Ordinals for what depends directly on this node: */ +# 1501 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 1522 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 1591 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000 + * + * Binding (compatible = st,stm32-pinctrl): + * $ZEPHYR_BASE/dts/bindings/pinctrl/st,stm32-pinctrl.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 1636 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ +# 1771 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 1792 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 1827 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/adc3_inp0_pc2_c + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_adc3_inp0_pc2_c + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 1869 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 1931 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/adc3_inp1_pc3_c + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_adc3_inp1_pc3_c + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 1973 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 2035 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/adc@58026000 + * + * Node identifier: DT_N_S_soc_S_adc_58026000 + * + * Binding (compatible = st,stm32-adc): + * $ZEPHYR_BASE/dts/bindings/adc/st,stm32-adc.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 2080 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + + + +/* Ordinals for what depends directly on this node: */ +# 2104 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 2132 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ +# 2142 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Generic property macros: */ +# 2361 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /dietemp + * + * Node identifier: DT_N_S_dietemp + * + * Binding (compatible = st,stm32-temp-cal): + * $ZEPHYR_BASE/dts/bindings/sensor/st,stm32-temp-cal.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 2406 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 2439 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 2501 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/i2c4_scl_pb6 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_i2c4_scl_pb6 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 2543 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 2605 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/i2c4_sda_ph12 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_i2c4_sda_ph12 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 2647 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 2709 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/i2c@58001c00 + * + * Node identifier: DT_N_S_soc_S_i2c_58001c00 + * + * Binding (compatible = st,stm32-i2c-v2): + * $ZEPHYR_BASE/dts/bindings/i2c/st,stm32-i2c-v2.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 2754 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + + + +/* Ordinals for what depends directly on this node: */ + + + + + + +/* Existence and alternate IDs: */ + + + + + +/* Macros for properties that are special in the specification: */ +# 2822 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ +# 2832 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Generic property macros: */ +# 2949 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/gpio@58022000 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_gpio_58022000 + * + * Binding (compatible = st,stm32-gpio): + * $ZEPHYR_BASE/dts/bindings/gpio/st,stm32-gpio.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 2994 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + +/* Ordinals for what depends directly on this node: */ + + + + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 3034 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 3079 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/i2c@58001c00/gt911@5d + * + * Node identifier: DT_N_S_soc_S_i2c_58001c00_S_gt911_5d + * + * Binding (compatible = goodix,gt911): + * $ZEPHYR_BASE/dts/bindings/input/goodix,gt911.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/i2c@58001c00) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 3124 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + + + +/* Bus info (controller: '/soc/i2c@58001c00', type: '['i2c']') */ + + + +/* Macros for properties that are special in the specification: */ +# 3165 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 3218 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /lvgl_pointer + * + * Node identifier: DT_N_S_lvgl_pointer + * + * Binding (compatible = zephyr,lvgl-pointer-input): + * $ZEPHYR_BASE/dts/bindings/input/zephyr,lvgl-pointer-input.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 3263 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ +# 3295 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 3316 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /memory@24000000 + * + * Node identifier: DT_N_S_memory_24000000 + * + * Binding (compatible = mmio-sram): + * $ZEPHYR_BASE/dts/bindings/sram/mmio-sram.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 3361 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 3392 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 3421 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /memory@30000000 + * + * Node identifier: DT_N_S_memory_30000000 + * + * Binding (compatible = zephyr,memory-region): + * $ZEPHYR_BASE/dts/bindings/base/zephyr,memory-region.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 3466 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + + +/* Macros for properties that are special in the specification: */ +# 3503 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 3553 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /memory@30020000 + * + * Node identifier: DT_N_S_memory_30020000 + * + * Binding (compatible = zephyr,memory-region): + * $ZEPHYR_BASE/dts/bindings/base/zephyr,memory-region.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 3598 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + + +/* Macros for properties that are special in the specification: */ +# 3635 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 3685 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /memory@30040000 + * + * Node identifier: DT_N_S_memory_30040000 + * + * Binding (compatible = zephyr,memory-region): + * $ZEPHYR_BASE/dts/bindings/base/zephyr,memory-region.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 3730 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + + +/* Macros for properties that are special in the specification: */ +# 3767 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 3817 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /memory@38000000 + * + * Node identifier: DT_N_S_memory_38000000 + * + * Binding (compatible = zephyr,memory-region): + * $ZEPHYR_BASE/dts/bindings/base/zephyr,memory-region.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 3862 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + + +/* Macros for properties that are special in the specification: */ +# 3899 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 3949 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /memory@90000000 + * + * Node identifier: DT_N_S_memory_90000000 + * + * Binding (compatible = zephyr,memory-region): + * $ZEPHYR_BASE/dts/bindings/base/zephyr,memory-region.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 3994 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 4029 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 4072 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/i2c1_scl_pb8 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_i2c1_scl_pb8 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 4114 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 4176 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/i2c1_sda_pb9 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_i2c1_sda_pb9 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 4218 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 4280 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/i2c@40005400 + * + * Node identifier: DT_N_S_soc_S_i2c_40005400 + * + * Binding (compatible = st,stm32-i2c-v2): + * $ZEPHYR_BASE/dts/bindings/i2c/st,stm32-i2c-v2.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 4325 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + + + +/* Ordinals for what depends directly on this node: */ + + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 4390 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ +# 4400 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Generic property macros: */ +# 4517 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /smbus1 + * + * Node identifier: DT_N_S_smbus1 + * + * Binding (compatible = st,stm32-smbus): + * $ZEPHYR_BASE/dts/bindings/smbus/st,stm32-smbus.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 4562 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 4595 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 4642 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/i2c2_scl_ph4 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_i2c2_scl_ph4 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 4684 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 4746 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/i2c2_sda_pb11 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_i2c2_sda_pb11 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 4788 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 4850 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/i2c@40005800 + * + * Node identifier: DT_N_S_soc_S_i2c_40005800 + * + * Binding (compatible = st,stm32-i2c-v2): + * $ZEPHYR_BASE/dts/bindings/i2c/st,stm32-i2c-v2.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 4895 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + + + +/* Ordinals for what depends directly on this node: */ + + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 4960 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ +# 4970 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Generic property macros: */ +# 5087 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /smbus2 + * + * Node identifier: DT_N_S_smbus2 + * + * Binding (compatible = st,stm32-smbus): + * $ZEPHYR_BASE/dts/bindings/smbus/st,stm32-smbus.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 5132 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 5165 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 5212 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/i2c@40005c00 + * + * Node identifier: DT_N_S_soc_S_i2c_40005c00 + * + * Binding (compatible = st,stm32-i2c-v2): + * $ZEPHYR_BASE/dts/bindings/i2c/st,stm32-i2c-v2.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 5257 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 5319 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 5411 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /smbus3 + * + * Node identifier: DT_N_S_smbus3 + * + * Binding (compatible = st,stm32-smbus): + * $ZEPHYR_BASE/dts/bindings/smbus/st,stm32-smbus.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 5456 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 5489 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 5536 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /smbus4 + * + * Node identifier: DT_N_S_smbus4 + * + * Binding (compatible = st,stm32-smbus): + * $ZEPHYR_BASE/dts/bindings/smbus/st,stm32-smbus.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 5581 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 5614 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 5661 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /vbat + * + * Node identifier: DT_N_S_vbat + * + * Binding (compatible = st,stm32-vbat): + * $ZEPHYR_BASE/dts/bindings/sensor/st,stm32-vbat.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 5706 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 5739 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 5788 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /vref + * + * Node identifier: DT_N_S_vref + * + * Binding (compatible = st,stm32-vref): + * $ZEPHYR_BASE/dts/bindings/sensor/st,stm32-vref.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 5833 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 5866 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 5922 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /gpio@deadbeef + * + * Node identifier: DT_N_S_gpio_deadbeef + * + * Binding (compatible = vnd,gpio): + * $ZEPHYR_BASE/dts/bindings/test/vnd,gpio.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 5967 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 6003 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 6050 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/adc1_inp0_pa0_c + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_adc1_inp0_pa0_c + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 6092 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 6154 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/adc1_inp10_pc0 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_adc1_inp10_pc0 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 6196 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 6258 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/adc1_inp12_pc2 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_adc1_inp12_pc2 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 6300 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 6362 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/adc1_inp13_pc3 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_adc1_inp13_pc3 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 6404 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 6466 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/adc1_inp16_pa0 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_adc1_inp16_pa0 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 6508 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 6570 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/adc1_inp18_pa4 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_adc1_inp18_pa4 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 6612 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 6674 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/adc1_inp19_pa5 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_adc1_inp19_pa5 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 6716 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 6778 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/adc1_inp1_pa1_c + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_adc1_inp1_pa1_c + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 6820 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 6882 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/adc1_inp4_pc4 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_adc1_inp4_pc4 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 6924 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 6986 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/adc1_inp5_pb1 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_adc1_inp5_pb1 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 7028 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 7090 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/adc1_inp8_pc5 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_adc1_inp8_pc5 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 7132 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 7194 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/adc1_inp9_pb0 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_adc1_inp9_pb0 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 7236 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 7298 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/adc@40022000 + * + * Node identifier: DT_N_S_soc_S_adc_40022000 + * + * Binding (compatible = st,stm32-adc): + * $ZEPHYR_BASE/dts/bindings/adc/st,stm32-adc.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 7343 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ +# 7368 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Ordinals for what depends directly on this node: */ +# 7384 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 7412 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ +# 7432 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Generic property macros: */ +# 7721 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/dac1_out1_pa4 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_dac1_out1_pa4 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 7763 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 7825 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/dac1_out2_pa5 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_dac1_out2_pa5 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 7867 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 7929 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/dac@40007400 + * + * Node identifier: DT_N_S_soc_S_dac_40007400 + * + * Binding (compatible = st,stm32-dac): + * $ZEPHYR_BASE/dts/bindings/dac/st,stm32-dac.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 7974 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 8013 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ +# 8023 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Generic property macros: */ +# 8103 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/usart2_rx_pd6 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_usart2_rx_pd6 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 8145 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 8207 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/usart2_tx_pd5 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_usart2_tx_pd5 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 8249 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 8311 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/rcc@58024400/reset-controller + * + * Node identifier: DT_N_S_soc_S_rcc_58024400_S_reset_controller + * + * Binding (compatible = st,stm32-rcc-rctl): + * $ZEPHYR_BASE/dts/bindings/reset/st,stm32-rcc-rctl.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/rcc@58024400) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 8356 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ +# 8397 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 8415 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 8440 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/serial@40004400 + * + * Node identifier: DT_N_S_soc_S_serial_40004400 + * + * Binding (compatible = st,stm32-usart): + * $ZEPHYR_BASE/dts/bindings/serial/st,stm32-usart.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 8485 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ +# 8501 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + + + +/* Macros for properties that are special in the specification: */ +# 8539 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ +# 8549 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Generic property macros: */ +# 8709 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/uart4_rx_pi9 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_uart4_rx_pi9 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 8751 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 8813 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/uart4_tx_ph13 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_uart4_tx_ph13 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 8855 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 8917 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/serial@40004c00 + * + * Node identifier: DT_N_S_soc_S_serial_40004c00 + * + * Binding (compatible = st,stm32-uart): + * $ZEPHYR_BASE/dts/bindings/serial/st,stm32-uart.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 8962 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ +# 8978 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 9010 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ +# 9020 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Generic property macros: */ +# 9171 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/usart1_rx_pb7 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_usart1_rx_pb7 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 9213 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 9275 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/usart1_tx_pa9 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_usart1_tx_pa9 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 9317 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 9379 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/serial@40011000 + * + * Node identifier: DT_N_S_soc_S_serial_40011000 + * + * Binding (compatible = st,stm32-usart): + * $ZEPHYR_BASE/dts/bindings/serial/st,stm32-usart.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 9424 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ +# 9440 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + + + + +/* Macros for properties that are special in the specification: */ +# 9479 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ +# 9489 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Generic property macros: */ +# 9649 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/usart6_rx_pc7 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_usart6_rx_pc7 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 9691 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 9753 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/usart6_tx_pg14 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_usart6_tx_pg14 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 9795 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 9857 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/serial@40011400 + * + * Node identifier: DT_N_S_soc_S_serial_40011400 + * + * Binding (compatible = st,stm32-usart): + * $ZEPHYR_BASE/dts/bindings/serial/st,stm32-usart.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 9902 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ +# 9918 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + + + +/* Macros for properties that are special in the specification: */ +# 9956 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ +# 9966 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Generic property macros: */ +# 10126 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/spi1_miso_pg9 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_spi1_miso_pg9 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 10168 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 10230 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/spi1_mosi_pd7 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_spi1_mosi_pd7 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 10272 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 10334 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/spi1_sck_pb3 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_spi1_sck_pb3 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 10376 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 10438 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/spi@40013000 + * + * Node identifier: DT_N_S_soc_S_spi_40013000 + * + * Binding (compatible = st,stm32h7-spi): + * $ZEPHYR_BASE/dts/bindings/spi/st,stm32h7-spi.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 10483 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ +# 10499 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + + + + +/* Macros for properties that are special in the specification: */ +# 10543 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ +# 10554 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Generic property macros: */ +# 10681 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/spi5_miso_pj11 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_spi5_miso_pj11 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 10723 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 10785 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/spi5_mosi_pj10 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_spi5_mosi_pj10 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 10827 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 10889 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/spi5_sck_ph6 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_spi5_sck_ph6 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 10931 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 10993 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/spi@40015000 + * + * Node identifier: DT_N_S_soc_S_spi_40015000 + * + * Binding (compatible = st,stm32h7-spi): + * $ZEPHYR_BASE/dts/bindings/spi/st,stm32h7-spi.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 11038 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ +# 11054 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + + + + + +/* Macros for properties that are special in the specification: */ +# 11099 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ +# 11110 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Generic property macros: */ +# 11227 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/gpio@58020000 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_gpio_58020000 + * + * Binding (compatible = st,stm32-gpio): + * $ZEPHYR_BASE/dts/bindings/gpio/st,stm32-gpio.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 11272 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + +/* Ordinals for what depends directly on this node: */ + + + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 11311 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 11356 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/gpio@58020400 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_gpio_58020400 + * + * Binding (compatible = st,stm32-gpio): + * $ZEPHYR_BASE/dts/bindings/gpio/st,stm32-gpio.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 11401 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + +/* Ordinals for what depends directly on this node: */ + + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 11439 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 11484 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/gpio@58020800 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_gpio_58020800 + * + * Binding (compatible = st,stm32-gpio): + * $ZEPHYR_BASE/dts/bindings/gpio/st,stm32-gpio.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 11529 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + +/* Ordinals for what depends directly on this node: */ + + + + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 11569 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 11614 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/gpio@58020C00 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_gpio_58020c00 + * + * Binding (compatible = st,stm32-gpio): + * $ZEPHYR_BASE/dts/bindings/gpio/st,stm32-gpio.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 11659 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + +/* Ordinals for what depends directly on this node: */ + + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 11697 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 11742 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/gpio@58021000 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_gpio_58021000 + * + * Binding (compatible = st,stm32-gpio): + * $ZEPHYR_BASE/dts/bindings/gpio/st,stm32-gpio.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 11787 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + +/* Ordinals for what depends directly on this node: */ + + + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 11826 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 11871 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/gpio@58021800 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_gpio_58021800 + * + * Binding (compatible = st,stm32-gpio): + * $ZEPHYR_BASE/dts/bindings/gpio/st,stm32-gpio.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 11916 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + +/* Ordinals for what depends directly on this node: */ + + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 11954 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 11999 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/gpio@58021C00 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_gpio_58021c00 + * + * Binding (compatible = st,stm32-gpio): + * $ZEPHYR_BASE/dts/bindings/gpio/st,stm32-gpio.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 12044 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + +/* Ordinals for what depends directly on this node: */ + + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 12082 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 12127 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/gpio@58022400 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_gpio_58022400 + * + * Binding (compatible = st,stm32-gpio): + * $ZEPHYR_BASE/dts/bindings/gpio/st,stm32-gpio.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 12172 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + +/* Ordinals for what depends directly on this node: */ + + + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 12211 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 12256 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/gpio@58022800 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_gpio_58022800 + * + * Binding (compatible = st,stm32-gpio): + * $ZEPHYR_BASE/dts/bindings/gpio/st,stm32-gpio.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 12301 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 12338 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 12383 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/timers@40000000 + * + * Node identifier: DT_N_S_soc_S_timers_40000000 + * + * Binding (compatible = st,stm32-timers): + * $ZEPHYR_BASE/dts/bindings/timer/st,stm32-timers.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 12428 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + + +/* Ordinals for what depends directly on this node: */ + + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 12480 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 12567 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/tim2_ch3_pa2 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_tim2_ch3_pa2 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 12609 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 12671 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/tim2_ch4_pa3 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_tim2_ch4_pa3 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 12713 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 12775 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/timers@40000000/pwm + * + * Node identifier: DT_N_S_soc_S_timers_40000000_S_pwm + * + * Binding (compatible = st,stm32-pwm): + * $ZEPHYR_BASE/dts/bindings/pwm/st,stm32-pwm.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/timers@40000000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 12820 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 12855 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ +# 12865 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Generic property macros: */ +# 12929 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/timers@40000400 + * + * Node identifier: DT_N_S_soc_S_timers_40000400 + * + * Binding (compatible = st,stm32-timers): + * $ZEPHYR_BASE/dts/bindings/timer/st,stm32-timers.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 12974 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + + +/* Ordinals for what depends directly on this node: */ + + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 13026 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 13113 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/tim3_ch1_pb4 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_tim3_ch1_pb4 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 13155 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 13217 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/tim3_ch2_pa7 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_tim3_ch2_pa7 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 13259 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 13321 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/timers@40000400/pwm + * + * Node identifier: DT_N_S_soc_S_timers_40000400_S_pwm + * + * Binding (compatible = st,stm32-pwm): + * $ZEPHYR_BASE/dts/bindings/pwm/st,stm32-pwm.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/timers@40000400) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 13366 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 13401 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ +# 13411 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Generic property macros: */ +# 13475 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/timers@40000800 + * + * Node identifier: DT_N_S_soc_S_timers_40000800 + * + * Binding (compatible = st,stm32-timers): + * $ZEPHYR_BASE/dts/bindings/timer/st,stm32-timers.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 13520 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + + +/* Ordinals for what depends directly on this node: */ + + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 13572 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 13659 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/tim4_ch2_pd13 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_tim4_ch2_pd13 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 13701 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 13763 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/tim4_ch3_pb8 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_tim4_ch3_pb8 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 13805 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 13867 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/tim4_ch4_pb9 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_tim4_ch4_pb9 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 13909 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 13971 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/timers@40000800/pwm + * + * Node identifier: DT_N_S_soc_S_timers_40000800_S_pwm + * + * Binding (compatible = st,stm32-pwm): + * $ZEPHYR_BASE/dts/bindings/pwm/st,stm32-pwm.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/timers@40000800) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 14016 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 14052 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ +# 14063 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Generic property macros: */ +# 14134 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/timers@40010000 + * + * Node identifier: DT_N_S_soc_S_timers_40010000 + * + * Binding (compatible = st,stm32-timers): + * $ZEPHYR_BASE/dts/bindings/timer/st,stm32-timers.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 14179 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 14266 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 14392 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/tim1_ch1_pk1 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_tim1_ch1_pk1 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 14434 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 14496 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/tim1_ch3_pj9 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_tim1_ch3_pj9 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 14538 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 14600 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/timers@40010000/pwm + * + * Node identifier: DT_N_S_soc_S_timers_40010000_S_pwm + * + * Binding (compatible = st,stm32-pwm): + * $ZEPHYR_BASE/dts/bindings/pwm/st,stm32-pwm.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/timers@40010000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 14645 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + +/* Ordinals for what depends directly on this node: */ + + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 14681 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ +# 14691 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Generic property macros: */ +# 14755 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/timers@40010400 + * + * Node identifier: DT_N_S_soc_S_timers_40010400 + * + * Binding (compatible = st,stm32-timers): + * $ZEPHYR_BASE/dts/bindings/timer/st,stm32-timers.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 14800 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 14887 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 15013 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/tim8_ch1_pj8 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_tim8_ch1_pj8 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 15055 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 15117 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/timers@40010400/pwm + * + * Node identifier: DT_N_S_soc_S_timers_40010400_S_pwm + * + * Binding (compatible = st,stm32-pwm): + * $ZEPHYR_BASE/dts/bindings/pwm/st,stm32-pwm.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/timers@40010400) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 15162 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 15196 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ +# 15205 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Generic property macros: */ +# 15262 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /otghs_fs_phy + * + * Node identifier: DT_N_S_otghs_fs_phy + * + * Binding (compatible = usb-nop-xceiv): + * $ZEPHYR_BASE/dts/bindings/phy/usb-nop-xceiv.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 15307 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 15337 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 15360 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/usb_otg_fs_dm_pa11 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_usb_otg_fs_dm_pa11 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 15402 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 15464 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/usb_otg_fs_dp_pa12 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_usb_otg_fs_dp_pa12 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 15506 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 15568 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/usb@40080000 + * + * Node identifier: DT_N_S_soc_S_usb_40080000 + * + * Binding (compatible = st,stm32-otgfs): + * $ZEPHYR_BASE/dts/bindings/usb/st,stm32-otgfs.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 15613 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ +# 15629 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + + + +/* Macros for properties that are special in the specification: */ +# 15703 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ +# 15713 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Generic property macros: */ +# 15888 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/usb@40080000/board_cdc_acm_uart + * + * Node identifier: DT_N_S_soc_S_usb_40080000_S_board_cdc_acm_uart + * + * Binding (compatible = zephyr,cdc-acm-uart): + * $ZEPHYR_BASE/dts/bindings/serial/zephyr,cdc-acm-uart.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/usb@40080000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 15933 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + + +/* Bus info (controller: '/soc/usb@40080000', type: '['usb']') */ + + + +/* Macros for properties that are special in the specification: */ +# 15970 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 16027 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /zephyr,user + * + * Node identifier: DT_N_S_zephyr_user + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 16069 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ +# 16109 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 17795 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /clocks/clk-csi + * + * Node identifier: DT_N_S_clocks_S_clk_csi + * + * Binding (compatible = fixed-clock): + * $ZEPHYR_BASE/dts/bindings/clock/fixed-clock.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/clocks) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 17840 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 17868 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 17907 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /clocks/clk-hsi + * + * Node identifier: DT_N_S_clocks_S_clk_hsi + * + * Binding (compatible = st,stm32h7-hsi-clock): + * $ZEPHYR_BASE/dts/bindings/clock/st,stm32h7-hsi-clock.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/clocks) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 17952 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 17984 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 18028 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /clocks/clk-hsi48 + * + * Node identifier: DT_N_S_clocks_S_clk_hsi48 + * + * Binding (compatible = fixed-clock): + * $ZEPHYR_BASE/dts/bindings/clock/fixed-clock.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/clocks) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 18073 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 18101 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 18140 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /clocks/clk-lse + * + * Node identifier: DT_N_S_clocks_S_clk_lse + * + * Binding (compatible = st,stm32-lse-clock): + * $ZEPHYR_BASE/dts/bindings/clock/st,stm32-lse-clock.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/clocks) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 18185 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 18217 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 18263 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /clocks/clk-lsi + * + * Node identifier: DT_N_S_clocks_S_clk_lsi + * + * Binding (compatible = fixed-clock): + * $ZEPHYR_BASE/dts/bindings/clock/fixed-clock.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/clocks) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 18308 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 18336 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 18375 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /clocks/perck + * + * Node identifier: DT_N_S_clocks_S_perck + * + * Binding (compatible = st,stm32-clock-mux): + * $ZEPHYR_BASE/dts/bindings/clock/st,stm32-clock-mux.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/clocks) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 18420 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 18452 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 18483 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /clocks/pll@1 + * + * Node identifier: DT_N_S_clocks_S_pll_1 + * + * Binding (compatible = st,stm32h7-pll-clock): + * $ZEPHYR_BASE/dts/bindings/clock/st,stm32h7-pll-clock.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/clocks) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 18528 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 18562 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 18603 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /clocks/pll@2 + * + * Node identifier: DT_N_S_clocks_S_pll_2 + * + * Binding (compatible = st,stm32h7-pll-clock): + * $ZEPHYR_BASE/dts/bindings/clock/st,stm32h7-pll-clock.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/clocks) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 18648 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 18683 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 18742 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /cpus + * + * Node identifier: DT_N_S_cpus + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 18781 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* (No generic property macros) */ + +/* + * Devicetree node: /cpus/cpu@0 + * + * Node identifier: DT_N_S_cpus_S_cpu_0 + * + * Binding (compatible = arm,cortex-m7): + * $ZEPHYR_BASE/dts/bindings/cpu/arm,cortex-m7.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/cpus) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 18857 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 18892 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 18919 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /cpus/cpu@0/mpu@e000ed90 + * + * Node identifier: DT_N_S_cpus_S_cpu_0_S_mpu_e000ed90 + * + * Binding (compatible = arm,armv7m-mpu): + * $ZEPHYR_BASE/dts/bindings/mmu_mpu/arm,armv7m-mpu.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/cpus/cpu@0) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 18964 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 18999 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 19028 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /gpio_keys + * + * Node identifier: DT_N_S_gpio_keys + * + * Binding (compatible = gpio-keys): + * $ZEPHYR_BASE/dts/bindings/input/gpio-keys.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 19073 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ +# 19102 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 19131 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /gpio_keys/button_0 + * + * Node identifier: DT_N_S_gpio_keys_S_button_0 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/gpio_keys) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 19173 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 19220 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /leds + * + * Node identifier: DT_N_S_leds + * + * Binding (compatible = gpio-leds): + * $ZEPHYR_BASE/dts/bindings/led/gpio-leds.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 19265 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + + +/* Ordinals for what depends directly on this node: */ + + + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ +# 19298 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 19315 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /leds/led_0 + * + * Node identifier: DT_N_S_leds_S_led_0 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/leds) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 19357 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 19402 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /leds/led_1 + * + * Node identifier: DT_N_S_leds_S_led_1 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/leds) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 19444 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 19489 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /leds/led_2 + * + * Node identifier: DT_N_S_leds_S_led_2 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/leds) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 19531 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 19575 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /mcos + * + * Node identifier: DT_N_S_mcos + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 19614 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + + +/* Existence and alternate IDs: */ + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* (No generic property macros) */ + +/* + * Devicetree node: /mcos/mco1 + * + * Node identifier: DT_N_S_mcos_S_mco1 + * + * Binding (compatible = st,stm32-clock-mco): + * $ZEPHYR_BASE/dts/bindings/clock/st,stm32-clock-mco.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/mcos) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 19691 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 19723 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 19760 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /mcos/mco2 + * + * Node identifier: DT_N_S_mcos_S_mco2 + * + * Binding (compatible = st,stm32-clock-mco): + * $ZEPHYR_BASE/dts/bindings/clock/st,stm32-clock-mco.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/mcos) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 19805 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 19837 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 19874 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/adc@40022100 + * + * Node identifier: DT_N_S_soc_S_adc_40022100 + * + * Binding (compatible = st,stm32-adc): + * $ZEPHYR_BASE/dts/bindings/adc/st,stm32-adc.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 19919 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 19963 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 20138 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/adc@40022300 + * + * Node identifier: DT_N_S_soc_S_adc_40022300 + * + * Binding (compatible = st,stm32-adc): + * $ZEPHYR_BASE/dts/bindings/adc/st,stm32-adc.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 20183 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 20227 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 20402 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/bdma@58025400 + * + * Node identifier: DT_N_S_soc_S_bdma_58025400 + * + * Binding (compatible = st,stm32-bdma): + * $ZEPHYR_BASE/dts/bindings/dma/st,stm32-bdma.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 20447 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 20540 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 20635 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/can@4000a000 + * + * Node identifier: DT_N_S_soc_S_can_4000a000 + * + * Binding (compatible = st,stm32h7-fdcan): + * $ZEPHYR_BASE/dts/bindings/can/st,stm32h7-fdcan.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 20680 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 20762 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 20937 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/fdcan2_rx_pb5 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_fdcan2_rx_pb5 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 20979 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 21041 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/fdcan2_tx_pb13 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_fdcan2_tx_pb13 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 21083 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 21145 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/can@4000a400 + * + * Node identifier: DT_N_S_soc_S_can_4000a400 + * + * Binding (compatible = st,stm32h7-fdcan): + * $ZEPHYR_BASE/dts/bindings/can/st,stm32h7-fdcan.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 21190 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 21274 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ +# 21284 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Generic property macros: */ +# 21494 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/dma@40020400 + * + * Node identifier: DT_N_S_soc_S_dma_40020400 + * + * Binding (compatible = st,stm32-dma-v1): + * $ZEPHYR_BASE/dts/bindings/dma/st,stm32-dma-v1.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 21539 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 21632 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 21727 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/dmamux@58025800 + * + * Node identifier: DT_N_S_soc_S_dmamux_58025800 + * + * Binding (compatible = st,stm32-dmamux): + * $ZEPHYR_BASE/dts/bindings/dma/st,stm32-dmamux.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 21772 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 21816 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 21883 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/dmamux@40020800 + * + * Node identifier: DT_N_S_soc_S_dmamux_40020800 + * + * Binding (compatible = st,stm32-dmamux): + * $ZEPHYR_BASE/dts/bindings/dma/st,stm32-dmamux.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 21928 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + +/* Ordinals for what depends directly on this node: */ + + + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 21975 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 22042 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/i2s@40003800 + * + * Node identifier: DT_N_S_soc_S_i2s_40003800 + * + * Binding (compatible = st,stm32h7-i2s): + * $ZEPHYR_BASE/dts/bindings/i2s/st,stm32h7-i2s.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 22087 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + + +/* Macros for properties that are special in the specification: */ +# 22138 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 22285 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/i2s@40003c00 + * + * Node identifier: DT_N_S_soc_S_i2s_40003c00 + * + * Binding (compatible = st,stm32h7-i2s): + * $ZEPHYR_BASE/dts/bindings/i2s/st,stm32h7-i2s.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 22330 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + + +/* Macros for properties that are special in the specification: */ +# 22381 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 22528 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/i2s@40013000 + * + * Node identifier: DT_N_S_soc_S_i2s_40013000 + * + * Binding (compatible = st,stm32h7-i2s): + * $ZEPHYR_BASE/dts/bindings/i2s/st,stm32h7-i2s.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 22573 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + + +/* Macros for properties that are special in the specification: */ +# 22624 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 22771 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/interrupt-controller@58000000 + * + * Node identifier: DT_N_S_soc_S_interrupt_controller_58000000 + * + * Binding (compatible = st,stm32-exti): + * $ZEPHYR_BASE/dts/bindings/interrupt-controller/st,stm32-exti.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 22816 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 22936 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 23152 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/mailbox@58026400 + * + * Node identifier: DT_N_S_soc_S_mailbox_58026400 + * + * Binding (compatible = st,stm32-hsem-mailbox): + * $ZEPHYR_BASE/dts/bindings/ipm/st,stm32-hsem-mailbox.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 23197 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + + +/* Macros for properties that are special in the specification: */ +# 23247 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 23317 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/memory@38800000 + * + * Node identifier: DT_N_S_soc_S_memory_38800000 + * + * Binding (compatible = zephyr,memory-region): + * $ZEPHYR_BASE/dts/bindings/base/zephyr,memory-region.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 23362 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + + +/* Macros for properties that are special in the specification: */ +# 23404 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 23480 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/rng@48021800 + * + * Node identifier: DT_N_S_soc_S_rng_48021800 + * + * Binding (compatible = st,stm32-rng): + * $ZEPHYR_BASE/dts/bindings/rng/st,stm32-rng.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 23525 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 23569 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 23630 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/sdmmc@48022400 + * + * Node identifier: DT_N_S_soc_S_sdmmc_48022400 + * + * Binding (compatible = st,stm32-sdmmc): + * $ZEPHYR_BASE/dts/bindings/mmc/st,stm32-sdmmc.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 23675 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 23720 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 23810 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/sdmmc@52007000 + * + * Node identifier: DT_N_S_soc_S_sdmmc_52007000 + * + * Binding (compatible = st,stm32-sdmmc): + * $ZEPHYR_BASE/dts/bindings/mmc/st,stm32-sdmmc.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 23855 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 23900 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 23990 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/serial@40004800 + * + * Node identifier: DT_N_S_soc_S_serial_40004800 + * + * Binding (compatible = st,stm32-usart): + * $ZEPHYR_BASE/dts/bindings/serial/st,stm32-usart.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 24035 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + + +/* Macros for properties that are special in the specification: */ +# 24086 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 24221 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/serial@40005000 + * + * Node identifier: DT_N_S_soc_S_serial_40005000 + * + * Binding (compatible = st,stm32-uart): + * $ZEPHYR_BASE/dts/bindings/serial/st,stm32-uart.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 24266 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 24311 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 24437 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/serial@40007c00 + * + * Node identifier: DT_N_S_soc_S_serial_40007c00 + * + * Binding (compatible = st,stm32-uart): + * $ZEPHYR_BASE/dts/bindings/serial/st,stm32-uart.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 24482 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 24527 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 24653 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/serial@58000c00 + * + * Node identifier: DT_N_S_soc_S_serial_58000c00 + * + * Binding (compatible = st,stm32-lpuart): + * $ZEPHYR_BASE/dts/bindings/serial/st,stm32-lpuart.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 24698 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + + +/* Macros for properties that are special in the specification: */ +# 24749 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 24884 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/spi@40003800 + * + * Node identifier: DT_N_S_soc_S_spi_40003800 + * + * Binding (compatible = st,stm32h7-spi): + * $ZEPHYR_BASE/dts/bindings/spi/st,stm32h7-spi.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 24929 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + + + +/* Macros for properties that are special in the specification: */ +# 24985 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 25080 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/spi@40003c00 + * + * Node identifier: DT_N_S_soc_S_spi_40003c00 + * + * Binding (compatible = st,stm32h7-spi): + * $ZEPHYR_BASE/dts/bindings/spi/st,stm32h7-spi.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 25125 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + + + +/* Macros for properties that are special in the specification: */ +# 25181 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 25276 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/spi@40013400 + * + * Node identifier: DT_N_S_soc_S_spi_40013400 + * + * Binding (compatible = st,stm32h7-spi): + * $ZEPHYR_BASE/dts/bindings/spi/st,stm32h7-spi.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 25321 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + + + +/* Macros for properties that are special in the specification: */ +# 25377 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 25462 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/spi@58001400 + * + * Node identifier: DT_N_S_soc_S_spi_58001400 + * + * Binding (compatible = st,stm32h7-spi): + * $ZEPHYR_BASE/dts/bindings/spi/st,stm32h7-spi.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 25507 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + + + +/* Macros for properties that are special in the specification: */ +# 25563 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 25648 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/timer@e000e010 + * + * Node identifier: DT_N_S_soc_S_timer_e000e010 + * + * Binding (compatible = arm,armv7m-systick): + * $ZEPHYR_BASE/dts/bindings/timer/arm,armv7m-systick.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 25693 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 25728 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 25757 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/timers@40002400 + * + * Node identifier: DT_N_S_soc_S_timers_40002400 + * + * Binding (compatible = st,stm32-lptim): + * $ZEPHYR_BASE/dts/bindings/timer/st,stm32-lptim.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 25802 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 25851 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 25929 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/usb@40040000 + * + * Node identifier: DT_N_S_soc_S_usb_40040000 + * + * Binding (compatible = st,stm32-otghs): + * $ZEPHYR_BASE/dts/bindings/usb/st,stm32-otghs.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 25974 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 26060 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 26210 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/watchdog@50003000 + * + * Node identifier: DT_N_S_soc_S_watchdog_50003000 + * + * Binding (compatible = st,stm32-window-watchdog): + * $ZEPHYR_BASE/dts/bindings/watchdog/st,stm32-window-watchdog.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 26255 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + + +/* Macros for properties that are special in the specification: */ +# 26300 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 26361 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/watchdog@58004800 + * + * Node identifier: DT_N_S_soc_S_watchdog_58004800 + * + * Binding (compatible = st,stm32-watchdog): + * $ZEPHYR_BASE/dts/bindings/watchdog/st,stm32-watchdog.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 26406 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + + +/* Macros for properties that are special in the specification: */ +# 26442 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 26485 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/adc@40022000/channel@0 + * + * Node identifier: DT_N_S_soc_S_adc_40022000_S_channel_0 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/adc@40022000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 26527 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + +/* Macros for properties that are special in the specification: */ +# 26554 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 26597 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/adc@40022000/channel@1 + * + * Node identifier: DT_N_S_soc_S_adc_40022000_S_channel_1 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/adc@40022000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 26639 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + +/* Macros for properties that are special in the specification: */ +# 26666 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 26709 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/adc@40022000/channel@4 + * + * Node identifier: DT_N_S_soc_S_adc_40022000_S_channel_4 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/adc@40022000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 26751 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + +/* Macros for properties that are special in the specification: */ +# 26778 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 26821 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/adc@40022000/channel@5 + * + * Node identifier: DT_N_S_soc_S_adc_40022000_S_channel_5 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/adc@40022000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 26863 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + +/* Macros for properties that are special in the specification: */ +# 26890 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 26933 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/adc@40022000/channel@8 + * + * Node identifier: DT_N_S_soc_S_adc_40022000_S_channel_8 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/adc@40022000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 26975 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + +/* Macros for properties that are special in the specification: */ +# 27002 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 27045 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/adc@40022000/channel@9 + * + * Node identifier: DT_N_S_soc_S_adc_40022000_S_channel_9 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/adc@40022000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 27087 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + +/* Macros for properties that are special in the specification: */ +# 27114 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 27157 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/adc@40022000/channel@a + * + * Node identifier: DT_N_S_soc_S_adc_40022000_S_channel_a + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/adc@40022000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 27199 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + +/* Macros for properties that are special in the specification: */ +# 27226 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 27269 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/adc@40022000/channel@c + * + * Node identifier: DT_N_S_soc_S_adc_40022000_S_channel_c + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/adc@40022000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 27311 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + +/* Macros for properties that are special in the specification: */ +# 27338 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 27381 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/adc@40022000/channel@d + * + * Node identifier: DT_N_S_soc_S_adc_40022000_S_channel_d + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/adc@40022000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 27423 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + +/* Macros for properties that are special in the specification: */ +# 27450 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 27493 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/adc@40022000/channel@10 + * + * Node identifier: DT_N_S_soc_S_adc_40022000_S_channel_10 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/adc@40022000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 27535 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + +/* Macros for properties that are special in the specification: */ +# 27562 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 27605 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/adc@40022000/channel@12 + * + * Node identifier: DT_N_S_soc_S_adc_40022000_S_channel_12 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/adc@40022000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 27647 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + +/* Macros for properties that are special in the specification: */ +# 27674 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 27717 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/adc@40022000/channel@13 + * + * Node identifier: DT_N_S_soc_S_adc_40022000_S_channel_13 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/adc@40022000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 27759 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + +/* Macros for properties that are special in the specification: */ +# 27786 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 27829 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/adc@58026000/channel@0 + * + * Node identifier: DT_N_S_soc_S_adc_58026000_S_channel_0 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/adc@58026000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 27871 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + +/* Macros for properties that are special in the specification: */ +# 27898 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 27941 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/adc@58026000/channel@1 + * + * Node identifier: DT_N_S_soc_S_adc_58026000_S_channel_1 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/adc@58026000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 27983 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + +/* Macros for properties that are special in the specification: */ +# 28010 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 28053 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/dma@40020000 + * + * Node identifier: DT_N_S_soc_S_dma_40020000 + * + * Binding (compatible = st,stm32-dma-v1): + * $ZEPHYR_BASE/dts/bindings/dma/st,stm32-dma-v1.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 28098 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 28192 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 28287 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/i2c@58001c00/gc2145@3c + * + * Node identifier: DT_N_S_soc_S_i2c_58001c00_S_gc2145_3c + * + * Binding (compatible = galaxycore,gc2145): + * $ZEPHYR_BASE/dts/bindings/video/galaxycore,gc2145.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/i2c@58001c00) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 28332 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + +/* Ordinals for what depends directly on this node: */ + + + + +/* Existence and alternate IDs: */ + + + + +/* Bus info (controller: '/soc/i2c@58001c00', type: '['i2c']') */ + + + +/* Macros for properties that are special in the specification: */ +# 28374 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 28425 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/dcmi_d0_ph9 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_dcmi_d0_ph9 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 28467 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 28529 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/dcmi_d1_ph10 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_dcmi_d1_ph10 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 28571 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 28633 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/dcmi_d2_ph11 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_dcmi_d2_ph11 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 28675 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 28737 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/dcmi_d3_pg11 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_dcmi_d3_pg11 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 28779 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 28841 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/dcmi_d4_ph14 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_dcmi_d4_ph14 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 28883 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 28945 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/dcmi_d5_pi4 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_dcmi_d5_pi4 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 28987 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 29049 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/dcmi_d6_pi6 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_dcmi_d6_pi6 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 29091 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 29153 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/dcmi_d7_pi7 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_dcmi_d7_pi7 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 29195 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 29257 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/dcmi_hsync_ph8 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_dcmi_hsync_ph8 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 29299 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 29361 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/dcmi_pixclk_pa6 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_dcmi_pixclk_pa6 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 29403 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 29465 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/dcmi_vsync_pi5 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_dcmi_vsync_pi5 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 29507 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 29569 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/dcmi@48020000 + * + * Node identifier: DT_N_S_soc_S_dcmi_48020000 + * + * Binding (compatible = st,stm32-dcmi): + * $ZEPHYR_BASE/dts/bindings/video/st,stm32-dcmi.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 29614 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ +# 29640 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 29677 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ +# 29696 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Generic property macros: */ +# 29908 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/dcmi@48020000/port + * + * Node identifier: DT_N_S_soc_S_dcmi_48020000_S_port + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/dcmi@48020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 29947 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* (No generic property macros) */ + +/* + * Devicetree node: /soc/dcmi@48020000/port/endpoint + * + * Node identifier: DT_N_S_soc_S_dcmi_48020000_S_port_S_endpoint + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/dcmi@48020000/port) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 30017 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* (No generic property macros) */ + +/* + * Devicetree node: /sdram@c0000000 + * + * Node identifier: DT_N_S_sdram_c0000000 + * + * Binding (compatible = zephyr,memory-region): + * $ZEPHYR_BASE/dts/bindings/base/zephyr,memory-region.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 30093 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + + + +/* Macros for properties that are special in the specification: */ +# 30131 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 30183 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/display-controller@50001000 + * + * Node identifier: DT_N_S_soc_S_display_controller_50001000 + * + * Binding (compatible = st,stm32-ltdc): + * $ZEPHYR_BASE/dts/bindings/display/st,stm32-ltdc.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 30228 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ +# 30245 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + + + +/* Macros for properties that are special in the specification: */ +# 30295 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 30437 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/display-controller@50001000/display-timings + * + * Node identifier: DT_N_S_soc_S_display_controller_50001000_S_display_timings + * + * Binding (compatible = zephyr,panel-timing): + * $ZEPHYR_BASE/dts/bindings/display/panel/panel-timing.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/display-controller@50001000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 30482 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ +# 30513 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 30550 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/dsihost@50000000 + * + * Node identifier: DT_N_S_soc_S_dsihost_50000000 + * + * Binding (compatible = st,stm32-mipi-dsi): + * $ZEPHYR_BASE/dts/bindings/mipi-dsi/st,stm32-mipi-dsi.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 30595 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + + + +/* Macros for properties that are special in the specification: */ +# 30634 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 30829 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/dsihost@50000000/st7701@0 + * + * Node identifier: DT_N_S_soc_S_dsihost_50000000_S_st7701_0 + * + * Binding (compatible = sitronix,st7701): + * $ZEPHYR_BASE/dts/bindings/display/sitronix,st7701.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/dsihost@50000000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 30874 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + + +/* Bus info (controller: '/soc/dsihost@50000000', type: '['mipi-dsi']') */ + + + +/* Macros for properties that are special in the specification: */ +# 30913 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 31868 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/dsihost@50000000/st7701@0/display-timings + * + * Node identifier: DT_N_S_soc_S_dsihost_50000000_S_st7701_0_S_display_timings + * + * Binding (compatible = zephyr,panel-timing): + * $ZEPHYR_BASE/dts/bindings/display/panel/panel-timing.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/dsihost@50000000/st7701@0) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 31913 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + +/* Bus info (controller: '/soc/dsihost@50000000', type: '['mipi-dsi']') */ + + + +/* Macros for properties that are special in the specification: */ +# 31948 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 31985 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/ethernet@40028000 + * + * Node identifier: DT_N_S_soc_S_ethernet_40028000 + * + * Binding (compatible = st,stm32h7-ethernet): + * $ZEPHYR_BASE/dts/bindings/ethernet/st,stm32h7-ethernet.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 32030 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + + + +/* Macros for properties that are special in the specification: */ +# 32081 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 32224 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/ethernet@40028000/mdio + * + * Node identifier: DT_N_S_soc_S_ethernet_40028000_S_mdio + * + * Binding (compatible = st,stm32-mdio): + * $ZEPHYR_BASE/dts/bindings/mdio/st,stm32-mdio.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/ethernet@40028000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 32269 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 32301 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 32342 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/flash-controller@52002000 + * + * Node identifier: DT_N_S_soc_S_flash_controller_52002000 + * + * Binding (compatible = st,stm32-flash-controller): + * $ZEPHYR_BASE/dts/bindings/flash_controller/st,stm32-flash-controller.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 32387 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + + + +/* Macros for properties that are special in the specification: */ +# 32438 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 32496 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/flash-controller@52002000/flash@8000000 + * + * Node identifier: DT_N_S_soc_S_flash_controller_52002000_S_flash_8000000 + * + * Binding (compatible = st,stm32-nv-flash): + * $ZEPHYR_BASE/dts/bindings/mtd/st,stm32-nv-flash.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/flash-controller@52002000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 32541 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + + + +/* Macros for properties that are special in the specification: */ +# 32579 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 32623 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/flash-controller@52002000/flash@8000000/partitions + * + * Node identifier: DT_N_S_soc_S_flash_controller_52002000_S_flash_8000000_S_partitions + * + * Binding (compatible = fixed-partitions): + * $ZEPHYR_BASE/dts/bindings/mtd/fixed-partitions.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/flash-controller@52002000/flash@8000000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 32668 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ +# 32698 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* (No generic property macros) */ + +/* + * Devicetree node: /soc/flash-controller@52002000/flash@8000000/partitions/partition@0 + * + * Node identifier: DT_N_S_soc_S_flash_controller_52002000_S_flash_8000000_S_partitions_S_partition_0 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/flash-controller@52002000/flash@8000000/partitions) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 32745 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ +# 32774 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* fixed-partitions identifier: */ + + +/* Generic property macros: */ +# 32802 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/flash-controller@52002000/flash@8000000/partitions/partition@40000 + * + * Node identifier: DT_N_S_soc_S_flash_controller_52002000_S_flash_8000000_S_partitions_S_partition_40000 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/flash-controller@52002000/flash@8000000/partitions) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 32844 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ +# 32873 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* fixed-partitions identifier: */ + + +/* Generic property macros: */ +# 32901 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/flash-controller@52002000/flash@8000000/partitions/partition@e0000 + * + * Node identifier: DT_N_S_soc_S_flash_controller_52002000_S_flash_8000000_S_partitions_S_partition_e0000 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/flash-controller@52002000/flash@8000000/partitions) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 32943 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ +# 32972 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* fixed-partitions identifier: */ + + +/* Generic property macros: */ +# 32988 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/i2c@58001c00/gc2145@3c/port + * + * Node identifier: DT_N_S_soc_S_i2c_58001c00_S_gc2145_3c_S_port + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/i2c@58001c00/gc2145@3c) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 33027 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + +/* Bus info (controller: '/soc/i2c@58001c00', type: '['i2c']') */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* (No generic property macros) */ + +/* + * Devicetree node: /soc/i2c@58001c00/gc2145@3c/port/endpoint + * + * Node identifier: DT_N_S_soc_S_i2c_58001c00_S_gc2145_3c_S_port_S_endpoint + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/i2c@58001c00/gc2145@3c/port) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 33101 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + +/* Bus info (controller: '/soc/i2c@58001c00', type: '['i2c']') */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* (No generic property macros) */ + +/* + * Devicetree node: /soc/pin-controller@58020000/fmc_a0_pf0 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_fmc_a0_pf0 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 33178 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 33240 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/fmc_a10_pg0 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_fmc_a10_pg0 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 33282 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 33344 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/fmc_a11_pg1 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_fmc_a11_pg1 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 33386 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 33448 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/fmc_a12_pg2 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_fmc_a12_pg2 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 33490 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 33552 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/fmc_a14_pg4 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_fmc_a14_pg4 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 33594 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 33656 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/fmc_a15_pg5 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_fmc_a15_pg5 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 33698 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 33760 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/fmc_a1_pf1 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_fmc_a1_pf1 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 33802 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 33864 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/fmc_a2_pf2 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_fmc_a2_pf2 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 33906 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 33968 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/fmc_a3_pf3 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_fmc_a3_pf3 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 34010 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 34072 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/fmc_a4_pf4 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_fmc_a4_pf4 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 34114 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 34176 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/fmc_a5_pf5 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_fmc_a5_pf5 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 34218 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 34280 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/fmc_a6_pf12 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_fmc_a6_pf12 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 34322 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 34384 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/fmc_a7_pf13 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_fmc_a7_pf13 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 34426 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 34488 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/fmc_a8_pf14 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_fmc_a8_pf14 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 34530 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 34592 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/fmc_a9_pf15 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_fmc_a9_pf15 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 34634 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 34696 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/fmc_d0_pd14 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_fmc_d0_pd14 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 34738 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 34800 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/fmc_d10_pe13 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_fmc_d10_pe13 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 34842 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 34904 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/fmc_d11_pe14 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_fmc_d11_pe14 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 34946 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 35008 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/fmc_d12_pe15 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_fmc_d12_pe15 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 35050 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 35112 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/fmc_d13_pd8 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_fmc_d13_pd8 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 35154 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 35216 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/fmc_d14_pd9 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_fmc_d14_pd9 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 35258 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 35320 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/fmc_d15_pd10 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_fmc_d15_pd10 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 35362 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 35424 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/fmc_d1_pd15 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_fmc_d1_pd15 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 35466 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 35528 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/fmc_d2_pd0 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_fmc_d2_pd0 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 35570 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 35632 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/fmc_d3_pd1 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_fmc_d3_pd1 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 35674 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 35736 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/fmc_d4_pe7 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_fmc_d4_pe7 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 35778 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 35840 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/fmc_d5_pe8 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_fmc_d5_pe8 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 35882 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 35944 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/fmc_d6_pe9 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_fmc_d6_pe9 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 35986 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 36048 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/fmc_d7_pe10 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_fmc_d7_pe10 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 36090 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 36152 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/fmc_d8_pe11 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_fmc_d8_pe11 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 36194 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 36256 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/fmc_d9_pe12 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_fmc_d9_pe12 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 36298 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 36360 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/fmc_nbl0_pe0 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_fmc_nbl0_pe0 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 36402 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 36464 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/fmc_nbl1_pe1 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_fmc_nbl1_pe1 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 36506 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 36568 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/fmc_sdcke0_ph2 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_fmc_sdcke0_ph2 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 36610 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 36672 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/fmc_sdclk_pg8 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_fmc_sdclk_pg8 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 36714 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 36776 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/fmc_sdncas_pg15 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_fmc_sdncas_pg15 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 36818 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 36880 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/fmc_sdne0_ph3 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_fmc_sdne0_ph3 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 36922 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 36984 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/fmc_sdnras_pf11 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_fmc_sdnras_pf11 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 37026 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 37088 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/fmc_sdnwe_ph5 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_fmc_sdnwe_ph5 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 37130 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 37192 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/memory-controller@52004000 + * + * Node identifier: DT_N_S_soc_S_memory_controller_52004000 + * + * Binding (compatible = st,stm32h7-fmc): + * $ZEPHYR_BASE/dts/bindings/memory-controllers/st,stm32h7-fmc.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 37237 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ +# 37288 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 37313 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ +# 37360 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Generic property macros: */ +# 37713 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/memory-controller@52004000/sdram + * + * Node identifier: DT_N_S_soc_S_memory_controller_52004000_S_sdram + * + * Binding (compatible = st,stm32-fmc-sdram): + * $ZEPHYR_BASE/dts/bindings/memory-controllers/st,stm32-fmc-sdram.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/memory-controller@52004000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 37758 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 37791 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 37836 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/memory-controller@52004000/sdram/bank@0 + * + * Node identifier: DT_N_S_soc_S_memory_controller_52004000_S_sdram_S_bank_0 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/memory-controller@52004000/sdram) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 37878 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + +/* Macros for properties that are special in the specification: */ +# 37905 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 38008 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/gpio@58021400 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_gpio_58021400 + * + * Binding (compatible = st,stm32-gpio): + * $ZEPHYR_BASE/dts/bindings/gpio/st,stm32-gpio.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 38053 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 38089 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 38134 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/rtc@58004000 + * + * Node identifier: DT_N_S_soc_S_rtc_58004000 + * + * Binding (compatible = st,stm32-rtc): + * $ZEPHYR_BASE/dts/bindings/rtc/st,stm32-rtc.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 38179 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 38224 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 38291 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/rtc@58004000/backup_regs + * + * Node identifier: DT_N_S_soc_S_rtc_58004000_S_backup_regs + * + * Binding (compatible = st,stm32-bbram): + * $ZEPHYR_BASE/dts/bindings/memory-controllers/st,stm32-bbram.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/rtc@58004000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 38336 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 38368 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 38407 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/uart7_cts_pf9 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_uart7_cts_pf9 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 38449 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 38511 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/uart7_rts_pf8 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_uart7_rts_pf8 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 38553 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 38615 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/uart7_rx_pa8 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_uart7_rx_pa8 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 38657 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 38719 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/uart7_tx_pf7 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_uart7_tx_pf7 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 38761 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 38823 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/serial@40007800 + * + * Node identifier: DT_N_S_soc_S_serial_40007800 + * + * Binding (compatible = st,stm32-uart): + * $ZEPHYR_BASE/dts/bindings/serial/st,stm32-uart.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 38868 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ +# 38886 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 38918 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ +# 38930 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Generic property macros: */ +# 39095 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/serial@40007800/bt_hci_uart + * + * Node identifier: DT_N_S_soc_S_serial_40007800_S_bt_hci_uart + * + * Binding (compatible = zephyr,bt-hci-uart): + * $ZEPHYR_BASE/dts/bindings/bluetooth/zephyr,bt-hci-uart.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/serial@40007800) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 39140 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + + +/* Bus info (controller: '/soc/serial@40007800', type: '['uart']') */ + + + +/* Macros for properties that are special in the specification: */ +# 39177 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 39242 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/serial@40007800/bt_hci_uart/murata-1dx + * + * Node identifier: DT_N_S_soc_S_serial_40007800_S_bt_hci_uart_S_murata_1dx + * + * Binding (compatible = infineon,cyw43xxx-bt-hci): + * $ZEPHYR_BASE/dts/bindings/bluetooth/infineon,cyw43xxx-bt-hci.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/serial@40007800/bt_hci_uart) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 39287 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + +/* Bus info (controller: '/soc/serial@40007800', type: '['uart']') */ + + + +/* Macros for properties that are special in the specification: */ +# 39325 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 39386 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/quadspi_bk1_io0_pd11 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_quadspi_bk1_io0_pd11 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 39428 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 39490 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/quadspi_bk1_io1_pd12 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_quadspi_bk1_io1_pd12 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 39532 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 39594 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/quadspi_bk1_io2_pe2 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_quadspi_bk1_io2_pe2 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 39636 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 39698 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/quadspi_bk1_io3_pf6 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_quadspi_bk1_io3_pf6 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 39740 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 39802 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/quadspi_bk1_ncs_pg6 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_quadspi_bk1_ncs_pg6 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 39844 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 39906 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/pin-controller@58020000/quadspi_clk_pf10 + * + * Node identifier: DT_N_S_soc_S_pin_controller_58020000_S_quadspi_clk_pf10 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/pin-controller@58020000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 39948 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ + + + + + + + +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 40010 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/spi@52005000 + * + * Node identifier: DT_N_S_soc_S_spi_52005000 + * + * Binding (compatible = st,stm32-qspi): + * $ZEPHYR_BASE/dts/bindings/qspi/st,stm32-qspi.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 40055 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ +# 40074 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 40106 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ +# 40120 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Generic property macros: */ +# 40236 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/spi@52005000/qspi-nor-flash@90000000 + * + * Node identifier: DT_N_S_soc_S_spi_52005000_S_qspi_nor_flash_90000000 + * + * Binding (compatible = st,stm32-qspi-nor): + * $ZEPHYR_BASE/dts/bindings/flash_controller/st,stm32-qspi-nor.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/spi@52005000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 40281 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + + +/* Bus info (controller: '/soc/spi@52005000', type: '['qspi']') */ + + + +/* Macros for properties that are special in the specification: */ +# 40322 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 40373 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/spi@52005000/qspi-nor-flash@90000000/partitions + * + * Node identifier: DT_N_S_soc_S_spi_52005000_S_qspi_nor_flash_90000000_S_partitions + * + * Binding (compatible = fixed-partitions): + * $ZEPHYR_BASE/dts/bindings/mtd/fixed-partitions.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/spi@52005000/qspi-nor-flash@90000000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 40418 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ +# 40447 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* (No generic property macros) */ + +/* + * Devicetree node: /soc/spi@52005000/qspi-nor-flash@90000000/partitions/partition@0 + * + * Node identifier: DT_N_S_soc_S_spi_52005000_S_qspi_nor_flash_90000000_S_partitions_S_partition_0 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/spi@52005000/qspi-nor-flash@90000000/partitions) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 40494 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ +# 40523 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* fixed-partitions identifier: */ + + +/* Generic property macros: */ +# 40551 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/spi@52005000/qspi-nor-flash@90000000/partitions/partition@100000 + * + * Node identifier: DT_N_S_soc_S_spi_52005000_S_qspi_nor_flash_90000000_S_partitions_S_partition_100000 + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/spi@52005000/qspi-nor-flash@90000000/partitions) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 40593 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ +# 40622 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* fixed-partitions identifier: */ + + +/* Generic property macros: */ +# 40650 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/timers@40000000/counter + * + * Node identifier: DT_N_S_soc_S_timers_40000000_S_counter + * + * Binding (compatible = st,stm32-counter): + * $ZEPHYR_BASE/dts/bindings/counter/st,stm32-counter.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/timers@40000000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 40695 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ +# 40726 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 40763 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/timers@40000400/counter + * + * Node identifier: DT_N_S_soc_S_timers_40000400_S_counter + * + * Binding (compatible = st,stm32-counter): + * $ZEPHYR_BASE/dts/bindings/counter/st,stm32-counter.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/timers@40000400) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 40808 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ +# 40839 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 40876 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/timers@40000800/counter + * + * Node identifier: DT_N_S_soc_S_timers_40000800_S_counter + * + * Binding (compatible = st,stm32-counter): + * $ZEPHYR_BASE/dts/bindings/counter/st,stm32-counter.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/timers@40000800) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 40921 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ +# 40952 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 40989 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/timers@40000c00 + * + * Node identifier: DT_N_S_soc_S_timers_40000c00 + * + * Binding (compatible = st,stm32-timers): + * $ZEPHYR_BASE/dts/bindings/timer/st,stm32-timers.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 41034 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + + +/* Ordinals for what depends directly on this node: */ + + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 41086 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 41173 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/timers@40000c00/counter + * + * Node identifier: DT_N_S_soc_S_timers_40000c00_S_counter + * + * Binding (compatible = st,stm32-counter): + * $ZEPHYR_BASE/dts/bindings/counter/st,stm32-counter.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/timers@40000c00) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 41218 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ +# 41249 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 41286 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/timers@40000c00/pwm + * + * Node identifier: DT_N_S_soc_S_timers_40000c00_S_pwm + * + * Binding (compatible = st,stm32-pwm): + * $ZEPHYR_BASE/dts/bindings/pwm/st,stm32-pwm.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/timers@40000c00) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 41331 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ +# 41362 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 41401 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/timers@40001000 + * + * Node identifier: DT_N_S_soc_S_timers_40001000 + * + * Binding (compatible = st,stm32-timers): + * $ZEPHYR_BASE/dts/bindings/timer/st,stm32-timers.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 41446 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 41497 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 41584 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/timers@40001000/counter + * + * Node identifier: DT_N_S_soc_S_timers_40001000_S_counter + * + * Binding (compatible = st,stm32-counter): + * $ZEPHYR_BASE/dts/bindings/counter/st,stm32-counter.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/timers@40001000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 41629 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ +# 41660 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 41697 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/timers@40001400 + * + * Node identifier: DT_N_S_soc_S_timers_40001400 + * + * Binding (compatible = st,stm32-timers): + * $ZEPHYR_BASE/dts/bindings/timer/st,stm32-timers.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 41742 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + + +/* Ordinals for what depends directly on this node: */ + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 41793 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 41880 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/timers@40001400/counter + * + * Node identifier: DT_N_S_soc_S_timers_40001400_S_counter + * + * Binding (compatible = st,stm32-counter): + * $ZEPHYR_BASE/dts/bindings/counter/st,stm32-counter.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/timers@40001400) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 41925 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ +# 41956 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 41993 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/timers@40001800 + * + * Node identifier: DT_N_S_soc_S_timers_40001800 + * + * Binding (compatible = st,stm32-timers): + * $ZEPHYR_BASE/dts/bindings/timer/st,stm32-timers.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 42038 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + + +/* Ordinals for what depends directly on this node: */ + + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 42090 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 42177 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/timers@40001800/counter + * + * Node identifier: DT_N_S_soc_S_timers_40001800_S_counter + * + * Binding (compatible = st,stm32-counter): + * $ZEPHYR_BASE/dts/bindings/counter/st,stm32-counter.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/timers@40001800) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 42222 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ +# 42253 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 42290 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/timers@40001800/pwm + * + * Node identifier: DT_N_S_soc_S_timers_40001800_S_pwm + * + * Binding (compatible = st,stm32-pwm): + * $ZEPHYR_BASE/dts/bindings/pwm/st,stm32-pwm.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/timers@40001800) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 42335 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ +# 42366 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 42405 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/timers@40001c00 + * + * Node identifier: DT_N_S_soc_S_timers_40001c00 + * + * Binding (compatible = st,stm32-timers): + * $ZEPHYR_BASE/dts/bindings/timer/st,stm32-timers.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 42450 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + + +/* Ordinals for what depends directly on this node: */ + + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 42502 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 42589 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/timers@40001c00/counter + * + * Node identifier: DT_N_S_soc_S_timers_40001c00_S_counter + * + * Binding (compatible = st,stm32-counter): + * $ZEPHYR_BASE/dts/bindings/counter/st,stm32-counter.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/timers@40001c00) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 42634 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ +# 42665 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 42702 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/timers@40001c00/pwm + * + * Node identifier: DT_N_S_soc_S_timers_40001c00_S_pwm + * + * Binding (compatible = st,stm32-pwm): + * $ZEPHYR_BASE/dts/bindings/pwm/st,stm32-pwm.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/timers@40001c00) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 42747 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ +# 42778 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 42817 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/timers@40002000 + * + * Node identifier: DT_N_S_soc_S_timers_40002000 + * + * Binding (compatible = st,stm32-timers): + * $ZEPHYR_BASE/dts/bindings/timer/st,stm32-timers.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 42862 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + + +/* Ordinals for what depends directly on this node: */ + + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 42914 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 43001 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/timers@40002000/counter + * + * Node identifier: DT_N_S_soc_S_timers_40002000_S_counter + * + * Binding (compatible = st,stm32-counter): + * $ZEPHYR_BASE/dts/bindings/counter/st,stm32-counter.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/timers@40002000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 43046 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ +# 43077 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 43114 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/timers@40002000/pwm + * + * Node identifier: DT_N_S_soc_S_timers_40002000_S_pwm + * + * Binding (compatible = st,stm32-pwm): + * $ZEPHYR_BASE/dts/bindings/pwm/st,stm32-pwm.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/timers@40002000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 43159 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ +# 43190 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 43229 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/timers@40010000/pwm/pwmclock + * + * Node identifier: DT_N_S_soc_S_timers_40010000_S_pwm_S_pwmclock + * + * Binding (compatible = pwm-clock): + * $ZEPHYR_BASE/dts/bindings/clock/pwm-clock.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/timers@40010000/pwm) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 43274 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 43302 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 43357 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/timers@40014000 + * + * Node identifier: DT_N_S_soc_S_timers_40014000 + * + * Binding (compatible = st,stm32-timers): + * $ZEPHYR_BASE/dts/bindings/timer/st,stm32-timers.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 43402 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + + +/* Ordinals for what depends directly on this node: */ + + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 43454 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 43541 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/timers@40014000/counter + * + * Node identifier: DT_N_S_soc_S_timers_40014000_S_counter + * + * Binding (compatible = st,stm32-counter): + * $ZEPHYR_BASE/dts/bindings/counter/st,stm32-counter.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/timers@40014000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 43586 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ +# 43617 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 43654 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/timers@40014000/pwm + * + * Node identifier: DT_N_S_soc_S_timers_40014000_S_pwm + * + * Binding (compatible = st,stm32-pwm): + * $ZEPHYR_BASE/dts/bindings/pwm/st,stm32-pwm.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/timers@40014000) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 43699 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ +# 43730 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 43769 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/timers@40014400 + * + * Node identifier: DT_N_S_soc_S_timers_40014400 + * + * Binding (compatible = st,stm32-timers): + * $ZEPHYR_BASE/dts/bindings/timer/st,stm32-timers.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 43814 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + + +/* Ordinals for what depends directly on this node: */ + + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 43866 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 43953 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/timers@40014400/counter + * + * Node identifier: DT_N_S_soc_S_timers_40014400_S_counter + * + * Binding (compatible = st,stm32-counter): + * $ZEPHYR_BASE/dts/bindings/counter/st,stm32-counter.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/timers@40014400) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 43998 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ +# 44029 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 44066 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/timers@40014400/pwm + * + * Node identifier: DT_N_S_soc_S_timers_40014400_S_pwm + * + * Binding (compatible = st,stm32-pwm): + * $ZEPHYR_BASE/dts/bindings/pwm/st,stm32-pwm.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/timers@40014400) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 44111 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ +# 44142 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 44181 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/timers@40014800 + * + * Node identifier: DT_N_S_soc_S_timers_40014800 + * + * Binding (compatible = st,stm32-timers): + * $ZEPHYR_BASE/dts/bindings/timer/st,stm32-timers.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 44226 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + + + + +/* Ordinals for what depends directly on this node: */ + + + + +/* Existence and alternate IDs: */ + + + + +/* Macros for properties that are special in the specification: */ +# 44278 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 44365 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/timers@40014800/counter + * + * Node identifier: DT_N_S_soc_S_timers_40014800_S_counter + * + * Binding (compatible = st,stm32-counter): + * $ZEPHYR_BASE/dts/bindings/counter/st,stm32-counter.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/timers@40014800) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 44410 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ +# 44441 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 44478 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Devicetree node: /soc/timers@40014800/pwm + * + * Node identifier: DT_N_S_soc_S_timers_40014800_S_pwm + * + * Binding (compatible = st,stm32-pwm): + * $ZEPHYR_BASE/dts/bindings/pwm/st,stm32-pwm.yaml + * + * (Descriptions have moved to the Devicetree Bindings Index + * in the documentation.) + */ + +/* Node's full path: */ + + +/* Node's name with unit-address: */ + + + + + +/* Node parent (/soc/timers@40014800) identifier: */ + + +/* Node's index in its parent's list of children: */ + + +/* Helpers for dealing with node labels: */ + + + + + +/* Helper macros for child nodes of this node. */ +# 44523 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Node's hash: */ + + +/* Node's dependency ordinal: */ + + + +/* Ordinals for what this node depends on directly: */ + + + +/* Ordinals for what depends directly on this node: */ + + +/* Existence and alternate IDs: */ + + + +/* Macros for properties that are special in the specification: */ +# 44554 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Pin control (pinctrl-, pinctrl-names) properties: */ + + +/* Generic property macros: */ +# 44593 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Chosen nodes + */ +# 44623 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* Macros for iterating over all nodes and enabled nodes */ +# 44637 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Macros for compatibles with status "okay" nodes + */ +# 44703 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Macros for status "okay" instances of each compatible + */ +# 45017 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/devicetree_generated.h" +/* + * Bus information for status "okay" nodes of each compatible + */ +# 20 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/devicetree.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/irq_multilevel.h" 1 +/* + * Copyright (c) 2023 Meta + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Public interface for multi-level interrupts + */ + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/__assert.h" 1 +/* + * Copyright (c) 2011-2014 Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 16 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/irq_multilevel.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util_macro.h" 1 +/* + * Copyright (c) 2011-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Macro utilities + * + * Macro utilities are the public interface for C/C++ code and device tree + * related implementation. In general, C/C++ will include + * instead this file directly. For device tree implementation, this file + * should be include instead + */ +# 17 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/irq_multilevel.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/types.h" 1 +/* + * Copyright (c) 2017 Linaro Limited + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 18 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/irq_multilevel.h" 2 + + +extern "C" { +# 397 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/irq_multilevel.h" +} +# 21 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/devicetree.h" 2 + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ +# 24 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/devicetree.h" 2 + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util.h" +/* + * Copyright (c) 2011-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Misc utilities + * + * Misc utilities usable by the kernel and application code. + */ +# 27 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/devicetree.h" 2 + +/** + * @brief devicetree.h API + * @defgroup devicetree Devicetree + * @since 2.2 + * @version 1.2.0 + * @{ + * @} + */ + +/* + * Property suffixes + * ----------------- + * + * These are the optional parts that come after the _P_ + * part in DT_N__P_ macros, or the "prop-suf" + * nonterminal in the DT guide's macros.bnf file. + * + * Before adding new ones, check this list to avoid conflicts. If any + * are missing from this list, please add them. It should be complete. + * + * _ENUM_IDX: property's value as an index into bindings enum + * _ENUM_VAL__EXISTS property's value as a token exists + * _EXISTS: property is defined + * _FOREACH_PROP_ELEM: helper for "iterating" over values in the property + * _FOREACH_PROP_ELEM_VARGS: foreach functions with variable number of arguments + * _IDX_: logical index into property + * _IDX__EXISTS: logical index into property is defined + * _IDX__PH: phandle array's phandle by index (or phandle, phandles) + * _IDX__STRING_TOKEN: string array element value as a token + * _IDX__STRING_UPPER_TOKEN: string array element value as a uppercased token + * _IDX _STRING_UNQUOTED: string array element value as a sequence of tokens, with no quotes + * _IDX__VAL_: phandle array's specifier value by index + * _IDX__VAL__EXISTS: cell value exists, by index + * _LEN: property logical length + * _NAME__PH: phandle array's phandle by name + * _NAME__VAL_: phandle array's property specifier by name + * _NAME__VAL__EXISTS: cell value exists, by name + * _STRING_TOKEN: string property's value as a token + * _STRING_UPPER_TOKEN: like _STRING_TOKEN, but uppercased + * _STRING_UNQUOTED: string property's value as a sequence of tokens, with no quotes + */ + +/** + * @defgroup devicetree-generic-id Node identifiers and helpers + * @ingroup devicetree + * @{ + */ + +/** + * @brief Name for an invalid node identifier + * + * This supports cases where factored macros can be invoked from paths where + * devicetree data may or may not be available. It is a preprocessor identifier + * that does not match any valid devicetree node identifier. + */ + + +/** + * @brief Node identifier for the root node in the devicetree + */ + + +/** + * @brief Get a node identifier for a devicetree path + * + * @note This macro returns a node identifier from path components. To get + * a path string from a node identifier, use DT_NODE_PATH() instead. + * + * The arguments to this macro are the names of non-root nodes in the + * tree required to reach the desired node, starting from the root. + * Non-alphanumeric characters in each name must be converted to + * underscores to form valid C tokens, and letters must be lowercased. + * + * Example devicetree fragment: + * + * @code{.dts} + * / { + * soc { + * serial1: serial@40001000 { + * status = "okay"; + * current-speed = <115200>; + * ... + * }; + * }; + * }; + * @endcode + * + * You can use `DT_PATH(soc, serial_40001000)` to get a node identifier + * for the `serial@40001000` node. Node labels like `serial1` cannot be + * used as DT_PATH() arguments; use DT_NODELABEL() for those instead. + * + * Example usage with DT_PROP() to get the `current-speed` property: + * + * @code{.c} + * DT_PROP(DT_PATH(soc, serial_40001000), current_speed) // 115200 + * @endcode + * + * (The `current-speed` property is also in `lowercase-and-underscores` + * form when used with this API.) + * + * When determining arguments to DT_PATH(): + * + * - the first argument corresponds to a child node of the root (`soc` above) + * - a second argument corresponds to a child of the first argument + * (`serial_40001000` above, from the node name `serial@40001000` + * after lowercasing and changing `@` to `_`) + * - and so on for deeper nodes in the desired node's path + * + * @param ... lowercase-and-underscores node names along the node's path, + * with each name given as a separate argument + * @return node identifier for the node with that path + */ + + +/** + * @brief Get a node identifier for a node label + * + * Convert non-alphanumeric characters in the node label to + * underscores to form valid C tokens, and lowercase all letters. Note + * that node labels are not the same thing as label properties. + * + * Example devicetree fragment: + * + * @code{.dts} + * serial1: serial@40001000 { + * label = "UART_0"; + * status = "okay"; + * current-speed = <115200>; + * ... + * }; + * @endcode + * + * The only node label in this example is `serial1`. + * + * The string `UART_0` is *not* a node label; it's the value of a + * property named label. + * + * You can use `DT_NODELABEL(serial1)` to get a node identifier for the + * `serial@40001000` node. Example usage with DT_PROP() to get the + * current-speed property: + * + * @code{.c} + * DT_PROP(DT_NODELABEL(serial1), current_speed) // 115200 + * @endcode + * + * Another example devicetree fragment: + * + * @code{.dts} + * cpu@0 { + * L2_0: l2-cache { + * cache-level = <2>; + * ... + * }; + * }; + * @endcode + * + * Example usage to get the cache-level property: + * + * @code{.c} + * DT_PROP(DT_NODELABEL(l2_0), cache_level) // 2 + * @endcode + * + * Notice how `L2_0` in the devicetree is lowercased to `l2_0` in the + * DT_NODELABEL() argument. + * + * @param label lowercase-and-underscores node label name + * @return node identifier for the node with that label + */ + + +/** + * @brief Get a node identifier from /aliases + * + * This macro's argument is a property of the `/aliases` node. It + * returns a node identifier for the node which is aliased. Convert + * non-alphanumeric characters in the alias property to underscores to + * form valid C tokens, and lowercase all letters. + * + * Example devicetree fragment: + * + * @code{.dts} + * / { + * aliases { + * my-serial = &serial1; + * }; + * + * soc { + * serial1: serial@40001000 { + * status = "okay"; + * current-speed = <115200>; + * ... + * }; + * }; + * }; + * @endcode + * + * You can use DT_ALIAS(my_serial) to get a node identifier for the + * `serial@40001000` node. Notice how `my-serial` in the devicetree + * becomes `my_serial` in the DT_ALIAS() argument. Example usage with + * DT_PROP() to get the current-speed property: + * + * @code{.c} + * DT_PROP(DT_ALIAS(my_serial), current_speed) // 115200 + * @endcode + * + * @param alias lowercase-and-underscores alias name. + * @return node identifier for the node with that alias + */ + + +/** + * @brief Test if the devicetree has a given alias + * @param alias_name lowercase-and-underscores devicetree alias name + * @return 1 if the alias exists and refers to a node, 0 otherwise + */ + + +/** + * @brief Get the hash associated with a DT node + * + * Get the hash for the specified node_id. The hash is calculated on the + * full devicetree path of the node. + * @param node_id node identifier + * @return hash value as a preprocessor token + */ + + +/** + * @brief Get a node identifier for an instance of a compatible + * + * All nodes with a particular compatible property value are assigned + * instance numbers, which are zero-based indexes specific to that + * compatible. You can get a node identifier for these nodes by + * passing DT_INST() an instance number, @p inst, along with the + * lowercase-and-underscores version of the compatible, @p compat. + * + * Instance numbers have the following properties: + * + * - for each compatible, instance numbers start at 0 and are contiguous + * - exactly one instance number is assigned for each node with a compatible, + * **including disabled nodes** + * - enabled nodes (status property is `okay` or missing) are assigned the + * instance numbers starting from 0, and disabled nodes have instance + * numbers which are greater than those of any enabled node + * + * No other guarantees are made. In particular: + * + * - instance numbers **in no way reflect** any numbering scheme that + * might exist in SoC documentation, node labels or unit addresses, + * or properties of the /aliases node (use DT_NODELABEL() or DT_ALIAS() + * for those) + * - there **is no general guarantee** that the same node will have + * the same instance number between builds, even if you are building + * the same application again in the same build directory + * + * Example devicetree fragment: + * + * @code{.dts} + * serial1: serial@40001000 { + * compatible = "vnd,soc-serial"; + * status = "disabled"; + * current-speed = <9600>; + * ... + * }; + * + * serial2: serial@40002000 { + * compatible = "vnd,soc-serial"; + * status = "okay"; + * current-speed = <57600>; + * ... + * }; + * + * serial3: serial@40003000 { + * compatible = "vnd,soc-serial"; + * current-speed = <115200>; + * ... + * }; + * @endcode + * + * Assuming no other nodes in the devicetree have compatible + * `"vnd,soc-serial"`, that compatible has nodes with instance numbers + * 0, 1, and 2. + * + * The nodes `serial@40002000` and `serial@40003000` are both enabled, so + * their instance numbers are 0 and 1, but no guarantees are made + * regarding which node has which instance number. + * + * Since `serial@40001000` is the only disabled node, it has instance + * number 2, since disabled nodes are assigned the largest instance + * numbers. Therefore: + * + * @code{.c} + * // Could be 57600 or 115200. There is no way to be sure: + * // either serial@40002000 or serial@40003000 could + * // have instance number 0, so this could be the current-speed + * // property of either of those nodes. + * DT_PROP(DT_INST(0, vnd_soc_serial), current_speed) + * + * // Could be 57600 or 115200, for the same reason. + * // If the above expression expands to 57600, then + * // this expands to 115200, and vice-versa. + * DT_PROP(DT_INST(1, vnd_soc_serial), current_speed) + * + * // 9600, because there is only one disabled node, and + * // disabled nodes are "at the end" of the instance + * // number "list". + * DT_PROP(DT_INST(2, vnd_soc_serial), current_speed) + * @endcode + * + * Notice how `"vnd,soc-serial"` in the devicetree becomes `vnd_soc_serial` + * (without quotes) in the DT_INST() arguments. (As usual, `current-speed` + * in the devicetree becomes `current_speed` as well.) + * + * Nodes whose `compatible` property has multiple values are assigned + * independent instance numbers for each compatible. + * + * @param inst instance number for compatible @p compat + * @param compat lowercase-and-underscores compatible, without quotes + * @return node identifier for the node with that instance number and + * compatible + */ + + +/** + * @brief Get a node identifier for a parent node + * + * Example devicetree fragment: + * + * @code{.dts} + * parent: parent-node { + * child: child-node { + * ... + * }; + * }; + * @endcode + * + * The following are equivalent ways to get the same node identifier: + * + * @code{.c} + * DT_NODELABEL(parent) + * DT_PARENT(DT_NODELABEL(child)) + * @endcode + * + * @param node_id node identifier + * @return a node identifier for the node's parent + */ + + +/** + * @brief Get a node identifier for a grandparent node + * + * Example devicetree fragment: + * + * @code{.dts} + * gparent: grandparent-node { + * parent: parent-node { + * child: child-node { ... } + * }; + * }; + * @endcode + * + * The following are equivalent ways to get the same node identifier: + * + * @code{.c} + * DT_GPARENT(DT_NODELABEL(child)) + * DT_PARENT(DT_PARENT(DT_NODELABEL(child)) + * @endcode + * + * @param node_id node identifier + * @return a node identifier for the node's parent's parent + */ + + +/** + * @brief Get a node identifier for a child node + * + * Example devicetree fragment: + * + * @code{.dts} + * / { + * soc-label: soc { + * serial1: serial@40001000 { + * status = "okay"; + * current-speed = <115200>; + * ... + * }; + * }; + * }; + * @endcode + * + * Example usage with DT_PROP() to get the status of the + * `serial@40001000` node: + * + * @code{.c} + * #define SOC_NODE DT_NODELABEL(soc_label) + * DT_PROP(DT_CHILD(SOC_NODE, serial_40001000), status) // "okay" + * @endcode + * + * Node labels like `serial1` cannot be used as the @p child argument + * to this macro. Use DT_NODELABEL() for that instead. + * + * You can also use DT_FOREACH_CHILD() to iterate over node + * identifiers for all of a node's children. + * + * @param node_id node identifier + * @param child lowercase-and-underscores child node name + * @return node identifier for the node with the name referred to by 'child' + */ + + +/** + * @brief Get a node identifier for a status `okay` node with a compatible + * + * Use this if you want to get an arbitrary enabled node with a given + * compatible, and you do not care which one you get. If any enabled + * nodes with the given compatible exist, a node identifier for one + * of them is returned. Otherwise, @ref DT_INVALID_NODE is returned. + * + * Example devicetree fragment: + * + * @code{.dts} + * node-a { + * compatible = "vnd,device"; + * status = "okay"; + * }; + * + * node-b { + * compatible = "vnd,device"; + * status = "okay"; + * }; + * + * node-c { + * compatible = "vnd,device"; + * status = "disabled"; + * }; + * @endcode + * + * Example usage: + * + * @code{.c} + * DT_COMPAT_GET_ANY_STATUS_OKAY(vnd_device) + * @endcode + * + * This expands to a node identifier for either `node-a` or `node-b`. + * It will not expand to a node identifier for `node-c`, because that + * node does not have status `okay`. + * + * @param compat lowercase-and-underscores compatible, without quotes + * @return node identifier for a node with that compatible, or + * @ref DT_INVALID_NODE + */ + + + + + +/** + * @brief Get a devicetree node's full path as a string literal + * + * This returns the path to a node from a node identifier. To get a + * node identifier from path components instead, use DT_PATH(). + * + * Example devicetree fragment: + * + * @code{.dts} + * / { + * soc { + * node: my-node@12345678 { ... }; + * }; + * }; + * @endcode + * + * Example usage: + * + * @code{.c} + * DT_NODE_PATH(DT_NODELABEL(node)) // "/soc/my-node@12345678" + * DT_NODE_PATH(DT_PATH(soc)) // "/soc" + * DT_NODE_PATH(DT_ROOT) // "/" + * @endcode + * + * @param node_id node identifier + * @return the node's full path in the devicetree + */ + + +/** + * @brief Get a devicetree node's name with unit-address as a string literal + * + * This returns the node name and unit-address from a node identifier. + * + * Example devicetree fragment: + * + * @code{.dts} + * / { + * soc { + * node: my-node@12345678 { ... }; + * }; + * }; + * @endcode + * + * Example usage: + * + * @code{.c} + * DT_NODE_FULL_NAME(DT_NODELABEL(node)) // "my-node@12345678" + * @endcode + * + * @param node_id node identifier + * @return the node's name with unit-address as a string in the devicetree + */ + + +/** + * @brief Get the node's full name, including the unit-address, as an unquoted + * sequence of tokens + * + * This macro returns removed "the quotes" from the node's full name. + * + * Example devicetree fragment: + * + * @code{.dts} + * / { + * soc { + * node: my-node@12345678 { ... }; + * }; + * }; + * @endcode + * + * Example usage: + * + * @code{.c} + * DT_NODE_FULL_NAME_UNQUOTED(DT_NODELABEL(node)) // my-node@12345678 + * @endcode + * + * @param node_id node identifier + * @return the node's full name with unit-address as a sequence of tokens, + * with no quotes + */ + + +/** + * @brief Get the node's full name, including the unit-address, as a token. + * + * This macro returns removed "the quotes" from the node's full name and + * converting any non-alphanumeric characters to underscores. + * + * Example devicetree fragment: + * + * @code{.dts} + * / { + * soc { + * node: my-node@12345678 { ... }; + * }; + * }; + * @endcode + * + * Example usage: + * + * @code{.c} + * DT_NODE_FULL_NAME_TOKEN(DT_NODELABEL(node)) // my_node_12345678 + * @endcode + * + * @param node_id node identifier + * @return the node's full name with unit-address as a token, i.e. without any quotes + * and with special characters converted to underscores + */ + + +/** + * @brief Like DT_NODE_FULL_NAME_TOKEN(), but uppercased. + * + * This macro returns removed "the quotes" from the node's full name, + * converting any non-alphanumeric characters to underscores, and + * capitalizing the result. + * + * Example devicetree fragment: + * + * @code{.dts} + * / { + * soc { + * node: my-node@12345678 { ... }; + * }; + * }; + * @endcode + * + * Example usage: + * + * @code{.c} + * DT_NODE_FULL_NAME_UPPER_TOKEN(DT_NODELABEL(node)) // MY_NODE_12345678 + * @endcode + * + * @param node_id node identifier + * @return the node's full name with unit-address as an uppercased token, + * i.e. without any quotes and with special characters converted + * to underscores + */ + + +/** + * @brief Get a devicetree node's index into its parent's list of children + * + * Indexes are zero-based. + * + * It is an error to use this macro with the root node. + * + * Example devicetree fragment: + * + * @code{.dts} + * parent { + * c1: child-1 {}; + * c2: child-2 {}; + * }; + * @endcode + * + * Example usage: + * + * @code{.c} + * DT_NODE_CHILD_IDX(DT_NODELABEL(c1)) // 0 + * DT_NODE_CHILD_IDX(DT_NODELABEL(c2)) // 1 + * @endcode + * + * @param node_id node identifier + * @return the node's index in its parent node's list of children + */ + + +/** + * @brief Get the number of child nodes of a given node + * + * @param node_id a node identifier + * @return Number of child nodes + */ + + + +/** + * @brief Get the number of child nodes of a given node + * which child nodes' status are okay + * + * @param node_id a node identifier + * @return Number of child nodes which status are okay + */ + + + +/** + * @brief Do @p node_id1 and @p node_id2 refer to the same node? + * + * Both @p node_id1 and @p node_id2 must be node identifiers for nodes + * that exist in the devicetree (if unsure, you can check with + * DT_NODE_EXISTS()). + * + * The expansion evaluates to 0 or 1, but may not be a literal integer + * 0 or 1. + * + * @internal + * Implementation note: distinct nodes have distinct node identifiers. + * See include/zephyr/devicetree/ordinals.h. + * @endinternal + * + * @param node_id1 first node identifier + * @param node_id2 second node identifier + * @return an expression that evaluates to 1 if the node identifiers + * refer to the same node, and evaluates to 0 otherwise + */ + + + +/** + * @brief Get a devicetree node's node labels as an array of strings + * + * Example devicetree fragment: + * + * @code{.dts} + * foo: bar: node@deadbeef {}; + * @endcode + * + * Example usage: + * + * @code{.c} + * DT_NODELABEL_STRING_ARRAY(DT_NODELABEL(foo)) + * @endcode + * + * This expands to: + * + * @code{.c} + * { "foo", "bar", } + * @endcode + * + * @param node_id node identifier + * @return an array initializer for an array of the node's node labels as strings + */ + + + +/** + * @} + */ + +/** + * @defgroup devicetree-generic-prop Property accessors + * @ingroup devicetree + * @{ + */ + +/** + * @brief Get a devicetree property value + * + * For properties whose bindings have the following types, this macro + * expands to: + * + * - string: a string literal + * - boolean: `0` if the property is false, or `1` if it is true + * - int: the property's value as an integer literal + * - array, uint8-array, string-array: an initializer expression in braces, + * whose elements are integer or string literals (like `{0, 1, 2}`, + * `{"hello", "world"}`, etc.) + * - phandle: a node identifier for the node with that phandle + * + * A property's type is usually defined by its binding. In some + * special cases, it has an assumed type defined by the devicetree + * specification even when no binding is available: `compatible` has + * type string-array, `status` has type string, and + * `interrupt-controller` has type boolean. + * + * For other properties or properties with unknown type due to a + * missing binding, behavior is undefined. + * + * For usage examples, see DT_PATH(), DT_ALIAS(), DT_NODELABEL(), + * and DT_INST() above. + * + * @param node_id node identifier + * @param prop lowercase-and-underscores property name + * @return a representation of the property's value + */ + + +/** + * @brief Get a property's logical length + * + * Here, "length" is a number of elements, which may differ from the + * property's size in bytes. + * + * The return value depends on the property's type: + * + * - for types array, string-array, and uint8-array, this expands + * to the number of elements in the array + * - for type phandles, this expands to the number of phandles + * - for type phandle-array, this expands to the number of + * phandle and specifier blocks in the property + * - for type phandle, this expands to 1 (so that a phandle + * can be treated as a degenerate case of phandles with length 1) + * - for type string, this expands to 1 (so that a string can be + * treated as a degenerate case of string-array with length 1) + * + * These properties are handled as special cases: + * + * - reg property: use `DT_NUM_REGS(node_id)` instead + * - interrupts property: use `DT_NUM_IRQS(node_id)` instead + * + * It is an error to use this macro with the `ranges`, `dma-ranges`, `reg` + * or `interrupts` properties. + * + * For other properties, behavior is undefined. + * + * @param node_id node identifier + * @param prop a lowercase-and-underscores property with a logical length + * @return the property's length + */ + + +/** + * @brief Like DT_PROP_LEN(), but with a fallback to @p default_value + * + * If the property is defined (as determined by DT_NODE_HAS_PROP()), + * this expands to DT_PROP_LEN(node_id, prop). The @p default_value + * parameter is not expanded in this case. + * + * Otherwise, this expands to @p default_value. + * + * @param node_id node identifier + * @param prop a lowercase-and-underscores property with a logical length + * @param default_value a fallback value to expand to + * @return the property's length or the given default value + */ + + + + +/** + * @brief Is index @p idx valid for an array type property? + * + * If this returns 1, then DT_PROP_BY_IDX(node_id, prop, idx) or + * DT_PHA_BY_IDX(node_id, prop, idx, ...) are valid at index @p idx. + * If it returns 0, it is an error to use those macros with that index. + * + * These properties are handled as special cases: + * + * - `reg` property: use DT_REG_HAS_IDX(node_id, idx) instead + * - `interrupts` property: use DT_IRQ_HAS_IDX(node_id, idx) instead + * + * It is an error to use this macro with the `reg` or `interrupts` properties. + * + * @param node_id node identifier + * @param prop a lowercase-and-underscores property with a logical length + * @param idx index to check + * @return An expression which evaluates to 1 if @p idx is a valid index + * into the given property, and 0 otherwise. + */ + + + +/** + * @brief Is name @p name available in a `foo-names` property? + * + * This property is handled as special case: + * + * - `interrupts` property: use DT_IRQ_HAS_NAME(node_id, idx) instead + * + * It is an error to use this macro with the `interrupts` property. + * + * Example devicetree fragment: + * + * @code{.dts} + * nx: node-x { + * foos = <&bar xx yy>, <&baz xx zz>; + * foo-names = "event", "error"; + * status = "okay"; + * }; + * @endcode + * + * Example usage: + * + * @code{.c} + * DT_PROP_HAS_NAME(DT_NODELABEL(nx), foos, event) // 1 + * DT_PROP_HAS_NAME(DT_NODELABEL(nx), foos, failure) // 0 + * @endcode + * + * @param node_id node identifier + * @param prop a lowercase-and-underscores `prop-names` type property + * @param name a lowercase-and-underscores name to check + * @return An expression which evaluates to 1 if "name" is an available + * name into the given property, and 0 otherwise. + */ + + + +/** + * @brief Get the value at index @p idx in an array type property + * + * It might help to read the argument order as being similar to + * `node->property[index]`. + * + * The return value depends on the property's type: + * + * - for types array, string-array, uint8-array, and phandles, + * this expands to the idx-th array element as an + * integer, string literal, integer, and node identifier + * respectively + * + * - for type phandle, idx must be 0 and the expansion is a node + * identifier (this treats phandle like a phandles of length 1) + * + * - for type string, idx must be 0 and the expansion is the + * entire string (this treats string like string-array of length 1) + * + * These properties are handled as special cases: + * + * - `reg`: use DT_REG_ADDR_BY_IDX() or DT_REG_SIZE_BY_IDX() instead + * - `interrupts`: use DT_IRQ_BY_IDX() + * - `ranges`: use DT_NUM_RANGES() + * - `dma-ranges`: it is an error to use this property with + * DT_PROP_BY_IDX() + * + * For properties of other types, behavior is undefined. + * + * @param node_id node identifier + * @param prop lowercase-and-underscores property name + * @param idx the index to get + * @return a representation of the idx-th element of the property + */ + + + +/** + * @brief Get the last element of an array type property + * + * @param node_id node identifier + * @param prop lowercase-and-underscores property name + * + * @return a representation of the last element of the property + */ + + + +/** + * @brief Like DT_PROP(), but with a fallback to @p default_value + * + * If the value exists, this expands to DT_PROP(node_id, prop). + * The @p default_value parameter is not expanded in this case. + * + * Otherwise, this expands to @p default_value. + * + * @param node_id node identifier + * @param prop lowercase-and-underscores property name + * @param default_value a fallback value to expand to + * @return the property's value or @p default_value + */ + + + + +/** + * @brief Get a property array value's index into its enumeration values + * + * The return values start at zero. + * + * Example devicetree fragment: + * + * @code{.dts} + * some_node: some-node { + * compat = "vend,enum-string-array"; + * foos = + * <&phandle val1>, + * <&phandle val2>, + * <&phandle val3>; + * foo-names = "default", "option3", "option1"; + * }; + * @endcode + * + * Example bindings fragment: + * + * @code{.yaml} + * compatible: vend,enum-string-array + * properties: + * foos: + * type: phandle-array + * description: | + * Explanation about what this phandle-array exactly is for. + * + * foo-names: + * type: string-array + * description: | + * Some explanation about the available options + * default: explain default + * option1: explain option1 + * option2: explain option2 + * option3: explain option3 + * enum: + * - default + * - option1 + * - option2 + * - option3 + * @endcode + * + * Example usage: + * + * @code{.c} + * DT_ENUM_IDX_BY_IDX(DT_NODELABEL(some_node), foo_names, 0) // 0 + * DT_ENUM_IDX_BY_IDX(DT_NODELABEL(some_node), foo_names, 2) // 1 + * @endcode + * + * @param node_id node identifier + * @param prop lowercase-and-underscores property name + * @param idx the index to get + * @return zero-based index of the property's value in its enum: list + */ + + + +/** + * @brief Equivalent to @ref DT_ENUM_IDX_BY_IDX(node_id, prop, 0). + * @param node_id node identifier + * @param prop lowercase-and-underscores property name + * @return zero-based index of the property's value in its enum: list + */ + + +/** + * @brief Like DT_ENUM_IDX_BY_IDX(), but with a fallback to a default enum index + * + * If the value exists, this expands to its zero based index value thanks to + * DT_ENUM_IDX_BY_IDX(node_id, prop, idx). + * + * Otherwise, this expands to provided default index enum value. + * + * @param node_id node identifier + * @param prop lowercase-and-underscores property name + * @param idx the index to get + * @param default_idx_value a fallback index value to expand to + * @return zero-based index of the property's value in its enum if present, + * default_idx_value otherwise + */ + + + + +/** + * @brief Equivalent to DT_ENUM_IDX_BY_IDX_OR(node_id, prop, 0, default_idx_value). + * @param node_id node identifier + * @param prop lowercase-and-underscores property name + * @param default_idx_value a fallback index value to expand to + * @return zero-based index of the property's value in its enum if present, + * default_idx_value otherwise + */ + + + +/** + * @brief Does a node enumeration property array have a given value? + * + * @param node_id node identifier + * @param prop lowercase-and-underscores property name + * @param idx the index to get + * @param value lowercase-and-underscores enumeration value + * @return 1 if the node property has the value @a value, 0 otherwise. + */ + + + +/** + * @brief Equivalent to DT_ENUM_HAS_VALUE_BY_IDX(node_id, prop, 0, value). + * @param node_id node identifier + * @param prop lowercase-and-underscores property name + * @param value lowercase-and-underscores enumeration value + * @return 1 if the node property has the value @a value, 0 otherwise. + */ + + + +/** + * @brief Get a string property's value as a token. + * + * This removes "the quotes" from a string property's value, + * converting any non-alphanumeric characters to underscores. This can + * be useful, for example, when programmatically using the value to + * form a C variable or code. + * + * DT_STRING_TOKEN() can only be used for properties with string type. + * + * It is an error to use DT_STRING_TOKEN() in other circumstances. + * + * Example devicetree fragment: + * + * @code{.dts} + * n1: node-1 { + * prop = "foo"; + * }; + * n2: node-2 { + * prop = "FOO"; + * } + * n3: node-3 { + * prop = "123 foo"; + * }; + * @endcode + * + * Example bindings fragment: + * + * @code{.yaml} + * properties: + * prop: + * type: string + * @endcode + * + * Example usage: + * + * @code{.c} + * DT_STRING_TOKEN(DT_NODELABEL(n1), prop) // foo + * DT_STRING_TOKEN(DT_NODELABEL(n2), prop) // FOO + * DT_STRING_TOKEN(DT_NODELABEL(n3), prop) // 123_foo + * @endcode + * + * Notice how: + * + * - Unlike C identifiers, the property values may begin with a + * number. It's the user's responsibility not to use such values as + * the name of a C identifier. + * + * - The uppercased `"FOO"` in the DTS remains `FOO` as a token. It is + * *not* converted to `foo`. + * + * - The whitespace in the DTS `"123 foo"` string is converted to + * `123_foo` as a token. + * + * @param node_id node identifier + * @param prop lowercase-and-underscores property name + * @return the value of @p prop as a token, i.e. without any quotes + * and with special characters converted to underscores + */ + + + +/** + * @brief Like DT_STRING_TOKEN(), but with a fallback to @p default_value + * + * If the value exists, this expands to DT_STRING_TOKEN(node_id, prop). + * The @p default_value parameter is not expanded in this case. + * + * Otherwise, this expands to @p default_value. + * + * @param node_id node identifier + * @param prop lowercase-and-underscores property name + * @param default_value a fallback value to expand to + * @return the property's value as a token, or @p default_value + */ + + + + +/** + * @brief Like DT_STRING_TOKEN(), but uppercased. + * + * This removes "the quotes" from a string property's value, + * converting any non-alphanumeric characters to underscores, and + * capitalizing the result. This can be useful, for example, when + * programmatically using the value to form a C variable or code. + * + * DT_STRING_UPPER_TOKEN() can only be used for properties with string type. + * + * It is an error to use DT_STRING_UPPER_TOKEN() in other circumstances. + * + * Example devicetree fragment: + * + * @code{.dts} + * n1: node-1 { + * prop = "foo"; + * }; + * n2: node-2 { + * prop = "123 foo"; + * }; + * @endcode + * + * Example bindings fragment: + * + * @code{.yaml} + * properties: + * prop: + * type: string + * + * @endcode + * + * Example usage: + * + * @code{.c} + * DT_STRING_UPPER_TOKEN(DT_NODELABEL(n1), prop) // FOO + * DT_STRING_UPPER_TOKEN(DT_NODELABEL(n2), prop) // 123_FOO + * @endcode + * + * Notice how: + * + * - Unlike C identifiers, the property values may begin with a + * number. It's the user's responsibility not to use such values as + * the name of a C identifier. + * + * - The lowercased `"foo"` in the DTS becomes `FOO` as a token, i.e. + * it is uppercased. + * + * - The whitespace in the DTS `"123 foo"` string is converted to + * `123_FOO` as a token, i.e. it is uppercased and whitespace becomes + * an underscore. + * + * @param node_id node identifier + * @param prop lowercase-and-underscores property name + * @return the value of @p prop as an uppercased token, i.e. without + * any quotes and with special characters converted to underscores + */ + + + +/** + * @brief Like DT_STRING_UPPER_TOKEN(), but with a fallback to @p default_value + * + * If the value exists, this expands to DT_STRING_UPPER_TOKEN(node_id, prop). + * The @p default_value parameter is not expanded in this case. + * + * Otherwise, this expands to @p default_value. + * + * @param node_id node identifier + * @param prop lowercase-and-underscores property name + * @param default_value a fallback value to expand to + * @return the property's value as an uppercased token, + * or @p default_value + */ + + + + +/** + * @brief Get a string property's value as an unquoted sequence of tokens + * + * This removes "the quotes" from string-valued properties. + * That can be useful, for example, + * when defining floating point values as a string in devicetree + * that you would like to use to initialize a float or double variable in C. + * + * DT_STRING_UNQUOTED() can only be used for properties with string type. + * + * It is an error to use DT_STRING_UNQUOTED() in other circumstances. + * + * Example devicetree fragment: + * + * n1: node-1 { + * prop = "12.7"; + * }; + * n2: node-2 { + * prop = "0.5"; + * } + * n3: node-3 { + * prop = "A B C"; + * }; + * + * Example bindings fragment: + * + * properties: + * prop: + * type: string + * + * Example usage: + * + * DT_STRING_UNQUOTED(DT_NODELABEL(n1), prop) // 12.7 + * DT_STRING_UNQUOTED(DT_NODELABEL(n2), prop) // 0.5 + * DT_STRING_UNQUOTED(DT_NODELABEL(n3), prop) // A B C + * + * @param node_id node identifier + * @param prop lowercase-and-underscores property name + * @return the property's value as a sequence of tokens, with no quotes + */ + + + +/** + * @brief Like DT_STRING_UNQUOTED(), but with a fallback to @p default_value + * + * If the value exists, this expands to DT_STRING_UNQUOTED(node_id, prop). + * The @p default_value parameter is not expanded in this case. + * + * Otherwise, this expands to @p default_value. + * + * @param node_id node identifier + * @param prop lowercase-and-underscores property name + * @param default_value a fallback value to expand to + * @return the property's value as a sequence of tokens, with no quotes, + * or @p default_value + */ + + + + +/** + * @brief Get an element out of a string-array property as a token. + * + * This removes "the quotes" from an element in the array, and converts + * non-alphanumeric characters to underscores. That can be useful, for example, + * when programmatically using the value to form a C variable or code. + * + * DT_STRING_TOKEN_BY_IDX() can only be used for properties with + * string-array type. + * + * It is an error to use DT_STRING_TOKEN_BY_IDX() in other circumstances. + * + * Example devicetree fragment: + * + * @code{.dts} + * n1: node-1 { + * prop = "f1", "F2"; + * }; + * n2: node-2 { + * prop = "123 foo", "456 FOO"; + * }; + * @endcode + * + * Example bindings fragment: + * + * @code{.yaml} + * properties: + * prop: + * type: string-array + * @endcode + * + * Example usage: + * + * @code{.c} + * DT_STRING_TOKEN_BY_IDX(DT_NODELABEL(n1), prop, 0) // f1 + * DT_STRING_TOKEN_BY_IDX(DT_NODELABEL(n1), prop, 1) // F2 + * DT_STRING_TOKEN_BY_IDX(DT_NODELABEL(n2), prop, 0) // 123_foo + * DT_STRING_TOKEN_BY_IDX(DT_NODELABEL(n2), prop, 1) // 456_FOO + * @endcode + * + * For more information, see @ref DT_STRING_TOKEN. + * + * @param node_id node identifier + * @param prop lowercase-and-underscores property name + * @param idx the index to get + * @return the element in @p prop at index @p idx as a token + */ + + + +/** + * @brief Like DT_STRING_TOKEN_BY_IDX(), but uppercased. + * + * This removes "the quotes" and capitalizes an element in the array, and + * converts non-alphanumeric characters to underscores. That can be useful, for + * example, when programmatically using the value to form a C variable or code. + * + * DT_STRING_UPPER_TOKEN_BY_IDX() can only be used for properties with + * string-array type. + * + * It is an error to use DT_STRING_UPPER_TOKEN_BY_IDX() in other circumstances. + * + * Example devicetree fragment: + * + * @code{.dts} + * n1: node-1 { + * prop = "f1", "F2"; + * }; + * n2: node-2 { + * prop = "123 foo", "456 FOO"; + * }; + * @endcode + * + * Example bindings fragment: + * + * @code{.yaml} + * properties: + * prop: + * type: string-array + * @endcode + * + * Example usage: + * + * @code{.c} + * DT_STRING_UPPER_TOKEN_BY_IDX(DT_NODELABEL(n1), prop, 0) // F1 + * DT_STRING_UPPER_TOKEN_BY_IDX(DT_NODELABEL(n1), prop, 1) // F2 + * DT_STRING_UPPER_TOKEN_BY_IDX(DT_NODELABEL(n2), prop, 0) // 123_FOO + * DT_STRING_UPPER_TOKEN_BY_IDX(DT_NODELABEL(n2), prop, 1) // 456_FOO + * @endcode + * + * For more information, see @ref DT_STRING_UPPER_TOKEN. + * + * @param node_id node identifier + * @param prop lowercase-and-underscores property name + * @param idx the index to get + * @return the element in @p prop at index @p idx as an uppercased token + */ + + + +/** + * @brief Get a string array item value as an unquoted sequence of tokens. + * + * This removes "the quotes" from string-valued item. + * That can be useful, for example, + * when defining floating point values as a string in devicetree + * that you would like to use to initialize a float or double variable in C. + * + * DT_STRING_UNQUOTED_BY_IDX() can only be used for properties with + * string-array type. + * + * It is an error to use DT_STRING_UNQUOTED_BY_IDX() in other circumstances. + * + * Example devicetree fragment: + * + * n1: node-1 { + * prop = "12.7", "34.1"; + * }; + * n2: node-2 { + * prop = "A B", "C D"; + * } + * + * Example bindings fragment: + * + * properties: + * prop: + * type: string-array + * + * Example usage: + * + * DT_STRING_UNQUOTED_BY_IDX(DT_NODELABEL(n1), prop, 0) // 12.7 + * DT_STRING_UNQUOTED_BY_IDX(DT_NODELABEL(n1), prop, 1) // 34.1 + * DT_STRING_UNQUOTED_BY_IDX(DT_NODELABEL(n2), prop, 0) // A B + * DT_STRING_UNQUOTED_BY_IDX(DT_NODELABEL(n2), prop, 1) // C D + * + * @param node_id node identifier + * @param prop lowercase-and-underscores property name + * @param idx the index to get + * @return the property's value as a sequence of tokens, with no quotes + */ + + + +/* + * phandle properties + * + * These are special-cased to manage the impedance mismatch between + * phandles, which are just uint32_t node properties that only make sense + * within the tree itself, and C values. + */ + +/** + * @brief Get a property value from a phandle in a property. + * + * This is a shorthand for: + * + * @code{.c} + * DT_PROP(DT_PHANDLE_BY_IDX(node_id, phs, idx), prop) + * @endcode + * + * That is, @p prop is a property of the phandle's node, not a + * property of @p node_id. + * + * Example devicetree fragment: + * + * @code{.dts} + * n1: node-1 { + * foo = <&n2 &n3>; + * }; + * + * n2: node-2 { + * bar = <42>; + * }; + * + * n3: node-3 { + * baz = <43>; + * }; + * @endcode + * + * Example usage: + * + * @code{.c} + * #define N1 DT_NODELABEL(n1) + * + * DT_PROP_BY_PHANDLE_IDX(N1, foo, 0, bar) // 42 + * DT_PROP_BY_PHANDLE_IDX(N1, foo, 1, baz) // 43 + * @endcode + * + * @param node_id node identifier + * @param phs lowercase-and-underscores property with type `phandle`, + * `phandles`, or `phandle-array` + * @param idx logical index into @p phs, which must be zero if @p phs + * has type `phandle` + * @param prop lowercase-and-underscores property of the phandle's node + * @return the property's value + */ + + + +/** + * @brief Like DT_PROP_BY_PHANDLE_IDX(), but with a fallback to + * @p default_value. + * + * If the value exists, this expands to DT_PROP_BY_PHANDLE_IDX(node_id, phs, + * idx, prop). The @p default_value parameter is not expanded in this + * case. + * + * Otherwise, this expands to @p default_value. + * + * @param node_id node identifier + * @param phs lowercase-and-underscores property with type `phandle`, + * `phandles`, or `phandle-array` + * @param idx logical index into @p phs, which must be zero if @p phs + * has type `phandle` + * @param prop lowercase-and-underscores property of the phandle's node + * @param default_value a fallback value to expand to + * @return the property's value + */ + + + +/** + * @brief Get a property value from a phandle's node + * + * This is equivalent to DT_PROP_BY_PHANDLE_IDX(node_id, ph, 0, prop). + * + * @param node_id node identifier + * @param ph lowercase-and-underscores property of @p node_id + * with type `phandle` + * @param prop lowercase-and-underscores property of the phandle's node + * @return the property's value + */ + + + +/** + * @brief Get a phandle-array specifier cell value at an index + * + * It might help to read the argument order as being similar to + * `node->phandle_array[index].cell`. That is, the cell value is in + * the @p pha property of @p node_id, inside the specifier at index + * @p idx. + * + * Example devicetree fragment: + * + * @code{.dts} + * gpio0: gpio@abcd1234 { + * #gpio-cells = <2>; + * }; + * + * gpio1: gpio@1234abcd { + * #gpio-cells = <2>; + * }; + * + * led: led_0 { + * gpios = <&gpio0 17 0x1>, <&gpio1 5 0x3>; + * }; + * @endcode + * + * Bindings fragment for the `gpio0` and `gpio1` nodes: + * + * @code{.yaml} + * gpio-cells: + * - pin + * - flags + * @endcode + * + * Above, `gpios` has two elements: + * + * - index 0 has specifier <17 0x1>, so its `pin` cell is 17, and its + * `flags` cell is 0x1 + * - index 1 has specifier <5 0x3>, so `pin` is 5 and `flags` is 0x3 + * + * Example usage: + * + * @code{.c} + * #define LED DT_NODELABEL(led) + * + * DT_PHA_BY_IDX(LED, gpios, 0, pin) // 17 + * DT_PHA_BY_IDX(LED, gpios, 1, flags) // 0x3 + * @endcode + * + * @param node_id node identifier + * @param pha lowercase-and-underscores property with type `phandle-array` + * @param idx logical index into @p pha + * @param cell lowercase-and-underscores cell name within the specifier + * at @p pha index @p idx + * @return the cell's value + */ + + + +/** + * @brief Like DT_PHA_BY_IDX(), but with a fallback to @p default_value. + * + * If the value exists, this expands to DT_PHA_BY_IDX(node_id, pha, + * idx, cell). The @p default_value parameter is not expanded in this + * case. + * + * Otherwise, this expands to @p default_value. + * + * @internal + * Implementation note: the _IDX_##idx##_VAL_##cell##_EXISTS macros are + * defined, so it's safe to use DT_PROP_OR() here, because that uses an + * IS_ENABLED() on the _EXISTS macro. + * @endinternal + * + * @param node_id node identifier + * @param pha lowercase-and-underscores property with type `phandle-array` + * @param idx logical index into @p pha + * @param cell lowercase-and-underscores cell name within the specifier + * at @p pha index @p idx + * @param default_value a fallback value to expand to + * @return the cell's value or @p default_value + */ + + + +/** + * @brief Equivalent to DT_PHA_BY_IDX(node_id, pha, 0, cell) + * @param node_id node identifier + * @param pha lowercase-and-underscores property with type `phandle-array` + * @param cell lowercase-and-underscores cell name + * @return the cell's value + */ + + +/** + * @brief Like DT_PHA(), but with a fallback to @p default_value + * + * If the value exists, this expands to DT_PHA(node_id, pha, cell). + * The @p default_value parameter is not expanded in this case. + * + * Otherwise, this expands to @p default_value. + * + * @param node_id node identifier + * @param pha lowercase-and-underscores property with type `phandle-array` + * @param cell lowercase-and-underscores cell name + * @param default_value a fallback value to expand to + * @return the cell's value or @p default_value + */ + + + +/** + * @brief Get a value within a phandle-array specifier by name + * + * This is like DT_PHA_BY_IDX(), except it treats @p pha as a structure + * where each array element has a name. + * + * It might help to read the argument order as being similar to + * `node->phandle_struct.name.cell`. That is, the cell value is in the + * @p pha property of @p node_id, treated as a data structure where + * each array element has a name. + * + * Example devicetree fragment: + * + * @code{.dts} + * n: node { + * io-channels = <&adc1 10>, <&adc2 20>; + * io-channel-names = "SENSOR", "BANDGAP"; + * }; + * @endcode + * + * Bindings fragment for the "adc1" and "adc2" nodes: + * + * @code{.yaml} + * io-channel-cells: + * - input + * @endcode + * + * Example usage: + * + * @code{.c} + * DT_PHA_BY_NAME(DT_NODELABEL(n), io_channels, sensor, input) // 10 + * DT_PHA_BY_NAME(DT_NODELABEL(n), io_channels, bandgap, input) // 20 + * @endcode + * + * @param node_id node identifier + * @param pha lowercase-and-underscores property with type `phandle-array` + * @param name lowercase-and-underscores name of a specifier in @p pha + * @param cell lowercase-and-underscores cell name in the named specifier + * @return the cell's value + */ + + + +/** + * @brief Like DT_PHA_BY_NAME(), but with a fallback to @p default_value + * + * If the value exists, this expands to DT_PHA_BY_NAME(node_id, pha, + * name, cell). The @p default_value parameter is not expanded in this case. + * + * Otherwise, this expands to @p default_value. + * + * @internal + * Implementation note: the `_NAME_##name##_VAL_##cell##_EXISTS` macros are + * defined, so it's safe to use DT_PROP_OR() here, because that uses an + * IS_ENABLED() on the `_EXISTS` macro. + * @endinternal + * + * @param node_id node identifier + * @param pha lowercase-and-underscores property with type `phandle-array` + * @param name lowercase-and-underscores name of a specifier in @p pha + * @param cell lowercase-and-underscores cell name in the named specifier + * @param default_value a fallback value to expand to + * @return the cell's value or @p default_value + */ + + + +/** + * @brief Get a phandle's node identifier from a phandle array by @p name + * + * It might help to read the argument order as being similar to + * `node->phandle_struct.name.phandle`. That is, the phandle array is + * treated as a structure with named elements. The return value is + * the node identifier for a phandle inside the structure. + * + * Example devicetree fragment: + * + * @code{.dts} + * adc1: adc@abcd1234 { + * foobar = "ADC_1"; + * }; + * + * adc2: adc@1234abcd { + * foobar = "ADC_2"; + * }; + * + * n: node { + * io-channels = <&adc1 10>, <&adc2 20>; + * io-channel-names = "SENSOR", "BANDGAP"; + * }; + * @endcode + * + * Above, "io-channels" has two elements: + * + * - the element named `"SENSOR"` has phandle `&adc1` + * - the element named `"BANDGAP"` has phandle `&adc2` + * + * Example usage: + * + * @code{.c} + * #define NODE DT_NODELABEL(n) + * + * DT_PROP(DT_PHANDLE_BY_NAME(NODE, io_channels, sensor), foobar) // "ADC_1" + * DT_PROP(DT_PHANDLE_BY_NAME(NODE, io_channels, bandgap), foobar) // "ADC_2" + * @endcode + * + * Notice how devicetree properties and names are lowercased, and + * non-alphanumeric characters are converted to underscores. + * + * @param node_id node identifier + * @param pha lowercase-and-underscores property with type `phandle-array` + * @param name lowercase-and-underscores name of an element in @p pha + * @return a node identifier for the node with that phandle + */ + + + +/** + * @brief Get a node identifier for a phandle in a property. + * + * When a node's value at a logical index contains a phandle, this + * macro returns a node identifier for the node with that phandle. + * + * Therefore, if @p prop has type `phandle`, @p idx must be zero. (A + * `phandle` type is treated as a `phandles` with a fixed length of + * 1). + * + * Example devicetree fragment: + * + * @code{.dts} + * n1: node-1 { + * foo = <&n2 &n3>; + * }; + * + * n2: node-2 { ... }; + * n3: node-3 { ... }; + * @endcode + * + * Above, `foo` has type phandles and has two elements: + * + * - index 0 has phandle `&n2`, which is `node-2`'s phandle + * - index 1 has phandle `&n3`, which is `node-3`'s phandle + * + * Example usage: + * + * @code{.c} + * #define N1 DT_NODELABEL(n1) + * + * DT_PHANDLE_BY_IDX(N1, foo, 0) // node identifier for node-2 + * DT_PHANDLE_BY_IDX(N1, foo, 1) // node identifier for node-3 + * @endcode + * + * Behavior is analogous for phandle-arrays. + * + * @internal + * Implementation note: using DT_CAT6 above defers concatenation until + * after expansion of each parameter. This is important when 'idx' is + * expandable to a number, but it isn't one "yet". + * @endinternal + * + * @param node_id node identifier + * @param prop lowercase-and-underscores property name in @p node_id + * with type `phandle`, `phandles` or `phandle-array` + * @param idx index into @p prop + * @return node identifier for the node with the phandle at that index + */ + + + +/** + * @brief Get a node identifier for a phandle property's value + * + * This is equivalent to DT_PHANDLE_BY_IDX(node_id, prop, 0). Its primary + * benefit is readability when @p prop has type `phandle`. + * + * @param node_id node identifier + * @param prop lowercase-and-underscores property of @p node_id + * with type `phandle` + * @return a node identifier for the node pointed to by "ph" + */ + + +/** + * @} + */ + +/** + * @defgroup devicetree-ranges-prop ranges property + * @ingroup devicetree + * @{ + */ + +/** + * @brief Get the number of range blocks in the ranges property + * + * Use this instead of DT_PROP_LEN(node_id, ranges). + * + * Example devicetree fragment: + * + * @code{.dts} + * pcie0: pcie@0 { + * compatible = "pcie-controller"; + * reg = <0 1>; + * #address-cells = <3>; + * #size-cells = <2>; + * + * ranges = <0x1000000 0 0 0 0x3eff0000 0 0x10000>, + * <0x2000000 0 0x10000000 0 0x10000000 0 0x2eff0000>, + * <0x3000000 0x80 0 0x80 0 0x80 0>; + * }; + * + * other: other@1 { + * reg = <1 1>; + * + * ranges = <0x0 0x0 0x0 0x3eff0000 0x10000>, + * <0x0 0x10000000 0x0 0x10000000 0x2eff0000>; + * }; + * @endcode + * + * Example usage: + * + * @code{.c} + * DT_NUM_RANGES(DT_NODELABEL(pcie0)) // 3 + * DT_NUM_RANGES(DT_NODELABEL(other)) // 2 + * @endcode + * + * @param node_id node identifier + */ + + +/** + * @brief Is @p idx a valid range block index? + * + * If this returns 1, then DT_RANGES_CHILD_BUS_ADDRESS_BY_IDX(node_id, idx), + * DT_RANGES_PARENT_BUS_ADDRESS_BY_IDX(node_id, idx) or + * DT_RANGES_LENGTH_BY_IDX(node_id, idx) are valid. + * For DT_RANGES_CHILD_BUS_FLAGS_BY_IDX(node_id, idx) the return value + * of DT_RANGES_HAS_CHILD_BUS_FLAGS_AT_IDX(node_id, idx) will indicate + * validity. + * If it returns 0, it is an error to use those macros with index @p idx, + * including DT_RANGES_CHILD_BUS_FLAGS_BY_IDX(node_id, idx). + * + * Example devicetree fragment: + * + * @code{.dts} + * pcie0: pcie@0 { + * compatible = "pcie-controller"; + * reg = <0 1>; + * #address-cells = <3>; + * #size-cells = <2>; + * + * ranges = <0x1000000 0 0 0 0x3eff0000 0 0x10000>, + * <0x2000000 0 0x10000000 0 0x10000000 0 0x2eff0000>, + * <0x3000000 0x80 0 0x80 0 0x80 0>; + * }; + * + * other: other@1 { + * reg = <1 1>; + * + * ranges = <0x0 0x0 0x0 0x3eff0000 0x10000>, + * <0x0 0x10000000 0x0 0x10000000 0x2eff0000>; + * }; + * @endcode + * + * Example usage: + * + * @code{.c} + * DT_RANGES_HAS_IDX(DT_NODELABEL(pcie0), 0) // 1 + * DT_RANGES_HAS_IDX(DT_NODELABEL(pcie0), 1) // 1 + * DT_RANGES_HAS_IDX(DT_NODELABEL(pcie0), 2) // 1 + * DT_RANGES_HAS_IDX(DT_NODELABEL(pcie0), 3) // 0 + * DT_RANGES_HAS_IDX(DT_NODELABEL(other), 0) // 1 + * DT_RANGES_HAS_IDX(DT_NODELABEL(other), 1) // 1 + * DT_RANGES_HAS_IDX(DT_NODELABEL(other), 2) // 0 + * DT_RANGES_HAS_IDX(DT_NODELABEL(other), 3) // 0 + * @endcode + * + * @param node_id node identifier + * @param idx index to check + * @return 1 if @p idx is a valid register block index, + * 0 otherwise. + */ + + + +/** + * @brief Does a ranges property have child bus flags at index? + * + * If this returns 1, then DT_RANGES_CHILD_BUS_FLAGS_BY_IDX(node_id, idx) is valid. + * If it returns 0, it is an error to use this macro with index @p idx. + * This macro only returns 1 for PCIe buses (i.e. nodes whose bindings specify they + * are "pcie" bus nodes.) + * + * Example devicetree fragment: + * + * @code{.dts} + * parent { + * #address-cells = <2>; + * + * pcie0: pcie@0 { + * compatible = "pcie-controller"; + * reg = <0 0 1>; + * #address-cells = <3>; + * #size-cells = <2>; + * + * ranges = <0x1000000 0 0 0 0x3eff0000 0 0x10000>, + * <0x2000000 0 0x10000000 0 0x10000000 0 0x2eff0000>, + * <0x3000000 0x80 0 0x80 0 0x80 0>; + * }; + * + * other: other@1 { + * reg = <0 1 1>; + * + * ranges = <0x0 0x0 0x0 0x3eff0000 0x10000>, + * <0x0 0x10000000 0x0 0x10000000 0x2eff0000>; + * }; + * }; + * @endcode + * + * Example usage: + * + * @code{.c} + * DT_RANGES_HAS_CHILD_BUS_FLAGS_AT_IDX(DT_NODELABEL(pcie0), 0) // 1 + * DT_RANGES_HAS_CHILD_BUS_FLAGS_AT_IDX(DT_NODELABEL(pcie0), 1) // 1 + * DT_RANGES_HAS_CHILD_BUS_FLAGS_AT_IDX(DT_NODELABEL(pcie0), 2) // 1 + * DT_RANGES_HAS_CHILD_BUS_FLAGS_AT_IDX(DT_NODELABEL(pcie0), 3) // 0 + * DT_RANGES_HAS_CHILD_BUS_FLAGS_AT_IDX(DT_NODELABEL(other), 0) // 0 + * DT_RANGES_HAS_CHILD_BUS_FLAGS_AT_IDX(DT_NODELABEL(other), 1) // 0 + * DT_RANGES_HAS_CHILD_BUS_FLAGS_AT_IDX(DT_NODELABEL(other), 2) // 0 + * DT_RANGES_HAS_CHILD_BUS_FLAGS_AT_IDX(DT_NODELABEL(other), 3) // 0 + * @endcode + * + * @param node_id node identifier + * @param idx logical index into the ranges array + * @return 1 if @p idx is a valid child bus flags index, + * 0 otherwise. + */ + + + +/** + * @brief Get the ranges property child bus flags at index + * + * When the node is a PCIe bus, the Child Bus Address has an extra cell used to store some + * flags, thus this cell is extracted from the Child Bus Address as Child Bus Flags field. + * + * Example devicetree fragments: + * + * @code{.dts} + * parent { + * #address-cells = <2>; + * + * pcie0: pcie@0 { + * compatible = "pcie-controller"; + * reg = <0 0 1>; + * #address-cells = <3>; + * #size-cells = <2>; + * + * ranges = <0x1000000 0 0 0 0x3eff0000 0 0x10000>, + * <0x2000000 0 0x10000000 0 0x10000000 0 0x2eff0000>, + * <0x3000000 0x80 0 0x80 0 0x80 0>; + * }; + * }; + * @endcode + * + * Example usage: + * + * @code{.c} + * DT_RANGES_CHILD_BUS_FLAGS_BY_IDX(DT_NODELABEL(pcie0), 0) // 0x1000000 + * DT_RANGES_CHILD_BUS_FLAGS_BY_IDX(DT_NODELABEL(pcie0), 1) // 0x2000000 + * DT_RANGES_CHILD_BUS_FLAGS_BY_IDX(DT_NODELABEL(pcie0), 2) // 0x3000000 + * @endcode + * + * @param node_id node identifier + * @param idx logical index into the ranges array + * @returns range child bus flags field at idx + */ + + + +/** + * @brief Get the ranges property child bus address at index + * + * When the node is a PCIe bus, the Child Bus Address has an extra cell used to store some + * flags, thus this cell is removed from the Child Bus Address. + * + * Example devicetree fragments: + * + * @code{.dts} + * parent { + * #address-cells = <2>; + * + * pcie0: pcie@0 { + * compatible = "pcie-controller"; + * reg = <0 0 1>; + * #address-cells = <3>; + * #size-cells = <2>; + * + * ranges = <0x1000000 0 0 0 0x3eff0000 0 0x10000>, + * <0x2000000 0 0x10000000 0 0x10000000 0 0x2eff0000>, + * <0x3000000 0x80 0 0x80 0 0x80 0>; + * }; + * + * other: other@1 { + * reg = <0 1 1>; + * + * ranges = <0x0 0x0 0x0 0x3eff0000 0x10000>, + * <0x0 0x10000000 0x0 0x10000000 0x2eff0000>; + * }; + * }; + * @endcode + * + * Example usage: + * + * @code{.c} + * DT_RANGES_CHILD_BUS_ADDRESS_BY_IDX(DT_NODELABEL(pcie0), 0) // 0 + * DT_RANGES_CHILD_BUS_ADDRESS_BY_IDX(DT_NODELABEL(pcie0), 1) // 0x10000000 + * DT_RANGES_CHILD_BUS_ADDRESS_BY_IDX(DT_NODELABEL(pcie0), 2) // 0x8000000000 + * DT_RANGES_CHILD_BUS_ADDRESS_BY_IDX(DT_NODELABEL(other), 0) // 0 + * DT_RANGES_CHILD_BUS_ADDRESS_BY_IDX(DT_NODELABEL(other), 1) // 0x10000000 + * @endcode + * + * @param node_id node identifier + * @param idx logical index into the ranges array + * @returns range child bus address field at idx + */ + + + +/** + * @brief Get the ranges property parent bus address at index + * + * Similarly to DT_RANGES_CHILD_BUS_ADDRESS_BY_IDX(), this properly accounts + * for child bus flags cells when the node is a PCIe bus. + * + * Example devicetree fragment: + * + * @code{.dts} + * parent { + * #address-cells = <2>; + * + * pcie0: pcie@0 { + * compatible = "pcie-controller"; + * reg = <0 0 1>; + * #address-cells = <3>; + * #size-cells = <2>; + * + * ranges = <0x1000000 0 0 0 0x3eff0000 0 0x10000>, + * <0x2000000 0 0x10000000 0 0x10000000 0 0x2eff0000>, + * <0x3000000 0x80 0 0x80 0 0x80 0>; + * }; + * + * other: other@1 { + * reg = <0 1 1>; + * + * ranges = <0x0 0x0 0x0 0x3eff0000 0x10000>, + * <0x0 0x10000000 0x0 0x10000000 0x2eff0000>; + * }; + * }; + * @endcode + * + * Example usage: + * + * @code{.c} + * DT_RANGES_PARENT_BUS_ADDRESS_BY_IDX(DT_NODELABEL(pcie0), 0) // 0x3eff0000 + * DT_RANGES_PARENT_BUS_ADDRESS_BY_IDX(DT_NODELABEL(pcie0), 1) // 0x10000000 + * DT_RANGES_PARENT_BUS_ADDRESS_BY_IDX(DT_NODELABEL(pcie0), 2) // 0x8000000000 + * DT_RANGES_PARENT_BUS_ADDRESS_BY_IDX(DT_NODELABEL(other), 0) // 0x3eff0000 + * DT_RANGES_PARENT_BUS_ADDRESS_BY_IDX(DT_NODELABEL(other), 1) // 0x10000000 + * @endcode + * + * @param node_id node identifier + * @param idx logical index into the ranges array + * @returns range parent bus address field at idx + */ + + + +/** + * @brief Get the ranges property length at index + * + * Similarly to DT_RANGES_CHILD_BUS_ADDRESS_BY_IDX(), this properly accounts + * for child bus flags cells when the node is a PCIe bus. + * + * Example devicetree fragment: + * + * @code{.dts} + * parent { + * #address-cells = <2>; + * + * pcie0: pcie@0 { + * compatible = "pcie-controller"; + * reg = <0 0 1>; + * #address-cells = <3>; + * #size-cells = <2>; + * + * ranges = <0x1000000 0 0 0 0x3eff0000 0 0x10000>, + * <0x2000000 0 0x10000000 0 0x10000000 0 0x2eff0000>, + * <0x3000000 0x80 0 0x80 0 0x80 0>; + * }; + * + * other: other@1 { + * reg = <0 1 1>; + * + * ranges = <0x0 0x0 0x0 0x3eff0000 0x10000>, + * <0x0 0x10000000 0x0 0x10000000 0x2eff0000>; + * }; + * }; + * @endcode + * + * Example usage: + * + * @code{.c} + * DT_RANGES_LENGTH_BY_IDX(DT_NODELABEL(pcie0), 0) // 0x10000 + * DT_RANGES_LENGTH_BY_IDX(DT_NODELABEL(pcie0), 1) // 0x2eff0000 + * DT_RANGES_LENGTH_BY_IDX(DT_NODELABEL(pcie0), 2) // 0x8000000000 + * DT_RANGES_LENGTH_BY_IDX(DT_NODELABEL(other), 0) // 0x10000 + * DT_RANGES_LENGTH_BY_IDX(DT_NODELABEL(other), 1) // 0x2eff0000 + * @endcode + * + * @param node_id node identifier + * @param idx logical index into the ranges array + * @returns range length field at idx + */ + + + +/** + * @brief Invokes @p fn for each entry of @p node_id ranges property + * + * The macro @p fn must take two parameters, @p node_id which will be the node + * identifier of the node with the ranges property and @p idx the index of + * the ranges block. + * + * Example devicetree fragment: + * + * @code{.dts} + * n: node@0 { + * reg = <0 0 1>; + * + * ranges = <0x0 0x0 0x0 0x3eff0000 0x10000>, + * <0x0 0x10000000 0x0 0x10000000 0x2eff0000>; + * }; + * @endcode + * + * Example usage: + * + * @code{.c} + * #define RANGE_LENGTH(node_id, idx) DT_RANGES_LENGTH_BY_IDX(node_id, idx), + * + * const uint64_t *ranges_length[] = { + * DT_FOREACH_RANGE(DT_NODELABEL(n), RANGE_LENGTH) + * }; + * @endcode + * + * This expands to: + * + * @code{.c} + * const char *ranges_length[] = { + * 0x10000, 0x2eff0000, + * }; + * @endcode + * + * @param node_id node identifier + * @param fn macro to invoke + */ + + + +/** + * @} + */ + +/** + * @defgroup devicetree-generic-vendor Vendor and model name helpers + * @ingroup devicetree + * @{ + */ + +/** + * @brief Get the vendor at index @p idx as a string literal + * + * The vendor is a string extracted from vendor prefixes if an entry exists + * that matches the node's compatible prefix. There may be as many as one + * vendor prefixes file per directory in DTS_ROOT. + * + * Example vendor-prefixes.txt: + * + * vnd A stand-in for a real vendor + * zephyr Zephyr-specific binding + * + * Example devicetree fragment: + * + * @code{.dts} + * n1: node-1 { + * compatible = "vnd,model1", "gpio", "zephyr,model2"; + * }; + * @endcode + * + * Example usage: + * + * @code{.c} + * DT_NODE_VENDOR_BY_IDX(DT_NODELABEL(n1), 0) // "A stand-in for a real vendor" + * DT_NODE_VENDOR_BY_IDX(DT_NODELABEL(n1), 2) // "Zephyr-specific binding" + * @endcode + * + * Notice that the compatible at index 1 doesn't match any entries in the + * vendor prefix file and therefore index 1 is not a valid vendor index. Use + * DT_NODE_VENDOR_HAS_IDX(node_id, idx) to determine if an index is valid. + * + * @param node_id node identifier + * @param idx index of the vendor to return + * @return string literal of the idx-th vendor + */ + + + +/** + * @brief Does a node's compatible property have a vendor at an index? + * + * If this returns 1, then DT_NODE_VENDOR_BY_IDX(node_id, idx) is valid. If it + * returns 0, it is an error to use DT_NODE_VENDOR_BY_IDX(node_id, idx) with + * index @p idx. + * + * @param node_id node identifier + * @param idx index of the vendor to check + * @return 1 if @p idx is a valid vendor index, + * 0 otherwise. + */ + + + +/** + * @brief Like DT_NODE_VENDOR_BY_IDX(), but with a fallback to default_value. + * + * If the value exists, this expands to DT_NODE_VENDOR_BY_IDX(node_id, idx). + * The default_value parameter is not expanded in this case. + * + * Otherwise, this expands to default_value. + * + * @param node_id node identifier + * @param idx index of the vendor to return + * @return string literal of the idx-th vendor + * @param default_value a fallback value to expand to + * @return string literal of the idx-th vendor or "default_value" + */ + + + + +/** + * @brief Get the node's (only) vendor as a string literal + * + * Equivalent to DT_NODE_VENDOR_BY_IDX_OR(node_id, 0, default_value). + * + * @param node_id node identifier + * @param default_value a fallback value to expand to + */ + + + +/** + * @brief Get the model at index "idx" as a string literal + * + * The model is a string extracted from the compatible after the vendor prefix. + * + * Example vendor-prefixes.txt: + * + * vnd A stand-in for a real vendor + * zephyr Zephyr-specific binding + * + * Example devicetree fragment: + * + * n1: node-1 { + * compatible = "vnd,model1", "gpio", "zephyr,model2"; + * }; + * + * Example usage: + * + * DT_NODE_MODEL_BY_IDX(DT_NODELABEL(n1), 0) // "model1" + * DT_NODE_MODEL_BY_IDX(DT_NODELABEL(n1), 2) // "model2" + * + * Notice that the compatible at index 1 doesn't match any entries in the + * vendor prefix file and therefore index 1 is not a valid model index. Use + * DT_NODE_MODEL_HAS_IDX(node_id, idx) to determine if an index is valid. + * + * @param node_id node identifier + * @param idx index of the model to return + * @return string literal of the idx-th model + */ + + + +/** + * @brief Does a node's compatible property have a model at an index? + * + * If this returns 1, then DT_NODE_MODEL_BY_IDX(node_id, idx) is valid. If it + * returns 0, it is an error to use DT_NODE_MODEL_BY_IDX(node_id, idx) with + * index "idx". + * + * @param node_id node identifier + * @param idx index of the model to check + * @return 1 if "idx" is a valid model index, + * 0 otherwise. + */ + + + +/** + * @brief Like DT_NODE_MODEL_BY_IDX(), but with a fallback to default_value. + * + * If the value exists, this expands to DT_NODE_MODEL_BY_IDX(node_id, idx). + * The default_value parameter is not expanded in this case. + * + * Otherwise, this expands to default_value. + * + * @param node_id node identifier + * @param idx index of the model to return + * @return string literal of the idx-th model + * @param default_value a fallback value to expand to + * @return string literal of the idx-th model or "default_value" + */ + + + + +/** + * @brief Get the node's (only) model as a string literal + * + * Equivalent to DT_NODE_MODEL_BY_IDX_OR(node_id, 0, default_value). + * + * @param node_id node identifier + * @param default_value a fallback value to expand to + */ + + + +/** + * @} + */ + +/** + * @defgroup devicetree-reg-prop reg property + * @ingroup devicetree + * @{ + */ + +/** + * @brief Get the number of register blocks in the reg property + * + * Use this instead of DT_PROP_LEN(node_id, reg). + * @param node_id node identifier + * @return Number of register blocks in the node's "reg" property. + */ + + +/** + * @brief Is @p idx a valid register block index? + * + * If this returns 1, then DT_REG_ADDR_BY_IDX(node_id, idx) or + * DT_REG_SIZE_BY_IDX(node_id, idx) are valid. + * If it returns 0, it is an error to use those macros with index @p idx. + * @param node_id node identifier + * @param idx index to check + * @return 1 if @p idx is a valid register block index, + * 0 otherwise. + */ + + + +/** + * @brief Is @p name a valid register block name? + * + * If this returns 1, then DT_REG_ADDR_BY_NAME(node_id, name) or + * DT_REG_SIZE_BY_NAME(node_id, name) are valid. + * If it returns 0, it is an error to use those macros with name @p name. + * @param node_id node identifier + * @param name name to check + * @return 1 if @p name is a valid register block name, + * 0 otherwise. + */ + + + +/** + * @brief Get the base raw address of the register block at index @p idx + * + * Get the base address of the register block at index @p idx without any + * type suffix. This can be used to index other devicetree properties, use the + * non _RAW macros for assigning values in actual code. + * + * @param node_id node identifier + * @param idx index of the register whose address to return + * @return address of the idx-th register block + */ + + + +/** + * @brief Get a node's (only) register block raw address + * + * Get a node's only register block address without any type suffix. This can + * be used to index other devicetree properties, use the non _RAW macros for + * assigning values in actual code. + * + * Equivalent to DT_REG_ADDR_BY_IDX_RAW(node_id, 0). + * @param node_id node identifier + * @return node's register block address + */ + + + +/** + * @brief Get the base address of the register block at index @p idx + * @param node_id node identifier + * @param idx index of the register whose address to return + * @return address of the idx-th register block + */ + + + +/** + * @brief Get the size of the register block at index @p idx + * + * This is the size of an individual register block, not the total + * number of register blocks in the property; use DT_NUM_REGS() for + * that. + * + * @param node_id node identifier + * @param idx index of the register whose size to return + * @return size of the idx-th register block + */ + + + +/** + * @brief Get a node's (only) register block address + * + * Equivalent to DT_REG_ADDR_BY_IDX(node_id, 0). + * @param node_id node identifier + * @return node's register block address + */ + + +/** + * @brief 64-bit version of DT_REG_ADDR() + * + * This macro version adds the appropriate suffix for 64-bit unsigned + * integer literals. + * Note that this macro is equivalent to DT_REG_ADDR() in linker/ASM context. + * + * @param node_id node identifier + * @return node's register block address + */ + + +/** + * @brief Get a node's (only) register block size + * + * Equivalent to DT_REG_SIZE_BY_IDX(node_id, 0). + * @param node_id node identifier + * @return node's only register block's size + */ + + +/** + * @brief Get a register block's base address by name + * @param node_id node identifier + * @param name lowercase-and-underscores register specifier name + * @return address of the register block specified by name + */ + + + +/** + * @brief Like DT_REG_ADDR_BY_NAME(), but with a fallback to @p default_value + * @param node_id node identifier + * @param name lowercase-and-underscores register specifier name + * @param default_value a fallback value to expand to + * @return address of the register block specified by name if present, + * @p default_value otherwise + */ + + + + +/** + * @brief 64-bit version of DT_REG_ADDR_BY_NAME() + * + * This macro version adds the appropriate suffix for 64-bit unsigned + * integer literals. + * Note that this macro is equivalent to DT_REG_ADDR_BY_NAME() in + * linker/ASM context. + * + * @param node_id node identifier + * @param name lowercase-and-underscores register specifier name + * @return address of the register block specified by name + */ + + + +/** + * @brief Get a register block's size by name + * @param node_id node identifier + * @param name lowercase-and-underscores register specifier name + * @return size of the register block specified by name + */ + + + +/** + * @brief Like DT_REG_SIZE_BY_NAME(), but with a fallback to @p default_value + * @param node_id node identifier + * @param name lowercase-and-underscores register specifier name + * @param default_value a fallback value to expand to + * @return size of the register block specified by name if present, + * @p default_value otherwise + */ + + + + + +/** + * @} + */ + +/** + * @defgroup devicetree-interrupts-prop interrupts property + * @ingroup devicetree + * @{ + */ + +/** + * @brief Get the number of interrupt sources for the node + * + * Use this instead of DT_PROP_LEN(node_id, interrupts). + * + * @param node_id node identifier + * @return Number of interrupt specifiers in the node's "interrupts" property. + */ + + +/** + * @brief Get the number of node labels that a node has + * + * Example devicetree fragment: + * + * @code{.dts} + * / { + * foo {}; + * bar: bar@1000 {}; + * baz: baz2: baz@2000 {}; + * }; + * @endcode + * + * Example usage: + * + * @code{.c} + * DT_NUM_NODELABELS(DT_PATH(foo)) // 0 + * DT_NUM_NODELABELS(DT_NODELABEL(bar)) // 1 + * DT_NUM_NODELABELS(DT_NODELABEL(baz)) // 2 + * @endcode + * + * @param node_id node identifier + * @return number of node labels that the node has + */ + + +/** + * @brief Get the interrupt level for the node + * + * @param node_id node identifier + * @return interrupt level + */ + + +/** + * @brief Is @p idx a valid interrupt index? + * + * If this returns 1, then DT_IRQ_BY_IDX(node_id, idx) is valid. + * If it returns 0, it is an error to use that macro with this index. + * @param node_id node identifier + * @param idx index to check + * @return 1 if the idx is valid for the interrupt property + * 0 otherwise. + */ + + + +/** + * @brief Does an interrupts property have a named cell specifier at an index? + * If this returns 1, then DT_IRQ_BY_IDX(node_id, idx, cell) is valid. + * If it returns 0, it is an error to use that macro. + * @param node_id node identifier + * @param idx index to check + * @param cell named cell value whose existence to check + * @return 1 if the named cell exists in the interrupt specifier at index idx + * 0 otherwise. + */ + + + +/** + * @brief Equivalent to DT_IRQ_HAS_CELL_AT_IDX(node_id, 0, cell) + * @param node_id node identifier + * @param cell named cell value whose existence to check + * @return 1 if the named cell exists in the interrupt specifier at index 0 + * 0 otherwise. + */ + + +/** + * @brief Does an interrupts property have a named specifier value at an index? + * If this returns 1, then DT_IRQ_BY_NAME(node_id, name, cell) is valid. + * If it returns 0, it is an error to use that macro. + * @param node_id node identifier + * @param name lowercase-and-underscores interrupt specifier name + * @return 1 if "name" is a valid named specifier + * 0 otherwise. + */ + + + +/** + * @brief Get a value within an interrupt specifier at an index + * + * It might help to read the argument order as being similar to + * "node->interrupts[index].cell". + * + * This can be used to get information about an individual interrupt + * when a device generates more than one. + * + * Example devicetree fragment: + * + * @code{.dts} + * my-serial: serial@abcd1234 { + * interrupts = < 33 0 >, < 34 1 >; + * }; + * @endcode + * + * Assuming the node's interrupt domain has "#interrupt-cells = <2>;" and + * the individual cells in each interrupt specifier are named "irq" and + * "priority" by the node's binding, here are some examples: + * + * #define SERIAL DT_NODELABEL(my_serial) + * + * Example usage Value + * ------------- ----- + * DT_IRQ_BY_IDX(SERIAL, 0, irq) 33 + * DT_IRQ_BY_IDX(SERIAL, 0, priority) 0 + * DT_IRQ_BY_IDX(SERIAL, 1, irq, 34 + * DT_IRQ_BY_IDX(SERIAL, 1, priority) 1 + * + * @param node_id node identifier + * @param idx logical index into the interrupt specifier array + * @param cell cell name specifier + * @return the named value at the specifier given by the index + */ + + + +/** + * @brief Get a value within an interrupt specifier by name + * + * It might help to read the argument order as being similar to + * `node->interrupts.name.cell`. + * + * This can be used to get information about an individual interrupt + * when a device generates more than one, if the bindings give each + * interrupt specifier a name. + * + * @param node_id node identifier + * @param name lowercase-and-underscores interrupt specifier name + * @param cell cell name specifier + * @return the named value at the specifier given by the index + */ + + + +/** + * @brief Get an interrupt specifier's value + * Equivalent to DT_IRQ_BY_IDX(node_id, 0, cell). + * @param node_id node identifier + * @param cell cell name specifier + * @return the named value at that index + */ + + +/** + * @brief Get an interrupt specifier's interrupt controller by index + * + * @code{.dts} + * gpio0: gpio0 { + * interrupt-controller; + * #interrupt-cells = <2>; + * }; + * + * foo: foo { + * interrupt-parent = <&gpio0>; + * interrupts = <1 1>, <2 2>; + * }; + * + * bar: bar { + * interrupts-extended = <&gpio0 3 3>, <&pic0 4>; + * }; + * + * pic0: pic0 { + * interrupt-controller; + * #interrupt-cells = <1>; + * + * qux: qux { + * interrupts = <5>, <6>; + * interrupt-names = "int1", "int2"; + * }; + * }; + * @endcode + * + * Example usage: + * + * DT_IRQ_INTC_BY_IDX(DT_NODELABEL(foo), 0) // &gpio0 + * DT_IRQ_INTC_BY_IDX(DT_NODELABEL(foo), 1) // &gpio0 + * DT_IRQ_INTC_BY_IDX(DT_NODELABEL(bar), 0) // &gpio0 + * DT_IRQ_INTC_BY_IDX(DT_NODELABEL(bar), 1) // &pic0 + * DT_IRQ_INTC_BY_IDX(DT_NODELABEL(qux), 0) // &pic0 + * DT_IRQ_INTC_BY_IDX(DT_NODELABEL(qux), 1) // &pic0 + * + * @param node_id node identifier + * @param idx interrupt specifier's index + * @return node_id of interrupt specifier's interrupt controller + */ + + + +/** + * @brief Get an interrupt specifier's interrupt controller by name + * + * @code{.dts} + * gpio0: gpio0 { + * interrupt-controller; + * #interrupt-cells = <2>; + * }; + * + * foo: foo { + * interrupt-parent = <&gpio0>; + * interrupts = <1 1>, <2 2>; + * interrupt-names = "int1", "int2"; + * }; + * + * bar: bar { + * interrupts-extended = <&gpio0 3 3>, <&pic0 4>; + * interrupt-names = "int1", "int2"; + * }; + * + * pic0: pic0 { + * interrupt-controller; + * #interrupt-cells = <1>; + * + * qux: qux { + * interrupts = <5>, <6>; + * interrupt-names = "int1", "int2"; + * }; + * }; + * @endcode + * + * Example usage: + * + * DT_IRQ_INTC_BY_NAME(DT_NODELABEL(foo), int1) // &gpio0 + * DT_IRQ_INTC_BY_NAME(DT_NODELABEL(foo), int2) // &gpio0 + * DT_IRQ_INTC_BY_NAME(DT_NODELABEL(bar), int1) // &gpio0 + * DT_IRQ_INTC_BY_NAME(DT_NODELABEL(bar), int2) // &pic0 + * DT_IRQ_INTC_BY_NAME(DT_NODELABEL(qux), int1) // &pic0 + * DT_IRQ_INTC_BY_NAME(DT_NODELABEL(qux), int2) // &pic0 + * + * @param node_id node identifier + * @param name interrupt specifier's name + * @return node_id of interrupt specifier's interrupt controller + */ + + + +/** + * @brief Get an interrupt specifier's interrupt controller + * @note Equivalent to DT_IRQ_INTC_BY_IDX(node_id, 0) + * + * @code{.dts} + * gpio0: gpio0 { + * interrupt-controller; + * #interrupt-cells = <2>; + * }; + * + * foo: foo { + * interrupt-parent = <&gpio0>; + * interrupts = <1 1>; + * }; + * + * bar: bar { + * interrupts-extended = <&gpio0 3 3>; + * }; + * + * pic0: pic0 { + * interrupt-controller; + * #interrupt-cells = <1>; + * + * qux: qux { + * interrupts = <5>; + * }; + * }; + * @endcode + * + * Example usage: + * + * DT_IRQ_INTC(DT_NODELABEL(foo)) // &gpio0 + * DT_IRQ_INTC(DT_NODELABEL(bar)) // &gpio0 + * DT_IRQ_INTC(DT_NODELABEL(qux)) // &pic0 + * + * @param node_id node identifier + * @return node_id of interrupt specifier's interrupt controller + * @see DT_IRQ_INTC_BY_IDX() + */ + + + +/** + * @cond INTERNAL_HIDDEN + */ + +/* DT helper macro to encode a node's IRQN to level 1 according to the multi-level scheme */ + +/* DT helper macro to encode a node's IRQN to level 2 according to the multi-level scheme */ + + + +/* DT helper macro to encode a node's IRQN to level 3 according to the multi-level scheme */ + + + + +/* DT helper macro for the macros above */ + + +/** + * DT helper macro to encode a node's interrupt number according to the Zephyr's multi-level scheme + * See doc/kernel/services/interrupts.rst for details + */ + + + +/** + * INTERNAL_HIDDEN @endcond + */ + +/** + * @brief Get the node's Zephyr interrupt number at index + * If @kconfig{CONFIG_MULTI_LEVEL_INTERRUPTS} is enabled, the interrupt number at index will be + * multi-level encoded + * @param node_id node identifier + * @param idx logical index into the interrupt specifier array + * @return the Zephyr interrupt number + */ + + + + + +/** + * @brief Get a node's (only) irq number + * + * Equivalent to DT_IRQ(node_id, irq). This is provided as a convenience + * for the common case where a node generates exactly one interrupt, + * and the IRQ number is in a cell named `irq`. + * + * @param node_id node identifier + * @return the interrupt number for the node's only interrupt + */ + + +/** + * @} + */ + +/** + * @defgroup devicetree-generic-chosen Chosen nodes + * @ingroup devicetree + * @{ + */ + +/** + * @brief Get a node identifier for a `/chosen` node property + * + * This is only valid to call if `DT_HAS_CHOSEN(prop)` is 1. + * @param prop lowercase-and-underscores property name for + * the /chosen node + * @return a node identifier for the chosen node property + */ + + +/** + * @brief Test if the devicetree has a `/chosen` node + * @param prop lowercase-and-underscores devicetree property + * @return 1 if the chosen property exists and refers to a node, + * 0 otherwise + */ + + +/** + * @} + */ + +/** + * @defgroup devicetree-generic-foreach "For-each" macros + * @ingroup devicetree + * @{ + * + * IMPORTANT: you can't use the DT for-each macros in their own expansions. + * + * For example, something like this won't work the way you might expect: + * + * @code{.c} + * #define FOO(node_id) [...] DT_FOREACH_NODE(...) [...] + * DT_FOREACH_NODE(FOO) + * @endcode + * + * In this example, the C preprocessor won't expand the + * DT_FOREACH_NODE() macro inside of FOO() while it's already + * expanding DT_FOREACH_NODE() at the top level of the file. + * + * This is true of any macro, not just DT_FOREACH_NODE(). The C + * language works this way to avoid infinite recursions inside of + * macro expansions. + * + * If you need to "nest" calls to one of these macros, you can work + * around this preprocessor limitation by using a different, related + * macro instead, like this: + * + * @code{.c} + * #define BAR(node_id) [...] DT_FOREACH_NODE_VARGS(...) [...] + * DT_FOREACH_NODE(BAR) + * @endcode + * + * Here, we use DT_FOREACH_NODE_VARGS() "inside" BAR() "inside" + * DT_FOREACH_NODE(). Because of this, the preprocessor will expand + * both DT_FOREACH_NODE_VARGS() and DT_FOREACH_NODE() as expected. + */ + +/** + * @brief Invokes @p fn for every node in the tree. + * + * The macro @p fn must take one parameter, which will be a node + * identifier. The macro is expanded once for each node in the tree. + * The order that nodes are visited in is not specified. + * + * @param fn macro to invoke + */ + + +/** + * @brief Invokes @p fn for every node in the tree with multiple arguments. + * + * The macro @p fn takes multiple arguments. The first should be the node + * identifier for the node. The remaining are passed-in by the caller. + * + * The macro is expanded once for each node in the tree. The order that nodes + * are visited in is not specified. + * + * @param fn macro to invoke + * @param ... variable number of arguments to pass to @p fn + */ + + +/** + * @brief Invokes @p fn for every status `okay` node in the tree. + * + * The macro @p fn must take one parameter, which will be a node + * identifier. The macro is expanded once for each node in the tree + * with status `okay` (as usual, a missing status property is treated + * as status `okay`). The order that nodes are visited in is not + * specified. + * + * @param fn macro to invoke + */ + + +/** + * @brief Invokes @p fn for every status `okay` node in the tree with multiple + * arguments. + * + * The macro @p fn takes multiple arguments. The first should be the node + * identifier for the node. The remaining are passed-in by the caller. + * + * The macro is expanded once for each node in the tree with status `okay` (as + * usual, a missing status property is treated as status `okay`). The order + * that nodes are visited in is not specified. + * + * @param fn macro to invoke + * @param ... variable number of arguments to pass to @p fn + */ + + +/** + * @brief Invokes @p fn for each ancestor of @p node_id + * + * The macro @p fn must take one parameter, which will be the identifier + * of a child node of @p node_id to enable traversal of all ancestor nodes. + * + * The ancestor will be iterated over in the same order as they + * appear in the final devicetree. + * + * Example devicetree fragment: + * + * @code{.dts} + * n: node1 { + * foobar = "foo1"; + * + * n_2: node2 { + * foobar = "foo2"; + * + * n_3: node3 { + * foobar = "foo3"; + * }; + * }; + * }; + * @endcode + * + * Example usage: + * + * @code{.c} + * #define GET_PROP(n) DT_PROP(n, foobar), + * + * const char *ancestor_names[] = { + * DT_FOREACH_ANCESTOR(DT_NODELABEL(n_3), GET_PROP) + * }; + * @endcode + * + * This expands to: + * + * @code{.c} + * const char *ancestor_names[] = { + * "foo2", "foo1", + * }; + * @endcode + * + * @param node_id node identifier + * @param fn macro to invoke + */ + + + +/** + * @brief Invokes @p fn for each child of @p node_id + * + * The macro @p fn must take one parameter, which will be the node + * identifier of a child node of @p node_id. + * + * The children will be iterated over in the same order as they + * appear in the final devicetree. + * + * Example devicetree fragment: + * + * @code{.dts} + * n: node { + * child-1 { + * foobar = "foo"; + * }; + * child-2 { + * foobar = "bar"; + * }; + * }; + * @endcode + * + * Example usage: + * + * @code{.c} + * #define FOOBAR_AND_COMMA(node_id) DT_PROP(node_id, foobar), + * + * const char *child_foobars[] = { + * DT_FOREACH_CHILD(DT_NODELABEL(n), FOOBAR_AND_COMMA) + * }; + * @endcode + * + * This expands to: + * + * @code{.c} + * const char *child_foobars[] = { + * "foo", "bar", + * }; + * @endcode + * + * @param node_id node identifier + * @param fn macro to invoke + */ + + + +/** + * @brief Invokes @p fn for each child of @p node_id with a separator + * + * The macro @p fn must take one parameter, which will be the node + * identifier of a child node of @p node_id. + * + * Example devicetree fragment: + * + * @code{.dts} + * n: node { + * child-1 { + * ... + * }; + * child-2 { + * ... + * }; + * }; + * @endcode + * + * Example usage: + * + * @code{.c} + * const char *child_names[] = { + * DT_FOREACH_CHILD_SEP(DT_NODELABEL(n), DT_NODE_FULL_NAME, (,)) + * }; + * @endcode + * + * This expands to: + * + * @code{.c} + * const char *child_names[] = { + * "child-1", "child-2" + * }; + * @endcode + * + * @param node_id node identifier + * @param fn macro to invoke + * @param sep Separator (e.g. comma or semicolon). Must be in parentheses; + * this is required to enable providing a comma as separator. + */ + + + +/** + * @brief Invokes @p fn for each child of @p node_id with multiple arguments + * + * The macro @p fn takes multiple arguments. The first should be the node + * identifier for the child node. The remaining are passed-in by the caller. + * + * The children will be iterated over in the same order as they + * appear in the final devicetree. + * + * @param node_id node identifier + * @param fn macro to invoke + * @param ... variable number of arguments to pass to @p fn + * + * @see DT_FOREACH_CHILD + */ + + + +/** + * @brief Invokes @p fn for each child of @p node_id with separator and multiple + * arguments. + * + * The macro @p fn takes multiple arguments. The first should be the node + * identifier for the child node. The remaining are passed-in by the caller. + * + * @param node_id node identifier + * @param fn macro to invoke + * @param sep Separator (e.g. comma or semicolon). Must be in parentheses; + * this is required to enable providing a comma as separator. + * @param ... variable number of arguments to pass to @p fn + * + * @see DT_FOREACH_CHILD_VARGS + */ + + + +/** + * @brief Call @p fn on the child nodes with status `okay` + * + * The macro @p fn should take one argument, which is the node + * identifier for the child node. + * + * As usual, both a missing status and an `ok` status are + * treated as `okay`. + * + * The children will be iterated over in the same order as they + * appear in the final devicetree. + * + * @param node_id node identifier + * @param fn macro to invoke + */ + + + +/** + * @brief Call @p fn on the child nodes with status `okay` with separator + * + * The macro @p fn should take one argument, which is the node + * identifier for the child node. + * + * As usual, both a missing status and an `ok` status are + * treated as `okay`. + * + * @param node_id node identifier + * @param fn macro to invoke + * @param sep Separator (e.g. comma or semicolon). Must be in parentheses; + * this is required to enable providing a comma as separator. + * + * @see DT_FOREACH_CHILD_STATUS_OKAY + */ + + + +/** + * @brief Call @p fn on the child nodes with status `okay` with multiple + * arguments + * + * The macro @p fn takes multiple arguments. The first should be the node + * identifier for the child node. The remaining are passed-in by the caller. + * + * As usual, both a missing status and an `ok` status are + * treated as `okay`. + * + * The children will be iterated over in the same order as they + * appear in the final devicetree. + * + * @param node_id node identifier + * @param fn macro to invoke + * @param ... variable number of arguments to pass to @p fn + * + * @see DT_FOREACH_CHILD_STATUS_OKAY + */ + + + +/** + * @brief Call @p fn on the child nodes with status `okay` with separator and + * multiple arguments + * + * The macro @p fn takes multiple arguments. The first should be the node + * identifier for the child node. The remaining are passed-in by the caller. + * + * As usual, both a missing status and an `ok` status are + * treated as `okay`. + * + * @param node_id node identifier + * @param fn macro to invoke + * @param sep Separator (e.g. comma or semicolon). Must be in parentheses; + * this is required to enable providing a comma as separator. + * @param ... variable number of arguments to pass to @p fn + * + * @see DT_FOREACH_CHILD_SEP_STATUS_OKAY + */ + + + +/** + * @brief Invokes @p fn for each element in the value of property @p prop. + * + * The macro @p fn must take three parameters: fn(node_id, prop, idx). + * @p node_id and @p prop are the same as what is passed to + * DT_FOREACH_PROP_ELEM(), and @p idx is the current index into the array. + * The @p idx values are integer literals starting from 0. + * + * The @p prop argument must refer to a property that can be passed to + * DT_PROP_LEN(). + * + * Example devicetree fragment: + * + * @code{.dts} + * n: node { + * my-ints = <1 2 3>; + * }; + * @endcode + * + * Example usage: + * + * @code{.c} + * #define TIMES_TWO(node_id, prop, idx) * (2 * DT_PROP_BY_IDX(node_id, prop, idx)), +, + * + * int array[] = { + * DT_FOREACH_PROP_ELEM(DT_NODELABEL(n), my_ints, TIMES_TWO) + * }; + * @endcode + * + * This expands to: + * + * @code{.c} + * int array[] = { + * (2 * 1), (2 * 2), (2 * 3), + * }; + * @endcode + * + * In general, this macro expands to: + * + * fn(node_id, prop, 0) fn(node_id, prop, 1) [...] fn(node_id, prop, n-1) + * + * where `n` is the number of elements in @p prop, as it would be + * returned by `DT_PROP_LEN(node_id, prop)`. + * + * @param node_id node identifier + * @param prop lowercase-and-underscores property name + * @param fn macro to invoke + * @see DT_PROP_LEN + */ + + + +/** + * @brief Invokes @p fn for each element in the value of property @p prop with + * separator. + * + * Example devicetree fragment: + * + * @code{.dts} + * n: node { + * my-gpios = <&gpioa 0 GPIO_ACTICE_HIGH>, + * <&gpiob 1 GPIO_ACTIVE_HIGH>; + * }; + * @endcode + * + * Example usage: + * + * @code{.c} + * struct gpio_dt_spec specs[] = { + * DT_FOREACH_PROP_ELEM_SEP(DT_NODELABEL(n), my_gpios, + * GPIO_DT_SPEC_GET_BY_IDX, (,)) + * }; + * @endcode + * + * This expands as a first step to: + * + * @code{.c} + * struct gpio_dt_spec specs[] = { + * GPIO_DT_SPEC_GET_BY_IDX(DT_NODELABEL(n), my_gpios, 0), + * GPIO_DT_SPEC_GET_BY_IDX(DT_NODELABEL(n), my_gpios, 1) + * }; + * @endcode + * + * The @p prop parameter has the same restrictions as the same parameter + * given to DT_FOREACH_PROP_ELEM(). + * + * @param node_id node identifier + * @param prop lowercase-and-underscores property name + * @param fn macro to invoke + * @param sep Separator (e.g. comma or semicolon). Must be in parentheses; + * this is required to enable providing a comma as separator. + * + * @see DT_FOREACH_PROP_ELEM + */ + + + +/** + * @brief Invokes @p fn for each element in the value of property @p prop with + * multiple arguments. + * + * The macro @p fn must take multiple parameters: + * `fn(node_id, prop, idx, ...)`. @p node_id and @p prop are the same as what + * is passed to DT_FOREACH_PROP_ELEM(), and @p idx is the current index into + * the array. The @p idx values are integer literals starting from 0. The + * remaining arguments are passed-in by the caller. + * + * The @p prop parameter has the same restrictions as the same parameter + * given to DT_FOREACH_PROP_ELEM(). + * + * @param node_id node identifier + * @param prop lowercase-and-underscores property name + * @param fn macro to invoke + * @param ... variable number of arguments to pass to @p fn + * + * @see DT_FOREACH_PROP_ELEM + */ + + + +/** + * @brief Invokes @p fn for each element in the value of property @p prop with + * multiple arguments and a separator. + * + * The @p prop parameter has the same restrictions as the same parameter + * given to DT_FOREACH_PROP_ELEM(). + * + * @param node_id node identifier + * @param prop lowercase-and-underscores property name + * @param fn macro to invoke + * @param sep Separator (e.g. comma or semicolon). Must be in parentheses; + * this is required to enable providing a comma as separator. + * @param ... variable number of arguments to pass to fn + * + * @see DT_FOREACH_PROP_ELEM_VARGS + */ + + + + +/** + * @brief Invokes @p fn for each status `okay` node of a compatible. + * + * This macro expands to: + * + * fn(node_id_1) fn(node_id_2) ... fn(node_id_n) + * + * where each `node_id_` is a node identifier for some node with + * compatible @p compat and status `okay`. Whitespace is added between + * expansions as shown above. + * + * Example devicetree fragment: + * + * @code{.dts} + * / { + * a { + * compatible = "foo"; + * status = "okay"; + * }; + * b { + * compatible = "foo"; + * status = "disabled"; + * }; + * c { + * compatible = "foo"; + * }; + * }; + * @endcode + * + * Example usage: + * + * @code{.c} + * DT_FOREACH_STATUS_OKAY(foo, DT_NODE_PATH) + * @endcode + * + * This expands to one of the following: + * + * "/a" "/c" + * "/c" "/a" + * + * "One of the following" is because no guarantees are made about the + * order that node identifiers are passed to @p fn in the expansion. + * + * (The `/c` string literal is present because a missing status + * property is always treated as if the status were set to `okay`.) + * + * Note also that @p fn is responsible for adding commas, semicolons, + * or other terminators as needed. + * + * @param compat lowercase-and-underscores devicetree compatible + * @param fn Macro to call for each enabled node. Must accept a + * node_id as its only parameter. + */ + + + + + +/** + * @brief Invokes @p fn for each status `okay` node of a compatible + * with multiple arguments. + * + * This is like DT_FOREACH_STATUS_OKAY() except you can also pass + * additional arguments to @p fn. + * + * Example devicetree fragment: + * + * @code{.dts} + * / { + * a { + * compatible = "foo"; + * val = <3>; + * }; + * b { + * compatible = "foo"; + * val = <4>; + * }; + * }; + * @endcode + * + * Example usage: + * + * @code{.c} + * #define MY_FN(node_id, operator) DT_PROP(node_id, val) operator + * x = DT_FOREACH_STATUS_OKAY_VARGS(foo, MY_FN, +) 0; + * @endcode + * + * This expands to one of the following: + * + * @code{.c} + * x = 3 + 4 + 0; + * x = 4 + 3 + 0; + * @endcode + * + * i.e. it sets `x` to 7. As with DT_FOREACH_STATUS_OKAY(), there are no + * guarantees about the order nodes appear in the expansion. + * + * @param compat lowercase-and-underscores devicetree compatible + * @param fn Macro to call for each enabled node. Must accept a + * node_id as its only parameter. + * @param ... Additional arguments to pass to @p fn + */ + + + + + + +/** + * @brief Call @p fn on all nodes with compatible `compat` + * and status `okay` with multiple arguments + * + * + * @param compat lowercase-and-underscores devicetree compatible + * @param fn Macro to call for each enabled node. Must accept a + * devicetree compatible and instance number. + * @param ... Additional arguments to pass to @p fn + * + * @see DT_INST_FOREACH_STATUS_OKAY_VARGS + */ + + + + + + + +/** + * @brief Invokes @p fn for each node label of a given node + * + * The order of the node labels in this macro's expansion matches + * the order in the final devicetree, with duplicates removed. + * + * Node labels are passed to @p fn as tokens. Note that devicetree + * node labels are always valid C tokens (see "6.2 Labels" in + * Devicetree Specification v0.4 for details). The node labels are + * passed as tokens to @p fn as-is, without any lowercasing or + * conversion of special characters to underscores. + * + * Example devicetree fragment: + * + * @code{.dts} + * foo: bar: FOO: node@deadbeef {}; + * @endcode + * + * Example usage: + * + * @code{.c} + * int foo = 1; + * int bar = 2; + * int FOO = 3; + * + * #define FN(nodelabel) + nodelabel + * int sum = 0 DT_FOREACH_NODELABEL(DT_NODELABEL(foo), FN) + * @endcode + * + * This expands to: + * + * @code{.c} + * int sum = 0 + 1 + 2 + 3; + * @endcode + * + * @param node_id node identifier whose node labels to use + * @param fn macro which will be passed each node label in order + */ + + +/** + * @brief Invokes @p fn for each node label of a given node with + * multiple arguments. + * + * This is like DT_FOREACH_NODELABEL() except you can also pass + * additional arguments to @p fn. + * + * Example devicetree fragment: + * + * @code{.dts} + * foo: bar: node@deadbeef {}; + * @endcode + * + * Example usage: + * + * @code{.c} + * int foo = 0; + * int bar = 1; + * + * #define VAR_PLUS(nodelabel, to_add) int nodelabel ## _added = nodelabel + to_add; + * + * DT_FOREACH_NODELABEL_VARGS(DT_NODELABEL(foo), VAR_PLUS, 1) + * @endcode + * + * This expands to: + * + * @code{.c} + * int foo = 0; + * int bar = 1; + * int foo_added = foo + 1; + * int bar_added = bar + 1; + * @endcode + * + * @param node_id node identifier whose node labels to use + * @param fn macro which will be passed each node label in order + * @param ... additional arguments to pass to @p fn + */ + + + +/** + * @} + */ + +/** + * @defgroup devicetree-generic-exist Existence checks + * @ingroup devicetree + * @{ + */ + +/** + * @brief Does a node identifier refer to a node? + * + * Tests whether a node identifier refers to a node which exists, i.e. + * is defined in the devicetree. + * + * It doesn't matter whether or not the node has a matching binding, + * or what the node's status value is. This is purely a check of + * whether the node exists at all. + * + * @param node_id a node identifier + * @return 1 if the node identifier refers to a node, + * 0 otherwise. + */ + + +/** + * @brief Does a node identifier refer to a node with a status? + * + * Example uses: + * + * @code{.c} + * DT_NODE_HAS_STATUS(DT_PATH(soc, i2c_12340000), okay) + * DT_NODE_HAS_STATUS(DT_PATH(soc, i2c_12340000), disabled) + * @endcode + * + * Tests whether a node identifier refers to a node which: + * + * - exists in the devicetree, and + * - has a status property matching the second argument + * (except that either a missing status or an `ok` status + * in the devicetree is treated as if it were `okay` instead) + * + * @param node_id a node identifier + * @param status a status as one of the tokens okay or disabled, not a string + * @return 1 if the node has the given status, 0 otherwise. + */ + + + +/** + * @brief Does a node identifier refer to a node with a status `okay`? + * + * Example uses: + * + * @code{.c} + * DT_NODE_HAS_STATUS_OKAY(DT_PATH(soc, i2c_12340000)) + * @endcode + * + * Tests whether a node identifier refers to a node which: + * + * - exists in the devicetree, and + * - has a status property as `okay` + * + * As usual, both a missing status and an `ok` status are treated as + * `okay`. + * + * @param node_id a node identifier + * @return 1 if the node has status as `okay`, 0 otherwise. + */ + + +/** + * @brief Does the devicetree have a status `okay` node with a compatible? + * + * Test for whether the devicetree has any nodes with status `okay` + * and the given compatible. That is, this returns 1 if and only if + * there is at least one @p node_id for which both of these + * expressions return 1: + * + * @code{.c} + * DT_NODE_HAS_STATUS(node_id, okay) + * DT_NODE_HAS_COMPAT(node_id, compat) + * @endcode + * + * As usual, both a missing status and an `ok` status are treated as + * `okay`. + * + * @param compat lowercase-and-underscores compatible, without quotes + * @return 1 if both of the above conditions are met, 0 otherwise + */ + + + +/** + * @brief Get the number of instances of a given compatible with + * status `okay` + * @param compat lowercase-and-underscores compatible, without quotes + * @return Number of instances with status `okay` + */ + + + + +/** + * @brief Does a devicetree node match a compatible? + * + * Example devicetree fragment: + * + * @code{.dts} + * n: node { + * compatible = "vnd,specific-device", "generic-device"; + * } + * @endcode + * + * Example usages which evaluate to 1: + * + * @code{.c} + * DT_NODE_HAS_COMPAT(DT_NODELABEL(n), vnd_specific_device) + * DT_NODE_HAS_COMPAT(DT_NODELABEL(n), generic_device) + * @endcode + * + * This macro only uses the value of the compatible property. Whether + * or not a particular compatible has a matching binding has no effect + * on its value, nor does the node's status. + * + * @param node_id node identifier + * @param compat lowercase-and-underscores compatible, without quotes + * @return 1 if the node's compatible property contains @p compat, + * 0 otherwise. + */ + + + +/** + * @brief Does a devicetree node have a compatible and status? + * + * This is equivalent to: + * + * @code{.c} + * (DT_NODE_HAS_COMPAT(node_id, compat) && + * DT_NODE_HAS_STATUS(node_id, status)) + * @endcode + * + * @param node_id node identifier + * @param compat lowercase-and-underscores compatible, without quotes + * @param status okay or disabled as a token, not a string + */ + + + +/** + * @brief Does a devicetree node have a property? + * + * Tests whether a devicetree node has a property defined. + * + * This tests whether the property is defined at all, not whether a + * boolean property is true or false. To get a boolean property's + * truth value, use DT_PROP(node_id, prop) instead. + * + * @param node_id node identifier + * @param prop lowercase-and-underscores property name + * @return 1 if the node has the property, 0 otherwise. + */ + + + + +/** + * @brief Does a phandle array have a named cell specifier at an index? + * + * If this returns 1, then the phandle-array property @p pha has a cell + * named @p cell at index @p idx, and therefore DT_PHA_BY_IDX(node_id, + * pha, idx, cell) is valid. If it returns 0, it's an error to use + * DT_PHA_BY_IDX() with the same arguments. + * + * @param node_id node identifier + * @param pha lowercase-and-underscores property with type `phandle-array` + * @param idx index to check within @p pha + * @param cell lowercase-and-underscores cell name whose existence to check + * at index @p idx + * @return 1 if the named cell exists in the specifier at index idx, + * 0 otherwise. + */ + + + + +/** + * @brief Equivalent to DT_PHA_HAS_CELL_AT_IDX(node_id, pha, 0, cell) + * @param node_id node identifier + * @param pha lowercase-and-underscores property with type `phandle-array` + * @param cell lowercase-and-underscores cell name whose existence to check + * at index @p idx + * @return 1 if the named cell exists in the specifier at index 0, + * 0 otherwise. + */ + + + +/** + * @} + */ + +/** + * @defgroup devicetree-generic-bus Bus helpers + * @ingroup devicetree + * @{ + */ + +/** + * @brief Node's bus controller + * + * Get the node identifier of the node's bus controller. This can be + * used with DT_PROP() to get properties of the bus controller. + * + * It is an error to use this with nodes which do not have bus + * controllers. + * + * Example devicetree fragment: + * + * @code{.dts} + * i2c@deadbeef { + * status = "okay"; + * clock-frequency = < 100000 >; + * + * i2c_device: accelerometer@12 { + * ... + * }; + * }; + * @endcode + * + * Example usage: + * + * @code{.c} + * DT_PROP(DT_BUS(DT_NODELABEL(i2c_device)), clock_frequency) // 100000 + * @endcode + * + * @param node_id node identifier + * @return a node identifier for the node's bus controller + */ + + +/** + * @brief Is a node on a bus of a given type? + * + * Example devicetree overlay: + * + * @code{.dts} + * &i2c0 { + * temp: temperature-sensor@76 { + * compatible = "vnd,some-sensor"; + * reg = <0x76>; + * }; + * }; + * @endcode + * + * Example usage, assuming `i2c0` is an I2C bus controller node, and + * therefore `temp` is on an I2C bus: + * + * @code{.c} + * DT_ON_BUS(DT_NODELABEL(temp), i2c) // 1 + * DT_ON_BUS(DT_NODELABEL(temp), spi) // 0 + * @endcode + * + * @param node_id node identifier + * @param bus lowercase-and-underscores bus type as a C token (i.e. + * without quotes) + * @return 1 if the node is on a bus of the given type, + * 0 otherwise + */ + + +/** + * @} + */ + +/** + * @defgroup devicetree-inst Instance-based devicetree APIs + * @ingroup devicetree + * @{ + */ + +/** + * @brief Node identifier for an instance of a `DT_DRV_COMPAT` compatible + * @param inst instance number + * @return a node identifier for the node with `DT_DRV_COMPAT` compatible and + * instance number @p inst + */ + + +/** + * @brief Get a `DT_DRV_COMPAT` parent's node identifier + * @param inst instance number + * @return a node identifier for the instance's parent + * + * @see DT_PARENT + */ + + +/** + * @brief Get a `DT_DRV_COMPAT` grandparent's node identifier + * @param inst instance number + * @return a node identifier for the instance's grandparent + * + * @see DT_GPARENT + */ + + +/** + * @brief Get a node identifier for a child node of DT_DRV_INST(inst) + * + * @param inst instance number + * @param child lowercase-and-underscores child node name + * @return node identifier for the node with the name referred to by 'child' + * + * @see DT_CHILD + */ + + + +/** + * @brief Get the number of child nodes of a given node + * + * This is equivalent to @see + * DT_CHILD_NUM(DT_DRV_INST(inst)). + * + * @param inst Devicetree instance number + * @return Number of child nodes + */ + + +/** + * @brief Get the number of child nodes of a given node + * + * This is equivalent to @see + * DT_CHILD_NUM_STATUS_OKAY(DT_DRV_INST(inst)). + * + * @param inst Devicetree instance number + * @return Number of child nodes which status are okay + */ + + + +/** + * @brief Get a string array of DT_DRV_INST(inst)'s node labels + * + * Equivalent to DT_NODELABEL_STRING_ARRAY(DT_DRV_INST(inst)). + * + * @param inst instance number + * @return an array initializer for an array of the instance's node labels as strings + */ + + +/** + * @brief Get the number of node labels by instance number + * + * Equivalent to DT_NUM_NODELABELS(DT_DRV_INST(inst)). + * + * @param inst instance number + * @return the number of node labels that the node with that instance number has + */ + + +/** + * @brief Call @p fn on all child nodes of DT_DRV_INST(inst). + * + * The macro @p fn should take one argument, which is the node + * identifier for the child node. + * + * The children will be iterated over in the same order as they + * appear in the final devicetree. + * + * @param inst instance number + * @param fn macro to invoke on each child node identifier + * + * @see DT_FOREACH_CHILD + */ + + + +/** + * @brief Call @p fn on all child nodes of DT_DRV_INST(inst) with a separator + * + * The macro @p fn should take one argument, which is the node + * identifier for the child node. + * + * @param inst instance number + * @param fn macro to invoke on each child node identifier + * @param sep Separator (e.g. comma or semicolon). Must be in parentheses; + * this is required to enable providing a comma as separator. + * + * @see DT_FOREACH_CHILD_SEP + */ + + + +/** + * @brief Call @p fn on all child nodes of DT_DRV_INST(inst). + * + * The macro @p fn takes multiple arguments. The first should be the node + * identifier for the child node. The remaining are passed-in by the caller. + * + * The children will be iterated over in the same order as they + * appear in the final devicetree. + * + * @param inst instance number + * @param fn macro to invoke on each child node identifier + * @param ... variable number of arguments to pass to @p fn + * + * @see DT_FOREACH_CHILD + */ + + + +/** + * @brief Call @p fn on all child nodes of DT_DRV_INST(inst) with separator. + * + * The macro @p fn takes multiple arguments. The first should be the node + * identifier for the child node. The remaining are passed-in by the caller. + * + * @param inst instance number + * @param fn macro to invoke on each child node identifier + * @param sep Separator (e.g. comma or semicolon). Must be in parentheses; + * this is required to enable providing a comma as separator. + * @param ... variable number of arguments to pass to @p fn + * + * @see DT_FOREACH_CHILD_SEP_VARGS + */ + + + +/** + * @brief Call @p fn on all child nodes of DT_DRV_INST(inst) with status `okay`. + * + * The macro @p fn should take one argument, which is the node + * identifier for the child node. + * + * @param inst instance number + * @param fn macro to invoke on each child node identifier + * + * @see DT_FOREACH_CHILD_STATUS_OKAY + */ + + + +/** + * @brief Call @p fn on all child nodes of DT_DRV_INST(inst) with status `okay` + * and with separator. + * + * The macro @p fn should take one argument, which is the node + * identifier for the child node. + * + * @param inst instance number + * @param fn macro to invoke on each child node identifier + * @param sep Separator (e.g. comma or semicolon). Must be in parentheses; + * this is required to enable providing a comma as separator. + * + * @see DT_FOREACH_CHILD_STATUS_OKAY_SEP + */ + + + +/** + * @brief Call @p fn on all child nodes of DT_DRV_INST(inst) with status `okay` + * and multiple arguments. + * + * The macro @p fn takes multiple arguments. The first should be the node + * identifier for the child node. The remaining are passed-in by the caller. + * + * @param inst instance number + * @param fn macro to invoke on each child node identifier + * @param ... variable number of arguments to pass to @p fn + * + * @see DT_FOREACH_CHILD_STATUS_OKAY_VARGS + */ + + + +/** + * @brief Call @p fn on all child nodes of DT_DRV_INST(inst) with status `okay` + * and with separator and multiple arguments. + * + * The macro @p fn takes multiple arguments. The first should be the node + * identifier for the child node. The remaining are passed-in by the caller. + * + * @param inst instance number + * @param fn macro to invoke on each child node identifier + * @param sep Separator (e.g. comma or semicolon). Must be in parentheses; + * this is required to enable providing a comma as separator. + * @param ... variable number of arguments to pass to @p fn + * + * @see DT_FOREACH_CHILD_STATUS_OKAY_SEP_VARGS + */ + + + +/** + * @brief Get a `DT_DRV_COMPAT` property array value's index into its enumeration values + * @param inst instance number + * @param prop lowercase-and-underscores property name + * @param idx the index to get + * @return zero-based index of the property's value in its enum: list + */ + + + +/** + * @brief Get a `DT_DRV_COMPAT` value's index into its enumeration values + * @param inst instance number + * @param prop lowercase-and-underscores property name + * @return zero-based index of the property's value in its enum: list + */ + + + +/** + * @brief Like DT_INST_ENUM_IDX_BY_IDX(), but with a fallback to a default enum index + * @param inst instance number + * @param prop lowercase-and-underscores property name + * @param idx the index to get + * @param default_idx_value a fallback index value to expand to + * @return zero-based index of the property's value in its enum if present, + * default_idx_value otherwise + */ + + + +/** + * @brief Like DT_INST_ENUM_IDX(), but with a fallback to a default enum index + * @param inst instance number + * @param prop lowercase-and-underscores property name + * @param default_idx_value a fallback index value to expand to + * @return zero-based index of the property's value in its enum if present, + * default_idx_value otherwise + */ + + + +/** + * @brief Does a `DT_DRV_COMPAT` enumeration property have a given value by index? + * @param inst instance number + * @param prop lowercase-and-underscores property name + * @param idx the index to get + * @param value lowercase-and-underscores enumeration value + * @return zero-based index of the property's value in its enum + */ + + + +/** + * @brief Does a `DT_DRV_COMPAT` enumeration property have a given value? + * + * @param inst instance number + * @param prop lowercase-and-underscores property name + * @param value lowercase-and-underscores enumeration value + * @return 1 if the node property has the value @a value, 0 otherwise. + */ + + + +/** + * @brief Get a `DT_DRV_COMPAT` instance property + * @param inst instance number + * @param prop lowercase-and-underscores property name + * @return a representation of the property's value + */ + + +/** + * @brief Get a `DT_DRV_COMPAT` property length + * @param inst instance number + * @param prop lowercase-and-underscores property name + * @return logical length of the property + */ + + +/** + * @brief Is index @p idx valid for an array type property + * on a `DT_DRV_COMPAT` instance? + * @param inst instance number + * @param prop lowercase-and-underscores property name + * @param idx index to check + * @return 1 if @p idx is a valid index into the given property, + * 0 otherwise. + */ + + + +/** + * @brief Is name @p name available in a `foo-names` property? + * @param inst instance number + * @param prop a lowercase-and-underscores `prop-names` type property + * @param name a lowercase-and-underscores name to check + * @return An expression which evaluates to 1 if @p name is an available + * name into the given property, and 0 otherwise. + */ + + + +/** + * @brief Get a `DT_DRV_COMPAT` element value in an array property + * @param inst instance number + * @param prop lowercase-and-underscores property name + * @param idx the index to get + * @return a representation of the idx-th element of the property + */ + + + +/** + * @brief Like DT_INST_PROP(), but with a fallback to @p default_value + * @param inst instance number + * @param prop lowercase-and-underscores property name + * @param default_value a fallback value to expand to + * @return DT_INST_PROP(inst, prop) or @p default_value + */ + + + +/** + * @brief Like DT_INST_PROP_LEN(), but with a fallback to @p default_value + * @param inst instance number + * @param prop lowercase-and-underscores property name + * @param default_value a fallback value to expand to + * @return DT_INST_PROP_LEN(inst, prop) or @p default_value + */ + + + +/** + * @brief Get a `DT_DRV_COMPAT` instance's string property's value as a + * token. + * + * @param inst instance number + * @param prop lowercase-and-underscores property name + * @return the value of @p prop as a token, i.e. without any quotes + * and with special characters converted to underscores + */ + + + +/** + * @brief Like DT_INST_STRING_TOKEN(), but uppercased. + * @param inst instance number + * @param prop lowercase-and-underscores property name + * @return the value of @p prop as an uppercased token, i.e. without + * any quotes and with special characters converted to underscores + */ + + + +/** + * @brief Get a `DT_DRV_COMPAT` instance's string property's value as + * an unquoted sequence of tokens. + * + * @param inst instance number + * @param prop lowercase-and-underscores property name + * @return the value of @p prop as a sequence of tokens, with no quotes + */ + + + +/** + * @brief Get an element out of string-array property as a token. + * @param inst instance number + * @param prop lowercase-and-underscores property name + * @param idx the index to get + * @return the element in @p prop at index @p idx as a token + */ + + + +/** + * @brief Like DT_INST_STRING_TOKEN_BY_IDX(), but uppercased. + * @param inst instance number + * @param prop lowercase-and-underscores property name + * @param idx the index to get + * @return the element in @p prop at index @p idx as an uppercased token + */ + + + +/** + * @brief Get an element out of string-array property as an unquoted sequence of tokens. + * @param inst instance number + * @param prop lowercase-and-underscores property name + * @param idx the index to get + * @return the value of @p prop at index @p idx as a sequence of tokens, with no quotes + */ + + + +/** + * @brief Get a `DT_DRV_COMPAT` instance's property value from a phandle's node + * @param inst instance number + * @param ph lowercase-and-underscores property of @p inst + * with type `phandle` + * @param prop lowercase-and-underscores property of the phandle's node + * @return the value of @p prop as described in the DT_PROP() documentation + */ + + + +/** + * @brief Get a `DT_DRV_COMPAT` instance's property value from a phandle in a + * property. + * @param inst instance number + * @param phs lowercase-and-underscores property with type `phandle`, + * `phandles`, or `phandle-array` + * @param idx logical index into "phs", which must be zero if "phs" + * has type `phandle` + * @param prop lowercase-and-underscores property of the phandle's node + * @return the value of @p prop as described in the DT_PROP() documentation + */ + + + +/** + * @brief Get a `DT_DRV_COMPAT` instance's phandle-array specifier value at an index + * @param inst instance number + * @param pha lowercase-and-underscores property with type `phandle-array` + * @param idx logical index into the property @p pha + * @param cell binding's cell name within the specifier at index @p idx + * @return the value of the cell inside the specifier at index @p idx + */ + + + +/** + * @brief Like DT_INST_PHA_BY_IDX(), but with a fallback to default_value + * @param inst instance number + * @param pha lowercase-and-underscores property with type `phandle-array` + * @param idx logical index into the property @p pha + * @param cell binding's cell name within the specifier at index @p idx + * @param default_value a fallback value to expand to + * @return DT_INST_PHA_BY_IDX(inst, pha, idx, cell) or default_value + */ + + + +/** + * @brief Get a `DT_DRV_COMPAT` instance's phandle-array specifier value + * Equivalent to DT_INST_PHA_BY_IDX(inst, pha, 0, cell) + * @param inst instance number + * @param pha lowercase-and-underscores property with type `phandle-array` + * @param cell binding's cell name for the specifier at @p pha index 0 + * @return the cell value + */ + + +/** + * @brief Like DT_INST_PHA(), but with a fallback to default_value + * @param inst instance number + * @param pha lowercase-and-underscores property with type `phandle-array` + * @param cell binding's cell name for the specifier at @p pha index 0 + * @param default_value a fallback value to expand to + * @return DT_INST_PHA(inst, pha, cell) or default_value + */ + + + +/** + * @brief Get a `DT_DRV_COMPAT` instance's value within a phandle-array + * specifier by name + * @param inst instance number + * @param pha lowercase-and-underscores property with type `phandle-array` + * @param name lowercase-and-underscores name of a specifier in @p pha + * @param cell binding's cell name for the named specifier + * @return the cell value + */ + + + +/** + * @brief Like DT_INST_PHA_BY_NAME(), but with a fallback to default_value + * @param inst instance number + * @param pha lowercase-and-underscores property with type `phandle-array` + * @param name lowercase-and-underscores name of a specifier in @p pha + * @param cell binding's cell name for the named specifier + * @param default_value a fallback value to expand to + * @return DT_INST_PHA_BY_NAME(inst, pha, name, cell) or default_value + */ + + + +/** + * @brief Get a `DT_DRV_COMPAT` instance's phandle node identifier from a + * phandle array by name + * @param inst instance number + * @param pha lowercase-and-underscores property with type `phandle-array` + * @param name lowercase-and-underscores name of an element in @p pha + * @return node identifier for the phandle at the element named "name" + */ + + + +/** + * @brief Get a `DT_DRV_COMPAT` instance's node identifier for a phandle in + * a property. + * @param inst instance number + * @param prop lowercase-and-underscores property name in @p inst + * with type `phandle`, `phandles` or `phandle-array` + * @param idx index into @p prop + * @return a node identifier for the phandle at index @p idx in @p prop + */ + + + +/** + * @brief Get a `DT_DRV_COMPAT` instance's node identifier for a phandle + * property's value + * @param inst instance number + * @param prop lowercase-and-underscores property of @p inst + * with type `phandle` + * @return a node identifier for the node pointed to by "ph" + */ + + +/** + * @brief is @p idx a valid register block index on a `DT_DRV_COMPAT` instance? + * @param inst instance number + * @param idx index to check + * @return 1 if @p idx is a valid register block index, + * 0 otherwise. + */ + + +/** + * @brief is @p name a valid register block name on a `DT_DRV_COMPAT` instance? + * @param inst instance number + * @param name name to check + * @return 1 if @p name is a valid register block name, + * 0 otherwise. + */ + + +/** + * @brief Get a `DT_DRV_COMPAT` instance's idx-th register block's raw address + * @param inst instance number + * @param idx index of the register whose address to return + * @return address of the instance's idx-th register block + */ + + +/** + * @brief Get a `DT_DRV_COMPAT` instance's idx-th register block's address + * @param inst instance number + * @param idx index of the register whose address to return + * @return address of the instance's idx-th register block + */ + + +/** + * @brief Get a `DT_DRV_COMPAT` instance's idx-th register block's size + * @param inst instance number + * @param idx index of the register whose size to return + * @return size of the instance's idx-th register block + */ + + + +/** + * @brief Get a `DT_DRV_COMPAT`'s register block address by name + * @param inst instance number + * @param name lowercase-and-underscores register specifier name + * @return address of the register block with the given @p name + */ + + + +/** + * @brief Like DT_INST_REG_ADDR_BY_NAME(), but with a fallback to @p default_value + * @param inst instance number + * @param name lowercase-and-underscores register specifier name + * @param default_value a fallback value to expand to + * @return address of the register block specified by name if present, + * @p default_value otherwise + */ + + + +/** + * @brief 64-bit version of DT_INST_REG_ADDR_BY_NAME() + * + * This macro version adds the appropriate suffix for 64-bit unsigned + * integer literals. + * Note that this macro is equivalent to DT_INST_REG_ADDR_BY_NAME() in + * linker/ASM context. + * + * @param inst instance number + * @param name lowercase-and-underscores register specifier name + * @return address of the register block with the given @p name + */ + + + +/** + * @brief Get a `DT_DRV_COMPAT`'s register block size by name + * @param inst instance number + * @param name lowercase-and-underscores register specifier name + * @return size of the register block with the given @p name + */ + + + +/** + * @brief Like DT_INST_REG_SIZE_BY_NAME(), but with a fallback to @p default_value + * @param inst instance number + * @param name lowercase-and-underscores register specifier name + * @param default_value a fallback value to expand to + * @return size of the register block specified by name if present, + * @p default_value otherwise + */ + + + +/** + * @brief Get a `DT_DRV_COMPAT`'s (only) register block raw address + * @param inst instance number + * @return instance's register block address + */ + + +/** + * @brief Get a `DT_DRV_COMPAT`'s (only) register block address + * @param inst instance number + * @return instance's register block address + */ + + +/** + * @brief 64-bit version of DT_INST_REG_ADDR() + * + * This macro version adds the appropriate suffix for 64-bit unsigned + * integer literals. + * Note that this macro is equivalent to DT_INST_REG_ADDR() in + * linker/ASM context. + * + * @param inst instance number + * @return instance's register block address + */ + + +/** + * @brief Get a `DT_DRV_COMPAT`'s (only) register block size + * @param inst instance number + * @return instance's register block size + */ + + +/** + * @brief Get a `DT_DRV_COMPAT`'s number of interrupts + * + * @param inst instance number + * @return number of interrupts + */ + + +/** + * @brief Get a `DT_DRV_COMPAT` interrupt level + * + * @param inst instance number + * @return interrupt level + */ + + +/** + * @brief Get a `DT_DRV_COMPAT` interrupt specifier value at an index + * @param inst instance number + * @param idx logical index into the interrupt specifier array + * @param cell cell name specifier + * @return the named value at the specifier given by the index + */ + + + +/** + * @brief Get a `DT_DRV_COMPAT` interrupt specifier's interrupt controller by index + * @param inst instance number + * @param idx interrupt specifier's index + * @return node_id of interrupt specifier's interrupt controller + */ + + + +/** + * @brief Get a `DT_DRV_COMPAT` interrupt specifier's interrupt controller by name + * @param inst instance number + * @param name interrupt specifier's name + * @return node_id of interrupt specifier's interrupt controller + */ + + + +/** + * @brief Get a `DT_DRV_COMPAT` interrupt specifier's interrupt controller + * @note Equivalent to DT_INST_IRQ_INTC_BY_IDX(node_id, 0) + * @param inst instance number + * @return node_id of interrupt specifier's interrupt controller + * @see DT_INST_IRQ_INTC_BY_IDX() + */ + + + +/** + * @brief Get a `DT_DRV_COMPAT` interrupt specifier value by name + * @param inst instance number + * @param name lowercase-and-underscores interrupt specifier name + * @param cell cell name specifier + * @return the named value at the specifier given by the index + */ + + + +/** + * @brief Get a `DT_DRV_COMPAT` interrupt specifier's value + * @param inst instance number + * @param cell cell name specifier + * @return the named value at that index + */ + + +/** + * @brief Get a `DT_DRV_COMPAT`'s (only) irq number + * @param inst instance number + * @return the interrupt number for the node's only interrupt + */ + + +/** + * @brief Get a `DT_DRV_COMPAT`'s irq number at index + * @param inst instance number + * @param idx logical index into the interrupt specifier array + * @return the interrupt number for the node's idx-th interrupt + */ + + +/** + * @brief Get a `DT_DRV_COMPAT`'s bus node identifier + * @param inst instance number + * @return node identifier for the instance's bus node + */ + + +/** + * @brief Test if a `DT_DRV_COMPAT`'s bus type is a given type + * @param inst instance number + * @param bus a binding's bus type as a C token, lowercased and without quotes + * @return 1 if the given instance is on a bus of the given type, + * 0 otherwise + */ + + +/** + * @brief Like DT_INST_STRING_TOKEN(), but with a fallback to @p default_value + * @param inst instance number + * @param name lowercase-and-underscores property name + * @param default_value a fallback value to expand to + * @return if @p prop exists, its value as a token, i.e. without any quotes and + * with special characters converted to underscores. Otherwise + * @p default_value + */ + + + +/** + * @brief Like DT_INST_STRING_UPPER_TOKEN(), but with a fallback to + * @p default_value + * @param inst instance number + * @param name lowercase-and-underscores property name + * @param default_value a fallback value to expand to + * @return the property's value as an uppercased token, or @p default_value + */ + + + +/** + * @brief Like DT_INST_STRING_UNQUOTED(), but with a fallback to + * @p default_value + * @param inst instance number + * @param name lowercase-and-underscores property name + * @param default_value a fallback value to expand to + * @return the property's value as a sequence of tokens, with no quotes, or @p default_value + */ + + + +/** + * @brief Test if any enabled node with the given compatible is on + * the given bus type + * + * This is like DT_ANY_INST_ON_BUS_STATUS_OKAY(), except it can also + * be useful for handling multiple compatibles in single source file. + * + * Example devicetree overlay: + * + * @code{.dts} + * &i2c0 { + * temp: temperature-sensor@76 { + * compatible = "vnd,some-sensor"; + * reg = <0x76>; + * }; + * }; + * @endcode + * + * Example usage, assuming `i2c0` is an I2C bus controller node, and + * therefore `temp` is on an I2C bus: + * + * @code{.c} + * DT_HAS_COMPAT_ON_BUS_STATUS_OKAY(vnd_some_sensor, i2c) // 1 + * @endcode + * + * @param compat lowercase-and-underscores compatible, without quotes + * @param bus a binding's bus type as a C token, lowercased and without quotes + * @return 1 if any enabled node with that compatible is on that bus type, + * 0 otherwise + */ + + + +/** + * @brief Test if any `DT_DRV_COMPAT` node is on a bus of a given type + * and has status okay + * + * This is a special-purpose macro which can be useful when writing + * drivers for devices which can appear on multiple buses. One example + * is a sensor device which may be wired on an I2C or SPI bus. + * + * Example devicetree overlay: + * + * @code{.dts} + * &i2c0 { + * temp: temperature-sensor@76 { + * compatible = "vnd,some-sensor"; + * reg = <0x76>; + * }; + * }; + * @endcode + * + * Example usage, assuming `i2c0` is an I2C bus controller node, and + * therefore `temp` is on an I2C bus: + * + * @code{.c} + * #define DT_DRV_COMPAT vnd_some_sensor + * + * DT_ANY_INST_ON_BUS_STATUS_OKAY(i2c) // 1 + * @endcode + * + * @param bus a binding's bus type as a C token, lowercased and without quotes + * @return 1 if any enabled node with that compatible is on that bus type, + * 0 otherwise + */ + + + +/** + * @brief Check if any `DT_DRV_COMPAT` node with status `okay` has a given + * property. + * + * @param prop lowercase-and-underscores property name + * + * Example devicetree overlay: + * + * @code{.dts} + * &i2c0 { + * sensor0: sensor@0 { + * compatible = "vnd,some-sensor"; + * status = "okay"; + * reg = <0>; + * foo = <1>; + * bar = <2>; + * }; + * + * sensor1: sensor@1 { + * compatible = "vnd,some-sensor"; + * status = "okay"; + * reg = <1>; + * foo = <2>; + * }; + * + * sensor2: sensor@2 { + * compatible = "vnd,some-sensor"; + * status = "disabled"; + * reg = <2>; + * baz = <1>; + * }; + * }; + * @endcode + * + * Example usage: + * + * @code{.c} + * #define DT_DRV_COMPAT vnd_some_sensor + * + * DT_ANY_INST_HAS_PROP_STATUS_OKAY(foo) // 1 + * DT_ANY_INST_HAS_PROP_STATUS_OKAY(bar) // 1 + * DT_ANY_INST_HAS_PROP_STATUS_OKAY(baz) // 0 + * @endcode + */ + + + +/** + * @brief Check if any device node with status `okay` has a given + * property. + * + * @param compat lowercase-and-underscores devicetree compatible + * @param prop lowercase-and-underscores property name + * + * Example devicetree overlay: + * + * @code{.dts} + * &i2c0 { + * sensor0: sensor@0 { + * compatible = "vnd,some-sensor"; + * status = "okay"; + * reg = <0>; + * foo = <1>; + * bar = <2>; + * }; + * + * sensor1: sensor@1 { + * compatible = "vnd,some-sensor"; + * status = "okay"; + * reg = <1>; + * foo = <2>; + * }; + * + * sensor2: sensor@2 { + * compatible = "vnd,some-sensor"; + * status = "disabled"; + * reg = <2>; + * baz = <1>; + * }; + * }; + * @endcode + * + * Example usage: + * + * @code{.c} + * + * DT_ANY_COMPAT_HAS_PROP_STATUS_OKAY(vnd_some_sensor, foo) // 1 + * DT_ANY_COMPAT_HAS_PROP_STATUS_OKAY(vnd_some_sensor, bar) // 1 + * DT_ANY_COMPAT_HAS_PROP_STATUS_OKAY(vnd_some_sensor, baz) // 0 + * @endcode + */ + + + +/** + * @brief Check if any `DT_DRV_COMPAT` node with status `okay` has a given + * boolean property that exists. + * + * This differs from @ref DT_ANY_INST_HAS_PROP_STATUS_OKAY because even when not present + * on a node, the boolean property is generated with a value of 0 and therefore exists. + * + * @param prop lowercase-and-underscores property name + * + * Example devicetree overlay: + * + * @code{.dts} + * &i2c0 { + * sensor0: sensor@0 { + * compatible = "vnd,some-sensor"; + * status = "okay"; + * reg = <0>; + * foo; + * bar; + * }; + * + * sensor1: sensor@1 { + * compatible = "vnd,some-sensor"; + * status = "okay"; + * reg = <1>; + * foo; + * }; + * + * sensor2: sensor@2 { + * compatible = "vnd,some-sensor"; + * status = "disabled"; + * reg = <2>; + * baz; + * }; + * }; + * @endcode + * + * Example usage: + * + * @code{.c} + * #define DT_DRV_COMPAT vnd_some_sensor + * + * DT_ANY_INST_HAS_BOOL_STATUS_OKAY(foo) // 1 + * DT_ANY_INST_HAS_BOOL_STATUS_OKAY(bar) // 1 + * DT_ANY_INST_HAS_BOOL_STATUS_OKAY(baz) // 0 + * @endcode + */ + + + +/** + * @brief Call @p fn on all nodes with compatible `DT_DRV_COMPAT` + * and status `okay` + * + * This macro calls `fn(inst)` on each `inst` number that refers to a + * node with status `okay`. Whitespace is added between invocations. + * + * Example devicetree fragment: + * + * @code{.dts} + * a { + * compatible = "vnd,device"; + * status = "okay"; + * foobar = "DEV_A"; + * }; + * + * b { + * compatible = "vnd,device"; + * status = "okay"; + * foobar = "DEV_B"; + * }; + * + * c { + * compatible = "vnd,device"; + * status = "disabled"; + * foobar = "DEV_C"; + * }; + * @endcode + * + * Example usage: + * + * @code{.c} + * #define DT_DRV_COMPAT vnd_device + * #define MY_FN(inst) DT_INST_PROP(inst, foobar), + * + * DT_INST_FOREACH_STATUS_OKAY(MY_FN) + * @endcode + * + * This expands to: + * + * @code{.c} + * MY_FN(0) MY_FN(1) + * @endcode + * + * and from there, to either this: + * + * "DEV_A", "DEV_B", + * + * or this: + * + * "DEV_B", "DEV_A", + * + * No guarantees are made about the order that a and b appear in the + * expansion. + * + * Note that @p fn is responsible for adding commas, semicolons, or + * other separators or terminators. + * + * Device drivers should use this macro whenever possible to + * instantiate a struct device for each enabled node in the devicetree + * of the driver's compatible `DT_DRV_COMPAT`. + * + * @param fn Macro to call for each enabled node. Must accept an + * instance number as its only parameter. + */ + + + + + + +/** + * @brief Call @p fn on all nodes with compatible `DT_DRV_COMPAT` + * and status `okay` with multiple arguments + * + * + * @param fn Macro to call for each enabled node. Must accept an + * instance number. + * @param ... variable number of arguments to pass to @p fn + * + * @see DT_INST_FOREACH_STATUS_OKAY + * @see DT_COMPAT_FOREACH_STATUS_OKAY_VARGS + */ + + + + + + +/** + * @brief Call @p fn on all node labels for a given `DT_DRV_COMPAT` instance + * + * Equivalent to DT_FOREACH_NODELABEL(DT_DRV_INST(inst), fn). + * + * @param inst instance number + * @param fn macro which will be passed each node label for the node + * with that instance number + */ + + + +/** + * @brief Call @p fn on all node labels for a given `DT_DRV_COMPAT` instance + * with multiple arguments + * + * Equivalent to DT_FOREACH_NODELABEL_VARGS(DT_DRV_INST(inst), fn, ...). + * + * @param inst instance number + * @param fn macro which will be passed each node label for the node + * with that instance number + * @param ... additional arguments to pass to @p fn + */ + + + +/** + * @brief Invokes @p fn for each element of property @p prop for + * a `DT_DRV_COMPAT` instance. + * + * Equivalent to DT_FOREACH_PROP_ELEM(DT_DRV_INST(inst), prop, fn). + * + * @param inst instance number + * @param prop lowercase-and-underscores property name + * @param fn macro to invoke + */ + + + +/** + * @brief Invokes @p fn for each element of property @p prop for + * a `DT_DRV_COMPAT` instance with a separator. + * + * Equivalent to DT_FOREACH_PROP_ELEM_SEP(DT_DRV_INST(inst), prop, fn, sep). + * + * @param inst instance number + * @param prop lowercase-and-underscores property name + * @param fn macro to invoke + * @param sep Separator (e.g. comma or semicolon). Must be in parentheses; + * this is required to enable providing a comma as separator. + */ + + + +/** + * @brief Invokes @p fn for each element of property @p prop for + * a `DT_DRV_COMPAT` instance with multiple arguments. + * + * Equivalent to + * DT_FOREACH_PROP_ELEM_VARGS(DT_DRV_INST(inst), prop, fn, __VA_ARGS__) + * + * @param inst instance number + * @param prop lowercase-and-underscores property name + * @param fn macro to invoke + * @param ... variable number of arguments to pass to @p fn + * + * @see DT_INST_FOREACH_PROP_ELEM + */ + + + +/** + * @brief Invokes @p fn for each element of property @p prop for + * a `DT_DRV_COMPAT` instance with multiple arguments and a separator. + * + * Equivalent to + * DT_FOREACH_PROP_ELEM_SEP_VARGS(DT_DRV_INST(inst), prop, fn, sep, + * __VA_ARGS__) + * + * @param inst instance number + * @param prop lowercase-and-underscores property name + * @param fn macro to invoke + * @param sep Separator (e.g. comma or semicolon). Must be in parentheses; + * this is required to enable providing a comma as separator. + * @param ... variable number of arguments to pass to fn + * + * @see DT_INST_FOREACH_PROP_ELEM + */ + + + + +/** + * @brief Does a DT_DRV_COMPAT instance have a property? + * @param inst instance number + * @param prop lowercase-and-underscores property name + * @return 1 if the instance has the property, 0 otherwise. + */ + + + +/** + * @brief Does a DT_DRV_COMPAT instance have the compatible? + * @param inst instance number + * @param compat lowercase-and-underscores compatible, without quotes + * @return 1 if the instance matches the compatible, 0 otherwise. + */ + + + +/** + * @brief Does a phandle array have a named cell specifier at an index + * for a `DT_DRV_COMPAT` instance? + * @param inst instance number + * @param pha lowercase-and-underscores property with type `phandle-array` + * @param idx index to check + * @param cell named cell value whose existence to check + * @return 1 if the named @p cell exists in the specifier at index @p idx, + * 0 otherwise. + */ + + + +/** + * @brief Does a phandle array have a named cell specifier at index 0 + * for a `DT_DRV_COMPAT` instance? + * @param inst instance number + * @param pha lowercase-and-underscores property with type `phandle-array` + * @param cell named cell value whose existence to check + * @return 1 if the named @p cell exists in the specifier at index 0, + * 0 otherwise. + */ + + + +/** + * @brief is index valid for interrupt property on a `DT_DRV_COMPAT` instance? + * @param inst instance number + * @param idx logical index into the interrupt specifier array + * @return 1 if the @p idx is valid for the interrupt property + * 0 otherwise. + */ + + +/** + * @brief Does a `DT_DRV_COMPAT` instance have an interrupt named cell specifier? + * @param inst instance number + * @param idx index to check + * @param cell named cell value whose existence to check + * @return 1 if the named @p cell exists in the interrupt specifier at index + * @p idx 0 otherwise. + */ + + + +/** + * @brief Does a `DT_DRV_COMPAT` instance have an interrupt value? + * @param inst instance number + * @param cell named cell value whose existence to check + * @return 1 if the named @p cell exists in the interrupt specifier at index 0 + * 0 otherwise. + */ + + + +/** + * @brief Does a `DT_DRV_COMPAT` instance have an interrupt value? + * @param inst instance number + * @param name lowercase-and-underscores interrupt specifier name + * @return 1 if @p name is a valid named specifier + */ + + + +/** + * @} + */ + +/** @cond INTERNAL_HIDDEN */ + +/** @brief Helper for DT_ANY_INST_HAS_PROP_STATUS_OKAY_ + * + * This macro generates token "1," for instance of a device, + * identified by index @p idx, if instance has property @p prop. + * + * @param idx instance number + * @param prop property to check for + * + * @return Macro evaluates to `1,` if instance has the property, + * otherwise it evaluates to literal nothing. + */ + + +/** @brief Helper for DT_ANY_INST_HAS_PROP_STATUS_OKAY + * + * This macro uses DT_ANY_INST_HAS_PROP_STATUS_OKAY_ with + * DT_INST_FOREACH_STATUS_OKAY_VARG to generate comma separated list of 1, + * where each 1 on the list represents instance that has a property + * @p prop; the list may be empty, and the upper bound on number of + * list elements is number of device instances. + * + * @param prop property to check + * + * @return Evaluates to list of 1s (e.g: 1,1,1,) or nothing. + */ + + + +/** @brief Helper for DT_ANY_INST_HAS_BOOL_STATUS_OKAY_ + * + * This macro generates token "1," for instance of a device, + * identified by index @p idx, if instance has boolean property + * @p prop with value 1. + * + * @param idx instance number + * @param prop property to check for + * + * @return Macro evaluates to `1,` if instance property value is 1, + * otherwise it evaluates to literal nothing. + */ + + +/** @brief Helper for DT_ANY_INST_HAS_BOOL_STATUS_OKAY + * + * This macro uses DT_ANY_INST_HAS_BOOL_STATUS_OKAY_ with + * DT_INST_FOREACH_STATUS_OKAY_VARG to generate comma separated list of 1, + * where each 1 on the list represents instance that has a property + * @p prop of value 1; the list may be empty, and the upper bound on number of + * list elements is number of device instances. + * + * @param prop property to check + * + * @return Evaluates to list of 1s (e.g: 1,1,1,) or nothing. + */ + + + + + +/** @brief DT_PATH_INTERNAL() helper: prepends _S_ to a node name + * We don't want to expand 'name' recursively before expansion + * in this case. The MACRO_MAP_CAT above is giving us the exact + * tokens it wants prefixed with _S_. + */ + + +/** + * @brief Concatenation helper, 2 arguments + * + * This and the following macros are used to paste things together + * with "##" *after* forcing expansion on each argument. + * + * We could try to use something like UTIL_CAT(), but the compiler + * error messages from the util macros can be extremely long when they + * are misused. This unfortunately happens often with devicetree.h, + * since its macro-based API is fiddly and can be hard to get right. + * + * Keeping things brutally simple here hopefully makes some errors + * easier to read. + */ + +/** @brief Concatenation helper, 3 arguments */ + +/** @brief Concatenation helper, 4 arguments */ + +/** @brief Internal concatenation helper, 5 arguments */ + +/** @brief Concatenation helper, 6 arguments */ + +/** @brief concatenation helper, 7 arguments */ + + +/** @brief concatenation helper, 8 arguments */ + + +/* + * If you need to define a bigger DT_CATN(), do so here. Don't leave + * any "holes" of undefined macros, please. + */ + +/** @brief Helper for node identifier macros to expand args */ + +/** @brief Helper for DT_DASH(): prepends _ to a name */ + +/** @brief Helper for DT_NODE_HAS_STATUS */ + + + +/** @brief Helper macro to OR multiple has property checks in a loop macro + * (for the specified device) + */ + + + +/** + * @def DT_U32_C + * @brief Macro to add 32bit unsigned postfix to the devicetree address constants + */ + + + + + + +/** + * @def DT_U64_C + * @brief Macro to add ULL postfix to the devicetree address constants + */ + + + + + + +/* Helpers for DT_NODELABEL_STRING_ARRAY. We define our own stringify + * in order to avoid adding a dependency on toolchain.h.. + */ + + + + +/** @endcond */ + +/* have these last so they have access to all previously defined macros */ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/devicetree/io-channels.h" 1 +/** + * @file + * @brief IO channels devicetree macro public API header file. + */ + +/* + * Copyright (c) 2020, Linaro Ltd. + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + + +extern "C" { + + +/** + * @defgroup devicetree-io-channels Devicetree IO Channels API + * @ingroup devicetree + * @{ + */ + +/** + * + * @brief Get the node identifier for the node referenced by an + * io-channels property at an index + * + * Example devicetree fragment: + * + * adc1: adc@... { ... }; + * + * adc2: adc@... { ... }; + * + * n: node { + * io-channels = <&adc1 10>, <&adc2 20>; + * }; + * + * Example usage: + * + * DT_IO_CHANNELS_CTLR_BY_IDX(DT_NODELABEL(n), 0) // DT_NODELABEL(adc1) + * DT_IO_CHANNELS_CTLR_BY_IDX(DT_NODELABEL(n), 1) // DT_NODELABEL(adc2) + * + * @param node_id node identifier for a node with an io-channels property + * @param idx logical index into io-channels property + * @return the node identifier for the node referenced at index "idx" + * @see DT_PROP_BY_PHANDLE_IDX() + */ + + + +/** + * @brief Get the node identifier for the node referenced by an + * io-channels property by name + * + * Example devicetree fragment: + * + * adc1: adc@... { ... }; + * + * adc2: adc@... { ... }; + * + * n: node { + * io-channels = <&adc1 10>, <&adc2 20>; + * io-channel-names = "SENSOR", "BANDGAP"; + * }; + * + * Example usage: + * + * DT_IO_CHANNELS_CTLR_BY_NAME(DT_NODELABEL(n), sensor) // DT_NODELABEL(adc1) + * DT_IO_CHANNELS_CTLR_BY_NAME(DT_NODELABEL(n), bandgap) // DT_NODELABEL(adc2) + * + * @param node_id node identifier for a node with an io-channels property + * @param name lowercase-and-underscores name of an io-channels element + * as defined by the node's io-channel-names property + * @return the node identifier for the node referenced at the named element + * @see DT_PHANDLE_BY_NAME() + */ + + + +/** + * @brief Equivalent to DT_IO_CHANNELS_CTLR_BY_IDX(node_id, 0) + * @param node_id node identifier for a node with an io-channels property + * @return the node identifier for the node referenced at index 0 + * in the node's "io-channels" property + * @see DT_IO_CHANNELS_CTLR_BY_IDX() + */ + + +/** + * @brief Get the node identifier from a DT_DRV_COMPAT instance's io-channels + * property at an index + * + * @param inst DT_DRV_COMPAT instance number + * @param idx logical index into io-channels property + * @return the node identifier for the node referenced at index "idx" + * @see DT_IO_CHANNELS_CTLR_BY_IDX() + */ + + + +/** + * @brief Get the node identifier from a DT_DRV_COMPAT instance's io-channels + * property by name + * @param inst DT_DRV_COMPAT instance number + * @param name lowercase-and-underscores name of an io-channels element + * as defined by the node's io-channel-names property + * @return the node identifier for the node referenced at the named element + * @see DT_IO_CHANNELS_CTLR_BY_NAME() + */ + + + +/** + * @brief Equivalent to DT_INST_IO_CHANNELS_CTLR_BY_IDX(inst, 0) + * @param inst DT_DRV_COMPAT instance number + * @return the node identifier for the node referenced at index 0 + * in the node's "io-channels" property + * @see DT_IO_CHANNELS_CTLR_BY_IDX() + */ + + +/** + * @brief Get an io-channels specifier input cell at an index + * + * This macro only works for io-channels specifiers with cells named + * "input". Refer to the node's binding to check if necessary. + * + * Example devicetree fragment: + * + * adc1: adc@... { + * compatible = "vnd,adc"; + * #io-channel-cells = <1>; + * }; + * + * adc2: adc@... { + * compatible = "vnd,adc"; + * #io-channel-cells = <1>; + * }; + * + * n: node { + * io-channels = <&adc1 10>, <&adc2 20>; + * }; + * + * Bindings fragment for the vnd,adc compatible: + * + * io-channel-cells: + * - input + * + * Example usage: + * + * DT_IO_CHANNELS_INPUT_BY_IDX(DT_NODELABEL(n), 0) // 10 + * DT_IO_CHANNELS_INPUT_BY_IDX(DT_NODELABEL(n), 1) // 20 + * + * @param node_id node identifier for a node with an io-channels property + * @param idx logical index into io-channels property + * @return the input cell in the specifier at index "idx" + * @see DT_PHA_BY_IDX() + */ + + + +/** + * @brief Get an io-channels specifier input cell by name + * + * This macro only works for io-channels specifiers with cells named + * "input". Refer to the node's binding to check if necessary. + * + * Example devicetree fragment: + * + * adc1: adc@... { + * compatible = "vnd,adc"; + * #io-channel-cells = <1>; + * }; + * + * adc2: adc@... { + * compatible = "vnd,adc"; + * #io-channel-cells = <1>; + * }; + * + * n: node { + * io-channels = <&adc1 10>, <&adc2 20>; + * io-channel-names = "SENSOR", "BANDGAP"; + * }; + * + * Bindings fragment for the vnd,adc compatible: + * + * io-channel-cells: + * - input + * + * Example usage: + * + * DT_IO_CHANNELS_INPUT_BY_NAME(DT_NODELABEL(n), sensor) // 10 + * DT_IO_CHANNELS_INPUT_BY_NAME(DT_NODELABEL(n), bandgap) // 20 + * + * @param node_id node identifier for a node with an io-channels property + * @param name lowercase-and-underscores name of an io-channels element + * as defined by the node's io-channel-names property + * @return the input cell in the specifier at the named element + * @see DT_PHA_BY_NAME() + */ + + +/** + * @brief Equivalent to DT_IO_CHANNELS_INPUT_BY_IDX(node_id, 0) + * @param node_id node identifier for a node with an io-channels property + * @return the input cell in the specifier at index 0 + * @see DT_IO_CHANNELS_INPUT_BY_IDX() + */ + + +/** + * @brief Get an input cell from the "DT_DRV_INST(inst)" io-channels + * property at an index + * @param inst DT_DRV_COMPAT instance number + * @param idx logical index into io-channels property + * @return the input cell in the specifier at index "idx" + * @see DT_IO_CHANNELS_INPUT_BY_IDX() + */ + + + +/** + * @brief Get an input cell from the "DT_DRV_INST(inst)" io-channels + * property by name + * @param inst DT_DRV_COMPAT instance number + * @param name lowercase-and-underscores name of an io-channels element + * as defined by the instance's io-channel-names property + * @return the input cell in the specifier at the named element + * @see DT_IO_CHANNELS_INPUT_BY_NAME() + */ + + + +/** + * @brief Equivalent to DT_INST_IO_CHANNELS_INPUT_BY_IDX(inst, 0) + * @param inst DT_DRV_COMPAT instance number + * @return the input cell in the specifier at index 0 + */ + + +/** + * @} + */ + + +} +# 5334 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/devicetree.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/devicetree/clocks.h" 1 +/** + * @file + * @brief Clocks Devicetree macro public API header file. + */ + +/* + * Copyright (c) 2020, Linaro Ltd. + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + + +extern "C" { + + +/** + * @defgroup devicetree-clocks Devicetree Clocks API + * @ingroup devicetree + * @{ + */ + +/** + * @brief Test if a node has a clocks phandle-array property at a given index + * + * This expands to 1 if the given index is valid clocks property phandle-array index. + * Otherwise, it expands to 0. + * + * Example devicetree fragment: + * + * n1: node-1 { + * clocks = <...>, <...>; + * }; + * + * n2: node-2 { + * clocks = <...>; + * }; + * + * Example usage: + * + * DT_CLOCKS_HAS_IDX(DT_NODELABEL(n1), 0) // 1 + * DT_CLOCKS_HAS_IDX(DT_NODELABEL(n1), 1) // 1 + * DT_CLOCKS_HAS_IDX(DT_NODELABEL(n1), 2) // 0 + * DT_CLOCKS_HAS_IDX(DT_NODELABEL(n2), 1) // 0 + * + * @param node_id node identifier; may or may not have any clocks property + * @param idx index of a clocks property phandle-array whose existence to check + * @return 1 if the index exists, 0 otherwise + */ + + + +/** + * @brief Test if a node has a clock-names array property holds a given name + * + * This expands to 1 if the name is available as clocks-name array property cell. + * Otherwise, it expands to 0. + * + * Example devicetree fragment: + * + * n1: node-1 { + * clocks = <...>, <...>; + * clock-names = "alpha", "beta"; + * }; + * + * n2: node-2 { + * clocks = <...>; + * clock-names = "alpha"; + * }; + * + * Example usage: + * + * DT_CLOCKS_HAS_NAME(DT_NODELABEL(n1), alpha) // 1 + * DT_CLOCKS_HAS_NAME(DT_NODELABEL(n1), beta) // 1 + * DT_CLOCKS_HAS_NAME(DT_NODELABEL(n2), beta) // 0 + * + * @param node_id node identifier; may or may not have any clock-names property. + * @param name lowercase-and-underscores clock-names cell value name to check + * @return 1 if the clock name exists, 0 otherwise + */ + + + +/** + * @brief Get the number of elements in a clocks property + * + * Example devicetree fragment: + * + * n1: node-1 { + * clocks = <&foo>, <&bar>; + * }; + * + * n2: node-2 { + * clocks = <&foo>; + * }; + * + * Example usage: + * + * DT_NUM_CLOCKS(DT_NODELABEL(n1)) // 2 + * DT_NUM_CLOCKS(DT_NODELABEL(n2)) // 1 + * + * @param node_id node identifier with a clocks property + * @return number of elements in the property + */ + + + + +/** + * @brief Get the node identifier for the controller phandle from a + * "clocks" phandle-array property at an index + * + * Example devicetree fragment: + * + * clk1: clock-controller@... { ... }; + * + * clk2: clock-controller@... { ... }; + * + * n: node { + * clocks = <&clk1 10 20>, <&clk2 30 40>; + * }; + * + * Example usage: + * + * DT_CLOCKS_CTLR_BY_IDX(DT_NODELABEL(n), 0)) // DT_NODELABEL(clk1) + * DT_CLOCKS_CTLR_BY_IDX(DT_NODELABEL(n), 1)) // DT_NODELABEL(clk2) + * + * @param node_id node identifier + * @param idx logical index into "clocks" + * @return the node identifier for the clock controller referenced at + * index "idx" + * @see DT_PHANDLE_BY_IDX() + */ + + + +/** + * @brief Equivalent to DT_CLOCKS_CTLR_BY_IDX(node_id, 0) + * @param node_id node identifier + * @return a node identifier for the clocks controller at index 0 + * in "clocks" + * @see DT_CLOCKS_CTLR_BY_IDX() + */ + + +/** + * @brief Get the node identifier for the controller phandle from a + * clocks phandle-array property by name + * + * Example devicetree fragment: + * + * clk1: clock-controller@... { ... }; + * + * clk2: clock-controller@... { ... }; + * + * n: node { + * clocks = <&clk1 10 20>, <&clk2 30 40>; + * clock-names = "alpha", "beta"; + * }; + * + * Example usage: + * + * DT_CLOCKS_CTLR_BY_NAME(DT_NODELABEL(n), beta) // DT_NODELABEL(clk2) + * + * @param node_id node identifier + * @param name lowercase-and-underscores name of a clocks element + * as defined by the node's clock-names property + * @return the node identifier for the clock controller referenced by name + * @see DT_PHANDLE_BY_NAME() + */ + + + +/** + * @brief Get a clock specifier's cell value at an index + * + * Example devicetree fragment: + * + * clk1: clock-controller@... { + * compatible = "vnd,clock"; + * #clock-cells = < 2 >; + * }; + * + * n: node { + * clocks = < &clk1 10 20 >, < &clk1 30 40 >; + * }; + * + * Bindings fragment for the vnd,clock compatible: + * + * clock-cells: + * - bus + * - bits + * + * Example usage: + * + * DT_CLOCKS_CELL_BY_IDX(DT_NODELABEL(n), 0, bus) // 10 + * DT_CLOCKS_CELL_BY_IDX(DT_NODELABEL(n), 1, bits) // 40 + * + * @param node_id node identifier for a node with a clocks property + * @param idx logical index into clocks property + * @param cell lowercase-and-underscores cell name + * @return the cell value at index "idx" + * @see DT_PHA_BY_IDX() + */ + + + +/** + * @brief Get a clock specifier's cell value by name + * + * Example devicetree fragment: + * + * clk1: clock-controller@... { + * compatible = "vnd,clock"; + * #clock-cells = < 2 >; + * }; + * + * n: node { + * clocks = < &clk1 10 20 >, < &clk1 30 40 >; + * clock-names = "alpha", "beta"; + * }; + * + * Bindings fragment for the vnd,clock compatible: + * + * clock-cells: + * - bus + * - bits + * + * Example usage: + * + * DT_CLOCKS_CELL_BY_NAME(DT_NODELABEL(n), alpha, bus) // 10 + * DT_CLOCKS_CELL_BY_NAME(DT_NODELABEL(n), beta, bits) // 40 + * + * @param node_id node identifier for a node with a clocks property + * @param name lowercase-and-underscores name of a clocks element + * as defined by the node's clock-names property + * @param cell lowercase-and-underscores cell name + * @return the cell value in the specifier at the named element + * @see DT_PHA_BY_NAME() + */ + + + +/** + * @brief Equivalent to DT_CLOCKS_CELL_BY_IDX(node_id, 0, cell) + * @param node_id node identifier for a node with a clocks property + * @param cell lowercase-and-underscores cell name + * @return the cell value at index 0 + * @see DT_CLOCKS_CELL_BY_IDX() + */ + + +/** + * @brief Equivalent to DT_CLOCKS_HAS_IDX(DT_DRV_INST(inst), idx) + * @param inst DT_DRV_COMPAT instance number; may or may not have any clocks property + * @param idx index of a clocks property phandle-array whose existence to check + * @return 1 if the index exists, 0 otherwise + */ + + + +/** + * @brief Equivalent to DT_CLOCK_HAS_NAME(DT_DRV_INST(inst), name) + * @param inst DT_DRV_COMPAT instance number; may or may not have any clock-names property. + * @param name lowercase-and-underscores clock-names cell value name to check + * @return 1 if the clock name exists, 0 otherwise + */ + + + +/** + * @brief Equivalent to DT_NUM_CLOCKS(DT_DRV_INST(inst)) + * @param inst instance number + * @return number of elements in the clocks property + */ + + + +/** + * @brief Get the node identifier for the controller phandle from a + * "clocks" phandle-array property at an index + * + * @param inst instance number + * @param idx logical index into "clocks" + * @return the node identifier for the clock controller referenced at + * index "idx" + * @see DT_CLOCKS_CTLR_BY_IDX() + */ + + + +/** + * @brief Equivalent to DT_INST_CLOCKS_CTLR_BY_IDX(inst, 0) + * @param inst instance number + * @return a node identifier for the clocks controller at index 0 + * in "clocks" + * @see DT_CLOCKS_CTLR() + */ + + +/** + * @brief Get the node identifier for the controller phandle from a + * clocks phandle-array property by name + * + * @param inst instance number + * @param name lowercase-and-underscores name of a clocks element + * as defined by the node's clock-names property + * @return the node identifier for the clock controller referenced by + * the named element + * @see DT_CLOCKS_CTLR_BY_NAME() + */ + + + +/** + * @brief Get a DT_DRV_COMPAT instance's clock specifier's cell value + * at an index + * @param inst DT_DRV_COMPAT instance number + * @param idx logical index into clocks property + * @param cell lowercase-and-underscores cell name + * @return the cell value at index "idx" + * @see DT_CLOCKS_CELL_BY_IDX() + */ + + + +/** + * @brief Get a DT_DRV_COMPAT instance's clock specifier's cell value by name + * @param inst DT_DRV_COMPAT instance number + * @param name lowercase-and-underscores name of a clocks element + * as defined by the node's clock-names property + * @param cell lowercase-and-underscores cell name + * @return the cell value in the specifier at the named element + * @see DT_CLOCKS_CELL_BY_NAME() + */ + + + +/** + * @brief Equivalent to DT_INST_CLOCKS_CELL_BY_IDX(inst, 0, cell) + * @param inst DT_DRV_COMPAT instance number + * @param cell lowercase-and-underscores cell name + * @return the value of the cell inside the specifier at index 0 + */ + + + +/** + * @} + */ + + +} +# 5335 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/devicetree.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/devicetree/gpio.h" 1 +/** + * @file + * @brief GPIO Devicetree macro public API header file. + */ + +/* + * Copyright (c) 2020, Linaro Ltd. + * Copyright (c) 2020 Nordic Semiconductor + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + + +extern "C" { + + +/** + * @defgroup devicetree-gpio Devicetree GPIO API + * @ingroup devicetree + * @{ + */ + +/** + * @brief Get the node identifier for the controller phandle from a + * gpio phandle-array property at an index + * + * Example devicetree fragment: + * + * gpio1: gpio@... { }; + * + * gpio2: gpio@... { }; + * + * n: node { + * gpios = <&gpio1 10 GPIO_ACTIVE_LOW>, + * <&gpio2 30 GPIO_ACTIVE_HIGH>; + * }; + * + * Example usage: + * + * DT_GPIO_CTLR_BY_IDX(DT_NODELABEL(n), gpios, 1) // DT_NODELABEL(gpio2) + * + * @param node_id node identifier + * @param gpio_pha lowercase-and-underscores GPIO property with + * type "phandle-array" + * @param idx logical index into "gpio_pha" + * @return the node identifier for the gpio controller referenced at + * index "idx" + * @see DT_PHANDLE_BY_IDX() + */ + + + +/** + * @brief Equivalent to DT_GPIO_CTLR_BY_IDX(node_id, gpio_pha, 0) + * @param node_id node identifier + * @param gpio_pha lowercase-and-underscores GPIO property with + * type "phandle-array" + * @return a node identifier for the gpio controller at index 0 + * in "gpio_pha" + * @see DT_GPIO_CTLR_BY_IDX() + */ + + + +/** + * @brief Get a GPIO specifier's pin cell at an index + * + * This macro only works for GPIO specifiers with cells named "pin". + * Refer to the node's binding to check if necessary. + * + * Example devicetree fragment: + * + * gpio1: gpio@... { + * compatible = "vnd,gpio"; + * #gpio-cells = <2>; + * }; + * + * gpio2: gpio@... { + * compatible = "vnd,gpio"; + * #gpio-cells = <2>; + * }; + * + * n: node { + * gpios = <&gpio1 10 GPIO_ACTIVE_LOW>, + * <&gpio2 30 GPIO_ACTIVE_HIGH>; + * }; + * + * Bindings fragment for the vnd,gpio compatible: + * + * gpio-cells: + * - pin + * - flags + * + * Example usage: + * + * DT_GPIO_PIN_BY_IDX(DT_NODELABEL(n), gpios, 0) // 10 + * DT_GPIO_PIN_BY_IDX(DT_NODELABEL(n), gpios, 1) // 30 + * + * @param node_id node identifier + * @param gpio_pha lowercase-and-underscores GPIO property with + * type "phandle-array" + * @param idx logical index into "gpio_pha" + * @return the pin cell value at index "idx" + * @see DT_PHA_BY_IDX() + */ + + + +/** + * @brief Equivalent to DT_GPIO_PIN_BY_IDX(node_id, gpio_pha, 0) + * @param node_id node identifier + * @param gpio_pha lowercase-and-underscores GPIO property with + * type "phandle-array" + * @return the pin cell value at index 0 + * @see DT_GPIO_PIN_BY_IDX() + */ + + + +/** + * @brief Get a GPIO specifier's flags cell at an index + * + * This macro expects GPIO specifiers with cells named "flags". + * If there is no "flags" cell in the GPIO specifier, zero is returned. + * Refer to the node's binding to check specifier cell names if necessary. + * + * Example devicetree fragment: + * + * gpio1: gpio@... { + * compatible = "vnd,gpio"; + * #gpio-cells = <2>; + * }; + * + * gpio2: gpio@... { + * compatible = "vnd,gpio"; + * #gpio-cells = <2>; + * }; + * + * n: node { + * gpios = <&gpio1 10 GPIO_ACTIVE_LOW>, + * <&gpio2 30 GPIO_ACTIVE_HIGH>; + * }; + * + * Bindings fragment for the vnd,gpio compatible: + * + * gpio-cells: + * - pin + * - flags + * + * Example usage: + * + * DT_GPIO_FLAGS_BY_IDX(DT_NODELABEL(n), gpios, 0) // GPIO_ACTIVE_LOW + * DT_GPIO_FLAGS_BY_IDX(DT_NODELABEL(n), gpios, 1) // GPIO_ACTIVE_HIGH + * + * @param node_id node identifier + * @param gpio_pha lowercase-and-underscores GPIO property with + * type "phandle-array" + * @param idx logical index into "gpio_pha" + * @return the flags cell value at index "idx", or zero if there is none + * @see DT_PHA_BY_IDX() + */ + + + +/** + * @brief Equivalent to DT_GPIO_FLAGS_BY_IDX(node_id, gpio_pha, 0) + * @param node_id node identifier + * @param gpio_pha lowercase-and-underscores GPIO property with + * type "phandle-array" + * @return the flags cell value at index 0, or zero if there is none + * @see DT_GPIO_FLAGS_BY_IDX() + */ + + + +/** + * @brief Get the number of GPIO hogs in a node + * + * This expands to the number of hogged GPIOs, or zero if there are none. + * + * Example devicetree fragment: + * + * gpio1: gpio@... { + * compatible = "vnd,gpio"; + * #gpio-cells = <2>; + * + * n1: node-1 { + * gpio-hog; + * gpios = <0 GPIO_ACTIVE_HIGH>, <1 GPIO_ACTIVE_LOW>; + * output-high; + * }; + * + * n2: node-2 { + * gpio-hog; + * gpios = <3 GPIO_ACTIVE_HIGH>; + * output-low; + * }; + * }; + * + * Bindings fragment for the vnd,gpio compatible: + * + * gpio-cells: + * - pin + * - flags + * + * Example usage: + * + * DT_NUM_GPIO_HOGS(DT_NODELABEL(n1)) // 2 + * DT_NUM_GPIO_HOGS(DT_NODELABEL(n2)) // 1 + * + * @param node_id node identifier; may or may not be a GPIO hog node. + * @return number of hogged GPIOs in the node + */ + + + + +/** + * @brief Get a GPIO hog specifier's pin cell at an index + * + * This macro only works for GPIO specifiers with cells named "pin". + * Refer to the node's binding to check if necessary. + * + * Example devicetree fragment: + * + * gpio1: gpio@... { + * compatible = "vnd,gpio"; + * #gpio-cells = <2>; + * + * n1: node-1 { + * gpio-hog; + * gpios = <0 GPIO_ACTIVE_HIGH>, <1 GPIO_ACTIVE_LOW>; + * output-high; + * }; + * + * n2: node-2 { + * gpio-hog; + * gpios = <3 GPIO_ACTIVE_HIGH>; + * output-low; + * }; + * }; + * + * Bindings fragment for the vnd,gpio compatible: + * + * gpio-cells: + * - pin + * - flags + * + * Example usage: + * + * DT_GPIO_HOG_PIN_BY_IDX(DT_NODELABEL(n1), 0) // 0 + * DT_GPIO_HOG_PIN_BY_IDX(DT_NODELABEL(n1), 1) // 1 + * DT_GPIO_HOG_PIN_BY_IDX(DT_NODELABEL(n2), 0) // 3 + * + * @param node_id node identifier + * @param idx logical index into "gpios" + * @return the pin cell value at index "idx" + */ + + + +/** + * @brief Get a GPIO hog specifier's flags cell at an index + * + * This macro expects GPIO specifiers with cells named "flags". + * If there is no "flags" cell in the GPIO specifier, zero is returned. + * Refer to the node's binding to check specifier cell names if necessary. + * + * Example devicetree fragment: + * + * gpio1: gpio@... { + * compatible = "vnd,gpio"; + * #gpio-cells = <2>; + * + * n1: node-1 { + * gpio-hog; + * gpios = <0 GPIO_ACTIVE_HIGH>, <1 GPIO_ACTIVE_LOW>; + * output-high; + * }; + * + * n2: node-2 { + * gpio-hog; + * gpios = <3 GPIO_ACTIVE_HIGH>; + * output-low; + * }; + * }; + * + * Bindings fragment for the vnd,gpio compatible: + * + * gpio-cells: + * - pin + * - flags + * + * Example usage: + * + * DT_GPIO_HOG_FLAGS_BY_IDX(DT_NODELABEL(n1), 0) // GPIO_ACTIVE_HIGH + * DT_GPIO_HOG_FLAGS_BY_IDX(DT_NODELABEL(n1), 1) // GPIO_ACTIVE_LOW + * DT_GPIO_HOG_FLAGS_BY_IDX(DT_NODELABEL(n2), 0) // GPIO_ACTIVE_HIGH + * + * @param node_id node identifier + * @param idx logical index into "gpios" + * @return the flags cell value at index "idx", or zero if there is none + */ + + + + +/** + * @brief Get a DT_DRV_COMPAT instance's GPIO specifier's pin cell value + * at an index + * @param inst DT_DRV_COMPAT instance number + * @param gpio_pha lowercase-and-underscores GPIO property with + * type "phandle-array" + * @param idx logical index into "gpio_pha" + * @return the pin cell value at index "idx" + * @see DT_GPIO_PIN_BY_IDX() + */ + + + +/** + * @brief Equivalent to DT_INST_GPIO_PIN_BY_IDX(inst, gpio_pha, 0) + * @param inst DT_DRV_COMPAT instance number + * @param gpio_pha lowercase-and-underscores GPIO property with + * type "phandle-array" + * @return the pin cell value at index 0 + * @see DT_INST_GPIO_PIN_BY_IDX() + */ + + + +/** + * @brief Get a DT_DRV_COMPAT instance's GPIO specifier's flags cell + * at an index + * @param inst DT_DRV_COMPAT instance number + * @param gpio_pha lowercase-and-underscores GPIO property with + * type "phandle-array" + * @param idx logical index into "gpio_pha" + * @return the flags cell value at index "idx", or zero if there is none + * @see DT_GPIO_FLAGS_BY_IDX() + */ + + + +/** + * @brief Equivalent to DT_INST_GPIO_FLAGS_BY_IDX(inst, gpio_pha, 0) + * @param inst DT_DRV_COMPAT instance number + * @param gpio_pha lowercase-and-underscores GPIO property with + * type "phandle-array" + * @return the flags cell value at index 0, or zero if there is none + * @see DT_INST_GPIO_FLAGS_BY_IDX() + */ + + + +/** + * @} + */ + + +} +# 5336 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/devicetree.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/devicetree/spi.h" 1 +/** + * @file + * @brief SPI Devicetree macro public API header file. + */ + +/* + * Copyright (c) 2020 Nordic Semiconductor + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + + +extern "C" { + + +/** + * @defgroup devicetree-spi Devicetree SPI API + * @ingroup devicetree + * @{ + */ + +/** + * @brief Does a SPI controller node have chip select GPIOs configured? + * + * SPI bus controllers use the "cs-gpios" property for configuring + * chip select GPIOs. Its value is a phandle-array which specifies the + * chip select lines. + * + * Example devicetree fragment: + * + * spi1: spi@... { + * compatible = "vnd,spi"; + * cs-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>, + * <&gpio2 20 GPIO_ACTIVE_LOW>; + * }; + * + * spi2: spi@... { + * compatible = "vnd,spi"; + * }; + * + * Example usage: + * + * DT_SPI_HAS_CS_GPIOS(DT_NODELABEL(spi1)) // 1 + * DT_SPI_HAS_CS_GPIOS(DT_NODELABEL(spi2)) // 0 + * + * @param spi a SPI bus controller node identifier + * @return 1 if "spi" has a cs-gpios property, 0 otherwise + */ + + +/** + * @brief Number of chip select GPIOs in a SPI controller's cs-gpios property + * + * Example devicetree fragment: + * + * spi1: spi@... { + * compatible = "vnd,spi"; + * cs-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>, + * <&gpio2 20 GPIO_ACTIVE_LOW>; + * }; + * + * spi2: spi@... { + * compatible = "vnd,spi"; + * }; + * + * Example usage: + * + * DT_SPI_NUM_CS_GPIOS(DT_NODELABEL(spi1)) // 2 + * DT_SPI_NUM_CS_GPIOS(DT_NODELABEL(spi2)) // 0 + * + * @param spi a SPI bus controller node identifier + * @return Logical length of spi's cs-gpios property, or 0 if "spi" doesn't + * have a cs-gpios property + */ + + + + +/** + * @brief Does a SPI device have a chip select line configured? + * Example devicetree fragment: + * + * spi1: spi@... { + * compatible = "vnd,spi"; + * cs-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>, + * <&gpio2 20 GPIO_ACTIVE_LOW>; + * + * a: spi-dev-a@0 { + * reg = <0>; + * }; + * + * b: spi-dev-b@1 { + * reg = <1>; + * }; + * }; + * + * spi2: spi@... { + * compatible = "vnd,spi"; + * c: spi-dev-c@0 { + * reg = <0>; + * }; + * }; + * + * Example usage: + * + * DT_SPI_DEV_HAS_CS_GPIOS(DT_NODELABEL(a)) // 1 + * DT_SPI_DEV_HAS_CS_GPIOS(DT_NODELABEL(b)) // 1 + * DT_SPI_DEV_HAS_CS_GPIOS(DT_NODELABEL(c)) // 0 + * + * @param spi_dev a SPI device node identifier + * @return 1 if spi_dev's bus node DT_BUS(spi_dev) has a chip select + * pin at index DT_REG_ADDR(spi_dev), 0 otherwise + */ + + +/** + * @brief Get a SPI device's chip select GPIO controller's node identifier + * + * Example devicetree fragment: + * + * gpio1: gpio@... { ... }; + * + * gpio2: gpio@... { ... }; + * + * spi@... { + * compatible = "vnd,spi"; + * cs-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>, + * <&gpio2 20 GPIO_ACTIVE_LOW>; + * + * a: spi-dev-a@0 { + * reg = <0>; + * }; + * + * b: spi-dev-b@1 { + * reg = <1>; + * }; + * }; + * + * Example usage: + * + * DT_SPI_DEV_CS_GPIOS_CTLR(DT_NODELABEL(a)) // DT_NODELABEL(gpio1) + * DT_SPI_DEV_CS_GPIOS_CTLR(DT_NODELABEL(b)) // DT_NODELABEL(gpio2) + * + * @param spi_dev a SPI device node identifier + * @return node identifier for spi_dev's chip select GPIO controller + */ + + + +/** + * @brief Get a SPI device's chip select GPIO pin number + * + * It's an error if the GPIO specifier for spi_dev's entry in its + * bus node's cs-gpios property has no pin cell. + * + * Example devicetree fragment: + * + * spi1: spi@... { + * compatible = "vnd,spi"; + * cs-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>, + * <&gpio2 20 GPIO_ACTIVE_LOW>; + * + * a: spi-dev-a@0 { + * reg = <0>; + * }; + * + * b: spi-dev-b@1 { + * reg = <1>; + * }; + * }; + * + * Example usage: + * + * DT_SPI_DEV_CS_GPIOS_PIN(DT_NODELABEL(a)) // 10 + * DT_SPI_DEV_CS_GPIOS_PIN(DT_NODELABEL(b)) // 20 + * + * @param spi_dev a SPI device node identifier + * @return pin number of spi_dev's chip select GPIO + */ + + + +/** + * @brief Get a SPI device's chip select GPIO flags + * + * Example devicetree fragment: + * + * spi1: spi@... { + * compatible = "vnd,spi"; + * cs-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>; + * + * a: spi-dev-a@0 { + * reg = <0>; + * }; + * }; + * + * Example usage: + * + * DT_SPI_DEV_CS_GPIOS_FLAGS(DT_NODELABEL(a)) // GPIO_ACTIVE_LOW + * + * If the GPIO specifier for spi_dev's entry in its bus node's + * cs-gpios property has no flags cell, this expands to zero. + * + * @param spi_dev a SPI device node identifier + * @return flags value of spi_dev's chip select GPIO specifier, or + * zero if there is none + */ + + + +/** + * @brief Equivalent to DT_SPI_DEV_HAS_CS_GPIOS(DT_DRV_INST(inst)). + * @param inst DT_DRV_COMPAT instance number + * @return 1 if the instance's bus has a CS pin at index + * DT_INST_REG_ADDR(inst), 0 otherwise + * @see DT_SPI_DEV_HAS_CS_GPIOS() + */ + + + +/** + * @brief Get GPIO controller node identifier for a SPI device instance + * This is equivalent to DT_SPI_DEV_CS_GPIOS_CTLR(DT_DRV_INST(inst)). + * @param inst DT_DRV_COMPAT instance number + * @return node identifier for instance's chip select GPIO controller + * @see DT_SPI_DEV_CS_GPIOS_CTLR() + */ + + + +/** + * @brief Equivalent to DT_SPI_DEV_CS_GPIOS_PIN(DT_DRV_INST(inst)). + * @param inst DT_DRV_COMPAT instance number + * @return pin number of the instance's chip select GPIO + * @see DT_SPI_DEV_CS_GPIOS_PIN() + */ + + + +/** + * @brief DT_SPI_DEV_CS_GPIOS_FLAGS(DT_DRV_INST(inst)). + * @param inst DT_DRV_COMPAT instance number + * @return flags value of the instance's chip select GPIO specifier, + * or zero if there is none + * @see DT_SPI_DEV_CS_GPIOS_FLAGS() + */ + + + +/** + * @} + */ + + +} +# 5337 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/devicetree.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/devicetree/dma.h" 1 +/** + * @file + * @brief DMA Devicetree macro public API header file. + */ + +/* + * Copyright (c) 2020, Linaro Ltd. + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + + +extern "C" { + + +/** + * @defgroup devicetree-dmas Devicetree DMA API + * @ingroup devicetree + * @{ + */ + +/** + * @brief Get the node identifier for the DMA controller from a + * dmas property at an index + * + * Example devicetree fragment: + * + * dma1: dma@... { ... }; + * + * dma2: dma@... { ... }; + * + * n: node { + * dmas = <&dma1 1 2 0x400 0x3>, + * <&dma2 6 3 0x404 0x5>; + * }; + * + * Example usage: + * + * DT_DMAS_CTLR_BY_IDX(DT_NODELABEL(n), 0) // DT_NODELABEL(dma1) + * DT_DMAS_CTLR_BY_IDX(DT_NODELABEL(n), 1) // DT_NODELABEL(dma2) + * + * @param node_id node identifier for a node with a dmas property + * @param idx logical index into dmas property + * @return the node identifier for the DMA controller referenced at + * index "idx" + * @see DT_PROP_BY_PHANDLE_IDX() + */ + + +/** + * @brief Get the node identifier for the DMA controller from a + * dmas property by name + * + * Example devicetree fragment: + * + * dma1: dma@... { ... }; + * + * dma2: dma@... { ... }; + * + * n: node { + * dmas = <&dma1 1 2 0x400 0x3>, + * <&dma2 6 3 0x404 0x5>; + * dma-names = "tx", "rx"; + * }; + * + * Example usage: + * + * DT_DMAS_CTLR_BY_NAME(DT_NODELABEL(n), tx) // DT_NODELABEL(dma1) + * DT_DMAS_CTLR_BY_NAME(DT_NODELABEL(n), rx) // DT_NODELABEL(dma2) + * + * @param node_id node identifier for a node with a dmas property + * @param name lowercase-and-underscores name of a dmas element + * as defined by the node's dma-names property + * @return the node identifier for the DMA controller in the named element + * @see DT_PHANDLE_BY_NAME() + */ + + + +/** + * @brief Equivalent to DT_DMAS_CTLR_BY_IDX(node_id, 0) + * @param node_id node identifier for a node with a dmas property + * @return the node identifier for the DMA controller at index 0 + * in the node's "dmas" property + * @see DT_DMAS_CTLR_BY_IDX() + */ + + +/** + * @brief Get the node identifier for the DMA controller from a + * DT_DRV_COMPAT instance's dmas property at an index + * + * @param inst DT_DRV_COMPAT instance number + * @param idx logical index into dmas property + * @return the node identifier for the DMA controller referenced at + * index "idx" + * @see DT_DMAS_CTLR_BY_IDX() + */ + + + +/** + * @brief Get the node identifier for the DMA controller from a + * DT_DRV_COMPAT instance's dmas property by name + * @param inst DT_DRV_COMPAT instance number + * @param name lowercase-and-underscores name of a dmas element + * as defined by the node's dma-names property + * @return the node identifier for the DMA controller in the named element + * @see DT_DMAS_CTLR_BY_NAME() + */ + + + +/** + * @brief Equivalent to DT_INST_DMAS_CTLR_BY_IDX(inst, 0) + * @param inst DT_DRV_COMPAT instance number + * @return the node identifier for the DMA controller at index 0 + * in the instance's "dmas" property + * @see DT_DMAS_CTLR_BY_IDX() + */ + + +/** + * @brief Get a DMA specifier's cell value at an index + * + * Example devicetree fragment: + * + * dma1: dma@... { + * compatible = "vnd,dma"; + * #dma-cells = <2>; + * }; + * + * dma2: dma@... { + * compatible = "vnd,dma"; + * #dma-cells = <2>; + * }; + * + * n: node { + * dmas = <&dma1 1 0x400>, + * <&dma2 6 0x404>; + * }; + * + * Bindings fragment for the vnd,dma compatible: + * + * dma-cells: + * - channel + * - config + * + * Example usage: + * + * DT_DMAS_CELL_BY_IDX(DT_NODELABEL(n), 0, channel) // 1 + * DT_DMAS_CELL_BY_IDX(DT_NODELABEL(n), 1, channel) // 6 + * DT_DMAS_CELL_BY_IDX(DT_NODELABEL(n), 0, config) // 0x400 + * DT_DMAS_CELL_BY_IDX(DT_NODELABEL(n), 1, config) // 0x404 + * + * @param node_id node identifier for a node with a dmas property + * @param idx logical index into dmas property + * @param cell lowercase-and-underscores cell name + * @return the cell value at index "idx" + * @see DT_PHA_BY_IDX() + */ + + + +/** + * @brief Get a DT_DRV_COMPAT instance's DMA specifier's cell value at an index + * @param inst DT_DRV_COMPAT instance number + * @param idx logical index into dmas property + * @param cell lowercase-and-underscores cell name + * @return the cell value at index "idx" + * @see DT_DMAS_CELL_BY_IDX() + */ + + + +/** + * @brief Get a DMA specifier's cell value by name + * + * Example devicetree fragment: + * + * dma1: dma@... { + * compatible = "vnd,dma"; + * #dma-cells = <2>; + * }; + * + * dma2: dma@... { + * compatible = "vnd,dma"; + * #dma-cells = <2>; + * }; + * + * n: node { + * dmas = <&dma1 1 0x400>, + * <&dma2 6 0x404>; + * dma-names = "tx", "rx"; + * }; + * + * Bindings fragment for the vnd,dma compatible: + * + * dma-cells: + * - channel + * - config + * + * Example usage: + * + * DT_DMAS_CELL_BY_NAME(DT_NODELABEL(n), tx, channel) // 1 + * DT_DMAS_CELL_BY_NAME(DT_NODELABEL(n), rx, channel) // 6 + * DT_DMAS_CELL_BY_NAME(DT_NODELABEL(n), tx, config) // 0x400 + * DT_DMAS_CELL_BY_NAME(DT_NODELABEL(n), rx, config) // 0x404 + * + * @param node_id node identifier for a node with a dmas property + * @param name lowercase-and-underscores name of a dmas element + * as defined by the node's dma-names property + * @param cell lowercase-and-underscores cell name + * @return the cell value in the specifier at the named element + * @see DT_PHA_BY_NAME() + */ + + + +/** + * @brief Like DT_DMAS_CELL_BY_NAME(), but with a fallback to @p default_value + * + * If the value exists, this expands to DT_DMAS_CELL_BY_NAME(node_id, + * name, cell). The @p default_value parameter is not expanded in this case. + * + * Otherwise, this expands to @p default_value. + * + * @param node_id node identifier for a node with a dmas property + * @param name lowercase-and-underscores name of a dmas element + * as defined by the node's dma-names property + * @param cell lowercase-and-underscores cell name + * @param default_value a fallback value to expand to + * @return the cell's value or @p default_value + * @see DT_PHA_BY_NAME_OR() + */ + + + +/** + * @brief Get a DT_DRV_COMPAT instance's DMA specifier's cell value by name + * @param inst DT_DRV_COMPAT instance number + * @param name lowercase-and-underscores name of a dmas element + * as defined by the node's dma-names property + * @param cell lowercase-and-underscores cell name + * @return the cell value in the specifier at the named element + * @see DT_DMAS_CELL_BY_NAME() + */ + + + +/** + * @brief Is index "idx" valid for a dmas property? + * @param node_id node identifier for a node with a dmas property + * @param idx logical index into dmas property + * @return 1 if the "dmas" property has index "idx", 0 otherwise + */ + + + +/** + * @brief Is index "idx" valid for a DT_DRV_COMPAT instance's dmas property? + * @param inst DT_DRV_COMPAT instance number + * @param idx logical index into dmas property + * @return 1 if the "dmas" property has a specifier at index "idx", 0 otherwise + */ + + + +/** + * @brief Does a dmas property have a named element? + * @param node_id node identifier for a node with a dmas property + * @param name lowercase-and-underscores name of a dmas element + * as defined by the node's dma-names property + * @return 1 if the dmas property has the named element, 0 otherwise + */ + + + +/** + * @brief Does a DT_DRV_COMPAT instance's dmas property have a named element? + * @param inst DT_DRV_COMPAT instance number + * @param name lowercase-and-underscores name of a dmas element + * as defined by the node's dma-names property + * @return 1 if the dmas property has the named element, 0 otherwise + */ + + + +/** + * @} + */ + + +} +# 5338 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/devicetree.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/devicetree/pwms.h" 1 +/** + * @file + * @brief PWMs Devicetree macro public API header file. + */ + +/* + * Copyright (c) 2020, Linaro Ltd. + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + + +extern "C" { + + +/** + * @defgroup devicetree-pwms Devicetree PWMs API + * @ingroup devicetree + * @{ + */ + +/** + * @brief Get the node identifier for the PWM controller from a + * pwms property at an index + * + * Example devicetree fragment: + * + * pwm1: pwm-controller@... { ... }; + * + * pwm2: pwm-controller@... { ... }; + * + * n: node { + * pwms = <&pwm1 1 PWM_POLARITY_NORMAL>, + * <&pwm2 3 PWM_POLARITY_INVERTED>; + * }; + * + * Example usage: + * + * DT_PWMS_CTLR_BY_IDX(DT_NODELABEL(n), 0) // DT_NODELABEL(pwm1) + * DT_PWMS_CTLR_BY_IDX(DT_NODELABEL(n), 1) // DT_NODELABEL(pwm2) + * + * @param node_id node identifier for a node with a pwms property + * @param idx logical index into pwms property + * @return the node identifier for the PWM controller referenced at + * index "idx" + * @see DT_PROP_BY_PHANDLE_IDX() + */ + + + +/** + * @brief Get the node identifier for the PWM controller from a + * pwms property by name + * + * Example devicetree fragment: + * + * pwm1: pwm-controller@... { ... }; + * + * pwm2: pwm-controller@... { ... }; + * + * n: node { + * pwms = <&pwm1 1 PWM_POLARITY_NORMAL>, + * <&pwm2 3 PWM_POLARITY_INVERTED>; + * pwm-names = "alpha", "beta"; + * }; + * + * Example usage: + * + * DT_PWMS_CTLR_BY_NAME(DT_NODELABEL(n), alpha) // DT_NODELABEL(pwm1) + * DT_PWMS_CTLR_BY_NAME(DT_NODELABEL(n), beta) // DT_NODELABEL(pwm2) + * + * @param node_id node identifier for a node with a pwms property + * @param name lowercase-and-underscores name of a pwms element + * as defined by the node's pwm-names property + * @return the node identifier for the PWM controller in the named element + * @see DT_PHANDLE_BY_NAME() + */ + + + +/** + * @brief Equivalent to DT_PWMS_CTLR_BY_IDX(node_id, 0) + * @param node_id node identifier for a node with a pwms property + * @return the node identifier for the PWM controller at index 0 + * in the node's "pwms" property + * @see DT_PWMS_CTLR_BY_IDX() + */ + + +/** + * @brief Get PWM specifier's cell value at an index + * + * Example devicetree fragment: + * + * pwm1: pwm-controller@... { + * compatible = "vnd,pwm"; + * #pwm-cells = <2>; + * }; + * + * pwm2: pwm-controller@... { + * compatible = "vnd,pwm"; + * #pwm-cells = <2>; + * }; + * + * n: node { + * pwms = <&pwm1 1 200000 PWM_POLARITY_NORMAL>, + * <&pwm2 3 100000 PWM_POLARITY_INVERTED>; + * }; + * + * Bindings fragment for the "vnd,pwm" compatible: + * + * pwm-cells: + * - channel + * - period + * - flags + * + * Example usage: + * + * DT_PWMS_CELL_BY_IDX(DT_NODELABEL(n), 0, channel) // 1 + * DT_PWMS_CELL_BY_IDX(DT_NODELABEL(n), 1, channel) // 3 + * DT_PWMS_CELL_BY_IDX(DT_NODELABEL(n), 0, period) // 200000 + * DT_PWMS_CELL_BY_IDX(DT_NODELABEL(n), 1, period) // 100000 + * DT_PWMS_CELL_BY_IDX(DT_NODELABEL(n), 0, flags) // PWM_POLARITY_NORMAL + * DT_PWMS_CELL_BY_IDX(DT_NODELABEL(n), 1, flags) // PWM_POLARITY_INVERTED + * + * @param node_id node identifier for a node with a pwms property + * @param idx logical index into pwms property + * @param cell lowercase-and-underscores cell name + * @return the cell value at index "idx" + * @see DT_PHA_BY_IDX() + */ + + + +/** + * @brief Get a PWM specifier's cell value by name + * + * Example devicetree fragment: + * + * pwm1: pwm-controller@... { + * compatible = "vnd,pwm"; + * #pwm-cells = <2>; + * }; + * + * pwm2: pwm-controller@... { + * compatible = "vnd,pwm"; + * #pwm-cells = <2>; + * }; + * + * n: node { + * pwms = <&pwm1 1 200000 PWM_POLARITY_NORMAL>, + * <&pwm2 3 100000 PWM_POLARITY_INVERTED>; + * pwm-names = "alpha", "beta"; + * }; + * + * Bindings fragment for the "vnd,pwm" compatible: + * + * pwm-cells: + * - channel + * - period + * - flags + * + * Example usage: + * + * DT_PWMS_CELL_BY_NAME(DT_NODELABEL(n), alpha, channel) // 1 + * DT_PWMS_CELL_BY_NAME(DT_NODELABEL(n), beta, channel) // 3 + * DT_PWMS_CELL_BY_NAME(DT_NODELABEL(n), alpha, period) // 200000 + * DT_PWMS_CELL_BY_NAME(DT_NODELABEL(n), beta, period) // 100000 + * DT_PWMS_CELL_BY_NAME(DT_NODELABEL(n), alpha, flags) // PWM_POLARITY_NORMAL + * DT_PWMS_CELL_BY_NAME(DT_NODELABEL(n), beta, flags) // PWM_POLARITY_INVERTED + * + * @param node_id node identifier for a node with a pwms property + * @param name lowercase-and-underscores name of a pwms element + * as defined by the node's pwm-names property + * @param cell lowercase-and-underscores cell name + * @return the cell value in the specifier at the named element + * @see DT_PHA_BY_NAME() + */ + + + +/** + * @brief Equivalent to DT_PWMS_CELL_BY_IDX(node_id, 0, cell) + * @param node_id node identifier for a node with a pwms property + * @param cell lowercase-and-underscores cell name + * @return the cell value at index 0 + * @see DT_PWMS_CELL_BY_IDX() + */ + + +/** + * @brief Get a PWM specifier's channel cell value at an index + * + * This macro only works for PWM specifiers with cells named "channel". + * Refer to the node's binding to check if necessary. + * + * This is equivalent to DT_PWMS_CELL_BY_IDX(node_id, idx, channel). + * + * @param node_id node identifier for a node with a pwms property + * @param idx logical index into pwms property + * @return the channel cell value at index "idx" + * @see DT_PWMS_CELL_BY_IDX() + */ + + + +/** + * @brief Get a PWM specifier's channel cell value by name + * + * This macro only works for PWM specifiers with cells named "channel". + * Refer to the node's binding to check if necessary. + * + * This is equivalent to DT_PWMS_CELL_BY_NAME(node_id, name, channel). + * + * @param node_id node identifier for a node with a pwms property + * @param name lowercase-and-underscores name of a pwms element + * as defined by the node's pwm-names property + * @return the channel cell value in the specifier at the named element + * @see DT_PWMS_CELL_BY_NAME() + */ + + + +/** + * @brief Equivalent to DT_PWMS_CHANNEL_BY_IDX(node_id, 0) + * @param node_id node identifier for a node with a pwms property + * @return the channel cell value at index 0 + * @see DT_PWMS_CHANNEL_BY_IDX() + */ + + +/** + * @brief Get PWM specifier's period cell value at an index + * + * This macro only works for PWM specifiers with cells named "period". + * Refer to the node's binding to check if necessary. + * + * This is equivalent to DT_PWMS_CELL_BY_IDX(node_id, idx, period). + * + * @param node_id node identifier for a node with a pwms property + * @param idx logical index into pwms property + * @return the period cell value at index "idx" + * @see DT_PWMS_CELL_BY_IDX() + */ + + + +/** + * @brief Get a PWM specifier's period cell value by name + * + * This macro only works for PWM specifiers with cells named "period". + * Refer to the node's binding to check if necessary. + * + * This is equivalent to DT_PWMS_CELL_BY_NAME(node_id, name, period). + * + * @param node_id node identifier for a node with a pwms property + * @param name lowercase-and-underscores name of a pwms element + * as defined by the node's pwm-names property + * @return the period cell value in the specifier at the named element + * @see DT_PWMS_CELL_BY_NAME() + */ + + + +/** + * @brief Equivalent to DT_PWMS_PERIOD_BY_IDX(node_id, 0) + * @param node_id node identifier for a node with a pwms property + * @return the period cell value at index 0 + * @see DT_PWMS_PERIOD_BY_IDX() + */ + + +/** + * @brief Get a PWM specifier's flags cell value at an index + * + * This macro expects PWM specifiers with cells named "flags". + * If there is no "flags" cell in the PWM specifier, zero is returned. + * Refer to the node's binding to check specifier cell names if necessary. + * + * This is equivalent to DT_PWMS_CELL_BY_IDX(node_id, idx, flags). + * + * @param node_id node identifier for a node with a pwms property + * @param idx logical index into pwms property + * @return the flags cell value at index "idx", or zero if there is none + * @see DT_PWMS_CELL_BY_IDX() + */ + + + +/** + * @brief Get a PWM specifier's flags cell value by name + * + * This macro expects PWM specifiers with cells named "flags". + * If there is no "flags" cell in the PWM specifier, zero is returned. + * Refer to the node's binding to check specifier cell names if necessary. + * + * This is equivalent to DT_PWMS_CELL_BY_NAME(node_id, name, flags) if + * there is a flags cell, but expands to zero if there is none. + * + * @param node_id node identifier for a node with a pwms property + * @param name lowercase-and-underscores name of a pwms element + * as defined by the node's pwm-names property + * @return the flags cell value in the specifier at the named element, + * or zero if there is none + * @see DT_PWMS_CELL_BY_NAME() + */ + + + +/** + * @brief Equivalent to DT_PWMS_FLAGS_BY_IDX(node_id, 0) + * @param node_id node identifier for a node with a pwms property + * @return the flags cell value at index 0, or zero if there is none + * @see DT_PWMS_FLAGS_BY_IDX() + */ + + +/** + * @brief Get the node identifier for the PWM controller from a + * DT_DRV_COMPAT instance's pwms property at an index + * + * @param inst DT_DRV_COMPAT instance number + * @param idx logical index into pwms property + * @return the node identifier for the PWM controller referenced at + * index "idx" + * @see DT_PWMS_CTLR_BY_IDX() + */ + + + +/** + * @brief Get the node identifier for the PWM controller from a + * DT_DRV_COMPAT instance's pwms property by name + * @param inst DT_DRV_COMPAT instance number + * @param name lowercase-and-underscores name of a pwms element + * as defined by the node's pwm-names property + * @return the node identifier for the PWM controller in the named element + * @see DT_PWMS_CTLR_BY_NAME() + */ + + + +/** + * @brief Equivalent to DT_INST_PWMS_CTLR_BY_IDX(inst, 0) + * @param inst DT_DRV_COMPAT instance number + * @return the node identifier for the PWM controller at index 0 + * in the instance's "pwms" property + * @see DT_PWMS_CTLR_BY_IDX() + */ + + +/** + * @brief Get a DT_DRV_COMPAT instance's PWM specifier's cell value + * at an index + * @param inst DT_DRV_COMPAT instance number + * @param idx logical index into pwms property + * @param cell lowercase-and-underscores cell name + * @return the cell value at index "idx" + */ + + + +/** + * @brief Get a DT_DRV_COMPAT instance's PWM specifier's cell value by name + * @param inst DT_DRV_COMPAT instance number + * @param name lowercase-and-underscores name of a pwms element + * as defined by the node's pwm-names property + * @param cell lowercase-and-underscores cell name + * @return the cell value in the specifier at the named element + * @see DT_PWMS_CELL_BY_NAME() + */ + + + +/** + * @brief Equivalent to DT_INST_PWMS_CELL_BY_IDX(inst, 0, cell) + * @param inst DT_DRV_COMPAT instance number + * @param cell lowercase-and-underscores cell name + * @return the cell value at index 0 + */ + + + +/** + * @brief Equivalent to DT_INST_PWMS_CELL_BY_IDX(inst, idx, channel) + * @param inst DT_DRV_COMPAT instance number + * @param idx logical index into pwms property + * @return the channel cell value at index "idx" + * @see DT_INST_PWMS_CELL_BY_IDX() + */ + + + +/** + * @brief Equivalent to DT_INST_PWMS_CELL_BY_NAME(inst, name, channel) + * @param inst DT_DRV_COMPAT instance number + * @param name lowercase-and-underscores name of a pwms element + * as defined by the node's pwm-names property + * @return the channel cell value in the specifier at the named element + * @see DT_INST_PWMS_CELL_BY_NAME() + */ + + + +/** + * @brief Equivalent to DT_INST_PWMS_CHANNEL_BY_IDX(inst, 0) + * @param inst DT_DRV_COMPAT instance number + * @return the channel cell value at index 0 + * @see DT_INST_PWMS_CHANNEL_BY_IDX() + */ + + +/** + * @brief Equivalent to DT_INST_PWMS_CELL_BY_IDX(inst, idx, period) + * @param inst DT_DRV_COMPAT instance number + * @param idx logical index into pwms property + * @return the period cell value at index "idx" + * @see DT_INST_PWMS_CELL_BY_IDX() + */ + + + +/** + * @brief Equivalent to DT_INST_PWMS_CELL_BY_NAME(inst, name, period) + * @param inst DT_DRV_COMPAT instance number + * @param name lowercase-and-underscores name of a pwms element + * as defined by the node's pwm-names property + * @return the period cell value in the specifier at the named element + * @see DT_INST_PWMS_CELL_BY_NAME() + */ + + + +/** + * @brief Equivalent to DT_INST_PWMS_PERIOD_BY_IDX(inst, 0) + * @param inst DT_DRV_COMPAT instance number + * @return the period cell value at index 0 + * @see DT_INST_PWMS_PERIOD_BY_IDX() + */ + + +/** + * @brief Equivalent to DT_INST_PWMS_CELL_BY_IDX(inst, idx, flags) + * @param inst DT_DRV_COMPAT instance number + * @param idx logical index into pwms property + * @return the flags cell value at index "idx", or zero if there is none + * @see DT_INST_PWMS_CELL_BY_IDX() + */ + + + +/** + * @brief Equivalent to DT_INST_PWMS_CELL_BY_NAME(inst, name, flags) + * @param inst DT_DRV_COMPAT instance number + * @param name lowercase-and-underscores name of a pwms element + * as defined by the node's pwm-names property + * @return the flags cell value in the specifier at the named element, + * or zero if there is none + * @see DT_INST_PWMS_CELL_BY_NAME() + */ + + + +/** + * @brief Equivalent to DT_INST_PWMS_FLAGS_BY_IDX(inst, 0) + * @param inst DT_DRV_COMPAT instance number + * @return the flags cell value at index 0, or zero if there is none + * @see DT_INST_PWMS_FLAGS_BY_IDX() + */ + + +/** + * @} + */ + + +} +# 5339 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/devicetree.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/devicetree/fixed-partitions.h" 1 +/** + * @file + * @brief Flash Devicetree macro public API header file. + */ + +/* + * Copyright (c) 2020, Linaro Ltd. + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + + +extern "C" { + + +/** + * @defgroup devicetree-fixed-partition Devicetree Fixed Partition API + * @ingroup devicetree + * @{ + */ + +/** + * @brief Get a node identifier for a fixed partition with + * a given label property + * + * Example devicetree fragment: + * + * flash@... { + * partitions { + * compatible = "fixed-partitions"; + * boot_partition: partition@0 { + * label = "mcuboot"; + * }; + * slot0_partition: partition@c000 { + * label = "image-0"; + * }; + * ... + * }; + * }; + * + * Example usage: + * + * DT_NODE_BY_FIXED_PARTITION_LABEL(mcuboot) // node identifier for boot_partition + * DT_NODE_BY_FIXED_PARTITION_LABEL(image_0) // node identifier for slot0_partition + * + * @param label lowercase-and-underscores label property value + * @return a node identifier for the partition with that label property + */ + + + +/** + * @brief Test if a fixed partition with a given label property exists + * @param label lowercase-and-underscores label property value + * @return 1 if any "fixed-partitions" child node has the given label, + * 0 otherwise. + */ + + + +/** + * @brief Test if fixed-partition compatible node exists + * + * @param node_id DTS node to test + * @return 1 if node exists and is fixed-partition compatible, 0 otherwise. + */ + + + +/** + * @brief Get a numeric identifier for a fixed partition + * @param node_id node identifier for a fixed-partitions child node + * @return the partition's ID, a unique zero-based index number + */ + + +/** + * @brief Get the node identifier of the flash memory for a partition + * @param node_id node identifier for a fixed-partitions child node + * @return the node identifier of the internal memory that contains the + * fixed-partitions node, or @ref DT_INVALID_NODE if it doesn't exist. + */ + + + + +/** + * @brief Get the node identifier of the flash controller for a partition + * @param node_id node identifier for a fixed-partitions child node + * @return the node identifier of the memory technology device that + * contains the fixed-partitions node. + */ + + + + +/** + * @brief Get the absolute address of a fixed partition + * + * Example devicetree fragment: + * + * &flash_controller { + * flash@1000000 { + * compatible = "soc-nv-flash"; + * partitions { + * compatible = "fixed-partitions"; + * storage_partition: partition@3a000 { + * label = "storage"; + * }; + * }; + * }; + * }; + * + * Here, the "storage" partition is seen to belong to flash memory + * starting at address 0x1000000. The partition's unit address of + * 0x3a000 represents an offset inside that flash memory. + * + * Example usage: + * + * DT_FIXED_PARTITION_ADDR(DT_NODELABEL(storage_partition)) // 0x103a000 + * + * This macro can only be used with partitions of internal memory + * addressable by the CPU. Otherwise, it may produce a compile-time + * error, such as: `'__REG_IDX_0_VAL_ADDRESS' undeclared`. + * + * @param node_id node identifier for a fixed-partitions child node + * @return the partition's offset plus the base address of the flash + * node containing it. + */ + + + +/** + * @} + */ + + +} +# 5340 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/devicetree.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/devicetree/ordinals.h" 1 +/* + * Copyright (c) 2020 Nordic Semiconductor ASA + * SPDX-License-Identifier: Apache-2.0 + */ + + + + +/** + * @file + * @brief Devicetree node dependency ordinals + */ + +/** + * @defgroup devicetree-dep-ord Dependency tracking + * @ingroup devicetree + * @{ + */ + +/** + * @brief Get a node's dependency ordinal + * @param node_id Node identifier + * @return the node's dependency ordinal as an integer literal + */ + + +/** + * @brief Get a node's dependency ordinal in string sortable form + * @param node_id Node identifier + * @return the node's dependency ordinal as a zero-padded integer literal + */ + + +/** + * @brief Get a list of dependency ordinals of a node's direct dependencies + * + * There is a comma after each ordinal in the expansion, **including** + * the last one: + * + * DT_REQUIRES_DEP_ORDS(my_node) // required_ord_1, ..., required_ord_n, + * + * The one case DT_REQUIRES_DEP_ORDS() expands to nothing is when + * given the root node identifier @p DT_ROOT as argument. The root has + * no direct dependencies; every other node at least depends on its + * parent. + * + * @param node_id Node identifier + * @return a list of dependency ordinals, with each ordinal followed + * by a comma (,), or an empty expansion + */ + + +/** + * @brief Get a list of dependency ordinals of what depends directly on a node + * + * There is a comma after each ordinal in the expansion, **including** + * the last one: + * + * DT_SUPPORTS_DEP_ORDS(my_node) // supported_ord_1, ..., supported_ord_n, + * + * DT_SUPPORTS_DEP_ORDS() may expand to nothing. This happens when @p node_id + * refers to a leaf node that nothing else depends on. + * + * @param node_id Node identifier + * @return a list of dependency ordinals, with each ordinal followed + * by a comma (,), or an empty expansion + */ + + +/** + * @brief Get a DT_DRV_COMPAT instance's dependency ordinal + * + * Equivalent to DT_DEP_ORD(DT_DRV_INST(inst)). + * + * @param inst instance number + * @return The instance's dependency ordinal + */ + + +/** + * @brief Get a list of dependency ordinals of a DT_DRV_COMPAT instance's + * direct dependencies + * + * Equivalent to DT_REQUIRES_DEP_ORDS(DT_DRV_INST(inst)). + * + * @param inst instance number + * @return a list of dependency ordinals for the nodes the instance depends + * on directly + */ + + +/** + * @brief Get a list of dependency ordinals of what depends directly on a + * DT_DRV_COMPAT instance + * + * Equivalent to DT_SUPPORTS_DEP_ORDS(DT_DRV_INST(inst)). + * + * @param inst instance number + * @return a list of node identifiers for the nodes that depend directly + * on the instance + */ + + +/** + * @} + */ +# 5341 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/devicetree.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/devicetree/pinctrl.h" 1 +/* + * Copyright (c) 2021 Nordic Semiconductor ASA + * SPDX-License-Identifier: Apache-2.0 + */ + + + + +/** + * @file + * @brief Devicetree pin control helpers + */ + +/** + * @defgroup devicetree-pinctrl Pin control + * @ingroup devicetree + * @{ + */ + +/** + * @brief Get a node identifier for a phandle in a pinctrl property by index + * + * Example devicetree fragment: + * + * n: node { + * pinctrl-0 = <&foo &bar>; + * pinctrl-1 = <&baz &blub>; + * } + * + * Example usage: + * + * DT_PINCTRL_BY_IDX(DT_NODELABEL(n), 0, 1) // DT_NODELABEL(bar) + * DT_PINCTRL_BY_IDX(DT_NODELABEL(n), 1, 0) // DT_NODELABEL(baz) + * + * @param node_id node with a pinctrl-'pc_idx' property + * @param pc_idx index of the pinctrl property itself + * @param idx index into the value of the pinctrl property + * @return node identifier for the phandle at index 'idx' in 'pinctrl-'pc_idx'' + */ + + + +/** + * @brief Get a node identifier from a pinctrl-0 property + * + * This is equivalent to: + * + * DT_PINCTRL_BY_IDX(node_id, 0, idx) + * + * It is provided for convenience since pinctrl-0 is commonly used. + * + * @param node_id node with a pinctrl-0 property + * @param idx index into the pinctrl-0 property + * @return node identifier for the phandle at index idx in the pinctrl-0 + * property of that node + */ + + +/** + * @brief Get a node identifier for a phandle inside a pinctrl node by name + * + * Example devicetree fragment: + * + * n: node { + * pinctrl-0 = <&foo &bar>; + * pinctrl-1 = <&baz &blub>; + * pinctrl-names = "default", "sleep"; + * }; + * + * Example usage: + * + * DT_PINCTRL_BY_NAME(DT_NODELABEL(n), default, 1) // DT_NODELABEL(bar) + * DT_PINCTRL_BY_NAME(DT_NODELABEL(n), sleep, 0) // DT_NODELABEL(baz) + * + * @param node_id node with a named pinctrl property + * @param name lowercase-and-underscores pinctrl property name + * @param idx index into the value of the named pinctrl property + * @return node identifier for the phandle at that index in the pinctrl + * property + */ + + + +/** + * @brief Convert a pinctrl name to its corresponding index + * + * Example devicetree fragment: + * + * n: node { + * pinctrl-0 = <&foo &bar>; + * pinctrl-1 = <&baz &blub>; + * pinctrl-names = "default", "sleep"; + * }; + * + * Example usage: + * + * DT_PINCTRL_NAME_TO_IDX(DT_NODELABEL(n), default) // 0 + * DT_PINCTRL_NAME_TO_IDX(DT_NODELABEL(n), sleep) // 1 + * + * @param node_id node identifier with a named pinctrl property + * @param name lowercase-and-underscores name name of the pinctrl whose index to get + * @return integer literal for the index of the pinctrl property with that name + */ + + + +/** + * @brief Convert a pinctrl property index to its name as a token + * + * This allows you to get a pinctrl property's name, and "remove the + * quotes" from it. + * + * DT_PINCTRL_IDX_TO_NAME_TOKEN() can only be used if the node has a + * pinctrl-'pc_idx' property and a pinctrl-names property element for + * that index. It is an error to use it in other circumstances. + * + * Example devicetree fragment: + * + * n: node { + * pinctrl-0 = <...>; + * pinctrl-1 = <...>; + * pinctrl-names = "default", "f.o.o2"; + * }; + * + * Example usage: + * + * DT_PINCTRL_IDX_TO_NAME_TOKEN(DT_NODELABEL(n), 0) // default + * DT_PINCTRL_IDX_TO_NAME_TOKEN(DT_NODELABEL(n), 1) // f_o_o2 + * + * The same caveats and restrictions that apply to DT_STRING_TOKEN()'s + * return value also apply here. + * + * @param node_id node identifier + * @param pc_idx index of a pinctrl property in that node + * @return name of the pinctrl property, as a token, without any quotes + * and with non-alphanumeric characters converted to underscores + */ + + + +/** + * @brief Like DT_PINCTRL_IDX_TO_NAME_TOKEN(), but with an uppercased result + * + * This does the a similar conversion as + * DT_PINCTRL_IDX_TO_NAME_TOKEN(node_id, pc_idx). The only difference + * is that alphabetical characters in the result are uppercased. + * + * Example devicetree fragment: + * + * n: node { + * pinctrl-0 = <...>; + * pinctrl-1 = <...>; + * pinctrl-names = "default", "f.o.o2"; + * }; + * + * Example usage: + * + * DT_PINCTRL_IDX_TO_NAME_TOKEN(DT_NODELABEL(n), 0) // DEFAULT + * DT_PINCTRL_IDX_TO_NAME_TOKEN(DT_NODELABEL(n), 1) // F_O_O2 + * + * The same caveats and restrictions that apply to + * DT_STRING_UPPER_TOKEN()'s return value also apply here. + */ + + + +/** + * @brief Get the number of phandles in a pinctrl property + * + * Example devicetree fragment: + * + * n1: node-1 { + * pinctrl-0 = <&foo &bar>; + * }; + * + * n2: node-2 { + * pinctrl-0 = <&baz>; + * }; + * + * Example usage: + * + * DT_NUM_PINCTRLS_BY_IDX(DT_NODELABEL(n1), 0) // 2 + * DT_NUM_PINCTRLS_BY_IDX(DT_NODELABEL(n2), 0) // 1 + * + * @param node_id node identifier with a pinctrl property + * @param pc_idx index of the pinctrl property itself + * @return number of phandles in the property with that index + */ + + + +/** + * @brief Like DT_NUM_PINCTRLS_BY_IDX(), but by name instead + * + * Example devicetree fragment: + * + * n: node { + * pinctrl-0 = <&foo &bar>; + * pinctrl-1 = <&baz> + * pinctrl-names = "default", "sleep"; + * }; + * + * Example usage: + * + * DT_NUM_PINCTRLS_BY_NAME(DT_NODELABEL(n), default) // 2 + * DT_NUM_PINCTRLS_BY_NAME(DT_NODELABEL(n), sleep) // 1 + * + * @param node_id node identifier with a pinctrl property + * @param name lowercase-and-underscores name name of the pinctrl property + * @return number of phandles in the property with that name + */ + + + +/** + * @brief Get the number of pinctrl properties in a node + * + * This expands to 0 if there are no pinctrl-i properties. + * Otherwise, it expands to the number of such properties. + * + * Example devicetree fragment: + * + * n1: node-1 { + * pinctrl-0 = <...>; + * pinctrl-1 = <...>; + * }; + * + * n2: node-2 { + * }; + * + * Example usage: + * + * DT_NUM_PINCTRL_STATES(DT_NODELABEL(n1)) // 2 + * DT_NUM_PINCTRL_STATES(DT_NODELABEL(n2)) // 0 + * + * @param node_id node identifier; may or may not have any pinctrl properties + * @return number of pinctrl properties in the node + */ + + +/** + * @brief Test if a node has a pinctrl property with an index + * + * This expands to 1 if the pinctrl-'idx' property exists. + * Otherwise, it expands to 0. + * + * Example devicetree fragment: + * + * n1: node-1 { + * pinctrl-0 = <...>; + * pinctrl-1 = <...>; + * }; + * + * n2: node-2 { + * }; + * + * Example usage: + * + * DT_PINCTRL_HAS_IDX(DT_NODELABEL(n1), 0) // 1 + * DT_PINCTRL_HAS_IDX(DT_NODELABEL(n1), 1) // 1 + * DT_PINCTRL_HAS_IDX(DT_NODELABEL(n1), 2) // 0 + * DT_PINCTRL_HAS_IDX(DT_NODELABEL(n2), 0) // 0 + * + * @param node_id node identifier; may or may not have any pinctrl properties + * @param pc_idx index of a pinctrl property whose existence to check + * @return 1 if the property exists, 0 otherwise + */ + + + +/** + * @brief Test if a node has a pinctrl property with a name + * + * This expands to 1 if the named pinctrl property exists. + * Otherwise, it expands to 0. + * + * Example devicetree fragment: + * + * n1: node-1 { + * pinctrl-0 = <...>; + * pinctrl-names = "default"; + * }; + * + * n2: node-2 { + * }; + * + * Example usage: + * + * DT_PINCTRL_HAS_NAME(DT_NODELABEL(n1), default) // 1 + * DT_PINCTRL_HAS_NAME(DT_NODELABEL(n1), sleep) // 0 + * DT_PINCTRL_HAS_NAME(DT_NODELABEL(n2), default) // 0 + * + * @param node_id node identifier; may or may not have any pinctrl properties + * @param name lowercase-and-underscores pinctrl property name to check + * @return 1 if the property exists, 0 otherwise + */ + + + +/** + * @brief Get a node identifier for a phandle in a pinctrl property by index + * for a DT_DRV_COMPAT instance + * + * This is equivalent to DT_PINCTRL_BY_IDX(DT_DRV_INST(inst), pc_idx, idx). + * + * @param inst instance number + * @param pc_idx index of the pinctrl property itself + * @param idx index into the value of the pinctrl property + * @return node identifier for the phandle at index 'idx' in 'pinctrl-'pc_idx'' + */ + + + +/** + * @brief Get a node identifier from a pinctrl-0 property for a + * DT_DRV_COMPAT instance + * + * This is equivalent to: + * + * DT_PINCTRL_BY_IDX(DT_DRV_INST(inst), 0, idx) + * + * It is provided for convenience since pinctrl-0 is commonly used. + * + * @param inst instance number + * @param idx index into the pinctrl-0 property + * @return node identifier for the phandle at index idx in the pinctrl-0 + * property of that instance + */ + + + +/** + * @brief Get a node identifier for a phandle inside a pinctrl node + * for a DT_DRV_COMPAT instance + * + * This is equivalent to DT_PINCTRL_BY_NAME(DT_DRV_INST(inst), name, idx). + * + * @param inst instance number + * @param name lowercase-and-underscores pinctrl property name + * @param idx index into the value of the named pinctrl property + * @return node identifier for the phandle at that index in the pinctrl + * property + */ + + + +/** + * @brief Convert a pinctrl name to its corresponding index + * for a DT_DRV_COMPAT instance + * + * This is equivalent to DT_PINCTRL_NAME_TO_IDX(DT_DRV_INST(inst), + * name). + * + * @param inst instance number + * @param name lowercase-and-underscores name of the pinctrl whose index to get + * @return integer literal for the index of the pinctrl property with that name + */ + + + +/** + * @brief Convert a pinctrl index to its name as an uppercased token + * + * This is equivalent to + * DT_PINCTRL_IDX_TO_NAME_TOKEN(DT_DRV_INST(inst), pc_idx). + * + * @param inst instance number + * @param pc_idx index of the pinctrl property itself + * @return name of the pin control property as a token + */ + + + +/** + * @brief Convert a pinctrl index to its name as an uppercased token + * + * This is equivalent to + * DT_PINCTRL_IDX_TO_NAME_UPPER_TOKEN(DT_DRV_INST(inst), idx). + * + * @param inst instance number + * @param pc_idx index of the pinctrl property itself + * @return name of the pin control property as an uppercase token + */ + + + +/** + * @brief Get the number of phandles in a pinctrl property + * for a DT_DRV_COMPAT instance + * + * This is equivalent to DT_NUM_PINCTRLS_BY_IDX(DT_DRV_INST(inst), + * pc_idx). + * + * @param inst instance number + * @param pc_idx index of the pinctrl property itself + * @return number of phandles in the property with that index + */ + + + +/** + * @brief Like DT_INST_NUM_PINCTRLS_BY_IDX(), but by name instead + * + * This is equivalent to DT_NUM_PINCTRLS_BY_NAME(DT_DRV_INST(inst), + * name). + * + * @param inst instance number + * @param name lowercase-and-underscores name of the pinctrl property + * @return number of phandles in the property with that name + */ + + + +/** + * @brief Get the number of pinctrl properties in a DT_DRV_COMPAT instance + * + * This is equivalent to DT_NUM_PINCTRL_STATES(DT_DRV_INST(inst)). + * + * @param inst instance number + * @return number of pinctrl properties in the instance + */ + + + +/** + * @brief Test if a DT_DRV_COMPAT instance has a pinctrl property + * with an index + * + * This is equivalent to DT_PINCTRL_HAS_IDX(DT_DRV_INST(inst), pc_idx). + * + * @param inst instance number + * @param pc_idx index of a pinctrl property whose existence to check + * @return 1 if the property exists, 0 otherwise + */ + + + +/** + * @brief Test if a DT_DRV_COMPAT instance has a pinctrl property with a name + * + * This is equivalent to DT_PINCTRL_HAS_NAME(DT_DRV_INST(inst), name). + * + * @param inst instance number + * @param name lowercase-and-underscores pinctrl property name to check + * @return 1 if the property exists, 0 otherwise + */ + + + + +/** + * @} + */ +# 5342 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/devicetree.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/devicetree/can.h" 1 +/** + * @file + * @brief CAN devicetree macro public API header file. + */ + +/* + * Copyright (c) 2022 Vestas Wind Systems A/S + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + + +extern "C" { + + +/** + * @defgroup devicetree-can Devicetree CAN API + * @ingroup devicetree + * @{ + */ + +/** + * @brief Get the minimum transceiver bitrate for a CAN controller + * + * The bitrate will be limited to the minimum bitrate supported by the CAN + * controller. If no CAN transceiver is present in the devicetree, the minimum + * bitrate will be that of the CAN controller. + * + * Example devicetree fragment: + * + * transceiver0: can-phy0 { + * compatible = "vnd,can-transceiver"; + * min-bitrate = <15000>; + * max-bitrate = <1000000>; + * #phy-cells = <0>; + * }; + * + * can0: can@... { + * compatible = "vnd,can-controller"; + * phys = <&transceiver0>; + * }; + * + * can1: can@... { + * compatible = "vnd,can-controller"; + * + * can-transceiver { + * min-bitrate = <25000>; + * max-bitrate = <2000000>; + * }; + * }; + * + * can2: can@... { + * compatible = "vnd,can-controller"; + * + * can-transceiver { + * max-bitrate = <2000000>; + * }; + * }; + * + * Example usage: + * + * DT_CAN_TRANSCEIVER_MIN_BITRATE(DT_NODELABEL(can0), 10000) // 15000 + * DT_CAN_TRANSCEIVER_MIN_BITRATE(DT_NODELABEL(can1), 0) // 250000 + * DT_CAN_TRANSCEIVER_MIN_BITRATE(DT_NODELABEL(can1), 50000) // 500000 + * DT_CAN_TRANSCEIVER_MIN_BITRATE(DT_NODELABEL(can2), 0) // 0 + * + * @param node_id node identifier + * @param min minimum bitrate supported by the CAN controller + * @return the minimum bitrate supported by the CAN controller/transceiver combination + */ + + + + + +/** + * @brief Get the maximum transceiver bitrate for a CAN controller + * + * The bitrate will be limited to the maximum bitrate supported by the CAN + * controller. If no CAN transceiver is present in the devicetree, the maximum + * bitrate will be that of the CAN controller. + * + * Example devicetree fragment: + * + * transceiver0: can-phy0 { + * compatible = "vnd,can-transceiver"; + * max-bitrate = <1000000>; + * #phy-cells = <0>; + * }; + * + * can0: can@... { + * compatible = "vnd,can-controller"; + * phys = <&transceiver0>; + * }; + * + * can1: can@... { + * compatible = "vnd,can-controller"; + * + * can-transceiver { + * max-bitrate = <2000000>; + * }; + * }; + * + * Example usage: + * + * DT_CAN_TRANSCEIVER_MAX_BITRATE(DT_NODELABEL(can0), 5000000) // 1000000 + * DT_CAN_TRANSCEIVER_MAX_BITRATE(DT_NODELABEL(can1), 5000000) // 2000000 + * DT_CAN_TRANSCEIVER_MAX_BITRATE(DT_NODELABEL(can1), 1000000) // 1000000 + * + * @param node_id node identifier + * @param max maximum bitrate supported by the CAN controller + * @return the maximum bitrate supported by the CAN controller/transceiver combination + */ + + + + + +/** + * @brief Get the minimum transceiver bitrate for a DT_DRV_COMPAT CAN controller + * @param inst DT_DRV_COMPAT instance number + * @param min minimum bitrate supported by the CAN controller + * @return the minimum bitrate supported by the CAN controller/transceiver combination + * @see DT_CAN_TRANSCEIVER_MIN_BITRATE() + */ + + + +/** + * @brief Get the maximum transceiver bitrate for a DT_DRV_COMPAT CAN controller + * @param inst DT_DRV_COMPAT instance number + * @param max maximum bitrate supported by the CAN controller + * @return the maximum bitrate supported by the CAN controller/transceiver combination + * @see DT_CAN_TRANSCEIVER_MAX_BITRATE() + */ + + + +/** + * @} + */ + + +} +# 5343 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/devicetree.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/devicetree/reset.h" 1 +/** + * @file + * @brief Reset Controller Devicetree macro public API header file. + */ + +/* + * Copyright (c) 2022, Andrei-Edward Popa + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + + +extern "C" { + + +/** + * @defgroup devicetree-reset-controller Devicetree Reset Controller API + * @ingroup devicetree + * @{ + */ + +/** + * @brief Get the node identifier for the controller phandle from a + * "resets" phandle-array property at an index + * + * Example devicetree fragment: + * + * reset1: reset-controller@... { ... }; + * + * reset2: reset-controller@... { ... }; + * + * n: node { + * resets = <&reset1 10>, <&reset2 20>; + * }; + * + * Example usage: + * + * DT_RESET_CTLR_BY_IDX(DT_NODELABEL(n), 0)) // DT_NODELABEL(reset1) + * DT_RESET_CTLR_BY_IDX(DT_NODELABEL(n), 1)) // DT_NODELABEL(reset2) + * + * @param node_id node identifier + * @param idx logical index into "resets" + * @return the node identifier for the reset controller referenced at + * index "idx" + * @see DT_PHANDLE_BY_IDX() + */ + + + +/** + * @brief Equivalent to DT_RESET_CTLR_BY_IDX(node_id, 0) + * @param node_id node identifier + * @return a node identifier for the reset controller at index 0 + * in "resets" + * @see DT_RESET_CTLR_BY_IDX() + */ + + + +/** + * @brief Get the node identifier for the controller phandle from a + * resets phandle-array property by name + * + * Example devicetree fragment: + * + * reset1: reset-controller@... { ... }; + * + * reset2: reset-controller@... { ... }; + * + * n: node { + * resets = <&reset1 10>, <&reset2 20>; + * reset-names = "alpha", "beta"; + * }; + * + * Example usage: + * + * DT_RESET_CTLR_BY_NAME(DT_NODELABEL(n), alpha) // DT_NODELABEL(reset1) + * DT_RESET_CTLR_BY_NAME(DT_NODELABEL(n), beta) // DT_NODELABEL(reset2) + * + * @param node_id node identifier + * @param name lowercase-and-underscores name of a resets element + * as defined by the node's reset-names property + * @return the node identifier for the reset controller referenced by name + * @see DT_PHANDLE_BY_NAME() + */ + + + +/** + * @brief Get a reset specifier's cell value at an index + * + * Example devicetree fragment: + * + * reset: reset-controller@... { + * compatible = "vnd,reset"; + * #reset-cells = <1>; + * }; + * + * n: node { + * resets = <&reset 10>; + * }; + * + * Bindings fragment for the vnd,reset compatible: + * + * reset-cells: + * - id + * + * Example usage: + * + * DT_RESET_CELL_BY_IDX(DT_NODELABEL(n), 0, id) // 10 + * + * @param node_id node identifier for a node with a resets property + * @param idx logical index into resets property + * @param cell lowercase-and-underscores cell name + * @return the cell value at index "idx" + * @see DT_PHA_BY_IDX() + */ + + + +/** + * @brief Get a reset specifier's cell value by name + * + * Example devicetree fragment: + * + * reset: reset-controller@... { + * compatible = "vnd,reset"; + * #reset-cells = <1>; + * }; + * + * n: node { + * resets = <&reset 10>; + * reset-names = "alpha"; + * }; + * + * Bindings fragment for the vnd,reset compatible: + * + * reset-cells: + * - id + * + * Example usage: + * + * DT_RESET_CELL_BY_NAME(DT_NODELABEL(n), alpha, id) // 10 + * + * @param node_id node identifier for a node with a resets property + * @param name lowercase-and-underscores name of a resets element + * as defined by the node's reset-names property + * @param cell lowercase-and-underscores cell name + * @return the cell value in the specifier at the named element + * @see DT_PHA_BY_NAME() + */ + + + +/** + * @brief Equivalent to DT_RESET_CELL_BY_IDX(node_id, 0, cell) + * @param node_id node identifier for a node with a resets property + * @param cell lowercase-and-underscores cell name + * @return the cell value at index 0 + * @see DT_RESET_CELL_BY_IDX() + */ + + + +/** + * @brief Get the node identifier for the controller phandle from a + * "resets" phandle-array property at an index + * + * @param inst instance number + * @param idx logical index into "resets" + * @return the node identifier for the reset controller referenced at + * index "idx" + * @see DT_RESET_CTLR_BY_IDX() + */ + + + +/** + * @brief Equivalent to DT_INST_RESET_CTLR_BY_IDX(inst, 0) + * @param inst instance number + * @return a node identifier for the reset controller at index 0 + * in "resets" + * @see DT_RESET_CTLR() + */ + + + +/** + * @brief Get the node identifier for the controller phandle from a + * resets phandle-array property by name + * + * @param inst instance number + * @param name lowercase-and-underscores name of a resets element + * as defined by the node's reset-names property + * @return the node identifier for the reset controller referenced by + * the named element + * @see DT_RESET_CTLR_BY_NAME() + */ + + + +/** + * @brief Get a DT_DRV_COMPAT instance's reset specifier's cell value + * at an index + * @param inst DT_DRV_COMPAT instance number + * @param idx logical index into resets property + * @param cell lowercase-and-underscores cell name + * @return the cell value at index "idx" + * @see DT_RESET_CELL_BY_IDX() + */ + + + +/** + * @brief Get a DT_DRV_COMPAT instance's reset specifier's cell value by name + * @param inst DT_DRV_COMPAT instance number + * @param name lowercase-and-underscores name of a resets element + * as defined by the node's reset-names property + * @param cell lowercase-and-underscores cell name + * @return the cell value in the specifier at the named element + * @see DT_RESET_CELL_BY_NAME() + */ + + + +/** + * @brief Equivalent to DT_INST_RESET_CELL_BY_IDX(inst, 0, cell) + * @param inst DT_DRV_COMPAT instance number + * @param cell lowercase-and-underscores cell name + * @return the value of the cell inside the specifier at index 0 + */ + + + +/** + * @brief Get a Reset Controller specifier's id cell at an index + * + * This macro only works for Reset Controller specifiers with cells named "id". + * Refer to the node's binding to check if necessary. + * + * Example devicetree fragment: + * + * reset: reset-controller@... { + * compatible = "vnd,reset"; + * #reset-cells = <1>; + * }; + * + * n: node { + * resets = <&reset 10>; + * }; + * + * Bindings fragment for the vnd,reset compatible: + * + * reset-cells: + * - id + * + * Example usage: + * + * DT_RESET_ID_BY_IDX(DT_NODELABEL(n), 0) // 10 + * + * @param node_id node identifier + * @param idx logical index into "resets" + * @return the id cell value at index "idx" + * @see DT_PHA_BY_IDX() + */ + + + +/** + * @brief Equivalent to DT_RESET_ID_BY_IDX(node_id, 0) + * @param node_id node identifier + * @return the id cell value at index 0 + * @see DT_RESET_ID_BY_IDX() + */ + + + +/** + * @brief Get a DT_DRV_COMPAT instance's Reset Controller specifier's id cell value + * at an index + * @param inst DT_DRV_COMPAT instance number + * @param idx logical index into "resets" + * @return the id cell value at index "idx" + * @see DT_RESET_ID_BY_IDX() + */ + + + +/** + * @brief Equivalent to DT_INST_RESET_ID_BY_IDX(inst, 0) + * @param inst DT_DRV_COMPAT instance number + * @return the id cell value at index 0 + * @see DT_INST_RESET_ID_BY_IDX() + */ + + + +/** + * @} + */ + + +} +# 5344 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/devicetree.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/devicetree/mbox.h" 1 +/** + * @file + * @brief MBOX Devicetree macro public API header file. + */ + +/* + * Copyright (c) 2022 Carlo Caione + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + + +extern "C" { + + +/** + * @defgroup devicetree-mbox Devicetree MBOX API + * @ingroup devicetree + * @{ + */ + +/** + * @brief Get the node identifier for the MBOX controller from a mboxes + * property by name + * + * Example devicetree fragment: + * + * mbox1: mbox-controller@... { ... }; + * + * n: node { + * mboxes = <&mbox1 8>, + * <&mbox1 9>; + * mbox-names = "tx", "rx"; + * }; + * + * Example usage: + * + * DT_MBOX_CTLR_BY_NAME(DT_NODELABEL(n), tx) // DT_NODELABEL(mbox1) + * DT_MBOX_CTLR_BY_NAME(DT_NODELABEL(n), rx) // DT_NODELABEL(mbox1) + * + * @param node_id node identifier for a node with a mboxes property + * @param name lowercase-and-underscores name of a mboxes element + * as defined by the node's mbox-names property + * + * @return the node identifier for the MBOX controller in the named element + * + * @see DT_PHANDLE_BY_NAME() + */ + + + +/** + * @brief Get a MBOX channel value by name + * + * Example devicetree fragment: + * + * mbox1: mbox@... { + * #mbox-cells = <1>; + * }; + * + * n: node { + * mboxes = <&mbox1 1>, + * <&mbox1 6>; + * mbox-names = "tx", "rx"; + * }; + * + * Bindings fragment for the mbox compatible: + * + * mbox-cells: + * - channel + * + * Example usage: + * + * DT_MBOX_CHANNEL_BY_NAME(DT_NODELABEL(n), tx) // 1 + * DT_MBOX_CHANNEL_BY_NAME(DT_NODELABEL(n), rx) // 6 + * + * @param node_id node identifier for a node with a mboxes property + * @param name lowercase-and-underscores name of a mboxes element + * as defined by the node's mbox-names property + * + * @return the channel value in the specifier at the named element or 0 if no + * channels are supported + * + * @see DT_PHA_BY_NAME_OR() + */ + + + +/** + * @} + */ + + +} +# 5345 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/devicetree.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/devicetree/port-endpoint.h" 1 +/** + * @file + * @brief Port / Endpoint Devicetree macro public API header file. + */ + +/* + * Copyright 2024 NXP + * Copyright (c) 2024 tinyVision.ai Inc + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + + +extern "C" { + + +/** + * @defgroup devicetree-port-endpoint Devicetree Port Endpoint API + * @ingroup devicetree + * @{ + */ + +/** + * @brief Helper for @ref DT_INST_PORT_BY_ID + * + * This behaves the same way as @ref DT_INST_PORT_BY_ID but does not work if there is only + * a single port without address. + * + * @param inst instance number + * @param pid port ID + * @return port node associated with @p pid + */ + + + + +/** + * @brief Get a port node from its id + * + * Given a device instance number, return a port node specified by its ID. + * It handles various ways of how a port could be defined. + * + * Example usage with DT_INST_PORT_BY_ID() to get the @c port@0 or @c port node: + * + * @code{.c} + * DT_INST_PORT_BY_ID(inst, 0) + * @endcode + * + * Example devicetree fragment: + * + * @code{.dts} + * &device { + * ports { + * #address-cells = <1>; + * #size-cells = <0>; + * port@0 { + * reg = <0x0>; + * }; + * }; + * }; + * @endcode + * + * @code{.dts} + * &device { + * #address-cells = <1>; + * #size-cells = <0>; + * port@0 { + * reg = <0x0>; + * }; + * }; + * @endcode + * + * @code{.dts} + * &device { + * port { + * }; + * }; + * @endcode + * + * @param inst instance number + * @param pid port ID + * @return port node associated with @p pid + */ + + + + +/** + * @brief Helper for @ref DT_INST_ENDPOINT_BY_ID + * + * This behaves the same way as @ref DT_INST_PORT_BY_ID but does not work if there is only + * a single endpoint without address. + * + * @param inst instance number + * @param pid port ID + * @param eid endpoint ID + * @return endpoint node associated with @p eid and @p pid + */ + + + +/** + * @brief Get an endpoint node from its id and its parent port id + * + * Given a device instance number, a port ID and an endpoint ID, return the endpoint node. + * It handles various ways of how a port and an endpoint could be defined as described in + * @ref DT_INST_PORT_BY_ID and below. + * + * Example usage with DT_INST_ENDPOINT_BY_ID() to get the @c endpoint or @c endpoint@0 node: + * + * @code{.c} + * DT_INST_ENDPOINT_BY_ID(inst, 0, 0) + * @endcode + * + * Example devicetree fragment: + * + * @code{.dts} + * &device { + * port { + * endpoint { + * }; + * }; + * }; + * @endcode + * + * @code{.dts} + * &device { + * port { + * #address-cells = <1>; + * #size-cells = <0>; + * endpoint@0 { + * reg = <0x0>; + * }; + * }; + * }; + * @endcode + * + * @code{.dts} + * &device { + * ports { + * #address-cells = <1>; + * #size-cells = <0>; + * port@0 { + * reg = <0x0>; + * #address-cells = <1>; + * #size-cells = <0>; + * endpoint@0 { + * reg = <0x0>; + * }; + * }; + * }; + * }; + * @endcode + * + * @param inst instance number + * @param pid port ID + * @param eid endpoint ID + * @return endpoint node associated with @p eid and @p pid + */ + + + + + +/** + * @brief Get the device node from its endpoint node. + * + * Given an endpoint node id, return its device node id. + * This handles various ways of how a port and an endpoint could be defined as described in + * @ref DT_NODE_BY_ENDPOINT. + * + * Example usage with DT_NODE_BY_ENDPOINT() to get the @c &device node from its @c ep0 node: + * + * @code{.c} + * DT_NODE_BY_ENDPOINT(DT_NODELABEL(ep0)) + * @endcode + * + * Example devicetree fragment: + * + * @code{.dts} + * &device { + * port { + * #address-cells = <1>; + * #size-cells = <0>; + * ep0: endpoint@0 { + * reg = <0x0>; + * }; + * }; + * }; + * @endcode + * + * @code{.dts} + * &device { + * ports { + * #address-cells = <1>; + * #size-cells = <0>; + * port@0 { + * reg = <0x0>; + * #address-cells = <1>; + * #size-cells = <0>; + * ep0: endpoint@0 { + * reg = <0x0>; + * }; + * }; + * }; + * }; + * @endcode + * + * @param ep endpoint node + * @return device node associated with @p ep + */ + + + + +/** + * @brief Get the remote device node from a local endpoint node. + * + * Given an endpoint node id, return the remote device node that connects to this device via this + * local endpoint. This handles various ways of how a port and an endpoint could be defined as + * described in @ref DT_INST_PORT_BY_ID and @ref DT_INST_ENDPOINT_BY_ID. + * + * Example usage with DT_NODE_REMOTE_DEVICE() to get the remote device node @c &device1 from the + * local endpoint @c endpoint@0 node of the device @c &device0 node: + * + * @code{.c} + * DT_NODE_REMOTE_DEVICE(DT_NODELABEL(device0_ep_out)) + * @endcode + * + * Example devicetree fragment: + * + * @code{.dts} + * &device0 { + * port { + * #address-cells = <1>; + * #size-cells = <0>; + * device0_ep_out: endpoint@0 { + * reg = <0x0>; + * remote-endpoint-label = "device1_ep_in"; + * }; + * }; + * }; + * + * &device1 { + * ports { + * #address-cells = <1>; + * #size-cells = <0>; + * port@0 { + * reg = <0x0>; + * device1_ep_in: endpoint { + * remote-endpoint-label = "device0_ep_out"; + * }; + * }; + * }; + * }; + * @endcode + * + * @param ep endpoint node + * @return remote device node that connects to this device via @p ep + */ + + + +/** + * @} + */ + + +} +# 5346 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/devicetree.h" 2 +# 21 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/arch.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/thread.h" 1 +/* + * Copyright (c) 2017 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Per-arch thread definition + * + * This file contains definitions for + * + * struct _thread_arch + * struct _callee_saved + * + * necessary to instantiate instances of struct k_thread. + */ + + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/types.h" 1 +/* + * Copyright (c) 2017 Linaro Limited + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 24 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/thread.h" 2 + +struct _callee_saved { + uint32_t v1; + uint32_t v2; + uint32_t v3; + uint32_t v4; + uint32_t v5; + uint32_t v6; + uint32_t v7; + uint32_t v8; + uint32_t psp; + + + +}; + +typedef struct _callee_saved _callee_saved_t; + + +struct _preempt_float { + float s16; + float s17; + float s18; + float s19; + float s20; + float s21; + float s22; + float s23; + float s24; + float s25; + float s26; + float s27; + float s28; + float s29; + float s30; + float s31; +}; + + +struct _thread_arch { + + /* interrupt locking key */ + uint32_t basepri; + + /* r0 in stack frame cannot be written to reliably */ + uint32_t swap_return_value; + + + /* + * No cooperative floating point register set structure exists for + * the Cortex-M as it automatically saves the necessary registers + * in its exception stack frame. + */ + struct _preempt_float preempt_float; + + + + + + + + /* + * Status variable holding several thread status flags + * as follows: + * + * byte 0 + * +-bits 4-7-----bit-3----------bit-2--------bit-1---+----bit-0------+ + * : | | | | | + * : reserved || reserved | reserved | | + * : bits | | | | CONTROL.nPRIV | + * +------------------------------------------------------------------+ + * + * byte 1 + * +----------------------------bits 8-15-----------------------------+ + * : Least significant byte of EXC_RETURN | + * : bit 15| bit 14| bit 13 | bit 12| bit 11 | bit 10 | bit 9 | bit 8 | + * : Res | S | DCRS | FType | Mode | SPSel | Res | ES | + * +------------------------------------------------------------------+ + * + * Bit 0: thread's current privileged mode (Supervisor or User mode) + * Mirrors CONTROL.nPRIV flag. + * Bit 2: Deprecated in favor of FType. Note: FType = !CONTROL.FPCA. + * indicating whether the thread has an active FP context. + * Mirrors CONTROL.FPCA flag. + * Bit 3: indicating whether the thread is applying the long (FLOAT) + * or the default MPU stack guard size. + * + * Bits 8-15: Least significant octet of the EXC_RETURN value when a + * thread is switched-out. The value is copied from LR when + * entering the PendSV handler. When the thread is + * switched in again, the value is restored to LR before + * exiting the PendSV handler. + */ + union { + uint32_t mode; + + + struct { + uint8_t mode_bits; + uint8_t mode_exc_return; + uint16_t mode_reserved2; + }; + + }; +# 137 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/thread.h" +}; + + + + +typedef struct _thread_arch _thread_arch_t; +# 23 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/arch.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/exception.h" 1 +/* + * Copyright (c) 2013-2014 Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief ARM AArch32 public exception handling + * + * ARM AArch32-specific kernel exception handling interface. Included by + * arm/arch.h. + */ + + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/cortex_m/exception.h" 1 +/* + * Copyright (c) 2013-2014 Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief ARM AArch32 Cortex-M public exception handling + */ + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/devicetree.h" 1 +/* + * SPDX-License-Identifier: Apache-2.0 + * Copyright (c) 2020 Nordic Semiconductor + * Copyright (c) 2020, Linaro Ltd. + * + * Not a generated file. Feel free to modify. + */ + +/** + * @file + * @brief Devicetree main header + * + * API for accessing the current application's devicetree macros. + */ +# 16 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/cortex_m/exception.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/cortex_m/nvic.h" 1 +/* + * Copyright (c) 2020, Linaro Ltd. + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/devicetree.h" 1 +/* + * SPDX-License-Identifier: Apache-2.0 + * Copyright (c) 2020 Nordic Semiconductor + * Copyright (c) 2020, Linaro Ltd. + * + * Not a generated file. Feel free to modify. + */ + +/** + * @file + * @brief Devicetree main header + * + * API for accessing the current application's devicetree macros. + */ +# 11 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/cortex_m/nvic.h" 2 +# 18 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/cortex_m/exception.h" 2 + +/* for assembler, only works with constants */ + + +/* + * In architecture variants with non-programmable fault exceptions + * (e.g. Cortex-M Baseline variants), hardware ensures processor faults + * are given the highest interrupt priority level. SVCalls are assigned + * the highest configurable priority level (level 0); note, however, that + * this interrupt level may be shared with HW interrupts. + * + * In Cortex variants with programmable fault exception priorities we + * assign the highest interrupt priority level (level 0) to processor faults + * with configurable priority. + * The highest priority level may be shared with either Zero-Latency IRQs (if + * support for the feature is enabled) or with SVCall priority level. + * Regular HW IRQs are always assigned priority levels lower than the priority + * levels for SVCalls, Zero-Latency IRQs and processor faults. + * + * PendSV IRQ (which is used in Cortex-M variants to implement thread + * context-switching) is assigned the lowest IRQ priority level. + */ +# 55 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/cortex_m/exception.h" +/* Use lowest possible priority level for PendSV */ + + + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/types.h" 1 +/* + * Copyright (c) 2017 Linaro Limited + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 63 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/cortex_m/exception.h" 2 + + +extern "C" { + + + + +/* Registers s16-s31 (d8-d15, q4-q7) must be preserved across subroutine calls. + * + * Registers s0-s15 (d0-d7, q0-q3) do not have to be preserved (and can be used + * for passing arguments or returning results in standard procedure-call variants). + * + * Registers d16-d31 (q8-q15), do not have to be preserved. + */ +struct __fpu_sf { + uint32_t s[16]; + + + + uint32_t fpscr; + uint32_t undefined; +}; + + +/* Additional register state that is not stacked by hardware on exception + * entry. + * + * These fields are ONLY valid in the ESF copy passed into z_arm_fatal_error(). + * When information for a member is unavailable, the field is set to zero. + */ +# 101 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/cortex_m/exception.h" +/* ARM GPRs are often designated by two different names */ + + + + + +struct arch_esf { + struct __basic_sf { + union { uint32_t a1, r0; }; + union { uint32_t a2, r1; }; + union { uint32_t a3, r2; }; + union { uint32_t a4, r3; }; + union { uint32_t ip, r12; }; + union { uint32_t lr, r14; }; + union { uint32_t pc, r15; }; + uint32_t xpsr; + } basic; + + struct __fpu_sf fpu; + + + + +}; + +extern uint32_t z_arm_coredump_fault_sp; + +extern void z_arm_exc_exit(void); + + +} +# 20 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/exception.h" 2 +# 24 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/arch.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/irq.h" 1 +/* + * Copyright (c) 2013-2014 Wind River Systems, Inc. + * Copyright (c) 2019 Nordic Semiconductor ASA. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief ARM AArch32 public interrupt handling + * + * ARM AArch32-specific kernel interrupt handling interface. Included by + * arm/arch.h. + */ + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sw_isr_table.h" 1 +/* + * Copyright (c) 2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Software-managed ISR table + * + * Data types for a software-managed ISR table, with a parameter per-ISR. + */ + + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/device.h" 1 +/* + * Copyright (c) 2015 Intel Corporation. + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ +# 11 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/device.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/devicetree.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/devicetree.h" +/* + * SPDX-License-Identifier: Apache-2.0 + * Copyright (c) 2020 Nordic Semiconductor + * Copyright (c) 2020, Linaro Ltd. + * + * Not a generated file. Feel free to modify. + */ + +/** + * @file + * @brief Devicetree main header + * + * API for accessing the current application's devicetree macros. + */ +# 13 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/device.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/init.h" 1 +/* + * Copyright (c) 2015 Intel Corporation. + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ +# 11 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/init.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 1 3 4 +/* Copyright (C) 1989-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.17 Common definitions + */ +# 12 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/init.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util.h" +/* + * Copyright (c) 2011-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Misc utilities + * + * Misc utilities usable by the kernel and application code. + */ +# 14 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/init.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain.h" 1 +/* + * Copyright (c) 2010-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Macros to abstract toolchain specific capabilities + * + * This file contains various macros to abstract compiler capabilities that + * utilize toolchain specific attributes and/or pragmas. + */ +# 15 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/init.h" 2 + + +extern "C" { + + +/** + * @defgroup sys_init System Initialization + * @ingroup os_services + * + * Zephyr offers an infrastructure to call initialization code before `main`. + * Such initialization calls can be registered using SYS_INIT() or + * SYS_INIT_NAMED() macros. By using a combination of initialization levels and + * priorities init sequence can be adjusted as needed. The available + * initialization levels are described, in order, below: + * + * - `EARLY`: Used very early in the boot process, right after entering the C + * domain (``z_cstart()``). This can be used in architectures and SoCs that + * extend or implement architecture code and use drivers or system services + * that have to be initialized before the Kernel calls any architecture + * specific initialization code. + * - `PRE_KERNEL_1`: Executed in Kernel's initialization context, which uses + * the interrupt stack. At this point Kernel services are not yet available. + * - `PRE_KERNEL_2`: Same as `PRE_KERNEL_1`. + * - `POST_KERNEL`: Executed after Kernel is alive. From this point on, Kernel + * primitives can be used. + * - `APPLICATION`: Executed just before application code (`main`). + * - `SMP`: Only available if @kconfig{CONFIG_SMP} is enabled, specific for + * SMP. + * + * Initialization priority can take a value in the range of 0 to 99. + * + * @note The same infrastructure is used by devices. + * @{ + */ + +struct device; + +/** + * @brief Structure to store initialization entry information. + * + * @internal + * Init entries need to be defined following these rules: + * + * - Their name must be set using Z_INIT_ENTRY_NAME(). + * - They must be placed in a special init section, given by + * Z_INIT_ENTRY_SECTION(). + * - They must be aligned, e.g. using Z_DECL_ALIGN(). + * + * See SYS_INIT_NAMED() for an example. + * @endinternal + */ +struct init_entry { + /** + * If the init function belongs to a SYS_INIT, this field stored the + * initialization function, otherwise it is set to NULL. + */ + int (*init_fn)(void); + /** + * If the init entry belongs to a device, this fields stores a + * reference to it, otherwise it is set to NULL. + */ + const struct device *dev; +}; + +/** @cond INTERNAL_HIDDEN */ + +/* Helper definitions to evaluate level equality */ + + + + + + + +/* Init level ordinals */ + + + + + + + +/** + * @brief Obtain init entry name. + * + * @param init_id Init entry unique identifier. + */ + + +/** + * @brief Init entry section. + * + * Each init entry is placed in a section with a name crafted so that it allows + * linker scripts to sort them according to the specified + * level/priority/sub-priority. + */ + + + + +/** @endcond */ + +/** + * @brief Obtain the ordinal for an init level. + * + * @param level Init level (EARLY, PRE_KERNEL_1, PRE_KERNEL_2, POST_KERNEL, + * APPLICATION, SMP). + * + * @return Init level ordinal. + */ +# 134 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/init.h" +/** + * @brief Register an initialization function. + * + * The function will be called during system initialization according to the + * given level and priority. + * + * @param init_fn Initialization function. + * @param level Initialization level. Allowed tokens: `EARLY`, `PRE_KERNEL_1`, + * `PRE_KERNEL_2`, `POST_KERNEL`, `APPLICATION` and `SMP` if + * @kconfig{CONFIG_SMP} is enabled. + * @param prio Initialization priority within @p _level. Note that it must be a + * decimal integer literal without leading zeroes or sign (e.g. `32`), or an + * equivalent symbolic name (e.g. `#define MY_INIT_PRIO 32`); symbolic + * expressions are **not** permitted (e.g. + * `CONFIG_KERNEL_INIT_PRIORITY_DEFAULT + 5`). + */ + + + +/** + * @brief Register an initialization function (named). + * + * @note This macro can be used for cases where the multiple init calls use the + * same init function. + * + * @param name Unique name for SYS_INIT entry. + * @param init_fn_ See SYS_INIT(). + * @param level See SYS_INIT(). + * @param prio See SYS_INIT(). + * + * @see SYS_INIT() + */ + + + + + +/** @} */ + + +} +# 14 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/device.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/linker/sections.h" 1 +/* + * Copyright (c) 2013-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Definitions of various linker Sections. + * + * Linker Section declarations used by linker script, C files and Assembly + * files. + */ +# 15 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/device.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/pm/state.h" 1 +/* + * Copyright (c) 2020 Intel corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util.h" 1 +/* + * Copyright (c) 2011-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Misc utilities + * + * Misc utilities usable by the kernel and application code. + */ +# 11 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/pm/state.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/devicetree.h" 1 +/* + * SPDX-License-Identifier: Apache-2.0 + * Copyright (c) 2020 Nordic Semiconductor + * Copyright (c) 2020, Linaro Ltd. + * + * Not a generated file. Feel free to modify. + */ + +/** + * @file + * @brief Devicetree main header + * + * API for accessing the current application's devicetree macros. + */ +# 12 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/pm/state.h" 2 + + +extern "C" { + + +/** + * @brief System Power Management States + * @defgroup subsys_pm_states States + * @ingroup subsys_pm + * @{ + */ + +/** + * @enum pm_state Power management state + */ +enum pm_state { + /** + * @brief Runtime active state + * + * The system is fully powered and active. + * + * @note This state is correlated with ACPI G0/S0 state + */ + PM_STATE_ACTIVE, + /** + * @brief Runtime idle state + * + * Runtime idle is a system sleep state in which all of the cores + * enter deepest possible idle state and wait for interrupts, no + * requirements for the devices, leaving them at the states where + * they are. + * + * @note This state is correlated with ACPI S0ix state + */ + PM_STATE_RUNTIME_IDLE, + /** + * @brief Suspend to idle state + * + * The system goes through a normal platform suspend where it puts + * all of the cores in deepest possible idle state and *may* puts + * peripherals into low-power states. No operating state is lost (ie. + * the cpu core does not lose execution context), so the system can go + * back to where it left off easily enough. + * + * @note This state is correlated with ACPI S1 state + */ + PM_STATE_SUSPEND_TO_IDLE, + /** + * @brief Standby state + * + * In addition to putting peripherals into low-power states all + * non-boot CPUs are powered off. It should allow more energy to be + * saved relative to suspend to idle, but the resume latency will + * generally be greater than for that state. But it should be the same + * state with suspend to idle state on uniprocessor system. + * + * @note This state is correlated with ACPI S2 state + */ + PM_STATE_STANDBY, + /** + * @brief Suspend to ram state + * + * This state offers significant energy savings by powering off as much + * of the system as possible, where memory should be placed into the + * self-refresh mode to retain its contents. The state of devices and + * CPUs is saved and held in memory, and it may require some boot- + * strapping code in ROM to resume the system from it. + * + * @note This state is correlated with ACPI S3 state + */ + PM_STATE_SUSPEND_TO_RAM, + /** + * @brief Suspend to disk state + * + * This state offers significant energy savings by powering off as much + * of the system as possible, including the memory. The contents of + * memory are written to disk or other non-volatile storage, and on + * resume it's read back into memory with the help of boot-strapping + * code, restores the system to the same point of execution where it + * went to suspend to disk. + * + * @note This state is correlated with ACPI S4 state + */ + PM_STATE_SUSPEND_TO_DISK, + /** + * @brief Soft off state + * + * This state consumes a minimal amount of power and requires a large + * latency in order to return to runtime active state. The contents of + * system(CPU and memory) will not be preserved, so the system will be + * restarted as if from initial power-up and kernel boot. + * + * @note This state is correlated with ACPI G2/S5 state + */ + PM_STATE_SOFT_OFF, + /** Number of power management states (internal use) */ + PM_STATE_COUNT, +}; + +/** + * Information about a power management state + */ +struct pm_state_info { + enum pm_state state; + + /** + * Some platforms have multiple states that map to + * one Zephyr power state. This property allows the platform + * distinguish them. e.g: + * + * @code{.dts} + * power-states { + * state0: state0 { + * compatible = "zephyr,power-state"; + * power-state-name = "suspend-to-idle"; + * substate-id = <1>; + * min-residency-us = <10000>; + * exit-latency-us = <100>; + * }; + * state1: state1 { + * compatible = "zephyr,power-state"; + * power-state-name = "suspend-to-idle"; + * substate-id = <2>; + * min-residency-us = <20000>; + * exit-latency-us = <200>; + * zephyr,pm-device-disabled; + * }; + * }; + * @endcode + */ + uint8_t substate_id; + + /** + * Whether or not this state triggers device power management. + * + * When this property is false the power management subsystem + * will suspend devices before entering this state and will + * properly resume them when leaving it. + */ + bool pm_device_disabled; + + /** + * Minimum residency duration in microseconds. It is the minimum + * time for a given idle state to be worthwhile energywise. + * + * @note 0 means that this property is not available for this state. + */ + uint32_t min_residency_us; + + /** + * Worst case latency in microseconds required to exit the idle state. + * + * @note 0 means that this property is not available for this state. + */ + uint32_t exit_latency_us; +}; + +/** + * Power state information needed to lock a power state. + */ +struct pm_state_constraint { + /** + * Power management state + * + * @see pm_state + **/ + enum pm_state state; + /** + * Power management sub-state + * + * @see pm_state + **/ + uint8_t substate_id; +}; + +/** @cond INTERNAL_HIDDEN */ + +/** + * @brief Helper macro that expands to 1 if a phandle node is enabled, 0 otherwise. + * + * @param node_id Node identifier. + * @param prop Property holding phandle-array. + * @param idx Index within the array. + */ + + + + +/** + * @brief Helper macro to initialize an entry of a struct pm_state_info array + * when using UTIL_LISTIFY in PM_STATE_INFO_LIST_FROM_DT_CPU. + * + * @note Only enabled states are initialized. + * + * @param i UTIL_LISTIFY entry index. + * @param node_id A node identifier with compatible zephyr,power-state + */ + + + + +/** + * @brief Helper macro to initialize an entry of a struct pm_state array when + * using UTIL_LISTIFY in PM_STATE_LIST_FROM_DT_CPU. + * + * @note Only enabled states are initialized. + * + * @param i UTIL_LISTIFY entry index. + * @param node_id A node identifier with compatible zephyr,power-state + */ + + + + +/** @endcond */ + +/** + * @brief Initializer for struct pm_state_info given a DT node identifier with + * zephyr,power-state compatible. + * + * @param node_id A node identifier with compatible zephyr,power-state + */ +# 243 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/pm/state.h" +/** + * @brief Initializer for enum pm_state given a DT node identifier with + * zephyr,power-state compatible. + * + * @param node_id A node identifier with compatible zephyr,power-state + */ + + + +/** + * @brief Obtain number of CPU power states supported and enabled by the given + * CPU node identifier. + * + * @param node_id A CPU node identifier. + * @return Number of supported and enabled CPU power states. + */ + + + + + +/** + * @brief Initialize an array of struct pm_state_info with information from all + * the states present and enabled in the given CPU node identifier. + * + * Example devicetree fragment: + * + * @code{.dts} + * cpus { + * ... + * cpu0: cpu@0 { + * device_type = "cpu"; + * ... + * cpu-power-states = <&state0 &state1>; + * }; + * + * power-states { + * state0: state0 { + * compatible = "zephyr,power-state"; + * power-state-name = "suspend-to-idle"; + * min-residency-us = <10000>; + * exit-latency-us = <100>; + * }; + * + * state1: state1 { + * compatible = "zephyr,power-state"; + * power-state-name = "suspend-to-ram"; + * min-residency-us = <50000>; + * exit-latency-us = <500>; + * zephyr,pm-device-disabled; + * }; + * }; + * }; + + * @endcode + * + * Example usage: + * + * @code{.c} + * const struct pm_state_info states[] = + * PM_STATE_INFO_LIST_FROM_DT_CPU(DT_NODELABEL(cpu0)); + * @endcode + * + * @param node_id A CPU node identifier. + */ + + + + + + +/** + * @brief Initialize an array of struct pm_state with information from all the + * states present and enabled in the given CPU node identifier. + * + * Example devicetree fragment: + * + * @code{.dts} + * cpus { + * ... + * cpu0: cpu@0 { + * device_type = "cpu"; + * ... + * cpu-power-states = <&state0 &state1>; + * }; + * + * power-states { + * state0: state0 { + * compatible = "zephyr,power-state"; + * power-state-name = "suspend-to-idle"; + * min-residency-us = <10000>; + * exit-latency-us = <100>; + * }; + * + * state1: state1 { + * compatible = "zephyr,power-state"; + * power-state-name = "suspend-to-ram"; + * min-residency-us = <50000>; + * exit-latency-us = <500>; + * }; + * }; + * }; + * @endcode + * + * Example usage: + * + * @code{.c} + * const enum pm_state states[] = PM_STATE_LIST_FROM_DT_CPU(DT_NODELABEL(cpu0)); + * @endcode + * + * @param node_id A CPU node identifier. + */ +# 379 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/pm/state.h" +static inline uint8_t pm_state_cpu_get_all(uint8_t cpu, const struct pm_state_info **states) +{ + (void)(cpu); + (void)(states); + + return 0; +} + + + + +} +# 16 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/device.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/device_mmio.h" 1 +/* + * Copyright (c) 2020 Intel Corporation. + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain.h" 1 +/* + * Copyright (c) 2010-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Macros to abstract toolchain specific capabilities + * + * This file contains various macros to abstract compiler capabilities that + * utilize toolchain specific attributes and/or pragmas. + */ +# 10 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/device_mmio.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/linker/sections.h" 1 +/* + * Copyright (c) 2013-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Definitions of various linker Sections. + * + * Linker Section declarations used by linker script, C files and Assembly + * files. + */ +# 11 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/device_mmio.h" 2 + +/** + * @defgroup device-mmio Device memory-mapped IO management + * @ingroup device_model + * + * Definitions and helper macros for managing driver memory-mapped + * input/output (MMIO) regions appropriately in either RAM or ROM. + * + * In most cases drivers will just want to include device.h, but + * including this separately may be needed for arch-level driver code + * which uses the DEVICE_MMIO_TOPLEVEL variants and including the + * main device.h would introduce header dependency loops due to that + * header's reliance on kernel.h. + * + * @{ + */ + +/* Storing MMIO addresses in RAM is a system-wide decision based on + * configuration. This is just used to simplify some other definitions. + * + * If we have an MMU enabled, all physical MMIO regions must be mapped into + * the kernel's virtual address space at runtime, this is a hard requirement. + * + * If we have PCIE enabled, this does mean that non-PCIE drivers may waste + * a bit of RAM, but systems with PCI express are not RAM constrained. + */ +# 46 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/device_mmio.h" +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ +# 47 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/device_mmio.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 1 3 4 +/* Copyright (C) 1989-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.17 Common definitions + */ +# 48 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/device_mmio.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/mm.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/mm.h" +/* + * Copyright (c) 2020 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util.h" 1 +/* + * Copyright (c) 2011-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Misc utilities + * + * Misc utilities usable by the kernel and application code. + */ +# 11 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/mm.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain.h" 1 +/* + * Copyright (c) 2010-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Macros to abstract toolchain specific capabilities + * + * This file contains various macros to abstract compiler capabilities that + * utilize toolchain specific attributes and/or pragmas. + */ +# 12 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/mm.h" 2 + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/internal/mm.h" 1 +/* + * Copyright (c) 2020 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util.h" 1 +/* + * Copyright (c) 2011-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Misc utilities + * + * Misc utilities usable by the kernel and application code. + */ +# 11 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/internal/mm.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain.h" 1 +/* + * Copyright (c) 2010-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Macros to abstract toolchain specific capabilities + * + * This file contains various macros to abstract compiler capabilities that + * utilize toolchain specific attributes and/or pragmas. + */ +# 12 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/internal/mm.h" 2 + +/** + * @defgroup kernel_mm_internal_apis Kernel Memory Management Internal APIs + * @ingroup internal_api + * @{ + */ + +/** + * @def K_MEM_VIRT_OFFSET + * @brief Address offset of permanent virtual mapping from physical address. + * + * This is the offset to subtract from a virtual address mapped in the + * kernel's permanent mapping of RAM, to obtain its physical address. + * + * virt_addr = phys_addr + K_MEM_VIRT_OFFSET + * + * This only works for virtual addresses within the interval + * [CONFIG_KERNEL_VM_BASE, CONFIG_KERNEL_VM_BASE + (CONFIG_SRAM_SIZE * 1024)). + * + * These macros are intended for assembly, linker code, and static initializers. + * Use with care. + * + * Note that when demand paging is active, these will only work with page + * frames that are pinned to their virtual mapping at boot. + * + * TODO: This will likely need to move to an arch API or need additional + * constraints defined. + */ + + + + + + + +/** + * @brief Get physical address from virtual address. + * + * This only works in the kernel's permanent mapping of RAM. + * + * @param virt Virtual address + * + * @return Physical address. + */ + + +/** + * @brief Get virtual address from physical address. + * + * This only works in the kernel's permanent mapping of RAM. + * + * @param phys Physical address + * + * @return Virtual address. + */ +# 80 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/internal/mm.h" +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ +# 81 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/internal/mm.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 1 3 4 +/* Copyright (C) 1989-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.17 Common definitions + */ +# 82 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/internal/mm.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/inttypes.h" 1 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ + +/** + * @file inttypes.h + */ +# 83 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/internal/mm.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/__assert.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/__assert.h" +/* + * Copyright (c) 2011-2014 Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 84 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/internal/mm.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mem_manage.h" 1 +/* + * Copyright (c) 2020 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + +/** + * @brief Memory Management + * @defgroup memory_management Memory Management + * @ingroup os_services + * @{ + */ + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdbool.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdbool.h" 3 4 +/* Copyright (C) 1998-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.16 Boolean type and values + */ +# 19 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mem_manage.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 1 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ +# 20 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mem_manage.h" 2 + + +# 21 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mem_manage.h" +/** + * @brief Check if a physical address is within range of physical memory. + * + * This checks if the physical address (@p virt) is within + * permissible range, e.g. between + * :kconfig:option:`CONFIG_SRAM_BASE_ADDRESS` and + * (:kconfig:option:`CONFIG_SRAM_BASE_ADDRESS` + + * :kconfig:option:`CONFIG_SRAM_SIZE`). + * + * @note Only used if + * :kconfig:option:`CONFIG_KERNEL_VM_USE_CUSTOM_MEM_RANGE_CHECK` + * is enabled. + * + * @param phys Physical address to be checked. + * + * @return True if physical address is within range, false if not. + */ +bool sys_mm_is_phys_addr_in_range(uintptr_t phys); + +/** + * @brief Check if a virtual address is within range of virtual memory. + * + * This checks if the virtual address (@p virt) is within + * permissible range, e.g. between + * :kconfig:option:`CONFIG_KERNEL_VM_BASE` and + * (:kconfig:option:`CONFIG_KERNEL_VM_BASE` + + * :kconfig:option:`CONFIG_KERNEL_VM_SIZE`). + * + * @note Only used if + * :kconfig:option:`CONFIG_KERNEL_VM_USE_CUSTOM_MEM_RANGE_CHECK` + * is enabled. + * + * @param virt Virtual address to be checked. + * + * @return True if virtual address is within range, false if not. + */ +bool sys_mm_is_virt_addr_in_range(void *virt); + +/** @} */ +# 85 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/internal/mm.h" 2 + +/** + * @brief Get physical address from virtual address. + * + * This only works in the kernel's permanent mapping of RAM. + * + * Just like K_MEM_PHYS_ADDR() but with type safety and assertions. + * + * @param virt Virtual address + * + * @return Physical address. + */ +static inline uintptr_t k_mem_phys_addr(void *virt) +{ + uintptr_t addr = (uintptr_t)virt; +# 117 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/internal/mm.h" + /* Should be identity-mapped */ + { } +# 129 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/internal/mm.h" + ; + + + /* TODO add assertion that this page is pinned to boot mapping, + * the above checks won't be sufficient with demand paging + */ + + return ((addr) - 0); +} + +/** + * @brief Get virtual address from physical address. + * + * This only works in the kernel's permanent mapping of RAM. + * + * Just like K_MEM_VIRT_ADDR() but with type safety and assertions. + * + * @param phys Physical address + * + * @return Virtual address. + */ +static inline void *k_mem_virt_addr(uintptr_t phys) +{ + + + + + { } +# 166 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/internal/mm.h" + ; + + + /* TODO add assertion that this page frame is pinned to boot mapping, + * the above check won't be sufficient with demand paging + */ + + return (void *)((phys) + 0); +} + + +extern "C" { + + +/** + * Map a physical memory region into the kernel's virtual address space + * + * This function is intended for mapping memory-mapped I/O regions into + * the virtual address space. Given a physical address and a size, return a + * linear address representing the base of where the physical region is mapped + * in the virtual address space for the Zephyr kernel. + * + * The memory mapped via this function must be unmapped using + * k_mem_unmap_phys_bare(). + * + * This function alters the active page tables in the area reserved + * for the kernel. This function will choose the virtual address + * and return it to the caller. + * + * Portable code should never assume that phys_addr and linear_addr will + * be equal. + * + * Caching and access properties are controlled by the 'flags' parameter. + * Unused bits in 'flags' are reserved for future expansion. + * A caching mode must be selected. By default, the region is read-only + * with user access and code execution forbidden. This policy is changed + * by passing K_MEM_CACHE_* and K_MEM_PERM_* macros into the 'flags' parameter. + * + * If there is insufficient virtual address space for the mapping this will + * generate a kernel panic. + * + * This API is only available if CONFIG_MMU is enabled. + * + * It is highly discouraged to use this function to map system RAM page + * frames. It may conflict with anonymous memory mappings and demand paging + * and produce undefined behavior. Do not use this for RAM unless you know + * exactly what you are doing. If you need a chunk of memory, use k_mem_map(). + * If you need a contiguous buffer of physical memory, statically declare it + * and pin it at build time, it will be mapped when the system boots. + * + * This API is part of infrastructure still under development and may + * change. + * + * @param[out] virt_ptr Output virtual address storage location + * @param[in] phys Physical address base of the memory region + * @param[in] size Size of the memory region + * @param[in] flags Caching mode and access flags, see K_MAP_* macros + */ +void k_mem_map_phys_bare(uint8_t **virt_ptr, uintptr_t phys, size_t size, + uint32_t flags); + +/** + * Unmap a virtual memory region from kernel's virtual address space. + * + * This function is intended to be used by drivers and early boot routines + * where temporary memory mappings need to be made. This allows these + * memory mappings to be discarded once they are no longer needed. + * + * This function alters the active page tables in the area reserved + * for the kernel. + * + * This will align the input parameters to page boundaries so that + * this can be used with the virtual address as returned by + * k_mem_map_phys_bare(). + * + * This API is only available if CONFIG_MMU is enabled. + * + * It is highly discouraged to use this function to unmap memory mappings. + * It may conflict with anonymous memory mappings and demand paging and + * produce undefined behavior. Do not use this unless you know exactly + * what you are doing. + * + * This API is part of infrastructure still under development and may + * change. + * + * @param virt Starting address of the virtual address region to be unmapped. + * @param size Size of the virtual address region + */ +void k_mem_unmap_phys_bare(uint8_t *virt, size_t size); + +/** + * Map memory into virtual address space with guard pages. + * + * This maps memory into virtual address space with a preceding and + * a succeeding guard pages. The memory mapped via this function must be + * unmapped using k_mem_unmap_phys_guard(). + * + * This function maps a contiguous physical memory region into kernel's + * virtual address space with a preceding and a succeeding guard pages. + * Given a physical address and a size, return a linear address representing + * the base of where the physical region is mapped in the virtual address + * space for the Zephyr kernel. + * + * This function alters the active page tables in the area reserved + * for the kernel. This function will choose the virtual address + * and return it to the caller. + * + * If user thread access control needs to be managed in any way, do not enable + * K_MEM_PERM_USER flags here; instead manage the region's permissions + * with memory domain APIs after the mapping has been established. Setting + * K_MEM_PERM_USER here will allow all user threads to access this memory + * which is usually undesirable. + * + * Unless K_MEM_MAP_UNINIT is used, the returned memory will be zeroed. + * + * The returned virtual memory pointer will be page-aligned. The size + * parameter, and any base address for re-mapping purposes must be page- + * aligned. + * + * Note that the allocation includes two guard pages immediately before + * and after the requested region. The total size of the allocation will be + * the requested size plus the size of these two guard pages. + * + * Many K_MEM_MAP_* flags have been implemented to alter the behavior of this + * function, with details in the documentation for these flags. + * + * @see k_mem_map() for additional information if called via that. + * + * @param phys Physical address base of the memory region if not requesting + * anonymous memory. Must be page-aligned. + * @param size Size of the memory mapping. This must be page-aligned. + * @param flags K_MEM_PERM_*, K_MEM_MAP_* control flags. + * @param is_anon True is requesting mapping with anonymous memory. + * + * @return The mapped memory location, or NULL if insufficient virtual address + * space, insufficient physical memory to establish the mapping, + * or insufficient memory for paging structures. + */ +void *k_mem_map_phys_guard(uintptr_t phys, size_t size, uint32_t flags, bool is_anon); + +/** + * Un-map memory mapped via k_mem_map_phys_guard(). + * + * This removes the memory mappings for the provided page-aligned region, + * and the two guard pages surrounding the region. + * + * This function alters the active page tables in the area reserved + * for the kernel. + * + * @see k_mem_unmap() for additional information if called via that. + * + * @note Calling this function on a region which was not mapped via + * k_mem_map_phys_guard() to begin with is undefined behavior. + * + * @param addr Page-aligned memory region base virtual address + * @param size Page-aligned memory region size + * @param is_anon True if the mapped memory is from anonymous memory. + */ +void k_mem_unmap_phys_guard(void *addr, size_t size, bool is_anon); + + +} + + +/** @} */ +# 17 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/mm.h" 2 + +/** + * @brief Kernel Memory Management + * @defgroup kernel_memory_management Kernel Memory Management + * @ingroup kernel_apis + * @{ + */ + +/** + * @name Caching mode definitions. + * + * These are mutually exclusive. + * + * @{ + */ + +/** No caching. Most drivers want this. */ + + +/** Write-through caching. Used by certain drivers. */ + + +/** Full write-back caching. Any RAM mapped wants this. */ + + +/* + * ARM64 Specific flags are defined in arch/arm64/arm_mem.h, + * pay attention to be not conflicted when updating these flags. + */ + +/** Reserved bits for cache modes in k_map() flags argument */ + + +/** @} */ + +/** + * @name Region permission attributes. + * + * Default is read-only, no user, no exec + * + * @{ + */ + +/** Region will have read/write access (and not read-only) */ + + +/** Region will be executable (normally forbidden) */ + + +/** Region will be accessible to user mode (normally supervisor-only) */ + + +/** @} */ + +/** + * @name Region mapping behaviour attributes + * + * @{ + */ + +/** Region will be mapped to 1:1 virtual and physical address */ + + +/** @} */ + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ +# 84 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/mm.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 1 3 4 +/* Copyright (C) 1989-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.17 Common definitions + */ +# 85 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/mm.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/inttypes.h" 1 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ + +/** + * @file inttypes.h + */ +# 86 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/mm.h" 2 + + + +# 88 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/mm.h" +extern "C" { + + +/** + * @name k_mem_map() control flags + * + * @{ + */ + +/** + * @brief The mapped region is not guaranteed to be zeroed. + * + * This may improve performance. The associated page frames may contain + * indeterminate data, zeroes, or even sensitive information. + * + * This may not be used with K_MEM_PERM_USER as there are no circumstances + * where this is safe. + */ + + +/** + * Region will be pinned in memory and never paged + * + * Such memory is guaranteed to never produce a page fault due to page-outs + * or copy-on-write once the mapping call has returned. Physical page frames + * will be pre-fetched as necessary and pinned. + */ + + +/** + * Region will be unpaged i.e. not mapped into memory + * + * This is meant to be used by kernel code and not by application code. + * + * Corresponding memory address range will be set so no actual memory will + * be allocated initially. Allocation will happen through demand paging when + * addresses in that range are accessed. This is incompatible with + * K_MEM_MAP_LOCK. + * + * When this flag is specified, the phys argument to arch_mem_map() + * is interpreted as a backing store location value not a physical address. + * This is very similar to arch_mem_page_out() in that regard. + * Two special location values are defined: ARCH_UNPAGED_ANON_ZERO and + * ARCH_UNPAGED_ANON_UNINIT. Those are to be used with anonymous memory + * mappings for zeroed and uninitialized pages respectively. + */ + + +/** @} */ + +/** + * Return the amount of free memory available + * + * The returned value will reflect how many free RAM page frames are available. + * If demand paging is enabled, it may still be possible to allocate more. + * + * The information reported by this function may go stale immediately if + * concurrent memory mappings or page-ins take place. + * + * @return Free physical RAM, in bytes + */ +size_t k_mem_free_get(void); + +/** + * Map anonymous memory into Zephyr's address space + * + * This function effectively increases the data space available to Zephyr. + * The kernel will choose a base virtual address and return it to the caller. + * The memory will have access permissions for all contexts set per the + * provided flags argument. + * + * If user thread access control needs to be managed in any way, do not enable + * K_MEM_PERM_USER flags here; instead manage the region's permissions + * with memory domain APIs after the mapping has been established. Setting + * K_MEM_PERM_USER here will allow all user threads to access this memory + * which is usually undesirable. + * + * Unless K_MEM_MAP_UNINIT is used, the returned memory will be zeroed. + * + * The mapped region is not guaranteed to be physically contiguous in memory. + * Physically contiguous buffers should be allocated statically and pinned + * at build time. + * + * Pages mapped in this way have write-back cache settings. + * + * The returned virtual memory pointer will be page-aligned. The size + * parameter, and any base address for re-mapping purposes must be page- + * aligned. + * + * Note that the allocation includes two guard pages immediately before + * and after the requested region. The total size of the allocation will be + * the requested size plus the size of these two guard pages. + * + * Many K_MEM_MAP_* flags have been implemented to alter the behavior of this + * function, with details in the documentation for these flags. + * + * @param size Size of the memory mapping. This must be page-aligned. + * @param flags K_MEM_PERM_*, K_MEM_MAP_* control flags. + * @return The mapped memory location, or NULL if insufficient virtual address + * space, insufficient physical memory to establish the mapping, + * or insufficient memory for paging structures. + */ +static inline void *k_mem_map(size_t size, uint32_t flags) +{ + return k_mem_map_phys_guard((uintptr_t) +# 192 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/mm.h" 3 4 + __null +# 192 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/mm.h" + , size, flags, true); +} +# 243 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/mm.h" +/** + * Un-map mapped memory + * + * This removes a memory mapping for the provided page-aligned region. + * Associated page frames will be free and the kernel may re-use the associated + * virtual address region. Any paged out data pages may be discarded. + * + * Calling this function on a region which was not mapped to begin with is + * undefined behavior. + * + * @param addr Page-aligned memory region base virtual address + * @param size Page-aligned memory region size + */ +static inline void k_mem_unmap(void *addr, size_t size) +{ + k_mem_unmap_phys_guard(addr, size, true); +} + +/** + * Modify memory mapping attribute flags + * + * This updates caching, access and control flags for the provided + * page-aligned memory region. + * + * Calling this function on a region which was not mapped to begin with is + * undefined behavior. However system memory implicitly mapped at boot time + * is supported. + * + * @param addr Page-aligned memory region base virtual address + * @param size Page-aligned memory region size + * @param flags K_MEM_PERM_*, K_MEM_MAP_* control flags. + * @return 0 for success, negative error code otherwise. + */ +int k_mem_update_flags(void *addr, size_t size, uint32_t flags); + +/** + * Given an arbitrary region, provide a aligned region that covers it + * + * The returned region will have both its base address and size aligned + * to the provided alignment value. + * + * @param[out] aligned_addr Aligned address + * @param[out] aligned_size Aligned region size + * @param[in] addr Region base address + * @param[in] size Region size + * @param[in] align What to align the address and size to + * @retval offset between aligned_addr and addr + */ +size_t k_mem_region_align(uintptr_t *aligned_addr, size_t *aligned_size, + uintptr_t addr, size_t size, size_t align); + + +} + + +/** @} */ +# 49 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/device_mmio.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sys_io.h" 1 +/* Port and memory mapped registers I/O operations */ + +/* + * Copyright (c) 2015 Intel Corporation. + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/types.h" 1 +/* + * Copyright (c) 2017 Linaro Limited + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 13 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sys_io.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* Copyright (C) 1989-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.17 Common definitions + */ +# 14 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sys_io.h" 2 + + + +# 16 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sys_io.h" +extern "C" { + + +typedef uint32_t io_port_t; +typedef uintptr_t mm_reg_t; +typedef uintptr_t mem_addr_t; + +/* Port I/O functions */ + +/** + * @fn static inline void sys_out8(uint8_t data, io_port_t port); + * @brief Output a byte to an I/O port + * + * This function writes a byte to the given port. + * + * @param data the byte to write + * @param port the port address where to write the byte + */ + +/** + * @fn static inline uint8_t sys_in8(io_port_t port); + * @brief Input a byte from an I/O port + * + * This function reads a byte from the port. + * + * @param port the port address from where to read the byte + * + * @return the byte read + */ + +/** + * @fn static inline void sys_out16(uint16_t data, io_port_t port); + * @brief Output a 16 bits to an I/O port + * + * This function writes a 16 bits to the given port. + * + * @param data the 16 bits to write + * @param port the port address where to write the 16 bits + */ + +/** + * @fn static inline uint16_t sys_in16(io_port_t port); + * @brief Input 16 bits from an I/O port + * + * This function reads 16 bits from the port. + * + * @param port the port address from where to read the 16 bits + * + * @return the 16 bits read + */ + +/** + * @fn static inline void sys_out32(uint32_t data, io_port_t port); + * @brief Output 32 bits to an I/O port + * + * This function writes 32 bits to the given port. + * + * @param data the 32 bits to write + * @param port the port address where to write the 32 bits + */ + +/** + * @fn static inline uint32_t sys_in32(io_port_t port); + * @brief Input 32 bits from an I/O port + * + * This function reads 32 bits from the port. + * + * @param port the port address from where to read the 32 bits + * + * @return the 32 bits read + */ + +/** + * @fn static inline void sys_io_set_bit(io_port_t port, unsigned int bit) + * @brief Set the designated bit from port to 1 + * + * This functions takes the designated bit starting from port and sets it to 1. + * + * @param port the port address from where to look for the bit + * @param bit the designated bit to set (from 0 to n) + */ + +/** + * @fn static inline void sys_io_clear_bit(io_port_t port, unsigned int bit) + * @brief Clear the designated bit from port to 0 + * + * This functions takes the designated bit starting from port and sets it to 0. + * + * @param port the port address from where to look for the bit + * @param bit the designated bit to clear (from 0 to n) + */ + +/** + * @fn static inline int sys_io_test_bit(io_port_t port, unsigned int bit) + * @brief Test the bit from port if it is set or not + * + * This functions takes the designated bit starting from port and tests its + * current setting. It will return the current setting. + * + * @param port the port address from where to look for the bit + * @param bit the designated bit to test (from 0 to n) + * + * @return 1 if it is set, 0 otherwise + */ + +/** + * @fn static inline int sys_io_test_and_set_bit(io_port_t port, unsigned int bit) + * @brief Test the bit from port and set it + * + * This functions takes the designated bit starting from port, tests its + * current setting and sets it. It will return the previous setting. + * + * @param port the port address from where to look for the bit + * @param bit the designated bit to test and set (from 0 to n) + * + * @return 1 if it was set, 0 otherwise + */ + +/** + * @fn static inline int sys_io_test_and_clear_bit(io_port_t port, unsigned int bit) + * @brief Test the bit from port and clear it + * + * This functions takes the designated bit starting from port, tests its + * current setting and clears it. It will return the previous setting. + * + * @param port the port address from where to look for the bit + * @param bit the designated bit to test and clear (from 0 to n) + * + * @return 0 if it was clear, 1 otherwise + */ + +/* Memory mapped registers I/O functions */ + +/** + * @fn static inline void sys_write8(uint8_t data, mm_reg_t addr); + * @brief Write a byte to a memory mapped register + * + * This function writes a byte to the given memory mapped register. + * + * @param data the byte to write + * @param addr the memory mapped register address where to write the byte + */ + +/** + * @fn static inline uint8_t sys_read8(mm_reg_t addr); + * @brief Read a byte from a memory mapped register + * + * This function reads a byte from the given memory mapped register. + * + * @param addr the memory mapped register address from where to read the byte + * + * @return the byte read + */ + +/** + * @fn static inline void sys_write16(uint16_t data, mm_reg_t addr); + * @brief Write 16 bits to a memory mapped register + * + * This function writes 16 bits to the given memory mapped register. + * + * @param data the 16 bits to write + * @param addr the memory mapped register address where to write the 16 bits + */ + +/** + * @fn static inline uint16_t sys_read16(mm_reg_t addr); + * @brief Read 16 bits from a memory mapped register + * + * This function reads 16 bits from the given memory mapped register. + * + * @param addr the memory mapped register address from where to read + * the 16 bits + * + * @return the 16 bits read + */ + +/** + * @fn static inline void sys_write32(uint32_t data, mm_reg_t addr); + * @brief Write 32 bits to a memory mapped register + * + * This function writes 32 bits to the given memory mapped register. + * + * @param data the 32 bits to write + * @param addr the memory mapped register address where to write the 32 bits + */ + +/** + * @fn static inline uint32_t sys_read32(mm_reg_t addr); + * @brief Read 32 bits from a memory mapped register + * + * This function reads 32 bits from the given memory mapped register. + * + * @param addr the memory mapped register address from where to read + * the 32 bits + * + * @return the 32 bits read + */ + +/** + * @fn static inline void sys_write64(uint64_t data, mm_reg_t addr); + * @brief Write 64 bits to a memory mapped register + * + * This function writes 64 bits to the given memory mapped register. + * + * @param data the 64 bits to write + * @param addr the memory mapped register address where to write the 64 bits + */ + +/** + * @fn static inline uint64_t sys_read64(mm_reg_t addr); + * @brief Read 64 bits from a memory mapped register + * + * This function reads 64 bits from the given memory mapped register. + * + * @param addr the memory mapped register address from where to read + * the 64 bits + * + * @return the 64 bits read + */ + +/* Memory bits manipulation functions */ + +/** + * @fn static inline void sys_set_bit(mem_addr_t addr, unsigned int bit) + * @brief Set the designated bit from addr to 1 + * + * This functions takes the designated bit starting from addr and sets it to 1. + * + * @param addr the memory address from where to look for the bit + * @param bit the designated bit to set (from 0 to 31) + */ + +/** + * @fn static inline void sys_set_bits(mem_addr_t addr, unsigned int mask) + * @brief Masking the designated bits from addr to 1 + * + * This functions masking designated bits from addr to 1. + * + * @param addr the memory address from where to look for the bits + * @param mask the bit mask of a 32 bits data to set + */ + +/** + * @fn static inline void sys_clear_bits(mem_addr_t addr, unsigned int mask) + * @brief Masking the designated bits from addr to 0 + * + * This functions masking designated bits from addr to 0. + * + * @param addr the memory address from where to look for the bits + * @param mask the bit mask of a 32 bits data to set + */ + +/** + * @fn static inline void sys_clear_bit(mem_addr_t addr, unsigned int bit) + * @brief Clear the designated bit from addr to 0 + * + * This functions takes the designated bit starting from addr and sets it to 0. + * + * @param addr the memory address from where to look for the bit + * @param bit the designated bit to clear (from 0 to 31) + */ + +/** + * @fn static inline int sys_test_bit(mem_addr_t addr, unsigned int bit) + * @brief Test the bit if it is set or not + * + * This functions takes the designated bit starting from addr and tests its + * current setting. It will return the current setting. + * + * @param addr the memory address from where to look for the bit + * @param bit the designated bit to test (from 0 to 31) + * + * @return 1 if it is set, 0 otherwise + */ + +/** + * @fn static inline int sys_test_and_set_bit(mem_addr_t addr, unsigned int bit) + * @brief Test the bit and set it + * + * This functions takes the designated bit starting from addr, tests its + * current setting and sets it. It will return the previous setting. + * + * @param addr the memory address from where to look for the bit + * @param bit the designated bit to test and set (from 0 to 31) + * + * @return 1 if it was set, 0 otherwise + */ + +/** + * @fn static inline int sys_test_and_clear_bit(mem_addr_t addr, unsigned int bit) + * @brief Test the bit and clear it + * + * This functions takes the designated bit starting from addr, test its + * current setting and clears it. It will return the previous setting. + * + * @param addr the memory address from where to look for the bit + * @param bit the designated bit to test and clear (from 0 to 31) + * + * @return 0 if it was clear, 1 otherwise + */ + +/** + * @fn static inline void sys_bitfield_set_bit(mem_addr_t addr, unsigned int bit) + * @brief Set the designated bit from addr to 1 + * + * This functions takes the designated bit starting from addr and sets it to 1. + * + * @param addr the memory address from where to look for the bit + * @param bit the designated bit to set (arbitrary) + */ + +/** + * @fn static inline void sys_bitfield_clear_bit(mem_addr_t addr, unsigned int bit) + * @brief Clear the designated bit from addr to 0 + * + * This functions takes the designated bit starting from addr and sets it to 0. + * + * @param addr the memory address from where to look for the bit + * @param bit the designated bit to clear (arbitrary) + */ + +/** + * @fn static inline int sys_bitfield_test_bit(mem_addr_t addr, unsigned int bit) + * @brief Test the bit if it is set or not + * + * This functions takes the designated bit starting from addr and tests its + * current setting. It will return the current setting. + * + * @param addr the memory address from where to look for the bit + * @param bit the designated bit to test (arbitrary + * + * @return 1 if it is set, 0 otherwise + */ + +/** + * @fn static inline int sys_bitfield_test_and_set_bit(mem_addr_t addr, unsigned int bit) + * @brief Test the bit and set it + * + * This functions takes the designated bit starting from addr, tests its + * current setting and sets it. It will return the previous setting. + * + * @param addr the memory address from where to look for the bit + * @param bit the designated bit to test and set (arbitrary) + * + * @return 1 if it was set, 0 otherwise + */ + +/** + * @fn static inline int sys_bitfield_test_and_clear_bit(mem_addr_t addr, unsigned int bit) + * @brief Test the bit and clear it + * + * This functions takes the designated bit starting from addr, test its + * current setting and clears it. It will return the previous setting. + * + * @param addr the memory address from where to look for the bit + * @param bit the designated bit to test and clear (arbitrary) + * + * @return 0 if it was clear, 1 otherwise + */ + + + +} +# 50 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/device_mmio.h" 2 +# 117 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/device_mmio.h" +/* No MMU or PCIe. Just store the address from DTS and treat as a linear + * address + */ +struct z_device_mmio_rom { + /** MMIO linear address */ + mm_reg_t addr; +}; +# 137 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/device_mmio.h" +/** @} */ + +/** + * @defgroup device-mmio-single Single MMIO region macros + * @ingroup device-mmio + * + * For drivers which need to manage just one MMIO region, the most common + * case. + * + * @{ + */ + +/** + * @def DEVICE_MMIO_RAM + * + * Declare storage for MMIO information within a device's dev_data struct. + * + * This gets accessed by the DEVICE_MMIO_MAP() and DEVICE_MMIO_GET() macros. + * + * Depending on configuration, no memory may be reserved at all. + * This must be the first member of the data struct. + * + * There must be a corresponding DEVICE_MMIO_ROM in config_info if the + * physical address is known at build time, but may be omitted if not (such + * as with PCIe) + * + * Example for a driver named "foo": + * + * @code{.c} + * + * struct foo_driver_data { + * DEVICE_MMIO_RAM; + * int wibble; + * ... + * } + * + * @endcode + * + * No build-time initialization of this memory is necessary; it + * will be set up in the init function by DEVICE_MMIO_MAP(). + * + * A pointer to this memory may be obtained with DEVICE_MMIO_RAM_PTR(). + */ +# 200 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/device_mmio.h" +/** + * @brief Declare storage for MMIO data within a device's config struct + * + * This gets accessed by DEVICE_MMIO_MAP() and DEVICE_MMIO_GET() macros. + * + * What gets stored here varies considerably by configuration. + * This must be the first member of the config struct. There must be + * a corresponding DEVICE_MMIO_RAM in data. + * + * This storage is not used if the device is PCIe and may be omitted. + * + * This should be initialized at build time with information from DTS + * using DEVICE_MMIO_ROM_INIT(). + * + * A pointer to this memory may be obtained with DEVICE_MMIO_ROM_PTR(). + * + * Example for a driver named "foo": + * + * @code{.c} + * + * struct foo_config { + * DEVICE_MMIO_ROM; + * int baz; + * ... + * } + * + * @endcode + * + * @see DEVICE_MMIO_ROM_INIT() + */ + + +/** + * Return a pointer to the ROM-based storage area for a device's MMIO + * information. This macro will not work properly if the ROM storage + * was omitted from the config struct declaration, and should not + * be used in this case. + * + * @param dev device instance object + * @retval struct device_mmio_rom * pointer to storage location + */ + + + +/** + * @brief Initialize a DEVICE_MMIO_ROM member + * + * Initialize MMIO-related information within a specific instance of + * a device config struct, using information from DTS. + * + * Example for a driver belonging to the "foo" subsystem: + * + * @code{.c} + * + * struct foo_config my_config = { + * DEVICE_MMIO_ROM_INIT(DT_DRV_INST(...)), + * .baz = 2; + * ... + * } + * + * @endcode + * + * @see DEVICE_MMIO_ROM() + * + * @param node_id DTS node_id + */ + + + +/** + * @def DEVICE_MMIO_MAP(device, flags) + * + * @brief Map MMIO memory into the address space + * + * This is not intended for PCIe devices; these must be probed at runtime + * and you will want to make a device_map() call directly, using + * DEVICE_MMIO_RAM_PTR() as the target virtual address location. + * + * The flags argument is currently used for caching mode, which should be + * one of the DEVICE_CACHE_* macros. Unused bits are reserved for future + * expansion. + * + * @param dev Device object instance + * @param flags cache mode flags + */ +# 295 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/device_mmio.h" +/** + * @def DEVICE_MMIO_GET(dev) + * + * @brief Obtain the MMIO address for a device + * + * For most microcontrollers MMIO addresses can be fixed values known at + * build time, and we can store this in device->config, residing in ROM. + * + * However, some devices can only know their MMIO addresses at runtime, + * because they need to be memory-mapped into the address space, enumerated + * from PCI, or both. + * + * This macro returns the linear address of the driver's MMIO region. + * This is for drivers which have exactly one MMIO region. + * A call must have been made to device_map() in the driver init function. + * + * @param dev Device object + * @return mm_reg_t linear address of the MMIO region + */ + + + + + +/** @} */ + +/** + * @defgroup device-mmio-named Named MMIO region macros + * @ingroup device-mmio + * + * For drivers which need to manage multiple MMIO regions, which will + * be referenced by name. + * + * @{ + */ + +/** + * @def DEVICE_MMIO_NAMED_RAM(name) + * + * @brief Declare storage for MMIO data within a device's dev_data struct + * + * This gets accessed by the DEVICE_MMIO_NAMED_MAP() and + * DEVICE_MMIO_NAMED_GET() macros. + * + * Depending on configuration, no memory may be reserved at all. + * Multiple named regions may be declared. + * + * There must be a corresponding DEVICE_MMIO_ROM in config if the + * physical address is known at build time, but may be omitted if not (such + * as with PCIe. + * + * Example for a driver named "foo": + * + * @code{.c} + * + * struct foo_driver_data { + * int blarg; + * DEVICE_MMIO_NAMED_RAM(corge); + * DEVICE_MMIO_NAMED_RAM(grault); + * int wibble; + * ... + * } + * + * @endcode + * + * No build-time initialization of this memory is necessary; it + * will be set up in the init function by DEVICE_MMIO_NAMED_MAP(). + * + * @param name Member name to use to store within dev_data. + */ +# 386 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/device_mmio.h" +/** + * @brief Declare storage for MMIO data within a device's config struct. + * + * This gets accessed by DEVICE_MMIO_NAMED_MAP() and + * DEVICE_MMIO_NAMED_GET() macros. + * + * What gets stored here varies considerably by configuration. Multiple named + * regions may be declared. There must be corresponding entries in the dev_data + * struct. + * + * This storage is not used if the device is PCIe and may be omitted. + * + * If used, this must be initialized at build time with information from DTS + * using DEVICE_MMIO_NAMED_ROM_INIT() + * + * A pointer to this memory may be obtained with DEVICE_MMIO_NAMED_ROM_PTR(). + * + * Example for a driver named "foo": + * + * @code{.c} + * + * struct foo_config { + * int bar; + * DEVICE_MMIO_NAMED_ROM(corge); + * DEVICE_MMIO_NAMED_ROM(grault); + * int baz; + * ... + * } + * + * @endcode + * + * @see DEVICE_MMIO_NAMED_ROM_INIT() + * + * @param name Member name to store within config + */ + + +/** + * Return a pointer to the ROM-based storage area for a device's MMIO + * information. + * + * This macro requires that the macro DEV_CFG is locally defined and returns + * a properly typed pointer to the particular config struct for this + * driver. + * + * @param dev device instance object + * @param name Member name within config + * @retval struct device_mmio_rom * pointer to storage location + */ + + +/** + * @brief Initialize a named DEVICE_MMIO_NAMED_ROM member + * + * Initialize MMIO-related information within a specific instance of + * a device config struct, using information from DTS. + * + * Example for an instance of a driver belonging to the "foo" subsystem + * that will have two regions named 'corge' and 'grault': + * + * @code{.c} + * + * struct foo_config my_config = { + * bar = 7; + * DEVICE_MMIO_NAMED_ROM_INIT(corge, DT_DRV_INST(...)); + * DEVICE_MMIO_NAMED_ROM_INIT(grault, DT_DRV_INST(...)); + * baz = 2; + * ... + * } + * + * @endcode + * + * @see DEVICE_MMIO_NAMED_ROM() + * + * @param name Member name within config for the MMIO region + * @param node_id DTS node identifier + */ + + + +/** + * @brief Initialize a named DEVICE_MMIO_NAMED_ROM member using a named DT + * reg property. + * + * Same as @ref DEVICE_MMIO_NAMED_ROM_INIT but the size and address are taken + * from a named DT reg property. + * + * Example for an instance of a driver belonging to the "foo" subsystem + * that will have two DT-defined regions named 'chip' and 'dale': + * + * @code{.dts} + * + * foo@E5000000 { + * reg = <0xE5000000 0x1000>, <0xE6000000 0x1000>; + * reg-names = "chip", "dale"; + * ... + * }; + * + * @endcode + * + * @code{.c} + * + * struct foo_config my_config = { + * bar = 7; + * DEVICE_MMIO_NAMED_ROM_INIT_BY_NAME(chip, DT_DRV_INST(...)); + * DEVICE_MMIO_NAMED_ROM_INIT_BY_NAME(dale, DT_DRV_INST(...)); + * baz = 2; + * ... + * } + * + * @endcode + * + * @see DEVICE_MMIO_NAMED_ROM_INIT() + * + * @param name Member name within config for the MMIO region and name of the + * reg property in the DT + * @param node_id DTS node identifier + */ + + + +/** + * @brief Set up memory for a named MMIO region + * + * This performs the necessary PCI probing and/or MMU virtual memory mapping + * such that DEVICE_MMIO_GET(name) returns a suitable linear memory address + * for the MMIO region. + * + * If such operations are not required by the target hardware, this expands + * to nothing. + * + * This should be called from the driver's init function, once for each + * MMIO region that needs to be mapped. + * + * This macro requires that the macros DEV_DATA and DEV_CFG are locally + * defined and return properly typed pointers to the particular dev_data + * and config structs for this driver. + * + * The flags argument is currently used for caching mode, which should be + * one of the DEVICE_CACHE_* macros. Unused bits are reserved for future + * expansion. + * + * @param dev Device object + * @param name Member name for MMIO information, as declared with + * DEVICE_MMIO_NAMED_RAM/DEVICE_MMIO_NAMED_ROM + * @param flags One of the DEVICE_CACHE_* caching modes + */ +# 543 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/device_mmio.h" +/** + * @def DEVICE_MMIO_NAMED_GET(dev, name) + * + * @brief Obtain a named MMIO address for a device + * + * This macro returns the MMIO base address for a named region from the + * appropriate place within the device object's linked data structures. + * + * This is for drivers which have multiple MMIO regions. + * + * This macro requires that the macros DEV_DATA and DEV_CFG are locally + * defined and return properly typed pointers to the particular dev_data + * and config structs for this driver. + * + * @see DEVICE_MMIO_GET + * + * @param dev Device object + * @param name Member name for MMIO information, as declared with + * DEVICE_MMIO_NAMED_RAM/DEVICE_MMIO_NAMED_ROM + * @return mm_reg_t linear address of the MMIO region + */ +# 572 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/device_mmio.h" +/** @} */ + +/** + * @defgroup device-mmio-toplevel Top-level MMIO region macros + * @ingroup device-mmio + * + * For drivers which do not use Zephyr's driver model and do not + * associate struct device with a driver instance. Top-level storage + * is used instead, with either global or static scope. + * + * This is often useful for interrupt controller and timer drivers. + * + * Currently PCIe devices are not well-supported with this set of macros. + * Either use Zephyr's driver model for these kinds of devices, or + * manage memory manually with calls to device_map(). + * + * @{ + */ + + + + +/** + * @def DEVICE_MMIO_TOPLEVEL(name, node_id) + * + * @brief Declare top-level storage for MMIO information, global scope + * + * This is intended for drivers which do not use Zephyr's driver model + * of config/dev_data linked to a struct device. + * + * Instead, this is a top-level declaration for the driver's C file. + * The scope of this declaration is global and may be referenced by + * other C files, using DEVICE_MMIO_TOPLEVEL_DECLARE. + * + * @param name Base symbol name + * @param node_id Device-tree node identifier for this region + */ +# 623 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/device_mmio.h" +/** + * @def DEVICE_MMIO_TOPLEVEL_DECLARE(name) + * + * Provide an extern reference to a top-level MMIO region + * + * If a top-level MMIO region defined with DEVICE_MMIO_DEFINE needs to be + * referenced from other C files, this macro provides the necessary extern + * definitions. + * + * @see DEVICE_MMIO_TOPLEVEL + * + * @param name Name of the top-level MMIO region + */ +# 646 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/device_mmio.h" +/** + * @def DEVICE_MMIO_TOPLEVEL_STATIC(name, node_id) + * + * @brief Declare top-level storage for MMIO information, static scope + * + * This is intended for drivers which do not use Zephyr's driver model + * of config/dev_data linked to a struct device. + * + * Instead, this is a top-level declaration for the driver's C file. + * The scope of this declaration is static. + * + * @param name Name of the top-level MMIO region + * @param node_id Device-tree node identifier for this region + */ +# 685 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/device_mmio.h" +/** + * Return a pointer to the ROM-based storage area for a toplevel MMIO region. + * + * @param name MMIO region name + * @retval struct device_mmio_rom * pointer to storage location + */ + + +/** + * @def DEVICE_MMIO_TOPLEVEL_MAP(name, flags) + * + * @brief Set up memory for a driver'sMMIO region + * + * This performs the necessary MMU virtual memory mapping + * such that DEVICE_MMIO_GET() returns a suitable linear memory address + * for the MMIO region. + * + * If such operations are not required by the target hardware, this expands + * to nothing. + * + * This should be called once from the driver's init function. + * + * The flags argument is currently used for caching mode, which should be + * one of the DEVICE_CACHE_* macros. Unused bits are reserved for future + * expansion. + * + * @param name Name of the top-level MMIO region + * @param flags One of the DEVICE_CACHE_* caching modes + */ +# 723 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/device_mmio.h" +/** + * @def DEVICE_MMIO_TOPLEVEL_GET(name) + * + * @brief Obtain the MMIO address for a device declared top-level + * + * @see DEVICE_MMIO_GET + * + * @param name Name of the top-level MMIO region + * @return mm_reg_t linear address of the MMIO region + */ + + + + + + + +/** @} */ +# 17 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/device.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/iterable_sections.h" 1 +/* + * Copyright (C) 2020, Intel Corporation + * Copyright (C) 2023, Nordic Semiconductor ASA + * SPDX-License-Identifier: Apache-2.0 + */ + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/__assert.h" 1 +/* + * Copyright (c) 2011-2014 Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 11 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/iterable_sections.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain.h" 1 +/* + * Copyright (c) 2010-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Macros to abstract toolchain specific capabilities + * + * This file contains various macros to abstract compiler capabilities that + * utilize toolchain specific attributes and/or pragmas. + */ +# 12 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/iterable_sections.h" 2 + + +extern "C" { + + +/** + * @brief Iterable Sections APIs + * @defgroup iterable_section_apis Iterable Sections APIs + * @ingroup os_services + * @{ + */ + +/** + * @brief Defines a new element for an iterable section for a generic type. + * + * @details + * Convenience helper combining __in_section() and Z_DECL_ALIGN(). + * The section name will be '.[SECNAME].static.[SECTION_POSTFIX]' + * + * In the linker script, create output sections for these using + * ITERABLE_SECTION_ROM() or ITERABLE_SECTION_RAM(). + * + * @note In order to store the element in ROM, a const specifier has to + * be added to the declaration: const TYPE_SECTION_ITERABLE(...); + * + * @param[in] type data type of variable + * @param[in] varname name of variable to place in section + * @param[in] secname type name of iterable section. + * @param[in] section_postfix postfix to use in section name + */ + + + + +/** + * @brief iterable section start symbol for a generic type + * + * will return '_[OUT_TYPE]_list_start'. + * + * @param[in] secname type name of iterable section. For 'struct foobar' this + * would be TYPE_SECTION_START(foobar) + * + */ + + +/** + * @brief iterable section end symbol for a generic type + * + * will return '__list_end'. + * + * @param[in] secname type name of iterable section. For 'struct foobar' this + * would be TYPE_SECTION_START(foobar) + */ + + +/** + * @brief iterable section extern for start symbol for a generic type + * + * Helper macro to give extern for start of iterable section. The macro + * typically will be called TYPE_SECTION_START_EXTERN(struct foobar, foobar). + * This allows the macro to hand different types as well as cases where the + * type and section name may differ. + * + * @param[in] type data type of section + * @param[in] secname name of output section + */ + + + +/** + * @brief iterable section extern for end symbol for a generic type + * + * Helper macro to give extern for end of iterable section. The macro + * typically will be called TYPE_SECTION_END_EXTERN(struct foobar, foobar). + * This allows the macro to hand different types as well as cases where the + * type and section name may differ. + * + * @param[in] type data type of section + * @param[in] secname name of output section + */ + + + +/** + * @brief Iterate over a specified iterable section for a generic type + * + * @details + * Iterator for structure instances gathered by TYPE_SECTION_ITERABLE(). + * The linker must provide a __list_start symbol and a + * __list_end symbol to mark the start and the end of the + * list of struct objects to iterate over. This is normally done using + * ITERABLE_SECTION_ROM() or ITERABLE_SECTION_RAM() in the linker script. + */ +# 115 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/iterable_sections.h" +/** + * @brief Get element from section for a generic type. + * + * @note There is no protection against reading beyond the section. + * + * @param[in] type type of element + * @param[in] secname name of output section + * @param[in] i Index. + * @param[out] dst Pointer to location where pointer to element is written. + */ + + + + + +/** + * @brief Count elements in a section for a generic type. + * + * @param[in] type type of element + * @param[in] secname name of output section + * @param[out] dst Pointer to location where result is written. + */ + + + + + + + +/** + * @brief iterable section start symbol for a struct type + * + * @param[in] struct_type data type of section + */ + + + +/** + * @brief iterable section extern for start symbol for a struct + * + * Helper macro to give extern for start of iterable section. + * + * @param[in] struct_type data type of section + */ + + + +/** + * @brief iterable section end symbol for a struct type + * + * @param[in] struct_type data type of section + */ + + + +/** + * @brief iterable section extern for end symbol for a struct + * + * Helper macro to give extern for end of iterable section. + * + * @param[in] struct_type data type of section + */ + + + +/** + * @brief Defines a new element of alternate data type for an iterable section. + * + * @details + * Special variant of STRUCT_SECTION_ITERABLE(), for placing alternate + * data types within the iterable section of a specific data type. The + * data type sizes and semantics must be equivalent! + */ + + + +/** + * @brief Defines an array of elements of alternate data type for an iterable + * section. + * + * @see STRUCT_SECTION_ITERABLE_ALTERNATE + */ + + + + + +/** + * @brief Defines a new element for an iterable section. + * + * @details + * Convenience helper combining __in_section() and Z_DECL_ALIGN(). + * The section name is the struct type prepended with an underscore. + * The subsection is "static" and the subsubsection is the variable name. + * + * In the linker script, create output sections for these using + * ITERABLE_SECTION_ROM() or ITERABLE_SECTION_RAM(). + * + * @note In order to store the element in ROM, a const specifier has to + * be added to the declaration: const STRUCT_SECTION_ITERABLE(...); + */ + + + +/** + * @brief Defines an array of elements for an iterable section. + * + * @see STRUCT_SECTION_ITERABLE + */ + + + + +/** + * @brief Defines a new element for an iterable section with a custom name. + * + * The name can be used to customize how iterable section entries are sorted. + * @see STRUCT_SECTION_ITERABLE() + */ + + + +/** + * @brief Defines a new element for an iterable section with a custom name, + * placed in a custom section. + * + * The name can be used to customize how iterable section entries are sorted. + * @see STRUCT_SECTION_ITERABLE_NAMED() + */ + + + +/** + * @brief Iterate over a specified iterable section (alternate). + * + * @details + * Iterator for structure instances gathered by STRUCT_SECTION_ITERABLE(). + * The linker must provide a __list_start symbol and a + * __list_end symbol to mark the start and the end of the + * list of struct objects to iterate over. This is normally done using + * ITERABLE_SECTION_ROM() or ITERABLE_SECTION_RAM() in the linker script. + */ + + + +/** + * @brief Iterate over a specified iterable section. + * + * @details + * Iterator for structure instances gathered by STRUCT_SECTION_ITERABLE(). + * The linker must provide a __list_start symbol and a + * __list_end symbol to mark the start and the end of the + * list of struct objects to iterate over. This is normally done using + * ITERABLE_SECTION_ROM() or ITERABLE_SECTION_RAM() in the linker script. + */ + + + +/** + * @brief Get element from section. + * + * @note There is no protection against reading beyond the section. + * + * @param[in] struct_type Struct type. + * @param[in] i Index. + * @param[out] dst Pointer to location where pointer to element is written. + */ + + + +/** + * @brief Count elements in a section. + * + * @param[in] struct_type Struct type + * @param[out] dst Pointer to location where result is written. + */ + + + +/** + * @} + */ + + +} +# 18 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/device.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util.h" 1 +/* + * Copyright (c) 2011-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Misc utilities + * + * Misc utilities usable by the kernel and application code. + */ +# 19 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/device.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain.h" 1 +/* + * Copyright (c) 2010-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Macros to abstract toolchain specific capabilities + * + * This file contains various macros to abstract compiler capabilities that + * utilize toolchain specific attributes and/or pragmas. + */ +# 20 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/device.h" 2 + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/llext/symbol.h" 1 +/* + * Copyright (c) 2023 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/iterable_sections.h" 1 +/* + * Copyright (C) 2020, Intel Corporation + * Copyright (C) 2023, Nordic Semiconductor ASA + * SPDX-License-Identifier: Apache-2.0 + */ +# 11 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/llext/symbol.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain.h" 1 +/* + * Copyright (c) 2010-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Macros to abstract toolchain specific capabilities + * + * This file contains various macros to abstract compiler capabilities that + * utilize toolchain specific attributes and/or pragmas. + */ +# 12 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/llext/symbol.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* Copyright (C) 1989-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.17 Common definitions + */ +# 13 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/llext/symbol.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 1 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ +# 14 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/llext/symbol.h" 2 + + + +# 16 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/llext/symbol.h" +extern "C" { + + +/** + * @file + * @brief Linkable loadable extension symbol definitions + * + * This file provides a set of macros and structures for defining and exporting + * symbols from the base image to extensions and vice versa, so that proper + * linking can be done between the two entities. + * + * @defgroup llext_symbols Exported symbol definitions + * @ingroup llext_apis + * @{ + */ + +/** + * @brief Constant symbols are unchangeable named memory addresses + * + * Symbols may be named function or global objects that have been exported + * for linking. These constant symbols are useful in the base image + * as they may be placed in ROM. + * + * @note When updating this structure, make sure to also update the + * 'scripts/build/llext_prepare_exptab.py' build script. + */ +struct llext_const_symbol { + /** At build time, we always write to 'name'. + * At runtime, which field is used depends + * on CONFIG_LLEXT_EXPORT_BUILTINS_BY_SLID. + */ + union { + /** Name of symbol */ + const char *const name; + + /** Symbol Link Identifier */ + const uintptr_t slid; + }; + + /** Address of symbol */ + const void *const addr; +}; +static_assert(sizeof(struct llext_const_symbol) == 2 * sizeof(uintptr_t), "" ); + +/** + * @brief Symbols are named memory addresses + * + * Symbols may be named function or global objects that have been exported + * for linking. These are mutable and should come from extensions where + * the location may need updating depending on where memory is placed. + */ +struct llext_symbol { + /** Name of symbol */ + const char *name; + + /** Address of symbol */ + void *addr; +}; + + +/** + * @brief A symbol table + * + * An array of symbols + */ +struct llext_symtable { + /** Number of symbols in the table */ + size_t sym_cnt; + + /** Array of symbols */ + struct llext_symbol *syms; +}; + + +/** @cond ignore */ + +/* Extension build: add exported symbols to llext table */ +# 103 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/llext/symbol.h" +/** @endcond */ + +/** + * @brief Exports a symbol from an extension to the base image with a custom name + * + * Version of @ref LL_EXTENSION_SYMBOL that allows the user to specify a custom + * name for the exported symbol. + * + * @param sym_ident Extension symbol to export to the base image + * @param sym_name Name associated with the symbol + */ + + + +/** + * @brief Exports a symbol from an extension to the base image + * + * This macro can be used in extensions to add a symbol (function or object) + * to the extension's exported symbol table, so that it may be referenced by + * the base image. + * + * When not building an extension, this macro is a no-op. + * + * @param x Extension symbol to export to the base image + */ + + +/** @cond ignore */ + +/* Extension build: EXPORT_SYMBOL maps to LL_EXTENSION_SYMBOL */ +# 156 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/llext/symbol.h" +/** @endcond */ + +/** + * @brief Export a constant symbol from the current build with a custom name + * + * Version of @ref EXPORT_SYMBOL that allows the user to specify a custom name + * for the exported symbol. + * + * When @c CONFIG_LLEXT is not enabled, this macro is a no-op. + * + * @param sym_ident Symbol to export + * @param sym_name Name associated with the symbol + */ + + + +/** + * @brief Export a constant symbol from the current build + * + * Takes a symbol (function or object) by symbolic name and adds the name + * and address of the symbol to a table of symbols that may be referenced + * by extensions or by the base image, depending on the current build type. + * + * When @c CONFIG_LLEXT is not enabled, this macro is a no-op. + * + * @param x Symbol to export + */ + + +/** + * @} + */ + + +} +# 23 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/device.h" 2 + + + +extern "C" { + + +/** + * @brief Device Model + * @defgroup device_model Device Model + * @since 1.0 + * @version 1.1.0 + * @{ + */ + +/** @cond INTERNAL_HIDDEN */ + +/** + * @brief Flag value used in lists of device dependencies to separate distinct + * groups. + */ + + +/** + * @brief Flag value used in lists of device dependencies to indicate the end of + * the list. + */ + + +/** @brief Determine if a DT node is mutable */ + + + +/** @endcond */ + +/** + * @brief Type used to represent a "handle" for a device. + * + * Every @ref device has an associated handle. You can get a pointer to a + * @ref device from its handle and vice versa, but the handle uses less space + * than a pointer. The device.h API mainly uses handles to store lists of + * multiple devices in a compact way. + * + * The extreme values and zero have special significance. Negative values + * identify functionality that does not correspond to a Zephyr device, such as + * the system clock or a SYS_INIT() function. + * + * @see device_handle_get() + * @see device_from_handle() + */ +typedef int16_t device_handle_t; + +/** @brief Flag value used to identify an unknown device. */ + + +/** + * @brief Expands to the name of a global device object. + * + * Return the full name of a device object symbol created by DEVICE_DEFINE(), + * using the `dev_id` provided to DEVICE_DEFINE(). This is the name of the + * global variable storing the device structure, not a pointer to the string in + * the @ref device.name field. + * + * It is meant to be used for declaring extern symbols pointing to device + * objects before using the DEVICE_GET macro to get the device object. + * + * This macro is normally only useful within device driver source code. In other + * situations, you are probably looking for device_get_binding(). + * + * @param dev_id Device identifier. + * + * @return The full name of the device object defined by device definition + * macros. + */ + + +/* This macro synthesizes a unique dev_id from a devicetree node by using + * the node's dependency ordinal. + * + * The ordinal used in this name can be mapped to the path by + * examining zephyr/include/generated/zephyr/devicetree_generated.h. + */ + + +/* Same as above, but uses the hash of the node path instead of the ordinal. + * + * The hash used in this name can be mapped to the path by + * examining zephyr/include/generated/zephyr/devicetree_generated.h. + */ + + +/* By default, device identifiers are obtained using the dependency ordinal. + * When LLEXT_EXPORT_DEV_IDS_BY_HASH is defined, the main Zephyr binary exports + * DT identifiers via EXPORT_SYMBOL_NAMED as hashed versions of their paths. + * When matching extensions are built, that is what they need to look for. + * + * The ordinal or hash used in this name can be mapped to the path by + * examining zephyr/include/generated/zephyr/devicetree_generated.h. + */ +# 133 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/device.h" +/* Export device identifiers using the builtin name */ + + + +/** + * @brief Create a device object and set it up for boot time initialization, + * with de-init capabilities. + * + * This macro defines a @ref device that is automatically configured by the + * kernel during system initialization. This macro should only be used when the + * device is not being allocated from a devicetree node. If you are allocating a + * device from a devicetree node, use DEVICE_DT_DEINIT_DEFINE() or + * DEVICE_DT_INST_DEINIT_DEFINE() instead. + * + * @param dev_id A unique token which is used in the name of the global device + * structure as a C identifier. + * @param name A string name for the device, which will be stored in + * @ref device.name. This name can be used to look up the device with + * device_get_binding(). This must be less than Z_DEVICE_MAX_NAME_LEN characters + * (including terminating `NULL`) in order to be looked up from user mode. + * @param init_fn Pointer to the device's initialization function, which will be + * run by the kernel during system initialization. Can be `NULL`. + * @param deinit_fn Pointer to the device's de-initialization function. Can be + * `NULL`. It must release any acquired resources (e.g. pins, bus, clock...) and + * leave the device in its reset state. + * @param pm Pointer to the device's power management resources, a + * @ref pm_device, which will be stored in @ref device.pm field. Use `NULL` if + * the device does not use PM. + * @param data Pointer to the device's private mutable data, which will be + * stored in @ref device.data. + * @param config Pointer to the device's private constant data, which will be + * stored in @ref device.config. + * @param level The device's initialization level (PRE_KERNEL_1, PRE_KERNEL_2 or + * POST_KERNEL). + * @param prio The device's priority within its initialization level. See + * SYS_INIT() for details. + * @param api Pointer to the device's API structure. Can be `NULL`. + */ + + + + + + + +/** + * @brief Create a device object and set it up for boot time initialization. + * + * @see DEVICE_DEINIT_DEFINE() + */ + + + + + +/** + * @brief Return a string name for a devicetree node. + * + * This macro returns a string literal usable as a device's name from a + * devicetree node identifier. + * + * @param node_id The devicetree node identifier. + * + * @return The value of the node's `label` property, if it has one. + * Otherwise, the node's full name in `node-name@unit-address` form. + */ + + + +/** + * @brief Create a device object from a devicetree node identifier and set it up + * for boot time initialization. + * + * This macro defines a @ref device that is automatically configured by the + * kernel during system initialization. The global device object's name as a C + * identifier is derived from the node's dependency ordinal or hash. + * @ref device.name is set to `DEVICE_DT_NAME(node_id)`. + * + * The device is declared with extern visibility, so a pointer to a global + * device object can be obtained with `DEVICE_DT_GET(node_id)` from any source + * file that includes `` (even from extensions, when + * @kconfig{CONFIG_LLEXT_EXPORT_DEVICES} is enabled). Before using the + * pointer, the referenced object should be checked using device_is_ready(). + * + * @param node_id The devicetree node identifier. + * @param init_fn Pointer to the device's initialization function, which will be + * run by the kernel during system initialization. Can be `NULL`. + * @param deinit_fn Pointer to the device's de-initialization function. Can be + * `NULL`. It must release any acquired resources (e.g. pins, bus, clock...) and + * leave the device in its reset state. + * @param pm Pointer to the device's power management resources, a + * @ref pm_device, which will be stored in @ref device.pm. Use `NULL` if the + * device does not use PM. + * @param data Pointer to the device's private mutable data, which will be + * stored in @ref device.data. + * @param config Pointer to the device's private constant data, which will be + * stored in @ref device.config field. + * @param level The device's initialization level (PRE_KERNEL_1, PRE_KERNEL_2 or + * POST_KERNEL). + * @param prio The device's priority within its initialization level. See + * SYS_INIT() for details. + * @param api Pointer to the device's API structure. Can be `NULL`. + */ +# 246 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/device.h" +/** + * @brief Create a device object from a devicetree node identifier and set it up + * for boot time initialization. + * + * @see DEVICE_DT_DEINIT_DEFINE() + */ + + + + + +/** + * @brief Like DEVICE_DT_DEINIT_DEFINE(), but uses an instance of a + * `DT_DRV_COMPAT` compatible instead of a node identifier. + * + * @param inst Instance number. The `node_id` argument to DEVICE_DT_DEFINE() is + * set to `DT_DRV_INST(inst)`. + * @param ... Other parameters as expected by DEVICE_DT_DEFINE(). + */ + + + +/** + * @brief Like DEVICE_DT_DEFINE(), but uses an instance of a `DT_DRV_COMPAT` + * compatible instead of a node identifier. + * + * @param inst Instance number. The `node_id` argument to DEVICE_DT_DEFINE() is + * set to `DT_DRV_INST(inst)`. + * @param ... Other parameters as expected by DEVICE_DT_DEFINE(). + */ + + + +/** + * @brief The name of the global device object for @p node_id + * + * Returns the name of the global device structure as a C identifier. The device + * must be allocated using DEVICE_DT_DEFINE() or DEVICE_DT_INST_DEFINE() for + * this to work. + * + * This macro is normally only useful within device driver source code. In other + * situations, you are probably looking for DEVICE_DT_GET(). + * + * @param node_id Devicetree node identifier + * + * @return The name of the device object as a C identifier + */ + + +/** + * @brief Get a @ref device reference from a devicetree node identifier. + * + * Returns a pointer to a device object created from a devicetree node, if any + * device was allocated by a driver. + * + * If no such device was allocated, this will fail at linker time. If you get an + * error that looks like `undefined reference to __device_dts_ord_`, that is + * what happened. Check to make sure your device driver is being compiled, + * usually by enabling the Kconfig options it requires. + * + * @param node_id A devicetree node identifier + * + * @return A pointer to the device object created for that node + */ + + +/** + * @brief Get a @ref device reference for an instance of a `DT_DRV_COMPAT` + * compatible. + * + * This is equivalent to `DEVICE_DT_GET(DT_DRV_INST(inst))`. + * + * @param inst `DT_DRV_COMPAT` instance number + * @return A pointer to the device object created for that instance + */ + + +/** + * @brief Get a @ref device reference from a devicetree compatible. + * + * If an enabled devicetree node has the given compatible and a device + * object was created from it, this returns a pointer to that device. + * + * If there no such devices, this returns NULL. + * + * If there are multiple, this returns an arbitrary one. + * + * If this returns non-NULL, the device must be checked for readiness + * before use, e.g. with device_is_ready(). + * + * @param compat lowercase-and-underscores devicetree compatible + * @return a pointer to a device, or NULL + */ + + + + + +/** + * @brief Get a @ref device reference from a devicetree compatible. + * + * If an enabled devicetree node has the given compatible and a device object + * was created from it, this returns a pointer to that device. + * + * If there are no such devices, this will fail at compile time. + * + * If there are multiple, this returns an arbitrary one. + * + * If this returns non-NULL, the device must be checked for readiness before + * use, e.g. with device_is_ready(). + * + * @param compat lowercase-and-underscores devicetree compatible + * @return a pointer to a device + */ + + + + + +/** + * @brief Utility macro to obtain an optional reference to a device. + * + * If the node identifier refers to a node with status `okay`, this returns + * `DEVICE_DT_GET(node_id)`. Otherwise, it returns `NULL`. + * + * @param node_id devicetree node identifier + * + * @return a @ref device reference for the node identifier, which may be `NULL`. + */ + + + + +/** + * @brief Get a @ref device reference from a devicetree phandles by idx. + * + * Returns a pointer to a device object referenced by a phandles property, by idx. + * + * @param node_id A devicetree node identifier + * @param prop lowercase-and-underscores property with type `phandle`, + * `phandles`, or `phandle-array` + * @param idx logical index into @p phs, which must be zero if @p phs + * has type `phandle` + * + * @return A pointer to the device object created for that node + */ + + + +/** + * @brief Obtain a pointer to a device object by name + * + * @details Return the address of a device object created by + * DEVICE_DEFINE(), using the dev_id provided to DEVICE_DEFINE(). + * + * @param dev_id Device identifier. + * + * @return A pointer to the device object created by DEVICE_DEFINE() + */ + + +/** + * @brief Declare a static device object + * + * This macro can be used at the top-level to declare a device, such + * that DEVICE_GET() may be used before the full declaration in + * DEVICE_DEFINE(). + * + * This is often useful when configuring interrupts statically in a + * device's init or per-instance config function, as the init function + * itself is required by DEVICE_DEFINE() and use of DEVICE_GET() + * inside it creates a circular dependency. + * + * @param dev_id Device identifier. + */ + + + +/** + * @brief Get a @ref init_entry reference from a devicetree node. + * + * @param node_id A devicetree node identifier + * + * @return A pointer to the @ref init_entry object created for that node + */ + + + +/** + * @brief Get a @ref init_entry reference from a device identifier. + * + * @param dev_id Device identifier. + * + * @return A pointer to the init_entry object created for that device + */ + + +/** + * @brief Runtime device dynamic structure (in RAM) per driver instance + * + * Fields in this are expected to be default-initialized to zero. The + * kernel driver infrastructure and driver access functions are + * responsible for ensuring that any non-zero initialization is done + * before they are accessed. + */ +struct device_state { + /** + * Device initialization return code (positive errno value). + * + * Device initialization functions return a negative errno code if they + * fail. In Zephyr, errno values do not exceed 255, so we can store the + * positive result value in a uint8_t type. + */ + uint8_t init_res; + + /** Indicates the device initialization function has been + * invoked. + */ + bool initialized : 1; +}; + +struct pm_device_base; +struct pm_device; +struct pm_device_isr; + +struct device_dt_metadata; +# 480 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/device.h" +/** Device flags */ +typedef uint8_t device_flags_t; + +/** + * @name Device flags + * @{ + */ + +/** Device initialization is deferred */ + + +/** @} */ + +/** Device operations */ +struct device_ops { + /** Initialization function */ + int (*init)(const struct device *dev); + /** De-initialization function */ + int (*deinit)(const struct device *dev); +}; + +/** + * @brief Runtime device structure (in ROM) per driver instance + */ +struct device { + /** Name of the device instance */ + const char *name; + /** Address of device instance config information */ + const void *config; + /** Address of the API structure exposed by the device instance */ + const void *api; + /** Address of the common device state */ + struct device_state *state; + /** Address of the device instance private data */ + void *data; + /** Device operations */ + struct device_ops ops; + /** Device flags */ + device_flags_t flags; +# 542 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/device.h" + const struct device_dt_metadata *dt_meta; + +}; + +/** + * @brief Get the handle for a given device + * + * @param dev the device for which a handle is desired. + * + * @return the handle for the device, or DEVICE_HANDLE_NULL if the device does + * not have an associated handle. + */ +static inline device_handle_t device_handle_get(const struct device *dev) +{ + device_handle_t ret = 0; + extern struct device _device_list_start[]; + + /* TODO: If/when devices can be constructed that are not part of the + * fixed sequence we'll need another solution. + */ + if (dev != +# 562 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/device.h" 3 4 + __null +# 562 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/device.h" + ) { + ret = 1 + (device_handle_t)(dev - _device_list_start); + } + + return ret; +} + +/** + * @brief Get the device corresponding to a handle. + * + * @param dev_handle the device handle + * + * @return the device that has that handle, or a null pointer if @p dev_handle + * does not identify a device. + */ +static inline const struct device * +device_from_handle(device_handle_t dev_handle) +{ + extern struct device _device_list_start[]; + const struct device *dev = +# 581 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/device.h" 3 4 + __null +# 581 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/device.h" + ; + size_t numdev; + + do { extern struct device _device_list_start[]; extern struct device _device_list_end[]; *(&numdev) = ((uintptr_t)_device_list_end - (uintptr_t)_device_list_start) / sizeof(struct device); } while (0);; + + if ((dev_handle > 0) && ((size_t)dev_handle <= numdev)) { + dev = &_device_list_start[dev_handle - 1]; + } + + return dev; +} +# 812 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/device.h" +/** + * @brief Get a @ref device reference from its @ref device.name field. + * + * This function iterates through the devices on the system. If a device with + * the given @p name field is found, and that device initialized successfully at + * boot time, this function returns a pointer to the device. + * + * If no device has the given @p name, this function returns `NULL`. + * + * This function also returns NULL when a device is found, but it failed to + * initialize successfully at boot time. (To troubleshoot this case, set a + * breakpoint on your device driver's initialization function.) + * + * @param name device name to search for. A null pointer, or a pointer to an + * empty string, will cause NULL to be returned. + * + * @return pointer to device structure with the given name; `NULL` if the device + * is not found or if the device with that name's initialization function + * failed. + */ +static inline const struct device *device_get_binding(const char *name); + +/** + * @brief Get access to the static array of static devices. + * + * @param devices where to store the pointer to the array of statically + * allocated devices. The array must not be mutated through this pointer. + * + * @return the number of statically allocated devices. + */ +size_t z_device_get_all_static(const struct device **devices); + +/** + * @brief Verify that a device is ready for use. + * + * Indicates whether the provided device pointer is for a device known to be + * in a state where it can be used with its standard API. + * + * This can be used with device pointers captured from DEVICE_DT_GET(), which + * does not include the readiness checks of device_get_binding(). At minimum + * this means that the device has been successfully initialized. + * + * @param dev pointer to the device in question. + * + * @retval true If the device is ready for use. + * @retval false If the device is not ready for use or if a NULL device pointer + * is passed as argument. + */ +static inline bool device_is_ready(const struct device *dev); + +/** + * @brief Initialize a device. + * + * A device whose initialization was deferred (by marking it as + * ``zephyr,deferred-init`` on devicetree) needs to be initialized manually via + * this call. De-initialized devices can also be initialized again via this + * call. + * + * @param dev device to be initialized. + * + * @retval -EALREADY Device is already initialized. + * @retval -errno For other errors. + */ +static inline int device_init(const struct device *dev); + +/** + * @brief De-initialize a device. + * + * When a device is de-initialized, it will release any resources it has + * acquired (e.g. pins, memory, clocks, DMA channels, etc.) and its status will + * be left as in its reset state. + * + * @warning It is the responsability of the caller to ensure that the device is + * ready to be de-initialized. + * + * @param dev device to be de-initialized. + * + * @retval 0 If successful + * @retval -EPERM If device has not been initialized. + * @retval -ENOTSUP If device does not support de-initialization. + * @retval -errno For any other errors. + */ +static inline int device_deinit(const struct device *dev); + +/** + * @} + */ + +/** @cond INTERNAL_HIDDEN */ + +/** + * @brief Synthesize a unique name for the device state associated with + * @p dev_id. + */ + + +/** + * @brief Utility macro to define and initialize the device state. + * + * @param dev_id Device identifier. + */ + + + + +/** + * @brief Device flags obtained from DT. + * + * @param node_id Devicetree node identifier. + */ +# 1007 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/device.h" +/** + * @brief Devicetree node labels associated with a device + */ +struct device_dt_nodelabels { + /* @brief number of elements in the nodelabels array */ + size_t num_nodelabels; + /* @brief array of node labels as strings, exactly as they + * appear in the final devicetree + */ + const char *nodelabels[]; +}; + +/** + * @brief Devicetree metadata associated with a device + * + * This is currently limited to node labels, but the structure is + * generic enough to be extended later without requiring breaking + * changes. + */ +struct device_dt_metadata { + /** + * @brief Node labels associated with the device + * @see device_get_dt_nodelabels() + */ + const struct device_dt_nodelabels *nl; +}; + +/** + * @brief Get a @ref device reference from a devicetree node label. + * + * If: + * + * 1. a device was defined from a devicetree node, for example + * with DEVICE_DT_DEFINE() or another similar macro, and + * 2. that devicetree node has @p nodelabel as one of its node labels, and + * 3. the device initialized successfully at boot time, + * + * then this function returns a pointer to the device. Otherwise, it + * returns NULL. + * + * @param nodelabel a devicetree node label + * @return a device reference for a device created from a node with that + * node label, or NULL if either no such device exists or the device + * failed to initialize + */ +static inline const struct device *device_get_by_dt_nodelabel(const char *nodelabel); + +/** + * @brief Get the devicetree node labels associated with a device + * @param dev device whose metadata to look up + * @return information about the devicetree node labels or NULL if not available + */ +static inline const struct device_dt_nodelabels * +device_get_dt_nodelabels(const struct device *dev) +{ + if (dev->dt_meta == +# 1062 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/device.h" 3 4 + __null +# 1062 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/device.h" + ) { + return +# 1063 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/device.h" 3 4 + __null +# 1063 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/device.h" + ; + } + return dev->dt_meta->nl; +} + +/** + * @brief Maximum devicetree node label length. + * + * The maximum length is set so that device_get_by_dt_nodelabel() can + * be used from userspace. + */ + + +/** + * @brief Name of the identifier for a device's DT metadata structure + * @param dev_id device identifier + */ + + +/** + * @brief Name of the identifier for the array of node label strings + * saved for a device. + */ + + +/** + * @brief Initialize an entry in the device DT node label lookup table + * + * Allocates and initializes a struct device_dt_metadata in the + * appropriate iterable section for use finding devices. + */ +# 1107 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/device.h" +/** + * @brief Init sub-priority of the device + * + * The sub-priority is defined by the devicetree ordinal, which ensures that + * multiple drivers running at the same priority level run in an order that + * respects the devicetree dependencies. + */ + + + + +/** + * @brief Maximum device name length. + * + * The maximum length is set so that device_get_binding() can be used from + * userspace. + */ + + +/** + * @brief Compile time check for device name length + * + * @param name Device name. + */ + + + + +/** + * @brief Initializer for @ref device. + * + * @param name_ Name of the device. + * @param init_fn_ Init function (optional). + * @param deinit_fn_ De-init function (optional). + * @param flags_ Device flags. + * @param pm_ Reference to @ref pm_device_base (optional). + * @param data_ Reference to device data. + * @param config_ Reference to device config. + * @param api_ Reference to device API ops. + * @param state_ Reference to device state. + * @param deps_ Reference to device dependencies. + * @param node_id_ Devicetree node identifier + * @param dev_id_ Device identifier token, as passed to Z_DEVICE_BASE_DEFINE + */ +# 1169 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/device.h" +/* + * Anonymous unions require C11. Some pre-C11 gcc versions have early support for anonymous + * unions but they require these braces when combined with C99 designated initializers. For + * more details see https://docs.zephyrproject.org/latest/develop/languages/cpp/ + */ + + + + + + +/** + * @brief Device section name (used for sorting purposes). + * + * @param level Initialization level + * @param prio Initialization priority + */ + + + +/** + * @brief Define a @ref device + * + * @param node_id Devicetree node id for the device (DT_INVALID_NODE if a + * software device). + * @param dev_id Device identifier (used to name the defined @ref device). + * @param name Name of the device. + * @param init_fn Init function. + * @param deinit_fn De-init function. + * @param flags Device flags. + * @param pm Reference to @ref pm_device_base associated with the device. + * (optional). + * @param data Reference to device data. + * @param config Reference to device config. + * @param level Initialization level. + * @param prio Initialization priority. + * @param api Reference to device API. + * @param ... Optional dependencies, manually specified. + */ +# 1218 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/device.h" +/** + * @brief Issue an error if the given init level is not supported. + * + * @param level Init level + */ + + + + + + +/** + * @brief Define the init entry for a device. + * + * @param node_id Devicetree node id for the device (DT_INVALID_NODE if a + * software device). + * @param dev_id Device identifier. + * @param level Initialization level. + * @param prio Initialization priority. + */ +# 1248 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/device.h" +/** + * @brief Define a @ref device and all other required objects. + * + * This is the common macro used to define @ref device objects. It can be used + * to define both Devicetree and software devices. + * + * @param node_id Devicetree node id for the device (DT_INVALID_NODE if a + * software device). + * @param dev_id Device identifier (used to name the defined @ref device). + * @param name Name of the device. + * @param init_fn Device init function. + * @param flags Device flags. + * @param pm Reference to @ref pm_device_base associated with the device. + * (optional). + * @param data Reference to device data. + * @param config Reference to device config. + * @param level Initialization level. + * @param prio Initialization priority. + * @param api Reference to device API. + * @param state Reference to device state. + * @param ... Optional dependencies, manually specified. + */ +# 1291 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/device.h" +/** + * @brief Declare a device for each status "okay" devicetree node. + * + * @note Disabled nodes should not result in devices, so not predeclaring these + * keeps drivers honest. + * + * This is only "maybe" a device because some nodes have status "okay", but + * don't have a corresponding @ref device allocated. There's no way to figure + * that out until after we've built the zephyr image, though. + */ + + + + +extern const struct device __device_dts_ord_0; extern const struct device __device_dts_ord_2; extern const struct device __device_dts_ord_1; extern const struct device __device_dts_ord_4; extern const struct device __device_dts_ord_5; extern const struct device __device_dts_ord_160; extern const struct device __device_dts_ord_203; extern const struct device __device_dts_ord_204; extern const struct device __device_dts_ord_205; extern const struct device __device_dts_ord_206; extern const struct device __device_dts_ord_207; extern const struct device __device_dts_ord_208; extern const struct device __device_dts_ord_9; extern const struct device __device_dts_ord_59; extern const struct device __device_dts_ord_146; extern const struct device __device_dts_ord_10; extern const struct device __device_dts_ord_78; extern const struct device __device_dts_ord_79; extern const struct device __device_dts_ord_80; extern const struct device __device_dts_ord_81; extern const struct device __device_dts_ord_82; extern const struct device __device_dts_ord_253; extern const struct device __device_dts_ord_83; extern const struct device __device_dts_ord_84; extern const struct device __device_dts_ord_18; extern const struct device __device_dts_ord_85; extern const struct device __device_dts_ord_86; extern const struct device __device_dts_ord_45; extern const struct device __device_dts_ord_41; extern const struct device __device_dts_ord_48; extern const struct device __device_dts_ord_46; extern const struct device __device_dts_ord_47; extern const struct device __device_dts_ord_52; extern const struct device __device_dts_ord_50; extern const struct device __device_dts_ord_42; extern const struct device __device_dts_ord_43; extern const struct device __device_dts_ord_44; extern const struct device __device_dts_ord_49; extern const struct device __device_dts_ord_51; extern const struct device __device_dts_ord_11; extern const struct device __device_dts_ord_12; extern const struct device __device_dts_ord_54; extern const struct device __device_dts_ord_55; extern const struct device __device_dts_ord_190; extern const struct device __device_dts_ord_184; extern const struct device __device_dts_ord_189; extern const struct device __device_dts_ord_181; extern const struct device __device_dts_ord_182; extern const struct device __device_dts_ord_183; extern const struct device __device_dts_ord_185; extern const struct device __device_dts_ord_186; extern const struct device __device_dts_ord_191; extern const struct device __device_dts_ord_187; extern const struct device __device_dts_ord_188; extern const struct device __device_dts_ord_137; extern const struct device __device_dts_ord_138; extern const struct device __device_dts_ord_234; extern const struct device __device_dts_ord_235; extern const struct device __device_dts_ord_230; extern const struct device __device_dts_ord_231; extern const struct device __device_dts_ord_232; extern const struct device __device_dts_ord_226; extern const struct device __device_dts_ord_233; extern const struct device __device_dts_ord_242; extern const struct device __device_dts_ord_243; extern const struct device __device_dts_ord_236; extern const struct device __device_dts_ord_237; extern const struct device __device_dts_ord_238; extern const struct device __device_dts_ord_239; extern const struct device __device_dts_ord_240; extern const struct device __device_dts_ord_241; extern const struct device __device_dts_ord_227; extern const struct device __device_dts_ord_228; extern const struct device __device_dts_ord_229; extern const struct device __device_dts_ord_211; extern const struct device __device_dts_ord_217; extern const struct device __device_dts_ord_218; extern const struct device __device_dts_ord_219; extern const struct device __device_dts_ord_220; extern const struct device __device_dts_ord_221; extern const struct device __device_dts_ord_248; extern const struct device __device_dts_ord_222; extern const struct device __device_dts_ord_223; extern const struct device __device_dts_ord_224; extern const struct device __device_dts_ord_225; extern const struct device __device_dts_ord_212; extern const struct device __device_dts_ord_213; extern const struct device __device_dts_ord_214; extern const struct device __device_dts_ord_215; extern const struct device __device_dts_ord_216; extern const struct device __device_dts_ord_245; extern const struct device __device_dts_ord_246; extern const struct device __device_dts_ord_244; extern const struct device __device_dts_ord_247; extern const struct device __device_dts_ord_249; extern const struct device __device_dts_ord_27; extern const struct device __device_dts_ord_31; extern const struct device __device_dts_ord_15; extern const struct device __device_dts_ord_28; extern const struct device __device_dts_ord_32; extern const struct device __device_dts_ord_16; extern const struct device __device_dts_ord_263; extern const struct device __device_dts_ord_264; extern const struct device __device_dts_ord_265; extern const struct device __device_dts_ord_266; extern const struct device __device_dts_ord_268; extern const struct device __device_dts_ord_267; extern const struct device __device_dts_ord_70; extern const struct device __device_dts_ord_74; extern const struct device __device_dts_ord_71; extern const struct device __device_dts_ord_75; extern const struct device __device_dts_ord_72; extern const struct device __device_dts_ord_76; extern const struct device __device_dts_ord_102; extern const struct device __device_dts_ord_101; extern const struct device __device_dts_ord_88; extern const struct device __device_dts_ord_89; extern const struct device __device_dts_ord_93; extern const struct device __device_dts_ord_92; extern const struct device __device_dts_ord_97; extern const struct device __device_dts_ord_98; extern const struct device __device_dts_ord_96; extern const struct device __device_dts_ord_105; extern const struct device __device_dts_ord_256; extern const struct device __device_dts_ord_257; extern const struct device __device_dts_ord_64; extern const struct device __device_dts_ord_57; extern const struct device __device_dts_ord_61; extern const struct device __device_dts_ord_67; extern const struct device __device_dts_ord_258; extern const struct device __device_dts_ord_65; extern const struct device __device_dts_ord_58; extern const struct device __device_dts_ord_62; extern const struct device __device_dts_ord_68; extern const struct device __device_dts_ord_259; extern const struct device __device_dts_ord_108; extern const struct device __device_dts_ord_109; extern const struct device __device_dts_ord_66; extern const struct device __device_dts_ord_60; extern const struct device __device_dts_ord_63; extern const struct device __device_dts_ord_69; extern const struct device __device_dts_ord_260; extern const struct device __device_dts_ord_261; extern const struct device __device_dts_ord_262; extern const struct device __device_dts_ord_29; extern const struct device __device_dts_ord_33; extern const struct device __device_dts_ord_17; extern const struct device __device_dts_ord_19; extern const struct device __device_dts_ord_180; extern const struct device __device_dts_ord_209; extern const struct device __device_dts_ord_210; extern const struct device __device_dts_ord_73; extern const struct device __device_dts_ord_77; extern const struct device __device_dts_ord_139; extern const struct device __device_dts_ord_100; extern const struct device __device_dts_ord_103; extern const struct device __device_dts_ord_293; extern const struct device __device_dts_ord_87; extern const struct device __device_dts_ord_90; extern const struct device __device_dts_ord_91; extern const struct device __device_dts_ord_94; extern const struct device __device_dts_ord_95; extern const struct device __device_dts_ord_99; extern const struct device __device_dts_ord_104; extern const struct device __device_dts_ord_106; extern const struct device __device_dts_ord_53; extern const struct device __device_dts_ord_167; extern const struct device __device_dts_ord_169; extern const struct device __device_dts_ord_170; extern const struct device __device_dts_ord_168; extern const struct device __device_dts_ord_173; extern const struct device __device_dts_ord_172; extern const struct device __device_dts_ord_171; extern const struct device __device_dts_ord_174; extern const struct device __device_dts_ord_175; extern const struct device __device_dts_ord_176; extern const struct device __device_dts_ord_165; extern const struct device __device_dts_ord_166; extern const struct device __device_dts_ord_13; extern const struct device __device_dts_ord_177; extern const struct device __device_dts_ord_178; extern const struct device __device_dts_ord_56; extern const struct device __device_dts_ord_179; extern const struct device __device_dts_ord_142; extern const struct device __device_dts_ord_149; extern const struct device __device_dts_ord_250; extern const struct device __device_dts_ord_251; extern const struct device __device_dts_ord_252; extern const struct device __device_dts_ord_269; extern const struct device __device_dts_ord_270; extern const struct device __device_dts_ord_271; extern const struct device __device_dts_ord_272; extern const struct device __device_dts_ord_273; extern const struct device __device_dts_ord_192; extern const struct device __device_dts_ord_193; extern const struct device __device_dts_ord_194; extern const struct device __device_dts_ord_147; extern const struct device __device_dts_ord_196; extern const struct device __device_dts_ord_197; extern const struct device __device_dts_ord_110; extern const struct device __device_dts_ord_111; extern const struct device __device_dts_ord_198; extern const struct device __device_dts_ord_199; extern const struct device __device_dts_ord_200; extern const struct device __device_dts_ord_121; extern const struct device __device_dts_ord_122; extern const struct device __device_dts_ord_123; extern const struct device __device_dts_ord_26; extern const struct device __device_dts_ord_6; extern const struct device __device_dts_ord_7; extern const struct device __device_dts_ord_115; extern const struct device __device_dts_ord_116; extern const struct device __device_dts_ord_8; extern const struct device __device_dts_ord_120; extern const struct device __device_dts_ord_130; extern const struct device __device_dts_ord_21; extern const struct device __device_dts_ord_22; extern const struct device __device_dts_ord_23; extern const struct device __device_dts_ord_24; extern const struct device __device_dts_ord_25; extern const struct device __device_dts_ord_107; extern const struct device __device_dts_ord_3; extern const struct device __device_dts_ord_126; extern const struct device __device_dts_ord_127; extern const struct device __device_dts_ord_128; extern const struct device __device_dts_ord_129; extern const struct device __device_dts_ord_124; extern const struct device __device_dts_ord_125; extern const struct device __device_dts_ord_195; extern const struct device __device_dts_ord_20; extern const struct device __device_dts_ord_40; extern const struct device __device_dts_ord_112; + +/** @brief Expands to the full type. */ + + +/** @endcond */ + +/** + * @brief Wrapper macro for declaring device API structs inside iterable sections. + * + * @param _class The device API class. + * @param _name The API instance name. + */ + + +/** + * @brief Expands to the pointer of a device's API for a given class. + * + * @param _class The device API class. + * @param _dev The device instance pointer. + * + * @return the pointer to the device API. + */ + + +/** + * @brief Macro that evaluates to a boolean that can be used to check if + * a device is of a particular class. + * + * @param _class The device API class. + * @param _dev The device instance pointer. + * + * @retval true If the device is of the given class + * @retval false If the device is not of the given class + */ +# 1349 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/device.h" +} + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/device.h" 1 +/* auto-generated by gen_syscalls.py, don't edit */ + + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/tracing/tracing_syscall.h" 1 +/* + * Copyright (c) 2021 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 16 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/tracing/tracing_syscall.h" +/** + * @brief Syscall Tracing APIs + * @defgroup subsys_tracing_apis_syscall Syscall Tracing APIs + * @ingroup subsys_tracing_apis + * @{ + */ + +/** + * @brief Trace syscall entry + * @param id Syscall ID (as defined in the generated syscall_list.h) + * @param name Syscall name as a token (ex: k_thread_create) + * @param ... Other parameters passed to the syscall + */ + + +/** + * @brief Trace syscall exit + * @param id Syscall ID (as defined in the generated syscall_list.h) + * @param name Syscall name as a token (ex: k_thread_create) + * @param ... Other parameters passed to the syscall, if the syscall has a + * return, the return value is the last parameter in the list + */ + + +/** @} */ /* end of subsys_tracing_syscall_apis */ +# 8 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/device.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdarg.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdarg.h" 3 4 +/* Copyright (C) 1989-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.15 Variable arguments + */ +# 12 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/device.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscall_list.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscall_list.h" +/* auto-generated by gen_syscalls.py, don't edit */ +# 14 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/device.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/syscall.h" 1 +/* + * Copyright (c) 2017, Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 15 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/device.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/linker/sections.h" 1 +/* + * Copyright (c) 2013-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Definitions of various linker Sections. + * + * Linker Section declarations used by linker script, C files and Assembly + * files. + */ +# 17 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/device.h" 2 + + + +extern "C" { + + +extern const struct device * z_impl_device_get_binding(const char * name); + + +static inline const struct device * device_get_binding(const char * name) +{ + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_device_get_binding(name); +} +# 46 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/device.h" +extern bool z_impl_device_is_ready(const struct device * dev); + + +static inline bool device_is_ready(const struct device * dev) +{ + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_device_is_ready(dev); +} +# 69 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/device.h" +extern int z_impl_device_init(const struct device * dev); + + +static inline int device_init(const struct device * dev) +{ + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_device_init(dev); +} +# 92 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/device.h" +extern int z_impl_device_deinit(const struct device * dev); + + +static inline int device_deinit(const struct device * dev) +{ + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_device_deinit(dev); +} +# 115 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/device.h" +extern const struct device * z_impl_device_get_by_dt_nodelabel(const char * nodelabel); + + +static inline const struct device * device_get_by_dt_nodelabel(const char * nodelabel) +{ + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_device_get_by_dt_nodelabel(nodelabel); +} +# 139 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/device.h" +} +# 1353 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/device.h" 2 +# 19 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sw_isr_table.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/iterable_sections.h" 1 +/* + * Copyright (C) 2020, Intel Corporation + * Copyright (C) 2023, Nordic Semiconductor ASA + * SPDX-License-Identifier: Apache-2.0 + */ +# 20 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sw_isr_table.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/types.h" 1 +/* + * Copyright (c) 2017 Linaro Limited + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 21 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sw_isr_table.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain.h" 1 +/* + * Copyright (c) 2010-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Macros to abstract toolchain specific capabilities + * + * This file contains various macros to abstract compiler capabilities that + * utilize toolchain specific attributes and/or pragmas. + */ +# 22 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sw_isr_table.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util.h" 1 +/* + * Copyright (c) 2011-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Misc utilities + * + * Misc utilities usable by the kernel and application code. + */ +# 23 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sw_isr_table.h" 2 + + +extern "C" { + + +/* Default vector for the IRQ vector table */ +void _isr_wrapper(void); + +/* Spurious interrupt handler. Throws an error if called */ +void z_irq_spurious(const void *unused); + +/* + * Note the order: arg first, then ISR. This allows a table entry to be + * loaded arg -> r0, isr -> r3 in _isr_wrapper with one ldmia instruction, + * on ARM Cortex-M (Thumb2). + */ +struct _isr_table_entry { + const void *arg; + void (*isr)(const void *); +}; + +/* The software ISR table itself, an array of these structures indexed by the + * irq line + */ +extern struct _isr_table_entry _sw_isr_table[]; + +struct _irq_parent_entry { + const struct device *dev; + unsigned int level; + unsigned int irq; + unsigned int offset; +}; + +/** + * @cond INTERNAL_HIDDEN + */ + +/* Mapping between aggregator level to order */ + + +/** + * @brief Get the Software ISR table offset Kconfig for the given aggregator level + * + * @param l Aggregator level, must be 2 or 3 + * + * @return `CONFIG_2ND_LVL_ISR_TBL_OFFSET` if second level aggregator, + * `CONFIG_3RD_LVL_ISR_TBL_OFFSET` if third level aggregator + */ + + +/** + * INTERNAL_HIDDEN @endcond + */ + +/** + * @brief Get an interrupt controller node's level base ISR table offset. + * + * @param node_id node identifier of the interrupt controller + * + * @return `CONFIG_2ND_LVL_ISR_TBL_OFFSET` if node_id is a second level aggregator, + * `CONFIG_3RD_LVL_ISR_TBL_OFFSET` if it is a third level aggregator + */ + + + +/** + * @brief Get the SW ISR table offset for an instance of interrupt controller + * + * @param inst DT_DRV_COMPAT interrupt controller driver instance number + * + * @return Software ISR table offset of the interrupt controller + */ + + + +/** + * @brief Get the SW ISR table offset for a child interrupt controller + * + * @details This macro is a alternative form of the `INTC_INST_ISR_TBL_OFFSET`. This is used by + * pseudo interrupt controller devices that are child of a main interrupt controller device. + * + * @param node_id node identifier of the child interrupt controller + * + * @return Software ISR table offset of the child + */ + + + + +/** + * @brief Register an interrupt controller with the software ISR table + * + * @param _name Name of the interrupt controller (must be unique) + * @param _dev Pointer to the interrupt controller device instance + * @param _irq Interrupt controller IRQ number + * @param _offset Software ISR table offset of the interrupt controller + * @param _level Interrupt controller aggregator level + */ +# 129 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sw_isr_table.h" +/* + * Data structure created in a special binary .intlist section for each + * configured interrupt. gen_irq_tables.py pulls this out of the binary and + * uses it to create the IRQ vector table and the _sw_isr_table. + * + * More discussion in include/linker/intlist.ld + * + * This is a version used when CONFIG_ISR_TABLES_LOCAL_DECLARATION is disabled. + * See _isr_list_sname used otherwise. + */ +struct _isr_list { + /** IRQ line number */ + int32_t irq; + /** Flags for this IRQ, see ISR_FLAG_* definitions */ + int32_t flags; + /** ISR to call */ + void *func; + /** Parameter for non-direct IRQs */ + const void *param; +}; + +/* + * Data structure created in a special binary .intlist section for each + * configured interrupt. gen_isr_tables.py pulls this out of the binary and + * uses it to create linker script chunks that would place interrupt table entries + * in the right place in the memory. + * + * This is a version used when CONFIG_ISR_TABLES_LOCAL_DECLARATION is enabled. + * See _isr_list used otherwise. + */ +struct _isr_list_sname { + /** IRQ line number */ + int32_t irq; + /** Flags for this IRQ, see ISR_FLAG_* definitions */ + int32_t flags; + /** The section name */ + const char sname[]; +}; +# 179 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sw_isr_table.h" +/** This interrupt gets put directly in the vector table */ +# 269 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sw_isr_table.h" +/* Create an instance of struct _isr_list which gets put in the .intList + * section. This gets consumed by gen_isr_tables.py which creates the vector + * and/or SW ISR tables. + */ + + + + + +/* The version of the Z_ISR_DECLARE that should be used for direct ISR declaration. + * It is here for the API match the version with CONFIG_ISR_TABLES_LOCAL_DECLARATION enabled. + */ +# 299 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sw_isr_table.h" +} +# 20 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/irq.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdbool.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdbool.h" 3 4 +/* Copyright (C) 1998-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.16 Boolean type and values + */ +# 21 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/irq.h" 2 + + + +# 23 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/irq.h" +extern "C" { +# 38 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/irq.h" +extern void arm_irq_enable(unsigned int irq); +extern void arm_irq_disable(unsigned int irq); +extern int arm_irq_is_enabled(unsigned int irq); +extern void arm_irq_priority_set(unsigned int irq, unsigned int prio, uint32_t flags); +# 77 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/irq.h" +extern void z_arm_int_exit(void); + +extern void z_arm_interrupt_init(void); + +/* Flags for use with IRQ_CONNECT() */ +/** + * Set this interrupt up as a zero-latency IRQ. If CONFIG_ZERO_LATENCY_LEVELS + * is 1 it has a fixed hardware priority level (discarding what was supplied + * in the interrupt's priority argument). If CONFIG_ZERO_LATENCY_LEVELS is + * greater 1 it has the priority level assigned by the argument. + * The interrupt will run even if irq_lock() is active. Be careful! + */ +# 109 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/irq.h" +/* All arguments must be computable by the compiler at build time. + * + * Z_ISR_DECLARE will populate the .intList section with the interrupt's + * parameters, which will then be used by gen_irq_tables.py to create + * the vector table and the software ISR table. This is all done at + * build-time. + * + * We additionally set the priority in the interrupt controller at + * runtime. + */ +# 147 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/irq.h" +/* arch/arm/core/exc_exit.S */ +extern void z_arm_int_exit(void); + + + + + + +static inline void arch_isr_direct_header(void) +{ + + + +} + +static inline void arch_isr_direct_footer(int maybe_swap) +{ + + + + if (maybe_swap != 0) { + z_arm_int_exit(); + } +} +# 271 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/irq.h" +} +# 25 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/arch.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/error.h" 1 +/* + * Copyright (c) 2013-2014 Wind River Systems, Inc. + * Copyright (c) 2023 Arm Limited + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief ARM AArch32 public error handling + * + * ARM AArch32-specific kernel error handling interface. Included by + * arm/arch.h. + */ + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/syscall.h" 1 +/* + * Copyright (c) 2018 Linaro Limited. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief ARM AArch32 specific syscall header + * + * This header contains the ARM AArch32 specific syscall interface. It is + * included by the syscall interface architecture-abstraction header + * (include/arch/syscall.h) + */ +# 20 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/error.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/exception.h" 1 +/* + * Copyright (c) 2013-2014 Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief ARM AArch32 public exception handling + * + * ARM AArch32-specific kernel exception handling interface. Included by + * arm/arch.h. + */ +# 21 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/error.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdbool.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdbool.h" 3 4 +/* Copyright (C) 1998-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.16 Boolean type and values + */ +# 22 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/error.h" 2 + + + +# 24 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/error.h" +extern "C" { + + + +/* ARMv6 will hard-fault if SVC is called with interrupts locked. Just + * force them unlocked, the thread is in an undefined state anyway + * + * On ARMv7m we won't get a HardFault, but if interrupts were locked the + * thread will continue executing after the exception and forbid PendSV to + * schedule a new thread until they are unlocked which is not what we want. + * Force them unlocked as well. + */ +# 72 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/error.h" +} +# 26 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/arch.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/misc.h" 1 +/* + * Copyright (c) 2013-2014 Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief ARM AArch32 public kernel miscellaneous + * + * ARM AArch32-specific kernel miscellaneous interface. Included by arm/arch.h. + */ + + + + + +extern "C" { + + + +extern uint32_t sys_clock_cycle_get_32(void); + +static inline uint32_t arch_k_cycle_get_32(void) +{ + return sys_clock_cycle_get_32(); +} + +extern uint64_t sys_clock_cycle_get_64(void); + +static inline uint64_t arch_k_cycle_get_64(void) +{ + return sys_clock_cycle_get_64(); +} + +static inline __attribute__((always_inline)) void arch_nop(void) +{ + __asm__ volatile("nop"); +} +# 66 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/misc.h" +} +# 27 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/arch.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/common/addr_types.h" 1 +/* x86 address types (virtual, physical, etc) definitions */ + +/* + * Copyright (c) 2015 Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + + +typedef uintptr_t paddr_t; +typedef void *vaddr_t; +# 28 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/arch.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/common/ffs.h" 1 +/* + * Copyright (c) 2015, Wind River Systems, Inc. + * Copyright (c) 2017, Oticon A/S + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/types.h" 1 +/* + * Copyright (c) 2017 Linaro Limited + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 14 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/common/ffs.h" 2 + + +extern "C" { + + +/** + * + * @brief find most significant bit set in a 32-bit word + * + * This routine finds the first bit set starting from the most significant bit + * in the argument passed in and returns the index of that bit. Bits are + * numbered starting at 1 from the least significant bit. A return value of + * zero indicates that the value passed is zero. + * + * @return most significant bit set, 0 if @a op is 0 + */ + +static inline __attribute__((always_inline)) unsigned int find_msb_set(uint32_t op) +{ + if (op == 0) { + return 0; + } + + return 32 - __builtin_clz(op); +} + + +/** + * + * @brief find least significant bit set in a 32-bit word + * + * This routine finds the first bit set starting from the least significant bit + * in the argument passed in and returns the index of that bit. Bits are + * numbered starting at 1 from the least significant bit. A return value of + * zero indicates that the value passed is zero. + * + * @return least significant bit set, 0 if @a op is 0 + */ + +static inline __attribute__((always_inline)) unsigned int find_lsb_set(uint32_t op) +{ + + return __builtin_ffs(op); +# 68 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/common/ffs.h" +} + + +} +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/arch.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/nmi.h" 1 +/** + * @file + * + * @brief ARM AArch32 NMI routines + */ + +/* + * Copyright (c) 2015 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + + +extern "C" { + + + +extern void z_arm_nmi_set_handler(void (*pHandler)(void)); + + + +} +# 30 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/arch.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/asm_inline.h" 1 +/* ARM AArch32 inline assembler functions and macros for public functions */ + +/* + * Copyright (c) 2015, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + +/* + * The file must not be included directly + * Include kernel.h instead + */ + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/asm_inline_gcc.h" 1 +/* ARM AArch32 GCC specific public inline assembler functions and macros */ + +/* + * Copyright (c) 2015, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/* Either public functions or macros or invoked by public functions */ + + + + +/* + * The file must not be included directly + * Include arch/cpu.h instead + */ + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain.h" 1 +/* + * Copyright (c) 2010-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Macros to abstract toolchain specific capabilities + * + * This file contains various macros to abstract compiler capabilities that + * utilize toolchain specific attributes and/or pragmas. + */ +# 22 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/asm_inline_gcc.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/types.h" 1 +/* + * Copyright (c) 2017 Linaro Limited + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 23 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/asm_inline_gcc.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/exception.h" 1 +/* + * Copyright (c) 2013-2014 Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief ARM AArch32 public exception handling + * + * ARM AArch32-specific kernel exception handling interface. Included by + * arm/arch.h. + */ +# 24 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/asm_inline_gcc.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/modules/cmsis/./cmsis_core.h" 1 +/* + * Copyright (c) 2023 Nordic Semiconductor ASA + * SPDX-License-Identifier: Apache-2.0 + */ + + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/modules/cmsis/./cmsis_core_m.h" 1 +/* + * Copyright (c) 2017 Nordic Semiconductor ASA + * Copyright (c) 2023 Arm Limited + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief CMSIS interface file + * + * This header contains the interface to the ARM CMSIS Core headers. + */ +# 22 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/modules/cmsis/./cmsis_core_m.h" +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/cortex_m/nvic.h" 1 +/* + * Copyright (c) 2020, Linaro Ltd. + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 23 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/modules/cmsis/./cmsis_core_m.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/soc/st/stm32/stm32h7x/./soc.h" 1 +/* + * Copyright (c) 2019 Linaro Limited + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h7xx.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx.h + * @author MCD Application Team + * @brief CMSIS STM32H7xx Device Peripheral Access Layer Header File. + * + * The file is the unique include file that the application programmer + * is using in the C source code, usually in main.c. This file contains: + * - Configuration section that allows to select: + * - The STM32H7xx device used in the target application + * - To use or not the peripheral's drivers in application code(i.e. + * code will be based on direct access to peripheral's registers + * rather than drivers API), this option is controlled by + * "#define USE_HAL_DRIVER" + * + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/** @addtogroup CMSIS + * @{ + */ + +/** @addtogroup stm32h7xx + * @{ + */ + + + + + + extern "C" { + + +/** @addtogroup Library_configuration_section + * @{ + */ + +/** + * @brief STM32 Family + */ + + + + + +/* Uncomment the line below according to the target STM32H7 device used in your + application + */ +# 88 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h7xx.h" +/* Tip: To avoid modifying this file each time you need to switch between these + devices, you can define the device in your toolchain compiler preprocessor. + */ +# 105 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h7xx.h" +/** + * @brief CMSIS Device version number V1.10.5 + */ +# 117 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h7xx.h" +/** + * @} + */ + +/** @addtogroup Device_Included + * @{ + */ +# 140 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h7xx.h" +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" 1 +/** + ****************************************************************************** + * @file stm32h747xx.h + * @author MCD Application Team + * @brief CMSIS STM32H747xx Device Peripheral Access Layer Header File. + * + * This file contains: + * - Data structures and the address mapping for all peripherals + * - Peripheral's registers declarations and bits definition + * - Macros to access peripheral's registers hardware + * + ****************************************************************************** + * @attention + * + * Copyright (c) 2019 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/** @addtogroup CMSIS_Device + * @{ + */ + +/** @addtogroup stm32h747xx + * @{ + */ + + + + + + extern "C" { + + +/** @addtogroup Peripheral_interrupt_number_definition + * @{ + */ + +/** + * @brief STM32H7XX Interrupt Number Definition, according to the selected device + * in @ref Library_configuration_section + */ +typedef enum +{ +/****** Cortex-M Processor Exceptions Numbers *****************************************************************/ + NonMaskableInt_IRQn = -14, + HardFault_IRQn = -13, + MemoryManagement_IRQn = -12, + BusFault_IRQn = -11, + UsageFault_IRQn = -10, + SVCall_IRQn = -5, + DebugMonitor_IRQn = -4, + PendSV_IRQn = -2, + SysTick_IRQn = -1, +/****** STM32 specific Interrupt Numbers **********************************************************************/ + WWDG_IRQn = 0, + PVD_AVD_IRQn = 1, + TAMP_STAMP_IRQn = 2, + RTC_WKUP_IRQn = 3, + FLASH_IRQn = 4, + RCC_IRQn = 5, + EXTI0_IRQn = 6, + EXTI1_IRQn = 7, + EXTI2_IRQn = 8, + EXTI3_IRQn = 9, + EXTI4_IRQn = 10, + DMA1_Stream0_IRQn = 11, + DMA1_Stream1_IRQn = 12, + DMA1_Stream2_IRQn = 13, + DMA1_Stream3_IRQn = 14, + DMA1_Stream4_IRQn = 15, + DMA1_Stream5_IRQn = 16, + DMA1_Stream6_IRQn = 17, + ADC_IRQn = 18, + FDCAN1_IT0_IRQn = 19, + FDCAN2_IT0_IRQn = 20, + FDCAN1_IT1_IRQn = 21, + FDCAN2_IT1_IRQn = 22, + EXTI9_5_IRQn = 23, + TIM1_BRK_IRQn = 24, + TIM1_UP_IRQn = 25, + TIM1_TRG_COM_IRQn = 26, + TIM1_CC_IRQn = 27, + TIM2_IRQn = 28, + TIM3_IRQn = 29, + TIM4_IRQn = 30, + I2C1_EV_IRQn = 31, + I2C1_ER_IRQn = 32, + I2C2_EV_IRQn = 33, + I2C2_ER_IRQn = 34, + SPI1_IRQn = 35, + SPI2_IRQn = 36, + USART1_IRQn = 37, + USART2_IRQn = 38, + USART3_IRQn = 39, + EXTI15_10_IRQn = 40, + RTC_Alarm_IRQn = 41, + TIM8_BRK_TIM12_IRQn = 43, + TIM8_UP_TIM13_IRQn = 44, + TIM8_TRG_COM_TIM14_IRQn = 45, + TIM8_CC_IRQn = 46, + DMA1_Stream7_IRQn = 47, + FMC_IRQn = 48, + SDMMC1_IRQn = 49, + TIM5_IRQn = 50, + SPI3_IRQn = 51, + UART4_IRQn = 52, + UART5_IRQn = 53, + TIM6_DAC_IRQn = 54, + TIM7_IRQn = 55, + DMA2_Stream0_IRQn = 56, + DMA2_Stream1_IRQn = 57, + DMA2_Stream2_IRQn = 58, + DMA2_Stream3_IRQn = 59, + DMA2_Stream4_IRQn = 60, + ETH_IRQn = 61, + ETH_WKUP_IRQn = 62, + FDCAN_CAL_IRQn = 63, + CM7_SEV_IRQn = 64, + CM4_SEV_IRQn = 65, + DMA2_Stream5_IRQn = 68, + DMA2_Stream6_IRQn = 69, + DMA2_Stream7_IRQn = 70, + USART6_IRQn = 71, + I2C3_EV_IRQn = 72, + I2C3_ER_IRQn = 73, + OTG_HS_EP1_OUT_IRQn = 74, + OTG_HS_EP1_IN_IRQn = 75, + OTG_HS_WKUP_IRQn = 76, + OTG_HS_IRQn = 77, + DCMI_IRQn = 78, + RNG_IRQn = 80, + FPU_IRQn = 81, + UART7_IRQn = 82, + UART8_IRQn = 83, + SPI4_IRQn = 84, + SPI5_IRQn = 85, + SPI6_IRQn = 86, + SAI1_IRQn = 87, + LTDC_IRQn = 88, + LTDC_ER_IRQn = 89, + DMA2D_IRQn = 90, + SAI2_IRQn = 91, + QUADSPI_IRQn = 92, + LPTIM1_IRQn = 93, + CEC_IRQn = 94, + I2C4_EV_IRQn = 95, + I2C4_ER_IRQn = 96, + SPDIF_RX_IRQn = 97, + OTG_FS_EP1_OUT_IRQn = 98, + OTG_FS_EP1_IN_IRQn = 99, + OTG_FS_WKUP_IRQn = 100, + OTG_FS_IRQn = 101, + DMAMUX1_OVR_IRQn = 102, + HRTIM1_Master_IRQn = 103, + HRTIM1_TIMA_IRQn = 104, + HRTIM1_TIMB_IRQn = 105, + HRTIM1_TIMC_IRQn = 106, + HRTIM1_TIMD_IRQn = 107, + HRTIM1_TIME_IRQn = 108, + HRTIM1_FLT_IRQn = 109, + DFSDM1_FLT0_IRQn = 110, + DFSDM1_FLT1_IRQn = 111, + DFSDM1_FLT2_IRQn = 112, + DFSDM1_FLT3_IRQn = 113, + SAI3_IRQn = 114, + SWPMI1_IRQn = 115, + TIM15_IRQn = 116, + TIM16_IRQn = 117, + TIM17_IRQn = 118, + MDIOS_WKUP_IRQn = 119, + MDIOS_IRQn = 120, + JPEG_IRQn = 121, + MDMA_IRQn = 122, + DSI_IRQn = 123, + SDMMC2_IRQn = 124, + HSEM1_IRQn = 125, + HSEM2_IRQn = 126, + ADC3_IRQn = 127, + DMAMUX2_OVR_IRQn = 128, + BDMA_Channel0_IRQn = 129, + BDMA_Channel1_IRQn = 130, + BDMA_Channel2_IRQn = 131, + BDMA_Channel3_IRQn = 132, + BDMA_Channel4_IRQn = 133, + BDMA_Channel5_IRQn = 134, + BDMA_Channel6_IRQn = 135, + BDMA_Channel7_IRQn = 136, + COMP_IRQn = 137 , + LPTIM2_IRQn = 138, + LPTIM3_IRQn = 139, + LPTIM4_IRQn = 140, + LPTIM5_IRQn = 141, + LPUART1_IRQn = 142, + WWDG_RST_IRQn = 143, + CRS_IRQn = 144, + ECC_IRQn = 145, + SAI4_IRQn = 146, + HOLD_CORE_IRQn = 148, + WAKEUP_PIN_IRQn = 149, +} IRQn_Type; + +/** + * @} + */ + +/** @addtogroup Configuration_section_for_CMSIS + * @{ + */ + + + + + + +/** + * @brief Configuration of the Cortex-M4/ Cortex-M7 Processor and Core Peripherals + */ +# 241 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" 1 +/**************************************************************************//** + * @file core_cm7.h + * @brief CMSIS Cortex-M7 Core Peripheral Access Layer Header File + * @version V5.1.6 + * @date 04. June 2021 + ******************************************************************************/ +/* + * Copyright (c) 2009-2021 Arm Limited. All rights reserved. + * + * SPDX-License-Identifier: Apache-2.0 + * + * 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 + * + * 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. + */ +# 34 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ +# 35 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" 2 + + + +# 37 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +extern "C" { + + +/** + \page CMSIS_MISRA_Exceptions MISRA-C:2004 Compliance Exceptions + CMSIS violates the following MISRA-C:2004 rules: + + \li Required Rule 8.5, object/function definition in header file.
+ Function definitions in header files are used to allow 'inlining'. + + \li Required Rule 18.4, declaration of union type or object of union type: '{...}'.
+ Unions are used for effective representation of core registers. + + \li Advisory Rule 19.7, Function-like macro defined.
+ Function-like macros are used to allow more efficient code. + */ + + +/******************************************************************************* + * CMSIS definitions + ******************************************************************************/ +/** + \ingroup Cortex_M7 + @{ + */ + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/cmsis_version.h" 1 +/**************************************************************************//** + * @file cmsis_version.h + * @brief CMSIS Core(M) Version definitions + * @version V5.0.5 + * @date 02. February 2022 + ******************************************************************************/ +/* + * Copyright (c) 2009-2022 ARM Limited. All rights reserved. + * + * SPDX-License-Identifier: Apache-2.0 + * + * 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 + * + * 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. + */ +# 34 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/cmsis_version.h" +/* CMSIS Version definitions */ +# 64 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" 2 + +/* CMSIS CM7 definitions */ + + + + + + + +/** __FPU_USED indicates whether an FPU is used or not. + For this, __FPU_PRESENT has to be checked prior to making use of FPU specific registers and functions. +*/ +# 162 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/cmsis_compiler.h" 1 +/**************************************************************************//** + * @file cmsis_compiler.h + * @brief CMSIS compiler generic header file + * @version V5.1.0 + * @date 09. October 2018 + ******************************************************************************/ +/* + * Copyright (c) 2009-2018 Arm Limited. All rights reserved. + * + * SPDX-License-Identifier: Apache-2.0 + * + * 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 + * + * 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. + */ + + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/cmsis_compiler.h" 2 + + +# 30 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/cmsis_compiler.h" +/* + * Arm Compiler 4/5 + */ +# 54 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/cmsis_compiler.h" +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/cmsis_gcc.h" 1 +/**************************************************************************//** + * @file cmsis_gcc.h + * @brief CMSIS compiler GCC header file + * @version V5.4.1 + * @date 27. May 2021 + ******************************************************************************/ +/* + * Copyright (c) 2009-2021 Arm Limited. All rights reserved. + * + * SPDX-License-Identifier: Apache-2.0 + * + * 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 + * + * 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. + */ + + + + +/* ignore some GCC warnings */ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wsign-conversion" +#pragma GCC diagnostic ignored "-Wconversion" +#pragma GCC diagnostic ignored "-Wunused-parameter" + +/* Fallback for __has_builtin */ + + + + +/* CMSIS compiler specific defines */ +# 71 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/cmsis_gcc.h" +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wpacked" +#pragma GCC diagnostic ignored "-Wattributes" + struct __attribute__((packed)) T_UINT32 { uint32_t v; }; +#pragma GCC diagnostic pop + + + +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wpacked" +#pragma GCC diagnostic ignored "-Wattributes" + struct __attribute__((packed, aligned(1))) T_UINT16_WRITE { uint16_t v; }; +#pragma GCC diagnostic pop + + + +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wpacked" +#pragma GCC diagnostic ignored "-Wattributes" + struct __attribute__((packed, aligned(1))) T_UINT16_READ { uint16_t v; }; +#pragma GCC diagnostic pop + + + +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wpacked" +#pragma GCC diagnostic ignored "-Wattributes" + struct __attribute__((packed, aligned(1))) T_UINT32_WRITE { uint32_t v; }; +#pragma GCC diagnostic pop + + + +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wpacked" +#pragma GCC diagnostic ignored "-Wattributes" + struct __attribute__((packed, aligned(1))) T_UINT32_READ { uint32_t v; }; +#pragma GCC diagnostic pop +# 120 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/cmsis_gcc.h" +/* ######################### Startup and Lowlevel Init ######################## */ +# 205 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/cmsis_gcc.h" +/* ########################## Core Instruction Access ######################### */ +/** \defgroup CMSIS_Core_InstructionInterface CMSIS Core Instruction Interface + Access to dedicated instructions + @{ +*/ + +/* Define macros for porting to both thumb1 and thumb2. + * For thumb1, use low register (r0-r7), specified by constraint "l" + * Otherwise, use general registers, specified by constraint "r" */ +# 224 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/cmsis_gcc.h" +/** + \brief No Operation + \details No Operation does nothing. This instruction can be used for code alignment purposes. + */ + + +/** + \brief Wait For Interrupt + \details Wait For Interrupt is a hint instruction that suspends execution until one of a number of events occurs. + */ + + + +/** + \brief Wait For Event + \details Wait For Event is a hint instruction that permits the processor to enter + a low-power state until one of a number of events occurs. + */ + + + +/** + \brief Send Event + \details Send Event is a hint instruction. It causes an event to be signaled to the CPU. + */ + + + +/** + \brief Instruction Synchronization Barrier + \details Instruction Synchronization Barrier flushes the pipeline in the processor, + so that all instructions following the ISB are fetched from cache or memory, + after the instruction has been completed. + */ +__attribute__((always_inline)) static inline void __ISB(void) +{ + __asm volatile ("isb 0xF":::"memory"); +} + + +/** + \brief Data Synchronization Barrier + \details Acts as a special kind of Data Memory Barrier. + It completes when all explicit memory accesses before this instruction complete. + */ +__attribute__((always_inline)) static inline void __DSB(void) +{ + __asm volatile ("dsb 0xF":::"memory"); +} + + +/** + \brief Data Memory Barrier + \details Ensures the apparent order of the explicit memory operations before + and after the instruction, without ensuring their completion. + */ +__attribute__((always_inline)) static inline void __DMB(void) +{ + __asm volatile ("dmb 0xF":::"memory"); +} + + +/** + \brief Reverse byte order (32 bit) + \details Reverses the byte order in unsigned integer value. For example, 0x12345678 becomes 0x78563412. + \param [in] value Value to reverse + \return Reversed value + */ +__attribute__((always_inline)) static inline uint32_t __REV(uint32_t value) +{ + + return __builtin_bswap32(value); + + + + + + +} + + +/** + \brief Reverse byte order (16 bit) + \details Reverses the byte order within each halfword of a word. For example, 0x12345678 becomes 0x34127856. + \param [in] value Value to reverse + \return Reversed value + */ +__attribute__((always_inline)) static inline uint32_t __REV16(uint32_t value) +{ + uint32_t result; + + __asm ("rev16 %0, %1" : "=r" (result) : "r" (value) ); + return result; +} + + +/** + \brief Reverse byte order (16 bit) + \details Reverses the byte order in a 16-bit value and returns the signed 16-bit result. For example, 0x0080 becomes 0x8000. + \param [in] value Value to reverse + \return Reversed value + */ +__attribute__((always_inline)) static inline int16_t __REVSH(int16_t value) +{ + + return (int16_t)__builtin_bswap16(value); + + + + + + +} + + +/** + \brief Rotate Right in unsigned value (32 bit) + \details Rotate Right (immediate) provides the value of the contents of a register rotated by a variable number of bits. + \param [in] op1 Value to rotate + \param [in] op2 Number of Bits to rotate + \return Rotated value + */ +__attribute__((always_inline)) static inline uint32_t __ROR(uint32_t op1, uint32_t op2) +{ + op2 %= 32U; + if (op2 == 0U) + { + return op1; + } + return (op1 >> op2) | (op1 << (32U - op2)); +} + + +/** + \brief Breakpoint + \details Causes the processor to enter Debug state. + Debug tools can use this to investigate system state when the instruction at a particular address is reached. + \param [in] value is ignored by the processor. + If required, a debugger can use it to store additional information about the breakpoint. + */ + + + +/** + \brief Reverse bit order of value + \details Reverses the bit order of the given value. + \param [in] value Value to reverse + \return Reversed value + */ +__attribute__((always_inline)) static inline uint32_t __RBIT(uint32_t value) +{ + uint32_t result; + + + + + __asm ("rbit %0, %1" : "=r" (result) : "r" (value) ); +# 393 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/cmsis_gcc.h" + return result; +} + + +/** + \brief Count leading zeros + \details Counts the number of leading zeros of a data value. + \param [in] value Value to count the leading zeros + \return number of leading zeros in value + */ +__attribute__((always_inline)) static inline uint8_t __CLZ(uint32_t value) +{ + /* Even though __builtin_clz produces a CLZ instruction on ARM, formally + __builtin_clz(0) is undefined behaviour, so handle this case specially. + This guarantees ARM-compatible results if happening to compile on a non-ARM + target, and ensures the compiler doesn't decide to activate any + optimisations using the logic "value was passed to __builtin_clz, so it + is non-zero". + ARM GCC 7.3 and possibly earlier will optimise this test away, leaving a + single CLZ instruction. + */ + if (value == 0U) + { + return 32U; + } + return __builtin_clz(value); +} + + + + + + +/** + \brief LDR Exclusive (8 bit) + \details Executes a exclusive LDR instruction for 8 bit value. + \param [in] ptr Pointer to data + \return value of type uint8_t at (*ptr) + */ +__attribute__((always_inline)) static inline uint8_t __LDREXB(volatile uint8_t *addr) +{ + uint32_t result; + + + __asm volatile ("ldrexb %0, %1" : "=r" (result) : "Q" (*addr) ); + + + + + + + return ((uint8_t) result); +} + + +/** + \brief LDR Exclusive (16 bit) + \details Executes a exclusive LDR instruction for 16 bit values. + \param [in] ptr Pointer to data + \return value of type uint16_t at (*ptr) + */ +__attribute__((always_inline)) static inline uint16_t __LDREXH(volatile uint16_t *addr) +{ + uint32_t result; + + + __asm volatile ("ldrexh %0, %1" : "=r" (result) : "Q" (*addr) ); + + + + + + + return ((uint16_t) result); +} + + +/** + \brief LDR Exclusive (32 bit) + \details Executes a exclusive LDR instruction for 32 bit values. + \param [in] ptr Pointer to data + \return value of type uint32_t at (*ptr) + */ +__attribute__((always_inline)) static inline uint32_t __LDREXW(volatile uint32_t *addr) +{ + uint32_t result; + + __asm volatile ("ldrex %0, %1" : "=r" (result) : "Q" (*addr) ); + return(result); +} + + +/** + \brief STR Exclusive (8 bit) + \details Executes a exclusive STR instruction for 8 bit values. + \param [in] value Value to store + \param [in] ptr Pointer to location + \return 0 Function succeeded + \return 1 Function failed + */ +__attribute__((always_inline)) static inline uint32_t __STREXB(uint8_t value, volatile uint8_t *addr) +{ + uint32_t result; + + __asm volatile ("strexb %0, %2, %1" : "=&r" (result), "=Q" (*addr) : "r" ((uint32_t)value) ); + return(result); +} + + +/** + \brief STR Exclusive (16 bit) + \details Executes a exclusive STR instruction for 16 bit values. + \param [in] value Value to store + \param [in] ptr Pointer to location + \return 0 Function succeeded + \return 1 Function failed + */ +__attribute__((always_inline)) static inline uint32_t __STREXH(uint16_t value, volatile uint16_t *addr) +{ + uint32_t result; + + __asm volatile ("strexh %0, %2, %1" : "=&r" (result), "=Q" (*addr) : "r" ((uint32_t)value) ); + return(result); +} + + +/** + \brief STR Exclusive (32 bit) + \details Executes a exclusive STR instruction for 32 bit values. + \param [in] value Value to store + \param [in] ptr Pointer to location + \return 0 Function succeeded + \return 1 Function failed + */ +__attribute__((always_inline)) static inline uint32_t __STREXW(uint32_t value, volatile uint32_t *addr) +{ + uint32_t result; + + __asm volatile ("strex %0, %2, %1" : "=&r" (result), "=Q" (*addr) : "r" (value) ); + return(result); +} + + +/** + \brief Remove the exclusive lock + \details Removes the exclusive lock which is created by LDREX. + */ +__attribute__((always_inline)) static inline void __CLREX(void) +{ + __asm volatile ("clrex" ::: "memory"); +} +# 554 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/cmsis_gcc.h" +/** + \brief Signed Saturate + \details Saturates a signed value. + \param [in] ARG1 Value to be saturated + \param [in] ARG2 Bit position to saturate to (1..32) + \return Saturated value + */ +# 570 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/cmsis_gcc.h" +/** + \brief Unsigned Saturate + \details Saturates an unsigned value. + \param [in] ARG1 Value to be saturated + \param [in] ARG2 Bit position to saturate to (0..31) + \return Saturated value + */ +# 586 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/cmsis_gcc.h" +/** + \brief Rotate Right with Extend (32 bit) + \details Moves each bit of a bitstring right by one bit. + The carry input is shifted in at the left end of the bitstring. + \param [in] value Value to rotate + \return Rotated value + */ +__attribute__((always_inline)) static inline uint32_t __RRX(uint32_t value) +{ + uint32_t result; + + __asm volatile ("rrx %0, %1" : "=r" (result) : "r" (value) ); + return(result); +} + + +/** + \brief LDRT Unprivileged (8 bit) + \details Executes a Unprivileged LDRT instruction for 8 bit value. + \param [in] ptr Pointer to data + \return value of type uint8_t at (*ptr) + */ +__attribute__((always_inline)) static inline uint8_t __LDRBT(volatile uint8_t *ptr) +{ + uint32_t result; + + + __asm volatile ("ldrbt %0, %1" : "=r" (result) : "Q" (*ptr) ); + + + + + + + return ((uint8_t) result); +} + + +/** + \brief LDRT Unprivileged (16 bit) + \details Executes a Unprivileged LDRT instruction for 16 bit values. + \param [in] ptr Pointer to data + \return value of type uint16_t at (*ptr) + */ +__attribute__((always_inline)) static inline uint16_t __LDRHT(volatile uint16_t *ptr) +{ + uint32_t result; + + + __asm volatile ("ldrht %0, %1" : "=r" (result) : "Q" (*ptr) ); + + + + + + + return ((uint16_t) result); +} + + +/** + \brief LDRT Unprivileged (32 bit) + \details Executes a Unprivileged LDRT instruction for 32 bit values. + \param [in] ptr Pointer to data + \return value of type uint32_t at (*ptr) + */ +__attribute__((always_inline)) static inline uint32_t __LDRT(volatile uint32_t *ptr) +{ + uint32_t result; + + __asm volatile ("ldrt %0, %1" : "=r" (result) : "Q" (*ptr) ); + return(result); +} + + +/** + \brief STRT Unprivileged (8 bit) + \details Executes a Unprivileged STRT instruction for 8 bit values. + \param [in] value Value to store + \param [in] ptr Pointer to location + */ +__attribute__((always_inline)) static inline void __STRBT(uint8_t value, volatile uint8_t *ptr) +{ + __asm volatile ("strbt %1, %0" : "=Q" (*ptr) : "r" ((uint32_t)value) ); +} + + +/** + \brief STRT Unprivileged (16 bit) + \details Executes a Unprivileged STRT instruction for 16 bit values. + \param [in] value Value to store + \param [in] ptr Pointer to location + */ +__attribute__((always_inline)) static inline void __STRHT(uint16_t value, volatile uint16_t *ptr) +{ + __asm volatile ("strht %1, %0" : "=Q" (*ptr) : "r" ((uint32_t)value) ); +} + + +/** + \brief STRT Unprivileged (32 bit) + \details Executes a Unprivileged STRT instruction for 32 bit values. + \param [in] value Value to store + \param [in] ptr Pointer to location + */ +__attribute__((always_inline)) static inline void __STRT(uint32_t value, volatile uint32_t *ptr) +{ + __asm volatile ("strt %1, %0" : "=Q" (*ptr) : "r" (value) ); +} +# 935 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/cmsis_gcc.h" +/*@}*/ /* end of group CMSIS_Core_InstructionInterface */ + + +/* ########################### Core Function Access ########################### */ +/** \ingroup CMSIS_Core_FunctionInterface + \defgroup CMSIS_Core_RegAccFunctions CMSIS Core Register Access Functions + @{ + */ + +/** + \brief Enable IRQ Interrupts + \details Enables IRQ interrupts by clearing special-purpose register PRIMASK. + Can only be executed in Privileged modes. + */ +__attribute__((always_inline)) static inline void __enable_irq(void) +{ + __asm volatile ("cpsie i" : : : "memory"); +} + + +/** + \brief Disable IRQ Interrupts + \details Disables IRQ interrupts by setting special-purpose register PRIMASK. + Can only be executed in Privileged modes. + */ +__attribute__((always_inline)) static inline void __disable_irq(void) +{ + __asm volatile ("cpsid i" : : : "memory"); +} + + +/** + \brief Get Control Register + \details Returns the content of the Control Register. + \return Control Register value + */ +__attribute__((always_inline)) static inline uint32_t __get_CONTROL(void) +{ + uint32_t result; + + __asm volatile ("MRS %0, control" : "=r" (result) ); + return(result); +} +# 996 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/cmsis_gcc.h" +/** + \brief Set Control Register + \details Writes the given value to the Control Register. + \param [in] control Control Register value to set + */ +__attribute__((always_inline)) static inline void __set_CONTROL(uint32_t control) +{ + __asm volatile ("MSR control, %0" : : "r" (control) : "memory"); + __ISB(); +} +# 1022 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/cmsis_gcc.h" +/** + \brief Get IPSR Register + \details Returns the content of the IPSR Register. + \return IPSR Register value + */ +__attribute__((always_inline)) static inline uint32_t __get_IPSR(void) +{ + uint32_t result; + + __asm volatile ("MRS %0, ipsr" : "=r" (result) ); + return(result); +} + + +/** + \brief Get APSR Register + \details Returns the content of the APSR Register. + \return APSR Register value + */ +__attribute__((always_inline)) static inline uint32_t __get_APSR(void) +{ + uint32_t result; + + __asm volatile ("MRS %0, apsr" : "=r" (result) ); + return(result); +} + + +/** + \brief Get xPSR Register + \details Returns the content of the xPSR Register. + \return xPSR Register value + */ +__attribute__((always_inline)) static inline uint32_t __get_xPSR(void) +{ + uint32_t result; + + __asm volatile ("MRS %0, xpsr" : "=r" (result) ); + return(result); +} + + +/** + \brief Get Process Stack Pointer + \details Returns the current value of the Process Stack Pointer (PSP). + \return PSP Register value + */ +__attribute__((always_inline)) static inline uint32_t __get_PSP(void) +{ + uint32_t result; + + __asm volatile ("MRS %0, psp" : "=r" (result) ); + return(result); +} +# 1094 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/cmsis_gcc.h" +/** + \brief Set Process Stack Pointer + \details Assigns the given value to the Process Stack Pointer (PSP). + \param [in] topOfProcStack Process Stack Pointer value to set + */ +__attribute__((always_inline)) static inline void __set_PSP(uint32_t topOfProcStack) +{ + __asm volatile ("MSR psp, %0" : : "r" (topOfProcStack) : ); +} +# 1118 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/cmsis_gcc.h" +/** + \brief Get Main Stack Pointer + \details Returns the current value of the Main Stack Pointer (MSP). + \return MSP Register value + */ +__attribute__((always_inline)) static inline uint32_t __get_MSP(void) +{ + uint32_t result; + + __asm volatile ("MRS %0, msp" : "=r" (result) ); + return(result); +} +# 1148 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/cmsis_gcc.h" +/** + \brief Set Main Stack Pointer + \details Assigns the given value to the Main Stack Pointer (MSP). + \param [in] topOfMainStack Main Stack Pointer value to set + */ +__attribute__((always_inline)) static inline void __set_MSP(uint32_t topOfMainStack) +{ + __asm volatile ("MSR msp, %0" : : "r" (topOfMainStack) : ); +} +# 1199 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/cmsis_gcc.h" +/** + \brief Get Priority Mask + \details Returns the current state of the priority mask bit from the Priority Mask Register. + \return Priority Mask value + */ +__attribute__((always_inline)) static inline uint32_t __get_PRIMASK(void) +{ + uint32_t result; + + __asm volatile ("MRS %0, primask" : "=r" (result) ); + return(result); +} +# 1229 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/cmsis_gcc.h" +/** + \brief Set Priority Mask + \details Assigns the given value to the Priority Mask Register. + \param [in] priMask Priority Mask + */ +__attribute__((always_inline)) static inline void __set_PRIMASK(uint32_t priMask) +{ + __asm volatile ("MSR primask, %0" : : "r" (priMask) : "memory"); +} +# 1256 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/cmsis_gcc.h" +/** + \brief Enable FIQ + \details Enables FIQ interrupts by clearing special-purpose register FAULTMASK. + Can only be executed in Privileged modes. + */ +__attribute__((always_inline)) static inline void __enable_fault_irq(void) +{ + __asm volatile ("cpsie f" : : : "memory"); +} + + +/** + \brief Disable FIQ + \details Disables FIQ interrupts by setting special-purpose register FAULTMASK. + Can only be executed in Privileged modes. + */ +__attribute__((always_inline)) static inline void __disable_fault_irq(void) +{ + __asm volatile ("cpsid f" : : : "memory"); +} + + +/** + \brief Get Base Priority + \details Returns the current value of the Base Priority register. + \return Base Priority register value + */ +__attribute__((always_inline)) static inline uint32_t __get_BASEPRI(void) +{ + uint32_t result; + + __asm volatile ("MRS %0, basepri" : "=r" (result) ); + return(result); +} +# 1308 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/cmsis_gcc.h" +/** + \brief Set Base Priority + \details Assigns the given value to the Base Priority register. + \param [in] basePri Base Priority value to set + */ +__attribute__((always_inline)) static inline void __set_BASEPRI(uint32_t basePri) +{ + __asm volatile ("MSR basepri, %0" : : "r" (basePri) : "memory"); +} +# 1332 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/cmsis_gcc.h" +/** + \brief Set Base Priority with condition + \details Assigns the given value to the Base Priority register only if BASEPRI masking is disabled, + or the new value increases the BASEPRI priority level. + \param [in] basePri Base Priority value to set + */ +__attribute__((always_inline)) static inline void __set_BASEPRI_MAX(uint32_t basePri) +{ + __asm volatile ("MSR basepri_max, %0" : : "r" (basePri) : "memory"); +} + + +/** + \brief Get Fault Mask + \details Returns the current value of the Fault Mask register. + \return Fault Mask register value + */ +__attribute__((always_inline)) static inline uint32_t __get_FAULTMASK(void) +{ + uint32_t result; + + __asm volatile ("MRS %0, faultmask" : "=r" (result) ); + return(result); +} +# 1374 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/cmsis_gcc.h" +/** + \brief Set Fault Mask + \details Assigns the given value to the Fault Mask register. + \param [in] faultMask Fault Mask value to set + */ +__attribute__((always_inline)) static inline void __set_FAULTMASK(uint32_t faultMask) +{ + __asm volatile ("MSR faultmask, %0" : : "r" (faultMask) : "memory"); +} +# 1583 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/cmsis_gcc.h" +/** + \brief Get FPSCR + \details Returns the current value of the Floating Point Status/Control register. + \return Floating Point Status/Control register value + */ +__attribute__((always_inline)) static inline uint32_t __get_FPSCR(void) +{ + + + +// Re-enable using built-in when GCC has been fixed +// || (__GNUC__ > 7) || (__GNUC__ == 7 && __GNUC_MINOR__ >= 2) + /* see https://gcc.gnu.org/ml/gcc-patches/2017-04/msg00443.html */ + return __builtin_arm_get_fpscr(); +# 1606 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/cmsis_gcc.h" +} + + +/** + \brief Set FPSCR + \details Assigns the given value to the Floating Point Status/Control register. + \param [in] fpscr Floating Point Status/Control value to set + */ +__attribute__((always_inline)) static inline void __set_FPSCR(uint32_t fpscr) +{ + + + +// Re-enable using built-in when GCC has been fixed +// || (__GNUC__ > 7) || (__GNUC__ == 7 && __GNUC_MINOR__ >= 2) + /* see https://gcc.gnu.org/ml/gcc-patches/2017-04/msg00443.html */ + __builtin_arm_set_fpscr(fpscr); + + + + + + +} + + +/*@} end of CMSIS_Core_RegAccFunctions */ + + +/* ################### Compiler specific Intrinsics ########################### */ +/** \defgroup CMSIS_SIMD_intrinsics CMSIS SIMD Intrinsics + Access to dedicated SIMD instructions + @{ +*/ + + + +__attribute__((always_inline)) static inline uint32_t __SADD8(uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm volatile ("sadd8 %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __QADD8(uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm ("qadd8 %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __SHADD8(uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm ("shadd8 %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __UADD8(uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm volatile ("uadd8 %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __UQADD8(uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm ("uqadd8 %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __UHADD8(uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm ("uhadd8 %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + + +__attribute__((always_inline)) static inline uint32_t __SSUB8(uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm volatile ("ssub8 %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __QSUB8(uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm ("qsub8 %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __SHSUB8(uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm ("shsub8 %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __USUB8(uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm volatile ("usub8 %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __UQSUB8(uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm ("uqsub8 %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __UHSUB8(uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm ("uhsub8 %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + + +__attribute__((always_inline)) static inline uint32_t __SADD16(uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm volatile ("sadd16 %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __QADD16(uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm ("qadd16 %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __SHADD16(uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm ("shadd16 %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __UADD16(uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm volatile ("uadd16 %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __UQADD16(uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm ("uqadd16 %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __UHADD16(uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm ("uhadd16 %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __SSUB16(uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm volatile ("ssub16 %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __QSUB16(uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm ("qsub16 %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __SHSUB16(uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm ("shsub16 %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __USUB16(uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm volatile ("usub16 %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __UQSUB16(uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm ("uqsub16 %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __UHSUB16(uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm ("uhsub16 %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __SASX(uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm volatile ("sasx %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __QASX(uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm ("qasx %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __SHASX(uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm ("shasx %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __UASX(uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm volatile ("uasx %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __UQASX(uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm ("uqasx %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __UHASX(uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm ("uhasx %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __SSAX(uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm volatile ("ssax %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __QSAX(uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm ("qsax %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __SHSAX(uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm ("shsax %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __USAX(uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm volatile ("usax %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __UQSAX(uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm ("uqsax %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __UHSAX(uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm ("uhsax %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __USAD8(uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm ("usad8 %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __USADA8(uint32_t op1, uint32_t op2, uint32_t op3) +{ + uint32_t result; + + __asm ("usada8 %0, %1, %2, %3" : "=r" (result) : "r" (op1), "r" (op2), "r" (op3) ); + return(result); +} +# 1965 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/cmsis_gcc.h" +__attribute__((always_inline)) static inline uint32_t __UXTB16(uint32_t op1) +{ + uint32_t result; + + __asm ("uxtb16 %0, %1" : "=r" (result) : "r" (op1)); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __UXTAB16(uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm ("uxtab16 %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __SXTB16(uint32_t op1) +{ + uint32_t result; + + __asm ("sxtb16 %0, %1" : "=r" (result) : "r" (op1)); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __SXTB16_RORn(uint32_t op1, uint32_t rotate) +{ + uint32_t result; + if (__builtin_constant_p(rotate) && ((rotate == 8U) || (rotate == 16U) || (rotate == 24U))) { + __asm volatile ("sxtb16 %0, %1, ROR %2" : "=r" (result) : "r" (op1), "i" (rotate) ); + } else { + result = __SXTB16(__ROR(op1, rotate)) ; + } + return result; +} + +__attribute__((always_inline)) static inline uint32_t __SXTAB16(uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm ("sxtab16 %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __SXTAB16_RORn(uint32_t op1, uint32_t op2, uint32_t rotate) +{ + uint32_t result; + if (__builtin_constant_p(rotate) && ((rotate == 8U) || (rotate == 16U) || (rotate == 24U))) { + __asm volatile ("sxtab16 %0, %1, %2, ROR %3" : "=r" (result) : "r" (op1) , "r" (op2) , "i" (rotate)); + } else { + result = __SXTAB16(op1, __ROR(op2, rotate)); + } + return result; +} + + +__attribute__((always_inline)) static inline uint32_t __SMUAD (uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm volatile ("smuad %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __SMUADX (uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm volatile ("smuadx %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __SMLAD (uint32_t op1, uint32_t op2, uint32_t op3) +{ + uint32_t result; + + __asm volatile ("smlad %0, %1, %2, %3" : "=r" (result) : "r" (op1), "r" (op2), "r" (op3) ); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __SMLADX (uint32_t op1, uint32_t op2, uint32_t op3) +{ + uint32_t result; + + __asm volatile ("smladx %0, %1, %2, %3" : "=r" (result) : "r" (op1), "r" (op2), "r" (op3) ); + return(result); +} + +__attribute__((always_inline)) static inline uint64_t __SMLALD (uint32_t op1, uint32_t op2, uint64_t acc) +{ + union llreg_u{ + uint32_t w32[2]; + uint64_t w64; + } llr; + llr.w64 = acc; + + + __asm volatile ("smlald %0, %1, %2, %3" : "=r" (llr.w32[0]), "=r" (llr.w32[1]): "r" (op1), "r" (op2) , "0" (llr.w32[0]), "1" (llr.w32[1]) ); + + + + + return(llr.w64); +} + +__attribute__((always_inline)) static inline uint64_t __SMLALDX (uint32_t op1, uint32_t op2, uint64_t acc) +{ + union llreg_u{ + uint32_t w32[2]; + uint64_t w64; + } llr; + llr.w64 = acc; + + + __asm volatile ("smlaldx %0, %1, %2, %3" : "=r" (llr.w32[0]), "=r" (llr.w32[1]): "r" (op1), "r" (op2) , "0" (llr.w32[0]), "1" (llr.w32[1]) ); + + + + + return(llr.w64); +} + +__attribute__((always_inline)) static inline uint32_t __SMUSD (uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm volatile ("smusd %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __SMUSDX (uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm volatile ("smusdx %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __SMLSD (uint32_t op1, uint32_t op2, uint32_t op3) +{ + uint32_t result; + + __asm volatile ("smlsd %0, %1, %2, %3" : "=r" (result) : "r" (op1), "r" (op2), "r" (op3) ); + return(result); +} + +__attribute__((always_inline)) static inline uint32_t __SMLSDX (uint32_t op1, uint32_t op2, uint32_t op3) +{ + uint32_t result; + + __asm volatile ("smlsdx %0, %1, %2, %3" : "=r" (result) : "r" (op1), "r" (op2), "r" (op3) ); + return(result); +} + +__attribute__((always_inline)) static inline uint64_t __SMLSLD (uint32_t op1, uint32_t op2, uint64_t acc) +{ + union llreg_u{ + uint32_t w32[2]; + uint64_t w64; + } llr; + llr.w64 = acc; + + + __asm volatile ("smlsld %0, %1, %2, %3" : "=r" (llr.w32[0]), "=r" (llr.w32[1]): "r" (op1), "r" (op2) , "0" (llr.w32[0]), "1" (llr.w32[1]) ); + + + + + return(llr.w64); +} + +__attribute__((always_inline)) static inline uint64_t __SMLSLDX (uint32_t op1, uint32_t op2, uint64_t acc) +{ + union llreg_u{ + uint32_t w32[2]; + uint64_t w64; + } llr; + llr.w64 = acc; + + + __asm volatile ("smlsldx %0, %1, %2, %3" : "=r" (llr.w32[0]), "=r" (llr.w32[1]): "r" (op1), "r" (op2) , "0" (llr.w32[0]), "1" (llr.w32[1]) ); + + + + + return(llr.w64); +} + +__attribute__((always_inline)) static inline uint32_t __SEL (uint32_t op1, uint32_t op2) +{ + uint32_t result; + + __asm volatile ("sel %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + +__attribute__((always_inline)) static inline int32_t __QADD( int32_t op1, int32_t op2) +{ + int32_t result; + + __asm volatile ("qadd %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} + +__attribute__((always_inline)) static inline int32_t __QSUB( int32_t op1, int32_t op2) +{ + int32_t result; + + __asm volatile ("qsub %0, %1, %2" : "=r" (result) : "r" (op1), "r" (op2) ); + return(result); +} +# 2197 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/cmsis_gcc.h" +__attribute__((always_inline)) static inline int32_t __SMMLA (int32_t op1, int32_t op2, int32_t op3) +{ + int32_t result; + + __asm ("smmla %0, %1, %2, %3" : "=r" (result): "r" (op1), "r" (op2), "r" (op3) ); + return(result); +} + + +/*@} end of group CMSIS_SIMD_intrinsics */ + + +#pragma GCC diagnostic pop +# 55 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/cmsis_compiler.h" 2 + + +/* + * IAR Compiler + */ +# 163 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" 2 + + + +} +# 177 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" + extern "C" { + + +/* check device defines and use defaults */ +# 228 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/* IO definitions (access restrictions to peripheral registers) */ +/** + \defgroup CMSIS_glob_defs CMSIS Global Defines + + IO Type Qualifiers are used + \li to specify the access to peripheral variables. + \li for automatic generation of peripheral register debug information. +*/ +# 244 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/* following defines should be used for structure members */ + + + + +/*@} end of group Cortex_M7 */ + + + +/******************************************************************************* + * Register Abstraction + Core Register contain: + - Core Register + - Core NVIC Register + - Core SCB Register + - Core SysTick Register + - Core Debug Register + - Core MPU Register + - Core FPU Register + ******************************************************************************/ +/** + \defgroup CMSIS_core_register Defines and Type Definitions + \brief Type definitions and defines for Cortex-M processor based devices. +*/ + +/** + \ingroup CMSIS_core_register + \defgroup CMSIS_CORE Status and Control Registers + \brief Core Register type definitions. + @{ + */ + +/** + \brief Union type to access the Application Program Status Register (APSR). + */ +typedef union +{ + struct + { + uint32_t _reserved0:16; + uint32_t GE:4; + uint32_t _reserved1:7; + uint32_t Q:1; + uint32_t V:1; + uint32_t C:1; + uint32_t Z:1; + uint32_t N:1; + } b; + uint32_t w; +} APSR_Type; + +/* APSR Register Definitions */ +# 315 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/** + \brief Union type to access the Interrupt Program Status Register (IPSR). + */ +typedef union +{ + struct + { + uint32_t ISR:9; + uint32_t _reserved0:23; + } b; + uint32_t w; +} IPSR_Type; + +/* IPSR Register Definitions */ + + + + +/** + \brief Union type to access the Special-Purpose Program Status Registers (xPSR). + */ +typedef union +{ + struct + { + uint32_t ISR:9; + uint32_t _reserved0:1; + uint32_t ICI_IT_1:6; + uint32_t GE:4; + uint32_t _reserved1:4; + uint32_t T:1; + uint32_t ICI_IT_2:2; + uint32_t Q:1; + uint32_t V:1; + uint32_t C:1; + uint32_t Z:1; + uint32_t N:1; + } b; + uint32_t w; +} xPSR_Type; + +/* xPSR Register Definitions */ +# 388 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/** + \brief Union type to access the Control Registers (CONTROL). + */ +typedef union +{ + struct + { + uint32_t nPRIV:1; + uint32_t SPSEL:1; + uint32_t FPCA:1; + uint32_t _reserved0:29; + } b; + uint32_t w; +} CONTROL_Type; + +/* CONTROL Register Definitions */ +# 413 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/*@} end of group CMSIS_CORE */ + + +/** + \ingroup CMSIS_core_register + \defgroup CMSIS_NVIC Nested Vectored Interrupt Controller (NVIC) + \brief Type definitions for the NVIC Registers + @{ + */ + +/** + \brief Structure type to access the Nested Vectored Interrupt Controller (NVIC). + */ +typedef struct +{ + volatile uint32_t ISER[8U]; + uint32_t RESERVED0[24U]; + volatile uint32_t ICER[8U]; + uint32_t RESERVED1[24U]; + volatile uint32_t ISPR[8U]; + uint32_t RESERVED2[24U]; + volatile uint32_t ICPR[8U]; + uint32_t RESERVED3[24U]; + volatile uint32_t IABR[8U]; + uint32_t RESERVED4[56U]; + volatile uint8_t IP[240U]; + uint32_t RESERVED5[644U]; + volatile uint32_t STIR; +} NVIC_Type; + +/* Software Triggered Interrupt Register Definitions */ + + + +/*@} end of group CMSIS_NVIC */ + + +/** + \ingroup CMSIS_core_register + \defgroup CMSIS_SCB System Control Block (SCB) + \brief Type definitions for the System Control Block Registers + @{ + */ + +/** + \brief Structure type to access the System Control Block (SCB). + */ +typedef struct +{ + volatile const uint32_t CPUID; + volatile uint32_t ICSR; + volatile uint32_t VTOR; + volatile uint32_t AIRCR; + volatile uint32_t SCR; + volatile uint32_t CCR; + volatile uint8_t SHPR[12U]; + volatile uint32_t SHCSR; + volatile uint32_t CFSR; + volatile uint32_t HFSR; + volatile uint32_t DFSR; + volatile uint32_t MMFAR; + volatile uint32_t BFAR; + volatile uint32_t AFSR; + volatile const uint32_t ID_PFR[2U]; + volatile const uint32_t ID_DFR; + volatile const uint32_t ID_AFR; + volatile const uint32_t ID_MFR[4U]; + volatile const uint32_t ID_ISAR[5U]; + uint32_t RESERVED0[1U]; + volatile const uint32_t CLIDR; + volatile const uint32_t CTR; + volatile const uint32_t CCSIDR; + volatile uint32_t CSSELR; + volatile uint32_t CPACR; + uint32_t RESERVED3[93U]; + volatile uint32_t STIR; + uint32_t RESERVED4[15U]; + volatile const uint32_t MVFR0; + volatile const uint32_t MVFR1; + volatile const uint32_t MVFR2; + uint32_t RESERVED5[1U]; + volatile uint32_t ICIALLU; + uint32_t RESERVED6[1U]; + volatile uint32_t ICIMVAU; + volatile uint32_t DCIMVAC; + volatile uint32_t DCISW; + volatile uint32_t DCCMVAU; + volatile uint32_t DCCMVAC; + volatile uint32_t DCCSW; + volatile uint32_t DCCIMVAC; + volatile uint32_t DCCISW; + volatile uint32_t BPIALL; + uint32_t RESERVED7[5U]; + volatile uint32_t ITCMCR; + volatile uint32_t DTCMCR; + volatile uint32_t AHBPCR; + volatile uint32_t CACR; + volatile uint32_t AHBSCR; + uint32_t RESERVED8[1U]; + volatile uint32_t ABFSR; +} SCB_Type; + +/* SCB CPUID Register Definitions */ +# 531 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/* SCB Interrupt Control State Register Definitions */ +# 562 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/* SCB Vector Table Offset Register Definitions */ + + + +/* SCB Application Interrupt and Reset Control Register Definitions */ +# 588 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/* SCB System Control Register Definitions */ +# 598 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/* SCB Configuration Control Register Definitions */ +# 626 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/* SCB System Handler Control and State Register Definitions */ +# 669 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/* SCB Configurable Fault Status Register Definitions */ +# 679 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/* MemManage Fault Status Register (part of SCB Configurable Fault Status Register) */ +# 698 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/* BusFault Status Register (part of SCB Configurable Fault Status Register) */ +# 720 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/* UsageFault Status Register (part of SCB Configurable Fault Status Register) */ +# 739 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/* SCB Hard Fault Status Register Definitions */ +# 749 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/* SCB Debug Fault Status Register Definitions */ +# 765 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/* SCB Cache Level ID Register Definitions */ + + + + + + +/* SCB Cache Type Register Definitions */ +# 788 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/* SCB Cache Size ID Register Definitions */ +# 810 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/* SCB Cache Size Selection Register Definitions */ + + + + + + +/* SCB Software Triggered Interrupt Register Definitions */ + + + +/* SCB D-Cache Invalidate by Set-way Register Definitions */ + + + + + + +/* SCB D-Cache Clean by Set-way Register Definitions */ + + + + + + +/* SCB D-Cache Clean and Invalidate by Set-way Register Definitions */ + + + + + + +/* Instruction Tightly-Coupled Memory Control Register Definitions */ +# 855 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/* Data Tightly-Coupled Memory Control Register Definitions */ +# 868 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/* AHBP Control Register Definitions */ + + + + + + +/* L1 Cache Control Register Definitions */ +# 888 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/* AHBS Control Register Definitions */ +# 898 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/* Auxiliary Bus Fault Status Register Definitions */ +# 917 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/*@} end of group CMSIS_SCB */ + + +/** + \ingroup CMSIS_core_register + \defgroup CMSIS_SCnSCB System Controls not in SCB (SCnSCB) + \brief Type definitions for the System Control and ID Register not in the SCB + @{ + */ + +/** + \brief Structure type to access the System Control and ID Register not in the SCB. + */ +typedef struct +{ + uint32_t RESERVED0[1U]; + volatile const uint32_t ICTR; + volatile uint32_t ACTLR; +} SCnSCB_Type; + +/* Interrupt Controller Type Register Definitions */ + + + +/* Auxiliary Control Register Definitions */ +# 975 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/*@} end of group CMSIS_SCnotSCB */ + + +/** + \ingroup CMSIS_core_register + \defgroup CMSIS_SysTick System Tick Timer (SysTick) + \brief Type definitions for the System Timer Registers. + @{ + */ + +/** + \brief Structure type to access the System Timer (SysTick). + */ +typedef struct +{ + volatile uint32_t CTRL; + volatile uint32_t LOAD; + volatile uint32_t VAL; + volatile const uint32_t CALIB; +} SysTick_Type; + +/* SysTick Control / Status Register Definitions */ +# 1009 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/* SysTick Reload Register Definitions */ + + + +/* SysTick Current Register Definitions */ + + + +/* SysTick Calibration Register Definitions */ +# 1027 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/*@} end of group CMSIS_SysTick */ + + +/** + \ingroup CMSIS_core_register + \defgroup CMSIS_ITM Instrumentation Trace Macrocell (ITM) + \brief Type definitions for the Instrumentation Trace Macrocell (ITM) + @{ + */ + +/** + \brief Structure type to access the Instrumentation Trace Macrocell Register (ITM). + */ +typedef struct +{ + volatile union + { + volatile uint8_t u8; + volatile uint16_t u16; + volatile uint32_t u32; + } PORT [32U]; + uint32_t RESERVED0[864U]; + volatile uint32_t TER; + uint32_t RESERVED1[15U]; + volatile uint32_t TPR; + uint32_t RESERVED2[15U]; + volatile uint32_t TCR; + uint32_t RESERVED3[32U]; + uint32_t RESERVED4[43U]; + volatile uint32_t LAR; + volatile const uint32_t LSR; + uint32_t RESERVED5[6U]; + volatile const uint32_t PID4; + volatile const uint32_t PID5; + volatile const uint32_t PID6; + volatile const uint32_t PID7; + volatile const uint32_t PID0; + volatile const uint32_t PID1; + volatile const uint32_t PID2; + volatile const uint32_t PID3; + volatile const uint32_t CID0; + volatile const uint32_t CID1; + volatile const uint32_t CID2; + volatile const uint32_t CID3; +} ITM_Type; + +/* ITM Trace Privilege Register Definitions */ + + + +/* ITM Trace Control Register Definitions */ +# 1105 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/* ITM Lock Status Register Definitions */ +# 1115 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/*@}*/ /* end of group CMSIS_ITM */ + + +/** + \ingroup CMSIS_core_register + \defgroup CMSIS_DWT Data Watchpoint and Trace (DWT) + \brief Type definitions for the Data Watchpoint and Trace (DWT) + @{ + */ + +/** + \brief Structure type to access the Data Watchpoint and Trace Register (DWT). + */ +typedef struct +{ + volatile uint32_t CTRL; + volatile uint32_t CYCCNT; + volatile uint32_t CPICNT; + volatile uint32_t EXCCNT; + volatile uint32_t SLEEPCNT; + volatile uint32_t LSUCNT; + volatile uint32_t FOLDCNT; + volatile const uint32_t PCSR; + volatile uint32_t COMP0; + volatile uint32_t MASK0; + volatile uint32_t FUNCTION0; + uint32_t RESERVED0[1U]; + volatile uint32_t COMP1; + volatile uint32_t MASK1; + volatile uint32_t FUNCTION1; + uint32_t RESERVED1[1U]; + volatile uint32_t COMP2; + volatile uint32_t MASK2; + volatile uint32_t FUNCTION2; + uint32_t RESERVED2[1U]; + volatile uint32_t COMP3; + volatile uint32_t MASK3; + volatile uint32_t FUNCTION3; + uint32_t RESERVED3[981U]; + volatile uint32_t LAR; + volatile const uint32_t LSR; +} DWT_Type; + +/* DWT Control Register Definitions */ +# 1213 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/* DWT CPI Count Register Definitions */ + + + +/* DWT Exception Overhead Count Register Definitions */ + + + +/* DWT Sleep Count Register Definitions */ + + + +/* DWT LSU Count Register Definitions */ + + + +/* DWT Folded-instruction Count Register Definitions */ + + + +/* DWT Comparator Mask Register Definitions */ + + + +/* DWT Comparator Function Register Definitions */ +# 1265 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/*@}*/ /* end of group CMSIS_DWT */ + + +/** + \ingroup CMSIS_core_register + \defgroup CMSIS_TPI Trace Port Interface (TPI) + \brief Type definitions for the Trace Port Interface (TPI) + @{ + */ + +/** + \brief Structure type to access the Trace Port Interface Register (TPI). + */ +typedef struct +{ + volatile const uint32_t SSPSR; + volatile uint32_t CSPSR; + uint32_t RESERVED0[2U]; + volatile uint32_t ACPR; + uint32_t RESERVED1[55U]; + volatile uint32_t SPPR; + uint32_t RESERVED2[131U]; + volatile const uint32_t FFSR; + volatile uint32_t FFCR; + volatile const uint32_t FSCR; + uint32_t RESERVED3[759U]; + volatile const uint32_t TRIGGER; + volatile const uint32_t FIFO0; + volatile const uint32_t ITATBCTR2; + uint32_t RESERVED4[1U]; + volatile const uint32_t ITATBCTR0; + volatile const uint32_t FIFO1; + volatile uint32_t ITCTRL; + uint32_t RESERVED5[39U]; + volatile uint32_t CLAIMSET; + volatile uint32_t CLAIMCLR; + uint32_t RESERVED7[8U]; + volatile const uint32_t DEVID; + volatile const uint32_t DEVTYPE; +} TPI_Type; + +/* TPI Asynchronous Clock Prescaler Register Definitions */ + + + +/* TPI Selected Pin Protocol Register Definitions */ + + + +/* TPI Formatter and Flush Status Register Definitions */ +# 1327 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/* TPI Formatter and Flush Control Register Definitions */ + + + + + + +/* TPI TRIGGER Register Definitions */ + + + +/* TPI Integration ETM Data Register Definitions (FIFO0) */ +# 1360 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/* TPI ITATBCTR2 Register Definitions */ + + + + + + +/* TPI Integration ITM Data Register Definitions (FIFO1) */ +# 1389 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/* TPI ITATBCTR0 Register Definitions */ + + + + + + +/* TPI Integration Mode Control Register Definitions */ + + + +/* TPI DEVID Register Definitions */ +# 1419 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/* TPI DEVTYPE Register Definitions */ + + + + + + +/*@}*/ /* end of group CMSIS_TPI */ + + + +/** + \ingroup CMSIS_core_register + \defgroup CMSIS_MPU Memory Protection Unit (MPU) + \brief Type definitions for the Memory Protection Unit (MPU) + @{ + */ + +/** + \brief Structure type to access the Memory Protection Unit (MPU). + */ +typedef struct +{ + volatile const uint32_t TYPE; + volatile uint32_t CTRL; + volatile uint32_t RNR; + volatile uint32_t RBAR; + volatile uint32_t RASR; + volatile uint32_t RBAR_A1; + volatile uint32_t RASR_A1; + volatile uint32_t RBAR_A2; + volatile uint32_t RASR_A2; + volatile uint32_t RBAR_A3; + volatile uint32_t RASR_A3; +} MPU_Type; + + + +/* MPU Type Register Definitions */ +# 1467 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/* MPU Control Register Definitions */ +# 1477 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/* MPU Region Number Register Definitions */ + + + +/* MPU Region Base Address Register Definitions */ +# 1491 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/* MPU Region Attribute and Size Register Definitions */ +# 1522 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/*@} end of group CMSIS_MPU */ + + + +/** + \ingroup CMSIS_core_register + \defgroup CMSIS_FPU Floating Point Unit (FPU) + \brief Type definitions for the Floating Point Unit (FPU) + @{ + */ + +/** + \brief Structure type to access the Floating Point Unit (FPU). + */ +typedef struct +{ + uint32_t RESERVED0[1U]; + volatile uint32_t FPCCR; + volatile uint32_t FPCAR; + volatile uint32_t FPDSCR; + volatile const uint32_t MVFR0; + volatile const uint32_t MVFR1; + volatile const uint32_t MVFR2; +} FPU_Type; + +/* Floating-Point Context Control Register Definitions */ +# 1575 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/* Floating-Point Context Address Register Definitions */ + + + +/* Floating-Point Default Status Control Register Definitions */ +# 1592 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/* Media and FP Feature Register 0 Definitions */ +# 1617 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/* Media and FP Feature Register 1 Definitions */ +# 1630 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/* Media and FP Feature Register 2 Definitions */ + + + + +/*@} end of group CMSIS_FPU */ + + +/** + \ingroup CMSIS_core_register + \defgroup CMSIS_CoreDebug Core Debug Registers (CoreDebug) + \brief Type definitions for the Core Debug Registers + @{ + */ + +/** + \brief Structure type to access the Core Debug Register (CoreDebug). + */ +typedef struct +{ + volatile uint32_t DHCSR; + volatile uint32_t DCRSR; + volatile uint32_t DCRDR; + volatile uint32_t DEMCR; +} CoreDebug_Type; + +/* Debug Halting Control and Status Register Definitions */ +# 1693 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/* Debug Core Register Selector Register Definitions */ + + + + + + +/* Debug Exception and Monitor Control Register Definitions */ +# 1740 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/*@} end of group CMSIS_CoreDebug */ + + +/** + \ingroup CMSIS_core_register + \defgroup CMSIS_core_bitfield Core register bit field macros + \brief Macros for use with bit field definitions (xxx_Pos, xxx_Msk). + @{ + */ + +/** + \brief Mask and shift a bit field value for use in a register bit range. + \param[in] field Name of the register bit field. + \param[in] value Value of the bit field. This parameter is interpreted as an uint32_t type. + \return Masked and shifted value. +*/ + + +/** + \brief Mask and shift a register value to extract a bit filed value. + \param[in] field Name of the register bit field. + \param[in] value Value of register. This parameter is interpreted as an uint32_t type. + \return Masked and shifted bit field value. +*/ + + +/*@} end of group CMSIS_core_bitfield */ + + +/** + \ingroup CMSIS_core_register + \defgroup CMSIS_core_base Core Definitions + \brief Definitions for base addresses, unions, and structures. + @{ + */ + +/* Memory mapping of Core Hardware */ +# 1803 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/*@} */ + + + +/******************************************************************************* + * Hardware Abstraction Layer + Core Function Interface contains: + - Core NVIC Functions + - Core SysTick Functions + - Core Debug Functions + - Core Register Access Functions + ******************************************************************************/ +/** + \defgroup CMSIS_Core_FunctionInterface Functions and Instructions Reference +*/ + + + +/* ########################## NVIC functions #################################### */ +/** + \ingroup CMSIS_Core_FunctionInterface + \defgroup CMSIS_Core_NVICFunctions NVIC Functions + \brief Functions that manage interrupts and exceptions via the NVIC. + @{ + */ +# 1862 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/* The following EXC_RETURN values are saved the LR on exception entry */ +# 1871 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" +/** + \brief Set Priority Grouping + \details Sets the priority grouping field using the required unlock sequence. + The parameter PriorityGroup is assigned to the field SCB->AIRCR [10:8] PRIGROUP field. + Only values from 0..7 are used. + In case of a conflict between priority grouping and available + priority bits (__NVIC_PRIO_BITS), the smallest possible priority group is set. + \param [in] PriorityGroup Priority grouping field. + */ +static inline void __NVIC_SetPriorityGrouping(uint32_t PriorityGroup) +{ + uint32_t reg_value; + uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL); + + reg_value = ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->AIRCR; + reg_value &= ~((uint32_t)((0xFFFFUL << 16U) | (7UL << 8U))); + reg_value = (reg_value | + ((uint32_t)0x5FAUL << 16U) | + (PriorityGroupTmp << 8U) ); + ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->AIRCR = reg_value; +} + + +/** + \brief Get Priority Grouping + \details Reads the priority grouping field from the NVIC Interrupt Controller. + \return Priority grouping field (SCB->AIRCR [10:8] PRIGROUP field). + */ +static inline uint32_t __NVIC_GetPriorityGrouping(void) +{ + return ((uint32_t)((((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->AIRCR & (7UL << 8U)) >> 8U)); +} + + +/** + \brief Enable Interrupt + \details Enables a device specific interrupt in the NVIC interrupt controller. + \param [in] IRQn Device specific interrupt number. + \note IRQn must not be negative. + */ +static inline void __NVIC_EnableIRQ(IRQn_Type IRQn) +{ + if ((int32_t)(IRQn) >= 0) + { + __asm volatile("":::"memory"); + ((NVIC_Type *) ((0xE000E000UL) + 0x0100UL) )->ISER[(((uint32_t)IRQn) >> 5UL)] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL)); + __asm volatile("":::"memory"); + } +} + + +/** + \brief Get Interrupt Enable status + \details Returns a device specific interrupt enable status from the NVIC interrupt controller. + \param [in] IRQn Device specific interrupt number. + \return 0 Interrupt is not enabled. + \return 1 Interrupt is enabled. + \note IRQn must not be negative. + */ +static inline uint32_t __NVIC_GetEnableIRQ(IRQn_Type IRQn) +{ + if ((int32_t)(IRQn) >= 0) + { + return((uint32_t)(((((NVIC_Type *) ((0xE000E000UL) + 0x0100UL) )->ISER[(((uint32_t)IRQn) >> 5UL)] & (1UL << (((uint32_t)IRQn) & 0x1FUL))) != 0UL) ? 1UL : 0UL)); + } + else + { + return(0U); + } +} + + +/** + \brief Disable Interrupt + \details Disables a device specific interrupt in the NVIC interrupt controller. + \param [in] IRQn Device specific interrupt number. + \note IRQn must not be negative. + */ +static inline void __NVIC_DisableIRQ(IRQn_Type IRQn) +{ + if ((int32_t)(IRQn) >= 0) + { + ((NVIC_Type *) ((0xE000E000UL) + 0x0100UL) )->ICER[(((uint32_t)IRQn) >> 5UL)] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL)); + __DSB(); + __ISB(); + } +} + + +/** + \brief Get Pending Interrupt + \details Reads the NVIC pending register and returns the pending bit for the specified device specific interrupt. + \param [in] IRQn Device specific interrupt number. + \return 0 Interrupt status is not pending. + \return 1 Interrupt status is pending. + \note IRQn must not be negative. + */ +static inline uint32_t __NVIC_GetPendingIRQ(IRQn_Type IRQn) +{ + if ((int32_t)(IRQn) >= 0) + { + return((uint32_t)(((((NVIC_Type *) ((0xE000E000UL) + 0x0100UL) )->ISPR[(((uint32_t)IRQn) >> 5UL)] & (1UL << (((uint32_t)IRQn) & 0x1FUL))) != 0UL) ? 1UL : 0UL)); + } + else + { + return(0U); + } +} + + +/** + \brief Set Pending Interrupt + \details Sets the pending bit of a device specific interrupt in the NVIC pending register. + \param [in] IRQn Device specific interrupt number. + \note IRQn must not be negative. + */ +static inline void __NVIC_SetPendingIRQ(IRQn_Type IRQn) +{ + if ((int32_t)(IRQn) >= 0) + { + ((NVIC_Type *) ((0xE000E000UL) + 0x0100UL) )->ISPR[(((uint32_t)IRQn) >> 5UL)] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL)); + } +} + + +/** + \brief Clear Pending Interrupt + \details Clears the pending bit of a device specific interrupt in the NVIC pending register. + \param [in] IRQn Device specific interrupt number. + \note IRQn must not be negative. + */ +static inline void __NVIC_ClearPendingIRQ(IRQn_Type IRQn) +{ + if ((int32_t)(IRQn) >= 0) + { + ((NVIC_Type *) ((0xE000E000UL) + 0x0100UL) )->ICPR[(((uint32_t)IRQn) >> 5UL)] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL)); + } +} + + +/** + \brief Get Active Interrupt + \details Reads the active register in the NVIC and returns the active bit for the device specific interrupt. + \param [in] IRQn Device specific interrupt number. + \return 0 Interrupt status is not active. + \return 1 Interrupt status is active. + \note IRQn must not be negative. + */ +static inline uint32_t __NVIC_GetActive(IRQn_Type IRQn) +{ + if ((int32_t)(IRQn) >= 0) + { + return((uint32_t)(((((NVIC_Type *) ((0xE000E000UL) + 0x0100UL) )->IABR[(((uint32_t)IRQn) >> 5UL)] & (1UL << (((uint32_t)IRQn) & 0x1FUL))) != 0UL) ? 1UL : 0UL)); + } + else + { + return(0U); + } +} + + +/** + \brief Set Interrupt Priority + \details Sets the priority of a device specific interrupt or a processor exception. + The interrupt number can be positive to specify a device specific interrupt, + or negative to specify a processor exception. + \param [in] IRQn Interrupt number. + \param [in] priority Priority to set. + \note The priority cannot be set for every processor exception. + */ +static inline void __NVIC_SetPriority(IRQn_Type IRQn, uint32_t priority) +{ + if ((int32_t)(IRQn) >= 0) + { + ((NVIC_Type *) ((0xE000E000UL) + 0x0100UL) )->IP[((uint32_t)IRQn)] = (uint8_t)((priority << (8U - 4U)) & (uint32_t)0xFFUL); + } + else + { + ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->SHPR[(((uint32_t)IRQn) & 0xFUL)-4UL] = (uint8_t)((priority << (8U - 4U)) & (uint32_t)0xFFUL); + } +} + + +/** + \brief Get Interrupt Priority + \details Reads the priority of a device specific interrupt or a processor exception. + The interrupt number can be positive to specify a device specific interrupt, + or negative to specify a processor exception. + \param [in] IRQn Interrupt number. + \return Interrupt Priority. + Value is aligned automatically to the implemented priority bits of the microcontroller. + */ +static inline uint32_t __NVIC_GetPriority(IRQn_Type IRQn) +{ + + if ((int32_t)(IRQn) >= 0) + { + return(((uint32_t)((NVIC_Type *) ((0xE000E000UL) + 0x0100UL) )->IP[((uint32_t)IRQn)] >> (8U - 4U))); + } + else + { + return(((uint32_t)((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->SHPR[(((uint32_t)IRQn) & 0xFUL)-4UL] >> (8U - 4U))); + } +} + + +/** + \brief Encode Priority + \details Encodes the priority for an interrupt with the given priority group, + preemptive priority value, and subpriority value. + In case of a conflict between priority grouping and available + priority bits (__NVIC_PRIO_BITS), the smallest possible priority group is set. + \param [in] PriorityGroup Used priority group. + \param [in] PreemptPriority Preemptive priority value (starting from 0). + \param [in] SubPriority Subpriority value (starting from 0). + \return Encoded priority. Value can be used in the function \ref NVIC_SetPriority(). + */ +static inline uint32_t NVIC_EncodePriority (uint32_t PriorityGroup, uint32_t PreemptPriority, uint32_t SubPriority) +{ + uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL); + uint32_t PreemptPriorityBits; + uint32_t SubPriorityBits; + + PreemptPriorityBits = ((7UL - PriorityGroupTmp) > (uint32_t)(4U)) ? (uint32_t)(4U) : (uint32_t)(7UL - PriorityGroupTmp); + SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(4U)) < (uint32_t)7UL) ? (uint32_t)0UL : (uint32_t)((PriorityGroupTmp - 7UL) + (uint32_t)(4U)); + + return ( + ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits) | + ((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL))) + ); +} + + +/** + \brief Decode Priority + \details Decodes an interrupt priority value with a given priority group to + preemptive priority value and subpriority value. + In case of a conflict between priority grouping and available + priority bits (__NVIC_PRIO_BITS) the smallest possible priority group is set. + \param [in] Priority Priority value, which can be retrieved with the function \ref NVIC_GetPriority(). + \param [in] PriorityGroup Used priority group. + \param [out] pPreemptPriority Preemptive priority value (starting from 0). + \param [out] pSubPriority Subpriority value (starting from 0). + */ +static inline void NVIC_DecodePriority (uint32_t Priority, uint32_t PriorityGroup, uint32_t* const pPreemptPriority, uint32_t* const pSubPriority) +{ + uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL); + uint32_t PreemptPriorityBits; + uint32_t SubPriorityBits; + + PreemptPriorityBits = ((7UL - PriorityGroupTmp) > (uint32_t)(4U)) ? (uint32_t)(4U) : (uint32_t)(7UL - PriorityGroupTmp); + SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(4U)) < (uint32_t)7UL) ? (uint32_t)0UL : (uint32_t)((PriorityGroupTmp - 7UL) + (uint32_t)(4U)); + + *pPreemptPriority = (Priority >> SubPriorityBits) & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL); + *pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1UL); +} + + +/** + \brief Set Interrupt Vector + \details Sets an interrupt vector in SRAM based interrupt vector table. + The interrupt number can be positive to specify a device specific interrupt, + or negative to specify a processor exception. + VTOR must been relocated to SRAM before. + \param [in] IRQn Interrupt number + \param [in] vector Address of interrupt handler function + */ +static inline void __NVIC_SetVector(IRQn_Type IRQn, uint32_t vector) +{ + uint32_t *vectors = (uint32_t *)((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->VTOR; + vectors[(int32_t)IRQn + 16] = vector; + __DSB(); +} + + +/** + \brief Get Interrupt Vector + \details Reads an interrupt vector from interrupt vector table. + The interrupt number can be positive to specify a device specific interrupt, + or negative to specify a processor exception. + \param [in] IRQn Interrupt number. + \return Address of interrupt handler function + */ +static inline uint32_t __NVIC_GetVector(IRQn_Type IRQn) +{ + uint32_t *vectors = (uint32_t *)((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->VTOR; + return vectors[(int32_t)IRQn + 16]; +} + + +/** + \brief System Reset + \details Initiates a system reset request to reset the MCU. + */ +__attribute__((__noreturn__)) static inline void __NVIC_SystemReset(void) +{ + __DSB(); /* Ensure all outstanding memory accesses included + buffered write are completed before reset */ + ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->AIRCR = (uint32_t)((0x5FAUL << 16U) | + (((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->AIRCR & (7UL << 8U)) | + (1UL << 2U) ); + __DSB(); + + for(;;) + { + __asm volatile ("nop"); + } +} + +/*@} end of CMSIS_Core_NVICFunctions */ + + +/* ########################## MPU functions #################################### */ + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/mpu_armv7.h" 1 +/****************************************************************************** + * @file mpu_armv7.h + * @brief CMSIS MPU API for Armv7-M MPU + * @version V5.1.2 + * @date 25. May 2020 + ******************************************************************************/ +/* + * Copyright (c) 2017-2020 Arm Limited. All rights reserved. + * + * SPDX-License-Identifier: Apache-2.0 + * + * 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 + * + * 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. + */ +# 70 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/mpu_armv7.h" +/** MPU Region Base Address Register Value +* +* \param Region The region to be configured, number 0 to 15. +* \param BaseAddress The base address for the region. +*/ + + + + + +/** +* MPU Memory Access Attributes +* +* \param TypeExtField Type extension field, allows you to configure memory access type, for example strongly ordered, peripheral. +* \param IsShareable Region is shareable between multiple bus masters. +* \param IsCacheable Region is cacheable, i.e. its value may be kept in cache. +* \param IsBufferable Region is bufferable, i.e. using write-back caching. Cacheable but non-bufferable regions use write-through policy. +*/ + + + + + + +/** +* MPU Region Attribute and Size Register Value +* +* \param DisableExec Instruction access disable bit, 1= disable instruction fetches. +* \param AccessPermission Data access permissions, allows you to configure read/write access for User and Privileged mode. +* \param AccessAttributes Memory access attribution, see \ref ARM_MPU_ACCESS_. +* \param SubRegionDisable Sub-region disable field. +* \param Size Region size of the region to be configured, for example 4K, 8K. +*/ +# 111 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/mpu_armv7.h" +/** +* MPU Region Attribute and Size Register Value +* +* \param DisableExec Instruction access disable bit, 1= disable instruction fetches. +* \param AccessPermission Data access permissions, allows you to configure read/write access for User and Privileged mode. +* \param TypeExtField Type extension field, allows you to configure memory access type, for example strongly ordered, peripheral. +* \param IsShareable Region is shareable between multiple bus masters. +* \param IsCacheable Region is cacheable, i.e. its value may be kept in cache. +* \param IsBufferable Region is bufferable, i.e. using write-back caching. Cacheable but non-bufferable regions use write-through policy. +* \param SubRegionDisable Sub-region disable field. +* \param Size Region size of the region to be configured, for example 4K, 8K. +*/ + + + +/** +* MPU Memory Access Attribute for strongly ordered memory. +* - TEX: 000b +* - Shareable +* - Non-cacheable +* - Non-bufferable +*/ + + +/** +* MPU Memory Access Attribute for device memory. +* - TEX: 000b (if shareable) or 010b (if non-shareable) +* - Shareable or non-shareable +* - Non-cacheable +* - Bufferable (if shareable) or non-bufferable (if non-shareable) +* +* \param IsShareable Configures the device memory as shareable or non-shareable. +*/ + + +/** +* MPU Memory Access Attribute for normal memory. +* - TEX: 1BBb (reflecting outer cacheability rules) +* - Shareable or non-shareable +* - Cacheable or non-cacheable (reflecting inner cacheability rules) +* - Bufferable or non-bufferable (reflecting inner cacheability rules) +* +* \param OuterCp Configures the outer cache policy. +* \param InnerCp Configures the inner cache policy. +* \param IsShareable Configures the memory as shareable or non-shareable. +*/ + + +/** +* MPU Memory Access Attribute non-cacheable policy. +*/ + + +/** +* MPU Memory Access Attribute write-back, write and read allocate policy. +*/ + + +/** +* MPU Memory Access Attribute write-through, no write allocate policy. +*/ + + +/** +* MPU Memory Access Attribute write-back, no write allocate policy. +*/ + + + +/** +* Struct for a single MPU Region +*/ +typedef struct { + uint32_t RBAR; //!< The region base address register value (RBAR) + uint32_t RASR; //!< The region attribute and size register value (RASR) \ref MPU_RASR +} ARM_MPU_Region_t; + +/** Enable the MPU. +* \param MPU_Control Default access permissions for unconfigured regions. +*/ +static inline void ARM_MPU_Enable(uint32_t MPU_Control) +{ + __DMB(); + ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->CTRL = MPU_Control | (1UL); + + ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->SHCSR |= (1UL << 16U); + + __DSB(); + __ISB(); +} + +/** Disable the MPU. +*/ +static inline void ARM_MPU_Disable(void) +{ + __DMB(); + + ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->SHCSR &= ~(1UL << 16U); + + ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->CTRL &= ~(1UL); + __DSB(); + __ISB(); +} + +/** Clear and disable the given MPU region. +* \param rnr Region number to be cleared. +*/ +static inline void ARM_MPU_ClrRegion(uint32_t rnr) +{ + ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RNR = rnr; + ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RASR = 0U; +} + +/** Configure an MPU region. +* \param rbar Value for RBAR register. +* \param rasr Value for RASR register. +*/ +static inline void ARM_MPU_SetRegion(uint32_t rbar, uint32_t rasr) +{ + ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RBAR = rbar; + ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RASR = rasr; +} + +/** Configure the given MPU region. +* \param rnr Region number to be configured. +* \param rbar Value for RBAR register. +* \param rasr Value for RASR register. +*/ +static inline void ARM_MPU_SetRegionEx(uint32_t rnr, uint32_t rbar, uint32_t rasr) +{ + ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RNR = rnr; + ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RBAR = rbar; + ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RASR = rasr; +} + +/** Memcpy with strictly ordered memory access, e.g. used by code in ARM_MPU_Load(). +* \param dst Destination data is copied to. +* \param src Source data is copied from. +* \param len Amount of data words to be copied. +*/ +static inline void ARM_MPU_OrderedMemcpy(volatile uint32_t* dst, const uint32_t* __restrict src, uint32_t len) +{ + uint32_t i; + for (i = 0U; i < len; ++i) + { + dst[i] = src[i]; + } +} + +/** Load the given number of MPU regions from a table. +* \param table Pointer to the MPU configuration table. +* \param cnt Amount of regions to be configured. +*/ +static inline void ARM_MPU_Load(ARM_MPU_Region_t const* table, uint32_t cnt) +{ + const uint32_t rowWordSize = sizeof(ARM_MPU_Region_t)/4U; + while (cnt > 4U) { + ARM_MPU_OrderedMemcpy(&(((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RBAR), &(table->RBAR), 4U*rowWordSize); + table += 4U; + cnt -= 4U; + } + ARM_MPU_OrderedMemcpy(&(((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RBAR), &(table->RBAR), cnt*rowWordSize); +} +# 2188 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" 2 + + + + +/* ########################## FPU functions #################################### */ +/** + \ingroup CMSIS_Core_FunctionInterface + \defgroup CMSIS_Core_FpuFunctions FPU Functions + \brief Function that provides FPU type. + @{ + */ + +/** + \brief get FPU type + \details returns the FPU type + \returns + - \b 0: No FPU + - \b 1: Single precision FPU + - \b 2: Double + Single precision FPU + */ +static inline uint32_t SCB_GetFPUType(void) +{ + uint32_t mvfr0; + + mvfr0 = ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->MVFR0; + if ((mvfr0 & ((0xFUL << 4U) | (0xFUL << 8U))) == 0x220U) + { + return 2U; + } + else if ((mvfr0 & ((0xFUL << 4U) | (0xFUL << 8U))) == 0x020U) + { + return 1U; + } + else + { + return 0U; + } +} + +/*@} end of CMSIS_Core_FpuFunctions */ + + +/* ########################## Cache functions #################################### */ + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/cachel1_armv7.h" 1 +/****************************************************************************** + * @file cachel1_armv7.h + * @brief CMSIS Level 1 Cache API for Armv7-M and later + * @version V1.0.1 + * @date 19. April 2021 + ******************************************************************************/ +/* + * Copyright (c) 2020-2021 Arm Limited. All rights reserved. + * + * SPDX-License-Identifier: Apache-2.0 + * + * 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 + * + * 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. + */ +# 34 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/cachel1_armv7.h" +/** + \ingroup CMSIS_Core_FunctionInterface + \defgroup CMSIS_Core_CacheFunctions Cache Functions + \brief Functions that configure Instruction and Data cache. + @{ + */ + +/* Cache Size ID Register Macros */ +# 53 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/cachel1_armv7.h" +/** + \brief Enable I-Cache + \details Turns on I-Cache + */ +__attribute__((always_inline)) static inline void SCB_EnableICache (void) +{ + + if (((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->CCR & (1UL << 17U)) return; + + __DSB(); + __ISB(); + ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->ICIALLU = 0UL; + __DSB(); + __ISB(); + ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->CCR |= (uint32_t)(1UL << 17U); + __DSB(); + __ISB(); + +} + + +/** + \brief Disable I-Cache + \details Turns off I-Cache + */ +__attribute__((always_inline)) static inline void SCB_DisableICache (void) +{ + + __DSB(); + __ISB(); + ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->CCR &= ~(uint32_t)(1UL << 17U); + ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->ICIALLU = 0UL; + __DSB(); + __ISB(); + +} + + +/** + \brief Invalidate I-Cache + \details Invalidates I-Cache + */ +__attribute__((always_inline)) static inline void SCB_InvalidateICache (void) +{ + + __DSB(); + __ISB(); + ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->ICIALLU = 0UL; + __DSB(); + __ISB(); + +} + + +/** + \brief I-Cache Invalidate by address + \details Invalidates I-Cache for the given address. + I-Cache is invalidated starting from a 32 byte aligned address in 32 byte granularity. + I-Cache memory blocks which are part of given address + given size are invalidated. + \param[in] addr address + \param[in] isize size of memory block (in number of bytes) +*/ +__attribute__((always_inline)) static inline void SCB_InvalidateICache_by_Addr (volatile void *addr, int32_t isize) +{ + + if ( isize > 0 ) { + int32_t op_size = isize + (((uint32_t)addr) & (32U - 1U)); + uint32_t op_addr = (uint32_t)addr; + + __DSB(); + + do { + ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->ICIMVAU = op_addr; + op_addr += 32U; + op_size -= 32U; + } while ( op_size > 0 ); + + __DSB(); + __ISB(); + } + +} + + +/** + \brief Enable D-Cache + \details Turns on D-Cache + */ +__attribute__((always_inline)) static inline void SCB_EnableDCache (void) +{ + + uint32_t ccsidr; + uint32_t sets; + uint32_t ways; + + if (((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->CCR & (1UL << 16U)) return; + + ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->CSSELR = 0U; + __DSB(); + + ccsidr = ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->CCSIDR; + + /* invalidate D-Cache */ + sets = (uint32_t)((((ccsidr) & (0x7FFFUL << 13U) ) >> 13U )); + do { + ways = (uint32_t)((((ccsidr) & (0x3FFUL << 3U)) >> 3U)); + do { + ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->DCISW = (((sets << 5U) & (0x1FFUL << 5U)) | + ((ways << 30U) & (3UL << 30U)) ); + + + + } while (ways-- != 0U); + } while(sets-- != 0U); + __DSB(); + + ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->CCR |= (uint32_t)(1UL << 16U); + + __DSB(); + __ISB(); + +} + + +/** + \brief Disable D-Cache + \details Turns off D-Cache + */ +__attribute__((always_inline)) static inline void SCB_DisableDCache (void) +{ + + uint32_t ccsidr; + uint32_t sets; + uint32_t ways; + + ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->CSSELR = 0U; + __DSB(); + + ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->CCR &= ~(uint32_t)(1UL << 16U); + __DSB(); + + ccsidr = ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->CCSIDR; + + /* clean & invalidate D-Cache */ + sets = (uint32_t)((((ccsidr) & (0x7FFFUL << 13U) ) >> 13U )); + do { + ways = (uint32_t)((((ccsidr) & (0x3FFUL << 3U)) >> 3U)); + do { + ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->DCCISW = (((sets << 5U) & (0x1FFUL << 5U)) | + ((ways << 30U) & (3UL << 30U)) ); + + + + } while (ways-- != 0U); + } while(sets-- != 0U); + + __DSB(); + __ISB(); + +} + + +/** + \brief Invalidate D-Cache + \details Invalidates D-Cache + */ +__attribute__((always_inline)) static inline void SCB_InvalidateDCache (void) +{ + + uint32_t ccsidr; + uint32_t sets; + uint32_t ways; + + ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->CSSELR = 0U; + __DSB(); + + ccsidr = ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->CCSIDR; + + /* invalidate D-Cache */ + sets = (uint32_t)((((ccsidr) & (0x7FFFUL << 13U) ) >> 13U )); + do { + ways = (uint32_t)((((ccsidr) & (0x3FFUL << 3U)) >> 3U)); + do { + ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->DCISW = (((sets << 5U) & (0x1FFUL << 5U)) | + ((ways << 30U) & (3UL << 30U)) ); + + + + } while (ways-- != 0U); + } while(sets-- != 0U); + + __DSB(); + __ISB(); + +} + + +/** + \brief Clean D-Cache + \details Cleans D-Cache + */ +__attribute__((always_inline)) static inline void SCB_CleanDCache (void) +{ + + uint32_t ccsidr; + uint32_t sets; + uint32_t ways; + + ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->CSSELR = 0U; + __DSB(); + + ccsidr = ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->CCSIDR; + + /* clean D-Cache */ + sets = (uint32_t)((((ccsidr) & (0x7FFFUL << 13U) ) >> 13U )); + do { + ways = (uint32_t)((((ccsidr) & (0x3FFUL << 3U)) >> 3U)); + do { + ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->DCCSW = (((sets << 5U) & (0x1FFUL << 5U)) | + ((ways << 30U) & (3UL << 30U)) ); + + + + } while (ways-- != 0U); + } while(sets-- != 0U); + + __DSB(); + __ISB(); + +} + + +/** + \brief Clean & Invalidate D-Cache + \details Cleans and Invalidates D-Cache + */ +__attribute__((always_inline)) static inline void SCB_CleanInvalidateDCache (void) +{ + + uint32_t ccsidr; + uint32_t sets; + uint32_t ways; + + ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->CSSELR = 0U; + __DSB(); + + ccsidr = ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->CCSIDR; + + /* clean & invalidate D-Cache */ + sets = (uint32_t)((((ccsidr) & (0x7FFFUL << 13U) ) >> 13U )); + do { + ways = (uint32_t)((((ccsidr) & (0x3FFUL << 3U)) >> 3U)); + do { + ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->DCCISW = (((sets << 5U) & (0x1FFUL << 5U)) | + ((ways << 30U) & (3UL << 30U)) ); + + + + } while (ways-- != 0U); + } while(sets-- != 0U); + + __DSB(); + __ISB(); + +} + + +/** + \brief D-Cache Invalidate by address + \details Invalidates D-Cache for the given address. + D-Cache is invalidated starting from a 32 byte aligned address in 32 byte granularity. + D-Cache memory blocks which are part of given address + given size are invalidated. + \param[in] addr address + \param[in] dsize size of memory block (in number of bytes) +*/ +__attribute__((always_inline)) static inline void SCB_InvalidateDCache_by_Addr (volatile void *addr, int32_t dsize) +{ + + if ( dsize > 0 ) { + int32_t op_size = dsize + (((uint32_t)addr) & (32U - 1U)); + uint32_t op_addr = (uint32_t)addr; + + __DSB(); + + do { + ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->DCIMVAC = op_addr; + op_addr += 32U; + op_size -= 32U; + } while ( op_size > 0 ); + + __DSB(); + __ISB(); + } + +} + + +/** + \brief D-Cache Clean by address + \details Cleans D-Cache for the given address + D-Cache is cleaned starting from a 32 byte aligned address in 32 byte granularity. + D-Cache memory blocks which are part of given address + given size are cleaned. + \param[in] addr address + \param[in] dsize size of memory block (in number of bytes) +*/ +__attribute__((always_inline)) static inline void SCB_CleanDCache_by_Addr (volatile void *addr, int32_t dsize) +{ + + if ( dsize > 0 ) { + int32_t op_size = dsize + (((uint32_t)addr) & (32U - 1U)); + uint32_t op_addr = (uint32_t)addr; + + __DSB(); + + do { + ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->DCCMVAC = op_addr; + op_addr += 32U; + op_size -= 32U; + } while ( op_size > 0 ); + + __DSB(); + __ISB(); + } + +} + + +/** + \brief D-Cache Clean and Invalidate by address + \details Cleans and invalidates D_Cache for the given address + D-Cache is cleaned and invalidated starting from a 32 byte aligned address in 32 byte granularity. + D-Cache memory blocks which are part of given address + given size are cleaned and invalidated. + \param[in] addr address (aligned to 32-byte boundary) + \param[in] dsize size of memory block (in number of bytes) +*/ +__attribute__((always_inline)) static inline void SCB_CleanInvalidateDCache_by_Addr (volatile void *addr, int32_t dsize) +{ + + if ( dsize > 0 ) { + int32_t op_size = dsize + (((uint32_t)addr) & (32U - 1U)); + uint32_t op_addr = (uint32_t)addr; + + __DSB(); + + do { + ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->DCCIMVAC = op_addr; + op_addr += 32U; + op_size -= 32U; + } while ( op_size > 0 ); + + __DSB(); + __ISB(); + } + +} + +/*@} end of CMSIS_Core_CacheFunctions */ +# 2235 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/cmsis/CMSIS/Core/Include/core_cm7.h" 2 + + + +/* ################################## SysTick function ############################################ */ +/** + \ingroup CMSIS_Core_FunctionInterface + \defgroup CMSIS_Core_SysTickFunctions SysTick Functions + \brief Functions that configure the System. + @{ + */ + + + +/** + \brief System Tick Configuration + \details Initializes the System Timer and its interrupt, and starts the System Tick Timer. + Counter is in free running mode to generate periodic interrupts. + \param [in] ticks Number of ticks between two interrupts. + \return 0 Function succeeded. + \return 1 Function failed. + \note When the variable __Vendor_SysTickConfig is set to 1, then the + function SysTick_Config is not included. In this case, the file device.h + must contain a vendor-specific implementation of this function. + */ +static inline uint32_t SysTick_Config(uint32_t ticks) +{ + if ((ticks - 1UL) > (0xFFFFFFUL)) + { + return (1UL); + } + + ((SysTick_Type *) ((0xE000E000UL) + 0x0010UL) )->LOAD = (uint32_t)(ticks - 1UL); + __NVIC_SetPriority (SysTick_IRQn, (1UL << 4U) - 1UL); + ((SysTick_Type *) ((0xE000E000UL) + 0x0010UL) )->VAL = 0UL; + ((SysTick_Type *) ((0xE000E000UL) + 0x0010UL) )->CTRL = (1UL << 2U) | + (1UL << 1U) | + (1UL); + return (0UL); +} + + + +/*@} end of CMSIS_Core_SysTickFunctions */ + + + +/* ##################################### Debug In/Output function ########################################### */ +/** + \ingroup CMSIS_Core_FunctionInterface + \defgroup CMSIS_core_DebugFunctions ITM Functions + \brief Functions that access the ITM debug interface. + @{ + */ + +extern volatile int32_t ITM_RxBuffer; + + + +/** + \brief ITM Send Character + \details Transmits a character via the ITM channel 0, and + \li Just returns when no debugger is connected that has booked the output. + \li Is blocking when a debugger is connected, but the previous character sent has not been transmitted. + \param [in] ch Character to transmit. + \returns Character to transmit. + */ +static inline uint32_t ITM_SendChar (uint32_t ch) +{ + if (((((ITM_Type *) (0xE0000000UL) )->TCR & (1UL)) != 0UL) && + ((((ITM_Type *) (0xE0000000UL) )->TER & 1UL ) != 0UL) ) + { + while (((ITM_Type *) (0xE0000000UL) )->PORT[0U].u32 == 0UL) + { + __asm volatile ("nop"); + } + ((ITM_Type *) (0xE0000000UL) )->PORT[0U].u8 = (uint8_t)ch; + } + return (ch); +} + + +/** + \brief ITM Receive Character + \details Inputs a character via the external variable \ref ITM_RxBuffer. + \return Received character. + \return -1 No character pending. + */ +static inline int32_t ITM_ReceiveChar (void) +{ + int32_t ch = -1; + + if (ITM_RxBuffer != ((int32_t)0x5AA55AA5U)) + { + ch = ITM_RxBuffer; + ITM_RxBuffer = ((int32_t)0x5AA55AA5U); + } + + return (ch); +} + + +/** + \brief ITM Check Character + \details Checks whether a character is pending for reading in the variable \ref ITM_RxBuffer. + \return 0 No character available. + \return 1 Character available. + */ +static inline int32_t ITM_CheckChar (void) +{ + + if (ITM_RxBuffer == ((int32_t)0x5AA55AA5U)) + { + return (0); + } + else + { + return (1); + } +} + +/*@} end of CMSIS_core_DebugFunctions */ + + + + + +} +# 242 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" 2 + + + + + +/** + * @} + */ + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/system_stm32h7xx.h" 1 +/** + ****************************************************************************** + * @file system_stm32h7xx.h + * @author MCD Application Team + * @brief CMSIS Cortex-Mx Device System Source File for STM32H7xx devices. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/** @addtogroup CMSIS + * @{ + */ + +/** @addtogroup stm32h7xx_system + * @{ + */ + +/** + * @brief Define to prevent recursive inclusion + */ + + + + + extern "C" { + + +/** @addtogroup STM32H7xx_System_Includes + * @{ + */ + +/** + * @} + */ + + +/** @addtogroup STM32H7xx_System_Exported_types + * @{ + */ + /* This variable is updated in three ways: + 1) by calling CMSIS function SystemCoreClockUpdate() + 2) by calling HAL API function HAL_RCC_GetSysClockFreq() + 3) each time HAL_RCC_ClockConfig() is called to configure the system clock frequency + Note: If you use this function to configure the system clock; then there + is no need to call the 2 first functions listed above, since SystemCoreClock + variable is updated automatically. + */ +extern uint32_t SystemCoreClock; +extern uint32_t SystemD2Clock; +extern const uint8_t D1CorePrescTable[16] ; + +/** + * @} + */ + +/** @addtogroup STM32H7xx_System_Exported_Constants + * @{ + */ + +/** + * @} + */ + +/** @addtogroup STM32H7xx_System_Exported_Macros + * @{ + */ + +/** + * @} + */ + +/** @addtogroup STM32H7xx_System_Exported_Functions + * @{ + */ + +extern void SystemInit(void); +extern void SystemCoreClockUpdate(void); +extern void ExitRun0Mode(void); +/** + * @} + */ + + +} + + + + +/** + * @} + */ + +/** + * @} + */ +# 255 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ +# 256 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" 2 + + +# 257 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +/** @addtogroup Peripheral_registers_structures + * @{ + */ + +/** + * @brief Analog to Digital Converter + */ + +typedef struct +{ + volatile uint32_t ISR; + volatile uint32_t IER; + volatile uint32_t CR; + volatile uint32_t CFGR; + volatile uint32_t CFGR2; + volatile uint32_t SMPR1; + volatile uint32_t SMPR2; + volatile uint32_t PCSEL; + volatile uint32_t LTR1; + volatile uint32_t HTR1; + uint32_t RESERVED1; + uint32_t RESERVED2; + volatile uint32_t SQR1; + volatile uint32_t SQR2; + volatile uint32_t SQR3; + volatile uint32_t SQR4; + volatile uint32_t DR; + uint32_t RESERVED3; + uint32_t RESERVED4; + volatile uint32_t JSQR; + uint32_t RESERVED5[4]; + volatile uint32_t OFR1; + volatile uint32_t OFR2; + volatile uint32_t OFR3; + volatile uint32_t OFR4; + uint32_t RESERVED6[4]; + volatile uint32_t JDR1; + volatile uint32_t JDR2; + volatile uint32_t JDR3; + volatile uint32_t JDR4; + uint32_t RESERVED7[4]; + volatile uint32_t AWD2CR; + volatile uint32_t AWD3CR; + uint32_t RESERVED8; + uint32_t RESERVED9; + volatile uint32_t LTR2; + volatile uint32_t HTR2; + volatile uint32_t LTR3; + volatile uint32_t HTR3; + volatile uint32_t DIFSEL; + volatile uint32_t CALFACT; + volatile uint32_t CALFACT2; +} ADC_TypeDef; + + +typedef struct +{ +volatile uint32_t CSR; +uint32_t RESERVED; +volatile uint32_t CCR; +volatile uint32_t CDR; +volatile uint32_t CDR2; + +} ADC_Common_TypeDef; + +/** + * @brief ART + */ + +typedef struct +{ + volatile uint32_t CTR; +}ART_TypeDef; + +/** + * @brief VREFBUF + */ + +typedef struct +{ + volatile uint32_t CSR; + volatile uint32_t CCR; +} VREFBUF_TypeDef; + + +/** + * @brief FD Controller Area Network + */ + +typedef struct +{ + volatile uint32_t CREL; + volatile uint32_t ENDN; + volatile uint32_t RESERVED1; + volatile uint32_t DBTP; + volatile uint32_t TEST; + volatile uint32_t RWD; + volatile uint32_t CCCR; + volatile uint32_t NBTP; + volatile uint32_t TSCC; + volatile uint32_t TSCV; + volatile uint32_t TOCC; + volatile uint32_t TOCV; + volatile uint32_t RESERVED2[4]; + volatile uint32_t ECR; + volatile uint32_t PSR; + volatile uint32_t TDCR; + volatile uint32_t RESERVED3; + volatile uint32_t IR; + volatile uint32_t IE; + volatile uint32_t ILS; + volatile uint32_t ILE; + volatile uint32_t RESERVED4[8]; + volatile uint32_t GFC; + volatile uint32_t SIDFC; + volatile uint32_t XIDFC; + volatile uint32_t RESERVED5; + volatile uint32_t XIDAM; + volatile uint32_t HPMS; + volatile uint32_t NDAT1; + volatile uint32_t NDAT2; + volatile uint32_t RXF0C; + volatile uint32_t RXF0S; + volatile uint32_t RXF0A; + volatile uint32_t RXBC; + volatile uint32_t RXF1C; + volatile uint32_t RXF1S; + volatile uint32_t RXF1A; + volatile uint32_t RXESC; + volatile uint32_t TXBC; + volatile uint32_t TXFQS; + volatile uint32_t TXESC; + volatile uint32_t TXBRP; + volatile uint32_t TXBAR; + volatile uint32_t TXBCR; + volatile uint32_t TXBTO; + volatile uint32_t TXBCF; + volatile uint32_t TXBTIE; + volatile uint32_t TXBCIE; + volatile uint32_t RESERVED6[2]; + volatile uint32_t TXEFC; + volatile uint32_t TXEFS; + volatile uint32_t TXEFA; + volatile uint32_t RESERVED7; +} FDCAN_GlobalTypeDef; + +/** + * @brief TTFD Controller Area Network + */ + +typedef struct +{ + volatile uint32_t TTTMC; + volatile uint32_t TTRMC; + volatile uint32_t TTOCF; + volatile uint32_t TTMLM; + volatile uint32_t TURCF; + volatile uint32_t TTOCN; + volatile uint32_t TTGTP; + volatile uint32_t TTTMK; + volatile uint32_t TTIR; + volatile uint32_t TTIE; + volatile uint32_t TTILS; + volatile uint32_t TTOST; + volatile uint32_t TURNA; + volatile uint32_t TTLGT; + volatile uint32_t TTCTC; + volatile uint32_t TTCPT; + volatile uint32_t TTCSM; + volatile uint32_t RESERVED1[111]; + volatile uint32_t TTTS; +} TTCAN_TypeDef; + +/** + * @brief FD Controller Area Network + */ + +typedef struct +{ + volatile uint32_t CREL; + volatile uint32_t CCFG; + volatile uint32_t CSTAT; + volatile uint32_t CWD; + volatile uint32_t IR; + volatile uint32_t IE; +} FDCAN_ClockCalibrationUnit_TypeDef; + + +/** + * @brief Consumer Electronics Control + */ + +typedef struct +{ + volatile uint32_t CR; + volatile uint32_t CFGR; + volatile uint32_t TXDR; + volatile uint32_t RXDR; + volatile uint32_t ISR; + volatile uint32_t IER; +}CEC_TypeDef; + +/** + * @brief CRC calculation unit + */ + +typedef struct +{ + volatile uint32_t DR; + volatile uint32_t IDR; + volatile uint32_t CR; + uint32_t RESERVED2; + volatile uint32_t INIT; + volatile uint32_t POL; +} CRC_TypeDef; + + +/** + * @brief Clock Recovery System + */ +typedef struct +{ +volatile uint32_t CR; +volatile uint32_t CFGR; +volatile uint32_t ISR; +volatile uint32_t ICR; +} CRS_TypeDef; + + +/** + * @brief Digital to Analog Converter + */ + +typedef struct +{ + volatile uint32_t CR; + volatile uint32_t SWTRIGR; + volatile uint32_t DHR12R1; + volatile uint32_t DHR12L1; + volatile uint32_t DHR8R1; + volatile uint32_t DHR12R2; + volatile uint32_t DHR12L2; + volatile uint32_t DHR8R2; + volatile uint32_t DHR12RD; + volatile uint32_t DHR12LD; + volatile uint32_t DHR8RD; + volatile uint32_t DOR1; + volatile uint32_t DOR2; + volatile uint32_t SR; + volatile uint32_t CCR; + volatile uint32_t MCR; + volatile uint32_t SHSR1; + volatile uint32_t SHSR2; + volatile uint32_t SHHR; + volatile uint32_t SHRR; +} DAC_TypeDef; + +/** + * @brief DFSDM module registers + */ +typedef struct +{ + volatile uint32_t FLTCR1; + volatile uint32_t FLTCR2; + volatile uint32_t FLTISR; + volatile uint32_t FLTICR; + volatile uint32_t FLTJCHGR; + volatile uint32_t FLTFCR; + volatile uint32_t FLTJDATAR; + volatile uint32_t FLTRDATAR; + volatile uint32_t FLTAWHTR; + volatile uint32_t FLTAWLTR; + volatile uint32_t FLTAWSR; + volatile uint32_t FLTAWCFR; + volatile uint32_t FLTEXMAX; + volatile uint32_t FLTEXMIN; + volatile uint32_t FLTCNVTIMR; +} DFSDM_Filter_TypeDef; + +/** + * @brief DFSDM channel configuration registers + */ +typedef struct +{ + volatile uint32_t CHCFGR1; + volatile uint32_t CHCFGR2; + volatile uint32_t CHAWSCDR; /*!< DFSDM channel analog watchdog and + short circuit detector register, Address offset: 0x08 */ + volatile uint32_t CHWDATAR; + volatile uint32_t CHDATINR; +} DFSDM_Channel_TypeDef; + +/** + * @brief Debug MCU + */ +typedef struct +{ + volatile uint32_t IDCODE; + volatile uint32_t CR; + volatile uint32_t RESERVED4[11]; + volatile uint32_t APB3FZ1; + volatile uint32_t APB3FZ2; + volatile uint32_t APB1LFZ1; + volatile uint32_t APB1LFZ2; + volatile uint32_t APB1HFZ1; + volatile uint32_t APB1HFZ2; + volatile uint32_t APB2FZ1; + volatile uint32_t APB2FZ2; + volatile uint32_t APB4FZ1; + volatile uint32_t APB4FZ2; + +}DBGMCU_TypeDef; +/** + * @brief DCMI + */ + +typedef struct +{ + volatile uint32_t CR; + volatile uint32_t SR; + volatile uint32_t RISR; + volatile uint32_t IER; + volatile uint32_t MISR; + volatile uint32_t ICR; + volatile uint32_t ESCR; + volatile uint32_t ESUR; + volatile uint32_t CWSTRTR; + volatile uint32_t CWSIZER; + volatile uint32_t DR; +} DCMI_TypeDef; + +/** + * @brief DMA Controller + */ + +typedef struct +{ + volatile uint32_t CR; + volatile uint32_t NDTR; + volatile uint32_t PAR; + volatile uint32_t M0AR; + volatile uint32_t M1AR; + volatile uint32_t FCR; +} DMA_Stream_TypeDef; + +typedef struct +{ + volatile uint32_t LISR; + volatile uint32_t HISR; + volatile uint32_t LIFCR; + volatile uint32_t HIFCR; +} DMA_TypeDef; + +typedef struct +{ + volatile uint32_t CCR; + volatile uint32_t CNDTR; + volatile uint32_t CPAR; + volatile uint32_t CM0AR; + volatile uint32_t CM1AR; +} BDMA_Channel_TypeDef; + +typedef struct +{ + volatile uint32_t ISR; + volatile uint32_t IFCR; +} BDMA_TypeDef; + +typedef struct +{ + volatile uint32_t CCR; +}DMAMUX_Channel_TypeDef; + +typedef struct +{ + volatile uint32_t CSR; + volatile uint32_t CFR; +}DMAMUX_ChannelStatus_TypeDef; + +typedef struct +{ + volatile uint32_t RGCR; +}DMAMUX_RequestGen_TypeDef; + +typedef struct +{ + volatile uint32_t RGSR; + volatile uint32_t RGCFR; +}DMAMUX_RequestGenStatus_TypeDef; + +/** + * @brief MDMA Controller + */ +typedef struct +{ + volatile uint32_t GISR0; +}MDMA_TypeDef; + +typedef struct +{ + volatile uint32_t CISR; + volatile uint32_t CIFCR; + volatile uint32_t CESR; + volatile uint32_t CCR; + volatile uint32_t CTCR; + volatile uint32_t CBNDTR; + volatile uint32_t CSAR; + volatile uint32_t CDAR; + volatile uint32_t CBRUR; + volatile uint32_t CLAR; + volatile uint32_t CTBR; + uint32_t RESERVED0; + volatile uint32_t CMAR; + volatile uint32_t CMDR; +}MDMA_Channel_TypeDef; + +/** + * @brief DMA2D Controller + */ + +typedef struct +{ + volatile uint32_t CR; + volatile uint32_t ISR; + volatile uint32_t IFCR; + volatile uint32_t FGMAR; + volatile uint32_t FGOR; + volatile uint32_t BGMAR; + volatile uint32_t BGOR; + volatile uint32_t FGPFCCR; + volatile uint32_t FGCOLR; + volatile uint32_t BGPFCCR; + volatile uint32_t BGCOLR; + volatile uint32_t FGCMAR; + volatile uint32_t BGCMAR; + volatile uint32_t OPFCCR; + volatile uint32_t OCOLR; + volatile uint32_t OMAR; + volatile uint32_t OOR; + volatile uint32_t NLR; + volatile uint32_t LWR; + volatile uint32_t AMTCR; + uint32_t RESERVED[236]; + volatile uint32_t FGCLUT[256]; + volatile uint32_t BGCLUT[256]; +} DMA2D_TypeDef; + +/** + * @brief DSI Controller + */ + +typedef struct +{ + volatile uint32_t VR; + volatile uint32_t CR; + volatile uint32_t CCR; + volatile uint32_t LVCIDR; + volatile uint32_t LCOLCR; + volatile uint32_t LPCR; + volatile uint32_t LPMCR; + uint32_t RESERVED0[4]; + volatile uint32_t PCR; + volatile uint32_t GVCIDR; + volatile uint32_t MCR; + volatile uint32_t VMCR; + volatile uint32_t VPCR; + volatile uint32_t VCCR; + volatile uint32_t VNPCR; + volatile uint32_t VHSACR; + volatile uint32_t VHBPCR; + volatile uint32_t VLCR; + volatile uint32_t VVSACR; + volatile uint32_t VVBPCR; + volatile uint32_t VVFPCR; + volatile uint32_t VVACR; + volatile uint32_t LCCR; + volatile uint32_t CMCR; + volatile uint32_t GHCR; + volatile uint32_t GPDR; + volatile uint32_t GPSR; + volatile uint32_t TCCR[6]; + volatile uint32_t TDCR; + volatile uint32_t CLCR; + volatile uint32_t CLTCR; + volatile uint32_t DLTCR; + volatile uint32_t PCTLR; + volatile uint32_t PCONFR; + volatile uint32_t PUCR; + volatile uint32_t PTTCR; + volatile uint32_t PSR; + uint32_t RESERVED1[2]; + volatile uint32_t ISR[2]; + volatile uint32_t IER[2]; + uint32_t RESERVED2[3]; + volatile uint32_t FIR[2]; + uint32_t RESERVED3[8]; + volatile uint32_t VSCR; + uint32_t RESERVED4[2]; + volatile uint32_t LCVCIDR; + volatile uint32_t LCCCR; + uint32_t RESERVED5; + volatile uint32_t LPMCCR; + uint32_t RESERVED6[7]; + volatile uint32_t VMCCR; + volatile uint32_t VPCCR; + volatile uint32_t VCCCR; + volatile uint32_t VNPCCR; + volatile uint32_t VHSACCR; + volatile uint32_t VHBPCCR; + volatile uint32_t VLCCR; + volatile uint32_t VVSACCR; + volatile uint32_t VVBPCCR; + volatile uint32_t VVFPCCR; + volatile uint32_t VVACCR; + uint32_t RESERVED7[11]; + volatile uint32_t TDCCR; + uint32_t RESERVED8[155]; + volatile uint32_t WCFGR; + volatile uint32_t WCR; + volatile uint32_t WIER; + volatile uint32_t WISR; + volatile uint32_t WIFCR; + uint32_t RESERVED9; + volatile uint32_t WPCR[5]; + uint32_t RESERVED10; + volatile uint32_t WRPCR; +} DSI_TypeDef; + +/** + * @brief Ethernet MAC + */ +typedef struct +{ + volatile uint32_t MACCR; + volatile uint32_t MACECR; + volatile uint32_t MACPFR; + volatile uint32_t MACWTR; + volatile uint32_t MACHT0R; + volatile uint32_t MACHT1R; + uint32_t RESERVED1[14]; + volatile uint32_t MACVTR; + uint32_t RESERVED2; + volatile uint32_t MACVHTR; + uint32_t RESERVED3; + volatile uint32_t MACVIR; + volatile uint32_t MACIVIR; + uint32_t RESERVED4[2]; + volatile uint32_t MACTFCR; + uint32_t RESERVED5[7]; + volatile uint32_t MACRFCR; + uint32_t RESERVED6[7]; + volatile uint32_t MACISR; + volatile uint32_t MACIER; + volatile uint32_t MACRXTXSR; + uint32_t RESERVED7; + volatile uint32_t MACPCSR; + volatile uint32_t MACRWKPFR; + uint32_t RESERVED8[2]; + volatile uint32_t MACLCSR; + volatile uint32_t MACLTCR; + volatile uint32_t MACLETR; + volatile uint32_t MAC1USTCR; + uint32_t RESERVED9[12]; + volatile uint32_t MACVR; + volatile uint32_t MACDR; + uint32_t RESERVED10; + volatile uint32_t MACHWF0R; + volatile uint32_t MACHWF1R; + volatile uint32_t MACHWF2R; + uint32_t RESERVED11[54]; + volatile uint32_t MACMDIOAR; + volatile uint32_t MACMDIODR; + uint32_t RESERVED12[2]; + volatile uint32_t MACARPAR; + uint32_t RESERVED13[59]; + volatile uint32_t MACA0HR; + volatile uint32_t MACA0LR; + volatile uint32_t MACA1HR; + volatile uint32_t MACA1LR; + volatile uint32_t MACA2HR; + volatile uint32_t MACA2LR; + volatile uint32_t MACA3HR; + volatile uint32_t MACA3LR; + uint32_t RESERVED14[248]; + volatile uint32_t MMCCR; + volatile uint32_t MMCRIR; + volatile uint32_t MMCTIR; + volatile uint32_t MMCRIMR; + volatile uint32_t MMCTIMR; + uint32_t RESERVED15[14]; + volatile uint32_t MMCTSCGPR; + volatile uint32_t MMCTMCGPR; + uint32_t RESERVED16[5]; + volatile uint32_t MMCTPCGR; + uint32_t RESERVED17[10]; + volatile uint32_t MMCRCRCEPR; + volatile uint32_t MMCRAEPR; + uint32_t RESERVED18[10]; + volatile uint32_t MMCRUPGR; + uint32_t RESERVED19[9]; + volatile uint32_t MMCTLPIMSTR; + volatile uint32_t MMCTLPITCR; + volatile uint32_t MMCRLPIMSTR; + volatile uint32_t MMCRLPITCR; + uint32_t RESERVED20[65]; + volatile uint32_t MACL3L4C0R; + volatile uint32_t MACL4A0R; + uint32_t RESERVED21[2]; + volatile uint32_t MACL3A0R0R; + volatile uint32_t MACL3A1R0R; + volatile uint32_t MACL3A2R0R; + volatile uint32_t MACL3A3R0R; + uint32_t RESERVED22[4]; + volatile uint32_t MACL3L4C1R; + volatile uint32_t MACL4A1R; + uint32_t RESERVED23[2]; + volatile uint32_t MACL3A0R1R; + volatile uint32_t MACL3A1R1R; + volatile uint32_t MACL3A2R1R; + volatile uint32_t MACL3A3R1R; + uint32_t RESERVED24[108]; + volatile uint32_t MACTSCR; + volatile uint32_t MACSSIR; + volatile uint32_t MACSTSR; + volatile uint32_t MACSTNR; + volatile uint32_t MACSTSUR; + volatile uint32_t MACSTNUR; + volatile uint32_t MACTSAR; + uint32_t RESERVED25; + volatile uint32_t MACTSSR; + uint32_t RESERVED26[3]; + volatile uint32_t MACTTSSNR; + volatile uint32_t MACTTSSSR; + uint32_t RESERVED27[2]; + volatile uint32_t MACACR; + uint32_t RESERVED28; + volatile uint32_t MACATSNR; + volatile uint32_t MACATSSR; + volatile uint32_t MACTSIACR; + volatile uint32_t MACTSEACR; + volatile uint32_t MACTSICNR; + volatile uint32_t MACTSECNR; + uint32_t RESERVED29[4]; + volatile uint32_t MACPPSCR; + uint32_t RESERVED30[3]; + volatile uint32_t MACPPSTTSR; + volatile uint32_t MACPPSTTNR; + volatile uint32_t MACPPSIR; + volatile uint32_t MACPPSWR; + uint32_t RESERVED31[12]; + volatile uint32_t MACPOCR; + volatile uint32_t MACSPI0R; + volatile uint32_t MACSPI1R; + volatile uint32_t MACSPI2R; + volatile uint32_t MACLMIR; + uint32_t RESERVED32[11]; + volatile uint32_t MTLOMR; + uint32_t RESERVED33[7]; + volatile uint32_t MTLISR; + uint32_t RESERVED34[55]; + volatile uint32_t MTLTQOMR; + volatile uint32_t MTLTQUR; + volatile uint32_t MTLTQDR; + uint32_t RESERVED35[8]; + volatile uint32_t MTLQICSR; + volatile uint32_t MTLRQOMR; + volatile uint32_t MTLRQMPOCR; + volatile uint32_t MTLRQDR; + uint32_t RESERVED36[177]; + volatile uint32_t DMAMR; + volatile uint32_t DMASBMR; + volatile uint32_t DMAISR; + volatile uint32_t DMADSR; + uint32_t RESERVED37[60]; + volatile uint32_t DMACCR; + volatile uint32_t DMACTCR; + volatile uint32_t DMACRCR; + uint32_t RESERVED38[2]; + volatile uint32_t DMACTDLAR; + uint32_t RESERVED39; + volatile uint32_t DMACRDLAR; + volatile uint32_t DMACTDTPR; + uint32_t RESERVED40; + volatile uint32_t DMACRDTPR; + volatile uint32_t DMACTDRLR; + volatile uint32_t DMACRDRLR; + volatile uint32_t DMACIER; + volatile uint32_t DMACRIWTR; +volatile uint32_t DMACSFCSR; + uint32_t RESERVED41; + volatile uint32_t DMACCATDR; + uint32_t RESERVED42; + volatile uint32_t DMACCARDR; + uint32_t RESERVED43; + volatile uint32_t DMACCATBR; + uint32_t RESERVED44; + volatile uint32_t DMACCARBR; + volatile uint32_t DMACSR; +uint32_t RESERVED45[2]; +volatile uint32_t DMACMFCR; +}ETH_TypeDef; +/** + * @brief External Interrupt/Event Controller + */ + +typedef struct +{ +volatile uint32_t RTSR1; +volatile uint32_t FTSR1; +volatile uint32_t SWIER1; +volatile uint32_t D3PMR1; +volatile uint32_t D3PCR1L; +volatile uint32_t D3PCR1H; +uint32_t RESERVED1[2]; +volatile uint32_t RTSR2; +volatile uint32_t FTSR2; +volatile uint32_t SWIER2; +volatile uint32_t D3PMR2; +volatile uint32_t D3PCR2L; +volatile uint32_t D3PCR2H; +uint32_t RESERVED2[2]; +volatile uint32_t RTSR3; +volatile uint32_t FTSR3; +volatile uint32_t SWIER3; +volatile uint32_t D3PMR3; +volatile uint32_t D3PCR3L; +volatile uint32_t D3PCR3H; +uint32_t RESERVED3[10]; +volatile uint32_t IMR1; +volatile uint32_t EMR1; +volatile uint32_t PR1; +uint32_t RESERVED4; +volatile uint32_t IMR2; +volatile uint32_t EMR2; +volatile uint32_t PR2; +uint32_t RESERVED5; +volatile uint32_t IMR3; +volatile uint32_t EMR3; +volatile uint32_t PR3; +uint32_t RESERVED6[5]; +volatile uint32_t C2IMR1; +volatile uint32_t C2EMR1; +volatile uint32_t C2PR1; +uint32_t RESERVED7; +volatile uint32_t C2IMR2; +volatile uint32_t C2EMR2; +volatile uint32_t C2PR2; +uint32_t RESERVED8; +volatile uint32_t C2IMR3; +volatile uint32_t C2EMR3; +volatile uint32_t C2PR3; + +}EXTI_TypeDef; + +/** + * @brief This structure registers corresponds to EXTI_Typdef CPU1/CPU2 registers subset (IMRx, EMRx and PRx), allowing to define EXTI_D1/EXTI_D2 + * with rapid/common access to these IMRx, EMRx, PRx registers for CPU1 and CPU2. + * Note that EXTI_D1 and EXTI_D2 bases addresses are calculated to point to CPUx first register: + * IMR1 in case of EXTI_D1 that is addressing CPU1 (Cortex-M7) + * C2IMR1 in case of EXTI_D2 that is addressing CPU2 (Cortex-M4) + * Note: EXTI_D2 and corresponding C2IMRx, C2EMRx and C2PRx registers are available for Dual Core devices only + */ + +typedef struct +{ +volatile uint32_t IMR1; +volatile uint32_t EMR1; +volatile uint32_t PR1; +uint32_t RESERVED1; +volatile uint32_t IMR2; +volatile uint32_t EMR2; +volatile uint32_t PR2; +uint32_t RESERVED2; +volatile uint32_t IMR3; +volatile uint32_t EMR3; +volatile uint32_t PR3; +}EXTI_Core_TypeDef; + + +/** + * @brief FLASH Registers + */ + +typedef struct +{ + volatile uint32_t ACR; + volatile uint32_t KEYR1; + volatile uint32_t OPTKEYR; + volatile uint32_t CR1; + volatile uint32_t SR1; + volatile uint32_t CCR1; + volatile uint32_t OPTCR; + volatile uint32_t OPTSR_CUR; + volatile uint32_t OPTSR_PRG; + volatile uint32_t OPTCCR; + volatile uint32_t PRAR_CUR1; + volatile uint32_t PRAR_PRG1; + volatile uint32_t SCAR_CUR1; + volatile uint32_t SCAR_PRG1; + volatile uint32_t WPSN_CUR1; + volatile uint32_t WPSN_PRG1; + volatile uint32_t BOOT7_CUR; + volatile uint32_t BOOT7_PRG; + volatile uint32_t BOOT4_CUR; + volatile uint32_t BOOT4_PRG; + volatile uint32_t CRCCR1; + volatile uint32_t CRCSADD1; + volatile uint32_t CRCEADD1; + volatile uint32_t CRCDATA; + volatile uint32_t ECC_FA1; + uint32_t RESERVED1[40]; + volatile uint32_t KEYR2; + uint32_t RESERVED2; + volatile uint32_t CR2; + volatile uint32_t SR2; + volatile uint32_t CCR2; + uint32_t RESERVED3[4]; + volatile uint32_t PRAR_CUR2; + volatile uint32_t PRAR_PRG2; + volatile uint32_t SCAR_CUR2; + volatile uint32_t SCAR_PRG2; + volatile uint32_t WPSN_CUR2; + volatile uint32_t WPSN_PRG2; + uint32_t RESERVED4[4]; + volatile uint32_t CRCCR2; + volatile uint32_t CRCSADD2; + volatile uint32_t CRCEADD2; + volatile uint32_t CRCDATA2; + volatile uint32_t ECC_FA2; +} FLASH_TypeDef; + +/** + * @brief Flexible Memory Controller + */ + +typedef struct +{ + volatile uint32_t BTCR[8]; +} FMC_Bank1_TypeDef; + +/** + * @brief Flexible Memory Controller Bank1E + */ + +typedef struct +{ + volatile uint32_t BWTR[7]; +} FMC_Bank1E_TypeDef; + +/** + * @brief Flexible Memory Controller Bank2 + */ + +typedef struct +{ + volatile uint32_t PCR2; + volatile uint32_t SR2; + volatile uint32_t PMEM2; + volatile uint32_t PATT2; + uint32_t RESERVED0; + volatile uint32_t ECCR2; +} FMC_Bank2_TypeDef; + +/** + * @brief Flexible Memory Controller Bank3 + */ + +typedef struct +{ + volatile uint32_t PCR; + volatile uint32_t SR; + volatile uint32_t PMEM; + volatile uint32_t PATT; + uint32_t RESERVED; + volatile uint32_t ECCR; +} FMC_Bank3_TypeDef; + +/** + * @brief Flexible Memory Controller Bank5 and 6 + */ + + +typedef struct +{ + volatile uint32_t SDCR[2]; + volatile uint32_t SDTR[2]; + volatile uint32_t SDCMR; + volatile uint32_t SDRTR; + volatile uint32_t SDSR; +} FMC_Bank5_6_TypeDef; + +/** + * @brief General Purpose I/O + */ + +typedef struct +{ + volatile uint32_t MODER; + volatile uint32_t OTYPER; + volatile uint32_t OSPEEDR; + volatile uint32_t PUPDR; + volatile uint32_t IDR; + volatile uint32_t ODR; + volatile uint32_t BSRR; + volatile uint32_t LCKR; + volatile uint32_t AFR[2]; +} GPIO_TypeDef; + +/** + * @brief Operational Amplifier (OPAMP) + */ + +typedef struct +{ + volatile uint32_t CSR; + volatile uint32_t OTR; + volatile uint32_t HSOTR; +} OPAMP_TypeDef; + +/** + * @brief System configuration controller + */ + +typedef struct +{ + uint32_t RESERVED1; + volatile uint32_t PMCR; + volatile uint32_t EXTICR[4]; + volatile uint32_t CFGR; + uint32_t RESERVED2; + volatile uint32_t CCCSR; + volatile uint32_t CCVR; + volatile uint32_t CCCR; + volatile uint32_t PWRCR; + uint32_t RESERVED3[61]; + volatile uint32_t PKGR; + uint32_t RESERVED4[118]; + volatile uint32_t UR0; + volatile uint32_t UR1; + volatile uint32_t UR2; + volatile uint32_t UR3; + volatile uint32_t UR4; + volatile uint32_t UR5; + volatile uint32_t UR6; + volatile uint32_t UR7; + volatile uint32_t UR8; + volatile uint32_t UR9; + volatile uint32_t UR10; + volatile uint32_t UR11; + volatile uint32_t UR12; + volatile uint32_t UR13; + volatile uint32_t UR14; + volatile uint32_t UR15; + volatile uint32_t UR16; + volatile uint32_t UR17; + +} SYSCFG_TypeDef; + +/** + * @brief Inter-integrated Circuit Interface + */ + +typedef struct +{ + volatile uint32_t CR1; + volatile uint32_t CR2; + volatile uint32_t OAR1; + volatile uint32_t OAR2; + volatile uint32_t TIMINGR; + volatile uint32_t TIMEOUTR; + volatile uint32_t ISR; + volatile uint32_t ICR; + volatile uint32_t PECR; + volatile uint32_t RXDR; + volatile uint32_t TXDR; +} I2C_TypeDef; + +/** + * @brief Independent WATCHDOG + */ + +typedef struct +{ + volatile uint32_t KR; + volatile uint32_t PR; + volatile uint32_t RLR; + volatile uint32_t SR; + volatile uint32_t WINR; +} IWDG_TypeDef; + + +/** + * @brief JPEG Codec + */ +typedef struct +{ + volatile uint32_t CONFR0; + volatile uint32_t CONFR1; + volatile uint32_t CONFR2; + volatile uint32_t CONFR3; + volatile uint32_t CONFR4; + volatile uint32_t CONFR5; + volatile uint32_t CONFR6; + volatile uint32_t CONFR7; + uint32_t Reserved20[4]; + volatile uint32_t CR; + volatile uint32_t SR; + volatile uint32_t CFR; + uint32_t Reserved3c; + volatile uint32_t DIR; + volatile uint32_t DOR; + uint32_t Reserved48[2]; + volatile uint32_t QMEM0[16]; + volatile uint32_t QMEM1[16]; + volatile uint32_t QMEM2[16]; + volatile uint32_t QMEM3[16]; + volatile uint32_t HUFFMIN[16]; + volatile uint32_t HUFFBASE[32]; + volatile uint32_t HUFFSYMB[84]; + volatile uint32_t DHTMEM[103]; + uint32_t Reserved4FC; + volatile uint32_t HUFFENC_AC0[88]; + volatile uint32_t HUFFENC_AC1[88]; + volatile uint32_t HUFFENC_DC0[8]; + volatile uint32_t HUFFENC_DC1[8]; + +} JPEG_TypeDef; + +/** + * @brief LCD-TFT Display Controller + */ + +typedef struct +{ + uint32_t RESERVED0[2]; + volatile uint32_t SSCR; + volatile uint32_t BPCR; + volatile uint32_t AWCR; + volatile uint32_t TWCR; + volatile uint32_t GCR; + uint32_t RESERVED1[2]; + volatile uint32_t SRCR; + uint32_t RESERVED2[1]; + volatile uint32_t BCCR; + uint32_t RESERVED3[1]; + volatile uint32_t IER; + volatile uint32_t ISR; + volatile uint32_t ICR; + volatile uint32_t LIPCR; + volatile uint32_t CPSR; + volatile uint32_t CDSR; +} LTDC_TypeDef; + +/** + * @brief LCD-TFT Display layer x Controller + */ + +typedef struct +{ + volatile uint32_t CR; + volatile uint32_t WHPCR; + volatile uint32_t WVPCR; + volatile uint32_t CKCR; + volatile uint32_t PFCR; + volatile uint32_t CACR; + volatile uint32_t DCCR; + volatile uint32_t BFCR; + uint32_t RESERVED0[2]; + volatile uint32_t CFBAR; + volatile uint32_t CFBLR; + volatile uint32_t CFBLNR; + uint32_t RESERVED1[3]; + volatile uint32_t CLUTWR; + +} LTDC_Layer_TypeDef; + +/** + * @brief Power Control + */ + +typedef struct +{ + volatile uint32_t CR1; + volatile uint32_t CSR1; + volatile uint32_t CR2; + volatile uint32_t CR3; + volatile uint32_t CPUCR; + volatile uint32_t CPU2CR; + volatile uint32_t D3CR; + uint32_t RESERVED1; + volatile uint32_t WKUPCR; + volatile uint32_t WKUPFR; + volatile uint32_t WKUPEPR; +} PWR_TypeDef; + +/** + * @brief Reset and Clock Control + */ + +typedef struct +{ + volatile uint32_t CR; + volatile uint32_t HSICFGR; + volatile uint32_t CRRCR; + volatile uint32_t CSICFGR; + volatile uint32_t CFGR; + uint32_t RESERVED1; + volatile uint32_t D1CFGR; + volatile uint32_t D2CFGR; + volatile uint32_t D3CFGR; + uint32_t RESERVED2; + volatile uint32_t PLLCKSELR; + volatile uint32_t PLLCFGR; + volatile uint32_t PLL1DIVR; + volatile uint32_t PLL1FRACR; + volatile uint32_t PLL2DIVR; + volatile uint32_t PLL2FRACR; + volatile uint32_t PLL3DIVR; + volatile uint32_t PLL3FRACR; + uint32_t RESERVED3; + volatile uint32_t D1CCIPR; + volatile uint32_t D2CCIP1R; + volatile uint32_t D2CCIP2R; + volatile uint32_t D3CCIPR; + uint32_t RESERVED4; + volatile uint32_t CIER; + volatile uint32_t CIFR; + volatile uint32_t CICR; + uint32_t RESERVED5; + volatile uint32_t BDCR; + volatile uint32_t CSR; + uint32_t RESERVED6; + volatile uint32_t AHB3RSTR; + volatile uint32_t AHB1RSTR; + volatile uint32_t AHB2RSTR; + volatile uint32_t AHB4RSTR; + volatile uint32_t APB3RSTR; + volatile uint32_t APB1LRSTR; + volatile uint32_t APB1HRSTR; + volatile uint32_t APB2RSTR; + volatile uint32_t APB4RSTR; + volatile uint32_t GCR; + uint32_t RESERVED8; + volatile uint32_t D3AMR; + uint32_t RESERVED11[9]; + volatile uint32_t RSR; + volatile uint32_t AHB3ENR; + volatile uint32_t AHB1ENR; + volatile uint32_t AHB2ENR; + volatile uint32_t AHB4ENR; + volatile uint32_t APB3ENR; + volatile uint32_t APB1LENR; + volatile uint32_t APB1HENR; + volatile uint32_t APB2ENR; + volatile uint32_t APB4ENR; + uint32_t RESERVED12; + volatile uint32_t AHB3LPENR; + volatile uint32_t AHB1LPENR; + volatile uint32_t AHB2LPENR; + volatile uint32_t AHB4LPENR; + volatile uint32_t APB3LPENR; + volatile uint32_t APB1LLPENR; + volatile uint32_t APB1HLPENR; + volatile uint32_t APB2LPENR; + volatile uint32_t APB4LPENR; + uint32_t RESERVED13[4]; + +} RCC_TypeDef; + +typedef struct +{ + volatile uint32_t RSR; + volatile uint32_t AHB3ENR; + volatile uint32_t AHB1ENR; + volatile uint32_t AHB2ENR; + volatile uint32_t AHB4ENR; + volatile uint32_t APB3ENR; + volatile uint32_t APB1LENR; + volatile uint32_t APB1HENR; + volatile uint32_t APB2ENR; + volatile uint32_t APB4ENR; + uint32_t RESERVED9; + volatile uint32_t AHB3LPENR; + volatile uint32_t AHB1LPENR; + volatile uint32_t AHB2LPENR; + volatile uint32_t AHB4LPENR; + volatile uint32_t APB3LPENR; + volatile uint32_t APB1LLPENR; + volatile uint32_t APB1HLPENR; + volatile uint32_t APB2LPENR; + volatile uint32_t APB4LPENR; + uint32_t RESERVED10[4]; + +} RCC_Core_TypeDef; + +/** + * @brief Real-Time Clock + */ +typedef struct +{ + volatile uint32_t TR; + volatile uint32_t DR; + volatile uint32_t CR; + volatile uint32_t ISR; + volatile uint32_t PRER; + volatile uint32_t WUTR; + uint32_t RESERVED; + volatile uint32_t ALRMAR; + volatile uint32_t ALRMBR; + volatile uint32_t WPR; + volatile uint32_t SSR; + volatile uint32_t SHIFTR; + volatile uint32_t TSTR; + volatile uint32_t TSDR; + volatile uint32_t TSSSR; + volatile uint32_t CALR; + volatile uint32_t TAMPCR; + volatile uint32_t ALRMASSR; + volatile uint32_t ALRMBSSR; + volatile uint32_t OR; + volatile uint32_t BKP0R; + volatile uint32_t BKP1R; + volatile uint32_t BKP2R; + volatile uint32_t BKP3R; + volatile uint32_t BKP4R; + volatile uint32_t BKP5R; + volatile uint32_t BKP6R; + volatile uint32_t BKP7R; + volatile uint32_t BKP8R; + volatile uint32_t BKP9R; + volatile uint32_t BKP10R; + volatile uint32_t BKP11R; + volatile uint32_t BKP12R; + volatile uint32_t BKP13R; + volatile uint32_t BKP14R; + volatile uint32_t BKP15R; + volatile uint32_t BKP16R; + volatile uint32_t BKP17R; + volatile uint32_t BKP18R; + volatile uint32_t BKP19R; + volatile uint32_t BKP20R; + volatile uint32_t BKP21R; + volatile uint32_t BKP22R; + volatile uint32_t BKP23R; + volatile uint32_t BKP24R; + volatile uint32_t BKP25R; + volatile uint32_t BKP26R; + volatile uint32_t BKP27R; + volatile uint32_t BKP28R; + volatile uint32_t BKP29R; + volatile uint32_t BKP30R; + volatile uint32_t BKP31R; +} RTC_TypeDef; + +/** + * @brief Serial Audio Interface + */ + +typedef struct +{ + volatile uint32_t GCR; + uint32_t RESERVED0[16]; + volatile uint32_t PDMCR; + volatile uint32_t PDMDLY; +} SAI_TypeDef; + +typedef struct +{ + volatile uint32_t CR1; + volatile uint32_t CR2; + volatile uint32_t FRCR; + volatile uint32_t SLOTR; + volatile uint32_t IMR; + volatile uint32_t SR; + volatile uint32_t CLRFR; + volatile uint32_t DR; +} SAI_Block_TypeDef; + +/** + * @brief SPDIF-RX Interface + */ + +typedef struct +{ + volatile uint32_t CR; + volatile uint32_t IMR; + volatile uint32_t SR; + volatile uint32_t IFCR; + volatile uint32_t DR; + volatile uint32_t CSR; + volatile uint32_t DIR; + uint32_t RESERVED2; +} SPDIFRX_TypeDef; + + +/** + * @brief Secure digital input/output Interface + */ + +typedef struct +{ + volatile uint32_t POWER; + volatile uint32_t CLKCR; + volatile uint32_t ARG; + volatile uint32_t CMD; + volatile uint32_t RESPCMD; + volatile uint32_t RESP1; + volatile uint32_t RESP2; + volatile uint32_t RESP3; + volatile uint32_t RESP4; + volatile uint32_t DTIMER; + volatile uint32_t DLEN; + volatile uint32_t DCTRL; + volatile uint32_t DCOUNT; + volatile uint32_t STA; + volatile uint32_t ICR; + volatile uint32_t MASK; + volatile uint32_t ACKTIME; + uint32_t RESERVED0[3]; + volatile uint32_t IDMACTRL; + volatile uint32_t IDMABSIZE; + volatile uint32_t IDMABASE0; + volatile uint32_t IDMABASE1; + uint32_t RESERVED1[8]; + volatile uint32_t FIFO; + uint32_t RESERVED2[222]; + volatile uint32_t IPVR; +} SDMMC_TypeDef; + + +/** + * @brief Delay Block DLYB + */ + +typedef struct +{ + volatile uint32_t CR; + volatile uint32_t CFGR; +} DLYB_TypeDef; + +/** + * @brief HW Semaphore HSEM + */ + +typedef struct +{ + volatile uint32_t R[32]; + volatile uint32_t RLR[32]; + volatile uint32_t C1IER; + volatile uint32_t C1ICR; + volatile uint32_t C1ISR; + volatile uint32_t C1MISR; + volatile uint32_t C2IER; + volatile uint32_t C2ICR; + volatile uint32_t C2ISR; + volatile uint32_t C2MISR; + uint32_t Reserved[8]; + volatile uint32_t CR; + volatile uint32_t KEYR; + +} HSEM_TypeDef; + +typedef struct +{ + volatile uint32_t IER; + volatile uint32_t ICR; + volatile uint32_t ISR; + volatile uint32_t MISR; +} HSEM_Common_TypeDef; + +/** + * @brief Serial Peripheral Interface + */ + +typedef struct +{ + volatile uint32_t CR1; + volatile uint32_t CR2; + volatile uint32_t CFG1; + volatile uint32_t CFG2; + volatile uint32_t IER; + volatile uint32_t SR; + volatile uint32_t IFCR; + uint32_t RESERVED0; + volatile uint32_t TXDR; + uint32_t RESERVED1[3]; + volatile uint32_t RXDR; + uint32_t RESERVED2[3]; + volatile uint32_t CRCPOLY; + volatile uint32_t TXCRC; + volatile uint32_t RXCRC; + volatile uint32_t UDRDR; + volatile uint32_t I2SCFGR; + +} SPI_TypeDef; +/** + * @brief QUAD Serial Peripheral Interface + */ + +typedef struct +{ + volatile uint32_t CR; + volatile uint32_t DCR; + volatile uint32_t SR; + volatile uint32_t FCR; + volatile uint32_t DLR; + volatile uint32_t CCR; + volatile uint32_t AR; + volatile uint32_t ABR; + volatile uint32_t DR; + volatile uint32_t PSMKR; + volatile uint32_t PSMAR; + volatile uint32_t PIR; + volatile uint32_t LPTR; +} QUADSPI_TypeDef; + +/** + * @brief TIM + */ + +typedef struct +{ + volatile uint32_t CR1; + volatile uint32_t CR2; + volatile uint32_t SMCR; + volatile uint32_t DIER; + volatile uint32_t SR; + volatile uint32_t EGR; + volatile uint32_t CCMR1; + volatile uint32_t CCMR2; + volatile uint32_t CCER; + volatile uint32_t CNT; + volatile uint32_t PSC; + volatile uint32_t ARR; + volatile uint32_t RCR; + volatile uint32_t CCR1; + volatile uint32_t CCR2; + volatile uint32_t CCR3; + volatile uint32_t CCR4; + volatile uint32_t BDTR; + volatile uint32_t DCR; + volatile uint32_t DMAR; + uint32_t RESERVED1; + volatile uint32_t CCMR3; + volatile uint32_t CCR5; + volatile uint32_t CCR6; + volatile uint32_t AF1; + volatile uint32_t AF2; + volatile uint32_t TISEL; +} TIM_TypeDef; + +/** + * @brief LPTIMIMER + */ +typedef struct +{ + volatile uint32_t ISR; + volatile uint32_t ICR; + volatile uint32_t IER; + volatile uint32_t CFGR; + volatile uint32_t CR; + volatile uint32_t CMP; + volatile uint32_t ARR; + volatile uint32_t CNT; + uint32_t RESERVED1; + volatile uint32_t CFGR2; +} LPTIM_TypeDef; + +/** + * @brief Comparator + */ +typedef struct +{ + volatile uint32_t SR; + volatile uint32_t ICFR; + volatile uint32_t OR; +} COMPOPT_TypeDef; + +typedef struct +{ + volatile uint32_t CFGR; +} COMP_TypeDef; + +typedef struct +{ + volatile uint32_t CFGR; +} COMP_Common_TypeDef; +/** + * @brief Universal Synchronous Asynchronous Receiver Transmitter + */ + +typedef struct +{ + volatile uint32_t CR1; + volatile uint32_t CR2; + volatile uint32_t CR3; + volatile uint32_t BRR; + volatile uint32_t GTPR; + volatile uint32_t RTOR; + volatile uint32_t RQR; + volatile uint32_t ISR; + volatile uint32_t ICR; + volatile uint32_t RDR; + volatile uint32_t TDR; + volatile uint32_t PRESC; +} USART_TypeDef; + +/** + * @brief Single Wire Protocol Master Interface SPWMI + */ +typedef struct +{ + volatile uint32_t CR; + volatile uint32_t BRR; + uint32_t RESERVED1; + volatile uint32_t ISR; + volatile uint32_t ICR; + volatile uint32_t IER; + volatile uint32_t RFL; + volatile uint32_t TDR; + volatile uint32_t RDR; + volatile uint32_t OR; +} SWPMI_TypeDef; + +/** + * @brief Window WATCHDOG + */ + +typedef struct +{ + volatile uint32_t CR; + volatile uint32_t CFR; + volatile uint32_t SR; +} WWDG_TypeDef; + + +/** + * @brief RAM_ECC_Specific_Registers + */ +typedef struct +{ + volatile uint32_t CR; + volatile uint32_t SR; + volatile uint32_t FAR; + volatile uint32_t FDRL; + volatile uint32_t FDRH; + volatile uint32_t FECR; +} RAMECC_MonitorTypeDef; + +typedef struct +{ + volatile uint32_t IER; +} RAMECC_TypeDef; +/** + * @} + */ + + + +/** + * @brief High resolution Timer (HRTIM) + */ +/* HRTIM master registers definition */ +typedef struct +{ + volatile uint32_t MCR; + volatile uint32_t MISR; + volatile uint32_t MICR; + volatile uint32_t MDIER; + volatile uint32_t MCNTR; + volatile uint32_t MPER; + volatile uint32_t MREP; + volatile uint32_t MCMP1R; + uint32_t RESERVED0; + volatile uint32_t MCMP2R; + volatile uint32_t MCMP3R; + volatile uint32_t MCMP4R; + uint32_t RESERVED1[20]; +}HRTIM_Master_TypeDef; + +/* HRTIM Timer A to E registers definition */ +typedef struct +{ + volatile uint32_t TIMxCR; + volatile uint32_t TIMxISR; + volatile uint32_t TIMxICR; + volatile uint32_t TIMxDIER; + volatile uint32_t CNTxR; + volatile uint32_t PERxR; + volatile uint32_t REPxR; + volatile uint32_t CMP1xR; + volatile uint32_t CMP1CxR; + volatile uint32_t CMP2xR; + volatile uint32_t CMP3xR; + volatile uint32_t CMP4xR; + volatile uint32_t CPT1xR; + volatile uint32_t CPT2xR; + volatile uint32_t DTxR; + volatile uint32_t SETx1R; + volatile uint32_t RSTx1R; + volatile uint32_t SETx2R; + volatile uint32_t RSTx2R; + volatile uint32_t EEFxR1; + volatile uint32_t EEFxR2; + volatile uint32_t RSTxR; + volatile uint32_t CHPxR; + volatile uint32_t CPT1xCR; + volatile uint32_t CPT2xCR; + volatile uint32_t OUTxR; + volatile uint32_t FLTxR; + uint32_t RESERVED0[5]; +}HRTIM_Timerx_TypeDef; + +/* HRTIM common register definition */ +typedef struct +{ + volatile uint32_t CR1; + volatile uint32_t CR2; + volatile uint32_t ISR; + volatile uint32_t ICR; + volatile uint32_t IER; + volatile uint32_t OENR; + volatile uint32_t ODISR; + volatile uint32_t ODSR; + volatile uint32_t BMCR; + volatile uint32_t BMTRGR; + volatile uint32_t BMCMPR; + volatile uint32_t BMPER; + volatile uint32_t EECR1; + volatile uint32_t EECR2; + volatile uint32_t EECR3; + volatile uint32_t ADC1R; + volatile uint32_t ADC2R; + volatile uint32_t ADC3R; + volatile uint32_t ADC4R; + volatile uint32_t RESERVED0; + volatile uint32_t FLTINR1; + volatile uint32_t FLTINR2; + volatile uint32_t BDMUPR; + volatile uint32_t BDTAUPR; + volatile uint32_t BDTBUPR; + volatile uint32_t BDTCUPR; + volatile uint32_t BDTDUPR; + volatile uint32_t BDTEUPR; + volatile uint32_t BDMADR; +}HRTIM_Common_TypeDef; + +/* HRTIM register definition */ +typedef struct { + HRTIM_Master_TypeDef sMasterRegs; + HRTIM_Timerx_TypeDef sTimerxRegs[5]; + uint32_t RESERVED0[32]; + HRTIM_Common_TypeDef sCommonRegs; +}HRTIM_TypeDef; +/** + * @brief RNG + */ + +typedef struct +{ + volatile uint32_t CR; + volatile uint32_t SR; + volatile uint32_t DR; +} RNG_TypeDef; + +/** + * @brief MDIOS + */ + +typedef struct +{ + volatile uint32_t CR; + volatile uint32_t WRFR; + volatile uint32_t CWRFR; + volatile uint32_t RDFR; + volatile uint32_t CRDFR; + volatile uint32_t SR; + volatile uint32_t CLRFR; + uint32_t RESERVED[57]; + volatile uint32_t DINR0; + volatile uint32_t DINR1; + volatile uint32_t DINR2; + volatile uint32_t DINR3; + volatile uint32_t DINR4; + volatile uint32_t DINR5; + volatile uint32_t DINR6; + volatile uint32_t DINR7; + volatile uint32_t DINR8; + volatile uint32_t DINR9; + volatile uint32_t DINR10; + volatile uint32_t DINR11; + volatile uint32_t DINR12; + volatile uint32_t DINR13; + volatile uint32_t DINR14; + volatile uint32_t DINR15; + volatile uint32_t DINR16; + volatile uint32_t DINR17; + volatile uint32_t DINR18; + volatile uint32_t DINR19; + volatile uint32_t DINR20; + volatile uint32_t DINR21; + volatile uint32_t DINR22; + volatile uint32_t DINR23; + volatile uint32_t DINR24; + volatile uint32_t DINR25; + volatile uint32_t DINR26; + volatile uint32_t DINR27; + volatile uint32_t DINR28; + volatile uint32_t DINR29; + volatile uint32_t DINR30; + volatile uint32_t DINR31; + volatile uint32_t DOUTR0; + volatile uint32_t DOUTR1; + volatile uint32_t DOUTR2; + volatile uint32_t DOUTR3; + volatile uint32_t DOUTR4; + volatile uint32_t DOUTR5; + volatile uint32_t DOUTR6; + volatile uint32_t DOUTR7; + volatile uint32_t DOUTR8; + volatile uint32_t DOUTR9; + volatile uint32_t DOUTR10; + volatile uint32_t DOUTR11; + volatile uint32_t DOUTR12; + volatile uint32_t DOUTR13; + volatile uint32_t DOUTR14; + volatile uint32_t DOUTR15; + volatile uint32_t DOUTR16; + volatile uint32_t DOUTR17; + volatile uint32_t DOUTR18; + volatile uint32_t DOUTR19; + volatile uint32_t DOUTR20; + volatile uint32_t DOUTR21; + volatile uint32_t DOUTR22; + volatile uint32_t DOUTR23; + volatile uint32_t DOUTR24; + volatile uint32_t DOUTR25; + volatile uint32_t DOUTR26; + volatile uint32_t DOUTR27; + volatile uint32_t DOUTR28; + volatile uint32_t DOUTR29; + volatile uint32_t DOUTR30; + volatile uint32_t DOUTR31; +} MDIOS_TypeDef; + + +/** + * @brief USB_OTG_Core_Registers + */ +typedef struct +{ + volatile uint32_t GOTGCTL; + volatile uint32_t GOTGINT; + volatile uint32_t GAHBCFG; + volatile uint32_t GUSBCFG; + volatile uint32_t GRSTCTL; + volatile uint32_t GINTSTS; + volatile uint32_t GINTMSK; + volatile uint32_t GRXSTSR; + volatile uint32_t GRXSTSP; + volatile uint32_t GRXFSIZ; + volatile uint32_t DIEPTXF0_HNPTXFSIZ; + volatile uint32_t HNPTXSTS; + uint32_t Reserved30[2]; + volatile uint32_t GCCFG; + volatile uint32_t CID; + volatile uint32_t GSNPSID; + volatile uint32_t GHWCFG1; + volatile uint32_t GHWCFG2; + volatile uint32_t GHWCFG3; + uint32_t Reserved6; + volatile uint32_t GLPMCFG; + volatile uint32_t GPWRDN; + volatile uint32_t GDFIFOCFG; + volatile uint32_t GADPCTL; + uint32_t Reserved43[39]; + volatile uint32_t HPTXFSIZ; + volatile uint32_t DIEPTXF[0x0F]; +} USB_OTG_GlobalTypeDef; + + +/** + * @brief USB_OTG_device_Registers + */ +typedef struct +{ + volatile uint32_t DCFG; + volatile uint32_t DCTL; + volatile uint32_t DSTS; + uint32_t Reserved0C; + volatile uint32_t DIEPMSK; + volatile uint32_t DOEPMSK; + volatile uint32_t DAINT; + volatile uint32_t DAINTMSK; + uint32_t Reserved20; + uint32_t Reserved9; + volatile uint32_t DVBUSDIS; + volatile uint32_t DVBUSPULSE; + volatile uint32_t DTHRCTL; + volatile uint32_t DIEPEMPMSK; + volatile uint32_t DEACHINT; + volatile uint32_t DEACHMSK; + uint32_t Reserved40; + volatile uint32_t DINEP1MSK; + uint32_t Reserved44[15]; + volatile uint32_t DOUTEP1MSK; +} USB_OTG_DeviceTypeDef; + + +/** + * @brief USB_OTG_IN_Endpoint-Specific_Register + */ +typedef struct +{ + volatile uint32_t DIEPCTL; + uint32_t Reserved04; + volatile uint32_t DIEPINT; + uint32_t Reserved0C; + volatile uint32_t DIEPTSIZ; + volatile uint32_t DIEPDMA; + volatile uint32_t DTXFSTS; + uint32_t Reserved18; +} USB_OTG_INEndpointTypeDef; + + +/** + * @brief USB_OTG_OUT_Endpoint-Specific_Registers + */ +typedef struct +{ + volatile uint32_t DOEPCTL; + uint32_t Reserved04; + volatile uint32_t DOEPINT; + uint32_t Reserved0C; + volatile uint32_t DOEPTSIZ; + volatile uint32_t DOEPDMA; + uint32_t Reserved18[2]; +} USB_OTG_OUTEndpointTypeDef; + + +/** + * @brief USB_OTG_Host_Mode_Register_Structures + */ +typedef struct +{ + volatile uint32_t HCFG; + volatile uint32_t HFIR; + volatile uint32_t HFNUM; + uint32_t Reserved40C; + volatile uint32_t HPTXSTS; + volatile uint32_t HAINT; + volatile uint32_t HAINTMSK; +} USB_OTG_HostTypeDef; + +/** + * @brief USB_OTG_Host_Channel_Specific_Registers + */ +typedef struct +{ + volatile uint32_t HCCHAR; + volatile uint32_t HCSPLT; + volatile uint32_t HCINT; + volatile uint32_t HCINTMSK; + volatile uint32_t HCTSIZ; + volatile uint32_t HCDMA; + uint32_t Reserved[2]; +} USB_OTG_HostChannelTypeDef; +/** + * @} + */ + + +/** + * @brief Global Programmer View + */ + +typedef struct +{ + uint32_t RESERVED0[2036]; + volatile uint32_t AXI_PERIPH_ID_4; + uint32_t AXI_PERIPH_ID_5; + uint32_t AXI_PERIPH_ID_6; + uint32_t AXI_PERIPH_ID_7; + volatile uint32_t AXI_PERIPH_ID_0; + volatile uint32_t AXI_PERIPH_ID_1; + volatile uint32_t AXI_PERIPH_ID_2; + volatile uint32_t AXI_PERIPH_ID_3; + volatile uint32_t AXI_COMP_ID_0; + volatile uint32_t AXI_COMP_ID_1; + volatile uint32_t AXI_COMP_ID_2; + volatile uint32_t AXI_COMP_ID_3; + uint32_t RESERVED1[2]; + volatile uint32_t AXI_TARG1_FN_MOD_ISS_BM; + uint32_t RESERVED2[6]; + volatile uint32_t AXI_TARG1_FN_MOD2; + uint32_t RESERVED3; + volatile uint32_t AXI_TARG1_FN_MOD_LB; + uint32_t RESERVED4[54]; + volatile uint32_t AXI_TARG1_FN_MOD; + uint32_t RESERVED5[959]; + volatile uint32_t AXI_TARG2_FN_MOD_ISS_BM; + uint32_t RESERVED6[6]; + volatile uint32_t AXI_TARG2_FN_MOD2; + uint32_t RESERVED7; + volatile uint32_t AXI_TARG2_FN_MOD_LB; + uint32_t RESERVED8[54]; + volatile uint32_t AXI_TARG2_FN_MOD; + uint32_t RESERVED9[959]; + volatile uint32_t AXI_TARG3_FN_MOD_ISS_BM; + uint32_t RESERVED10[1023]; + volatile uint32_t AXI_TARG4_FN_MOD_ISS_BM; + uint32_t RESERVED11[1023]; + volatile uint32_t AXI_TARG5_FN_MOD_ISS_BM; + uint32_t RESERVED12[1023]; + volatile uint32_t AXI_TARG6_FN_MOD_ISS_BM; + uint32_t RESERVED13[1023]; + volatile uint32_t AXI_TARG7_FN_MOD_ISS_BM; + uint32_t RESERVED14[6]; + volatile uint32_t AXI_TARG7_FN_MOD2; + uint32_t RESERVED15; + volatile uint32_t AXI_TARG7_FN_MOD_LB; + uint32_t RESERVED16[54]; + volatile uint32_t AXI_TARG7_FN_MOD; + uint32_t RESERVED17[59334]; + volatile uint32_t AXI_INI1_FN_MOD2; + volatile uint32_t AXI_INI1_FN_MOD_AHB; + uint32_t RESERVED18[53]; + volatile uint32_t AXI_INI1_READ_QOS; + volatile uint32_t AXI_INI1_WRITE_QOS; + volatile uint32_t AXI_INI1_FN_MOD; + uint32_t RESERVED19[1021]; + volatile uint32_t AXI_INI2_READ_QOS; + volatile uint32_t AXI_INI2_WRITE_QOS; + volatile uint32_t AXI_INI2_FN_MOD; + uint32_t RESERVED20[966]; + volatile uint32_t AXI_INI3_FN_MOD2; + volatile uint32_t AXI_INI3_FN_MOD_AHB; + uint32_t RESERVED21[53]; + volatile uint32_t AXI_INI3_READ_QOS; + volatile uint32_t AXI_INI3_WRITE_QOS; + volatile uint32_t AXI_INI3_FN_MOD; + uint32_t RESERVED22[1021]; + volatile uint32_t AXI_INI4_READ_QOS; + volatile uint32_t AXI_INI4_WRITE_QOS; + volatile uint32_t AXI_INI4_FN_MOD; + uint32_t RESERVED23[1021]; + volatile uint32_t AXI_INI5_READ_QOS; + volatile uint32_t AXI_INI5_WRITE_QOS; + volatile uint32_t AXI_INI5_FN_MOD; + uint32_t RESERVED24[1021]; + volatile uint32_t AXI_INI6_READ_QOS; + volatile uint32_t AXI_INI6_WRITE_QOS; + volatile uint32_t AXI_INI6_FN_MOD; + uint32_t RESERVED25[1021]; + volatile uint32_t AXI_INI7_READ_QOS; + volatile uint32_t AXI_INI7_WRITE_QOS; + volatile uint32_t AXI_INI7_FN_MOD; + +} GPV_TypeDef; + +/** @addtogroup Peripheral_memory_map + * @{ + */ +# 2240 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +/* Legacy define */ + + +/*!< Device electronic signature memory map */ + + + + +/*!< Peripheral memory map */ +# 2260 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +/*!< Legacy Peripheral memory map */ + + + + + + +/*!< D1_AHB1PERIPH peripherals */ +# 2280 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +/*!< D2_AHB1PERIPH peripherals */ +# 2292 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +/*!< USB registers base address */ +# 2308 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +/*!< D2_AHB2PERIPH peripherals */ + + + + + + + +/*!< D3_AHB1PERIPH peripherals */ +# 2340 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +/*!< D1_APB1PERIPH peripherals */ + + + + + + +/*!< D2_APB1PERIPH peripherals */ +# 2386 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +/*!< D2_APB2PERIPH peripherals */ +# 2429 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +/*!< D3_APB1PERIPH peripherals */ +# 2534 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +/*!< FMC Banks registers base address */ + + + + + + +/* Debug MCU registers base address */ +# 2580 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +/** + * @} + */ + +/** @addtogroup Peripheral_declaration + * @{ + */ +# 2875 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +/* Legacy defines */ + + + + + + + +/** + * @} + */ + +/** @addtogroup Exported_constants + * @{ + */ + + /** @addtogroup Hardware_Constant_Definition + * @{ + */ + + + /** + * @} + */ + + /** @addtogroup Peripheral_Registers_Bits_Definition + * @{ + */ + +/******************************************************************************/ +/* Peripheral Registers_Bits_Definition */ +/******************************************************************************/ + +/******************************************************************************/ +/* */ +/* Analog to Digital Converter */ +/* */ +/******************************************************************************/ +/******************************* ADC VERSION ********************************/ + +/******************** Bit definition for ADC_ISR register ********************/ +# 2953 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +/******************** Bit definition for ADC_IER register ********************/ +# 2988 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +/******************** Bit definition for ADC_CR register ********************/ +# 3046 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +/******************** Bit definition for ADC_CFGR register ********************/ +# 3128 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +/******************** Bit definition for ADC_CFGR2 register ********************/ +# 3186 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +/******************** Bit definition for ADC_SMPR1 register ********************/ +# 3257 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +/******************** Bit definition for ADC_SMPR2 register ********************/ +# 3328 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +/******************** Bit definition for ADC_PCSEL register ********************/ +# 3353 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +/***************** Bit definition for ADC_LTR1, 2, 3 registers *****************/ + + + + +/***************** Bit definition for ADC_HTR1, 2, 3 registers ****************/ + + + + + +/******************** Bit definition for ADC_SQR1 register ********************/ +# 3409 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +/******************** Bit definition for ADC_SQR2 register ********************/ +# 3455 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +/******************** Bit definition for ADC_SQR3 register ********************/ +# 3501 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +/******************** Bit definition for ADC_SQR4 register ********************/ +# 3519 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +/******************** Bit definition for ADC_DR register ********************/ + + + + +/******************** Bit definition for ADC_JSQR register ********************/ +# 3582 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +/******************** Bit definition for ADC_OFR1 register ********************/ +# 3627 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +/******************** Bit definition for ADC_OFR2 register ********************/ +# 3672 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +/******************** Bit definition for ADC_OFR3 register ********************/ +# 3717 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +/******************** Bit definition for ADC_OFR4 register ********************/ +# 3762 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +/******************** Bit definition for ADC_JDR1 register ********************/ +# 3799 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +/******************** Bit definition for ADC_JDR2 register ********************/ +# 3836 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +/******************** Bit definition for ADC_JDR3 register ********************/ +# 3873 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +/******************** Bit definition for ADC_JDR4 register ********************/ +# 3910 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +/******************** Bit definition for ADC_AWD2CR register ********************/ +# 3935 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +/******************** Bit definition for ADC_AWD3CR register ********************/ +# 3960 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +/******************** Bit definition for ADC_DIFSEL register ********************/ +# 3985 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +/******************** Bit definition for ADC_CALFACT register ********************/ +# 4015 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +/******************** Bit definition for ADC_CALFACT2 register ********************/ +# 4050 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +/************************* ADC Common registers *****************************/ +/******************** Bit definition for ADC_CSR register ********************/ +# 4119 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +/******************** Bit definition for ADC_CCR register ********************/ +# 4168 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +/******************** Bit definition for ADC_CDR register *******************/ +# 4177 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +/******************** Bit definition for ADC_CDR2 register ******************/ + + + + +/******************************************************************************/ +/* */ +/* ART accelerator */ +/* */ +/******************************************************************************/ +/******************* Bit definition for ART_CTR register ********************/ +# 4196 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +/******************************************************************************/ +/* */ +/* VREFBUF */ +/* */ +/******************************************************************************/ +/******************* Bit definition for VREFBUF_CSR register ****************/ +# 4226 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h747xx.h" +/******************* Bit definition for VREFBUF_CCR register ****************/ + + + + +/******************************************************************************/ +/* */ +/* Flexible Datarate Controller Area Network */ +/* */ +/******************************************************************************/ +/*!. */ + +/* + * ISO C Standard: 7.17 Common definitions + */ +# 32 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/math.h" 1 3 4 +/* +Copyright (c) 1991, 1993 +The Regents of the University of California. All rights reserved. +c) UNIX System Laboratories, Inc. +All or some portions of this file are derived from material licensed +to the University of California by American Telephone and Telegraph +Co. or Unix System Laboratories, Inc. and are reproduced herein with +the permission of UNIX System Laboratories, Inc. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. +3. Neither the name of the University nor the names of its contributors +may be used to endorse or promote products derived from this software +without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + */ +# 33 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 2 + + +# 34 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" +/* Exported types ------------------------------------------------------------*/ + +/** + * @brief HAL Status structures definition + */ +typedef enum +{ + HAL_OK = 0x00, + HAL_ERROR = 0x01, + HAL_BUSY = 0x02, + HAL_TIMEOUT = 0x03 +} HAL_StatusTypeDef; + +/** + * @brief HAL Lock structures definition + */ +typedef enum +{ + HAL_UNLOCKED = 0x00, + HAL_LOCKED = 0x01 +} HAL_LockTypeDef; + +/* Exported macro ------------------------------------------------------------*/ +# 73 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" +/** @brief Reset the Handle's State field. + * @param __HANDLE__: specifies the Peripheral Handle. + * @note This macro can be used for the following purpose: + * - When the Handle is declared as local variable; before passing it as parameter + * to HAL_PPP_Init() for the first time, it is mandatory to use this macro + * to set to 0 the Handle's "State" field. + * Otherwise, "State" field may have any random value and the first time the function + * HAL_PPP_Init() is called, the low level hardware initialization will be missed + * (i.e. HAL_PPP_MspInit() will not be executed). + * - When there is a need to reconfigure the low level hardware: instead of calling + * HAL_PPP_DeInit() then HAL_PPP_Init(), user can make a call to this macro then HAL_PPP_Init(). + * In this later function, when the Handle's "State" field is set to 0, it will execute the function + * HAL_PPP_MspInit() which will reconfigure the low level hardware. + * @retval None + */ +# 129 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" +/* Macro to get variable aligned on 4-bytes, for __ICCARM__ the directive "#pragma data_alignment=4" must be used instead */ +# 157 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" +/* Macro to get variable aligned on 32-bytes,needed for cache maintenance purpose */ +# 166 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" +/** + * @brief __RAM_FUNC definition + */ +# 189 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" +/* GNU Compiler + ------------ + RAM functions are defined using a specific toolchain attribute + "__attribute__((section(".RamFunc")))". +*/ + + + + +/** + * @brief __NOINLINE definition + */ + +/* ARM V4/V5 and V6 & GNU Compiler + ------------------------------- +*/ +# 217 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" +} +# 28 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rcc.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup RCC + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ + +/** @defgroup RCC_Exported_Types RCC Exported Types + * @{ + */ + +/** + * @brief RCC PLL configuration structure definition + */ +typedef struct +{ + uint32_t PLLState; /*!< The new state of the PLL. + This parameter can be a value of @ref RCC_PLL_Config */ + + uint32_t PLLSource; /*!< RCC_PLLSource: PLL entry clock source. + This parameter must be a value of @ref RCC_PLL_Clock_Source */ + + uint32_t PLLM; /*!< PLLM: Division factor for PLL VCO input clock. + This parameter must be a number between Min_Data = 1 and Max_Data = 63 */ + + uint32_t PLLN; /*!< PLLN: Multiplication factor for PLL VCO output clock. + This parameter must be a number between Min_Data = 4 and Max_Data = 512 + or between Min_Data = 8 and Max_Data = 420(*) + (*) : For stm32h7a3xx and stm32h7b3xx family lines. */ + + uint32_t PLLP; /*!< PLLP: Division factor for system clock. + This parameter must be a number between Min_Data = 2 and Max_Data = 128 + odd division factors are not allowed */ + + uint32_t PLLQ; /*!< PLLQ: Division factor for peripheral clocks. + This parameter must be a number between Min_Data = 1 and Max_Data = 128 */ + + uint32_t PLLR; /*!< PLLR: Division factor for peripheral clocks. + This parameter must be a number between Min_Data = 1 and Max_Data = 128 */ + uint32_t PLLRGE; /*! 0 then increment the next block source Address by offset from where the last block ends + if < 0 then decrement the next block source Address by offset from where the last block ends + if == 0, the next block source address starts from where the last block ends + */ + + + int32_t DestBlockAddressOffset; /*!< this field specifies the Next block destination address offset + signed value : if > 0 then increment the next block destination Address by offset from where the last block ends + if < 0 then decrement the next block destination Address by offset from where the last block ends + if == 0, the next block destination address starts from where the last block ends + */ + +}MDMA_InitTypeDef; + +/** + * @brief HAL MDMA linked list node structure definition + * @note The Linked list node allows to define a new MDMA configuration + * (CTCR ,CBNDTR ,CSAR ,CDAR ,CBRUR, CLAR, CTBR, CMAR and CMDR registers). + * When CLAR register is configured to a non NULL value , each time a transfer ends, + * a new configuration (linked list node) is automatically loaded from the address given in CLAR register. + */ +typedef struct +{ + volatile uint32_t CTCR; + volatile uint32_t CBNDTR; + volatile uint32_t CSAR; + volatile uint32_t CDAR; + volatile uint32_t CBRUR; + volatile uint32_t CLAR; + volatile uint32_t CTBR; + volatile uint32_t Reserved; + volatile uint32_t CMAR; + volatile uint32_t CMDR; + +}MDMA_LinkNodeTypeDef; + +/** + * @brief HAL MDMA linked list node configuration structure definition + * @note used with HAL_MDMA_LinkedList_CreateNode function + */ +typedef struct +{ + MDMA_InitTypeDef Init; + uint32_t SrcAddress; + uint32_t DstAddress; + uint32_t BlockDataLength; + uint32_t BlockCount; + + uint32_t PostRequestMaskAddress; /*!< specifies the address to be updated (written) with PostRequestMaskData after a request is served. + PostRequestMaskAddress and PostRequestMaskData could be used to automatically clear a peripheral flag when the request is served */ + + uint32_t PostRequestMaskData; /*!< specifies the value to be written to PostRequestMaskAddress after a request is served. + PostRequestMaskAddress and PostRequestMaskData could be used to automatically clear a peripheral flag when the request is served */ + + +}MDMA_LinkNodeConfTypeDef; + + +/** + * @brief HAL MDMA State structure definition + */ +typedef enum +{ + HAL_MDMA_STATE_RESET = 0x00U, + HAL_MDMA_STATE_READY = 0x01U, + HAL_MDMA_STATE_BUSY = 0x02U, + HAL_MDMA_STATE_ERROR = 0x03U, + HAL_MDMA_STATE_ABORT = 0x04U, + +}HAL_MDMA_StateTypeDef; + +/** + * @brief HAL MDMA Level Complete structure definition + */ +typedef enum +{ + HAL_MDMA_FULL_TRANSFER = 0x00U, + HAL_MDMA_BUFFER_TRANSFER = 0x01U, + HAL_MDMA_BLOCK_TRANSFER = 0x02U, + HAL_MDMA_REPEAT_BLOCK_TRANSFER = 0x03U + +}HAL_MDMA_LevelCompleteTypeDef; + +/** + * @brief HAL MDMA Callbacks IDs structure definition + */ +typedef enum +{ + HAL_MDMA_XFER_CPLT_CB_ID = 0x00U, + HAL_MDMA_XFER_BUFFERCPLT_CB_ID = 0x01U, + HAL_MDMA_XFER_BLOCKCPLT_CB_ID = 0x02U, + HAL_MDMA_XFER_REPBLOCKCPLT_CB_ID = 0x03U, + HAL_MDMA_XFER_ERROR_CB_ID = 0x04U, + HAL_MDMA_XFER_ABORT_CB_ID = 0x05U, + HAL_MDMA_XFER_ALL_CB_ID = 0x06U + +}HAL_MDMA_CallbackIDTypeDef; + + +/** + * @brief MDMA handle Structure definition + */ +typedef struct __MDMA_HandleTypeDef +{ + MDMA_Channel_TypeDef *Instance; + + MDMA_InitTypeDef Init; + + HAL_LockTypeDef Lock; + + volatile HAL_MDMA_StateTypeDef State; + + void *Parent; + + void (* XferCpltCallback)( struct __MDMA_HandleTypeDef * hmdma); + + void (* XferBufferCpltCallback)( struct __MDMA_HandleTypeDef * hmdma); + + void (* XferBlockCpltCallback)( struct __MDMA_HandleTypeDef * hmdma); + + void (* XferRepeatBlockCpltCallback)( struct __MDMA_HandleTypeDef * hmdma); + + void (* XferErrorCallback)( struct __MDMA_HandleTypeDef * hmdma); + + void (* XferAbortCallback)( struct __MDMA_HandleTypeDef * hmdma); + + + MDMA_LinkNodeTypeDef *FirstLinkedListNodeAddress; /*!< specifies the first node address of the transfer list + (after the initial node defined by the Init struct) + this parameter is used internally by the MDMA driver + to construct the linked list node + */ + + MDMA_LinkNodeTypeDef *LastLinkedListNodeAddress; /*!< specifies the last node address of the transfer list + this parameter is used internally by the MDMA driver + to construct the linked list node + */ + uint32_t LinkedListNodeCounter; + + volatile uint32_t ErrorCode; + +} MDMA_HandleTypeDef; + +/** + * @} + */ + +/* Exported constants --------------------------------------------------------*/ + +/** @defgroup MDMA_Exported_Constants MDMA Exported Constants + * @brief MDMA Exported constants + * @{ + */ + +/** @defgroup MDMA_Error_Codes MDMA Error Codes + * @brief MDMA Error Codes + * @{ + */ +# 269 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_mdma.h" +/** + * @} + */ + +/** @defgroup MDMA_Request_selection MDMA Request selection + * @brief MDMA_Request_selection + * @{ + */ +# 333 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_mdma.h" +/** + * @} + */ + +/** @defgroup MDMA_Transfer_TriggerMode MDMA Transfer Trigger Mode + * @brief MDMA Transfer Trigger Mode + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup MDMA_Priority_level MDMA Priority level + * @brief MDMA Priority level + * @{ + */ + + + + + +/** + * @} + */ + + +/** @defgroup MDMA_Endianness MDMA Endianness + * @brief MDMA Endianness + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup MDMA_Source_increment_mode MDMA Source increment mode + * @brief MDMA Source increment mode + * @{ + */ +# 391 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_mdma.h" +/** + * @} + */ + +/** @defgroup MDMA_Destination_increment_mode MDMA Destination increment mode + * @brief MDMA Destination increment mode + * @{ + */ +# 409 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_mdma.h" +/** + * @} + */ + +/** @defgroup MDMA_Source_data_size MDMA Source data size + * @brief MDMA Source data size + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup MDMA_Destination_data_size MDMA Destination data size + * @brief MDMA Destination data size + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup MDMA_data_Alignment MDMA data alignment + * @brief MDMA data alignment + * @{ + */ + + + + + + + +/** + * @} + */ + +/** @defgroup MDMA_Source_burst MDMA Source burst + * @brief MDMA Source burst + * @{ + */ +# 467 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_mdma.h" +/** + * @} + */ + +/** @defgroup MDMA_Destination_burst MDMA Destination burst + * @brief MDMA Destination burst + * @{ + */ +# 484 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_mdma.h" +/** + * @} + */ + +/** @defgroup MDMA_interrupt_enable_definitions MDMA interrupt enable definitions + * @brief MDMA interrupt enable definitions + * @{ + */ + + + + + + +/** + * @} + */ + +/** @defgroup MDMA_flag_definitions MDMA flag definitions + * @brief MDMA flag definitions + * @{ + */ + + + + + + + +/** + * @} + */ + +/** + * @} + */ + +/* Exported macro ------------------------------------------------------------*/ + +/** @defgroup MDMA_Exported_Macros MDMA Exported Macros + * @{ + */ + +/** + * @brief Enable the specified MDMA Channel. + * @param __HANDLE__: MDMA handle + * @retval None + */ + + +/** + * @brief Disable the specified MDMA Channel. + * @param __HANDLE__: MDMA handle + * @retval None + */ + + +/** + * @brief Get the MDMA Channel pending flags. + * @param __HANDLE__: MDMA handle + * @param __FLAG__: Get the specified flag. + * This parameter can be any combination of the following values: + * @arg MDMA_FLAG_TE : Transfer Error flag. + * @arg MDMA_FLAG_CTC : Channel Transfer Complete flag. + * @arg MDMA_FLAG_BRT : Block Repeat Transfer flag. + * @arg MDMA_FLAG_BT : Block Transfer complete flag. + * @arg MDMA_FLAG_BFTC : BuFfer Transfer Complete flag. + * @arg MDMA_FLAG_CRQA : Channel request Active flag. + * @retval The state of FLAG (SET or RESET). + */ + + +/** + * @brief Clear the MDMA Stream pending flags. + * @param __HANDLE__: MDMA handle + * @param __FLAG__: specifies the flag to clear. + * This parameter can be any combination of the following values: + * @arg MDMA_FLAG_TE : Transfer Error flag. + * @arg MDMA_FLAG_CTC : Channel Transfer Complete flag. + * @arg MDMA_FLAG_BRT : Block Repeat Transfer flag. + * @arg MDMA_FLAG_BT : Block Transfer complete flag. + * @arg MDMA_FLAG_BFTC : BuFfer Transfer Complete flag. + * @retval None + */ + + +/** + * @brief Enables the specified MDMA Channel interrupts. + * @param __HANDLE__: MDMA handle + * @param __INTERRUPT__: specifies the DMA interrupt sources to be enabled or disabled. + * This parameter can be any combination of the following values: + * @arg MDMA_IT_TE : Transfer Error interrupt mask + * @arg MDMA_IT_CTC : Channel Transfer Complete interrupt mask + * @arg MDMA_IT_BRT : Block Repeat Transfer interrupt mask + * @arg MDMA_IT_BT : Block Transfer interrupt mask + * @arg MDMA_IT_BFTC : BuFfer Transfer Complete interrupt mask + * @retval None + */ + + +/** + * @brief Disables the specified MDMA Channel interrupts. + * @param __HANDLE__: MDMA handle + * @param __INTERRUPT__: specifies the MDMA interrupt sources to be enabled or disabled. + * This parameter can be any combination of the following values: + * @arg MDMA_IT_TE : Transfer Error interrupt mask + * @arg MDMA_IT_CTC : Channel Transfer Complete interrupt mask + * @arg MDMA_IT_BRT : Block Repeat Transfer interrupt mask + * @arg MDMA_IT_BT : Block Transfer interrupt mask + * @arg MDMA_IT_BFTC : BuFfer Transfer Complete interrupt mask + * @retval None + */ + + +/** + * @brief Checks whether the specified MDMA Channel interrupt is enabled or not. + * @param __HANDLE__: MDMA handle + * @param __INTERRUPT__: specifies the MDMA interrupt source to check. + * @arg MDMA_IT_TE : Transfer Error interrupt mask + * @arg MDMA_IT_CTC : Channel Transfer Complete interrupt mask + * @arg MDMA_IT_BRT : Block Repeat Transfer interrupt mask + * @arg MDMA_IT_BT : Block Transfer interrupt mask + * @arg MDMA_IT_BFTC : BuFfer Transfer Complete interrupt mask + * @retval The state of MDMA_IT (SET or RESET). + */ + + +/** + * @brief Writes the number of data in bytes to be transferred on the MDMA Channelx. + * @param __HANDLE__ : MDMA handle + * @param __COUNTER__: Number of data in bytes to be transferred. + * @retval None + */ + + +/** + * @brief Returns the number of remaining data in bytes in the current MDMA Channelx transfer. + * @param __HANDLE__ : MDMA handle + * @retval The number of remaining data in bytes in the current MDMA Channelx transfer. + */ + + +/** + * @} + */ + +/* Exported functions --------------------------------------------------------*/ +/** @defgroup MDMA_Exported_Functions MDMA Exported Functions + * @{ + */ + +/* Initialization and de-initialization functions *****************************/ +/** @defgroup MDMA_Exported_Functions_Group1 Initialization and de-initialization functions + * @brief Initialization and de-initialization functions + * @{ + */ +HAL_StatusTypeDef HAL_MDMA_Init(MDMA_HandleTypeDef *hmdma); +HAL_StatusTypeDef HAL_MDMA_DeInit (MDMA_HandleTypeDef *hmdma); +HAL_StatusTypeDef HAL_MDMA_ConfigPostRequestMask(MDMA_HandleTypeDef *hmdma, uint32_t MaskAddress, uint32_t MaskData); + +HAL_StatusTypeDef HAL_MDMA_RegisterCallback(MDMA_HandleTypeDef *hmdma, HAL_MDMA_CallbackIDTypeDef CallbackID, void (* pCallback)(MDMA_HandleTypeDef *_hmdma)); +HAL_StatusTypeDef HAL_MDMA_UnRegisterCallback(MDMA_HandleTypeDef *hmdma, HAL_MDMA_CallbackIDTypeDef CallbackID); + +/** + * @} + */ + +/* Linked list operation functions ********************************************/ +/** @defgroup MDMA_Exported_Functions_Group2 Linked List operation functions + * @brief Linked list operation functions + * @{ + */ + +HAL_StatusTypeDef HAL_MDMA_LinkedList_CreateNode(MDMA_LinkNodeTypeDef *pNode, MDMA_LinkNodeConfTypeDef *pNodeConfig); +HAL_StatusTypeDef HAL_MDMA_LinkedList_AddNode(MDMA_HandleTypeDef *hmdma, MDMA_LinkNodeTypeDef *pNewNode, const MDMA_LinkNodeTypeDef *pPrevNode); +HAL_StatusTypeDef HAL_MDMA_LinkedList_RemoveNode(MDMA_HandleTypeDef *hmdma, MDMA_LinkNodeTypeDef *pNode); +HAL_StatusTypeDef HAL_MDMA_LinkedList_EnableCircularMode(MDMA_HandleTypeDef *hmdma); +HAL_StatusTypeDef HAL_MDMA_LinkedList_DisableCircularMode(MDMA_HandleTypeDef *hmdma); + + +/** + * @} + */ + +/* IO operation functions *****************************************************/ +/** @defgroup MDMA_Exported_Functions_Group3 I/O operation functions + * @brief I/O operation functions + * @{ + */ +HAL_StatusTypeDef HAL_MDMA_Start (MDMA_HandleTypeDef *hmdma, uint32_t SrcAddress, uint32_t DstAddress, uint32_t BlockDataLength, uint32_t BlockCount); +HAL_StatusTypeDef HAL_MDMA_Start_IT(MDMA_HandleTypeDef *hmdma, uint32_t SrcAddress, uint32_t DstAddress, uint32_t BlockDataLength, uint32_t BlockCount); +HAL_StatusTypeDef HAL_MDMA_Abort(MDMA_HandleTypeDef *hmdma); +HAL_StatusTypeDef HAL_MDMA_Abort_IT(MDMA_HandleTypeDef *hmdma); +HAL_StatusTypeDef HAL_MDMA_PollForTransfer(MDMA_HandleTypeDef *hmdma, HAL_MDMA_LevelCompleteTypeDef CompleteLevel, uint32_t Timeout); +HAL_StatusTypeDef HAL_MDMA_GenerateSWRequest(MDMA_HandleTypeDef *hmdma); +void HAL_MDMA_IRQHandler(MDMA_HandleTypeDef *hmdma); + +/** + * @} + */ + +/* Peripheral State and Error functions ***************************************/ +/** @defgroup MDMA_Exported_Functions_Group4 Peripheral State functions + * @brief Peripheral State functions + * @{ + */ +HAL_MDMA_StateTypeDef HAL_MDMA_GetState(const MDMA_HandleTypeDef *hmdma); +uint32_t HAL_MDMA_GetError(const MDMA_HandleTypeDef *hmdma); + +/** + * @} + */ + +/** + * @} + */ + +/* Private types -------------------------------------------------------------*/ +/** @defgroup MDMA_Private_Types MDMA Private Types + * @{ + */ + +/** + * @} + */ + +/* Private defines -----------------------------------------------------------*/ +/** @defgroup MDMA_Private_Defines MDMA Private Defines + * @{ + */ + +/** + * @} + */ + +/* Private variables ---------------------------------------------------------*/ +/** @defgroup MDMA_Private_Variables MDMA Private Variables + * @{ + */ + +/** + * @} + */ + +/* Private constants ---------------------------------------------------------*/ +/** @defgroup MDMA_Private_Constants MDMA Private Constants + * @{ + */ + +/** + * @} + */ + +/* Private macros ------------------------------------------------------------*/ +/** @defgroup MDMA_Private_Macros MDMA Private Macros + * @{ + */ +# 833 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_mdma.h" +/** + * @} + */ + +/* Private functions prototypes ----------------------------------------------*/ +/** @defgroup MDMA_Private_Functions_Prototypes MDMA Private Functions Prototypes + * @{ + */ + +/** + * @} + */ + +/* Private functions ---------------------------------------------------------*/ +/** @defgroup MDMA_Private_Functions MDMA Private Functions + * @{ + */ + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + + +} +# 263 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hash.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_hash.h + * @author MCD Application Team + * @brief Header file of HASH HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hash.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ +# 631 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hash.h" +/** + * @} + */ + + + +} +# 267 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dcmi.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_dcmi.h + * @author MCD Application Team + * @brief Header file of DCMI HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + + extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dcmi.h" 2 + + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup DCMI DCMI + * @brief DCMI HAL module driver + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/** @defgroup DCMI_Exported_Types DCMI Exported Types + * @{ + */ +/** + * @brief HAL DCMI State structures definition + */ +typedef enum +{ + HAL_DCMI_STATE_RESET = 0x00U, + HAL_DCMI_STATE_READY = 0x01U, + HAL_DCMI_STATE_BUSY = 0x02U, + HAL_DCMI_STATE_TIMEOUT = 0x03U, + HAL_DCMI_STATE_ERROR = 0x04U, + HAL_DCMI_STATE_SUSPENDED = 0x05U +} HAL_DCMI_StateTypeDef; + +/** + * @brief DCMI Embedded Synchronisation CODE Init structure definition + */ +typedef struct +{ + uint8_t FrameStartCode; + uint8_t LineStartCode; + uint8_t LineEndCode; + uint8_t FrameEndCode; +} DCMI_CodesInitTypeDef; + +/** + * @brief DCMI Embedded Synchronisation UNMASK Init structure definition + */ +typedef struct +{ + uint8_t FrameStartUnmask; + uint8_t LineStartUnmask; + uint8_t LineEndUnmask; + uint8_t FrameEndUnmask; +} DCMI_SyncUnmaskTypeDef; +/** + * @brief DCMI Init structure definition + */ +typedef struct +{ + uint32_t SynchroMode; /*!< Specifies the Synchronization Mode: Hardware or Embedded. + This parameter can be a value of @ref DCMI_Synchronization_Mode */ + + uint32_t PCKPolarity; /*!< Specifies the Pixel clock polarity: Falling or Rising. + This parameter can be a value of @ref DCMI_PIXCK_Polarity */ + + uint32_t VSPolarity; /*!< Specifies the Vertical synchronization polarity: High or Low. + This parameter can be a value of @ref DCMI_VSYNC_Polarity */ + + uint32_t HSPolarity; /*!< Specifies the Horizontal synchronization polarity: High or Low. + This parameter can be a value of @ref DCMI_HSYNC_Polarity */ + + uint32_t CaptureRate; /*!< Specifies the frequency of frame capture: All, 1/2 or 1/4. + This parameter can be a value of @ref DCMI_Capture_Rate */ + + uint32_t ExtendedDataMode; /*!< Specifies the data width: 8-bit, 10-bit, 12-bit or 14-bit. + This parameter can be a value of @ref DCMI_Extended_Data_Mode */ + + DCMI_CodesInitTypeDef SyncroCode; /*!< Specifies the code of the line/frame start delimiter and the + line/frame end delimiter */ + + uint32_t JPEGMode; /*!< Enable or Disable the JPEG mode. + This parameter can be a value of @ref DCMI_MODE_JPEG */ + + uint32_t ByteSelectMode; /*!< Specifies the data to be captured by the interface + This parameter can be a value of @ref DCMI_Byte_Select_Mode */ + + uint32_t ByteSelectStart; /*!< Specifies if the data to be captured by the interface is even or odd + This parameter can be a value of @ref DCMI_Byte_Select_Start */ + + uint32_t LineSelectMode; /*!< Specifies the line of data to be captured by the interface + This parameter can be a value of @ref DCMI_Line_Select_Mode */ + + uint32_t LineSelectStart; /*!< Specifies if the line of data to be captured by the interface is even or odd + This parameter can be a value of @ref DCMI_Line_Select_Start */ +} DCMI_InitTypeDef; + +/** + * @brief DCMI handle Structure definition + */ + + + +typedef struct + +{ + DCMI_TypeDef *Instance; + + DCMI_InitTypeDef Init; + + HAL_LockTypeDef Lock; + + volatile HAL_DCMI_StateTypeDef State; + + volatile uint32_t XferCount; + + volatile uint32_t XferSize; + + uint32_t XferTransferNumber; + + uint32_t pBuffPtr; + + DMA_HandleTypeDef *DMA_Handle; + + volatile uint32_t ErrorCode; +# 157 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dcmi.h" +} DCMI_HandleTypeDef; +# 180 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dcmi.h" +/** + * @} + */ +/* Exported constants --------------------------------------------------------*/ + +/** @defgroup DCMI_Exported_Constants DCMI Exported Constants + * @{ + */ + +/** @defgroup DCMI_Error_Code DCMI Error Code + * @{ + */ +# 200 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dcmi.h" +/** + * @} + */ + +/** @defgroup DCMI_Capture_Mode DCMI Capture Mode + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup DCMI_Synchronization_Mode DCMI Synchronization Mode + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup DCMI_PIXCK_Polarity DCMI PIXCK Polarity + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup DCMI_VSYNC_Polarity DCMI VSYNC Polarity + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup DCMI_HSYNC_Polarity DCMI HSYNC Polarity + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup DCMI_MODE_JPEG DCMI MODE JPEG + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup DCMI_Capture_Rate DCMI Capture Rate + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup DCMI_Extended_Data_Mode DCMI Extended Data Mode + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup DCMI_Window_Coordinate DCMI Window Coordinate + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DCMI_Window_Height DCMI Window Height + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DCMI_interrupt_sources DCMI interrupt sources + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup DCMI_Flags DCMI Flags + * @{ + */ + +/** + * @brief DCMI SR register + */ + + + +/** + * @brief DCMI RIS register + */ + + + + + +/** + * @brief DCMI MIS register + */ + + + + + +/** + * @} + */ + +/** @defgroup DCMI_Byte_Select_Mode DCMI Byte Select Mode + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup DCMI_Byte_Select_Start DCMI Byte Select Start + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup DCMI_Line_Select_Mode DCMI Line Select Mode + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup DCMI_Line_Select_Start DCMI Line Select Start + * @{ + */ + + + +/** + * @} + */ + +/** + * @} + */ + +/* Exported macro ------------------------------------------------------------*/ +/** @defgroup DCMI_Exported_Macros DCMI Exported Macros + * @{ + */ + +/** @brief Reset DCMI handle state + * @param __HANDLE__ specifies the DCMI handle. + * @retval None + */ +# 415 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dcmi.h" +/** + * @brief Enable the DCMI. + * @param __HANDLE__ DCMI handle + * @retval None + */ + + +/** + * @brief Disable the DCMI. + * @param __HANDLE__ DCMI handle + * @retval None + */ + + +/* Interrupt & Flag management */ +/** + * @brief Get the DCMI pending flag. + * @param __HANDLE__ DCMI handle + * @param __FLAG__ Get the specified flag. + * This parameter can be one of the following values (no combination allowed) + * @arg DCMI_FLAG_HSYNC: HSYNC pin state (active line / synchronization between lines) + * @arg DCMI_FLAG_VSYNC: VSYNC pin state (active frame / synchronization between frames) + * @arg DCMI_FLAG_FNE: FIFO empty flag + * @arg DCMI_FLAG_FRAMERI: Frame capture complete flag mask + * @arg DCMI_FLAG_OVRRI: Overrun flag mask + * @arg DCMI_FLAG_ERRRI: Synchronization error flag mask + * @arg DCMI_FLAG_VSYNCRI: VSYNC flag mask + * @arg DCMI_FLAG_LINERI: Line flag mask + * @arg DCMI_FLAG_FRAMEMI: DCMI Capture complete masked interrupt status + * @arg DCMI_FLAG_OVRMI: DCMI Overrun masked interrupt status + * @arg DCMI_FLAG_ERRMI: DCMI Synchronization error masked interrupt status + * @arg DCMI_FLAG_VSYNCMI: DCMI VSYNC masked interrupt status + * @arg DCMI_FLAG_LINEMI: DCMI Line masked interrupt status + * @retval The state of FLAG. + */ + + + + +/** + * @brief Clear the DCMI pending flags. + * @param __HANDLE__ DCMI handle + * @param __FLAG__ specifies the flag to clear. + * This parameter can be any combination of the following values: + * @arg DCMI_FLAG_FRAMERI: Frame capture complete flag mask + * @arg DCMI_FLAG_OVFRI: Overflow flag mask + * @arg DCMI_FLAG_ERRRI: Synchronization error flag mask + * @arg DCMI_FLAG_VSYNCRI: VSYNC flag mask + * @arg DCMI_FLAG_LINERI: Line flag mask + * @retval None + */ + + +/** + * @brief Enable the specified DCMI interrupts. + * @param __HANDLE__ DCMI handle + * @param __INTERRUPT__ specifies the DCMI interrupt sources to be enabled. + * This parameter can be any combination of the following values: + * @arg DCMI_IT_FRAME: Frame capture complete interrupt mask + * @arg DCMI_IT_OVF: Overflow interrupt mask + * @arg DCMI_IT_ERR: Synchronization error interrupt mask + * @arg DCMI_IT_VSYNC: VSYNC interrupt mask + * @arg DCMI_IT_LINE: Line interrupt mask + * @retval None + */ + + +/** + * @brief Disable the specified DCMI interrupts. + * @param __HANDLE__ DCMI handle + * @param __INTERRUPT__ specifies the DCMI interrupt sources to be enabled. + * This parameter can be any combination of the following values: + * @arg DCMI_IT_FRAME: Frame capture complete interrupt mask + * @arg DCMI_IT_OVF: Overflow interrupt mask + * @arg DCMI_IT_ERR: Synchronization error interrupt mask + * @arg DCMI_IT_VSYNC: VSYNC interrupt mask + * @arg DCMI_IT_LINE: Line interrupt mask + * @retval None + */ + + +/** + * @brief Check whether the specified DCMI interrupt has occurred or not. + * @param __HANDLE__ DCMI handle + * @param __INTERRUPT__ specifies the DCMI interrupt source to check. + * This parameter can be one of the following values: + * @arg DCMI_IT_FRAME: Frame capture complete interrupt mask + * @arg DCMI_IT_OVF: Overflow interrupt mask + * @arg DCMI_IT_ERR: Synchronization error interrupt mask + * @arg DCMI_IT_VSYNC: VSYNC interrupt mask + * @arg DCMI_IT_LINE: Line interrupt mask + * @retval The state of INTERRUPT. + */ + + +/** + * @} + */ + +/* Exported functions --------------------------------------------------------*/ +/** @addtogroup DCMI_Exported_Functions DCMI Exported Functions + * @{ + */ + +/** @addtogroup DCMI_Exported_Functions_Group1 Initialization and Configuration functions + * @{ + */ +/* Initialization and de-initialization functions *****************************/ +HAL_StatusTypeDef HAL_DCMI_Init(DCMI_HandleTypeDef *hdcmi); +HAL_StatusTypeDef HAL_DCMI_DeInit(DCMI_HandleTypeDef *hdcmi); +void HAL_DCMI_MspInit(DCMI_HandleTypeDef* hdcmi); +void HAL_DCMI_MspDeInit(DCMI_HandleTypeDef* hdcmi); + +/* Callbacks Register/UnRegister functions ***********************************/ + + + + + +/** + * @} + */ + +/** @addtogroup DCMI_Exported_Functions_Group2 IO operation functions + * @{ + */ +/* IO operation functions *****************************************************/ +HAL_StatusTypeDef HAL_DCMI_Start_DMA(DCMI_HandleTypeDef* hdcmi, uint32_t DCMI_Mode, uint32_t pData, uint32_t Length); +HAL_StatusTypeDef HAL_DCMI_Stop(DCMI_HandleTypeDef* hdcmi); +HAL_StatusTypeDef HAL_DCMI_Suspend(DCMI_HandleTypeDef* hdcmi); +HAL_StatusTypeDef HAL_DCMI_Resume(DCMI_HandleTypeDef* hdcmi); +void HAL_DCMI_ErrorCallback(DCMI_HandleTypeDef *hdcmi); +void HAL_DCMI_LineEventCallback(DCMI_HandleTypeDef *hdcmi); +void HAL_DCMI_FrameEventCallback(DCMI_HandleTypeDef *hdcmi); +void HAL_DCMI_VsyncEventCallback(DCMI_HandleTypeDef *hdcmi); +void HAL_DCMI_IRQHandler(DCMI_HandleTypeDef *hdcmi); +/** + * @} + */ + +/** @addtogroup DCMI_Exported_Functions_Group3 Peripheral Control functions + * @{ + */ +/* Peripheral Control functions ***********************************************/ +HAL_StatusTypeDef HAL_DCMI_ConfigCrop(DCMI_HandleTypeDef *hdcmi, uint32_t X0, uint32_t Y0, uint32_t XSize, uint32_t YSize); +HAL_StatusTypeDef HAL_DCMI_EnableCrop(DCMI_HandleTypeDef *hdcmi); +HAL_StatusTypeDef HAL_DCMI_DisableCrop(DCMI_HandleTypeDef *hdcmi); +HAL_StatusTypeDef HAL_DCMI_ConfigSyncUnmask(DCMI_HandleTypeDef *hdcmi, DCMI_SyncUnmaskTypeDef *SyncUnmask); + +/** + * @} + */ + +/** @addtogroup DCMI_Exported_Functions_Group4 Peripheral State functions + * @{ + */ +/* Peripheral State functions *************************************************/ +HAL_DCMI_StateTypeDef HAL_DCMI_GetState(const DCMI_HandleTypeDef *hdcmi); +uint32_t HAL_DCMI_GetError(const DCMI_HandleTypeDef *hdcmi); +/** + * @} + */ + +/** + * @} + */ + +/* Private types -------------------------------------------------------------*/ +/* Private defines -----------------------------------------------------------*/ +/** @defgroup DCMI_Private_Defines DCMI Private Defines + * @{ + */ +/** + * @} + */ +/* Private variables ---------------------------------------------------------*/ +/* Private constants ---------------------------------------------------------*/ +/** @defgroup DCMI_Private_Constants DCMI Private Constants + * @{ + */ + + +/** + * @} + */ +/* Private macro -------------------------------------------------------------*/ +/** @defgroup DCMI_Private_Macros DCMI Private Macros + * @{ + */ +# 649 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dcmi.h" +/** + * @} + */ + +/* Private functions ---------------------------------------------------------*/ +/** @addtogroup DCMI_Private_Functions DCMI Private Functions + * @{ + */ + +/** + * @} + */ + +/** + * @} + */ +/** + * @} + */ + + + + +} +# 271 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dma2d.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_dma2d.h + * @author MCD Application Team + * @brief Header file of DMA2D HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dma2d.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + + + +/** @addtogroup DMA2D DMA2D + * @brief DMA2D HAL module driver + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/** @defgroup DMA2D_Exported_Types DMA2D Exported Types + * @{ + */ + + +/** + * @brief DMA2D CLUT Structure definition + */ +typedef struct +{ + uint32_t *pCLUT; + + uint32_t CLUTColorMode; /*!< Configures the DMA2D CLUT color mode. + This parameter can be one value of @ref DMA2D_CLUT_CM. */ + + uint32_t Size; /*!< Configures the DMA2D CLUT size. + This parameter must be a number between Min_Data = 0x00 and Max_Data = 0xFF.*/ +} DMA2D_CLUTCfgTypeDef; + +/** + * @brief DMA2D Init structure definition + */ +typedef struct +{ + uint32_t Mode; /*!< Configures the DMA2D transfer mode. + This parameter can be one value of @ref DMA2D_Mode. */ + + uint32_t ColorMode; /*!< Configures the color format of the output image. + This parameter can be one value of @ref DMA2D_Output_Color_Mode. */ + + uint32_t OutputOffset; /*!< Specifies the Offset value. + This parameter must be a number between + Min_Data = 0x0000 and Max_Data = 0x3FFF. */ + uint32_t AlphaInverted; /*!< Select regular or inverted alpha value for the output pixel format converter. + This parameter can be one value of @ref DMA2D_Alpha_Inverted. */ + + uint32_t RedBlueSwap; /*!< Select regular mode (RGB or ARGB) or swap mode (BGR or ABGR) + for the output pixel format converter. + This parameter can be one value of @ref DMA2D_RB_Swap. */ + + + uint32_t BytesSwap; /*!< Select byte regular mode or bytes swap mode (two by two). + This parameter can be one value of @ref DMA2D_Bytes_Swap. */ + + uint32_t LineOffsetMode; /*!< Configures how is expressed the line offset for the foreground, background and output. + This parameter can be one value of @ref DMA2D_Line_Offset_Mode. */ + +} DMA2D_InitTypeDef; + + +/** + * @brief DMA2D Layer structure definition + */ +typedef struct +{ + uint32_t InputOffset; /*!< Configures the DMA2D foreground or background offset. + This parameter must be a number between + Min_Data = 0x0000 and Max_Data = 0x3FFF. */ + + uint32_t InputColorMode; /*!< Configures the DMA2D foreground or background color mode. + This parameter can be one value of @ref DMA2D_Input_Color_Mode. */ + + uint32_t AlphaMode; /*!< Configures the DMA2D foreground or background alpha mode. + This parameter can be one value of @ref DMA2D_Alpha_Mode. */ + + uint32_t InputAlpha; /*!< Specifies the DMA2D foreground or background alpha value and color value + in case of A8 or A4 color mode. + This parameter must be a number between Min_Data = 0x00 + and Max_Data = 0xFF except for the color modes detailed below. + @note In case of A8 or A4 color mode (ARGB), + this parameter must be a number between + Min_Data = 0x00000000 and Max_Data = 0xFFFFFFFF where + - InputAlpha[24:31] is the alpha value ALPHA[0:7] + - InputAlpha[16:23] is the red value RED[0:7] + - InputAlpha[8:15] is the green value GREEN[0:7] + - InputAlpha[0:7] is the blue value BLUE[0:7]. */ + uint32_t AlphaInverted; /*!< Select regular or inverted alpha value. + This parameter can be one value of @ref DMA2D_Alpha_Inverted. */ + + uint32_t RedBlueSwap; /*!< Select regular mode (RGB or ARGB) or swap mode (BGR or ABGR). + This parameter can be one value of @ref DMA2D_RB_Swap. */ + + uint32_t ChromaSubSampling; /*!< Configure the chroma sub-sampling mode for the YCbCr color mode + This parameter can be one value of @ref DMA2D_Chroma_Sub_Sampling */ + +} DMA2D_LayerCfgTypeDef; + +/** + * @brief HAL DMA2D State structures definition + */ +typedef enum +{ + HAL_DMA2D_STATE_RESET = 0x00U, + HAL_DMA2D_STATE_READY = 0x01U, + HAL_DMA2D_STATE_BUSY = 0x02U, + HAL_DMA2D_STATE_TIMEOUT = 0x03U, + HAL_DMA2D_STATE_ERROR = 0x04U, + HAL_DMA2D_STATE_SUSPEND = 0x05U +} HAL_DMA2D_StateTypeDef; + +/** + * @brief DMA2D handle Structure definition + */ +typedef struct __DMA2D_HandleTypeDef +{ + DMA2D_TypeDef *Instance; + + DMA2D_InitTypeDef Init; + + void (* XferCpltCallback)(struct __DMA2D_HandleTypeDef *hdma2d); + + void (* XferErrorCallback)(struct __DMA2D_HandleTypeDef *hdma2d); +# 166 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dma2d.h" + DMA2D_LayerCfgTypeDef LayerCfg[2U]; + + HAL_LockTypeDef Lock; + + volatile HAL_DMA2D_StateTypeDef State; + + volatile uint32_t ErrorCode; +} DMA2D_HandleTypeDef; + + + + + + + +/** + * @} + */ + +/* Exported constants --------------------------------------------------------*/ +/** @defgroup DMA2D_Exported_Constants DMA2D Exported Constants + * @{ + */ + +/** @defgroup DMA2D_Error_Code DMA2D Error Code + * @{ + */ +# 202 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dma2d.h" +/** + * @} + */ + +/** @defgroup DMA2D_Mode DMA2D Mode + * @{ + */ + + + + + + +/** + * @} + */ + +/** @defgroup DMA2D_Output_Color_Mode DMA2D Output Color Mode + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup DMA2D_Input_Color_Mode DMA2D Input Color Mode + * @{ + */ +# 246 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dma2d.h" +/** + * @} + */ + +/** @defgroup DMA2D_Alpha_Mode DMA2D Alpha Mode + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup DMA2D_Alpha_Inverted DMA2D Alpha Inversion + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DMA2D_RB_Swap DMA2D Red and Blue Swap + * @{ + */ + + +/** + * @} + */ + + + +/** @defgroup DMA2D_Line_Offset_Mode DMA2D Line Offset Mode + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DMA2D_Bytes_Swap DMA2D Bytes Swap + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DMA2D_Chroma_Sub_Sampling DMA2D Chroma Sub Sampling + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup DMA2D_CLUT_CM DMA2D CLUT Color Mode + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DMA2D_Interrupts DMA2D Interrupts + * @{ + */ + + + + + + +/** + * @} + */ + +/** @defgroup DMA2D_Flags DMA2D Flags + * @{ + */ + + + + + + +/** + * @} + */ +# 360 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dma2d.h" +/** + * @} + */ +/* Exported macros ------------------------------------------------------------*/ +/** @defgroup DMA2D_Exported_Macros DMA2D Exported Macros + * @{ + */ + +/** @brief Reset DMA2D handle state + * @param __HANDLE__ specifies the DMA2D handle. + * @retval None + */ +# 383 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dma2d.h" +/** + * @brief Enable the DMA2D. + * @param __HANDLE__ DMA2D handle + * @retval None. + */ + + + +/* Interrupt & Flag management */ +/** + * @brief Get the DMA2D pending flags. + * @param __HANDLE__ DMA2D handle + * @param __FLAG__ flag to check. + * This parameter can be any combination of the following values: + * @arg DMA2D_FLAG_CE: Configuration error flag + * @arg DMA2D_FLAG_CTC: CLUT transfer complete flag + * @arg DMA2D_FLAG_CAE: CLUT access error flag + * @arg DMA2D_FLAG_TW: Transfer Watermark flag + * @arg DMA2D_FLAG_TC: Transfer complete flag + * @arg DMA2D_FLAG_TE: Transfer error flag + * @retval The state of FLAG. + */ + + +/** + * @brief Clear the DMA2D pending flags. + * @param __HANDLE__ DMA2D handle + * @param __FLAG__ specifies the flag to clear. + * This parameter can be any combination of the following values: + * @arg DMA2D_FLAG_CE: Configuration error flag + * @arg DMA2D_FLAG_CTC: CLUT transfer complete flag + * @arg DMA2D_FLAG_CAE: CLUT access error flag + * @arg DMA2D_FLAG_TW: Transfer Watermark flag + * @arg DMA2D_FLAG_TC: Transfer complete flag + * @arg DMA2D_FLAG_TE: Transfer error flag + * @retval None + */ + + +/** + * @brief Enable the specified DMA2D interrupts. + * @param __HANDLE__ DMA2D handle + * @param __INTERRUPT__ specifies the DMA2D interrupt sources to be enabled. + * This parameter can be any combination of the following values: + * @arg DMA2D_IT_CE: Configuration error interrupt mask + * @arg DMA2D_IT_CTC: CLUT transfer complete interrupt mask + * @arg DMA2D_IT_CAE: CLUT access error interrupt mask + * @arg DMA2D_IT_TW: Transfer Watermark interrupt mask + * @arg DMA2D_IT_TC: Transfer complete interrupt mask + * @arg DMA2D_IT_TE: Transfer error interrupt mask + * @retval None + */ + + +/** + * @brief Disable the specified DMA2D interrupts. + * @param __HANDLE__ DMA2D handle + * @param __INTERRUPT__ specifies the DMA2D interrupt sources to be disabled. + * This parameter can be any combination of the following values: + * @arg DMA2D_IT_CE: Configuration error interrupt mask + * @arg DMA2D_IT_CTC: CLUT transfer complete interrupt mask + * @arg DMA2D_IT_CAE: CLUT access error interrupt mask + * @arg DMA2D_IT_TW: Transfer Watermark interrupt mask + * @arg DMA2D_IT_TC: Transfer complete interrupt mask + * @arg DMA2D_IT_TE: Transfer error interrupt mask + * @retval None + */ + + +/** + * @brief Check whether the specified DMA2D interrupt source is enabled or not. + * @param __HANDLE__ DMA2D handle + * @param __INTERRUPT__ specifies the DMA2D interrupt source to check. + * This parameter can be one of the following values: + * @arg DMA2D_IT_CE: Configuration error interrupt mask + * @arg DMA2D_IT_CTC: CLUT transfer complete interrupt mask + * @arg DMA2D_IT_CAE: CLUT access error interrupt mask + * @arg DMA2D_IT_TW: Transfer Watermark interrupt mask + * @arg DMA2D_IT_TC: Transfer complete interrupt mask + * @arg DMA2D_IT_TE: Transfer error interrupt mask + * @retval The state of INTERRUPT source. + */ + + +/** + * @} + */ + +/* Exported functions --------------------------------------------------------*/ +/** @addtogroup DMA2D_Exported_Functions DMA2D Exported Functions + * @{ + */ + +/** @addtogroup DMA2D_Exported_Functions_Group1 Initialization and de-initialization functions + * @{ + */ + +/* Initialization and de-initialization functions *******************************/ +HAL_StatusTypeDef HAL_DMA2D_Init(DMA2D_HandleTypeDef *hdma2d); +HAL_StatusTypeDef HAL_DMA2D_DeInit(DMA2D_HandleTypeDef *hdma2d); +void HAL_DMA2D_MspInit(DMA2D_HandleTypeDef *hdma2d); +void HAL_DMA2D_MspDeInit(DMA2D_HandleTypeDef *hdma2d); +/* Callbacks Register/UnRegister functions ***********************************/ + + + + + + +/** + * @} + */ + + +/** @addtogroup DMA2D_Exported_Functions_Group2 IO operation functions + * @{ + */ + +/* IO operation functions *******************************************************/ +HAL_StatusTypeDef HAL_DMA2D_Start(DMA2D_HandleTypeDef *hdma2d, uint32_t pdata, uint32_t DstAddress, uint32_t Width, + uint32_t Height); +HAL_StatusTypeDef HAL_DMA2D_BlendingStart(DMA2D_HandleTypeDef *hdma2d, uint32_t SrcAddress1, uint32_t SrcAddress2, + uint32_t DstAddress, uint32_t Width, uint32_t Height); +HAL_StatusTypeDef HAL_DMA2D_Start_IT(DMA2D_HandleTypeDef *hdma2d, uint32_t pdata, uint32_t DstAddress, uint32_t Width, + uint32_t Height); +HAL_StatusTypeDef HAL_DMA2D_BlendingStart_IT(DMA2D_HandleTypeDef *hdma2d, uint32_t SrcAddress1, uint32_t SrcAddress2, + uint32_t DstAddress, uint32_t Width, uint32_t Height); +HAL_StatusTypeDef HAL_DMA2D_Suspend(DMA2D_HandleTypeDef *hdma2d); +HAL_StatusTypeDef HAL_DMA2D_Resume(DMA2D_HandleTypeDef *hdma2d); +HAL_StatusTypeDef HAL_DMA2D_Abort(DMA2D_HandleTypeDef *hdma2d); +HAL_StatusTypeDef HAL_DMA2D_EnableCLUT(DMA2D_HandleTypeDef *hdma2d, uint32_t LayerIdx); +HAL_StatusTypeDef HAL_DMA2D_CLUTStartLoad(DMA2D_HandleTypeDef *hdma2d, const DMA2D_CLUTCfgTypeDef *CLUTCfg, + uint32_t LayerIdx); +HAL_StatusTypeDef HAL_DMA2D_CLUTStartLoad_IT(DMA2D_HandleTypeDef *hdma2d, const DMA2D_CLUTCfgTypeDef *CLUTCfg, + uint32_t LayerIdx); +HAL_StatusTypeDef HAL_DMA2D_CLUTLoad(DMA2D_HandleTypeDef *hdma2d, DMA2D_CLUTCfgTypeDef CLUTCfg, uint32_t LayerIdx); +HAL_StatusTypeDef HAL_DMA2D_CLUTLoad_IT(DMA2D_HandleTypeDef *hdma2d, DMA2D_CLUTCfgTypeDef CLUTCfg, uint32_t LayerIdx); +HAL_StatusTypeDef HAL_DMA2D_CLUTLoading_Abort(DMA2D_HandleTypeDef *hdma2d, uint32_t LayerIdx); +HAL_StatusTypeDef HAL_DMA2D_CLUTLoading_Suspend(DMA2D_HandleTypeDef *hdma2d, uint32_t LayerIdx); +HAL_StatusTypeDef HAL_DMA2D_CLUTLoading_Resume(DMA2D_HandleTypeDef *hdma2d, uint32_t LayerIdx); +HAL_StatusTypeDef HAL_DMA2D_PollForTransfer(DMA2D_HandleTypeDef *hdma2d, uint32_t Timeout); +void HAL_DMA2D_IRQHandler(DMA2D_HandleTypeDef *hdma2d); +void HAL_DMA2D_LineEventCallback(DMA2D_HandleTypeDef *hdma2d); +void HAL_DMA2D_CLUTLoadingCpltCallback(DMA2D_HandleTypeDef *hdma2d); + +/** + * @} + */ + +/** @addtogroup DMA2D_Exported_Functions_Group3 Peripheral Control functions + * @{ + */ + +/* Peripheral Control functions *************************************************/ +HAL_StatusTypeDef HAL_DMA2D_ConfigLayer(DMA2D_HandleTypeDef *hdma2d, uint32_t LayerIdx); +HAL_StatusTypeDef HAL_DMA2D_ConfigCLUT(DMA2D_HandleTypeDef *hdma2d, DMA2D_CLUTCfgTypeDef CLUTCfg, uint32_t LayerIdx); +HAL_StatusTypeDef HAL_DMA2D_ProgramLineEvent(DMA2D_HandleTypeDef *hdma2d, uint32_t Line); +HAL_StatusTypeDef HAL_DMA2D_EnableDeadTime(DMA2D_HandleTypeDef *hdma2d); +HAL_StatusTypeDef HAL_DMA2D_DisableDeadTime(DMA2D_HandleTypeDef *hdma2d); +HAL_StatusTypeDef HAL_DMA2D_ConfigDeadTime(DMA2D_HandleTypeDef *hdma2d, uint8_t DeadTime); + +/** + * @} + */ + +/** @addtogroup DMA2D_Exported_Functions_Group4 Peripheral State and Error functions + * @{ + */ + +/* Peripheral State functions ***************************************************/ +HAL_DMA2D_StateTypeDef HAL_DMA2D_GetState(const DMA2D_HandleTypeDef *hdma2d); +uint32_t HAL_DMA2D_GetError(const DMA2D_HandleTypeDef *hdma2d); + +/** + * @} + */ + +/** + * @} + */ + +/* Private constants ---------------------------------------------------------*/ + +/** @addtogroup DMA2D_Private_Constants DMA2D Private Constants + * @{ + */ + +/** @defgroup DMA2D_Maximum_Line_WaterMark DMA2D Maximum Line Watermark + * @{ + */ + +/** + * @} + */ + +/** @defgroup DMA2D_Color_Value DMA2D Color Value + * @{ + */ + +/** + * @} + */ + +/** @defgroup DMA2D_Max_Layer DMA2D Maximum Number of Layers + * @{ + */ + +/** + * @} + */ + +/** @defgroup DMA2D_Layers DMA2D Layers + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DMA2D_Offset DMA2D Offset + * @{ + */ + +/** + * @} + */ + +/** @defgroup DMA2D_Size DMA2D Size + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DMA2D_CLUT_Size DMA2D CLUT Size + * @{ + */ + +/** + * @} + */ + +/** + * @} + */ + + +/* Private macros ------------------------------------------------------------*/ +/** @defgroup DMA2D_Private_Macros DMA2D Private Macros + * @{ + */ +# 697 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dma2d.h" +/** + * @} + */ + +/** + * @} + */ + + + +/** + * @} + */ + + +} +# 275 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dsi.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_dsi.h + * @author MCD Application Team + * @brief Header file of DSI HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dsi.h" 2 + + + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @defgroup DSI DSI + * @brief DSI HAL module driver + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/** @defgroup DSI_Exported_Types DSI Exported Types + * @{ + */ +/** + * @brief DSI Init Structure definition + */ +typedef struct +{ + uint32_t AutomaticClockLaneControl; /*!< Automatic clock lane control + This parameter can be any value of @ref DSI_Automatic_Clk_Lane_Control */ + + uint32_t TXEscapeCkdiv; /*!< TX Escape clock division + The values 0 and 1 stop the TX_ESC clock generation */ + + uint32_t NumberOfLanes; /*!< Number of lanes + This parameter can be any value of @ref DSI_Number_Of_Lanes */ + +} DSI_InitTypeDef; + +/** + * @brief DSI PLL Clock structure definition + */ +typedef struct +{ + uint32_t PLLNDIV; /*!< PLL Loop Division Factor + This parameter must be a value between 10 and 125 */ + + uint32_t PLLIDF; /*!< PLL Input Division Factor + This parameter can be any value of @ref DSI_PLL_IDF */ + + uint32_t PLLODF; /*!< PLL Output Division Factor + This parameter can be any value of @ref DSI_PLL_ODF */ + +} DSI_PLLInitTypeDef; + +/** + * @brief DSI Video mode configuration + */ +typedef struct +{ + uint32_t VirtualChannelID; + + uint32_t ColorCoding; /*!< Color coding for LTDC interface + This parameter can be any value of @ref DSI_Color_Coding */ + + uint32_t LooselyPacked; /*!< Enable or disable loosely packed stream (needed only when using + 18-bit configuration). + This parameter can be any value of @ref DSI_LooselyPacked */ + + uint32_t Mode; /*!< Video mode type + This parameter can be any value of @ref DSI_Video_Mode_Type */ + + uint32_t PacketSize; + + uint32_t NumberOfChunks; + + uint32_t NullPacketSize; + + uint32_t HSPolarity; /*!< HSYNC pin polarity + This parameter can be any value of @ref DSI_HSYNC_Polarity */ + + uint32_t VSPolarity; /*!< VSYNC pin polarity + This parameter can be any value of @ref DSI_VSYNC_Active_Polarity */ + + uint32_t DEPolarity; /*!< Data Enable pin polarity + This parameter can be any value of @ref DSI_DATA_ENABLE_Polarity */ + + uint32_t HorizontalSyncActive; + + uint32_t HorizontalBackPorch; + + uint32_t HorizontalLine; + + uint32_t VerticalSyncActive; + + uint32_t VerticalBackPorch; + + uint32_t VerticalFrontPorch; + + uint32_t VerticalActive; + + uint32_t LPCommandEnable; /*!< Low-power command enable + This parameter can be any value of @ref DSI_LP_Command */ + + uint32_t LPLargestPacketSize; /*!< The size, in bytes, of the low power largest packet that + can fit in a line during VSA, VBP and VFP regions */ + + uint32_t LPVACTLargestPacketSize; /*!< The size, in bytes, of the low power largest packet that + can fit in a line during VACT region */ + + uint32_t LPHorizontalFrontPorchEnable; /*!< Low-power horizontal front-porch enable + This parameter can be any value of @ref DSI_LP_HFP */ + + uint32_t LPHorizontalBackPorchEnable; /*!< Low-power horizontal back-porch enable + This parameter can be any value of @ref DSI_LP_HBP */ + + uint32_t LPVerticalActiveEnable; /*!< Low-power vertical active enable + This parameter can be any value of @ref DSI_LP_VACT */ + + uint32_t LPVerticalFrontPorchEnable; /*!< Low-power vertical front-porch enable + This parameter can be any value of @ref DSI_LP_VFP */ + + uint32_t LPVerticalBackPorchEnable; /*!< Low-power vertical back-porch enable + This parameter can be any value of @ref DSI_LP_VBP */ + + uint32_t LPVerticalSyncActiveEnable; /*!< Low-power vertical sync active enable + This parameter can be any value of @ref DSI_LP_VSYNC */ + + uint32_t FrameBTAAcknowledgeEnable; /*!< Frame bus-turn-around acknowledge enable + This parameter can be any value of @ref DSI_FBTA_acknowledge */ + +} DSI_VidCfgTypeDef; + +/** + * @brief DSI Adapted command mode configuration + */ +typedef struct +{ + uint32_t VirtualChannelID; + + uint32_t ColorCoding; /*!< Color coding for LTDC interface + This parameter can be any value of @ref DSI_Color_Coding */ + + uint32_t CommandSize; /*!< Maximum allowed size for an LTDC write memory command, measured in + pixels. This parameter can be any value between 0x00 and 0xFFFFU */ + + uint32_t TearingEffectSource; /*!< Tearing effect source + This parameter can be any value of @ref DSI_TearingEffectSource */ + + uint32_t TearingEffectPolarity; /*!< Tearing effect pin polarity + This parameter can be any value of @ref DSI_TearingEffectPolarity */ + + uint32_t HSPolarity; /*!< HSYNC pin polarity + This parameter can be any value of @ref DSI_HSYNC_Polarity */ + + uint32_t VSPolarity; /*!< VSYNC pin polarity + This parameter can be any value of @ref DSI_VSYNC_Active_Polarity */ + + uint32_t DEPolarity; /*!< Data Enable pin polarity + This parameter can be any value of @ref DSI_DATA_ENABLE_Polarity */ + + uint32_t VSyncPol; /*!< VSync edge on which the LTDC is halted + This parameter can be any value of @ref DSI_Vsync_Polarity */ + + uint32_t AutomaticRefresh; /*!< Automatic refresh mode + This parameter can be any value of @ref DSI_AutomaticRefresh */ + + uint32_t TEAcknowledgeRequest; /*!< Tearing Effect Acknowledge Request Enable + This parameter can be any value of @ref DSI_TE_AcknowledgeRequest */ + +} DSI_CmdCfgTypeDef; + +/** + * @brief DSI command transmission mode configuration + */ +typedef struct +{ + uint32_t LPGenShortWriteNoP; /*!< Generic Short Write Zero parameters Transmission + This parameter can be any value of @ref DSI_LP_LPGenShortWriteNoP */ + + uint32_t LPGenShortWriteOneP; /*!< Generic Short Write One parameter Transmission + This parameter can be any value of @ref DSI_LP_LPGenShortWriteOneP */ + + uint32_t LPGenShortWriteTwoP; /*!< Generic Short Write Two parameters Transmission + This parameter can be any value of @ref DSI_LP_LPGenShortWriteTwoP */ + + uint32_t LPGenShortReadNoP; /*!< Generic Short Read Zero parameters Transmission + This parameter can be any value of @ref DSI_LP_LPGenShortReadNoP */ + + uint32_t LPGenShortReadOneP; /*!< Generic Short Read One parameter Transmission + This parameter can be any value of @ref DSI_LP_LPGenShortReadOneP */ + + uint32_t LPGenShortReadTwoP; /*!< Generic Short Read Two parameters Transmission + This parameter can be any value of @ref DSI_LP_LPGenShortReadTwoP */ + + uint32_t LPGenLongWrite; /*!< Generic Long Write Transmission + This parameter can be any value of @ref DSI_LP_LPGenLongWrite */ + + uint32_t LPDcsShortWriteNoP; /*!< DCS Short Write Zero parameters Transmission + This parameter can be any value of @ref DSI_LP_LPDcsShortWriteNoP */ + + uint32_t LPDcsShortWriteOneP; /*!< DCS Short Write One parameter Transmission + This parameter can be any value of @ref DSI_LP_LPDcsShortWriteOneP */ + + uint32_t LPDcsShortReadNoP; /*!< DCS Short Read Zero parameters Transmission + This parameter can be any value of @ref DSI_LP_LPDcsShortReadNoP */ + + uint32_t LPDcsLongWrite; /*!< DCS Long Write Transmission + This parameter can be any value of @ref DSI_LP_LPDcsLongWrite */ + + uint32_t LPMaxReadPacket; /*!< Maximum Read Packet Size Transmission + This parameter can be any value of @ref DSI_LP_LPMaxReadPacket */ + + uint32_t AcknowledgeRequest; /*!< Acknowledge Request Enable + This parameter can be any value of @ref DSI_AcknowledgeRequest */ + +} DSI_LPCmdTypeDef; + +/** + * @brief DSI PHY Timings definition + */ +typedef struct +{ + uint32_t ClockLaneHS2LPTime; /*!< The maximum time that the D-PHY clock lane takes to go from high-speed + to low-power transmission */ + + uint32_t ClockLaneLP2HSTime; /*!< The maximum time that the D-PHY clock lane takes to go from low-power + to high-speed transmission */ + + uint32_t DataLaneHS2LPTime; /*!< The maximum time that the D-PHY data lanes takes to go from high-speed + to low-power transmission */ + + uint32_t DataLaneLP2HSTime; /*!< The maximum time that the D-PHY data lanes takes to go from low-power + to high-speed transmission */ + + uint32_t DataLaneMaxReadTime; + + uint32_t StopWaitTime; /*!< The minimum wait period to request a High-Speed transmission after the + Stop state */ + +} DSI_PHY_TimerTypeDef; + +/** + * @brief DSI HOST Timeouts definition + */ +typedef struct +{ + uint32_t TimeoutCkdiv; + + uint32_t HighSpeedTransmissionTimeout; + + uint32_t LowPowerReceptionTimeout; + + uint32_t HighSpeedReadTimeout; + + uint32_t LowPowerReadTimeout; + + uint32_t HighSpeedWriteTimeout; + + uint32_t HighSpeedWritePrespMode; /*!< High-speed write presp mode + This parameter can be any value of @ref DSI_HS_PrespMode */ + + uint32_t LowPowerWriteTimeout; + + uint32_t BTATimeout; + +} DSI_HOST_TimeoutTypeDef; + +/** + * @brief DSI States Structure definition + */ +typedef enum +{ + HAL_DSI_STATE_RESET = 0x00U, + HAL_DSI_STATE_READY = 0x01U, + HAL_DSI_STATE_ERROR = 0x02U, + HAL_DSI_STATE_BUSY = 0x03U, + HAL_DSI_STATE_TIMEOUT = 0x04U +} HAL_DSI_StateTypeDef; + +/** + * @brief DSI Handle Structure definition + */ + + + +typedef struct + +{ + DSI_TypeDef *Instance; + DSI_InitTypeDef Init; + HAL_LockTypeDef Lock; + volatile HAL_DSI_StateTypeDef State; + volatile uint32_t ErrorCode; + uint32_t ErrorMsk; +# 328 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dsi.h" +} DSI_HandleTypeDef; +# 351 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dsi.h" +/** + * @} + */ + +/* Exported constants --------------------------------------------------------*/ +/** @defgroup DSI_Exported_Constants DSI Exported Constants + * @{ + */ +/** @defgroup DSI_DCS_Command DSI DCS Command + * @{ + */ +# 406 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dsi.h" +/** + * @} + */ + +/** @defgroup DSI_Video_Mode_Type DSI Video Mode Type + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup DSI_Color_Mode DSI Color Mode + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DSI_ShutDown DSI ShutDown + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DSI_LP_Command DSI LP Command + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DSI_LP_HFP DSI LP HFP + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DSI_LP_HBP DSI LP HBP + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DSI_LP_VACT DSI LP VACT + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DSI_LP_VFP DSI LP VFP + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DSI_LP_VBP DSI LP VBP + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DSI_LP_VSYNC DSI LP VSYNC + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DSI_FBTA_acknowledge DSI FBTA Acknowledge + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DSI_TearingEffectSource DSI Tearing Effect Source + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DSI_TearingEffectPolarity DSI Tearing Effect Polarity + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DSI_Vsync_Polarity DSI Vsync Polarity + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DSI_AutomaticRefresh DSI Automatic Refresh + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DSI_TE_AcknowledgeRequest DSI TE Acknowledge Request + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DSI_AcknowledgeRequest DSI Acknowledge Request + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DSI_LP_LPGenShortWriteNoP DSI LP LPGen Short Write NoP + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DSI_LP_LPGenShortWriteOneP DSI LP LPGen Short Write OneP + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DSI_LP_LPGenShortWriteTwoP DSI LP LPGen Short Write TwoP + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DSI_LP_LPGenShortReadNoP DSI LP LPGen Short Read NoP + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DSI_LP_LPGenShortReadOneP DSI LP LPGen Short Read OneP + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DSI_LP_LPGenShortReadTwoP DSI LP LPGen Short Read TwoP + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DSI_LP_LPGenLongWrite DSI LP LPGen LongWrite + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DSI_LP_LPDcsShortWriteNoP DSI LP LPDcs Short Write NoP + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DSI_LP_LPDcsShortWriteOneP DSI LP LPDcs Short Write OneP + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DSI_LP_LPDcsShortReadNoP DSI LP LPDcs Short Read NoP + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DSI_LP_LPDcsLongWrite DSI LP LPDcs Long Write + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DSI_LP_LPMaxReadPacket DSI LP LPMax Read Packet + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DSI_HS_PrespMode DSI HS Presp Mode + * @{ + */ + + +/** + * @} + */ + + +/** @defgroup DSI_Automatic_Clk_Lane_Control DSI Automatic Clk Lane Control + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DSI_Number_Of_Lanes DSI Number Of Lanes + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DSI_FlowControl DSI Flow Control + * @{ + */ +# 711 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dsi.h" +/** + * @} + */ + +/** @defgroup DSI_Color_Coding DSI Color Coding + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup DSI_LooselyPacked DSI Loosely Packed + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DSI_HSYNC_Polarity DSI HSYNC Polarity + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DSI_VSYNC_Active_Polarity DSI VSYNC Active Polarity + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DSI_DATA_ENABLE_Polarity DSI DATA ENABLE Polarity + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DSI_PLL_IDF DSI PLL IDF + * @{ + */ + + + + + + + +/** + * @} + */ + +/** @defgroup DSI_PLL_ODF DSI PLL ODF + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup DSI_Flags DSI Flags + * @{ + */ +# 797 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dsi.h" +/** + * @} + */ + +/** @defgroup DSI_Interrupts DSI Interrupts + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup DSI_SHORT_WRITE_PKT_Data_Type DSI SHORT WRITE PKT Data Type + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup DSI_LONG_WRITE_PKT_Data_Type DSI LONG WRITE PKT Data Type + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DSI_SHORT_READ_PKT_Data_Type DSI SHORT READ PKT Data Type + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup DSI_Error_Data_Type DSI Error Data Type + * @{ + */ +# 862 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dsi.h" +/** + * @} + */ + +/** @defgroup DSI_Lane_Group DSI Lane Group + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DSI_Communication_Delay DSI Communication Delay + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup DSI_CustomLane DSI CustomLane + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DSI_Lane_Select DSI Lane Select + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup DSI_PHY_Timing DSI PHY Timing + * @{ + */ +# 916 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dsi.h" +/** + * @} + */ + + +/** + * @} + */ + +/* Exported macros -----------------------------------------------------------*/ +/** @defgroup DSI_Exported_Macros DSI Exported Macros + * @{ + */ + +/** + * @brief Reset DSI handle state. + * @param __HANDLE__ DSI handle + * @retval None + */ +# 945 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dsi.h" +/** + * @brief Enables the DSI host. + * @param __HANDLE__ DSI handle + * @retval None. + */ +# 958 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dsi.h" +/** + * @brief Disables the DSI host. + * @param __HANDLE__ DSI handle + * @retval None. + */ +# 971 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dsi.h" +/** + * @brief Enables the DSI wrapper. + * @param __HANDLE__ DSI handle + * @retval None. + */ +# 984 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dsi.h" +/** + * @brief Disable the DSI wrapper. + * @param __HANDLE__ DSI handle + * @retval None. + */ +# 997 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dsi.h" +/** + * @brief Enables the DSI PLL. + * @param __HANDLE__ DSI handle + * @retval None. + */ +# 1010 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dsi.h" +/** + * @brief Disables the DSI PLL. + * @param __HANDLE__ DSI handle + * @retval None. + */ +# 1023 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dsi.h" +/** + * @brief Enables the DSI regulator. + * @param __HANDLE__ DSI handle + * @retval None. + */ +# 1036 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dsi.h" +/** + * @brief Disables the DSI regulator. + * @param __HANDLE__ DSI handle + * @retval None. + */ +# 1049 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dsi.h" +/** + * @brief Get the DSI pending flags. + * @param __HANDLE__ DSI handle. + * @param __FLAG__ Get the specified flag. + * This parameter can be any combination of the following values: + * @arg DSI_FLAG_TE : Tearing Effect Interrupt Flag + * @arg DSI_FLAG_ER : End of Refresh Interrupt Flag + * @arg DSI_FLAG_BUSY : Busy Flag + * @arg DSI_FLAG_PLLLS: PLL Lock Status + * @arg DSI_FLAG_PLLL : PLL Lock Interrupt Flag + * @arg DSI_FLAG_PLLU : PLL Unlock Interrupt Flag + * @arg DSI_FLAG_RRS : Regulator Ready Flag + * @arg DSI_FLAG_RR : Regulator Ready Interrupt Flag + * @retval The state of FLAG (SET or RESET). + */ + + +/** + * @brief Clears the DSI pending flags. + * @param __HANDLE__ DSI handle. + * @param __FLAG__ specifies the flag to clear. + * This parameter can be any combination of the following values: + * @arg DSI_FLAG_TE : Tearing Effect Interrupt Flag + * @arg DSI_FLAG_ER : End of Refresh Interrupt Flag + * @arg DSI_FLAG_PLLL : PLL Lock Interrupt Flag + * @arg DSI_FLAG_PLLU : PLL Unlock Interrupt Flag + * @arg DSI_FLAG_RR : Regulator Ready Interrupt Flag + * @retval None + */ + + +/** + * @brief Enables the specified DSI interrupts. + * @param __HANDLE__ DSI handle. + * @param __INTERRUPT__ specifies the DSI interrupt sources to be enabled. + * This parameter can be any combination of the following values: + * @arg DSI_IT_TE : Tearing Effect Interrupt + * @arg DSI_IT_ER : End of Refresh Interrupt + * @arg DSI_IT_PLLL: PLL Lock Interrupt + * @arg DSI_IT_PLLU: PLL Unlock Interrupt + * @arg DSI_IT_RR : Regulator Ready Interrupt + * @retval None + */ + + +/** + * @brief Disables the specified DSI interrupts. + * @param __HANDLE__ DSI handle + * @param __INTERRUPT__ specifies the DSI interrupt sources to be disabled. + * This parameter can be any combination of the following values: + * @arg DSI_IT_TE : Tearing Effect Interrupt + * @arg DSI_IT_ER : End of Refresh Interrupt + * @arg DSI_IT_PLLL: PLL Lock Interrupt + * @arg DSI_IT_PLLU: PLL Unlock Interrupt + * @arg DSI_IT_RR : Regulator Ready Interrupt + * @retval None + */ + + +/** + * @brief Checks whether the specified DSI interrupt source is enabled or not. + * @param __HANDLE__ DSI handle + * @param __INTERRUPT__ specifies the DSI interrupt source to check. + * This parameter can be one of the following values: + * @arg DSI_IT_TE : Tearing Effect Interrupt + * @arg DSI_IT_ER : End of Refresh Interrupt + * @arg DSI_IT_PLLL: PLL Lock Interrupt + * @arg DSI_IT_PLLU: PLL Unlock Interrupt + * @arg DSI_IT_RR : Regulator Ready Interrupt + * @retval The state of INTERRUPT (SET or RESET). + */ + + +/** + * @} + */ + +/* Exported functions --------------------------------------------------------*/ +/** @defgroup DSI_Exported_Functions DSI Exported Functions + * @{ + */ +/** @defgroup DSI_Group1 Initialization and Configuration functions + * @brief Initialization and Configuration functions + * @{ + */ +HAL_StatusTypeDef HAL_DSI_Init(DSI_HandleTypeDef *hdsi, DSI_PLLInitTypeDef *PLLInit); +HAL_StatusTypeDef HAL_DSI_DeInit(DSI_HandleTypeDef *hdsi); +void HAL_DSI_MspInit(DSI_HandleTypeDef *hdsi); +void HAL_DSI_MspDeInit(DSI_HandleTypeDef *hdsi); +HAL_StatusTypeDef HAL_DSI_ConfigErrorMonitor(DSI_HandleTypeDef *hdsi, uint32_t ActiveErrors); +/* Callbacks Register/UnRegister functions ***********************************/ + + + + + +/** + * @} + */ + +/** @defgroup DSI_Group2 IO operation functions + * @brief IO operation functions + * @{ + */ +void HAL_DSI_IRQHandler(DSI_HandleTypeDef *hdsi); +void HAL_DSI_TearingEffectCallback(DSI_HandleTypeDef *hdsi); +void HAL_DSI_EndOfRefreshCallback(DSI_HandleTypeDef *hdsi); +void HAL_DSI_ErrorCallback(DSI_HandleTypeDef *hdsi); +/** + * @} + */ + +/** @defgroup DSI_Group3 Peripheral Control functions + * @brief Peripheral Control functions + * @{ + */ +HAL_StatusTypeDef HAL_DSI_SetGenericVCID(DSI_HandleTypeDef *hdsi, uint32_t VirtualChannelID); +HAL_StatusTypeDef HAL_DSI_ConfigVideoMode(DSI_HandleTypeDef *hdsi, DSI_VidCfgTypeDef *VidCfg); +HAL_StatusTypeDef HAL_DSI_ConfigAdaptedCommandMode(DSI_HandleTypeDef *hdsi, DSI_CmdCfgTypeDef *CmdCfg); +HAL_StatusTypeDef HAL_DSI_ConfigCommand(DSI_HandleTypeDef *hdsi, DSI_LPCmdTypeDef *LPCmd); +HAL_StatusTypeDef HAL_DSI_ConfigFlowControl(DSI_HandleTypeDef *hdsi, uint32_t FlowControl); +HAL_StatusTypeDef HAL_DSI_ConfigPhyTimer(DSI_HandleTypeDef *hdsi, DSI_PHY_TimerTypeDef *PhyTimers); +HAL_StatusTypeDef HAL_DSI_ConfigHostTimeouts(DSI_HandleTypeDef *hdsi, DSI_HOST_TimeoutTypeDef *HostTimeouts); +HAL_StatusTypeDef HAL_DSI_Start(DSI_HandleTypeDef *hdsi); +HAL_StatusTypeDef HAL_DSI_Stop(DSI_HandleTypeDef *hdsi); +HAL_StatusTypeDef HAL_DSI_Refresh(DSI_HandleTypeDef *hdsi); +HAL_StatusTypeDef HAL_DSI_ColorMode(DSI_HandleTypeDef *hdsi, uint32_t ColorMode); +HAL_StatusTypeDef HAL_DSI_Shutdown(DSI_HandleTypeDef *hdsi, uint32_t Shutdown); +HAL_StatusTypeDef HAL_DSI_ShortWrite(DSI_HandleTypeDef *hdsi, + uint32_t ChannelID, + uint32_t Mode, + uint32_t Param1, + uint32_t Param2); +HAL_StatusTypeDef HAL_DSI_LongWrite(DSI_HandleTypeDef *hdsi, + uint32_t ChannelID, + uint32_t Mode, + uint32_t NbParams, + uint32_t Param1, + const uint8_t *ParametersTable); +HAL_StatusTypeDef HAL_DSI_Read(DSI_HandleTypeDef *hdsi, + uint32_t ChannelNbr, + uint8_t *Array, + uint32_t Size, + uint32_t Mode, + uint32_t DCSCmd, + uint8_t *ParametersTable); +HAL_StatusTypeDef HAL_DSI_EnterULPMData(DSI_HandleTypeDef *hdsi); +HAL_StatusTypeDef HAL_DSI_ExitULPMData(DSI_HandleTypeDef *hdsi); +HAL_StatusTypeDef HAL_DSI_EnterULPM(DSI_HandleTypeDef *hdsi); +HAL_StatusTypeDef HAL_DSI_ExitULPM(DSI_HandleTypeDef *hdsi); + +HAL_StatusTypeDef HAL_DSI_PatternGeneratorStart(DSI_HandleTypeDef *hdsi, uint32_t Mode, uint32_t Orientation); +HAL_StatusTypeDef HAL_DSI_PatternGeneratorStop(DSI_HandleTypeDef *hdsi); + +HAL_StatusTypeDef HAL_DSI_SetSlewRateAndDelayTuning(DSI_HandleTypeDef *hdsi, uint32_t CommDelay, uint32_t Lane, + uint32_t Value); +HAL_StatusTypeDef HAL_DSI_SetLowPowerRXFilter(DSI_HandleTypeDef *hdsi, uint32_t Frequency); +HAL_StatusTypeDef HAL_DSI_SetSDD(DSI_HandleTypeDef *hdsi, FunctionalState State); +HAL_StatusTypeDef HAL_DSI_SetLanePinsConfiguration(DSI_HandleTypeDef *hdsi, uint32_t CustomLane, uint32_t Lane, + FunctionalState State); +HAL_StatusTypeDef HAL_DSI_SetPHYTimings(DSI_HandleTypeDef *hdsi, uint32_t Timing, FunctionalState State, + uint32_t Value); +HAL_StatusTypeDef HAL_DSI_ForceTXStopMode(DSI_HandleTypeDef *hdsi, uint32_t Lane, FunctionalState State); +HAL_StatusTypeDef HAL_DSI_ForceRXLowPower(DSI_HandleTypeDef *hdsi, FunctionalState State); +HAL_StatusTypeDef HAL_DSI_ForceDataLanesInRX(DSI_HandleTypeDef *hdsi, FunctionalState State); +HAL_StatusTypeDef HAL_DSI_SetPullDown(DSI_HandleTypeDef *hdsi, FunctionalState State); +HAL_StatusTypeDef HAL_DSI_SetContentionDetectionOff(DSI_HandleTypeDef *hdsi, FunctionalState State); + +/** + * @} + */ + +/** @defgroup DSI_Group4 Peripheral State and Errors functions + * @brief Peripheral State and Errors functions + * @{ + */ +uint32_t HAL_DSI_GetError(const DSI_HandleTypeDef *hdsi); +HAL_DSI_StateTypeDef HAL_DSI_GetState(const DSI_HandleTypeDef *hdsi); + +/** + * @} + */ + +/** + * @} + */ + +/* Private types -------------------------------------------------------------*/ +/* Private defines -----------------------------------------------------------*/ +/* Private variables ---------------------------------------------------------*/ +/* Private constants ---------------------------------------------------------*/ +/** @defgroup DSI_Private_Constants DSI Private Constants + * @{ + */ + +/** + * @} + */ + +/* Private macros ------------------------------------------------------------*/ +/** @defgroup DSI_Private_Macros DSI Private Macros + * @{ + */ +# 1360 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dsi.h" +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + + + +} +# 279 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dfsdm.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_dfsdm.h + * @author MCD Application Team + * @brief Header file of DFSDM HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + + extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dfsdm.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup DFSDM + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/** @defgroup DFSDM_Exported_Types DFSDM Exported Types + * @{ + */ + +/** + * @brief HAL DFSDM Channel states definition + */ +typedef enum +{ + HAL_DFSDM_CHANNEL_STATE_RESET = 0x00U, + HAL_DFSDM_CHANNEL_STATE_READY = 0x01U, + HAL_DFSDM_CHANNEL_STATE_ERROR = 0xFFU +} HAL_DFSDM_Channel_StateTypeDef; + +/** + * @brief DFSDM channel output clock structure definition + */ +typedef struct +{ + FunctionalState Activation; + uint32_t Selection; /*!< Output clock is system clock or audio clock. + This parameter can be a value of @ref DFSDM_Channel_OuputClock */ + uint32_t Divider; /*!< Output clock divider. + This parameter must be a number between Min_Data = 2 and Max_Data = 256 */ +} DFSDM_Channel_OutputClockTypeDef; + +/** + * @brief DFSDM channel input structure definition + */ +typedef struct +{ + uint32_t Multiplexer; /*!< Input is external serial inputs, internal register or ADC output. + This parameter can be a value of @ref DFSDM_Channel_InputMultiplexer */ + uint32_t DataPacking; /*!< Standard, interleaved or dual mode for internal register. + This parameter can be a value of @ref DFSDM_Channel_DataPacking */ + uint32_t Pins; /*!< Input pins are taken from same or following channel. + This parameter can be a value of @ref DFSDM_Channel_InputPins */ +} DFSDM_Channel_InputTypeDef; + +/** + * @brief DFSDM channel serial interface structure definition + */ +typedef struct +{ + uint32_t Type; /*!< SPI or Manchester modes. + This parameter can be a value of @ref DFSDM_Channel_SerialInterfaceType */ + uint32_t SpiClock; /*!< SPI clock select (external or internal with different sampling point). + This parameter can be a value of @ref DFSDM_Channel_SpiClock */ +} DFSDM_Channel_SerialInterfaceTypeDef; + +/** + * @brief DFSDM channel analog watchdog structure definition + */ +typedef struct +{ + uint32_t FilterOrder; /*!< Analog watchdog Sinc filter order. + This parameter can be a value of @ref DFSDM_Channel_AwdFilterOrder */ + uint32_t Oversampling; /*!< Analog watchdog filter oversampling ratio. + This parameter must be a number between Min_Data = 1 and Max_Data = 32 */ +} DFSDM_Channel_AwdTypeDef; + +/** + * @brief DFSDM channel init structure definition + */ +typedef struct +{ + DFSDM_Channel_OutputClockTypeDef OutputClock; + DFSDM_Channel_InputTypeDef Input; + DFSDM_Channel_SerialInterfaceTypeDef SerialInterface; + DFSDM_Channel_AwdTypeDef Awd; + int32_t Offset; /*!< DFSDM channel offset. + This parameter must be a number between Min_Data = -8388608 and Max_Data = 8388607 */ + uint32_t RightBitShift; /*!< DFSDM channel right bit shift. + This parameter must be a number between Min_Data = 0x00 and Max_Data = 0x1F */ +} DFSDM_Channel_InitTypeDef; + +/** + * @brief DFSDM channel handle structure definition + */ + + + +typedef struct + +{ + DFSDM_Channel_TypeDef *Instance; + DFSDM_Channel_InitTypeDef Init; + HAL_DFSDM_Channel_StateTypeDef State; + + + + + + +} DFSDM_Channel_HandleTypeDef; +# 153 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dfsdm.h" +/** + * @brief HAL DFSDM Filter states definition + */ +typedef enum +{ + HAL_DFSDM_FILTER_STATE_RESET = 0x00U, + HAL_DFSDM_FILTER_STATE_READY = 0x01U, + HAL_DFSDM_FILTER_STATE_REG = 0x02U, + HAL_DFSDM_FILTER_STATE_INJ = 0x03U, + HAL_DFSDM_FILTER_STATE_REG_INJ = 0x04U, + HAL_DFSDM_FILTER_STATE_ERROR = 0xFFU +} HAL_DFSDM_Filter_StateTypeDef; + +/** + * @brief DFSDM filter regular conversion parameters structure definition + */ +typedef struct +{ + uint32_t Trigger; /*!< Trigger used to start regular conversion: software or synchronous. + This parameter can be a value of @ref DFSDM_Filter_Trigger */ + FunctionalState FastMode; + FunctionalState DmaMode; +} DFSDM_Filter_RegularParamTypeDef; + +/** + * @brief DFSDM filter injected conversion parameters structure definition + */ +typedef struct +{ + uint32_t Trigger; /*!< Trigger used to start injected conversion: software, external or synchronous. + This parameter can be a value of @ref DFSDM_Filter_Trigger */ + FunctionalState ScanMode; + FunctionalState DmaMode; + uint32_t ExtTrigger; /*!< External trigger. + This parameter can be a value of @ref DFSDM_Filter_ExtTrigger */ + uint32_t ExtTriggerEdge; /*!< External trigger edge: rising, falling or both. + This parameter can be a value of @ref DFSDM_Filter_ExtTriggerEdge */ +} DFSDM_Filter_InjectedParamTypeDef; + +/** + * @brief DFSDM filter parameters structure definition + */ +typedef struct +{ + uint32_t SincOrder; /*!< Sinc filter order. + This parameter can be a value of @ref DFSDM_Filter_SincOrder */ + uint32_t Oversampling; /*!< Filter oversampling ratio. + This parameter must be a number between Min_Data = 1 and Max_Data = 1024 */ + uint32_t IntOversampling; /*!< Integrator oversampling ratio. + This parameter must be a number between Min_Data = 1 and Max_Data = 256 */ +} DFSDM_Filter_FilterParamTypeDef; + +/** + * @brief DFSDM filter init structure definition + */ +typedef struct +{ + DFSDM_Filter_RegularParamTypeDef RegularParam; + DFSDM_Filter_InjectedParamTypeDef InjectedParam; + DFSDM_Filter_FilterParamTypeDef FilterParam; +} DFSDM_Filter_InitTypeDef; + +/** + * @brief DFSDM filter handle structure definition + */ + + + +typedef struct + +{ + DFSDM_Filter_TypeDef *Instance; + DFSDM_Filter_InitTypeDef Init; + DMA_HandleTypeDef *hdmaReg; + DMA_HandleTypeDef *hdmaInj; + uint32_t RegularContMode; + uint32_t RegularTrigger; + uint32_t InjectedTrigger; + uint32_t ExtTriggerEdge; + FunctionalState InjectedScanMode; + uint32_t InjectedChannelsNbr; + uint32_t InjConvRemaining; + HAL_DFSDM_Filter_StateTypeDef State; + uint32_t ErrorCode; +# 248 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dfsdm.h" +}DFSDM_Filter_HandleTypeDef; + +/** + * @brief DFSDM filter analog watchdog parameters structure definition + */ +typedef struct +{ + uint32_t DataSource; /*!< Values from digital filter or from channel watchdog filter. + This parameter can be a value of @ref DFSDM_Filter_AwdDataSource */ + uint32_t Channel; /*!< Analog watchdog channel selection. + This parameter can be a values combination of @ref DFSDM_Channel_Selection */ + int32_t HighThreshold; /*!< High threshold for the analog watchdog. + This parameter must be a number between Min_Data = -8388608 and Max_Data = 8388607 */ + int32_t LowThreshold; /*!< Low threshold for the analog watchdog. + This parameter must be a number between Min_Data = -8388608 and Max_Data = 8388607 */ + uint32_t HighBreakSignal; /*!< Break signal assigned to analog watchdog high threshold event. + This parameter can be a values combination of @ref DFSDM_BreakSignals */ + uint32_t LowBreakSignal; /*!< Break signal assigned to analog watchdog low threshold event. + This parameter can be a values combination of @ref DFSDM_BreakSignals */ +} DFSDM_Filter_AwdParamTypeDef; +# 291 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dfsdm.h" +/** + * @} + */ +/* End of exported types -----------------------------------------------------*/ + +/* Exported constants --------------------------------------------------------*/ +/** @defgroup DFSDM_Exported_Constants DFSDM Exported Constants + * @{ + */ + +/** @defgroup DFSDM_Channel_OuputClock DFSDM channel output clock selection + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DFSDM_Channel_InputMultiplexer DFSDM channel input multiplexer + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup DFSDM_Channel_DataPacking DFSDM channel input data packing + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup DFSDM_Channel_InputPins DFSDM channel input pins + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DFSDM_Channel_SerialInterfaceType DFSDM channel serial interface type + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup DFSDM_Channel_SpiClock DFSDM channel SPI clock selection + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup DFSDM_Channel_AwdFilterOrder DFSDM channel analog watchdog filter order + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup DFSDM_Filter_Trigger DFSDM filter conversion trigger + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup DFSDM_Filter_ExtTrigger DFSDM filter external trigger + * @{ + */ +# 411 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dfsdm.h" +/** + * @} + */ + +/** @defgroup DFSDM_Filter_ExtTriggerEdge DFSDM filter external trigger edge + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup DFSDM_Filter_SincOrder DFSDM filter sinc order + * @{ + */ + + + + + + +/** + * @} + */ + +/** @defgroup DFSDM_Filter_AwdDataSource DFSDM filter analog watchdog data source + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DFSDM_Filter_ErrorCode DFSDM filter error code + * @{ + */ + + + + + + + +/** + * @} + */ + +/** @defgroup DFSDM_BreakSignals DFSDM break signals + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup DFSDM_Channel_Selection DFSDM Channel Selection + * @{ + */ +/* DFSDM Channels ------------------------------------------------------------*/ +/* The DFSDM channels are defined as follows: + - in 16-bit LSB the channel mask is set + - in 16-bit MSB the channel number is set + e.g. for channel 5 definition: + - the channel mask is 0x00000020 (bit 5 is set) + - the channel number 5 is 0x00050000 + --> Consequently, channel 5 definition is 0x00000020 | 0x00050000 = 0x00050020 */ +# 492 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dfsdm.h" +/** + * @} + */ + +/** @defgroup DFSDM_ContinuousMode DFSDM Continuous Mode + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DFSDM_AwdThreshold DFSDM analog watchdog threshold + * @{ + */ + + +/** + * @} + */ + +/** + * @} + */ +/* End of exported constants -------------------------------------------------*/ + +/* Exported macros -----------------------------------------------------------*/ +/** @defgroup DFSDM_Exported_Macros DFSDM Exported Macros + * @{ + */ + +/** @brief Reset DFSDM channel handle state. + * @param __HANDLE__ DFSDM channel handle. + * @retval None + */ +# 538 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dfsdm.h" +/** @brief Reset DFSDM filter handle state. + * @param __HANDLE__ DFSDM filter handle. + * @retval None + */ +# 552 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dfsdm.h" +/** + * @} + */ +/* End of exported macros ----------------------------------------------------*/ + + + + + + +/* Exported functions --------------------------------------------------------*/ +/** @addtogroup DFSDM_Exported_Functions DFSDM Exported Functions + * @{ + */ + +/** @addtogroup DFSDM_Exported_Functions_Group1_Channel Channel initialization and de-initialization functions + * @{ + */ +/* Channel initialization and de-initialization functions *********************/ +HAL_StatusTypeDef HAL_DFSDM_ChannelInit(DFSDM_Channel_HandleTypeDef *hdfsdm_channel); +HAL_StatusTypeDef HAL_DFSDM_ChannelDeInit(DFSDM_Channel_HandleTypeDef *hdfsdm_channel); +void HAL_DFSDM_ChannelMspInit(DFSDM_Channel_HandleTypeDef *hdfsdm_channel); +void HAL_DFSDM_ChannelMspDeInit(DFSDM_Channel_HandleTypeDef *hdfsdm_channel); +# 584 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dfsdm.h" +/** + * @} + */ + +/** @addtogroup DFSDM_Exported_Functions_Group2_Channel Channel operation functions + * @{ + */ +/* Channel operation functions ************************************************/ +HAL_StatusTypeDef HAL_DFSDM_ChannelCkabStart(DFSDM_Channel_HandleTypeDef *hdfsdm_channel); +HAL_StatusTypeDef HAL_DFSDM_ChannelCkabStart_IT(DFSDM_Channel_HandleTypeDef *hdfsdm_channel); +HAL_StatusTypeDef HAL_DFSDM_ChannelCkabStop(DFSDM_Channel_HandleTypeDef *hdfsdm_channel); +HAL_StatusTypeDef HAL_DFSDM_ChannelCkabStop_IT(DFSDM_Channel_HandleTypeDef *hdfsdm_channel); + +HAL_StatusTypeDef HAL_DFSDM_ChannelScdStart(DFSDM_Channel_HandleTypeDef *hdfsdm_channel, uint32_t Threshold, uint32_t BreakSignal); +HAL_StatusTypeDef HAL_DFSDM_ChannelScdStart_IT(DFSDM_Channel_HandleTypeDef *hdfsdm_channel, uint32_t Threshold, uint32_t BreakSignal); +HAL_StatusTypeDef HAL_DFSDM_ChannelScdStop(DFSDM_Channel_HandleTypeDef *hdfsdm_channel); +HAL_StatusTypeDef HAL_DFSDM_ChannelScdStop_IT(DFSDM_Channel_HandleTypeDef *hdfsdm_channel); + +int16_t HAL_DFSDM_ChannelGetAwdValue(const DFSDM_Channel_HandleTypeDef *hdfsdm_channel); +HAL_StatusTypeDef HAL_DFSDM_ChannelModifyOffset(DFSDM_Channel_HandleTypeDef *hdfsdm_channel, int32_t Offset); + +HAL_StatusTypeDef HAL_DFSDM_ChannelPollForCkab(const DFSDM_Channel_HandleTypeDef *hdfsdm_channel, uint32_t Timeout); +HAL_StatusTypeDef HAL_DFSDM_ChannelPollForScd(const DFSDM_Channel_HandleTypeDef *hdfsdm_channel, uint32_t Timeout); + +void HAL_DFSDM_ChannelCkabCallback(DFSDM_Channel_HandleTypeDef *hdfsdm_channel); +void HAL_DFSDM_ChannelScdCallback(DFSDM_Channel_HandleTypeDef *hdfsdm_channel); +/** + * @} + */ + +/** @defgroup DFSDM_Exported_Functions_Group3_Channel Channel state function + * @{ + */ +/* Channel state function *****************************************************/ +HAL_DFSDM_Channel_StateTypeDef HAL_DFSDM_ChannelGetState(const DFSDM_Channel_HandleTypeDef *hdfsdm_channel); +/** + * @} + */ + +/** @addtogroup DFSDM_Exported_Functions_Group1_Filter Filter initialization and de-initialization functions + * @{ + */ +/* Filter initialization and de-initialization functions *********************/ +HAL_StatusTypeDef HAL_DFSDM_FilterInit(DFSDM_Filter_HandleTypeDef *hdfsdm_filter); +HAL_StatusTypeDef HAL_DFSDM_FilterDeInit(DFSDM_Filter_HandleTypeDef *hdfsdm_filter); +void HAL_DFSDM_FilterMspInit(DFSDM_Filter_HandleTypeDef *hdfsdm_filter); +void HAL_DFSDM_FilterMspDeInit(DFSDM_Filter_HandleTypeDef *hdfsdm_filter); +# 643 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dfsdm.h" +/** + * @} + */ + +/** @addtogroup DFSDM_Exported_Functions_Group2_Filter Filter control functions + * @{ + */ +/* Filter control functions *********************/ +HAL_StatusTypeDef HAL_DFSDM_FilterConfigRegChannel(DFSDM_Filter_HandleTypeDef *hdfsdm_filter, + uint32_t Channel, + uint32_t ContinuousMode); +HAL_StatusTypeDef HAL_DFSDM_FilterConfigInjChannel(DFSDM_Filter_HandleTypeDef *hdfsdm_filter, + uint32_t Channel); +/** + * @} + */ + +/** @addtogroup DFSDM_Exported_Functions_Group3_Filter Filter operation functions + * @{ + */ +/* Filter operation functions *********************/ +HAL_StatusTypeDef HAL_DFSDM_FilterRegularStart(DFSDM_Filter_HandleTypeDef *hdfsdm_filter); +HAL_StatusTypeDef HAL_DFSDM_FilterRegularStart_IT(DFSDM_Filter_HandleTypeDef *hdfsdm_filter); +HAL_StatusTypeDef HAL_DFSDM_FilterRegularStart_DMA(DFSDM_Filter_HandleTypeDef *hdfsdm_filter, int32_t *pData, uint32_t Length); +HAL_StatusTypeDef HAL_DFSDM_FilterRegularMsbStart_DMA(DFSDM_Filter_HandleTypeDef *hdfsdm_filter, int16_t *pData, uint32_t Length); +HAL_StatusTypeDef HAL_DFSDM_FilterRegularStop(DFSDM_Filter_HandleTypeDef *hdfsdm_filter); +HAL_StatusTypeDef HAL_DFSDM_FilterRegularStop_IT(DFSDM_Filter_HandleTypeDef *hdfsdm_filter); +HAL_StatusTypeDef HAL_DFSDM_FilterRegularStop_DMA(DFSDM_Filter_HandleTypeDef *hdfsdm_filter); +HAL_StatusTypeDef HAL_DFSDM_FilterInjectedStart(DFSDM_Filter_HandleTypeDef *hdfsdm_filter); +HAL_StatusTypeDef HAL_DFSDM_FilterInjectedStart_IT(DFSDM_Filter_HandleTypeDef *hdfsdm_filter); +HAL_StatusTypeDef HAL_DFSDM_FilterInjectedStart_DMA(DFSDM_Filter_HandleTypeDef *hdfsdm_filter, int32_t *pData, uint32_t Length); +HAL_StatusTypeDef HAL_DFSDM_FilterInjectedMsbStart_DMA(DFSDM_Filter_HandleTypeDef *hdfsdm_filter, int16_t *pData, uint32_t Length); +HAL_StatusTypeDef HAL_DFSDM_FilterInjectedStop(DFSDM_Filter_HandleTypeDef *hdfsdm_filter); +HAL_StatusTypeDef HAL_DFSDM_FilterInjectedStop_IT(DFSDM_Filter_HandleTypeDef *hdfsdm_filter); +HAL_StatusTypeDef HAL_DFSDM_FilterInjectedStop_DMA(DFSDM_Filter_HandleTypeDef *hdfsdm_filter); +HAL_StatusTypeDef HAL_DFSDM_FilterAwdStart_IT(DFSDM_Filter_HandleTypeDef *hdfsdm_filter, + const DFSDM_Filter_AwdParamTypeDef *awdParam); +HAL_StatusTypeDef HAL_DFSDM_FilterAwdStop_IT(DFSDM_Filter_HandleTypeDef *hdfsdm_filter); +HAL_StatusTypeDef HAL_DFSDM_FilterExdStart(DFSDM_Filter_HandleTypeDef *hdfsdm_filter, uint32_t Channel); +HAL_StatusTypeDef HAL_DFSDM_FilterExdStop(DFSDM_Filter_HandleTypeDef *hdfsdm_filter); + +int32_t HAL_DFSDM_FilterGetRegularValue(const DFSDM_Filter_HandleTypeDef *hdfsdm_filter, uint32_t *Channel); +int32_t HAL_DFSDM_FilterGetInjectedValue(const DFSDM_Filter_HandleTypeDef *hdfsdm_filter, uint32_t *Channel); +int32_t HAL_DFSDM_FilterGetExdMaxValue(const DFSDM_Filter_HandleTypeDef *hdfsdm_filter, uint32_t *Channel); +int32_t HAL_DFSDM_FilterGetExdMinValue(const DFSDM_Filter_HandleTypeDef *hdfsdm_filter, uint32_t *Channel); +uint32_t HAL_DFSDM_FilterGetConvTimeValue(const DFSDM_Filter_HandleTypeDef *hdfsdm_filter); + +void HAL_DFSDM_IRQHandler(DFSDM_Filter_HandleTypeDef *hdfsdm_filter); + +HAL_StatusTypeDef HAL_DFSDM_FilterPollForRegConversion(DFSDM_Filter_HandleTypeDef *hdfsdm_filter, uint32_t Timeout); +HAL_StatusTypeDef HAL_DFSDM_FilterPollForInjConversion(DFSDM_Filter_HandleTypeDef *hdfsdm_filter, uint32_t Timeout); + +void HAL_DFSDM_FilterRegConvCpltCallback(DFSDM_Filter_HandleTypeDef *hdfsdm_filter); +void HAL_DFSDM_FilterRegConvHalfCpltCallback(DFSDM_Filter_HandleTypeDef *hdfsdm_filter); +void HAL_DFSDM_FilterInjConvCpltCallback(DFSDM_Filter_HandleTypeDef *hdfsdm_filter); +void HAL_DFSDM_FilterInjConvHalfCpltCallback(DFSDM_Filter_HandleTypeDef *hdfsdm_filter); +void HAL_DFSDM_FilterAwdCallback(DFSDM_Filter_HandleTypeDef *hdfsdm_filter, uint32_t Channel, uint32_t Threshold); +void HAL_DFSDM_FilterErrorCallback(DFSDM_Filter_HandleTypeDef *hdfsdm_filter); +/** + * @} + */ + +/** @defgroup DFSDM_Exported_Functions_Group4_Filter Filter state functions + * @{ + */ +/* Filter state functions *****************************************************/ +HAL_DFSDM_Filter_StateTypeDef HAL_DFSDM_FilterGetState(const DFSDM_Filter_HandleTypeDef *hdfsdm_filter); +uint32_t HAL_DFSDM_FilterGetError(const DFSDM_Filter_HandleTypeDef *hdfsdm_filter); +/** + * @} + */ + +/** + * @} + */ +/* End of exported functions -------------------------------------------------*/ + +/* Private macros ------------------------------------------------------------*/ +/** @defgroup DFSDM_Private_Macros DFSDM Private Macros +* @{ +*/ +# 853 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dfsdm.h" +/** + * @} + */ +/* End of private macros -----------------------------------------------------*/ + +/** + * @} + */ + +/** + * @} + */ + + +} +# 283 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dts.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_dts.h + * @author MCD Application Team + * @brief Header file of DTS HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 30 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dts.h" 2 + + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ +# 518 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dts.h" +} +# 287 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_eth.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_eth.h + * @author MCD Application Team + * @brief Header file of ETH HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_eth.h" 2 + + + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup ETH + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +# 61 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_eth.h" +/*********************** Descriptors struct def section ************************/ +/** @defgroup ETH_Exported_Types ETH Exported Types + * @{ + */ + +/** + * @brief ETH DMA Descriptor structure definition + */ +typedef struct +{ + volatile uint32_t DESC0; + volatile uint32_t DESC1; + volatile uint32_t DESC2; + volatile uint32_t DESC3; + uint32_t BackupAddr0; + uint32_t BackupAddr1; +} ETH_DMADescTypeDef; +/** + * + */ + +/** + * @brief ETH Buffers List structure definition + */ +typedef struct __ETH_BufferTypeDef +{ + uint8_t *buffer; + + uint32_t len; + + struct __ETH_BufferTypeDef *next; +} ETH_BufferTypeDef; +/** + * + */ + +/** + * @brief DMA Transmit Descriptors Wrapper structure definition + */ +typedef struct +{ + uint32_t TxDesc[4U]; + + uint32_t CurTxDesc; + + uint32_t *PacketAddress[4U]; + + uint32_t *CurrentPacketAddress; + + uint32_t BuffersInUse; + + uint32_t releaseIndex; +} ETH_TxDescListTypeDef; +/** + * + */ + +/** + * @brief Transmit Packet Configuration structure definition + */ +typedef struct +{ + uint32_t Attributes; /*!< Tx packet HW features capabilities. + This parameter can be a combination of @ref ETH_Tx_Packet_Attributes*/ + + uint32_t Length; + + ETH_BufferTypeDef *TxBuffer; + + uint32_t SrcAddrCtrl; /*!< Specifies the source address insertion control. + This parameter can be a value of @ref ETH_Tx_Packet_Source_Addr_Control */ + + uint32_t CRCPadCtrl; /*!< Specifies the CRC and Pad insertion and replacement control. + This parameter can be a value of @ref ETH_Tx_Packet_CRC_Pad_Control */ + + uint32_t ChecksumCtrl; /*!< Specifies the checksum insertion control. + This parameter can be a value of @ref ETH_Tx_Packet_Checksum_Control */ + + uint32_t MaxSegmentSize; /*!< Sets TCP maximum segment size only when TCP segmentation is enabled. + This parameter can be a value from 0x0 to 0x3FFF */ + + uint32_t PayloadLen; /*!< Sets Total payload length only when TCP segmentation is enabled. + This parameter can be a value from 0x0 to 0x3FFFF */ + + uint32_t TCPHeaderLen; /*!< Sets TCP header length only when TCP segmentation is enabled. + This parameter can be a value from 0x5 to 0xF */ + + uint32_t VlanTag; /*!< Sets VLAN Tag only when VLAN is enabled. + This parameter can be a value from 0x0 to 0xFFFF*/ + + uint32_t VlanCtrl; /*!< Specifies VLAN Tag insertion control only when VLAN is enabled. + This parameter can be a value of @ref ETH_Tx_Packet_VLAN_Control */ + + uint32_t InnerVlanTag; /*!< Sets Inner VLAN Tag only when Inner VLAN is enabled. + This parameter can be a value from 0x0 to 0x3FFFF */ + + uint32_t InnerVlanCtrl; /*!< Specifies Inner VLAN Tag insertion control only when Inner VLAN is enabled. + This parameter can be a value of @ref ETH_Tx_Packet_Inner_VLAN_Control */ + + void *pData; + +} ETH_TxPacketConfigTypeDef; +/** + * + */ + +/** + * @brief ETH Timestamp structure definition + */ +typedef struct +{ + uint32_t TimeStampLow; + uint32_t TimeStampHigh; + +} ETH_TimeStampTypeDef; +/** + * + */ +# 194 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_eth.h" +/** + * @brief DMA Receive Descriptors Wrapper structure definition + */ +typedef struct +{ + uint32_t RxDesc[4U]; + + uint32_t ItMode; /*, + * __LL_ADC_ANALOGWD_SET_THRESHOLD_RESOLUTION(LL_ADC_RESOLUTION_8B, ) + * ); + * @param __ADC_RESOLUTION__ This parameter can be one of the following values: + * @arg @ref LL_ADC_RESOLUTION_16B + * @arg @ref LL_ADC_RESOLUTION_14B + * @arg @ref LL_ADC_RESOLUTION_12B + * @arg @ref LL_ADC_RESOLUTION_10B + * @arg @ref LL_ADC_RESOLUTION_8B + * @param __AWD_THRESHOLD__ Value between Min_Data=0x000000 and Max_Data=0xFFFFFF + * @retval Value between Min_Data=0x000000 and Max_Data=0xFFFFFF + */ + + + +/** + * @brief Helper macro to get the value of ADC analog watchdog threshold high + * or low in function of ADC resolution, when ADC resolution is + * different of 16 bits. + * @note To be used with function @ref LL_ADC_GetAnalogWDThresholds(). + * Example, with a ADC resolution of 8 bits, to get the value of + * analog watchdog threshold high (on 18 bits): + * < threshold_value_18_bits > = __LL_ADC_ANALOGWD_GET_THRESHOLD_RESOLUTION + * (LL_ADC_RESOLUTION_8B, + * LL_ADC_GetAnalogWDThresholds(, LL_ADC_AWD_THRESHOLD_HIGH) + * ); + * @param __ADC_RESOLUTION__ This parameter can be one of the following values: + * @arg @ref LL_ADC_RESOLUTION_16B + * @arg @ref LL_ADC_RESOLUTION_14B + * @arg @ref LL_ADC_RESOLUTION_12B + * @arg @ref LL_ADC_RESOLUTION_10B + * @arg @ref LL_ADC_RESOLUTION_8B + * @param __AWD_THRESHOLD_16_BITS__ Value between Min_Data=0x000000 and Max_Data=0xFFFFFF + * @retval Value between Min_Data=0x000000 and Max_Data=0xFFFFFF + */ + + + +/** + * @brief Helper macro to set the ADC calibration value with both single ended + * and differential modes calibration factors concatenated. + * @note To be used with function @ref LL_ADC_SetCalibrationOffsetFactor(). + * Example, to set calibration factors single ended to 0x55 + * and differential ended to 0x2A: + * LL_ADC_SetCalibrationOffsetFactor( + * ADC1, + * __LL_ADC_CALIB_FACTOR_SINGLE_DIFF(0x55, 0x2A)) + * @param __CALIB_FACTOR_SINGLE_ENDED__ Value between Min_Data=0x00 and Max_Data=0x7F + * @param __CALIB_FACTOR_DIFFERENTIAL__ Value between Min_Data=0x00 and Max_Data=0x7F + * @retval Value between Min_Data=0x00000000 and Max_Data=0xFFFFFFFF + */ + + + +/** + * @brief Helper macro to get the ADC multimode conversion data of ADC master + * or ADC slave from raw value with both ADC conversion data concatenated. + * @note This macro is intended to be used when multimode transfer by DMA + * is enabled: refer to function @ref LL_ADC_SetMultiDMATransfer(). + * In this case the transferred data need to processed with this macro + * to separate the conversion data of ADC master and ADC slave. + * @param __ADC_MULTI_MASTER_SLAVE__ This parameter can be one of the following values: + * @arg @ref LL_ADC_MULTI_MASTER + * @arg @ref LL_ADC_MULTI_SLAVE + * @param __ADC_MULTI_CONV_DATA__ Value between Min_Data=0x000 and Max_Data=0xFFF + * @retval Value between Min_Data=0x000 and Max_Data=0xFFF + */ + + + +/** + * @brief Helper macro to select, from a ADC instance, to which ADC instance + * it has a dependence in multimode (ADC master of the corresponding + * ADC common instance). + * @note In case of device with multimode available and a mix of + * ADC instances compliant and not compliant with multimode feature, + * ADC instances not compliant with multimode feature are + * considered as master instances (do not depend to + * any other ADC instance). + * @param __ADCx__ ADC instance + * @retval __ADCx__ ADC instance master of the corresponding ADC common instance + */ +# 2177 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_adc.h" +/** + * @brief Helper macro to select the ADC common instance + * to which is belonging the selected ADC instance. + * @note ADC common register instance can be used for: + * - Set parameters common to several ADC instances + * - Multimode (for devices with several ADC instances) + * Refer to functions having argument "ADCxy_COMMON" as parameter. + * @param __ADCx__ ADC instance + * @retval ADC common register instance + */ +# 2202 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_adc.h" +/** + * @brief Helper macro to check if all ADC instances sharing the same + * ADC common instance are disabled. + * @note This check is required by functions with setting conditioned to + * ADC state: + * All ADC instances of the ADC common group must be disabled. + * Refer to functions having argument "ADCxy_COMMON" as parameter. + * @note On devices with only 1 ADC common instance, parameter of this macro + * is useless and can be ignored (parameter kept for compatibility + * with devices featuring several ADC common instances). + * @param __ADCXY_COMMON__ ADC common instance + * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMON_INSTANCE() ) + * @retval Value "0" if all ADC instances sharing the same ADC common instance + * are disabled. + * Value "1" if at least one ADC instance sharing the same ADC common instance + * is enabled. + */ +# 2236 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_adc.h" +/** + * @brief Helper macro to define the ADC conversion data full-scale digital + * value corresponding to the selected ADC resolution. + * @note ADC conversion data full-scale corresponds to voltage range + * determined by analog voltage references Vref+ and Vref- + * (refer to reference manual). + * @param __ADC_RESOLUTION__ This parameter can be one of the following values: + * @arg @ref LL_ADC_RESOLUTION_16B + * @arg @ref LL_ADC_RESOLUTION_14B + * @arg @ref LL_ADC_RESOLUTION_12B + * @arg @ref LL_ADC_RESOLUTION_10B + * @arg @ref LL_ADC_RESOLUTION_8B + * @retval ADC conversion data full-scale digital value (unit: digital value of ADC conversion data) + */ +# 2270 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_adc.h" +/** + * @brief Helper macro to convert the ADC conversion data from + * a resolution to another resolution. + * @param __DATA__ ADC conversion data to be converted + * @param __ADC_RESOLUTION_CURRENT__ Resolution of the data to be converted + * This parameter can be one of the following values: + * @arg @ref LL_ADC_RESOLUTION_16B + * @arg @ref LL_ADC_RESOLUTION_14B + * @arg @ref LL_ADC_RESOLUTION_12B + * @arg @ref LL_ADC_RESOLUTION_10B + * @arg @ref LL_ADC_RESOLUTION_8B + * @param __ADC_RESOLUTION_TARGET__ Resolution of the data after conversion + * This parameter can be one of the following values: + * @arg @ref LL_ADC_RESOLUTION_16B + * @arg @ref LL_ADC_RESOLUTION_14B + * @arg @ref LL_ADC_RESOLUTION_12B + * @arg @ref LL_ADC_RESOLUTION_10B + * @arg @ref LL_ADC_RESOLUTION_8B + * @retval ADC conversion data to the requested resolution + */ +# 2374 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_adc.h" +/** + * @brief Helper macro to calculate the voltage (unit: mVolt) + * corresponding to a ADC conversion data (unit: digital value). + * @note Analog reference voltage (Vref+) must be either known from + * user board environment or can be calculated using ADC measurement + * and ADC helper macro @ref __LL_ADC_CALC_VREFANALOG_VOLTAGE(). + * @param __VREFANALOG_VOLTAGE__ Analog reference voltage (unit: mV) + * @param __ADC_DATA__ ADC conversion data (resolution 16 bits) + * (unit: digital value). + * @param __ADC_RESOLUTION__ This parameter can be one of the following values: + * @arg @ref LL_ADC_RESOLUTION_16B + * @arg @ref LL_ADC_RESOLUTION_14B + * @arg @ref LL_ADC_RESOLUTION_12B + * @arg @ref LL_ADC_RESOLUTION_10B + * @arg @ref LL_ADC_RESOLUTION_8B + * @retval ADC conversion data equivalent voltage value (unit: mVolt) + */ + + + + + + + +/** + * @brief Helper macro to calculate analog reference voltage (Vref+) + * (unit: mVolt) from ADC conversion data of internal voltage + * reference VrefInt. + * @note Computation is using VrefInt calibration value + * stored in system memory for each device during production. + * @note This voltage depends on user board environment: voltage level + * connected to pin Vref+. + * On devices with small package, the pin Vref+ is not present + * and internally bonded to pin Vdda. + * @note On this STM32 series, calibration data of internal voltage reference + * VrefInt corresponds to a resolution of 16 bits, + * this is the recommended ADC resolution to convert voltage of + * internal voltage reference VrefInt. + * Otherwise, this macro performs the processing to scale + * ADC conversion data to 16 bits. + * @param __VREFINT_ADC_DATA__ ADC conversion data (resolution 16 bits) + * of internal voltage reference VrefInt (unit: digital value). + * @param __ADC_RESOLUTION__ This parameter can be one of the following values: + * @arg @ref LL_ADC_RESOLUTION_16B + * @arg @ref LL_ADC_RESOLUTION_14B + * @arg @ref LL_ADC_RESOLUTION_12B + * @arg @ref LL_ADC_RESOLUTION_10B + * @arg @ref LL_ADC_RESOLUTION_8B + * @retval Analog reference voltage (unit: mV) + */ +# 2432 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_adc.h" +/** + * @brief Helper macro to calculate the temperature (unit: degree Celsius) + * from ADC conversion data of internal temperature sensor. + * @note Computation is using temperature sensor calibration values + * stored in system memory for each device during production. + * @note Calculation formula: + * Temperature = ((TS_ADC_DATA - TS_CAL1) + * * (TS_CAL2_TEMP - TS_CAL1_TEMP)) + * / (TS_CAL2 - TS_CAL1) + TS_CAL1_TEMP + * with TS_ADC_DATA = temperature sensor raw data measured by ADC + * Avg_Slope = (TS_CAL2 - TS_CAL1) + * / (TS_CAL2_TEMP - TS_CAL1_TEMP) + * TS_CAL1 = equivalent TS_ADC_DATA at temperature + * TEMP_DEGC_CAL1 (calibrated in factory) + * TS_CAL2 = equivalent TS_ADC_DATA at temperature + * TEMP_DEGC_CAL2 (calibrated in factory) + * Caution: Calculation relevancy under reserve that calibration + * parameters are correct (address and data). + * To calculate temperature using temperature sensor + * datasheet typical values (generic values less, therefore + * less accurate than calibrated values), + * use helper macro @ref __LL_ADC_CALC_TEMPERATURE_TYP_PARAMS(). + * @note As calculation input, the analog reference voltage (Vref+) must be + * defined as it impacts the ADC LSB equivalent voltage. + * @note Analog reference voltage (Vref+) must be either known from + * user board environment or can be calculated using ADC measurement + * and ADC helper macro @ref __LL_ADC_CALC_VREFANALOG_VOLTAGE(). + * @note On this STM32 series, calibration data of temperature sensor + * corresponds to a resolution of 16 bits, + * this is the recommended ADC resolution to convert voltage of + * temperature sensor. + * Otherwise, this macro performs the processing to scale + * ADC conversion data to 16 bits. + * @param __VREFANALOG_VOLTAGE__ Analog reference voltage (unit: mV) + * @param __TEMPSENSOR_ADC_DATA__ ADC conversion data of internal + * temperature sensor (unit: digital value). + * @param __ADC_RESOLUTION__ ADC resolution at which internal temperature + * sensor voltage has been measured. + * This parameter can be one of the following values: + * @arg @ref LL_ADC_RESOLUTION_16B + * @arg @ref LL_ADC_RESOLUTION_14B + * @arg @ref LL_ADC_RESOLUTION_12B + * @arg @ref LL_ADC_RESOLUTION_10B + * @arg @ref LL_ADC_RESOLUTION_8B + * @retval Temperature (unit: degree Celsius) + */ +# 2492 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_adc.h" +/** + * @brief Helper macro to calculate the temperature (unit: degree Celsius) + * from ADC conversion data of internal temperature sensor. + * @note Computation is using temperature sensor typical values + * (refer to device datasheet). + * @note Calculation formula: + * Temperature = (TS_TYP_CALx_VOLT(uV) - TS_ADC_DATA * Conversion_uV) + * / Avg_Slope + CALx_TEMP + * with TS_ADC_DATA = temperature sensor raw data measured by ADC + * (unit: digital value) + * Avg_Slope = temperature sensor slope + * (unit: uV/Degree Celsius) + * TS_TYP_CALx_VOLT = temperature sensor digital value at + * temperature CALx_TEMP (unit: mV) + * Caution: Calculation relevancy under reserve the temperature sensor + * of the current device has characteristics in line with + * datasheet typical values. + * If temperature sensor calibration values are available on + * on this device (presence of macro __LL_ADC_CALC_TEMPERATURE()), + * temperature calculation will be more accurate using + * helper macro @ref __LL_ADC_CALC_TEMPERATURE(). + * @note As calculation input, the analog reference voltage (Vref+) must be + * defined as it impacts the ADC LSB equivalent voltage. + * @note Analog reference voltage (Vref+) must be either known from + * user board environment or can be calculated using ADC measurement + * and ADC helper macro @ref __LL_ADC_CALC_VREFANALOG_VOLTAGE(). + * @note ADC measurement data must correspond to a resolution of 16 bits + * (full scale digital value 4095). If not the case, the data must be + * preliminarily rescaled to an equivalent resolution of 16 bits. + * @param __TEMPSENSOR_TYP_AVGSLOPE__ Device datasheet data: Temperature sensor slope typical value (unit: uV/DegCelsius). + * On STM32H7, refer to device datasheet parameter "Avg_Slope". + * @param __TEMPSENSOR_TYP_CALX_V__ Device datasheet data: Temperature sensor voltage typical value (at temperature and Vref+ defined in parameters below) (unit: mV). + * On STM32H7, refer to device datasheet parameter "V30" (corresponding to TS_CAL1). + * @param __TEMPSENSOR_CALX_TEMP__ Device datasheet data: Temperature at which temperature sensor voltage (see parameter above) is corresponding (unit: mV) + * @param __VREFANALOG_VOLTAGE__ Analog voltage reference (Vref+) voltage (unit: mV) + * @param __TEMPSENSOR_ADC_DATA__ ADC conversion data of internal temperature sensor (unit: digital value). + * @param __ADC_RESOLUTION__ ADC resolution at which internal temperature sensor voltage has been measured. + * This parameter can be one of the following values: + * @arg @ref LL_ADC_RESOLUTION_16B + * @arg @ref LL_ADC_RESOLUTION_14B + * @arg @ref LL_ADC_RESOLUTION_12B + * @arg @ref LL_ADC_RESOLUTION_10B + * @arg @ref LL_ADC_RESOLUTION_8B + * @retval Temperature (unit: degree Celsius) + */ +# 2555 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_adc.h" +/** + * @} + */ + +/** + * @} + */ + + +/* Exported functions --------------------------------------------------------*/ +/** @defgroup ADC_LL_Exported_Functions ADC Exported Functions + * @{ + */ + +/** @defgroup ADC_LL_EF_DMA_Management ADC DMA management + * @{ + */ + +/** + * @brief Function to help to configure DMA transfer from ADC: retrieve the + * ADC register address from ADC instance and a list of ADC registers + * intended to be used (most commonly) with DMA transfer. + * @note These ADC registers are data registers: + * when ADC conversion data is available in ADC data registers, + * ADC generates a DMA transfer request. + * @note This macro is intended to be used with LL DMA driver, refer to + * function "LL_DMA_ConfigAddresses()". + * Example: + * LL_DMA_ConfigAddresses(DMA1, + * LL_DMA_CHANNEL_1, + * LL_ADC_DMA_GetRegAddr(ADC1, LL_ADC_DMA_REG_REGULAR_DATA), + * (uint32_t)&< array or variable >, + * LL_DMA_DIRECTION_PERIPH_TO_MEMORY); + * @note For devices with several ADC: in multimode, some devices + * use a different data register outside of ADC instance scope + * (common data register). This macro manages this register difference, + * only ADC instance has to be set as parameter. + * @rmtoll DR RDATA LL_ADC_DMA_GetRegAddr\n + * CDR RDATA_MST LL_ADC_DMA_GetRegAddr\n + * CDR RDATA_SLV LL_ADC_DMA_GetRegAddr + * @param ADCx ADC instance + * @param Register This parameter can be one of the following values: + * @arg @ref LL_ADC_DMA_REG_REGULAR_DATA + * @arg @ref LL_ADC_DMA_REG_REGULAR_DATA_MULTI (1) + * + * (1) Available on devices with several ADC instances. + * @retval ADC register address + */ +static inline uint32_t LL_ADC_DMA_GetRegAddr(const ADC_TypeDef *ADCx, uint32_t Register) +{ + uint32_t data_reg_addr; + + if (Register == (0x00000000UL)) + { + /* Retrieve address of register DR */ + data_reg_addr = (uint32_t) & (ADCx->DR); + } + else + { + /* Retrieve address of register CDR */ + data_reg_addr = (uint32_t) & ((((((ADCx) == ((ADC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x2000UL))) || ((ADCx) == ((ADC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x2100UL)))) ? ( (((ADC_Common_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x2300UL))) ) : ( (((ADC_Common_TypeDef *) (((0x40000000UL) + 0x18020000UL) + 0x6300UL))) ) ))->CDR); + } + + return data_reg_addr; +} + +/** + * @} + */ + +/** @defgroup ADC_LL_EF_Configuration_ADC_Common Configuration of ADC hierarchical scope: common to several ADC instances + * @{ + */ + +/** + * @brief Set parameter common to several ADC: Clock source and prescaler. + * @note On this STM32 series, if ADC group injected is used, some + * clock ratio constraints between ADC clock and AHB clock + * must be respected. + * Refer to reference manual. + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * All ADC instances of the ADC common group must be disabled. + * This check can be done with function @ref LL_ADC_IsEnabled() for each + * ADC instance or by using helper macro helper macro + * @ref __LL_ADC_IS_ENABLED_ALL_COMMON_INSTANCE(). + * @rmtoll CCR CKMODE LL_ADC_SetCommonClock\n + * CCR PRESC LL_ADC_SetCommonClock + * @param ADCxy_COMMON ADC common instance + * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMON_INSTANCE() ) + * @param CommonClock This parameter can be one of the following values: + * @arg @ref LL_ADC_CLOCK_SYNC_PCLK_DIV1 + * @arg @ref LL_ADC_CLOCK_SYNC_PCLK_DIV2 + * @arg @ref LL_ADC_CLOCK_SYNC_PCLK_DIV4 + * @arg @ref LL_ADC_CLOCK_ASYNC_DIV1 + * @arg @ref LL_ADC_CLOCK_ASYNC_DIV2 + * @arg @ref LL_ADC_CLOCK_ASYNC_DIV4 + * @arg @ref LL_ADC_CLOCK_ASYNC_DIV6 + * @arg @ref LL_ADC_CLOCK_ASYNC_DIV8 + * @arg @ref LL_ADC_CLOCK_ASYNC_DIV10 + * @arg @ref LL_ADC_CLOCK_ASYNC_DIV12 + * @arg @ref LL_ADC_CLOCK_ASYNC_DIV16 + * @arg @ref LL_ADC_CLOCK_ASYNC_DIV32 + * @arg @ref LL_ADC_CLOCK_ASYNC_DIV64 + * @arg @ref LL_ADC_CLOCK_ASYNC_DIV128 + * @arg @ref LL_ADC_CLOCK_ASYNC_DIV256 + * @retval None + */ +static inline void LL_ADC_SetCommonClock(ADC_Common_TypeDef *ADCxy_COMMON, uint32_t CommonClock) +{ + (((ADCxy_COMMON->CCR)) = ((((((ADCxy_COMMON->CCR))) & (~((0x3UL << (16U)) | (0xFUL << (18U))))) | (CommonClock)))); +} + +/** + * @brief Get parameter common to several ADC: Clock source and prescaler. + * @rmtoll CCR CKMODE LL_ADC_GetCommonClock\n + * CCR PRESC LL_ADC_GetCommonClock + * @param ADCxy_COMMON ADC common instance + * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMON_INSTANCE() ) + * @retval Returned value can be one of the following values: + * @arg @ref LL_ADC_CLOCK_SYNC_PCLK_DIV1 + * @arg @ref LL_ADC_CLOCK_SYNC_PCLK_DIV2 + * @arg @ref LL_ADC_CLOCK_SYNC_PCLK_DIV4 + * @arg @ref LL_ADC_CLOCK_ASYNC_DIV1 + * @arg @ref LL_ADC_CLOCK_ASYNC_DIV2 + * @arg @ref LL_ADC_CLOCK_ASYNC_DIV4 + * @arg @ref LL_ADC_CLOCK_ASYNC_DIV6 + * @arg @ref LL_ADC_CLOCK_ASYNC_DIV8 + * @arg @ref LL_ADC_CLOCK_ASYNC_DIV10 + * @arg @ref LL_ADC_CLOCK_ASYNC_DIV12 + * @arg @ref LL_ADC_CLOCK_ASYNC_DIV16 + * @arg @ref LL_ADC_CLOCK_ASYNC_DIV32 + * @arg @ref LL_ADC_CLOCK_ASYNC_DIV64 + * @arg @ref LL_ADC_CLOCK_ASYNC_DIV128 + * @arg @ref LL_ADC_CLOCK_ASYNC_DIV256 + */ +static inline uint32_t LL_ADC_GetCommonClock(const ADC_Common_TypeDef *ADCxy_COMMON) +{ + return (uint32_t)(((ADCxy_COMMON->CCR) & ((0x3UL << (16U)) | (0xFUL << (18U))))); +} + +/** + * @brief Set parameter common to several ADC: measurement path to internal + * channels (VrefInt, temperature sensor, ...). + * @note One or several values can be selected. + * Example: (LL_ADC_PATH_INTERNAL_VREFINT | + * LL_ADC_PATH_INTERNAL_TEMPSENSOR) + * @note Stabilization time of measurement path to internal channel: + * After enabling internal paths, before starting ADC conversion, + * a delay is required for internal voltage reference and + * temperature sensor stabilization time. + * Refer to device datasheet. + * Refer to literal @ref LL_ADC_DELAY_VREFINT_STAB_US. + * Refer to literal @ref LL_ADC_DELAY_TEMPSENSOR_STAB_US. + * @note ADC internal channel sampling time constraint: + * For ADC conversion of internal channels, + * a sampling time minimum value is required. + * Refer to device datasheet. + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * All ADC instances of the ADC common group must be disabled. + * This check can be done with function @ref LL_ADC_IsEnabled() for each + * ADC instance or by using helper macro helper macro + * @ref __LL_ADC_IS_ENABLED_ALL_COMMON_INSTANCE(). + * @rmtoll CCR VREFEN LL_ADC_SetCommonPathInternalCh\n + * CCR TSEN LL_ADC_SetCommonPathInternalCh\n + * CCR VBATEN LL_ADC_SetCommonPathInternalCh + * @param ADCxy_COMMON ADC common instance + * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMON_INSTANCE() ) + * @param PathInternal This parameter can be a combination of the following values: + * @arg @ref LL_ADC_PATH_INTERNAL_NONE + * @arg @ref LL_ADC_PATH_INTERNAL_VREFINT + * @arg @ref LL_ADC_PATH_INTERNAL_TEMPSENSOR + * @arg @ref LL_ADC_PATH_INTERNAL_VBAT + * @retval None + */ +static inline void LL_ADC_SetCommonPathInternalCh(ADC_Common_TypeDef *ADCxy_COMMON, uint32_t PathInternal) +{ + (((ADCxy_COMMON->CCR)) = ((((((ADCxy_COMMON->CCR))) & (~((0x1UL << (22U)) | (0x1UL << (23U)) | (0x1UL << (24U))))) | (PathInternal)))); +} + +/** + * @brief Get parameter common to several ADC: measurement path to internal + * channels (VrefInt, temperature sensor, ...). + * @note One or several values can be selected. + * Example: (LL_ADC_PATH_INTERNAL_VREFINT | + * LL_ADC_PATH_INTERNAL_TEMPSENSOR) + * @rmtoll CCR VREFEN LL_ADC_GetCommonPathInternalCh\n + * CCR TSEN LL_ADC_GetCommonPathInternalCh\n + * CCR VBATEN LL_ADC_GetCommonPathInternalCh + * @param ADCxy_COMMON ADC common instance + * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMON_INSTANCE() ) + * @retval Returned value can be a combination of the following values: + * @arg @ref LL_ADC_PATH_INTERNAL_NONE + * @arg @ref LL_ADC_PATH_INTERNAL_VREFINT + * @arg @ref LL_ADC_PATH_INTERNAL_TEMPSENSOR + * @arg @ref LL_ADC_PATH_INTERNAL_VBAT + */ +static inline uint32_t LL_ADC_GetCommonPathInternalCh(const ADC_Common_TypeDef *ADCxy_COMMON) +{ + return (uint32_t)(((ADCxy_COMMON->CCR) & ((0x1UL << (22U)) | (0x1UL << (23U)) | (0x1UL << (24U))))); +} + +/** + * @brief Set parameter common to several ADC: measurement path to + * internal channels (VrefInt, temperature sensor, ...). + * Add paths to the current configuration. + * @note One or several values can be selected. + * Example: (LL_ADC_PATH_INTERNAL_VREFINT | + * LL_ADC_PATH_INTERNAL_TEMPSENSOR) + * @note Stabilization time of measurement path to internal channel: + * After enabling internal paths, before starting ADC conversion, + * a delay is required for internal voltage reference and + * temperature sensor stabilization time. + * Refer to device datasheet. + * Refer to literal @ref LL_ADC_DELAY_VREFINT_STAB_US. + * Refer to literal @ref LL_ADC_DELAY_TEMPSENSOR_STAB_US. + * @note ADC internal channel sampling time constraint: + * For ADC conversion of internal channels, + * a sampling time minimum value is required. + * Refer to device datasheet. + * @rmtoll CCR VREFEN LL_ADC_SetCommonPathInternalChAdd\n + * CCR TSEN LL_ADC_SetCommonPathInternalChAdd\n + * CCR VBATEN LL_ADC_SetCommonPathInternalChAdd + * @param ADCxy_COMMON ADC common instance + * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMON_INSTANCE() ) + * @param PathInternal This parameter can be a combination of the following values: + * @arg @ref LL_ADC_PATH_INTERNAL_NONE + * @arg @ref LL_ADC_PATH_INTERNAL_VREFINT + * @arg @ref LL_ADC_PATH_INTERNAL_TEMPSENSOR + * @arg @ref LL_ADC_PATH_INTERNAL_VBAT + * @retval None + */ +static inline void LL_ADC_SetCommonPathInternalChAdd(ADC_Common_TypeDef *ADCxy_COMMON, uint32_t PathInternal) +{ + ((ADCxy_COMMON->CCR) |= (PathInternal)); +} + +/** + * @brief Set parameter common to several ADC: measurement path to + * internal channels (VrefInt, temperature sensor, ...). + * Remove paths to the current configuration. + * @note One or several values can be selected. + * Example: (LL_ADC_PATH_INTERNAL_VREFINT | + * LL_ADC_PATH_INTERNAL_TEMPSENSOR) + * @rmtoll CCR VREFEN LL_ADC_SetCommonPathInternalChRem\n + * CCR TSEN LL_ADC_SetCommonPathInternalChRem\n + * CCR VBATEN LL_ADC_SetCommonPathInternalChRem + * @param ADCxy_COMMON ADC common instance + * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMON_INSTANCE() ) + * @param PathInternal This parameter can be a combination of the following values: + * @arg @ref LL_ADC_PATH_INTERNAL_NONE + * @arg @ref LL_ADC_PATH_INTERNAL_VREFINT + * @arg @ref LL_ADC_PATH_INTERNAL_TEMPSENSOR + * @arg @ref LL_ADC_PATH_INTERNAL_VBAT + * @retval None + */ +static inline void LL_ADC_SetCommonPathInternalChRem(ADC_Common_TypeDef *ADCxy_COMMON, uint32_t PathInternal) +{ + ((ADCxy_COMMON->CCR) &= ~(PathInternal)); +} + +/** + * @} + */ + +/** @defgroup ADC_LL_EF_Configuration_ADC_Instance Configuration of ADC hierarchical scope: ADC instance + * @{ + */ + +/** + * @brief Set ADC calibration factor in the mode single-ended + * or differential (for devices with differential mode available). + * @note This function is intended to set calibration parameters + * without having to perform a new calibration using + * @ref LL_ADC_StartCalibration(). + * @note For devices with differential mode available: + * Calibration of offset is specific to each of + * single-ended and differential modes + * (calibration factor must be specified for each of these + * differential modes, if used afterwards and if the application + * requires their calibration). + * Calibration of linearity is common to both + * single-ended and differential modes + * (calibration factor can be specified only once). + * @note In case of setting calibration factors of both modes single ended + * and differential (parameter LL_ADC_BOTH_SINGLE_DIFF_ENDED): + * both calibration factors must be concatenated. + * To perform this processing, use helper macro + * @ref __LL_ADC_CALIB_FACTOR_SINGLE_DIFF(). + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * ADC must be enabled, without calibration on going, without conversion + * on going on group regular. + * @rmtoll CALFACT CALFACT_S LL_ADC_SetCalibrationOffsetFactor\n + * CALFACT CALFACT_D LL_ADC_SetCalibrationOffsetFactor + * @param ADCx ADC instance + * @param SingleDiff This parameter can be one of the following values: + * @arg @ref LL_ADC_SINGLE_ENDED + * @arg @ref LL_ADC_DIFFERENTIAL_ENDED + * @arg @ref LL_ADC_BOTH_SINGLE_DIFF_ENDED + * @param CalibrationFactor Value between Min_Data=0x00 and Max_Data=0x7F + * @retval None + */ +static inline void LL_ADC_SetCalibrationOffsetFactor(ADC_TypeDef *ADCx, uint32_t SingleDiff, uint32_t CalibrationFactor) +{ + + + + + + (((ADCx->CALFACT)) = ((((((ADCx->CALFACT))) & (~(SingleDiff & ((0x7FFUL << (16U)) | (0x7FFUL << (0U)))))) | (CalibrationFactor << (((SingleDiff & (0x00010000UL)) >> ((16UL) - 4UL)) & ~(SingleDiff & (0x7FFUL << (0U)))))))) + + ; + +} + +/** + * @brief Get ADC calibration factor in the mode single-ended + * or differential (for devices with differential mode available). + * @note Calibration factors are set by hardware after performing + * a calibration run using function @ref LL_ADC_StartCalibration(). + * @note For devices with differential mode available: + * Calibration of offset is specific to each of + * single-ended and differential modes + * Calibration of linearity is common to both + * single-ended and differential modes + * @rmtoll CALFACT CALFACT_S LL_ADC_GetCalibrationOffsetFactor\n + * CALFACT CALFACT_D LL_ADC_GetCalibrationOffsetFactor + * @param ADCx ADC instance + * @param SingleDiff This parameter can be one of the following values: + * @arg @ref LL_ADC_SINGLE_ENDED + * @arg @ref LL_ADC_DIFFERENTIAL_ENDED + * @retval Value between Min_Data=0x00 and Max_Data=0x7F + */ +static inline uint32_t LL_ADC_GetCalibrationOffsetFactor(const ADC_TypeDef *ADCx, uint32_t SingleDiff) +{ + /* Retrieve bits with position in register depending on parameter */ + /* "SingleDiff". */ + /* Parameter used with mask "ADC_SINGLEDIFF_CALIB_FACTOR_MASK" because */ + /* containing other bits reserved for other purpose. */ + + + + return (uint32_t)(((ADCx->CALFACT) & ((SingleDiff & ((0x7FFUL << (16U)) | (0x7FFUL << (0U)))))) >> ((SingleDiff & (0x00010000UL)) >> ((16UL) - 4UL))); + +} + +/** + * @brief Set ADC Linear calibration factor in the mode single-ended. + * @note This function is intended to set linear calibration parameters + * without having to perform a new calibration using + * @ref LL_ADC_StartCalibration(). + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * ADC must be enabled, without calibration on going, without conversion + * on going on group regular. + * @rmtoll CALFACT2 LINCALFACT LL_ADC_SetCalibrationLinearFactor\n + * CALFACT2 LINCALFACT LL_ADC_SetCalibrationLinearFactor + * @param ADCx ADC instance + * @param LinearityWord This parameter can be one of the following values: + * @arg @ref LL_ADC_CALIB_LINEARITY_WORD1 + * @arg @ref LL_ADC_CALIB_LINEARITY_WORD2 + * @arg @ref LL_ADC_CALIB_LINEARITY_WORD3 + * @arg @ref LL_ADC_CALIB_LINEARITY_WORD4 + * @arg @ref LL_ADC_CALIB_LINEARITY_WORD5 + * @arg @ref LL_ADC_CALIB_LINEARITY_WORD6 + * @param CalibrationFactor Value between Min_Data=0x00 and Max_Data=0x3FFFFFFF + * @retval None + */ +static inline void LL_ADC_SetCalibrationLinearFactor(ADC_TypeDef *ADCx, uint32_t LinearityWord, uint32_t CalibrationFactor) +{ +# 2939 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_adc.h" + uint32_t timeout_cpu_cycles = (524400UL); + (((ADCx->CALFACT2)) = ((((((ADCx->CALFACT2))) & (~((0x3FFFFFFFUL << (0U))))) | (CalibrationFactor)))); + (((ADCx->CR)) = ((((((ADCx->CR))) & (~((0x1UL << (16U))))) | (LinearityWord)))); + while ((((ADCx->CR) & (LinearityWord)) == 0UL) && (timeout_cpu_cycles > 0UL)) + { + timeout_cpu_cycles--; + } + +} + +/** + * @brief Get ADC Linear calibration factor in the mode single-ended. + * @note Calibration factors are set by hardware after performing + * a calibration run using function @ref LL_ADC_StartCalibration(). + * @rmtoll CALFACT2 LINCALFACT LL_ADC_GetCalibrationLinearFactor\n + * CALFACT2 LINCALFACT LL_ADC_GetCalibrationLinearFactor + * @param ADCx ADC instance + * @param LinearityWord This parameter can be one of the following values: + * @arg @ref LL_ADC_CALIB_LINEARITY_WORD1 + * @arg @ref LL_ADC_CALIB_LINEARITY_WORD2 + * @arg @ref LL_ADC_CALIB_LINEARITY_WORD3 + * @arg @ref LL_ADC_CALIB_LINEARITY_WORD4 + * @arg @ref LL_ADC_CALIB_LINEARITY_WORD5 + * @arg @ref LL_ADC_CALIB_LINEARITY_WORD6 + * @retval Value between Min_Data=0x00 and Max_Data=0x3FFFFFFF + */ +static inline uint32_t LL_ADC_GetCalibrationLinearFactor(ADC_TypeDef *ADCx, uint32_t LinearityWord) +{ + uint32_t timeout_cpu_cycles = (524400UL); + ((ADCx->CR) &= ~(LinearityWord)); + while ((((ADCx->CR) & (LinearityWord)) != 0UL) && (timeout_cpu_cycles > 0UL)) + { + timeout_cpu_cycles--; + } + + + + return (uint32_t)(((ADCx->CALFACT2) & ((0x3FFFFFFFUL << (0U))))); + +} +/** + * @brief Set ADC resolution. + * Refer to reference manual for alignments formats + * dependencies to ADC resolutions. + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * ADC must be disabled or enabled without conversion on going + * on either groups regular or injected. + * @rmtoll CFGR RES LL_ADC_SetResolution + * @param ADCx ADC instance + * @param Resolution This parameter can be one of the following values: + * @arg @ref LL_ADC_RESOLUTION_16B + * @arg @ref LL_ADC_RESOLUTION_14B + * @arg @ref LL_ADC_RESOLUTION_12B + * @arg @ref LL_ADC_RESOLUTION_10B + * @arg @ref LL_ADC_RESOLUTION_8B + * @retval None + */ +static inline void LL_ADC_SetResolution(ADC_TypeDef *ADCx, uint32_t Resolution) +{ +# 3027 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_adc.h" + if ((((DBGMCU_TypeDef *) (0x5C001000UL))->IDCODE & 0x30000000UL) == 0x10000000UL) + { + (((ADCx->CFGR)) = ((((((ADCx->CFGR))) & (~((0x7UL << (2U))))) | (Resolution)))); + } + else + { + if (((0x4UL << (2U)) ) == Resolution) + { + (((ADCx->CFGR)) = ((((((ADCx->CFGR))) & (~((0x7UL << (2U))))) | (Resolution | 0x0000000CUL)))); + } + else + { + (((ADCx->CFGR)) = ((((((ADCx->CFGR))) & (~((0x7UL << (2U))))) | (Resolution)))); + } + } + + +} + +/** + * @brief Get ADC resolution. + * Refer to reference manual for alignments formats + * dependencies to ADC resolutions. + * @rmtoll CFGR RES LL_ADC_GetResolution + * @param ADCx ADC instance + * @retval Returned value can be one of the following values: + * @arg @ref LL_ADC_RESOLUTION_16B (1) + * @arg @ref LL_ADC_RESOLUTION_14B + * @arg @ref LL_ADC_RESOLUTION_12B + * @arg @ref LL_ADC_RESOLUTION_10B + * @arg @ref LL_ADC_RESOLUTION_8B + * @arg @ref LL_ADC_RESOLUTION_6B (2) + * (1): Specific to ADC instance: ADC1, ADC2 + * (2): Specific to ADC instance: ADC3 + */ +static inline uint32_t LL_ADC_GetResolution(const ADC_TypeDef *ADCx) +{ +# 3086 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_adc.h" + if ((((DBGMCU_TypeDef *) (0x5C001000UL))->IDCODE & 0x30000000UL) == 0x10000000UL) + { + return (uint32_t)(((ADCx->CFGR) & ((0x7UL << (2U))))); + } + else + { + if ((uint32_t)(((ADCx->CFGR) & ((0x7UL << (2U))))) == 0x0000001CUL) + { + return (((0x4UL << (2U)) )); + } + else + { + return (uint32_t)(((ADCx->CFGR) & ((0x7UL << (2U))))); + } + } + + +} + +/** + * @brief Set ADC low power mode. + * @note Description of ADC low power modes: + * - ADC low power mode "auto wait": Dynamic low power mode, + * ADC conversions occurrences are limited to the minimum necessary + * in order to reduce power consumption. + * New ADC conversion starts only when the previous + * unitary conversion data (for ADC group regular) + * or previous sequence conversions data (for ADC group injected) + * has been retrieved by user software. + * In the meantime, ADC remains idle: does not performs any + * other conversion. + * This mode allows to automatically adapt the ADC conversions + * triggers to the speed of the software that reads the data. + * Moreover, this avoids risk of overrun for low frequency + * applications. + * How to use this low power mode: + * - It is not recommended to use with interruption or DMA + * since these modes have to clear immediately the EOC flag + * (by CPU to free the IRQ pending event or by DMA). + * Auto wait will work but fort a very short time, discarding + * its intended benefit (except specific case of high load of CPU + * or DMA transfers which can justify usage of auto wait). + * - Do use with polling: 1. Start conversion, + * 2. Later on, when conversion data is needed: poll for end of + * conversion to ensure that conversion is completed and + * retrieve ADC conversion data. This will trig another + * ADC conversion start. + * - ADC low power mode "auto power-off" (feature available on + * this device if parameter LL_ADC_LP_AUTOPOWEROFF is available): + * the ADC automatically powers-off after a conversion and + * automatically wakes up when a new conversion is triggered + * (with startup time between trigger and start of sampling). + * This feature can be combined with low power mode "auto wait". + * @note With ADC low power mode "auto wait", the ADC conversion data read + * is corresponding to previous ADC conversion start, independently + * of delay during which ADC was idle. + * Therefore, the ADC conversion data may be outdated: does not + * correspond to the current voltage level on the selected + * ADC channel. + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * ADC must be disabled or enabled without conversion on going + * on either groups regular or injected. + * @rmtoll CFGR AUTDLY LL_ADC_SetLowPowerMode + * @param ADCx ADC instance + * @param LowPowerMode This parameter can be one of the following values: + * @arg @ref LL_ADC_LP_MODE_NONE + * @arg @ref LL_ADC_LP_AUTOWAIT + * @retval None + */ +static inline void LL_ADC_SetLowPowerMode(ADC_TypeDef *ADCx, uint32_t LowPowerMode) +{ + (((ADCx->CFGR)) = ((((((ADCx->CFGR))) & (~((0x1UL << (14U))))) | (LowPowerMode)))); +} + +/** + * @brief Get ADC low power mode: + * @note Description of ADC low power modes: + * - ADC low power mode "auto wait": Dynamic low power mode, + * ADC conversions occurrences are limited to the minimum necessary + * in order to reduce power consumption. + * New ADC conversion starts only when the previous + * unitary conversion data (for ADC group regular) + * or previous sequence conversions data (for ADC group injected) + * has been retrieved by user software. + * In the meantime, ADC remains idle: does not performs any + * other conversion. + * This mode allows to automatically adapt the ADC conversions + * triggers to the speed of the software that reads the data. + * Moreover, this avoids risk of overrun for low frequency + * applications. + * How to use this low power mode: + * - It is not recommended to use with interruption or DMA + * since these modes have to clear immediately the EOC flag + * (by CPU to free the IRQ pending event or by DMA). + * Auto wait will work but fort a very short time, discarding + * its intended benefit (except specific case of high load of CPU + * or DMA transfers which can justify usage of auto wait). + * - Do use with polling: 1. Start conversion, + * 2. Later on, when conversion data is needed: poll for end of + * conversion to ensure that conversion is completed and + * retrieve ADC conversion data. This will trig another + * ADC conversion start. + * - ADC low power mode "auto power-off" (feature available on + * this device if parameter LL_ADC_LP_AUTOPOWEROFF is available): + * the ADC automatically powers-off after a conversion and + * automatically wakes up when a new conversion is triggered + * (with startup time between trigger and start of sampling). + * This feature can be combined with low power mode "auto wait". + * @note With ADC low power mode "auto wait", the ADC conversion data read + * is corresponding to previous ADC conversion start, independently + * of delay during which ADC was idle. + * Therefore, the ADC conversion data may be outdated: does not + * correspond to the current voltage level on the selected + * ADC channel. + * @rmtoll CFGR AUTDLY LL_ADC_GetLowPowerMode + * @param ADCx ADC instance + * @retval Returned value can be one of the following values: + * @arg @ref LL_ADC_LP_MODE_NONE + * @arg @ref LL_ADC_LP_AUTOWAIT + */ +static inline uint32_t LL_ADC_GetLowPowerMode(const ADC_TypeDef *ADCx) +{ + return (uint32_t)(((ADCx->CFGR) & ((0x1UL << (14U))))); +} + +/** + * @brief Set ADC selected Channel. + * @note This function set the pre-selection of channel configuration. + * @note Caution: Channel selections is dependent to ADC instance and IP version: + * For STM32H72x/3x This is applicable only for ADC1/ADC2 + * For Rest of STM32H7xxx This is applicable only all the ADCs instances. + * + * @param ADCx ADC instance + * @param Channel This parameter can be one of the following values: + * @arg @ref LL_ADC_CHANNEL_0 + * @arg @ref LL_ADC_CHANNEL_1 + * @arg @ref LL_ADC_CHANNEL_2 + * @arg @ref LL_ADC_CHANNEL_3 + * @arg @ref LL_ADC_CHANNEL_4 + * @arg @ref LL_ADC_CHANNEL_5 + * @arg @ref LL_ADC_CHANNEL_6 + * @arg @ref LL_ADC_CHANNEL_7 + * @arg @ref LL_ADC_CHANNEL_8 + * @arg @ref LL_ADC_CHANNEL_9 + * @arg @ref LL_ADC_CHANNEL_10 + * @arg @ref LL_ADC_CHANNEL_11 + * @arg @ref LL_ADC_CHANNEL_12 + * @arg @ref LL_ADC_CHANNEL_13 + * @arg @ref LL_ADC_CHANNEL_14 + * @arg @ref LL_ADC_CHANNEL_15 + * @arg @ref LL_ADC_CHANNEL_16 + * @arg @ref LL_ADC_CHANNEL_17 + * @arg @ref LL_ADC_CHANNEL_18 + * @arg @ref LL_ADC_CHANNEL_19 + * @retval None + */ +static inline void LL_ADC_SetChannelPreselection(ADC_TypeDef *ADCx, uint32_t Channel) +{ + + + + + + + + /* ADC channels preselection */ + ADCx->PCSEL |= (1UL << (((((Channel) & ((0xFFFFFUL << (0U)))) == 0UL) ? ( ((Channel) & ((0x1FUL << (26U)))) >> (26UL) ) : ( (uint32_t)(__CLZ(__RBIT((Channel)))) ) ) & 0x1FUL)); + +} + +/** + * @brief Gets ADC pre-selected Channel. + * @note This function gets the pre-selected ADC channel. + * @note Caution: Channel selections is dependent to ADC instance and IP version: + * For STM32H72x/3x This is applicable only for ADC1/ADC2 + * For Rest of STM32H7xxx This is applicable on all the ADCs instances. + * + * @param ADCx ADC instance + * @param Channel This parameter can be one of the following values: + * @arg @ref LL_ADC_CHANNEL_0 + * @arg @ref LL_ADC_CHANNEL_1 + * @arg @ref LL_ADC_CHANNEL_2 + * @arg @ref LL_ADC_CHANNEL_3 + * @arg @ref LL_ADC_CHANNEL_4 + * @arg @ref LL_ADC_CHANNEL_5 + * @arg @ref LL_ADC_CHANNEL_6 + * @arg @ref LL_ADC_CHANNEL_7 + * @arg @ref LL_ADC_CHANNEL_8 + * @arg @ref LL_ADC_CHANNEL_9 + * @arg @ref LL_ADC_CHANNEL_10 + * @arg @ref LL_ADC_CHANNEL_11 + * @arg @ref LL_ADC_CHANNEL_12 + * @arg @ref LL_ADC_CHANNEL_13 + * @arg @ref LL_ADC_CHANNEL_14 + * @arg @ref LL_ADC_CHANNEL_15 + * @arg @ref LL_ADC_CHANNEL_16 + * @arg @ref LL_ADC_CHANNEL_17 + * @arg @ref LL_ADC_CHANNEL_18 + * @arg @ref LL_ADC_CHANNEL_19 + * @retval the preselection state of Channel (!= 0 : pre-selected, == 0 : not pre-selected) + */ +static inline uint32_t LL_ADC_GetChannelPreselection(const ADC_TypeDef *ADCx, uint32_t Channel) +{ +# 3301 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_adc.h" + /* Gets preselected ADC channel */ + return (uint32_t)(((ADCx->PCSEL) & (1UL << (((((Channel) & ((0xFFFFFUL << (0U)))) == 0UL) ? ( ((Channel) & ((0x1FUL << (26U)))) >> (26UL) ) : ( (uint32_t)(__CLZ(__RBIT((Channel)))) ) ) & 0x1FUL)))); + +} + +/** + * @brief Set ADC selected offset number 1, 2, 3 or 4. + * @note This function set the 2 items of offset configuration: + * - ADC channel to which the offset programmed will be applied + * (independently of channel mapped on ADC group regular + * or group injected) + * - Offset level (offset to be subtracted from the raw + * converted data). + * @note Caution: Offset format is dependent to ADC resolution: + * offset has to be left-aligned on bit 15 (handling maximum ADC resolution 16 bit), + * the LSB (right bits) are set to 0. + * @note This function enables the offset, by default. It can be forced + * to disable state using function LL_ADC_SetOffsetState(). + * @note If a channel is mapped on several offsets numbers, only the offset + * with the lowest value is considered for the subtraction. + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * ADC must be disabled or enabled without conversion on going + * on either groups regular or injected. + * @note On STM32H7, some fast channels are available: fast analog inputs + * coming from GPIO pads (ADC_IN0..5). + * @rmtoll OFR1 OFFSET1_CH LL_ADC_SetOffset\n + * OFR1 OFFSET1 LL_ADC_SetOffset\n + * OFR1 OFFSET1_EN LL_ADC_SetOffset\n + * OFR2 OFFSET2_CH LL_ADC_SetOffset\n + * OFR2 OFFSET2 LL_ADC_SetOffset\n + * OFR2 OFFSET2_EN LL_ADC_SetOffset\n + * OFR3 OFFSET3_CH LL_ADC_SetOffset\n + * OFR3 OFFSET3 LL_ADC_SetOffset\n + * OFR3 OFFSET3_EN LL_ADC_SetOffset\n + * OFR4 OFFSET4_CH LL_ADC_SetOffset\n + * OFR4 OFFSET4 LL_ADC_SetOffset\n + * OFR4 OFFSET4_EN LL_ADC_SetOffset + * @param ADCx ADC instance + * @param Offsety This parameter can be one of the following values: + * @arg @ref LL_ADC_OFFSET_1 + * @arg @ref LL_ADC_OFFSET_2 + * @arg @ref LL_ADC_OFFSET_3 + * @arg @ref LL_ADC_OFFSET_4 + * @param Channel This parameter can be one of the following values: + * @arg @ref LL_ADC_CHANNEL_0 (3) + * @arg @ref LL_ADC_CHANNEL_1 (3) + * @arg @ref LL_ADC_CHANNEL_2 (3) + * @arg @ref LL_ADC_CHANNEL_3 (3) + * @arg @ref LL_ADC_CHANNEL_4 (3) + * @arg @ref LL_ADC_CHANNEL_5 (3) + * @arg @ref LL_ADC_CHANNEL_6 + * @arg @ref LL_ADC_CHANNEL_7 + * @arg @ref LL_ADC_CHANNEL_8 + * @arg @ref LL_ADC_CHANNEL_9 + * @arg @ref LL_ADC_CHANNEL_10 + * @arg @ref LL_ADC_CHANNEL_11 + * @arg @ref LL_ADC_CHANNEL_12 + * @arg @ref LL_ADC_CHANNEL_13 + * @arg @ref LL_ADC_CHANNEL_14 + * @arg @ref LL_ADC_CHANNEL_15 + * @arg @ref LL_ADC_CHANNEL_16 + * @arg @ref LL_ADC_CHANNEL_17 + * @arg @ref LL_ADC_CHANNEL_18 + * @arg @ref LL_ADC_CHANNEL_19 + * @arg @ref LL_ADC_CHANNEL_VREFINT (1) + * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1) + * @arg @ref LL_ADC_CHANNEL_VBAT (1) + * @arg @ref LL_ADC_CHANNEL_DAC1CH1_ADC2 (2) + * @arg @ref LL_ADC_CHANNEL_DAC1CH2_ADC2 (2) + * + * (1) On STM32H7, parameter available only on ADC instance: ADC3.\n + * (2) On STM32H7, parameter available only on ADC instance: ADC2.\n + * (3) On STM32H7, fast channel (0.125 us for 14-bit resolution (ADC conversion rate up to 8 Ms/s)). + * Other channels are slow channels (conversion rate: refer to reference manual). + * @param OffsetLevel Value between Min_Data=0x000 and Max_Data=0x3FFFFFF + * @retval None + */ +static inline void LL_ADC_SetOffset(ADC_TypeDef *ADCx, uint32_t Offsety, uint32_t Channel, uint32_t OffsetLevel) +{ + volatile uint32_t *preg = ((volatile uint32_t *)((uint32_t) ((uint32_t)(&(ADCx->OFR1)) + ((Offsety) << 2UL)))); +# 3391 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_adc.h" + { + (((*preg)) = ((((((*preg))) & (~((0x1FUL << (26U)) | (0x3FFFFFFUL << (0U))))) | ((Channel & ((0x1FUL << (26U)))) | OffsetLevel)))) + + ; + } +} + +/** + * @brief Get for the ADC selected offset number 1, 2, 3 or 4: + * Channel to which the offset programmed will be applied + * (independently of channel mapped on ADC group regular + * or group injected) + * @note Usage of the returned channel number: + * - To reinject this channel into another function LL_ADC_xxx: + * the returned channel number is only partly formatted on definition + * of literals LL_ADC_CHANNEL_x. Therefore, it has to be compared + * with parts of literals LL_ADC_CHANNEL_x or using + * helper macro @ref __LL_ADC_CHANNEL_TO_DECIMAL_NB(). + * Then the selected literal LL_ADC_CHANNEL_x can be used + * as parameter for another function. + * - To get the channel number in decimal format: + * process the returned value with the helper macro + * @ref __LL_ADC_CHANNEL_TO_DECIMAL_NB(). + * @note On STM32H7, some fast channels are available: fast analog inputs + * coming from GPIO pads (ADC_IN0..5). + * @rmtoll OFR1 OFFSET1_CH LL_ADC_GetOffsetChannel\n + * OFR2 OFFSET2_CH LL_ADC_GetOffsetChannel\n + * OFR3 OFFSET3_CH LL_ADC_GetOffsetChannel\n + * OFR4 OFFSET4_CH LL_ADC_GetOffsetChannel + * @param ADCx ADC instance + * @param Offsety This parameter can be one of the following values: + * @arg @ref LL_ADC_OFFSET_1 + * @arg @ref LL_ADC_OFFSET_2 + * @arg @ref LL_ADC_OFFSET_3 + * @arg @ref LL_ADC_OFFSET_4 + * @retval Returned value can be one of the following values: + * @arg @ref LL_ADC_CHANNEL_0 (3) + * @arg @ref LL_ADC_CHANNEL_1 (3) + * @arg @ref LL_ADC_CHANNEL_2 (3) + * @arg @ref LL_ADC_CHANNEL_3 (3) + * @arg @ref LL_ADC_CHANNEL_4 (3) + * @arg @ref LL_ADC_CHANNEL_5 (3) + * @arg @ref LL_ADC_CHANNEL_6 + * @arg @ref LL_ADC_CHANNEL_7 + * @arg @ref LL_ADC_CHANNEL_8 + * @arg @ref LL_ADC_CHANNEL_9 + * @arg @ref LL_ADC_CHANNEL_10 + * @arg @ref LL_ADC_CHANNEL_11 + * @arg @ref LL_ADC_CHANNEL_12 + * @arg @ref LL_ADC_CHANNEL_13 + * @arg @ref LL_ADC_CHANNEL_14 + * @arg @ref LL_ADC_CHANNEL_15 + * @arg @ref LL_ADC_CHANNEL_16 + * @arg @ref LL_ADC_CHANNEL_17 + * @arg @ref LL_ADC_CHANNEL_18 + * @arg @ref LL_ADC_CHANNEL_19 + * @arg @ref LL_ADC_CHANNEL_VREFINT (1) + * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1) + * @arg @ref LL_ADC_CHANNEL_VBAT (1) + * @arg @ref LL_ADC_CHANNEL_DAC1CH1_ADC2 (2) + * @arg @ref LL_ADC_CHANNEL_DAC1CH2_ADC2 (2) + * + * (1) On STM32H7, parameter available only on ADC instance: ADC3.\n + * (2) On STM32H7, parameter available only on ADC instance: ADC2.\n + * (3) On STM32H7, fast channel (0.125 us for 14-bit resolution (ADC conversion rate up to 8 Ms/s)). + * Other channels are slow channels (conversion rate: refer to reference manual).\n + * (1, 2) For ADC channel read back from ADC register, + * comparison with internal channel parameter to be done + * using helper macro @ref __LL_ADC_CHANNEL_INTERNAL_TO_EXTERNAL(). + */ +static inline uint32_t LL_ADC_GetOffsetChannel(const ADC_TypeDef *ADCx, uint32_t Offsety) +{ + const volatile uint32_t *preg = ((volatile uint32_t *)((uint32_t) ((uint32_t)(&(ADCx->OFR1)) + ((Offsety) << 2UL)))); + + return (uint32_t) ((*preg) & ((0x1FUL << (26U)))); +} + +/** + * @brief Get for the ADC selected offset number 1, 2, 3 or 4: + * Offset level (offset to be subtracted from the raw + * converted data). + * @note Caution: Offset format is dependent to ADC resolution: + * offset has to be left-aligned on bit 15 (handling maximum ADC resolution 16 bit), + * the LSB (right bits) are set to 0. + * @rmtoll OFR1 OFFSET1 LL_ADC_GetOffsetLevel\n + * OFR2 OFFSET2 LL_ADC_GetOffsetLevel\n + * OFR3 OFFSET3 LL_ADC_GetOffsetLevel\n + * OFR4 OFFSET4 LL_ADC_GetOffsetLevel + * @param ADCx ADC instance + * @param Offsety This parameter can be one of the following values: + * @arg @ref LL_ADC_OFFSET_1 + * @arg @ref LL_ADC_OFFSET_2 + * @arg @ref LL_ADC_OFFSET_3 + * @arg @ref LL_ADC_OFFSET_4 + * @retval Value between Min_Data=0x000 and Max_Data=0x3FFFFFF + */ +static inline uint32_t LL_ADC_GetOffsetLevel(const ADC_TypeDef *ADCx, uint32_t Offsety) +{ + const volatile uint32_t *preg = ((volatile uint32_t *)((uint32_t) ((uint32_t)(&(ADCx->OFR1)) + ((Offsety) << 2UL)))); + + return (uint32_t) ((*preg) & ((0x3FFFFFFUL << (0U)))); +} + + +/** + * @brief Set data right shift for the ADC selected offset number 1, 2, 3 or 4: + * signed offset saturation if enabled or disabled. + * @rmtoll CFGR2 RSHIFT LL_ADC_SetDataRightShift\n + * @param ADCx ADC instance + * @param Offsety This parameter can be one of the following values: + * @arg @ref LL_ADC_OFFSET_1 + * @arg @ref LL_ADC_OFFSET_2 + * @arg @ref LL_ADC_OFFSET_3 + * @arg @ref LL_ADC_OFFSET_4 + * @param RigthShift This parameter can be one of the following values: + * @arg @ref LL_ADC_OFFSET_RSHIFT_ENABLE + * @arg @ref LL_ADC_OFFSET_RSHIFT_DISABLE + * @retval Returned None + */ +static inline void LL_ADC_SetDataRightShift(ADC_TypeDef *ADCx, uint32_t Offsety, uint32_t RigthShift) +{ + (((ADCx->CFGR2)) = ((((((ADCx->CFGR2))) & (~(((0x1UL << (11U)) | (0x1UL << (12U)) | (0x1UL << (13U)) | (0x1UL << (14U)))))) | (RigthShift << (Offsety & 0x1FUL))))); +} + +/** + * @brief Get data right shift for the ADC selected offset number 1, 2, 3 or 4: + * signed offset saturation if enabled or disabled. + * @rmtoll CFGR2 RSHIFT LL_ADC_GetDataRightShift\n + * @param ADCx ADC instance + * @param Offsety This parameter can be one of the following values: + * @arg @ref LL_ADC_OFFSET_1 + * @arg @ref LL_ADC_OFFSET_2 + * @arg @ref LL_ADC_OFFSET_3 + * @arg @ref LL_ADC_OFFSET_4 + * @retval Returned value can be one of the following values: + * @arg @ref LL_ADC_OFFSET_RSHIFT_ENABLE + * @arg @ref LL_ADC_OFFSET_RSHIFT_DISABLE + */ +static inline uint32_t LL_ADC_GetDataRightShift(const ADC_TypeDef *ADCx, uint32_t Offsety) +{ + return (uint32_t)((((ADCx->CFGR2) & (((0x1UL << (11U)) << (Offsety & 0x1FUL))))) >> (Offsety & 0x1FUL)); +} + +/** + * @brief Set signed saturation for the ADC selected offset number 1, 2, 3 or 4: + * signed offset saturation if enabled or disabled. + * @rmtoll OFR1 SSATE LL_ADC_SetOffsetSignedSaturation\n + * OFR2 SSATE LL_ADC_SetOffsetSignedSaturation\n + * OFR3 SSATE LL_ADC_SetOffsetSignedSaturation\n + * OFR4 SSATE LL_ADC_SetOffsetSignedSaturation + * @param ADCx ADC instance + * @param Offsety This parameter can be one of the following values: + * @arg @ref LL_ADC_OFFSET_1 + * @arg @ref LL_ADC_OFFSET_2 + * @arg @ref LL_ADC_OFFSET_3 + * @arg @ref LL_ADC_OFFSET_4 + * @param OffsetSignedSaturation This parameter can be one of the following values: + * @arg @ref LL_ADC_OFFSET_SIGNED_SATURATION_ENABLE + * @arg @ref LL_ADC_OFFSET_SIGNED_SATURATION_DISABLE + * @retval Returned None + */ +static inline void LL_ADC_SetOffsetSignedSaturation(ADC_TypeDef *ADCx, uint32_t Offsety, uint32_t OffsetSignedSaturation) +{ + + + + + + + + { + volatile uint32_t *preg = ((volatile uint32_t *)((uint32_t) ((uint32_t)(&(ADCx->OFR1)) + ((Offsety) << 2UL)))); + (((*preg)) = ((((((*preg))) & (~((0x1UL << (31U))))) | (OffsetSignedSaturation)))); + } +} + +/** + * @brief Get signed saturation for the ADC selected offset number 1, 2, 3 or 4: + * signed offset saturation if enabled or disabled. + * @rmtoll OFR1 SSATE LL_ADC_GetOffsetSignedSaturation\n + * OFR2 SSATE LL_ADC_GetOffsetSignedSaturation\n + * OFR3 SSATE LL_ADC_GetOffsetSignedSaturation\n + * OFR4 SSATE LL_ADC_GetOffsetSignedSaturation + * @param ADCx ADC instance + * @param Offsety This parameter can be one of the following values: + * @arg @ref LL_ADC_OFFSET_1 + * @arg @ref LL_ADC_OFFSET_2 + * @arg @ref LL_ADC_OFFSET_3 + * @arg @ref LL_ADC_OFFSET_4 + * @retval Returned value can be one of the following values: + * @arg @ref LL_ADC_OFFSET_SIGNED_SATURATION_ENABLE + * @arg @ref LL_ADC_OFFSET_SIGNED_SATURATION_DISABLE + */ +static inline uint32_t LL_ADC_GetOffsetSignedSaturation(const ADC_TypeDef *ADCx, uint32_t Offsety) +{ +# 3594 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_adc.h" + { + const volatile uint32_t *preg = ((volatile uint32_t *)((uint32_t) ((uint32_t)(&(ADCx->OFR1)) + ((Offsety) << 2UL)))); + return (uint32_t) ((*preg) & ((0x1UL << (31U)))); + } +} +# 3805 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_adc.h" +/** + * @} + */ + +/** @defgroup ADC_LL_EF_Configuration_ADC_Group_Regular Configuration of ADC hierarchical scope: group regular + * @{ + */ + +/** + * @brief Set ADC group regular conversion trigger source: + * internal (SW start) or from external peripheral (timer event, + * external interrupt line). + * @note On this STM32 series, setting trigger source to external trigger + * also set trigger polarity to rising edge + * (default setting for compatibility with some ADC on other + * STM32 families having this setting set by HW default value). + * In case of need to modify trigger edge, use + * function @ref LL_ADC_REG_SetTriggerEdge(). + * @note Availability of parameters of trigger sources from timer + * depends on timers availability on the selected device. + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * ADC must be disabled or enabled without conversion on going + * on group regular. + * @rmtoll CFGR EXTSEL LL_ADC_REG_SetTriggerSource\n + * CFGR EXTEN LL_ADC_REG_SetTriggerSource + * @param ADCx ADC instance + * @param TriggerSource This parameter can be one of the following values: + * @arg @ref LL_ADC_REG_TRIG_SOFTWARE + * @arg @ref LL_ADC_REG_TRIG_EXT_TIM1_CH1 + * @arg @ref LL_ADC_REG_TRIG_EXT_TIM1_CH2 + * @arg @ref LL_ADC_REG_TRIG_EXT_TIM1_CH3 + * @arg @ref LL_ADC_REG_TRIG_EXT_TIM2_CH2 + * @arg @ref LL_ADC_REG_TRIG_EXT_TIM3_TRGO + * @arg @ref LL_ADC_REG_TRIG_EXT_TIM4_CH4 + * @arg @ref LL_ADC_REG_TRIG_EXT_EXTI_LINE11 + * @arg @ref LL_ADC_REG_TRIG_EXT_TIM8_TRGO + * @arg @ref LL_ADC_REG_TRIG_EXT_TIM8_TRGO2 + * @arg @ref LL_ADC_REG_TRIG_EXT_TIM1_TRGO + * @arg @ref LL_ADC_REG_TRIG_EXT_TIM1_TRGO2 + * @arg @ref LL_ADC_REG_TRIG_EXT_TIM2_TRGO + * @arg @ref LL_ADC_REG_TRIG_EXT_TIM4_TRGO + * @arg @ref LL_ADC_REG_TRIG_EXT_TIM6_TRGO + * @arg @ref LL_ADC_REG_TRIG_EXT_TIM15_TRGO + * @arg @ref LL_ADC_REG_TRIG_EXT_TIM3_CH4 + * @arg @ref LL_ADC_REG_TRIG_EXT_HRTIM_TRG1 + * @arg @ref LL_ADC_REG_TRIG_EXT_HRTIM_TRG3 + * @arg @ref LL_ADC_REG_TRIG_EXT_LPTIM1_OUT + * @arg @ref LL_ADC_REG_TRIG_EXT_LPTIM2_OUT + * @arg @ref LL_ADC_REG_TRIG_EXT_LPTIM3_OUT + * @retval None + */ +static inline void LL_ADC_REG_SetTriggerSource(ADC_TypeDef *ADCx, uint32_t TriggerSource) +{ + (((ADCx->CFGR)) = ((((((ADCx->CFGR))) & (~((0x3UL << (10U)) | (0x1FUL << (5U))))) | (TriggerSource)))); +} + +/** + * @brief Get ADC group regular conversion trigger source: + * internal (SW start) or from external peripheral (timer event, + * external interrupt line). + * @note To determine whether group regular trigger source is + * internal (SW start) or external, without detail + * of which peripheral is selected as external trigger, + * (equivalent to + * "if(LL_ADC_REG_GetTriggerSource(ADC1) == LL_ADC_REG_TRIG_SOFTWARE)") + * use function @ref LL_ADC_REG_IsTriggerSourceSWStart. + * @note Availability of parameters of trigger sources from timer + * depends on timers availability on the selected device. + * @rmtoll CFGR EXTSEL LL_ADC_REG_GetTriggerSource\n + * CFGR EXTEN LL_ADC_REG_GetTriggerSource + * @param ADCx ADC instance + * @retval Returned value can be one of the following values: + * @arg @ref LL_ADC_REG_TRIG_SOFTWARE + * @arg @ref LL_ADC_REG_TRIG_EXT_TIM1_CH1 + * @arg @ref LL_ADC_REG_TRIG_EXT_TIM1_CH2 + * @arg @ref LL_ADC_REG_TRIG_EXT_TIM1_CH3 + * @arg @ref LL_ADC_REG_TRIG_EXT_TIM2_CH2 + * @arg @ref LL_ADC_REG_TRIG_EXT_TIM3_TRGO + * @arg @ref LL_ADC_REG_TRIG_EXT_TIM4_CH4 + * @arg @ref LL_ADC_REG_TRIG_EXT_EXTI_LINE11 + * @arg @ref LL_ADC_REG_TRIG_EXT_TIM8_TRGO + * @arg @ref LL_ADC_REG_TRIG_EXT_TIM8_TRGO2 + * @arg @ref LL_ADC_REG_TRIG_EXT_TIM1_TRGO + * @arg @ref LL_ADC_REG_TRIG_EXT_TIM1_TRGO2 + * @arg @ref LL_ADC_REG_TRIG_EXT_TIM2_TRGO + * @arg @ref LL_ADC_REG_TRIG_EXT_TIM4_TRGO + * @arg @ref LL_ADC_REG_TRIG_EXT_TIM6_TRGO + * @arg @ref LL_ADC_REG_TRIG_EXT_TIM15_TRGO + * @arg @ref LL_ADC_REG_TRIG_EXT_TIM3_CH4 + * @arg @ref LL_ADC_REG_TRIG_EXT_HRTIM_TRG1 + * @arg @ref LL_ADC_REG_TRIG_EXT_HRTIM_TRG3 + * @arg @ref LL_ADC_REG_TRIG_EXT_LPTIM1_OUT + * @arg @ref LL_ADC_REG_TRIG_EXT_LPTIM2_OUT + * @arg @ref LL_ADC_REG_TRIG_EXT_LPTIM3_OUT + */ +static inline uint32_t LL_ADC_REG_GetTriggerSource(const ADC_TypeDef *ADCx) +{ + volatile uint32_t TriggerSource = ((ADCx->CFGR) & ((0x1FUL << (5U)) | (0x3UL << (10U)))); + + /* Value for shift of {0; 4; 8; 12} depending on value of bitfield */ + /* corresponding to ADC_CFGR_EXTEN {0; 1; 2; 3}. */ + uint32_t ShiftExten = ((TriggerSource & (0x3UL << (10U))) >> ((10UL) - 2UL)); + + /* Set bitfield corresponding to ADC_CFGR_EXTEN and ADC_CFGR_EXTSEL */ + /* to match with triggers literals definition. */ + return ((TriggerSource + & (((((0x00000000UL) & (0x1FUL << (5U))) << (4U * 0UL)) | (((0x1FUL << (5U))) << (4U * 1UL)) | (((0x1FUL << (5U))) << (4U * 2UL)) | (((0x1FUL << (5U))) << (4U * 3UL)) ) >> ShiftExten) & (0x1FUL << (5U))) + | ((((((0x00000000UL) & (0x3UL << (10U))) << (4U * 0UL)) | ((((0x1UL << (10U)))) << (4U * 1UL)) | ((((0x1UL << (10U)))) << (4U * 2UL)) | ((((0x1UL << (10U)))) << (4U * 3UL)) ) >> ShiftExten) & (0x3UL << (10U))) + ); +} + +/** + * @brief Get ADC group regular conversion trigger source internal (SW start) + * or external. + * @note In case of group regular trigger source set to external trigger, + * to determine which peripheral is selected as external trigger, + * use function @ref LL_ADC_REG_GetTriggerSource(). + * @rmtoll CFGR EXTEN LL_ADC_REG_IsTriggerSourceSWStart + * @param ADCx ADC instance + * @retval Value "0" if trigger source external trigger + * Value "1" if trigger source SW start. + */ +static inline uint32_t LL_ADC_REG_IsTriggerSourceSWStart(const ADC_TypeDef *ADCx) +{ + return ((((ADCx->CFGR) & ((0x3UL << (10U)))) == ((0x00000000UL) & (0x3UL << (10U)))) ? 1UL : 0UL); +} + +/** + * @brief Set ADC group regular conversion trigger polarity. + * @note Applicable only for trigger source set to external trigger. + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * ADC must be disabled or enabled without conversion on going + * on group regular. + * @rmtoll CFGR EXTEN LL_ADC_REG_SetTriggerEdge + * @param ADCx ADC instance + * @param ExternalTriggerEdge This parameter can be one of the following values: + * @arg @ref LL_ADC_REG_TRIG_EXT_RISING + * @arg @ref LL_ADC_REG_TRIG_EXT_FALLING + * @arg @ref LL_ADC_REG_TRIG_EXT_RISINGFALLING + * @retval None + */ +static inline void LL_ADC_REG_SetTriggerEdge(ADC_TypeDef *ADCx, uint32_t ExternalTriggerEdge) +{ + (((ADCx->CFGR)) = ((((((ADCx->CFGR))) & (~((0x3UL << (10U))))) | (ExternalTriggerEdge)))); +} + +/** + * @brief Get ADC group regular conversion trigger polarity. + * @note Applicable only for trigger source set to external trigger. + * @rmtoll CFGR EXTEN LL_ADC_REG_GetTriggerEdge + * @param ADCx ADC instance + * @retval Returned value can be one of the following values: + * @arg @ref LL_ADC_REG_TRIG_EXT_RISING + * @arg @ref LL_ADC_REG_TRIG_EXT_FALLING + * @arg @ref LL_ADC_REG_TRIG_EXT_RISINGFALLING + */ +static inline uint32_t LL_ADC_REG_GetTriggerEdge(const ADC_TypeDef *ADCx) +{ + return (uint32_t)(((ADCx->CFGR) & ((0x3UL << (10U))))); +} +# 4000 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_adc.h" +/** + * @brief Set ADC group regular sequencer length and scan direction. + * @note Description of ADC group regular sequencer features: + * - For devices with sequencer fully configurable + * (function "LL_ADC_REG_SetSequencerRanks()" available): + * sequencer length and each rank affectation to a channel + * are configurable. + * This function performs configuration of: + * - Sequence length: Number of ranks in the scan sequence. + * - Sequence direction: Unless specified in parameters, sequencer + * scan direction is forward (from rank 1 to rank n). + * Sequencer ranks are selected using + * function "LL_ADC_REG_SetSequencerRanks()". + * - For devices with sequencer not fully configurable + * (function "LL_ADC_REG_SetSequencerChannels()" available): + * sequencer length and each rank affectation to a channel + * are defined by channel number. + * This function performs configuration of: + * - Sequence length: Number of ranks in the scan sequence is + * defined by number of channels set in the sequence, + * rank of each channel is fixed by channel HW number. + * (channel 0 fixed on rank 0, channel 1 fixed on rank1, ...). + * - Sequence direction: Unless specified in parameters, sequencer + * scan direction is forward (from lowest channel number to + * highest channel number). + * Sequencer ranks are selected using + * function "LL_ADC_REG_SetSequencerChannels()". + * @note Sequencer disabled is equivalent to sequencer of 1 rank: + * ADC conversion on only 1 channel. + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * ADC must be disabled or enabled without conversion on going + * on group regular. + * @rmtoll SQR1 L LL_ADC_REG_SetSequencerLength + * @param ADCx ADC instance + * @param SequencerNbRanks This parameter can be one of the following values: + * @arg @ref LL_ADC_REG_SEQ_SCAN_DISABLE + * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_2RANKS + * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_3RANKS + * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_4RANKS + * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_5RANKS + * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_6RANKS + * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_7RANKS + * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_8RANKS + * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_9RANKS + * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_10RANKS + * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_11RANKS + * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_12RANKS + * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_13RANKS + * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_14RANKS + * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_15RANKS + * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_16RANKS + * @retval None + */ +static inline void LL_ADC_REG_SetSequencerLength(ADC_TypeDef *ADCx, uint32_t SequencerNbRanks) +{ + (((ADCx->SQR1)) = ((((((ADCx->SQR1))) & (~((0xFUL << (0U))))) | (SequencerNbRanks)))); +} + +/** + * @brief Get ADC group regular sequencer length and scan direction. + * @note Description of ADC group regular sequencer features: + * - For devices with sequencer fully configurable + * (function "LL_ADC_REG_SetSequencerRanks()" available): + * sequencer length and each rank affectation to a channel + * are configurable. + * This function retrieves: + * - Sequence length: Number of ranks in the scan sequence. + * - Sequence direction: Unless specified in parameters, sequencer + * scan direction is forward (from rank 1 to rank n). + * Sequencer ranks are selected using + * function "LL_ADC_REG_SetSequencerRanks()". + * - For devices with sequencer not fully configurable + * (function "LL_ADC_REG_SetSequencerChannels()" available): + * sequencer length and each rank affectation to a channel + * are defined by channel number. + * This function retrieves: + * - Sequence length: Number of ranks in the scan sequence is + * defined by number of channels set in the sequence, + * rank of each channel is fixed by channel HW number. + * (channel 0 fixed on rank 0, channel 1 fixed on rank1, ...). + * - Sequence direction: Unless specified in parameters, sequencer + * scan direction is forward (from lowest channel number to + * highest channel number). + * Sequencer ranks are selected using + * function "LL_ADC_REG_SetSequencerChannels()". + * @note Sequencer disabled is equivalent to sequencer of 1 rank: + * ADC conversion on only 1 channel. + * @rmtoll SQR1 L LL_ADC_REG_GetSequencerLength + * @param ADCx ADC instance + * @retval Returned value can be one of the following values: + * @arg @ref LL_ADC_REG_SEQ_SCAN_DISABLE + * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_2RANKS + * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_3RANKS + * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_4RANKS + * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_5RANKS + * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_6RANKS + * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_7RANKS + * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_8RANKS + * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_9RANKS + * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_10RANKS + * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_11RANKS + * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_12RANKS + * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_13RANKS + * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_14RANKS + * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_15RANKS + * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_16RANKS + */ +static inline uint32_t LL_ADC_REG_GetSequencerLength(const ADC_TypeDef *ADCx) +{ + return (uint32_t)(((ADCx->SQR1) & ((0xFUL << (0U))))); +} + +/** + * @brief Set ADC group regular sequencer discontinuous mode: + * sequence subdivided and scan conversions interrupted every selected + * number of ranks. + * @note It is not possible to enable both ADC group regular + * continuous mode and sequencer discontinuous mode. + * @note It is not possible to enable both ADC auto-injected mode + * and ADC group regular sequencer discontinuous mode. + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * ADC must be disabled or enabled without conversion on going + * on group regular. + * @rmtoll CFGR DISCEN LL_ADC_REG_SetSequencerDiscont\n + * CFGR DISCNUM LL_ADC_REG_SetSequencerDiscont + * @param ADCx ADC instance + * @param SeqDiscont This parameter can be one of the following values: + * @arg @ref LL_ADC_REG_SEQ_DISCONT_DISABLE + * @arg @ref LL_ADC_REG_SEQ_DISCONT_1RANK + * @arg @ref LL_ADC_REG_SEQ_DISCONT_2RANKS + * @arg @ref LL_ADC_REG_SEQ_DISCONT_3RANKS + * @arg @ref LL_ADC_REG_SEQ_DISCONT_4RANKS + * @arg @ref LL_ADC_REG_SEQ_DISCONT_5RANKS + * @arg @ref LL_ADC_REG_SEQ_DISCONT_6RANKS + * @arg @ref LL_ADC_REG_SEQ_DISCONT_7RANKS + * @arg @ref LL_ADC_REG_SEQ_DISCONT_8RANKS + * @retval None + */ +static inline void LL_ADC_REG_SetSequencerDiscont(ADC_TypeDef *ADCx, uint32_t SeqDiscont) +{ + (((ADCx->CFGR)) = ((((((ADCx->CFGR))) & (~((0x1UL << (16U)) | (0x7UL << (17U))))) | (SeqDiscont)))); +} + +/** + * @brief Get ADC group regular sequencer discontinuous mode: + * sequence subdivided and scan conversions interrupted every selected + * number of ranks. + * @rmtoll CFGR DISCEN LL_ADC_REG_GetSequencerDiscont\n + * CFGR DISCNUM LL_ADC_REG_GetSequencerDiscont + * @param ADCx ADC instance + * @retval Returned value can be one of the following values: + * @arg @ref LL_ADC_REG_SEQ_DISCONT_DISABLE + * @arg @ref LL_ADC_REG_SEQ_DISCONT_1RANK + * @arg @ref LL_ADC_REG_SEQ_DISCONT_2RANKS + * @arg @ref LL_ADC_REG_SEQ_DISCONT_3RANKS + * @arg @ref LL_ADC_REG_SEQ_DISCONT_4RANKS + * @arg @ref LL_ADC_REG_SEQ_DISCONT_5RANKS + * @arg @ref LL_ADC_REG_SEQ_DISCONT_6RANKS + * @arg @ref LL_ADC_REG_SEQ_DISCONT_7RANKS + * @arg @ref LL_ADC_REG_SEQ_DISCONT_8RANKS + */ +static inline uint32_t LL_ADC_REG_GetSequencerDiscont(const ADC_TypeDef *ADCx) +{ + return (uint32_t)(((ADCx->CFGR) & ((0x1UL << (16U)) | (0x7UL << (17U))))); +} + +/** + * @brief Set ADC group regular sequence: channel on the selected + * scan sequence rank. + * @note This function performs configuration of: + * - Channels ordering into each rank of scan sequence: + * whatever channel can be placed into whatever rank. + * @note On this STM32 series, ADC group regular sequencer is + * fully configurable: sequencer length and each rank + * affectation to a channel are configurable. + * Refer to description of function @ref LL_ADC_REG_SetSequencerLength(). + * @note Depending on devices and packages, some channels may not be available. + * Refer to device datasheet for channels availability. + * @note On this STM32 series, to measure internal channels (VrefInt, + * TempSensor, ...), measurement paths to internal channels must be + * enabled separately. + * This can be done using function @ref LL_ADC_SetCommonPathInternalCh(). + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * ADC must be disabled or enabled without conversion on going + * on group regular. + * @rmtoll SQR1 SQ1 LL_ADC_REG_SetSequencerRanks\n + * SQR1 SQ2 LL_ADC_REG_SetSequencerRanks\n + * SQR1 SQ3 LL_ADC_REG_SetSequencerRanks\n + * SQR1 SQ4 LL_ADC_REG_SetSequencerRanks\n + * SQR2 SQ5 LL_ADC_REG_SetSequencerRanks\n + * SQR2 SQ6 LL_ADC_REG_SetSequencerRanks\n + * SQR2 SQ7 LL_ADC_REG_SetSequencerRanks\n + * SQR2 SQ8 LL_ADC_REG_SetSequencerRanks\n + * SQR2 SQ9 LL_ADC_REG_SetSequencerRanks\n + * SQR3 SQ10 LL_ADC_REG_SetSequencerRanks\n + * SQR3 SQ11 LL_ADC_REG_SetSequencerRanks\n + * SQR3 SQ12 LL_ADC_REG_SetSequencerRanks\n + * SQR3 SQ13 LL_ADC_REG_SetSequencerRanks\n + * SQR3 SQ14 LL_ADC_REG_SetSequencerRanks\n + * SQR4 SQ15 LL_ADC_REG_SetSequencerRanks\n + * SQR4 SQ16 LL_ADC_REG_SetSequencerRanks + * @param ADCx ADC instance + * @param Rank This parameter can be one of the following values: + * @arg @ref LL_ADC_REG_RANK_1 + * @arg @ref LL_ADC_REG_RANK_2 + * @arg @ref LL_ADC_REG_RANK_3 + * @arg @ref LL_ADC_REG_RANK_4 + * @arg @ref LL_ADC_REG_RANK_5 + * @arg @ref LL_ADC_REG_RANK_6 + * @arg @ref LL_ADC_REG_RANK_7 + * @arg @ref LL_ADC_REG_RANK_8 + * @arg @ref LL_ADC_REG_RANK_9 + * @arg @ref LL_ADC_REG_RANK_10 + * @arg @ref LL_ADC_REG_RANK_11 + * @arg @ref LL_ADC_REG_RANK_12 + * @arg @ref LL_ADC_REG_RANK_13 + * @arg @ref LL_ADC_REG_RANK_14 + * @arg @ref LL_ADC_REG_RANK_15 + * @arg @ref LL_ADC_REG_RANK_16 + * @param Channel This parameter can be one of the following values: + * @arg @ref LL_ADC_CHANNEL_0 (3) + * @arg @ref LL_ADC_CHANNEL_1 (3) + * @arg @ref LL_ADC_CHANNEL_2 (3) + * @arg @ref LL_ADC_CHANNEL_3 (3) + * @arg @ref LL_ADC_CHANNEL_4 (3) + * @arg @ref LL_ADC_CHANNEL_5 (3) + * @arg @ref LL_ADC_CHANNEL_6 + * @arg @ref LL_ADC_CHANNEL_7 + * @arg @ref LL_ADC_CHANNEL_8 + * @arg @ref LL_ADC_CHANNEL_9 + * @arg @ref LL_ADC_CHANNEL_10 + * @arg @ref LL_ADC_CHANNEL_11 + * @arg @ref LL_ADC_CHANNEL_12 + * @arg @ref LL_ADC_CHANNEL_13 + * @arg @ref LL_ADC_CHANNEL_14 + * @arg @ref LL_ADC_CHANNEL_15 + * @arg @ref LL_ADC_CHANNEL_16 + * @arg @ref LL_ADC_CHANNEL_17 + * @arg @ref LL_ADC_CHANNEL_18 + * @arg @ref LL_ADC_CHANNEL_19 + * @arg @ref LL_ADC_CHANNEL_VREFINT (1) + * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1) + * @arg @ref LL_ADC_CHANNEL_VBAT (1) + * @arg @ref LL_ADC_CHANNEL_DAC1CH1_ADC2 (2) + * @arg @ref LL_ADC_CHANNEL_DAC1CH2_ADC2 (2) + * + * (1) On STM32H7, parameter available only on ADC instance: ADC3.\n + * (2) On STM32H7, parameter available only on ADC instance: ADC2.\n + * (3) On STM32H7, fast channel (0.125 us for 14-bit resolution (ADC conversion rate up to 8 Ms/s)). + * Other channels are slow channels (conversion rate: refer to reference manual). + * @retval None + */ +static inline void LL_ADC_REG_SetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank, uint32_t Channel) +{ + /* Set bits with content of parameter "Channel" with bits position */ + /* in register and register position depending on parameter "Rank". */ + /* Parameters "Rank" and "Channel" are used with masks because containing */ + /* other bits reserved for other purpose. */ + volatile uint32_t *preg = ((volatile uint32_t *)((uint32_t) ((uint32_t)(&(ADCx->SQR1)) + ((((Rank & ((0x00000000UL) | (0x00000100UL) | (0x00000200UL) | (0x00000300UL))) >> (8UL))) << 2UL)))); + + (((*preg)) = ((((((*preg))) & (~(((0x1FUL << (0U))) << (Rank & (((0x1FUL << (0U)))))))) | (((Channel & ((0x1FUL << (26U)))) >> (26UL)) << (Rank & (((0x1FUL << (0U))))))))) + + ; +} + +/** + * @brief Get ADC group regular sequence: channel on the selected + * scan sequence rank. + * @note On this STM32 series, ADC group regular sequencer is + * fully configurable: sequencer length and each rank + * affectation to a channel are configurable. + * Refer to description of function @ref LL_ADC_REG_SetSequencerLength(). + * @note Depending on devices and packages, some channels may not be available. + * Refer to device datasheet for channels availability. + * @note Usage of the returned channel number: + * - To reinject this channel into another function LL_ADC_xxx: + * the returned channel number is only partly formatted on definition + * of literals LL_ADC_CHANNEL_x. Therefore, it has to be compared + * with parts of literals LL_ADC_CHANNEL_x or using + * helper macro @ref __LL_ADC_CHANNEL_TO_DECIMAL_NB(). + * Then the selected literal LL_ADC_CHANNEL_x can be used + * as parameter for another function. + * - To get the channel number in decimal format: + * process the returned value with the helper macro + * @ref __LL_ADC_CHANNEL_TO_DECIMAL_NB(). + * @rmtoll SQR1 SQ1 LL_ADC_REG_GetSequencerRanks\n + * SQR1 SQ2 LL_ADC_REG_GetSequencerRanks\n + * SQR1 SQ3 LL_ADC_REG_GetSequencerRanks\n + * SQR1 SQ4 LL_ADC_REG_GetSequencerRanks\n + * SQR2 SQ5 LL_ADC_REG_GetSequencerRanks\n + * SQR2 SQ6 LL_ADC_REG_GetSequencerRanks\n + * SQR2 SQ7 LL_ADC_REG_GetSequencerRanks\n + * SQR2 SQ8 LL_ADC_REG_GetSequencerRanks\n + * SQR2 SQ9 LL_ADC_REG_GetSequencerRanks\n + * SQR3 SQ10 LL_ADC_REG_GetSequencerRanks\n + * SQR3 SQ11 LL_ADC_REG_GetSequencerRanks\n + * SQR3 SQ12 LL_ADC_REG_GetSequencerRanks\n + * SQR3 SQ13 LL_ADC_REG_GetSequencerRanks\n + * SQR3 SQ14 LL_ADC_REG_GetSequencerRanks\n + * SQR4 SQ15 LL_ADC_REG_GetSequencerRanks\n + * SQR4 SQ16 LL_ADC_REG_GetSequencerRanks + * @param ADCx ADC instance + * @param Rank This parameter can be one of the following values: + * @arg @ref LL_ADC_REG_RANK_1 + * @arg @ref LL_ADC_REG_RANK_2 + * @arg @ref LL_ADC_REG_RANK_3 + * @arg @ref LL_ADC_REG_RANK_4 + * @arg @ref LL_ADC_REG_RANK_5 + * @arg @ref LL_ADC_REG_RANK_6 + * @arg @ref LL_ADC_REG_RANK_7 + * @arg @ref LL_ADC_REG_RANK_8 + * @arg @ref LL_ADC_REG_RANK_9 + * @arg @ref LL_ADC_REG_RANK_10 + * @arg @ref LL_ADC_REG_RANK_11 + * @arg @ref LL_ADC_REG_RANK_12 + * @arg @ref LL_ADC_REG_RANK_13 + * @arg @ref LL_ADC_REG_RANK_14 + * @arg @ref LL_ADC_REG_RANK_15 + * @arg @ref LL_ADC_REG_RANK_16 + * @retval Returned value can be one of the following values: + * @arg @ref LL_ADC_CHANNEL_0 (3) + * @arg @ref LL_ADC_CHANNEL_1 (3) + * @arg @ref LL_ADC_CHANNEL_2 (3) + * @arg @ref LL_ADC_CHANNEL_3 (3) + * @arg @ref LL_ADC_CHANNEL_4 (3) + * @arg @ref LL_ADC_CHANNEL_5 (3) + * @arg @ref LL_ADC_CHANNEL_6 + * @arg @ref LL_ADC_CHANNEL_7 + * @arg @ref LL_ADC_CHANNEL_8 + * @arg @ref LL_ADC_CHANNEL_9 + * @arg @ref LL_ADC_CHANNEL_10 + * @arg @ref LL_ADC_CHANNEL_11 + * @arg @ref LL_ADC_CHANNEL_12 + * @arg @ref LL_ADC_CHANNEL_13 + * @arg @ref LL_ADC_CHANNEL_14 + * @arg @ref LL_ADC_CHANNEL_15 + * @arg @ref LL_ADC_CHANNEL_16 + * @arg @ref LL_ADC_CHANNEL_17 + * @arg @ref LL_ADC_CHANNEL_18 + * @arg @ref LL_ADC_CHANNEL_19 + * @arg @ref LL_ADC_CHANNEL_VREFINT (1) + * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1) + * @arg @ref LL_ADC_CHANNEL_VBAT (1) + * @arg @ref LL_ADC_CHANNEL_DAC1CH1_ADC2 (2) + * @arg @ref LL_ADC_CHANNEL_DAC1CH2_ADC2 (2) + * + * (1) On STM32H7, parameter available only on ADC instance: ADC3.\n + * (2) On STM32H7, parameter available only on ADC instance: ADC2.\n + * (3) On STM32H7, fast channel (0.125 us for 14-bit resolution (ADC conversion rate up to 8 Ms/s)). + * Other channels are slow channels (conversion rate: refer to reference manual).\n + * (1, 2) For ADC channel read back from ADC register, + * comparison with internal channel parameter to be done + * using helper macro @ref __LL_ADC_CHANNEL_INTERNAL_TO_EXTERNAL(). + */ +static inline uint32_t LL_ADC_REG_GetSequencerRanks(const ADC_TypeDef *ADCx, uint32_t Rank) +{ + const volatile uint32_t *preg = ((volatile uint32_t *)((uint32_t) ((uint32_t)(&(ADCx->SQR1)) + ((((Rank & ((0x00000000UL) | (0x00000100UL) | (0x00000200UL) | (0x00000300UL))) >> (8UL))) << 2UL)))); + + return (uint32_t)((((*preg) & (((0x1FUL << (0U))) << (Rank & (((0x1FUL << (0U))))))) + + >> (Rank & (((0x1FUL << (0U)))))) << (26UL) + ); +} + +/** + * @brief Set ADC continuous conversion mode on ADC group regular. + * @note Description of ADC continuous conversion mode: + * - single mode: one conversion per trigger + * - continuous mode: after the first trigger, following + * conversions launched successively automatically. + * @note It is not possible to enable both ADC group regular + * continuous mode and sequencer discontinuous mode. + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * ADC must be disabled or enabled without conversion on going + * on group regular. + * @rmtoll CFGR CONT LL_ADC_REG_SetContinuousMode + * @param ADCx ADC instance + * @param Continuous This parameter can be one of the following values: + * @arg @ref LL_ADC_REG_CONV_SINGLE + * @arg @ref LL_ADC_REG_CONV_CONTINUOUS + * @retval None + */ +static inline void LL_ADC_REG_SetContinuousMode(ADC_TypeDef *ADCx, uint32_t Continuous) +{ + (((ADCx->CFGR)) = ((((((ADCx->CFGR))) & (~((0x1UL << (13U))))) | (Continuous)))); +} + +/** + * @brief Get ADC continuous conversion mode on ADC group regular. + * @note Description of ADC continuous conversion mode: + * - single mode: one conversion per trigger + * - continuous mode: after the first trigger, following + * conversions launched successively automatically. + * @rmtoll CFGR CONT LL_ADC_REG_GetContinuousMode + * @param ADCx ADC instance + * @retval Returned value can be one of the following values: + * @arg @ref LL_ADC_REG_CONV_SINGLE + * @arg @ref LL_ADC_REG_CONV_CONTINUOUS + */ +static inline uint32_t LL_ADC_REG_GetContinuousMode(const ADC_TypeDef *ADCx) +{ + return (uint32_t)(((ADCx->CFGR) & ((0x1UL << (13U))))); +} +/** + * @brief Set ADC data transfer mode + * @note Conversion data can be either: + * - Available in Data Register + * - Transferred by DMA in one shot mode + * - Transferred by DMA in circular mode + * - Transferred to DFSDM data register + * @rmtoll CFGR DMNGT LL_ADC_REG_SetDataTransferMode + * @param ADCx ADC instance + * @param DataTransferMode Select Data Management configuration + * @retval None + */ +static inline void LL_ADC_REG_SetDataTransferMode(ADC_TypeDef *ADCx, uint32_t DataTransferMode) +{ + (((ADCx->CFGR)) = ((((((ADCx->CFGR))) & (~((0x3UL << (0U))))) | (DataTransferMode)))); +} +# 4532 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_adc.h" +/** + * @brief Get ADC data transfer mode + * @note Conversion data can be either: + * - Available in Data Register + * - Transferred by DMA in one shot mode + * - Transferred by DMA in circular mode + * - Transferred to DFSDM data register + * @rmtoll CFGR DMNGT LL_ADC_REG_GetDataTransferMode + * @param ADCx ADC instance + * @retval Returned value can be one of the following values: + * @arg @ref LL_ADC_REG_DR_TRANSFER + * @arg @ref LL_ADC_REG_DMA_TRANSFER_LIMITED + * @arg @ref LL_ADC_REG_DMA_TRANSFER_UNLIMITED + * @arg @ref LL_ADC_REG_DFSDM_TRANSFER + */ +static inline uint32_t LL_ADC_REG_GetDataTransferMode(const ADC_TypeDef *ADCx) +{ + return (uint32_t)(((ADCx->CFGR) & ((0x3UL << (0U))))); +} + + +/** + * @brief Set ADC group regular behavior in case of overrun: + * data preserved or overwritten. + * @note Compatibility with devices without feature overrun: + * other devices without this feature have a behavior + * equivalent to data overwritten. + * The default setting of overrun is data preserved. + * Therefore, for compatibility with all devices, parameter + * overrun should be set to data overwritten. + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * ADC must be disabled or enabled without conversion on going + * on group regular. + * @rmtoll CFGR OVRMOD LL_ADC_REG_SetOverrun + * @param ADCx ADC instance + * @param Overrun This parameter can be one of the following values: + * @arg @ref LL_ADC_REG_OVR_DATA_PRESERVED + * @arg @ref LL_ADC_REG_OVR_DATA_OVERWRITTEN + * @retval None + */ +static inline void LL_ADC_REG_SetOverrun(ADC_TypeDef *ADCx, uint32_t Overrun) +{ + (((ADCx->CFGR)) = ((((((ADCx->CFGR))) & (~((0x1UL << (12U))))) | (Overrun)))); +} + +/** + * @brief Get ADC group regular behavior in case of overrun: + * data preserved or overwritten. + * @rmtoll CFGR OVRMOD LL_ADC_REG_GetOverrun + * @param ADCx ADC instance + * @retval Returned value can be one of the following values: + * @arg @ref LL_ADC_REG_OVR_DATA_PRESERVED + * @arg @ref LL_ADC_REG_OVR_DATA_OVERWRITTEN + */ +static inline uint32_t LL_ADC_REG_GetOverrun(const ADC_TypeDef *ADCx) +{ + return (uint32_t)(((ADCx->CFGR) & ((0x1UL << (12U))))); +} + +/** + * @} + */ + +/** @defgroup ADC_LL_EF_Configuration_ADC_Group_Injected Configuration of ADC hierarchical scope: group injected + * @{ + */ + +/** + * @brief Set ADC group injected conversion trigger source: + * internal (SW start) or from external peripheral (timer event, + * external interrupt line). + * @note On this STM32 series, setting trigger source to external trigger + * also set trigger polarity to rising edge + * (default setting for compatibility with some ADC on other + * STM32 families having this setting set by HW default value). + * In case of need to modify trigger edge, use + * function @ref LL_ADC_INJ_SetTriggerEdge(). + * @note Availability of parameters of trigger sources from timer + * depends on timers availability on the selected device. + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * ADC must not be disabled. Can be enabled with or without conversion + * on going on either groups regular or injected. + * @rmtoll JSQR JEXTSEL LL_ADC_INJ_SetTriggerSource\n + * JSQR JEXTEN LL_ADC_INJ_SetTriggerSource + * @param ADCx ADC instance + * @param TriggerSource This parameter can be one of the following values: + * @arg @ref LL_ADC_INJ_TRIG_SOFTWARE + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM1_TRGO + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM1_CH4 + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM2_TRGO + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM2_CH1 + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM3_CH4 + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM4_TRGO + * @arg @ref LL_ADC_INJ_TRIG_EXT_EXTI_LINE15 + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM8_CH4 + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM1_TRGO2 + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM8_TRGO + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM8_TRGO2 + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM3_CH3 + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM3_TRGO + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM3_CH1 + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM6_TRGO + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM15_TRGO + * @arg @ref LL_ADC_INJ_TRIG_EXT_HRTIM_TRG2 + * @arg @ref LL_ADC_INJ_TRIG_EXT_HRTIM_TRG4 + * @arg @ref LL_ADC_INJ_TRIG_EXT_LPTIM1_OUT + * @arg @ref LL_ADC_INJ_TRIG_EXT_LPTIM2_OUT + * @arg @ref LL_ADC_INJ_TRIG_EXT_LPTIM3_OUT + * @retval None + */ +static inline void LL_ADC_INJ_SetTriggerSource(ADC_TypeDef *ADCx, uint32_t TriggerSource) +{ + (((ADCx->JSQR)) = ((((((ADCx->JSQR))) & (~((0x1FUL << (2U)) | (0x3UL << (7U))))) | (TriggerSource)))); +} + +/** + * @brief Get ADC group injected conversion trigger source: + * internal (SW start) or from external peripheral (timer event, + * external interrupt line). + * @note To determine whether group injected trigger source is + * internal (SW start) or external, without detail + * of which peripheral is selected as external trigger, + * (equivalent to + * "if(LL_ADC_INJ_GetTriggerSource(ADC1) == LL_ADC_INJ_TRIG_SOFTWARE)") + * use function @ref LL_ADC_INJ_IsTriggerSourceSWStart. + * @note Availability of parameters of trigger sources from timer + * depends on timers availability on the selected device. + * @rmtoll JSQR JEXTSEL LL_ADC_INJ_GetTriggerSource\n + * JSQR JEXTEN LL_ADC_INJ_GetTriggerSource + * @param ADCx ADC instance + * @retval Returned value can be one of the following values: + * @arg @ref LL_ADC_INJ_TRIG_SOFTWARE + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM1_TRGO + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM1_CH4 + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM2_TRGO + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM2_CH1 + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM3_CH4 + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM4_TRGO + * @arg @ref LL_ADC_INJ_TRIG_EXT_EXTI_LINE15 + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM8_CH4 + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM1_TRGO2 + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM8_TRGO + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM8_TRGO2 + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM3_CH3 + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM3_TRGO + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM3_CH1 + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM6_TRGO + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM15_TRGO + * @arg @ref LL_ADC_INJ_TRIG_EXT_HRTIM_TRG2 + * @arg @ref LL_ADC_INJ_TRIG_EXT_HRTIM_TRG4 + * @arg @ref LL_ADC_INJ_TRIG_EXT_LPTIM1_OUT + * @arg @ref LL_ADC_INJ_TRIG_EXT_LPTIM2_OUT + * @arg @ref LL_ADC_INJ_TRIG_EXT_LPTIM3_OUT + */ +static inline uint32_t LL_ADC_INJ_GetTriggerSource(const ADC_TypeDef *ADCx) +{ + volatile uint32_t TriggerSource = ((ADCx->JSQR) & ((0x1FUL << (2U)) | (0x3UL << (7U)))); + + /* Value for shift of {0; 4; 8; 12} depending on value of bitfield */ + /* corresponding to ADC_JSQR_JEXTEN {0; 1; 2; 3}. */ + uint32_t ShiftJexten = ((TriggerSource & (0x3UL << (7U))) >> (( 6UL) - 2UL)); + + /* Set bitfield corresponding to ADC_JSQR_JEXTEN and ADC_JSQR_JEXTSEL */ + /* to match with triggers literals definition. */ + return ((TriggerSource + & (((((0x00000000UL) & (0x1FUL << (2U))) << (4U * 0UL)) | (((0x1FUL << (2U))) << (4U * 1UL)) | (((0x1FUL << (2U))) << (4U * 2UL)) | (((0x1FUL << (2U))) << (4U * 3UL)) ) >> ShiftJexten) & (0x1FUL << (2U))) + | ((((((0x00000000UL) & (0x3UL << (7U))) << (4U * 0UL)) | ((((0x1UL << (7U)))) << (4U * 1UL)) | ((((0x1UL << (7U)))) << (4U * 2UL)) | ((((0x1UL << (7U)))) << (4U * 3UL)) ) >> ShiftJexten) & (0x3UL << (7U))) + ); +} + +/** + * @brief Get ADC group injected conversion trigger source internal (SW start) + or external + * @note In case of group injected trigger source set to external trigger, + * to determine which peripheral is selected as external trigger, + * use function @ref LL_ADC_INJ_GetTriggerSource. + * @rmtoll JSQR JEXTEN LL_ADC_INJ_IsTriggerSourceSWStart + * @param ADCx ADC instance + * @retval Value "0" if trigger source external trigger + * Value "1" if trigger source SW start. + */ +static inline uint32_t LL_ADC_INJ_IsTriggerSourceSWStart(const ADC_TypeDef *ADCx) +{ + return ((((ADCx->JSQR) & ((0x3UL << (7U)))) == ((0x00000000UL) & (0x3UL << (7U)))) ? 1UL : 0UL); +} + +/** + * @brief Set ADC group injected conversion trigger polarity. + * Applicable only for trigger source set to external trigger. + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * ADC must not be disabled. Can be enabled with or without conversion + * on going on either groups regular or injected. + * @rmtoll JSQR JEXTEN LL_ADC_INJ_SetTriggerEdge + * @param ADCx ADC instance + * @param ExternalTriggerEdge This parameter can be one of the following values: + * @arg @ref LL_ADC_INJ_TRIG_EXT_RISING + * @arg @ref LL_ADC_INJ_TRIG_EXT_FALLING + * @arg @ref LL_ADC_INJ_TRIG_EXT_RISINGFALLING + * @retval None + */ +static inline void LL_ADC_INJ_SetTriggerEdge(ADC_TypeDef *ADCx, uint32_t ExternalTriggerEdge) +{ + (((ADCx->JSQR)) = ((((((ADCx->JSQR))) & (~((0x3UL << (7U))))) | (ExternalTriggerEdge)))); +} + +/** + * @brief Get ADC group injected conversion trigger polarity. + * Applicable only for trigger source set to external trigger. + * @rmtoll JSQR JEXTEN LL_ADC_INJ_GetTriggerEdge + * @param ADCx ADC instance + * @retval Returned value can be one of the following values: + * @arg @ref LL_ADC_INJ_TRIG_EXT_RISING + * @arg @ref LL_ADC_INJ_TRIG_EXT_FALLING + * @arg @ref LL_ADC_INJ_TRIG_EXT_RISINGFALLING + */ +static inline uint32_t LL_ADC_INJ_GetTriggerEdge(const ADC_TypeDef *ADCx) +{ + return (uint32_t)(((ADCx->JSQR) & ((0x3UL << (7U))))); +} + +/** + * @brief Set ADC group injected sequencer length and scan direction. + * @note This function performs configuration of: + * - Sequence length: Number of ranks in the scan sequence. + * - Sequence direction: Unless specified in parameters, sequencer + * scan direction is forward (from rank 1 to rank n). + * @note Sequencer disabled is equivalent to sequencer of 1 rank: + * ADC conversion on only 1 channel. + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * ADC must not be disabled. Can be enabled with or without conversion + * on going on either groups regular or injected. + * @rmtoll JSQR JL LL_ADC_INJ_SetSequencerLength + * @param ADCx ADC instance + * @param SequencerNbRanks This parameter can be one of the following values: + * @arg @ref LL_ADC_INJ_SEQ_SCAN_DISABLE + * @arg @ref LL_ADC_INJ_SEQ_SCAN_ENABLE_2RANKS + * @arg @ref LL_ADC_INJ_SEQ_SCAN_ENABLE_3RANKS + * @arg @ref LL_ADC_INJ_SEQ_SCAN_ENABLE_4RANKS + * @retval None + */ +static inline void LL_ADC_INJ_SetSequencerLength(ADC_TypeDef *ADCx, uint32_t SequencerNbRanks) +{ + (((ADCx->JSQR)) = ((((((ADCx->JSQR))) & (~((0x3UL << (0U))))) | (SequencerNbRanks)))); +} + +/** + * @brief Get ADC group injected sequencer length and scan direction. + * @note This function retrieves: + * - Sequence length: Number of ranks in the scan sequence. + * - Sequence direction: Unless specified in parameters, sequencer + * scan direction is forward (from rank 1 to rank n). + * @note Sequencer disabled is equivalent to sequencer of 1 rank: + * ADC conversion on only 1 channel. + * @rmtoll JSQR JL LL_ADC_INJ_GetSequencerLength + * @param ADCx ADC instance + * @retval Returned value can be one of the following values: + * @arg @ref LL_ADC_INJ_SEQ_SCAN_DISABLE + * @arg @ref LL_ADC_INJ_SEQ_SCAN_ENABLE_2RANKS + * @arg @ref LL_ADC_INJ_SEQ_SCAN_ENABLE_3RANKS + * @arg @ref LL_ADC_INJ_SEQ_SCAN_ENABLE_4RANKS + */ +static inline uint32_t LL_ADC_INJ_GetSequencerLength(const ADC_TypeDef *ADCx) +{ + return (uint32_t)(((ADCx->JSQR) & ((0x3UL << (0U))))); +} + +/** + * @brief Set ADC group injected sequencer discontinuous mode: + * sequence subdivided and scan conversions interrupted every selected + * number of ranks. + * @note It is not possible to enable both ADC group injected + * auto-injected mode and sequencer discontinuous mode. + * @rmtoll CFGR JDISCEN LL_ADC_INJ_SetSequencerDiscont + * @param ADCx ADC instance + * @param SeqDiscont This parameter can be one of the following values: + * @arg @ref LL_ADC_INJ_SEQ_DISCONT_DISABLE + * @arg @ref LL_ADC_INJ_SEQ_DISCONT_1RANK + * @retval None + */ +static inline void LL_ADC_INJ_SetSequencerDiscont(ADC_TypeDef *ADCx, uint32_t SeqDiscont) +{ + (((ADCx->CFGR)) = ((((((ADCx->CFGR))) & (~((0x1UL << (20U))))) | (SeqDiscont)))); +} + +/** + * @brief Get ADC group injected sequencer discontinuous mode: + * sequence subdivided and scan conversions interrupted every selected + * number of ranks. + * @rmtoll CFGR JDISCEN LL_ADC_INJ_GetSequencerDiscont + * @param ADCx ADC instance + * @retval Returned value can be one of the following values: + * @arg @ref LL_ADC_INJ_SEQ_DISCONT_DISABLE + * @arg @ref LL_ADC_INJ_SEQ_DISCONT_1RANK + */ +static inline uint32_t LL_ADC_INJ_GetSequencerDiscont(const ADC_TypeDef *ADCx) +{ + return (uint32_t)(((ADCx->CFGR) & ((0x1UL << (20U))))); +} + +/** + * @brief Set ADC group injected sequence: channel on the selected + * sequence rank. + * @note Depending on devices and packages, some channels may not be available. + * Refer to device datasheet for channels availability. + * @note On this STM32 series, to measure internal channels (VrefInt, + * TempSensor, ...), measurement paths to internal channels must be + * enabled separately. + * This can be done using function @ref LL_ADC_SetCommonPathInternalCh(). + * @note On STM32H7, some fast channels are available: fast analog inputs + * coming from GPIO pads (ADC_IN0..5). + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * ADC must not be disabled. Can be enabled with or without conversion + * on going on either groups regular or injected. + * @rmtoll JSQR JSQ1 LL_ADC_INJ_SetSequencerRanks\n + * JSQR JSQ2 LL_ADC_INJ_SetSequencerRanks\n + * JSQR JSQ3 LL_ADC_INJ_SetSequencerRanks\n + * JSQR JSQ4 LL_ADC_INJ_SetSequencerRanks + * @param ADCx ADC instance + * @param Rank This parameter can be one of the following values: + * @arg @ref LL_ADC_INJ_RANK_1 + * @arg @ref LL_ADC_INJ_RANK_2 + * @arg @ref LL_ADC_INJ_RANK_3 + * @arg @ref LL_ADC_INJ_RANK_4 + * @param Channel This parameter can be one of the following values: + * @arg @ref LL_ADC_CHANNEL_0 (3) + * @arg @ref LL_ADC_CHANNEL_1 (3) + * @arg @ref LL_ADC_CHANNEL_2 (3) + * @arg @ref LL_ADC_CHANNEL_3 (3) + * @arg @ref LL_ADC_CHANNEL_4 (3) + * @arg @ref LL_ADC_CHANNEL_5 (3) + * @arg @ref LL_ADC_CHANNEL_6 + * @arg @ref LL_ADC_CHANNEL_7 + * @arg @ref LL_ADC_CHANNEL_8 + * @arg @ref LL_ADC_CHANNEL_9 + * @arg @ref LL_ADC_CHANNEL_10 + * @arg @ref LL_ADC_CHANNEL_11 + * @arg @ref LL_ADC_CHANNEL_12 + * @arg @ref LL_ADC_CHANNEL_13 + * @arg @ref LL_ADC_CHANNEL_14 + * @arg @ref LL_ADC_CHANNEL_15 + * @arg @ref LL_ADC_CHANNEL_16 + * @arg @ref LL_ADC_CHANNEL_17 + * @arg @ref LL_ADC_CHANNEL_18 + * @arg @ref LL_ADC_CHANNEL_19 + * @arg @ref LL_ADC_CHANNEL_VREFINT (1) + * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1) + * @arg @ref LL_ADC_CHANNEL_VBAT (1) + * @arg @ref LL_ADC_CHANNEL_DAC1CH1_ADC2 (2) + * @arg @ref LL_ADC_CHANNEL_DAC1CH2_ADC2 (2) + * + * (1) On STM32H7, parameter available only on ADC instance: ADC3.\n + * (2) On STM32H7, parameter available only on ADC instance: ADC2.\n + * (3) On STM32H7, fast channel (0.125 us for 14-bit resolution (ADC conversion rate up to 8 Ms/s)). + * Other channels are slow channels (conversion rate: refer to reference manual). + * @retval None + */ +static inline void LL_ADC_INJ_SetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank, uint32_t Channel) +{ + /* Set bits with content of parameter "Channel" with bits position */ + /* in register depending on parameter "Rank". */ + /* Parameters "Rank" and "Channel" are used with masks because containing */ + /* other bits reserved for other purpose. */ + (((ADCx->JSQR)) = ((((((ADCx->JSQR))) & (~((((0x1FUL << (26U))) >> (26UL)) << (Rank & (((0x1FUL << (0U)))))))) | (((Channel & ((0x1FUL << (26U)))) >> (26UL)) << (Rank & (((0x1FUL << (0U))))))))) + + ; +} + +/** + * @brief Get ADC group injected sequence: channel on the selected + * sequence rank. + * @note Depending on devices and packages, some channels may not be available. + * Refer to device datasheet for channels availability. + * @note Usage of the returned channel number: + * - To reinject this channel into another function LL_ADC_xxx: + * the returned channel number is only partly formatted on definition + * of literals LL_ADC_CHANNEL_x. Therefore, it has to be compared + * with parts of literals LL_ADC_CHANNEL_x or using + * helper macro @ref __LL_ADC_CHANNEL_TO_DECIMAL_NB(). + * Then the selected literal LL_ADC_CHANNEL_x can be used + * as parameter for another function. + * - To get the channel number in decimal format: + * process the returned value with the helper macro + * @ref __LL_ADC_CHANNEL_TO_DECIMAL_NB(). + * @rmtoll JSQR JSQ1 LL_ADC_INJ_GetSequencerRanks\n + * JSQR JSQ2 LL_ADC_INJ_GetSequencerRanks\n + * JSQR JSQ3 LL_ADC_INJ_GetSequencerRanks\n + * JSQR JSQ4 LL_ADC_INJ_GetSequencerRanks + * @param ADCx ADC instance + * @param Rank This parameter can be one of the following values: + * @arg @ref LL_ADC_INJ_RANK_1 + * @arg @ref LL_ADC_INJ_RANK_2 + * @arg @ref LL_ADC_INJ_RANK_3 + * @arg @ref LL_ADC_INJ_RANK_4 + * @retval Returned value can be one of the following values: + * @arg @ref LL_ADC_CHANNEL_0 (3) + * @arg @ref LL_ADC_CHANNEL_1 (3) + * @arg @ref LL_ADC_CHANNEL_2 (3) + * @arg @ref LL_ADC_CHANNEL_3 (3) + * @arg @ref LL_ADC_CHANNEL_4 (3) + * @arg @ref LL_ADC_CHANNEL_5 (3) + * @arg @ref LL_ADC_CHANNEL_6 + * @arg @ref LL_ADC_CHANNEL_7 + * @arg @ref LL_ADC_CHANNEL_8 + * @arg @ref LL_ADC_CHANNEL_9 + * @arg @ref LL_ADC_CHANNEL_10 + * @arg @ref LL_ADC_CHANNEL_11 + * @arg @ref LL_ADC_CHANNEL_12 + * @arg @ref LL_ADC_CHANNEL_13 + * @arg @ref LL_ADC_CHANNEL_14 + * @arg @ref LL_ADC_CHANNEL_15 + * @arg @ref LL_ADC_CHANNEL_16 + * @arg @ref LL_ADC_CHANNEL_17 + * @arg @ref LL_ADC_CHANNEL_18 + * @arg @ref LL_ADC_CHANNEL_19 + * @arg @ref LL_ADC_CHANNEL_VREFINT (1) + * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1) + * @arg @ref LL_ADC_CHANNEL_VBAT (1) + * @arg @ref LL_ADC_CHANNEL_DAC1CH1_ADC2 (2) + * @arg @ref LL_ADC_CHANNEL_DAC1CH2_ADC2 (2) + * + * (1) On STM32H7, parameter available only on ADC instance: ADC3.\n + * (2) On STM32H7, parameter available only on ADC instance: ADC2.\n + * (3) On STM32H7, fast channel (0.125 us for 14-bit resolution (ADC conversion rate up to 8 Ms/s)). + * Other channels are slow channels (conversion rate: refer to reference manual).\n + * (1, 2) For ADC channel read back from ADC register, + * comparison with internal channel parameter to be done + * using helper macro @ref __LL_ADC_CHANNEL_INTERNAL_TO_EXTERNAL(). + */ +static inline uint32_t LL_ADC_INJ_GetSequencerRanks(const ADC_TypeDef *ADCx, uint32_t Rank) +{ + return (uint32_t)((((ADCx->JSQR) & ((((0x1FUL << (26U))) >> (26UL)) << (Rank & (((0x1FUL << (0U))))))) + + >> (Rank & (((0x1FUL << (0U)))))) << (26UL) + ); +} + +/** + * @brief Set ADC group injected conversion trigger: + * independent or from ADC group regular. + * @note This mode can be used to extend number of data registers + * updated after one ADC conversion trigger and with data + * permanently kept (not erased by successive conversions of scan of + * ADC sequencer ranks), up to 5 data registers: + * 1 data register on ADC group regular, 4 data registers + * on ADC group injected. + * @note If ADC group injected injected trigger source is set to an + * external trigger, this feature must be must be set to + * independent trigger. + * ADC group injected automatic trigger is compliant only with + * group injected trigger source set to SW start, without any + * further action on ADC group injected conversion start or stop: + * in this case, ADC group injected is controlled only + * from ADC group regular. + * @note It is not possible to enable both ADC group injected + * auto-injected mode and sequencer discontinuous mode. + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * ADC must be disabled or enabled without conversion on going + * on either groups regular or injected. + * @rmtoll CFGR JAUTO LL_ADC_INJ_SetTrigAuto + * @param ADCx ADC instance + * @param TrigAuto This parameter can be one of the following values: + * @arg @ref LL_ADC_INJ_TRIG_INDEPENDENT + * @arg @ref LL_ADC_INJ_TRIG_FROM_GRP_REGULAR + * @retval None + */ +static inline void LL_ADC_INJ_SetTrigAuto(ADC_TypeDef *ADCx, uint32_t TrigAuto) +{ + (((ADCx->CFGR)) = ((((((ADCx->CFGR))) & (~((0x1UL << (25U))))) | (TrigAuto)))); +} + +/** + * @brief Get ADC group injected conversion trigger: + * independent or from ADC group regular. + * @rmtoll CFGR JAUTO LL_ADC_INJ_GetTrigAuto + * @param ADCx ADC instance + * @retval Returned value can be one of the following values: + * @arg @ref LL_ADC_INJ_TRIG_INDEPENDENT + * @arg @ref LL_ADC_INJ_TRIG_FROM_GRP_REGULAR + */ +static inline uint32_t LL_ADC_INJ_GetTrigAuto(const ADC_TypeDef *ADCx) +{ + return (uint32_t)(((ADCx->CFGR) & ((0x1UL << (25U))))); +} + +/** + * @brief Set ADC group injected contexts queue mode. + * @note A context is a setting of group injected sequencer: + * - group injected trigger + * - sequencer length + * - sequencer ranks + * If contexts queue is disabled: + * - only 1 sequence can be configured + * and is active perpetually. + * If contexts queue is enabled: + * - up to 2 contexts can be queued + * and are checked in and out as a FIFO stack (first-in, first-out). + * - If a new context is set when queues is full, error is triggered + * by interruption "Injected Queue Overflow". + * - Two behaviors are possible when all contexts have been processed: + * the contexts queue can maintain the last context active perpetually + * or can be empty and injected group triggers are disabled. + * - Triggers can be only external (not internal SW start) + * - Caution: The sequence must be fully configured in one time + * (one write of register JSQR makes a check-in of a new context + * into the queue). + * Therefore functions to set separately injected trigger and + * sequencer channels cannot be used, register JSQR must be set + * using function @ref LL_ADC_INJ_ConfigQueueContext(). + * @note This parameter can be modified only when no conversion is on going + * on either groups regular or injected. + * @note A modification of the context mode (bit JQDIS) causes the contexts + * queue to be flushed and the register JSQR is cleared. + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * ADC must be disabled or enabled without conversion on going + * on either groups regular or injected. + * @rmtoll CFGR JQM LL_ADC_INJ_SetQueueMode\n + * CFGR JQDIS LL_ADC_INJ_SetQueueMode + * @param ADCx ADC instance + * @param QueueMode This parameter can be one of the following values: + * @arg @ref LL_ADC_INJ_QUEUE_DISABLE + * @arg @ref LL_ADC_INJ_QUEUE_2CONTEXTS_LAST_ACTIVE + * @arg @ref LL_ADC_INJ_QUEUE_2CONTEXTS_END_EMPTY + * @retval None + */ +static inline void LL_ADC_INJ_SetQueueMode(ADC_TypeDef *ADCx, uint32_t QueueMode) +{ + (((ADCx->CFGR)) = ((((((ADCx->CFGR))) & (~((0x1UL << (21U)) | (0x1UL << (31U))))) | (QueueMode)))); +} + +/** + * @brief Get ADC group injected context queue mode. + * @rmtoll CFGR JQM LL_ADC_INJ_GetQueueMode\n + * CFGR JQDIS LL_ADC_INJ_GetQueueMode + * @param ADCx ADC instance + * @retval Returned value can be one of the following values: + * @arg @ref LL_ADC_INJ_QUEUE_DISABLE + * @arg @ref LL_ADC_INJ_QUEUE_2CONTEXTS_LAST_ACTIVE + * @arg @ref LL_ADC_INJ_QUEUE_2CONTEXTS_END_EMPTY + */ +static inline uint32_t LL_ADC_INJ_GetQueueMode(const ADC_TypeDef *ADCx) +{ + return (uint32_t)(((ADCx->CFGR) & ((0x1UL << (21U)) | (0x1UL << (31U))))); +} + +/** + * @brief Set one context on ADC group injected that will be checked in + * contexts queue. + * @note A context is a setting of group injected sequencer: + * - group injected trigger + * - sequencer length + * - sequencer ranks + * This function is intended to be used when contexts queue is enabled, + * because the sequence must be fully configured in one time + * (functions to set separately injected trigger and sequencer channels + * cannot be used): + * Refer to function @ref LL_ADC_INJ_SetQueueMode(). + * @note In the contexts queue, only the active context can be read. + * The parameters of this function can be read using functions: + * @arg @ref LL_ADC_INJ_GetTriggerSource() + * @arg @ref LL_ADC_INJ_GetTriggerEdge() + * @arg @ref LL_ADC_INJ_GetSequencerRanks() + * @note On this STM32 series, to measure internal channels (VrefInt, + * TempSensor, ...), measurement paths to internal channels must be + * enabled separately. + * This can be done using function @ref LL_ADC_SetCommonPathInternalCh(). + * @note On STM32H7, some fast channels are available: fast analog inputs + * coming from GPIO pads (ADC_IN0..5). + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * ADC must not be disabled. Can be enabled with or without conversion + * on going on either groups regular or injected. + * @rmtoll JSQR JEXTSEL LL_ADC_INJ_ConfigQueueContext\n + * JSQR JEXTEN LL_ADC_INJ_ConfigQueueContext\n + * JSQR JL LL_ADC_INJ_ConfigQueueContext\n + * JSQR JSQ1 LL_ADC_INJ_ConfigQueueContext\n + * JSQR JSQ2 LL_ADC_INJ_ConfigQueueContext\n + * JSQR JSQ3 LL_ADC_INJ_ConfigQueueContext\n + * JSQR JSQ4 LL_ADC_INJ_ConfigQueueContext + * @param ADCx ADC instance + * @param TriggerSource This parameter can be one of the following values: + * @arg @ref LL_ADC_INJ_TRIG_SOFTWARE + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM1_TRGO + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM1_CH4 + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM2_TRGO + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM2_CH1 + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM3_CH4 + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM4_TRGO + * @arg @ref LL_ADC_INJ_TRIG_EXT_EXTI_LINE15 + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM8_CH4 + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM1_TRGO2 + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM8_TRGO + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM8_TRGO2 + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM3_CH3 + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM3_TRGO + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM3_CH1 + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM6_TRGO + * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM15_TRGO + * @arg @ref LL_ADC_INJ_TRIG_EXT_HRTIM_TRG2 + * @arg @ref LL_ADC_INJ_TRIG_EXT_HRTIM_TRG4 + * @arg @ref LL_ADC_INJ_TRIG_EXT_LPTIM1_OUT + * @arg @ref LL_ADC_INJ_TRIG_EXT_LPTIM2_OUT + * @arg @ref LL_ADC_INJ_TRIG_EXT_LPTIM3_OUT + * @param ExternalTriggerEdge This parameter can be one of the following values: + * @arg @ref LL_ADC_INJ_TRIG_EXT_RISING + * @arg @ref LL_ADC_INJ_TRIG_EXT_FALLING + * @arg @ref LL_ADC_INJ_TRIG_EXT_RISINGFALLING + * + * Note: This parameter is discarded in case of SW start: + * parameter "TriggerSource" set to "LL_ADC_INJ_TRIG_SOFTWARE". + * @param SequencerNbRanks This parameter can be one of the following values: + * @arg @ref LL_ADC_INJ_SEQ_SCAN_DISABLE + * @arg @ref LL_ADC_INJ_SEQ_SCAN_ENABLE_2RANKS + * @arg @ref LL_ADC_INJ_SEQ_SCAN_ENABLE_3RANKS + * @arg @ref LL_ADC_INJ_SEQ_SCAN_ENABLE_4RANKS + * @param Rank1_Channel This parameter can be one of the following values: + * @arg @ref LL_ADC_CHANNEL_0 (3) + * @arg @ref LL_ADC_CHANNEL_1 (3) + * @arg @ref LL_ADC_CHANNEL_2 (3) + * @arg @ref LL_ADC_CHANNEL_3 (3) + * @arg @ref LL_ADC_CHANNEL_4 (3) + * @arg @ref LL_ADC_CHANNEL_5 (3) + * @arg @ref LL_ADC_CHANNEL_6 + * @arg @ref LL_ADC_CHANNEL_7 + * @arg @ref LL_ADC_CHANNEL_8 + * @arg @ref LL_ADC_CHANNEL_9 + * @arg @ref LL_ADC_CHANNEL_10 + * @arg @ref LL_ADC_CHANNEL_11 + * @arg @ref LL_ADC_CHANNEL_12 + * @arg @ref LL_ADC_CHANNEL_13 + * @arg @ref LL_ADC_CHANNEL_14 + * @arg @ref LL_ADC_CHANNEL_15 + * @arg @ref LL_ADC_CHANNEL_16 + * @arg @ref LL_ADC_CHANNEL_17 + * @arg @ref LL_ADC_CHANNEL_18 + * @arg @ref LL_ADC_CHANNEL_19 + * @arg @ref LL_ADC_CHANNEL_VREFINT (1) + * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1) + * @arg @ref LL_ADC_CHANNEL_VBAT (1) + * @arg @ref LL_ADC_CHANNEL_DAC1CH1_ADC2 (2) + * @arg @ref LL_ADC_CHANNEL_DAC1CH2_ADC2 (2) + * + * (1) On STM32H7, parameter available only on ADC instance: ADC3.\n + * (2) On STM32H7, parameter available only on ADC instance: ADC2.\n + * (3) On STM32H7, fast channel (0.125 us for 14-bit resolution (ADC conversion rate up to 8 Ms/s)). + * Other channels are slow channels (conversion rate: refer to reference manual). + * @param Rank2_Channel This parameter can be one of the following values: + * @arg @ref LL_ADC_CHANNEL_0 (3) + * @arg @ref LL_ADC_CHANNEL_1 (3) + * @arg @ref LL_ADC_CHANNEL_2 (3) + * @arg @ref LL_ADC_CHANNEL_3 (3) + * @arg @ref LL_ADC_CHANNEL_4 (3) + * @arg @ref LL_ADC_CHANNEL_5 (3) + * @arg @ref LL_ADC_CHANNEL_6 + * @arg @ref LL_ADC_CHANNEL_7 + * @arg @ref LL_ADC_CHANNEL_8 + * @arg @ref LL_ADC_CHANNEL_9 + * @arg @ref LL_ADC_CHANNEL_10 + * @arg @ref LL_ADC_CHANNEL_11 + * @arg @ref LL_ADC_CHANNEL_12 + * @arg @ref LL_ADC_CHANNEL_13 + * @arg @ref LL_ADC_CHANNEL_14 + * @arg @ref LL_ADC_CHANNEL_15 + * @arg @ref LL_ADC_CHANNEL_16 + * @arg @ref LL_ADC_CHANNEL_17 + * @arg @ref LL_ADC_CHANNEL_18 + * @arg @ref LL_ADC_CHANNEL_19 + * @arg @ref LL_ADC_CHANNEL_VREFINT (1) + * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1) + * @arg @ref LL_ADC_CHANNEL_VBAT (1) + * @arg @ref LL_ADC_CHANNEL_DAC1CH1_ADC2 (2) + * @arg @ref LL_ADC_CHANNEL_DAC1CH2_ADC2 (2) + * + * (1) On STM32H7, parameter available only on ADC instance: ADC3.\n + * (2) On STM32H7, parameter available only on ADC instance: ADC2.\n + * (3) On STM32H7, fast channel (0.125 us for 14-bit resolution (ADC conversion rate up to 8 Ms/s)). + * Other channels are slow channels (conversion rate: refer to reference manual). + * @param Rank3_Channel This parameter can be one of the following values: + * @arg @ref LL_ADC_CHANNEL_0 (3) + * @arg @ref LL_ADC_CHANNEL_1 (3) + * @arg @ref LL_ADC_CHANNEL_2 (3) + * @arg @ref LL_ADC_CHANNEL_3 (3) + * @arg @ref LL_ADC_CHANNEL_4 (3) + * @arg @ref LL_ADC_CHANNEL_5 (3) + * @arg @ref LL_ADC_CHANNEL_6 + * @arg @ref LL_ADC_CHANNEL_7 + * @arg @ref LL_ADC_CHANNEL_8 + * @arg @ref LL_ADC_CHANNEL_9 + * @arg @ref LL_ADC_CHANNEL_10 + * @arg @ref LL_ADC_CHANNEL_11 + * @arg @ref LL_ADC_CHANNEL_12 + * @arg @ref LL_ADC_CHANNEL_13 + * @arg @ref LL_ADC_CHANNEL_14 + * @arg @ref LL_ADC_CHANNEL_15 + * @arg @ref LL_ADC_CHANNEL_16 + * @arg @ref LL_ADC_CHANNEL_17 + * @arg @ref LL_ADC_CHANNEL_18 + * @arg @ref LL_ADC_CHANNEL_19 + * @arg @ref LL_ADC_CHANNEL_VREFINT (1) + * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1) + * @arg @ref LL_ADC_CHANNEL_VBAT (1) + * @arg @ref LL_ADC_CHANNEL_DAC1CH1_ADC2 (2) + * @arg @ref LL_ADC_CHANNEL_DAC1CH2_ADC2 (2) + * + * (1) On STM32H7, parameter available only on ADC instance: ADC3.\n + * (2) On STM32H7, parameter available only on ADC instance: ADC2.\n + * (3) On STM32H7, fast channel (0.125 us for 14-bit resolution (ADC conversion rate up to 8 Ms/s)). + * Other channels are slow channels (conversion rate: refer to reference manual). + * @param Rank4_Channel This parameter can be one of the following values: + * @arg @ref LL_ADC_CHANNEL_0 (3) + * @arg @ref LL_ADC_CHANNEL_1 (3) + * @arg @ref LL_ADC_CHANNEL_2 (3) + * @arg @ref LL_ADC_CHANNEL_3 (3) + * @arg @ref LL_ADC_CHANNEL_4 (3) + * @arg @ref LL_ADC_CHANNEL_5 (3) + * @arg @ref LL_ADC_CHANNEL_6 + * @arg @ref LL_ADC_CHANNEL_7 + * @arg @ref LL_ADC_CHANNEL_8 + * @arg @ref LL_ADC_CHANNEL_9 + * @arg @ref LL_ADC_CHANNEL_10 + * @arg @ref LL_ADC_CHANNEL_11 + * @arg @ref LL_ADC_CHANNEL_12 + * @arg @ref LL_ADC_CHANNEL_13 + * @arg @ref LL_ADC_CHANNEL_14 + * @arg @ref LL_ADC_CHANNEL_15 + * @arg @ref LL_ADC_CHANNEL_16 + * @arg @ref LL_ADC_CHANNEL_17 + * @arg @ref LL_ADC_CHANNEL_18 + * @arg @ref LL_ADC_CHANNEL_19 + * @arg @ref LL_ADC_CHANNEL_VREFINT (1) + * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1) + * @arg @ref LL_ADC_CHANNEL_VBAT (1) + * @arg @ref LL_ADC_CHANNEL_DAC1CH1_ADC2 (2) + * @arg @ref LL_ADC_CHANNEL_DAC1CH2_ADC2 (2) + * + * (1) On STM32H7, parameter available only on ADC instance: ADC3.\n + * (2) On STM32H7, parameter available only on ADC instance: ADC2.\n + * (3) On STM32H7, fast channel (0.125 us for 14-bit resolution (ADC conversion rate up to 8 Ms/s)). + * Other channels are slow channels (conversion rate: refer to reference manual). + * @retval None + */ +static inline void LL_ADC_INJ_ConfigQueueContext(ADC_TypeDef *ADCx, + uint32_t TriggerSource, + uint32_t ExternalTriggerEdge, + uint32_t SequencerNbRanks, + uint32_t Rank1_Channel, + uint32_t Rank2_Channel, + uint32_t Rank3_Channel, + uint32_t Rank4_Channel) +{ + /* Set bits with content of parameter "Rankx_Channel" with bits position */ + /* in register depending on literal "LL_ADC_INJ_RANK_x". */ + /* Parameters "Rankx_Channel" and "LL_ADC_INJ_RANK_x" are used with masks */ + /* because containing other bits reserved for other purpose. */ + /* If parameter "TriggerSource" is set to SW start, then parameter */ + /* "ExternalTriggerEdge" is discarded. */ + uint32_t is_trigger_not_sw = (uint32_t)((TriggerSource != (0x00000000UL)) ? 1UL : 0UL); + (((ADCx->JSQR)) = ((((((ADCx->JSQR))) & (~((0x1FUL << (2U)) | (0x3UL << (7U)) | (0x1FUL << (27U)) | (0x1FUL << (21U)) | (0x1FUL << (15U)) | (0x1FUL << (9U)) | (0x3UL << (0U))))) | ((TriggerSource & (0x1FUL << (2U))) | (ExternalTriggerEdge * (is_trigger_not_sw)) | (((Rank4_Channel & ((0x1FUL << (26U)))) >> (26UL)) << (((0x00000300UL) | ((27U))) & (((0x1FUL << (0U)))))) | (((Rank3_Channel & ((0x1FUL << (26U)))) >> (26UL)) << (((0x00000200UL) | ((21U))) & (((0x1FUL << (0U)))))) | (((Rank2_Channel & ((0x1FUL << (26U)))) >> (26UL)) << (((0x00000100UL) | ((15U))) & (((0x1FUL << (0U)))))) | (((Rank1_Channel & ((0x1FUL << (26U)))) >> (26UL)) << (((0x00000000UL) | ((9U))) & (((0x1FUL << (0U)))))) | SequencerNbRanks)))) +# 5310 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_adc.h" + ; +} + +/** + * @} + */ + +/** @defgroup ADC_LL_EF_Configuration_Channels Configuration of ADC hierarchical scope: channels + * @{ + */ + +/** + * @brief Set sampling time of the selected ADC channel + * Unit: ADC clock cycles. + * @note On this device, sampling time is on channel scope: independently + * of channel mapped on ADC group regular or injected. + * @note In case of internal channel (VrefInt, TempSensor, ...) to be + * converted: + * sampling time constraints must be respected (sampling time can be + * adjusted in function of ADC clock frequency and sampling time + * setting). + * Refer to device datasheet for timings values (parameters TS_vrefint, + * TS_temp, ...). + * @note Conversion time is the addition of sampling time and processing time. + * On this STM32 series, ADC processing time is: + * - 12.5 ADC clock cycles at ADC resolution 12 bits + * - 10.5 ADC clock cycles at ADC resolution 10 bits + * - 8.5 ADC clock cycles at ADC resolution 8 bits + * - 6.5 ADC clock cycles at ADC resolution 6 bits + * @note In case of ADC conversion of internal channel (VrefInt, + * temperature sensor, ...), a sampling time minimum value + * is required. + * Refer to device datasheet. + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * ADC must be disabled or enabled without conversion on going + * on either groups regular or injected. + * @rmtoll SMPR1 SMP0 LL_ADC_SetChannelSamplingTime\n + * SMPR1 SMP1 LL_ADC_SetChannelSamplingTime\n + * SMPR1 SMP2 LL_ADC_SetChannelSamplingTime\n + * SMPR1 SMP3 LL_ADC_SetChannelSamplingTime\n + * SMPR1 SMP4 LL_ADC_SetChannelSamplingTime\n + * SMPR1 SMP5 LL_ADC_SetChannelSamplingTime\n + * SMPR1 SMP6 LL_ADC_SetChannelSamplingTime\n + * SMPR1 SMP7 LL_ADC_SetChannelSamplingTime\n + * SMPR1 SMP8 LL_ADC_SetChannelSamplingTime\n + * SMPR1 SMP9 LL_ADC_SetChannelSamplingTime\n + * SMPR2 SMP10 LL_ADC_SetChannelSamplingTime\n + * SMPR2 SMP11 LL_ADC_SetChannelSamplingTime\n + * SMPR2 SMP12 LL_ADC_SetChannelSamplingTime\n + * SMPR2 SMP13 LL_ADC_SetChannelSamplingTime\n + * SMPR2 SMP14 LL_ADC_SetChannelSamplingTime\n + * SMPR2 SMP15 LL_ADC_SetChannelSamplingTime\n + * SMPR2 SMP16 LL_ADC_SetChannelSamplingTime\n + * SMPR2 SMP17 LL_ADC_SetChannelSamplingTime\n + * SMPR2 SMP18 LL_ADC_SetChannelSamplingTime + * @param ADCx ADC instance + * @param Channel This parameter can be one of the following values: + * @arg @ref LL_ADC_CHANNEL_0 (3) + * @arg @ref LL_ADC_CHANNEL_1 (3) + * @arg @ref LL_ADC_CHANNEL_2 (3) + * @arg @ref LL_ADC_CHANNEL_3 (3) + * @arg @ref LL_ADC_CHANNEL_4 (3) + * @arg @ref LL_ADC_CHANNEL_5 (3) + * @arg @ref LL_ADC_CHANNEL_6 + * @arg @ref LL_ADC_CHANNEL_7 + * @arg @ref LL_ADC_CHANNEL_8 + * @arg @ref LL_ADC_CHANNEL_9 + * @arg @ref LL_ADC_CHANNEL_10 + * @arg @ref LL_ADC_CHANNEL_11 + * @arg @ref LL_ADC_CHANNEL_12 + * @arg @ref LL_ADC_CHANNEL_13 + * @arg @ref LL_ADC_CHANNEL_14 + * @arg @ref LL_ADC_CHANNEL_15 + * @arg @ref LL_ADC_CHANNEL_16 + * @arg @ref LL_ADC_CHANNEL_17 + * @arg @ref LL_ADC_CHANNEL_18 + * @arg @ref LL_ADC_CHANNEL_19 + * @arg @ref LL_ADC_CHANNEL_VREFINT (1) + * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1) + * @arg @ref LL_ADC_CHANNEL_VBAT (1) + * @arg @ref LL_ADC_CHANNEL_DAC1CH1_ADC2 (2) + * @arg @ref LL_ADC_CHANNEL_DAC1CH2_ADC2 (2) + * + * (1) On STM32H7, parameter available only on ADC instance: ADC3.\n + * (2) On STM32H7, parameter available only on ADC instance: ADC2.\n + * (3) On STM32H7, fast channel (0.125 us for 14-bit resolution (ADC conversion rate up to 8 Ms/s)). + * Other channels are slow channels (conversion rate: refer to reference manual). + * @param SamplingTime This parameter can be one of the following values: + * @arg @ref LL_ADC_SAMPLINGTIME_1CYCLE_5 + * @arg @ref LL_ADC_SAMPLINGTIME_2CYCLES_5 + * @arg @ref LL_ADC_SAMPLINGTIME_8CYCLES_5 + * @arg @ref LL_ADC_SAMPLINGTIME_16CYCLES_5 + * @arg @ref LL_ADC_SAMPLINGTIME_32CYCLES_5 + * @arg @ref LL_ADC_SAMPLINGTIME_64CYCLES_5 + * @arg @ref LL_ADC_SAMPLINGTIME_387CYCLES_5 + * @arg @ref LL_ADC_SAMPLINGTIME_810CYCLES_5 + * @retval None + */ +static inline void LL_ADC_SetChannelSamplingTime(ADC_TypeDef *ADCx, uint32_t Channel, uint32_t SamplingTime) +{ + /* Set bits with content of parameter "SamplingTime" with bits position */ + /* in register and register position depending on parameter "Channel". */ + /* Parameter "Channel" is used with masks because containing */ + /* other bits reserved for other purpose. */ + volatile uint32_t *preg = ((volatile uint32_t *)((uint32_t) ((uint32_t)(&(ADCx->SMPR1)) + ((((Channel & ((0x00000000UL) | (0x02000000UL))) >> (25UL))) << 2UL)))); + + (((*preg)) = ((((((*preg))) & (~((0x7UL << (0U)) << ((Channel & (0x01F00000UL)) >> (20UL))))) | (SamplingTime << ((Channel & (0x01F00000UL)) >> (20UL)))))) + + ; +} + +/** + * @brief Get sampling time of the selected ADC channel + * Unit: ADC clock cycles. + * @note On this device, sampling time is on channel scope: independently + * of channel mapped on ADC group regular or injected. + * @note Conversion time is the addition of sampling time and processing time. + * On this STM32 series, ADC processing time is: + * - 12.5 ADC clock cycles at ADC resolution 12 bits + * - 10.5 ADC clock cycles at ADC resolution 10 bits + * - 8.5 ADC clock cycles at ADC resolution 8 bits + * - 6.5 ADC clock cycles at ADC resolution 6 bits + * @rmtoll SMPR1 SMP0 LL_ADC_GetChannelSamplingTime\n + * SMPR1 SMP1 LL_ADC_GetChannelSamplingTime\n + * SMPR1 SMP2 LL_ADC_GetChannelSamplingTime\n + * SMPR1 SMP3 LL_ADC_GetChannelSamplingTime\n + * SMPR1 SMP4 LL_ADC_GetChannelSamplingTime\n + * SMPR1 SMP5 LL_ADC_GetChannelSamplingTime\n + * SMPR1 SMP6 LL_ADC_GetChannelSamplingTime\n + * SMPR1 SMP7 LL_ADC_GetChannelSamplingTime\n + * SMPR1 SMP8 LL_ADC_GetChannelSamplingTime\n + * SMPR1 SMP9 LL_ADC_GetChannelSamplingTime\n + * SMPR2 SMP10 LL_ADC_GetChannelSamplingTime\n + * SMPR2 SMP11 LL_ADC_GetChannelSamplingTime\n + * SMPR2 SMP12 LL_ADC_GetChannelSamplingTime\n + * SMPR2 SMP13 LL_ADC_GetChannelSamplingTime\n + * SMPR2 SMP14 LL_ADC_GetChannelSamplingTime\n + * SMPR2 SMP15 LL_ADC_GetChannelSamplingTime\n + * SMPR2 SMP16 LL_ADC_GetChannelSamplingTime\n + * SMPR2 SMP17 LL_ADC_GetChannelSamplingTime\n + * SMPR2 SMP18 LL_ADC_GetChannelSamplingTime + * @param ADCx ADC instance + * @param Channel This parameter can be one of the following values: + * @arg @ref LL_ADC_CHANNEL_0 (3) + * @arg @ref LL_ADC_CHANNEL_1 (3) + * @arg @ref LL_ADC_CHANNEL_2 (3) + * @arg @ref LL_ADC_CHANNEL_3 (3) + * @arg @ref LL_ADC_CHANNEL_4 (3) + * @arg @ref LL_ADC_CHANNEL_5 (3) + * @arg @ref LL_ADC_CHANNEL_6 + * @arg @ref LL_ADC_CHANNEL_7 + * @arg @ref LL_ADC_CHANNEL_8 + * @arg @ref LL_ADC_CHANNEL_9 + * @arg @ref LL_ADC_CHANNEL_10 + * @arg @ref LL_ADC_CHANNEL_11 + * @arg @ref LL_ADC_CHANNEL_12 + * @arg @ref LL_ADC_CHANNEL_13 + * @arg @ref LL_ADC_CHANNEL_14 + * @arg @ref LL_ADC_CHANNEL_15 + * @arg @ref LL_ADC_CHANNEL_16 + * @arg @ref LL_ADC_CHANNEL_17 + * @arg @ref LL_ADC_CHANNEL_18 + * @arg @ref LL_ADC_CHANNEL_19 + * @arg @ref LL_ADC_CHANNEL_VREFINT (1) + * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1) + * @arg @ref LL_ADC_CHANNEL_VBAT (1) + * @arg @ref LL_ADC_CHANNEL_DAC1CH1_ADC2 (2) + * @arg @ref LL_ADC_CHANNEL_DAC1CH2_ADC2 (2) + * + * (1) On STM32H7, parameter available only on ADC instance: ADC3.\n + * (2) On STM32H7, parameter available only on ADC instance: ADC2.\n + * (3) On STM32H7, fast channel (0.125 us for 14-bit resolution (ADC conversion rate up to 8 Ms/s)). + * Other channels are slow channels (conversion rate: refer to reference manual). + * @retval Returned value can be one of the following values: + * @arg @ref LL_ADC_SAMPLINGTIME_1CYCLE_5 + * @arg @ref LL_ADC_SAMPLINGTIME_2CYCLES_5 + * @arg @ref LL_ADC_SAMPLINGTIME_8CYCLES_5 + * @arg @ref LL_ADC_SAMPLINGTIME_16CYCLES_5 + * @arg @ref LL_ADC_SAMPLINGTIME_32CYCLES_5 + * @arg @ref LL_ADC_SAMPLINGTIME_64CYCLES_5 + * @arg @ref LL_ADC_SAMPLINGTIME_387CYCLES_5 + * @arg @ref LL_ADC_SAMPLINGTIME_810CYCLES_5 + */ +static inline uint32_t LL_ADC_GetChannelSamplingTime(const ADC_TypeDef *ADCx, uint32_t Channel) +{ + const volatile uint32_t *preg = ((volatile uint32_t *)((uint32_t) ((uint32_t)(&(ADCx->SMPR1)) + ((((Channel & ((0x00000000UL) | (0x02000000UL))) >> (25UL))) << 2UL)))); + + return (uint32_t)(((*preg) & ((0x7UL << (0U)) << ((Channel & (0x01F00000UL)) >> (20UL)))) + + >> ((Channel & (0x01F00000UL)) >> (20UL)) + ); +} + +/** + * @brief Set mode single-ended or differential input of the selected + * ADC channel. + * @note Channel ending is on channel scope: independently of channel mapped + * on ADC group regular or injected. + * In differential mode: Differential measurement is carried out + * between the selected channel 'i' (positive input) and + * channel 'i+1' (negative input). Only channel 'i' has to be + * configured, channel 'i+1' is configured automatically. + * @note Refer to Reference Manual to ensure the selected channel is + * available in differential mode. + * For example, internal channels (VrefInt, TempSensor, ...) are + * not available in differential mode. + * @note When configuring a channel 'i' in differential mode, + * the channel 'i+1' is not usable separately. + * @note On STM32H7, some channels are internally fixed to single-ended inputs + * configuration: + * - ADC1: Channels 0, 6, 7, 8, 9, 13, 14, 15, 17, and 19 + * - ADC2: Channels 0, 6, 7, 8, 9, 13, 14, 15 and 19 + * - ADC3: Channels 0, 6, 7, 8, 9, 12, 16, 17, and 19 + * @note For ADC channels configured in differential mode, both inputs + * should be biased at (Vref+)/2 +/-200mV. + * (Vref+ is the analog voltage reference) + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * ADC must be ADC disabled. + * @note One or several values can be selected. + * Example: (LL_ADC_CHANNEL_4 | LL_ADC_CHANNEL_12 | ...) + * @rmtoll DIFSEL DIFSEL LL_ADC_SetChannelSingleDiff + * @param ADCx ADC instance + * @param Channel This parameter can be one of the following values: + * @arg @ref LL_ADC_CHANNEL_1 + * @arg @ref LL_ADC_CHANNEL_2 + * @arg @ref LL_ADC_CHANNEL_3 + * @arg @ref LL_ADC_CHANNEL_4 + * @arg @ref LL_ADC_CHANNEL_5 + * @arg @ref LL_ADC_CHANNEL_10 + * @arg @ref LL_ADC_CHANNEL_11 + * @arg @ref LL_ADC_CHANNEL_12 + * @arg @ref LL_ADC_CHANNEL_13 + * @arg @ref LL_ADC_CHANNEL_14 + * @arg @ref LL_ADC_CHANNEL_15 + * @arg @ref LL_ADC_CHANNEL_16 + * @arg @ref LL_ADC_CHANNEL_17 + * @arg @ref LL_ADC_CHANNEL_18 + * @arg @ref LL_ADC_CHANNEL_19 + * @param SingleDiff This parameter can be a combination of the following values: + * @arg @ref LL_ADC_SINGLE_ENDED + * @arg @ref LL_ADC_DIFFERENTIAL_ENDED + * @retval None + */ +static inline void LL_ADC_SetChannelSingleDiff(ADC_TypeDef *ADCx, uint32_t Channel, uint32_t SingleDiff) +{ +# 5574 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_adc.h" + /* Bits of channels in single or differential mode are set only for */ + /* differential mode (for single mode, mask of bits allowed to be set is */ + /* shifted out of range of bits of channels in single or differential mode. */ + (((ADCx->DIFSEL)) = ((((((ADCx->DIFSEL))) & (~(Channel & (((0xFFFFFUL << (0U))))))) | ((Channel & (((0xFFFFFUL << (0U))))) & ((0xFFFFFUL << (0U)) >> (SingleDiff & ((0x010UL << (0U)) | (0x008UL << (0U))))))))) + + ; + +} + +/** + * @brief Get mode single-ended or differential input of the selected + * ADC channel. + * @note When configuring a channel 'i' in differential mode, + * the channel 'i+1' is not usable separately. + * Therefore, to ensure a channel is configured in single-ended mode, + * the configuration of channel itself and the channel 'i-1' must be + * read back (to ensure that the selected channel channel has not been + * configured in differential mode by the previous channel). + * @note Refer to Reference Manual to ensure the selected channel is + * available in differential mode. + * For example, internal channels (VrefInt, TempSensor, ...) are + * not available in differential mode. + * @note When configuring a channel 'i' in differential mode, + * the channel 'i+1' is not usable separately. + * @note On STM32H7, some channels are internally fixed to single-ended inputs + * configuration: + * - ADC1: Channels 0, 6, 7, 8, 9, 13, 14, 15, 17, and 19 + * - ADC2: Channels 0, 6, 7, 8, 9, 13, 14, 15 and 19 + * - ADC3: Channels 0, 6, 7, 8, 9, 12, 16, 17, and 19 + * @note One or several values can be selected. In this case, the value + * returned is null if all channels are in single ended-mode. + * Example: (LL_ADC_CHANNEL_4 | LL_ADC_CHANNEL_12 | ...) + * @rmtoll DIFSEL DIFSEL LL_ADC_GetChannelSingleDiff + * @param ADCx ADC instance + * @param Channel This parameter can be a combination of the following values: + * @arg @ref LL_ADC_CHANNEL_1 + * @arg @ref LL_ADC_CHANNEL_2 + * @arg @ref LL_ADC_CHANNEL_3 + * @arg @ref LL_ADC_CHANNEL_4 + * @arg @ref LL_ADC_CHANNEL_5 + * @arg @ref LL_ADC_CHANNEL_10 + * @arg @ref LL_ADC_CHANNEL_11 + * @arg @ref LL_ADC_CHANNEL_12 + * @arg @ref LL_ADC_CHANNEL_13 + * @arg @ref LL_ADC_CHANNEL_14 + * @arg @ref LL_ADC_CHANNEL_15 + * @arg @ref LL_ADC_CHANNEL_16 + * @arg @ref LL_ADC_CHANNEL_17 + * @arg @ref LL_ADC_CHANNEL_18 + * @arg @ref LL_ADC_CHANNEL_19 + * @retval 0: channel in single-ended mode, else: channel in differential mode + */ +static inline uint32_t LL_ADC_GetChannelSingleDiff(const ADC_TypeDef *ADCx, uint32_t Channel) +{ + + + + return (uint32_t)(((ADCx->DIFSEL) & ((Channel & (((0xFFFFFUL << (0U)))))))); + +} + +/** + * @} + */ + +/** @defgroup ADC_LL_EF_Configuration_ADC_AnalogWatchdog Configuration of ADC transversal scope: analog watchdog + * @{ + */ + +/** + * @brief Set ADC analog watchdog monitored channels: + * a single channel, multiple channels or all channels, + * on ADC groups regular and-or injected. + * @note Once monitored channels are selected, analog watchdog + * is enabled. + * @note In case of need to define a single channel to monitor + * with analog watchdog from sequencer channel definition, + * use helper macro @ref __LL_ADC_ANALOGWD_CHANNEL_GROUP(). + * @note On this STM32 series, there are 2 kinds of analog watchdog + * instance: + * - AWD standard (instance AWD1): + * - channels monitored: can monitor 1 channel or all channels. + * - groups monitored: ADC groups regular and-or injected. + * - resolution: resolution is not limited (corresponds to + * ADC resolution configured). + * - AWD flexible (instances AWD2, AWD3): + * - channels monitored: flexible on channels monitored, selection is + * channel wise, from from 1 to all channels. + * Specificity of this analog watchdog: Multiple channels can + * be selected. For example: + * (LL_ADC_AWD_CHANNEL4_REG_INJ | LL_ADC_AWD_CHANNEL5_REG_INJ | ...) + * - groups monitored: not selection possible (monitoring on both + * groups regular and injected). + * Channels selected are monitored on groups regular and injected: + * LL_ADC_AWD_CHANNELxx_REG_INJ (do not use parameters + * LL_ADC_AWD_CHANNELxx_REG and LL_ADC_AWD_CHANNELxx_INJ) + * - resolution: resolution is limited to 8 bits: if ADC resolution is + * 12 bits the 4 LSB are ignored, if ADC resolution is 10 bits + * the 2 LSB are ignored. + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * ADC must be disabled or enabled without conversion on going + * on either groups regular or injected. + * @rmtoll CFGR AWD1CH LL_ADC_SetAnalogWDMonitChannels\n + * CFGR AWD1SGL LL_ADC_SetAnalogWDMonitChannels\n + * CFGR AWD1EN LL_ADC_SetAnalogWDMonitChannels\n + * CFGR JAWD1EN LL_ADC_SetAnalogWDMonitChannels\n + * AWD2CR AWD2CH LL_ADC_SetAnalogWDMonitChannels\n + * AWD3CR AWD3CH LL_ADC_SetAnalogWDMonitChannels + * @param ADCx ADC instance + * @param AWDy This parameter can be one of the following values: + * @arg @ref LL_ADC_AWD1 + * @arg @ref LL_ADC_AWD2 + * @arg @ref LL_ADC_AWD3 + * @param AWDChannelGroup This parameter can be one of the following values: + * @arg @ref LL_ADC_AWD_DISABLE + * @arg @ref LL_ADC_AWD_ALL_CHANNELS_REG (0) + * @arg @ref LL_ADC_AWD_ALL_CHANNELS_INJ (0) + * @arg @ref LL_ADC_AWD_ALL_CHANNELS_REG_INJ + * @arg @ref LL_ADC_AWD_CHANNEL_0_REG (0) + * @arg @ref LL_ADC_AWD_CHANNEL_0_INJ (0) + * @arg @ref LL_ADC_AWD_CHANNEL_0_REG_INJ + * @arg @ref LL_ADC_AWD_CHANNEL_1_REG (0) + * @arg @ref LL_ADC_AWD_CHANNEL_1_INJ (0) + * @arg @ref LL_ADC_AWD_CHANNEL_1_REG_INJ + * @arg @ref LL_ADC_AWD_CHANNEL_2_REG (0) + * @arg @ref LL_ADC_AWD_CHANNEL_2_INJ (0) + * @arg @ref LL_ADC_AWD_CHANNEL_2_REG_INJ + * @arg @ref LL_ADC_AWD_CHANNEL_3_REG (0) + * @arg @ref LL_ADC_AWD_CHANNEL_3_INJ (0) + * @arg @ref LL_ADC_AWD_CHANNEL_3_REG_INJ + * @arg @ref LL_ADC_AWD_CHANNEL_4_REG (0) + * @arg @ref LL_ADC_AWD_CHANNEL_4_INJ (0) + * @arg @ref LL_ADC_AWD_CHANNEL_4_REG_INJ + * @arg @ref LL_ADC_AWD_CHANNEL_5_REG (0) + * @arg @ref LL_ADC_AWD_CHANNEL_5_INJ (0) + * @arg @ref LL_ADC_AWD_CHANNEL_5_REG_INJ + * @arg @ref LL_ADC_AWD_CHANNEL_6_REG (0) + * @arg @ref LL_ADC_AWD_CHANNEL_6_INJ (0) + * @arg @ref LL_ADC_AWD_CHANNEL_6_REG_INJ + * @arg @ref LL_ADC_AWD_CHANNEL_7_REG (0) + * @arg @ref LL_ADC_AWD_CHANNEL_7_INJ (0) + * @arg @ref LL_ADC_AWD_CHANNEL_7_REG_INJ + * @arg @ref LL_ADC_AWD_CHANNEL_8_REG (0) + * @arg @ref LL_ADC_AWD_CHANNEL_8_INJ (0) + * @arg @ref LL_ADC_AWD_CHANNEL_8_REG_INJ + * @arg @ref LL_ADC_AWD_CHANNEL_9_REG (0) + * @arg @ref LL_ADC_AWD_CHANNEL_9_INJ (0) + * @arg @ref LL_ADC_AWD_CHANNEL_9_REG_INJ + * @arg @ref LL_ADC_AWD_CHANNEL_10_REG (0) + * @arg @ref LL_ADC_AWD_CHANNEL_10_INJ (0) + * @arg @ref LL_ADC_AWD_CHANNEL_10_REG_INJ + * @arg @ref LL_ADC_AWD_CHANNEL_11_REG (0) + * @arg @ref LL_ADC_AWD_CHANNEL_11_INJ (0) + * @arg @ref LL_ADC_AWD_CHANNEL_11_REG_INJ + * @arg @ref LL_ADC_AWD_CHANNEL_12_REG (0) + * @arg @ref LL_ADC_AWD_CHANNEL_12_INJ (0) + * @arg @ref LL_ADC_AWD_CHANNEL_12_REG_INJ + * @arg @ref LL_ADC_AWD_CHANNEL_13_REG (0) + * @arg @ref LL_ADC_AWD_CHANNEL_13_INJ (0) + * @arg @ref LL_ADC_AWD_CHANNEL_13_REG_INJ + * @arg @ref LL_ADC_AWD_CHANNEL_14_REG (0) + * @arg @ref LL_ADC_AWD_CHANNEL_14_INJ (0) + * @arg @ref LL_ADC_AWD_CHANNEL_14_REG_INJ + * @arg @ref LL_ADC_AWD_CHANNEL_15_REG (0) + * @arg @ref LL_ADC_AWD_CHANNEL_15_INJ (0) + * @arg @ref LL_ADC_AWD_CHANNEL_15_REG_INJ + * @arg @ref LL_ADC_AWD_CHANNEL_16_REG (0) + * @arg @ref LL_ADC_AWD_CHANNEL_16_INJ (0) + * @arg @ref LL_ADC_AWD_CHANNEL_16_REG_INJ + * @arg @ref LL_ADC_AWD_CHANNEL_17_REG (0) + * @arg @ref LL_ADC_AWD_CHANNEL_17_INJ (0) + * @arg @ref LL_ADC_AWD_CHANNEL_17_REG_INJ + * @arg @ref LL_ADC_AWD_CHANNEL_18_REG (0) + * @arg @ref LL_ADC_AWD_CHANNEL_18_INJ (0) + * @arg @ref LL_ADC_AWD_CHANNEL_18_REG_INJ + * @arg @ref LL_ADC_AWD_CHANNEL_19_REG (0) + * @arg @ref LL_ADC_AWD_CHANNEL_19_INJ (0) + * @arg @ref LL_ADC_AWD_CHANNEL_19_REG_INJ + * @arg @ref LL_ADC_AWD_CH_VREFINT_REG (0)(1) + * @arg @ref LL_ADC_AWD_CH_VREFINT_INJ (0)(1) + * @arg @ref LL_ADC_AWD_CH_VREFINT_REG_INJ (1) + * @arg @ref LL_ADC_AWD_CH_TEMPSENSOR_REG (0)(1) + * @arg @ref LL_ADC_AWD_CH_TEMPSENSOR_INJ (0)(1) + * @arg @ref LL_ADC_AWD_CH_TEMPSENSOR_REG_INJ (1) + * @arg @ref LL_ADC_AWD_CH_VBAT_REG (0)(1) + * @arg @ref LL_ADC_AWD_CH_VBAT_INJ (0)(1) + * @arg @ref LL_ADC_AWD_CH_VBAT_REG_INJ (1) + * @arg @ref LL_ADC_AWD_CH_DAC1CH1_ADC2_REG (0)(2) + * @arg @ref LL_ADC_AWD_CH_DAC1CH1_ADC2_INJ (0)(2) + * @arg @ref LL_ADC_AWD_CH_DAC1CH1_ADC2_REG_INJ (2) + * @arg @ref LL_ADC_AWD_CH_DAC1CH2_ADC2_REG (0)(2) + * @arg @ref LL_ADC_AWD_CH_DAC1CH2_ADC2_INJ (0)(2) + * @arg @ref LL_ADC_AWD_CH_DAC1CH2_ADC2_REG_INJ (2) + * + * (0) On STM32H7, parameter available only on analog watchdog number: AWD1.\n + * (1) On STM32H7, parameter available only on ADC instance: ADC3.\n + * (2) On STM32H7, parameter available only on ADC instance: ADC2. + * @retval None + */ +static inline void LL_ADC_SetAnalogWDMonitChannels(ADC_TypeDef *ADCx, uint32_t AWDy, uint32_t AWDChannelGroup) +{ + /* Set bits with content of parameter "AWDChannelGroup" with bits position */ + /* in register and register position depending on parameter "AWDy". */ + /* Parameters "AWDChannelGroup" and "AWDy" are used with masks because */ + /* containing other bits reserved for other purpose. */ + volatile uint32_t *preg = ((volatile uint32_t *)((uint32_t) ((uint32_t)(&(ADCx->CFGR)) + ((((AWDy & ((0x00000000UL) | (0x00100000UL) | (0x00200000UL))) >> (20UL)) + ((AWDy & ((0x00001UL << (0U)))) * (0x00000024UL))) << 2UL)))) + ; + + (((*preg)) = ((((((*preg))) & (~((AWDy & (((0x1FUL << (26U)) | (0x1UL << (24U)) | (0x1UL << (23U)) | (0x1UL << (22U))) | ((0xFFFFFUL << (0U)))))))) | (AWDChannelGroup & AWDy)))) + + ; +} + +/** + * @brief Get ADC analog watchdog monitored channel. + * @note Usage of the returned channel number: + * - To reinject this channel into another function LL_ADC_xxx: + * the returned channel number is only partly formatted on definition + * of literals LL_ADC_CHANNEL_x. Therefore, it has to be compared + * with parts of literals LL_ADC_CHANNEL_x or using + * helper macro @ref __LL_ADC_CHANNEL_TO_DECIMAL_NB(). + * Then the selected literal LL_ADC_CHANNEL_x can be used + * as parameter for another function. + * - To get the channel number in decimal format: + * process the returned value with the helper macro + * @ref __LL_ADC_CHANNEL_TO_DECIMAL_NB(). + * Applicable only when the analog watchdog is set to monitor + * one channel. + * @note On this STM32 series, there are 2 kinds of analog watchdog + * instance: + * - AWD standard (instance AWD1): + * - channels monitored: can monitor 1 channel or all channels. + * - groups monitored: ADC groups regular and-or injected. + * - resolution: resolution is not limited (corresponds to + * ADC resolution configured). + * - AWD flexible (instances AWD2, AWD3): + * - channels monitored: flexible on channels monitored, selection is + * channel wise, from from 1 to all channels. + * Specificity of this analog watchdog: Multiple channels can + * be selected. For example: + * (LL_ADC_AWD_CHANNEL4_REG_INJ | LL_ADC_AWD_CHANNEL5_REG_INJ | ...) + * - groups monitored: not selection possible (monitoring on both + * groups regular and injected). + * Channels selected are monitored on groups regular and injected: + * LL_ADC_AWD_CHANNELxx_REG_INJ (do not use parameters + * LL_ADC_AWD_CHANNELxx_REG and LL_ADC_AWD_CHANNELxx_INJ) + * - resolution: resolution is limited to 8 bits: if ADC resolution is + * 12 bits the 4 LSB are ignored, if ADC resolution is 10 bits + * the 2 LSB are ignored. + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * ADC must be disabled or enabled without conversion on going + * on either groups regular or injected. + * @rmtoll CFGR AWD1CH LL_ADC_GetAnalogWDMonitChannels\n + * CFGR AWD1SGL LL_ADC_GetAnalogWDMonitChannels\n + * CFGR AWD1EN LL_ADC_GetAnalogWDMonitChannels\n + * CFGR JAWD1EN LL_ADC_GetAnalogWDMonitChannels\n + * AWD2CR AWD2CH LL_ADC_GetAnalogWDMonitChannels\n + * AWD3CR AWD3CH LL_ADC_GetAnalogWDMonitChannels + * @param ADCx ADC instance + * @param AWDy This parameter can be one of the following values: + * @arg @ref LL_ADC_AWD1 + * @arg @ref LL_ADC_AWD2 (1) + * @arg @ref LL_ADC_AWD3 (1) + * + * (1) On this AWD number, monitored channel can be retrieved + * if only 1 channel is programmed (or none or all channels). + * This function cannot retrieve monitored channel if + * multiple channels are programmed simultaneously + * by bitfield. + * @retval Returned value can be one of the following values: + * @arg @ref LL_ADC_AWD_DISABLE + * @arg @ref LL_ADC_AWD_ALL_CHANNELS_REG (0) + * @arg @ref LL_ADC_AWD_ALL_CHANNELS_INJ (0) + * @arg @ref LL_ADC_AWD_ALL_CHANNELS_REG_INJ + * @arg @ref LL_ADC_AWD_CHANNEL_0_REG (0) + * @arg @ref LL_ADC_AWD_CHANNEL_0_INJ (0) + * @arg @ref LL_ADC_AWD_CHANNEL_0_REG_INJ + * @arg @ref LL_ADC_AWD_CHANNEL_1_REG (0) + * @arg @ref LL_ADC_AWD_CHANNEL_1_INJ (0) + * @arg @ref LL_ADC_AWD_CHANNEL_1_REG_INJ + * @arg @ref LL_ADC_AWD_CHANNEL_2_REG (0) + * @arg @ref LL_ADC_AWD_CHANNEL_2_INJ (0) + * @arg @ref LL_ADC_AWD_CHANNEL_2_REG_INJ + * @arg @ref LL_ADC_AWD_CHANNEL_3_REG (0) + * @arg @ref LL_ADC_AWD_CHANNEL_3_INJ (0) + * @arg @ref LL_ADC_AWD_CHANNEL_3_REG_INJ + * @arg @ref LL_ADC_AWD_CHANNEL_4_REG (0) + * @arg @ref LL_ADC_AWD_CHANNEL_4_INJ (0) + * @arg @ref LL_ADC_AWD_CHANNEL_4_REG_INJ + * @arg @ref LL_ADC_AWD_CHANNEL_5_REG (0) + * @arg @ref LL_ADC_AWD_CHANNEL_5_INJ (0) + * @arg @ref LL_ADC_AWD_CHANNEL_5_REG_INJ + * @arg @ref LL_ADC_AWD_CHANNEL_6_REG (0) + * @arg @ref LL_ADC_AWD_CHANNEL_6_INJ (0) + * @arg @ref LL_ADC_AWD_CHANNEL_6_REG_INJ + * @arg @ref LL_ADC_AWD_CHANNEL_7_REG (0) + * @arg @ref LL_ADC_AWD_CHANNEL_7_INJ (0) + * @arg @ref LL_ADC_AWD_CHANNEL_7_REG_INJ + * @arg @ref LL_ADC_AWD_CHANNEL_8_REG (0) + * @arg @ref LL_ADC_AWD_CHANNEL_8_INJ (0) + * @arg @ref LL_ADC_AWD_CHANNEL_8_REG_INJ + * @arg @ref LL_ADC_AWD_CHANNEL_9_REG (0) + * @arg @ref LL_ADC_AWD_CHANNEL_9_INJ (0) + * @arg @ref LL_ADC_AWD_CHANNEL_9_REG_INJ + * @arg @ref LL_ADC_AWD_CHANNEL_10_REG (0) + * @arg @ref LL_ADC_AWD_CHANNEL_10_INJ (0) + * @arg @ref LL_ADC_AWD_CHANNEL_10_REG_INJ + * @arg @ref LL_ADC_AWD_CHANNEL_11_REG (0) + * @arg @ref LL_ADC_AWD_CHANNEL_11_INJ (0) + * @arg @ref LL_ADC_AWD_CHANNEL_11_REG_INJ + * @arg @ref LL_ADC_AWD_CHANNEL_12_REG (0) + * @arg @ref LL_ADC_AWD_CHANNEL_12_INJ (0) + * @arg @ref LL_ADC_AWD_CHANNEL_12_REG_INJ + * @arg @ref LL_ADC_AWD_CHANNEL_13_REG (0) + * @arg @ref LL_ADC_AWD_CHANNEL_13_INJ (0) + * @arg @ref LL_ADC_AWD_CHANNEL_13_REG_INJ + * @arg @ref LL_ADC_AWD_CHANNEL_14_REG (0) + * @arg @ref LL_ADC_AWD_CHANNEL_14_INJ (0) + * @arg @ref LL_ADC_AWD_CHANNEL_14_REG_INJ + * @arg @ref LL_ADC_AWD_CHANNEL_15_REG (0) + * @arg @ref LL_ADC_AWD_CHANNEL_15_INJ (0) + * @arg @ref LL_ADC_AWD_CHANNEL_15_REG_INJ + * @arg @ref LL_ADC_AWD_CHANNEL_16_REG (0) + * @arg @ref LL_ADC_AWD_CHANNEL_16_INJ (0) + * @arg @ref LL_ADC_AWD_CHANNEL_16_REG_INJ + * @arg @ref LL_ADC_AWD_CHANNEL_17_REG (0) + * @arg @ref LL_ADC_AWD_CHANNEL_17_INJ (0) + * @arg @ref LL_ADC_AWD_CHANNEL_17_REG_INJ + * @arg @ref LL_ADC_AWD_CHANNEL_18_REG (0) + * @arg @ref LL_ADC_AWD_CHANNEL_18_INJ (0) + * @arg @ref LL_ADC_AWD_CHANNEL_18_REG_INJ + * @arg @ref LL_ADC_AWD_CHANNEL_19_REG (0) + * @arg @ref LL_ADC_AWD_CHANNEL_19_INJ (0) + * @arg @ref LL_ADC_AWD_CHANNEL_19_REG_INJ + * + * (0) On STM32H7, parameter available only on analog watchdog number: AWD1. + */ +static inline uint32_t LL_ADC_GetAnalogWDMonitChannels(const ADC_TypeDef *ADCx, uint32_t AWDy) +{ + const volatile uint32_t *preg = ((volatile uint32_t *)((uint32_t) ((uint32_t)(&(ADCx->CFGR)) + ((((AWDy & ((0x00000000UL) | (0x00100000UL) | (0x00200000UL))) >> (20UL)) + ((AWDy & ((0x00001UL << (0U)))) * (0x00000024UL))) << 2UL)))) + ; + + uint32_t AnalogWDMonitChannels = (((*preg) & (AWDy)) & AWDy & (((0x1FUL << (26U)) | (0x1UL << (24U)) | (0x1UL << (23U)) | (0x1UL << (22U))) | ((0xFFFFFUL << (0U))))); + + /* If "AnalogWDMonitChannels" == 0, then the selected AWD is disabled */ + /* (parameter value LL_ADC_AWD_DISABLE). */ + /* Else, the selected AWD is enabled and is monitoring a group of channels */ + /* or a single channel. */ + if (AnalogWDMonitChannels != 0UL) + { + if (AWDy == (((0x1FUL << (26U)) | (0x1UL << (24U)) | (0x1UL << (23U)) | (0x1UL << (22U))) | (0x00000000UL))) + { + if ((AnalogWDMonitChannels & (0x1UL << (22U))) == 0UL) + { + /* AWD monitoring a group of channels */ + AnalogWDMonitChannels = ((AnalogWDMonitChannels + | (((0xFFFFFUL << (0U)))) + ) + & (~((0x1FUL << (26U)))) + ); + } + else + { + /* AWD monitoring a single channel */ + AnalogWDMonitChannels = (AnalogWDMonitChannels + | ((0x00001UL << (0U)) << (AnalogWDMonitChannels >> (26U))) + ); + } + } + else + { + if ((AnalogWDMonitChannels & ((0xFFFFFUL << (0U)))) == ((0xFFFFFUL << (0U)))) + { + /* AWD monitoring a group of channels */ + AnalogWDMonitChannels = (((0xFFFFFUL << (0U))) + | (((0x1UL << (24U)) | (0x1UL << (23U)))) + ); + } + else + { + /* AWD monitoring a single channel */ + /* AWD monitoring a group of channels */ + AnalogWDMonitChannels = (AnalogWDMonitChannels + | ((0x1UL << (24U)) | (0x1UL << (23U)) | (0x1UL << (22U))) + | (((((AnalogWDMonitChannels) & ((0xFFFFFUL << (0U)))) == 0UL) ? ( ((AnalogWDMonitChannels) & ((0x1FUL << (26U)))) >> (26UL) ) : ( (uint32_t)(__CLZ(__RBIT((AnalogWDMonitChannels)))) ) ) << (26U)) + ); + } + } + } + + return AnalogWDMonitChannels; +} + +/** + * @brief Set ADC analog watchdog threshold value of threshold + * high or low. + * @note In case of ADC resolution different of 12 bits, + * analog watchdog thresholds data require a specific shift. + * Use helper macro @ref __LL_ADC_ANALOGWD_SET_THRESHOLD_RESOLUTION(). + * @note On this STM32 series, there are 2 kinds of analog watchdog + * instance: + * - AWD standard (instance AWD1): + * - channels monitored: can monitor 1 channel or all channels. + * - groups monitored: ADC groups regular and-or injected. + * - resolution: resolution is not limited (corresponds to + * ADC resolution configured). + * - AWD flexible (instances AWD2, AWD3): + * - channels monitored: flexible on channels monitored, selection is + * channel wise, from from 1 to all channels. + * Specificity of this analog watchdog: Multiple channels can + * be selected. For example: + * (LL_ADC_AWD_CHANNEL4_REG_INJ | LL_ADC_AWD_CHANNEL5_REG_INJ | ...) + * - groups monitored: not selection possible (monitoring on both + * groups regular and injected). + * Channels selected are monitored on groups regular and injected: + * LL_ADC_AWD_CHANNELxx_REG_INJ (do not use parameters + * LL_ADC_AWD_CHANNELxx_REG and LL_ADC_AWD_CHANNELxx_INJ) + * - resolution: resolution is limited to 8 bits: if ADC resolution is + * 12 bits the 4 LSB are ignored, if ADC resolution is 10 bits + * the 2 LSB are ignored. + * @note If ADC oversampling is enabled, ADC analog watchdog thresholds are + * impacted: the comparison of analog watchdog thresholds is done + * on oversampling intermediate computation (after ratio, before shift + * application): intermediate register bitfield [32:7] + * (26 most significant bits). + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * ADC must be disabled or enabled without conversion on going + * on either ADC groups regular or injected. + * @rmtoll TR1 HT1 LL_ADC_SetAnalogWDThresholds\n + * TR2 HT2 LL_ADC_SetAnalogWDThresholds\n + * TR3 HT3 LL_ADC_SetAnalogWDThresholds\n + * TR1 LT1 LL_ADC_SetAnalogWDThresholds\n + * TR2 LT2 LL_ADC_SetAnalogWDThresholds\n + * TR3 LT3 LL_ADC_SetAnalogWDThresholds + * @param ADCx ADC instance + * @param AWDy This parameter can be one of the following values: + * @arg @ref LL_ADC_AWD1 + * @arg @ref LL_ADC_AWD2 + * @arg @ref LL_ADC_AWD3 + * @param AWDThresholdsHighLow This parameter can be one of the following values: + * @arg @ref LL_ADC_AWD_THRESHOLD_HIGH + * @arg @ref LL_ADC_AWD_THRESHOLD_LOW + * @param AWDThresholdValue Value between Min_Data=0x000 and Max_Data=0xFFF + * @retval None + */ +static inline void LL_ADC_SetAnalogWDThresholds(ADC_TypeDef *ADCx, uint32_t AWDy, uint32_t AWDThresholdsHighLow, uint32_t AWDThresholdValue) +{ +# 6052 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_adc.h" + /* Set bits with content of parameter "AWDThresholdValue" with bits */ + /* position in register and register position depending on parameters */ + /* "AWDThresholdsHighLow" and "AWDy". */ + /* Parameters "AWDy" and "AWDThresholdValue" are used with masks because */ + /* containing other bits reserved for other purpose. */ + volatile uint32_t *preg = ((volatile uint32_t *)((uint32_t) ((uint32_t)(&(ADCx->LTR1)) + (((((AWDy & (((0x00000000UL)) | ((0x00100000UL)) | ((0x00200000UL)))) >> ((20UL))) * 2UL) + ((AWDy & ((0x00001UL << (0U)))) * (0x00000022UL)) + (AWDThresholdsHighLow)) << 2UL)))) + + ; + + (((*preg)) = ((((((*preg))) & (~((0x3FFFFFFUL << (0U))))) | (AWDThresholdValue)))); + +} + +/** + * @brief Get ADC analog watchdog threshold value of threshold high, + * threshold low or raw data with ADC thresholds high and low + * concatenated. + * @note In case of ADC resolution different of 12 bits, + * analog watchdog thresholds data require a specific shift. + * Use helper macro @ref __LL_ADC_ANALOGWD_GET_THRESHOLD_RESOLUTION(). + * @rmtoll TR1 HT1 LL_ADC_GetAnalogWDThresholds\n + * TR2 HT2 LL_ADC_GetAnalogWDThresholds\n + * TR3 HT3 LL_ADC_GetAnalogWDThresholds\n + * TR1 LT1 LL_ADC_GetAnalogWDThresholds\n + * TR2 LT2 LL_ADC_GetAnalogWDThresholds\n + * TR3 LT3 LL_ADC_GetAnalogWDThresholds + * @param ADCx ADC instance + * @param AWDy This parameter can be one of the following values: + * @arg @ref LL_ADC_AWD1 + * @arg @ref LL_ADC_AWD2 + * @arg @ref LL_ADC_AWD3 + * @param AWDThresholdsHighLow This parameter can be one of the following values: + * @arg @ref LL_ADC_AWD_THRESHOLD_HIGH + * @arg @ref LL_ADC_AWD_THRESHOLD_LOW + * @retval Value between Min_Data=0x000 and Max_Data=0x3FFFFFF +*/ +static inline uint32_t LL_ADC_GetAnalogWDThresholds(const ADC_TypeDef *ADCx, uint32_t AWDy, uint32_t AWDThresholdsHighLow) +{ +# 6110 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_adc.h" + const volatile uint32_t *preg = ((volatile uint32_t *)((uint32_t) ((uint32_t)(&(ADCx->LTR1)) + (((((AWDy & (((0x00000000UL)) | ((0x00100000UL)) | ((0x00200000UL)))) >> ((20UL))) * 2UL) + ((AWDy & ((0x00001UL << (0U)))) * (0x00000022UL)) + (AWDThresholdsHighLow)) << 2UL)))) + + ; + + return (uint32_t)(((*preg) & ((0x3FFFFFFUL << (0U))))); + +} +# 6263 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_adc.h" +/** + * @} + */ + +/** @defgroup ADC_LL_EF_Configuration_ADC_oversampling Configuration of ADC transversal scope: oversampling + * @{ + */ + +/** + * @brief Set ADC oversampling scope: ADC groups regular and-or injected + * (availability of ADC group injected depends on STM32 families). + * @note If both groups regular and injected are selected, + * specify behavior of ADC group injected interrupting + * group regular: when ADC group injected is triggered, + * the oversampling on ADC group regular is either + * temporary stopped and continued, or resumed from start + * (oversampler buffer reset). + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * ADC must be disabled or enabled without conversion on going + * on either groups regular or injected. + * @rmtoll CFGR2 ROVSE LL_ADC_SetOverSamplingScope\n + * CFGR2 JOVSE LL_ADC_SetOverSamplingScope\n + * CFGR2 ROVSM LL_ADC_SetOverSamplingScope + * @param ADCx ADC instance + * @param OvsScope This parameter can be one of the following values: + * @arg @ref LL_ADC_OVS_DISABLE + * @arg @ref LL_ADC_OVS_GRP_REGULAR_CONTINUED + * @arg @ref LL_ADC_OVS_GRP_REGULAR_RESUMED + * @arg @ref LL_ADC_OVS_GRP_INJECTED + * @arg @ref LL_ADC_OVS_GRP_INJ_REG_RESUMED + * @retval None + */ +static inline void LL_ADC_SetOverSamplingScope(ADC_TypeDef *ADCx, uint32_t OvsScope) +{ + (((ADCx->CFGR2)) = ((((((ADCx->CFGR2))) & (~((0x1UL << (0U)) | (0x1UL << (1U)) | (0x1UL << (10U))))) | (OvsScope)))); +} + +/** + * @brief Get ADC oversampling scope: ADC groups regular and-or injected + * (availability of ADC group injected depends on STM32 families). + * @note If both groups regular and injected are selected, + * specify behavior of ADC group injected interrupting + * group regular: when ADC group injected is triggered, + * the oversampling on ADC group regular is either + * temporary stopped and continued, or resumed from start + * (oversampler buffer reset). + * @rmtoll CFGR2 ROVSE LL_ADC_GetOverSamplingScope\n + * CFGR2 JOVSE LL_ADC_GetOverSamplingScope\n + * CFGR2 ROVSM LL_ADC_GetOverSamplingScope + * @param ADCx ADC instance + * @retval Returned value can be one of the following values: + * @arg @ref LL_ADC_OVS_DISABLE + * @arg @ref LL_ADC_OVS_GRP_REGULAR_CONTINUED + * @arg @ref LL_ADC_OVS_GRP_REGULAR_RESUMED + * @arg @ref LL_ADC_OVS_GRP_INJECTED + * @arg @ref LL_ADC_OVS_GRP_INJ_REG_RESUMED + */ +static inline uint32_t LL_ADC_GetOverSamplingScope(const ADC_TypeDef *ADCx) +{ + return (uint32_t)(((ADCx->CFGR2) & ((0x1UL << (0U)) | (0x1UL << (1U)) | (0x1UL << (10U))))); +} + +/** + * @brief Set ADC oversampling discontinuous mode (triggered mode) + * on the selected ADC group. + * @note Number of oversampled conversions are done either in: + * - continuous mode (all conversions of oversampling ratio + * are done from 1 trigger) + * - discontinuous mode (each conversion of oversampling ratio + * needs a trigger) + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * ADC must be disabled or enabled without conversion on going + * on group regular. + * @note On this STM32 series, oversampling discontinuous mode + * (triggered mode) can be used only when oversampling is + * set on group regular only and in resumed mode. + * @rmtoll CFGR2 TROVS LL_ADC_SetOverSamplingDiscont + * @param ADCx ADC instance + * @param OverSamplingDiscont This parameter can be one of the following values: + * @arg @ref LL_ADC_OVS_REG_CONT + * @arg @ref LL_ADC_OVS_REG_DISCONT + * @retval None + */ +static inline void LL_ADC_SetOverSamplingDiscont(ADC_TypeDef *ADCx, uint32_t OverSamplingDiscont) +{ + (((ADCx->CFGR2)) = ((((((ADCx->CFGR2))) & (~((0x1UL << (9U))))) | (OverSamplingDiscont)))); +} + +/** + * @brief Get ADC oversampling discontinuous mode (triggered mode) + * on the selected ADC group. + * @note Number of oversampled conversions are done either in: + * - continuous mode (all conversions of oversampling ratio + * are done from 1 trigger) + * - discontinuous mode (each conversion of oversampling ratio + * needs a trigger) + * @rmtoll CFGR2 TROVS LL_ADC_GetOverSamplingDiscont + * @param ADCx ADC instance + * @retval Returned value can be one of the following values: + * @arg @ref LL_ADC_OVS_REG_CONT + * @arg @ref LL_ADC_OVS_REG_DISCONT + */ +static inline uint32_t LL_ADC_GetOverSamplingDiscont(const ADC_TypeDef *ADCx) +{ + return (uint32_t)(((ADCx->CFGR2) & ((0x1UL << (9U))))); +} + +/** + * @brief Set ADC oversampling + * (impacting both ADC groups regular and injected) + * @note This function set the 2 items of oversampling configuration: + * - ratio + * - shift + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * ADC must be disabled or enabled without conversion on going + * on either groups regular or injected. + * @rmtoll CFGR2 OVSS LL_ADC_ConfigOverSamplingRatioShift\n + * CFGR2 OVSR LL_ADC_ConfigOverSamplingRatioShift + * @param ADCx ADC instance + * @param Ratio This parameter can be in the range from 1 to 1024. + * In the case of ADC3 can be one of the following values: + * @arg @ref LL_ADC_OVS_RATIO_2 + * @arg @ref LL_ADC_OVS_RATIO_4 + * @arg @ref LL_ADC_OVS_RATIO_8 + * @arg @ref LL_ADC_OVS_RATIO_16 + * @arg @ref LL_ADC_OVS_RATIO_32 + * @arg @ref LL_ADC_OVS_RATIO_64 + * @arg @ref LL_ADC_OVS_RATIO_128 + * @arg @ref LL_ADC_OVS_RATIO_256 + * @param Shift This parameter can be one of the following values: + * @arg @ref LL_ADC_OVS_SHIFT_NONE + * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_1 + * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_2 + * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_3 + * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_4 + * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_5 + * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_6 + * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_7 + * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_8 + * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_9 + * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_10 + * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_11 + * @retval None + */ +static inline void LL_ADC_ConfigOverSamplingRatioShift(ADC_TypeDef *ADCx, uint32_t Ratio, uint32_t Shift) +{ +# 6423 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_adc.h" + (((ADCx->CFGR2)) = ((((((ADCx->CFGR2))) & (~(((0xFUL << (5U)) | (0x3FFUL << (16U)))))) | ((Shift | (((Ratio - 1UL) << (16U)))))))); + + +} + +/** + * @brief Get ADC oversampling ratio + * (impacting both ADC groups regular and injected) + * @rmtoll CFGR2 OVSR LL_ADC_GetOverSamplingRatio + * @param ADCx ADC instance + * @retval Ratio This parameter can be in the from 1 to 1024. + * In the case of ADC3 can be one of the following values: + * @arg @ref LL_ADC_OVS_RATIO_2 + * @arg @ref LL_ADC_OVS_RATIO_4 + * @arg @ref LL_ADC_OVS_RATIO_8 + * @arg @ref LL_ADC_OVS_RATIO_16 + * @arg @ref LL_ADC_OVS_RATIO_32 + * @arg @ref LL_ADC_OVS_RATIO_64 + * @arg @ref LL_ADC_OVS_RATIO_128 + * @arg @ref LL_ADC_OVS_RATIO_256 +*/ +static inline uint32_t LL_ADC_GetOverSamplingRatio(const ADC_TypeDef *ADCx) +{ +# 6457 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_adc.h" + return (((uint32_t)(((ADCx->CFGR2) & ((0x3FFUL << (16U))))) + (1UL << (16U))) >> (16U)); + + +} + +/** + * @brief Get ADC oversampling shift + * (impacting both ADC groups regular and injected) + * @rmtoll CFGR2 OVSS LL_ADC_GetOverSamplingShift + * @param ADCx ADC instance + * @retval Shift This parameter can be one of the following values: + * @arg @ref LL_ADC_OVS_SHIFT_NONE + * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_1 + * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_2 + * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_3 + * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_4 + * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_5 + * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_6 + * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_7 + * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_8 + * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_9 + * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_10 + * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_11 +*/ +static inline uint32_t LL_ADC_GetOverSamplingShift(const ADC_TypeDef *ADCx) +{ + return (uint32_t)(((ADCx->CFGR2) & ((0xFUL << (5U))))); +} + +/** + * @} + */ + +/** @defgroup ADC_LL_EF_Configuration_ADC_Multimode Configuration of ADC hierarchical scope: multimode + * @{ + */ +/** + * @brief Set ADC boost mode. + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * ADC boost must be configured, without calibration on going, without conversion + * on going on group regular. + * @rmtoll CR BOOST LL_ADC_SetBoostMode + * @param ADCx ADC instance + * @param BoostMode This parameter can be one of the following values: + * @arg @ref LL_ADC_BOOST_MODE_6MHZ25 + * @arg @ref LL_ADC_BOOST_MODE_12MHZ5 + * @arg @ref LL_ADC_BOOST_MODE_20MHZ + * @arg @ref LL_ADC_BOOST_MODE_25MHZ + * @arg @ref LL_ADC_BOOST_MODE_50MHZ + * @retval None + */ +static inline void LL_ADC_SetBoostMode(ADC_TypeDef *ADCx, uint32_t BoostMode) +{ + + + + + + + if ((((DBGMCU_TypeDef *) (0x5C001000UL))->IDCODE & 0x30000000UL) == 0x10000000UL) + { + (((ADCx->CR)) = ((((((ADCx->CR))) & (~((0x1UL << (8U))))) | ((BoostMode >> 2UL))))); + } + else + { + (((ADCx->CR)) = ((((((ADCx->CR))) & (~((0x3UL << (8U))))) | ((BoostMode & (0x3UL << (8U))))))); + } + +} + + +/** + * @brief Get ADC boost mode. + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * ADC boost must be configured, without calibration on going, without conversion + * on going on group regular. + * @rmtoll CR BOOST LL_ADC_GetBoostMode + * @param ADCx ADC instance + * @retval 0: Boost disabled 1: Boost enabled + */ +static inline uint32_t LL_ADC_GetBoostMode(const ADC_TypeDef *ADCx) +{ + if ((((DBGMCU_TypeDef *) (0x5C001000UL))->IDCODE & 0x30000000UL) == 0x10000000UL) + { + return (uint32_t)((ADCx->CR) & ((0x1UL << (8U)))); + } + else + { + return ((((ADCx->CR) & ((0x3UL << (8U)))) == ((0x3UL << (8U)))) ? 1UL : 0UL); + } +} + +/** + * @brief Set ADC multimode configuration to operate in independent mode + * or multimode (for devices with several ADC instances). + * @note If multimode configuration: the selected ADC instance is + * either master or slave depending on hardware. + * Refer to reference manual. + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * All ADC instances of the ADC common group must be disabled. + * This check can be done with function @ref LL_ADC_IsEnabled() for each + * ADC instance or by using helper macro + * @ref __LL_ADC_IS_ENABLED_ALL_COMMON_INSTANCE(). + * @rmtoll CCR DUAL LL_ADC_SetMultimode + * @param ADCxy_COMMON ADC common instance + * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMON_INSTANCE() ) + * @param Multimode This parameter can be one of the following values: + * @arg @ref LL_ADC_MULTI_INDEPENDENT + * @arg @ref LL_ADC_MULTI_DUAL_REG_SIMULT + * @arg @ref LL_ADC_MULTI_DUAL_REG_INTERL + * @arg @ref LL_ADC_MULTI_DUAL_INJ_SIMULT + * @arg @ref LL_ADC_MULTI_DUAL_INJ_ALTERN + * @arg @ref LL_ADC_MULTI_DUAL_REG_SIM_INJ_SIM + * @arg @ref LL_ADC_MULTI_DUAL_REG_SIM_INJ_ALT + * @arg @ref LL_ADC_MULTI_DUAL_REG_INT_INJ_SIM + * @retval None + */ +static inline void LL_ADC_SetMultimode(ADC_Common_TypeDef *ADCxy_COMMON, uint32_t Multimode) +{ + (((ADCxy_COMMON->CCR)) = ((((((ADCxy_COMMON->CCR))) & (~((0x1FUL << (0U))))) | (Multimode)))); +} + +/** + * @brief Get ADC multimode configuration to operate in independent mode + * or multimode (for devices with several ADC instances). + * @note If multimode configuration: the selected ADC instance is + * either master or slave depending on hardware. + * Refer to reference manual. + * @rmtoll CCR DUAL LL_ADC_GetMultimode + * @param ADCxy_COMMON ADC common instance + * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMON_INSTANCE() ) + * @retval Returned value can be one of the following values: + * @arg @ref LL_ADC_MULTI_INDEPENDENT + * @arg @ref LL_ADC_MULTI_DUAL_REG_SIMULT + * @arg @ref LL_ADC_MULTI_DUAL_REG_INTERL + * @arg @ref LL_ADC_MULTI_DUAL_INJ_SIMULT + * @arg @ref LL_ADC_MULTI_DUAL_INJ_ALTERN + * @arg @ref LL_ADC_MULTI_DUAL_REG_SIM_INJ_SIM + * @arg @ref LL_ADC_MULTI_DUAL_REG_SIM_INJ_ALT + * @arg @ref LL_ADC_MULTI_DUAL_REG_INT_INJ_SIM + */ +static inline uint32_t LL_ADC_GetMultimode(const ADC_Common_TypeDef *ADCxy_COMMON) +{ + return (uint32_t)(((ADCxy_COMMON->CCR) & ((0x1FUL << (0U))))); +} + +/** + * @brief Set ADC multimode conversion data transfer: no transfer + * or transfer by DMA. + * @note If ADC multimode transfer by DMA is not selected: + * each ADC uses its own DMA channel, with its individual + * DMA transfer settings. + * If ADC multimode transfer by DMA is selected: + * One DMA channel is used for both ADC (DMA of ADC master) + * Specifies the DMA requests mode: + * - Limited mode (One shot mode): DMA transfer requests are stopped + * when number of DMA data transfers (number of + * ADC conversions) is reached. + * This ADC mode is intended to be used with DMA mode non-circular. + * - Unlimited mode: DMA transfer requests are unlimited, + * whatever number of DMA data transfers (number of + * ADC conversions). + * This ADC mode is intended to be used with DMA mode circular. + * @note If ADC DMA requests mode is set to unlimited and DMA is set to + * mode non-circular: + * when DMA transfers size will be reached, DMA will stop transfers of + * ADC conversions data ADC will raise an overrun error + * (overrun flag and interruption if enabled). + * @note How to retrieve multimode conversion data: + * Whatever multimode transfer by DMA setting: using function + * @ref LL_ADC_REG_ReadMultiConversionData32(). + * If ADC multimode transfer by DMA is selected: conversion data + * is a raw data with ADC master and slave concatenated. + * A macro is available to get the conversion data of + * ADC master or ADC slave: see helper macro + * @ref __LL_ADC_MULTI_CONV_DATA_MASTER_SLAVE(). + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * All ADC instances of the ADC common group must be disabled + * or enabled without conversion on going on group regular. + * @rmtoll CCR DAMDF LL_ADC_GetMultiDMATransfer\n + * @param ADCxy_COMMON ADC common instance + * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMON_INSTANCE() ) + * @param MultiDMATransfer This parameter can be one of the following values: + * @arg @ref LL_ADC_MULTI_REG_DMA_EACH_ADC + * @arg @ref LL_ADC_MULTI_REG_DMA_RES_32_10B + * @arg @ref LL_ADC_MULTI_REG_DMA_RES_8B + * @retval None + */ +static inline void LL_ADC_SetMultiDMATransfer(ADC_Common_TypeDef *ADCxy_COMMON, uint32_t MultiDMATransfer) +{ + (((ADCxy_COMMON->CCR)) = ((((((ADCxy_COMMON->CCR))) & (~((0x3UL << (14U))))) | (MultiDMATransfer)))); +} + +/** + * @brief Get ADC multimode conversion data transfer: no transfer + * or transfer by DMA. + * @note If ADC multimode transfer by DMA is not selected: + * each ADC uses its own DMA channel, with its individual + * DMA transfer settings. + * If ADC multimode transfer by DMA is selected: + * One DMA channel is used for both ADC (DMA of ADC master) + * Specifies the DMA requests mode: + * - Limited mode (One shot mode): DMA transfer requests are stopped + * when number of DMA data transfers (number of + * ADC conversions) is reached. + * This ADC mode is intended to be used with DMA mode non-circular. + * - Unlimited mode: DMA transfer requests are unlimited, + * whatever number of DMA data transfers (number of + * ADC conversions). + * This ADC mode is intended to be used with DMA mode circular. + * @note If ADC DMA requests mode is set to unlimited and DMA is set to + * mode non-circular: + * when DMA transfers size will be reached, DMA will stop transfers of + * ADC conversions data ADC will raise an overrun error + * (overrun flag and interruption if enabled). + * @note How to retrieve multimode conversion data: + * Whatever multimode transfer by DMA setting: using function + * @ref LL_ADC_REG_ReadMultiConversionData32(). + * If ADC multimode transfer by DMA is selected: conversion data + * is a raw data with ADC master and slave concatenated. + * A macro is available to get the conversion data of + * ADC master or ADC slave: see helper macro + * @ref __LL_ADC_MULTI_CONV_DATA_MASTER_SLAVE(). + * @rmtoll CCR DAMDF LL_ADC_GetMultiDMATransfer\n + * @param ADCxy_COMMON ADC common instance + * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMON_INSTANCE() ) + * @retval Returned value can be one of the following values: + * @arg @ref LL_ADC_MULTI_REG_DMA_EACH_ADC + * @arg @ref LL_ADC_MULTI_REG_DMA_RES_32_10B + * @arg @ref LL_ADC_MULTI_REG_DMA_RES_8B + */ +static inline uint32_t LL_ADC_GetMultiDMATransfer(const ADC_Common_TypeDef *ADCxy_COMMON) +{ + return (uint32_t)(((ADCxy_COMMON->CCR) & ((0x3UL << (14U))))); +} + +/** + * @brief Set ADC multimode delay between 2 sampling phases. + * @note The sampling delay range depends on ADC resolution: + * - ADC resolution 12 bits can have maximum delay of 12 cycles. + * - ADC resolution 10 bits can have maximum delay of 10 cycles. + * - ADC resolution 8 bits can have maximum delay of 8 cycles. + * - ADC resolution 6 bits can have maximum delay of 6 cycles. + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * All ADC instances of the ADC common group must be disabled. + * This check can be done with function @ref LL_ADC_IsEnabled() for each + * ADC instance or by using helper macro helper macro + * @ref __LL_ADC_IS_ENABLED_ALL_COMMON_INSTANCE(). + * @rmtoll CCR DELAY LL_ADC_SetMultiTwoSamplingDelay + * @param ADCxy_COMMON ADC common instance + * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMON_INSTANCE() ) + * @param MultiTwoSamplingDelay This parameter can be one of the following values: + * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_1CYCLE_5 + * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_2CYCLES_5 + * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_3CYCLES_5 + * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_4CYCLES_5 (1) + * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_4CYCLES_5_8_BITS + * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_5CYCLES_5 (2) + * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_5CYCLES_5_10_BITS + * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_6CYCLES (3) + * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_6CYCLES_5 (4) + * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_6CYCLES_5_12_BITS + * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_7CYCLES_5 (5) + * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_8CYCLES (6) + * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_9CYCLES (7) + * + * (1) Parameter available only if ADC resolution is 16, 14, 12 or 10 bits. + * (2) Parameter available only if ADC resolution is 16, 14 or 12 bits. + * (3) Parameter available only if ADC resolution is 10 or 8 bits. + * (4) Parameter available only if ADC resolution is 16 or 14 bits. + * (5) Parameter available only if ADC resolution is 16 bits. + * (6) Parameter available only if ADC resolution is 12 bits. + * (7) Parameter available only if ADC resolution is 16 or 14 bits. + * @retval None + */ +static inline void LL_ADC_SetMultiTwoSamplingDelay(ADC_Common_TypeDef *ADCxy_COMMON, uint32_t MultiTwoSamplingDelay) +{ + (((ADCxy_COMMON->CCR)) = ((((((ADCxy_COMMON->CCR))) & (~((0xFUL << (8U))))) | (MultiTwoSamplingDelay)))); +} + +/** + * @brief Get ADC multimode delay between 2 sampling phases. + * @rmtoll CCR DELAY LL_ADC_GetMultiTwoSamplingDelay + * @param ADCxy_COMMON ADC common instance + * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMON_INSTANCE() ) + * @retval Returned value can be one of the following values: + * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_1CYCLE_5 + * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_2CYCLES_5 + * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_3CYCLES_5 + * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_4CYCLES_5 (1) + * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_4CYCLES_5_8_BITS + * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_5CYCLES_5 (2) + * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_5CYCLES_5_10_BITS + * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_6CYCLES (3) + * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_6CYCLES_5 (4) + * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_6CYCLES_5_12_BITS + * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_7CYCLES_5 (5) + * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_8CYCLES (6) + * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_9CYCLES (7) + * + * (1) Parameter available only if ADC resolution is 16, 14, 12 or 10 bits. + * (2) Parameter available only if ADC resolution is 16, 14 or 12 bits. + * (3) Parameter available only if ADC resolution is 10 or 8 bits. + * (4) Parameter available only if ADC resolution is 16 or 14 bits. + * (5) Parameter available only if ADC resolution is 16 bits. + * (6) Parameter available only if ADC resolution is 12 bits. + * (7) Parameter available only if ADC resolution is 16 or 14 bits. + */ +static inline uint32_t LL_ADC_GetMultiTwoSamplingDelay(const ADC_Common_TypeDef *ADCxy_COMMON) +{ + return (uint32_t)(((ADCxy_COMMON->CCR) & ((0xFUL << (8U))))); +} + +/** + * @} + */ +/** @defgroup ADC_LL_EF_Operation_ADC_Instance Operation on ADC hierarchical scope: ADC instance + * @{ + */ + +/** + * @brief Put ADC instance in deep power down state. + * @note In case of ADC calibration necessary: When ADC is in deep-power-down + * state, the internal analog calibration is lost. After exiting from + * deep power down, calibration must be relaunched or calibration factor + * (preliminarily saved) must be set back into calibration register. + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * ADC must be ADC disabled. + * @rmtoll CR DEEPPWD LL_ADC_EnableDeepPowerDown + * @param ADCx ADC instance + * @retval None + */ +static inline void LL_ADC_EnableDeepPowerDown(ADC_TypeDef *ADCx) +{ + /* Note: Write register with some additional bits forced to state reset */ + /* instead of modifying only the selected bit for this function, */ + /* to not interfere with bits with HW property "rs". */ + (((ADCx->CR)) = ((((((ADCx->CR))) & (~(((0x1UL << (31U)) | (0x1UL << (5U)) | (0x1UL << (4U)) | (0x1UL << (3U)) | (0x1UL << (2U)) | (0x1UL << (1U)) | (0x1UL << (0U)))))) | ((0x1UL << (29U)))))) + + ; +} + +/** + * @brief Disable ADC deep power down mode. + * @note In case of ADC calibration necessary: When ADC is in deep-power-down + * state, the internal analog calibration is lost. After exiting from + * deep power down, calibration must be relaunched or calibration factor + * (preliminarily saved) must be set back into calibration register. + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * ADC must be ADC disabled. + * @rmtoll CR DEEPPWD LL_ADC_DisableDeepPowerDown + * @param ADCx ADC instance + * @retval None + */ +static inline void LL_ADC_DisableDeepPowerDown(ADC_TypeDef *ADCx) +{ + /* Note: Write register with some additional bits forced to state reset */ + /* instead of modifying only the selected bit for this function, */ + /* to not interfere with bits with HW property "rs". */ + ((ADCx->CR) &= ~(((0x1UL << (29U)) | ((0x1UL << (31U)) | (0x1UL << (5U)) | (0x1UL << (4U)) | (0x1UL << (3U)) | (0x1UL << (2U)) | (0x1UL << (1U)) | (0x1UL << (0U)))))); +} + +/** + * @brief Get the selected ADC instance deep power down state. + * @rmtoll CR DEEPPWD LL_ADC_IsDeepPowerDownEnabled + * @param ADCx ADC instance + * @retval 0: deep power down is disabled, 1: deep power down is enabled. + */ +static inline uint32_t LL_ADC_IsDeepPowerDownEnabled(const ADC_TypeDef *ADCx) +{ + return ((((ADCx->CR) & ((0x1UL << (29U)))) == ((0x1UL << (29U)))) ? 1UL : 0UL); +} + +/** + * @brief Enable ADC instance internal voltage regulator. + * @note On this STM32 series, after ADC internal voltage regulator enable, + * a delay for ADC internal voltage regulator stabilization + * is required before performing a ADC calibration or ADC enable. + * Refer to device datasheet, parameter tADCVREG_STUP. + * Refer to literal @ref LL_ADC_DELAY_INTERNAL_REGUL_STAB_US. + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * ADC must be ADC disabled. + * @rmtoll CR ADVREGEN LL_ADC_EnableInternalRegulator + * @param ADCx ADC instance + * @retval None + */ +static inline void LL_ADC_EnableInternalRegulator(ADC_TypeDef *ADCx) +{ + /* Note: Write register with some additional bits forced to state reset */ + /* instead of modifying only the selected bit for this function, */ + /* to not interfere with bits with HW property "rs". */ + (((ADCx->CR)) = ((((((ADCx->CR))) & (~(((0x1UL << (31U)) | (0x1UL << (5U)) | (0x1UL << (4U)) | (0x1UL << (3U)) | (0x1UL << (2U)) | (0x1UL << (1U)) | (0x1UL << (0U)))))) | ((0x1UL << (28U)))))) + + ; +} + +/** + * @brief Disable ADC internal voltage regulator. + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * ADC must be ADC disabled. + * @rmtoll CR ADVREGEN LL_ADC_DisableInternalRegulator + * @param ADCx ADC instance + * @retval None + */ +static inline void LL_ADC_DisableInternalRegulator(ADC_TypeDef *ADCx) +{ + ((ADCx->CR) &= ~(((0x1UL << (28U)) | ((0x1UL << (31U)) | (0x1UL << (5U)) | (0x1UL << (4U)) | (0x1UL << (3U)) | (0x1UL << (2U)) | (0x1UL << (1U)) | (0x1UL << (0U)))))); +} + +/** + * @brief Get the selected ADC instance internal voltage regulator state. + * @rmtoll CR ADVREGEN LL_ADC_IsInternalRegulatorEnabled + * @param ADCx ADC instance + * @retval 0: internal regulator is disabled, 1: internal regulator is enabled. + */ +static inline uint32_t LL_ADC_IsInternalRegulatorEnabled(const ADC_TypeDef *ADCx) +{ + return ((((ADCx->CR) & ((0x1UL << (28U)))) == ((0x1UL << (28U)))) ? 1UL : 0UL); +} + +/** + * @brief Enable the selected ADC instance. + * @note On this STM32 series, after ADC enable, a delay for + * ADC internal analog stabilization is required before performing a + * ADC conversion start. + * Refer to device datasheet, parameter tSTAB. + * @note On this STM32 series, flag LL_ADC_FLAG_ADRDY is raised when the ADC + * is enabled and when conversion clock is active. + * (not only core clock: this ADC has a dual clock domain) + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * ADC must be ADC disabled and ADC internal voltage regulator enabled. + * @rmtoll CR ADEN LL_ADC_Enable + * @param ADCx ADC instance + * @retval None + */ +static inline void LL_ADC_Enable(ADC_TypeDef *ADCx) +{ + /* Note: Write register with some additional bits forced to state reset */ + /* instead of modifying only the selected bit for this function, */ + /* to not interfere with bits with HW property "rs". */ + (((ADCx->CR)) = ((((((ADCx->CR))) & (~(((0x1UL << (31U)) | (0x1UL << (5U)) | (0x1UL << (4U)) | (0x1UL << (3U)) | (0x1UL << (2U)) | (0x1UL << (1U)) | (0x1UL << (0U)))))) | ((0x1UL << (0U)))))) + + ; +} + +/** + * @brief Disable the selected ADC instance. + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * ADC must be not disabled. Must be enabled without conversion on going + * on either groups regular or injected. + * @rmtoll CR ADDIS LL_ADC_Disable + * @param ADCx ADC instance + * @retval None + */ +static inline void LL_ADC_Disable(ADC_TypeDef *ADCx) +{ + /* Note: Write register with some additional bits forced to state reset */ + /* instead of modifying only the selected bit for this function, */ + /* to not interfere with bits with HW property "rs". */ + (((ADCx->CR)) = ((((((ADCx->CR))) & (~(((0x1UL << (31U)) | (0x1UL << (5U)) | (0x1UL << (4U)) | (0x1UL << (3U)) | (0x1UL << (2U)) | (0x1UL << (1U)) | (0x1UL << (0U)))))) | ((0x1UL << (1U)))))) + + ; +} + +/** + * @brief Get the selected ADC instance enable state. + * @note On this STM32 series, flag LL_ADC_FLAG_ADRDY is raised when the ADC + * is enabled and when conversion clock is active. + * (not only core clock: this ADC has a dual clock domain) + * @rmtoll CR ADEN LL_ADC_IsEnabled + * @param ADCx ADC instance + * @retval 0: ADC is disabled, 1: ADC is enabled. + */ +static inline uint32_t LL_ADC_IsEnabled(const ADC_TypeDef *ADCx) +{ + return ((((ADCx->CR) & ((0x1UL << (0U)))) == ((0x1UL << (0U)))) ? 1UL : 0UL); +} + +/** + * @brief Get the selected ADC instance disable state. + * @rmtoll CR ADDIS LL_ADC_IsDisableOngoing + * @param ADCx ADC instance + * @retval 0: no ADC disable command on going. + */ +static inline uint32_t LL_ADC_IsDisableOngoing(const ADC_TypeDef *ADCx) +{ + return ((((ADCx->CR) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL); +} + +/** + * @brief Start ADC calibration in the mode single-ended + * or differential (for devices with differential mode available). + * @note On this STM32 series, a minimum number of ADC clock cycles + * are required between ADC end of calibration and ADC enable. + * Refer to literal @ref LL_ADC_DELAY_CALIB_ENABLE_ADC_CYCLES. + * @note Calibration duration: + * - Calibration of offset: 520 ADC clock cycles + * - Calibration of linearity: 131072 ADC clock cycles + * @note For devices with differential mode available: + * Calibration of offset is specific to each of + * single-ended and differential modes + * (calibration run must be performed for each of these + * differential modes, if used afterwards and if the application + * requires their calibration). + * Calibration of linearity is common to both + * single-ended and differential modes + * (calibration run can be performed only once). + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * ADC must be ADC disabled. + * @rmtoll CR ADCAL LL_ADC_StartCalibration\n + * CR ADCALDIF LL_ADC_StartCalibration\n + * CR ADCALLIN LL_ADC_StartCalibration + * @param ADCx ADC instance + * @param CalibrationMode This parameter can be one of the following values: + * @arg @ref LL_ADC_CALIB_OFFSET + * @arg @ref LL_ADC_CALIB_OFFSET_LINEARITY + * @param SingleDiff This parameter can be one of the following values: + * @arg @ref LL_ADC_SINGLE_ENDED + * @arg @ref LL_ADC_DIFFERENTIAL_ENDED + * @retval None + */ +static inline void LL_ADC_StartCalibration(ADC_TypeDef *ADCx, uint32_t CalibrationMode, uint32_t SingleDiff) +{ + /* Note: Write register with some additional bits forced to state reset */ + /* instead of modifying only the selected bit for this function, */ + /* to not interfere with bits with HW property "rs". */ + (((ADCx->CR)) = ((((((ADCx->CR))) & (~((0x1UL << (16U)) | (0x1UL << (30U)) | ((0x1UL << (31U)) | (0x1UL << (5U)) | (0x1UL << (4U)) | (0x1UL << (3U)) | (0x1UL << (2U)) | (0x1UL << (1U)) | (0x1UL << (0U)))))) | ((0x1UL << (31U)) | (CalibrationMode & ((0x1UL << (16U)))) | (SingleDiff & ((0x1UL << (30U)))))))) + + ; +} + +/** + * @brief Get ADC calibration state. + * @rmtoll CR ADCAL LL_ADC_IsCalibrationOnGoing + * @param ADCx ADC instance + * @retval 0: calibration complete, 1: calibration in progress. + */ +static inline uint32_t LL_ADC_IsCalibrationOnGoing(const ADC_TypeDef *ADCx) +{ + return ((((ADCx->CR) & ((0x1UL << (31U)))) == ((0x1UL << (31U)))) ? 1UL : 0UL); +} + +/** + * @} + */ + +/** @defgroup ADC_LL_EF_Operation_ADC_Group_Regular Operation on ADC hierarchical scope: group regular + * @{ + */ + +/** + * @brief Start ADC group regular conversion. + * @note On this STM32 series, this function is relevant for both + * internal trigger (SW start) and external trigger: + * - If ADC trigger has been set to software start, ADC conversion + * starts immediately. + * - If ADC trigger has been set to external trigger, ADC conversion + * will start at next trigger event (on the selected trigger edge) + * following the ADC start conversion command. + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * ADC must be enabled without conversion on going on group regular, + * without conversion stop command on going on group regular, + * without ADC disable command on going. + * @rmtoll CR ADSTART LL_ADC_REG_StartConversion + * @param ADCx ADC instance + * @retval None + */ +static inline void LL_ADC_REG_StartConversion(ADC_TypeDef *ADCx) +{ + /* Note: Write register with some additional bits forced to state reset */ + /* instead of modifying only the selected bit for this function, */ + /* to not interfere with bits with HW property "rs". */ + (((ADCx->CR)) = ((((((ADCx->CR))) & (~(((0x1UL << (31U)) | (0x1UL << (5U)) | (0x1UL << (4U)) | (0x1UL << (3U)) | (0x1UL << (2U)) | (0x1UL << (1U)) | (0x1UL << (0U)))))) | ((0x1UL << (2U)))))) + + ; +} + +/** + * @brief Stop ADC group regular conversion. + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * ADC must be enabled with conversion on going on group regular, + * without ADC disable command on going. + * @rmtoll CR ADSTP LL_ADC_REG_StopConversion + * @param ADCx ADC instance + * @retval None + */ +static inline void LL_ADC_REG_StopConversion(ADC_TypeDef *ADCx) +{ + /* Note: Write register with some additional bits forced to state reset */ + /* instead of modifying only the selected bit for this function, */ + /* to not interfere with bits with HW property "rs". */ + (((ADCx->CR)) = ((((((ADCx->CR))) & (~(((0x1UL << (31U)) | (0x1UL << (5U)) | (0x1UL << (4U)) | (0x1UL << (3U)) | (0x1UL << (2U)) | (0x1UL << (1U)) | (0x1UL << (0U)))))) | ((0x1UL << (4U)))))) + + ; +} + +/** + * @brief Get ADC group regular conversion state. + * @rmtoll CR ADSTART LL_ADC_REG_IsConversionOngoing + * @param ADCx ADC instance + * @retval 0: no conversion is on going on ADC group regular. + */ +static inline uint32_t LL_ADC_REG_IsConversionOngoing(const ADC_TypeDef *ADCx) +{ + return ((((ADCx->CR) & ((0x1UL << (2U)))) == ((0x1UL << (2U)))) ? 1UL : 0UL); +} + +/** + * @brief Get ADC group regular command of conversion stop state + * @rmtoll CR ADSTP LL_ADC_REG_IsStopConversionOngoing + * @param ADCx ADC instance + * @retval 0: no command of conversion stop is on going on ADC group regular. + */ +static inline uint32_t LL_ADC_REG_IsStopConversionOngoing(const ADC_TypeDef *ADCx) +{ + return ((((ADCx->CR) & ((0x1UL << (4U)))) == ((0x1UL << (4U)))) ? 1UL : 0UL); +} + +/** + * @brief Get ADC group regular conversion data, range fit for + * all ADC configurations: all ADC resolutions and + * all oversampling increased data width (for devices + * with feature oversampling). + * @rmtoll DR RDATA LL_ADC_REG_ReadConversionData32 + * @param ADCx ADC instance + * @retval Value between Min_Data=0x00000000 and Max_Data=0xFFFFFFFF + */ +static inline uint32_t LL_ADC_REG_ReadConversionData32(const ADC_TypeDef *ADCx) +{ + return (uint32_t)(((ADCx->DR) & ((0xFFFFFFFFUL << (0U))))); +} + +/** + * @brief Get ADC group regular conversion data, range fit for + * ADC resolution 16 bits. + * @note For devices with feature oversampling: Oversampling + * can increase data width, function for extended range + * may be needed: @ref LL_ADC_REG_ReadConversionData32. + * @rmtoll DR RDATA LL_ADC_REG_ReadConversionData16 + * @param ADCx ADC instance + * @retval Value between Min_Data=0x00 and Max_Data=0xFFFF + */ +static inline uint16_t LL_ADC_REG_ReadConversionData16(const ADC_TypeDef *ADCx) +{ + return (uint16_t)(((ADCx->DR) & ((0xFFFFFFFFUL << (0U))))); +} + +/** + * @brief Get ADC group regular conversion data, range fit for + * ADC resolution 14 bits. + * @note For devices with feature oversampling: Oversampling + * can increase data width, function for extended range + * may be needed: @ref LL_ADC_REG_ReadConversionData32. + * @rmtoll DR RDATA LL_ADC_REG_ReadConversionData14 + * @param ADCx ADC instance + * @retval Value between Min_Data=0x00 and Max_Data=0x3FF + */ +static inline uint16_t LL_ADC_REG_ReadConversionData14(const ADC_TypeDef *ADCx) +{ + return (uint16_t)(((ADCx->DR) & ((0xFFFFFFFFUL << (0U))))); +} + +/** + * @brief Get ADC group regular conversion data, range fit for + * ADC resolution 12 bits. + * @note For devices with feature oversampling: Oversampling + * can increase data width, function for extended range + * may be needed: @ref LL_ADC_REG_ReadConversionData32. + * @rmtoll DR RDATA LL_ADC_REG_ReadConversionData12 + * @param ADCx ADC instance + * @retval Value between Min_Data=0x000 and Max_Data=0xFFF + */ +static inline uint16_t LL_ADC_REG_ReadConversionData12(const ADC_TypeDef *ADCx) +{ + return (uint16_t)(((ADCx->DR) & ((0xFFFFFFFFUL << (0U))))); +} + +/** + * @brief Get ADC group regular conversion data, range fit for + * ADC resolution 10 bits. + * @note For devices with feature oversampling: Oversampling + * can increase data width, function for extended range + * may be needed: @ref LL_ADC_REG_ReadConversionData32. + * @rmtoll DR RDATA LL_ADC_REG_ReadConversionData10 + * @param ADCx ADC instance + * @retval Value between Min_Data=0x000 and Max_Data=0x3FF + */ +static inline uint16_t LL_ADC_REG_ReadConversionData10(const ADC_TypeDef *ADCx) +{ + return (uint16_t)(((ADCx->DR) & ((0xFFFFFFFFUL << (0U))))); +} + +/** + * @brief Get ADC group regular conversion data, range fit for + * ADC resolution 8 bits. + * @note For devices with feature oversampling: Oversampling + * can increase data width, function for extended range + * may be needed: @ref LL_ADC_REG_ReadConversionData32. + * @rmtoll DR RDATA LL_ADC_REG_ReadConversionData8 + * @param ADCx ADC instance + * @retval Value between Min_Data=0x00 and Max_Data=0xFF + */ +static inline uint8_t LL_ADC_REG_ReadConversionData8(const ADC_TypeDef *ADCx) +{ + return (uint8_t)(((ADCx->DR) & ((0xFFFFFFFFUL << (0U))))); +} +/** + * @brief Get ADC multimode conversion data of ADC master, ADC slave + * or raw data with ADC master and slave concatenated. + * @note If raw data with ADC master and slave concatenated is retrieved, + * a macro is available to get the conversion data of + * ADC master or ADC slave: see helper macro + * @ref __LL_ADC_MULTI_CONV_DATA_MASTER_SLAVE(). + * (however this macro is mainly intended for multimode + * transfer by DMA, because this function can do the same + * by getting multimode conversion data of ADC master or ADC slave + * separately). + * @rmtoll CDR RDATA_MST LL_ADC_REG_ReadMultiConversionData32\n + * CDR RDATA_SLV LL_ADC_REG_ReadMultiConversionData32 + * @param ADCxy_COMMON ADC common instance + * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMON_INSTANCE() ) + * @param ConversionData This parameter can be one of the following values: + * @arg @ref LL_ADC_MULTI_MASTER + * @arg @ref LL_ADC_MULTI_SLAVE + * @arg @ref LL_ADC_MULTI_MASTER_SLAVE + * @retval Value between Min_Data=0x00000000 and Max_Data=0xFFFFFFFF + */ +static inline uint32_t LL_ADC_REG_ReadMultiConversionData32(const ADC_Common_TypeDef *ADCxy_COMMON, uint32_t ConversionData) +{ + return (uint32_t)(((ADCxy_COMMON->CDR) & (ConversionData)) + + >> ((__CLZ(__RBIT(ConversionData))) & 0x1FUL) + ); +} + +/** + * @} + */ + +/** @defgroup ADC_LL_EF_Operation_ADC_Group_Injected Operation on ADC hierarchical scope: group injected + * @{ + */ + +/** + * @brief Start ADC group injected conversion. + * @note On this STM32 series, this function is relevant for both + * internal trigger (SW start) and external trigger: + * - If ADC trigger has been set to software start, ADC conversion + * starts immediately. + * - If ADC trigger has been set to external trigger, ADC conversion + * will start at next trigger event (on the selected trigger edge) + * following the ADC start conversion command. + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * ADC must be enabled without conversion on going on group injected, + * without conversion stop command on going on group injected, + * without ADC disable command on going. + * @rmtoll CR JADSTART LL_ADC_INJ_StartConversion + * @param ADCx ADC instance + * @retval None + */ +static inline void LL_ADC_INJ_StartConversion(ADC_TypeDef *ADCx) +{ + /* Note: Write register with some additional bits forced to state reset */ + /* instead of modifying only the selected bit for this function, */ + /* to not interfere with bits with HW property "rs". */ + (((ADCx->CR)) = ((((((ADCx->CR))) & (~(((0x1UL << (31U)) | (0x1UL << (5U)) | (0x1UL << (4U)) | (0x1UL << (3U)) | (0x1UL << (2U)) | (0x1UL << (1U)) | (0x1UL << (0U)))))) | ((0x1UL << (3U)))))) + + ; +} + +/** + * @brief Stop ADC group injected conversion. + * @note On this STM32 series, setting of this feature is conditioned to + * ADC state: + * ADC must be enabled with conversion on going on group injected, + * without ADC disable command on going. + * @rmtoll CR JADSTP LL_ADC_INJ_StopConversion + * @param ADCx ADC instance + * @retval None + */ +static inline void LL_ADC_INJ_StopConversion(ADC_TypeDef *ADCx) +{ + /* Note: Write register with some additional bits forced to state reset */ + /* instead of modifying only the selected bit for this function, */ + /* to not interfere with bits with HW property "rs". */ + (((ADCx->CR)) = ((((((ADCx->CR))) & (~(((0x1UL << (31U)) | (0x1UL << (5U)) | (0x1UL << (4U)) | (0x1UL << (3U)) | (0x1UL << (2U)) | (0x1UL << (1U)) | (0x1UL << (0U)))))) | ((0x1UL << (5U)))))) + + ; +} + +/** + * @brief Get ADC group injected conversion state. + * @rmtoll CR JADSTART LL_ADC_INJ_IsConversionOngoing + * @param ADCx ADC instance + * @retval 0: no conversion is on going on ADC group injected. + */ +static inline uint32_t LL_ADC_INJ_IsConversionOngoing(const ADC_TypeDef *ADCx) +{ + return ((((ADCx->CR) & ((0x1UL << (3U)))) == ((0x1UL << (3U)))) ? 1UL : 0UL); +} + +/** + * @brief Get ADC group injected command of conversion stop state + * @rmtoll CR JADSTP LL_ADC_INJ_IsStopConversionOngoing + * @param ADCx ADC instance + * @retval 0: no command of conversion stop is on going on ADC group injected. + */ +static inline uint32_t LL_ADC_INJ_IsStopConversionOngoing(const ADC_TypeDef *ADCx) +{ + return ((((ADCx->CR) & ((0x1UL << (5U)))) == ((0x1UL << (5U)))) ? 1UL : 0UL); +} + +/** + * @brief Get ADC group injected conversion data, range fit for + * all ADC configurations: all ADC resolutions and + * all oversampling increased data width (for devices + * with feature oversampling). + * @rmtoll JDR1 JDATA LL_ADC_INJ_ReadConversionData32\n + * JDR2 JDATA LL_ADC_INJ_ReadConversionData32\n + * JDR3 JDATA LL_ADC_INJ_ReadConversionData32\n + * JDR4 JDATA LL_ADC_INJ_ReadConversionData32 + * @param ADCx ADC instance + * @param Rank This parameter can be one of the following values: + * @arg @ref LL_ADC_INJ_RANK_1 + * @arg @ref LL_ADC_INJ_RANK_2 + * @arg @ref LL_ADC_INJ_RANK_3 + * @arg @ref LL_ADC_INJ_RANK_4 + * @retval Value between Min_Data=0x00000000 and Max_Data=0xFFFFFFFF + */ +static inline uint32_t LL_ADC_INJ_ReadConversionData32(const ADC_TypeDef *ADCx, uint32_t Rank) +{ + const volatile uint32_t *preg = ((volatile uint32_t *)((uint32_t) ((uint32_t)(&(ADCx->JDR1)) + ((((Rank & ((0x00000000UL) | (0x00000100UL) | (0x00000200UL) | (0x00000300UL))) >> (8UL))) << 2UL)))); + + return (uint32_t)(((*preg) & ((0xFFFFFFFFUL << (0U)))) + + ); +} + +/** + * @brief Get ADC group injected conversion data, range fit for + * ADC resolution 16 bits. + * @note For devices with feature oversampling: Oversampling + * can increase data width, function for extended range + * may be needed: @ref LL_ADC_INJ_ReadConversionData32. + * @rmtoll JDR1 JDATA LL_ADC_INJ_ReadConversionData16\n + * JDR2 JDATA LL_ADC_INJ_ReadConversionData16\n + * JDR3 JDATA LL_ADC_INJ_ReadConversionData16\n + * JDR4 JDATA LL_ADC_INJ_ReadConversionData16 + * @param ADCx ADC instance + * @param Rank This parameter can be one of the following values: + * @arg @ref LL_ADC_INJ_RANK_1 + * @arg @ref LL_ADC_INJ_RANK_2 + * @arg @ref LL_ADC_INJ_RANK_3 + * @arg @ref LL_ADC_INJ_RANK_4 + * @retval Value between Min_Data=0x000 and Max_Data=0xFFFF + */ +static inline uint16_t LL_ADC_INJ_ReadConversionData16(const ADC_TypeDef *ADCx, uint32_t Rank) +{ + const volatile uint32_t *preg = ((volatile uint32_t *)((uint32_t) ((uint32_t)(&(ADCx->JDR1)) + ((((Rank & ((0x00000000UL) | (0x00000100UL) | (0x00000200UL) | (0x00000300UL))) >> (8UL))) << 2UL)))); + + return (uint16_t)(((*preg) & ((0xFFFFFFFFUL << (0U)))) + + ); +} + +/** + * @brief Get ADC group injected conversion data, range fit for + * ADC resolution 14 bits. + * @note For devices with feature oversampling: Oversampling + * can increase data width, function for extended range + * may be needed: @ref LL_ADC_INJ_ReadConversionData32. + * @rmtoll JDR1 JDATA LL_ADC_INJ_ReadConversionData14\n + * JDR2 JDATA LL_ADC_INJ_ReadConversionData14\n + * JDR3 JDATA LL_ADC_INJ_ReadConversionData14\n + * JDR4 JDATA LL_ADC_INJ_ReadConversionData14 + * @param ADCx ADC instance + * @param Rank This parameter can be one of the following values: + * @arg @ref LL_ADC_INJ_RANK_1 + * @arg @ref LL_ADC_INJ_RANK_2 + * @arg @ref LL_ADC_INJ_RANK_3 + * @arg @ref LL_ADC_INJ_RANK_4 + * @retval Value between Min_Data=0x000 and Max_Data=0x3FFF + */ +static inline uint16_t LL_ADC_INJ_ReadConversionData14(const ADC_TypeDef *ADCx, uint32_t Rank) +{ + const volatile uint32_t *preg = ((volatile uint32_t *)((uint32_t) ((uint32_t)(&(ADCx->JDR1)) + ((((Rank & ((0x00000000UL) | (0x00000100UL) | (0x00000200UL) | (0x00000300UL))) >> (8UL))) << 2UL)))); + + return (uint16_t)(((*preg) & ((0xFFFFFFFFUL << (0U)))) + + ); +} + +/** + * @brief Get ADC group injected conversion data, range fit for + * ADC resolution 12 bits. + * @note For devices with feature oversampling: Oversampling + * can increase data width, function for extended range + * may be needed: @ref LL_ADC_INJ_ReadConversionData32. + * @rmtoll JDR1 JDATA LL_ADC_INJ_ReadConversionData12\n + * JDR2 JDATA LL_ADC_INJ_ReadConversionData12\n + * JDR3 JDATA LL_ADC_INJ_ReadConversionData12\n + * JDR4 JDATA LL_ADC_INJ_ReadConversionData12 + * @param ADCx ADC instance + * @param Rank This parameter can be one of the following values: + * @arg @ref LL_ADC_INJ_RANK_1 + * @arg @ref LL_ADC_INJ_RANK_2 + * @arg @ref LL_ADC_INJ_RANK_3 + * @arg @ref LL_ADC_INJ_RANK_4 + * @retval Value between Min_Data=0x000 and Max_Data=0xFFF + */ +static inline uint16_t LL_ADC_INJ_ReadConversionData12(const ADC_TypeDef *ADCx, uint32_t Rank) +{ + const volatile uint32_t *preg = ((volatile uint32_t *)((uint32_t) ((uint32_t)(&(ADCx->JDR1)) + ((((Rank & ((0x00000000UL) | (0x00000100UL) | (0x00000200UL) | (0x00000300UL))) >> (8UL))) << 2UL)))); + + return (uint16_t)(((*preg) & ((0xFFFFFFFFUL << (0U)))) + + ); +} + +/** + * @brief Get ADC group injected conversion data, range fit for + * ADC resolution 10 bits. + * @note For devices with feature oversampling: Oversampling + * can increase data width, function for extended range + * may be needed: @ref LL_ADC_INJ_ReadConversionData32. + * @rmtoll JDR1 JDATA LL_ADC_INJ_ReadConversionData10\n + * JDR2 JDATA LL_ADC_INJ_ReadConversionData10\n + * JDR3 JDATA LL_ADC_INJ_ReadConversionData10\n + * JDR4 JDATA LL_ADC_INJ_ReadConversionData10 + * @param ADCx ADC instance + * @param Rank This parameter can be one of the following values: + * @arg @ref LL_ADC_INJ_RANK_1 + * @arg @ref LL_ADC_INJ_RANK_2 + * @arg @ref LL_ADC_INJ_RANK_3 + * @arg @ref LL_ADC_INJ_RANK_4 + * @retval Value between Min_Data=0x000 and Max_Data=0x3FF + */ +static inline uint16_t LL_ADC_INJ_ReadConversionData10(const ADC_TypeDef *ADCx, uint32_t Rank) +{ + const volatile uint32_t *preg = ((volatile uint32_t *)((uint32_t) ((uint32_t)(&(ADCx->JDR1)) + ((((Rank & ((0x00000000UL) | (0x00000100UL) | (0x00000200UL) | (0x00000300UL))) >> (8UL))) << 2UL)))); + + return (uint16_t)(((*preg) & ((0xFFFFFFFFUL << (0U)))) + + ); +} + +/** + * @brief Get ADC group injected conversion data, range fit for + * ADC resolution 8 bits. + * @note For devices with feature oversampling: Oversampling + * can increase data width, function for extended range + * may be needed: @ref LL_ADC_INJ_ReadConversionData32. + * @rmtoll JDR1 JDATA LL_ADC_INJ_ReadConversionData8\n + * JDR2 JDATA LL_ADC_INJ_ReadConversionData8\n + * JDR3 JDATA LL_ADC_INJ_ReadConversionData8\n + * JDR4 JDATA LL_ADC_INJ_ReadConversionData8 + * @param ADCx ADC instance + * @param Rank This parameter can be one of the following values: + * @arg @ref LL_ADC_INJ_RANK_1 + * @arg @ref LL_ADC_INJ_RANK_2 + * @arg @ref LL_ADC_INJ_RANK_3 + * @arg @ref LL_ADC_INJ_RANK_4 + * @retval Value between Min_Data=0x00 and Max_Data=0xFF + */ +static inline uint8_t LL_ADC_INJ_ReadConversionData8(const ADC_TypeDef *ADCx, uint32_t Rank) +{ + const volatile uint32_t *preg = ((volatile uint32_t *)((uint32_t) ((uint32_t)(&(ADCx->JDR1)) + ((((Rank & ((0x00000000UL) | (0x00000100UL) | (0x00000200UL) | (0x00000300UL))) >> (8UL))) << 2UL)))); + + return (uint8_t)(((*preg) & ((0xFFFFFFFFUL << (0U)))) + + ); +} + +/** + * @} + */ + +/** @defgroup ADC_LL_EF_FLAG_Management ADC flag management + * @{ + */ + +/** + * @brief Get flag ADC ready. + * @note On this STM32 series, flag LL_ADC_FLAG_ADRDY is raised when the ADC + * is enabled and when conversion clock is active. + * (not only core clock: this ADC has a dual clock domain) + * @rmtoll ISR ADRDY LL_ADC_IsActiveFlag_ADRDY + * @param ADCx ADC instance + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsActiveFlag_ADRDY(const ADC_TypeDef *ADCx) +{ + return ((((ADCx->ISR) & ((0x1UL << (0U)))) == ((0x1UL << (0U)))) ? 1UL : 0UL); +} + +/** + * @brief Get flag ADC group regular end of unitary conversion. + * @rmtoll ISR EOC LL_ADC_IsActiveFlag_EOC + * @param ADCx ADC instance + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsActiveFlag_EOC(const ADC_TypeDef *ADCx) +{ + return ((((ADCx->ISR) & ((0x1UL << (2U)))) == ((0x1UL << (2U)))) ? 1UL : 0UL); +} + +/** + * @brief Get flag ADC group regular end of sequence conversions. + * @rmtoll ISR EOS LL_ADC_IsActiveFlag_EOS + * @param ADCx ADC instance + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsActiveFlag_EOS(const ADC_TypeDef *ADCx) +{ + return ((((ADCx->ISR) & ((0x1UL << (3U)))) == ((0x1UL << (3U)))) ? 1UL : 0UL); +} + +/** + * @brief Get flag ADC group regular overrun. + * @rmtoll ISR OVR LL_ADC_IsActiveFlag_OVR + * @param ADCx ADC instance + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsActiveFlag_OVR(const ADC_TypeDef *ADCx) +{ + return ((((ADCx->ISR) & ((0x1UL << (4U)))) == ((0x1UL << (4U)))) ? 1UL : 0UL); +} + +/** + * @brief Get flag ADC group regular end of sampling phase. + * @rmtoll ISR EOSMP LL_ADC_IsActiveFlag_EOSMP + * @param ADCx ADC instance + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsActiveFlag_EOSMP(const ADC_TypeDef *ADCx) +{ + return ((((ADCx->ISR) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL); +} + +/** + * @brief Get flag ADC group injected end of unitary conversion. + * @rmtoll ISR JEOC LL_ADC_IsActiveFlag_JEOC + * @param ADCx ADC instance + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsActiveFlag_JEOC(const ADC_TypeDef *ADCx) +{ + return ((((ADCx->ISR) & ((0x1UL << (5U)))) == ((0x1UL << (5U)))) ? 1UL : 0UL); +} + +/** + * @brief Get flag ADC group injected end of sequence conversions. + * @rmtoll ISR JEOS LL_ADC_IsActiveFlag_JEOS + * @param ADCx ADC instance + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsActiveFlag_JEOS(const ADC_TypeDef *ADCx) +{ + return ((((ADCx->ISR) & ((0x1UL << (6U)))) == ((0x1UL << (6U)))) ? 1UL : 0UL); +} + +/** + * @brief Get flag ADC group injected contexts queue overflow. + * @rmtoll ISR JQOVF LL_ADC_IsActiveFlag_JQOVF + * @param ADCx ADC instance + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsActiveFlag_JQOVF(const ADC_TypeDef *ADCx) +{ + return ((((ADCx->ISR) & ((0x1UL << (10U)))) == ((0x1UL << (10U)))) ? 1UL : 0UL); +} + +/** + * @brief Get flag ADC LDO output voltage ready bit. + * @rmtoll ISR LDORDY LL_ADC_IsActiveFlag_LDORDY + * @param ADCx ADC instance + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsActiveFlag_LDORDY(const ADC_TypeDef *ADCx) +{ + return ((((ADCx->ISR) & ((0x1UL << (12U)))) == ((0x1UL << (12U)))) ? 1UL : 0UL); +} + +/** + * @brief Get flag ADC analog watchdog 1 flag + * @rmtoll ISR AWD1 LL_ADC_IsActiveFlag_AWD1 + * @param ADCx ADC instance + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsActiveFlag_AWD1(const ADC_TypeDef *ADCx) +{ + return ((((ADCx->ISR) & ((0x1UL << (7U)))) == ((0x1UL << (7U)))) ? 1UL : 0UL); +} + +/** + * @brief Get flag ADC analog watchdog 2. + * @rmtoll ISR AWD2 LL_ADC_IsActiveFlag_AWD2 + * @param ADCx ADC instance + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsActiveFlag_AWD2(const ADC_TypeDef *ADCx) +{ + return ((((ADCx->ISR) & ((0x1UL << (8U)))) == ((0x1UL << (8U)))) ? 1UL : 0UL); +} + +/** + * @brief Get flag ADC analog watchdog 3. + * @rmtoll ISR AWD3 LL_ADC_IsActiveFlag_AWD3 + * @param ADCx ADC instance + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsActiveFlag_AWD3(const ADC_TypeDef *ADCx) +{ + return ((((ADCx->ISR) & ((0x1UL << (9U)))) == ((0x1UL << (9U)))) ? 1UL : 0UL); +} + +/** + * @brief Clear flag ADC ready. + * @note On this STM32 series, flag LL_ADC_FLAG_ADRDY is raised when the ADC + * is enabled and when conversion clock is active. + * (not only core clock: this ADC has a dual clock domain) + * @rmtoll ISR ADRDY LL_ADC_ClearFlag_ADRDY + * @param ADCx ADC instance + * @retval None + */ +static inline void LL_ADC_ClearFlag_ADRDY(ADC_TypeDef *ADCx) +{ + ((ADCx->ISR) = ((0x1UL << (0U)))); +} + +/** + * @brief Clear flag ADC group regular end of unitary conversion. + * @rmtoll ISR EOC LL_ADC_ClearFlag_EOC + * @param ADCx ADC instance + * @retval None + */ +static inline void LL_ADC_ClearFlag_EOC(ADC_TypeDef *ADCx) +{ + ((ADCx->ISR) = ((0x1UL << (2U)))); +} + +/** + * @brief Clear flag ADC group regular end of sequence conversions. + * @rmtoll ISR EOS LL_ADC_ClearFlag_EOS + * @param ADCx ADC instance + * @retval None + */ +static inline void LL_ADC_ClearFlag_EOS(ADC_TypeDef *ADCx) +{ + ((ADCx->ISR) = ((0x1UL << (3U)))); +} + +/** + * @brief Clear flag ADC group regular overrun. + * @rmtoll ISR OVR LL_ADC_ClearFlag_OVR + * @param ADCx ADC instance + * @retval None + */ +static inline void LL_ADC_ClearFlag_OVR(ADC_TypeDef *ADCx) +{ + ((ADCx->ISR) = ((0x1UL << (4U)))); +} + +/** + * @brief Clear flag ADC group regular end of sampling phase. + * @rmtoll ISR EOSMP LL_ADC_ClearFlag_EOSMP + * @param ADCx ADC instance + * @retval None + */ +static inline void LL_ADC_ClearFlag_EOSMP(ADC_TypeDef *ADCx) +{ + ((ADCx->ISR) = ((0x1UL << (1U)))); +} + +/** + * @brief Clear flag ADC group injected end of unitary conversion. + * @rmtoll ISR JEOC LL_ADC_ClearFlag_JEOC + * @param ADCx ADC instance + * @retval None + */ +static inline void LL_ADC_ClearFlag_JEOC(ADC_TypeDef *ADCx) +{ + ((ADCx->ISR) = ((0x1UL << (5U)))); +} + +/** + * @brief Clear flag ADC group injected end of sequence conversions. + * @rmtoll ISR JEOS LL_ADC_ClearFlag_JEOS + * @param ADCx ADC instance + * @retval None + */ +static inline void LL_ADC_ClearFlag_JEOS(ADC_TypeDef *ADCx) +{ + ((ADCx->ISR) = ((0x1UL << (6U)))); +} + +/** + * @brief Clear flag ADC group injected contexts queue overflow. + * @rmtoll ISR JQOVF LL_ADC_ClearFlag_JQOVF + * @param ADCx ADC instance + * @retval None + */ +static inline void LL_ADC_ClearFlag_JQOVF(ADC_TypeDef *ADCx) +{ + ((ADCx->ISR) = ((0x1UL << (10U)))); +} + +/** + * @brief Clear flag ADC analog watchdog 1. + * @rmtoll ISR AWD1 LL_ADC_ClearFlag_AWD1 + * @param ADCx ADC instance + * @retval None + */ +static inline void LL_ADC_ClearFlag_AWD1(ADC_TypeDef *ADCx) +{ + ((ADCx->ISR) = ((0x1UL << (7U)))); +} + +/** + * @brief Clear flag ADC analog watchdog 2. + * @rmtoll ISR AWD2 LL_ADC_ClearFlag_AWD2 + * @param ADCx ADC instance + * @retval None + */ +static inline void LL_ADC_ClearFlag_AWD2(ADC_TypeDef *ADCx) +{ + ((ADCx->ISR) = ((0x1UL << (8U)))); +} + +/** + * @brief Clear flag ADC analog watchdog 3. + * @rmtoll ISR AWD3 LL_ADC_ClearFlag_AWD3 + * @param ADCx ADC instance + * @retval None + */ +static inline void LL_ADC_ClearFlag_AWD3(ADC_TypeDef *ADCx) +{ + ((ADCx->ISR) = ((0x1UL << (9U)))); +} + +/** + * @brief Get flag multimode ADC ready of the ADC master. + * @rmtoll CSR ADRDY_MST LL_ADC_IsActiveFlag_MST_ADRDY + * @param ADCxy_COMMON ADC common instance + * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMON_INSTANCE() ) + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsActiveFlag_MST_ADRDY(const ADC_Common_TypeDef *ADCxy_COMMON) +{ + return ((((ADCxy_COMMON->CSR) & ((0x1UL << (0U)))) == ((0x1UL << (0U)))) ? 1UL : 0UL); +} + +/** + * @brief Get flag multimode ADC ready of the ADC slave. + * @rmtoll CSR ADRDY_SLV LL_ADC_IsActiveFlag_SLV_ADRDY + * @param ADCxy_COMMON ADC common instance + * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMON_INSTANCE() ) + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsActiveFlag_SLV_ADRDY(const ADC_Common_TypeDef *ADCxy_COMMON) +{ + return ((((ADCxy_COMMON->CSR) & ((0x1UL << (16U)))) == ((0x1UL << (16U)))) ? 1UL : 0UL); +} + +/** + * @brief Get flag multimode ADC group regular end of unitary conversion of the ADC master. + * @rmtoll CSR EOC_MST LL_ADC_IsActiveFlag_MST_EOC + * @param ADCxy_COMMON ADC common instance + * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMON_INSTANCE() ) + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsActiveFlag_MST_EOC(const ADC_Common_TypeDef *ADCxy_COMMON) +{ + return ((((ADCxy_COMMON->CSR) & ((0x1UL << (18U)))) == ((0x1UL << (18U)))) ? 1UL : 0UL); +} + +/** + * @brief Get flag multimode ADC group regular end of unitary conversion of the ADC slave. + * @rmtoll CSR EOC_SLV LL_ADC_IsActiveFlag_SLV_EOC + * @param ADCxy_COMMON ADC common instance + * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMON_INSTANCE() ) + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsActiveFlag_SLV_EOC(const ADC_Common_TypeDef *ADCxy_COMMON) +{ + return ((((ADCxy_COMMON->CSR) & ((0x1UL << (18U)))) == ((0x1UL << (18U)))) ? 1UL : 0UL); +} + +/** + * @brief Get flag multimode ADC group regular end of sequence conversions of the ADC master. + * @rmtoll CSR EOS_MST LL_ADC_IsActiveFlag_MST_EOS + * @param ADCxy_COMMON ADC common instance + * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMON_INSTANCE() ) + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsActiveFlag_MST_EOS(const ADC_Common_TypeDef *ADCxy_COMMON) +{ + return ((((ADCxy_COMMON->CSR) & ((0x1UL << (3U)))) == ((0x1UL << (3U)))) ? 1UL : 0UL); +} + +/** + * @brief Get flag multimode ADC group regular end of sequence conversions of the ADC slave. + * @rmtoll CSR EOS_SLV LL_ADC_IsActiveFlag_SLV_EOS + * @param ADCxy_COMMON ADC common instance + * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMON_INSTANCE() ) + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsActiveFlag_SLV_EOS(const ADC_Common_TypeDef *ADCxy_COMMON) +{ + return ((((ADCxy_COMMON->CSR) & ((0x1UL << (19U)))) == ((0x1UL << (19U)))) ? 1UL : 0UL); +} + +/** + * @brief Get flag multimode ADC group regular overrun of the ADC master. + * @rmtoll CSR OVR_MST LL_ADC_IsActiveFlag_MST_OVR + * @param ADCxy_COMMON ADC common instance + * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMON_INSTANCE() ) + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsActiveFlag_MST_OVR(const ADC_Common_TypeDef *ADCxy_COMMON) +{ + return ((((ADCxy_COMMON->CSR) & ((0x1UL << (4U)))) == ((0x1UL << (4U)))) ? 1UL : 0UL); +} + +/** + * @brief Get flag multimode ADC group regular overrun of the ADC slave. + * @rmtoll CSR OVR_SLV LL_ADC_IsActiveFlag_SLV_OVR + * @param ADCxy_COMMON ADC common instance + * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMON_INSTANCE() ) + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsActiveFlag_SLV_OVR(const ADC_Common_TypeDef *ADCxy_COMMON) +{ + return ((((ADCxy_COMMON->CSR) & ((0x1UL << (20U)))) == ((0x1UL << (20U)))) ? 1UL : 0UL); +} + +/** + * @brief Get flag multimode ADC group regular end of sampling of the ADC master. + * @rmtoll CSR EOSMP_MST LL_ADC_IsActiveFlag_MST_EOSMP + * @param ADCxy_COMMON ADC common instance + * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMON_INSTANCE() ) + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsActiveFlag_MST_EOSMP(const ADC_Common_TypeDef *ADCxy_COMMON) +{ + return ((((ADCxy_COMMON->CSR) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL); +} + +/** + * @brief Get flag multimode ADC group regular end of sampling of the ADC slave. + * @rmtoll CSR EOSMP_SLV LL_ADC_IsActiveFlag_SLV_EOSMP + * @param ADCxy_COMMON ADC common instance + * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMON_INSTANCE() ) + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsActiveFlag_SLV_EOSMP(const ADC_Common_TypeDef *ADCxy_COMMON) +{ + return ((((ADCxy_COMMON->CSR) & ((0x1UL << (17U)))) == ((0x1UL << (17U)))) ? 1UL : 0UL); +} + +/** + * @brief Get flag multimode ADC group injected end of unitary conversion of the ADC master. + * @rmtoll CSR JEOC_MST LL_ADC_IsActiveFlag_MST_JEOC + * @param ADCxy_COMMON ADC common instance + * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMON_INSTANCE() ) + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsActiveFlag_MST_JEOC(const ADC_Common_TypeDef *ADCxy_COMMON) +{ + return ((((ADCxy_COMMON->CSR) & ((0x1UL << (5U)))) == ((0x1UL << (5U)))) ? 1UL : 0UL); +} + +/** + * @brief Get flag multimode ADC group injected end of unitary conversion of the ADC slave. + * @rmtoll CSR JEOC_SLV LL_ADC_IsActiveFlag_SLV_JEOC + * @param ADCxy_COMMON ADC common instance + * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMON_INSTANCE() ) + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsActiveFlag_SLV_JEOC(const ADC_Common_TypeDef *ADCxy_COMMON) +{ + return ((((ADCxy_COMMON->CSR) & ((0x1UL << (21U)))) == ((0x1UL << (21U)))) ? 1UL : 0UL); +} + +/** + * @brief Get flag multimode ADC group injected end of sequence conversions of the ADC master. + * @rmtoll CSR JEOS_MST LL_ADC_IsActiveFlag_MST_JEOS + * @param ADCxy_COMMON ADC common instance + * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMON_INSTANCE() ) + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsActiveFlag_MST_JEOS(const ADC_Common_TypeDef *ADCxy_COMMON) +{ + return ((((ADCxy_COMMON->CSR) & ((0x1UL << (6U)))) == ((0x1UL << (6U)))) ? 1UL : 0UL); +} + +/** + * @brief Get flag multimode ADC group injected end of sequence conversions of the ADC slave. + * @rmtoll CSR JEOS_SLV LL_ADC_IsActiveFlag_SLV_JEOS + * @param ADCxy_COMMON ADC common instance + * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMON_INSTANCE() ) + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsActiveFlag_SLV_JEOS(const ADC_Common_TypeDef *ADCxy_COMMON) +{ + return ((((ADCxy_COMMON->CSR) & ((0x1UL << (22U)))) == ((0x1UL << (22U)))) ? 1UL : 0UL); +} + +/** + * @brief Get flag multimode ADC group injected context queue overflow of the ADC master. + * @rmtoll CSR JQOVF_MST LL_ADC_IsActiveFlag_MST_JQOVF + * @param ADCxy_COMMON ADC common instance + * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMON_INSTANCE() ) + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsActiveFlag_MST_JQOVF(const ADC_Common_TypeDef *ADCxy_COMMON) +{ + return ((((ADCxy_COMMON->CSR) & ((0x1UL << (10U)))) == ((0x1UL << (10U)))) ? 1UL : 0UL); +} + +/** + * @brief Get flag multimode ADC group injected context queue overflow of the ADC slave. + * @rmtoll CSR JQOVF_SLV LL_ADC_IsActiveFlag_SLV_JQOVF + * @param ADCxy_COMMON ADC common instance + * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMON_INSTANCE() ) + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsActiveFlag_SLV_JQOVF(const ADC_Common_TypeDef *ADCxy_COMMON) +{ + return ((((ADCxy_COMMON->CSR) & ((0x1UL << (26U)))) == ((0x1UL << (26U)))) ? 1UL : 0UL); +} + +/** + * @brief Get flag multimode ADC analog watchdog 1 of the ADC master. + * @rmtoll CSR AWD1_MST LL_ADC_IsActiveFlag_MST_AWD1 + * @param ADCxy_COMMON ADC common instance + * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMON_INSTANCE() ) + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsActiveFlag_MST_AWD1(const ADC_Common_TypeDef *ADCxy_COMMON) +{ + return ((((ADCxy_COMMON->CSR) & ((0x1UL << (7U)))) == ((0x1UL << (7U)))) ? 1UL : 0UL); +} + +/** + * @brief Get flag multimode analog watchdog 1 of the ADC slave. + * @rmtoll CSR AWD1_SLV LL_ADC_IsActiveFlag_SLV_AWD1 + * @param ADCxy_COMMON ADC common instance + * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMON_INSTANCE() ) + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsActiveFlag_SLV_AWD1(const ADC_Common_TypeDef *ADCxy_COMMON) +{ + return ((((ADCxy_COMMON->CSR) & ((0x1UL << (23U)))) == ((0x1UL << (23U)))) ? 1UL : 0UL); +} + +/** + * @brief Get flag multimode ADC analog watchdog 2 of the ADC master. + * @rmtoll CSR AWD2_MST LL_ADC_IsActiveFlag_MST_AWD2 + * @param ADCxy_COMMON ADC common instance + * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMON_INSTANCE() ) + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsActiveFlag_MST_AWD2(const ADC_Common_TypeDef *ADCxy_COMMON) +{ + return ((((ADCxy_COMMON->CSR) & ((0x1UL << (8U)))) == ((0x1UL << (8U)))) ? 1UL : 0UL); +} + +/** + * @brief Get flag multimode ADC analog watchdog 2 of the ADC slave. + * @rmtoll CSR AWD2_SLV LL_ADC_IsActiveFlag_SLV_AWD2 + * @param ADCxy_COMMON ADC common instance + * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMON_INSTANCE() ) + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsActiveFlag_SLV_AWD2(const ADC_Common_TypeDef *ADCxy_COMMON) +{ + return ((((ADCxy_COMMON->CSR) & ((0x1UL << (24U)))) == ((0x1UL << (24U)))) ? 1UL : 0UL); +} + +/** + * @brief Get flag multimode ADC analog watchdog 3 of the ADC master. + * @rmtoll CSR AWD3_MST LL_ADC_IsActiveFlag_MST_AWD3 + * @param ADCxy_COMMON ADC common instance + * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMON_INSTANCE() ) + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsActiveFlag_MST_AWD3(const ADC_Common_TypeDef *ADCxy_COMMON) +{ + return ((((ADCxy_COMMON->CSR) & ((0x1UL << (9U)))) == ((0x1UL << (9U)))) ? 1UL : 0UL); +} + +/** + * @brief Get flag multimode ADC analog watchdog 3 of the ADC slave. + * @rmtoll CSR AWD3_SLV LL_ADC_IsActiveFlag_SLV_AWD3 + * @param ADCxy_COMMON ADC common instance + * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMON_INSTANCE() ) + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsActiveFlag_SLV_AWD3(const ADC_Common_TypeDef *ADCxy_COMMON) +{ + return ((((ADCxy_COMMON->CSR) & ((0x1UL << (25U)))) == ((0x1UL << (25U)))) ? 1UL : 0UL); +} + +/** + * @} + */ + +/** @defgroup ADC_LL_EF_IT_Management ADC IT management + * @{ + */ + +/** + * @brief Enable ADC ready. + * @rmtoll IER ADRDYIE LL_ADC_EnableIT_ADRDY + * @param ADCx ADC instance + * @retval None + */ +static inline void LL_ADC_EnableIT_ADRDY(ADC_TypeDef *ADCx) +{ + ((ADCx->IER) |= ((0x1UL << (0U)))); +} + +/** + * @brief Enable interruption ADC group regular end of unitary conversion. + * @rmtoll IER EOCIE LL_ADC_EnableIT_EOC + * @param ADCx ADC instance + * @retval None + */ +static inline void LL_ADC_EnableIT_EOC(ADC_TypeDef *ADCx) +{ + ((ADCx->IER) |= ((0x1UL << (2U)))); +} + +/** + * @brief Enable interruption ADC group regular end of sequence conversions. + * @rmtoll IER EOSIE LL_ADC_EnableIT_EOS + * @param ADCx ADC instance + * @retval None + */ +static inline void LL_ADC_EnableIT_EOS(ADC_TypeDef *ADCx) +{ + ((ADCx->IER) |= ((0x1UL << (3U)))); +} + +/** + * @brief Enable ADC group regular interruption overrun. + * @rmtoll IER OVRIE LL_ADC_EnableIT_OVR + * @param ADCx ADC instance + * @retval None + */ +static inline void LL_ADC_EnableIT_OVR(ADC_TypeDef *ADCx) +{ + ((ADCx->IER) |= ((0x1UL << (4U)))); +} + +/** + * @brief Enable interruption ADC group regular end of sampling. + * @rmtoll IER EOSMPIE LL_ADC_EnableIT_EOSMP + * @param ADCx ADC instance + * @retval None + */ +static inline void LL_ADC_EnableIT_EOSMP(ADC_TypeDef *ADCx) +{ + ((ADCx->IER) |= ((0x1UL << (1U)))); +} + +/** + * @brief Enable interruption ADC group injected end of unitary conversion. + * @rmtoll IER JEOCIE LL_ADC_EnableIT_JEOC + * @param ADCx ADC instance + * @retval None + */ +static inline void LL_ADC_EnableIT_JEOC(ADC_TypeDef *ADCx) +{ + ((ADCx->IER) |= ((0x1UL << (5U)))); +} + +/** + * @brief Enable interruption ADC group injected end of sequence conversions. + * @rmtoll IER JEOSIE LL_ADC_EnableIT_JEOS + * @param ADCx ADC instance + * @retval None + */ +static inline void LL_ADC_EnableIT_JEOS(ADC_TypeDef *ADCx) +{ + ((ADCx->IER) |= ((0x1UL << (6U)))); +} + +/** + * @brief Enable interruption ADC group injected context queue overflow. + * @rmtoll IER JQOVFIE LL_ADC_EnableIT_JQOVF + * @param ADCx ADC instance + * @retval None + */ +static inline void LL_ADC_EnableIT_JQOVF(ADC_TypeDef *ADCx) +{ + ((ADCx->IER) |= ((0x1UL << (10U)))); +} + +/** + * @brief Enable interruption ADC analog watchdog 1. + * @rmtoll IER AWD1IE LL_ADC_EnableIT_AWD1 + * @param ADCx ADC instance + * @retval None + */ +static inline void LL_ADC_EnableIT_AWD1(ADC_TypeDef *ADCx) +{ + ((ADCx->IER) |= ((0x1UL << (7U)))); +} + +/** + * @brief Enable interruption ADC analog watchdog 2. + * @rmtoll IER AWD2IE LL_ADC_EnableIT_AWD2 + * @param ADCx ADC instance + * @retval None + */ +static inline void LL_ADC_EnableIT_AWD2(ADC_TypeDef *ADCx) +{ + ((ADCx->IER) |= ((0x1UL << (8U)))); +} + +/** + * @brief Enable interruption ADC analog watchdog 3. + * @rmtoll IER AWD3IE LL_ADC_EnableIT_AWD3 + * @param ADCx ADC instance + * @retval None + */ +static inline void LL_ADC_EnableIT_AWD3(ADC_TypeDef *ADCx) +{ + ((ADCx->IER) |= ((0x1UL << (9U)))); +} + +/** + * @brief Disable interruption ADC ready. + * @rmtoll IER ADRDYIE LL_ADC_DisableIT_ADRDY + * @param ADCx ADC instance + * @retval None + */ +static inline void LL_ADC_DisableIT_ADRDY(ADC_TypeDef *ADCx) +{ + ((ADCx->IER) &= ~((0x1UL << (0U)))); +} + +/** + * @brief Disable interruption ADC group regular end of unitary conversion. + * @rmtoll IER EOCIE LL_ADC_DisableIT_EOC + * @param ADCx ADC instance + * @retval None + */ +static inline void LL_ADC_DisableIT_EOC(ADC_TypeDef *ADCx) +{ + ((ADCx->IER) &= ~((0x1UL << (2U)))); +} + +/** + * @brief Disable interruption ADC group regular end of sequence conversions. + * @rmtoll IER EOSIE LL_ADC_DisableIT_EOS + * @param ADCx ADC instance + * @retval None + */ +static inline void LL_ADC_DisableIT_EOS(ADC_TypeDef *ADCx) +{ + ((ADCx->IER) &= ~((0x1UL << (3U)))); +} + +/** + * @brief Disable interruption ADC group regular overrun. + * @rmtoll IER OVRIE LL_ADC_DisableIT_OVR + * @param ADCx ADC instance + * @retval None + */ +static inline void LL_ADC_DisableIT_OVR(ADC_TypeDef *ADCx) +{ + ((ADCx->IER) &= ~((0x1UL << (4U)))); +} + +/** + * @brief Disable interruption ADC group regular end of sampling. + * @rmtoll IER EOSMPIE LL_ADC_DisableIT_EOSMP + * @param ADCx ADC instance + * @retval None + */ +static inline void LL_ADC_DisableIT_EOSMP(ADC_TypeDef *ADCx) +{ + ((ADCx->IER) &= ~((0x1UL << (1U)))); +} + +/** + * @brief Disable interruption ADC group regular end of unitary conversion. + * @rmtoll IER JEOCIE LL_ADC_DisableIT_JEOC + * @param ADCx ADC instance + * @retval None + */ +static inline void LL_ADC_DisableIT_JEOC(ADC_TypeDef *ADCx) +{ + ((ADCx->IER) &= ~((0x1UL << (5U)))); +} + +/** + * @brief Disable interruption ADC group injected end of sequence conversions. + * @rmtoll IER JEOSIE LL_ADC_DisableIT_JEOS + * @param ADCx ADC instance + * @retval None + */ +static inline void LL_ADC_DisableIT_JEOS(ADC_TypeDef *ADCx) +{ + ((ADCx->IER) &= ~((0x1UL << (6U)))); +} + +/** + * @brief Disable interruption ADC group injected context queue overflow. + * @rmtoll IER JQOVFIE LL_ADC_DisableIT_JQOVF + * @param ADCx ADC instance + * @retval None + */ +static inline void LL_ADC_DisableIT_JQOVF(ADC_TypeDef *ADCx) +{ + ((ADCx->IER) &= ~((0x1UL << (10U)))); +} + +/** + * @brief Disable interruption ADC analog watchdog 1. + * @rmtoll IER AWD1IE LL_ADC_DisableIT_AWD1 + * @param ADCx ADC instance + * @retval None + */ +static inline void LL_ADC_DisableIT_AWD1(ADC_TypeDef *ADCx) +{ + ((ADCx->IER) &= ~((0x1UL << (7U)))); +} + +/** + * @brief Disable interruption ADC analog watchdog 2. + * @rmtoll IER AWD2IE LL_ADC_DisableIT_AWD2 + * @param ADCx ADC instance + * @retval None + */ +static inline void LL_ADC_DisableIT_AWD2(ADC_TypeDef *ADCx) +{ + ((ADCx->IER) &= ~((0x1UL << (8U)))); +} + +/** + * @brief Disable interruption ADC analog watchdog 3. + * @rmtoll IER AWD3IE LL_ADC_DisableIT_AWD3 + * @param ADCx ADC instance + * @retval None + */ +static inline void LL_ADC_DisableIT_AWD3(ADC_TypeDef *ADCx) +{ + ((ADCx->IER) &= ~((0x1UL << (9U)))); +} + +/** + * @brief Get state of interruption ADC ready + * (0: interrupt disabled, 1: interrupt enabled). + * @rmtoll IER ADRDYIE LL_ADC_IsEnabledIT_ADRDY + * @param ADCx ADC instance + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsEnabledIT_ADRDY(const ADC_TypeDef *ADCx) +{ + return ((((ADCx->IER) & ((0x1UL << (0U)))) == ((0x1UL << (0U)))) ? 1UL : 0UL); +} + +/** + * @brief Get state of interruption ADC group regular end of unitary conversion + * (0: interrupt disabled, 1: interrupt enabled). + * @rmtoll IER EOCIE LL_ADC_IsEnabledIT_EOC + * @param ADCx ADC instance + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsEnabledIT_EOC(const ADC_TypeDef *ADCx) +{ + return ((((ADCx->IER) & ((0x1UL << (2U)))) == ((0x1UL << (2U)))) ? 1UL : 0UL); +} + +/** + * @brief Get state of interruption ADC group regular end of sequence conversions + * (0: interrupt disabled, 1: interrupt enabled). + * @rmtoll IER EOSIE LL_ADC_IsEnabledIT_EOS + * @param ADCx ADC instance + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsEnabledIT_EOS(const ADC_TypeDef *ADCx) +{ + return ((((ADCx->IER) & ((0x1UL << (3U)))) == ((0x1UL << (3U)))) ? 1UL : 0UL); +} + +/** + * @brief Get state of interruption ADC group regular overrun + * (0: interrupt disabled, 1: interrupt enabled). + * @rmtoll IER OVRIE LL_ADC_IsEnabledIT_OVR + * @param ADCx ADC instance + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsEnabledIT_OVR(const ADC_TypeDef *ADCx) +{ + return ((((ADCx->IER) & ((0x1UL << (4U)))) == ((0x1UL << (4U)))) ? 1UL : 0UL); +} + +/** + * @brief Get state of interruption ADC group regular end of sampling + * (0: interrupt disabled, 1: interrupt enabled). + * @rmtoll IER EOSMPIE LL_ADC_IsEnabledIT_EOSMP + * @param ADCx ADC instance + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsEnabledIT_EOSMP(const ADC_TypeDef *ADCx) +{ + return ((((ADCx->IER) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL); +} + +/** + * @brief Get state of interruption ADC group injected end of unitary conversion + * (0: interrupt disabled, 1: interrupt enabled). + * @rmtoll IER JEOCIE LL_ADC_IsEnabledIT_JEOC + * @param ADCx ADC instance + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsEnabledIT_JEOC(const ADC_TypeDef *ADCx) +{ + return ((((ADCx->IER) & ((0x1UL << (5U)))) == ((0x1UL << (5U)))) ? 1UL : 0UL); +} + +/** + * @brief Get state of interruption ADC group injected end of sequence conversions + * (0: interrupt disabled, 1: interrupt enabled). + * @rmtoll IER JEOSIE LL_ADC_IsEnabledIT_JEOS + * @param ADCx ADC instance + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsEnabledIT_JEOS(const ADC_TypeDef *ADCx) +{ + return ((((ADCx->IER) & ((0x1UL << (6U)))) == ((0x1UL << (6U)))) ? 1UL : 0UL); +} + +/** + * @brief Get state of interruption ADC group injected context queue overflow interrupt state + * (0: interrupt disabled, 1: interrupt enabled). + * @rmtoll IER JQOVFIE LL_ADC_IsEnabledIT_JQOVF + * @param ADCx ADC instance + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsEnabledIT_JQOVF(const ADC_TypeDef *ADCx) +{ + return ((((ADCx->IER) & ((0x1UL << (10U)))) == ((0x1UL << (10U)))) ? 1UL : 0UL); +} + +/** + * @brief Get state of interruption ADC analog watchdog 1 + * (0: interrupt disabled, 1: interrupt enabled). + * @rmtoll IER AWD1IE LL_ADC_IsEnabledIT_AWD1 + * @param ADCx ADC instance + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsEnabledIT_AWD1(const ADC_TypeDef *ADCx) +{ + return ((((ADCx->IER) & ((0x1UL << (7U)))) == ((0x1UL << (7U)))) ? 1UL : 0UL); +} + +/** + * @brief Get state of interruption Get ADC analog watchdog 2 + * (0: interrupt disabled, 1: interrupt enabled). + * @rmtoll IER AWD2IE LL_ADC_IsEnabledIT_AWD2 + * @param ADCx ADC instance + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsEnabledIT_AWD2(const ADC_TypeDef *ADCx) +{ + return ((((ADCx->IER) & ((0x1UL << (8U)))) == ((0x1UL << (8U)))) ? 1UL : 0UL); +} + +/** + * @brief Get state of interruption Get ADC analog watchdog 3 + * (0: interrupt disabled, 1: interrupt enabled). + * @rmtoll IER AWD3IE LL_ADC_IsEnabledIT_AWD3 + * @param ADCx ADC instance + * @retval State of bit (1 or 0). + */ +static inline uint32_t LL_ADC_IsEnabledIT_AWD3(const ADC_TypeDef *ADCx) +{ + return ((((ADCx->IER) & ((0x1UL << (9U)))) == ((0x1UL << (9U)))) ? 1UL : 0UL); +} + +/** + * @} + */ + + +/** @defgroup ADC_LL_EF_Init Initialization and de-initialization functions + * @{ + */ + +/* Initialization of some features of ADC common parameters and multimode */ +ErrorStatus LL_ADC_CommonDeInit(const ADC_Common_TypeDef *ADCxy_COMMON); +ErrorStatus LL_ADC_CommonInit(ADC_Common_TypeDef *ADCxy_COMMON, LL_ADC_CommonInitTypeDef *ADC_CommonInitStruct); +void LL_ADC_CommonStructInit(LL_ADC_CommonInitTypeDef *ADC_CommonInitStruct); + +/* De-initialization of ADC instance, ADC group regular and ADC group injected */ +/* (availability of ADC group injected depends on STM32 families) */ +ErrorStatus LL_ADC_DeInit(ADC_TypeDef *ADCx); + +/* Initialization of some features of ADC instance */ +ErrorStatus LL_ADC_Init(ADC_TypeDef *ADCx, LL_ADC_InitTypeDef *ADC_InitStruct); +void LL_ADC_StructInit(LL_ADC_InitTypeDef *ADC_InitStruct); + +/* Initialization of some features of ADC instance and ADC group regular */ +ErrorStatus LL_ADC_REG_Init(ADC_TypeDef *ADCx, LL_ADC_REG_InitTypeDef *ADC_REG_InitStruct); +void LL_ADC_REG_StructInit(LL_ADC_REG_InitTypeDef *ADC_REG_InitStruct); + +/* Initialization of some features of ADC instance and ADC group injected */ +ErrorStatus LL_ADC_INJ_Init(ADC_TypeDef *ADCx, LL_ADC_INJ_InitTypeDef *ADC_INJ_InitStruct); +void LL_ADC_INJ_StructInit(LL_ADC_INJ_InitTypeDef *ADC_INJ_InitStruct); + +/** + * @} + */ + + +/** + * @} + */ + +/** + * @} + */ + + + +/** + * @} + */ + + +} +# 32 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup ADC + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/** @defgroup ADC_Exported_Types ADC Exported Types + * @{ + */ + +/** + * @brief ADC group regular oversampling structure definition + */ +typedef struct +{ + uint32_t Ratio; + + + + /*This parameter can be a value of @ref ADC_HAL_EC_OVS_RATIO */ + + + uint32_t RightBitShift; /*!< Configures the division coefficient for the Oversampler. + This parameter can be a value of @ref ADC_HAL_EC_OVS_SHIFT */ + + uint32_t TriggeredMode; /*!< Selects the regular triggered oversampling mode. + This parameter can be a value of @ref ADC_HAL_EC_OVS_DISCONT_MODE */ + + uint32_t OversamplingStopReset; /*!< Selects the regular oversampling mode. + The oversampling is either temporary stopped or reset upon an injected + sequence interruption. + If oversampling is enabled on both regular and injected groups, this parameter + is discarded and forced to setting "ADC_REGOVERSAMPLING_RESUMED_MODE" + (the oversampling buffer is zeroed during injection sequence). + This parameter can be a value of @ref ADC_HAL_EC_OVS_SCOPE_REG */ + +} ADC_OversamplingTypeDef; + +/** + * @brief Structure definition of ADC instance and ADC group regular. + * @note Parameters of this structure are shared within 2 scopes: + * - Scope entire ADC (affects ADC groups regular and injected): ClockPrescaler, Resolution, DataAlign, + * ScanConvMode, EOCSelection, LowPowerAutoWait. + * - Scope ADC group regular: ContinuousConvMode, NbrOfConversion, DiscontinuousConvMode, NbrOfDiscConversion, + * ExternalTrigConv, ExternalTrigConvEdge, DMAContinuousRequests, Overrun, OversamplingMode, Oversampling. + * @note The setting of these parameters by function HAL_ADC_Init() is conditioned to ADC state. + * ADC state can be either: + * - For all parameters: ADC disabled + * - For all parameters except 'LowPowerAutoWait', 'DMAContinuousRequests' and 'Oversampling': ADC enabled without conversion on going on group regular. + * - For parameters 'LowPowerAutoWait' and 'DMAContinuousRequests': ADC enabled without conversion on going on groups regular and injected. + * If ADC is not in the appropriate state to modify some parameters, these parameters setting is bypassed + * without error reporting (as it can be the expected behavior in case of intended action to update another parameter + * (which fulfills the ADC state condition) on the fly). + */ +typedef struct +{ + uint32_t ClockPrescaler; /*!< Select ADC clock source (synchronous clock derived from APB clock or asynchronous clock derived from system clock or PLL (Refer to reference manual for list of clocks available)) and clock prescaler. + This parameter can be a value of @ref ADC_HAL_EC_COMMON_CLOCK_SOURCE. + Note: The ADC clock configuration is common to all ADC instances. + Note: In case of usage of channels on injected group, ADC frequency should be lower than AHB clock frequency /4 for resolution 12 or 10 bits, + AHB clock frequency /3 for resolution 8 bits, AHB clock frequency /2 for resolution 6 bits. + Note: In case of synchronous clock mode based on HCLK/1, the configuration must be enabled only + if the system clock has a 50% duty clock cycle (APB prescaler configured inside RCC + must be bypassed and PCLK clock must have 50% duty cycle). Refer to reference manual for details. + Note: In case of usage of asynchronous clock, the selected clock must be preliminarily enabled at RCC top level. + Note: This parameter can be modified only if all ADC instances are disabled. */ + + uint32_t Resolution; /*!< Configure the ADC resolution. + This parameter can be a value of @ref ADC_HAL_EC_RESOLUTION */ +# 113 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc.h" + uint32_t ScanConvMode; /*!< Configure the sequencer of ADC groups regular and injected. + This parameter can be associated to parameter 'DiscontinuousConvMode' to have main sequence subdivided in successive parts. + If disabled: Conversion is performed in single mode (one channel converted, the one defined in rank 1). + Parameters 'NbrOfConversion' and 'InjectedNbrOfConversion' are discarded (equivalent to set to 1). + If enabled: Conversions are performed in sequence mode (multiple ranks defined by 'NbrOfConversion' or 'InjectedNbrOfConversion' and rank of each channel in sequencer). + Scan direction is upward: from rank 1 to rank 'n'. + This parameter can be a value of @ref ADC_Scan_mode */ + + uint32_t EOCSelection; /*!< Specify which EOC (End Of Conversion) flag is used for conversion by polling and interruption: end of unitary conversion or end of sequence conversions. + This parameter can be a value of @ref ADC_EOCSelection. */ + + FunctionalState LowPowerAutoWait; /*!< Select the dynamic low power Auto Delay: new conversion start only when the previous + conversion (for ADC group regular) or previous sequence (for ADC group injected) has been retrieved by user software, + using function HAL_ADC_GetValue() or HAL_ADCEx_InjectedGetValue(). + This feature automatically adapts the frequency of ADC conversions triggers to the speed of the system that reads the data. Moreover, this avoids risk of overrun + for low frequency applications. + This parameter can be set to ENABLE or DISABLE. + Note: It is not recommended to use with interruption or DMA (HAL_ADC_Start_IT(), HAL_ADC_Start_DMA()) since these modes have to clear immediately the EOC flag (by CPU to free the IRQ pending event or by DMA). + Auto wait will work but fort a very short time, discarding its intended benefit (except specific case of high load of CPU or DMA transfers which can justify usage of auto wait). + Do use with polling: 1. Start conversion with HAL_ADC_Start(), 2. Later on, when ADC conversion data is needed: + and use HAL_ADC_GetValue() to retrieve conversion result and trig another conversion (in case of usage of injected group, + use the equivalent functions HAL_ADCExInjected_Start(), HAL_ADCEx_InjectedGetValue(), ...). */ + + FunctionalState ContinuousConvMode; /*!< Specify whether the conversion is performed in single mode (one conversion) or continuous mode for ADC group regular, + after the first ADC conversion start trigger occurred (software start or external trigger). + This parameter can be set to ENABLE or DISABLE. */ + + uint32_t NbrOfConversion; /*!< Specify the number of ranks that will be converted within the regular group sequencer. + To use the regular group sequencer and convert several ranks, parameter 'ScanConvMode' must be enabled. + This parameter must be a number between Min_Data = 1 and Max_Data = 16. + Note: This parameter must be modified when no conversion is on going on regular group (ADC disabled, or ADC enabled without + continuous mode or external trigger that could launch a conversion). */ + + FunctionalState DiscontinuousConvMode; /*!< Specify whether the conversions sequence of ADC group regular is performed in Complete-sequence/Discontinuous-sequence + (main sequence subdivided in successive parts). + Discontinuous mode is used only if sequencer is enabled (parameter 'ScanConvMode'). If sequencer is disabled, this parameter is discarded. + Discontinuous mode can be enabled only if continuous mode is disabled. If continuous mode is enabled, this parameter setting is discarded. + This parameter can be set to ENABLE or DISABLE. */ + + uint32_t NbrOfDiscConversion; /*!< Specifies the number of discontinuous conversions in which the main sequence of ADC group regular (parameter NbrOfConversion) will be subdivided. + If parameter 'DiscontinuousConvMode' is disabled, this parameter is discarded. + This parameter must be a number between Min_Data = 1 and Max_Data = 8. */ + + uint32_t ExternalTrigConv; /*!< Select the external event source used to trigger ADC group regular conversion start. + If set to ADC_SOFTWARE_START, external triggers are disabled and software trigger is used instead. + This parameter can be a value of @ref ADC_regular_external_trigger_source. + Caution: external trigger source is common to all ADC instances. */ + + uint32_t ExternalTrigConvEdge; /*!< Select the external event edge used to trigger ADC group regular conversion start. + If trigger source is set to ADC_SOFTWARE_START, this parameter is discarded. + This parameter can be a value of @ref ADC_regular_external_trigger_edge */ + + uint32_t ConversionDataManagement; /*!< Specifies whether the Data conversion data is managed: using the DMA (oneshot or circular), or stored in the DR register or transferred to DFSDM register. + Note: In continuous mode, DMA must be configured in circular mode. Otherwise an overrun will be triggered when DMA buffer maximum pointer is reached. + This parameter can be a value of @ref ADC_ConversionDataManagement. + Note: This parameter must be modified when no conversion is on going on both regular and injected groups + (ADC disabled, or ADC enabled without continuous mode or external trigger that could launch a conversion).*/ +# 186 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc.h" + uint32_t Overrun; /*!< Select the behavior in case of overrun: data overwritten or preserved (default). + This parameter applies to ADC group regular only. + This parameter can be a value of @ref ADC_HAL_EC_REG_OVR_DATA_BEHAVIOR. + Note: In case of overrun set to data preserved and usage with programming model with interruption (HAL_Start_IT()): ADC IRQ handler has to clear + end of conversion flags, this induces the release of the preserved data. If needed, this data can be saved in function + HAL_ADC_ConvCpltCallback(), placed in user program code (called before end of conversion flags clear). + Note: Error reporting with respect to the conversion mode: + - Usage with ADC conversion by polling for event or interruption: Error is reported only if overrun is set to data preserved. If overrun is set to data + overwritten, user can willingly not read all the converted data, this is not considered as an erroneous case. + - Usage with ADC conversion by DMA: Error is reported whatever overrun setting (DMA is expected to process all data from data register). */ + + uint32_t LeftBitShift; /*!< Configures the left shifting applied to the final result with or without oversampling. + This parameter can be a value of @ref ADCEx_Left_Bit_Shift */ + FunctionalState OversamplingMode; /*!< Specify whether the oversampling feature is enabled or disabled. + This parameter can be set to ENABLE or DISABLE. + Note: This parameter can be modified only if there is no conversion is ongoing on ADC groups regular and injected */ + + ADC_OversamplingTypeDef Oversampling; /*!< Specify the Oversampling parameters. + Caution: this setting overwrites the previous oversampling configuration if oversampling is already enabled. */ + +} ADC_InitTypeDef; + +/** + * @brief Structure definition of ADC channel for regular group + * @note The setting of these parameters by function HAL_ADC_ConfigChannel() is conditioned to ADC state. + * ADC state can be either: + * - For all parameters: ADC disabled (this is the only possible ADC state to modify parameter 'SingleDiff') + * - For all except parameters 'SamplingTime', 'Offset', 'OffsetNumber': ADC enabled without conversion on going on regular group. + * - For parameters 'SamplingTime', 'Offset', 'OffsetNumber': ADC enabled without conversion on going on regular and injected groups. + * If ADC is not in the appropriate state to modify some parameters, these parameters setting is bypassed + * without error reporting (as it can be the expected behavior in case of intended action to update another parameter (which fulfills the ADC state condition) + * on the fly). + */ +typedef struct +{ + uint32_t Channel; /*!< Specify the channel to configure into ADC regular group. + This parameter can be a value of @ref ADC_HAL_EC_CHANNEL + Note: Depending on devices and ADC instances, some channels may not be available on device package pins. Refer to device datasheet for channels availability. */ + + uint32_t Rank; /*!< Specify the rank in the regular group sequencer. + This parameter can be a value of @ref ADC_HAL_EC_REG_SEQ_RANKS + Note: to disable a channel or change order of conversion sequencer, rank containing a previous channel setting can be overwritten by + the new channel setting (or parameter number of conversions adjusted) */ + + uint32_t SamplingTime; /*!< Sampling time value to be set for the selected channel. + Unit: ADC clock cycles + Conversion time is the addition of sampling time and processing time + (12.5 ADC clock cycles at ADC resolution 12 bits, 10.5 cycles at 10 bits, 8.5 cycles at 8 bits, 6.5 cycles at 6 bits). + This parameter can be a value of @ref ADC_HAL_EC_CHANNEL_SAMPLINGTIME + Caution: This parameter applies to a channel that can be used into regular and/or injected group. + It overwrites the last setting. + Note: In case of usage of internal measurement channels (VrefInt/Vbat/TempSensor), + sampling time constraints must be respected (sampling time can be adjusted in function of ADC clock frequency and sampling time setting) + Refer to device datasheet for timings values. */ + + uint32_t SingleDiff; /*!< Select single-ended or differential input. + In differential mode: Differential measurement is carried out between the selected channel 'i' (positive input) and channel 'i+1' (negative input). + Only channel 'i' has to be configured, channel 'i+1' is configured automatically. + This parameter must be a value of @ref ADC_HAL_EC_CHANNEL_SINGLE_DIFF_ENDING + Caution: This parameter applies to a channel that can be used in a regular and/or injected group. + It overwrites the last setting. + Note: Refer to Reference Manual to ensure the selected channel is available in differential mode. + Note: When configuring a channel 'i' in differential mode, the channel 'i+1' is not usable separately. + Note: This parameter must be modified when ADC is disabled (before ADC start conversion or after ADC stop conversion). + If ADC is enabled, this parameter setting is bypassed without error reporting (as it can be the expected behavior in case + of another parameter update on the fly) */ + + uint32_t OffsetNumber; /*!< Select the offset number + This parameter can be a value of @ref ADC_HAL_EC_OFFSET_NB + Caution: Only one offset is allowed per channel. This parameter overwrites the last setting. */ + + uint32_t Offset; /*!< Define the offset to be subtracted from the raw converted data. + Offset value must be a positive number. + Maximum value depends on ADC resolution and oversampling ratio (in case of oversampling used). + This parameter must be a number between Min_Data = 0x0000 and Max_Data = 0x3FFFC00 (corresponding to resolution 16 bit and oversampling ratio 1024). + Note: This parameter must be modified when no conversion is on going on both regular and injected groups (ADC disabled, or ADC enabled + without continuous mode or external trigger that could launch a conversion). */ + + FunctionalState OffsetRightShift; /*!< Define the Right-shift data after Offset correction. + This parameter is applied only for 16-bit or 8-bit resolution. + This parameter can be set to ENABLE or DISABLE.*/ +# 281 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc.h" + FunctionalState OffsetSignedSaturation; /*!< Specify whether the Signed saturation feature is used or not. + This parameter is applied only for 16-bit or 8-bit resolution. + This parameter can be set to ENABLE or DISABLE. */ + +} ADC_ChannelConfTypeDef; + +/** + * @brief Structure definition of ADC analog watchdog + * @note The setting of these parameters by function HAL_ADC_AnalogWDGConfig() is conditioned to ADC state. + * ADC state can be either: + * - For all parameters: ADC disabled or ADC enabled without conversion on going on ADC groups regular and injected. + */ +typedef struct +{ + uint32_t WatchdogNumber; /*!< Select which ADC analog watchdog is monitoring the selected channel. + For Analog Watchdog 1: Only 1 channel can be monitored (or overall group of channels by setting parameter 'WatchdogMode') + For Analog Watchdog 2 and 3: Several channels can be monitored (by successive calls of 'HAL_ADC_AnalogWDGConfig()' for each channel) + This parameter can be a value of @ref ADC_HAL_EC_AWD_NUMBER. */ + + uint32_t WatchdogMode; /*!< Configure the ADC analog watchdog mode: single/all/none channels. + For Analog Watchdog 1: Configure the ADC analog watchdog mode: single channel or all channels, ADC groups regular and-or injected. + For Analog Watchdog 2 and 3: Several channels can be monitored by applying successively the AWD init structure. Channels on ADC group regular and injected are not differentiated: Set value 'ADC_ANALOGWATCHDOG_SINGLE_xxx' to monitor 1 channel, value 'ADC_ANALOGWATCHDOG_ALL_xxx' to monitor all channels, 'ADC_ANALOGWATCHDOG_NONE' to monitor no channel. + This parameter can be a value of @ref ADC_analog_watchdog_mode. */ + + uint32_t Channel; /*!< Select which ADC channel to monitor by analog watchdog. + For Analog Watchdog 1: this parameter has an effect only if parameter 'WatchdogMode' is configured on single channel (only 1 channel can be monitored). + For Analog Watchdog 2 and 3: Several channels can be monitored. To use this feature, call successively the function HAL_ADC_AnalogWDGConfig() for each channel to be added (or removed with value 'ADC_ANALOGWATCHDOG_NONE'). + This parameter can be a value of @ref ADC_HAL_EC_CHANNEL. */ + + FunctionalState ITMode; /*!< Specify whether the analog watchdog is configured in interrupt or polling mode. + This parameter can be set to ENABLE or DISABLE */ + + uint32_t HighThreshold; /*!< Configure the ADC analog watchdog High threshold value. + Depending of ADC resolution selected (16, 14, 12, 10, 8 bits), this parameter must be a number + between Min_Data = 0x000 and Max_Data = 0xFFFF, 0x3FFF, 0xFFF, 0x3FF or 0xFF respectively. + Note: Analog watchdog 2 and 3 are limited to a resolution of 8 bits: if ADC resolution is 12 bits + the 4 LSB are ignored, if ADC resolution is 10 bits the 2 LSB are ignored. + Note: If ADC oversampling is enabled, ADC analog watchdog thresholds are + impacted: the comparison of analog watchdog thresholds is done + on oversampling intermediate computation (after ratio, before shift + application): intermediate register bitfield [32:7] (26 most significant bits). */ + + uint32_t LowThreshold; /*!< Configures the ADC analog watchdog Low threshold value. + Depending of ADC resolution selected (16, 14, 12, 10, 8 bits), this parameter must be a number + between Min_Data = 0x000 and Max_Data = 0xFFFF, 0x3FFF, 0xFFF, 0x3FF or 0xFF respectively. + Note: Analog watchdog 2 and 3 are limited to a resolution of 8 bits: if ADC resolution is 12 bits + the 4 LSB are ignored, if ADC resolution is 10 bits the 2 LSB are ignored. + Note: If ADC oversampling is enabled, ADC analog watchdog thresholds are + impacted: the comparison of analog watchdog thresholds is done + on oversampling intermediate computation (after ratio, before shift + application): intermediate register bitfield [32:7] (26 most significant bits). */ + + + + + + + +} ADC_AnalogWDGConfTypeDef; + +/** + * @brief ADC group injected contexts queue configuration + * @note Structure intended to be used only through structure "ADC_HandleTypeDef" + */ +typedef struct +{ + uint32_t ContextQueue; /*!< Injected channel configuration context: build-up over each + HAL_ADCEx_InjectedConfigChannel() call to finally initialize + JSQR register at HAL_ADCEx_InjectedConfigChannel() last call */ + + uint32_t ChannelCount; +} ADC_InjectionConfigTypeDef; + +/** @defgroup ADC_States ADC States + * @{ + */ + +/** + * @brief HAL ADC state machine: ADC states definition (bitfields) + * @note ADC state machine is managed by bitfields, state must be compared + * with bit by bit. + * For example: + * " if ((HAL_ADC_GetState(hadc1) & HAL_ADC_STATE_REG_BUSY) != 0UL) " + * " if ((HAL_ADC_GetState(hadc1) & HAL_ADC_STATE_AWD1) != 0UL) " + */ +/* States of ADC global scope */ + + + + + +/* States of ADC errors */ + + + + +/* States of ADC group regular */ + + + + + + +/* States of ADC group injected */ + + + + + +/* States of ADC analog watchdogs */ + + + + +/* States of ADC multi-mode */ + + +/** + * @} + */ + +/** + * @brief ADC handle Structure definition + */ + + + +typedef struct + +{ + ADC_TypeDef *Instance; + ADC_InitTypeDef Init; + DMA_HandleTypeDef *DMA_Handle; + HAL_LockTypeDef Lock; + volatile uint32_t State; + volatile uint32_t ErrorCode; + ADC_InjectionConfigTypeDef InjectionConfig ; +# 431 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc.h" +} ADC_HandleTypeDef; +# 459 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc.h" +/** + * @} + */ + + +/* Exported constants --------------------------------------------------------*/ + +/** @defgroup ADC_Exported_Constants ADC Exported Constants + * @{ + */ + +/** @defgroup ADC_Error_Code ADC Error Code + * @{ + */ +# 482 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc.h" +/** + * @} + */ + +/** @defgroup ADC_HAL_EC_COMMON_CLOCK_SOURCE ADC common - Clock source + * @{ + */ +# 505 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc.h" +/** + * @} + */ + +/** @defgroup ADC_HAL_EC_RESOLUTION ADC instance - Resolution + * @{ + */ +# 526 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc.h" +/** + * @} + */ +# 541 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc.h" +/** @defgroup ADC_Scan_mode ADC sequencer scan mode + * @{ + */ + + +/** + * @} + */ + +/** @defgroup ADC_regular_external_trigger_source ADC group regular trigger source + * @{ + */ +/* ADC group regular trigger sources for all ADC instances */ +# 582 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc.h" +/** + * @} + */ + +/** @defgroup ADC_regular_external_trigger_edge ADC group regular trigger edge (when external trigger is selected) + * @{ + */ + + + + +/** + * @} + */ +# 614 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc.h" +/** @defgroup ADC_EOCSelection ADC sequencer end of unitary conversion or sequence conversions + * @{ + */ + + +/** + * @} + */ + +/** @defgroup ADC_HAL_EC_REG_OVR_DATA_BEHAVIOR ADC group regular - Overrun behavior on conversion data + * @{ + */ + + +/** + * @} + */ + +/** @defgroup ADC_HAL_EC_REG_SEQ_RANKS ADC group regular - Sequencer ranks + * @{ + */ +# 651 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc.h" +/** + * @} + */ + +/** @defgroup ADC_HAL_EC_CHANNEL_SAMPLINGTIME Channel - Sampling time + * @{ + */ +# 666 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc.h" +/** + * @} + */ +# 688 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc.h" +/** @defgroup ADCEx_Calibration_Mode ADC Extended Calibration mode offset mode or linear mode + * @{ + */ + + +/** + * @} + */ + +/** @defgroup ADC_HAL_EC_CHANNEL ADC instance - Channel number + * @{ + */ +/* Note: VrefInt, TempSensor and Vbat internal channels are not available on */ +/* all ADC instances (refer to Reference Manual). */ +# 730 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc.h" +/** + * @} + */ + +/** @defgroup ADC_ConversionDataManagement ADC Conversion Data Management + * @{ + */ + + + + +/** + * @} + */ +/** @defgroup ADC_HAL_EC_AWD_NUMBER Analog watchdog - Analog watchdog number + * @{ + */ + + + +/** + * @} + */ +# 771 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc.h" +/** @defgroup ADC_analog_watchdog_mode ADC Analog Watchdog Mode + * @{ + */ + + + + + + + +/** + * @} + */ +# 803 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc.h" +/** @defgroup ADC_HAL_EC_OVS_SHIFT Oversampling - Data shift + * @{ + */ +# 818 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc.h" +/** + * @} + */ + +/** @defgroup ADCEx_Left_Bit_Shift ADC Extended Oversampling left Shift + * @{ + */ +# 841 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc.h" +/** + * @} + */ + +/** @defgroup ADC_HAL_EC_OVS_DISCONT_MODE Oversampling - Discontinuous mode + * @{ + */ + + +/** + * @} + */ + +/** @defgroup ADC_HAL_EC_OVS_SCOPE_REG Oversampling - Oversampling scope for ADC group regular + * @{ + */ + + +/** + * @} + */ + + +/** @defgroup ADC_Event_type ADC Event type + * @{ + */ + + + + + + +/** + * @} + */ + + +/** @defgroup ADC_interrupts_definition ADC interrupts definition + * @{ + */ +# 895 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc.h" +/** + * @} + */ + +/** @defgroup ADC_flags_definition ADC flags definition + * @{ + */ +# 914 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc.h" +/** + * @} + */ + +/** + * @} + */ + +/* Private macro -------------------------------------------------------------*/ + +/** @defgroup ADC_Private_Macros ADC Private Macros + * @{ + */ +/* Macro reserved for internal HAL driver usage, not intended to be used in */ +/* code of final user. */ + +/** + * @brief Verify the ADC data conversion setting. + * @param DATA : programmed DATA conversion mode. + * @retval SET (DATA is a valid value) or RESET (DATA is invalid) + */ + + + + + + +/** + * @brief Return resolution bits in CFGR register RES[1:0] field. + * @param __HANDLE__ ADC handle + * @retval Value of bitfield RES in CFGR register. + */ + + + +/** + * @brief Clear ADC error code (set it to no error code "HAL_ADC_ERROR_NONE"). + * @param __HANDLE__ ADC handle + * @retval None + */ + + +/** + * @brief Verification of ADC state: enabled or disabled. + * @param __HANDLE__ ADC handle + * @retval SET (ADC enabled) or RESET (ADC disabled) + */ + + + + + +/** + * @brief Check if conversion is on going on regular group. + * @param __HANDLE__ ADC handle + * @retval Value "0" (no conversion is on going) or value "1" (conversion is on going) + */ + + + +/** + * @brief Check if ADC clock mode is synchronous + * @param __HANDLE__: ADC handle + * @retval SET (clock mode is synchronous) or RESET (clock mode is asynchronous) + */ +# 989 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc.h" +/** + * @brief Simultaneously clear and set specific bits of the handle State. + * @note ADC_STATE_CLR_SET() macro is merely aliased to generic macro MODIFY_REG(), + * the first parameter is the ADC handle State, the second parameter is the + * bit field to clear, the third and last parameter is the bit field to set. + * @retval None + */ + + +/** + * @brief Verify that a given value is aligned with the ADC resolution range. + * @param __RESOLUTION__ ADC resolution (16, 14, 12, 10 or 8 bits). + * @param __ADC_VALUE__ value checked against the resolution. + * @retval SET (__ADC_VALUE__ in line with __RESOLUTION__) or RESET (__ADC_VALUE__ not in line with __RESOLUTION__) + */ +# 1017 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc.h" +/** + * @brief Verify the length of the scheduled regular conversions group. + * @param __LENGTH__ number of programmed conversions. + * @retval SET (__LENGTH__ is within the maximum number of possible programmable regular conversions) or RESET (__LENGTH__ is null or too large) + */ + + + +/** + * @brief Verify the number of scheduled regular conversions in discontinuous mode. + * @param NUMBER number of scheduled regular conversions in discontinuous mode. + * @retval SET (NUMBER is within the maximum number of regular conversions in discontinuous mode) or RESET (NUMBER is null or too large) + */ + + + +/** + * @brief Verify the ADC clock setting. + * @param __ADC_CLOCK__ programmed ADC clock. + * @retval SET (__ADC_CLOCK__ is a valid value) or RESET (__ADC_CLOCK__ is invalid) + */ +# 1054 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc.h" +/** + * @brief Verify the ADC resolution setting. + * @param __RESOLUTION__ programmed ADC resolution. + * @retval SET (__RESOLUTION__ is a valid value) or RESET (__RESOLUTION__ is invalid) + */ +# 1082 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc.h" +/** + * @brief Verify the ADC resolution setting when limited to 8 bits. + * @param __RESOLUTION__ programmed ADC resolution when limited to 8 bits. + * @retval SET (__RESOLUTION__ is a valid value) or RESET (__RESOLUTION__ is invalid) + */ +# 1109 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc.h" +/** + * @brief Verify the ADC scan mode. + * @param __SCAN_MODE__ programmed ADC scan mode. + * @retval SET (__SCAN_MODE__ is valid) or RESET (__SCAN_MODE__ is invalid) + */ + + + +/** + * @brief Verify the ADC edge trigger setting for regular group. + * @param __EDGE__ programmed ADC edge trigger setting. + * @retval SET (__EDGE__ is a valid value) or RESET (__EDGE__ is invalid) + */ + + + + + +/** + * @brief Verify the ADC regular conversions external trigger. + * @param __REGTRIG__ programmed ADC regular conversions external trigger. + * @retval SET (__REGTRIG__ is a valid value) or RESET (__REGTRIG__ is invalid) + */ +# 1183 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc.h" +/** + * @brief Verify the ADC regular conversions check for converted data availability. + * @param __EOC_SELECTION__ converted data availability check. + * @retval SET (__EOC_SELECTION__ is a valid value) or RESET (__EOC_SELECTION__ is invalid) + */ + + + +/** + * @brief Verify the ADC regular conversions overrun handling. + * @param __OVR__ ADC regular conversions overrun handling. + * @retval SET (__OVR__ is a valid value) or RESET (__OVR__ is invalid) + */ + + + +/** + * @brief Verify the ADC conversions sampling time. + * @param __TIME__ ADC conversions sampling time. + * @retval SET (__TIME__ is a valid value) or RESET (__TIME__ is invalid) + */ +# 1213 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc.h" +/** + * @brief Verify the ADC regular channel setting. + * @param __CHANNEL__ programmed ADC regular channel. + * @retval SET (__CHANNEL__ is valid) or RESET (__CHANNEL__ is invalid) + */ +# 1235 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc.h" +/** + * @} + */ + + +/* Private constants ---------------------------------------------------------*/ + +/** @defgroup ADC_Private_Constants ADC Private Constants + * @{ + */ + +/* Fixed timeout values for ADC conversion (including sampling time) */ +/* Maximum sampling time is 810.5 ADC clock cycle */ +/* Maximum conversion time is 16.5 + Maximum sampling time */ +/* or 16.5 + 810.5 = 827 ADC clock cycles */ +/* Minimum ADC Clock frequency is 0.35 MHz */ +/* Maximum conversion time is */ +/* 827 / 0.35 MHz = 2.36 ms */ + + + +/* Delay for temperature sensor stabilization time. */ +/* Maximum delay is 120us (refer device datasheet, parameter tSTART). */ +/* Unit: us */ + + +/* Delay for ADC voltage regulator startup time */ +/* Maximum delay is 10 microseconds */ +/* (refer device RM, parameter Tadcvreg_stup). */ + + +/** + * @} + */ + +/* Exported macro ------------------------------------------------------------*/ + +/** @defgroup ADC_Exported_Macros ADC Exported Macros + * @{ + */ +/* Macro for internal HAL driver usage, and possibly can be used into code of */ +/* final user. */ + +/** @defgroup ADC_HAL_EM_HANDLE_IT_FLAG HAL ADC macro to manage HAL ADC handle, IT and flags. + * @{ + */ + +/** @brief Reset ADC handle state. + * @param __HANDLE__ ADC handle + * @retval None + */ +# 1298 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc.h" +/** + * @brief Enable ADC interrupt. + * @param __HANDLE__ ADC handle + * @param __INTERRUPT__ ADC Interrupt + * This parameter can be one of the following values: + * @arg @ref ADC_IT_RDY ADC Ready interrupt source + * @arg @ref ADC_IT_EOSMP ADC End of Sampling interrupt source + * @arg @ref ADC_IT_EOC ADC End of Regular Conversion interrupt source + * @arg @ref ADC_IT_EOS ADC End of Regular sequence of Conversions interrupt source + * @arg @ref ADC_IT_OVR ADC overrun interrupt source + * @arg @ref ADC_IT_JEOC ADC End of Injected Conversion interrupt source + * @arg @ref ADC_IT_JEOS ADC End of Injected sequence of Conversions interrupt source + * @arg @ref ADC_IT_AWD1 ADC Analog watchdog 1 interrupt source (main analog watchdog) + * @arg @ref ADC_IT_AWD2 ADC Analog watchdog 2 interrupt source (additional analog watchdog) + * @arg @ref ADC_IT_AWD3 ADC Analog watchdog 3 interrupt source (additional analog watchdog) + * @arg @ref ADC_IT_JQOVF ADC Injected Context Queue Overflow interrupt source. + * @retval None + */ + + + +/** + * @brief Disable ADC interrupt. + * @param __HANDLE__ ADC handle + * @param __INTERRUPT__ ADC Interrupt + * This parameter can be one of the following values: + * @arg @ref ADC_IT_RDY ADC Ready interrupt source + * @arg @ref ADC_IT_EOSMP ADC End of Sampling interrupt source + * @arg @ref ADC_IT_EOC ADC End of Regular Conversion interrupt source + * @arg @ref ADC_IT_EOS ADC End of Regular sequence of Conversions interrupt source + * @arg @ref ADC_IT_OVR ADC overrun interrupt source + * @arg @ref ADC_IT_JEOC ADC End of Injected Conversion interrupt source + * @arg @ref ADC_IT_JEOS ADC End of Injected sequence of Conversions interrupt source + * @arg @ref ADC_IT_AWD1 ADC Analog watchdog 1 interrupt source (main analog watchdog) + * @arg @ref ADC_IT_AWD2 ADC Analog watchdog 2 interrupt source (additional analog watchdog) + * @arg @ref ADC_IT_AWD3 ADC Analog watchdog 3 interrupt source (additional analog watchdog) + * @arg @ref ADC_IT_JQOVF ADC Injected Context Queue Overflow interrupt source. + * @retval None + */ + + + +/** @brief Checks if the specified ADC interrupt source is enabled or disabled. + * @param __HANDLE__ ADC handle + * @param __INTERRUPT__ ADC interrupt source to check + * This parameter can be one of the following values: + * @arg @ref ADC_IT_RDY ADC Ready interrupt source + * @arg @ref ADC_IT_EOSMP ADC End of Sampling interrupt source + * @arg @ref ADC_IT_EOC ADC End of Regular Conversion interrupt source + * @arg @ref ADC_IT_EOS ADC End of Regular sequence of Conversions interrupt source + * @arg @ref ADC_IT_OVR ADC overrun interrupt source + * @arg @ref ADC_IT_JEOC ADC End of Injected Conversion interrupt source + * @arg @ref ADC_IT_JEOS ADC End of Injected sequence of Conversions interrupt source + * @arg @ref ADC_IT_AWD1 ADC Analog watchdog 1 interrupt source (main analog watchdog) + * @arg @ref ADC_IT_AWD2 ADC Analog watchdog 2 interrupt source (additional analog watchdog) + * @arg @ref ADC_IT_AWD3 ADC Analog watchdog 3 interrupt source (additional analog watchdog) + * @arg @ref ADC_IT_JQOVF ADC Injected Context Queue Overflow interrupt source. + * @retval State of interruption (SET or RESET) + */ + + + +/** + * @brief Check whether the specified ADC flag is set or not. + * @param __HANDLE__ ADC handle + * @param __FLAG__ ADC flag + * This parameter can be one of the following values: + * @arg @ref ADC_FLAG_RDY ADC Ready flag + * @arg @ref ADC_FLAG_EOSMP ADC End of Sampling flag + * @arg @ref ADC_FLAG_EOC ADC End of Regular Conversion flag + * @arg @ref ADC_FLAG_EOS ADC End of Regular sequence of Conversions flag + * @arg @ref ADC_FLAG_OVR ADC overrun flag + * @arg @ref ADC_FLAG_JEOC ADC End of Injected Conversion flag + * @arg @ref ADC_FLAG_JEOS ADC End of Injected sequence of Conversions flag + * @arg @ref ADC_FLAG_AWD1 ADC Analog watchdog 1 flag (main analog watchdog) + * @arg @ref ADC_FLAG_AWD2 ADC Analog watchdog 2 flag (additional analog watchdog) + * @arg @ref ADC_FLAG_AWD3 ADC Analog watchdog 3 flag (additional analog watchdog) + * @arg @ref ADC_FLAG_JQOVF ADC Injected Context Queue Overflow flag + * @arg @ref ADC_FLAG_LDORDY ADC LDO output voltage ready bit. + * @retval State of flag (TRUE or FALSE). + */ + + + +/** + * @brief Clear the specified ADC flag. + * @param __HANDLE__ ADC handle + * @param __FLAG__ ADC flag + * This parameter can be one of the following values: + * @arg @ref ADC_FLAG_RDY ADC Ready flag + * @arg @ref ADC_FLAG_EOSMP ADC End of Sampling flag + * @arg @ref ADC_FLAG_EOC ADC End of Regular Conversion flag + * @arg @ref ADC_FLAG_EOS ADC End of Regular sequence of Conversions flag + * @arg @ref ADC_FLAG_OVR ADC overrun flag + * @arg @ref ADC_FLAG_JEOC ADC End of Injected Conversion flag + * @arg @ref ADC_FLAG_JEOS ADC End of Injected sequence of Conversions flag + * @arg @ref ADC_FLAG_AWD1 ADC Analog watchdog 1 flag (main analog watchdog) + * @arg @ref ADC_FLAG_AWD2 ADC Analog watchdog 2 flag (additional analog watchdog) + * @arg @ref ADC_FLAG_AWD3 ADC Analog watchdog 3 flag (additional analog watchdog) + * @arg @ref ADC_FLAG_JQOVF ADC Injected Context Queue Overflow flag. + * @retval None + */ +/* Note: bit cleared bit by writing 1 (writing 0 has no effect on any bit of register ISR) */ + + + +/** + * @} + */ + +/** @defgroup ADC_HAL_EM_HELPER_MACRO HAL ADC helper macro + * @{ + */ + +/** + * @brief Helper macro to get ADC channel number in decimal format + * from literals ADC_CHANNEL_x. + * @note Example: + * __HAL_ADC_CHANNEL_TO_DECIMAL_NB(ADC_CHANNEL_4) + * will return decimal number "4". + * @note The input can be a value from functions where a channel + * number is returned, either defined with number + * or with bitfield (only one bit must be set). + * @param __CHANNEL__ This parameter can be one of the following values: + * @arg @ref ADC_CHANNEL_0 (3) + * @arg @ref ADC_CHANNEL_1 (3) + * @arg @ref ADC_CHANNEL_2 (3) + * @arg @ref ADC_CHANNEL_3 (3) + * @arg @ref ADC_CHANNEL_4 (3) + * @arg @ref ADC_CHANNEL_5 (3) + * @arg @ref ADC_CHANNEL_6 + * @arg @ref ADC_CHANNEL_7 + * @arg @ref ADC_CHANNEL_8 + * @arg @ref ADC_CHANNEL_9 + * @arg @ref ADC_CHANNEL_10 + * @arg @ref ADC_CHANNEL_11 + * @arg @ref ADC_CHANNEL_12 + * @arg @ref ADC_CHANNEL_13 + * @arg @ref ADC_CHANNEL_14 + * @arg @ref ADC_CHANNEL_15 + * @arg @ref ADC_CHANNEL_16 + * @arg @ref ADC_CHANNEL_17 + * @arg @ref ADC_CHANNEL_18 + * @arg @ref ADC_CHANNEL_VREFINT (1) + * @arg @ref ADC_CHANNEL_TEMPSENSOR (1) + * @arg @ref ADC_CHANNEL_VBAT (1) + * @arg @ref ADC_CHANNEL_DAC1CH1_ADC2 (2) + * @arg @ref ADC_CHANNEL_DAC1CH2_ADC2 (2) + * + * (1) On STM32H7, parameter available only on ADC instance: ADC3.\n + * (2) On STM32H7, parameter available only on ADC instance: ADC2.\n + * (3) On STM32H7, fast channel (0.125 us for 14-bit resolution (ADC conversion rate up to 8 Ms/s)). + * Other channels are slow channels (conversion rate: refer to reference manual). + * @retval Value between Min_Data=0 and Max_Data=18 + */ + + + +/** + * @brief Helper macro to get ADC channel in literal format ADC_CHANNEL_x + * from number in decimal format. + * @note Example: + * __HAL_ADC_DECIMAL_NB_TO_CHANNEL(4) + * will return a data equivalent to "ADC_CHANNEL_4". + * @param __DECIMAL_NB__ Value between Min_Data=0 and Max_Data=18 + * @retval Returned value can be one of the following values: + * @arg @ref ADC_CHANNEL_0 (3) + * @arg @ref ADC_CHANNEL_1 (3) + * @arg @ref ADC_CHANNEL_2 (3) + * @arg @ref ADC_CHANNEL_3 (3) + * @arg @ref ADC_CHANNEL_4 (3) + * @arg @ref ADC_CHANNEL_5 (3) + * @arg @ref ADC_CHANNEL_6 + * @arg @ref ADC_CHANNEL_7 + * @arg @ref ADC_CHANNEL_8 + * @arg @ref ADC_CHANNEL_9 + * @arg @ref ADC_CHANNEL_10 + * @arg @ref ADC_CHANNEL_11 + * @arg @ref ADC_CHANNEL_12 + * @arg @ref ADC_CHANNEL_13 + * @arg @ref ADC_CHANNEL_14 + * @arg @ref ADC_CHANNEL_15 + * @arg @ref ADC_CHANNEL_16 + * @arg @ref ADC_CHANNEL_17 + * @arg @ref ADC_CHANNEL_18 + * @arg @ref ADC_CHANNEL_VREFINT (1) + * @arg @ref ADC_CHANNEL_TEMPSENSOR (1) + * @arg @ref ADC_CHANNEL_VBAT (1) + * @arg @ref ADC_CHANNEL_DAC1CH1_ADC2 (2) + * @arg @ref ADC_CHANNEL_DAC1CH2_ADC2 (2) + * + * (1) On STM32H7, parameter available only on ADC instance: ADC3.\n + * (2) On STM32H7, parameter available only on ADC instance: ADC2.\n + * (3) On STM32H7, fast channel (0.125 us for 14-bit resolution (ADC conversion rate up to 8 Ms/s)). + * Other channels are slow channels (conversion rate: refer to reference manual).\n + * (1, 2) For ADC channel read back from ADC register, + * comparison with internal channel parameter to be done + * using helper macro @ref __LL_ADC_CHANNEL_INTERNAL_TO_EXTERNAL(). + */ + + + +/** + * @brief Helper macro to determine whether the selected channel + * corresponds to literal definitions of driver. + * @note The different literal definitions of ADC channels are: + * - ADC internal channel: + * ADC_CHANNEL_VREFINT, ADC_CHANNEL_TEMPSENSOR, ... + * - ADC external channel (channel connected to a GPIO pin): + * ADC_CHANNEL_1, ADC_CHANNEL_2, ... + * @note The channel parameter must be a value defined from literal + * definition of a ADC internal channel (ADC_CHANNEL_VREFINT, + * ADC_CHANNEL_TEMPSENSOR, ...), + * ADC external channel (ADC_CHANNEL_1, ADC_CHANNEL_2, ...), + * must not be a value from functions where a channel number is + * returned from ADC registers, + * because internal and external channels share the same channel + * number in ADC registers. The differentiation is made only with + * parameters definitions of driver. + * @param __CHANNEL__ This parameter can be one of the following values: + * @arg @ref ADC_CHANNEL_0 (3) + * @arg @ref ADC_CHANNEL_1 (3) + * @arg @ref ADC_CHANNEL_2 (3) + * @arg @ref ADC_CHANNEL_3 (3) + * @arg @ref ADC_CHANNEL_4 (3) + * @arg @ref ADC_CHANNEL_5 (3) + * @arg @ref ADC_CHANNEL_6 + * @arg @ref ADC_CHANNEL_7 + * @arg @ref ADC_CHANNEL_8 + * @arg @ref ADC_CHANNEL_9 + * @arg @ref ADC_CHANNEL_10 + * @arg @ref ADC_CHANNEL_11 + * @arg @ref ADC_CHANNEL_12 + * @arg @ref ADC_CHANNEL_13 + * @arg @ref ADC_CHANNEL_14 + * @arg @ref ADC_CHANNEL_15 + * @arg @ref ADC_CHANNEL_16 + * @arg @ref ADC_CHANNEL_17 + * @arg @ref ADC_CHANNEL_18 + * @arg @ref ADC_CHANNEL_VREFINT (1) + * @arg @ref ADC_CHANNEL_TEMPSENSOR (1) + * @arg @ref ADC_CHANNEL_VBAT (1) + * @arg @ref ADC_CHANNEL_DAC1CH1_ADC2 (2) + * @arg @ref ADC_CHANNEL_DAC1CH2_ADC2 (2) + * + * (1) On STM32H7, parameter available only on ADC instance: ADC3.\n + * (2) On STM32H7, parameter available only on ADC instance: ADC2.\n + * (3) On STM32H7, fast channel (0.125 us for 14-bit resolution (ADC conversion rate up to 8 Ms/s)). + * Other channels are slow channels (conversion rate: refer to reference manual). + * @retval Value "0" if the channel corresponds to a parameter definition of a ADC external channel (channel connected to a GPIO pin). + * Value "1" if the channel corresponds to a parameter definition of a ADC internal channel. + */ + + + +/** + * @brief Helper macro to convert a channel defined from parameter + * definition of a ADC internal channel (ADC_CHANNEL_VREFINT, + * ADC_CHANNEL_TEMPSENSOR, ...), + * to its equivalent parameter definition of a ADC external channel + * (ADC_CHANNEL_1, ADC_CHANNEL_2, ...). + * @note The channel parameter can be, additionally to a value + * defined from parameter definition of a ADC internal channel + * (ADC_CHANNEL_VREFINT, ADC_CHANNEL_TEMPSENSOR, ...), + * a value defined from parameter definition of + * ADC external channel (ADC_CHANNEL_1, ADC_CHANNEL_2, ...) + * or a value from functions where a channel number is returned + * from ADC registers. + * @param __CHANNEL__ This parameter can be one of the following values: + * @arg @ref ADC_CHANNEL_0 (3) + * @arg @ref ADC_CHANNEL_1 (3) + * @arg @ref ADC_CHANNEL_2 (3) + * @arg @ref ADC_CHANNEL_3 (3) + * @arg @ref ADC_CHANNEL_4 (3) + * @arg @ref ADC_CHANNEL_5 (3) + * @arg @ref ADC_CHANNEL_6 + * @arg @ref ADC_CHANNEL_7 + * @arg @ref ADC_CHANNEL_8 + * @arg @ref ADC_CHANNEL_9 + * @arg @ref ADC_CHANNEL_10 + * @arg @ref ADC_CHANNEL_11 + * @arg @ref ADC_CHANNEL_12 + * @arg @ref ADC_CHANNEL_13 + * @arg @ref ADC_CHANNEL_14 + * @arg @ref ADC_CHANNEL_15 + * @arg @ref ADC_CHANNEL_16 + * @arg @ref ADC_CHANNEL_17 + * @arg @ref ADC_CHANNEL_18 + * @arg @ref ADC_CHANNEL_VREFINT (1) + * @arg @ref ADC_CHANNEL_TEMPSENSOR (1) + * @arg @ref ADC_CHANNEL_VBAT (1) + * @arg @ref ADC_CHANNEL_DAC1CH1_ADC2 (2) + * @arg @ref ADC_CHANNEL_DAC1CH2_ADC2 (2) + * + * (1) On STM32H7, parameter available only on ADC instance: ADC3.\n + * (2) On STM32H7, parameter available only on ADC instance: ADC2.\n + * (3) On STM32H7, fast channel (0.125 us for 14-bit resolution (ADC conversion rate up to 8 Ms/s)). + * Other channels are slow channels (conversion rate: refer to reference manual). + * @retval Returned value can be one of the following values: + * @arg @ref ADC_CHANNEL_0 + * @arg @ref ADC_CHANNEL_1 + * @arg @ref ADC_CHANNEL_2 + * @arg @ref ADC_CHANNEL_3 + * @arg @ref ADC_CHANNEL_4 + * @arg @ref ADC_CHANNEL_5 + * @arg @ref ADC_CHANNEL_6 + * @arg @ref ADC_CHANNEL_7 + * @arg @ref ADC_CHANNEL_8 + * @arg @ref ADC_CHANNEL_9 + * @arg @ref ADC_CHANNEL_10 + * @arg @ref ADC_CHANNEL_11 + * @arg @ref ADC_CHANNEL_12 + * @arg @ref ADC_CHANNEL_13 + * @arg @ref ADC_CHANNEL_14 + * @arg @ref ADC_CHANNEL_15 + * @arg @ref ADC_CHANNEL_16 + * @arg @ref ADC_CHANNEL_17 + * @arg @ref ADC_CHANNEL_18 + */ + + + +/** + * @brief Helper macro to determine whether the internal channel + * selected is available on the ADC instance selected. + * @note The channel parameter must be a value defined from parameter + * definition of a ADC internal channel (ADC_CHANNEL_VREFINT, + * ADC_CHANNEL_TEMPSENSOR, ...), + * must not be a value defined from parameter definition of + * ADC external channel (ADC_CHANNEL_1, ADC_CHANNEL_2, ...) + * or a value from functions where a channel number is + * returned from ADC registers, + * because internal and external channels share the same channel + * number in ADC registers. The differentiation is made only with + * parameters definitions of driver. + * @param __ADC_INSTANCE__ ADC instance + * @param __CHANNEL__ This parameter can be one of the following values: + * @arg @ref ADC_CHANNEL_VREFINT (1) + * @arg @ref ADC_CHANNEL_TEMPSENSOR (1) + * @arg @ref ADC_CHANNEL_VBAT (1) + * @arg @ref ADC_CHANNEL_DAC1CH1_ADC2 (2) + * @arg @ref ADC_CHANNEL_DAC1CH2_ADC2 (2) + * + * (1) On STM32H7, parameter available only on ADC instance: ADC3.\n + * (2) On STM32H7, parameter available only on ADC instance: ADC2. + * @retval Value "0" if the internal channel selected is not available on the ADC instance selected. + * Value "1" if the internal channel selected is available on the ADC instance selected. + */ + + + +/** + * @brief Helper macro to get the ADC multimode conversion data of ADC master + * or ADC slave from raw value with both ADC conversion data concatenated. + * @note This macro is intended to be used when multimode transfer by DMA + * is enabled: refer to function @ref LL_ADC_SetMultiDMATransfer(). + * In this case the transferred data need to processed with this macro + * to separate the conversion data of ADC master and ADC slave. + * @param __ADC_MULTI_MASTER_SLAVE__ This parameter can be one of the following values: + * @arg @ref LL_ADC_MULTI_MASTER + * @arg @ref LL_ADC_MULTI_SLAVE + * @param __ADC_MULTI_CONV_DATA__ Value between Min_Data=0x000 and Max_Data=0xFFF + * @retval Value between Min_Data=0x000 and Max_Data=0xFFF + */ + + + +/** + * @brief Helper macro to select the ADC common instance + * to which is belonging the selected ADC instance. + * @note ADC common register instance can be used for: + * - Set parameters common to several ADC instances + * - Multimode (for devices with several ADC instances) + * Refer to functions having argument "ADCxy_COMMON" as parameter. + * @param __ADCx__ ADC instance + * @retval ADC common register instance + */ + + + +/** + * @brief Helper macro to check if all ADC instances sharing the same + * ADC common instance are disabled. + * @note This check is required by functions with setting conditioned to + * ADC state: + * All ADC instances of the ADC common group must be disabled. + * Refer to functions having argument "ADCxy_COMMON" as parameter. + * @note On devices with only 1 ADC common instance, parameter of this macro + * is useless and can be ignored (parameter kept for compatibility + * with devices featuring several ADC common instances). + * @param __ADCXY_COMMON__ ADC common instance + * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMON_INSTANCE() ) + * @retval Value "0" if all ADC instances sharing the same ADC common instance + * are disabled. + * Value "1" if at least one ADC instance sharing the same ADC common instance + * is enabled. + */ + + + +/** + * @brief Helper macro to define the ADC conversion data full-scale digital + * value corresponding to the selected ADC resolution. + * @note ADC conversion data full-scale corresponds to voltage range + * determined by analog voltage references Vref+ and Vref- + * (refer to reference manual). + * @param __ADC_RESOLUTION__ This parameter can be one of the following values: + * @arg @ref ADC_RESOLUTION_16B + * @arg @ref ADC_RESOLUTION_14B + * @arg @ref ADC_RESOLUTION_12B + * @arg @ref ADC_RESOLUTION_10B + * @arg @ref ADC_RESOLUTION_8B + * @retval ADC conversion data full-scale digital value + */ + + + +/** + * @brief Helper macro to convert the ADC conversion data from + * a resolution to another resolution. + * @param __DATA__ ADC conversion data to be converted + * @param __ADC_RESOLUTION_CURRENT__ Resolution of to the data to be converted + * This parameter can be one of the following values: + * @arg @ref ADC_RESOLUTION_16B + * @arg @ref ADC_RESOLUTION_14B + * @arg @ref ADC_RESOLUTION_12B + * @arg @ref ADC_RESOLUTION_10B + * @arg @ref ADC_RESOLUTION_8B + * @param __ADC_RESOLUTION_TARGET__ Resolution of the data after conversion + * This parameter can be one of the following values: + * @arg @ref ADC_RESOLUTION_16B + * @arg @ref ADC_RESOLUTION_14B + * @arg @ref ADC_RESOLUTION_12B + * @arg @ref ADC_RESOLUTION_10B + * @arg @ref ADC_RESOLUTION_8B + * @retval ADC conversion data to the requested resolution + */ + + + + + + + +/** + * @brief Helper macro to calculate the voltage (unit: mVolt) + * corresponding to a ADC conversion data (unit: digital value). + * @note Analog reference voltage (Vref+) must be either known from + * user board environment or can be calculated using ADC measurement + * and ADC helper macro @ref __LL_ADC_CALC_VREFANALOG_VOLTAGE(). + * @param __VREFANALOG_VOLTAGE__ Analog reference voltage (unit: mV) + * @param __ADC_DATA__ ADC conversion data (resolution 12 bits) + * (unit: digital value). + * @param __ADC_RESOLUTION__ This parameter can be one of the following values: + * @arg @ref ADC_RESOLUTION_16B + * @arg @ref ADC_RESOLUTION_14B + * @arg @ref ADC_RESOLUTION_12B + * @arg @ref ADC_RESOLUTION_10B + * @arg @ref ADC_RESOLUTION_8B + * @retval ADC conversion data equivalent voltage value (unit: mVolt) + */ + + + + + + + +/** + * @brief Helper macro to calculate analog reference voltage (Vref+) + * (unit: mVolt) from ADC conversion data of internal voltage + * reference VrefInt. + * @note Computation is using VrefInt calibration value + * stored in system memory for each device during production. + * @note This voltage depends on user board environment: voltage level + * connected to pin Vref+. + * On devices with small package, the pin Vref+ is not present + * and internally bonded to pin Vdda. + * @note On this STM32 series, calibration data of internal voltage reference + * VrefInt corresponds to a resolution of 12 bits, + * this is the recommended ADC resolution to convert voltage of + * internal voltage reference VrefInt. + * Otherwise, this macro performs the processing to scale + * ADC conversion data to 12 bits. + * @param __VREFINT_ADC_DATA__ ADC conversion data (resolution 12 bits) + * of internal voltage reference VrefInt (unit: digital value). + * @param __ADC_RESOLUTION__ This parameter can be one of the following values: + * @arg @ref ADC_RESOLUTION_16B + * @arg @ref ADC_RESOLUTION_14B + * @arg @ref ADC_RESOLUTION_12B + * @arg @ref ADC_RESOLUTION_10B + * @arg @ref ADC_RESOLUTION_8B + * @retval Analog reference voltage (unit: mV) + */ + + + + + +/** + * @brief Helper macro to calculate the temperature (unit: degree Celsius) + * from ADC conversion data of internal temperature sensor. + * @note Computation is using temperature sensor calibration values + * stored in system memory for each device during production. + * @note Calculation formula: + * Temperature = ((TS_ADC_DATA - TS_CAL1) + * * (TS_CAL2_TEMP - TS_CAL1_TEMP)) + * / (TS_CAL2 - TS_CAL1) + TS_CAL1_TEMP + * with TS_ADC_DATA = temperature sensor raw data measured by ADC + * Avg_Slope = (TS_CAL2 - TS_CAL1) + * / (TS_CAL2_TEMP - TS_CAL1_TEMP) + * TS_CAL1 = equivalent TS_ADC_DATA at temperature + * TEMP_DEGC_CAL1 (calibrated in factory) + * TS_CAL2 = equivalent TS_ADC_DATA at temperature + * TEMP_DEGC_CAL2 (calibrated in factory) + * Caution: Calculation relevancy under reserve that calibration + * parameters are correct (address and data). + * To calculate temperature using temperature sensor + * datasheet typical values (generic values less, therefore + * less accurate than calibrated values), + * use helper macro @ref __LL_ADC_CALC_TEMPERATURE_TYP_PARAMS(). + * @note As calculation input, the analog reference voltage (Vref+) must be + * defined as it impacts the ADC LSB equivalent voltage. + * @note Analog reference voltage (Vref+) must be either known from + * user board environment or can be calculated using ADC measurement + * and ADC helper macro @ref __LL_ADC_CALC_VREFANALOG_VOLTAGE(). + * @note On this STM32 series, calibration data of temperature sensor + * corresponds to a resolution of 12 bits, + * this is the recommended ADC resolution to convert voltage of + * temperature sensor. + * Otherwise, this macro performs the processing to scale + * ADC conversion data to 12 bits. + * @param __VREFANALOG_VOLTAGE__ Analog reference voltage (unit: mV) + * @param __TEMPSENSOR_ADC_DATA__ ADC conversion data of internal + * temperature sensor (unit: digital value). + * @param __ADC_RESOLUTION__ ADC resolution at which internal temperature + * sensor voltage has been measured. + * This parameter can be one of the following values: + * @arg @ref ADC_RESOLUTION_16B + * @arg @ref ADC_RESOLUTION_14B + * @arg @ref ADC_RESOLUTION_12B + * @arg @ref ADC_RESOLUTION_10B + * @arg @ref ADC_RESOLUTION_8B + * @retval Temperature (unit: degree Celsius) + */ + + + + + + + +/** + * @brief Helper macro to calculate the temperature (unit: degree Celsius) + * from ADC conversion data of internal temperature sensor. + * @note Computation is using temperature sensor typical values + * (refer to device datasheet). + * @note Calculation formula: + * Temperature = (TS_TYP_CALx_VOLT(uV) - TS_ADC_DATA * Conversion_uV) + * / Avg_Slope + CALx_TEMP + * with TS_ADC_DATA = temperature sensor raw data measured by ADC + * (unit: digital value) + * Avg_Slope = temperature sensor slope + * (unit: uV/Degree Celsius) + * TS_TYP_CALx_VOLT = temperature sensor digital value at + * temperature CALx_TEMP (unit: mV) + * Caution: Calculation relevancy under reserve the temperature sensor + * of the current device has characteristics in line with + * datasheet typical values. + * If temperature sensor calibration values are available on + * on this device (presence of macro __LL_ADC_CALC_TEMPERATURE()), + * temperature calculation will be more accurate using + * helper macro @ref __LL_ADC_CALC_TEMPERATURE(). + * @note As calculation input, the analog reference voltage (Vref+) must be + * defined as it impacts the ADC LSB equivalent voltage. + * @note Analog reference voltage (Vref+) must be either known from + * user board environment or can be calculated using ADC measurement + * and ADC helper macro @ref __LL_ADC_CALC_VREFANALOG_VOLTAGE(). + * @note ADC measurement data must correspond to a resolution of 12bits + * (full scale digital value 4095). If not the case, the data must be + * preliminarily rescaled to an equivalent resolution of 12 bits. + * @param __TEMPSENSOR_TYP_AVGSLOPE__ Device datasheet data: Temperature sensor slope typical value (unit: uV/DegCelsius). + * On STM32H7, refer to device datasheet parameter "Avg_Slope". + * @param __TEMPSENSOR_TYP_CALX_V__ Device datasheet data: Temperature sensor voltage typical value (at temperature and Vref+ defined in parameters below) (unit: mV). + * On STM32H7, refer to device datasheet parameter "V30" (corresponding to TS_CAL1). + * @param __TEMPSENSOR_CALX_TEMP__ Device datasheet data: Temperature at which temperature sensor voltage (see parameter above) is corresponding (unit: mV) + * @param __VREFANALOG_VOLTAGE__ Analog voltage reference (Vref+) voltage (unit: mV) + * @param __TEMPSENSOR_ADC_DATA__ ADC conversion data of internal temperature sensor (unit: digital value). + * @param __ADC_RESOLUTION__ ADC resolution at which internal temperature sensor voltage has been measured. + * This parameter can be one of the following values: + * @arg @ref ADC_RESOLUTION_16B + * @arg @ref ADC_RESOLUTION_14B + * @arg @ref ADC_RESOLUTION_12B + * @arg @ref ADC_RESOLUTION_10B + * @arg @ref ADC_RESOLUTION_8B + * @retval Temperature (unit: degree Celsius) + */ +# 1908 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc.h" +/** + * @} + */ + +/** + * @} + */ + +/* Include ADC HAL Extended module */ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc_ex.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_adc_ex.h + * @author MCD Application Team + * @brief Header file of ADC HAL extended module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc_ex.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup ADCEx + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/** @defgroup ADCEx_Exported_Types ADC Extended Exported Types + * @{ + */ + +/** + * @brief ADC Injected Conversion Oversampling structure definition + */ +typedef struct +{ + uint32_t Ratio; + + + + /* This parameter can be a value of @ref ADC_HAL_EC_OVS_RATIO */ + + + uint32_t RightBitShift; /*!< Configures the division coefficient for the Oversampler. + This parameter can be a value of @ref ADC_HAL_EC_OVS_SHIFT */ +} ADC_InjOversamplingTypeDef; + +/** + * @brief Structure definition of ADC group injected and ADC channel affected to ADC group injected + * @note Parameters of this structure are shared within 2 scopes: + * - Scope channel: InjectedChannel, InjectedRank, InjectedSamplingTime , InjectedSingleDiff, InjectedOffsetNumber, InjectedOffset + * - Scope ADC group injected (affects all channels of injected group): InjectedNbrOfConversion, InjectedDiscontinuousConvMode, + * AutoInjectedConv, QueueInjectedContext, ExternalTrigInjecConv, ExternalTrigInjecConvEdge, InjecOversamplingMode, InjecOversampling. + * @note The setting of these parameters by function HAL_ADCEx_InjectedConfigChannel() is conditioned to ADC state. + * ADC state can be either: + * - For all parameters: ADC disabled (this is the only possible ADC state to modify parameter 'InjectedSingleDiff') + * - For parameters 'InjectedDiscontinuousConvMode', 'QueueInjectedContext', 'InjecOversampling': ADC enabled without conversion on going on injected group. + * - For parameters 'InjectedSamplingTime', 'InjectedOffset', 'InjectedOffsetNumber', 'AutoInjectedConv': ADC enabled without conversion on going on regular and injected groups. + * - For parameters 'InjectedChannel', 'InjectedRank', 'InjectedNbrOfConversion', 'ExternalTrigInjecConv', 'ExternalTrigInjecConvEdge': ADC enabled and while conversion on going + * on ADC groups regular and injected. + * If ADC is not in the appropriate state to modify some parameters, these parameters setting is bypassed + * without error reporting (as it can be the expected behavior in case of intended action to update another parameter (which fulfills the ADC state condition) on the fly). + */ +typedef struct +{ + uint32_t InjectedChannel; /*!< Specifies the channel to configure into ADC group injected. + This parameter can be a value of @ref ADC_HAL_EC_CHANNEL + Note: Depending on devices and ADC instances, some channels may not be available on device package pins. Refer to device datasheet for channels availability. */ + + uint32_t InjectedRank; /*!< Specifies the rank in the ADC group injected sequencer. + This parameter must be a value of @ref ADC_INJ_SEQ_RANKS. + Note: to disable a channel or change order of conversion sequencer, rank containing a previous channel setting can be overwritten by + the new channel setting (or parameter number of conversions adjusted) */ + + uint32_t InjectedSamplingTime; /*!< Sampling time value to be set for the selected channel. + Unit: ADC clock cycles. + Conversion time is the addition of sampling time and processing time + (12.5 ADC clock cycles at ADC resolution 12 bits, 10.5 cycles at 10 bits, 8.5 cycles at 8 bits, 6.5 cycles at 6 bits). + This parameter can be a value of @ref ADC_HAL_EC_CHANNEL_SAMPLINGTIME. + Caution: This parameter applies to a channel that can be used in a regular and/or injected group. + It overwrites the last setting. + Note: In case of usage of internal measurement channels (VrefInt/Vbat/TempSensor), + sampling time constraints must be respected (sampling time can be adjusted in function of ADC clock frequency and sampling time setting) + Refer to device datasheet for timings values. */ + + uint32_t InjectedSingleDiff; /*!< Selection of single-ended or differential input. + In differential mode: Differential measurement is between the selected channel 'i' (positive input) and channel 'i+1' (negative input). + Only channel 'i' has to be configured, channel 'i+1' is configured automatically. + This parameter must be a value of @ref ADC_HAL_EC_CHANNEL_SINGLE_DIFF_ENDING. + Caution: This parameter applies to a channel that can be used in a regular and/or injected group. + It overwrites the last setting. + Note: Refer to Reference Manual to ensure the selected channel is available in differential mode. + Note: When configuring a channel 'i' in differential mode, the channel 'i+1' is not usable separately. + Note: This parameter must be modified when ADC is disabled (before ADC start conversion or after ADC stop conversion). + If ADC is enabled, this parameter setting is bypassed without error reporting (as it can be the expected behavior in case + of another parameter update on the fly) */ + + uint32_t InjectedOffsetNumber; /*!< Selects the offset number. + This parameter can be a value of @ref ADC_HAL_EC_OFFSET_NB. + Caution: Only one offset is allowed per channel. This parameter overwrites the last setting. */ + + uint32_t InjectedOffset; /*!< Defines the offset to be subtracted from the raw converted data. + Offset value must be a positive number. + Maximum value depends on ADC resolution and oversampling ratio (in case of oversampling used). + This parameter must be a number between Min_Data = 0x0000 and Max_Data = 0x3FFFC00 (corresponding to resolution 16 bit and oversampling ratio 1024). + Note: This parameter must be modified when no conversion is on going on both regular and injected groups (ADC disabled, or ADC enabled + without continuous mode or external trigger that could launch a conversion). */ + + uint32_t InjectedOffsetRightShift; /*!< Specifies whether the 1 bit Right-shift feature is used or not. + This parameter is applied only for 16-bit or 8-bit resolution. + This parameter can be set to ENABLE or DISABLE. */ +# 137 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc_ex.h" + FunctionalState InjectedOffsetSignedSaturation; /*!< Specifies whether the Signed saturation feature is used or not. + This parameter is applied only for 16-bit or 8-bit resolution. + This parameter can be set to ENABLE or DISABLE. */ + + uint32_t InjectedNbrOfConversion; /*!< Specifies the number of ranks that will be converted within the ADC group injected sequencer. + To use the injected group sequencer and convert several ranks, parameter 'ScanConvMode' must be enabled. + This parameter must be a number between Min_Data = 1 and Max_Data = 4. + Caution: this setting impacts the entire injected group. Therefore, call of HAL_ADCEx_InjectedConfigChannel() to + configure a channel on injected group can impact the configuration of other channels previously set. */ + + FunctionalState InjectedDiscontinuousConvMode; /*!< Specifies whether the conversions sequence of ADC group injected is performed in Complete-sequence/Discontinuous-sequence + (main sequence subdivided in successive parts). + Discontinuous mode is used only if sequencer is enabled (parameter 'ScanConvMode'). If sequencer is disabled, this parameter is discarded. + Discontinuous mode can be enabled only if continuous mode is disabled. + This parameter can be set to ENABLE or DISABLE. + Note: This parameter must be modified when ADC is disabled (before ADC start conversion or after ADC stop conversion). + Note: For injected group, discontinuous mode converts the sequence channel by channel (discontinuous length fixed to 1 rank). + Caution: this setting impacts the entire injected group. Therefore, call of HAL_ADCEx_InjectedConfigChannel() to + configure a channel on injected group can impact the configuration of other channels previously set. */ + + FunctionalState AutoInjectedConv; /*!< Enables or disables the selected ADC group injected automatic conversion after regular one + This parameter can be set to ENABLE or DISABLE. + Note: To use Automatic injected conversion, discontinuous mode must be disabled ('DiscontinuousConvMode' and 'InjectedDiscontinuousConvMode' set to DISABLE) + Note: To use Automatic injected conversion, injected group external triggers must be disabled ('ExternalTrigInjecConv' set to ADC_INJECTED_SOFTWARE_START) + Note: In case of DMA used with regular group: if DMA configured in normal mode (single shot) JAUTO will be stopped upon DMA transfer complete. + To maintain JAUTO always enabled, DMA must be configured in circular mode. + Caution: this setting impacts the entire injected group. Therefore, call of HAL_ADCEx_InjectedConfigChannel() to + configure a channel on injected group can impact the configuration of other channels previously set. */ + + FunctionalState QueueInjectedContext; /*!< Specifies whether the context queue feature is enabled. + This parameter can be set to ENABLE or DISABLE. + If context queue is enabled, injected sequencer&channels configurations are queued on up to 2 contexts. If a + new injected context is set when queue is full, error is triggered by interruption and through function + 'HAL_ADCEx_InjectedQueueOverflowCallback'. + Caution: This feature request that the sequence is fully configured before injected conversion start. + Therefore, configure channels with as many calls to HAL_ADCEx_InjectedConfigChannel() as the 'InjectedNbrOfConversion' parameter. + Caution: this setting impacts the entire injected group. Therefore, call of HAL_ADCEx_InjectedConfigChannel() to + configure a channel on injected group can impact the configuration of other channels previously set. + Note: This parameter must be modified when ADC is disabled (before ADC start conversion or after ADC stop conversion). */ + + uint32_t ExternalTrigInjecConv; /*!< Selects the external event used to trigger the conversion start of injected group. + If set to ADC_INJECTED_SOFTWARE_START, external triggers are disabled and software trigger is used instead. + This parameter can be a value of @ref ADC_injected_external_trigger_source. + Caution: this setting impacts the entire injected group. Therefore, call of HAL_ADCEx_InjectedConfigChannel() to + configure a channel on injected group can impact the configuration of other channels previously set. */ + + uint32_t ExternalTrigInjecConvEdge; /*!< Selects the external trigger edge of injected group. + This parameter can be a value of @ref ADC_injected_external_trigger_edge. + If trigger source is set to ADC_INJECTED_SOFTWARE_START, this parameter is discarded. + Caution: this setting impacts the entire injected group. Therefore, call of HAL_ADCEx_InjectedConfigChannel() to + configure a channel on injected group can impact the configuration of other channels previously set. */ + + FunctionalState InjecOversamplingMode; /*!< Specifies whether the oversampling feature is enabled or disabled. + This parameter can be set to ENABLE or DISABLE. + Note: This parameter can be modified only if there is no conversion is ongoing (both ADSTART and JADSTART cleared). */ + + ADC_InjOversamplingTypeDef InjecOversampling; /*!< Specifies the Oversampling parameters. + Caution: this setting overwrites the previous oversampling configuration if oversampling already enabled. + Note: This parameter can be modified only if there is no conversion is ongoing (both ADSTART and JADSTART cleared). */ +} ADC_InjectionConfTypeDef; + +/** + * @brief Structure definition of ADC multimode + * @note The setting of these parameters by function HAL_ADCEx_MultiModeConfigChannel() is conditioned by ADCs state (both Master and Slave ADCs). + * Both Master and Slave ADCs must be disabled. + */ +typedef struct +{ + uint32_t Mode; /*!< Configures the ADC to operate in independent or multimode. + This parameter can be a value of @ref ADC_HAL_EC_MULTI_MODE. */ + + uint32_t DualModeData; /*!< Configures the Dual ADC Mode Data Format: + This parameter can be a value of @ref ADCEx_Dual_Mode_Data_Format */ + + uint32_t TwoSamplingDelay; /*!< Configures the Delay between 2 sampling phases. + This parameter can be a value of @ref ADC_HAL_EC_MULTI_TWOSMP_DELAY. + Delay range depends on selected resolution: + from 1 to 9 clock cycles for 16 bits, + from 1 to 9 clock cycles for 14 bits + from 1 to 8 clock cycles for 12 bits + from 1 to 6 clock cycles for 10 bits + from 1 to 6 clock cycles for 8 bits */ +} ADC_MultiModeTypeDef; + +/** + * @} + */ + +/* Exported constants --------------------------------------------------------*/ + +/** @defgroup ADCEx_Exported_Constants ADC Extended Exported Constants + * @{ + */ + +/** @defgroup ADC_injected_external_trigger_source ADC group injected trigger source + * @{ + */ +/* ADC group regular trigger sources for all ADC instances */ +# 259 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc_ex.h" +/** + * @} + */ + +/** @defgroup ADC_injected_external_trigger_edge ADC group injected trigger edge (when external trigger is selected) + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup ADC_HAL_EC_CHANNEL_SINGLE_DIFF_ENDING Channel - Single or differential ending + * @{ + */ + + +/** + * @} + */ + +/** @defgroup ADC_HAL_EC_OFFSET_NB ADC instance - Offset number + * @{ + */ + + + + + +/** + * @} + */ +# 306 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc_ex.h" +/** @defgroup ADC_INJ_SEQ_RANKS ADC group injected - Sequencer ranks + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup ADC_HAL_EC_MULTI_MODE Multimode - Mode + * @{ + */ +# 329 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc_ex.h" +/** @defgroup ADCEx_Dual_Mode_Data_Format ADC Extended Dual Mode Data Formatting + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup ADC_HAL_EC_MULTI_TWOSMP_DELAY Multimode - Delay between two sampling phases + * @{ + */ +# 351 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc_ex.h" +/** + * @} + */ + +/** + * @} + */ + +/** @defgroup ADC_HAL_EC_GROUPS ADC instance - Groups + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup ADC_CFGR_fields ADCx CFGR fields + * @{ + */ + + + + + + +/** + * @} + */ + +/** @defgroup ADC_SMPR1_fields ADCx SMPR1 fields + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup ADC_CFGR_fields_2 ADCx CFGR sub fields + * @{ + */ +/* ADC_CFGR fields of parameters that can be updated when no conversion + (neither regular nor injected) is on-going */ + +/** + * @} + */ +# 415 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc_ex.h" +/** @defgroup ADC_HAL_EC_REG_DFSDM_TRANSFER ADC group regular - DFSDM transfer of ADC conversion data + * @{ + */ + + +/** + * @} + */ + + +/** + * @} + */ + +/* Exported macros -----------------------------------------------------------*/ + +/** @defgroup ADCEx_Exported_Macro ADC Extended Exported Macros + * @{ + */ + +/** @brief Force ADC instance in multimode mode independent (multimode disable). + * @note This macro must be used only in case of transition from multimode + * to mode independent and in case of unknown previous state, + * to ensure ADC configuration is in mode independent. + * @note Standard way of multimode configuration change is done from + * HAL ADC handle of ADC master using function + * "HAL_ADCEx_MultiModeConfigChannel(..., ADC_MODE_INDEPENDENT)" )". + * Usage of this macro is not the Standard way of multimode + * configuration and can lead to have HAL ADC handles status + * misaligned. Usage of this macro must be limited to cases + * mentioned above. + * @param __HANDLE__ ADC handle. + * @retval None + */ + + + +/** + * @} + */ + +/* Private macros ------------------------------------------------------------*/ + +/** @defgroup ADCEx_Private_Macro_internal_HAL_driver ADC Extended Private Macros + * @{ + */ +/* Macro reserved for internal HAL driver usage, not intended to be used in */ +/* code of final user. */ + +/** + * @brief Test if conversion trigger of injected group is software start + * or external trigger. + * @param __HANDLE__ ADC handle. + * @retval SET (software start) or RESET (external trigger). + */ + + + +/** + * @brief Check if conversion is on going on regular or injected groups. + * @param __HANDLE__ ADC handle. + * @retval SET (conversion is on going) or RESET (no conversion is on going). + */ + + + + +/** + * @brief Check if conversion is on going on injected group. + * @param __HANDLE__ ADC handle. + * @retval Value "0" (no conversion is on going) or value "1" (conversion is on going) + */ + + + + + +/** + * @brief Check whether or not ADC is independent. + * @param __HANDLE__ ADC handle. + * @note When multimode feature is not available, the macro always returns SET. + * @retval SET (ADC is independent) or RESET (ADC is not). + */ +# 508 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc_ex.h" +/** + * @brief Set the selected injected Channel rank. + * @param __CHANNELNB__ Channel number. + * @param __RANKNB__ Rank number. + * @retval None + */ + + +/** + * @brief Configure ADC injected context queue + * @param __INJECT_CONTEXT_QUEUE_MODE__ Injected context queue mode. + * @retval None + */ + + +/** + * @brief Configure ADC discontinuous conversion mode for injected group + * @param __INJECT_DISCONTINUOUS_MODE__ Injected discontinuous mode. + * @retval None + */ + + +/** + * @brief Configure ADC discontinuous conversion mode for regular group + * @param __REG_DISCONTINUOUS_MODE__ Regular discontinuous mode. + * @retval None + */ + + +/** + * @brief Configure the number of discontinuous conversions for regular group. + * @param __NBR_DISCONTINUOUS_CONV__ Number of discontinuous conversions. + * @retval None + */ + + +/** + * @brief Configure the ADC auto delay mode. + * @param __AUTOWAIT__ Auto delay bit enable or disable. + * @retval None + */ + + +/** + * @brief Configure ADC continuous conversion mode. + * @param __CONTINUOUS_MODE__ Continuous mode. + * @retval None + */ + + +/** + * @brief Enable the ADC DMA continuous request. + * @param __DMACONTREQ_MODE__: DMA continuous request mode. + * @retval None + */ +# 573 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc_ex.h" +/** + * @brief Configure the channel number into offset OFRx register. + * @param __CHANNEL__ ADC Channel. + * @retval None + */ + + +/** + * @brief Configure the channel number into differential mode selection register. + * @param __CHANNEL__ ADC Channel. + * @retval None + */ + + +/** + * @brief Configure calibration factor in differential mode to be set into calibration register. + * @param __CALIBRATION_FACTOR__ Calibration factor value. + * @retval None + */ + + +/** + * @brief Calibration factor in differential mode to be retrieved from calibration register. + * @param __CALIBRATION_FACTOR__ Calibration factor value. + * @retval None + */ + + +/** + * @brief Configure the analog watchdog high threshold into registers TR1, TR2 or TR3. + * @param __THRESHOLD__ Threshold value. + * @retval None + */ + + +/** + * @brief Configure the ADC DMA continuous request for ADC multimode. + * @param __DMACONTREQ_MODE__ DMA continuous request mode. + * @retval None + */ + + +/** + * @brief Shift the offset in function of the selected ADC resolution. + * @note Offset has to be left-aligned on bit 15, the LSB (right bits) are set to 0 + * If resolution 16 bits, no shift. + * If resolution 14 bits, shift of 2 ranks on the left. + * If resolution 12 bits, shift of 4 ranks on the left. + * If resolution 10 bits, shift of 6 ranks on the left. + * If resolution 8 bits, shift of 8 ranks on the left. + * therefore, shift = (16 - resolution) = 16 - (16 - (((RES[2:0]) >> 2)*2)) + * @param __HANDLE__: ADC handle + * @param __OFFSET__: Value to be shifted + * @retval None + */ +# 654 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc_ex.h" +/** + * @brief Shift the AWD1 threshold in function of the selected ADC resolution. + * @note Thresholds have to be left-aligned on bit 15, the LSB (right bits) are set to 0. + * If resolution 16 bits, no shift. + * If resolution 14 bits, shift of 2 ranks on the left. + * If resolution 12 bits, shift of 4 ranks on the left. + * If resolution 10 bits, shift of 6 ranks on the left. + * If resolution 8 bits, shift of 8 ranks on the left. + * therefore, shift = (16 - resolution) = 16 - (16- (((RES[2:0]) >> 2)*2)) + * @param __HANDLE__: ADC handle + * @param __THRESHOLD__: Value to be shifted + * @retval None + */ +# 700 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc_ex.h" +/** + * @brief Shift the AWD2 and AWD3 threshold in function of the selected ADC resolution. + * @note Thresholds have to be left-aligned on bit 15, the LSB (right bits) are set to 0. + * If resolution 16 bits, no shift. + * If resolution 14 bits, shift of 2 ranks on the left. + * If resolution 12 bits, shift of 4 ranks on the left. + * If resolution 10 bits, shift of 6 ranks on the left. + * If resolution 8 bits, shift of 8 ranks on the left. + * therefore, shift = (16 - resolution) = 16 - (16- (((RES[2:0]) >> 2)*2)) + * @param __HANDLE__: ADC handle + * @param __THRESHOLD__: Value to be shifted + * @retval None + */ +# 732 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc_ex.h" +/** + * @brief Clear Common Control Register. + * @param __HANDLE__ ADC handle. + * @retval None + */ +/** + * @brief Report common register to ADC1 and ADC2 + * @param __HANDLE__: ADC handle + * @retval Common control register + */ + + +/** + * @brief Report common register to ADC3 + * @param __HANDLE__: ADC handle + * @retval Common control register + */ + + +/** + * @brief Report Master Instance + * @param __HANDLE__: ADC handle + * @note return same instance if ADC of input handle is independent ADC + * @retval Master Instance + */ +# 769 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc_ex.h" +/** + * @brief Check whether or not dual regular conversions are enabled + * @param __HANDLE__: ADC handle + * @retval SET (dual regular conversions are enabled) or RESET (ADC is independent or no dual regular conversions are enabled) + */ +# 784 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc_ex.h" +/** + * @brief Verification of condition for ADC start conversion: ADC must be in non-MultiMode or MultiMode with handle of ADC master + * @param __HANDLE__: ADC handle + * @retval SET (non-MultiMode or Master handle) or RESET (handle of Slave ADC in MultiMode) + */ +# 797 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc_ex.h" +/** + * @brief Verification of condition for ADC start conversion: ADC must be in non-MultiMode or MultiMode with handle of ADC master + * @param __HANDLE__: ADC handle + * @retval SET (non-MultiMode or Master handle) or RESET (handle of Slave ADC in MultiMode) + */ +# 810 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc_ex.h" +/** + * @brief Ensure ADC Instance is Independent or Master, or is not Slave ADC with dual regular conversions enabled + * @param __HANDLE__: ADC handle + * @retval SET (Independent or Master, or Slave without dual regular conversions enabled) or RESET (Slave ADC with dual regular conversions enabled) + */ +# 835 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc_ex.h" +/** + * @brief Ensure ADC Instance is Independent or Master, or is not Slave ADC with dual injected conversions enabled + * @param __HANDLE__: ADC handle + * @retval SET (non-MultiMode or Master, or Slave without dual injected conversions enabled) or RESET (Slave ADC with dual injected conversions enabled) + */ +# 869 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc_ex.h" +/** + * @brief Set handle instance of the ADC slave associated to the ADC master. + * @param __HANDLE_MASTER__ ADC master handle. + * @param __HANDLE_SLAVE__ ADC slave handle. + * @note if __HANDLE_MASTER__ is the handle of a slave ADC (ADC2) or an independent ADC, __HANDLE_SLAVE__ instance is set to NULL. + * @retval None + */ + + + + +/** + * @brief Verify the ADC instance connected to the temperature sensor. + * @param __HANDLE__ ADC handle. + * @retval SET (ADC instance is valid) or RESET (ADC instance is invalid) + */ + + + + + + +/** + * @brief Verify the ADC instance connected to the battery voltage VBAT. + * @param __HANDLE__ ADC handle. + * @retval SET (ADC instance is valid) or RESET (ADC instance is invalid) + */ + + + + + + +/** + * @brief Verify the ADC instance connected to the internal voltage reference VREFINT. + * @param __HANDLE__ ADC handle. + * @retval SET (ADC instance is valid) or RESET (ADC instance is invalid) + */ + + + + + + +/** + * @brief Verify the length of scheduled injected conversions group. + * @param __LENGTH__ number of programmed conversions. + * @retval SET (__LENGTH__ is within the maximum number of possible programmable injected conversions) or RESET (__LENGTH__ is null or too large) + */ + + +/** + * @brief Calibration factor size verification (11 bits maximum). + * @param __CALIBRATION_FACTOR__ Calibration factor value. + * @retval SET (__CALIBRATION_FACTOR__ is within the authorized size) or RESET (__CALIBRATION_FACTOR__ is too large) + */ +# 936 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc_ex.h" +/** + * @brief Verify the ADC channel setting. + * @param __CHANNEL__ programmed ADC channel. + * @retval SET (__CHANNEL__ is valid) or RESET (__CHANNEL__ is invalid) + */ +# 967 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc_ex.h" +/** + * @brief Verify the ADC channel setting in differential mode for ADC1. + * @param __CHANNEL__: programmed ADC channel. + * @retval SET (__CHANNEL__ is valid) or RESET (__CHANNEL__ is invalid) + */ +# 983 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc_ex.h" +/** + * @brief Verify the ADC channel setting in differential mode for ADC2. + * @param __CHANNEL__: programmed ADC channel. + * @retval SET (__CHANNEL__ is valid) or RESET (__CHANNEL__ is invalid) + */ +# 998 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc_ex.h" +/** + * @brief Verify the ADC channel setting in differential mode for ADC3. + * @param __CHANNEL__: programmed ADC channel. + * @retval SET (__CHANNEL__ is valid) or RESET (__CHANNEL__ is invalid) + */ +# 1014 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc_ex.h" +/** + * @brief Helper macro to determine the selected channel corresponding + * negative input for ADC1. + * @param __CHANNEL__: programmed ADC channel. + * @retval return the negative input channels corresponding to the selected channel. + */ +# 1031 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc_ex.h" +/** + * @brief Helper macro to determine the selected channel corresponding + * negative input for ADC2. + * @param __CHANNEL__: programmed ADC channel. + * @retval return the negative input channels corresponding to the selected channel. + */ +# 1077 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc_ex.h" +/** + * @brief Helper macro to determine the selected channel corresponding + * negative input on the ADC instance selected. + * @param __HANDLE__ ADC handle. + * @param __CHANNEL__ This parameter can be one of the following values: + * @retval return the negative input channels corresponding to the selected channel. + */ + + + + +/** + * @brief Verify the ADC single-ended input or differential mode setting. + * @param __SING_DIFF__ programmed channel setting. + * @retval SET (__SING_DIFF__ is valid) or RESET (__SING_DIFF__ is invalid) + */ + + + +/** + * @brief Verify the ADC offset management setting. + * @param __OFFSET_NUMBER__ ADC offset management. + * @retval SET (__OFFSET_NUMBER__ is valid) or RESET (__OFFSET_NUMBER__ is invalid) + */ +# 1115 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc_ex.h" +/** + * @brief Verify the ADC injected channel setting. + * @param __CHANNEL__ programmed ADC injected channel. + * @retval SET (__CHANNEL__ is valid) or RESET (__CHANNEL__ is invalid) + */ + + + + + +/** + * @brief Verify the ADC injected conversions external trigger. + * @param __INJTRIG__ programmed ADC injected conversions external trigger. + * @retval SET (__INJTRIG__ is a valid value) or RESET (__INJTRIG__ is invalid) + */ +# 1177 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc_ex.h" +/** + * @brief Verify the ADC edge trigger setting for injected group. + * @param __EDGE__ programmed ADC edge trigger setting. + * @retval SET (__EDGE__ is a valid value) or RESET (__EDGE__ is invalid) + */ + + + + + +/** + * @brief Verify the ADC multimode setting. + * @param __MODE__ programmed ADC multimode setting. + * @retval SET (__MODE__ is valid) or RESET (__MODE__ is invalid) + */ +# 1201 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc_ex.h" +/** + * @brief Verify the ADC dual data mode setting. + * @param MODE: programmed ADC dual mode setting. + * @retval SET (MODE is valid) or RESET (MODE is invalid) + */ + + + + +/** + * @brief Verify the ADC multimode delay setting. + * @param __DELAY__ programmed ADC multimode delay setting. + * @retval SET (__DELAY__ is a valid value) or RESET (__DELAY__ is invalid) + */ +# 1225 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc_ex.h" +/** + * @brief Verify the ADC analog watchdog setting. + * @param __WATCHDOG__ programmed ADC analog watchdog setting. + * @retval SET (__WATCHDOG__ is valid) or RESET (__WATCHDOG__ is invalid) + */ + + + + +/** + * @brief Verify the ADC analog watchdog mode setting. + * @param __WATCHDOG_MODE__ programmed ADC analog watchdog mode setting. + * @retval SET (__WATCHDOG_MODE__ is valid) or RESET (__WATCHDOG_MODE__ is invalid) + */ +# 1264 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc_ex.h" +/** + * @brief Verify the ADC conversion (regular or injected or both). + * @param __CONVERSION__ ADC conversion group. + * @retval SET (__CONVERSION__ is valid) or RESET (__CONVERSION__ is invalid) + */ + + + + +/** + * @brief Verify the ADC event type. + * @param __EVENT__ ADC event. + * @retval SET (__EVENT__ is valid) or RESET (__EVENT__ is invalid) + */ + + + + + + + +/** + * @brief Verify the ADC oversampling ratio. + * @param RATIO: programmed ADC oversampling ratio. + * @retval SET (RATIO is a valid value) or RESET (RATIO is invalid) + */ +# 1308 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc_ex.h" +/** + * @brief Verify the ADC oversampling shift. + * @param __SHIFT__ programmed ADC oversampling shift. + * @retval SET (__SHIFT__ is a valid value) or RESET (__SHIFT__ is invalid) + */ +# 1326 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc_ex.h" +/** + * @brief Verify the ADC oversampling triggered mode. + * @param __MODE__ programmed ADC oversampling triggered mode. + * @retval SET (__MODE__ is valid) or RESET (__MODE__ is invalid) + */ + + + +/** + * @brief Verify the ADC oversampling regular conversion resumed or continued mode. + * @param __MODE__ programmed ADC oversampling regular conversion resumed or continued mode. + * @retval SET (__MODE__ is valid) or RESET (__MODE__ is invalid) + */ + + + +/** + * @brief Verify the DFSDM mode configuration. + * @param __HANDLE__ ADC handle. + * @note When DMSDFM configuration is not supported, the macro systematically reports SET. For + * this reason, the input parameter is the ADC handle and not the configuration parameter + * directly. + * @retval SET (DFSDM mode configuration is valid) or RESET (DFSDM mode configuration is invalid) + */ + + + + + + + +/** + * @brief Return the DFSDM configuration mode. + * @param __HANDLE__ ADC handle. + * @note When DMSDFM configuration is not supported, the macro systematically reports 0x0 (i.e disabled). + * For this reason, the input parameter is the ADC handle and not the configuration parameter + * directly. + * @retval DFSDM configuration mode + */ + + + + + + +/** + * @} + */ + + +/* Exported functions --------------------------------------------------------*/ +/** @addtogroup ADCEx_Exported_Functions + * @{ + */ + +/** @addtogroup ADCEx_Exported_Functions_Group1 + * @{ + */ +/* IO operation functions *****************************************************/ + +/* ADC calibration */ +HAL_StatusTypeDef HAL_ADCEx_Calibration_Start(ADC_HandleTypeDef *hadc, uint32_t CalibrationMode, uint32_t SingleDiff); +uint32_t HAL_ADCEx_Calibration_GetValue(const ADC_HandleTypeDef *hadc, uint32_t SingleDiff); +HAL_StatusTypeDef HAL_ADCEx_LinearCalibration_GetValue(ADC_HandleTypeDef *hadc, uint32_t *LinearCalib_Buffer); +HAL_StatusTypeDef HAL_ADCEx_Calibration_SetValue(ADC_HandleTypeDef *hadc, uint32_t SingleDiff, uint32_t CalibrationFactor); +HAL_StatusTypeDef HAL_ADCEx_LinearCalibration_SetValue(ADC_HandleTypeDef *hadc, uint32_t *LinearCalib_Buffer); +HAL_StatusTypeDef HAL_ADCEx_LinearCalibration_FactorLoad(ADC_HandleTypeDef *hadc); + + +/* Blocking mode: Polling */ +HAL_StatusTypeDef HAL_ADCEx_InjectedStart(ADC_HandleTypeDef *hadc); +HAL_StatusTypeDef HAL_ADCEx_InjectedStop(ADC_HandleTypeDef *hadc); +HAL_StatusTypeDef HAL_ADCEx_InjectedPollForConversion(ADC_HandleTypeDef *hadc, uint32_t Timeout); + +/* Non-blocking mode: Interruption */ +HAL_StatusTypeDef HAL_ADCEx_InjectedStart_IT(ADC_HandleTypeDef *hadc); +HAL_StatusTypeDef HAL_ADCEx_InjectedStop_IT(ADC_HandleTypeDef *hadc); + +/* ADC multimode */ +HAL_StatusTypeDef HAL_ADCEx_MultiModeStart_DMA(ADC_HandleTypeDef *hadc, const uint32_t *pData, uint32_t Length); +HAL_StatusTypeDef HAL_ADCEx_MultiModeStop_DMA(ADC_HandleTypeDef *hadc); +uint32_t HAL_ADCEx_MultiModeGetValue(const ADC_HandleTypeDef *hadc); + +/* ADC retrieve conversion value intended to be used with polling or interruption */ +uint32_t HAL_ADCEx_InjectedGetValue(const ADC_HandleTypeDef *hadc, uint32_t InjectedRank); + +/* ADC IRQHandler and Callbacks used in non-blocking modes (Interruption) */ +void HAL_ADCEx_InjectedConvCpltCallback(ADC_HandleTypeDef *hadc); +void HAL_ADCEx_InjectedQueueOverflowCallback(ADC_HandleTypeDef *hadc); +void HAL_ADCEx_LevelOutOfWindow2Callback(ADC_HandleTypeDef *hadc); +void HAL_ADCEx_LevelOutOfWindow3Callback(ADC_HandleTypeDef *hadc); +void HAL_ADCEx_EndOfSamplingCallback(ADC_HandleTypeDef *hadc); + +/* ADC group regular conversions stop */ +HAL_StatusTypeDef HAL_ADCEx_RegularStop(ADC_HandleTypeDef *hadc); +HAL_StatusTypeDef HAL_ADCEx_RegularStop_IT(ADC_HandleTypeDef *hadc); +HAL_StatusTypeDef HAL_ADCEx_RegularStop_DMA(ADC_HandleTypeDef *hadc); +HAL_StatusTypeDef HAL_ADCEx_RegularMultiModeStop_DMA(ADC_HandleTypeDef *hadc); + +/** + * @} + */ + +/** @addtogroup ADCEx_Exported_Functions_Group2 + * @{ + */ +/* Peripheral Control functions ***********************************************/ +HAL_StatusTypeDef HAL_ADCEx_InjectedConfigChannel(ADC_HandleTypeDef *hadc, ADC_InjectionConfTypeDef *sConfigInjected); +HAL_StatusTypeDef HAL_ADCEx_MultiModeConfigChannel(ADC_HandleTypeDef *hadc, ADC_MultiModeTypeDef *multimode); +HAL_StatusTypeDef HAL_ADCEx_EnableInjectedQueue(ADC_HandleTypeDef *hadc); +HAL_StatusTypeDef HAL_ADCEx_DisableInjectedQueue(ADC_HandleTypeDef *hadc); +HAL_StatusTypeDef HAL_ADCEx_DisableVoltageRegulator(ADC_HandleTypeDef *hadc); +HAL_StatusTypeDef HAL_ADCEx_EnterADCDeepPowerDownMode(ADC_HandleTypeDef *hadc); + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + + +} +# 1918 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_adc.h" 2 + +/* Exported functions --------------------------------------------------------*/ +/** @addtogroup ADC_Exported_Functions + * @{ + */ + +/** @addtogroup ADC_Exported_Functions_Group1 + * @brief Initialization and Configuration functions + * @{ + */ +/* Initialization and de-initialization functions ****************************/ +HAL_StatusTypeDef HAL_ADC_Init(ADC_HandleTypeDef *hadc); +HAL_StatusTypeDef HAL_ADC_DeInit(ADC_HandleTypeDef *hadc); +void HAL_ADC_MspInit(ADC_HandleTypeDef *hadc); +void HAL_ADC_MspDeInit(ADC_HandleTypeDef *hadc); + + + + + + + +/** + * @} + */ + +/** @addtogroup ADC_Exported_Functions_Group2 + * @brief IO operation functions + * @{ + */ +/* IO operation functions *****************************************************/ + +/* Blocking mode: Polling */ +HAL_StatusTypeDef HAL_ADC_Start(ADC_HandleTypeDef *hadc); +HAL_StatusTypeDef HAL_ADC_Stop(ADC_HandleTypeDef *hadc); +HAL_StatusTypeDef HAL_ADC_PollForConversion(ADC_HandleTypeDef *hadc, uint32_t Timeout); +HAL_StatusTypeDef HAL_ADC_PollForEvent(ADC_HandleTypeDef *hadc, uint32_t EventType, uint32_t Timeout); + +/* Non-blocking mode: Interruption */ +HAL_StatusTypeDef HAL_ADC_Start_IT(ADC_HandleTypeDef *hadc); +HAL_StatusTypeDef HAL_ADC_Stop_IT(ADC_HandleTypeDef *hadc); + +/* Non-blocking mode: DMA */ +HAL_StatusTypeDef HAL_ADC_Start_DMA(ADC_HandleTypeDef *hadc, uint32_t *pData, uint32_t Length); +HAL_StatusTypeDef HAL_ADC_Stop_DMA(ADC_HandleTypeDef *hadc); + +/* ADC retrieve conversion value intended to be used with polling or interruption */ +uint32_t HAL_ADC_GetValue(const ADC_HandleTypeDef *hadc); + +/* ADC IRQHandler and Callbacks used in non-blocking modes (Interruption and DMA) */ +void HAL_ADC_IRQHandler(ADC_HandleTypeDef *hadc); +void HAL_ADC_ConvCpltCallback(ADC_HandleTypeDef *hadc); +void HAL_ADC_ConvHalfCpltCallback(ADC_HandleTypeDef *hadc); +void HAL_ADC_LevelOutOfWindowCallback(ADC_HandleTypeDef *hadc); +void HAL_ADC_ErrorCallback(ADC_HandleTypeDef *hadc); +/** + * @} + */ + +/** @addtogroup ADC_Exported_Functions_Group3 Peripheral Control functions + * @brief Peripheral Control functions + * @{ + */ +/* Peripheral Control functions ***********************************************/ +HAL_StatusTypeDef HAL_ADC_ConfigChannel(ADC_HandleTypeDef *hadc, ADC_ChannelConfTypeDef *sConfig); +HAL_StatusTypeDef HAL_ADC_AnalogWDGConfig(ADC_HandleTypeDef *hadc, ADC_AnalogWDGConfTypeDef *AnalogWDGConfig); + +/** + * @} + */ + +/* Peripheral State functions *************************************************/ +/** @addtogroup ADC_Exported_Functions_Group4 + * @{ + */ +uint32_t HAL_ADC_GetState(const ADC_HandleTypeDef *hadc); +uint32_t HAL_ADC_GetError(const ADC_HandleTypeDef *hadc); + +/** + * @} + */ + +/** + * @} + */ + +/* Private functions -----------------------------------------------------------*/ +/** @addtogroup ADC_Private_Functions ADC Private Functions + * @{ + */ +HAL_StatusTypeDef ADC_ConversionStop(ADC_HandleTypeDef *hadc, uint32_t ConversionGroup); +HAL_StatusTypeDef ADC_Enable(ADC_HandleTypeDef *hadc); +HAL_StatusTypeDef ADC_Disable(ADC_HandleTypeDef *hadc); +void ADC_DMAConvCplt(DMA_HandleTypeDef *hdma); +void ADC_DMAHalfConvCplt(DMA_HandleTypeDef *hdma); +void ADC_DMAError(DMA_HandleTypeDef *hdma); +void ADC_ConfigureBoostMode(ADC_HandleTypeDef *hadc); + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + + +} +# 307 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_fdcan.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_fdcan.h + * @author MCD Application Team + * @brief Header file of FDCAN HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_fdcan.h" 2 + + + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup FDCAN + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/** @defgroup FDCAN_Exported_Types FDCAN Exported Types + * @{ + */ + +/** + * @brief HAL State structures definition + */ +typedef enum +{ + HAL_FDCAN_STATE_RESET = 0x00U, + HAL_FDCAN_STATE_READY = 0x01U, + HAL_FDCAN_STATE_BUSY = 0x02U, + HAL_FDCAN_STATE_ERROR = 0x03U +} HAL_FDCAN_StateTypeDef; + +/** + * @brief FDCAN Init structure definition + */ +typedef struct +{ + uint32_t FrameFormat; /*!< Specifies the FDCAN frame format. + This parameter can be a value of @ref FDCAN_frame_format */ + + uint32_t Mode; /*!< Specifies the FDCAN mode. + This parameter can be a value of @ref FDCAN_operating_mode */ + + FunctionalState AutoRetransmission; /*!< Enable or disable the automatic retransmission mode. + This parameter can be set to ENABLE or DISABLE */ + + FunctionalState TransmitPause; /*!< Enable or disable the Transmit Pause feature. + This parameter can be set to ENABLE or DISABLE */ + + FunctionalState ProtocolException; /*!< Enable or disable the Protocol Exception Handling. + This parameter can be set to ENABLE or DISABLE */ + + uint32_t NominalPrescaler; /*!< Specifies the value by which the oscillator frequency is + divided for generating the nominal bit time quanta. + This parameter must be a number between 1 and 512 */ + + uint32_t NominalSyncJumpWidth; /*!< Specifies the maximum number of time quanta the FDCAN + hardware is allowed to lengthen or shorten a bit to perform + resynchronization. + This parameter must be a number between 1 and 128 */ + + uint32_t NominalTimeSeg1; /*!< Specifies the number of time quanta in Bit Segment 1. + This parameter must be a number between 2 and 256 */ + + uint32_t NominalTimeSeg2; /*!< Specifies the number of time quanta in Bit Segment 2. + This parameter must be a number between 2 and 128 */ + + uint32_t DataPrescaler; /*!< Specifies the value by which the oscillator frequency is + divided for generating the data bit time quanta. + This parameter must be a number between 1 and 32 */ + + uint32_t DataSyncJumpWidth; /*!< Specifies the maximum number of time quanta the FDCAN + hardware is allowed to lengthen or shorten a data bit to + perform resynchronization. + This parameter must be a number between 1 and 16 */ + + uint32_t DataTimeSeg1; /*!< Specifies the number of time quanta in Data Bit Segment 1. + This parameter must be a number between 1 and 32 */ + + uint32_t DataTimeSeg2; /*!< Specifies the number of time quanta in Data Bit Segment 2. + This parameter must be a number between 1 and 16 */ + + uint32_t MessageRAMOffset; /*!< Specifies the message RAM start address. + This parameter must be a number between 0 and 2560 */ + + uint32_t StdFiltersNbr; /*!< Specifies the number of standard Message ID filters. + This parameter must be a number between 0 and 128 */ + + uint32_t ExtFiltersNbr; /*!< Specifies the number of extended Message ID filters. + This parameter must be a number between 0 and 64 */ + + uint32_t RxFifo0ElmtsNbr; /*!< Specifies the number of Rx FIFO0 Elements. + This parameter must be a number between 0 and 64 */ + + uint32_t RxFifo0ElmtSize; /*!< Specifies the Data Field Size in an Rx FIFO 0 element. + This parameter can be a value of @ref FDCAN_data_field_size */ + + uint32_t RxFifo1ElmtsNbr; /*!< Specifies the number of Rx FIFO 1 Elements. + This parameter must be a number between 0 and 64 */ + + uint32_t RxFifo1ElmtSize; /*!< Specifies the Data Field Size in an Rx FIFO 1 element. + This parameter can be a value of @ref FDCAN_data_field_size */ + + uint32_t RxBuffersNbr; /*!< Specifies the number of Dedicated Rx Buffer elements. + This parameter must be a number between 0 and 64 */ + + uint32_t RxBufferSize; /*!< Specifies the Data Field Size in an Rx Buffer element. + This parameter can be a value of @ref FDCAN_data_field_size */ + + uint32_t TxEventsNbr; /*!< Specifies the number of Tx Event FIFO elements. + This parameter must be a number between 0 and 32 */ + + uint32_t TxBuffersNbr; /*!< Specifies the number of Dedicated Tx Buffers. + This parameter must be a number between 0 and 32 */ + + uint32_t TxFifoQueueElmtsNbr; /*!< Specifies the number of Tx Buffers used for Tx FIFO/Queue. + This parameter must be a number between 0 and 32 */ + + uint32_t TxFifoQueueMode; /*!< Tx FIFO/Queue Mode selection. + This parameter can be a value of @ref FDCAN_txFifoQueue_Mode */ + + uint32_t TxElmtSize; /*!< Specifies the Data Field Size in a Tx Element. + This parameter can be a value of @ref FDCAN_data_field_size */ + +} FDCAN_InitTypeDef; + +/** + * @brief FDCAN clock calibration unit structure definition + */ +typedef struct +{ + uint32_t ClockCalibration; /*!< Enable or disable the clock calibration. + This parameter can be a value of @ref FDCAN_clock_calibration. */ + + uint32_t ClockDivider; /*!< Specifies the FDCAN kernel clock divider when the clock calibration + is bypassed. + This parameter can be a value of @ref FDCAN_clock_divider */ + + uint32_t MinOscClkPeriods; /*!< Configures the minimum number of periods in two CAN bit times. The + actual configured number of periods is MinOscClkPeriods x 32. + This parameter must be a number between 0x00 and 0xFF */ + + uint32_t CalFieldLength; /*!< Specifies the calibration field length. + This parameter can be a value of @ref FDCAN_calibration_field_length */ + + uint32_t TimeQuantaPerBitTime; /*!< Configures the number of time quanta per bit time. + This parameter must be a number between 4 and 25 */ + + uint32_t WatchdogStartValue; /*!< Start value of the Calibration Watchdog Counter. + If set to zero the counter is disabled. + This parameter must be a number between 0x0000 and 0xFFFF */ + +} FDCAN_ClkCalUnitTypeDef; + +/** + * @brief FDCAN filter structure definition + */ +typedef struct +{ + uint32_t IdType; /*!< Specifies the identifier type. + This parameter can be a value of @ref FDCAN_id_type */ + + uint32_t FilterIndex; /*!< Specifies the filter which will be initialized. + This parameter must be a number between: + - 0 and 127, if IdType is FDCAN_STANDARD_ID + - 0 and 63, if IdType is FDCAN_EXTENDED_ID */ + + uint32_t FilterType; /*!< Specifies the filter type. + This parameter can be a value of @ref FDCAN_filter_type. + The value FDCAN_EXT_FILTER_RANGE_NO_EIDM is permitted + only when IdType is FDCAN_EXTENDED_ID. + This parameter is ignored if FilterConfig is set to + FDCAN_FILTER_TO_RXBUFFER */ + + uint32_t FilterConfig; /*!< Specifies the filter configuration. + This parameter can be a value of @ref FDCAN_filter_config */ + + uint32_t FilterID1; /*!< Specifies the filter identification 1. + This parameter must be a number between: + - 0 and 0x7FF, if IdType is FDCAN_STANDARD_ID + - 0 and 0x1FFFFFFF, if IdType is FDCAN_EXTENDED_ID */ + + uint32_t FilterID2; /*!< Specifies the filter identification 2. + This parameter is ignored if FilterConfig is set to + FDCAN_FILTER_TO_RXBUFFER. + This parameter must be a number between: + - 0 and 0x7FF, if IdType is FDCAN_STANDARD_ID + - 0 and 0x1FFFFFFF, if IdType is FDCAN_EXTENDED_ID */ + + uint32_t RxBufferIndex; /*!< Contains the index of the Rx buffer in which the + matching message will be stored. + This parameter must be a number between 0 and 63. + This parameter is ignored if FilterConfig is different + from FDCAN_FILTER_TO_RXBUFFER */ + + uint32_t IsCalibrationMsg; /*!< Specifies whether the filter is configured for + calibration messages. + This parameter is ignored if FilterConfig is different + from FDCAN_FILTER_TO_RXBUFFER. + This parameter can be: + - 0 : ordinary message + - 1 : calibration message */ + +} FDCAN_FilterTypeDef; + +/** + * @brief FDCAN Tx header structure definition + */ +typedef struct +{ + uint32_t Identifier; /*!< Specifies the identifier. + This parameter must be a number between: + - 0 and 0x7FF, if IdType is FDCAN_STANDARD_ID + - 0 and 0x1FFFFFFF, if IdType is FDCAN_EXTENDED_ID */ + + uint32_t IdType; /*!< Specifies the identifier type for the message that will be + transmitted. + This parameter can be a value of @ref FDCAN_id_type */ + + uint32_t TxFrameType; /*!< Specifies the frame type of the message that will be transmitted. + This parameter can be a value of @ref FDCAN_frame_type */ + + uint32_t DataLength; /*!< Specifies the length of the frame that will be transmitted. + This parameter can be a value of @ref FDCAN_data_length_code */ + + uint32_t ErrorStateIndicator; /*!< Specifies the error state indicator. + This parameter can be a value of @ref FDCAN_error_state_indicator */ + + uint32_t BitRateSwitch; /*!< Specifies whether the Tx frame will be transmitted with or without + bit rate switching. + This parameter can be a value of @ref FDCAN_bit_rate_switching */ + + uint32_t FDFormat; /*!< Specifies whether the Tx frame will be transmitted in classic or + FD format. + This parameter can be a value of @ref FDCAN_format */ + + uint32_t TxEventFifoControl; /*!< Specifies the event FIFO control. + This parameter can be a value of @ref FDCAN_EFC */ + + uint32_t MessageMarker; /*!< Specifies the message marker to be copied into Tx Event FIFO + element for identification of Tx message status. + This parameter must be a number between 0 and 0xFF */ + +} FDCAN_TxHeaderTypeDef; + +/** + * @brief FDCAN Rx header structure definition + */ +typedef struct +{ + uint32_t Identifier; /*!< Specifies the identifier. + This parameter must be a number between: + - 0 and 0x7FF, if IdType is FDCAN_STANDARD_ID + - 0 and 0x1FFFFFFF, if IdType is FDCAN_EXTENDED_ID */ + + uint32_t IdType; /*!< Specifies the identifier type of the received message. + This parameter can be a value of @ref FDCAN_id_type */ + + uint32_t RxFrameType; /*!< Specifies the the received message frame type. + This parameter can be a value of @ref FDCAN_frame_type */ + + uint32_t DataLength; /*!< Specifies the received frame length. + This parameter can be a value of @ref FDCAN_data_length_code */ + + uint32_t ErrorStateIndicator; /*!< Specifies the error state indicator. + This parameter can be a value of @ref FDCAN_error_state_indicator */ + + uint32_t BitRateSwitch; /*!< Specifies whether the Rx frame is received with or without bit + rate switching. + This parameter can be a value of @ref FDCAN_bit_rate_switching */ + + uint32_t FDFormat; /*!< Specifies whether the Rx frame is received in classic or FD + format. + This parameter can be a value of @ref FDCAN_format */ + + uint32_t RxTimestamp; /*!< Specifies the timestamp counter value captured on start of frame + reception. + This parameter must be a number between 0 and 0xFFFF */ + + uint32_t FilterIndex; /*!< Specifies the index of matching Rx acceptance filter element. + This parameter must be a number between: + - 0 and 127, if IdType is FDCAN_STANDARD_ID + - 0 and 63, if IdType is FDCAN_EXTENDED_ID + When the frame is a Non-Filter matching frame, this parameter + is unused. */ + + uint32_t IsFilterMatchingFrame; /*!< Specifies whether the accepted frame did not match any Rx filter. + Acceptance of non-matching frames may be enabled via + HAL_FDCAN_ConfigGlobalFilter(). + This parameter takes 0 if the frame matched an Rx filter or + 1 if it did not match any Rx filter */ + +} FDCAN_RxHeaderTypeDef; + +/** + * @brief FDCAN Tx event FIFO structure definition + */ +typedef struct +{ + uint32_t Identifier; /*!< Specifies the identifier. + This parameter must be a number between: + - 0 and 0x7FF, if IdType is FDCAN_STANDARD_ID + - 0 and 0x1FFFFFFF, if IdType is FDCAN_EXTENDED_ID */ + + uint32_t IdType; /*!< Specifies the identifier type for the transmitted message. + This parameter can be a value of @ref FDCAN_id_type */ + + uint32_t TxFrameType; /*!< Specifies the frame type of the transmitted message. + This parameter can be a value of @ref FDCAN_frame_type */ + + uint32_t DataLength; /*!< Specifies the length of the transmitted frame. + This parameter can be a value of @ref FDCAN_data_length_code */ + + uint32_t ErrorStateIndicator; /*!< Specifies the error state indicator. + This parameter can be a value of @ref FDCAN_error_state_indicator */ + + uint32_t BitRateSwitch; /*!< Specifies whether the Tx frame is transmitted with or without bit + rate switching. + This parameter can be a value of @ref FDCAN_bit_rate_switching */ + + uint32_t FDFormat; /*!< Specifies whether the Tx frame is transmitted in classic or FD + format. + This parameter can be a value of @ref FDCAN_format */ + + uint32_t TxTimestamp; /*!< Specifies the timestamp counter value captured on start of frame + transmission. + This parameter must be a number between 0 and 0xFFFF */ + + uint32_t MessageMarker; /*!< Specifies the message marker copied into Tx Event FIFO element + for identification of Tx message status. + This parameter must be a number between 0 and 0xFF */ + + uint32_t EventType; /*!< Specifies the event type. + This parameter can be a value of @ref FDCAN_event_type */ + +} FDCAN_TxEventFifoTypeDef; + +/** + * @brief FDCAN High Priority Message Status structure definition + */ +typedef struct +{ + uint32_t FilterList; /*!< Specifies the filter list of the matching filter element. + This parameter can be: + - 0 : Standard Filter List + - 1 : Extended Filter List */ + + uint32_t FilterIndex; /*!< Specifies the index of matching filter element. + This parameter can be a number between: + - 0 and 127, if FilterList is 0 (Standard) + - 0 and 63, if FilterList is 1 (Extended) */ + + uint32_t MessageStorage; /*!< Specifies the HP Message Storage. + This parameter can be a value of @ref FDCAN_hp_msg_storage */ + + uint32_t MessageIndex; /*!< Specifies the Index of Rx FIFO element to which the + message was stored. + This parameter is valid only when MessageStorage is: + FDCAN_HP_STORAGE_RXFIFO0 + or + FDCAN_HP_STORAGE_RXFIFO1 */ + +} FDCAN_HpMsgStatusTypeDef; + +/** + * @brief FDCAN Protocol Status structure definition + */ +typedef struct +{ + uint32_t LastErrorCode; /*!< Specifies the type of the last error that occurred on the FDCAN bus. + This parameter can be a value of @ref FDCAN_protocol_error_code */ + + uint32_t DataLastErrorCode; /*!< Specifies the type of the last error that occurred in the data phase + of a CAN FD format frame with its BRS flag set. + This parameter can be a value of @ref FDCAN_protocol_error_code */ + + uint32_t Activity; /*!< Specifies the FDCAN module communication state. + This parameter can be a value of @ref FDCAN_communication_state */ + + uint32_t ErrorPassive; /*!< Specifies the FDCAN module error status. + This parameter can be: + - 0 : The FDCAN is in Error_Active state + - 1 : The FDCAN is in Error_Passive state */ + + uint32_t Warning; /*!< Specifies the FDCAN module warning status. + This parameter can be: + - 0 : error counters (RxErrorCnt and TxErrorCnt) are below the + Error_Warning limit of 96 + - 1 : at least one of error counters has reached the Error_Warning + limit of 96 */ + + uint32_t BusOff; /*!< Specifies the FDCAN module Bus_Off status. + This parameter can be: + - 0 : The FDCAN is not in Bus_Off state + - 1 : The FDCAN is in Bus_Off state */ + + uint32_t RxESIflag; /*!< Specifies ESI flag of last received CAN FD message. + This parameter can be: + - 0 : Last received CAN FD message did not have its ESI flag set + - 1 : Last received CAN FD message had its ESI flag set */ + + uint32_t RxBRSflag; /*!< Specifies BRS flag of last received CAN FD message. + This parameter can be: + - 0 : Last received CAN FD message did not have its BRS flag set + - 1 : Last received CAN FD message had its BRS flag set */ + + uint32_t RxFDFflag; /*!< Specifies if CAN FD message (FDF flag set) has been received + since last protocol status. + This parameter can be: + - 0 : No CAN FD message received + - 1 : CAN FD message received */ + + uint32_t ProtocolException; /*!< Specifies the FDCAN module Protocol Exception status. + This parameter can be: + - 0 : No protocol exception event occurred since last read access + - 1 : Protocol exception event occurred */ + + uint32_t TDCvalue; /*!< Specifies the Transmitter Delay Compensation Value. + This parameter can be a number between 0 and 127 */ + +} FDCAN_ProtocolStatusTypeDef; + +/** + * @brief FDCAN Error Counters structure definition + */ +typedef struct +{ + uint32_t TxErrorCnt; /*!< Specifies the Transmit Error Counter Value. + This parameter can be a number between 0 and 255 */ + + uint32_t RxErrorCnt; /*!< Specifies the Receive Error Counter Value. + This parameter can be a number between 0 and 127 */ + + uint32_t RxErrorPassive; /*!< Specifies the Receive Error Passive status. + This parameter can be: + - 0 : The Receive Error Counter (RxErrorCnt) is below the error + passive level of 128 + - 1 : The Receive Error Counter (RxErrorCnt) has reached the error + passive level of 128 */ + + uint32_t ErrorLogging; /*!< Specifies the Transmit/Receive error logging counter value. + This parameter can be a number between 0 and 255. + This counter is incremented each time when a FDCAN protocol error causes + the TxErrorCnt or the RxErrorCnt to be incremented. The counter stops at 255; + the next increment of TxErrorCnt or RxErrorCnt sets interrupt flag + FDCAN_FLAG_ERROR_LOGGING_OVERFLOW */ + +} FDCAN_ErrorCountersTypeDef; + +/** + * @brief FDCAN TT Init structure definition + */ +typedef struct +{ + uint32_t OperationMode; /*!< Specifies the FDCAN Operation Mode. + This parameter can be a value of @ref FDCAN_operation_mode */ + + uint32_t GapEnable; /*!< Specifies the FDCAN TT Operation. + This parameter can be a value of @ref FDCAN_TT_operation. + This parameter is ignored if OperationMode is set to + FDCAN_TT_COMMUNICATION_LEVEL0 */ + + uint32_t TimeMaster; /*!< Specifies whether the instance is a slave or a potential master. + This parameter can be a value of @ref FDCAN_TT_time_master */ + + uint32_t SyncDevLimit; /*!< Specifies the Synchronization Deviation Limit SDL of the TUR + numerator : TUR = (Numerator +/- SDL) / Denominator. + With : SDL = 2^(SyncDevLimit+5). + This parameter must be a number between 0 and 7 */ + + uint32_t InitRefTrigOffset; /*!< Specifies the Initial Reference Trigger Offset. + This parameter must be a number between 0 and 127 */ + + uint32_t ExternalClkSync; /*!< Enable or disable External Clock Synchronization. + This parameter can be a value of @ref FDCAN_TT_external_clk_sync. + This parameter is ignored if OperationMode is set to + FDCAN_TT_COMMUNICATION_LEVEL1 */ + + uint32_t AppWdgLimit; /*!< Specifies the Application Watchdog Limit : maximum time after + which the application has to serve the application watchdog. + The application watchdog is incremented once each 256 NTUs. + The application watchdog can be disabled by setting AppWdgLimit to 0. + This parameter must be a number between 0 and 255. + This parameter is ignored if OperationMode is set to + FDCAN_TT_COMMUNICATION_LEVEL0 */ + + uint32_t GlobalTimeFilter; /*!< Enable or disable Global Time Filtering. + This parameter can be a value of @ref FDCAN_TT_global_time_filtering. + This parameter is ignored if OperationMode is set to + FDCAN_TT_COMMUNICATION_LEVEL1 */ + + uint32_t ClockCalibration; /*!< Enable or disable Automatic Clock Calibration. + This parameter can be a value of @ref FDCAN_TT_auto_clk_calibration. + This parameter is ignored if OperationMode is set to + FDCAN_TT_COMMUNICATION_LEVEL1 */ + + uint32_t EvtTrigPolarity; /*!< Specifies the Event Trigger Polarity. + This parameter can be a value of @ref FDCAN_TT_event_trig_polarity. + This parameter is ignored if OperationMode is set to + FDCAN_TT_COMMUNICATION_LEVEL0 */ + + uint32_t BasicCyclesNbr; /*!< Specifies the number of basic cycles in the system matrix. + This parameter can be a value of @ref FDCAN_TT_basic_cycle_number */ + + uint32_t CycleStartSync; /*!< Enable or disable synchronization pulse output at pin fdcan1_soc. + This parameter can be a value of @ref FDCAN_TT_cycle_start_sync */ + + uint32_t TxEnableWindow; /*!< Specifies the length of Tx enable window in NTUs. + This parameter must be a number between 1 and 16 */ + + uint32_t ExpTxTrigNbr; /*!< Specifies the number of expected Tx_Triggers in the system matrix. + This is the sum of Tx_Triggers for exclusive, single arbitrating and + merged arbitrating windows. + This parameter must be a number between 0 and 4095 */ + + uint32_t TURNumerator; /*!< Specifies the TUR (Time Unit Ratio) numerator. + It is advised to set this parameter to the largest applicable value. + This parameter must be a number between 0x10000 and 0x1FFFF */ + + uint32_t TURDenominator; /*!< Specifies the TUR (Time Unit Ratio) denominator. + This parameter must be a number between 0x0001 and 0x3FFF */ + + uint32_t TriggerMemoryNbr; /*!< Specifies the number of trigger memory elements. + This parameter must be a number between 0 and 64 */ + + uint32_t StopWatchTrigSel; /*!< Specifies the input to be used as stop watch trigger. + This parameter can be a value of @ref FDCAN_TT_stop_watch_trig_selection */ + + uint32_t EventTrigSel; /*!< Specifies the input to be used as event trigger. + This parameter can be a value of @ref FDCAN_TT_event_trig_selection */ + +} FDCAN_TT_ConfigTypeDef; + +/** + * @brief FDCAN Trigger structure definition + */ +typedef struct +{ + uint32_t TriggerIndex; /*!< Specifies the trigger which will be configured. + This parameter must be a number between 0 and 63 */ + + uint32_t TimeMark; /*!< Specifies the cycle time for which the trigger becomes active. + This parameter must be a number between 0 and 0xFFFF */ + + uint32_t RepeatFactor; /*!< Specifies the trigger repeat factor. + This parameter can be a value of @ref FDCAN_TT_Repeat_Factor */ + + uint32_t StartCycle; /*!< Specifies the index of the first cycle in which the trigger becomes active. + This parameter is ignored if RepeatFactor is set to FDCAN_TT_REPEAT_EVERY_CYCLE. + This parameter must be a number between 0 and RepeatFactor */ + + uint32_t TmEventInt; /*!< Enable or disable the internal time mark event. + If enabled, FDCAN_TT_FLAG_TRIG_TIME_MARK flag is set when trigger memory element + becomes active. + This parameter can be a value of @ref FDCAN_TT_Time_Mark_Event_Internal */ + + uint32_t TmEventExt; /*!< Enable or disable the external time mark event. + If enabled, and if TTOCN.TTIE is set, a pulse is generated at fdcan1_tmp when + trigger memory element becomes active. + This parameter can be a value of @ref FDCAN_TT_Time_Mark_Event_External */ + + uint32_t TriggerType; /*!< Specifies the trigger type. + This parameter can be a value of @ref FDCAN_TT_Trigger_Type */ + + uint32_t FilterType; /*!< Specifies the filter identifier type. + This parameter can be a value of @ref FDCAN_id_type */ + + uint32_t TxBufferIndex; /*!< Specifies the index of the Tx buffer for which the trigger is valid. + This parameter can be a value of @ref FDCAN_Tx_location. + This parameter is taken in consideration only if the trigger is configured for + transmission. */ + + uint32_t FilterIndex; /*!< Specifies the filter for which the trigger is valid. + This parameter is taken in consideration only if the trigger is configured for + reception. + This parameter must be a number between: + - 0 and 127, if FilterType is FDCAN_STANDARD_ID + - 0 and 63, if FilterType is FDCAN_EXTENDED_ID */ + +} FDCAN_TriggerTypeDef; + +/** + * @brief FDCAN TT Operation Status structure definition + */ +typedef struct +{ + uint32_t ErrorLevel; /*!< Specifies the type of the TT operation error level. + This parameter can be a value of @ref FDCAN_TT_error_level */ + + uint32_t MasterState; /*!< Specifies the type of the TT master state. + This parameter can be a value of @ref FDCAN_TT_master_state */ + + uint32_t SyncState; /*!< Specifies the type of the TT synchronization state. + This parameter can be a value of @ref FDCAN_TT_sync_state */ + + uint32_t GTimeQuality; /*!< Specifies the Quality of Global Time Phase. + This parameter is only relevant in Level 0 and Level 2, otherwise fixed to 0. + This parameter can be: + - 0 : Global time not valid + - 1 : Global time in phase with Time Master */ + + uint32_t ClockQuality; /*!< Specifies the Quality of Clock Speed. + This parameter is only relevant in Level 0 and Level 2, otherwise fixed to 1. + This parameter can be: + - 0 : Local clock speed not synchronized to Time Master clock speed + - 1 : Synchronization Deviation = SDL */ + + uint32_t RefTrigOffset; /*!< Specifies the Actual Reference Trigger Offset Value. + This parameter can be a number between 0 and 0xFF */ + + uint32_t GTimeDiscPending; /*!< Specifies the Global Time Discontinuity State. + This parameter can be: + - 0 : No global time preset pending + - 1 : Node waits for the global time preset to take effect */ + + uint32_t GapFinished; /*!< Specifies whether a Gap is finished. + This parameter can be: + - 0 : Reset at the end of each reference message + - 1 : Gap finished */ + + uint32_t MasterPriority; /*!< Specifies the Priority of actual Time Master. + This parameter can be a number between 0 and 0x7 */ + + uint32_t GapStarted; /*!< Specifies whether a Gap is started. + This parameter can be: + - 0 : No Gap in schedule + - 1 : Gap time after Basic Cycle has started */ + + uint32_t WaitForEvt; /*!< Specifies whether a Gap is announced. + This parameter can be: + - 0 : No Gap announced, reset by a reference message with Next_is_Gap = 0 + - 1 : Reference message with Next_is_Gap = 1 received */ + + uint32_t AppWdgEvt; /*!< Specifies the Application Watchdog State. + This parameter can be: + - 0 : Application Watchdog served in time + - 1 : Failed to serve Application Watchdog in time */ + + uint32_t ECSPending; /*!< Specifies the External Clock Synchronization State. + This parameter can be: + - 0 : No external clock synchronization pending + - 1 : Node waits for external clock synchronization to take effect */ + + uint32_t PhaseLock; /*!< Specifies the Phase Lock State. + This parameter can be: + - 0 : Phase outside range + - 1 : Phase inside range */ + +} FDCAN_TTOperationStatusTypeDef; + +/** + * @brief FDCAN Message RAM blocks + */ +typedef struct +{ + uint32_t StandardFilterSA; /*!< Specifies the Standard Filter List Start Address. + This parameter must be a 32-bit word address */ + + uint32_t ExtendedFilterSA; /*!< Specifies the Extended Filter List Start Address. + This parameter must be a 32-bit word address */ + + uint32_t RxFIFO0SA; /*!< Specifies the Rx FIFO 0 Start Address. + This parameter must be a 32-bit word address */ + + uint32_t RxFIFO1SA; /*!< Specifies the Rx FIFO 1 Start Address. + This parameter must be a 32-bit word address */ + + uint32_t RxBufferSA; /*!< Specifies the Rx Buffer Start Address. + This parameter must be a 32-bit word address */ + + uint32_t TxEventFIFOSA; /*!< Specifies the Tx Event FIFO Start Address. + This parameter must be a 32-bit word address */ + + uint32_t TxBufferSA; /*!< Specifies the Tx Buffers Start Address. + This parameter must be a 32-bit word address */ + + uint32_t TxFIFOQSA; /*!< Specifies the Tx FIFO/Queue Start Address. + This parameter must be a 32-bit word address */ + + uint32_t TTMemorySA; /*!< Specifies the Trigger Memory Start Address. + This parameter must be a 32-bit word address */ + + uint32_t EndAddress; /*!< Specifies the End Address of the allocated RAM. + This parameter must be a 32-bit word address */ + +} FDCAN_MsgRamAddressTypeDef; + +/** + * @brief FDCAN handle structure definition + */ + + + +typedef struct + +{ + FDCAN_GlobalTypeDef *Instance; + + TTCAN_TypeDef *ttcan; + + FDCAN_InitTypeDef Init; + + FDCAN_MsgRamAddressTypeDef msgRam; + + uint32_t LatestTxFifoQRequest; /*!< FDCAN Tx buffer index + of latest Tx FIFO/Queue request */ + + volatile HAL_FDCAN_StateTypeDef State; + + HAL_LockTypeDef Lock; + + volatile uint32_t ErrorCode; +# 760 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_fdcan.h" +} FDCAN_HandleTypeDef; +# 797 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_fdcan.h" +/** + * @} + */ + +/* Exported constants --------------------------------------------------------*/ +/** @defgroup FDCAN_Exported_Constants FDCAN Exported Constants + * @{ + */ + +/** @defgroup HAL_FDCAN_Error_Code HAL FDCAN Error Code + * @{ + */ +# 838 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_fdcan.h" +/** + * @} + */ + +/** @defgroup FDCAN_frame_format FDCAN Frame Format + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup FDCAN_operating_mode FDCAN Operating Mode + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup FDCAN_clock_calibration FDCAN Clock Calibration + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FDCAN_clock_divider FDCAN Clock Divider + * @{ + */ +# 892 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_fdcan.h" +/** + * @} + */ + +/** @defgroup FDCAN_calibration_field_length FDCAN Calibration Field Length + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FDCAN_calibration_state FDCAN Calibration State + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup FDCAN_calibration_counter FDCAN Calibration Counter + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup FDCAN_data_field_size FDCAN Data Field Size + * @{ + */ +# 936 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_fdcan.h" +/** + * @} + */ + +/** @defgroup FDCAN_txFifoQueue_Mode FDCAN Tx FIFO/Queue Mode + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FDCAN_id_type FDCAN ID Type + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FDCAN_frame_type FDCAN Frame Type + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FDCAN_data_length_code FDCAN Data Length Code + * @{ + */ +# 986 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_fdcan.h" +/** + * @} + */ + +/** @defgroup FDCAN_error_state_indicator FDCAN Error State Indicator + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FDCAN_bit_rate_switching FDCAN Bit Rate Switching + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FDCAN_format FDCAN format + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FDCAN_EFC FDCAN Event FIFO control + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FDCAN_filter_type FDCAN Filter Type + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup FDCAN_filter_config FDCAN Filter Configuration + * @{ + */ +# 1048 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_fdcan.h" +/** + * @} + */ + +/** @defgroup FDCAN_Tx_location FDCAN Tx Location + * @{ + */ +# 1087 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_fdcan.h" +/** + * @} + */ + +/** @defgroup FDCAN_Rx_location FDCAN Rx Location + * @{ + */ +# 1160 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_fdcan.h" +/** + * @} + */ + +/** @defgroup FDCAN_event_type FDCAN Event Type + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FDCAN_hp_msg_storage FDCAN High Priority Message Storage + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup FDCAN_protocol_error_code FDCAN protocol error code + * @{ + */ +# 1195 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_fdcan.h" +/** + * @} + */ + +/** @defgroup FDCAN_communication_state FDCAN communication state + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup FDCAN_FIFO_watermark FDCAN FIFO watermark + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup FDCAN_Rx_FIFO_operation_mode FDCAN FIFO operation mode + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FDCAN_Non_Matching_Frames FDCAN non-matching frames + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup FDCAN_Reject_Remote_Frames FDCAN reject remote frames + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FDCAN_Interrupt_Line FDCAN interrupt line + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FDCAN_Timestamp FDCAN timestamp + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FDCAN_Timestamp_Prescaler FDCAN timestamp prescaler + * @{ + */ +# 1285 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_fdcan.h" +/** + * @} + */ + +/** @defgroup FDCAN_Timeout_Operation FDCAN timeout operation + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup FDCAN_TT_Reference_Message_Payload FDCAN TT reference message payload + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FDCAN_TT_Repeat_Factor FDCAN TT repeat factor + * @{ + */ + + + + + + + +/** + * @} + */ + +/** @defgroup FDCAN_TT_Trigger_Type FDCAN TT trigger type + * @{ + */ +# 1337 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_fdcan.h" +/** + * @} + */ + +/** @defgroup FDCAN_TT_Time_Mark_Event_Internal FDCAN TT time mark event internal + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FDCAN_TT_Time_Mark_Event_External FDCAN TT time mark event external + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FDCAN_operation_mode FDCAN Operation Mode + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup FDCAN_TT_operation FDCAN TT Operation + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FDCAN_TT_time_master FDCAN TT Time Master + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FDCAN_TT_external_clk_sync FDCAN TT External Clock Synchronization + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FDCAN_TT_global_time_filtering FDCAN TT Global Time Filtering + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FDCAN_TT_auto_clk_calibration FDCAN TT Automatic Clock Calibration + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FDCAN_TT_event_trig_polarity FDCAN TT Event Trigger Polarity + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FDCAN_TT_basic_cycle_number FDCAN TT Basic Cycle Number + * @{ + */ + + + + + + + +/** + * @} + */ + +/** @defgroup FDCAN_TT_cycle_start_sync FDCAN TT Cycle Start Sync + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup FDCAN_TT_stop_watch_trig_selection FDCAN TT Stop Watch Trigger Selection + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup FDCAN_TT_event_trig_selection FDCAN TT Event Trigger Selection + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup FDCAN_TT_stop_watch_source FDCAN TT Stop Watch Source + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup FDCAN_TT_stop_watch_polarity FDCAN TT Stop Watch Polarity + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FDCAN_TT_time_mark_source FDCAN TT Time Mark Source + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup FDCAN_TT_error_level FDCAN TT Error Level + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup FDCAN_TT_master_state FDCAN TT Master State + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup FDCAN_TT_sync_state FDCAN TT Synchronization State + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup Interrupt_Masks Interrupt masks + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FDCAN_flags FDCAN Flags + * @{ + */ +# 1575 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_fdcan.h" +/** + * @} + */ + +/** @defgroup FDCAN_Interrupts FDCAN Interrupts + * @{ + */ + +/** @defgroup FDCAN_Tx_Interrupts FDCAN Tx Interrupts + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup FDCAN_Rx_Interrupts FDCAN Rx Interrupts + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FDCAN_Counter_Interrupts FDCAN Counter Interrupts + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FDCAN_Clock_Calibration_Interrupts Clock Calibration Interrupts + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FDCAN_Tx_Event_Fifo_Interrupts FDCAN Tx Event FIFO Interrupts + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup FDCAN_Rx_Fifo0_Interrupts FDCAN Rx FIFO 0 Interrupts + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup FDCAN_Rx_Fifo1_Interrupts FDCAN Rx FIFO 1 Interrupts + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup FDCAN_Error_Interrupts FDCAN Error Interrupts + * @{ + */ + + + + + + +/** + * @} + */ + +/** @defgroup FDCAN_Error_Status_Interrupts FDCAN Error Status Interrupts + * @{ + */ + + + +/** + * @} + */ + +/** + * @} + */ + +/** @defgroup FDCAN_TTflags FDCAN TT Flags + * @{ + */ +# 1702 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_fdcan.h" +/** + * @} + */ + +/** @defgroup FDCAN_TTInterrupts FDCAN TT Interrupts + * @{ + */ + +/** @defgroup FDCAN_TTScheduleSynchronization_Interrupts FDCAN TT Schedule Synchronization Interrupts + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup FDCAN_TTTimeMark_Interrupts FDCAN TT Time Mark Interrupts + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FDCAN_TTStopWatch_Interrupt FDCAN TT Stop Watch Interrupt + * @{ + */ + +/** + * @} + */ + +/** @defgroup FDCAN_TTGlobalTime_Interrupts FDCAN TT Global Time Interrupts + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FDCAN_TTDisturbingError_Interrupts FDCAN TT Disturbing Error Interrupts + * @{ + */ + + + + + + +/** + * @} + */ + +/** @defgroup FDCAN_TTFatalError_Interrupts FDCAN TT Fatal Error Interrupts + * @{ + */ + + + + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + +/* Exported macro ------------------------------------------------------------*/ +/** @defgroup FDCAN_Exported_Macros FDCAN Exported Macros + * @{ + */ + +/** @brief Reset FDCAN handle state. + * @param __HANDLE__ FDCAN handle. + * @retval None + */ +# 1798 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_fdcan.h" +/** + * @brief Enable the specified FDCAN interrupts. + * @param __HANDLE__ FDCAN handle. + * @param __INTERRUPT__ FDCAN interrupt. + * This parameter can be any combination of @arg FDCAN_Interrupts + * @retval None + */ + + + + + + + +/** + * @brief Disable the specified FDCAN interrupts. + * @param __HANDLE__ FDCAN handle. + * @param __INTERRUPT__ FDCAN interrupt. + * This parameter can be any combination of @arg FDCAN_Interrupts + * @retval None + */ + + + + + + +/** + * @brief Check whether the specified FDCAN interrupt is set or not. + * @param __HANDLE__ FDCAN handle. + * @param __INTERRUPT__ FDCAN interrupt. + * This parameter can be one of @arg FDCAN_Interrupts + * @retval ITStatus + */ + + + + +/** + * @brief Clear the specified FDCAN interrupts. + * @param __HANDLE__ FDCAN handle. + * @param __INTERRUPT__ specifies the interrupts to clear. + * This parameter can be any combination of @arg FDCAN_Interrupts + * @retval None + */ + + + + + + +/** + * @brief Check whether the specified FDCAN flag is set or not. + * @param __HANDLE__ FDCAN handle. + * @param __FLAG__ FDCAN flag. + * This parameter can be one of @arg FDCAN_flags + * @retval FlagStatus + */ + + + + +/** + * @brief Clear the specified FDCAN flags. + * @param __HANDLE__ FDCAN handle. + * @param __FLAG__ specifies the flags to clear. + * This parameter can be any combination of @arg FDCAN_flags + * @retval None + */ + + + + + + +/** @brief Check if the specified FDCAN interrupt source is enabled or disabled. + * @param __HANDLE__ FDCAN handle. + * @param __INTERRUPT__ specifies the FDCAN interrupt source to check. + * This parameter can be a value of @arg FDCAN_Interrupts + * @retval ITStatus + */ + + + + + +/** + * @brief Enable the specified FDCAN TT interrupts. + * @param __HANDLE__ FDCAN handle. + * @param __INTERRUPT__ FDCAN TT interrupt. + * This parameter can be any combination of @arg FDCAN_TTInterrupts + * @retval None + */ + + +/** + * @brief Disable the specified FDCAN TT interrupts. + * @param __HANDLE__ FDCAN handle. + * @param __INTERRUPT__ FDCAN TT interrupt. + * This parameter can be any combination of @arg FDCAN_TTInterrupts + * @retval None + */ + + +/** + * @brief Check whether the specified FDCAN TT interrupt is set or not. + * @param __HANDLE__ FDCAN handle. + * @param __INTERRUPT__ FDCAN TT interrupt. + * This parameter can be one of @arg FDCAN_TTInterrupts + * @retval ITStatus + */ + + +/** + * @brief Clear the specified FDCAN TT interrupts. + * @param __HANDLE__ FDCAN handle. + * @param __INTERRUPT__ specifies the TT interrupts to clear. + * This parameter can be any combination of @arg FDCAN_TTInterrupts + * @retval None + */ + + +/** + * @brief Check whether the specified FDCAN TT flag is set or not. + * @param __HANDLE__ FDCAN handle. + * @param __FLAG__ FDCAN TT flag. + * This parameter can be one of @arg FDCAN_TTflags + * @retval FlagStatus + */ + + +/** + * @brief Clear the specified FDCAN TT flags. + * @param __HANDLE__ FDCAN handle. + * @param __FLAG__ specifies the TT flags to clear. + * This parameter can be any combination of @arg FDCAN_TTflags + * @retval None + */ + + +/** @brief Check if the specified FDCAN TT interrupt source is enabled or disabled. + * @param __HANDLE__ FDCAN handle. + * @param __INTERRUPT__ specifies the FDCAN TT interrupt source to check. + * This parameter can be a value of @arg FDCAN_TTInterrupts + * @retval ITStatus + */ + + +/** + * @} + */ + +/* Exported functions --------------------------------------------------------*/ +/** @addtogroup FDCAN_Exported_Functions + * @{ + */ + +/** @addtogroup FDCAN_Exported_Functions_Group1 + * @{ + */ +/* Initialization and de-initialization functions *****************************/ +HAL_StatusTypeDef HAL_FDCAN_Init(FDCAN_HandleTypeDef *hfdcan); +HAL_StatusTypeDef HAL_FDCAN_DeInit(FDCAN_HandleTypeDef *hfdcan); +void HAL_FDCAN_MspInit(FDCAN_HandleTypeDef *hfdcan); +void HAL_FDCAN_MspDeInit(FDCAN_HandleTypeDef *hfdcan); +HAL_StatusTypeDef HAL_FDCAN_EnterPowerDownMode(FDCAN_HandleTypeDef *hfdcan); +HAL_StatusTypeDef HAL_FDCAN_ExitPowerDownMode(FDCAN_HandleTypeDef *hfdcan); +# 2005 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_fdcan.h" +/** + * @} + */ + +/** @addtogroup FDCAN_Exported_Functions_Group2 + * @{ + */ +/* Configuration functions ****************************************************/ +HAL_StatusTypeDef HAL_FDCAN_ConfigClockCalibration(FDCAN_HandleTypeDef *hfdcan, + const FDCAN_ClkCalUnitTypeDef *sCcuConfig); +uint32_t HAL_FDCAN_GetClockCalibrationState(const FDCAN_HandleTypeDef *hfdcan); +HAL_StatusTypeDef HAL_FDCAN_ResetClockCalibrationState(FDCAN_HandleTypeDef *hfdcan); +uint32_t HAL_FDCAN_GetClockCalibrationCounter(const FDCAN_HandleTypeDef *hfdcan, uint32_t Counter); +HAL_StatusTypeDef HAL_FDCAN_ConfigFilter(FDCAN_HandleTypeDef *hfdcan, const FDCAN_FilterTypeDef *sFilterConfig); +HAL_StatusTypeDef HAL_FDCAN_ConfigGlobalFilter(FDCAN_HandleTypeDef *hfdcan, uint32_t NonMatchingStd, + uint32_t NonMatchingExt, uint32_t RejectRemoteStd, + uint32_t RejectRemoteExt); +HAL_StatusTypeDef HAL_FDCAN_ConfigExtendedIdMask(FDCAN_HandleTypeDef *hfdcan, uint32_t Mask); +HAL_StatusTypeDef HAL_FDCAN_ConfigRxFifoOverwrite(FDCAN_HandleTypeDef *hfdcan, uint32_t RxFifo, uint32_t OperationMode); +HAL_StatusTypeDef HAL_FDCAN_ConfigFifoWatermark(FDCAN_HandleTypeDef *hfdcan, uint32_t FIFO, uint32_t Watermark); +HAL_StatusTypeDef HAL_FDCAN_ConfigRamWatchdog(FDCAN_HandleTypeDef *hfdcan, uint32_t CounterStartValue); +HAL_StatusTypeDef HAL_FDCAN_ConfigTimestampCounter(FDCAN_HandleTypeDef *hfdcan, uint32_t TimestampPrescaler); +HAL_StatusTypeDef HAL_FDCAN_EnableTimestampCounter(FDCAN_HandleTypeDef *hfdcan, uint32_t TimestampOperation); +HAL_StatusTypeDef HAL_FDCAN_DisableTimestampCounter(FDCAN_HandleTypeDef *hfdcan); +uint16_t HAL_FDCAN_GetTimestampCounter(const FDCAN_HandleTypeDef *hfdcan); +HAL_StatusTypeDef HAL_FDCAN_ResetTimestampCounter(FDCAN_HandleTypeDef *hfdcan); +HAL_StatusTypeDef HAL_FDCAN_ConfigTimeoutCounter(FDCAN_HandleTypeDef *hfdcan, uint32_t TimeoutOperation, + uint32_t TimeoutPeriod); +HAL_StatusTypeDef HAL_FDCAN_EnableTimeoutCounter(FDCAN_HandleTypeDef *hfdcan); +HAL_StatusTypeDef HAL_FDCAN_DisableTimeoutCounter(FDCAN_HandleTypeDef *hfdcan); +uint16_t HAL_FDCAN_GetTimeoutCounter(const FDCAN_HandleTypeDef *hfdcan); +HAL_StatusTypeDef HAL_FDCAN_ResetTimeoutCounter(FDCAN_HandleTypeDef *hfdcan); +HAL_StatusTypeDef HAL_FDCAN_ConfigTxDelayCompensation(FDCAN_HandleTypeDef *hfdcan, uint32_t TdcOffset, + uint32_t TdcFilter); +HAL_StatusTypeDef HAL_FDCAN_EnableTxDelayCompensation(FDCAN_HandleTypeDef *hfdcan); +HAL_StatusTypeDef HAL_FDCAN_DisableTxDelayCompensation(FDCAN_HandleTypeDef *hfdcan); +HAL_StatusTypeDef HAL_FDCAN_EnableISOMode(FDCAN_HandleTypeDef *hfdcan); +HAL_StatusTypeDef HAL_FDCAN_DisableISOMode(FDCAN_HandleTypeDef *hfdcan); +HAL_StatusTypeDef HAL_FDCAN_EnableEdgeFiltering(FDCAN_HandleTypeDef *hfdcan); +HAL_StatusTypeDef HAL_FDCAN_DisableEdgeFiltering(FDCAN_HandleTypeDef *hfdcan); +/** + * @} + */ + +/** @addtogroup FDCAN_Exported_Functions_Group3 + * @{ + */ +/* Control functions **********************************************************/ +HAL_StatusTypeDef HAL_FDCAN_Start(FDCAN_HandleTypeDef *hfdcan); +HAL_StatusTypeDef HAL_FDCAN_Stop(FDCAN_HandleTypeDef *hfdcan); +HAL_StatusTypeDef HAL_FDCAN_AddMessageToTxFifoQ(FDCAN_HandleTypeDef *hfdcan, const FDCAN_TxHeaderTypeDef *pTxHeader, + const uint8_t *pTxData); +HAL_StatusTypeDef HAL_FDCAN_AddMessageToTxBuffer(FDCAN_HandleTypeDef *hfdcan, const FDCAN_TxHeaderTypeDef *pTxHeader, + const uint8_t *pTxData, uint32_t BufferIndex); +HAL_StatusTypeDef HAL_FDCAN_EnableTxBufferRequest(FDCAN_HandleTypeDef *hfdcan, uint32_t BufferIndex); +uint32_t HAL_FDCAN_GetLatestTxFifoQRequestBuffer(const FDCAN_HandleTypeDef *hfdcan); +HAL_StatusTypeDef HAL_FDCAN_AbortTxRequest(FDCAN_HandleTypeDef *hfdcan, uint32_t BufferIndex); +HAL_StatusTypeDef HAL_FDCAN_GetRxMessage(FDCAN_HandleTypeDef *hfdcan, uint32_t RxLocation, + FDCAN_RxHeaderTypeDef *pRxHeader, uint8_t *pRxData); +HAL_StatusTypeDef HAL_FDCAN_GetTxEvent(FDCAN_HandleTypeDef *hfdcan, FDCAN_TxEventFifoTypeDef *pTxEvent); +HAL_StatusTypeDef HAL_FDCAN_GetHighPriorityMessageStatus(const FDCAN_HandleTypeDef *hfdcan, + FDCAN_HpMsgStatusTypeDef *HpMsgStatus); +HAL_StatusTypeDef HAL_FDCAN_GetProtocolStatus(const FDCAN_HandleTypeDef *hfdcan, + FDCAN_ProtocolStatusTypeDef *ProtocolStatus); +HAL_StatusTypeDef HAL_FDCAN_GetErrorCounters(const FDCAN_HandleTypeDef *hfdcan, + FDCAN_ErrorCountersTypeDef *ErrorCounters); +uint32_t HAL_FDCAN_IsRxBufferMessageAvailable(FDCAN_HandleTypeDef *hfdcan, uint32_t RxBufferIndex); +uint32_t HAL_FDCAN_IsTxBufferMessagePending(const FDCAN_HandleTypeDef *hfdcan, uint32_t TxBufferIndex); +uint32_t HAL_FDCAN_GetRxFifoFillLevel(const FDCAN_HandleTypeDef *hfdcan, uint32_t RxFifo); +uint32_t HAL_FDCAN_GetTxFifoFreeLevel(const FDCAN_HandleTypeDef *hfdcan); +uint32_t HAL_FDCAN_IsRestrictedOperationMode(const FDCAN_HandleTypeDef *hfdcan); +HAL_StatusTypeDef HAL_FDCAN_ExitRestrictedOperationMode(FDCAN_HandleTypeDef *hfdcan); +/** + * @} + */ + +/** @addtogroup FDCAN_Exported_Functions_Group4 + * @{ + */ +/* TT Configuration and control functions**************************************/ +HAL_StatusTypeDef HAL_FDCAN_TT_ConfigOperation(FDCAN_HandleTypeDef *hfdcan, const FDCAN_TT_ConfigTypeDef *pTTParams); +HAL_StatusTypeDef HAL_FDCAN_TT_ConfigReferenceMessage(FDCAN_HandleTypeDef *hfdcan, uint32_t IdType, uint32_t Identifier, + uint32_t Payload); +HAL_StatusTypeDef HAL_FDCAN_TT_ConfigTrigger(FDCAN_HandleTypeDef *hfdcan, const FDCAN_TriggerTypeDef *sTriggerConfig); +HAL_StatusTypeDef HAL_FDCAN_TT_SetGlobalTime(FDCAN_HandleTypeDef *hfdcan, uint32_t TimePreset); +HAL_StatusTypeDef HAL_FDCAN_TT_SetClockSynchronization(FDCAN_HandleTypeDef *hfdcan, uint32_t NewTURNumerator); +HAL_StatusTypeDef HAL_FDCAN_TT_ConfigStopWatch(FDCAN_HandleTypeDef *hfdcan, uint32_t Source, uint32_t Polarity); +HAL_StatusTypeDef HAL_FDCAN_TT_ConfigRegisterTimeMark(FDCAN_HandleTypeDef *hfdcan, uint32_t TimeMarkSource, + uint32_t TimeMarkValue, uint32_t RepeatFactor, + uint32_t StartCycle); +HAL_StatusTypeDef HAL_FDCAN_TT_EnableRegisterTimeMarkPulse(FDCAN_HandleTypeDef *hfdcan); +HAL_StatusTypeDef HAL_FDCAN_TT_DisableRegisterTimeMarkPulse(FDCAN_HandleTypeDef *hfdcan); +HAL_StatusTypeDef HAL_FDCAN_TT_EnableTriggerTimeMarkPulse(FDCAN_HandleTypeDef *hfdcan); +HAL_StatusTypeDef HAL_FDCAN_TT_DisableTriggerTimeMarkPulse(FDCAN_HandleTypeDef *hfdcan); +HAL_StatusTypeDef HAL_FDCAN_TT_EnableHardwareGapControl(FDCAN_HandleTypeDef *hfdcan); +HAL_StatusTypeDef HAL_FDCAN_TT_DisableHardwareGapControl(FDCAN_HandleTypeDef *hfdcan); +HAL_StatusTypeDef HAL_FDCAN_TT_EnableTimeMarkGapControl(FDCAN_HandleTypeDef *hfdcan); +HAL_StatusTypeDef HAL_FDCAN_TT_DisableTimeMarkGapControl(FDCAN_HandleTypeDef *hfdcan); +HAL_StatusTypeDef HAL_FDCAN_TT_SetNextIsGap(FDCAN_HandleTypeDef *hfdcan); +HAL_StatusTypeDef HAL_FDCAN_TT_SetEndOfGap(FDCAN_HandleTypeDef *hfdcan); +HAL_StatusTypeDef HAL_FDCAN_TT_ConfigExternalSyncPhase(FDCAN_HandleTypeDef *hfdcan, uint32_t TargetPhase); +HAL_StatusTypeDef HAL_FDCAN_TT_EnableExternalSynchronization(FDCAN_HandleTypeDef *hfdcan); +HAL_StatusTypeDef HAL_FDCAN_TT_DisableExternalSynchronization(FDCAN_HandleTypeDef *hfdcan); +HAL_StatusTypeDef HAL_FDCAN_TT_GetOperationStatus(const FDCAN_HandleTypeDef *hfdcan, + FDCAN_TTOperationStatusTypeDef *TTOpStatus); +/** + * @} + */ + +/** @addtogroup FDCAN_Exported_Functions_Group5 + * @{ + */ +/* Interrupts management ******************************************************/ +HAL_StatusTypeDef HAL_FDCAN_ConfigInterruptLines(FDCAN_HandleTypeDef *hfdcan, uint32_t ITList, uint32_t InterruptLine); +HAL_StatusTypeDef HAL_FDCAN_TT_ConfigInterruptLines(FDCAN_HandleTypeDef *hfdcan, uint32_t TTITList, + uint32_t InterruptLine); +HAL_StatusTypeDef HAL_FDCAN_ActivateNotification(FDCAN_HandleTypeDef *hfdcan, uint32_t ActiveITs, + uint32_t BufferIndexes); +HAL_StatusTypeDef HAL_FDCAN_DeactivateNotification(FDCAN_HandleTypeDef *hfdcan, uint32_t InactiveITs); +HAL_StatusTypeDef HAL_FDCAN_TT_ActivateNotification(FDCAN_HandleTypeDef *hfdcan, uint32_t ActiveTTITs); +HAL_StatusTypeDef HAL_FDCAN_TT_DeactivateNotification(FDCAN_HandleTypeDef *hfdcan, uint32_t InactiveTTITs); +void HAL_FDCAN_IRQHandler(FDCAN_HandleTypeDef *hfdcan); +/** + * @} + */ + +/** @addtogroup FDCAN_Exported_Functions_Group6 + * @{ + */ +/* Callback functions *********************************************************/ +void HAL_FDCAN_ClockCalibrationCallback(FDCAN_HandleTypeDef *hfdcan, uint32_t ClkCalibrationITs); +void HAL_FDCAN_TxEventFifoCallback(FDCAN_HandleTypeDef *hfdcan, uint32_t TxEventFifoITs); +void HAL_FDCAN_RxFifo0Callback(FDCAN_HandleTypeDef *hfdcan, uint32_t RxFifo0ITs); +void HAL_FDCAN_RxFifo1Callback(FDCAN_HandleTypeDef *hfdcan, uint32_t RxFifo1ITs); +void HAL_FDCAN_TxFifoEmptyCallback(FDCAN_HandleTypeDef *hfdcan); +void HAL_FDCAN_TxBufferCompleteCallback(FDCAN_HandleTypeDef *hfdcan, uint32_t BufferIndexes); +void HAL_FDCAN_TxBufferAbortCallback(FDCAN_HandleTypeDef *hfdcan, uint32_t BufferIndexes); +void HAL_FDCAN_RxBufferNewMessageCallback(FDCAN_HandleTypeDef *hfdcan); +void HAL_FDCAN_HighPriorityMessageCallback(FDCAN_HandleTypeDef *hfdcan); +void HAL_FDCAN_TimestampWraparoundCallback(FDCAN_HandleTypeDef *hfdcan); +void HAL_FDCAN_TimeoutOccurredCallback(FDCAN_HandleTypeDef *hfdcan); +void HAL_FDCAN_ErrorCallback(FDCAN_HandleTypeDef *hfdcan); +void HAL_FDCAN_ErrorStatusCallback(FDCAN_HandleTypeDef *hfdcan, uint32_t ErrorStatusITs); +void HAL_FDCAN_TT_ScheduleSyncCallback(FDCAN_HandleTypeDef *hfdcan, uint32_t TTSchedSyncITs); +void HAL_FDCAN_TT_TimeMarkCallback(FDCAN_HandleTypeDef *hfdcan, uint32_t TTTimeMarkITs); +void HAL_FDCAN_TT_StopWatchCallback(FDCAN_HandleTypeDef *hfdcan, uint32_t SWTime, uint32_t SWCycleCount); +void HAL_FDCAN_TT_GlobalTimeCallback(FDCAN_HandleTypeDef *hfdcan, uint32_t TTGlobTimeITs); +/** + * @} + */ + +/** @addtogroup FDCAN_Exported_Functions_Group7 + * @{ + */ +/* Peripheral State functions *************************************************/ +uint32_t HAL_FDCAN_GetError(const FDCAN_HandleTypeDef *hfdcan); +HAL_FDCAN_StateTypeDef HAL_FDCAN_GetState(const FDCAN_HandleTypeDef *hfdcan); +/** + * @} + */ + +/** + * @} + */ + +/* Private types -------------------------------------------------------------*/ +/** @defgroup FDCAN_Private_Types FDCAN Private Types + * @{ + */ + +/** + * @} + */ + +/* Private variables ---------------------------------------------------------*/ +/** @defgroup FDCAN_Private_Variables FDCAN Private Variables + * @{ + */ + +/** + * @} + */ + +/* Private constants ---------------------------------------------------------*/ +/** @defgroup FDCAN_Private_Constants FDCAN Private Constants + * @{ + */ + +/** + * @} + */ + +/* Private macros ------------------------------------------------------------*/ +/** @defgroup FDCAN_Private_Macros FDCAN Private Macros + * @{ + */ +# 2428 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_fdcan.h" +/** + * @} + */ + +/* Private functions prototypes ----------------------------------------------*/ +/** @defgroup FDCAN_Private_Functions_Prototypes FDCAN Private Functions Prototypes + * @{ + */ + +/** + * @} + */ + +/* Private functions ---------------------------------------------------------*/ +/** @defgroup FDCAN_Private_Functions FDCAN Private Functions + * @{ + */ + +/** + * @} + */ +/** + * @} + */ + +/** + * @} + */ + + + +} +# 311 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_cec.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_cec.h + * @author MCD Application Team + * @brief Header file of CEC HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_cec.h" 2 + + + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup CEC + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/** @defgroup CEC_Exported_Types CEC Exported Types + * @{ + */ + +/** + * @brief CEC Init Structure definition + */ +typedef struct +{ + uint32_t SignalFreeTime; /*!< Set SFT field, specifies the Signal Free Time. + It can be one of CEC_Signal_Free_Time + and belongs to the set {0,...,7} where + 0x0 is the default configuration + else means 0.5 + (SignalFreeTime - 1) nominal data bit periods */ + + uint32_t Tolerance; /*!< Set RXTOL bit, specifies the tolerance accepted on the received waveforms, + it can be a value of CEC_Tolerance : + it is either CEC_STANDARD_TOLERANCE or CEC_EXTENDED_TOLERANCE */ + + uint32_t BRERxStop; /*!< Set BRESTP bit CEC_BRERxStop : specifies whether or not a Bit Rising + Error stops the reception. + CEC_NO_RX_STOP_ON_BRE: reception is not stopped. + CEC_RX_STOP_ON_BRE: reception is stopped. */ + + uint32_t BREErrorBitGen; /*!< Set BREGEN bit CEC_BREErrorBitGen : specifies whether or not an + Error-Bit is generated on the + CEC line upon Bit Rising Error detection. + CEC_BRE_ERRORBIT_NO_GENERATION: no error-bit generation. + CEC_BRE_ERRORBIT_GENERATION: error-bit generation if BRESTP is set. */ + + uint32_t LBPEErrorBitGen; /*!< Set LBPEGEN bit CEC_LBPEErrorBitGen : specifies whether or not an + Error-Bit is generated on the + CEC line upon Long Bit Period Error detection. + CEC_LBPE_ERRORBIT_NO_GENERATION: no error-bit generation. + CEC_LBPE_ERRORBIT_GENERATION: error-bit generation. */ + + uint32_t BroadcastMsgNoErrorBitGen; /*!< Set BRDNOGEN bit CEC_BroadCastMsgErrorBitGen : allows to avoid an + Error-Bit generation on the CEC line + upon an error detected on a broadcast message. + + It supersedes BREGEN and LBPEGEN bits for a broadcast message error + handling. It can take two values: + + 1) CEC_BROADCASTERROR_ERRORBIT_GENERATION. + a) BRE detection: error-bit generation on the CEC line if + BRESTP=CEC_RX_STOP_ON_BRE and BREGEN=CEC_BRE_ERRORBIT_NO_GENERATION. + b) LBPE detection: error-bit generation on the CEC line + if LBPGEN=CEC_LBPE_ERRORBIT_NO_GENERATION. + + 2) CEC_BROADCASTERROR_NO_ERRORBIT_GENERATION. + no error-bit generation in case neither a) nor b) are satisfied. + Additionally, there is no error-bit generation in case of Short Bit + Period Error detection in a broadcast message while LSTN bit is set. */ + + uint32_t SignalFreeTimeOption; /*!< Set SFTOP bit CEC_SFT_Option : specifies when SFT timer starts. + CEC_SFT_START_ON_TXSOM SFT: timer starts when TXSOM is set by software. + CEC_SFT_START_ON_TX_RX_END: SFT timer starts automatically at the end + of message transmission/reception. */ + + uint32_t ListenMode; /*!< Set LSTN bit CEC_Listening_Mode : specifies device listening mode. + It can take two values: + + CEC_REDUCED_LISTENING_MODE: CEC peripheral receives only message addressed + to its own address (OAR). Messages addressed to different destination + are ignored. + Broadcast messages are always received. + + CEC_FULL_LISTENING_MODE: CEC peripheral receives messages addressed to its + own address (OAR) with positive acknowledge. Messages addressed to + different destination are received, but without interfering with the + CEC bus: no acknowledge sent. */ + + uint16_t OwnAddress; /*!< Own addresses configuration + This parameter can be a value of CEC_OWN_ADDRESS */ + + uint8_t *RxBuffer; + + +} CEC_InitTypeDef; + +/** + * @brief HAL CEC State definition + * @note HAL CEC State value is a combination of 2 different substates: gState and RxState + (see CEC_State_Definition). + * - gState contains CEC state information related to global Handle management + * and also information related to Tx operations. + * gState value coding follow below described bitmap : + * b7 (not used) + * x : Should be set to 0 + * b6 Error information + * 0 : No Error + * 1 : Error + * b5 CEC peripheral initialization status + * 0 : Reset (peripheral not initialized) + * 1 : Init done (peripheral initialized. HAL CEC Init function already called) + * b4-b3 (not used) + * xx : Should be set to 00 + * b2 Intrinsic process state + * 0 : Ready + * 1 : Busy (peripheral busy with some configuration or internal operations) + * b1 (not used) + * x : Should be set to 0 + * b0 Tx state + * 0 : Ready (no Tx operation ongoing) + * 1 : Busy (Tx operation ongoing) + * - RxState contains information related to Rx operations. + * RxState value coding follow below described bitmap : + * b7-b6 (not used) + * xx : Should be set to 00 + * b5 CEC peripheral initialization status + * 0 : Reset (peripheral not initialized) + * 1 : Init done (peripheral initialized) + * b4-b2 (not used) + * xxx : Should be set to 000 + * b1 Rx state + * 0 : Ready (no Rx operation ongoing) + * 1 : Busy (Rx operation ongoing) + * b0 (not used) + * x : Should be set to 0. + */ +typedef uint32_t HAL_CEC_StateTypeDef; + +/** + * @brief CEC handle Structure definition + */ + + + +typedef struct + +{ + CEC_TypeDef *Instance; + + CEC_InitTypeDef Init; + + const uint8_t *pTxBuffPtr; + + uint16_t TxXferCount; + + uint16_t RxXferSize; + + HAL_LockTypeDef Lock; + + HAL_CEC_StateTypeDef gState; /*!< CEC state information related to global Handle management + and also related to Tx operations. + This parameter can be a value of HAL_CEC_StateTypeDef */ + + HAL_CEC_StateTypeDef RxState; /*!< CEC state information related to Rx operations. + This parameter can be a value of HAL_CEC_StateTypeDef */ + + uint32_t ErrorCode; /*!< For errors handling purposes, copy of ISR register + in case error is reported */ +# 205 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_cec.h" +} CEC_HandleTypeDef; +# 228 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_cec.h" +/** + * @} + */ + +/* Exported constants --------------------------------------------------------*/ +/** @defgroup CEC_Exported_Constants CEC Exported Constants + * @{ + */ +/** @defgroup CEC_State_Definition CEC State Code Definition + * @{ + */ +# 252 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_cec.h" +/** + * @} + */ +/** @defgroup CEC_Error_Code CEC Error Code + * @{ + */ +# 271 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_cec.h" +/** + * @} + */ + +/** @defgroup CEC_Signal_Free_Time CEC Signal Free Time setting parameter + * @{ + */ +# 286 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_cec.h" +/** + * @} + */ + +/** @defgroup CEC_Tolerance CEC Receiver Tolerance + * @{ + */ + + +/** + * @} + */ + +/** @defgroup CEC_BRERxStop CEC Reception Stop on Error + * @{ + */ + + +/** + * @} + */ + +/** @defgroup CEC_BREErrorBitGen CEC Error Bit Generation if Bit Rise Error reported + * @{ + */ + + +/** + * @} + */ + +/** @defgroup CEC_LBPEErrorBitGen CEC Error Bit Generation if Long Bit Period Error reported + * @{ + */ + + +/** + * @} + */ + +/** @defgroup CEC_BroadCastMsgErrorBitGen CEC Error Bit Generation on Broadcast message + * @{ + */ + + +/** + * @} + */ + +/** @defgroup CEC_SFT_Option CEC Signal Free Time start option + * @{ + */ + + +/** + * @} + */ + +/** @defgroup CEC_Listening_Mode CEC Listening mode option + * @{ + */ + + +/** + * @} + */ + +/** @defgroup CEC_OAR_Position CEC Device Own Address position in CEC CFGR register + * @{ + */ + +/** + * @} + */ + +/** @defgroup CEC_Initiator_Position CEC Initiator logical address position in message header + * @{ + */ + +/** + * @} + */ + +/** @defgroup CEC_OWN_ADDRESS CEC Own Address + * @{ + */ +# 388 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_cec.h" +/** + * @} + */ + +/** @defgroup CEC_Interrupts_Definitions CEC Interrupts definition + * @{ + */ +# 408 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_cec.h" +/** + * @} + */ + +/** @defgroup CEC_Flags_Definitions CEC Flags definition + * @{ + */ +# 428 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_cec.h" +/** + * @} + */ + +/** @defgroup CEC_ALL_ERROR CEC all RX or TX errors flags + * @{ + */ + + +/** + * @} + */ + +/** @defgroup CEC_IER_ALL_RX CEC all RX errors interrupts enabling flag + * @{ + */ + +/** + * @} + */ + +/** @defgroup CEC_IER_ALL_TX CEC all TX errors interrupts enabling flag + * @{ + */ + +/** + * @} + */ + +/** + * @} + */ + +/* Exported macros -----------------------------------------------------------*/ +/** @defgroup CEC_Exported_Macros CEC Exported Macros + * @{ + */ + +/** @brief Reset CEC handle gstate & RxState + * @param __HANDLE__ CEC handle. + * @retval None + */ +# 483 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_cec.h" +/** @brief Checks whether or not the specified CEC interrupt flag is set. + * @param __HANDLE__ specifies the CEC Handle. + * @param __FLAG__ specifies the flag to check. + * @arg CEC_FLAG_TXACKE: Tx Missing acknowledge Error + * @arg CEC_FLAG_TXERR: Tx Error. + * @arg CEC_FLAG_TXUDR: Tx-Buffer Underrun. + * @arg CEC_FLAG_TXEND: End of transmission (successful transmission of the last byte). + * @arg CEC_FLAG_TXBR: Tx-Byte Request. + * @arg CEC_FLAG_ARBLST: Arbitration Lost + * @arg CEC_FLAG_RXACKE: Rx-Missing Acknowledge + * @arg CEC_FLAG_LBPE: Rx Long period Error + * @arg CEC_FLAG_SBPE: Rx Short period Error + * @arg CEC_FLAG_BRE: Rx Bit Rising Error + * @arg CEC_FLAG_RXOVR: Rx Overrun. + * @arg CEC_FLAG_RXEND: End Of Reception. + * @arg CEC_FLAG_RXBR: Rx-Byte Received. + * @retval ITStatus + */ + + +/** @brief Clears the interrupt or status flag when raised (write at 1) + * @param __HANDLE__ specifies the CEC Handle. + * @param __FLAG__ specifies the interrupt/status flag to clear. + * This parameter can be one of the following values: + * @arg CEC_FLAG_TXACKE: Tx Missing acknowledge Error + * @arg CEC_FLAG_TXERR: Tx Error. + * @arg CEC_FLAG_TXUDR: Tx-Buffer Underrun. + * @arg CEC_FLAG_TXEND: End of transmission (successful transmission of the last byte). + * @arg CEC_FLAG_TXBR: Tx-Byte Request. + * @arg CEC_FLAG_ARBLST: Arbitration Lost + * @arg CEC_FLAG_RXACKE: Rx-Missing Acknowledge + * @arg CEC_FLAG_LBPE: Rx Long period Error + * @arg CEC_FLAG_SBPE: Rx Short period Error + * @arg CEC_FLAG_BRE: Rx Bit Rising Error + * @arg CEC_FLAG_RXOVR: Rx Overrun. + * @arg CEC_FLAG_RXEND: End Of Reception. + * @arg CEC_FLAG_RXBR: Rx-Byte Received. + * @retval none + */ + + +/** @brief Enables the specified CEC interrupt. + * @param __HANDLE__ specifies the CEC Handle. + * @param __INTERRUPT__ specifies the CEC interrupt to enable. + * This parameter can be one of the following values: + * @arg CEC_IT_TXACKE: Tx Missing acknowledge Error IT Enable + * @arg CEC_IT_TXERR: Tx Error IT Enable + * @arg CEC_IT_TXUDR: Tx-Buffer Underrun IT Enable + * @arg CEC_IT_TXEND: End of transmission IT Enable + * @arg CEC_IT_TXBR: Tx-Byte Request IT Enable + * @arg CEC_IT_ARBLST: Arbitration Lost IT Enable + * @arg CEC_IT_RXACKE: Rx-Missing Acknowledge IT Enable + * @arg CEC_IT_LBPE: Rx Long period Error IT Enable + * @arg CEC_IT_SBPE: Rx Short period Error IT Enable + * @arg CEC_IT_BRE: Rx Bit Rising Error IT Enable + * @arg CEC_IT_RXOVR: Rx Overrun IT Enable + * @arg CEC_IT_RXEND: End Of Reception IT Enable + * @arg CEC_IT_RXBR: Rx-Byte Received IT Enable + * @retval none + */ + + +/** @brief Disables the specified CEC interrupt. + * @param __HANDLE__ specifies the CEC Handle. + * @param __INTERRUPT__ specifies the CEC interrupt to disable. + * This parameter can be one of the following values: + * @arg CEC_IT_TXACKE: Tx Missing acknowledge Error IT Enable + * @arg CEC_IT_TXERR: Tx Error IT Enable + * @arg CEC_IT_TXUDR: Tx-Buffer Underrun IT Enable + * @arg CEC_IT_TXEND: End of transmission IT Enable + * @arg CEC_IT_TXBR: Tx-Byte Request IT Enable + * @arg CEC_IT_ARBLST: Arbitration Lost IT Enable + * @arg CEC_IT_RXACKE: Rx-Missing Acknowledge IT Enable + * @arg CEC_IT_LBPE: Rx Long period Error IT Enable + * @arg CEC_IT_SBPE: Rx Short period Error IT Enable + * @arg CEC_IT_BRE: Rx Bit Rising Error IT Enable + * @arg CEC_IT_RXOVR: Rx Overrun IT Enable + * @arg CEC_IT_RXEND: End Of Reception IT Enable + * @arg CEC_IT_RXBR: Rx-Byte Received IT Enable + * @retval none + */ + + +/** @brief Checks whether or not the specified CEC interrupt is enabled. + * @param __HANDLE__ specifies the CEC Handle. + * @param __INTERRUPT__ specifies the CEC interrupt to check. + * This parameter can be one of the following values: + * @arg CEC_IT_TXACKE: Tx Missing acknowledge Error IT Enable + * @arg CEC_IT_TXERR: Tx Error IT Enable + * @arg CEC_IT_TXUDR: Tx-Buffer Underrun IT Enable + * @arg CEC_IT_TXEND: End of transmission IT Enable + * @arg CEC_IT_TXBR: Tx-Byte Request IT Enable + * @arg CEC_IT_ARBLST: Arbitration Lost IT Enable + * @arg CEC_IT_RXACKE: Rx-Missing Acknowledge IT Enable + * @arg CEC_IT_LBPE: Rx Long period Error IT Enable + * @arg CEC_IT_SBPE: Rx Short period Error IT Enable + * @arg CEC_IT_BRE: Rx Bit Rising Error IT Enable + * @arg CEC_IT_RXOVR: Rx Overrun IT Enable + * @arg CEC_IT_RXEND: End Of Reception IT Enable + * @arg CEC_IT_RXBR: Rx-Byte Received IT Enable + * @retval FlagStatus + */ + + +/** @brief Enables the CEC device + * @param __HANDLE__ specifies the CEC Handle. + * @retval none + */ + + +/** @brief Disables the CEC device + * @param __HANDLE__ specifies the CEC Handle. + * @retval none + */ + + +/** @brief Set Transmission Start flag + * @param __HANDLE__ specifies the CEC Handle. + * @retval none + */ + + +/** @brief Set Transmission End flag + * @param __HANDLE__ specifies the CEC Handle. + * @retval none + * If the CEC message consists of only one byte, TXEOM must be set before of TXSOM. + */ + + +/** @brief Get Transmission Start flag + * @param __HANDLE__ specifies the CEC Handle. + * @retval FlagStatus + */ + + +/** @brief Get Transmission End flag + * @param __HANDLE__ specifies the CEC Handle. + * @retval FlagStatus + */ + + +/** @brief Clear OAR register + * @param __HANDLE__ specifies the CEC Handle. + * @retval none + */ + + +/** @brief Set OAR register (without resetting previously set address in case of multi-address mode) + * To reset OAR, __HAL_CEC_CLEAR_OAR() needs to be called beforehand + * @param __HANDLE__ specifies the CEC Handle. + * @param __ADDRESS__ Own Address value (CEC logical address is identified by bit position) + * @retval none + */ + + + +/** + * @} + */ + +/* Exported functions --------------------------------------------------------*/ +/** @addtogroup CEC_Exported_Functions + * @{ + */ + +/** @addtogroup CEC_Exported_Functions_Group1 + * @{ + */ +/* Initialization and de-initialization functions ****************************/ +HAL_StatusTypeDef HAL_CEC_Init(CEC_HandleTypeDef *hcec); +HAL_StatusTypeDef HAL_CEC_DeInit(CEC_HandleTypeDef *hcec); +HAL_StatusTypeDef HAL_CEC_SetDeviceAddress(CEC_HandleTypeDef *hcec, uint16_t CEC_OwnAddress); +void HAL_CEC_MspInit(CEC_HandleTypeDef *hcec); +void HAL_CEC_MspDeInit(CEC_HandleTypeDef *hcec); +# 666 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_cec.h" +/** + * @} + */ + +/** @addtogroup CEC_Exported_Functions_Group2 + * @{ + */ +/* I/O operation functions ***************************************************/ +HAL_StatusTypeDef HAL_CEC_Transmit_IT(CEC_HandleTypeDef *hcec, uint8_t InitiatorAddress, uint8_t DestinationAddress, + const uint8_t *pData, uint32_t Size); +uint32_t HAL_CEC_GetLastReceivedFrameSize(const CEC_HandleTypeDef *hcec); +void HAL_CEC_ChangeRxBuffer(CEC_HandleTypeDef *hcec, uint8_t *Rxbuffer); +void HAL_CEC_IRQHandler(CEC_HandleTypeDef *hcec); +void HAL_CEC_TxCpltCallback(CEC_HandleTypeDef *hcec); +void HAL_CEC_RxCpltCallback(CEC_HandleTypeDef *hcec, uint32_t RxFrameSize); +void HAL_CEC_ErrorCallback(CEC_HandleTypeDef *hcec); +/** + * @} + */ + +/** @addtogroup CEC_Exported_Functions_Group3 + * @{ + */ +/* Peripheral State functions ************************************************/ +HAL_CEC_StateTypeDef HAL_CEC_GetState(const CEC_HandleTypeDef *hcec); +uint32_t HAL_CEC_GetError(const CEC_HandleTypeDef *hcec); +/** + * @} + */ + +/** + * @} + */ + +/* Private types -------------------------------------------------------------*/ +/** @defgroup CEC_Private_Types CEC Private Types + * @{ + */ + +/** + * @} + */ + +/* Private variables ---------------------------------------------------------*/ +/** @defgroup CEC_Private_Variables CEC Private Variables + * @{ + */ + +/** + * @} + */ + +/* Private constants ---------------------------------------------------------*/ +/** @defgroup CEC_Private_Constants CEC Private Constants + * @{ + */ + +/** + * @} + */ + +/* Private macros ------------------------------------------------------------*/ +/** @defgroup CEC_Private_Macros CEC Private Macros + * @{ + */ +# 756 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_cec.h" +/** @brief Check CEC message size. + * The message size is the payload size: without counting the header, + * it varies from 0 byte (ping operation, one header only, no payload) to + * 15 bytes (1 opcode and up to 14 operands following the header). + * @param __SIZE__ CEC message size. + * @retval Test result (TRUE or FALSE). + */ + + +/** @brief Check CEC device Own Address Register (OAR) setting. + * OAR address is written in a 15-bit field within CEC_CFGR register. + * @param __ADDRESS__ CEC own address. + * @retval Test result (TRUE or FALSE). + */ + + +/** @brief Check CEC initiator or destination logical address setting. + * Initiator and destination addresses are coded over 4 bits. + * @param __ADDRESS__ CEC initiator or logical address. + * @retval Test result (TRUE or FALSE). + */ + +/** + * @} + */ +/* Private functions ---------------------------------------------------------*/ +/** @defgroup CEC_Private_Functions CEC Private Functions + * @{ + */ + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + + + + +} +# 315 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_comp.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_comp.h + * @author MCD Application Team + * @brief Header file of COMP HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + + extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_comp.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup COMP + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/** @defgroup COMP_Exported_Types COMP Exported Types + * @{ + */ + +/** + * @brief COMP Init structure definition + */ +typedef struct +{ + + uint32_t WindowMode; /*!< Set window mode of a pair of comparators instances + (2 consecutive instances odd and even COMP and COMP). + Note: HAL COMP driver allows to set window mode from any COMP instance of the pair of COMP instances composing window mode. + This parameter can be a value of @ref COMP_WindowMode */ + + uint32_t Mode; /*!< Set comparator operating mode to adjust power and speed. + Note: For the characteritics of comparator power modes + (propagation delay and power consumption), refer to device datasheet. + This parameter can be a value of @ref COMP_PowerMode */ + + uint32_t NonInvertingInput; /*!< Set comparator input plus (non-inverting input). + This parameter can be a value of @ref COMP_InputPlus */ + + uint32_t InvertingInput; /*!< Set comparator input minus (inverting input). + This parameter can be a value of @ref COMP_InputMinus */ + + uint32_t Hysteresis; /*!< Set comparator hysteresis mode of the input minus. + This parameter can be a value of @ref COMP_Hysteresis */ + + uint32_t OutputPol; /*!< Set comparator output polarity. + This parameter can be a value of @ref COMP_OutputPolarity */ + + uint32_t BlankingSrce; /*!< Set comparator blanking source. + This parameter can be a value of @ref COMP_BlankingSrce */ + + uint32_t TriggerMode; /*!< Set the comparator output triggering External Interrupt Line (EXTI). + This parameter can be a value of @ref COMP_EXTI_TriggerMode */ + +}COMP_InitTypeDef; + +/** + * @brief HAL COMP state machine: HAL COMP states definition + */ + +typedef enum +{ + HAL_COMP_STATE_RESET = 0x00, + HAL_COMP_STATE_RESET_LOCKED = (HAL_COMP_STATE_RESET | ((uint32_t)0x10)), + HAL_COMP_STATE_READY = 0x01, + HAL_COMP_STATE_READY_LOCKED = (HAL_COMP_STATE_READY | ((uint32_t)0x10)), + HAL_COMP_STATE_BUSY = 0x02, + HAL_COMP_STATE_BUSY_LOCKED = (HAL_COMP_STATE_BUSY | ((uint32_t)0x10)) +}HAL_COMP_StateTypeDef; + +/** + * @brief COMP Handle Structure definition + */ + + + +typedef struct + +{ + COMP_TypeDef *Instance; + COMP_InitTypeDef Init; + HAL_LockTypeDef Lock; + volatile HAL_COMP_StateTypeDef State; + volatile uint32_t ErrorCode; + + + + + + +} COMP_HandleTypeDef; +# 132 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_comp.h" +/** + * @} + */ + +/* Exported constants --------------------------------------------------------*/ +/** @defgroup COMP_Exported_Constants COMP Exported Constants + * @{ + */ + +/** @defgroup COMP_Error_Code COMP Error Code + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup COMP_WindowMode COMP Window Mode + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup COMP_PowerMode COMP power mode + * @{ + */ +/* Note: For the characteritics of comparator power modes */ +/* (propagation delay and power consumption), */ +/* refer to device datasheet. */ + + + +/** + * @} + */ + +/** @defgroup COMP_InputPlus COMP input plus (non-inverting input) + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup COMP_InputMinus COMP input minus (inverting input) + * @{ + */ +# 202 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_comp.h" +/** + * @} + */ + +/** @defgroup COMP_Hysteresis COMP hysteresis + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup COMP_OutputPolarity COMP Output Polarity + * @{ + */ + + +/** + * @} + */ + + +/** @defgroup COMP_BlankingSrce COMP Blanking Source + * @{ + */ +/* Any blanking source can be selected for all comparators */ + + + + + + + +/** + * @} + */ + + + + +/** @defgroup COMP_OutputLevel COMP Output Level + * @{ + */ + +/* Note: Comparator output level values are fixed to "0" and "1", */ +/* corresponding COMP register bit is managed by HAL function to match */ +/* with these values (independently of bit position in register). */ + +/* When output polarity is not inverted, comparator output is low when + the input plus is at a lower voltage than the input minus */ + +/* When output polarity is not inverted, comparator output is high when + the input plus is at a higher voltage than the input minus */ + + +/** + * @} + */ + +/** @defgroup COMP_EXTI_TriggerMode COMP output to EXTI + * @{ + */ +# 275 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_comp.h" +/** + * @} + */ + +/** @defgroup COMP_Flag COMP Flag + * @{ + */ + + + +/** + * @} + */ +/** @defgroup COMP_IT_CLEAR_Flags COMP Interruption Clear Flags + * @{ + */ + + +/** + * @} + */ +/** @defgroup COMP_Interrupts_Definitions COMP Interrupts Definitions + * @{ + */ + + +/** + * @} + */ + + +/** + * @} + */ + +/* Exported macros -----------------------------------------------------------*/ +/** @defgroup COMP_Exported_Macros COMP Exported Macros + * @{ + */ +/** @defgroup COMP_Handle_Management COMP Handle Management + * @{ + */ + +/** @brief Reset COMP handle state. + * @param __HANDLE__ COMP handle + * @retval None + */ +# 332 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_comp.h" +/** + * @brief Clear COMP error code (set it to no error code "HAL_COMP_ERROR_NONE"). + * @param __HANDLE__ COMP handle + * @retval None + */ + + +/** + * @brief Enable the specified comparator. + * @param __HANDLE__ COMP handle + * @retval None + */ + + +/** + * @brief Disable the specified comparator. + * @param __HANDLE__ COMP handle + * @retval None + */ + + +/** + * @brief Lock the specified comparator configuration. + * @note Using this macro induce HAL COMP handle state machine being no + * more in line with COMP instance state. + * To keep HAL COMP handle state machine updated, it is recommended + * to use function "HAL_COMP_Lock')". + * @param __HANDLE__ COMP handle + * @retval None + */ + + +/** + * @brief Check whether the specified comparator is locked. + * @param __HANDLE__ COMP handle + * @retval Value 0 if COMP instance is not locked, value 1 if COMP instance is locked + */ + + +/** + * @} + */ + +/** @defgroup COMP_Exti_Management COMP external interrupt line management + * @{ + */ + +/** + * @brief Enable the COMP1 EXTI line rising edge trigger. + * @retval None + */ + + + +/** + * @brief Disable the COMP1 EXTI line rising edge trigger. + * @retval None + */ + + +/** + * @brief Enable the COMP1 EXTI line falling edge trigger. + * @retval None + */ + + +/** + * @brief Disable the COMP1 EXTI line falling edge trigger. + * @retval None + */ + + + +/** + * @brief Enable the COMP1 EXTI line rising & falling edge trigger. + * @retval None + */ + + + + + + +/** + * @brief Disable the COMP1 EXTI line rising & falling edge trigger. + * @retval None + */ + + + + + + +/** + * @brief Enable the COMP1 EXTI line in interrupt mode. + * @retval None + */ + + +/** + * @brief Disable the COMP1 EXTI line in interrupt mode. + * @retval None + */ + + +/** + * @brief Enable the COMP1 EXTI Line in event mode. + * @retval None + */ + + +/** + * @brief Disable the COMP1 EXTI Line in event mode. + * @retval None + */ + + +/** + * @brief Check whether the COMP1 EXTI line flag is set or not. + * @retval RESET or SET + */ + +/** + * @brief Clear the COMP1 EXTI flag. + * @retval None + */ + + +/** + * @brief Generate a software interrupt on the COMP1 EXTI line. + * @retval None + */ + + +/** + * @brief Enable the COMP1 D3 EXTI Line in event mode. + * @retval None + */ + + +/** + * @brief Disable the COMP1 D3 EXTI Line in event mode. + * @retval None + */ + + + +/** + * @brief Enable the COMP1 D2 EXTI line in interrupt mode. + * @retval None + */ + + +/** + * @brief Disable the COMP1 D2 EXTI line in interrupt mode. + * @retval None + */ + + +/** + * @brief Enable the COMP1 D2 EXTI Line in event mode. + * @retval None + */ + + +/** + * @brief Disable the COMP1 D2 EXTI Line in event mode. + * @retval None + */ + + +/** + * @brief Check whether the COMP1 D2 EXTI line flag is set or not. + * @retval RESET or SET + */ + + +/** + * @brief Clear the COMP1 D2 EXTI flag. + * @retval None + */ + + + + +/** + * @brief Enable the COMP2 EXTI line rising edge trigger. + * @retval None + */ + + +/** + * @brief Disable the COMP2 EXTI line rising edge trigger. + * @retval None + */ + + +/** + * @brief Enable the COMP2 EXTI line falling edge trigger. + * @retval None + */ + + +/** + * @brief Disable the COMP2 EXTI line falling edge trigger. + * @retval None + */ + + +/** + * @brief Enable the COMP2 EXTI line rising & falling edge trigger. + * @retval None + */ + + + + + +/** + * @brief Disable the COMP2 EXTI line rising & falling edge trigger. + * @retval None + */ + + + + +/** + * @brief Enable the COMP2 EXTI line. + * @retval None + */ + + +/** + * @brief Disable the COMP2 EXTI line. + * @retval None + */ + + +/** + * @brief Enable the COMP2 EXTI Line in event mode. + * @retval None + */ + + +/** + * @brief Disable the COMP2 EXTI Line in event mode. + * @retval None + */ + + +/** + * @brief Check whether the COMP2 EXTI line flag is set or not. + * @retval RESET or SET + */ + + +/** + * @brief Clear the the COMP2 EXTI flag. + * @retval None + */ + + +/** + * @brief Enable the COMP2 D3 EXTI Line in event mode. + * @retval None + */ + + +/** + * @brief Disable the COMP2 D3 EXTI Line in event mode. + * @retval None + */ + + +/** + * @brief Generate a software interrupt on the COMP2 EXTI line. + * @retval None + */ + + + +/** + * @brief Enable the COMP2 D2 EXTI line + * @retval None + */ + + + +/** + * @brief Disable the COMP2 D2 EXTI line. + * @retval None + */ + + + + +/** + * @brief Enable the COMP2 D2 EXTI Line in event mode. + * @retval None + */ + + + + +/** + * @brief Disable the COMP2 D2 EXTI Line in event mode. + * @retval None + */ + + + +/** + * @brief Check whether the COMP2 D2 EXTI line flag is set or not. + * @retval RESET or SET + */ + + +/** + * @brief Clear the the COMP2 D2 EXTI flag. + * @retval None + */ + + + +/** @brief Checks if the specified COMP interrupt source is enabled or disabled. + * @param __HANDLE__: specifies the COMP Handle. + * This parameter can be COMP1 where x: 1 or 2 to select the COMP peripheral. + * @param __INTERRUPT__: specifies the COMP interrupt source to check. + * This parameter can be one of the following values: + * @arg COMP_IT_EN: Comparator interrupt enable + * + * @retval The new state of __IT__ (TRUE or FALSE) + */ + + +/** @brief Checks whether the specified COMP flag is set or not. + * @param __FLAG__: specifies the flag to check. + * This parameter can be one of the following values: + * @arg COMP_FLAG_C1I: Comparator 1 Interrupt Flag + * @arg COMP_FLAG_C2I: Comparator 2 Interrupt Flag + * @retval The new state of __FLAG__ (TRUE or FALSE) + */ + + +/** @brief Clears the specified COMP pending flag. + * @param __FLAG__: specifies the flag to check. + * This parameter can be any combination of the following values: + * @arg COMP_CLEAR_C1IF : Clear Comparator 1 Interrupt Flag + * @arg COMP_CLEAR_C2IF : Clear Comparator 2 Interrupt Flag + * @retval None + */ + + +/** @brief Clear the COMP C1I flag. + * @retval None + */ + + +/** @brief Clear the COMP C2I flag. + * @retval None + */ + + +/** @brief Enable the specified COMP interrupt. + * @param __HANDLE__: specifies the COMP Handle. + * @param __INTERRUPT__: specifies the COMP interrupt source to enable. + * This parameter can be one of the following values: + * @arg COMP_CFGRx_ITEN : Comparator interrupt + * @retval None + */ + + +/** @brief Disable the specified COMP interrupt. + * @param __HANDLE__: specifies the COMP Handle. + * @param __INTERRUPT__: specifies the COMP interrupt source to enable. + * This parameter can be one of the following values: + * @arg COMP_CFGRx_ITEN : Comparator interrupt + * @retval None + */ + + +/** + * @} + */ +/** @brief Enable the specified bit in the Option register. + * @param __AF__: specifies the Alternate Function source selection . + * This parameter can be one of the following values: + * @arg COMP_OR_AFOPA6 : Alternate Function PA6 source selection + * @arg COMP_OR_AFOPA8 : Alternate Function PA8 source selection + * @arg COMP_OR_AFOPB12 : Alternate Function PB12 source selection + * @arg COMP_OR_AFOPE6 : Alternate Function PE6 source selection + * @arg COMP_OR_AFOPE15 : Alternate Function PE15 source selection + * @arg COMP_OR_AFOPG2 : Alternate Function PG2 source selection + * @arg COMP_OR_AFOPG3 : Alternate Function PG3 source selection + * @arg COMP_OR_AFOPG4 : Alternate Function PG4 source selection + * @arg COMP_OR_AFOPI1 : Alternate Function PI1 source selection + * @arg COMP_OR_AFOPI4 : Alternate Function PI4 source selection + * @arg COMP_OR_AFOPK2 : Alternate Function PK2 source selection + * @retval None + */ + + +/** @brief Disable the specified bit in the Option register. + * @param __AF__: specifies the Alternate Function source selection . + * This parameter can be one of the following values: + * @arg COMP_OR_AFOPA6 : Alternate Function PA6 source selection + * @arg COMP_OR_AFOPA8 : Alternate Function PA8 source selection + * @arg COMP_OR_AFOPB12 : Alternate Function PB12 source selection + * @arg COMP_OR_AFOPE6 : Alternate Function PE6 source selection + * @arg COMP_OR_AFOPE15 : Alternate Function PE15 source selection + * @arg COMP_OR_AFOPG2 : Alternate Function PG2 source selection + * @arg COMP_OR_AFOPG3 : Alternate Function PG3 source selection + * @arg COMP_OR_AFOPG4 : Alternate Function PG4 source selection + * @arg COMP_OR_AFOPI1 : Alternate Function PI1 source selection + * @arg COMP_OR_AFOPI4 : Alternate Function PI4 source selection + * @arg COMP_OR_AFOPK2 : Alternate Function PK2 source selection + * @retval None + */ + +/** + * @} + */ + +/* Private types -------------------------------------------------------------*/ +/* Private constants ---------------------------------------------------------*/ +/** @defgroup COMP_Private_Constants COMP Private Constants + * @{ + */ +/** @defgroup COMP_ExtiLine COMP EXTI Lines + * @{ + */ + + +/** + * @} + */ +/** @defgroup COMP_ExtiLine COMP EXTI Lines + * @{ + */ + + + + +/** + * @} + */ +/** + * @} + */ + +/* Private macros ------------------------------------------------------------*/ +/** @defgroup COMP_Private_Macros COMP Private Macros + * @{ + */ +/** @defgroup COMP_GET_EXTI_LINE COMP Private macros to get EXTI line associated with Comparators + * @{ + */ +/** + * @brief Get the specified EXTI line for a comparator instance. + * @param __INSTANCE__: specifies the COMP instance. + * @retval value of @ref COMP_ExtiLine + */ + + +/** + * @} + */ +/** @defgroup COMP_IS_COMP_Definitions COMP private macros to check input parameters + * @{ + */ +# 869 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_comp.h" +/** + * @} + */ + +/** + * @} + */ + +/* Exported functions --------------------------------------------------------*/ +/** @addtogroup COMP_Exported_Functions + * @{ + */ + +/** @addtogroup COMP_Exported_Functions_Group1 + * @{ + */ +/* Initialization and de-initialization functions **********************************/ +HAL_StatusTypeDef HAL_COMP_Init(COMP_HandleTypeDef *hcomp); +HAL_StatusTypeDef HAL_COMP_DeInit (COMP_HandleTypeDef *hcomp); +void HAL_COMP_MspInit(COMP_HandleTypeDef *hcomp); +void HAL_COMP_MspDeInit(COMP_HandleTypeDef *hcomp); + + + + + +/** + * @} + */ + +/* IO operation functions *****************************************************/ +/** @addtogroup COMP_Exported_Functions_Group2 + * @{ + */ +HAL_StatusTypeDef HAL_COMP_Start(COMP_HandleTypeDef *hcomp); +HAL_StatusTypeDef HAL_COMP_Stop(COMP_HandleTypeDef *hcomp); +HAL_StatusTypeDef HAL_COMP_Start_IT(COMP_HandleTypeDef *hcomp); +HAL_StatusTypeDef HAL_COMP_Stop_IT(COMP_HandleTypeDef *hcomp); +void HAL_COMP_IRQHandler(COMP_HandleTypeDef *hcomp); + +/** + * @} + */ + +/* Peripheral Control functions ************************************************/ +/** @addtogroup COMP_Exported_Functions_Group3 + * @{ + */ +HAL_StatusTypeDef HAL_COMP_Lock(COMP_HandleTypeDef *hcomp); +uint32_t HAL_COMP_GetOutputLevel(const COMP_HandleTypeDef *hcomp); +/* Callback in Interrupt mode */ +void HAL_COMP_TriggerCallback(COMP_HandleTypeDef *hcomp); +/** + * @} + */ + +/* Peripheral State functions **************************************************/ +/** @addtogroup COMP_Exported_Functions_Group4 + * @{ + */ +HAL_COMP_StateTypeDef HAL_COMP_GetState(const COMP_HandleTypeDef *hcomp); +uint32_t HAL_COMP_GetError(const COMP_HandleTypeDef *hcomp); +/** + * @} + */ + +/** + * @} + */ + + +/** + * @} + */ + +/** + * @} + */ + +} +# 319 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_cordic.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_cordic.h + * @author MCD Application Team + * @brief This file contains all the functions prototypes for the CORDIC firmware + * library. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 30 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_cordic.h" 2 +# 617 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_cordic.h" +} +# 323 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_crc.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_crc.h + * @author MCD Application Team + * @brief Header file of CRC HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_crc.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup CRC + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/** @defgroup CRC_Exported_Types CRC Exported Types + * @{ + */ + +/** + * @brief CRC HAL State Structure definition + */ +typedef enum +{ + HAL_CRC_STATE_RESET = 0x00U, + HAL_CRC_STATE_READY = 0x01U, + HAL_CRC_STATE_BUSY = 0x02U, + HAL_CRC_STATE_TIMEOUT = 0x03U, + HAL_CRC_STATE_ERROR = 0x04U +} HAL_CRC_StateTypeDef; + +/** + * @brief CRC Init Structure definition + */ +typedef struct +{ + uint8_t DefaultPolynomialUse; /*!< This parameter is a value of @ref CRC_Default_Polynomial and indicates if default polynomial is used. + If set to DEFAULT_POLYNOMIAL_ENABLE, resort to default + X^32 + X^26 + X^23 + X^22 + X^16 + X^12 + X^11 + X^10 +X^8 + X^7 + X^5 + + X^4 + X^2+ X +1. + In that case, there is no need to set GeneratingPolynomial field. + If otherwise set to DEFAULT_POLYNOMIAL_DISABLE, GeneratingPolynomial and + CRCLength fields must be set. */ + + uint8_t DefaultInitValueUse; /*!< This parameter is a value of @ref CRC_Default_InitValue_Use and indicates if default init value is used. + If set to DEFAULT_INIT_VALUE_ENABLE, resort to default + 0xFFFFFFFF value. In that case, there is no need to set InitValue field. If + otherwise set to DEFAULT_INIT_VALUE_DISABLE, InitValue field must be set. */ + + uint32_t GeneratingPolynomial; /*!< Set CRC generating polynomial as a 7, 8, 16 or 32-bit long value for a polynomial degree + respectively equal to 7, 8, 16 or 32. This field is written in normal, + representation e.g., for a polynomial of degree 7, X^7 + X^6 + X^5 + X^2 + 1 + is written 0x65. No need to specify it if DefaultPolynomialUse is set to + DEFAULT_POLYNOMIAL_ENABLE. */ + + uint32_t CRCLength; /*!< This parameter is a value of @ref CRC_Polynomial_Sizes and indicates CRC length. + Value can be either one of + @arg @ref CRC_POLYLENGTH_32B (32-bit CRC), + @arg @ref CRC_POLYLENGTH_16B (16-bit CRC), + @arg @ref CRC_POLYLENGTH_8B (8-bit CRC), + @arg @ref CRC_POLYLENGTH_7B (7-bit CRC). */ + + uint32_t InitValue; /*!< Init value to initiate CRC computation. No need to specify it if DefaultInitValueUse + is set to DEFAULT_INIT_VALUE_ENABLE. */ + + uint32_t InputDataInversionMode; /*!< This parameter is a value of @ref CRCEx_Input_Data_Inversion and specifies input data inversion mode. + Can be either one of the following values + @arg @ref CRC_INPUTDATA_INVERSION_NONE no input data inversion + @arg @ref CRC_INPUTDATA_INVERSION_BYTE byte-wise inversion, 0x1A2B3C4D + becomes 0x58D43CB2 + @arg @ref CRC_INPUTDATA_INVERSION_HALFWORD halfword-wise inversion, + 0x1A2B3C4D becomes 0xD458B23C + @arg @ref CRC_INPUTDATA_INVERSION_WORD word-wise inversion, 0x1A2B3C4D + becomes 0xB23CD458 */ + + uint32_t OutputDataInversionMode; /*!< This parameter is a value of @ref CRCEx_Output_Data_Inversion and specifies output data (i.e. CRC) inversion mode. + Can be either + @arg @ref CRC_OUTPUTDATA_INVERSION_DISABLE no CRC inversion, + @arg @ref CRC_OUTPUTDATA_INVERSION_ENABLE CRC 0x11223344 is converted + into 0x22CC4488 */ +} CRC_InitTypeDef; + +/** + * @brief CRC Handle Structure definition + */ +typedef struct +{ + CRC_TypeDef *Instance; + + CRC_InitTypeDef Init; + + HAL_LockTypeDef Lock; + + volatile HAL_CRC_StateTypeDef State; + + uint32_t InputDataFormat; /*!< This parameter is a value of @ref CRC_Input_Buffer_Format and specifies input data format. + Can be either + @arg @ref CRC_INPUTDATA_FORMAT_BYTES input data is a stream of bytes + (8-bit data) + @arg @ref CRC_INPUTDATA_FORMAT_HALFWORDS input data is a stream of + half-words (16-bit data) + @arg @ref CRC_INPUTDATA_FORMAT_WORDS input data is a stream of words + (32-bit data) + + Note that constant CRC_INPUT_FORMAT_UNDEFINED is defined but an initialization + error must occur if InputBufferFormat is not one of the three values listed + above */ +} CRC_HandleTypeDef; +/** + * @} + */ + +/* Exported constants --------------------------------------------------------*/ +/** @defgroup CRC_Exported_Constants CRC Exported Constants + * @{ + */ + +/** @defgroup CRC_Default_Polynomial_Value Default CRC generating polynomial + * @{ + */ + +/** + * @} + */ + +/** @defgroup CRC_Default_InitValue Default CRC computation initialization value + * @{ + */ + +/** + * @} + */ + +/** @defgroup CRC_Default_Polynomial Indicates whether or not default polynomial is used + * @{ + */ + + +/** + * @} + */ + +/** @defgroup CRC_Default_InitValue_Use Indicates whether or not default init value is used + * @{ + */ + + +/** + * @} + */ + +/** @defgroup CRC_Polynomial_Sizes Polynomial sizes to configure the peripheral + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup CRC_Polynomial_Size_Definitions CRC polynomial possible sizes actual definitions + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup CRC_Input_Buffer_Format Input Buffer Format + * @{ + */ +/* WARNING: CRC_INPUT_FORMAT_UNDEFINED is created for reference purposes but + * an error is triggered in HAL_CRC_Init() if InputDataFormat field is set + * to CRC_INPUT_FORMAT_UNDEFINED: the format MUST be defined by the user for + * the CRC APIs to provide a correct result */ + + + + +/** + * @} + */ + +/** + * @} + */ + +/* Exported macros -----------------------------------------------------------*/ +/** @defgroup CRC_Exported_Macros CRC Exported Macros + * @{ + */ + +/** @brief Reset CRC handle state. + * @param __HANDLE__ CRC handle. + * @retval None + */ + + +/** + * @brief Reset CRC Data Register. + * @param __HANDLE__ CRC handle + * @retval None + */ + + +/** + * @brief Set CRC INIT non-default value + * @param __HANDLE__ CRC handle + * @param __INIT__ 32-bit initial value + * @retval None + */ + + +/** + * @brief Store data in the Independent Data (ID) register. + * @param __HANDLE__ CRC handle + * @param __VALUE__ Value to be stored in the ID register + * @note Refer to the Reference Manual to get the authorized __VALUE__ length in bits + * @retval None + */ + + +/** + * @brief Return the data stored in the Independent Data (ID) register. + * @param __HANDLE__ CRC handle + * @note Refer to the Reference Manual to get the authorized __VALUE__ length in bits + * @retval Value of the ID register + */ + +/** + * @} + */ + + +/* Private macros --------------------------------------------------------*/ +/** @defgroup CRC_Private_Macros CRC Private Macros + * @{ + */ +# 283 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_crc.h" +/** + * @} + */ + +/* Include CRC HAL Extended module */ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_crc_ex.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_crc_ex.h + * @author MCD Application Team + * @brief Header file of CRC HAL extended module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_crc_ex.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup CRCEx + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/* Exported constants --------------------------------------------------------*/ +/** @defgroup CRCEx_Exported_Constants CRC Extended Exported Constants + * @{ + */ + +/** @defgroup CRCEx_Input_Data_Inversion Input Data Inversion Modes + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup CRCEx_Output_Data_Inversion Output Data Inversion Modes + * @{ + */ + + +/** + * @} + */ + +/** + * @} + */ + +/* Exported macro ------------------------------------------------------------*/ +/** @defgroup CRCEx_Exported_Macros CRC Extended Exported Macros + * @{ + */ + +/** + * @brief Set CRC output reversal + * @param __HANDLE__ CRC handle + * @retval None + */ + + +/** + * @brief Unset CRC output reversal + * @param __HANDLE__ CRC handle + * @retval None + */ + + +/** + * @brief Set CRC non-default polynomial + * @param __HANDLE__ CRC handle + * @param __POLYNOMIAL__ 7, 8, 16 or 32-bit polynomial + * @retval None + */ + + +/** + * @} + */ + +/* Private macros --------------------------------------------------------*/ +/** @defgroup CRCEx_Private_Macros CRC Extended Private Macros + * @{ + */ +# 112 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_crc_ex.h" +/** + * @} + */ + +/* Exported functions --------------------------------------------------------*/ + +/** @addtogroup CRCEx_Exported_Functions + * @{ + */ + +/** @addtogroup CRCEx_Exported_Functions_Group1 + * @{ + */ +/* Initialization and de-initialization functions ****************************/ +HAL_StatusTypeDef HAL_CRCEx_Polynomial_Set(CRC_HandleTypeDef *hcrc, uint32_t Pol, uint32_t PolyLength); +HAL_StatusTypeDef HAL_CRCEx_Input_Data_Reverse(CRC_HandleTypeDef *hcrc, uint32_t InputReverseMode); +HAL_StatusTypeDef HAL_CRCEx_Output_Data_Reverse(CRC_HandleTypeDef *hcrc, uint32_t OutputReverseMode); + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + + +} +# 289 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_crc.h" 2 + +/* Exported functions --------------------------------------------------------*/ +/** @defgroup CRC_Exported_Functions CRC Exported Functions + * @{ + */ + +/* Initialization and de-initialization functions ****************************/ +/** @defgroup CRC_Exported_Functions_Group1 Initialization and de-initialization functions + * @{ + */ +HAL_StatusTypeDef HAL_CRC_Init(CRC_HandleTypeDef *hcrc); +HAL_StatusTypeDef HAL_CRC_DeInit(CRC_HandleTypeDef *hcrc); +void HAL_CRC_MspInit(CRC_HandleTypeDef *hcrc); +void HAL_CRC_MspDeInit(CRC_HandleTypeDef *hcrc); +/** + * @} + */ + +/* Peripheral Control functions ***********************************************/ +/** @defgroup CRC_Exported_Functions_Group2 Peripheral Control functions + * @{ + */ +uint32_t HAL_CRC_Accumulate(CRC_HandleTypeDef *hcrc, uint32_t pBuffer[], uint32_t BufferLength); +uint32_t HAL_CRC_Calculate(CRC_HandleTypeDef *hcrc, uint32_t pBuffer[], uint32_t BufferLength); +/** + * @} + */ + +/* Peripheral State and Error functions ***************************************/ +/** @defgroup CRC_Exported_Functions_Group3 Peripheral State functions + * @{ + */ +HAL_CRC_StateTypeDef HAL_CRC_GetState(const CRC_HandleTypeDef *hcrc); +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + + +} +# 327 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_cryp.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_cryp.h + * @author MCD Application Team + * @brief Header file of CRYP HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 30 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_cryp.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ +# 561 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_cryp.h" +/** + * @} + */ + + +} +# 331 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dac.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_dac.h + * @author MCD Application Team + * @brief Header file of DAC HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 33 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dac.h" 2 + + + +/** @addtogroup DAC + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ + +/** @defgroup DAC_Exported_Types DAC Exported Types + * @{ + */ + +/** + * @brief HAL State structures definition + */ +typedef enum +{ + HAL_DAC_STATE_RESET = 0x00U, + HAL_DAC_STATE_READY = 0x01U, + HAL_DAC_STATE_BUSY = 0x02U, + HAL_DAC_STATE_TIMEOUT = 0x03U, + HAL_DAC_STATE_ERROR = 0x04U + +} HAL_DAC_StateTypeDef; + +/** + * @brief DAC handle Structure definition + */ + + + +typedef struct + +{ + DAC_TypeDef *Instance; + + volatile HAL_DAC_StateTypeDef State; + + HAL_LockTypeDef Lock; + + DMA_HandleTypeDef *DMA_Handle1; + + DMA_HandleTypeDef *DMA_Handle2; + + volatile uint32_t ErrorCode; +# 96 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dac.h" +} DAC_HandleTypeDef; + +/** + * @brief DAC Configuration sample and hold Channel structure definition + */ +typedef struct +{ + uint32_t DAC_SampleTime ; /*!< Specifies the Sample time for the selected channel. + This parameter applies when DAC_SampleAndHold is DAC_SAMPLEANDHOLD_ENABLE. + This parameter must be a number between Min_Data = 0 and Max_Data = 1023 */ + + uint32_t DAC_HoldTime ; /*!< Specifies the hold time for the selected channel + This parameter applies when DAC_SampleAndHold is DAC_SAMPLEANDHOLD_ENABLE. + This parameter must be a number between Min_Data = 0 and Max_Data = 1023 */ + + uint32_t DAC_RefreshTime ; /*!< Specifies the refresh time for the selected channel + This parameter applies when DAC_SampleAndHold is DAC_SAMPLEANDHOLD_ENABLE. + This parameter must be a number between Min_Data = 0 and Max_Data = 255 */ +} DAC_SampleAndHoldConfTypeDef; + +/** + * @brief DAC Configuration regular Channel structure definition + */ +typedef struct +{ + uint32_t DAC_SampleAndHold; /*!< Specifies whether the DAC mode. + This parameter can be a value of @ref DAC_SampleAndHold */ + + uint32_t DAC_Trigger; /*!< Specifies the external trigger for the selected DAC channel. + This parameter can be a value of @ref DAC_trigger_selection */ + + uint32_t DAC_OutputBuffer; /*!< Specifies whether the DAC channel output buffer is enabled or disabled. + This parameter can be a value of @ref DAC_output_buffer */ + + uint32_t DAC_ConnectOnChipPeripheral ; /*!< Specifies whether the DAC output is connected or not to on chip peripheral. + This parameter can be a value of @ref DAC_ConnectOnChipPeripheral */ + + uint32_t DAC_UserTrimming; /*!< Specifies the trimming mode + This parameter must be a value of @ref DAC_UserTrimming + DAC_UserTrimming is either factory or user trimming */ + + uint32_t DAC_TrimmingValue; /*!< Specifies the offset trimming value + i.e. when DAC_SampleAndHold is DAC_TRIMMING_USER. + This parameter must be a number between Min_Data = 1 and Max_Data = 31 */ + DAC_SampleAndHoldConfTypeDef DAC_SampleAndHoldConfig; +} DAC_ChannelConfTypeDef; +# 170 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dac.h" +/** + * @} + */ + +/* Exported constants --------------------------------------------------------*/ + +/** @defgroup DAC_Exported_Constants DAC Exported Constants + * @{ + */ + +/** @defgroup DAC_Error_Code DAC Error Code + * @{ + */ +# 192 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dac.h" +/** + * @} + */ + +/** @defgroup DAC_trigger_selection DAC trigger selection + * @{ + */ +# 226 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dac.h" +/** + * @} + */ + +/** @defgroup DAC_output_buffer DAC output buffer + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup DAC_Channel_selection DAC Channel selection + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup DAC_data_alignment DAC data alignment + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup DAC_flags_definition DAC flags definition + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup DAC_IT_definition DAC IT definition + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup DAC_ConnectOnChipPeripheral DAC ConnectOnChipPeripheral + * @{ + */ + + + + + + + +/** + * @} + */ + +/** @defgroup DAC_UserTrimming DAC User Trimming + * @{ + */ + + +/** + * @} + */ + +/** @defgroup DAC_SampleAndHold DAC power mode + * @{ + */ + + + +/** + * @} + */ +/** + * @} + */ + +/* Exported macro ------------------------------------------------------------*/ + +/** @defgroup DAC_Exported_Macros DAC Exported Macros + * @{ + */ + +/** @brief Reset DAC handle state. + * @param __HANDLE__ specifies the DAC handle. + * @retval None + */ +# 342 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dac.h" +/** @brief Enable the DAC channel. + * @param __HANDLE__ specifies the DAC handle. + * @param __DAC_Channel__ specifies the DAC channel + * @retval None + */ + + + +/** @brief Disable the DAC channel. + * @param __HANDLE__ specifies the DAC handle + * @param __DAC_Channel__ specifies the DAC channel. + * @retval None + */ + + + +/** @brief Set DHR12R1 alignment. + * @param __ALIGNMENT__ specifies the DAC alignment + * @retval None + */ + + + +/** @brief Set DHR12R2 alignment. + * @param __ALIGNMENT__ specifies the DAC alignment + * @retval None + */ + + + +/** @brief Set DHR12RD alignment. + * @param __ALIGNMENT__ specifies the DAC alignment + * @retval None + */ + + +/** @brief Enable the DAC interrupt. + * @param __HANDLE__ specifies the DAC handle + * @param __INTERRUPT__ specifies the DAC interrupt. + * This parameter can be any combination of the following values: + * @arg DAC_IT_DMAUDR1 DAC channel 1 DMA underrun interrupt + * @arg DAC_IT_DMAUDR2 DAC channel 2 DMA underrun interrupt + * @retval None + */ + + +/** @brief Disable the DAC interrupt. + * @param __HANDLE__ specifies the DAC handle + * @param __INTERRUPT__ specifies the DAC interrupt. + * This parameter can be any combination of the following values: + * @arg DAC_IT_DMAUDR1 DAC channel 1 DMA underrun interrupt + * @arg DAC_IT_DMAUDR2 DAC channel 2 DMA underrun interrupt + * @retval None + */ + + +/** @brief Check whether the specified DAC interrupt source is enabled or not. + * @param __HANDLE__ DAC handle + * @param __INTERRUPT__ DAC interrupt source to check + * This parameter can be any combination of the following values: + * @arg DAC_IT_DMAUDR1 DAC channel 1 DMA underrun interrupt + * @arg DAC_IT_DMAUDR2 DAC channel 2 DMA underrun interrupt + * @retval State of interruption (SET or RESET) + */ + + + +/** @brief Get the selected DAC's flag status. + * @param __HANDLE__ specifies the DAC handle. + * @param __FLAG__ specifies the DAC flag to get. + * This parameter can be any combination of the following values: + * @arg DAC_FLAG_DMAUDR1 DAC channel 1 DMA underrun flag + * @arg DAC_FLAG_DMAUDR2 DAC channel 2 DMA underrun flag + * @retval None + */ + + +/** @brief Clear the DAC's flag. + * @param __HANDLE__ specifies the DAC handle. + * @param __FLAG__ specifies the DAC flag to clear. + * This parameter can be any combination of the following values: + * @arg DAC_FLAG_DMAUDR1 DAC channel 1 DMA underrun flag + * @arg DAC_FLAG_DMAUDR2 DAC channel 2 DMA underrun flag + * @retval None + */ + + +/** + * @} + */ + +/* Private macro -------------------------------------------------------------*/ + +/** @defgroup DAC_Private_Macros DAC Private Macros + * @{ + */ +# 452 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dac.h" +/** + * @} + */ + +/* Include DAC HAL Extended module */ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dac_ex.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_dac_ex.h + * @author MCD Application Team + * @brief Header file of DAC HAL Extended module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 33 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dac_ex.h" 2 + + + +/** @addtogroup DACEx + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ + +/** + * @brief HAL State structures definition + */ + +/* Exported constants --------------------------------------------------------*/ + +/** @defgroup DACEx_Exported_Constants DACEx Exported Constants + * @{ + */ + +/** @defgroup DACEx_lfsrunmask_triangleamplitude DACEx lfsrunmask triangle amplitude + * @{ + */ +# 80 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dac_ex.h" +/** + * @} + */ + + +/** + * @} + */ + +/* Exported macro ------------------------------------------------------------*/ + + +/* Private macro -------------------------------------------------------------*/ + +/** @defgroup DACEx_Private_Macros DACEx Private Macros + * @{ + */ +# 188 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dac_ex.h" +/** + * @} + */ + +/* Exported functions --------------------------------------------------------*/ +/* Extended features functions ***********************************************/ + +/** @addtogroup DACEx_Exported_Functions + * @{ + */ + +/** @addtogroup DACEx_Exported_Functions_Group2 + * @{ + */ +/* IO operation functions *****************************************************/ + +HAL_StatusTypeDef HAL_DACEx_TriangleWaveGenerate(DAC_HandleTypeDef *hdac, uint32_t Channel, uint32_t Amplitude); +HAL_StatusTypeDef HAL_DACEx_NoiseWaveGenerate(DAC_HandleTypeDef *hdac, uint32_t Channel, uint32_t Amplitude); + +HAL_StatusTypeDef HAL_DACEx_DualStart(DAC_HandleTypeDef *hdac); +HAL_StatusTypeDef HAL_DACEx_DualStop(DAC_HandleTypeDef *hdac); +HAL_StatusTypeDef HAL_DACEx_DualStart_DMA(DAC_HandleTypeDef *hdac, uint32_t Channel, + const uint32_t *pData, uint32_t Length, uint32_t Alignment); +HAL_StatusTypeDef HAL_DACEx_DualStop_DMA(DAC_HandleTypeDef *hdac, uint32_t Channel); +HAL_StatusTypeDef HAL_DACEx_DualSetValue(DAC_HandleTypeDef *hdac, uint32_t Alignment, uint32_t Data1, uint32_t Data2); +uint32_t HAL_DACEx_DualGetValue(const DAC_HandleTypeDef *hdac); + +void HAL_DACEx_ConvCpltCallbackCh2(DAC_HandleTypeDef *hdac); +void HAL_DACEx_ConvHalfCpltCallbackCh2(DAC_HandleTypeDef *hdac); +void HAL_DACEx_ErrorCallbackCh2(DAC_HandleTypeDef *hdac); +void HAL_DACEx_DMAUnderrunCallbackCh2(DAC_HandleTypeDef *hdac); + + +/** + * @} + */ + +/** @addtogroup DACEx_Exported_Functions_Group3 + * @{ + */ +/* Peripheral Control functions ***********************************************/ + +HAL_StatusTypeDef HAL_DACEx_SelfCalibrate(DAC_HandleTypeDef *hdac, DAC_ChannelConfTypeDef *sConfig, uint32_t Channel); +HAL_StatusTypeDef HAL_DACEx_SetUserTrimming(DAC_HandleTypeDef *hdac, DAC_ChannelConfTypeDef *sConfig, uint32_t Channel, + uint32_t NewTrimmingValue); +uint32_t HAL_DACEx_GetTrimOffset(const DAC_HandleTypeDef *hdac, uint32_t Channel); + +/** + * @} + */ + +/** + * @} + */ + +/** @addtogroup DACEx_Private_Functions + * @{ + */ + +/* DAC_DMAConvCpltCh2 / DAC_DMAErrorCh2 / DAC_DMAHalfConvCpltCh2 */ +/* are called by HAL_DAC_Start_DMA */ +void DAC_DMAConvCpltCh2(DMA_HandleTypeDef *hdma); +void DAC_DMAErrorCh2(DMA_HandleTypeDef *hdma); +void DAC_DMAHalfConvCpltCh2(DMA_HandleTypeDef *hdma); + +/** + * @} + */ + +/** + * @} + */ + + + +/** + * @} + */ + + +} +# 458 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dac.h" 2 + +/* Exported functions --------------------------------------------------------*/ + +/** @addtogroup DAC_Exported_Functions + * @{ + */ + +/** @addtogroup DAC_Exported_Functions_Group1 + * @{ + */ +/* Initialization and de-initialization functions *****************************/ +HAL_StatusTypeDef HAL_DAC_Init(DAC_HandleTypeDef *hdac); +HAL_StatusTypeDef HAL_DAC_DeInit(DAC_HandleTypeDef *hdac); +void HAL_DAC_MspInit(DAC_HandleTypeDef *hdac); +void HAL_DAC_MspDeInit(DAC_HandleTypeDef *hdac); + +/** + * @} + */ + +/** @addtogroup DAC_Exported_Functions_Group2 + * @{ + */ +/* IO operation functions *****************************************************/ +HAL_StatusTypeDef HAL_DAC_Start(DAC_HandleTypeDef *hdac, uint32_t Channel); +HAL_StatusTypeDef HAL_DAC_Stop(DAC_HandleTypeDef *hdac, uint32_t Channel); +HAL_StatusTypeDef HAL_DAC_Start_DMA(DAC_HandleTypeDef *hdac, uint32_t Channel, const uint32_t *pData, uint32_t Length, + uint32_t Alignment); +HAL_StatusTypeDef HAL_DAC_Stop_DMA(DAC_HandleTypeDef *hdac, uint32_t Channel); +void HAL_DAC_IRQHandler(DAC_HandleTypeDef *hdac); +HAL_StatusTypeDef HAL_DAC_SetValue(DAC_HandleTypeDef *hdac, uint32_t Channel, uint32_t Alignment, uint32_t Data); + +void HAL_DAC_ConvCpltCallbackCh1(DAC_HandleTypeDef *hdac); +void HAL_DAC_ConvHalfCpltCallbackCh1(DAC_HandleTypeDef *hdac); +void HAL_DAC_ErrorCallbackCh1(DAC_HandleTypeDef *hdac); +void HAL_DAC_DMAUnderrunCallbackCh1(DAC_HandleTypeDef *hdac); +# 502 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dac.h" +/** + * @} + */ + +/** @addtogroup DAC_Exported_Functions_Group3 + * @{ + */ +/* Peripheral Control functions ***********************************************/ +uint32_t HAL_DAC_GetValue(const DAC_HandleTypeDef *hdac, uint32_t Channel); +HAL_StatusTypeDef HAL_DAC_ConfigChannel(DAC_HandleTypeDef *hdac, + const DAC_ChannelConfTypeDef *sConfig, uint32_t Channel); +/** + * @} + */ + +/** @addtogroup DAC_Exported_Functions_Group4 + * @{ + */ +/* Peripheral State and Error functions ***************************************/ +HAL_DAC_StateTypeDef HAL_DAC_GetState(const DAC_HandleTypeDef *hdac); +uint32_t HAL_DAC_GetError(const DAC_HandleTypeDef *hdac); + +/** + * @} + */ + +/** + * @} + */ + +/** @defgroup DAC_Private_Functions DAC Private Functions + * @{ + */ +void DAC_DMAConvCpltCh1(DMA_HandleTypeDef *hdma); +void DAC_DMAErrorCh1(DMA_HandleTypeDef *hdma); +void DAC_DMAHalfConvCpltCh1(DMA_HandleTypeDef *hdma); +/** + * @} + */ + +/** + * @} + */ + + + +/** + * @} + */ + + +} +# 335 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_flash.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_flash.h + * @author MCD Application Team + * @brief Header file of FLASH HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file in + * the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + + extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 28 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_flash.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup FLASH + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/** @defgroup FLASH_Exported_Types FLASH Exported Types + * @{ + */ + +/** + * @brief FLASH Procedure structure definition + */ +typedef enum +{ + FLASH_PROC_NONE = 0U, + FLASH_PROC_SECTERASE_BANK1, + FLASH_PROC_MASSERASE_BANK1, + FLASH_PROC_PROGRAM_BANK1, + FLASH_PROC_SECTERASE_BANK2, + FLASH_PROC_MASSERASE_BANK2, + FLASH_PROC_PROGRAM_BANK2, + FLASH_PROC_ALLBANK_MASSERASE +} FLASH_ProcedureTypeDef; + + +/** + * @brief FLASH handle Structure definition + */ +typedef struct +{ + volatile FLASH_ProcedureTypeDef ProcedureOnGoing; + + volatile uint32_t NbSectorsToErase; + + volatile uint32_t VoltageForErase; + + volatile uint32_t Sector; + + volatile uint32_t Address; + + HAL_LockTypeDef Lock; + + volatile uint32_t ErrorCode; + +}FLASH_ProcessTypeDef; + +/** + * @} + */ + +/* Exported constants --------------------------------------------------------*/ +/** @defgroup FLASH_Exported_Constants FLASH Exported Constants + * @{ + */ + +/** @defgroup FLASH_Error_Code FLASH Error Code + * @brief FLASH Error Code + * @{ + */ +# 134 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_flash.h" +/** + * @} + */ + +/** @defgroup FLASH_Type_Program FLASH Type Program + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup FLASH_Flag_definition FLASH Flag definition + * @brief Flag definition + * @{ + */ +# 247 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_flash.h" +/** + * @} + */ + +/** @defgroup FLASH_Interrupt_definition FLASH Interrupt definition + * @brief FLASH Interrupt definition + * @{ + */ +# 316 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_flash.h" +/** + * @} + */ + + +/** @defgroup FLASH_Program_Parallelism FLASH Program Parallelism + * @{ + */ + + + + +/** + * @} + */ + + + +/** @defgroup FLASH_Keys FLASH Keys + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup FLASH_Sectors FLASH Sectors + * @{ + */ +# 478 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_flash.h" +/** + * @} + */ + +/** + * @} + */ + +/* Exported macro ------------------------------------------------------------*/ +/** @defgroup FLASH_Exported_Macros FLASH Exported Macros + * @{ + */ +/** + * @brief Set the FLASH Latency. + * @param __LATENCY__: FLASH Latency + * The value of this parameter depend on device used within the same series + * @retval none + */ + + + +/** + * @brief Get the FLASH Latency. + * @retval FLASH Latency + * The value of this parameter depend on device used within the same series + */ + + +/** + * @brief Enable the specified FLASH interrupt. + * @param __INTERRUPT__ : FLASH interrupt + * In case of Bank 1 This parameter can be any combination of the following values: + * @arg FLASH_IT_EOP_BANK1 : End of FLASH Bank 1 Operation Interrupt source + * @arg FLASH_IT_WRPERR_BANK1 : Write Protection Error on Bank 1 Interrupt source + * @arg FLASH_IT_PGSERR_BANK1 : Program Sequence Error on Bank 1 Interrupt source + * @arg FLASH_IT_STRBERR_BANK1 : Strobe Error on Bank 1 Interrupt source + * @arg FLASH_IT_INCERR_BANK1 : Inconsistency Error on Bank 1 Interrupt source + * @arg FLASH_IT_OPERR_BANK1 : Operation Error on Bank 1 Interrupt source + * @arg FLASH_IT_RDPERR_BANK1 : Read protection Error on Bank 1 Interrupt source + * @arg FLASH_IT_RDSERR_BANK1 : Read secure Error on Bank 1 Interrupt source + * @arg FLASH_IT_SNECCERR_BANK1 : Single ECC Error Correction on Bank 1 Interrupt source + * @arg FLASH_IT_DBECCERR_BANK1 : Double Detection ECC Error on Bank 1 Interrupt source + * @arg FLASH_IT_CRCEND_BANK1 : CRC End on Bank 1 Interrupt source + * @arg FLASH_IT_CRCRDERR_BANK1 : CRC Read error on Bank 1 Interrupt source + * @arg FLASH_IT_ALL_BANK1 : All Bank 1 Interrupt sources + * + * In case of Bank 2, this parameter can be any combination of the following values: + * @arg FLASH_IT_EOP_BANK2 : End of FLASH Bank 2 Operation Interrupt source + * @arg FLASH_IT_WRPERR_BANK2 : Write Protection Error on Bank 2 Interrupt source + * @arg FLASH_IT_PGSERR_BANK2 : Program Sequence Error on Bank 2 Interrupt source + * @arg FLASH_IT_STRBERR_BANK2 : Strobe Error on Bank 2 Interrupt source + * @arg FLASH_IT_INCERR_BANK2 : Inconsistency Error on Bank 2 Interrupt source + * @arg FLASH_IT_OPERR_BANK2 : Operation Error on Bank 2 Interrupt source + * @arg FLASH_IT_RDPERR_BANK2 : Read protection Error on Bank 2 Interrupt source + * @arg FLASH_IT_RDSERR_BANK2 : Read secure Error on Bank 2 Interrupt source + * @arg FLASH_IT_SNECCERR_BANK2 : Single ECC Error Correction on Bank 2 Interrupt source + * @arg FLASH_IT_DBECCERR_BANK2 : Double Detection ECC Error on Bank 2 Interrupt source + * @arg FLASH_IT_CRCEND_BANK2 : CRC End on Bank 2 Interrupt source + * @arg FLASH_IT_CRCRDERR_BANK2 : CRC Read error on Bank 2 Interrupt source + * @arg FLASH_IT_ALL_BANK2 : All Bank 2 Interrupt sources + * @retval none + */ +# 554 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_flash.h" +/** + * @brief Disable the specified FLASH interrupt. + * @param __INTERRUPT__ : FLASH interrupt + * In case of Bank 1 This parameter can be any combination of the following values: + * @arg FLASH_IT_EOP_BANK1 : End of FLASH Bank 1 Operation Interrupt source + * @arg FLASH_IT_WRPERR_BANK1 : Write Protection Error on Bank 1 Interrupt source + * @arg FLASH_IT_PGSERR_BANK1 : Program Sequence Error on Bank 1 Interrupt source + * @arg FLASH_IT_STRBERR_BANK1 : Strobe Error on Bank 1 Interrupt source + * @arg FLASH_IT_INCERR_BANK1 : Inconsistency Error on Bank 1 Interrupt source + * @arg FLASH_IT_OPERR_BANK1 : Operation Error on Bank 1 Interrupt source + * @arg FLASH_IT_RDPERR_BANK1 : Read protection Error on Bank 1 Interrupt source + * @arg FLASH_IT_RDSERR_BANK1 : Read secure Error on Bank 1 Interrupt source + * @arg FLASH_IT_SNECCERR_BANK1 : Single ECC Error Correction on Bank 1 Interrupt source + * @arg FLASH_IT_DBECCERR_BANK1 : Double Detection ECC Error on Bank 1 Interrupt source + * @arg FLASH_IT_CRCEND_BANK1 : CRC End on Bank 1 Interrupt source + * @arg FLASH_IT_CRCRDERR_BANK1 : CRC Read error on Bank 1 Interrupt source + * @arg FLASH_IT_ALL_BANK1 : All Bank 1 Interrupt sources + * + * In case of Bank 2, this parameter can be any combination of the following values: + * @arg FLASH_IT_EOP_BANK2 : End of FLASH Bank 2 Operation Interrupt source + * @arg FLASH_IT_WRPERR_BANK2 : Write Protection Error on Bank 2 Interrupt source + * @arg FLASH_IT_PGSERR_BANK2 : Program Sequence Error on Bank 2 Interrupt source + * @arg FLASH_IT_STRBERR_BANK2 : Strobe Error on Bank 2 Interrupt source + * @arg FLASH_IT_INCERR_BANK2 : Inconsistency Error on Bank 2 Interrupt source + * @arg FLASH_IT_OPERR_BANK2 : Operation Error on Bank 2 Interrupt source + * @arg FLASH_IT_RDPERR_BANK2 : Read protection Error on Bank 2 Interrupt source + * @arg FLASH_IT_RDSERR_BANK2 : Read secure Error on Bank 2 Interrupt source + * @arg FLASH_IT_SNECCERR_BANK2 : Single ECC Error Correction on Bank 2 Interrupt source + * @arg FLASH_IT_DBECCERR_BANK2 : Double Detection ECC Error on Bank 2 Interrupt source + * @arg FLASH_IT_CRCEND_BANK2 : CRC End on Bank 2 Interrupt source + * @arg FLASH_IT_CRCRDERR_BANK2 : CRC Read error on Bank 2 Interrupt source + * @arg FLASH_IT_ALL_BANK2 : All Bank 2 Interrupt sources + * @retval none + */ +# 602 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_flash.h" +/** + * @brief Checks whether the specified FLASH flag is set or not. + * @param __FLAG__: specifies the FLASH flag to check. + * In case of Bank 1 This parameter can be one of the following values : + * @arg FLASH_FLAG_BSY_BANK1 : FLASH Bank 1 Busy flag + * @arg FLASH_FLAG_WBNE_BANK1 : Write Buffer Not Empty on Bank 1 flag + * @arg FLASH_FLAG_QW_BANK1 : Wait Queue on Bank 1 flag + * @arg FLASH_FLAG_CRC_BUSY_BANK1 : CRC module is working on Bank 1 flag + * @arg FLASH_FLAG_EOP_BANK1 : End Of Program on Bank 1 flag + * @arg FLASH_FLAG_WRPERR_BANK1 : Write Protection Error on Bank 1 flag + * @arg FLASH_FLAG_PGSERR_BANK1 : Program Sequence Error on Bank 1 flag + * @arg FLASH_FLAG_STRBER_BANK1 : Program Alignment Error on Bank 1 flag + * @arg FLASH_FLAG_INCERR_BANK1 : Inconsistency Error on Bank 1 flag + * @arg FLASH_FLAG_OPERR_BANK1 : Operation Error on Bank 1 flag + * @arg FLASH_FLAG_RDPERR_BANK1 : Read Protection Error on Bank 1 flag + * @arg FLASH_FLAG_RDSERR_BANK1 : Read secure Error on Bank 1 flag + * @arg FLASH_FLAG_SNECCE_BANK1 : Single ECC Error Correction on Bank 1 flag + * @arg FLASH_FLAG_DBECCE_BANK1 : Double Detection ECC Error on Bank 1 flag + * @arg FLASH_FLAG_CRCEND_BANK1 : CRC End on Bank 1 flag + * @arg FLASH_FLAG_CRCRDERR_BANK1 : CRC Read error on Bank 1 flag + * + * In case of Bank 2 This parameter can be one of the following values : + * @arg FLASH_FLAG_BSY_BANK2 : FLASH Bank 2 Busy flag + * @arg FLASH_FLAG_WBNE_BANK2 : Write Buffer Not Empty on Bank 2 flag + * @arg FLASH_FLAG_QW_BANK2 : Wait Queue on Bank 2 flag + * @arg FLASH_FLAG_CRC_BUSY_BANK2 : CRC module is working on Bank 2 flag + * @arg FLASH_FLAG_EOP_BANK2 : End Of Program on Bank 2 flag + * @arg FLASH_FLAG_WRPERR_BANK2 : Write Protection Error on Bank 2 flag + * @arg FLASH_FLAG_PGSERR_BANK2 : Program Sequence Error on Bank 2 flag + * @arg FLASH_FLAG_STRBER_BANK2 : Program Alignment Error on Bank 2 flag + * @arg FLASH_FLAG_INCERR_BANK2 : Inconsistency Error on Bank 2 flag + * @arg FLASH_FLAG_OPERR_BANK2 : Operation Error on Bank 2 flag + * @arg FLASH_FLAG_RDPERR_BANK2 : Read Protection Error on Bank 2 flag + * @arg FLASH_FLAG_RDSERR_BANK2 : Read secure Error on Bank 2 flag + * @arg FLASH_FLAG_SNECCE_BANK2 : Single ECC Error Correction on Bank 2 flag + * @arg FLASH_FLAG_DBECCE_BANK2 : Double Detection ECC Error on Bank 2 flag + * @arg FLASH_FLAG_CRCEND_BANK2 : CRC End on Bank 2 flag + * @arg FLASH_FLAG_CRCRDERR_BANK2 : CRC Read error on Bank 2 flag + * @retval The new state of FLASH_FLAG (SET or RESET). + */ +# 654 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_flash.h" +/** + * @brief Clear the specified FLASH flag. + * @param __FLAG__: specifies the FLASH flags to clear. + * In case of Bank 1, this parameter can be any combination of the following values: + * @arg FLASH_FLAG_EOP_BANK1 : End Of Program on Bank 1 flag + * @arg FLASH_FLAG_WRPERR_BANK1 : Write Protection Error on Bank 1 flag + * @arg FLASH_FLAG_PGSERR_BANK1 : Program Sequence Error on Bank 1 flag + * @arg FLASH_FLAG_STRBER_BANK1 : Program Alignment Error on Bank 1 flag + * @arg FLASH_FLAG_INCERR_BANK1 : Inconsistency Error on Bank 1 flag + * @arg FLASH_FLAG_OPERR_BANK1 : Operation Error on Bank 1 flag + * @arg FLASH_FLAG_RDPERR_BANK1 : Read Protection Error on Bank 1 flag + * @arg FLASH_FLAG_RDSERR_BANK1 : Read secure Error on Bank 1 flag + * @arg FLASH_FLAG_SNECCE_BANK1 : Single ECC Error Correction on Bank 1 flag + * @arg FLASH_FLAG_DBECCE_BANK1 : Double Detection ECC Error on Bank 1 flag + * @arg FLASH_FLAG_CRCEND_BANK1 : CRC End on Bank 1 flag + * @arg FLASH_FLAG_CRCRDERR_BANK1 : CRC Read error on Bank 1 flag + * @arg FLASH_FLAG_ALL_ERRORS_BANK1 : All Bank 1 error flags + * @arg FLASH_FLAG_ALL_BANK1 : All Bank 1 flags + * + * In case of Bank 2, this parameter can be any combination of the following values : + * @arg FLASH_FLAG_EOP_BANK2 : End Of Program on Bank 2 flag + * @arg FLASH_FLAG_WRPERR_BANK2 : Write Protection Error on Bank 2 flag + * @arg FLASH_FLAG_PGSERR_BANK2 : Program Sequence Error on Bank 2 flag + * @arg FLASH_FLAG_STRBER_BANK2 : Program Alignment Error on Bank 2 flag + * @arg FLASH_FLAG_INCERR_BANK2 : Inconsistency Error on Bank 2 flag + * @arg FLASH_FLAG_OPERR_BANK2 : Operation Error on Bank 2 flag + * @arg FLASH_FLAG_RDPERR_BANK2 : Read Protection Error on Bank 2 flag + * @arg FLASH_FLAG_RDSERR_BANK2 : Read secure Error on Bank 2 flag + * @arg FLASH_FLAG_SNECCE_BANK2 : Single ECC Error Correction on Bank 2 flag + * @arg FLASH_FLAG_DBECCE_BANK2 : Double Detection ECC Error on Bank 2 flag + * @arg FLASH_FLAG_CRCEND_BANK2 : CRC End on Bank 2 flag + * @arg FLASH_FLAG_CRCRDERR_BANK2 : CRC Read error on Bank 2 flag + * @arg FLASH_FLAG_ALL_ERRORS_BANK2 : All Bank 2 error flags + * @arg FLASH_FLAG_ALL_BANK2 : All Bank 2 flags + * @retval none + */ +# 702 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_flash.h" +/** + * @} + */ + +/* Include FLASH HAL Extension module */ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_flash_ex.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_flash_ex.h + * @author MCD Application Team + * @brief Header file of FLASH HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file in + * the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + + extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 28 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_flash_ex.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup FLASHEx + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/** @defgroup FLASHEx_Exported_Types FLASH Exported Types + * @{ + */ + +/** + * @brief FLASH Erase structure definition + */ +typedef struct +{ + uint32_t TypeErase; /*!< Mass erase or sector Erase. + This parameter can be a value of @ref FLASHEx_Type_Erase */ + + uint32_t Banks; /*!< Select banks to erase when Mass erase is enabled. + This parameter must be a value of @ref FLASHEx_Banks */ + + uint32_t Sector; /*!< Initial FLASH sector to erase when Mass erase is disabled + This parameter must be a value of @ref FLASH_Sectors */ + + uint32_t NbSectors; /*!< Number of sectors to be erased. + This parameter must be a value between 1 and (max number of sectors - value of Initial sector)*/ + + uint32_t VoltageRange;/*!< The device voltage range which defines the erase parallelism + This parameter must be a value of @ref FLASHEx_Voltage_Range */ + +} FLASH_EraseInitTypeDef; + + +/** + * @brief FLASH Option Bytes Program structure definition + */ +typedef struct +{ + uint32_t OptionType; /*!< Option byte to be configured. + This parameter can be a value of @ref FLASHEx_Option_Type */ + + uint32_t WRPState; /*!< Write protection activation or deactivation. + This parameter can be a value of @ref FLASHEx_WRP_State */ + + uint32_t WRPSector; /*!< Specifies the sector(s) to be write protected. + The value of this parameter depend on device used within the same series */ + + uint32_t RDPLevel; /*!< Set the read protection level. + This parameter can be a value of @ref FLASHEx_Option_Bytes_Read_Protection */ + + uint32_t BORLevel; /*!< Set the BOR Level. + This parameter can be a value of @ref FLASHEx_BOR_Reset_Level */ + + uint32_t USERType; /*!< User option byte(s) to be configured (used for OPTIONBYTE_USER). + This parameter can be a combination of @ref FLASHEx_OB_USER_Type */ + + uint32_t USERConfig; /*!< Program the FLASH User Option Byte: IWDG_SW / RST_STOP / RST_STDBY / + IWDG_FREEZE_STOP / IWDG_FREEZE_SANDBY / IO_HSLV / SWAP_BANK_OPT */ + + uint32_t Banks; /*!< Select banks for WRP , PCROP and secure area config . + This parameter must be a value of @ref FLASHEx_Banks */ + + uint32_t PCROPConfig; /*!< specifies if the PCROP area shall be erased or not + when RDP level decreased from Level 1 to Level 0 or during a mass erase. + This parameter must be a value of @ref FLASHEx_OB_PCROP_RDP enumeration */ + + uint32_t PCROPStartAddr; /*!< PCROP Start address (used for OPTIONBYTE_PCROP). + This parameter must be a value between begin and end of a bank */ + + uint32_t PCROPEndAddr; /*!< PCROP End address (used for OPTIONBYTE_PCROP). + This parameter must be a value between PCROP Start address and end of a bank */ + + uint32_t BootConfig; /*!< Specifies if the Boot Address to be configured BOOT_ADD0, BOOT_ADD1 + or both. This parameter must be a value of @ref FLASHEx_OB_BOOT_OPTION enumeration */ + + uint32_t BootAddr0; /*!< Boot Address 0. + This parameter must be a value between begin and end of a bank */ + + uint32_t BootAddr1; /*!< Boot Address 1. + This parameter must be a value between begin and end of a bank */ + + uint32_t CM4BootConfig; /*!< specifies if the CM4 boot Address to be configured BOOT_ADD0, BOOT_ADD1 + or both. + This parameter must be a value of @ref FLASHEx_OB_BOOT_OPTION enumeration */ + + uint32_t CM4BootAddr0; /*!< CM4 Boot Address 0. + This parameter must be a value between begin and end of a bank */ + + uint32_t CM4BootAddr1; /*!< CM4 Boot Address 1. + This parameter must be a value between begin and end of a bank */ + + + uint32_t SecureAreaConfig; /*!< specifies if the bank secured area shall be erased or not + when RDP level decreased from Level 1 to Level 0 or during a mass erase. + This parameter must be a value of @ref FLASHEx_OB_SECURE_RDP enumeration */ + + uint32_t SecureAreaStartAddr; /*!< Bank Secure area Start address. + This parameter must be a value between begin address and end address of bank1 */ + + uint32_t SecureAreaEndAddr; /*!< Bank Secure area End address. + This parameter must be a value between Secure Area Start address and end address of a bank1 */ +# 149 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_flash_ex.h" +} FLASH_OBProgramInitTypeDef; + +/** + * @brief FLASH Erase structure definition + */ +typedef struct +{ + uint32_t TypeCRC; /*!< CRC Selection Type. + This parameter can be a value of @ref FLASHEx_CRC_Selection_Type */ + + uint32_t BurstSize; /*!< CRC Burst Size. + This parameter can be a value of @ref FLASHEx_CRC_Burst_Size */ + + uint32_t Bank; /*!< Select bank where CRC computation is enabled. + This parameter must be FLASH_BANK_1 or FLASH_BANK_2 */ + + uint32_t Sector; /*!< Initial FLASH sector from which starts the CRC computation + This parameter must be a value of @ref FLASH_Sectors */ + + uint32_t NbSectors; /*!< Number of sectors to be computed. + This parameter must be a value between 1 and (max number of sectors - value of Initial sector)*/ + + uint32_t CRCStartAddr; /*!< CRC Start address. + This parameter must be a value between begin address and end address of a bank */ + + uint32_t CRCEndAddr; /*!< CRC End address. + This parameter must be a value between CRC Start address and end address of a bank */ + +} FLASH_CRCInitTypeDef; +# 193 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_flash_ex.h" +/** + * @} + */ +/* Exported constants --------------------------------------------------------*/ + +/** @defgroup FLASHEx_Exported_Constants FLASH Exported Constants + * @{ + */ + +/** @defgroup FLASHEx_Type_Erase FLASH Type Erase + * @{ + */ + + +/** + * @} + */ + + +/** @defgroup FLASHEx_Voltage_Range FLASH Voltage Range + * @{ + */ + + + + +/** + * @} + */ + + +/** @defgroup FLASHEx_WRP_State FLASH WRP State + * @{ + */ + + +/** + * @} + */ +# 245 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_flash_ex.h" +/** @defgroup FLASHEx_Option_Type FLASH Option Type + * @{ + */ +# 288 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_flash_ex.h" +/** + * @} + */ + +/** @defgroup FLASHEx_Option_Bytes_Read_Protection FLASH Option Bytes Read Protection + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup FLASHEx_Option_Bytes_IWatchdog FLASH Option Bytes IWatchdog + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FLASHEx_Option_Bytes_nRST_STOP FLASH Option Bytes nRST_STOP + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FLASHEx_Option_Bytes_nRST_STDBY FLASH Option Bytes nRST_STDBY + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FLASHEx_Option_Bytes_IWDG_FREEZE_STOP FLASH IWDG Counter Freeze in STOP + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FLASHEx_Option_Bytes_IWDG_FREEZE_SANDBY FLASH IWDG Counter Freeze in STANDBY + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FLASHEx_BOR_Reset_Level FLASH BOR Reset Level + * @{ + */ + + + + +/** + * @} + */ + + + +/** @defgroup FLASHEx_Boot_Address FLASH Boot Address + * @{ + */ + + + + + + + +/** + * @} + */ + +/** @defgroup FLASH_Latency FLASH Latency + * @{ + */ +# 387 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_flash_ex.h" +/* Unused FLASH Latency defines */ +# 396 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_flash_ex.h" +/** + * @} + */ + +/** @defgroup FLASHEx_Banks FLASH Banks + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup FLASHEx_OB_PCROP_RDP FLASHEx OB PCROP RDP + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup FLASHEx_Option_Bytes_Write_Protection FLASH Option Bytes Write Protection + * @{ + */ +# 472 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_flash_ex.h" +/** + * @} + */ + +/** @defgroup FLASHEx_OB_SECURITY FLASHEx OB SECURITY + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FLASHEx_OB_ST_RAM_SIZE FLASHEx OB ST RAM SIZE + * @{ + */ + + + + +/** + * @} + */ + + +/** @defgroup FLASHEx_OB_BCM7 FLASHEx OB BCM7 + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup FLASHEx_OB_BCM4 FLASHEx OB BCM4 + * @{ + */ + + +/** + * @} + */ + + +/** @defgroup FLASHEx_OB_IWDG1_SW FLASHEx OB IWDG1 SW + * @{ + */ + + +/** + * @} + */ + + +/** @defgroup FLASHEx_OB_IWDG2_SW FLASHEx OB IWDG2 SW + * @{ + */ + + +/** + * @} + */ + + +/** @defgroup FLASHEx_OB_NRST_STOP_D1 FLASHEx OB NRST STOP D1 + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FLASHEx_OB_NRST_STDBY_D1 FLASHEx OB NRST STDBY D1 + * @{ + */ + + +/** + * @} + */ + + +/** @defgroup FLASHEx_OB_NRST_STOP_D2 FLASHEx OB NRST STOP D2 + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FLASHEx_OB_NRST_STDBY_D2 FLASHEx OB NRST STDBY D2 + * @{ + */ + + +/** + * @} + */ + + + +/** @defgroup FLASHEx_OB_SWAP_BANK FLASHEx OB SWAP BANK + * @{ + */ + + +/** + * @} + */ + + +/** @defgroup FLASHEx_OB_IOHSLV FLASHEx OB IOHSLV + * @{ + */ + + +/** + * @} + */ +# 630 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_flash_ex.h" + /** @defgroup FLASHEx_OB_USER_Type FLASHEx OB USER Type + * @{ + */ +# 691 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_flash_ex.h" +/** + * @} + */ + +/** @defgroup FLASHEx_OB_BOOT_OPTION FLASHEx OB BOOT OPTION + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup FLASHEx_OB_SECURE_RDP FLASHEx OB SECURE RDP + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup FLASHEx_CRC_Selection_Type FLASH CRC Selection Type + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup FLASHEx_CRC_Burst_Size FLASH CRC Burst Size + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup FLASHEx_Programming_Delay FLASH Programming Delay + * @{ + */ + + + + +/** + * @} + */ +# 773 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_flash_ex.h" +/** + * @} + */ + +/* Exported macro ------------------------------------------------------------*/ +/** @defgroup FLASHEx_Exported_Macros FLASH Exported Macros + * @{ + */ +/** + * @brief Calculate the FLASH Boot Base Address (BOOT_ADD0 or BOOT_ADD1) + * @note Returned value BOOT_ADDx[15:0] corresponds to boot address [29:14]. + * @param __ADDRESS__: FLASH Boot Address (in the range 0x0000 0000 to 0x2004 FFFF with a granularity of 16KB) + * @retval The FLASH Boot Base Address + */ + + + +/** + * @brief Set the FLASH Program/Erase parallelism. + * @param __PSIZE__ FLASH Program/Erase parallelism + * This parameter can be a value of @ref FLASH_Program_Parallelism + * @param __BANK__: Flash bank (FLASH_BANK_1 or FLASH_BANK_2) + * @retval none + */ +# 805 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_flash_ex.h" +/** + * @brief Get the FLASH Program/Erase parallelism. + * @param __BANK__ Flash bank (FLASH_BANK_1 or FLASH_BANK_2) + * @retval FLASH Program/Erase parallelism + * This return value can be a value of @ref FLASH_Program_Parallelism + */ +# 821 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_flash_ex.h" +/** + * @brief Set the FLASH Programming Delay. + * @param __DELAY__ FLASH Programming Delay + * This parameter can be a value of @ref FLASHEx_Programming_Delay + * @retval none + */ + + +/** + * @brief Get the FLASH Programming Delay. + * @retval FLASH Programming Delay + * This return value can be a value of @ref FLASHEx_Programming_Delay + */ + + /** + * @} + */ + +/* Exported functions --------------------------------------------------------*/ +/** @addtogroup FLASHEx_Exported_Functions + * @{ + */ + +/** @addtogroup FLASHEx_Exported_Functions_Group1 + * @{ + */ +/* Extension Program operation functions *************************************/ +HAL_StatusTypeDef HAL_FLASHEx_Erase(FLASH_EraseInitTypeDef *pEraseInit, uint32_t *SectorError); +HAL_StatusTypeDef HAL_FLASHEx_Erase_IT(FLASH_EraseInitTypeDef *pEraseInit); +HAL_StatusTypeDef HAL_FLASHEx_OBProgram(FLASH_OBProgramInitTypeDef *pOBInit); +void HAL_FLASHEx_OBGetConfig(FLASH_OBProgramInitTypeDef *pOBInit); + +HAL_StatusTypeDef HAL_FLASHEx_Unlock_Bank1(void); +HAL_StatusTypeDef HAL_FLASHEx_Lock_Bank1(void); + +HAL_StatusTypeDef HAL_FLASHEx_Unlock_Bank2(void); +HAL_StatusTypeDef HAL_FLASHEx_Lock_Bank2(void); + + +HAL_StatusTypeDef HAL_FLASHEx_ComputeCRC(FLASH_CRCInitTypeDef *pCRCInit, uint32_t *CRC_Result); + +/** + * @} + */ +# 898 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_flash_ex.h" +/** + * @} + */ +/* Private types -------------------------------------------------------------*/ +/* Private variables ---------------------------------------------------------*/ +/* Private constants ---------------------------------------------------------*/ +/* Private macros ------------------------------------------------------------*/ +/** @defgroup FLASHEx_Private_Macros FLASHEx Private Macros + * @{ + */ + +/** @defgroup FLASHEx_IS_FLASH_Definitions FLASHEx Private macros to check input parameters + * @{ + */ +# 1041 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_flash_ex.h" +/** + * @} + */ + +/** + * @} + */ + +/* Private functions ---------------------------------------------------------*/ +/** @defgroup FLASHEx_Private_Functions FLASHEx Private Functions + * @{ + */ +void FLASH_Erase_Sector(uint32_t Sector, uint32_t Banks, uint32_t VoltageRange); +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + + +} +# 708 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_flash.h" 2 + +/* Exported functions --------------------------------------------------------*/ +/** @addtogroup FLASH_Exported_Functions + * @{ + */ +/** @addtogroup FLASH_Exported_Functions_Group1 + * @{ + */ +/* Program operation functions ***********************************************/ +HAL_StatusTypeDef HAL_FLASH_Program(uint32_t TypeProgram, uint32_t FlashAddress, uint32_t DataAddress); +HAL_StatusTypeDef HAL_FLASH_Program_IT(uint32_t TypeProgram, uint32_t FlashAddress, uint32_t DataAddress); +/* FLASH IRQ handler method */ +void HAL_FLASH_IRQHandler(void); +/* Callbacks in non blocking modes */ +void HAL_FLASH_EndOfOperationCallback(uint32_t ReturnValue); +void HAL_FLASH_OperationErrorCallback(uint32_t ReturnValue); +/** + * @} + */ + +/** @addtogroup FLASH_Exported_Functions_Group2 + * @{ + */ +/* Peripheral Control functions **********************************************/ +HAL_StatusTypeDef HAL_FLASH_Unlock(void); +HAL_StatusTypeDef HAL_FLASH_Lock(void); +HAL_StatusTypeDef HAL_FLASH_OB_Unlock(void); +HAL_StatusTypeDef HAL_FLASH_OB_Lock(void); +/* Option bytes control */ +HAL_StatusTypeDef HAL_FLASH_OB_Launch(void); +/** + * @} + */ + +/** @addtogroup FLASH_Exported_Functions_Group3 + * @{ + */ +/* Peripheral State functions ************************************************/ +uint32_t HAL_FLASH_GetError(void); +/** + * @} + */ + +/** + * @} + */ +/* Private types -------------------------------------------------------------*/ +/* Private variables ---------------------------------------------------------*/ +/** @defgroup FLASH_Private_Variables FLASH Private Variables + * @{ + */ +extern FLASH_ProcessTypeDef pFlash; +/** + * @} + */ +/* Private constants ---------------------------------------------------------*/ +/** @defgroup FLASH_Private_Constants FLASH Private Constants + * @{ + */ + +/** + * @} + */ + +/* Private macros ------------------------------------------------------------*/ +/** @defgroup FLASH_Private_Macros FLASH Private Macros + * @{ + */ +# 834 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_flash.h" +/** + * @} + */ +/* Private functions ---------------------------------------------------------*/ +/** @defgroup FLASH_Private_Functions FLASH Private functions + * @{ + */ +HAL_StatusTypeDef FLASH_WaitForLastOperation(uint32_t Timeout, uint32_t Bank); +HAL_StatusTypeDef FLASH_OB_WaitForLastOperation(uint32_t Timeout); +HAL_StatusTypeDef FLASH_CRC_WaitForLastOperation(uint32_t Timeout, uint32_t Bank); +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + + +} +# 339 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_gfxmmu.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_gfxmmu.h + * @author MCD Application Team + * @brief Header file of GFXMMU HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + + extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_gfxmmu.h" 2 +# 447 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_gfxmmu.h" +} +# 343 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_fmac.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_fmac.h + * @author MCD Application Team + * @brief Header for stm32h7xx_hal_fmac.c module + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_fmac.h" 2 +# 720 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_fmac.h" +} +# 347 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hrtim.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_hrtim.h + * @author MCD Application Team + * @brief Header file of HRTIM HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hrtim.h" 2 + + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup HRTIM HRTIM + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/** @addtogroup HRTIM_Exported_Constants HRTIM Exported Constants + * @{ + */ +/** @defgroup HRTIM_Max_Timer HRTIM Max Timer + * @{ + */ + +/** + * @} + */ +/** + * @} + */ + +/** @defgroup HRTIM_Exported_Types HRTIM Exported Types + * @{ + */ + +/** + * @brief HRTIM Configuration Structure definition - Time base related parameters + */ +typedef struct +{ + uint32_t HRTIMInterruptRequests; /*!< Specifies which interrupts requests must enabled for the HRTIM instance. + This parameter can be any combination of @ref HRTIM_Common_Interrupt_Enable */ + uint32_t SyncOptions; /*!< Specifies how the HRTIM instance handles the external synchronization signals. + The HRTIM instance can be configured to act as a slave (waiting for a trigger + to be synchronized) or a master (generating a synchronization signal) or both. + This parameter can be a combination of @ref HRTIM_Synchronization_Options.*/ + uint32_t SyncInputSource; /*!< Specifies the external synchronization input source (significant only when + the HRTIM instance is configured as a slave). + This parameter can be a value of @ref HRTIM_Synchronization_Input_Source. */ + uint32_t SyncOutputSource; /*!< Specifies the source and event to be sent on the external synchronization outputs + (significant only when the HRTIM instance is configured as a master). + This parameter can be a value of @ref HRTIM_Synchronization_Output_Source */ + uint32_t SyncOutputPolarity; /*!< Specifies the conditioning of the event to be sent on the external synchronization + outputs (significant only when the HRTIM instance is configured as a master). + This parameter can be a value of @ref HRTIM_Synchronization_Output_Polarity */ +} HRTIM_InitTypeDef; + +/** + * @brief HAL State structures definition + */ +typedef enum +{ + HAL_HRTIM_STATE_RESET = 0x00U, + HAL_HRTIM_STATE_READY = 0x01U, + HAL_HRTIM_STATE_BUSY = 0x02U, + HAL_HRTIM_STATE_TIMEOUT = 0x06U, + HAL_HRTIM_STATE_ERROR = 0x07U, + + + +} HAL_HRTIM_StateTypeDef; + +/** + * @brief HRTIM Timer Structure definition + */ +typedef struct +{ + uint32_t CaptureTrigger1; /*!< Event(s) triggering capture unit 1. + When the timer operates in Simple mode, this parameter can be a value of @ref HRTIM_External_Event_Channels. + When the timer operates in Waveform mode, this parameter can be a combination of @ref HRTIM_Capture_Unit_Trigger. */ + uint32_t CaptureTrigger2; /*!< Event(s) triggering capture unit 2. + When the timer operates in Simple mode, this parameter can be a value of @ref HRTIM_External_Event_Channels. + When the timer operates in Waveform mode, this parameter can be a combination of @ref HRTIM_Capture_Unit_Trigger. */ + uint32_t InterruptRequests; + uint32_t DMARequests; + uint32_t DMASrcAddress; + uint32_t DMADstAddress; + uint32_t DMASize; +} HRTIM_TimerParamTypeDef; + +/** + * @brief HRTIM Handle Structure definition + */ + + + +typedef struct + +{ + HRTIM_TypeDef *Instance; + + HRTIM_InitTypeDef Init; + + HRTIM_TimerParamTypeDef TimerParam[6U]; + + HAL_LockTypeDef Lock; + + volatile HAL_HRTIM_StateTypeDef State; + + DMA_HandleTypeDef *hdmaMaster; + DMA_HandleTypeDef *hdmaTimerA; + DMA_HandleTypeDef *hdmaTimerB; + DMA_HandleTypeDef *hdmaTimerC; + DMA_HandleTypeDef *hdmaTimerD; + DMA_HandleTypeDef *hdmaTimerE; +# 169 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hrtim.h" +} HRTIM_HandleTypeDef; + +/** + * @brief Simple output compare mode configuration definition + */ +typedef struct +{ + uint32_t Period; /*!< Specifies the timer period. + The period value must be above 3 periods of the fHRTIM clock. + Maximum value is = 0xFFDFU */ + uint32_t RepetitionCounter; /*!< Specifies the timer repetition period. + This parameter must be a number between Min_Data = 0x00 and Max_Data = 0xFF. */ + uint32_t PrescalerRatio; /*!< Specifies the timer clock prescaler ratio. + This parameter can be any value of @ref HRTIM_Prescaler_Ratio */ + uint32_t Mode; /*!< Specifies the counter operating mode. + This parameter can be any value of @ref HRTIM_Counter_Operating_Mode */ +} HRTIM_TimeBaseCfgTypeDef; + +/** + * @brief Simple output compare mode configuration definition + */ +typedef struct +{ + uint32_t Mode; /*!< Specifies the output compare mode (toggle, active, inactive). + This parameter can be any value of of @ref HRTIM_Simple_OC_Mode */ + uint32_t Pulse; /*!< Specifies the compare value to be loaded into the Compare Register. + The compare value must be above or equal to 3 periods of the fHRTIM clock */ + uint32_t Polarity; /*!< Specifies the output polarity. + This parameter can be any value of @ref HRTIM_Output_Polarity */ + uint32_t IdleLevel; /*!< Specifies whether the output level is active or inactive when in IDLE state. + This parameter can be any value of @ref HRTIM_Output_IDLE_Level */ +} HRTIM_SimpleOCChannelCfgTypeDef; + +/** + * @brief Simple PWM output mode configuration definition + */ +typedef struct +{ + uint32_t Pulse; /*!< Specifies the compare value to be loaded into the Compare Register. + The compare value must be above or equal to 3 periods of the fHRTIM clock */ + uint32_t Polarity; /*!< Specifies the output polarity. + This parameter can be any value of @ref HRTIM_Output_Polarity */ + uint32_t IdleLevel; /*!< Specifies whether the output level is active or inactive when in IDLE state. + This parameter can be any value of @ref HRTIM_Output_IDLE_Level */ +} HRTIM_SimplePWMChannelCfgTypeDef; + +/** + * @brief Simple capture mode configuration definition + */ +typedef struct +{ + uint32_t Event; /*!< Specifies the external event triggering the capture. + This parameter can be any 'EEVx' value of @ref HRTIM_External_Event_Channels */ + uint32_t EventPolarity; /*!< Specifies the polarity of the external event (in case of level sensitivity). + This parameter can be a value of @ref HRTIM_External_Event_Polarity */ + uint32_t EventSensitivity; /*!< Specifies the sensitivity of the external event. + This parameter can be a value of @ref HRTIM_External_Event_Sensitivity */ + uint32_t EventFilter; /*!< Defines the frequency used to sample the External Event and the length of the digital filter. + This parameter can be a value of @ref HRTIM_External_Event_Filter */ +} HRTIM_SimpleCaptureChannelCfgTypeDef; + +/** + * @brief Simple One Pulse mode configuration definition + */ +typedef struct +{ + uint32_t Pulse; /*!< Specifies the compare value to be loaded into the Compare Register. + The compare value must be above or equal to 3 periods of the fHRTIM clock */ + uint32_t OutputPolarity; /*!< Specifies the output polarity. + This parameter can be any value of @ref HRTIM_Output_Polarity */ + uint32_t OutputIdleLevel; /*!< Specifies whether the output level is active or inactive when in IDLE state. + This parameter can be any value of @ref HRTIM_Output_IDLE_Level */ + uint32_t Event; /*!< Specifies the external event triggering the pulse generation. + This parameter can be any 'EEVx' value of @ref HRTIM_External_Event_Channels */ + uint32_t EventPolarity; /*!< Specifies the polarity of the external event (in case of level sensitivity). + This parameter can be a value of @ref HRTIM_External_Event_Polarity */ + uint32_t EventSensitivity; /*!< Specifies the sensitivity of the external event. + This parameter can be a value of @ref HRTIM_External_Event_Sensitivity. */ + uint32_t EventFilter; /*!< Defines the frequency used to sample the External Event and the length of the digital filter. + This parameter can be a value of @ref HRTIM_External_Event_Filter */ +} HRTIM_SimpleOnePulseChannelCfgTypeDef; + +/** + * @brief Timer configuration definition + */ +typedef struct +{ + uint32_t InterruptRequests; /*!< Relevant for all HRTIM timers, including the master. + Specifies which interrupts requests must enabled for the timer. + This parameter can be any combination of @ref HRTIM_Master_Interrupt_Enable + or @ref HRTIM_Timing_Unit_Interrupt_Enable */ + uint32_t DMARequests; /*!< Relevant for all HRTIM timers, including the master. + Specifies which DMA requests must be enabled for the timer. + This parameter can be any combination of @ref HRTIM_Master_DMA_Request_Enable + or @ref HRTIM_Timing_Unit_DMA_Request_Enable */ + uint32_t DMASrcAddress; /*!< Relevant for all HRTIM timers, including the master. + Specifies the address of the source address of the DMA transfer */ + uint32_t DMADstAddress; /*!< Relevant for all HRTIM timers, including the master. + Specifies the address of the destination address of the DMA transfer */ + uint32_t DMASize; /*!< Relevant for all HRTIM timers, including the master. + Specifies the size of the DMA transfer */ + uint32_t HalfModeEnable; /*!< Relevant for all HRTIM timers, including the master. + Specifies whether or not half mode is enabled + This parameter can be any value of @ref HRTIM_Half_Mode_Enable */ + uint32_t StartOnSync; /*!< Relevant for all HRTIM timers, including the master. + Specifies whether or not timer is reset by a rising edge on the synchronization input (when enabled). + This parameter can be any value of @ref HRTIM_Start_On_Sync_Input_Event */ + uint32_t ResetOnSync; /*!< Relevant for all HRTIM timers, including the master. + Specifies whether or not timer is reset by a rising edge on the synchronization input (when enabled). + This parameter can be any value of @ref HRTIM_Reset_On_Sync_Input_Event */ + uint32_t DACSynchro; /*!< Relevant for all HRTIM timers, including the master. + Indicates whether or not the a DAC synchronization event is generated. + This parameter can be any value of @ref HRTIM_DAC_Synchronization */ + uint32_t PreloadEnable; /*!< Relevant for all HRTIM timers, including the master. + Specifies whether or not register preload is enabled. + This parameter can be any value of @ref HRTIM_Register_Preload_Enable */ + uint32_t UpdateGating; /*!< Relevant for all HRTIM timers, including the master. + Specifies how the update occurs with respect to a burst DMA transaction or + update enable inputs (Slave timers only). + This parameter can be any value of @ref HRTIM_Update_Gating */ + uint32_t BurstMode; /*!< Relevant for all HRTIM timers, including the master. + Specifies how the timer behaves during a burst mode operation. + This parameter can be any value of @ref HRTIM_Timer_Burst_Mode */ + uint32_t RepetitionUpdate; /*!< Relevant for all HRTIM timers, including the master. + Specifies whether or not registers update is triggered by the repetition event. + This parameter can be any value of @ref HRTIM_Timer_Repetition_Update */ + uint32_t PushPull; /*!< Relevant for Timer A to Timer E. + Specifies whether or not the push-pull mode is enabled. + This parameter can be any value of @ref HRTIM_Timer_Push_Pull_Mode */ + uint32_t FaultEnable; /*!< Relevant for Timer A to Timer E. + Specifies which fault channels are enabled for the timer. + This parameter can be a combination of @ref HRTIM_Timer_Fault_Enabling */ + uint32_t FaultLock; /*!< Relevant for Timer A to Timer E. + Specifies whether or not fault enabling status is write protected. + This parameter can be a value of @ref HRTIM_Timer_Fault_Lock */ + uint32_t DeadTimeInsertion; /*!< Relevant for Timer A to Timer E. + Specifies whether or not dead-time insertion is enabled for the timer. + This parameter can be a value of @ref HRTIM_Timer_Deadtime_Insertion */ + uint32_t DelayedProtectionMode; /*!< Relevant for Timer A to Timer E. + Specifies the delayed protection mode. + This parameter can be a value of @ref HRTIM_Timer_Delayed_Protection_Mode */ + uint32_t UpdateTrigger; /*!< Relevant for Timer A to Timer E. + Specifies source(s) triggering the timer registers update. + This parameter can be a combination of @ref HRTIM_Timer_Update_Trigger */ + uint32_t ResetTrigger; /*!< Relevant for Timer A to Timer E. + Specifies source(s) triggering the timer counter reset. + This parameter can be a combination of @ref HRTIM_Timer_Reset_Trigger */ + uint32_t ResetUpdate; /*!< Relevant for Timer A to Timer E. + Specifies whether or not registers update is triggered when the timer counter is reset. + This parameter can be a value of @ref HRTIM_Timer_Reset_Update */ +} HRTIM_TimerCfgTypeDef; + +/** + * @brief Compare unit configuration definition + */ +typedef struct +{ + uint32_t CompareValue; /*!< Specifies the compare value of the timer compare unit. + The minimum value must be greater than or equal to 3 periods of the fHRTIM clock. + The maximum value must be less than or equal to 0xFFFFU - 1 periods of the fHRTIM clock */ + uint32_t AutoDelayedMode; /*!< Specifies the auto delayed mode for compare unit 2 or 4. + This parameter can be a value of @ref HRTIM_Compare_Unit_Auto_Delayed_Mode */ + uint32_t AutoDelayedTimeout; /*!< Specifies compare value for timing unit 1 or 3 when auto delayed mode with time out is selected. + CompareValue + AutoDelayedTimeout must be less than 0xFFFFU */ +} HRTIM_CompareCfgTypeDef; + +/** + * @brief Capture unit configuration definition + */ +typedef struct +{ + uint32_t Trigger; /*!< Specifies source(s) triggering the capture. + This parameter can be a combination of @ref HRTIM_Capture_Unit_Trigger */ +} HRTIM_CaptureCfgTypeDef; + +/** + * @brief Output configuration definition + */ +typedef struct +{ + uint32_t Polarity; /*!< Specifies the output polarity. + This parameter can be any value of @ref HRTIM_Output_Polarity */ + uint32_t SetSource; /*!< Specifies the event(s) transitioning the output from its inactive level to its active level. + This parameter can be a combination of @ref HRTIM_Output_Set_Source */ + uint32_t ResetSource; /*!< Specifies the event(s) transitioning the output from its active level to its inactive level. + This parameter can be a combination of @ref HRTIM_Output_Reset_Source */ + uint32_t IdleMode; /*!< Specifies whether or not the output is affected by a burst mode operation. + This parameter can be any value of @ref HRTIM_Output_Idle_Mode */ + uint32_t IdleLevel; /*!< Specifies whether the output level is active or inactive when in IDLE state. + This parameter can be any value of @ref HRTIM_Output_IDLE_Level */ + uint32_t FaultLevel; /*!< Specifies whether the output level is active or inactive when in FAULT state. + This parameter can be any value of @ref HRTIM_Output_FAULT_Level */ + uint32_t ChopperModeEnable; /*!< Indicates whether or not the chopper mode is enabled + This parameter can be any value of @ref HRTIM_Output_Chopper_Mode_Enable */ + uint32_t BurstModeEntryDelayed; /*!< Indicates whether or not dead-time is inserted when entering the IDLE state during a burst mode operation. + This parameters can be any value of @ref HRTIM_Output_Burst_Mode_Entry_Delayed */ +} HRTIM_OutputCfgTypeDef; + +/** + * @brief External event filtering in timing units configuration definition + */ +typedef struct +{ + uint32_t Filter; /*!< Specifies the type of event filtering within the timing unit. + This parameter can be a value of @ref HRTIM_Timer_External_Event_Filter */ + uint32_t Latch; /*!< Specifies whether or not the signal is latched. + This parameter can be a value of @ref HRTIM_Timer_External_Event_Latch */ +} HRTIM_TimerEventFilteringCfgTypeDef; + +/** + * @brief Dead time feature configuration definition + */ +typedef struct +{ + uint32_t Prescaler; /*!< Specifies the dead-time prescaler. + This parameter can be a value of @ref HRTIM_Deadtime_Prescaler_Ratio */ + uint32_t RisingValue; /*!< Specifies the dead-time following a rising edge. + This parameter can be a number between 0x0 and 0x1FFU */ + uint32_t RisingSign; /*!< Specifies whether the dead-time is positive or negative on rising edge. + This parameter can be a value of @ref HRTIM_Deadtime_Rising_Sign */ + uint32_t RisingLock; /*!< Specifies whether or not dead-time rising settings (value and sign) are write protected. + This parameter can be a value of @ref HRTIM_Deadtime_Rising_Lock */ + uint32_t RisingSignLock; /*!< Specifies whether or not dead-time rising sign is write protected. + This parameter can be a value of @ref HRTIM_Deadtime_Rising_Sign_Lock */ + uint32_t FallingValue; /*!< Specifies the dead-time following a falling edge. + This parameter can be a number between 0x0 and 0x1FFU */ + uint32_t FallingSign; /*!< Specifies whether the dead-time is positive or negative on falling edge. + This parameter can be a value of @ref HRTIM_Deadtime_Falling_Sign */ + uint32_t FallingLock; /*!< Specifies whether or not dead-time falling settings (value and sign) are write protected. + This parameter can be a value of @ref HRTIM_Deadtime_Falling_Lock */ + uint32_t FallingSignLock; /*!< Specifies whether or not dead-time falling sign is write protected. + This parameter can be a value of @ref HRTIM_Deadtime_Falling_Sign_Lock */ +} HRTIM_DeadTimeCfgTypeDef; + +/** + * @brief Chopper mode configuration definition + */ +typedef struct +{ + uint32_t CarrierFreq; /*!< Specifies the Timer carrier frequency value. + This parameter can be a value of @ref HRTIM_Chopper_Frequency */ + uint32_t DutyCycle; /*!< Specifies the Timer chopper duty cycle value. + This parameter can be a value of @ref HRTIM_Chopper_Duty_Cycle */ + uint32_t StartPulse; /*!< Specifies the Timer pulse width value. + This parameter can be a value of @ref HRTIM_Chopper_Start_Pulse_Width */ +} HRTIM_ChopperModeCfgTypeDef; + +/** + * @brief External event channel configuration definition + */ +typedef struct +{ + uint32_t Source; /*!< Identifies the source of the external event. + This parameter can be a value of @ref HRTIM_External_Event_Sources */ + uint32_t Polarity; /*!< Specifies the polarity of the external event (in case of level sensitivity). + This parameter can be a value of @ref HRTIM_External_Event_Polarity */ + uint32_t Sensitivity; /*!< Specifies the sensitivity of the external event. + This parameter can be a value of @ref HRTIM_External_Event_Sensitivity */ + uint32_t Filter; /*!< Defines the frequency used to sample the External Event and the length of the digital filter. + This parameter can be a value of @ref HRTIM_External_Event_Filter */ + uint32_t FastMode; /*!< Indicates whether or not low latency mode is enabled for the external event. + This parameter can be a value of @ref HRTIM_External_Event_Fast_Mode */ +} HRTIM_EventCfgTypeDef; + +/** + * @brief Fault channel configuration definition + */ +typedef struct +{ + uint32_t Source; /*!< Identifies the source of the fault. + This parameter can be a value of @ref HRTIM_Fault_Sources */ + uint32_t Polarity; /*!< Specifies the polarity of the fault event. + This parameter can be a value of @ref HRTIM_Fault_Polarity */ + uint32_t Filter; /*!< Defines the frequency used to sample the Fault input and the length of the digital filter. + This parameter can be a value of @ref HRTIM_Fault_Filter */ + uint32_t Lock; /*!< Indicates whether or not fault programming bits are write protected. + This parameter can be a value of @ref HRTIM_Fault_Lock */ +} HRTIM_FaultCfgTypeDef; + +/** + * @brief Burst mode configuration definition + */ +typedef struct +{ + uint32_t Mode; /*!< Specifies the burst mode operating mode. + This parameter can be a value of @ref HRTIM_Burst_Mode_Operating_Mode */ + uint32_t ClockSource; /*!< Specifies the burst mode clock source. + This parameter can be a value of @ref HRTIM_Burst_Mode_Clock_Source */ + uint32_t Prescaler; /*!< Specifies the burst mode prescaler. + This parameter can be a value of @ref HRTIM_Burst_Mode_Prescaler */ + uint32_t PreloadEnable; /*!< Specifies whether or not preload is enabled for burst mode related registers (HRTIM_BMCMPR and HRTIM_BMPER). + This parameter can be a combination of @ref HRTIM_Burst_Mode_Register_Preload_Enable */ + uint32_t Trigger; /*!< Specifies the event(s) triggering the burst operation. + This parameter can be a combination of @ref HRTIM_Burst_Mode_Trigger */ + uint32_t IdleDuration; /*!< Specifies number of periods during which the selected timers are in idle state. + This parameter can be a number between 0x0 and 0xFFFF */ + uint32_t Period; /*!< Specifies burst mode repetition period. + This parameter can be a number between 0x1 and 0xFFFF */ +} HRTIM_BurstModeCfgTypeDef; + +/** + * @brief ADC trigger configuration definition + */ +typedef struct +{ + uint32_t UpdateSource; /*!< Specifies the ADC trigger update source. + This parameter can be a value of @ref HRTIM_ADC_Trigger_Update_Source */ + uint32_t Trigger; /*!< Specifies the event(s) triggering the ADC conversion. + This parameter can be a combination of @ref HRTIM_ADC_Trigger_Event */ +} HRTIM_ADCTriggerCfgTypeDef; +# 525 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hrtim.h" +/** + * @} + */ + +/* Exported constants --------------------------------------------------------*/ +/** @defgroup HRTIM_Exported_Constants HRTIM Exported Constants + * @{ + */ + +/** @defgroup HRTIM_Timer_Index HRTIM Timer Index + * @{ + * @brief Constants defining the timer indexes + */ + + + + + + + +/** + * @} + */ + +/** @defgroup HRTIM_Timer_identifier HRTIM Timer identifier + * @{ + * @brief Constants defining timer identifiers + */ + + + + + + +/** + * @} + */ + +/** @defgroup HRTIM_Compare_Unit HRTIM Compare Unit + * @{ + * @brief Constants defining compare unit identifiers + */ + + + + +/** + * @} + */ + +/** @defgroup HRTIM_Capture_Unit HRTIM Capture Unit + * @{ + * @brief Constants defining capture unit identifiers + */ + + +/** + * @} + */ + +/** @defgroup HRTIM_Timer_Output HRTIM Timer Output + * @{ + * @brief Constants defining timer output identifiers + */ +# 599 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hrtim.h" +/** + * @} + */ + +/** @defgroup HRTIM_ADC_Trigger HRTIM ADC Trigger + * @{ + * @brief Constants defining ADC triggers identifiers + */ +# 617 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hrtim.h" +/** + * @} + */ +/** @defgroup HRTIM_External_Event_Channels HRTIM External Event Channels + * @{ + * @brief Constants defining external event channel identifiers + */ +# 635 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hrtim.h" +/** + * @} + */ + +/** @defgroup HRTIM_Fault_Channel HRTIM Fault Channel + * @{ + * @brief Constants defining fault channel identifiers + */ + + + + + +/** + * @} + */ + + +/** @defgroup HRTIM_Prescaler_Ratio HRTIM Prescaler Ratio + * @{ + * @brief Constants defining timer high-resolution clock prescaler ratio. + */ + + + +/** + * @} + */ + +/** @defgroup HRTIM_Counter_Operating_Mode HRTIM Counter Operating Mode + * @{ + * @brief Constants defining timer counter operating mode. + */ + + + +/** + * @} + */ + +/** @defgroup HRTIM_Half_Mode_Enable HRTIM Half Mode Enable + * @{ + * @brief Constants defining half mode enabling status. + */ + + +/** + * @} + */ + +/** @defgroup HRTIM_Start_On_Sync_Input_Event HRTIM Start On Sync Input Event + * @{ + * @brief Constants defining the timer behavior following the synchronization event + */ + + +/** + * @} + */ + +/** @defgroup HRTIM_Reset_On_Sync_Input_Event HRTIM Reset On Sync Input Event + * @{ + * @brief Constants defining the timer behavior following the synchronization event + */ + + +/** + * @} + */ + +/** @defgroup HRTIM_DAC_Synchronization HRTIM DAC Synchronization + * @{ + * @brief Constants defining on which output the DAC synchronization event is sent + */ + + + + +/** + * @} + */ + +/** @defgroup HRTIM_Register_Preload_Enable HRTIM Register Preload Enable + * @{ + * @brief Constants defining whether a write access into a preloadable + * register is done into the active or the preload register. + */ + + +/** + * @} + */ + +/** @defgroup HRTIM_Update_Gating HRTIM Update Gating + * @{ + * @brief Constants defining how the update occurs relatively to the burst DMA + * transaction and the external update request on update enable inputs 1 to 3. + */ +# 742 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hrtim.h" +/** + * @} + */ + +/** @defgroup HRTIM_Timer_Burst_Mode HRTIM Timer Burst Mode + * @{ + * @brief Constants defining how the timer behaves during a burst + mode operation. + */ + + +/** + * @} + */ + +/** @defgroup HRTIM_Timer_Repetition_Update HRTIM Timer Repetition Update + * @{ + * @brief Constants defining whether registers are updated when the timer + * repetition period is completed (either due to roll-over or + * reset events) + */ + + +/** + * @} + */ + + +/** @defgroup HRTIM_Timer_Push_Pull_Mode HRTIM Timer Push Pull Mode + * @{ + * @brief Constants defining whether or not the push-pull mode is enabled for + * a timer. + */ + + +/** + * @} + */ + +/** @defgroup HRTIM_Timer_Fault_Enabling HRTIM Timer Fault Enabling + * @{ + * @brief Constants defining whether a fault channel is enabled for a timer + */ + + + + + + +/** + * @} + */ + +/** @defgroup HRTIM_Timer_Fault_Lock HRTIM Timer Fault Lock + * @{ + * @brief Constants defining whether or not fault enabling bits are write + * protected for a timer + */ + + +/** + * @} + */ + +/** @defgroup HRTIM_Timer_Deadtime_Insertion HRTIM Timer Dead-time Insertion + * @{ + * @brief Constants defining whether or not fault the dead time insertion + * feature is enabled for a timer + */ + + +/** + * @} + */ + +/** @defgroup HRTIM_Timer_Delayed_Protection_Mode HRTIM Timer Delayed Protection Mode + * @{ + * @brief Constants defining all possible delayed protection modes + * for a timer. Also define the source and outputs on which the delayed + * protection schemes are applied + */ +# 842 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hrtim.h" +/** + * @} + */ + +/** @defgroup HRTIM_Timer_Update_Trigger HRTIM Timer Update Trigger + * @{ + * @brief Constants defining whether the registers update is done synchronously + * with any other timer or master update + */ + + + + + + + +/** + * @} + */ + +/** @defgroup HRTIM_Timer_Reset_Trigger HRTIM Timer Reset Trigger + * @{ + * @brief Constants defining the events that can be selected to trigger the reset + * of the timer counter + */ +# 898 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hrtim.h" +/** + * @} + */ + +/** @defgroup HRTIM_Timer_Reset_Update HRTIM Timer Reset Update + * @{ + * @brief Constants defining whether the register are updated upon Timerx + * counter reset or roll-over to 0 after reaching the period value + * in continuous mode + */ + + +/** + * @} + */ + +/** @defgroup HRTIM_Compare_Unit_Auto_Delayed_Mode HRTIM Compare Unit Auto Delayed Mode + * @{ + * @brief Constants defining whether the compare register is behaving in + * regular mode (compare match issued as soon as counter equal compare), + * or in auto-delayed mode + */ + + + + +/** + * @} + */ + +/** @defgroup HRTIM_Simple_OC_Mode HRTIM Simple OC Mode + * @{ + * @brief Constants defining the behavior of the output signal when the timer + operates in basic output compare mode + */ +# 941 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hrtim.h" +/** + * @} + */ + +/** @defgroup HRTIM_Output_Polarity HRTIM Output Polarity + * @{ + * @brief Constants defining the polarity of a timer output + */ + + +/** + * @} + */ + +/** @defgroup HRTIM_Output_Set_Source HRTIM Output Set Source + * @{ + * @brief Constants defining the events that can be selected to configure the + * set crossbar of a timer output + */ +# 992 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hrtim.h" +/** + * @} + */ + +/** @defgroup HRTIM_Output_Reset_Source HRTIM Output Reset Source + * @{ + * @brief Constants defining the events that can be selected to configure the + * reset crossbar of a timer output + */ +# 1033 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hrtim.h" +/** + * @} + */ + +/** @defgroup HRTIM_Output_Idle_Mode HRTIM Output Idle Mode + * @{ + * @brief Constants defining whether or not the timer output transition to its + IDLE state when burst mode is entered + */ + + +/** + * @} + */ + +/** @defgroup HRTIM_Output_IDLE_Level HRTIM Output IDLE Level + * @{ + * @brief Constants defining the output level when output is in IDLE state + */ + + +/** + * @} + */ + +/** @defgroup HRTIM_Output_FAULT_Level HRTIM Output FAULT Level + * @{ + * @brief Constants defining the output level when output is in FAULT state + */ + + + + +/** + * @} + */ + +/** @defgroup HRTIM_Output_Chopper_Mode_Enable HRTIM Output Chopper Mode Enable + * @{ + * @brief Constants defining whether or not chopper mode is enabled for a timer + output + */ + + +/** + * @} + */ + +/** @defgroup HRTIM_Output_Burst_Mode_Entry_Delayed HRTIM Output Burst Mode Entry Delayed + * @{ + * @brief Constants defining the idle mode entry is delayed by forcing a + dead-time insertion before switching the outputs to their idle state + */ + + +/** + * @} + */ + + +/** @defgroup HRTIM_Capture_Unit_Trigger HRTIM Capture Unit Trigger + * @{ + * @brief Constants defining the events that can be selected to trigger the + * capture of the timing unit counter + */ +# 1130 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hrtim.h" +/** + * @} + */ + +/** @defgroup HRTIM_Timer_External_Event_Filter HRTIM Timer External Event Filter + * @{ + * @brief Constants defining the event filtering applied to external events + * by a timer + */ +# 1155 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hrtim.h" +/** + * @} + */ + +/** @defgroup HRTIM_Timer_External_Event_Latch HRTIM Timer External Event Latch + * @{ + * @brief Constants defining whether or not the external event is + * memorized (latched) and generated as soon as the blanking period + * is completed or the window ends + */ + + +/** + * @} + */ + +/** @defgroup HRTIM_Deadtime_Prescaler_Ratio HRTIM Dead-time Prescaler Ratio + * @{ + * @brief Constants defining division ratio between the timer clock frequency + * (fHRTIM) and the dead-time generator clock (fDTG) + */ + + + + + +/** + * @} + */ + +/** @defgroup HRTIM_Deadtime_Rising_Sign HRTIM Dead-time Rising Sign + * @{ + * @brief Constants defining whether the dead-time is positive or negative + * (overlapping signal) on rising edge + */ + + +/** + * @} + */ + +/** @defgroup HRTIM_Deadtime_Rising_Lock HRTIM Dead-time Rising Lock + * @{ + * @brief Constants defining whether or not the dead-time (rising sign and + * value) is write protected + */ + + +/** + * @} + */ + +/** @defgroup HRTIM_Deadtime_Rising_Sign_Lock HRTIM Dead-time Rising Sign Lock + * @{ + * @brief Constants defining whether or not the dead-time rising sign is write + * protected + */ + + +/** + * @} + */ + +/** @defgroup HRTIM_Deadtime_Falling_Sign HRTIM Dead-time Falling Sign + * @{ + * @brief Constants defining whether the dead-time is positive or negative + * (overlapping signal) on falling edge + */ + + +/** + * @} + */ + +/** @defgroup HRTIM_Deadtime_Falling_Lock HRTIM Dead-time Falling Lock + * @{ + * @brief Constants defining whether or not the dead-time (falling sign and + * value) is write protected + */ + + +/** + * @} + */ + +/** @defgroup HRTIM_Deadtime_Falling_Sign_Lock HRTIM Dead-time Falling Sign Lock + * @{ + * @brief Constants defining whether or not the dead-time falling sign is write + * protected + */ + + +/** + * @} + */ + +/** @defgroup HRTIM_Chopper_Frequency HRTIM Chopper Frequency + * @{ + * @brief Constants defining the frequency of the generated high frequency carrier + */ +# 1271 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hrtim.h" +/** + * @} + */ + +/** @defgroup HRTIM_Chopper_Duty_Cycle HRTIM Chopper Duty Cycle + * @{ + * @brief Constants defining the duty cycle of the generated high frequency carrier + * Duty cycle can be adjusted by 1/8 step (from 0/8 up to 7/8) + */ +# 1288 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hrtim.h" +/** + * @} + */ + +/** @defgroup HRTIM_Chopper_Start_Pulse_Width HRTIM Chopper Start Pulse Width + * @{ + * @brief Constants defining the pulse width of the first pulse of the generated + * high frequency carrier + */ +# 1313 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hrtim.h" +/** + * @} + */ + +/** @defgroup HRTIM_Synchronization_Options HRTIM Synchronization Options + * @{ + * @brief Constants defining the options for synchronizing multiple HRTIM + * instances, as a master unit (generating a synchronization signal) + * or as a slave (waiting for a trigger to be synchronized) + */ + + + +/** + * @} + */ + +/** @defgroup HRTIM_Synchronization_Input_Source HRTIM Synchronization Input Source + * @{ + * @brief Constants defining defining the synchronization input source + */ + + + +/** + * @} + */ + +/** @defgroup HRTIM_Synchronization_Output_Source HRTIM Synchronization Output Source + * @{ + * @brief Constants defining the source and event to be sent on the + * synchronization outputs + */ + + + + +/** + * @} + */ + +/** @defgroup HRTIM_Synchronization_Output_Polarity HRTIM Synchronization Output Polarity + * @{ + * @brief Constants defining the routing and conditioning of the synchronization output event + */ + + + +/** + * @} + */ + +/** @defgroup HRTIM_External_Event_Sources HRTIM External Event Sources + * @{ + * @brief Constants defining available sources associated to external events + */ + + + + +/** + * @} + */ + +/** @defgroup HRTIM_External_Event_Polarity HRTIM External Event Polarity + * @{ + * @brief Constants defining the polarity of an external event + */ + + +/** + * @} + */ + +/** @defgroup HRTIM_External_Event_Sensitivity HRTIM External Event Sensitivity + * @{ + * @brief Constants defining the sensitivity (level-sensitive or edge-sensitive) + * of an external event + */ + + + + +/** + * @} + */ + +/** @defgroup HRTIM_External_Event_Fast_Mode HRTIM External Event Fast Mode + * @{ + * @brief Constants defining whether or not an external event is programmed in + fast mode + */ + + +/** + * @} + */ + +/** @defgroup HRTIM_External_Event_Filter HRTIM External Event Filter + * @{ + * @brief Constants defining the frequency used to sample an external event 6 + * input and the length (N) of the digital filter applied + */ +# 1432 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hrtim.h" +/** + * @} + */ + +/** @defgroup HRTIM_External_Event_Prescaler HRTIM External Event Prescaler + * @{ + * @brief Constants defining division ratio between the timer clock frequency + * fHRTIM) and the external event signal sampling clock (fEEVS) + * used by the digital filters + */ + + + + +/** + * @} + */ + +/** @defgroup HRTIM_Fault_Sources HRTIM Fault Sources + * @{ + * @brief Constants defining whether a fault is triggered by any external + * or internal fault source + */ + + +/** + * @} + */ + +/** @defgroup HRTIM_Fault_Polarity HRTIM Fault Polarity + * @{ + * @brief Constants defining the polarity of a fault event + */ + + +/** + * @} + */ + +/** @defgroup HRTIM_Fault_Filter HRTIM Fault Filter + * @{ + * @ brief Constants defining the frequency used to sample the fault input and + * the length (N) of the digital filter applied + */ +# 1492 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hrtim.h" +/** + * @} + */ + +/** @defgroup HRTIM_Fault_Lock HRTIM Fault Lock + * @{ + * @brief Constants defining whether or not the fault programming bits are + write protected + */ + + +/** + * @} + */ + +/** @defgroup HRTIM_External_Fault_Prescaler HRTIM External Fault Prescaler + * @{ + * @brief Constants defining the division ratio between the timer clock + * frequency (fHRTIM) and the fault signal sampling clock (fFLTS) used + * by the digital filters. + */ + + + + +/** + * @} + */ + +/** @defgroup HRTIM_Burst_Mode_Operating_Mode HRTIM Burst Mode Operating Mode + * @{ + * @brief Constants defining if the burst mode is entered once or if it is + * continuously operating + */ + + +/** + * @} + */ + +/** @defgroup HRTIM_Burst_Mode_Clock_Source HRTIM Burst Mode Clock Source + * @{ + * @brief Constants defining the clock source for the burst mode counter + */ +# 1546 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hrtim.h" +/** + * @} + */ + +/** @defgroup HRTIM_Burst_Mode_Prescaler HRTIM Burst Mode Prescaler + * @{ + * @brief Constants defining the prescaling ratio of the fHRTIM clock + * for the burst mode controller + */ +# 1571 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hrtim.h" +/** + * @} + */ + +/** @defgroup HRTIM_Burst_Mode_Register_Preload_Enable HRTIM Burst Mode Register Preload Enable + * @{ + * @brief Constants defining whether or not burst mode registers preload + mechanism is enabled, i.e. a write access into a preloadable register + (HRTIM_BMCMPR, HRTIM_BMPER) is done into the active or the preload register + */ + + +/** + * @} + */ + +/** @defgroup HRTIM_Burst_Mode_Trigger HRTIM Burst Mode Trigger + * @{ + * @brief Constants defining the events that can be used to trig the burst + * mode operation + */ +# 1624 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hrtim.h" +/** + * @} + */ + +/** @defgroup HRTIM_ADC_Trigger_Update_Source HRTIM ADC Trigger Update Source + * @{ + * @brief constants defining the source triggering the update of the + HRTIM_ADCxR register (transfer from preload to active register). + */ + + + + + + +/** + * @} + */ + +/** @defgroup HRTIM_ADC_Trigger_Event HRTIM ADC Trigger Event + * @{ + * @brief constants defining the events triggering ADC conversion. + * HRTIM_ADCTRIGGEREVENT13_*: ADC Triggers 1 and 3 + * HRTIM_ADCTRIGGEREVENT24_*: ADC Triggers 2 and 4 + */ +# 1717 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hrtim.h" +/** + * @} + */ + +/** @defgroup HRTIM_Burst_DMA_Registers_Update HRTIM Burst DMA Registers Update + * @{ + * @brief Constants defining the registers that can be written during a burst + * DMA operation + */ +# 1748 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hrtim.h" +/** + * @} + */ + +/** @defgroup HRTIM_Burst_Mode_Control HRTIM Burst Mode Control + * @{ + * @brief Constants used to enable or disable the burst mode controller + */ + + +/** + * @} + */ + +/** @defgroup HRTIM_Fault_Mode_Control HRTIM Fault Mode Control + * @{ + * @brief Constants used to enable or disable a fault channel + */ + + +/** + * @} + */ + +/** @defgroup HRTIM_Software_Timer_Update HRTIM Software Timer Update + * @{ + * @brief Constants used to force timer registers update + */ + + + + + + +/** + * @} + */ + +/** @defgroup HRTIM_Software_Timer_Reset HRTIM Software Timer Reset + * @{ + * @brief Constants used to force timer counter reset + */ + + + + + + +/** + * @} + */ + +/** @defgroup HRTIM_Output_Level HRTIM Output Level + * @{ + * @brief Constants defining the level of a timer output + */ + + + + + + +/** + * @} + */ + +/** @defgroup HRTIM_Output_State HRTIM Output State + * @{ + * @brief Constants defining the state of a timer output + */ + + + + + + +/** + * @} + */ + +/** @defgroup HRTIM_Burst_Mode_Status HRTIM Burst Mode Status + * @{ + * @brief Constants defining the operating state of the burst mode controller + */ + + +/** + * @} + */ + +/** @defgroup HRTIM_Current_Push_Pull_Status HRTIM Current Push Pull Status + * @{ + * @brief Constants defining on which output the signal is currently applied + * in push-pull mode + */ + + +/** + * @} + */ + +/** @defgroup HRTIM_Idle_Push_Pull_Status HRTIM Idle Push Pull Status + * @{ + * @brief Constants defining on which output the signal was applied, in + * push-pull mode balanced fault mode or delayed idle mode, when the + * protection was triggered + */ + + +/** + * @} + */ + +/** @defgroup HRTIM_Common_Interrupt_Enable HRTIM Common Interrupt Enable + * @{ + */ +# 1872 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hrtim.h" +/** + * @} + */ + +/** @defgroup HRTIM_Master_Interrupt_Enable HRTIM Master Interrupt Enable + * @{ + */ +# 1887 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hrtim.h" +/** + * @} + */ + +/** @defgroup HRTIM_Timing_Unit_Interrupt_Enable HRTIM Timing Unit Interrupt Enable + * @{ + */ +# 1909 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hrtim.h" +/** + * @} + */ + +/** @defgroup HRTIM_Common_Interrupt_Flag HRTIM Common Interrupt Flag + * @{ + */ + + + + + + + +/** + * @} + */ + +/** @defgroup HRTIM_Master_Interrupt_Flag HRTIM Master Interrupt Flag + * @{ + */ + + + + + + + +/** + * @} + */ + +/** @defgroup HRTIM_Timing_Unit_Interrupt_Flag HRTIM Timing Unit Interrupt Flag + * @{ + */ +# 1958 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hrtim.h" +/** + * @} + */ + +/** @defgroup HRTIM_Master_DMA_Request_Enable HRTIM Master DMA Request Enable + * @{ + */ +# 1973 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hrtim.h" +/** + * @} + */ + +/** @defgroup HRTIM_Timing_Unit_DMA_Request_Enable HRTIM Timing Unit DMA Request Enable + * @{ + */ +# 1995 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hrtim.h" +/** + * @} + */ + +/** + * @} + */ + +/* Private macros --------------------------------------------------------*/ +/** @addtogroup HRTIM_Private_Macros + * @{ + */ +# 2182 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hrtim.h" +/* Auto delayed mode is only available for compare units 2 and 4U */ +# 2739 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hrtim.h" +/** + * @} + */ + +/* Exported macros -----------------------------------------------------------*/ +/** @defgroup HRTIM_Exported_Macros HRTIM Exported Macros + * @{ + */ + +/** @brief Reset HRTIM handle state + * @param __HANDLE__ HRTIM handle. + * @retval None + */ +# 2762 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hrtim.h" +/** @brief Enables or disables the timer counter(s) + * @param __HANDLE__ specifies the HRTIM Handle. + * @param __TIMERS__ timers to enable/disable + * This parameter can be any combinations of the following values: + * @arg HRTIM_TIMERID_MASTER: Master timer identifier + * @arg HRTIM_TIMERID_TIMER_A: Timer A identifier + * @arg HRTIM_TIMERID_TIMER_B: Timer B identifier + * @arg HRTIM_TIMERID_TIMER_C: Timer C identifier + * @arg HRTIM_TIMERID_TIMER_D: Timer D identifier + * @arg HRTIM_TIMERID_TIMER_E: Timer E identifier + * @retval None + */ + + +/* The counter of a timing unit is disabled only if all the timer outputs */ +/* are disabled and no capture is configured */ +# 2827 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hrtim.h" +/** @brief Enables or disables the specified HRTIM common interrupts. + * @param __HANDLE__ specifies the HRTIM Handle. + * @param __INTERRUPT__ specifies the interrupt source to enable or disable. + * This parameter can be one of the following values: + * @arg HRTIM_IT_FLT1: Fault 1 interrupt enable + * @arg HRTIM_IT_FLT2: Fault 2 interrupt enable + * @arg HRTIM_IT_FLT3: Fault 3 interrupt enable + * @arg HRTIM_IT_FLT4: Fault 4 interrupt enable + * @arg HRTIM_IT_FLT5: Fault 5 interrupt enable + * @arg HRTIM_IT_SYSFLT: System Fault interrupt enable + * @arg HRTIM_IT_BMPER: Burst mode period interrupt enable + * @retval None + */ + + + +/** @brief Enables or disables the specified HRTIM Master timer interrupts. + * @param __HANDLE__ specifies the HRTIM Handle. + * @param __INTERRUPT__ specifies the interrupt source to enable or disable. + * This parameter can be one of the following values: + * @arg HRTIM_MASTER_IT_MCMP1: Master compare 1 interrupt enable + * @arg HRTIM_MASTER_IT_MCMP2: Master compare 2 interrupt enable + * @arg HRTIM_MASTER_IT_MCMP3: Master compare 3 interrupt enable + * @arg HRTIM_MASTER_IT_MCMP4: Master compare 4 interrupt enable + * @arg HRTIM_MASTER_IT_MREP: Master Repetition interrupt enable + * @arg HRTIM_MASTER_IT_SYNC: Synchronization input interrupt enable + * @arg HRTIM_MASTER_IT_MUPD: Master update interrupt enable + * @retval None + */ + + + + + +/** @brief Enables or disables the specified HRTIM Timerx interrupts. + * @param __HANDLE__ specifies the HRTIM Handle. + * @param __TIMER__ specified the timing unit (Timer A to E) + * @param __INTERRUPT__ specifies the interrupt source to enable or disable. + * This parameter can be one of the following values: + * @arg HRTIM_TIM_IT_CMP1: Timer compare 1 interrupt enable + * @arg HRTIM_TIM_IT_CMP2: Timer compare 2 interrupt enable + * @arg HRTIM_TIM_IT_CMP3: Timer compare 3 interrupt enable + * @arg HRTIM_TIM_IT_CMP4: Timer compare 4 interrupt enable + * @arg HRTIM_TIM_IT_REP: Timer repetition interrupt enable + * @arg HRTIM_TIM_IT_UPD: Timer update interrupt enable + * @arg HRTIM_TIM_IT_CPT1: Timer capture 1 interrupt enable + * @arg HRTIM_TIM_IT_CPT2: Timer capture 2 interrupt enable + * @arg HRTIM_TIM_IT_SET1: Timer output 1 set interrupt enable + * @arg HRTIM_TIM_IT_RST1: Timer output 1 reset interrupt enable + * @arg HRTIM_TIM_IT_SET2: Timer output 2 set interrupt enable + * @arg HRTIM_TIM_IT_RST2: Timer output 2 reset interrupt enable + * @arg HRTIM_TIM_IT_RST: Timer reset interrupt enable + * @arg HRTIM_TIM_IT_DLYPRT: Timer delay protection interrupt enable + * @retval None + */ + + + +/** @brief Checks if the specified HRTIM common interrupt source is enabled or disabled. + * @param __HANDLE__ specifies the HRTIM Handle. + * @param __INTERRUPT__ specifies the interrupt source to check. + * This parameter can be one of the following values: + * @arg HRTIM_IT_FLT1: Fault 1 interrupt enable + * @arg HRTIM_IT_FLT2: Fault 2 interrupt enable + * @arg HRTIM_IT_FLT3: Fault 3 enable + * @arg HRTIM_IT_FLT4: Fault 4 enable + * @arg HRTIM_IT_FLT5: Fault 5 enable + * @arg HRTIM_IT_SYSFLT: System Fault interrupt enable + * @arg HRTIM_IT_BMPER: Burst mode period interrupt enable + * @retval The new state of __INTERRUPT__ (TRUE or FALSE). + */ + + + +/** @brief Checks if the specified HRTIM Master interrupt source is enabled or disabled. + * @param __HANDLE__ specifies the HRTIM Handle. + * @param __INTERRUPT__ specifies the interrupt source to check. + * This parameter can be one of the following values: + * @arg HRTIM_MASTER_IT_MCMP1: Master compare 1 interrupt enable + * @arg HRTIM_MASTER_IT_MCMP2: Master compare 2 interrupt enable + * @arg HRTIM_MASTER_IT_MCMP3: Master compare 3 interrupt enable + * @arg HRTIM_MASTER_IT_MCMP4: Master compare 4 interrupt enable + * @arg HRTIM_MASTER_IT_MREP: Master Repetition interrupt enable + * @arg HRTIM_MASTER_IT_SYNC: Synchronization input interrupt enable + * @arg HRTIM_MASTER_IT_MUPD: Master update interrupt enable + * @retval The new state of __INTERRUPT__ (TRUE or FALSE). + */ + + + +/** @brief Checks if the specified HRTIM Timerx interrupt source is enabled or disabled. + * @param __HANDLE__ specifies the HRTIM Handle. + * @param __TIMER__ specified the timing unit (Timer A to E) + * @param __INTERRUPT__ specifies the interrupt source to check. + * This parameter can be one of the following values: + * @arg HRTIM_MASTER_IT_MCMP1: Master compare 1 interrupt enable + * @arg HRTIM_MASTER_IT_MCMP2: Master compare 2 interrupt enable + * @arg HRTIM_MASTER_IT_MCMP3: Master compare 3 interrupt enable + * @arg HRTIM_MASTER_IT_MCMP4: Master compare 4 interrupt enable + * @arg HRTIM_MASTER_IT_MREP: Master Repetition interrupt enable + * @arg HRTIM_MASTER_IT_SYNC: Synchronization input interrupt enable + * @arg HRTIM_MASTER_IT_MUPD: Master update interrupt enable + * @arg HRTIM_TIM_IT_CMP1: Timer compare 1 interrupt enable + * @arg HRTIM_TIM_IT_CMP2: Timer compare 2 interrupt enable + * @arg HRTIM_TIM_IT_CMP3: Timer compare 3 interrupt enable + * @arg HRTIM_TIM_IT_CMP4: Timer compare 4 interrupt enable + * @arg HRTIM_TIM_IT_REP: Timer repetition interrupt enable + * @arg HRTIM_TIM_IT_UPD: Timer update interrupt enable + * @arg HRTIM_TIM_IT_CPT1: Timer capture 1 interrupt enable + * @arg HRTIM_TIM_IT_CPT2: Timer capture 2 interrupt enable + * @arg HRTIM_TIM_IT_SET1: Timer output 1 set interrupt enable + * @arg HRTIM_TIM_IT_RST1: Timer output 1 reset interrupt enable + * @arg HRTIM_TIM_IT_SET2: Timer output 2 set interrupt enable + * @arg HRTIM_TIM_IT_RST2: Timer output 2 reset interrupt enable + * @arg HRTIM_TIM_IT_RST: Timer reset interrupt enable + * @arg HRTIM_TIM_IT_DLYPRT: Timer delay protection interrupt enable + * @retval The new state of __INTERRUPT__ (TRUE or FALSE). + */ + + + +/** @brief Clears the specified HRTIM common pending flag. + * @param __HANDLE__ specifies the HRTIM Handle. + * @param __INTERRUPT__ specifies the interrupt pending bit to clear. + * This parameter can be one of the following values: + * @arg HRTIM_IT_FLT1: Fault 1 interrupt clear flag + * @arg HRTIM_IT_FLT2: Fault 2 interrupt clear flag + * @arg HRTIM_IT_FLT3: Fault 3 clear flag + * @arg HRTIM_IT_FLT4: Fault 4 clear flag + * @arg HRTIM_IT_FLT5: Fault 5 clear flag + * @arg HRTIM_IT_SYSFLT: System Fault interrupt clear flag + * @arg HRTIM_IT_BMPER: Burst mode period interrupt clear flag + * @retval None + */ + + +/** @brief Clears the specified HRTIM Master pending flag. + * @param __HANDLE__ specifies the HRTIM Handle. + * @param __INTERRUPT__ specifies the interrupt pending bit to clear. + * This parameter can be one of the following values: + * @arg HRTIM_MASTER_IT_MCMP1: Master compare 1 interrupt clear flag + * @arg HRTIM_MASTER_IT_MCMP2: Master compare 2 interrupt clear flag + * @arg HRTIM_MASTER_IT_MCMP3: Master compare 3 interrupt clear flag + * @arg HRTIM_MASTER_IT_MCMP4: Master compare 4 interrupt clear flag + * @arg HRTIM_MASTER_IT_MREP: Master Repetition interrupt clear flag + * @arg HRTIM_MASTER_IT_SYNC: Synchronization input interrupt clear flag + * @arg HRTIM_MASTER_IT_MUPD: Master update interrupt clear flag + * @retval None + */ + + + +/** @brief Clears the specified HRTIM Timerx pending flag. + * @param __HANDLE__ specifies the HRTIM Handle. + * @param __TIMER__ specified the timing unit (Timer A to E) + * @param __INTERRUPT__ specifies the interrupt pending bit to clear. + * This parameter can be one of the following values: + * @arg HRTIM_TIM_IT_CMP1: Timer compare 1 interrupt clear flag + * @arg HRTIM_TIM_IT_CMP2: Timer compare 2 interrupt clear flag + * @arg HRTIM_TIM_IT_CMP3: Timer compare 3 interrupt clear flag + * @arg HRTIM_TIM_IT_CMP4: Timer compare 4 interrupt clear flag + * @arg HRTIM_TIM_IT_REP: Timer repetition interrupt clear flag + * @arg HRTIM_TIM_IT_UPD: Timer update interrupt clear flag + * @arg HRTIM_TIM_IT_CPT1: Timer capture 1 interrupt clear flag + * @arg HRTIM_TIM_IT_CPT2: Timer capture 2 interrupt clear flag + * @arg HRTIM_TIM_IT_SET1: Timer output 1 set interrupt clear flag + * @arg HRTIM_TIM_IT_RST1: Timer output 1 reset interrupt clear flag + * @arg HRTIM_TIM_IT_SET2: Timer output 2 set interrupt clear flag + * @arg HRTIM_TIM_IT_RST2: Timer output 2 reset interrupt clear flag + * @arg HRTIM_TIM_IT_RST: Timer reset interrupt clear flag + * @arg HRTIM_TIM_IT_DLYPRT: Timer output 1 delay protection interrupt clear flag + * @retval None + */ + + + +/* DMA HANDLING */ +/** @brief Enables or disables the specified HRTIM Master timer DMA requests. + * @param __HANDLE__ specifies the HRTIM Handle. + * @param __DMA__ specifies the DMA request to enable or disable. + * This parameter can be one of the following values: + * @arg HRTIM_MASTER_DMA_MCMP1: Master compare 1 DMA request enable + * @arg HRTIM_MASTER_DMA_MCMP2: Master compare 2 DMA request enable + * @arg HRTIM_MASTER_DMA_MCMP3: Master compare 3 DMA request enable + * @arg HRTIM_MASTER_DMA_MCMP4: Master compare 4 DMA request enable + * @arg HRTIM_MASTER_DMA_MREP: Master Repetition DMA request enable + * @arg HRTIM_MASTER_DMA_SYNC: Synchronization input DMA request enable + * @arg HRTIM_MASTER_DMA_MUPD: Master update DMA request enable + * @retval None + */ + + + +/** @brief Enables or disables the specified HRTIM Timerx DMA requests. + * @param __HANDLE__ specifies the HRTIM Handle. + * @param __TIMER__ specified the timing unit (Timer A to E) + * @param __DMA__ specifies the DMA request to enable or disable. + * This parameter can be one of the following values: + * @arg HRTIM_TIM_DMA_CMP1: Timer compare 1 DMA request enable + * @arg HRTIM_TIM_DMA_CMP2: Timer compare 2 DMA request enable + * @arg HRTIM_TIM_DMA_CMP3: Timer compare 3 DMA request enable + * @arg HRTIM_TIM_DMA_CMP4: Timer compare 4 DMA request enable + * @arg HRTIM_TIM_DMA_REP: Timer repetition DMA request enable + * @arg HRTIM_TIM_DMA_UPD: Timer update DMA request enable + * @arg HRTIM_TIM_DMA_CPT1: Timer capture 1 DMA request enable + * @arg HRTIM_TIM_DMA_CPT2: Timer capture 2 DMA request enable + * @arg HRTIM_TIM_DMA_SET1: Timer output 1 set DMA request enable + * @arg HRTIM_TIM_DMA_RST1: Timer output 1 reset DMA request enable + * @arg HRTIM_TIM_DMA_SET2: Timer output 2 set DMA request enable + * @arg HRTIM_TIM_DMA_RST2: Timer output 2 reset DMA request enable + * @arg HRTIM_TIM_DMA_RST: Timer reset DMA request enable + * @arg HRTIM_TIM_DMA_DLYPRT: Timer delay protection DMA request enable + * @retval None + */ +# 3057 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hrtim.h" +/** @brief Sets the HRTIM timer Counter Register value on runtime + * @param __HANDLE__ HRTIM Handle. + * @param __TIMER__ HRTIM timer + * This parameter can be one of the following values: + * @arg 0x5 for master timer + * @arg 0x0 to 0x4 for timers A to E + * @param __COUNTER__ specifies the Counter Register new value. + * @retval None + */ + + + + +/** @brief Gets the HRTIM timer Counter Register value on runtime + * @param __HANDLE__ HRTIM Handle. + * @param __TIMER__ HRTIM timer + * This parameter can be one of the following values: + * @arg 0x5 for master timer + * @arg 0x0 to 0x4 for timers A to E + * @retval HRTIM timer Counter Register value + */ + + + + +/** @brief Sets the HRTIM timer Period value on runtime + * @param __HANDLE__ HRTIM Handle. + * @param __TIMER__ HRTIM timer + * This parameter can be one of the following values: + * @arg 0x5 for master timer + * @arg 0x0 to 0x4 for timers A to E + * @param __PERIOD__ specifies the Period Register new value. + * @retval None + */ + + + + +/** @brief Gets the HRTIM timer Period Register value on runtime + * @param __HANDLE__ HRTIM Handle. + * @param __TIMER__ HRTIM timer + * This parameter can be one of the following values: + * @arg 0x5 for master timer + * @arg 0x0 to 0x4 for timers A to E + * @retval timer Period Register + */ + + + + +/** @brief Sets the HRTIM timer clock prescaler value on runtime + * @param __HANDLE__ HRTIM Handle. + * @param __TIMER__ HRTIM timer + * This parameter can be one of the following values: + * @arg 0x5 for master timer + * @arg 0x0 to 0x4 for timers A to E + * @param __PRESCALER__ specifies the clock prescaler new value. + * This parameter can be one of the following values: + * @arg HRTIM_PRESCALERRATIO_DIV1: fHRCK: 144 MHz - Resolution: 6.95 ns - Min PWM frequency: 2.2 kHz (fHRTIM=144MHz) + * @arg HRTIM_PRESCALERRATIO_DIV2: fHRCK: 72 MHz - Resolution: 13.88 ns- Min PWM frequency: 1.1 kHz (fHRTIM=144MHz) + * @arg HRTIM_PRESCALERRATIO_DIV4: fHRCK: 36 MHz - Resolution: 27.7 ns- Min PWM frequency: 550Hz (fHRTIM=144MHz) + * @retval None + */ + + + + +/** @brief Gets the HRTIM timer clock prescaler value on runtime + * @param __HANDLE__ HRTIM Handle. + * @param __TIMER__ HRTIM timer + * This parameter can be one of the following values: + * @arg 0x5 for master timer + * @arg 0x0 to 0x4 for timers A to E + * @retval timer clock prescaler value + */ + + + + +/** @brief Sets the HRTIM timer Compare Register value on runtime + * @param __HANDLE__ HRTIM Handle. + * @param __TIMER__ HRTIM timer + * This parameter can be one of the following values: + * @arg 0x0 to 0x4 for timers A to E + * @param __COMPAREUNIT__ timer compare unit + * This parameter can be one of the following values: + * @arg HRTIM_COMPAREUNIT_1: Compare unit 1 + * @arg HRTIM_COMPAREUNIT_2: Compare unit 2 + * @arg HRTIM_COMPAREUNIT_3: Compare unit 3 + * @arg HRTIM_COMPAREUNIT_4: Compare unit 4 + * @param __COMPARE__ specifies the Compare new value. + * @retval None + */ +# 3162 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hrtim.h" +/** @brief Gets the HRTIM timer Compare Register value on runtime + * @param __HANDLE__ HRTIM Handle. + * @param __TIMER__ HRTIM timer + * This parameter can be one of the following values: + * @arg 0x0 to 0x4 for timers A to E + * @param __COMPAREUNIT__ timer compare unit + * This parameter can be one of the following values: + * @arg HRTIM_COMPAREUNIT_1: Compare unit 1 + * @arg HRTIM_COMPAREUNIT_2: Compare unit 2 + * @arg HRTIM_COMPAREUNIT_3: Compare unit 3 + * @arg HRTIM_COMPAREUNIT_4: Compare unit 4 + * @retval Compare value + */ +# 3187 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hrtim.h" +/** + * @} + */ + +/* Exported functions --------------------------------------------------------*/ +/** @addtogroup HRTIM_Exported_Functions + * @{ + */ + +/** @addtogroup HRTIM_Exported_Functions_Group1 + * @{ + */ + +/* Initialization and Configuration functions ********************************/ +HAL_StatusTypeDef HAL_HRTIM_Init(HRTIM_HandleTypeDef *hhrtim); + +HAL_StatusTypeDef HAL_HRTIM_DeInit(HRTIM_HandleTypeDef *hhrtim); + +void HAL_HRTIM_MspInit(HRTIM_HandleTypeDef *hhrtim); + +void HAL_HRTIM_MspDeInit(HRTIM_HandleTypeDef *hhrtim); + +HAL_StatusTypeDef HAL_HRTIM_TimeBaseConfig(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx, + const HRTIM_TimeBaseCfgTypeDef *pTimeBaseCfg); +/** + * @} + */ + +/** @addtogroup HRTIM_Exported_Functions_Group2 + * @{ + */ + +/* Simple time base related functions *****************************************/ +HAL_StatusTypeDef HAL_HRTIM_SimpleBaseStart(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx); + +HAL_StatusTypeDef HAL_HRTIM_SimpleBaseStop(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx); + +HAL_StatusTypeDef HAL_HRTIM_SimpleBaseStart_IT(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx); + +HAL_StatusTypeDef HAL_HRTIM_SimpleBaseStop_IT(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx); + +HAL_StatusTypeDef HAL_HRTIM_SimpleBaseStart_DMA(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx, + uint32_t SrcAddr, + uint32_t DestAddr, + uint32_t Length); + +HAL_StatusTypeDef HAL_HRTIM_SimpleBaseStop_DMA(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx); + +/** + * @} + */ + +/** @addtogroup HRTIM_Exported_Functions_Group3 + * @{ + */ +/* Simple output compare related functions ************************************/ +HAL_StatusTypeDef HAL_HRTIM_SimpleOCChannelConfig(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx, + uint32_t OCChannel, + const HRTIM_SimpleOCChannelCfgTypeDef *pSimpleOCChannelCfg); + +HAL_StatusTypeDef HAL_HRTIM_SimpleOCStart(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx, + uint32_t OCChannel); + +HAL_StatusTypeDef HAL_HRTIM_SimpleOCStop(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx, + uint32_t OCChannel); + +HAL_StatusTypeDef HAL_HRTIM_SimpleOCStart_IT(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx, + uint32_t OCChannel); + +HAL_StatusTypeDef HAL_HRTIM_SimpleOCStop_IT(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx, + uint32_t OCChannel); + +HAL_StatusTypeDef HAL_HRTIM_SimpleOCStart_DMA(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx, + uint32_t OCChannel, + uint32_t SrcAddr, + uint32_t DestAddr, + uint32_t Length); + +HAL_StatusTypeDef HAL_HRTIM_SimpleOCStop_DMA(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx, + uint32_t OCChannel); + +/** + * @} + */ + +/** @addtogroup HRTIM_Exported_Functions_Group4 + * @{ + */ +/* Simple PWM output related functions ****************************************/ +HAL_StatusTypeDef HAL_HRTIM_SimplePWMChannelConfig(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx, + uint32_t PWMChannel, + const HRTIM_SimplePWMChannelCfgTypeDef *pSimplePWMChannelCfg); + +HAL_StatusTypeDef HAL_HRTIM_SimplePWMStart(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx, + uint32_t PWMChannel); + +HAL_StatusTypeDef HAL_HRTIM_SimplePWMStop(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx, + uint32_t PWMChannel); + +HAL_StatusTypeDef HAL_HRTIM_SimplePWMStart_IT(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx, + uint32_t PWMChannel); + +HAL_StatusTypeDef HAL_HRTIM_SimplePWMStop_IT(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx, + uint32_t PWMChannel); + +HAL_StatusTypeDef HAL_HRTIM_SimplePWMStart_DMA(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx, + uint32_t PWMChannel, + uint32_t SrcAddr, + uint32_t DestAddr, + uint32_t Length); + +HAL_StatusTypeDef HAL_HRTIM_SimplePWMStop_DMA(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx, + uint32_t PWMChannel); + +/** + * @} + */ + +/** @addtogroup HRTIM_Exported_Functions_Group5 + * @{ + */ +/* Simple capture related functions *******************************************/ +HAL_StatusTypeDef HAL_HRTIM_SimpleCaptureChannelConfig(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx, + uint32_t CaptureChannel, + const HRTIM_SimpleCaptureChannelCfgTypeDef *pSimpleCaptureChannelCfg); + +HAL_StatusTypeDef HAL_HRTIM_SimpleCaptureStart(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx, + uint32_t CaptureChannel); + +HAL_StatusTypeDef HAL_HRTIM_SimpleCaptureStop(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx, + uint32_t CaptureChannel); + +HAL_StatusTypeDef HAL_HRTIM_SimpleCaptureStart_IT(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx, + uint32_t CaptureChannel); + +HAL_StatusTypeDef HAL_HRTIM_SimpleCaptureStop_IT(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx, + uint32_t CaptureChannel); + +HAL_StatusTypeDef HAL_HRTIM_SimpleCaptureStart_DMA(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx, + uint32_t CaptureChannel, + uint32_t SrcAddr, + uint32_t DestAddr, + uint32_t Length); + +HAL_StatusTypeDef HAL_HRTIM_SimpleCaptureStop_DMA(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx, + uint32_t CaptureChannel); + +/** + * @} + */ + +/** @addtogroup HRTIM_Exported_Functions_Group6 + * @{ + */ +/* Simple one pulse related functions *****************************************/ +HAL_StatusTypeDef HAL_HRTIM_SimpleOnePulseChannelConfig(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx, + uint32_t OnePulseChannel, + const HRTIM_SimpleOnePulseChannelCfgTypeDef *pSimpleOnePulseChannelCfg); + +HAL_StatusTypeDef HAL_HRTIM_SimpleOnePulseStart(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx, + uint32_t OnePulseChannel); + +HAL_StatusTypeDef HAL_HRTIM_SimpleOnePulseStop(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx, + uint32_t OnePulseChannel); + +HAL_StatusTypeDef HAL_HRTIM_SimpleOnePulseStart_IT(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx, + uint32_t OnePulseChannel); + +HAL_StatusTypeDef HAL_HRTIM_SimpleOnePulseStop_IT(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx, + uint32_t OnePulseChannel); + +/** + * @} + */ + +/** @addtogroup HRTIM_Exported_Functions_Group7 + * @{ + */ +HAL_StatusTypeDef HAL_HRTIM_BurstModeConfig(HRTIM_HandleTypeDef *hhrtim, + const HRTIM_BurstModeCfgTypeDef *pBurstModeCfg); + +HAL_StatusTypeDef HAL_HRTIM_EventConfig(HRTIM_HandleTypeDef *hhrtim, + uint32_t Event, + const HRTIM_EventCfgTypeDef *pEventCfg); + +HAL_StatusTypeDef HAL_HRTIM_EventPrescalerConfig(HRTIM_HandleTypeDef *hhrtim, + uint32_t Prescaler); + +HAL_StatusTypeDef HAL_HRTIM_FaultConfig(HRTIM_HandleTypeDef *hhrtim, + uint32_t Fault, + const HRTIM_FaultCfgTypeDef *pFaultCfg); + +HAL_StatusTypeDef HAL_HRTIM_FaultPrescalerConfig(HRTIM_HandleTypeDef *hhrtim, + uint32_t Prescaler); + +void HAL_HRTIM_FaultModeCtl(HRTIM_HandleTypeDef *hhrtim, + uint32_t Faults, + uint32_t Enable); + +HAL_StatusTypeDef HAL_HRTIM_ADCTriggerConfig(HRTIM_HandleTypeDef *hhrtim, + uint32_t ADCTrigger, + const HRTIM_ADCTriggerCfgTypeDef *pADCTriggerCfg); + +/** + * @} + */ + +/** @addtogroup HRTIM_Exported_Functions_Group8 + * @{ + */ +/* Waveform related functions *************************************************/ +HAL_StatusTypeDef HAL_HRTIM_WaveformTimerConfig(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx, + const HRTIM_TimerCfgTypeDef *pTimerCfg); + +HAL_StatusTypeDef HAL_HRTIM_WaveformCompareConfig(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx, + uint32_t CompareUnit, + const HRTIM_CompareCfgTypeDef *pCompareCfg); + +HAL_StatusTypeDef HAL_HRTIM_WaveformCaptureConfig(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx, + uint32_t CaptureUnit, + const HRTIM_CaptureCfgTypeDef *pCaptureCfg); + +HAL_StatusTypeDef HAL_HRTIM_WaveformOutputConfig(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx, + uint32_t Output, + const HRTIM_OutputCfgTypeDef *pOutputCfg); + +HAL_StatusTypeDef HAL_HRTIM_WaveformSetOutputLevel(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx, + uint32_t Output, + uint32_t OutputLevel); + +HAL_StatusTypeDef HAL_HRTIM_TimerEventFilteringConfig(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx, + uint32_t Event, + const HRTIM_TimerEventFilteringCfgTypeDef *pTimerEventFilteringCfg); + +HAL_StatusTypeDef HAL_HRTIM_DeadTimeConfig(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx, + const HRTIM_DeadTimeCfgTypeDef *pDeadTimeCfg); + +HAL_StatusTypeDef HAL_HRTIM_ChopperModeConfig(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx, + const HRTIM_ChopperModeCfgTypeDef *pChopperModeCfg); + +HAL_StatusTypeDef HAL_HRTIM_BurstDMAConfig(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx, + uint32_t RegistersToUpdate); + + +HAL_StatusTypeDef HAL_HRTIM_WaveformCountStart(HRTIM_HandleTypeDef *hhrtim, + uint32_t Timers); + +HAL_StatusTypeDef HAL_HRTIM_WaveformCountStop(HRTIM_HandleTypeDef *hhrtim, + uint32_t Timers); + +HAL_StatusTypeDef HAL_HRTIM_WaveformCountStart_IT(HRTIM_HandleTypeDef *hhrtim, + uint32_t Timers); + +HAL_StatusTypeDef HAL_HRTIM_WaveformCountStop_IT(HRTIM_HandleTypeDef *hhrtim, + uint32_t Timers); + +HAL_StatusTypeDef HAL_HRTIM_WaveformCountStart_DMA(HRTIM_HandleTypeDef *hhrtim, + uint32_t Timers); + +HAL_StatusTypeDef HAL_HRTIM_WaveformCountStop_DMA(HRTIM_HandleTypeDef *hhrtim, + uint32_t Timers); + +HAL_StatusTypeDef HAL_HRTIM_WaveformOutputStart(HRTIM_HandleTypeDef *hhrtim, + uint32_t OutputsToStart); + +HAL_StatusTypeDef HAL_HRTIM_WaveformOutputStop(HRTIM_HandleTypeDef *hhrtim, + uint32_t OutputsToStop); + +HAL_StatusTypeDef HAL_HRTIM_BurstModeCtl(HRTIM_HandleTypeDef *hhrtim, + uint32_t Enable); + +HAL_StatusTypeDef HAL_HRTIM_BurstModeSoftwareTrigger(HRTIM_HandleTypeDef *hhrtim); + +HAL_StatusTypeDef HAL_HRTIM_SoftwareCapture(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx, + uint32_t CaptureUnit); + +HAL_StatusTypeDef HAL_HRTIM_SoftwareUpdate(HRTIM_HandleTypeDef *hhrtim, + uint32_t Timers); + +HAL_StatusTypeDef HAL_HRTIM_SoftwareReset(HRTIM_HandleTypeDef *hhrtim, + uint32_t Timers); + +HAL_StatusTypeDef HAL_HRTIM_BurstDMATransfer(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx, + uint32_t BurstBufferAddress, + uint32_t BurstBufferLength); + +HAL_StatusTypeDef HAL_HRTIM_UpdateEnable(HRTIM_HandleTypeDef *hhrtim, + uint32_t Timers); + +HAL_StatusTypeDef HAL_HRTIM_UpdateDisable(HRTIM_HandleTypeDef *hhrtim, + uint32_t Timers); + +/** + * @} + */ + +/** @addtogroup HRTIM_Exported_Functions_Group9 + * @{ + */ +/* HRTIM peripheral state functions */ +HAL_HRTIM_StateTypeDef HAL_HRTIM_GetState(const HRTIM_HandleTypeDef *hhrtim); + +uint32_t HAL_HRTIM_GetCapturedValue(const HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx, + uint32_t CaptureUnit); + +uint32_t HAL_HRTIM_WaveformGetOutputLevel(const HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx, + uint32_t Output); + +uint32_t HAL_HRTIM_WaveformGetOutputState(const HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx, + uint32_t Output); + +uint32_t HAL_HRTIM_GetDelayedProtectionStatus(const HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx, + uint32_t Output); + +uint32_t HAL_HRTIM_GetBurstStatus(const HRTIM_HandleTypeDef *hhrtim); + +uint32_t HAL_HRTIM_GetCurrentPushPullStatus(const HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx); + +uint32_t HAL_HRTIM_GetIdlePushPullStatus(const HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx); + +/** + * @} + */ + +/** @addtogroup HRTIM_Exported_Functions_Group10 + * @{ + */ +/* IRQ handler */ +void HAL_HRTIM_IRQHandler(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx); + +/* HRTIM events related callback functions */ +void HAL_HRTIM_Fault1Callback(HRTIM_HandleTypeDef *hhrtim); +void HAL_HRTIM_Fault2Callback(HRTIM_HandleTypeDef *hhrtim); +void HAL_HRTIM_Fault3Callback(HRTIM_HandleTypeDef *hhrtim); +void HAL_HRTIM_Fault4Callback(HRTIM_HandleTypeDef *hhrtim); +void HAL_HRTIM_Fault5Callback(HRTIM_HandleTypeDef *hhrtim); +void HAL_HRTIM_SystemFaultCallback(HRTIM_HandleTypeDef *hhrtim); +void HAL_HRTIM_BurstModePeriodCallback(HRTIM_HandleTypeDef *hhrtim); +void HAL_HRTIM_SynchronizationEventCallback(HRTIM_HandleTypeDef *hhrtim); + +/* Timer events related callback functions */ +void HAL_HRTIM_RegistersUpdateCallback(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx); +void HAL_HRTIM_RepetitionEventCallback(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx); +void HAL_HRTIM_Compare1EventCallback(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx); +void HAL_HRTIM_Compare2EventCallback(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx); +void HAL_HRTIM_Compare3EventCallback(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx); +void HAL_HRTIM_Compare4EventCallback(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx); +void HAL_HRTIM_Capture1EventCallback(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx); +void HAL_HRTIM_Capture2EventCallback(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx); +void HAL_HRTIM_DelayedProtectionCallback(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx); +void HAL_HRTIM_CounterResetCallback(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx); +void HAL_HRTIM_Output1SetCallback(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx); +void HAL_HRTIM_Output1ResetCallback(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx); +void HAL_HRTIM_Output2SetCallback(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx); +void HAL_HRTIM_Output2ResetCallback(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx); +void HAL_HRTIM_BurstDMATransferCallback(HRTIM_HandleTypeDef *hhrtim, + uint32_t TimerIdx); +void HAL_HRTIM_ErrorCallback(HRTIM_HandleTypeDef *hhrtim); +# 3627 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hrtim.h" +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + + + + +} +# 351 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hsem.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_hsem.h + * @author MCD Application Team + * @brief Header file of HSEM HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hsem.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup HSEM + * @{ + */ + +/* Exported macro ------------------------------------------------------------*/ +/** @defgroup HSEM_Exported_Macros HSEM Exported Macros + * @{ + */ + +/** + * @brief SemID to mask helper Macro. + * @param __SEMID__: semaphore ID from 0 to 31 + * @retval Semaphore Mask. + */ + + +/** + * @brief Enables the specified HSEM interrupts. + * @param __SEM_MASK__: semaphores Mask + * @retval None. + */ + + + + + + + +/** + * @brief Disables the specified HSEM interrupts. + * @param __SEM_MASK__: semaphores Mask + * @retval None. + */ +# 75 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hsem.h" +/** + * @brief Checks whether interrupt has occurred or not for semaphores specified by a mask. + * @param __SEM_MASK__: semaphores Mask + * @retval semaphores Mask : Semaphores where an interrupt occurred. + */ +# 88 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hsem.h" +/** + * @brief Get the semaphores release status flags. + * @param __SEM_MASK__: semaphores Mask + * @retval semaphores Mask : Semaphores where Release flags rise. + */ +# 101 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hsem.h" +/** + * @brief Clears the HSEM Interrupt flags. + * @param __SEM_MASK__: semaphores Mask + * @retval None. + */ +# 114 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hsem.h" +/** + * @} + */ + +/* Exported functions --------------------------------------------------------*/ +/** @defgroup HSEM_Exported_Functions HSEM Exported Functions + * @{ + */ + +/** @addtogroup HSEM_Exported_Functions_Group1 Take and Release functions + * @brief HSEM Take and Release functions + * @{ + */ + +/* HSEM semaphore take (lock) using 2-Step method ****************************/ +HAL_StatusTypeDef HAL_HSEM_Take(uint32_t SemID, uint32_t ProcessID); +/* HSEM semaphore fast take (lock) using 1-Step method ***********************/ +HAL_StatusTypeDef HAL_HSEM_FastTake(uint32_t SemID); +/* HSEM Release **************************************************************/ +void HAL_HSEM_Release(uint32_t SemID, uint32_t ProcessID); +/* HSEM Release All************************************************************/ +void HAL_HSEM_ReleaseAll(uint32_t Key, uint32_t CoreID); +/* HSEM Check semaphore state Taken or not **********************************/ +uint32_t HAL_HSEM_IsSemTaken(uint32_t SemID); + +/** + * @} + */ + +/** @addtogroup HSEM_Exported_Functions_Group2 HSEM Set and Get Key functions + * @brief HSEM Set and Get Key functions. + * @{ + */ +/* HSEM Set Clear Key *********************************************************/ +void HAL_HSEM_SetClearKey(uint32_t Key); +/* HSEM Get Clear Key *********************************************************/ +uint32_t HAL_HSEM_GetClearKey(void); +/** + * @} + */ + +/** @addtogroup HSEM_Exported_Functions_Group3 + * @brief HSEM Notification functions + * @{ + */ +/* HSEM Activate HSEM Notification (When a semaphore is released) ) *****************/ +void HAL_HSEM_ActivateNotification(uint32_t SemMask); +/* HSEM Deactivate HSEM Notification (When a semaphore is released) ****************/ +void HAL_HSEM_DeactivateNotification(uint32_t SemMask); +/* HSEM Free Callback (When a semaphore is released) *******************************/ +void HAL_HSEM_FreeCallback(uint32_t SemMask); +/* HSEM IRQ Handler **********************************************************/ +void HAL_HSEM_IRQHandler(void); + +/** + * @} + */ + +/** + * @} + */ + +/* Private macros ------------------------------------------------------------*/ +/** @defgroup HSEM_Private_Macros HSEM Private Macros + * @{ + */ +# 195 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hsem.h" +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + + +} +# 355 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sram.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_sram.h + * @author MCD Application Team + * @brief Header file of SRAM HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_fmc.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_ll_fmc.h + * @author MCD Application Team + * @brief Header file of FMC HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_fmc.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup FMC_LL + * @{ + */ + +/** @addtogroup FMC_LL_Private_Macros + * @{ + */ +# 167 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_fmc.h" +/** + * @} + */ + +/* Exported typedef ----------------------------------------------------------*/ + +/** @defgroup FMC_LL_Exported_typedef FMC Low Layer Exported Types + * @{ + */ +# 187 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_fmc.h" +/** + * @brief FMC NORSRAM Configuration Structure definition + */ +typedef struct +{ + uint32_t NSBank; /*!< Specifies the NORSRAM memory device that will be used. + This parameter can be a value of @ref FMC_NORSRAM_Bank */ + + uint32_t DataAddressMux; /*!< Specifies whether the address and data values are + multiplexed on the data bus or not. + This parameter can be a value of @ref FMC_Data_Address_Bus_Multiplexing*/ + + uint32_t MemoryType; /*!< Specifies the type of external memory attached to + the corresponding memory device. + This parameter can be a value of @ref FMC_Memory_Type */ + + uint32_t MemoryDataWidth; /*!< Specifies the external memory device width. + This parameter can be a value of @ref FMC_NORSRAM_Data_Width */ + + uint32_t BurstAccessMode; /*!< Enables or disables the burst access mode for Flash memory, + valid only with synchronous burst Flash memories. + This parameter can be a value of @ref FMC_Burst_Access_Mode */ + + uint32_t WaitSignalPolarity; /*!< Specifies the wait signal polarity, valid only when accessing + the Flash memory in burst mode. + This parameter can be a value of @ref FMC_Wait_Signal_Polarity */ + + uint32_t WaitSignalActive; /*!< Specifies if the wait signal is asserted by the memory one + clock cycle before the wait state or during the wait state, + valid only when accessing memories in burst mode. + This parameter can be a value of @ref FMC_Wait_Timing */ + + uint32_t WriteOperation; /*!< Enables or disables the write operation in the selected device + by the FMC. + This parameter can be a value of @ref FMC_Write_Operation */ + + uint32_t WaitSignal; /*!< Enables or disables the wait state insertion via wait + signal, valid for Flash memory access in burst mode. + This parameter can be a value of @ref FMC_Wait_Signal */ + + uint32_t ExtendedMode; /*!< Enables or disables the extended mode. + This parameter can be a value of @ref FMC_Extended_Mode */ + + uint32_t AsynchronousWait; /*!< Enables or disables wait signal during asynchronous transfers, + valid only with asynchronous Flash memories. + This parameter can be a value of @ref FMC_AsynchronousWait */ + + uint32_t WriteBurst; /*!< Enables or disables the write burst operation. + This parameter can be a value of @ref FMC_Write_Burst */ + + uint32_t ContinuousClock; /*!< Enables or disables the FMC clock output to external memory devices. + This parameter is only enabled through the FMC_BCR1 register, + and don't care through FMC_BCR2..4 registers. + This parameter can be a value of @ref FMC_Continous_Clock */ + + uint32_t WriteFifo; /*!< Enables or disables the write FIFO used by the FMC controller. + This parameter is only enabled through the FMC_BCR1 register, + and don't care through FMC_BCR2..4 registers. + This parameter can be a value of @ref FMC_Write_FIFO */ + + uint32_t PageSize; /*!< Specifies the memory page size. + This parameter can be a value of @ref FMC_Page_Size */ +} FMC_NORSRAM_InitTypeDef; + +/** + * @brief FMC NORSRAM Timing parameters structure definition + */ +typedef struct +{ + uint32_t AddressSetupTime; /*!< Defines the number of HCLK cycles to configure + the duration of the address setup time. + This parameter can be a value between Min_Data = 0 and Max_Data = 15. + @note This parameter is not used with synchronous NOR Flash memories. */ + + uint32_t AddressHoldTime; /*!< Defines the number of HCLK cycles to configure + the duration of the address hold time. + This parameter can be a value between Min_Data = 1 and Max_Data = 15. + @note This parameter is not used with synchronous NOR Flash memories. */ + + uint32_t DataSetupTime; /*!< Defines the number of HCLK cycles to configure + the duration of the data setup time. + This parameter can be a value between Min_Data = 1 and Max_Data = 255. + @note This parameter is used for SRAMs, ROMs and asynchronous multiplexed + NOR Flash memories. */ + + uint32_t BusTurnAroundDuration; /*!< Defines the number of HCLK cycles to configure + the duration of the bus turnaround. + This parameter can be a value between Min_Data = 0 and Max_Data = 15. + @note This parameter is only used for multiplexed NOR Flash memories. */ + + uint32_t CLKDivision; /*!< Defines the period of CLK clock output signal, expressed in number of + HCLK cycles. This parameter can be a value between Min_Data = 2 and + Max_Data = 16. + @note This parameter is not used for asynchronous NOR Flash, SRAM or ROM + accesses. */ + + uint32_t DataLatency; /*!< Defines the number of memory clock cycles to issue + to the memory before getting the first data. + The parameter value depends on the memory type as shown below: + - It must be set to 0 in case of a CRAM + - It is don't care in asynchronous NOR, SRAM or ROM accesses + - It may assume a value between Min_Data = 2 and Max_Data = 17 + in NOR Flash memories with synchronous burst mode enable */ + + uint32_t AccessMode; /*!< Specifies the asynchronous access mode. + This parameter can be a value of @ref FMC_Access_Mode */ +} FMC_NORSRAM_TimingTypeDef; + +/** + * @brief FMC NAND Configuration Structure definition + */ +typedef struct +{ + uint32_t NandBank; /*!< Specifies the NAND memory device that will be used. + This parameter can be a value of @ref FMC_NAND_Bank */ + + uint32_t Waitfeature; /*!< Enables or disables the Wait feature for the NAND Memory device. + This parameter can be any value of @ref FMC_Wait_feature */ + + uint32_t MemoryDataWidth; /*!< Specifies the external memory device width. + This parameter can be any value of @ref FMC_NAND_Data_Width */ + + uint32_t EccComputation; /*!< Enables or disables the ECC computation. + This parameter can be any value of @ref FMC_ECC */ + + uint32_t ECCPageSize; /*!< Defines the page size for the extended ECC. + This parameter can be any value of @ref FMC_ECC_Page_Size */ + + uint32_t TCLRSetupTime; /*!< Defines the number of HCLK cycles to configure the + delay between CLE low and RE low. + This parameter can be a value between Min_Data = 0 and Max_Data = 255 */ + + uint32_t TARSetupTime; /*!< Defines the number of HCLK cycles to configure the + delay between ALE low and RE low. + This parameter can be a number between Min_Data = 0 and Max_Data = 255 */ +} FMC_NAND_InitTypeDef; + +/** + * @brief FMC NAND Timing parameters structure definition + */ +typedef struct +{ + uint32_t SetupTime; /*!< Defines the number of HCLK cycles to setup address before + the command assertion for NAND-Flash read or write access + to common/Attribute or I/O memory space (depending on + the memory space timing to be configured). + This parameter can be a value between Min_Data = 0 and Max_Data = 254 */ + + uint32_t WaitSetupTime; /*!< Defines the minimum number of HCLK cycles to assert the + command for NAND-Flash read or write access to + common/Attribute or I/O memory space (depending on the + memory space timing to be configured). + This parameter can be a number between Min_Data = 0 and Max_Data = 254 */ + + uint32_t HoldSetupTime; /*!< Defines the number of HCLK clock cycles to hold address + (and data for write access) after the command de-assertion + for NAND-Flash read or write access to common/Attribute + or I/O memory space (depending on the memory space timing + to be configured). + This parameter can be a number between Min_Data = 0 and Max_Data = 254 */ + + uint32_t HiZSetupTime; /*!< Defines the number of HCLK clock cycles during which the + data bus is kept in HiZ after the start of a NAND-Flash + write access to common/Attribute or I/O memory space (depending + on the memory space timing to be configured). + This parameter can be a number between Min_Data = 0 and Max_Data = 254 */ +} FMC_NAND_PCC_TimingTypeDef; + + +/** + * @brief FMC SDRAM Configuration Structure definition + */ +typedef struct +{ + uint32_t SDBank; /*!< Specifies the SDRAM memory device that will be used. + This parameter can be a value of @ref FMC_SDRAM_Bank */ + + uint32_t ColumnBitsNumber; /*!< Defines the number of bits of column address. + This parameter can be a value of @ref FMC_SDRAM_Column_Bits_number. */ + + uint32_t RowBitsNumber; /*!< Defines the number of bits of column address. + This parameter can be a value of @ref FMC_SDRAM_Row_Bits_number. */ + + uint32_t MemoryDataWidth; /*!< Defines the memory device width. + This parameter can be a value of @ref FMC_SDRAM_Memory_Bus_Width. */ + + uint32_t InternalBankNumber; /*!< Defines the number of the device's internal banks. + This parameter can be of @ref FMC_SDRAM_Internal_Banks_Number. */ + + uint32_t CASLatency; /*!< Defines the SDRAM CAS latency in number of memory clock cycles. + This parameter can be a value of @ref FMC_SDRAM_CAS_Latency. */ + + uint32_t WriteProtection; /*!< Enables the SDRAM device to be accessed in write mode. + This parameter can be a value of @ref FMC_SDRAM_Write_Protection. */ + + uint32_t SDClockPeriod; /*!< Define the SDRAM Clock Period for both SDRAM devices and they allow + to disable the clock before changing frequency. + This parameter can be a value of @ref FMC_SDRAM_Clock_Period. */ + + uint32_t ReadBurst; /*!< This bit enable the SDRAM controller to anticipate the next read + commands during the CAS latency and stores data in the Read FIFO. + This parameter can be a value of @ref FMC_SDRAM_Read_Burst. */ + + uint32_t ReadPipeDelay; /*!< Define the delay in system clock cycles on read data path. + This parameter can be a value of @ref FMC_SDRAM_Read_Pipe_Delay. */ +} FMC_SDRAM_InitTypeDef; + +/** + * @brief FMC SDRAM Timing parameters structure definition + */ +typedef struct +{ + uint32_t LoadToActiveDelay; /*!< Defines the delay between a Load Mode Register command and + an active or Refresh command in number of memory clock cycles. + This parameter can be a value between Min_Data = 1 and Max_Data = 16 */ + + uint32_t ExitSelfRefreshDelay; /*!< Defines the delay from releasing the self refresh command to + issuing the Activate command in number of memory clock cycles. + This parameter can be a value between Min_Data = 1 and Max_Data = 16 */ + + uint32_t SelfRefreshTime; /*!< Defines the minimum Self Refresh period in number of memory clock + cycles. + This parameter can be a value between Min_Data = 1 and Max_Data = 16 */ + + uint32_t RowCycleDelay; /*!< Defines the delay between the Refresh command and the Activate command + and the delay between two consecutive Refresh commands in number of + memory clock cycles. + This parameter can be a value between Min_Data = 1 and Max_Data = 16 */ + + uint32_t WriteRecoveryTime; /*!< Defines the Write recovery Time in number of memory clock cycles. + This parameter can be a value between Min_Data = 1 and Max_Data = 16 */ + + uint32_t RPDelay; /*!< Defines the delay between a Precharge Command and an other command + in number of memory clock cycles. + This parameter can be a value between Min_Data = 1 and Max_Data = 16 */ + + uint32_t RCDDelay; /*!< Defines the delay between the Activate Command and a Read/Write + command in number of memory clock cycles. + This parameter can be a value between Min_Data = 1 and Max_Data = 16 */ +} FMC_SDRAM_TimingTypeDef; + +/** + * @brief SDRAM command parameters structure definition + */ +typedef struct +{ + uint32_t CommandMode; /*!< Defines the command issued to the SDRAM device. + This parameter can be a value of @ref FMC_SDRAM_Command_Mode. */ + + uint32_t CommandTarget; /*!< Defines which device (1 or 2) the command will be issued to. + This parameter can be a value of @ref FMC_SDRAM_Command_Target. */ + + uint32_t AutoRefreshNumber; /*!< Defines the number of consecutive auto refresh command issued + in auto refresh mode. + This parameter can be a value between Min_Data = 1 and Max_Data = 15 */ + + uint32_t ModeRegisterDefinition; +} FMC_SDRAM_CommandTypeDef; +/** + * @} + */ + +/* Exported constants --------------------------------------------------------*/ +/** @addtogroup FMC_LL_Exported_Constants FMC Low Layer Exported Constants + * @{ + */ + +/** @defgroup FMC_LL_NOR_SRAM_Controller FMC NOR/SRAM Controller + * @{ + */ + +/** @defgroup FMC_NORSRAM_Bank FMC NOR/SRAM Bank + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup FMC_Data_Address_Bus_Multiplexing FMC Data Address Bus Multiplexing + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FMC_Memory_Type FMC Memory Type + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup FMC_NORSRAM_Data_Width FMC NORSRAM Data Width + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup FMC_NORSRAM_Flash_Access FMC NOR/SRAM Flash Access + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FMC_Burst_Access_Mode FMC Burst Access Mode + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FMC_Wait_Signal_Polarity FMC Wait Signal Polarity + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FMC_Wait_Timing FMC Wait Timing + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FMC_Write_Operation FMC Write Operation + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FMC_Wait_Signal FMC Wait Signal + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FMC_Extended_Mode FMC Extended Mode + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FMC_AsynchronousWait FMC Asynchronous Wait + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FMC_Page_Size FMC Page Size + * @{ + */ + + + + + + +/** + * @} + */ + +/** @defgroup FMC_Write_Burst FMC Write Burst + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FMC_Continous_Clock FMC Continuous Clock + * @{ + */ + + +/** + * @} + */ + + +/** @defgroup FMC_Write_FIFO FMC Write FIFO + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup FMC_Access_Mode FMC Access Mode + * @{ + */ + + + + +/** + * @} + */ + +/** + * @} + */ + + +/** @defgroup FMC_LL_NAND_Controller FMC NAND Controller + * @{ + */ +/** @defgroup FMC_NAND_Bank FMC NAND Bank + * @{ + */ + +/** + * @} + */ + +/** @defgroup FMC_Wait_feature FMC Wait feature + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FMC_PCR_Memory_Type FMC PCR Memory Type + * @{ + */ + +/** + * @} + */ + +/** @defgroup FMC_NAND_Data_Width FMC NAND Data Width + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FMC_ECC FMC ECC + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FMC_ECC_Page_Size FMC ECC Page Size + * @{ + */ + + + + + + +/** + * @} + */ + +/** + * @} + */ + +/** @defgroup FMC_LL_SDRAM_Controller FMC SDRAM Controller + * @{ + */ +/** @defgroup FMC_SDRAM_Bank FMC SDRAM Bank + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FMC_SDRAM_Column_Bits_number FMC SDRAM Column Bits number + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup FMC_SDRAM_Row_Bits_number FMC SDRAM Row Bits number + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup FMC_SDRAM_Memory_Bus_Width FMC SDRAM Memory Bus Width + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup FMC_SDRAM_Internal_Banks_Number FMC SDRAM Internal Banks Number + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FMC_SDRAM_CAS_Latency FMC SDRAM CAS Latency + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup FMC_SDRAM_Write_Protection FMC SDRAM Write Protection + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FMC_SDRAM_Clock_Period FMC SDRAM Clock Period + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup FMC_SDRAM_Read_Burst FMC SDRAM Read Burst + * @{ + */ + + +/** + * @} + */ + +/** @defgroup FMC_SDRAM_Read_Pipe_Delay FMC SDRAM Read Pipe Delay + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup FMC_SDRAM_Command_Mode FMC SDRAM Command Mode + * @{ + */ + + + + + + + +/** + * @} + */ + +/** @defgroup FMC_SDRAM_Command_Target FMC SDRAM Command Target + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup FMC_SDRAM_Mode_Status FMC SDRAM Mode Status + * @{ + */ + + + +/** + * @} + */ + +/** + * @} + */ + + +/** @defgroup FMC_LL_Interrupt_definition FMC Low Layer Interrupt definition + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup FMC_LL_Flag_definition FMC Low Layer Flag definition + * @{ + */ + + + + + + + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + +/* Private macro -------------------------------------------------------------*/ +/** @defgroup FMC_LL_Private_Macros FMC_LL Private Macros + * @{ + */ +/** + * @brief Enable the FMC Peripheral. + * @retval None + */ + + +/** + * @brief Disable the FMC Peripheral. + * @retval None + */ + +/** @defgroup FMC_LL_NOR_Macros FMC NOR/SRAM Macros + * @brief macros to handle NOR device enable/disable and read/write operations + * @{ + */ + +/** + * @brief Enable the NORSRAM device access. + * @param __INSTANCE__ FMC_NORSRAM Instance + * @param __BANK__ FMC_NORSRAM Bank + * @retval None + */ + + + +/** + * @brief Disable the NORSRAM device access. + * @param __INSTANCE__ FMC_NORSRAM Instance + * @param __BANK__ FMC_NORSRAM Bank + * @retval None + */ + + + +/** + * @} + */ + +/** @defgroup FMC_LL_NAND_Macros FMC NAND Macros + * @brief macros to handle NAND device enable/disable + * @{ + */ + +/** + * @brief Enable the NAND device access. + * @param __INSTANCE__ FMC_NAND Instance + * @retval None + */ + + +/** + * @brief Disable the NAND device access. + * @param __INSTANCE__ FMC_NAND Instance + * @param __BANK__ FMC_NAND Bank + * @retval None + */ + + +/** + * @} + */ + +/** @defgroup FMC_LL_NAND_Interrupt FMC NAND Interrupt + * @brief macros to handle NAND interrupts + * @{ + */ + +/** + * @brief Enable the NAND device interrupt. + * @param __INSTANCE__ FMC_NAND instance + * @param __INTERRUPT__ FMC_NAND interrupt + * This parameter can be any combination of the following values: + * @arg FMC_IT_RISING_EDGE: Interrupt rising edge. + * @arg FMC_IT_LEVEL: Interrupt level. + * @arg FMC_IT_FALLING_EDGE: Interrupt falling edge. + * @retval None + */ + + +/** + * @brief Disable the NAND device interrupt. + * @param __INSTANCE__ FMC_NAND Instance + * @param __INTERRUPT__ FMC_NAND interrupt + * This parameter can be any combination of the following values: + * @arg FMC_IT_RISING_EDGE: Interrupt rising edge. + * @arg FMC_IT_LEVEL: Interrupt level. + * @arg FMC_IT_FALLING_EDGE: Interrupt falling edge. + * @retval None + */ + + +/** + * @brief Get flag status of the NAND device. + * @param __INSTANCE__ FMC_NAND Instance + * @param __BANK__ FMC_NAND Bank + * @param __FLAG__ FMC_NAND flag + * This parameter can be any combination of the following values: + * @arg FMC_FLAG_RISING_EDGE: Interrupt rising edge flag. + * @arg FMC_FLAG_LEVEL: Interrupt level edge flag. + * @arg FMC_FLAG_FALLING_EDGE: Interrupt falling edge flag. + * @arg FMC_FLAG_FEMPT: FIFO empty flag. + * @retval The state of FLAG (SET or RESET). + */ + + +/** + * @brief Clear flag status of the NAND device. + * @param __INSTANCE__ FMC_NAND Instance + * @param __FLAG__ FMC_NAND flag + * This parameter can be any combination of the following values: + * @arg FMC_FLAG_RISING_EDGE: Interrupt rising edge flag. + * @arg FMC_FLAG_LEVEL: Interrupt level edge flag. + * @arg FMC_FLAG_FALLING_EDGE: Interrupt falling edge flag. + * @arg FMC_FLAG_FEMPT: FIFO empty flag. + * @retval None + */ + + +/** + * @} + */ + + +/** @defgroup FMC_LL_SDRAM_Interrupt FMC SDRAM Interrupt + * @brief macros to handle SDRAM interrupts + * @{ + */ + +/** + * @brief Enable the SDRAM device interrupt. + * @param __INSTANCE__ FMC_SDRAM instance + * @param __INTERRUPT__ FMC_SDRAM interrupt + * This parameter can be any combination of the following values: + * @arg FMC_IT_REFRESH_ERROR: Interrupt refresh error + * @retval None + */ + + +/** + * @brief Disable the SDRAM device interrupt. + * @param __INSTANCE__ FMC_SDRAM instance + * @param __INTERRUPT__ FMC_SDRAM interrupt + * This parameter can be any combination of the following values: + * @arg FMC_IT_REFRESH_ERROR: Interrupt refresh error + * @retval None + */ + + +/** + * @brief Get flag status of the SDRAM device. + * @param __INSTANCE__ FMC_SDRAM instance + * @param __FLAG__ FMC_SDRAM flag + * This parameter can be any combination of the following values: + * @arg FMC_SDRAM_FLAG_REFRESH_IT: Interrupt refresh error. + * @arg FMC_SDRAM_FLAG_BUSY: SDRAM busy flag. + * @arg FMC_SDRAM_FLAG_REFRESH_ERROR: Refresh error flag. + * @retval The state of FLAG (SET or RESET). + */ + + +/** + * @brief Clear flag status of the SDRAM device. + * @param __INSTANCE__ FMC_SDRAM instance + * @param __FLAG__ FMC_SDRAM flag + * This parameter can be any combination of the following values: + * @arg FMC_SDRAM_FLAG_REFRESH_ERROR + * @retval None + */ + + +/** + * @} + */ +/** + * @} + */ + +/** + * @} + */ + +/* Private functions ---------------------------------------------------------*/ +/** @defgroup FMC_LL_Private_Functions FMC LL Private Functions + * @{ + */ + +/** @defgroup FMC_LL_NORSRAM NOR SRAM + * @{ + */ +/** @defgroup FMC_LL_NORSRAM_Private_Functions_Group1 NOR SRAM Initialization/de-initialization functions + * @{ + */ +HAL_StatusTypeDef FMC_NORSRAM_Init(FMC_Bank1_TypeDef *Device, + const FMC_NORSRAM_InitTypeDef *Init); +HAL_StatusTypeDef FMC_NORSRAM_Timing_Init(FMC_Bank1_TypeDef *Device, + const FMC_NORSRAM_TimingTypeDef *Timing, uint32_t Bank); +HAL_StatusTypeDef FMC_NORSRAM_Extended_Timing_Init(FMC_Bank1E_TypeDef *Device, + const FMC_NORSRAM_TimingTypeDef *Timing, uint32_t Bank, + uint32_t ExtendedMode); +HAL_StatusTypeDef FMC_NORSRAM_DeInit(FMC_Bank1_TypeDef *Device, + FMC_Bank1E_TypeDef *ExDevice, uint32_t Bank); +/** + * @} + */ + +/** @defgroup FMC_LL_NORSRAM_Private_Functions_Group2 NOR SRAM Control functions + * @{ + */ +HAL_StatusTypeDef FMC_NORSRAM_WriteOperation_Enable(FMC_Bank1_TypeDef *Device, uint32_t Bank); +HAL_StatusTypeDef FMC_NORSRAM_WriteOperation_Disable(FMC_Bank1_TypeDef *Device, uint32_t Bank); +/** + * @} + */ +/** + * @} + */ + +/** @defgroup FMC_LL_NAND NAND + * @{ + */ +/** @defgroup FMC_LL_NAND_Private_Functions_Group1 NAND Initialization/de-initialization functions + * @{ + */ +HAL_StatusTypeDef FMC_NAND_Init(FMC_Bank3_TypeDef *Device, const FMC_NAND_InitTypeDef *Init); +HAL_StatusTypeDef FMC_NAND_CommonSpace_Timing_Init(FMC_Bank3_TypeDef *Device, + const FMC_NAND_PCC_TimingTypeDef *Timing, uint32_t Bank); +HAL_StatusTypeDef FMC_NAND_AttributeSpace_Timing_Init(FMC_Bank3_TypeDef *Device, + const FMC_NAND_PCC_TimingTypeDef *Timing, uint32_t Bank); +HAL_StatusTypeDef FMC_NAND_DeInit(FMC_Bank3_TypeDef *Device, uint32_t Bank); +/** + * @} + */ + +/** @defgroup FMC_LL_NAND_Private_Functions_Group2 NAND Control functions + * @{ + */ +HAL_StatusTypeDef FMC_NAND_ECC_Enable(FMC_Bank3_TypeDef *Device, uint32_t Bank); +HAL_StatusTypeDef FMC_NAND_ECC_Disable(FMC_Bank3_TypeDef *Device, uint32_t Bank); +HAL_StatusTypeDef FMC_NAND_GetECC(const FMC_Bank3_TypeDef *Device, uint32_t *ECCval, uint32_t Bank, + uint32_t Timeout); +/** + * @} + */ +/** + * @} + */ + + +/** @defgroup FMC_LL_SDRAM SDRAM + * @{ + */ +/** @defgroup FMC_LL_SDRAM_Private_Functions_Group1 SDRAM Initialization/de-initialization functions + * @{ + */ +HAL_StatusTypeDef FMC_SDRAM_Init(FMC_Bank5_6_TypeDef *Device, const FMC_SDRAM_InitTypeDef *Init); +HAL_StatusTypeDef FMC_SDRAM_Timing_Init(FMC_Bank5_6_TypeDef *Device, + const FMC_SDRAM_TimingTypeDef *Timing, uint32_t Bank); +HAL_StatusTypeDef FMC_SDRAM_DeInit(FMC_Bank5_6_TypeDef *Device, uint32_t Bank); +/** + * @} + */ + +/** @defgroup FMC_LL_SDRAM_Private_Functions_Group2 SDRAM Control functions + * @{ + */ +HAL_StatusTypeDef FMC_SDRAM_WriteProtection_Enable(FMC_Bank5_6_TypeDef *Device, uint32_t Bank); +HAL_StatusTypeDef FMC_SDRAM_WriteProtection_Disable(FMC_Bank5_6_TypeDef *Device, uint32_t Bank); +HAL_StatusTypeDef FMC_SDRAM_SendCommand(FMC_Bank5_6_TypeDef *Device, + const FMC_SDRAM_CommandTypeDef *Command, uint32_t Timeout); +HAL_StatusTypeDef FMC_SDRAM_ProgramRefreshRate(FMC_Bank5_6_TypeDef *Device, uint32_t RefreshRate); +HAL_StatusTypeDef FMC_SDRAM_SetAutoRefreshNumber(FMC_Bank5_6_TypeDef *Device, + uint32_t AutoRefreshNumber); +uint32_t FMC_SDRAM_GetModeStatus(const FMC_Bank5_6_TypeDef *Device, uint32_t Bank); +/** + * @} + */ +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + + +} +# 30 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sram.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ +/** @addtogroup SRAM + * @{ + */ + +/* Exported typedef ----------------------------------------------------------*/ + +/** @defgroup SRAM_Exported_Types SRAM Exported Types + * @{ + */ +/** + * @brief HAL SRAM State structures definition + */ +typedef enum +{ + HAL_SRAM_STATE_RESET = 0x00U, + HAL_SRAM_STATE_READY = 0x01U, + HAL_SRAM_STATE_BUSY = 0x02U, + HAL_SRAM_STATE_ERROR = 0x03U, + HAL_SRAM_STATE_PROTECTED = 0x04U + +} HAL_SRAM_StateTypeDef; + +/** + * @brief SRAM handle Structure definition + */ + + + +typedef struct + +{ + FMC_Bank1_TypeDef *Instance; + + FMC_Bank1E_TypeDef *Extended; + + FMC_NORSRAM_InitTypeDef Init; + + HAL_LockTypeDef Lock; + + volatile HAL_SRAM_StateTypeDef State; + + MDMA_HandleTypeDef *hmdma; + + + + + + + +} SRAM_HandleTypeDef; +# 103 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sram.h" +/** + * @} + */ + +/* Exported constants --------------------------------------------------------*/ +/* Exported macro ------------------------------------------------------------*/ + +/** @defgroup SRAM_Exported_Macros SRAM Exported Macros + * @{ + */ + +/** @brief Reset SRAM handle state + * @param __HANDLE__ SRAM handle + * @retval None + */ +# 128 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sram.h" +/** + * @} + */ + +/* Exported functions --------------------------------------------------------*/ +/** @addtogroup SRAM_Exported_Functions SRAM Exported Functions + * @{ + */ + +/** @addtogroup SRAM_Exported_Functions_Group1 Initialization and de-initialization functions + * @{ + */ + +/* Initialization/de-initialization functions ********************************/ +HAL_StatusTypeDef HAL_SRAM_Init(SRAM_HandleTypeDef *hsram, FMC_NORSRAM_TimingTypeDef *Timing, + FMC_NORSRAM_TimingTypeDef *ExtTiming); +HAL_StatusTypeDef HAL_SRAM_DeInit(SRAM_HandleTypeDef *hsram); +void HAL_SRAM_MspInit(SRAM_HandleTypeDef *hsram); +void HAL_SRAM_MspDeInit(SRAM_HandleTypeDef *hsram); + +/** + * @} + */ + +/** @addtogroup SRAM_Exported_Functions_Group2 Input Output and memory control functions + * @{ + */ + +/* I/O operation functions ***************************************************/ +HAL_StatusTypeDef HAL_SRAM_Read_8b(SRAM_HandleTypeDef *hsram, uint32_t *pAddress, uint8_t *pDstBuffer, + uint32_t BufferSize); +HAL_StatusTypeDef HAL_SRAM_Write_8b(SRAM_HandleTypeDef *hsram, uint32_t *pAddress, uint8_t *pSrcBuffer, + uint32_t BufferSize); +HAL_StatusTypeDef HAL_SRAM_Read_16b(SRAM_HandleTypeDef *hsram, uint32_t *pAddress, uint16_t *pDstBuffer, + uint32_t BufferSize); +HAL_StatusTypeDef HAL_SRAM_Write_16b(SRAM_HandleTypeDef *hsram, uint32_t *pAddress, uint16_t *pSrcBuffer, + uint32_t BufferSize); +HAL_StatusTypeDef HAL_SRAM_Read_32b(SRAM_HandleTypeDef *hsram, uint32_t *pAddress, uint32_t *pDstBuffer, + uint32_t BufferSize); +HAL_StatusTypeDef HAL_SRAM_Write_32b(SRAM_HandleTypeDef *hsram, uint32_t *pAddress, uint32_t *pSrcBuffer, + uint32_t BufferSize); +HAL_StatusTypeDef HAL_SRAM_Read_DMA(SRAM_HandleTypeDef *hsram, uint32_t *pAddress, uint32_t *pDstBuffer, + uint32_t BufferSize); +HAL_StatusTypeDef HAL_SRAM_Write_DMA(SRAM_HandleTypeDef *hsram, uint32_t *pAddress, uint32_t *pSrcBuffer, + uint32_t BufferSize); + +void HAL_SRAM_DMA_XferCpltCallback(MDMA_HandleTypeDef *hmdma); +void HAL_SRAM_DMA_XferErrorCallback(MDMA_HandleTypeDef *hmdma); +# 186 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sram.h" +/** + * @} + */ + +/** @addtogroup SRAM_Exported_Functions_Group3 Control functions + * @{ + */ + +/* SRAM Control functions ****************************************************/ +HAL_StatusTypeDef HAL_SRAM_WriteOperation_Enable(SRAM_HandleTypeDef *hsram); +HAL_StatusTypeDef HAL_SRAM_WriteOperation_Disable(SRAM_HandleTypeDef *hsram); + +/** + * @} + */ + +/** @addtogroup SRAM_Exported_Functions_Group4 Peripheral State functions + * @{ + */ + +/* SRAM State functions ******************************************************/ +HAL_SRAM_StateTypeDef HAL_SRAM_GetState(const SRAM_HandleTypeDef *hsram); + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + + + +} +# 359 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_nor.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_nor.h + * @author MCD Application Team + * @brief Header file of NOR HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_fmc.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_ll_fmc.h + * @author MCD Application Team + * @brief Header file of FMC HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 30 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_nor.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup NOR + * @{ + */ + +/* Exported typedef ----------------------------------------------------------*/ +/** @defgroup NOR_Exported_Types NOR Exported Types + * @{ + */ + +/** + * @brief HAL SRAM State structures definition + */ +typedef enum +{ + HAL_NOR_STATE_RESET = 0x00U, + HAL_NOR_STATE_READY = 0x01U, + HAL_NOR_STATE_BUSY = 0x02U, + HAL_NOR_STATE_ERROR = 0x03U, + HAL_NOR_STATE_PROTECTED = 0x04U +} HAL_NOR_StateTypeDef; + +/** + * @brief FMC NOR Status typedef + */ +typedef enum +{ + HAL_NOR_STATUS_SUCCESS = 0U, + HAL_NOR_STATUS_ONGOING, + HAL_NOR_STATUS_ERROR, + HAL_NOR_STATUS_TIMEOUT +} HAL_NOR_StatusTypeDef; + +/** + * @brief FMC NOR ID typedef + */ +typedef struct +{ + uint16_t Manufacturer_Code; + + uint16_t Device_Code1; + + uint16_t Device_Code2; + + uint16_t Device_Code3; /*!< Defines the device's codes used to identify the memory. + These codes can be accessed by performing read operations with specific + control signals and addresses set.They can also be accessed by issuing + an Auto Select command */ +} NOR_IDTypeDef; + +/** + * @brief FMC NOR CFI typedef + */ +typedef struct +{ + /*!< Defines the information stored in the memory's Common flash interface + which contains a description of various electrical and timing parameters, + density information and functions supported by the memory */ + + uint16_t CFI_1; + + uint16_t CFI_2; + + uint16_t CFI_3; + + uint16_t CFI_4; +} NOR_CFITypeDef; + +/** + * @brief NOR handle Structure definition + */ + + + +typedef struct + + +{ + FMC_Bank1_TypeDef *Instance; + + FMC_Bank1E_TypeDef *Extended; + + FMC_NORSRAM_InitTypeDef Init; + + HAL_LockTypeDef Lock; + + volatile HAL_NOR_StateTypeDef State; + + uint32_t CommandSet; + + + + + +} NOR_HandleTypeDef; +# 145 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_nor.h" +/** + * @} + */ + +/* Exported constants --------------------------------------------------------*/ +/* Exported macro ------------------------------------------------------------*/ +/** @defgroup NOR_Exported_Macros NOR Exported Macros + * @{ + */ +/** @brief Reset NOR handle state + * @param __HANDLE__ specifies the NOR handle. + * @retval None + */ +# 167 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_nor.h" +/** + * @} + */ + +/* Exported functions --------------------------------------------------------*/ +/** @addtogroup NOR_Exported_Functions NOR Exported Functions + * @{ + */ + +/** @addtogroup NOR_Exported_Functions_Group1 Initialization and de-initialization functions + * @{ + */ + +/* Initialization/de-initialization functions ********************************/ +HAL_StatusTypeDef HAL_NOR_Init(NOR_HandleTypeDef *hnor, FMC_NORSRAM_TimingTypeDef *Timing, + FMC_NORSRAM_TimingTypeDef *ExtTiming); +HAL_StatusTypeDef HAL_NOR_DeInit(NOR_HandleTypeDef *hnor); +void HAL_NOR_MspInit(NOR_HandleTypeDef *hnor); +void HAL_NOR_MspDeInit(NOR_HandleTypeDef *hnor); +void HAL_NOR_MspWait(NOR_HandleTypeDef *hnor, uint32_t Timeout); +/** + * @} + */ + +/** @addtogroup NOR_Exported_Functions_Group2 Input and Output functions + * @{ + */ + +/* I/O operation functions ***************************************************/ +HAL_StatusTypeDef HAL_NOR_Read_ID(NOR_HandleTypeDef *hnor, NOR_IDTypeDef *pNOR_ID); +HAL_StatusTypeDef HAL_NOR_ReturnToReadMode(NOR_HandleTypeDef *hnor); +HAL_StatusTypeDef HAL_NOR_Read(NOR_HandleTypeDef *hnor, uint32_t *pAddress, uint16_t *pData); +HAL_StatusTypeDef HAL_NOR_Program(NOR_HandleTypeDef *hnor, uint32_t *pAddress, uint16_t *pData); + +HAL_StatusTypeDef HAL_NOR_ReadBuffer(NOR_HandleTypeDef *hnor, uint32_t uwAddress, uint16_t *pData, + uint32_t uwBufferSize); +HAL_StatusTypeDef HAL_NOR_ProgramBuffer(NOR_HandleTypeDef *hnor, uint32_t uwAddress, uint16_t *pData, + uint32_t uwBufferSize); + +HAL_StatusTypeDef HAL_NOR_Erase_Block(NOR_HandleTypeDef *hnor, uint32_t BlockAddress, uint32_t Address); +HAL_StatusTypeDef HAL_NOR_Erase_Chip(NOR_HandleTypeDef *hnor, uint32_t Address); +HAL_StatusTypeDef HAL_NOR_Read_CFI(NOR_HandleTypeDef *hnor, NOR_CFITypeDef *pNOR_CFI); + + + + + + + +/** + * @} + */ + +/** @addtogroup NOR_Exported_Functions_Group3 NOR Control functions + * @{ + */ + +/* NOR Control functions *****************************************************/ +HAL_StatusTypeDef HAL_NOR_WriteOperation_Enable(NOR_HandleTypeDef *hnor); +HAL_StatusTypeDef HAL_NOR_WriteOperation_Disable(NOR_HandleTypeDef *hnor); +/** + * @} + */ + +/** @addtogroup NOR_Exported_Functions_Group4 NOR State functions + * @{ + */ + +/* NOR State functions ********************************************************/ +HAL_NOR_StateTypeDef HAL_NOR_GetState(const NOR_HandleTypeDef *hnor); +HAL_NOR_StatusTypeDef HAL_NOR_GetStatus(NOR_HandleTypeDef *hnor, uint32_t Address, uint32_t Timeout); +/** + * @} + */ + +/** + * @} + */ + +/* Private types -------------------------------------------------------------*/ +/* Private variables ---------------------------------------------------------*/ +/* Private constants ---------------------------------------------------------*/ +/** @defgroup NOR_Private_Constants NOR Private Constants + * @{ + */ +/* NOR device IDs addresses */ + + + + + +/* NOR CFI IDs addresses */ + + + + + +/* NOR operation wait timeout */ + + +/* NOR memory data width */ + + + +/* NOR memory device read/write start address */ + + + + +/** + * @} + */ + +/* Private macros ------------------------------------------------------------*/ +/** @defgroup NOR_Private_Macros NOR Private Macros + * @{ + */ +/** + * @brief NOR memory address shifting. + * @param __NOR_ADDRESS NOR base address + * @param __NOR_MEMORY_WIDTH_ NOR memory width + * @param __ADDRESS__ NOR memory address + * @retval NOR shifted address value + */ + + + + + +/** + * @brief NOR memory write data to specified address. + * @param __ADDRESS__ NOR memory address + * @param __DATA__ Data to write + * @retval None + */ + + + + + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + + + +} +# 363 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_nand.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_nand.h + * @author MCD Application Team + * @brief Header file of NAND HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_fmc.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_ll_fmc.h + * @author MCD Application Team + * @brief Header file of FMC HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 30 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_nand.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup NAND + * @{ + */ + +/* Exported typedef ----------------------------------------------------------*/ +/* Exported types ------------------------------------------------------------*/ +/** @defgroup NAND_Exported_Types NAND Exported Types + * @{ + */ + +/** + * @brief HAL NAND State structures definition + */ +typedef enum +{ + HAL_NAND_STATE_RESET = 0x00U, + HAL_NAND_STATE_READY = 0x01U, + HAL_NAND_STATE_BUSY = 0x02U, + HAL_NAND_STATE_ERROR = 0x03U +} HAL_NAND_StateTypeDef; + +/** + * @brief NAND Memory electronic signature Structure definition + */ +typedef struct +{ + /* 4:4:4 , 1-> 4:2:2, 2 -> 4:1:1, 3 -> 4:2:0 + This parameter can be a value of @ref JPEG_ChromaSubsampling */ + + uint32_t ImageHeight; + + uint32_t ImageWidth; + + uint32_t ImageQuality; + +} JPEG_ConfTypeDef; +/** + * @} + */ + +/** @defgroup HAL_JPEG_state_structure_definition HAL JPEG state structure definition + * @brief HAL JPEG State structure definition + * @{ + */ +typedef enum +{ + HAL_JPEG_STATE_RESET = 0x00U, + HAL_JPEG_STATE_READY = 0x01U, + HAL_JPEG_STATE_BUSY = 0x02U, + HAL_JPEG_STATE_BUSY_ENCODING = 0x03U, + HAL_JPEG_STATE_BUSY_DECODING = 0x04U, + HAL_JPEG_STATE_TIMEOUT = 0x05U, + HAL_JPEG_STATE_ERROR = 0x06U +} HAL_JPEG_STATETypeDef; + +/** + * @} + */ + + +/** @defgroup JPEG_handle_Structure_definition JPEG handle Structure definition + * @brief JPEG handle Structure definition + * @{ + */ + + + +typedef struct + +{ + JPEG_TypeDef *Instance; + + JPEG_ConfTypeDef Conf; + + uint8_t *pJpegInBuffPtr; + + uint8_t *pJpegOutBuffPtr; + + volatile uint32_t JpegInCount; + + volatile uint32_t JpegOutCount; + + uint32_t InDataLength; + + uint32_t OutDataLength; + + MDMA_HandleTypeDef *hdmain; + + MDMA_HandleTypeDef *hdmaout; + + uint8_t CustomQuanTable; + + uint8_t *QuantTable0; + + uint8_t *QuantTable1; + + uint8_t *QuantTable2; + + uint8_t *QuantTable3; + + HAL_LockTypeDef Lock; + + volatile HAL_JPEG_STATETypeDef State; + + volatile uint32_t ErrorCode; + + volatile uint32_t Context; +# 158 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_jpeg.h" +} JPEG_HandleTypeDef; +/** + * @} + */ +# 200 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_jpeg.h" +/** + * @} + */ + +/* Exported constants --------------------------------------------------------*/ + +/** @defgroup JPEG_Exported_Constants JPEG Exported Constants + * @{ + */ + +/** @defgroup JPEG_Error_Code_definition JPEG Error Code definition + * @brief JPEG Error Code definition + * @{ + */ +# 223 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_jpeg.h" +/** + * @} + */ + +/** @defgroup JPEG_Quantization_Table_Size JPEG Quantization Table Size + * @brief JPEG Quantization Table Size + * @{ + */ + +/** + * @} + */ + + +/** @defgroup JPEG_ColorSpace JPEG ColorSpace + * @brief JPEG Color Space + * @{ + */ + + + + + +/** + * @} + */ + + +/** @defgroup JPEG_ChromaSubsampling JPEG Chrominance Sampling + * @brief JPEG Chrominance Sampling + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup JPEG_ImageQuality JPEG Image Quality + * @brief JPEG Min and Max Image Quality + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup JPEG_Interrupt_configuration_definition JPEG Interrupt configuration definition + * @brief JPEG Interrupt definition + * @{ + */ + + + + + + +/** + * @} + */ + +/** @defgroup JPEG_Flag_definition JPEG Flag definition + * @brief JPEG Flags definition + * @{ + */ +# 301 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_jpeg.h" +/** + * @} + */ + +/** @defgroup JPEG_PROCESS_PAUSE_RESUME_definition JPEG Process Pause Resume definition + * @brief JPEG process pause, resume definition + * @{ + */ + + + +/** + * @} + */ + +/** + * @} + */ +/* Exported macro ------------------------------------------------------------*/ + +/** @defgroup JPEG_Exported_Macros JPEG Exported Macros + * @{ + */ + +/** @brief Reset JPEG handle state + * @param __HANDLE__ specifies the JPEG handle. + * @retval None + */ +# 340 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_jpeg.h" +/** + * @brief Enable the JPEG peripheral. + * @param __HANDLE__ specifies the JPEG handle. + * @retval None + */ + + +/** + * @brief Disable the JPEG peripheral. + * @param __HANDLE__ specifies the JPEG handle. + * @retval None + */ + + + +/** + * @brief Check the specified JPEG status flag. + * @param __HANDLE__ specifies the JPEG handle. + * @param __FLAG__ specifies the flag to check + * This parameter can be one of the following values: + * @arg JPEG_FLAG_IFTF : The input FIFO is not full and is below its threshold flag + * @arg JPEG_FLAG_IFNFF : The input FIFO Not Full Flag, a data can be written + * @arg JPEG_FLAG_OFTF : The output FIFO is not empty and has reach its threshold + * @arg JPEG_FLAG_OFNEF : The output FIFO is not empty, a data is available + * @arg JPEG_FLAG_EOCF : JPEG Codec core has finished the encoding or the decoding process + * and than last data has been sent to the output FIFO + * @arg JPEG_FLAG_HPDF : JPEG Codec has finished the parsing of the headers + * and the internal registers have been updated + * @arg JPEG_FLAG_COF : JPEG Codec operation on going flag + * + * @retval __HAL_JPEG_GET_FLAG : returns The new state of __FLAG__ (TRUE or FALSE) + */ + + + +/** + * @brief Clear the specified JPEG status flag. + * @param __HANDLE__ specifies the JPEG handle. + * @param __FLAG__ specifies the flag to clear + * This parameter can be one of the following values: + * @arg JPEG_FLAG_EOCF : JPEG Codec core has finished the encoding or the decoding process + * and than last data has been sent to the output FIFO + * @arg JPEG_FLAG_HPDF : JPEG Codec has finished the parsing of the headers + * @retval None + */ + + + + +/** + * @brief Enable Interrupt. + * @param __HANDLE__ specifies the JPEG handle. + * @param __INTERRUPT__ specifies the interrupt to enable + * This parameter can be one of the following values: + * @arg JPEG_IT_IFT : Input FIFO Threshold Interrupt + * @arg JPEG_IT_IFNF : Input FIFO Not Full Interrupt + * @arg JPEG_IT_OFT : Output FIFO Threshold Interrupt + * @arg JPEG_IT_OFNE : Output FIFO Not empty Interrupt + * @arg JPEG_IT_EOC : End of Conversion Interrupt + * @arg JPEG_IT_HPD : Header Parsing Done Interrupt + * + * @retval No return + */ + + +/** + * @brief Disable Interrupt. + * @param __HANDLE__ specifies the JPEG handle. + * @param __INTERRUPT__ specifies the interrupt to disable + * This parameter can be one of the following values: + * @arg JPEG_IT_IFT : Input FIFO Threshold Interrupt + * @arg JPEG_IT_IFNF : Input FIFO Not Full Interrupt + * @arg JPEG_IT_OFT : Output FIFO Threshold Interrupt + * @arg JPEG_IT_OFNE : Output FIFO Not empty Interrupt + * @arg JPEG_IT_EOC : End of Conversion Interrupt + * @arg JPEG_IT_HPD : Header Parsing Done Interrupt + * + * @note To disable an IT we must use MODIFY_REG macro to avoid writing "1" to the FIFO flush bits + * located in the same IT enable register (CR register). + * @retval No return + */ + + + +/** + * @brief Get Interrupt state. + * @param __HANDLE__ specifies the JPEG handle. + * @param __INTERRUPT__ specifies the interrupt to check + * This parameter can be one of the following values: + * @arg JPEG_IT_IFT : Input FIFO Threshold Interrupt + * @arg JPEG_IT_IFNF : Input FIFO Not Full Interrupt + * @arg JPEG_IT_OFT : Output FIFO Threshold Interrupt + * @arg JPEG_IT_OFNE : Output FIFO Not empty Interrupt + * @arg JPEG_IT_EOC : End of Conversion Interrupt + * @arg JPEG_IT_HPD : Header Parsing Done Interrupt + * + * @retval returns The new state of __INTERRUPT__ (Enabled or disabled) + */ + + +/** + * @} + */ + +/* Exported functions --------------------------------------------------------*/ +/** @addtogroup JPEG_Exported_Functions + * @{ + */ + +/** @addtogroup JPEG_Exported_Functions_Group1 + * @{ + */ +/* Initialization/de-initialization functions ********************************/ +HAL_StatusTypeDef HAL_JPEG_Init(JPEG_HandleTypeDef *hjpeg); +HAL_StatusTypeDef HAL_JPEG_DeInit(JPEG_HandleTypeDef *hjpeg); +void HAL_JPEG_MspInit(JPEG_HandleTypeDef *hjpeg); +void HAL_JPEG_MspDeInit(JPEG_HandleTypeDef *hjpeg); +# 476 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_jpeg.h" +/** + * @} + */ + +/** @addtogroup JPEG_Exported_Functions_Group2 + * @{ + */ +/* Encoding/Decoding Configuration functions ********************************/ +HAL_StatusTypeDef HAL_JPEG_ConfigEncoding(JPEG_HandleTypeDef *hjpeg, JPEG_ConfTypeDef *pConf); +HAL_StatusTypeDef HAL_JPEG_GetInfo(JPEG_HandleTypeDef *hjpeg, JPEG_ConfTypeDef *pInfo); +HAL_StatusTypeDef HAL_JPEG_EnableHeaderParsing(JPEG_HandleTypeDef *hjpeg); +HAL_StatusTypeDef HAL_JPEG_DisableHeaderParsing(JPEG_HandleTypeDef *hjpeg); +HAL_StatusTypeDef HAL_JPEG_SetUserQuantTables(JPEG_HandleTypeDef *hjpeg, uint8_t *QTable0, uint8_t *QTable1, + uint8_t *QTable2, uint8_t *QTable3); + +/** + * @} + */ + +/** @addtogroup JPEG_Exported_Functions_Group3 + * @{ + */ +/* JPEG processing functions **************************************/ +HAL_StatusTypeDef HAL_JPEG_Encode(JPEG_HandleTypeDef *hjpeg, uint8_t *pDataInMCU, uint32_t InDataLength, + uint8_t *pDataOut, uint32_t OutDataLength, uint32_t Timeout); +HAL_StatusTypeDef HAL_JPEG_Decode(JPEG_HandleTypeDef *hjpeg, uint8_t *pDataIn, uint32_t InDataLength, + uint8_t *pDataOutMCU, uint32_t OutDataLength, uint32_t Timeout); +HAL_StatusTypeDef HAL_JPEG_Encode_IT(JPEG_HandleTypeDef *hjpeg, uint8_t *pDataInMCU, uint32_t InDataLength, + uint8_t *pDataOut, uint32_t OutDataLength); +HAL_StatusTypeDef HAL_JPEG_Decode_IT(JPEG_HandleTypeDef *hjpeg, uint8_t *pDataIn, uint32_t InDataLength, + uint8_t *pDataOutMCU, uint32_t OutDataLength); +HAL_StatusTypeDef HAL_JPEG_Encode_DMA(JPEG_HandleTypeDef *hjpeg, uint8_t *pDataInMCU, uint32_t InDataLength, + uint8_t *pDataOut, uint32_t OutDataLength); +HAL_StatusTypeDef HAL_JPEG_Decode_DMA(JPEG_HandleTypeDef *hjpeg, uint8_t *pDataIn, uint32_t InDataLength, + uint8_t *pDataOutMCU, uint32_t OutDataLength); +HAL_StatusTypeDef HAL_JPEG_Pause(JPEG_HandleTypeDef *hjpeg, uint32_t XferSelection); +HAL_StatusTypeDef HAL_JPEG_Resume(JPEG_HandleTypeDef *hjpeg, uint32_t XferSelection); +void HAL_JPEG_ConfigInputBuffer(JPEG_HandleTypeDef *hjpeg, uint8_t *pNewInputBuffer, uint32_t InDataLength); +void HAL_JPEG_ConfigOutputBuffer(JPEG_HandleTypeDef *hjpeg, uint8_t *pNewOutputBuffer, uint32_t OutDataLength); +HAL_StatusTypeDef HAL_JPEG_Abort(JPEG_HandleTypeDef *hjpeg); + +/** + * @} + */ + +/** @addtogroup JPEG_Exported_Functions_Group4 + * @{ + */ +/* JPEG Decode/Encode callback functions ********************************************************/ +void HAL_JPEG_InfoReadyCallback(JPEG_HandleTypeDef *hjpeg, JPEG_ConfTypeDef *pInfo); +void HAL_JPEG_EncodeCpltCallback(JPEG_HandleTypeDef *hjpeg); +void HAL_JPEG_DecodeCpltCallback(JPEG_HandleTypeDef *hjpeg); +void HAL_JPEG_ErrorCallback(JPEG_HandleTypeDef *hjpeg); +void HAL_JPEG_GetDataCallback(JPEG_HandleTypeDef *hjpeg, uint32_t NbDecodedData); +void HAL_JPEG_DataReadyCallback(JPEG_HandleTypeDef *hjpeg, uint8_t *pDataOut, uint32_t OutDataLength); + +/** + * @} + */ + +/** @addtogroup JPEG_Exported_Functions_Group5 + * @{ + */ +/* JPEG IRQ handler management ******************************************************/ +void HAL_JPEG_IRQHandler(JPEG_HandleTypeDef *hjpeg); + +/** + * @} + */ + +/** @addtogroup JPEG_Exported_Functions_Group6 + * @{ + */ +/* Peripheral State and Error functions ************************************************/ +HAL_JPEG_STATETypeDef HAL_JPEG_GetState(JPEG_HandleTypeDef *hjpeg); +uint32_t HAL_JPEG_GetError(JPEG_HandleTypeDef *hjpeg); + +/** + * @} + */ + +/** + * @} + */ + +/* Private types -------------------------------------------------------------*/ +/** @defgroup JPEG_Private_Types JPEG Private Types + * @{ + */ + +/** + * @} + */ + +/* Private defines -----------------------------------------------------------*/ +/** @defgroup JPEG_Private_Defines JPEG Private Defines + * @{ + */ + +/** + * @} + */ + +/* Private variables ---------------------------------------------------------*/ +/** @defgroup JPEG_Private_Variables JPEG Private Variables + * @{ + */ + +/** + * @} + */ + +/* Private constants ---------------------------------------------------------*/ +/** @defgroup JPEG_Private_Constants JPEG Private Constants + * @{ + */ + +/** + * @} + */ + +/* Private macros ------------------------------------------------------------*/ +/** @defgroup JPEG_Private_Macros JPEG Private Macros + * @{ + */ +# 616 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_jpeg.h" +/** + * @} + */ + +/* Private functions prototypes ----------------------------------------------*/ +/** @defgroup JPEG_Private_Functions_Prototypes JPEG Private Functions Prototypes + * @{ + */ + +/** + * @} + */ + +/* Private functions ---------------------------------------------------------*/ +/** @defgroup JPEG_Private_Functions JPEG Private Functions + * @{ + */ + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + + + + +} +# 383 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_mdios.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_mdios.h + * @author MCD Application Team + * @brief Header file of MDIOS HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + + extern "C" { + + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 30 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_mdios.h" 2 + + + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup MDIOS + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/** @defgroup MDIOS_Exported_Types MDIOS Exported Types + * @{ + */ + +/** @defgroup MDIOS_Exported_Types_Group1 MDIOS State structures definition + * @{ + */ + +typedef enum +{ + HAL_MDIOS_STATE_RESET = 0x00U, + HAL_MDIOS_STATE_READY = 0x01U, + HAL_MDIOS_STATE_BUSY = 0x02U, + HAL_MDIOS_STATE_ERROR = 0x04U +}HAL_MDIOS_StateTypeDef; + +/** + * @} + */ + +/** @defgroup MDIOS_Exported_Types_Group2 MDIOS Init Structure definition + * @{ + */ + +typedef struct +{ + uint32_t PortAddress; /*!< Specifies the MDIOS port address. + This parameter can be a value from 0 to 31 */ + uint32_t PreambleCheck; /*!< Specifies whether the preamble check is enabled or disabled. + This parameter can be a value of @ref MDIOS_Preamble_Check */ +}MDIOS_InitTypeDef; + +/** + * @} + */ + +/** @defgroup MDIOS_Exported_Types_Group4 MDIOS handle Structure definition + * @{ + */ + + + + +typedef struct + +{ + MDIOS_TypeDef *Instance; + + MDIOS_InitTypeDef Init; + + volatile HAL_MDIOS_StateTypeDef State; /*!< MDIOS communication state + This parameter can be a value of of @ref HAL_MDIOS_StateTypeDef */ + + volatile uint32_t ErrorCode; /*!< Holds the global Error code of the MDIOS HAL status machine + This parameter can be a value of of @ref MDIOS_Error_Code */ + + HAL_LockTypeDef Lock; +# 111 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_mdios.h" +}MDIOS_HandleTypeDef; + +/** + * @} + */ +# 139 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_mdios.h" +/** + * @} + */ + +/* Exported constants --------------------------------------------------------*/ +/** @defgroup MDIOS_Exported_Constants MDIOS Exported Constants + * @{ + */ + +/** @defgroup MDIOS_Preamble_Check MDIOS Preamble Check + * @{ + */ + + +/** + * @} + */ + +/** @defgroup MDIOS_Input_Output_Registers_Definitions MDIOS Input Output Registers Definitions + * @{ + */ +# 192 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_mdios.h" +/** + * @} + */ + +/** @defgroup MDIOS_Registers_Flags MDIOS Registers Flags + * @{ + */ +# 232 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_mdios.h" +/** + * @} + */ + +/** @defgroup MDIOS_Interrupt_sources Interrupt Sources + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup MDIOS_Interrupt_Flags MDIOS Interrupt Flags + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup MDIOS_Error_Code MDIOS Error Code + * @{ + */ +# 267 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_mdios.h" +/** + * @} + */ + + /** @defgroup MDIOS_Wakeup_Line MDIOS Wakeup Line + * @{ + */ + +/** + * @} + */ + +/** + * @} + */ +/* Exported macros -----------------------------------------------------------*/ +/** @defgroup MDIOS_Exported_Macros MDIOS Exported Macros + * @{ + */ + +/** @brief Reset MDIOS handle state + * @param __HANDLE__: MDIOS handle. + * @retval None + */ +# 301 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_mdios.h" +/** + * @brief Enable/Disable the MDIOS peripheral. + * @param __HANDLE__: specifies the MDIOS handle. + * @retval None + */ + + + + +/** + * @brief Enable the MDIOS device interrupt. + * @param __HANDLE__: specifies the MDIOS handle. + * @param __INTERRUPT__ : specifies the MDIOS interrupt sources to be enabled. + * This parameter can be one or a combination of the following values: + * @arg MDIOS_IT_WRITE: Register write interrupt + * @arg MDIOS_IT_READ: Register read interrupt + * @arg MDIOS_IT_ERROR: Error interrupt + * @retval None + */ + + +/** + * @brief Disable the MDIOS device interrupt. + * @param __HANDLE__: specifies the MDIOS handle. + * @param __INTERRUPT__ : specifies the MDIOS interrupt sources to be disabled. + * This parameter can be one or a combination of the following values: + * @arg MDIOS_IT_WRITE: Register write interrupt + * @arg MDIOS_IT_READ: Register read interrupt + * @arg MDIOS_IT_ERROR: Error interrupt + * @retval None + */ + + +/** @brief Set MDIOS slave get write register flag + * @param __HANDLE__: specifies the MDIOS handle. + * @param __FLAG__: specifies the write register flag + * @retval The state of write flag + */ + + +/** @brief MDIOS slave get read register flag + * @param __HANDLE__: specifies the MDIOS handle. + * @param __FLAG__: specifies the read register flag + * @retval The state of read flag + */ + + +/** @brief MDIOS slave get interrupt + * @param __HANDLE__: specifies the MDIOS handle. + * @param __FLAG__ : specifies the Error flag. + * This parameter can be one or a combination of the following values: + * @arg MDIOS_TURNARROUND_ERROR_FLAG: Register write interrupt + * @arg MDIOS_START_ERROR_FLAG: Register read interrupt + * @arg MDIOS_PREAMBLE_ERROR_FLAG: Error interrupt + * @retval The state of the error flag + */ + + +/** @brief MDIOS slave clear interrupt + * @param __HANDLE__: specifies the MDIOS handle. + * @param __FLAG__ : specifies the Error flag. + * This parameter can be one or a combination of the following values: + * @arg MDIOS_TURNARROUND_ERROR_FLAG: Register write interrupt + * @arg MDIOS_START_ERROR_FLAG: Register read interrupt + * @arg MDIOS_PREAMBLE_ERROR_FLAG: Error interrupt + * @retval none + */ + + +/** + * @brief Checks whether the specified MDIOS interrupt is set or not. + * @param __HANDLE__: specifies the MDIOS handle. + * @param __INTERRUPT__ : specifies the MDIOS interrupt sources + * This parameter can be one or a combination of the following values: + * @arg MDIOS_IT_WRITE: Register write interrupt + * @arg MDIOS_IT_READ: Register read interrupt + * @arg MDIOS_IT_ERROR: Error interrupt + * @retval The state of the interrupt source + */ + + +/** + * @brief Enable the MDIOS WAKEUP Exti Line. + * @param __EXTI_LINE__: specifies the MDIOS WAKEUP Exti sources to be enabled. + * This parameter can be: + * @arg MDIOS_WAKEUP_EXTI_LINE + * @retval None. + */ + + + +/** + * @brief Enable the MDIOS WAKEUP Exti Line by Domain2. + * @param __EXTI_LINE__: specifies the MDIOS WAKEUP Exti sources to be enabled. + * This parameter can be: + * @arg MDIOS_WAKEUP_EXTI_LINE + * @retval None. + */ + + + +/** + * @brief checks whether the specified MDIOS WAKEUP Exti interrupt flag is set or not. + * @param __EXTI_LINE__: specifies the MDIOS WAKEUP Exti sources to be cleared. + * This parameter can be: + * @arg MDIOS_WAKEUP_EXTI_LINE + * @retval EXTI MDIOS WAKEUP Line Status. + */ + + + +/** + * @brief checks whether the specified MDIOS WAKEUP Exti interrupt flag is set or not. + * @param __EXTI_LINE__: specifies the MDIOS WAKEUP Exti sources to be cleared. + * This parameter can be: + * @arg MDIOS_WAKEUP_EXTI_LINE + * @retval EXTI MDIOS WAKEUP Line Status. + */ + + +/** + * @brief Clear the MDIOS WAKEUP Exti flag. + * @param __EXTI_LINE__: specifies the MDIOS WAKEUP Exti sources to be cleared. + * This parameter can be: + * @arg MDIOS_WAKEUP_EXTI_LINE + * @retval None. + */ + + + +/** + * @brief Clear the MDIOS WAKEUP Exti flag. + * @param __EXTI_LINE__: specifies the MDIOS WAKEUP Exti sources to be cleared. + * This parameter can be: + * @arg MDIOS_WAKEUP_EXTI_LINE + * @retval None. + */ + + + +/** + * @brief enable rising edge interrupt on selected EXTI line. + * @param __EXTI_LINE__: specifies the MDIOS WAKEUP EXTI sources to be disabled. + * This parameter can be: + * @arg MDIOS_WAKEUP_EXTI_LINE + * @retval None + */ + + + +/** + * @brief enable falling edge interrupt on selected EXTI line. + * @param __EXTI_LINE__: specifies the MDIOS WAKEUP EXTI sources to be disabled. + * This parameter can be: + * @arg MDIOS_WAKEUP_EXTI_LINE + * @retval None + */ + + + +/** + * @brief enable falling edge interrupt on selected EXTI line. + * @param __EXTI_LINE__: specifies the MDIOS WAKEUP EXTI sources to be disabled. + * This parameter can be: + * @arg MDIOS_WAKEUP_EXTI_LINE + * @retval None + */ + + + +/** + * @brief Generates a Software interrupt on selected EXTI line. + * @param __EXTI_LINE__: specifies the MDIOS WAKEUP EXTI sources to be disabled. + * This parameter can be: + * @arg MDIOS_WAKEUP_EXTI_LINE + * @retval None + */ + + +/** + * @} + */ + +/* Exported functions --------------------------------------------------------*/ +/** @defgroup MDIOS_Exported_Functions MDIOS Exported Functions + * @{ + */ + +/** @addtogroup MDIOS_Exported_Functions_Group1 + * @{ + */ +HAL_StatusTypeDef HAL_MDIOS_Init(MDIOS_HandleTypeDef *hmdios); +HAL_StatusTypeDef HAL_MDIOS_DeInit(MDIOS_HandleTypeDef *hmdios); +void HAL_MDIOS_MspInit(MDIOS_HandleTypeDef *hmdios); +void HAL_MDIOS_MspDeInit(MDIOS_HandleTypeDef *hmdios); + +/* Callbacks Register/UnRegister functions ***********************************/ + + + + +/** + * @} + */ + +/** @addtogroup MDIOS_Exported_Functions_Group2 + * @{ + */ +HAL_StatusTypeDef HAL_MDIOS_WriteReg(MDIOS_HandleTypeDef *hmdios, uint32_t RegNum, uint16_t Data); +HAL_StatusTypeDef HAL_MDIOS_ReadReg(MDIOS_HandleTypeDef *hmdios, uint32_t RegNum, uint16_t *pData); + +uint32_t HAL_MDIOS_GetWrittenRegAddress(const MDIOS_HandleTypeDef *hmdios); +uint32_t HAL_MDIOS_GetReadRegAddress(const MDIOS_HandleTypeDef *hmdios); +HAL_StatusTypeDef HAL_MDIOS_ClearWriteRegAddress(MDIOS_HandleTypeDef *hmdios, uint32_t RegNum); +HAL_StatusTypeDef HAL_MDIOS_ClearReadRegAddress(MDIOS_HandleTypeDef *hmdios, uint32_t RegNum); + +HAL_StatusTypeDef HAL_MDIOS_EnableEvents(MDIOS_HandleTypeDef *hmdios); +void HAL_MDIOS_IRQHandler(MDIOS_HandleTypeDef *hmdios); +void HAL_MDIOS_WriteCpltCallback(MDIOS_HandleTypeDef *hmdios); +void HAL_MDIOS_ReadCpltCallback(MDIOS_HandleTypeDef *hmdios); +void HAL_MDIOS_ErrorCallback(MDIOS_HandleTypeDef *hmdios); +void HAL_MDIOS_WakeUpCallback(MDIOS_HandleTypeDef *hmdios); +/** + * @} + */ + +/** @addtogroup MDIOS_Exported_Functions_Group3 + * @{ + */ +uint32_t HAL_MDIOS_GetError(const MDIOS_HandleTypeDef *hmdios); +HAL_MDIOS_StateTypeDef HAL_MDIOS_GetState(const MDIOS_HandleTypeDef *hmdios); +/** + * @} + */ + +/** + * @} + */ + +/* Private types -------------------------------------------------------------*/ +/** @defgroup MDIOS_Private_Types MDIOS Private Types + * @{ + */ + +/** + * @} + */ + +/* Private variables ---------------------------------------------------------*/ +/** @defgroup MDIOS_Private_Variables MDIOS Private Variables + * @{ + */ + +/** + * @} + */ + +/* Private constants ---------------------------------------------------------*/ +/** @defgroup MDIOS_Private_Constants MDIOS Private Constants + * @{ + */ + +/** + * @} + */ + +/* Private macros ------------------------------------------------------------*/ +/** @defgroup MDIOS_Private_Macros MDIOS Private Macros + * @{ + */ +# 579 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_mdios.h" + /** + * @} + */ + +/* Private functions ---------------------------------------------------------*/ +/** @defgroup MDIOS_Private_Functions MDIOS Private Functions + * @{ + */ + +/** + * @} + */ + + +/** + * @} + */ + +/** + * @} + */ + + + + +} +# 387 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_mmc.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_mmc.h + * @author MCD Application Team + * @brief Header file of MMC HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_sdmmc.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_ll_sdmmc.h + * @author MCD Application Team + * @brief Header file of SDMMC HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_sdmmc.h" 2 + +/** @addtogroup STM32H7xx_Driver + * @{ + */ + +/** @addtogroup SDMMC_LL + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/** @defgroup SDMMC_LL_Exported_Types SDMMC_LL Exported Types + * @{ + */ + +/** + * @brief SDMMC Configuration Structure definition + */ +typedef struct +{ + uint32_t ClockEdge; /*!< Specifies the SDMMC_CCK clock transition on which Data and Command change. + This parameter can be a value of @ref SDMMC_LL_Clock_Edge */ + + uint32_t ClockPowerSave; /*!< Specifies whether SDMMC Clock output is enabled or + disabled when the bus is idle. + This parameter can be a value of @ref SDMMC_LL_Clock_Power_Save */ + + uint32_t BusWide; /*!< Specifies the SDMMC bus width. + This parameter can be a value of @ref SDMMC_LL_Bus_Wide */ + + uint32_t HardwareFlowControl; /*!< Specifies whether the SDMMC hardware flow control is enabled or disabled. + This parameter can be a value of @ref SDMMC_LL_Hardware_Flow_Control */ + + uint32_t ClockDiv; /*!< Specifies the clock frequency of the SDMMC controller. + This parameter can be a value between Min_Data = 0 and Max_Data = 1023 */ + + + + + +} SDMMC_InitTypeDef; + + +/** + * @brief SDMMC Command Control structure + */ +typedef struct +{ + uint32_t Argument; /*!< Specifies the SDMMC command argument which is sent + to a card as part of a command message. If a command + contains an argument, it must be loaded into this register + before writing the command to the command register. */ + + uint32_t CmdIndex; /*!< Specifies the SDMMC command index. It must be Min_Data = 0 and + Max_Data = 64 */ + + uint32_t Response; /*!< Specifies the SDMMC response type. + This parameter can be a value of @ref SDMMC_LL_Response_Type */ + + uint32_t WaitForInterrupt; /*!< Specifies whether SDMMC wait for interrupt request is + enabled or disabled. + This parameter can be a value of @ref SDMMC_LL_Wait_Interrupt_State */ + + uint32_t CPSM; /*!< Specifies whether SDMMC Command path state machine (CPSM) + is enabled or disabled. + This parameter can be a value of @ref SDMMC_LL_CPSM_State */ +} SDMMC_CmdInitTypeDef; + + +/** + * @brief SDMMC Data Control structure + */ +typedef struct +{ + uint32_t DataTimeOut; + + uint32_t DataLength; + + uint32_t DataBlockSize; /*!< Specifies the data block size for block transfer. + This parameter can be a value of @ref SDMMC_LL_Data_Block_Size */ + + uint32_t TransferDir; /*!< Specifies the data transfer direction, whether the transfer + is a read or write. + This parameter can be a value of @ref SDMMC_LL_Transfer_Direction */ + + uint32_t TransferMode; /*!< Specifies whether data transfer is in stream or block mode. + This parameter can be a value of @ref SDMMC_LL_Transfer_Type */ + + uint32_t DPSM; /*!< Specifies whether SDMMC Data path state machine (DPSM) + is enabled or disabled. + This parameter can be a value of @ref SDMMC_LL_DPSM_State */ +} SDMMC_DataInitTypeDef; + +/** + * @} + */ + +/* Exported constants --------------------------------------------------------*/ +/** @defgroup SDMMC_LL_Exported_Constants SDMMC_LL Exported Constants + * @{ + */ +# 163 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_sdmmc.h" +/** + * @brief Masks for R5 Response + */ +/** this is the reserved for future use in spec RFU */ + +/** Out of range error */ + +/** Invalid function number */ + +/** General or an unknown error */ + +/** SDIO Card current state + * 00=DIS (card not selected) + * 01=CMD (data line free) + * 10=TRN (transfer on data lines) */ + +/** Illegal command error */ + +/** CRC check of previous cmd failed */ + + + + + + + +/** + * @brief SDIO_CMD53_MODE + */ + + + +/** + * @brief SDIO_CMD53_OP_CODE + */ + + + +/** + * @brief SDIO_CMD53_RAW + */ + + + +/** + * @brief SDMMC Commands Index + */ +# 227 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_sdmmc.h" +/*!< for SDHS and SDXC. */ +# 252 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_sdmmc.h" +/** + * @brief Following commands are SD Card Specific commands. + * SDMMC_APP_CMD should be sent before sending these commands. + */ +# 265 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_sdmmc.h" +/** + * @brief Following commands are MMC Specific commands. + */ + + +/** + * @brief Following commands are SD Card Specific security commands. + * SDMMC_CMD_APP_CMD should be sent before sending these commands. + */ +# 286 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_sdmmc.h" +/** + * @brief Masks for errors Card Status R1 (OCR Register) + */ +# 310 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_sdmmc.h" +/** + * @brief Masks for R6 Response + */ +# 355 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_sdmmc.h" +/* SDMMC FIFO Size */ + +/** + * @brief Command Class supported + */ + + + + + + +/** @defgroup SDMMC_LL_Clock_Edge Clock Edge + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup SDMMC_LL_Clock_Power_Save Clock Power Saving + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup SDMMC_LL_Bus_Wide Bus Width + * @{ + */ + + + + + + + +/** + * @} + */ + +/** @defgroup SDMMC_LL_Speed_Mode + * @{ + */ +# 422 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_sdmmc.h" +/** + * @} + */ + +/** @defgroup SDMMC_LL_Hardware_Flow_Control Hardware Flow Control + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup SDMMC_LL_Clock_Division Clock Division + * @{ + */ +/* SDMMC_CK frequency = SDMMCCLK / [2 * CLKDIV] */ + +/** + * @} + */ + +/** @defgroup SDMMC_LL_TRANSCEIVER_PRESENT Transceiver Present + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup SDMMC_LL_Command_Index Command Index + * @{ + */ + +/** + * @} + */ + +/** @defgroup SDMMC_LL_Response_Type Response Type + * @{ + */ + + + + + + + +/** + * @} + */ + +/** @defgroup SDMMC_LL_Wait_Interrupt_State Wait Interrupt + * @{ + */ + + + + + + + +/** + * @} + */ + +/** @defgroup SDMMC_LL_CPSM_State CPSM State + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup SDMMC_LL_Response_Registers Response Register + * @{ + */ +# 519 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_sdmmc.h" +/** @defgroup SDMMC_Internal_DMA_Mode SDMMC Internal DMA Mode + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup SDMMC_LL_Data_Length Data Length + * @{ + */ + +/** + * @} + */ + +/** @defgroup SDMMC_LL_Data_Block_Size Data Block Size + * @{ + */ +# 577 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_sdmmc.h" +/** + * @} + */ + +/** @defgroup SDMMC_LL_Transfer_Direction Transfer Direction + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup SDMMC_LL_Transfer_Type Transfer Type + * @{ + */ + + + + + + + +/** + * @} + */ + +/** @defgroup SDMMC_LL_DPSM_State DPSM State + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup SDMMC_LL_Read_Wait_Mode Read Wait Mode + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup SDMMC_LL_Interrupt_sources Interrupt Sources + * @{ + */ +# 657 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_sdmmc.h" +/** + * @} + */ + +/** @defgroup SDMMC_LL_Flags Flags + * @{ + */ +# 709 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_sdmmc.h" +/** + * @} + */ + +/** @defgroup SDMMC_SDIO_CCCR_Registers + * @{ + */ +/*-------------------------------- CCCR0 ----------------------------------*/ + + + + + + +/*-------------------------------- CCCR4 ----------------------------------*/ + + + + + + +/*-------------------------------- CCCR8 ----------------------------------*/ + + + + + + +/*-------------------------------- CCCR12 ---------------------------------*/ + + + + + + +/*-------------------------------- CCCR16 ---------------------------------*/ + + + + + + +/*-------------------------------- CCCR20 ---------------------------------*/ + + + + + + +/*-------------------------------- F1BR0 ----------------------------------*/ + + + + + + +/*-------------------------------- F1BR8 ----------------------------------*/ + + + + + + +/*-------------------------------- F1BR12 ---------------------------------*/ + + + + + + +/*-------------------------------- F1BR16 ---------------------------------*/ + + + + + +/** + * @} + */ + +/** + * @} + */ + +/* Exported macro ------------------------------------------------------------*/ +/** @defgroup SDMMC_LL_Exported_macros SDMMC_LL Exported Macros + * @{ + */ + +/** @defgroup SDMMC_LL_Register Bits And Addresses Definitions + * @brief SDMMC_LL registers bit address in the alias region + * @{ + */ +/* ---------------------- SDMMC registers bit mask --------------------------- */ +/* --- CLKCR Register ---*/ +/* CLKCR register clear mask */ + + + + + + +/* --- DCTRL Register ---*/ +/* SDMMC DCTRL Clear Mask */ + + + +/* --- CMD Register ---*/ +/* CMD Register clear mask */ + + + + +/* SDMMC Initialization Frequency (400KHz max) for Peripheral CLK 200MHz*/ + + +/* SDMMC Default Speed Frequency (25Mhz max) for Peripheral CLK 200MHz*/ + + +/* SDMMC High Speed Frequency (50Mhz max) for Peripheral CLK 200MHz*/ + +/** + * @} + */ + +/** @defgroup SDMMC_LL_Interrupt_Clock Interrupt And Clock Configuration + * @brief macros to handle interrupts and specific clock configurations + * @{ + */ + +/** + * @brief Enable the SDMMC device interrupt. + * @param __INSTANCE__ Pointer to SDMMC register base + * @param __INTERRUPT__ specifies the SDMMC interrupt sources to be enabled. + * This parameter can be one or a combination of the following values: + * @arg SDMMC_IT_CCRCFAIL: Command response received (CRC check failed) interrupt + * @arg SDMMC_IT_DCRCFAIL: Data block sent/received (CRC check failed) interrupt + * @arg SDMMC_IT_CTIMEOUT: Command response timeout interrupt + * @arg SDMMC_IT_DTIMEOUT: Data timeout interrupt + * @arg SDMMC_IT_TXUNDERR: Transmit FIFO underrun error interrupt + * @arg SDMMC_IT_RXOVERR: Received FIFO overrun error interrupt + * @arg SDMMC_IT_CMDREND: Command response received (CRC check passed) interrupt + * @arg SDMMC_IT_CMDSENT: Command sent (no response required) interrupt + * @arg SDMMC_IT_DATAEND: Data end (data counter, DATACOUNT, is zero) interrupt + * @arg SDMMC_IT_DHOLD: Data transfer Hold interrupt + * @arg SDMMC_IT_DBCKEND: Data block sent/received (CRC check passed) interrupt + * @arg SDMMC_IT_DABORT: Data transfer aborted by CMD12 interrupt + * @arg SDMMC_IT_TXFIFOHE: Transmit FIFO Half Empty interrupt + * @arg SDMMC_IT_RXFIFOHF: Receive FIFO Half Full interrupt + * @arg SDMMC_IT_RXFIFOF: Receive FIFO full interrupt + * @arg SDMMC_IT_TXFIFOE: Transmit FIFO empty interrupt + * @arg SDMMC_IT_BUSYD0END: End of SDMMC_D0 Busy following a CMD response detected interrupt + * @arg SDMMC_IT_SDIOIT: SDIO interrupt received interrupt + * @arg SDMMC_IT_ACKFAIL: Boot Acknowledgment received interrupt + * @arg SDMMC_IT_ACKTIMEOUT: Boot Acknowledgment timeout interrupt + * @arg SDMMC_IT_VSWEND: Voltage switch critical timing section completion interrupt + * @arg SDMMC_IT_CKSTOP: SDMMC_CK stopped in Voltage switch procedure interrupt + * @arg SDMMC_IT_IDMABTC: IDMA buffer transfer complete interrupt + * @retval None + */ + + +/** + * @brief Disable the SDMMC device interrupt. + * @param __INSTANCE__ Pointer to SDMMC register base + * @param __INTERRUPT__ specifies the SDMMC interrupt sources to be disabled. + * This parameter can be one or a combination of the following values: + * @arg SDMMC_IT_CCRCFAIL: Command response received (CRC check failed) interrupt + * @arg SDMMC_IT_DCRCFAIL: Data block sent/received (CRC check failed) interrupt + * @arg SDMMC_IT_CTIMEOUT: Command response timeout interrupt + * @arg SDMMC_IT_DTIMEOUT: Data timeout interrupt + * @arg SDMMC_IT_TXUNDERR: Transmit FIFO underrun error interrupt + * @arg SDMMC_IT_RXOVERR: Received FIFO overrun error interrupt + * @arg SDMMC_IT_CMDREND: Command response received (CRC check passed) interrupt + * @arg SDMMC_IT_CMDSENT: Command sent (no response required) interrupt + * @arg SDMMC_IT_DATAEND: Data end (data counter, DATACOUNT, is zero) interrupt + * @arg SDMMC_IT_DHOLD: Data transfer Hold interrupt + * @arg SDMMC_IT_DBCKEND: Data block sent/received (CRC check passed) interrupt + * @arg SDMMC_IT_DABORT: Data transfer aborted by CMD12 interrupt + * @arg SDMMC_IT_TXFIFOHE: Transmit FIFO Half Empty interrupt + * @arg SDMMC_IT_RXFIFOHF: Receive FIFO Half Full interrupt + * @arg SDMMC_IT_RXFIFOF: Receive FIFO full interrupt + * @arg SDMMC_IT_TXFIFOE: Transmit FIFO empty interrupt + * @arg SDMMC_IT_BUSYD0END: End of SDMMC_D0 Busy following a CMD response detected interrupt + * @arg SDMMC_IT_SDIOIT: SDIO interrupt received interrupt + * @arg SDMMC_IT_ACKFAIL: Boot Acknowledgment received interrupt + * @arg SDMMC_IT_ACKTIMEOUT: Boot Acknowledgment timeout interrupt + * @arg SDMMC_IT_VSWEND: Voltage switch critical timing section completion interrupt + * @arg SDMMC_IT_CKSTOP: SDMMC_CK stopped in Voltage switch procedure interrupt + * @arg SDMMC_IT_IDMABTC: IDMA buffer transfer complete interrupt + * @retval None + */ + + +/** + * @brief Checks whether the specified SDMMC flag is set or not. + * @param __INSTANCE__ Pointer to SDMMC register base + * @param __FLAG__ specifies the flag to check. + * This parameter can be one of the following values: + * @arg SDMMC_FLAG_CCRCFAIL: Command response received (CRC check failed) + * @arg SDMMC_FLAG_DCRCFAIL: Data block sent/received (CRC check failed) + * @arg SDMMC_FLAG_CTIMEOUT: Command response timeout + * @arg SDMMC_FLAG_DTIMEOUT: Data timeout + * @arg SDMMC_FLAG_TXUNDERR: Transmit FIFO underrun error + * @arg SDMMC_FLAG_RXOVERR: Received FIFO overrun error + * @arg SDMMC_FLAG_CMDREND: Command response received (CRC check passed) + * @arg SDMMC_FLAG_CMDSENT: Command sent (no response required) + * @arg SDMMC_FLAG_DATAEND: Data end (data counter, DATACOUNT, is zero) + * @arg SDMMC_FLAG_DHOLD: Data transfer Hold + * @arg SDMMC_FLAG_DBCKEND: Data block sent/received (CRC check passed) + * @arg SDMMC_FLAG_DABORT: Data transfer aborted by CMD12 + * @arg SDMMC_FLAG_DPSMACT: Data path state machine active + * @arg SDMMC_FLAG_CPSMACT: Command path state machine active + * @arg SDMMC_FLAG_TXFIFOHE: Transmit FIFO Half Empty + * @arg SDMMC_FLAG_RXFIFOHF: Receive FIFO Half Full + * @arg SDMMC_FLAG_TXFIFOF: Transmit FIFO full + * @arg SDMMC_FLAG_RXFIFOF: Receive FIFO full + * @arg SDMMC_FLAG_TXFIFOE: Transmit FIFO empty + * @arg SDMMC_FLAG_RXFIFOE: Receive FIFO empty + * @arg SDMMC_FLAG_BUSYD0: Inverted value of SDMMC_D0 line (Busy) + * @arg SDMMC_FLAG_BUSYD0END: End of SDMMC_D0 Busy following a CMD response detected + * @arg SDMMC_FLAG_SDIOIT: SDIO interrupt received + * @arg SDMMC_FLAG_ACKFAIL: Boot Acknowledgment received + * @arg SDMMC_FLAG_ACKTIMEOUT: Boot Acknowledgment timeout + * @arg SDMMC_FLAG_VSWEND: Voltage switch critical timing section completion + * @arg SDMMC_FLAG_CKSTOP: SDMMC_CK stopped in Voltage switch procedure + * @arg SDMMC_FLAG_IDMATE: IDMA transfer error + * @arg SDMMC_FLAG_IDMABTC: IDMA buffer transfer complete + * @retval The new state of SDMMC_FLAG (SET or RESET). + */ + + + +/** + * @brief Clears the SDMMC pending flags. + * @param __INSTANCE__ Pointer to SDMMC register base + * @param __FLAG__ specifies the flag to clear. + * This parameter can be one or a combination of the following values: + * @arg SDMMC_FLAG_CCRCFAIL: Command response received (CRC check failed) + * @arg SDMMC_FLAG_DCRCFAIL: Data block sent/received (CRC check failed) + * @arg SDMMC_FLAG_CTIMEOUT: Command response timeout + * @arg SDMMC_FLAG_DTIMEOUT: Data timeout + * @arg SDMMC_FLAG_TXUNDERR: Transmit FIFO underrun error + * @arg SDMMC_FLAG_RXOVERR: Received FIFO overrun error + * @arg SDMMC_FLAG_CMDREND: Command response received (CRC check passed) + * @arg SDMMC_FLAG_CMDSENT: Command sent (no response required) + * @arg SDMMC_FLAG_DATAEND: Data end (data counter, DATACOUNT, is zero) + * @arg SDMMC_FLAG_DHOLD: Data transfer Hold + * @arg SDMMC_FLAG_DBCKEND: Data block sent/received (CRC check passed) + * @arg SDMMC_FLAG_DABORT: Data transfer aborted by CMD12 + * @arg SDMMC_FLAG_BUSYD0END: End of SDMMC_D0 Busy following a CMD response detected + * @arg SDMMC_FLAG_SDIOIT: SDIO interrupt received + * @arg SDMMC_FLAG_ACKFAIL: Boot Acknowledgment received + * @arg SDMMC_FLAG_ACKTIMEOUT: Boot Acknowledgment timeout + * @arg SDMMC_FLAG_VSWEND: Voltage switch critical timing section completion + * @arg SDMMC_FLAG_CKSTOP: SDMMC_CK stopped in Voltage switch procedure + * @arg SDMMC_FLAG_IDMATE: IDMA transfer error + * @arg SDMMC_FLAG_IDMABTC: IDMA buffer transfer complete + * @retval None + */ + + +/** + * @brief Checks whether the specified SDMMC interrupt has occurred or not. + * @param __INSTANCE__ Pointer to SDMMC register base + * @param __INTERRUPT__ specifies the SDMMC interrupt source to check. + * This parameter can be one of the following values: + * @arg SDMMC_IT_CCRCFAIL: Command response received (CRC check failed) interrupt + * @arg SDMMC_IT_DCRCFAIL: Data block sent/received (CRC check failed) interrupt + * @arg SDMMC_IT_CTIMEOUT: Command response timeout interrupt + * @arg SDMMC_IT_DTIMEOUT: Data timeout interrupt + * @arg SDMMC_IT_TXUNDERR: Transmit FIFO underrun error interrupt + * @arg SDMMC_IT_RXOVERR: Received FIFO overrun error interrupt + * @arg SDMMC_IT_CMDREND: Command response received (CRC check passed) interrupt + * @arg SDMMC_IT_CMDSENT: Command sent (no response required) interrupt + * @arg SDMMC_IT_DATAEND: Data end (data counter, DATACOUNT, is zero) interrupt + * @arg SDMMC_IT_DHOLD: Data transfer Hold interrupt + * @arg SDMMC_IT_DBCKEND: Data block sent/received (CRC check passed) interrupt + * @arg SDMMC_IT_DABORT: Data transfer aborted by CMD12 interrupt + * @arg SDMMC_IT_TXFIFOHE: Transmit FIFO Half Empty interrupt + * @arg SDMMC_IT_RXFIFOHF: Receive FIFO Half Full interrupt + * @arg SDMMC_IT_RXFIFOF: Receive FIFO full interrupt + * @arg SDMMC_IT_TXFIFOE: Transmit FIFO empty interrupt + * @arg SDMMC_IT_BUSYD0END: End of SDMMC_D0 Busy following a CMD response detected interrupt + * @arg SDMMC_IT_SDIOIT: SDIO interrupt received interrupt + * @arg SDMMC_IT_ACKFAIL: Boot Acknowledgment received interrupt + * @arg SDMMC_IT_ACKTIMEOUT: Boot Acknowledgment timeout interrupt + * @arg SDMMC_IT_VSWEND: Voltage switch critical timing section completion interrupt + * @arg SDMMC_IT_CKSTOP: SDMMC_CK stopped in Voltage switch procedure interrupt + * @arg SDMMC_IT_IDMABTC: IDMA buffer transfer complete interrupt + * @retval The new state of SDMMC_IT (SET or RESET). + */ + + +/** + * @brief Checks the source of specified interrupt. + * @param __INSTANCE__ Pointer to SDMMC register base + * @param __INTERRUPT__ specifies the SDMMC interrupt source to check. + * This parameter can be one of the following values: + * @arg SDMMC_IT_CCRCFAIL: Command response received (CRC check failed) interrupt + * @arg SDMMC_IT_DCRCFAIL: Data block sent/received (CRC check failed) interrupt + * @arg SDMMC_IT_CTIMEOUT: Command response timeout interrupt + * @arg SDMMC_IT_DTIMEOUT: Data timeout interrupt + * @arg SDMMC_IT_TXUNDERR: Transmit FIFO underrun error interrupt + * @arg SDMMC_IT_RXOVERR: Received FIFO overrun error interrupt + * @arg SDMMC_IT_CMDREND: Command response received (CRC check passed) interrupt + * @arg SDMMC_IT_CMDSENT: Command sent (no response required) interrupt + * @arg SDMMC_IT_DATAEND: Data end (data counter, DATACOUNT, is zero) interrupt + * @arg SDMMC_IT_DHOLD: Data transfer Hold interrupt + * @arg SDMMC_IT_DBCKEND: Data block sent/received (CRC check passed) interrupt + * @arg SDMMC_IT_DABORT: Data transfer aborted by CMD12 interrupt + * @arg SDMMC_IT_TXFIFOHE: Transmit FIFO Half Empty interrupt + * @arg SDMMC_IT_RXFIFOHF: Receive FIFO Half Full interrupt + * @arg SDMMC_IT_RXFIFOF: Receive FIFO full interrupt + * @arg SDMMC_IT_TXFIFOE: Transmit FIFO empty interrupt + * @arg SDMMC_IT_BUSYD0END: End of SDMMC_D0 Busy following a CMD response detected interrupt + * @arg SDMMC_IT_SDIOIT: SDIO interrupt received interrupt + * @arg SDMMC_IT_ACKFAIL: Boot Acknowledgment received interrupt + * @arg SDMMC_IT_ACKTIMEOUT: Boot Acknowledgment timeout interrupt + * @arg SDMMC_IT_VSWEND: Voltage switch critical timing section completion interrupt + * @arg SDMMC_IT_CKSTOP: SDMMC_CK stopped in Voltage switch procedure interrupt + * @arg SDMMC_IT_IDMABTC: IDMA buffer transfer complete interrupt + * @retval The new state of SDMMC_IT (SET or RESET). + */ + + +/** + * @brief Clears the SDMMC's interrupt pending bits. + * @param __INSTANCE__ Pointer to SDMMC register base + * @param __INTERRUPT__ specifies the interrupt pending bit to clear. + * This parameter can be one or a combination of the following values: + * @arg SDMMC_IT_CCRCFAIL: Command response received (CRC check failed) interrupt + * @arg SDMMC_IT_DCRCFAIL: Data block sent/received (CRC check failed) interrupt + * @arg SDMMC_IT_CTIMEOUT: Command response timeout interrupt + * @arg SDMMC_IT_DTIMEOUT: Data timeout interrupt + * @arg SDMMC_IT_TXUNDERR: Transmit FIFO underrun error interrupt + * @arg SDMMC_IT_RXOVERR: Received FIFO overrun error interrupt + * @arg SDMMC_IT_CMDREND: Command response received (CRC check passed) interrupt + * @arg SDMMC_IT_CMDSENT: Command sent (no response required) interrupt + * @arg SDMMC_IT_DATAEND: Data end (data counter, DATACOUNT, is zero) interrupt + * @arg SDMMC_IT_DHOLD: Data transfer Hold interrupt + * @arg SDMMC_IT_DBCKEND: Data block sent/received (CRC check passed) interrupt + * @arg SDMMC_IT_DABORT: Data transfer aborted by CMD12 interrupt + * @arg SDMMC_IT_BUSYD0END: End of SDMMC_D0 Busy following a CMD response detected interrupt + * @arg SDMMC_IT_SDIOIT: SDIO interrupt received interrupt + * @arg SDMMC_IT_ACKFAIL: Boot Acknowledgment received interrupt + * @arg SDMMC_IT_ACKTIMEOUT: Boot Acknowledgment timeout interrupt + * @arg SDMMC_IT_VSWEND: Voltage switch critical timing section completion interrupt + * @arg SDMMC_IT_CKSTOP: SDMMC_CK stopped in Voltage switch procedure interrupt + * @arg SDMMC_IT_IDMABTC: IDMA buffer transfer complete interrupt + * @retval None + */ + + +/** + * @brief Enable Start the SD I/O Read Wait operation. + * @param __INSTANCE__ Pointer to SDMMC register base + * @retval None + */ + + +/** + * @brief Disable Start the SD I/O Read Wait operations. + * @param __INSTANCE__ Pointer to SDMMC register base + * @retval None + */ + + +/** + * @brief Enable Start the SD I/O Read Wait operation. + * @param __INSTANCE__ Pointer to SDMMC register base + * @retval None + */ + + +/** + * @brief Disable Stop the SD I/O Read Wait operations. + * @param __INSTANCE__ Pointer to SDMMC register base + * @retval None + */ + + +/** + * @brief Enable the SD I/O Mode Operation. + * @param __INSTANCE__ Pointer to SDMMC register base + * @retval None + */ + + +/** + * @brief Disable the SD I/O Mode Operation. + * @param __INSTANCE__ Pointer to SDMMC register base + * @retval None + */ + + +/** + * @brief Enable the SD I/O Suspend command sending. + * @param __INSTANCE__ Pointer to SDMMC register base + * @retval None + */ + + +/** + * @brief Disable the SD I/O Suspend command sending. + * @param __INSTANCE__ Pointer to SDMMC register base + * @retval None + */ + + +/** + * @brief Enable the CMDTRANS mode. + * @param __INSTANCE__ Pointer to SDMMC register base + * @retval None + */ + + +/** + * @brief Disable the CMDTRANS mode. + * @param __INSTANCE__ Pointer to SDMMC register base + * @retval None + */ + + +/** + * @brief Enable the CMDSTOP mode. + * @param __INSTANCE__ Pointer to SDMMC register base + * @retval None + */ + + +/** + * @brief Disable the CMDSTOP mode. + * @param __INSTANCE__ Pointer to SDMMC register base + * @retval None + */ + + +/** + * @} + */ + +/** + * @} + */ + +/* Exported functions --------------------------------------------------------*/ +/** @addtogroup SDMMC_LL_Exported_Functions + * @{ + */ + +/* Initialization/de-initialization functions **********************************/ +/** @addtogroup HAL_SDMMC_LL_Group1 + * @{ + */ +HAL_StatusTypeDef SDMMC_Init(SDMMC_TypeDef *SDMMCx, SDMMC_InitTypeDef Init); +/** + * @} + */ + +/* I/O operation functions *****************************************************/ +/** @addtogroup HAL_SDMMC_LL_Group2 + * @{ + */ +uint32_t SDMMC_ReadFIFO(const SDMMC_TypeDef *SDMMCx); +HAL_StatusTypeDef SDMMC_WriteFIFO(SDMMC_TypeDef *SDMMCx, uint32_t *pWriteData); +/** + * @} + */ + +/* Peripheral Control functions ************************************************/ +/** @addtogroup HAL_SDMMC_LL_Group3 + * @{ + */ +HAL_StatusTypeDef SDMMC_PowerState_ON(SDMMC_TypeDef *SDMMCx); +HAL_StatusTypeDef SDMMC_PowerState_Cycle(SDMMC_TypeDef *SDMMCx); +HAL_StatusTypeDef SDMMC_PowerState_OFF(SDMMC_TypeDef *SDMMCx); +uint32_t SDMMC_GetPowerState(const SDMMC_TypeDef *SDMMCx); + +/* Command path state machine (CPSM) management functions */ +HAL_StatusTypeDef SDMMC_SendCommand(SDMMC_TypeDef *SDMMCx, const SDMMC_CmdInitTypeDef *Command); +uint8_t SDMMC_GetCommandResponse(const SDMMC_TypeDef *SDMMCx); +uint32_t SDMMC_GetResponse(const SDMMC_TypeDef *SDMMCx, uint32_t Response); + +/* Data path state machine (DPSM) management functions */ +HAL_StatusTypeDef SDMMC_ConfigData(SDMMC_TypeDef *SDMMCx, const SDMMC_DataInitTypeDef *Data); +uint32_t SDMMC_GetDataCounter(const SDMMC_TypeDef *SDMMCx); +uint32_t SDMMC_GetFIFOCount(const SDMMC_TypeDef *SDMMCx); + +/* SDMMC Cards mode management functions */ +HAL_StatusTypeDef SDMMC_SetSDMMCReadWaitMode(SDMMC_TypeDef *SDMMCx, uint32_t SDMMC_ReadWaitMode); +/** + * @} + */ + +/* SDMMC Commands management functions ******************************************/ +/** @addtogroup HAL_SDMMC_LL_Group4 + * @{ + */ +uint32_t SDMMC_CmdBlockLength(SDMMC_TypeDef *SDMMCx, uint32_t BlockSize); +uint32_t SDMMC_CmdReadSingleBlock(SDMMC_TypeDef *SDMMCx, uint32_t ReadAdd); +uint32_t SDMMC_CmdReadMultiBlock(SDMMC_TypeDef *SDMMCx, uint32_t ReadAdd); +uint32_t SDMMC_CmdWriteSingleBlock(SDMMC_TypeDef *SDMMCx, uint32_t WriteAdd); +uint32_t SDMMC_CmdWriteMultiBlock(SDMMC_TypeDef *SDMMCx, uint32_t WriteAdd); +uint32_t SDMMC_CmdEraseStartAdd(SDMMC_TypeDef *SDMMCx, uint32_t StartAdd); +uint32_t SDMMC_CmdSDEraseStartAdd(SDMMC_TypeDef *SDMMCx, uint32_t StartAdd); +uint32_t SDMMC_CmdEraseEndAdd(SDMMC_TypeDef *SDMMCx, uint32_t EndAdd); +uint32_t SDMMC_CmdSDEraseEndAdd(SDMMC_TypeDef *SDMMCx, uint32_t EndAdd); +uint32_t SDMMC_CmdErase(SDMMC_TypeDef *SDMMCx, uint32_t EraseType); +uint32_t SDMMC_CmdStopTransfer(SDMMC_TypeDef *SDMMCx); +uint32_t SDMMC_CmdSelDesel(SDMMC_TypeDef *SDMMCx, uint32_t Addr); +uint32_t SDMMC_CmdGoIdleState(SDMMC_TypeDef *SDMMCx); +uint32_t SDMMC_CmdOperCond(SDMMC_TypeDef *SDMMCx); +uint32_t SDMMC_CmdAppCommand(SDMMC_TypeDef *SDMMCx, uint32_t Argument); +uint32_t SDMMC_CmdAppOperCommand(SDMMC_TypeDef *SDMMCx, uint32_t Argument); +uint32_t SDMMC_CmdBusWidth(SDMMC_TypeDef *SDMMCx, uint32_t BusWidth); +uint32_t SDMMC_CmdSendSCR(SDMMC_TypeDef *SDMMCx); +uint32_t SDMMC_CmdSendCID(SDMMC_TypeDef *SDMMCx); +uint32_t SDMMC_CmdSendCSD(SDMMC_TypeDef *SDMMCx, uint32_t Argument); +uint32_t SDMMC_CmdSetRelAdd(SDMMC_TypeDef *SDMMCx, uint16_t *pRCA); +uint32_t SDMMC_CmdSetRelAddMmc(SDMMC_TypeDef *SDMMCx, uint16_t RCA); +uint32_t SDMMC_CmdSleepMmc(SDMMC_TypeDef *SDMMCx, uint32_t Argument); +uint32_t SDMMC_CmdSendStatus(SDMMC_TypeDef *SDMMCx, uint32_t Argument); +uint32_t SDMMC_CmdStatusRegister(SDMMC_TypeDef *SDMMCx); +uint32_t SDMMC_CmdVoltageSwitch(SDMMC_TypeDef *SDMMCx); +uint32_t SDMMC_CmdOpCondition(SDMMC_TypeDef *SDMMCx, uint32_t Argument); +uint32_t SDMMC_CmdSwitch(SDMMC_TypeDef *SDMMCx, uint32_t Argument); +uint32_t SDMMC_CmdSendEXTCSD(SDMMC_TypeDef *SDMMCx, uint32_t Argument); +uint32_t SDMMC_CmdBlockCount(SDMMC_TypeDef *SDMMCx, uint32_t BlockCount); +uint32_t SDMMC_SDIO_CmdReadWriteDirect(SDMMC_TypeDef *SDMMCx, uint32_t Argument, uint8_t *pResponse); +uint32_t SDMMC_SDIO_CmdReadWriteExtended(SDMMC_TypeDef *SDMMCx, uint32_t Argument); +uint32_t SDMMC_CmdSendOperationcondition(SDMMC_TypeDef *SDMMCx, uint32_t Argument, uint32_t *pResp); +/** + * @} + */ + +/* SDMMC Responses management functions *****************************************/ +/** @addtogroup HAL_SDMMC_LL_Group5 + * @{ + */ +uint32_t SDMMC_GetCmdResp1(SDMMC_TypeDef *SDMMCx, uint8_t SD_CMD, uint32_t Timeout); +uint32_t SDMMC_GetCmdResp2(SDMMC_TypeDef *SDMMCx); +uint32_t SDMMC_GetCmdResp3(SDMMC_TypeDef *SDMMCx); +uint32_t SDMMC_GetCmdResp4(SDMMC_TypeDef *SDMMCx, uint32_t *pResp); +uint32_t SDMMC_GetCmdResp5(SDMMC_TypeDef *SDMMCx, uint8_t SDIO_CMD, uint8_t *pData); +uint32_t SDMMC_GetCmdResp6(SDMMC_TypeDef *SDMMCx, uint8_t SD_CMD, uint16_t *pRCA); +uint32_t SDMMC_GetCmdResp7(SDMMC_TypeDef *SDMMCx); +/** + * @} + */ + + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + +} +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_mmc.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + + +/** @addtogroup MMC + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/** @defgroup MMC_Exported_Types MMC Exported Types + * @{ + */ + +/** @defgroup MMC_Exported_Types_Group1 MMC State enumeration structure + * @{ + */ +typedef enum +{ + HAL_MMC_STATE_RESET = ((uint32_t)0x00000000U), + HAL_MMC_STATE_READY = ((uint32_t)0x00000001U), + HAL_MMC_STATE_TIMEOUT = ((uint32_t)0x00000002U), + HAL_MMC_STATE_BUSY = ((uint32_t)0x00000003U), + HAL_MMC_STATE_PROGRAMMING = ((uint32_t)0x00000004U), + HAL_MMC_STATE_RECEIVING = ((uint32_t)0x00000005U), + HAL_MMC_STATE_TRANSFER = ((uint32_t)0x00000006U), + HAL_MMC_STATE_ERROR = ((uint32_t)0x0000000FU) +} HAL_MMC_StateTypeDef; +/** + * @} + */ + +/** @defgroup MMC_Exported_Types_Group2 MMC Card State enumeration structure + * @{ + */ +typedef uint32_t HAL_MMC_CardStateTypeDef; +# 79 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_mmc.h" +/** + * @} + */ + +/** @defgroup MMC_Exported_Types_Group3 MMC Handle Structure definition + * @{ + */ + + + +/** + * @brief MMC Card Information Structure definition + */ +typedef struct +{ + uint32_t CardType; + + uint32_t Class; + + uint32_t RelCardAdd; + + uint32_t BlockNbr; + + uint32_t BlockSize; + + uint32_t LogBlockNbr; + + uint32_t LogBlockSize; + +} HAL_MMC_CardInfoTypeDef; + +/** + * @brief MMC handle Structure definition + */ + + + +typedef struct + +{ + SDMMC_TypeDef *Instance; + + SDMMC_InitTypeDef Init; + + HAL_LockTypeDef Lock; + + const uint8_t *pTxBuffPtr; + + uint32_t TxXferSize; + + uint8_t *pRxBuffPtr; + + uint32_t RxXferSize; + + volatile uint32_t Context; + + volatile HAL_MMC_StateTypeDef State; + + volatile uint32_t ErrorCode; + + volatile uint16_t RPMBErrorCode; + + HAL_MMC_CardInfoTypeDef MmcCard; + + uint32_t CSD[4U]; + + uint32_t CID[4U]; + + uint32_t Ext_CSD[128]; +# 162 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_mmc.h" +} MMC_HandleTypeDef; + + +/** + * @} + */ + +/** @defgroup MMC_Exported_Types_Group4 Card Specific Data: CSD Register + * @{ + */ +typedef struct +{ + volatile uint8_t CSDStruct; + volatile uint8_t SysSpecVersion; + volatile uint8_t Reserved1; + volatile uint8_t TAAC; + volatile uint8_t NSAC; + volatile uint8_t MaxBusClkFrec; + volatile uint16_t CardComdClasses; + volatile uint8_t RdBlockLen; + volatile uint8_t PartBlockRead; + volatile uint8_t WrBlockMisalign; + volatile uint8_t RdBlockMisalign; + volatile uint8_t DSRImpl; + volatile uint8_t Reserved2; + volatile uint32_t DeviceSize; + volatile uint8_t MaxRdCurrentVDDMin; + volatile uint8_t MaxRdCurrentVDDMax; + volatile uint8_t MaxWrCurrentVDDMin; + volatile uint8_t MaxWrCurrentVDDMax; + volatile uint8_t DeviceSizeMul; + volatile uint8_t EraseGrSize; + volatile uint8_t EraseGrMul; + volatile uint8_t WrProtectGrSize; + volatile uint8_t WrProtectGrEnable; + volatile uint8_t ManDeflECC; + volatile uint8_t WrSpeedFact; + volatile uint8_t MaxWrBlockLen; + volatile uint8_t WriteBlockPaPartial; + volatile uint8_t Reserved3; + volatile uint8_t ContentProtectAppli; + volatile uint8_t FileFormatGroup; + volatile uint8_t CopyFlag; + volatile uint8_t PermWrProtect; + volatile uint8_t TempWrProtect; + volatile uint8_t FileFormat; + volatile uint8_t ECC; + volatile uint8_t CSD_CRC; + volatile uint8_t Reserved4; + +} HAL_MMC_CardCSDTypeDef; +/** + * @} + */ + +/** @defgroup MMC_Exported_Types_Group5 Card Identification Data: CID Register + * @{ + */ +typedef struct +{ + volatile uint8_t ManufacturerID; + volatile uint16_t OEM_AppliID; + volatile uint32_t ProdName1; + volatile uint8_t ProdName2; + volatile uint8_t ProdRev; + volatile uint32_t ProdSN; + volatile uint8_t Reserved1; + volatile uint16_t ManufactDate; + volatile uint8_t CID_CRC; + volatile uint8_t Reserved2; + +} HAL_MMC_CardCIDTypeDef; +/** + * @} + */ +# 268 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_mmc.h" +/** + * @} + */ + +/* Exported constants --------------------------------------------------------*/ +/** @defgroup MMC_Exported_Constants Exported Constants + * @{ + */ + + + +/** @defgroup MMC_Exported_Constansts_Group1 MMC Error status enumeration Structure definition + * @{ + */ +# 291 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_mmc.h" +/*!< number of transferred bytes does not match the block length */ + + + + +/*!< command or if there was an attempt to access a locked card */ +# 308 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_mmc.h" +/*!< of erase sequence command was received */ +# 318 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_mmc.h" +/*!< response results after operating with RPMB partition */ +# 332 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_mmc.h" +/** + * @} + */ + +/** @defgroup MMC_Exported_Constansts_Group2 MMC context enumeration + * @{ + */ +# 347 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_mmc.h" +/** + * @} + */ + +/** @defgroup MMC_Exported_Constansts_Group3 MMC Voltage mode + * @{ + */ +/** + * @brief + */ + + + + + + + +/** + * @} + */ + +/** @defgroup MMC_Exported_Constansts_Group4 MMC Memory Cards + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup MMC_Exported_Constansts_Group5 MMC Erase Type + * @{ + */ +# 394 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_mmc.h" +/** + * @} + */ + +/** @defgroup MMC_Exported_Constansts_Group6 MMC Secure Removal Type + * @{ + */ +# 411 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_mmc.h" +/** + * @} + */ + +/** @defgroup MMC_Exported_Constansts_Group7 MMC Partitions types + * @{ + */ +typedef uint32_t HAL_MMC_PartitionTypeDef; + + + + + +/** + * @} + */ + +/** + * @} + */ + +/* Exported macro ------------------------------------------------------------*/ +/** @defgroup MMC_Exported_macros MMC Exported Macros + * @brief macros to handle interrupts and specific clock configurations + * @{ + */ +/** @brief Reset MMC handle state. + * @param __HANDLE__ MMC Handle. + * @retval None + */ +# 451 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_mmc.h" +/** + * @brief Enable the MMC device interrupt. + * @param __HANDLE__ MMC Handle. + * @param __INTERRUPT__ specifies the SDMMC interrupt sources to be enabled. + * This parameter can be one or a combination of the following values: + * @arg SDMMC_IT_CCRCFAIL: Command response received (CRC check failed) interrupt + * @arg SDMMC_IT_DCRCFAIL: Data block sent/received (CRC check failed) interrupt + * @arg SDMMC_IT_CTIMEOUT: Command response timeout interrupt + * @arg SDMMC_IT_DTIMEOUT: Data timeout interrupt + * @arg SDMMC_IT_TXUNDERR: Transmit FIFO underrun error interrupt + * @arg SDMMC_IT_RXOVERR: Received FIFO overrun error interrupt + * @arg SDMMC_IT_CMDREND: Command response received (CRC check passed) interrupt + * @arg SDMMC_IT_CMDSENT: Command sent (no response required) interrupt + * @arg SDMMC_IT_DATAEND: Data end (data counter, DATACOUNT, is zero) interrupt + * @arg SDMMC_IT_DHOLD: Data transfer Hold interrupt + * @arg SDMMC_IT_DBCKEND: Data block sent/received (CRC check passed) interrupt + * @arg SDMMC_IT_DABORT: Data transfer aborted by CMD12 interrupt + * @arg SDMMC_IT_TXFIFOHE: Transmit FIFO Half Empty interrupt + * @arg SDMMC_IT_RXFIFOHF: Receive FIFO Half Full interrupt + * @arg SDMMC_IT_RXFIFOF: Receive FIFO full interrupt + * @arg SDMMC_IT_TXFIFOE: Transmit FIFO empty interrupt + * @arg SDMMC_IT_BUSYD0END: End of SDMMC_D0 Busy following a CMD response detected interrupt + * @arg SDMMC_IT_SDIOIT: SD I/O interrupt received interrupt + * @arg SDMMC_IT_ACKFAIL: Boot Acknowledgment received interrupt + * @arg SDMMC_IT_ACKTIMEOUT: Boot Acknowledgment timeout interrupt + * @arg SDMMC_IT_VSWEND: Voltage switch critical timing section completion interrupt + * @arg SDMMC_IT_CKSTOP: SDMMC_CK stopped in Voltage switch procedure interrupt + * @arg SDMMC_IT_IDMABTC: IDMA buffer transfer complete interrupt + * @retval None + */ + + +/** + * @brief Disable the MMC device interrupt. + * @param __HANDLE__ MMC Handle. + * @param __INTERRUPT__ specifies the SDMMC interrupt sources to be disabled. + * This parameter can be one or a combination of the following values: + * @arg SDMMC_IT_CCRCFAIL: Command response received (CRC check failed) interrupt + * @arg SDMMC_IT_DCRCFAIL: Data block sent/received (CRC check failed) interrupt + * @arg SDMMC_IT_CTIMEOUT: Command response timeout interrupt + * @arg SDMMC_IT_DTIMEOUT: Data timeout interrupt + * @arg SDMMC_IT_TXUNDERR: Transmit FIFO underrun error interrupt + * @arg SDMMC_IT_RXOVERR: Received FIFO overrun error interrupt + * @arg SDMMC_IT_CMDREND: Command response received (CRC check passed) interrupt + * @arg SDMMC_IT_CMDSENT: Command sent (no response required) interrupt + * @arg SDMMC_IT_DATAEND: Data end (data counter, DATACOUNT, is zero) interrupt + * @arg SDMMC_IT_DHOLD: Data transfer Hold interrupt + * @arg SDMMC_IT_DBCKEND: Data block sent/received (CRC check passed) interrupt + * @arg SDMMC_IT_DABORT: Data transfer aborted by CMD12 interrupt + * @arg SDMMC_IT_TXFIFOHE: Transmit FIFO Half Empty interrupt + * @arg SDMMC_IT_RXFIFOHF: Receive FIFO Half Full interrupt + * @arg SDMMC_IT_RXFIFOF: Receive FIFO full interrupt + * @arg SDMMC_IT_TXFIFOE: Transmit FIFO empty interrupt + * @arg SDMMC_IT_BUSYD0END: End of SDMMC_D0 Busy following a CMD response detected interrupt + * @arg SDMMC_IT_SDIOIT: SD I/O interrupt received interrupt + * @arg SDMMC_IT_ACKFAIL: Boot Acknowledgment received interrupt + * @arg SDMMC_IT_ACKTIMEOUT: Boot Acknowledgment timeout interrupt + * @arg SDMMC_IT_VSWEND: Voltage switch critical timing section completion interrupt + * @arg SDMMC_IT_CKSTOP: SDMMC_CK stopped in Voltage switch procedure interrupt + * @arg SDMMC_IT_IDMABTC: IDMA buffer transfer complete interrupt + * @retval None + */ + + +/** + * @brief Check whether the specified MMC flag is set or not. + * @param __HANDLE__ MMC Handle. + * @param __FLAG__ specifies the flag to check. + * This parameter can be one of the following values: + * @arg SDMMC_FLAG_CCRCFAIL: Command response received (CRC check failed) + * @arg SDMMC_FLAG_DCRCFAIL: Data block sent/received (CRC check failed) + * @arg SDMMC_FLAG_CTIMEOUT: Command response timeout + * @arg SDMMC_FLAG_DTIMEOUT: Data timeout + * @arg SDMMC_FLAG_TXUNDERR: Transmit FIFO underrun error + * @arg SDMMC_FLAG_RXOVERR: Received FIFO overrun error + * @arg SDMMC_FLAG_CMDREND: Command response received (CRC check passed) + * @arg SDMMC_FLAG_CMDSENT: Command sent (no response required) + * @arg SDMMC_FLAG_DATAEND: Data end (data counter, DATACOUNT, is zero) + * @arg SDMMC_FLAG_DHOLD: Data transfer Hold + * @arg SDMMC_FLAG_DBCKEND: Data block sent/received (CRC check passed) + * @arg SDMMC_FLAG_DABORT: Data transfer aborted by CMD12 + * @arg SDMMC_FLAG_DPSMACT: Data path state machine active + * @arg SDMMC_FLAG_CPSMACT: Command path state machine active + * @arg SDMMC_FLAG_TXFIFOHE: Transmit FIFO Half Empty + * @arg SDMMC_FLAG_RXFIFOHF: Receive FIFO Half Full + * @arg SDMMC_FLAG_TXFIFOF: Transmit FIFO full + * @arg SDMMC_FLAG_RXFIFOF: Receive FIFO full + * @arg SDMMC_FLAG_TXFIFOE: Transmit FIFO empty + * @arg SDMMC_FLAG_RXFIFOE: Receive FIFO empty + * @arg SDMMC_FLAG_BUSYD0: Inverted value of SDMMC_D0 line (Busy) + * @arg SDMMC_FLAG_BUSYD0END: End of SDMMC_D0 Busy following a CMD response detected + * @arg SDMMC_FLAG_SDIOIT: SD I/O interrupt received + * @arg SDMMC_FLAG_ACKFAIL: Boot Acknowledgment received + * @arg SDMMC_FLAG_ACKTIMEOUT: Boot Acknowledgment timeout + * @arg SDMMC_FLAG_VSWEND: Voltage switch critical timing section completion + * @arg SDMMC_FLAG_CKSTOP: SDMMC_CK stopped in Voltage switch procedure + * @arg SDMMC_FLAG_IDMATE: IDMA transfer error + * @arg SDMMC_FLAG_IDMABTC: IDMA buffer transfer complete + * @retval The new state of MMC FLAG (SET or RESET). + */ + + +/** + * @brief Clear the MMC's pending flags. + * @param __HANDLE__ MMC Handle. + * @param __FLAG__ specifies the flag to clear. + * This parameter can be one or a combination of the following values: + * @arg SDMMC_FLAG_CCRCFAIL: Command response received (CRC check failed) + * @arg SDMMC_FLAG_DCRCFAIL: Data block sent/received (CRC check failed) + * @arg SDMMC_FLAG_CTIMEOUT: Command response timeout + * @arg SDMMC_FLAG_DTIMEOUT: Data timeout + * @arg SDMMC_FLAG_TXUNDERR: Transmit FIFO underrun error + * @arg SDMMC_FLAG_RXOVERR: Received FIFO overrun error + * @arg SDMMC_FLAG_CMDREND: Command response received (CRC check passed) + * @arg SDMMC_FLAG_CMDSENT: Command sent (no response required) + * @arg SDMMC_FLAG_DATAEND: Data end (data counter, DATACOUNT, is zero) + * @arg SDMMC_FLAG_DHOLD: Data transfer Hold + * @arg SDMMC_FLAG_DBCKEND: Data block sent/received (CRC check passed) + * @arg SDMMC_FLAG_DABORT: Data transfer aborted by CMD12 + * @arg SDMMC_FLAG_BUSYD0END: End of SDMMC_D0 Busy following a CMD response detected + * @arg SDMMC_FLAG_SDIOIT: SD I/O interrupt received + * @arg SDMMC_FLAG_ACKFAIL: Boot Acknowledgment received + * @arg SDMMC_FLAG_ACKTIMEOUT: Boot Acknowledgment timeout + * @arg SDMMC_FLAG_VSWEND: Voltage switch critical timing section completion + * @arg SDMMC_FLAG_CKSTOP: SDMMC_CK stopped in Voltage switch procedure + * @arg SDMMC_FLAG_IDMATE: IDMA transfer error + * @arg SDMMC_FLAG_IDMABTC: IDMA buffer transfer complete + * @retval None + */ + + +/** + * @brief Check whether the specified MMC interrupt has occurred or not. + * @param __HANDLE__ MMC Handle. + * @param __INTERRUPT__ specifies the SDMMC interrupt source to check. + * This parameter can be one of the following values: + * @arg SDMMC_IT_CCRCFAIL: Command response received (CRC check failed) interrupt + * @arg SDMMC_IT_DCRCFAIL: Data block sent/received (CRC check failed) interrupt + * @arg SDMMC_IT_CTIMEOUT: Command response timeout interrupt + * @arg SDMMC_IT_DTIMEOUT: Data timeout interrupt + * @arg SDMMC_IT_TXUNDERR: Transmit FIFO underrun error interrupt + * @arg SDMMC_IT_RXOVERR: Received FIFO overrun error interrupt + * @arg SDMMC_IT_CMDREND: Command response received (CRC check passed) interrupt + * @arg SDMMC_IT_CMDSENT: Command sent (no response required) interrupt + * @arg SDMMC_IT_DATAEND: Data end (data counter, DATACOUNT, is zero) interrupt + * @arg SDMMC_IT_DHOLD: Data transfer Hold interrupt + * @arg SDMMC_IT_DBCKEND: Data block sent/received (CRC check passed) interrupt + * @arg SDMMC_IT_DABORT: Data transfer aborted by CMD12 interrupt + * @arg SDMMC_IT_TXFIFOHE: Transmit FIFO Half Empty interrupt + * @arg SDMMC_IT_RXFIFOHF: Receive FIFO Half Full interrupt + * @arg SDMMC_IT_RXFIFOF: Receive FIFO full interrupt + * @arg SDMMC_IT_TXFIFOE: Transmit FIFO empty interrupt + * @arg SDMMC_IT_BUSYD0END: End of SDMMC_D0 Busy following a CMD response detected interrupt + * @arg SDMMC_IT_SDIOIT: SD I/O interrupt received interrupt + * @arg SDMMC_IT_ACKFAIL: Boot Acknowledgment received interrupt + * @arg SDMMC_IT_ACKTIMEOUT: Boot Acknowledgment timeout interrupt + * @arg SDMMC_IT_VSWEND: Voltage switch critical timing section completion interrupt + * @arg SDMMC_IT_CKSTOP: SDMMC_CK stopped in Voltage switch procedure interrupt + * @arg SDMMC_IT_IDMABTC: IDMA buffer transfer complete interrupt + * @retval The new state of MMC IT (SET or RESET). + */ + + +/** + * @brief Clear the MMC's interrupt pending bits. + * @param __HANDLE__ MMC Handle. + * @param __INTERRUPT__ specifies the interrupt pending bit to clear. + * This parameter can be one or a combination of the following values: + * @arg SDMMC_IT_CCRCFAIL: Command response received (CRC check failed) interrupt + * @arg SDMMC_IT_DCRCFAIL: Data block sent/received (CRC check failed) interrupt + * @arg SDMMC_IT_CTIMEOUT: Command response timeout interrupt + * @arg SDMMC_IT_DTIMEOUT: Data timeout interrupt + * @arg SDMMC_IT_TXUNDERR: Transmit FIFO underrun error interrupt + * @arg SDMMC_IT_RXOVERR: Received FIFO overrun error interrupt + * @arg SDMMC_IT_CMDREND: Command response received (CRC check passed) interrupt + * @arg SDMMC_IT_CMDSENT: Command sent (no response required) interrupt + * @arg SDMMC_IT_DATAEND: Data end (data counter, DATACOUNT, is zero) interrupt + * @arg SDMMC_IT_DHOLD: Data transfer Hold interrupt + * @arg SDMMC_IT_DBCKEND: Data block sent/received (CRC check passed) interrupt + * @arg SDMMC_IT_DABORT: Data transfer aborted by CMD12 interrupt + * @arg SDMMC_IT_TXFIFOHE: Transmit FIFO Half Empty interrupt + * @arg SDMMC_IT_RXFIFOHF: Receive FIFO Half Full interrupt + * @arg SDMMC_IT_RXFIFOF: Receive FIFO full interrupt + * @arg SDMMC_IT_TXFIFOE: Transmit FIFO empty interrupt + * @arg SDMMC_IT_BUSYD0END: End of SDMMC_D0 Busy following a CMD response detected interrupt + * @arg SDMMC_IT_SDIOIT: SD I/O interrupt received interrupt + * @arg SDMMC_IT_ACKFAIL: Boot Acknowledgment received interrupt + * @arg SDMMC_IT_ACKTIMEOUT: Boot Acknowledgment timeout interrupt + * @arg SDMMC_IT_VSWEND: Voltage switch critical timing section completion interrupt + * @arg SDMMC_IT_CKSTOP: SDMMC_CK stopped in Voltage switch procedure interrupt + * @arg SDMMC_IT_IDMABTC: IDMA buffer transfer complete interrupt + * @retval None + */ + + +/** + * @} + */ + +/* Include MMC HAL Extension module */ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_mmc_ex.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_mmc_ex.h + * @author MCD Application Team + * @brief Header file of SD HAL extended module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_mmc_ex.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup MMCEx + * @brief SD HAL extended module driver + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/** @defgroup MMCEx_Exported_Types MMCEx Exported Types + * @{ + */ + +/** @defgroup MMCEx_Exported_Types_Group1 MMC Internal DMA Buffer structure + * @{ + */ +typedef enum +{ + MMC_DMA_BUFFER0 = 0x00U, + MMC_DMA_BUFFER1 = 0x01U, + +} HAL_MMCEx_DMABuffer_MemoryTypeDef; + + +/** + * @} + */ + +/** + * @} + */ +/* Exported functions --------------------------------------------------------*/ +/** @defgroup MMCEx_Exported_Functions MMCEx Exported Functions + * @{ + */ + +/** @defgroup MMCEx_Exported_Functions_Group1 MultiBuffer functions + * @{ + */ +HAL_StatusTypeDef HAL_MMCEx_ConfigDMAMultiBuffer(MMC_HandleTypeDef *hmmc, uint32_t *pDataBuffer0, + uint32_t *pDataBuffer1, uint32_t BufferSize); +HAL_StatusTypeDef HAL_MMCEx_ReadBlocksDMAMultiBuffer(MMC_HandleTypeDef *hmmc, uint32_t BlockAdd, + uint32_t NumberOfBlocks); +HAL_StatusTypeDef HAL_MMCEx_WriteBlocksDMAMultiBuffer(MMC_HandleTypeDef *hmmc, uint32_t BlockAdd, + uint32_t NumberOfBlocks); +HAL_StatusTypeDef HAL_MMCEx_ChangeDMABuffer(MMC_HandleTypeDef *hmmc, HAL_MMCEx_DMABuffer_MemoryTypeDef Buffer, + uint32_t *pDataBuffer); + +void HAL_MMCEx_Read_DMADoubleBuf0CpltCallback(MMC_HandleTypeDef *hmmc); +void HAL_MMCEx_Read_DMADoubleBuf1CpltCallback(MMC_HandleTypeDef *hmmc); +void HAL_MMCEx_Write_DMADoubleBuf0CpltCallback(MMC_HandleTypeDef *hmmc); +void HAL_MMCEx_Write_DMADoubleBuf1CpltCallback(MMC_HandleTypeDef *hmmc); + +/** + * @} + */ + +/** + * @} + */ + +/* Private types -------------------------------------------------------------*/ +/* Private defines -----------------------------------------------------------*/ +/* Private variables ---------------------------------------------------------*/ +/* Private constants ---------------------------------------------------------*/ +/* Private macros ------------------------------------------------------------*/ +/* Private functions prototypes ----------------------------------------------*/ +/* Private functions ---------------------------------------------------------*/ + +/** + * @} + */ + + +/** + * @} + */ + +} +# 652 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_mmc.h" 2 + +/* Exported functions --------------------------------------------------------*/ +/** @defgroup MMC_Exported_Functions MMC Exported Functions + * @{ + */ + +/** @defgroup MMC_Exported_Functions_Group1 Initialization and de-initialization functions + * @{ + */ +HAL_StatusTypeDef HAL_MMC_Init(MMC_HandleTypeDef *hmmc); +HAL_StatusTypeDef HAL_MMC_InitCard(MMC_HandleTypeDef *hmmc); +HAL_StatusTypeDef HAL_MMC_DeInit(MMC_HandleTypeDef *hmmc); +void HAL_MMC_MspInit(MMC_HandleTypeDef *hmmc); +void HAL_MMC_MspDeInit(MMC_HandleTypeDef *hmmc); + +/** + * @} + */ + +/** @defgroup MMC_Exported_Functions_Group2 Input and Output operation functions + * @{ + */ +/* Blocking mode: Polling */ +HAL_StatusTypeDef HAL_MMC_ReadBlocks(MMC_HandleTypeDef *hmmc, uint8_t *pData, uint32_t BlockAdd, + uint32_t NumberOfBlocks, + uint32_t Timeout); +HAL_StatusTypeDef HAL_MMC_WriteBlocks(MMC_HandleTypeDef *hmmc, const uint8_t *pData, uint32_t BlockAdd, + uint32_t NumberOfBlocks, uint32_t Timeout); +HAL_StatusTypeDef HAL_MMC_Erase(MMC_HandleTypeDef *hmmc, uint32_t BlockStartAdd, uint32_t BlockEndAdd); +/* Non-Blocking mode: IT */ +HAL_StatusTypeDef HAL_MMC_ReadBlocks_IT(MMC_HandleTypeDef *hmmc, uint8_t *pData, uint32_t BlockAdd, + uint32_t NumberOfBlocks); +HAL_StatusTypeDef HAL_MMC_WriteBlocks_IT(MMC_HandleTypeDef *hmmc, const uint8_t *pData, uint32_t BlockAdd, + uint32_t NumberOfBlocks); +/* Non-Blocking mode: DMA */ +HAL_StatusTypeDef HAL_MMC_ReadBlocks_DMA(MMC_HandleTypeDef *hmmc, uint8_t *pData, uint32_t BlockAdd, + uint32_t NumberOfBlocks); +HAL_StatusTypeDef HAL_MMC_WriteBlocks_DMA(MMC_HandleTypeDef *hmmc, const uint8_t *pData, uint32_t BlockAdd, + uint32_t NumberOfBlocks); + +void HAL_MMC_IRQHandler(MMC_HandleTypeDef *hmmc); + +/* Callback in non blocking modes (DMA) */ +void HAL_MMC_TxCpltCallback(MMC_HandleTypeDef *hmmc); +void HAL_MMC_RxCpltCallback(MMC_HandleTypeDef *hmmc); +void HAL_MMC_ErrorCallback(MMC_HandleTypeDef *hmmc); +void HAL_MMC_AbortCallback(MMC_HandleTypeDef *hmmc); + + + + + + + +/** + * @} + */ + +/** @defgroup MMC_Exported_Functions_Group3 Peripheral Control functions + * @{ + */ +HAL_StatusTypeDef HAL_MMC_ConfigWideBusOperation(MMC_HandleTypeDef *hmmc, uint32_t WideMode); +HAL_StatusTypeDef HAL_MMC_ConfigSpeedBusOperation(MMC_HandleTypeDef *hmmc, uint32_t SpeedMode); +HAL_StatusTypeDef HAL_MMC_SwitchPartition(MMC_HandleTypeDef *hmmc, HAL_MMC_PartitionTypeDef Partition); +/** + * @} + */ + +/** @defgroup MMC_Exported_Functions_Group4 MMC card related functions + * @{ + */ +HAL_MMC_CardStateTypeDef HAL_MMC_GetCardState(MMC_HandleTypeDef *hmmc); +HAL_StatusTypeDef HAL_MMC_GetCardCID(const MMC_HandleTypeDef *hmmc, HAL_MMC_CardCIDTypeDef *pCID); +HAL_StatusTypeDef HAL_MMC_GetCardCSD(MMC_HandleTypeDef *hmmc, HAL_MMC_CardCSDTypeDef *pCSD); +HAL_StatusTypeDef HAL_MMC_GetCardInfo(const MMC_HandleTypeDef *hmmc, HAL_MMC_CardInfoTypeDef *pCardInfo); +HAL_StatusTypeDef HAL_MMC_GetCardExtCSD(MMC_HandleTypeDef *hmmc, uint32_t *pExtCSD, uint32_t Timeout); +/** + * @} + */ + +/** @defgroup MMC_Exported_Functions_Group5 Peripheral State and Errors functions + * @{ + */ +HAL_MMC_StateTypeDef HAL_MMC_GetState(const MMC_HandleTypeDef *hmmc); +uint32_t HAL_MMC_GetError(const MMC_HandleTypeDef *hmmc); +uint32_t HAL_MMC_GetRPMBError(const MMC_HandleTypeDef *hmmc); +/** + * @} + */ + +/** @defgroup MMC_Exported_Functions_Group6 Peripheral Abort management + * @{ + */ +HAL_StatusTypeDef HAL_MMC_Abort(MMC_HandleTypeDef *hmmc); +HAL_StatusTypeDef HAL_MMC_Abort_IT(MMC_HandleTypeDef *hmmc); +/** + * @} + */ + +/** @defgroup MMC_Exported_Functions_Group7 Peripheral Erase management + * @{ + */ +HAL_StatusTypeDef HAL_MMC_EraseSequence(MMC_HandleTypeDef *hmmc, uint32_t EraseType, uint32_t BlockStartAdd, + uint32_t BlockEndAdd); +HAL_StatusTypeDef HAL_MMC_Sanitize(MMC_HandleTypeDef *hmmc); +HAL_StatusTypeDef HAL_MMC_ConfigSecRemovalType(MMC_HandleTypeDef *hmmc, uint32_t SRTMode); +HAL_StatusTypeDef HAL_MMC_GetSupportedSecRemovalType(MMC_HandleTypeDef *hmmc, uint32_t *SupportedSRT); +/** + * @} + */ + +/** @defgroup MMC_Exported_Functions_Group8 Peripheral Sleep management + * @{ + */ +HAL_StatusTypeDef HAL_MMC_SleepDevice(MMC_HandleTypeDef *hmmc); +HAL_StatusTypeDef HAL_MMC_AwakeDevice(MMC_HandleTypeDef *hmmc); +/** + * @} + */ + +/** @defgroup MMC_Exported_Functions_Group9 Replay Protected Memory Block management + * @{ + */ +HAL_StatusTypeDef HAL_MMC_RPMB_ProgramAuthenticationKey(MMC_HandleTypeDef *hmmc, const uint8_t *pKey, uint32_t Timeout); +HAL_StatusTypeDef HAL_MMC_RPMB_ProgramAuthenticationKey_IT(MMC_HandleTypeDef *hmmc, const uint8_t *pKey, + uint32_t Timeout); +uint32_t HAL_MMC_RPMB_GetWriteCounter(MMC_HandleTypeDef *hmmc, uint8_t *pNonce, uint32_t Timeout); +uint32_t HAL_MMC_RPMB_GetWriteCounter_IT(MMC_HandleTypeDef *hmmc, uint8_t *pNonce); +HAL_StatusTypeDef HAL_MMC_RPMB_WriteBlocks(MMC_HandleTypeDef *hmmc, const uint8_t *pData, uint16_t BlockAdd, + uint16_t NumberOfBlocks, const uint8_t *pMAC, uint32_t Timeout); +HAL_StatusTypeDef HAL_MMC_RPMB_WriteBlocks_IT(MMC_HandleTypeDef *hmmc, const uint8_t *pData, uint16_t BlockAdd, + uint16_t NumberOfBlocks, const uint8_t *pMAC); +HAL_StatusTypeDef HAL_MMC_RPMB_ReadBlocks(MMC_HandleTypeDef *hmmc, uint8_t *pData, uint16_t BlockAdd, + uint16_t NumberOfBlocks, const uint8_t *pNonce, uint8_t *pMAC, + uint32_t Timeout); +HAL_StatusTypeDef HAL_MMC_RPMB_ReadBlocks_IT(MMC_HandleTypeDef *hmmc, uint8_t *pData, uint16_t BlockAdd, + uint16_t NumberOfBlocks, const uint8_t *pNonce, uint8_t *pMAC); + +/** + * @} + */ + +/* Private types -------------------------------------------------------------*/ +/** @defgroup MMC_Private_Types MMC Private Types + * @{ + */ + +/** + * @} + */ + +/* Private defines -----------------------------------------------------------*/ +/** @defgroup MMC_Private_Defines MMC Private Defines + * @{ + */ + + +/** + * @} + */ + +/* Private variables ---------------------------------------------------------*/ +/** @defgroup MMC_Private_Variables MMC Private Variables + * @{ + */ + +/** + * @} + */ + +/* Private constants ---------------------------------------------------------*/ +/** @defgroup MMC_Private_Constants MMC Private Constants + * @{ + */ + +/** + * @} + */ + +/* Private macros ------------------------------------------------------------*/ +/** @defgroup MMC_Private_Macros MMC Private Macros + * @{ + */ + +/** + * @} + */ + +/* Private functions prototypes ----------------------------------------------*/ +/** @defgroup MMC_Private_Functions_Prototypes MMC Private Functions Prototypes + * @{ + */ + +/** + * @} + */ + +/* Private functions ---------------------------------------------------------*/ +/** @defgroup MMC_Private_Functions MMC Private Functions + * @{ + */ + +/** + * @} + */ + + +/** + * @} + */ + +/** + * @} + */ + + +/** + * @} + */ + + +} +# 391 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_lptim.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_lptim.h + * @author MCD Application Team + * @brief Header file of LPTIM HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_lptim.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + + + +/** @addtogroup LPTIM + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/** @defgroup LPTIM_Exported_Types LPTIM Exported Types + * @{ + */ + +/** + * @brief LPTIM Clock configuration definition + */ +typedef struct +{ + uint32_t Source; /*!< Selects the clock source. + This parameter can be a value of @ref LPTIM_Clock_Source */ + + uint32_t Prescaler; /*!< Specifies the counter clock Prescaler. + This parameter can be a value of @ref LPTIM_Clock_Prescaler */ + +} LPTIM_ClockConfigTypeDef; + +/** + * @brief LPTIM Clock configuration definition + */ +typedef struct +{ + uint32_t Polarity; /*!< Selects the polarity of the active edge for the counter unit + if the ULPTIM input is selected. + Note: This parameter is used only when Ultra low power clock source is used. + Note: If the polarity is configured on 'both edges', an auxiliary clock + (one of the Low power oscillator) must be active. + This parameter can be a value of @ref LPTIM_Clock_Polarity */ + + uint32_t SampleTime; /*!< Selects the clock sampling time to configure the clock glitch filter. + Note: This parameter is used only when Ultra low power clock source is used. + This parameter can be a value of @ref LPTIM_Clock_Sample_Time */ + +} LPTIM_ULPClockConfigTypeDef; + +/** + * @brief LPTIM Trigger configuration definition + */ +typedef struct +{ + uint32_t Source; /*!< Selects the Trigger source. + This parameter can be a value of @ref LPTIM_Trigger_Source */ + + uint32_t ActiveEdge; /*!< Selects the Trigger active edge. + Note: This parameter is used only when an external trigger is used. + This parameter can be a value of @ref LPTIM_External_Trigger_Polarity */ + + uint32_t SampleTime; /*!< Selects the trigger sampling time to configure the clock glitch filter. + Note: This parameter is used only when an external trigger is used. + This parameter can be a value of @ref LPTIM_Trigger_Sample_Time */ +} LPTIM_TriggerConfigTypeDef; + +/** + * @brief LPTIM Initialization Structure definition + */ +typedef struct +{ + LPTIM_ClockConfigTypeDef Clock; + + LPTIM_ULPClockConfigTypeDef UltraLowPowerClock; + + LPTIM_TriggerConfigTypeDef Trigger; + + uint32_t OutputPolarity; /*!< Specifies the Output polarity. + This parameter can be a value of @ref LPTIM_Output_Polarity */ + + uint32_t UpdateMode; /*!< Specifies whether the update of the autoreload and the compare + values is done immediately or after the end of current period. + This parameter can be a value of @ref LPTIM_Updating_Mode */ + + uint32_t CounterSource; /*!< Specifies whether the counter is incremented each internal event + or each external event. + This parameter can be a value of @ref LPTIM_Counter_Source */ + + uint32_t Input1Source; /*!< Specifies source selected for input1 (GPIO or comparator output). + This parameter can be a value of @ref LPTIM_Input1_Source */ + + uint32_t Input2Source; /*!< Specifies source selected for input2 (GPIO or comparator output). + Note: This parameter is used only for encoder feature so is used only + for LPTIM1 instance. + This parameter can be a value of @ref LPTIM_Input2_Source */ +} LPTIM_InitTypeDef; + +/** + * @brief HAL LPTIM State structure definition + */ +typedef enum +{ + HAL_LPTIM_STATE_RESET = 0x00U, + HAL_LPTIM_STATE_READY = 0x01U, + HAL_LPTIM_STATE_BUSY = 0x02U, + HAL_LPTIM_STATE_TIMEOUT = 0x03U, + HAL_LPTIM_STATE_ERROR = 0x04U +} HAL_LPTIM_StateTypeDef; + +/** + * @brief LPTIM handle Structure definition + */ + + + +typedef struct + +{ + LPTIM_TypeDef *Instance; + + LPTIM_InitTypeDef Init; + + HAL_StatusTypeDef Status; + + HAL_LockTypeDef Lock; + + volatile HAL_LPTIM_StateTypeDef State; +# 166 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_lptim.h" +} LPTIM_HandleTypeDef; +# 191 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_lptim.h" +/** + * @} + */ + +/* Exported constants --------------------------------------------------------*/ +/** @defgroup LPTIM_Exported_Constants LPTIM Exported Constants + * @{ + */ + +/** @defgroup LPTIM_Clock_Source LPTIM Clock Source + * @{ + */ + + +/** + * @} + */ + +/** @defgroup LPTIM_Clock_Prescaler LPTIM Clock Prescaler + * @{ + */ +# 220 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_lptim.h" +/** + * @} + */ + +/** @defgroup LPTIM_Output_Polarity LPTIM Output Polarity + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup LPTIM_Clock_Sample_Time LPTIM Clock Sample Time + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup LPTIM_Clock_Polarity LPTIM Clock Polarity + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup LPTIM_Trigger_Source LPTIM Trigger Source + * @{ + */ +# 267 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_lptim.h" +/** + * @} + */ + +/** @defgroup LPTIM_External_Trigger_Polarity LPTIM External Trigger Polarity + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup LPTIM_Trigger_Sample_Time LPTIM Trigger Sample Time + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup LPTIM_Updating_Mode LPTIM Updating Mode + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup LPTIM_Counter_Source LPTIM Counter Source + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup LPTIM_Input1_Source LPTIM Input1 Source + * @{ + */ +# 323 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_lptim.h" +/** + * @} + */ + +/** @defgroup LPTIM_Input2_Source LPTIM Input2 Source + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup LPTIM_Flag_Definition LPTIM Flags Definition + * @{ + */ +# 348 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_lptim.h" +/** + * @} + */ + +/** @defgroup LPTIM_Interrupts_Definition LPTIM Interrupts Definition + * @{ + */ + + + + + + + +/** + * @} + */ + +/** + * @} + */ + +/* Exported macros -----------------------------------------------------------*/ +/** @defgroup LPTIM_Exported_Macros LPTIM Exported Macros + * @{ + */ + +/** @brief Reset LPTIM handle state. + * @param __HANDLE__ LPTIM handle + * @retval None + */ +# 389 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_lptim.h" +/** + * @brief Enable the LPTIM peripheral. + * @param __HANDLE__ LPTIM handle + * @retval None + */ + + +/** + * @brief Disable the LPTIM peripheral. + * @param __HANDLE__ LPTIM handle + * @note The following sequence is required to solve LPTIM disable HW limitation. + * Please check Errata Sheet ES0335 for more details under "MCU may remain + * stuck in LPTIM interrupt when entering Stop mode" section. + * @note Please call @ref HAL_LPTIM_GetState() after a call to __HAL_LPTIM_DISABLE to + * check for TIMEOUT. + * @retval None + */ + + +/** + * @brief Start the LPTIM peripheral in Continuous mode. + * @param __HANDLE__ LPTIM handle + * @retval None + */ + +/** + * @brief Start the LPTIM peripheral in single mode. + * @param __HANDLE__ LPTIM handle + * @retval None + */ + + +/** + * @brief Reset the LPTIM Counter register in synchronous mode. + * @param __HANDLE__ LPTIM handle + * @retval None + */ + + +/** + * @brief Reset after read of the LPTIM Counter register in asynchronous mode. + * @param __HANDLE__ LPTIM handle + * @retval None + */ + + +/** + * @brief Write the passed parameter in the Autoreload register. + * @param __HANDLE__ LPTIM handle + * @param __VALUE__ Autoreload value + * This parameter must be a value between Min_Data = 0x0001 and Max_Data = 0xFFFF. + * @retval None + * @note The ARR register can only be modified when the LPTIM instance is enabled. + */ + + +/** + * @brief Write the passed parameter in the Compare register. + * @param __HANDLE__ LPTIM handle + * @param __VALUE__ Compare value + * @retval None + * @note The CMP register can only be modified when the LPTIM instance is enabled. + */ + + +/** + * @brief Check whether the specified LPTIM flag is set or not. + * @param __HANDLE__ LPTIM handle + * @param __FLAG__ LPTIM flag to check + * This parameter can be a value of: + * @arg LPTIM_FLAG_DOWN : Counter direction change up Flag. + * @arg LPTIM_FLAG_UP : Counter direction change down to up Flag. + * @arg LPTIM_FLAG_ARROK : Autoreload register update OK Flag. + * @arg LPTIM_FLAG_CMPOK : Compare register update OK Flag. + * @arg LPTIM_FLAG_EXTTRIG : External trigger edge event Flag. + * @arg LPTIM_FLAG_ARRM : Autoreload match Flag. + * @arg LPTIM_FLAG_CMPM : Compare match Flag. + * @retval The state of the specified flag (SET or RESET). + */ + + +/** + * @brief Clear the specified LPTIM flag. + * @param __HANDLE__ LPTIM handle. + * @param __FLAG__ LPTIM flag to clear. + * This parameter can be a value of: + * @arg LPTIM_FLAG_DOWN : Counter direction change up Flag. + * @arg LPTIM_FLAG_UP : Counter direction change down to up Flag. + * @arg LPTIM_FLAG_ARROK : Autoreload register update OK Flag. + * @arg LPTIM_FLAG_CMPOK : Compare register update OK Flag. + * @arg LPTIM_FLAG_EXTTRIG : External trigger edge event Flag. + * @arg LPTIM_FLAG_ARRM : Autoreload match Flag. + * @arg LPTIM_FLAG_CMPM : Compare match Flag. + * @retval None. + */ + + +/** + * @brief Enable the specified LPTIM interrupt. + * @param __HANDLE__ LPTIM handle. + * @param __INTERRUPT__ LPTIM interrupt to set. + * This parameter can be a value of: + * @arg LPTIM_IT_DOWN : Counter direction change up Interrupt. + * @arg LPTIM_IT_UP : Counter direction change down to up Interrupt. + * @arg LPTIM_IT_ARROK : Autoreload register update OK Interrupt. + * @arg LPTIM_IT_CMPOK : Compare register update OK Interrupt. + * @arg LPTIM_IT_EXTTRIG : External trigger edge event Interrupt. + * @arg LPTIM_IT_ARRM : Autoreload match Interrupt. + * @arg LPTIM_IT_CMPM : Compare match Interrupt. + * @retval None. + * @note The LPTIM interrupts can only be enabled when the LPTIM instance is disabled. + */ + + +/** + * @brief Disable the specified LPTIM interrupt. + * @param __HANDLE__ LPTIM handle. + * @param __INTERRUPT__ LPTIM interrupt to set. + * This parameter can be a value of: + * @arg LPTIM_IT_DOWN : Counter direction change up Interrupt. + * @arg LPTIM_IT_UP : Counter direction change down to up Interrupt. + * @arg LPTIM_IT_ARROK : Autoreload register update OK Interrupt. + * @arg LPTIM_IT_CMPOK : Compare register update OK Interrupt. + * @arg LPTIM_IT_EXTTRIG : External trigger edge event Interrupt. + * @arg LPTIM_IT_ARRM : Autoreload match Interrupt. + * @arg LPTIM_IT_CMPM : Compare match Interrupt. + * @retval None. + * @note The LPTIM interrupts can only be disabled when the LPTIM instance is disabled. + */ + + +/** + * @brief Check whether the specified LPTIM interrupt source is enabled or not. + * @param __HANDLE__ LPTIM handle. + * @param __INTERRUPT__ LPTIM interrupt to check. + * This parameter can be a value of: + * @arg LPTIM_IT_DOWN : Counter direction change up Interrupt. + * @arg LPTIM_IT_UP : Counter direction change down to up Interrupt. + * @arg LPTIM_IT_ARROK : Autoreload register update OK Interrupt. + * @arg LPTIM_IT_CMPOK : Compare register update OK Interrupt. + * @arg LPTIM_IT_EXTTRIG : External trigger edge event Interrupt. + * @arg LPTIM_IT_ARRM : Autoreload match Interrupt. + * @arg LPTIM_IT_CMPM : Compare match Interrupt. + * @retval Interrupt status. + */ + + + + +/** + * @} + */ + +/* Exported functions --------------------------------------------------------*/ +/** @defgroup LPTIM_Exported_Functions LPTIM Exported Functions + * @{ + */ + +/** @addtogroup LPTIM_Exported_Functions_Group1 + * @brief Initialization and Configuration functions. + * @{ + */ +/* Initialization/de-initialization functions ********************************/ +HAL_StatusTypeDef HAL_LPTIM_Init(LPTIM_HandleTypeDef *hlptim); +HAL_StatusTypeDef HAL_LPTIM_DeInit(LPTIM_HandleTypeDef *hlptim); + +/* MSP functions *************************************************************/ +void HAL_LPTIM_MspInit(LPTIM_HandleTypeDef *hlptim); +void HAL_LPTIM_MspDeInit(LPTIM_HandleTypeDef *hlptim); +/** + * @} + */ + +/** @addtogroup LPTIM_Exported_Functions_Group2 + * @brief Start-Stop operation functions. + * @{ + */ +/* Start/Stop operation functions *********************************************/ +/* ################################# PWM Mode ################################*/ +/* Blocking mode: Polling */ +HAL_StatusTypeDef HAL_LPTIM_PWM_Start(LPTIM_HandleTypeDef *hlptim, uint32_t Period, uint32_t Pulse); +HAL_StatusTypeDef HAL_LPTIM_PWM_Stop(LPTIM_HandleTypeDef *hlptim); +/* Non-Blocking mode: Interrupt */ +HAL_StatusTypeDef HAL_LPTIM_PWM_Start_IT(LPTIM_HandleTypeDef *hlptim, uint32_t Period, uint32_t Pulse); +HAL_StatusTypeDef HAL_LPTIM_PWM_Stop_IT(LPTIM_HandleTypeDef *hlptim); + +/* ############################# One Pulse Mode ##############################*/ +/* Blocking mode: Polling */ +HAL_StatusTypeDef HAL_LPTIM_OnePulse_Start(LPTIM_HandleTypeDef *hlptim, uint32_t Period, uint32_t Pulse); +HAL_StatusTypeDef HAL_LPTIM_OnePulse_Stop(LPTIM_HandleTypeDef *hlptim); +/* Non-Blocking mode: Interrupt */ +HAL_StatusTypeDef HAL_LPTIM_OnePulse_Start_IT(LPTIM_HandleTypeDef *hlptim, uint32_t Period, uint32_t Pulse); +HAL_StatusTypeDef HAL_LPTIM_OnePulse_Stop_IT(LPTIM_HandleTypeDef *hlptim); + +/* ############################## Set once Mode ##############################*/ +/* Blocking mode: Polling */ +HAL_StatusTypeDef HAL_LPTIM_SetOnce_Start(LPTIM_HandleTypeDef *hlptim, uint32_t Period, uint32_t Pulse); +HAL_StatusTypeDef HAL_LPTIM_SetOnce_Stop(LPTIM_HandleTypeDef *hlptim); +/* Non-Blocking mode: Interrupt */ +HAL_StatusTypeDef HAL_LPTIM_SetOnce_Start_IT(LPTIM_HandleTypeDef *hlptim, uint32_t Period, uint32_t Pulse); +HAL_StatusTypeDef HAL_LPTIM_SetOnce_Stop_IT(LPTIM_HandleTypeDef *hlptim); + +/* ############################### Encoder Mode ##############################*/ +/* Blocking mode: Polling */ +HAL_StatusTypeDef HAL_LPTIM_Encoder_Start(LPTIM_HandleTypeDef *hlptim, uint32_t Period); +HAL_StatusTypeDef HAL_LPTIM_Encoder_Stop(LPTIM_HandleTypeDef *hlptim); +/* Non-Blocking mode: Interrupt */ +HAL_StatusTypeDef HAL_LPTIM_Encoder_Start_IT(LPTIM_HandleTypeDef *hlptim, uint32_t Period); +HAL_StatusTypeDef HAL_LPTIM_Encoder_Stop_IT(LPTIM_HandleTypeDef *hlptim); + +/* ############################# Time out Mode ##############################*/ +/* Blocking mode: Polling */ +HAL_StatusTypeDef HAL_LPTIM_TimeOut_Start(LPTIM_HandleTypeDef *hlptim, uint32_t Period, uint32_t Timeout); +HAL_StatusTypeDef HAL_LPTIM_TimeOut_Stop(LPTIM_HandleTypeDef *hlptim); +/* Non-Blocking mode: Interrupt */ +HAL_StatusTypeDef HAL_LPTIM_TimeOut_Start_IT(LPTIM_HandleTypeDef *hlptim, uint32_t Period, uint32_t Timeout); +HAL_StatusTypeDef HAL_LPTIM_TimeOut_Stop_IT(LPTIM_HandleTypeDef *hlptim); + +/* ############################## Counter Mode ###############################*/ +/* Blocking mode: Polling */ +HAL_StatusTypeDef HAL_LPTIM_Counter_Start(LPTIM_HandleTypeDef *hlptim, uint32_t Period); +HAL_StatusTypeDef HAL_LPTIM_Counter_Stop(LPTIM_HandleTypeDef *hlptim); +/* Non-Blocking mode: Interrupt */ +HAL_StatusTypeDef HAL_LPTIM_Counter_Start_IT(LPTIM_HandleTypeDef *hlptim, uint32_t Period); +HAL_StatusTypeDef HAL_LPTIM_Counter_Stop_IT(LPTIM_HandleTypeDef *hlptim); +/** + * @} + */ + +/** @addtogroup LPTIM_Exported_Functions_Group3 + * @brief Read operation functions. + * @{ + */ +/* Reading operation functions ************************************************/ +uint32_t HAL_LPTIM_ReadCounter(const LPTIM_HandleTypeDef *hlptim); +uint32_t HAL_LPTIM_ReadAutoReload(const LPTIM_HandleTypeDef *hlptim); +uint32_t HAL_LPTIM_ReadCapturedValue(const LPTIM_HandleTypeDef *hlptim); +/** + * @} + */ + +/** @addtogroup LPTIM_Exported_Functions_Group4 + * @brief LPTIM IRQ handler and callback functions. + * @{ + */ +/* LPTIM IRQ functions *******************************************************/ +void HAL_LPTIM_IRQHandler(LPTIM_HandleTypeDef *hlptim); + +/* CallBack functions ********************************************************/ +void HAL_LPTIM_CompareMatchCallback(LPTIM_HandleTypeDef *hlptim); +void HAL_LPTIM_AutoReloadMatchCallback(LPTIM_HandleTypeDef *hlptim); +void HAL_LPTIM_TriggerCallback(LPTIM_HandleTypeDef *hlptim); +void HAL_LPTIM_CompareWriteCallback(LPTIM_HandleTypeDef *hlptim); +void HAL_LPTIM_AutoReloadWriteCallback(LPTIM_HandleTypeDef *hlptim); +void HAL_LPTIM_DirectionUpCallback(LPTIM_HandleTypeDef *hlptim); +void HAL_LPTIM_DirectionDownCallback(LPTIM_HandleTypeDef *hlptim); + +/* Callbacks Register/UnRegister functions ***********************************/ + + + + + +/** + * @} + */ + +/** @addtogroup LPTIM_Group5 + * @brief Peripheral State functions. + * @{ + */ +/* Peripheral State functions ************************************************/ +HAL_LPTIM_StateTypeDef HAL_LPTIM_GetState(const LPTIM_HandleTypeDef *hlptim); +/** + * @} + */ + +/** + * @} + */ + +/* Private types -------------------------------------------------------------*/ +/** @defgroup LPTIM_Private_Types LPTIM Private Types + * @{ + */ + +/** + * @} + */ + +/* Private variables ---------------------------------------------------------*/ +/** @defgroup LPTIM_Private_Variables LPTIM Private Variables + * @{ + */ + +/** + * @} + */ + +/* Private constants ---------------------------------------------------------*/ +/** @defgroup LPTIM_Private_Constants LPTIM Private Constants + * @{ + */ + +/** + * @} + */ + +/* Private macros ------------------------------------------------------------*/ +/** @defgroup LPTIM_Private_Macros LPTIM Private Macros + * @{ + */ +# 783 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_lptim.h" +/** + * @} + */ + +/* Private functions ---------------------------------------------------------*/ +/** @defgroup LPTIM_Private_Functions LPTIM Private Functions + * @{ + */ +void LPTIM_Disable(LPTIM_HandleTypeDef *hlptim); +/** + * @} + */ + +/** + * @} + */ + + +/** + * @} + */ + + +} +# 395 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_ltdc.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_ltdc.h + * @author MCD Application Team + * @brief Header file of LTDC HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_ltdc.h" 2 + + + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @defgroup LTDC LTDC + * @brief LTDC HAL module driver + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/** @defgroup LTDC_Exported_Types LTDC Exported Types + * @{ + */ + + +/** + * @brief LTDC color structure definition + */ +typedef struct +{ + uint8_t Blue; /*!< Configures the blue value. + This parameter must be a number between Min_Data = 0x00 and Max_Data = 0xFF. */ + + uint8_t Green; /*!< Configures the green value. + This parameter must be a number between Min_Data = 0x00 and Max_Data = 0xFF. */ + + uint8_t Red; /*!< Configures the red value. + This parameter must be a number between Min_Data = 0x00 and Max_Data = 0xFF. */ + + uint8_t Reserved; +} LTDC_ColorTypeDef; + +/** + * @brief LTDC Init structure definition + */ +typedef struct +{ + uint32_t HSPolarity; /*!< configures the horizontal synchronization polarity. + This parameter can be one value of @ref LTDC_HS_POLARITY */ + + uint32_t VSPolarity; /*!< configures the vertical synchronization polarity. + This parameter can be one value of @ref LTDC_VS_POLARITY */ + + uint32_t DEPolarity; /*!< configures the data enable polarity. + This parameter can be one of value of @ref LTDC_DE_POLARITY */ + + uint32_t PCPolarity; /*!< configures the pixel clock polarity. + This parameter can be one of value of @ref LTDC_PC_POLARITY */ + + uint32_t HorizontalSync; /*!< configures the number of Horizontal synchronization width. + This parameter must be a number between + Min_Data = 0x000 and Max_Data = 0xFFF. */ + + uint32_t VerticalSync; /*!< configures the number of Vertical synchronization height. + This parameter must be a number between + Min_Data = 0x000 and Max_Data = 0x7FF. */ + + uint32_t AccumulatedHBP; /*!< configures the accumulated horizontal back porch width. + This parameter must be a number between + Min_Data = LTDC_HorizontalSync and Max_Data = 0xFFF. */ + + uint32_t AccumulatedVBP; /*!< configures the accumulated vertical back porch height. + This parameter must be a number between + Min_Data = LTDC_VerticalSync and Max_Data = 0x7FF. */ + + uint32_t AccumulatedActiveW; /*!< configures the accumulated active width. + This parameter must be a number between + Min_Data = LTDC_AccumulatedHBP and Max_Data = 0xFFF. */ + + uint32_t AccumulatedActiveH; /*!< configures the accumulated active height. + This parameter must be a number between + Min_Data = LTDC_AccumulatedVBP and Max_Data = 0x7FF. */ + + uint32_t TotalWidth; /*!< configures the total width. + This parameter must be a number between + Min_Data = LTDC_AccumulatedActiveW and Max_Data = 0xFFF. */ + + uint32_t TotalHeigh; /*!< configures the total height. + This parameter must be a number between + Min_Data = LTDC_AccumulatedActiveH and Max_Data = 0x7FF. */ + + LTDC_ColorTypeDef Backcolor; +} LTDC_InitTypeDef; + +/** + * @brief LTDC Layer structure definition + */ +typedef struct +{ + uint32_t WindowX0; /*!< Configures the Window Horizontal Start Position. + This parameter must be a number between + Min_Data = 0x000 and Max_Data = 0xFFF. */ + + uint32_t WindowX1; /*!< Configures the Window Horizontal Stop Position. + This parameter must be a number between + Min_Data = 0x000 and Max_Data = 0xFFF. */ + + uint32_t WindowY0; /*!< Configures the Window vertical Start Position. + This parameter must be a number between + Min_Data = 0x000 and Max_Data = 0x7FF. */ + + uint32_t WindowY1; /*!< Configures the Window vertical Stop Position. + This parameter must be a number between + Min_Data = 0x0000 and Max_Data = 0x7FF. */ + + uint32_t PixelFormat; /*!< Specifies the pixel format. + This parameter can be one of value of @ref LTDC_Pixelformat */ + + uint32_t Alpha; /*!< Specifies the constant alpha used for blending. + This parameter must be a number between + Min_Data = 0x00 and Max_Data = 0xFF. */ + + uint32_t Alpha0; /*!< Configures the default alpha value. + This parameter must be a number between + Min_Data = 0x00 and Max_Data = 0xFF. */ + + uint32_t BlendingFactor1; /*!< Select the blending factor 1. + This parameter can be one of value of @ref LTDC_BlendingFactor1 */ + + uint32_t BlendingFactor2; /*!< Select the blending factor 2. + This parameter can be one of value of @ref LTDC_BlendingFactor2 */ + + uint32_t FBStartAdress; + + uint32_t ImageWidth; /*!< Configures the color frame buffer line length. + This parameter must be a number between + Min_Data = 0x0000 and Max_Data = 0x1FFF. */ + + uint32_t ImageHeight; /*!< Specifies the number of line in frame buffer. + This parameter must be a number between + Min_Data = 0x000 and Max_Data = 0x7FF. */ + + LTDC_ColorTypeDef Backcolor; +} LTDC_LayerCfgTypeDef; + +/** + * @brief HAL LTDC State structures definition + */ +typedef enum +{ + HAL_LTDC_STATE_RESET = 0x00U, + HAL_LTDC_STATE_READY = 0x01U, + HAL_LTDC_STATE_BUSY = 0x02U, + HAL_LTDC_STATE_TIMEOUT = 0x03U, + HAL_LTDC_STATE_ERROR = 0x04U +} HAL_LTDC_StateTypeDef; + +/** + * @brief LTDC handle Structure definition + */ + + + +typedef struct + +{ + LTDC_TypeDef *Instance; + + LTDC_InitTypeDef Init; + + LTDC_LayerCfgTypeDef LayerCfg[2U]; + + HAL_LockTypeDef Lock; + + volatile HAL_LTDC_StateTypeDef State; + + volatile uint32_t ErrorCode; +# 211 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_ltdc.h" +} LTDC_HandleTypeDef; +# 235 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_ltdc.h" +/** + * @} + */ + +/* Exported constants --------------------------------------------------------*/ +/** @defgroup LTDC_Exported_Constants LTDC Exported Constants + * @{ + */ + +/** @defgroup LTDC_Error_Code LTDC Error Code + * @{ + */ + + + + + + + +/** + * @} + */ + +/** @defgroup LTDC_Layer LTDC Layer + * @{ + */ + + +/** + * @} + */ + +/** @defgroup LTDC_HS_POLARITY LTDC HS POLARITY + * @{ + */ + + +/** + * @} + */ + +/** @defgroup LTDC_VS_POLARITY LTDC VS POLARITY + * @{ + */ + + +/** + * @} + */ + +/** @defgroup LTDC_DE_POLARITY LTDC DE POLARITY + * @{ + */ + + +/** + * @} + */ + +/** @defgroup LTDC_PC_POLARITY LTDC PC POLARITY + * @{ + */ + + +/** + * @} + */ + +/** @defgroup LTDC_SYNC LTDC SYNC + * @{ + */ + + +/** + * @} + */ + +/** @defgroup LTDC_BACK_COLOR LTDC BACK COLOR + * @{ + */ + +/** + * @} + */ + +/** @defgroup LTDC_BlendingFactor1 LTDC Blending Factor1 + * @{ + */ + + +/** + * @} + */ + +/** @defgroup LTDC_BlendingFactor2 LTDC Blending Factor2 + * @{ + */ + + +/** + * @} + */ + +/** @defgroup LTDC_Pixelformat LTDC Pixel format + * @{ + */ +# 349 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_ltdc.h" +/** + * @} + */ + +/** @defgroup LTDC_Alpha LTDC Alpha + * @{ + */ + +/** + * @} + */ + +/** @defgroup LTDC_LAYER_Config LTDC LAYER Config + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup LTDC_Interrupts LTDC Interrupts + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup LTDC_Flags LTDC Flags + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup LTDC_Reload_Type LTDC Reload Type + * @{ + */ + + +/** + * @} + */ + +/** + * @} + */ + +/* Exported macro ------------------------------------------------------------*/ +/** @defgroup LTDC_Exported_Macros LTDC Exported Macros + * @{ + */ + +/** @brief Reset LTDC handle state. + * @param __HANDLE__ LTDC handle + * @retval None + */ +# 427 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_ltdc.h" +/** + * @brief Enable the LTDC. + * @param __HANDLE__ LTDC handle + * @retval None. + */ + + +/** + * @brief Disable the LTDC. + * @param __HANDLE__ LTDC handle + * @retval None. + */ + + +/** + * @brief Enable the LTDC Layer. + * @param __HANDLE__ LTDC handle + * @param __LAYER__ Specify the layer to be enabled. + * This parameter can be LTDC_LAYER_1 (0) or LTDC_LAYER_2 (1). + * @retval None. + */ + + + +/** + * @brief Disable the LTDC Layer. + * @param __HANDLE__ LTDC handle + * @param __LAYER__ Specify the layer to be disabled. + * This parameter can be LTDC_LAYER_1 (0) or LTDC_LAYER_2 (1). + * @retval None. + */ + + + +/** + * @brief Reload immediately all LTDC Layers. + * @param __HANDLE__ LTDC handle + * @retval None. + */ + + +/** + * @brief Reload during vertical blanking period all LTDC Layers. + * @param __HANDLE__ LTDC handle + * @retval None. + */ + + +/* Interrupt & Flag management */ +/** + * @brief Get the LTDC pending flags. + * @param __HANDLE__ LTDC handle + * @param __FLAG__ Get the specified flag. + * This parameter can be any combination of the following values: + * @arg LTDC_FLAG_LI: Line Interrupt flag + * @arg LTDC_FLAG_FU: FIFO Underrun Interrupt flag + * @arg LTDC_FLAG_TE: Transfer Error interrupt flag + * @arg LTDC_FLAG_RR: Register Reload Interrupt Flag + * @retval The state of FLAG (SET or RESET). + */ + + +/** + * @brief Clears the LTDC pending flags. + * @param __HANDLE__ LTDC handle + * @param __FLAG__ Specify the flag to clear. + * This parameter can be any combination of the following values: + * @arg LTDC_FLAG_LI: Line Interrupt flag + * @arg LTDC_FLAG_FU: FIFO Underrun Interrupt flag + * @arg LTDC_FLAG_TE: Transfer Error interrupt flag + * @arg LTDC_FLAG_RR: Register Reload Interrupt Flag + * @retval None + */ + + +/** + * @brief Enables the specified LTDC interrupts. + * @param __HANDLE__ LTDC handle + * @param __INTERRUPT__ Specify the LTDC interrupt sources to be enabled. + * This parameter can be any combination of the following values: + * @arg LTDC_IT_LI: Line Interrupt flag + * @arg LTDC_IT_FU: FIFO Underrun Interrupt flag + * @arg LTDC_IT_TE: Transfer Error interrupt flag + * @arg LTDC_IT_RR: Register Reload Interrupt Flag + * @retval None + */ + + +/** + * @brief Disables the specified LTDC interrupts. + * @param __HANDLE__ LTDC handle + * @param __INTERRUPT__ Specify the LTDC interrupt sources to be disabled. + * This parameter can be any combination of the following values: + * @arg LTDC_IT_LI: Line Interrupt flag + * @arg LTDC_IT_FU: FIFO Underrun Interrupt flag + * @arg LTDC_IT_TE: Transfer Error interrupt flag + * @arg LTDC_IT_RR: Register Reload Interrupt Flag + * @retval None + */ + + +/** + * @brief Check whether the specified LTDC interrupt has occurred or not. + * @param __HANDLE__ LTDC handle + * @param __INTERRUPT__ Specify the LTDC interrupt source to check. + * This parameter can be one of the following values: + * @arg LTDC_IT_LI: Line Interrupt flag + * @arg LTDC_IT_FU: FIFO Underrun Interrupt flag + * @arg LTDC_IT_TE: Transfer Error interrupt flag + * @arg LTDC_IT_RR: Register Reload Interrupt Flag + * @retval The state of INTERRUPT (SET or RESET). + */ + +/** + * @} + */ + +/* Include LTDC HAL Extension module */ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_ltdc_ex.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_ltdc_ex.h + * @author MCD Application Team + * @brief Header file of LTDC HAL Extension module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_ltdc_ex.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_dsi.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_dsi.h + * @author MCD Application Team + * @brief Header file of DSI HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 33 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_ltdc_ex.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup LTDCEx + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/* Exported constants --------------------------------------------------------*/ +/* Exported macro ------------------------------------------------------------*/ +/* Exported functions --------------------------------------------------------*/ +/** @addtogroup LTDCEx_Exported_Functions + * @{ + */ + +/** @addtogroup LTDCEx_Exported_Functions_Group1 + * @{ + */ +HAL_StatusTypeDef HAL_LTDCEx_StructInitFromVideoConfig(LTDC_HandleTypeDef *hltdc, DSI_VidCfgTypeDef *VidCfg); +HAL_StatusTypeDef HAL_LTDCEx_StructInitFromAdaptedCommandConfig(LTDC_HandleTypeDef *hltdc, DSI_CmdCfgTypeDef *CmdCfg); +/** + * @} + */ + +/** + * @} + */ + +/* Private types -------------------------------------------------------------*/ +/* Private variables ---------------------------------------------------------*/ +/* Private constants ---------------------------------------------------------*/ +/* Private macros ------------------------------------------------------------*/ +/* Private functions ---------------------------------------------------------*/ + +/** + * @} + */ + +/** + * @} + */ + + + + +} +# 546 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_ltdc.h" 2 + +/* Exported functions --------------------------------------------------------*/ +/** @addtogroup LTDC_Exported_Functions + * @{ + */ +/** @addtogroup LTDC_Exported_Functions_Group1 + * @{ + */ +/* Initialization and de-initialization functions *****************************/ +HAL_StatusTypeDef HAL_LTDC_Init(LTDC_HandleTypeDef *hltdc); +HAL_StatusTypeDef HAL_LTDC_DeInit(LTDC_HandleTypeDef *hltdc); +void HAL_LTDC_MspInit(LTDC_HandleTypeDef *hltdc); +void HAL_LTDC_MspDeInit(LTDC_HandleTypeDef *hltdc); +void HAL_LTDC_ErrorCallback(LTDC_HandleTypeDef *hltdc); +void HAL_LTDC_LineEventCallback(LTDC_HandleTypeDef *hltdc); +void HAL_LTDC_ReloadEventCallback(LTDC_HandleTypeDef *hltdc); + +/* Callbacks Register/UnRegister functions ***********************************/ + + + + + + +/** + * @} + */ + +/** @addtogroup LTDC_Exported_Functions_Group2 + * @{ + */ +/* IO operation functions *****************************************************/ +void HAL_LTDC_IRQHandler(LTDC_HandleTypeDef *hltdc); +/** + * @} + */ + +/** @addtogroup LTDC_Exported_Functions_Group3 + * @{ + */ +/* Peripheral Control functions ***********************************************/ +HAL_StatusTypeDef HAL_LTDC_ConfigLayer(LTDC_HandleTypeDef *hltdc, LTDC_LayerCfgTypeDef *pLayerCfg, uint32_t LayerIdx); +HAL_StatusTypeDef HAL_LTDC_SetWindowSize(LTDC_HandleTypeDef *hltdc, uint32_t XSize, uint32_t YSize, uint32_t LayerIdx); +HAL_StatusTypeDef HAL_LTDC_SetWindowPosition(LTDC_HandleTypeDef *hltdc, uint32_t X0, uint32_t Y0, uint32_t LayerIdx); +HAL_StatusTypeDef HAL_LTDC_SetPixelFormat(LTDC_HandleTypeDef *hltdc, uint32_t Pixelformat, uint32_t LayerIdx); +HAL_StatusTypeDef HAL_LTDC_SetAlpha(LTDC_HandleTypeDef *hltdc, uint32_t Alpha, uint32_t LayerIdx); +HAL_StatusTypeDef HAL_LTDC_SetAddress(LTDC_HandleTypeDef *hltdc, uint32_t Address, uint32_t LayerIdx); +HAL_StatusTypeDef HAL_LTDC_SetPitch(LTDC_HandleTypeDef *hltdc, uint32_t LinePitchInPixels, uint32_t LayerIdx); +HAL_StatusTypeDef HAL_LTDC_ConfigColorKeying(LTDC_HandleTypeDef *hltdc, uint32_t RGBValue, uint32_t LayerIdx); +HAL_StatusTypeDef HAL_LTDC_ConfigCLUT(LTDC_HandleTypeDef *hltdc, const uint32_t *pCLUT, uint32_t CLUTSize, + uint32_t LayerIdx); +HAL_StatusTypeDef HAL_LTDC_EnableColorKeying(LTDC_HandleTypeDef *hltdc, uint32_t LayerIdx); +HAL_StatusTypeDef HAL_LTDC_DisableColorKeying(LTDC_HandleTypeDef *hltdc, uint32_t LayerIdx); +HAL_StatusTypeDef HAL_LTDC_EnableCLUT(LTDC_HandleTypeDef *hltdc, uint32_t LayerIdx); +HAL_StatusTypeDef HAL_LTDC_DisableCLUT(LTDC_HandleTypeDef *hltdc, uint32_t LayerIdx); +HAL_StatusTypeDef HAL_LTDC_ProgramLineEvent(LTDC_HandleTypeDef *hltdc, uint32_t Line); +HAL_StatusTypeDef HAL_LTDC_EnableDither(LTDC_HandleTypeDef *hltdc); +HAL_StatusTypeDef HAL_LTDC_DisableDither(LTDC_HandleTypeDef *hltdc); +HAL_StatusTypeDef HAL_LTDC_Reload(LTDC_HandleTypeDef *hltdc, uint32_t ReloadType); +HAL_StatusTypeDef HAL_LTDC_ConfigLayer_NoReload(LTDC_HandleTypeDef *hltdc, LTDC_LayerCfgTypeDef *pLayerCfg, + uint32_t LayerIdx); +HAL_StatusTypeDef HAL_LTDC_SetWindowSize_NoReload(LTDC_HandleTypeDef *hltdc, uint32_t XSize, uint32_t YSize, + uint32_t LayerIdx); +HAL_StatusTypeDef HAL_LTDC_SetWindowPosition_NoReload(LTDC_HandleTypeDef *hltdc, uint32_t X0, uint32_t Y0, + uint32_t LayerIdx); +HAL_StatusTypeDef HAL_LTDC_SetPixelFormat_NoReload(LTDC_HandleTypeDef *hltdc, uint32_t Pixelformat, uint32_t LayerIdx); +HAL_StatusTypeDef HAL_LTDC_SetAlpha_NoReload(LTDC_HandleTypeDef *hltdc, uint32_t Alpha, uint32_t LayerIdx); +HAL_StatusTypeDef HAL_LTDC_SetAddress_NoReload(LTDC_HandleTypeDef *hltdc, uint32_t Address, uint32_t LayerIdx); +HAL_StatusTypeDef HAL_LTDC_SetPitch_NoReload(LTDC_HandleTypeDef *hltdc, uint32_t LinePitchInPixels, uint32_t LayerIdx); +HAL_StatusTypeDef HAL_LTDC_ConfigColorKeying_NoReload(LTDC_HandleTypeDef *hltdc, uint32_t RGBValue, uint32_t LayerIdx); +HAL_StatusTypeDef HAL_LTDC_EnableColorKeying_NoReload(LTDC_HandleTypeDef *hltdc, uint32_t LayerIdx); +HAL_StatusTypeDef HAL_LTDC_DisableColorKeying_NoReload(LTDC_HandleTypeDef *hltdc, uint32_t LayerIdx); +HAL_StatusTypeDef HAL_LTDC_EnableCLUT_NoReload(LTDC_HandleTypeDef *hltdc, uint32_t LayerIdx); +HAL_StatusTypeDef HAL_LTDC_DisableCLUT_NoReload(LTDC_HandleTypeDef *hltdc, uint32_t LayerIdx); + +/** + * @} + */ + +/** @addtogroup LTDC_Exported_Functions_Group4 + * @{ + */ +/* Peripheral State functions *************************************************/ +HAL_LTDC_StateTypeDef HAL_LTDC_GetState(const LTDC_HandleTypeDef *hltdc); +uint32_t HAL_LTDC_GetError(const LTDC_HandleTypeDef *hltdc); +/** + * @} + */ + +/** + * @} + */ + +/* Private types -------------------------------------------------------------*/ +/* Private variables ---------------------------------------------------------*/ +/* Private constants ---------------------------------------------------------*/ +/* Private macros ------------------------------------------------------------*/ +/** @defgroup LTDC_Private_Macros LTDC Private Macros + * @{ + */ +# 692 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_ltdc.h" +/** + * @} + */ + +/* Private functions ---------------------------------------------------------*/ +/** @defgroup LTDC_Private_Functions LTDC Private Functions + * @{ + */ + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + + + + +} +# 399 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_opamp.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_opamp.h + * @author MCD Application Team + * @brief Header file of OPAMP HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + + extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_opamp.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup OPAMP + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ + +/** @defgroup OPAMP_Exported_Types OPAMP Exported Types + * @{ + */ + +/** + * @brief OPAMP Init structure definition + */ + +typedef struct +{ + + uint32_t PowerMode; /*!< Specifies the power mode Normal or High Speed. + This parameter must be a value of @ref OPAMP_PowerMode */ + + uint32_t Mode; /*!< Specifies the OPAMP mode + This parameter must be a value of @ref OPAMP_Mode + mode is either Standalone, - Follower or PGA */ + + uint32_t InvertingInput; /*!< Specifies the inverting input in Standalone & PGA modes + - In Standalone mode i.e when mode is OPAMP_STANDALONE_MODE + This parameter must be a value of @ref OPAMP_InvertingInput + - In Follower mode i.e when mode is OPAMP_FOLLOWER_MODE + & In PGA mode i.e when mode is OPAMP_PGA_MODE + This parameter is Not Applicable */ + + uint32_t NonInvertingInput; /*!< Specifies the non inverting input of the opamp: + This parameter must be a value of @ref OPAMP_NonInvertingInput */ + + uint32_t PgaGain; /*!< Specifies the gain in PGA mode + i.e. when mode is OPAMP_PGA_MODE. + This parameter must be a value of @ref OPAMP_PgaGain */ + + uint32_t PgaConnect; /*!< Specifies the inverting pin in PGA mode + i.e. when mode is OPAMP_PGA_MODE + This parameter must be a value of @ref OPAMP_PgaConnect + Either: not connected, connected to VINM0, connected to VINM1 + (VINM0 or VINM1 are typically used for external filtering) */ + + uint32_t UserTrimming; /*!< Specifies the trimming mode + This parameter must be a value of @ref OPAMP_UserTrimming + UserTrimming is either factory or user trimming.*/ + + uint32_t TrimmingValueP; /*!< Specifies the offset trimming value (PMOS) in Normal Mode + i.e. when UserTrimming is OPAMP_TRIMMING_USER. + This parameter must be a number between Min_Data = 0 and Max_Data = 31. + 16 is typical default value */ + + uint32_t TrimmingValueN; /*!< Specifies the offset trimming value (NMOS) in Normal Mode + i.e. when UserTrimming is OPAMP_TRIMMING_USER. + This parameter must be a number between Min_Data = 0 and Max_Data = 31. + 16 is typical default value */ + + uint32_t TrimmingValuePHighSpeed; /*!< Specifies the offset trimming value (PMOS) in High Speed Mode + i.e. when UserTrimming is OPAMP_TRIMMING_USER. + This parameter must be a number between Min_Data = 0 and Max_Data = 31. + 16 is typical default value */ + + uint32_t TrimmingValueNHighSpeed; /*!< Specifies the offset trimming value (NMOS) in High Speed Mode + i.e. when UserTrimming is OPAMP_TRIMMING_USER. + This parameter must be a number between Min_Data = 0 and Max_Data = 31. + 16 is typical default value */ + +}OPAMP_InitTypeDef; + +/** + * @brief HAL State structures definition + */ + +typedef enum +{ + HAL_OPAMP_STATE_RESET = 0x00000000U, + + HAL_OPAMP_STATE_READY = 0x00000001U, + HAL_OPAMP_STATE_CALIBBUSY = 0x00000002U, + + HAL_OPAMP_STATE_BUSY = 0x00000004U, + HAL_OPAMP_STATE_BUSYLOCKED = 0x00000005U /*!< OPAMP is locked + only system reset allows reconfiguring the opamp. */ + +}HAL_OPAMP_StateTypeDef; + +/** + * @brief OPAMP Handle Structure definition + */ + + + +typedef struct + +{ + OPAMP_TypeDef *Instance; + OPAMP_InitTypeDef Init; + HAL_StatusTypeDef Status; + HAL_LockTypeDef Lock; + volatile HAL_OPAMP_StateTypeDef State; + + + + + +} OPAMP_HandleTypeDef; + +/** + * @brief HAl_OPAMP_TrimmingValueTypeDef definition + */ + +typedef uint32_t HAL_OPAMP_TrimmingValueTypeDef; +# 164 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_opamp.h" +/** + * @} + */ + +/* Exported constants --------------------------------------------------------*/ +/** @defgroup OPAMP_Exported_Constants OPAMP Exported Constants + * @{ + */ + +/** @defgroup OPAMP_Mode OPAMP Mode + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup OPAMP_NonInvertingInput OPAMP Non Inverting Input + * @{ + */ + + + + + + + +/** + * @} + */ + +/** @defgroup OPAMP_InvertingInput OPAMP Inverting Input + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup OPAMP_PgaConnect OPAMP Pga Connect + * @{ + */ + + + + + + + +/** + * @} + */ + +/** @defgroup OPAMP_PgaGain OPAMP Pga Gain + * @{ + */ + + + + + + +/** + * @} + */ + +/** @defgroup OPAMP_PowerMode OPAMP PowerMode + * @{ + */ + + + +/** + * @} + */ + + +/** @defgroup OPAMP_VREF OPAMP VREF + * @{ + */ + + + + + + +/** + * @} + */ + +/** @defgroup OPAMP_UserTrimming OPAMP User Trimming + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup OPAMP_FactoryTrimming OPAMP Factory Trimming + * @{ + */ + + + + + +/** + * @} + */ + + /** + * @} + */ + +/* Private constants ---------------------------------------------------------*/ +/** @defgroup OPAMP_Private_Constants OPAMP Private Constants + * @brief OPAMP Private constants and defines + * @{ + */ + +/* NONINVERTING bit position in OTR & HSOTR */ + + +/* Offset trimming time: during calibration, minimum time needed between two */ +/* steps to have 1 mV accuracy. */ +/* Refer to datasheet, electrical characteristics: parameter tOFFTRIM Typ=2ms.*/ +/* Unit: ms. */ + + +/** + * @} + */ + +/* Exported macros -----------------------------------------------------------*/ +/** @defgroup OPAMP_Exported_Macros OPAMP Exported Macros + * @{ + */ + +/** @brief Reset OPAMP handle state. + * @param __HANDLE__: OPAMP handle. + * @retval None + */ + + +/** + * @} + */ + +/* Private macro -------------------------------------------------------------*/ + +/** @defgroup OPAMP_Private_Macros OPAMP Private Macros + * @{ + */ +# 372 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_opamp.h" +/** + * @} + */ + +/* Include OPAMP HAL Extended module */ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_opamp_ex.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_opamp_ex.h + * @author MCD Application Team + * @brief Header file of OPAMP HAL Extended module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + + extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_opamp_ex.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup OPAMPEx + * @{ + */ +/* Exported types ------------------------------------------------------------*/ +/* Exported constants --------------------------------------------------------*/ +/* Exported macro ------------------------------------------------------------*/ +/* Exported functions --------------------------------------------------------*/ +/** @addtogroup OPAMPEx_Exported_Functions OPAMPEx Exported Functions + * @{ + */ + +/* Extended IO operation functions *****************************************************/ +/** @addtogroup OPAMPEx_Exported_Functions_Group1 + * @{ + */ +HAL_StatusTypeDef HAL_OPAMPEx_SelfCalibrateAll(OPAMP_HandleTypeDef *hopamp1, OPAMP_HandleTypeDef *hopamp2); + +/** + * @} + */ +/* Peripheral Control functions ************************************************/ +/** @addtogroup OPAMPEx_Exported_Functions_Group2 + * @{ + */ +HAL_StatusTypeDef HAL_OPAMPEx_Unlock(OPAMP_HandleTypeDef *hopamp); +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + + +} +# 378 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_opamp.h" 2 + +/* Exported functions --------------------------------------------------------*/ +/** @addtogroup OPAMP_Exported_Functions + * @{ + */ + +/** @addtogroup OPAMP_Exported_Functions_Group1 + * @{ + */ +/* Initialization/de-initialization functions **********************************/ +HAL_StatusTypeDef HAL_OPAMP_Init(OPAMP_HandleTypeDef *hopamp); +HAL_StatusTypeDef HAL_OPAMP_DeInit (OPAMP_HandleTypeDef *hopamp); +void HAL_OPAMP_MspInit(OPAMP_HandleTypeDef *hopamp); +void HAL_OPAMP_MspDeInit(OPAMP_HandleTypeDef *hopamp); +/** + * @} + */ + +/** @addtogroup OPAMP_Exported_Functions_Group2 + * @{ + */ + +/* I/O operation functions *****************************************************/ +HAL_StatusTypeDef HAL_OPAMP_Start(OPAMP_HandleTypeDef *hopamp); +HAL_StatusTypeDef HAL_OPAMP_Stop(OPAMP_HandleTypeDef *hopamp); +HAL_StatusTypeDef HAL_OPAMP_SelfCalibrate(OPAMP_HandleTypeDef *hopamp); + +/** + * @} + */ + +/** @addtogroup OPAMP_Exported_Functions_Group3 + * @{ + */ + +/* Peripheral Control functions ************************************************/ + + + + + +HAL_StatusTypeDef HAL_OPAMP_Lock(OPAMP_HandleTypeDef *hopamp); +HAL_OPAMP_TrimmingValueTypeDef HAL_OPAMP_GetTrimOffset (const OPAMP_HandleTypeDef *hopamp, uint32_t trimmingoffset); + +/** + * @} + */ + +/** @addtogroup OPAMP_Exported_Functions_Group4 + * @{ + */ + +/* Peripheral State functions **************************************************/ +HAL_OPAMP_StateTypeDef HAL_OPAMP_GetState(const OPAMP_HandleTypeDef *hopamp); + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + + +} +# 403 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_ospi.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_ospi.h + * @author MCD Application Team + * @brief Header file of OSPI HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_ospi.h" 2 +# 1072 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_ospi.h" +} +# 407 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_otfdec.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_otfdec.h + * @author MCD Application Team + * @brief Header file of OTFDEC HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2018 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_otfdec.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ +# 468 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_otfdec.h" +/** + * @} + */ + + +} +# 411 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_pssi.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_pssi.h + * @author MCD Application Team + * @brief Header file of PSSI HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2019 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_pssi.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ +# 531 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_pssi.h" +/** + * @} + */ + + + +} +# 415 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_pwr.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_pwr.h + * @author MCD Application Team + * @brief Header file of PWR HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + + extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_pwr.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup PWR + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ + +/** @defgroup PWR_Exported_Types PWR Exported Types + * @{ + */ + +/** + * @brief PWR PVD configuration structure definition + */ +typedef struct +{ + uint32_t PVDLevel; /*!< PVDLevel: Specifies the PVD detection level. This + parameter can be a value of @ref + PWR_PVD_detection_level. + */ + + uint32_t Mode; /*!< Mode: Specifies the EXTI operating mode for the PVD + event. This parameter can be a value of @ref + PWR_PVD_Mode. + */ +}PWR_PVDTypeDef; + +/** + * @} + */ + +/* Exported constants --------------------------------------------------------*/ +/** @defgroup PWR_Exported_Constants PWR Exported Constants + * @{ + */ + +/** @defgroup PWR_PVD_detection_level PWR PVD detection level + * @{ + */ +# 88 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_pwr.h" +/** + * @} + */ + +/** @defgroup PWR_PVD_Mode PWR PVD Mode + * @{ + */ + + + + + + + +/** + * @} + */ + +/** @defgroup PWR_Regulator_state_in_STOP_mode PWR Regulator state in SLEEP/STOP mode + * @{ + */ + + +/** + * @} + */ + +/** @defgroup PWR_SLEEP_mode_entry PWR SLEEP mode entry + * @{ + */ + + +/** + * @} + */ + +/** @defgroup PWR_STOP_mode_entry PWR STOP mode entry + * @{ + */ + + +/** + * @} + */ + +/** @defgroup PWR_Regulator_Voltage_Scale PWR Regulator Voltage Scale + * @{ + */ +# 147 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_pwr.h" +/** + * @} + */ + +/** @defgroup PWR_Flag PWR Flag + * @{ + */ +/* PWR CPU flag */ +# 189 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_pwr.h" +/* PWR Wake up flag */ + + + + + + +/** + * @} + */ + +/** @defgroup PWR_ENABLE_WUP_Mask PWR Enable WUP Mask + * @{ + */ + +/** + * @} + */ + +/** + * @} + */ +/* Exported macro ------------------------------------------------------------*/ +/** @defgroup PWR_Exported_Macro PWR Exported Macro + * @{ + */ + +/** @brief Configure the main internal regulator output voltage. + * @param __REGULATOR__ : Specifies the regulator output voltage to achieve a + * trade-off between performance and power consumption + * when the device does not operate at the maximum + * frequency (refer to the datasheet for more details). + * This parameter can be one of the following values: + * @arg PWR_REGULATOR_VOLTAGE_SCALE0 : Regulator voltage output + * Scale 0 mode. + * @arg PWR_REGULATOR_VOLTAGE_SCALE1 : Regulator voltage output + * Scale 1 mode. + * @arg PWR_REGULATOR_VOLTAGE_SCALE2 : Regulator voltage output + * Scale 2 mode. + * @arg PWR_REGULATOR_VOLTAGE_SCALE3 : Regulator voltage output + * Scale 3 mode. + * @note For STM32H74x and STM32H75x lines, configuring Voltage Scale 0 is + * only possible when Vcore is supplied from LDO (Low DropOut). The + * SYSCFG Clock must be enabled through __HAL_RCC_SYSCFG_CLK_ENABLE() + * macro before configuring Voltage Scale 0 using + * __HAL_PWR_VOLTAGESCALING_CONFIG(). + * Transition to Voltage Scale 0 is only possible when the system is + * already in Voltage Scale 1. + * Transition from Voltage Scale 0 is only possible to Voltage Scale 1 + * then once in Voltage Scale 1 it is possible to switch to another + * voltage scale. + * After each regulator voltage setting, wait on VOSRDY flag to be set + * using macro __HAL_PWR_GET_FLAG(). + * To enter low power mode , and if current regulator voltage is + * Voltage Scale 0 then first switch to Voltage Scale 1 before entering + * low power mode. + * @retval None. + */ +# 300 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_pwr.h" +/** @brief Check PWR flags are set or not. + * @param __FLAG__ : Specifies the flag to check. + * This parameter can be one of the following values: + * @arg PWR_FLAG_PVDO : PVD Output. This flag is valid only if PVD + * is enabled by the HAL_PWR_EnablePVD() + * function. + * The PVD is stopped by STANDBY mode. For this + * reason, this bit is equal to 0 after STANDBY + * or reset until the PVDE bit is set. + * @arg PWR_FLAG_AVDO : AVD Output. This flag is valid only if AVD + * is enabled by the HAL_PWREx_EnableAVD() + * function. The AVD is stopped by STANDBY mode. + * For this reason, this bit is equal to 0 + * after STANDBY or reset until the AVDE bit + * is set. + * @arg PWR_FLAG_ACTVOSRDY : This flag indicates that the Regulator + * voltage scaling output selection is + * ready. + * @arg PWR_FLAG_BRR : Backup regulator ready flag. This bit is not + * reset when the device wakes up from STANDBY + * mode or by a system reset or power-on reset. + * @arg PWR_FLAG_VOSRDY : This flag indicates that the Regulator + * voltage scaling output selection is ready. + * mode or by a system reset or power-on reset. + * @arg PWR_FLAG_USB33RDY : This flag indicates that the USB supply + * from regulator is ready. + * @arg PWR_FLAG_TEMPH : This flag indicates that the temperature + * equal or above high threshold level. + * @arg PWR_FLAG_TEMPL : This flag indicates that the temperature + * equal or below low threshold level. + * @arg PWR_FLAG_VBATH : This flag indicates that VBAT level equal + * or above high threshold level. + * @arg PWR_FLAG_VBATL : This flag indicates that VBAT level equal + * or below low threshold level. + * @arg PWR_FLAG_STOP : This flag indicates that the system entered + * in STOP mode. + * @arg PWR_FLAG_SB : This flag indicates that the system entered in + * STANDBY mode. + * @arg PWR_FLAG_SB_D1 : This flag indicates that the D1 domain + * entered in STANDBY mode. + * @arg PWR_FLAG_SB_D2 : This flag indicates that the D2 domain + * entered in STANDBY mode. + * @arg PWR_FLAG2_STOP : This flag indicates that the system entered + * in STOP mode. + * @arg PWR_FLAG2_SB : This flag indicates that the system entered + * in STANDBY mode. + * @arg PWR_FLAG2_SB_D1 : This flag indicates that the D1 domain + * entered in STANDBY mode. + * @arg PWR_FLAG2_SB_D2 : This flag indicates that the D2 domain + * entered in STANDBY mode. + * @arg PWR_FLAG_CPU_HOLD : This flag indicates that the CPU1 wakes + * up with hold. + * @arg PWR_FLAG_CPU2_HOLD : This flag indicates that the CPU2 wakes + * up with hold. + * @arg PWR_FLAG_SMPSEXTRDY : This flag indicates that the SMPS + * External supply is sready. + * @arg PWR_FLAG_SCUEN : This flag indicates that the supply + * configuration update is enabled. + * @arg PWR_FLAG_MMCVDO : This flag indicates that the VDDMMC is + * above or equal to 1.2 V. + * @note The PWR_FLAG_PVDO, PWR_FLAG_AVDO, PWR_FLAG_ACTVOSRDY, PWR_FLAG_BRR, + * PWR_FLAG_VOSRDY, PWR_FLAG_USB33RDY, PWR_FLAG_TEMPH, PWR_FLAG_TEMPL, + * PWR_FLAG_VBATH, PWR_FLAG_VBATL, PWR_FLAG_STOP and PWR_FLAG_SB flags + * are used for all H7 family lines. + * The PWR_FLAG2_STOP, PWR_FLAG2_SB, PWR_FLAG2_SB_D1, PWR_FLAG2_SB_D2, + * PWR_FLAG_CPU_HOLD and PWR_FLAG_CPU2_HOLD flags are used only for H7 + * dual core lines. + * The PWR_FLAG_SB_D1 and PWR_FLAG_SB_D2 flags are used for all H7 + * family except STM32H7Axxx and STM32H7Bxxx lines. + * The PWR_FLAG_MMCVDO flag is used only for STM32H7Axxx and + * STM32H7Bxxx lines. + * The PWR_FLAG_SCUEN flag is used for devices that support only LDO + * regulator. + * The PWR_FLAG_SMPSEXTRDY flag is used for devices that support LDO + * and SMPS regulators. + * @retval The (__FLAG__) state (TRUE or FALSE). + */ +# 474 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_pwr.h" +/** @brief Check PWR wake up flags are set or not. + * @param __FLAG__: specifies the wake up flag to check. + * This parameter can be one of the following values: + * @arg PWR_FLAG_WKUP1 : This parameter clear Wake up line 1 flag. + * @arg PWR_FLAG_WKUP2 : This parameter clear Wake up line 2 flag. + * @arg PWR_FLAG_WKUP3 : This parameter clear Wake up line 3 flag. + * @arg PWR_FLAG_WKUP4 : This parameter clear Wake up line 4 flag. + * @arg PWR_FLAG_WKUP5 : This parameter clear Wake up line 5 flag. + * @arg PWR_FLAG_WKUP6 : This parameter clear Wake up line 6 flag. + * @note The PWR_FLAG_WKUP3 and PWR_FLAG_WKUP5 are available only for devices + * that support GPIOI port. + * @retval The (__FLAG__) state (TRUE or FALSE). + */ + + + +/** @brief Clear CPU PWR flags. + * @param __FLAG__ : Specifies the flag to clear. + * @note This parameter is not used for the STM32H7 family and is kept as + * parameter just to maintain compatibility with other families. + * @note This macro clear all CPU flags STOPF, SBF, SBF_D1, and SBF_D2. + * This parameter can be one of the following values : + * @arg PWR_CPU_FLAGS : Clear HOLD2F, STOPF, SBF, SBF_D1, and SBF_D2 + * CPU flags. + * @retval None. + */ +# 519 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_pwr.h" +/** @brief Clear PWR wake up flags. + * @param __FLAG__ : Specifies the wake up flag to be cleared. + * This parameter can be one of the following values : + * @arg PWR_FLAG_WKUP1 : This parameter clear Wake up line 1 flag. + * @arg PWR_FLAG_WKUP2 : This parameter clear Wake up line 2 flag. + * @arg PWR_FLAG_WKUP3 : This parameter clear Wake up line 3 flag. + * @arg PWR_FLAG_WKUP4 : This parameter clear Wake up line 4 flag. + * @arg PWR_FLAG_WKUP5 : This parameter clear Wake up line 5 flag. + * @arg PWR_FLAG_WKUP6 : This parameter clear Wake up line 6 flag. + * @note The PWR_FLAG_WKUP3 and PWR_FLAG_WKUP5 are available only for devices + * that support GPIOI port. + * @retval None. + */ + + +/** + * @brief Enable the PVD EXTI Line 16. + * @retval None. + */ + + + +/** + * @brief Enable the PVD EXTI D2 Line 16. + * @retval None. + */ + + + +/** + * @brief Disable the PVD EXTI Line 16. + * @retval None. + */ + + + +/** + * @brief Disable the PVD EXTI D2 Line 16. + * @retval None. + */ + + + +/** + * @brief Enable event on PVD EXTI Line 16. + * @retval None. + */ + + + +/** + * @brief Enable event on PVD EXTI D2 Line. + * @retval None. + */ + + + +/** + * @brief Disable event on PVD EXTI Line 16. + * @retval None. + */ + + + +/** + * @brief Disable event on PVD EXTI D2 Line. + * @retval None. + */ + + + +/** + * @brief Enable the PVD Rising Interrupt Trigger. + * @retval None. + */ + + +/** + * @brief Disable the PVD Rising Interrupt Trigger. + * @retval None. + */ + + +/** + * @brief Enable the PVD Falling Interrupt Trigger. + * @retval None. + */ + + +/** + * @brief Disable the PVD Falling Interrupt Trigger. + * @retval None. + */ + + +/** + * @brief Enable the PVD Rising & Falling Interrupt Trigger. + * @retval None. + */ + + + + + + +/** + * @brief Disable the PVD Rising & Falling Interrupt Trigger. + * @retval None. + */ + + + + + + +/** + * @brief Check whether the specified PVD EXTI interrupt flag is set or not. + * @retval EXTI PVD Line Status. + */ + + + +/** + * @brief Checks whether the specified PVD EXTI interrupt flag is set or not. + * @retval EXTI D2 PVD Line Status. + */ + + + +/** + * @brief Clear the PVD EXTI flag. + * @retval None. + */ + + + +/** + * @brief Clear the PVD EXTI D2 flag. + * @retval None. + */ + + + +/** + * @brief Generates a Software interrupt on PVD EXTI line. + * @retval None. + */ + +/** + * @} + */ + +/* Include PWR HAL Extension module */ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_pwr_ex.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_pwr_ex.h + * @author MCD Application Team + * @brief Header file of PWR HAL Extension module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + + extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_pwr_ex.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup PWREx + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/** @defgroup PWREx_Exported_Types PWREx Exported Types + * @{ + */ +/** + * @brief PWREx AVD configuration structure definition + */ +typedef struct +{ + uint32_t AVDLevel; /*!< AVDLevel : Specifies the AVD detection level. This + parameter can be a value of @ref + PWREx_AVD_detection_level + */ + + uint32_t Mode; /*!< Mode : Specifies the EXTI operating mode for the AVD + event. This parameter can be a value of @ref + PWREx_AVD_Mode. + */ +}PWREx_AVDTypeDef; + +/** + * @brief PWREx Wakeup pin configuration structure definition + */ +typedef struct +{ + uint32_t WakeUpPin; /*!< WakeUpPin: Specifies the Wake-Up pin to be enabled. + This parameter can be a value of @ref + PWREx_WakeUp_Pins + */ + + uint32_t PinPolarity; /*!< PinPolarity: Specifies the Wake-Up pin polarity. + This parameter can be a value of @ref + PWREx_PIN_Polarity + */ + + uint32_t PinPull; /*!< PinPull: Specifies the Wake-Up pin pull. This + parameter can be a value of @ref + PWREx_PIN_Pull + */ +}PWREx_WakeupPinTypeDef; +# 90 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_pwr_ex.h" +/** + * @} + */ + +/* Exported constants --------------------------------------------------------*/ + +/** @defgroup PWREx_Exported_Constants PWREx Exported Constants + * @{ + */ +/** @defgroup PWREx_WakeUp_Pins PWREx Wake-Up Pins + * @{ + */ +/* High level and No pull (default configuration) */ +# 114 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_pwr_ex.h" +/* High level and No pull */ +# 126 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_pwr_ex.h" +/* Low level and No pull */ +# 137 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_pwr_ex.h" +/** + * @} + */ + +/** @defgroup PWREx_PIN_Polarity PWREx Pin Polarity configuration + * @{ + */ + + +/** + * @} + */ + +/** @defgroup PWREx_PIN_Pull PWREx Pin Pull configuration + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup PWREx_Wakeup_Pins_Flags PWREx Wakeup Pins Flags. + * @{ + */ +# 181 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_pwr_ex.h" +/** + * @} + */ + + +/** @defgroup PWREx_Core_Select PWREx Core definition + * @{ + */ + + +/** + * @} + */ + + +/** @defgroup PWREx_Domains PWREx Domains definition + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup PWREx_Domain_Flags PWREx Domain Flags definition + * @{ + */ + + + + + + + +/** + * @} + */ + +/** @defgroup PWREx_D3_State PWREx D3 Domain State + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup PWREx_Supply_configuration PWREx Supply configuration + * @{ + */ +# 253 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_pwr_ex.h" +/** + * @} + */ + + +/** @defgroup PWREx_AVD_detection_level PWREx AVD detection level + * @{ + */ +# 269 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_pwr_ex.h" +/** + * @} + */ + +/** @defgroup PWREx_AVD_Mode PWREx AVD Mode + * @{ + */ + + + + + + + +/** + * @} + */ + +/** @defgroup PWREx_Regulator_Voltage_Scale PWREx Regulator Voltage Scale + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup PWREx_VBAT_Battery_Charging_Resistor PWR battery charging resistor selection + * @{ + */ + + +/** + * @} + */ + +/** @defgroup PWREx_VBAT_Thresholds PWREx VBAT Thresholds + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup PWREx_TEMP_Thresholds PWREx Temperature Thresholds + * @{ + */ + + + +/** + * @} + */ +/** @defgroup PWREx_AVD_EXTI_Line PWREx AVD EXTI Line 16 + * @{ + */ + + +/** + * @} + */ +# 353 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_pwr_ex.h" +/** + * @} + */ + +/* Exported macro ------------------------------------------------------------*/ + +/** @defgroup PWREx_Exported_Macro PWREx Exported Macro + * @{ + */ + +/** + * @brief Enable the AVD EXTI Line 16. + * @retval None. + */ + + + +/** + * @brief Enable the AVD EXTI D2 Line 16. + * @retval None. + */ + + + +/** + * @brief Disable the AVD EXTI Line 16 + * @retval None. + */ + + + +/** + * @brief Disable the AVD EXTI D2 Line 16. + * @retval None. + */ + + + +/** + * @brief Enable event on AVD EXTI Line 16. + * @retval None. + */ + + + +/** + * @brief Enable event on AVD EXTI D2 Line 16. + * @retval None. + */ + + + +/** + * @brief Disable event on AVD EXTI Line 16. + * @retval None. + */ + + + +/** + * @brief Disable event on AVD EXTI D2 Line 16. + * @retval None. + */ + + + +/** + * @brief Enable the AVD Extended Interrupt Rising Trigger. + * @retval None. + */ + + +/** + * @brief Disable the AVD Extended Interrupt Rising Trigger. + * @retval None. + */ + + +/** + * @brief Enable the AVD Extended Interrupt Falling Trigger. + * @retval None. + */ + + +/** + * @brief Disable the AVD Extended Interrupt Falling Trigger. + * @retval None. + */ + + +/** + * @brief Enable the AVD Extended Interrupt Rising and Falling Trigger. + * @retval None. + */ + + + + + + +/** + * @brief Disable the AVD Extended Interrupt Rising & Falling Trigger. + * @retval None. + */ + + + + + + +/** + * @brief Check whether the specified AVD EXTI interrupt flag is set or not. + * @retval EXTI AVD Line Status. + */ + + + +/** + * @brief Check whether the specified AVD EXTI D2 interrupt flag is set or not. + * @retval EXTI D2 AVD Line Status. + */ + + + +/** + * @brief Clear the AVD EXTI flag. + * @retval None. + */ + + + +/** + * @brief Clear the AVD EXTI D2 flag. + * @retval None. + */ + + + +/** + * @brief Generates a Software interrupt on AVD EXTI line. + * @retval None. + */ + +/** + * @} + */ + +/* Exported functions --------------------------------------------------------*/ + +/** @addtogroup PWREx_Exported_Functions PWREx Exported Functions + * @{ + */ + +/** @addtogroup PWREx_Exported_Functions_Group1 Power Supply Control Functions + * @{ + */ +HAL_StatusTypeDef HAL_PWREx_ConfigSupply (uint32_t SupplySource); +uint32_t HAL_PWREx_GetSupplyConfig (void); +HAL_StatusTypeDef HAL_PWREx_ControlVoltageScaling (uint32_t VoltageScaling); +uint32_t HAL_PWREx_GetVoltageRange (void); +HAL_StatusTypeDef HAL_PWREx_ControlStopModeVoltageScaling (uint32_t VoltageScaling); +uint32_t HAL_PWREx_GetStopModeVoltageRange (void); +/** + * @} + */ + +/** @addtogroup PWREx_Exported_Functions_Group2 Low Power Control Functions + * @{ + */ +/* System low power control functions */ + + + +void HAL_PWREx_EnterSTOPMode (uint32_t Regulator, uint8_t STOPEntry, uint32_t Domain); +void HAL_PWREx_EnterSTANDBYMode (uint32_t Domain); +void HAL_PWREx_ConfigD3Domain (uint32_t D3State); +/* Clear Cortex-Mx pending flag */ +void HAL_PWREx_ClearPendingEvent (void); + +/* Clear domain flags */ +void HAL_PWREx_ClearDomainFlags (uint32_t DomainFlags); +/* Core Hold/Release functions */ +HAL_StatusTypeDef HAL_PWREx_HoldCore (uint32_t CPU); +void HAL_PWREx_ReleaseCore (uint32_t CPU); + +/* Flash low power control functions */ +void HAL_PWREx_EnableFlashPowerDown (void); +void HAL_PWREx_DisableFlashPowerDown (void); + + + + + +/* Wakeup Pins control functions */ +void HAL_PWREx_EnableWakeUpPin (const PWREx_WakeupPinTypeDef *sPinParams); +void HAL_PWREx_DisableWakeUpPin (uint32_t WakeUpPin); +uint32_t HAL_PWREx_GetWakeupFlag (uint32_t WakeUpFlag); +HAL_StatusTypeDef HAL_PWREx_ClearWakeupFlag (uint32_t WakeUpFlag); +/* Power Wakeup PIN IRQ Handler */ +void HAL_PWREx_WAKEUP_PIN_IRQHandler (void); +void HAL_PWREx_WKUP1_Callback (void); +void HAL_PWREx_WKUP2_Callback (void); + +void HAL_PWREx_WKUP3_Callback (void); + +void HAL_PWREx_WKUP4_Callback (void); + +void HAL_PWREx_WKUP5_Callback (void); + +void HAL_PWREx_WKUP6_Callback (void); +/** + * @} + */ + +/** @addtogroup PWREx_Exported_Functions_Group3 Peripherals control functions + * @{ + */ +/* Backup regulator control functions */ +HAL_StatusTypeDef HAL_PWREx_EnableBkUpReg (void); +HAL_StatusTypeDef HAL_PWREx_DisableBkUpReg (void); +/* USB regulator control functions */ +HAL_StatusTypeDef HAL_PWREx_EnableUSBReg (void); +HAL_StatusTypeDef HAL_PWREx_DisableUSBReg (void); +void HAL_PWREx_EnableUSBVoltageDetector (void); +void HAL_PWREx_DisableUSBVoltageDetector (void); +/* Battery control functions */ +void HAL_PWREx_EnableBatteryCharging (uint32_t ResistorValue); +void HAL_PWREx_DisableBatteryCharging (void); + + + + + +/** + * @} + */ + +/** @addtogroup PWREx_Exported_Functions_Group4 Power Monitoring functions + * @{ + */ +/* Power VBAT/Temperature monitoring functions */ +void HAL_PWREx_EnableMonitoring (void); +void HAL_PWREx_DisableMonitoring (void); +uint32_t HAL_PWREx_GetTemperatureLevel (void); +uint32_t HAL_PWREx_GetVBATLevel (void); + + + +/* Power AVD configuration functions */ +void HAL_PWREx_ConfigAVD (const PWREx_AVDTypeDef *sConfigAVD); +void HAL_PWREx_EnableAVD (void); +void HAL_PWREx_DisableAVD (void); +/* Power PVD/AVD IRQ Handler */ +void HAL_PWREx_PVD_AVD_IRQHandler (void); +void HAL_PWREx_AVDCallback (void); +/** + * @} + */ + +/** + * @} + */ +/* Private types -------------------------------------------------------------*/ +/* Private variables ---------------------------------------------------------*/ +/* Private constants ---------------------------------------------------------*/ +/* Private macros ------------------------------------------------------------*/ +/** @defgroup PWREx_Private_Macros PWREx Private Macros + * @{ + */ + +/** @defgroup PWREx_IS_PWR_Definitions PWREx Private macros to check input parameters + * @{ + */ +/* Check PWR regulator configuration parameter */ +# 643 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_pwr_ex.h" +/* Check PWR regulator configuration in STOP mode parameter */ + + + + +/* Check PWR domain parameter */ +# 658 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_pwr_ex.h" +/* Check D3/SRD domain state parameter */ + + + +/* Check wake up pin parameter */ +# 697 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_pwr_ex.h" +/* Check wake up pin polarity parameter */ + + + +/* Check wake up pin pull configuration parameter */ + + + + +/* Check wake up flag parameter */ +# 723 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_pwr_ex.h" +/* Check wake up flag parameter */ + + + + + +/* Check AVD mode parameter */ +# 738 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_pwr_ex.h" +/* Check resistor battery parameter */ + + +/* Check D1/CD CPU ID parameter */ + + + +/* Check CPU parameter */ + + +/* Check D2 CPU ID parameter */ + + +/* Check PWR domain flag parameter */ +# 769 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_pwr_ex.h" +/** + * @} + */ +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + +} +# 673 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_pwr.h" 2 + +/* Exported functions --------------------------------------------------------*/ +/** @addtogroup PWR_Exported_Functions PWR Exported Functions + * @{ + */ + +/** @addtogroup PWR_Exported_Functions_Group1 Initialization and De-Initialization Functions + * @{ + */ +/* Initialization and de-initialization functions *****************************/ +void HAL_PWR_DeInit (void); +void HAL_PWR_EnableBkUpAccess (void); +void HAL_PWR_DisableBkUpAccess (void); +/** + * @} + */ + +/** @addtogroup PWR_Exported_Functions_Group2 Peripheral Control Functions + * @{ + */ +/* Peripheral Control functions **********************************************/ +/* PVD configuration */ +void HAL_PWR_ConfigPVD (const PWR_PVDTypeDef *sConfigPVD); +void HAL_PWR_EnablePVD (void); +void HAL_PWR_DisablePVD (void); + +/* WakeUp pins configuration */ +void HAL_PWR_EnableWakeUpPin (uint32_t WakeUpPinPolarity); +void HAL_PWR_DisableWakeUpPin (uint32_t WakeUpPinx); + +/* Low Power modes entry */ +void HAL_PWR_EnterSTOPMode (uint32_t Regulator, uint8_t STOPEntry); +void HAL_PWR_EnterSLEEPMode (uint32_t Regulator, uint8_t SLEEPEntry); +void HAL_PWR_EnterSTANDBYMode (void); + +/* Power PVD IRQ Handler */ +void HAL_PWR_PVD_IRQHandler (void); +void HAL_PWR_PVDCallback (void); + +/* Cortex System Control functions *******************************************/ +void HAL_PWR_EnableSleepOnExit (void); +void HAL_PWR_DisableSleepOnExit (void); +void HAL_PWR_EnableSEVOnPend (void); +void HAL_PWR_DisableSEVOnPend (void); +/** + * @} + */ + +/** + * @} + */ + +/* Private types -------------------------------------------------------------*/ +/* Private variables ---------------------------------------------------------*/ +/* Private constants ---------------------------------------------------------*/ +/** @defgroup PWR_Private_Constants PWR Private Constants + * @{ + */ + +/** @defgroup PWR_PVD_EXTI_Line PWR PVD EXTI Line + * @{ + */ + + +/** + * @} + */ + +/** + * @} + */ +/* Private macros ------------------------------------------------------------*/ +/** @defgroup PWR_Private_Macros PWR Private Macros + * @{ + */ + +/** @defgroup PWR_IS_PWR_Definitions PWR Private macros to check input parameters + * @{ + */ +/* Check PVD level parameter */ +# 762 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_pwr.h" +/* Check PVD mode parameter */ +# 771 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_pwr.h" +/* Check low power regulator parameter */ + + + +/* Check low power mode entry parameter */ + + + +/* Check low power mode entry parameter */ + + + +/* Check voltage scale level parameter */ + + + + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + + +} +# 419 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_qspi.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_qspi.h + * @author MCD Application Team + * @brief Header file of QSPI HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + + extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_qspi.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_delayblock.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_ll_delayblock.h + * @author MCD Application Team + * @brief Header file of Delay Block module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + + extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_delayblock.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup DELAYBLOCK_LL + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/** @defgroup DELAYBLOCK_LL_Exported_Types DELAYBLOCK_LL Exported Types + * @{ + */ + + +/** + * @} + */ + +/* Exported constants --------------------------------------------------------*/ +/** @defgroup DLYB_Exported_Constants Delay Block Exported Constants + * @{ + */ + + + + + +/** + * @} + */ + +/** @addtogroup DelayBlock_LL_Exported_Functions + * @{ + */ + +/* Peripheral Control functions ************************************************/ +/** @addtogroup HAL_DELAY_LL_Group1 + * @{ + */ +HAL_StatusTypeDef DelayBlock_Enable(DLYB_TypeDef *DLYBx); +HAL_StatusTypeDef DelayBlock_Disable(DLYB_TypeDef *DLYBx); +HAL_StatusTypeDef DelayBlock_Configure(DLYB_TypeDef *DLYBx, uint32_t PhaseSel, uint32_t Units); + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + + /** + * @} + */ + +} +# 31 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_qspi.h" 2 + + + + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup QSPI + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/** @defgroup QSPI_Exported_Types QSPI Exported Types + * @{ + */ + +/** + * @brief QSPI Init structure definition + */ +typedef struct +{ + uint32_t ClockPrescaler; /* Specifies the prescaler factor for generating clock based on the AHB clock. + This parameter can be a number between 0 and 255 */ + uint32_t FifoThreshold; /* Specifies the threshold number of bytes in the FIFO (used only in indirect mode) + This parameter can be a value between 1 and 32 */ + uint32_t SampleShifting; /* Specifies the Sample Shift. The data is sampled 1/2 clock cycle delay later to + take in account external signal delays. (It should be QSPI_SAMPLE_SHIFTING_NONE in DDR mode) + This parameter can be a value of @ref QSPI_SampleShifting */ + uint32_t FlashSize; /* Specifies the Flash Size. FlashSize+1 is effectively the number of address bits + required to address the flash memory. The flash capacity can be up to 4GB + (addressed using 32 bits) in indirect mode, but the addressable space in + memory-mapped mode is limited to 256MB + This parameter can be a number between 0 and 31 */ + uint32_t ChipSelectHighTime; /* Specifies the Chip Select High Time. ChipSelectHighTime+1 defines the minimum number + of clock cycles which the chip select must remain high between commands. + This parameter can be a value of @ref QSPI_ChipSelectHighTime */ + uint32_t ClockMode; /* Specifies the Clock Mode. It indicates the level that clock takes between commands. + This parameter can be a value of @ref QSPI_ClockMode */ + uint32_t FlashID; /* Specifies the Flash which will be used, + This parameter can be a value of @ref QSPI_Flash_Select */ + uint32_t DualFlash; /* Specifies the Dual Flash Mode State + This parameter can be a value of @ref QSPI_DualFlash_Mode */ +}QSPI_InitTypeDef; + +/** + * @brief HAL QSPI State structures definition + */ +typedef enum +{ + HAL_QSPI_STATE_RESET = 0x00U, + HAL_QSPI_STATE_READY = 0x01U, + HAL_QSPI_STATE_BUSY = 0x02U, + HAL_QSPI_STATE_BUSY_INDIRECT_TX = 0x12U, + HAL_QSPI_STATE_BUSY_INDIRECT_RX = 0x22U, + HAL_QSPI_STATE_BUSY_AUTO_POLLING = 0x42U, + HAL_QSPI_STATE_BUSY_MEM_MAPPED = 0x82U, + HAL_QSPI_STATE_ABORT = 0x08U, + HAL_QSPI_STATE_ERROR = 0x04U +}HAL_QSPI_StateTypeDef; + +/** + * @brief QSPI Handle Structure definition + */ + + + +typedef struct + +{ + QUADSPI_TypeDef *Instance; + QSPI_InitTypeDef Init; + uint8_t *pTxBuffPtr; + volatile uint32_t TxXferSize; + volatile uint32_t TxXferCount; + uint8_t *pRxBuffPtr; + volatile uint32_t RxXferSize; + volatile uint32_t RxXferCount; + MDMA_HandleTypeDef *hmdma; + volatile HAL_LockTypeDef Lock; + volatile HAL_QSPI_StateTypeDef State; + volatile uint32_t ErrorCode; + uint32_t Timeout; +# 127 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_qspi.h" +}QSPI_HandleTypeDef; + +/** + * @brief QSPI Command structure definition + */ +typedef struct +{ + uint32_t Instruction; /* Specifies the Instruction to be sent + This parameter can be a value (8-bit) between 0x00 and 0xFF */ + uint32_t Address; /* Specifies the Address to be sent (Size from 1 to 4 bytes according AddressSize) + This parameter can be a value (32-bits) between 0x0 and 0xFFFFFFFF */ + uint32_t AlternateBytes; /* Specifies the Alternate Bytes to be sent (Size from 1 to 4 bytes according AlternateBytesSize) + This parameter can be a value (32-bits) between 0x0 and 0xFFFFFFFF */ + uint32_t AddressSize; /* Specifies the Address Size + This parameter can be a value of @ref QSPI_AddressSize */ + uint32_t AlternateBytesSize; /* Specifies the Alternate Bytes Size + This parameter can be a value of @ref QSPI_AlternateBytesSize */ + uint32_t DummyCycles; /* Specifies the Number of Dummy Cycles. + This parameter can be a number between 0 and 31 */ + uint32_t InstructionMode; /* Specifies the Instruction Mode + This parameter can be a value of @ref QSPI_InstructionMode */ + uint32_t AddressMode; /* Specifies the Address Mode + This parameter can be a value of @ref QSPI_AddressMode */ + uint32_t AlternateByteMode; /* Specifies the Alternate Bytes Mode + This parameter can be a value of @ref QSPI_AlternateBytesMode */ + uint32_t DataMode; /* Specifies the Data Mode (used for dummy cycles and data phases) + This parameter can be a value of @ref QSPI_DataMode */ + uint32_t NbData; /* Specifies the number of data to transfer. (This is the number of bytes) + This parameter can be any value between 0 and 0xFFFFFFFF (0 means undefined length + until end of memory)*/ + uint32_t DdrMode; /* Specifies the double data rate mode for address, alternate byte and data phase + This parameter can be a value of @ref QSPI_DdrMode */ + uint32_t DdrHoldHalfCycle; /* Specifies if the DDR hold is enabled. When enabled it delays the data + output by one half of system clock in DDR mode. + This parameter can be a value of @ref QSPI_DdrHoldHalfCycle */ + uint32_t SIOOMode; /* Specifies the send instruction only once mode + This parameter can be a value of @ref QSPI_SIOOMode */ +}QSPI_CommandTypeDef; + +/** + * @brief QSPI Auto Polling mode configuration structure definition + */ +typedef struct +{ + uint32_t Match; /* Specifies the value to be compared with the masked status register to get a match. + This parameter can be any value between 0 and 0xFFFFFFFF */ + uint32_t Mask; /* Specifies the mask to be applied to the status bytes received. + This parameter can be any value between 0 and 0xFFFFFFFF */ + uint32_t Interval; /* Specifies the number of clock cycles between two read during automatic polling phases. + This parameter can be any value between 0 and 0xFFFF */ + uint32_t StatusBytesSize; /* Specifies the size of the status bytes received. + This parameter can be any value between 1 and 4 */ + uint32_t MatchMode; /* Specifies the method used for determining a match. + This parameter can be a value of @ref QSPI_MatchMode */ + uint32_t AutomaticStop; /* Specifies if automatic polling is stopped after a match. + This parameter can be a value of @ref QSPI_AutomaticStop */ +}QSPI_AutoPollingTypeDef; + +/** + * @brief QSPI Memory Mapped mode configuration structure definition + */ +typedef struct +{ + uint32_t TimeOutPeriod; /* Specifies the number of clock to wait when the FIFO is full before to release the chip select. + This parameter can be any value between 0 and 0xFFFF */ + uint32_t TimeOutActivation; /* Specifies if the timeout counter is enabled to release the chip select. + This parameter can be a value of @ref QSPI_TimeOutActivation */ +}QSPI_MemoryMappedTypeDef; +# 220 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_qspi.h" +/** + * @} + */ + +/* Exported constants --------------------------------------------------------*/ +/** @defgroup QSPI_Exported_Constants QSPI Exported Constants + * @{ + */ + +/** @defgroup QSPI_ErrorCode QSPI Error Code + * @{ + */ +# 240 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_qspi.h" +/** + * @} + */ + +/** @defgroup QSPI_SampleShifting QSPI Sample Shifting + * @{ + */ + + +/** + * @} + */ + +/** @defgroup QSPI_ChipSelectHighTime QSPI ChipSelect High Time + * @{ + */ +# 264 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_qspi.h" +/** + * @} + */ + +/** @defgroup QSPI_ClockMode QSPI Clock Mode + * @{ + */ + + +/** + * @} + */ + +/** @defgroup QSPI_Flash_Select QSPI Flash Select + * @{ + */ + + +/** + * @} + */ + + /** @defgroup QSPI_DualFlash_Mode QSPI Dual Flash Mode + * @{ + */ + + +/** + * @} + */ + +/** @defgroup QSPI_AddressSize QSPI Address Size + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup QSPI_AlternateBytesSize QSPI Alternate Bytes Size + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup QSPI_InstructionMode QSPI Instruction Mode +* @{ +*/ + + + + +/** + * @} + */ + +/** @defgroup QSPI_AddressMode QSPI Address Mode +* @{ +*/ + + + + +/** + * @} + */ + +/** @defgroup QSPI_AlternateBytesMode QSPI Alternate Bytes Mode +* @{ +*/ + + + + +/** + * @} + */ + +/** @defgroup QSPI_DataMode QSPI Data Mode + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup QSPI_DdrMode QSPI DDR Mode + * @{ + */ + + +/** + * @} + */ + +/** @defgroup QSPI_DdrHoldHalfCycle QSPI DDR Data Output Delay + * @{ + */ + + +/** + * @} + */ + +/** @defgroup QSPI_SIOOMode QSPI Send Instruction Mode + * @{ + */ + + +/** + * @} + */ + +/** @defgroup QSPI_MatchMode QSPI Match Mode + * @{ + */ + + +/** + * @} + */ + +/** @defgroup QSPI_AutomaticStop QSPI Automatic Stop + * @{ + */ + + +/** + * @} + */ + +/** @defgroup QSPI_TimeOutActivation QSPI Timeout Activation + * @{ + */ + + +/** + * @} + */ + +/** @defgroup QSPI_Flags QSPI Flags + * @{ + */ + + + + + + +/** + * @} + */ + +/** @defgroup QSPI_Interrupts QSPI Interrupts + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup QSPI_Timeout_definition QSPI Timeout definition + * @brief QSPI Timeout definition + * @{ + */ + +/** + * @} + */ + +/** + * @} + */ + +/* Exported macros -----------------------------------------------------------*/ +/** @defgroup QSPI_Exported_Macros QSPI Exported Macros + * @{ + */ +/** @brief Reset QSPI handle state. + * @param __HANDLE__ QSPI handle. + * @retval None + */ +# 471 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_qspi.h" +/** @brief Enable the QSPI peripheral. + * @param __HANDLE__ specifies the QSPI Handle. + * @retval None + */ + + +/** @brief Disable the QSPI peripheral. + * @param __HANDLE__ specifies the QSPI Handle. + * @retval None + */ + + +/** @brief Enable the specified QSPI interrupt. + * @param __HANDLE__ specifies the QSPI Handle. + * @param __INTERRUPT__ specifies the QSPI interrupt source to enable. + * This parameter can be one of the following values: + * @arg QSPI_IT_TO: QSPI Timeout interrupt + * @arg QSPI_IT_SM: QSPI Status match interrupt + * @arg QSPI_IT_FT: QSPI FIFO threshold interrupt + * @arg QSPI_IT_TC: QSPI Transfer complete interrupt + * @arg QSPI_IT_TE: QSPI Transfer error interrupt + * @retval None + */ + + + +/** @brief Disable the specified QSPI interrupt. + * @param __HANDLE__ specifies the QSPI Handle. + * @param __INTERRUPT__ specifies the QSPI interrupt source to disable. + * This parameter can be one of the following values: + * @arg QSPI_IT_TO: QSPI Timeout interrupt + * @arg QSPI_IT_SM: QSPI Status match interrupt + * @arg QSPI_IT_FT: QSPI FIFO threshold interrupt + * @arg QSPI_IT_TC: QSPI Transfer complete interrupt + * @arg QSPI_IT_TE: QSPI Transfer error interrupt + * @retval None + */ + + +/** @brief Check whether the specified QSPI interrupt source is enabled or not. + * @param __HANDLE__ specifies the QSPI Handle. + * @param __INTERRUPT__ specifies the QSPI interrupt source to check. + * This parameter can be one of the following values: + * @arg QSPI_IT_TO: QSPI Timeout interrupt + * @arg QSPI_IT_SM: QSPI Status match interrupt + * @arg QSPI_IT_FT: QSPI FIFO threshold interrupt + * @arg QSPI_IT_TC: QSPI Transfer complete interrupt + * @arg QSPI_IT_TE: QSPI Transfer error interrupt + * @retval The new state of __INTERRUPT__ (TRUE or FALSE). + */ + + +/** + * @brief Check whether the selected QSPI flag is set or not. + * @param __HANDLE__ specifies the QSPI Handle. + * @param __FLAG__ specifies the QSPI flag to check. + * This parameter can be one of the following values: + * @arg QSPI_FLAG_BUSY: QSPI Busy flag + * @arg QSPI_FLAG_TO: QSPI Timeout flag + * @arg QSPI_FLAG_SM: QSPI Status match flag + * @arg QSPI_FLAG_FT: QSPI FIFO threshold flag + * @arg QSPI_FLAG_TC: QSPI Transfer complete flag + * @arg QSPI_FLAG_TE: QSPI Transfer error flag + * @retval None + */ + + +/** @brief Clears the specified QSPI's flag status. + * @param __HANDLE__ specifies the QSPI Handle. + * @param __FLAG__ specifies the QSPI clear register flag that needs to be set + * This parameter can be one of the following values: + * @arg QSPI_FLAG_TO: QSPI Timeout flag + * @arg QSPI_FLAG_SM: QSPI Status match flag + * @arg QSPI_FLAG_TC: QSPI Transfer complete flag + * @arg QSPI_FLAG_TE: QSPI Transfer error flag + * @retval None + */ + +/** + * @} + */ + +/* Exported functions --------------------------------------------------------*/ +/** @addtogroup QSPI_Exported_Functions + * @{ + */ + +/** @addtogroup QSPI_Exported_Functions_Group1 + * @{ + */ +/* Initialization/de-initialization functions ********************************/ +HAL_StatusTypeDef HAL_QSPI_Init (QSPI_HandleTypeDef *hqspi); +HAL_StatusTypeDef HAL_QSPI_DeInit (QSPI_HandleTypeDef *hqspi); +void HAL_QSPI_MspInit (QSPI_HandleTypeDef *hqspi); +void HAL_QSPI_MspDeInit(QSPI_HandleTypeDef *hqspi); +/** + * @} + */ + +/** @addtogroup QSPI_Exported_Functions_Group2 + * @{ + */ +/* IO operation functions *****************************************************/ +/* QSPI IRQ handler method */ +void HAL_QSPI_IRQHandler(QSPI_HandleTypeDef *hqspi); + +/* QSPI indirect mode */ +HAL_StatusTypeDef HAL_QSPI_Command (QSPI_HandleTypeDef *hqspi, QSPI_CommandTypeDef *cmd, uint32_t Timeout); +HAL_StatusTypeDef HAL_QSPI_Transmit (QSPI_HandleTypeDef *hqspi, uint8_t *pData, uint32_t Timeout); +HAL_StatusTypeDef HAL_QSPI_Receive (QSPI_HandleTypeDef *hqspi, uint8_t *pData, uint32_t Timeout); +HAL_StatusTypeDef HAL_QSPI_Command_IT (QSPI_HandleTypeDef *hqspi, QSPI_CommandTypeDef *cmd); +HAL_StatusTypeDef HAL_QSPI_Transmit_IT (QSPI_HandleTypeDef *hqspi, uint8_t *pData); +HAL_StatusTypeDef HAL_QSPI_Receive_IT (QSPI_HandleTypeDef *hqspi, uint8_t *pData); +HAL_StatusTypeDef HAL_QSPI_Transmit_DMA (QSPI_HandleTypeDef *hqspi, uint8_t *pData); +HAL_StatusTypeDef HAL_QSPI_Receive_DMA (QSPI_HandleTypeDef *hqspi, uint8_t *pData); + +/* QSPI status flag polling mode */ +HAL_StatusTypeDef HAL_QSPI_AutoPolling (QSPI_HandleTypeDef *hqspi, QSPI_CommandTypeDef *cmd, QSPI_AutoPollingTypeDef *cfg, uint32_t Timeout); +HAL_StatusTypeDef HAL_QSPI_AutoPolling_IT(QSPI_HandleTypeDef *hqspi, QSPI_CommandTypeDef *cmd, QSPI_AutoPollingTypeDef *cfg); + +/* QSPI memory-mapped mode */ +HAL_StatusTypeDef HAL_QSPI_MemoryMapped(QSPI_HandleTypeDef *hqspi, QSPI_CommandTypeDef *cmd, QSPI_MemoryMappedTypeDef *cfg); + +/* Callback functions in non-blocking modes ***********************************/ +void HAL_QSPI_ErrorCallback (QSPI_HandleTypeDef *hqspi); +void HAL_QSPI_AbortCpltCallback (QSPI_HandleTypeDef *hqspi); +void HAL_QSPI_FifoThresholdCallback(QSPI_HandleTypeDef *hqspi); + +/* QSPI indirect mode */ +void HAL_QSPI_CmdCpltCallback (QSPI_HandleTypeDef *hqspi); +void HAL_QSPI_RxCpltCallback (QSPI_HandleTypeDef *hqspi); +void HAL_QSPI_TxCpltCallback (QSPI_HandleTypeDef *hqspi); + +/* QSPI status flag polling mode */ +void HAL_QSPI_StatusMatchCallback (QSPI_HandleTypeDef *hqspi); + +/* QSPI memory-mapped mode */ +void HAL_QSPI_TimeOutCallback (QSPI_HandleTypeDef *hqspi); + + + + + + +/** + * @} + */ + +/** @addtogroup QSPI_Exported_Functions_Group3 + * @{ + */ +/* Peripheral Control and State functions ************************************/ +HAL_QSPI_StateTypeDef HAL_QSPI_GetState (const QSPI_HandleTypeDef *hqspi); +uint32_t HAL_QSPI_GetError (const QSPI_HandleTypeDef *hqspi); +HAL_StatusTypeDef HAL_QSPI_Abort (QSPI_HandleTypeDef *hqspi); +HAL_StatusTypeDef HAL_QSPI_Abort_IT (QSPI_HandleTypeDef *hqspi); +void HAL_QSPI_SetTimeout (QSPI_HandleTypeDef *hqspi, uint32_t Timeout); +HAL_StatusTypeDef HAL_QSPI_SetFifoThreshold(QSPI_HandleTypeDef *hqspi, uint32_t Threshold); +uint32_t HAL_QSPI_GetFifoThreshold(const QSPI_HandleTypeDef *hqspi); +HAL_StatusTypeDef HAL_QSPI_SetFlashID (QSPI_HandleTypeDef *hqspi, uint32_t FlashID); +/** + * @} + */ + +/** + * @} + */ +/* End of exported functions -------------------------------------------------*/ + +/* Private macros ------------------------------------------------------------*/ +/** @defgroup QSPI_Private_Macros QSPI Private Macros + * @{ + */ +# 728 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_qspi.h" +/** +* @} +*/ +/* End of private macros -----------------------------------------------------*/ + +/** + * @} + */ + +/** + * @} + */ + + + + +} +# 423 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_ramecc.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_ramecc.h + * @author MCD Application Team + * @brief Header file of RAMECC HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + + extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_ramecc.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup RAMECC + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ + +/** @defgroup RAMECC_Exported_Types RAMECC Exported Types + * @brief RAMECC Exported Types + * @{ + */ + +/** + * @brief HAL RAMECC State structures definition + */ +typedef enum +{ + HAL_RAMECC_STATE_RESET = 0x00U, + HAL_RAMECC_STATE_READY = 0x01U, + HAL_RAMECC_STATE_BUSY = 0x02U, + HAL_RAMECC_STATE_ERROR = 0x03U, +}HAL_RAMECC_StateTypeDef; + + +/** + * @brief RAMECC handle Structure definition + */ + + + +typedef struct + +{ + RAMECC_MonitorTypeDef *Instance; + volatile HAL_RAMECC_StateTypeDef State; + volatile uint32_t ErrorCode; + volatile uint32_t RAMECCErrorCode; + + + +}RAMECC_HandleTypeDef; + +/** + * @} + */ + + +/* Exported constants --------------------------------------------------------*/ +/** @defgroup RAMECC_Exported_Constants RAMECC Exported Constants + * @{ + */ +/** @defgroup RAMECC_Error_Codes RAMECC Error Codes + * @{ + */ + + + + + + + +/** + * @} + */ + +/** @defgroup RAMECC_Error_Codes RAMECC Error Detected Codes + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup RAMECC_Interrupt RAMECC interrupts + * @{ + */ +# 125 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_ramecc.h" +/** + * @} + */ + +/** @defgroup RAMECC_FLAG RAMECC Monitor flags + * @{ + */ + + + + + +/** + * @} + */ +/** + * @} + */ + +/* Exported macro ------------------------------------------------------------*/ +/** @defgroup RAMECC_Exported_Macros RAMECC Exported Macros + * @{ + */ + + + + +/** + * @brief Enable the specified RAMECC interrupts. + * @param __HANDLE__ : RAMECC handle. + * @param __INTERRUPT__: specifies the RAMECC interrupt sources to be enabled or disabled. + * This parameter can be one of the following values: + * @arg RAMECC_IT_GLOBAL_ENABLE : Global interrupt enable mask. + * @arg RAMECC_IT_GLOBAL_SINGLEERR_R : Global ECC single error interrupt enable. + * @arg RAMECC_IT_GLOBAL_DOUBLEERR_R : Global ECC double error interrupt enable. + * @arg RAMECC_IT_GLOBAL_DOUBLEERR_W : Global ECC double error on byte write (BW) interrupt enable. + * @arg RAMECC_IT_GLOBAL_ALL : All Global ECC interrupts enable mask. + * @arg RAMECC_IT_MONITOR_SINGLEERR_R : Monitor ECC single error interrupt enable. + * @arg RAMECC_IT_MONITOR_DOUBLEERR_R : Monitor ECC double error interrupt enable. + * @arg RAMECC_IT_MONITOR_DOUBLEERR_W : Monitor ECC double error on byte write (BW) interrupt enable. + * @arg RAMECC_IT_MONITOR_ALL : All Monitor ECC interrupts enable mask. + * @retval None + */ +# 176 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_ramecc.h" +/** + * @brief Disable the specified RAMECC interrupts. + * @param __HANDLE__ : RAMECC handle. + * @param __INTERRUPT__: specifies the RAMECC interrupt sources to be enabled or disabled. + * This parameter can be one of the following values: + * @arg RAMECC_IT_GLOBAL_ENABLE : Global interrupt enable mask. + * @arg RAMECC_IT_GLOBAL_SINGLEERR_R : Global ECC single error interrupt enable. + * @arg RAMECC_IT_GLOBAL_DOUBLEERR_R : Global ECC double error interrupt enable. + * @arg RAMECC_IT_GLOBAL_DOUBLEERR_W : Global ECC double error on byte write (BW) interrupt enable. + * @arg RAMECC_IT_GLOBAL_ALL : All Global ECC interrupts enable mask. + * @arg RAMECC_IT_MONITOR_SINGLEERR_R : Monitor ECC single error interrupt enable. + * @arg RAMECC_IT_MONITOR_DOUBLEERR_R : Monitor ECC double error interrupt enable. + * @arg RAMECC_IT_MONITOR_DOUBLEERR_W : Monitor ECC double error on byte write (BW) interrupt enable. + * @arg RAMECC_IT_MONITOR_ALL : All Monitor ECC interrupts enable mask. + * @retval None + */ +# 200 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_ramecc.h" +/** + * @brief Check whether the specified RAMECC interrupt source is enabled or not. + * @param __HANDLE__ : Specifies the RAMECC Handle. + * @param __INTERRUPT__ : Specifies the RAMECC interrupt source to check. + * This parameter can be one of the following values: + * @arg RAMECC_IT_GLOBAL_ENABLE : Global interrupt enable mask. + * @arg RAMECC_IT_GLOBAL_SINGLEERR_R : Global ECC single error interrupt enable. + * @arg RAMECC_IT_GLOBAL_DOUBLEERR_R : Global ECC double error interrupt enable. + * @arg RAMECC_IT_GLOBAL_DOUBLEERR_W : Global ECC double error on byte write (BW) interrupt enable. + * @arg RAMECC_IT_GLOBAL_ALL : All Global ECC interrupts enable mask. + * @arg RAMECC_IT_MONITOR_SINGLEERR_R : Monitor ECC single error interrupt enable. + * @arg RAMECC_IT_MONITOR_DOUBLEERR_R : Monitor ECC double error interrupt enable. + * @arg RAMECC_IT_MONITOR_DOUBLEERR_W : Monitor ECC double error on byte write (BW) interrupt enable. + * @arg RAMECC_IT_MONITOR_ALL : All Monitor ECC interrupts enable mask. + * @retval The new state of __INTERRUPT__ (SET or RESET). + */ + + + + + +/** + * @brief Get the RAMECC pending flags. + * @param __HANDLE__ : RAMECC handle. + * @param __FLAG__ : specifies the flag to clear. + * This parameter can be any combination of the following values: + * @arg RAMECC_FLAG_SINGLEERR_R : RAMECC instance ECC single error detected and corrected flag. + * @arg RAMECC_FLAG_DOUBLEERR_R : RAMECC instance ECC double error detected flag. + * @arg RAMECC_FLAG_DOUBLEERR_W : RAMECC instance ECC double error on byte write (BW) detected flag. + * @arg RAMECC_FLAGS_ALL : RAMECC instance all flag. + * @retval The state of __FLAG__ (SET or RESET). + */ + + + +/** + * @brief Clear the RAMECC pending flags. + * @param __HANDLE__ : RAMECC handle. + * @param __FLAG__ : specifies the flag to clear. + * This parameter can be any combination of the following values: + * @arg RAMECC_FLAG_SINGLEERR_R : RAMECC instance ECC single error detected and corrected flag. + * @arg RAMECC_FLAG_DOUBLEERR_R : RAMECC instance ECC double error detected flag. + * @arg RAMECC_FLAG_DOUBLEERR_W : RAMECC instance ECC double error on byte write (BW) detected flag. + * @arg RAMECC_FLAGS_ALL : RAMECC instance all flag. + * @retval None. + */ + + +/** + * @brief Reset the RAMECC handle state. + * @param __HANDLE__ : Specifies the RAMECC Handle. + * @retval None. + */ + +/** + * @} + */ + +/* Exported functions --------------------------------------------------------*/ + +/** @defgroup RAMECC_Exported_Functions RAMECC Exported Functions + * @brief RAMECC Exported functions + * @{ + */ + +/** @defgroup RAMECC_Exported_Functions_Group1 Initialization and de-initialization functions + * @brief Initialization and de-initialization functions + * @{ + */ +HAL_StatusTypeDef HAL_RAMECC_Init(RAMECC_HandleTypeDef *hramecc); +HAL_StatusTypeDef HAL_RAMECC_DeInit(RAMECC_HandleTypeDef *hramecc); +/** + * @} + */ + +/** @defgroup RAMECC_Exported_Functions_Group2 monitoring operation functions + * @brief monitoring operation functions + * @{ + */ +HAL_StatusTypeDef HAL_RAMECC_StartMonitor(RAMECC_HandleTypeDef *hramecc); +HAL_StatusTypeDef HAL_RAMECC_StopMonitor(RAMECC_HandleTypeDef *hramecc); +HAL_StatusTypeDef HAL_RAMECC_EnableNotification(RAMECC_HandleTypeDef *hramecc, uint32_t Notifications); +HAL_StatusTypeDef HAL_RAMECC_DisableNotification(RAMECC_HandleTypeDef *hramecc, uint32_t Notifications); + +/** + * @} + */ + +/** @defgroup RAMECC_Exported_Functions_Group3 handle Interrupt and Callbacks Functions + * @brief handle Interrupt and Callbacks Functions + * @{ + */ +void HAL_RAMECC_IRQHandler(RAMECC_HandleTypeDef *hramecc); +void HAL_RAMECC_DetectErrorCallback(RAMECC_HandleTypeDef *hramecc); + + + + +/** + * @} + */ + +/** @defgroup RAMECC_Exported_Functions_Group4 Error information functions + * @brief Error information functions + * @{ + */ +uint32_t HAL_RAMECC_GetFailingAddress(const RAMECC_HandleTypeDef *hramecc); +uint32_t HAL_RAMECC_GetFailingDataLow(const RAMECC_HandleTypeDef *hramecc); +uint32_t HAL_RAMECC_GetFailingDataHigh(const RAMECC_HandleTypeDef *hramecc); +uint32_t HAL_RAMECC_GetHammingErrorCode(const RAMECC_HandleTypeDef *hramecc); +uint32_t HAL_RAMECC_IsECCSingleErrorDetected(const RAMECC_HandleTypeDef *hramecc); +uint32_t HAL_RAMECC_IsECCDoubleErrorDetected(const RAMECC_HandleTypeDef *hramecc); +/** + * @} + */ + +/** @defgroup RAMECC_Exported_Functions_Group5 State and Error Functions + * @brief State and Error Functions + * @{ + */ +HAL_RAMECC_StateTypeDef HAL_RAMECC_GetState(const RAMECC_HandleTypeDef *hramecc); +uint32_t HAL_RAMECC_GetError(const RAMECC_HandleTypeDef *hramecc); +uint32_t HAL_RAMECC_GetRAMECCError(const RAMECC_HandleTypeDef *hramecc); +/** + * @} + */ + +/** + * @} + */ +/* Private Constants -------------------------------------------------------------*/ +/** @defgroup RAMECC_Private_Constants RAMECC Private Constants + * @brief RAMECC private defines and constants + * @{ + */ +/** + * @} + */ + +/* Private macros ------------------------------------------------------------*/ +/** @defgroup RAMECC_Private_Macros RAMECC Private Macros + * @brief RAMECC private macros + * @{ + */ +# 360 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_ramecc.h" +/** + * @} + */ + +/* Private functions ---------------------------------------------------------*/ +/** @defgroup RAMECC_Private_Functions RAMECC Private Functions + * @brief RAMECC private functions + * @{ + */ +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + +} +# 427 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rng.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_rng.h + * @author MCD Application Team + * @brief Header file of RNG HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rng.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + + + +/** @defgroup RNG RNG + * @brief RNG HAL module driver + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ + +/** @defgroup RNG_Exported_Types RNG Exported Types + * @{ + */ + +/** @defgroup RNG_Exported_Types_Group1 RNG Init Structure definition + * @{ + */ +typedef struct +{ + uint32_t ClockErrorDetection; +} RNG_InitTypeDef; + +/** + * @} + */ + +/** @defgroup RNG_Exported_Types_Group2 RNG State Structure definition + * @{ + */ +typedef enum +{ + HAL_RNG_STATE_RESET = 0x00U, + HAL_RNG_STATE_READY = 0x01U, + HAL_RNG_STATE_BUSY = 0x02U, + HAL_RNG_STATE_TIMEOUT = 0x03U, + HAL_RNG_STATE_ERROR = 0x04U + +} HAL_RNG_StateTypeDef; + +/** + * @} + */ + +/** @defgroup RNG_Exported_Types_Group3 RNG Handle Structure definition + * @{ + */ + + + +typedef struct + +{ + RNG_TypeDef *Instance; + + RNG_InitTypeDef Init; + + HAL_LockTypeDef Lock; + + volatile HAL_RNG_StateTypeDef State; + + volatile uint32_t ErrorCode; + + uint32_t RandomNumber; +# 105 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rng.h" +} RNG_HandleTypeDef; +# 128 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rng.h" +/** + * @} + */ + +/** + * @} + */ + +/* Exported constants --------------------------------------------------------*/ +/** @defgroup RNG_Exported_Constants RNG Exported Constants + * @{ + */ + +/** @defgroup RNG_Exported_Constants_Group1 RNG Interrupt definition + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup RNG_Exported_Constants_Group2 RNG Flag definition + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup RNG_Exported_Constants_Group3 RNG Clock Error Detection + * @{ + */ + + +/** + * @} + */ + +/** @defgroup RNG_Error_Definition RNG Error Definition + * @{ + */ +# 184 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rng.h" +/** + * @} + */ + +/** + * @} + */ + +/* Exported macros -----------------------------------------------------------*/ +/** @defgroup RNG_Exported_Macros RNG Exported Macros + * @{ + */ + +/** @brief Reset RNG handle state + * @param __HANDLE__ RNG Handle + * @retval None + */ +# 211 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rng.h" +/** + * @brief Enables the RNG peripheral. + * @param __HANDLE__ RNG Handle + * @retval None + */ + + +/** + * @brief Disables the RNG peripheral. + * @param __HANDLE__ RNG Handle + * @retval None + */ + + +/** + * @brief Check the selected RNG flag status. + * @param __HANDLE__ RNG Handle + * @param __FLAG__ RNG flag + * This parameter can be one of the following values: + * @arg RNG_FLAG_DRDY: Data ready + * @arg RNG_FLAG_CECS: Clock error current status + * @arg RNG_FLAG_SECS: Seed error current status + * @retval The new state of __FLAG__ (SET or RESET). + */ + + +/** + * @brief Clears the selected RNG flag status. + * @param __HANDLE__ RNG handle + * @param __FLAG__ RNG flag to clear + * @note WARNING: This is a dummy macro for HAL code alignment, + * flags RNG_FLAG_DRDY, RNG_FLAG_CECS and RNG_FLAG_SECS are read-only. + * @retval None + */ + + +/** + * @brief Enables the RNG interrupts. + * @param __HANDLE__ RNG Handle + * @retval None + */ + + +/** + * @brief Disables the RNG interrupts. + * @param __HANDLE__ RNG Handle + * @retval None + */ + + +/** + * @brief Checks whether the specified RNG interrupt has occurred or not. + * @param __HANDLE__ RNG Handle + * @param __INTERRUPT__ specifies the RNG interrupt status flag to check. + * This parameter can be one of the following values: + * @arg RNG_IT_DRDY: Data ready interrupt + * @arg RNG_IT_CEI: Clock error interrupt + * @arg RNG_IT_SEI: Seed error interrupt + * @retval The new state of __INTERRUPT__ (SET or RESET). + */ + + +/** + * @brief Clear the RNG interrupt status flags. + * @param __HANDLE__ RNG Handle + * @param __INTERRUPT__ specifies the RNG interrupt status flag to clear. + * This parameter can be one of the following values: + * @arg RNG_IT_CEI: Clock error interrupt + * @arg RNG_IT_SEI: Seed error interrupt + * @note RNG_IT_DRDY flag is read-only, reading RNG_DR register automatically clears RNG_IT_DRDY. + * @retval None + */ + + +/** + * @} + */ + + + + + +/* Exported functions --------------------------------------------------------*/ +/** @defgroup RNG_Exported_Functions RNG Exported Functions + * @{ + */ + +/** @defgroup RNG_Exported_Functions_Group1 Initialization and configuration functions + * @{ + */ +HAL_StatusTypeDef HAL_RNG_Init(RNG_HandleTypeDef *hrng); +HAL_StatusTypeDef HAL_RNG_DeInit(RNG_HandleTypeDef *hrng); +void HAL_RNG_MspInit(RNG_HandleTypeDef *hrng); +void HAL_RNG_MspDeInit(RNG_HandleTypeDef *hrng); + +/* Callbacks Register/UnRegister functions ***********************************/ +# 316 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rng.h" +/** + * @} + */ + +/** @defgroup RNG_Exported_Functions_Group2 Peripheral Control functions + * @{ + */ +HAL_StatusTypeDef HAL_RNG_GenerateRandomNumber(RNG_HandleTypeDef *hrng, uint32_t *random32bit); +HAL_StatusTypeDef HAL_RNG_GenerateRandomNumber_IT(RNG_HandleTypeDef *hrng); +uint32_t HAL_RNG_ReadLastRandomNumber(const RNG_HandleTypeDef *hrng); + +void HAL_RNG_IRQHandler(RNG_HandleTypeDef *hrng); +void HAL_RNG_ErrorCallback(RNG_HandleTypeDef *hrng); +void HAL_RNG_ReadyDataCallback(RNG_HandleTypeDef *hrng, uint32_t random32bit); + +/** + * @} + */ + +/** @defgroup RNG_Exported_Functions_Group3 Peripheral State functions + * @{ + */ +HAL_RNG_StateTypeDef HAL_RNG_GetState(const RNG_HandleTypeDef *hrng); +uint32_t HAL_RNG_GetError(const RNG_HandleTypeDef *hrng); +/** + * @} + */ + +/** + * @} + */ + +/* Private macros ------------------------------------------------------------*/ +/** @defgroup RNG_Private_Macros RNG Private Macros + * @{ + */ + + + + + + + +/** + * @brief Verify the RNG Clock Error Detection mode. + * @param __MODE__ RNG Clock Error Detection mode + * @retval SET (__MODE__ is valid) or RESET (__MODE__ is invalid) + */ + + +/** + * @} + */ +# 380 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rng.h" +/** + * @} + */ + + + +/** + * @} + */ + + +} +# 431 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rtc.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_rtc.h + * @author MCD Application Team + * @brief Header file of RTC HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rtc.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @defgroup RTC RTC + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/** @defgroup RTC_Exported_Types RTC Exported Types + * @{ + */ + +/** + * @brief HAL State structures definition + */ +typedef enum +{ + HAL_RTC_STATE_RESET = 0x00U, + HAL_RTC_STATE_READY = 0x01U, + HAL_RTC_STATE_BUSY = 0x02U, + HAL_RTC_STATE_TIMEOUT = 0x03U, + HAL_RTC_STATE_ERROR = 0x04U + +} HAL_RTCStateTypeDef; + +/** + * @brief RTC Configuration Structure definition + */ +typedef struct +{ + uint32_t HourFormat; /*!< Specifies the RTC Hour Format. + This parameter can be a value of @ref RTC_Hour_Formats_Definitions */ + + uint32_t AsynchPrediv; /*!< Specifies the RTC Asynchronous Predivider value. + This parameter must be a number between Min_Data = 0x00 and Max_Data = 0x7F */ + + uint32_t SynchPrediv; /*!< Specifies the RTC Synchronous Predivider value. + This parameter must be a number between Min_Data = 0x00 and Max_Data = 0x7FFF */ + + uint32_t OutPut; /*!< Specifies which signal will be routed to the RTC output. + This parameter can be a value of @ref RTC_Output_selection_Definitions */ + + uint32_t OutPutRemap; /*!< Specifies the remap for RTC output. + This parameter can be a value of @ref RTC_Output_ALARM_OUT_Remap */ + + uint32_t OutPutPolarity; /*!< Specifies the polarity of the output signal. + This parameter can be a value of @ref RTC_Output_Polarity_Definitions */ + + uint32_t OutPutType; /*!< Specifies the RTC Output Pin mode. + This parameter can be a value of @ref RTC_Output_Type_ALARM_OUT */ + + + + +} RTC_InitTypeDef; + +/** + * @brief RTC Time structure definition + */ +typedef struct +{ + uint8_t Hours; /*!< Specifies the RTC Time Hour. + This parameter must be a number between Min_Data = 0 and Max_Data = 12 if the RTC_HourFormat_12 is selected. + This parameter must be a number between Min_Data = 0 and Max_Data = 23 if the RTC_HourFormat_24 is selected */ + + uint8_t Minutes; /*!< Specifies the RTC Time Minutes. + This parameter must be a number between Min_Data = 0 and Max_Data = 59 */ + + uint8_t Seconds; /*!< Specifies the RTC Time Seconds. + This parameter must be a number between Min_Data = 0 and Max_Data = 59 */ + + uint8_t TimeFormat; /*!< Specifies the RTC AM/PM Time. + This parameter can be a value of @ref RTC_AM_PM_Definitions */ + + uint32_t SubSeconds; /*!< Specifies the RTC_SSR RTC Sub Second register content. + This parameter corresponds to a time unit range between [0-1] Second + with [1 Sec / SecondFraction +1] granularity */ + + uint32_t SecondFraction; /*!< Specifies the range or granularity of Sub Second register content + corresponding to Synchronous pre-scaler factor value (PREDIV_S) + This parameter corresponds to a time unit range between [0-1] Second + with [1 Sec / SecondFraction +1] granularity. + This field will be used only by HAL_RTC_GetTime function */ + + uint32_t DayLightSaving; /*!< Specifies RTC_DayLightSaveOperation: the value of hour adjustment. + This parameter can be a value of @ref RTC_DayLightSaving_Definitions */ + + uint32_t StoreOperation; /*!< Specifies RTC_StoreOperation value to be written in the BKP bit + in CR register to store the operation. + This parameter can be a value of @ref RTC_StoreOperation_Definitions */ +} RTC_TimeTypeDef; + +/** + * @brief RTC Date structure definition + */ +typedef struct +{ + uint8_t WeekDay; /*!< Specifies the RTC Date WeekDay. + This parameter can be a value of @ref RTC_WeekDay_Definitions */ + + uint8_t Month; /*!< Specifies the RTC Date Month (in BCD format). + This parameter can be a value of @ref RTC_Month_Date_Definitions */ + + uint8_t Date; /*!< Specifies the RTC Date. + This parameter must be a number between Min_Data = 1 and Max_Data = 31 */ + + uint8_t Year; /*!< Specifies the RTC Date Year. + This parameter must be a number between Min_Data = 0 and Max_Data = 99 */ + +} RTC_DateTypeDef; + +/** + * @brief RTC Alarm structure definition + */ +typedef struct +{ + RTC_TimeTypeDef AlarmTime; + + uint32_t AlarmMask; /*!< Specifies the RTC Alarm Masks. + This parameter can be a value of @ref RTC_AlarmMask_Definitions */ + + uint32_t AlarmSubSecondMask; /*!< Specifies the RTC Alarm SubSeconds Masks. + This parameter can be a value of @ref RTC_Alarm_Sub_Seconds_Masks_Definitions */ + + uint32_t AlarmDateWeekDaySel; /*!< Specifies the RTC Alarm is on Date or WeekDay. + This parameter can be a value of @ref RTC_AlarmDateWeekDay_Definitions */ + + uint8_t AlarmDateWeekDay; /*!< Specifies the RTC Alarm Date/WeekDay. + If the Alarm Date is selected, this parameter must be set to a value in the 1-31 range. + If the Alarm WeekDay is selected, this parameter can be a value of @ref RTC_WeekDay_Definitions */ + + uint32_t Alarm; /*!< Specifies the alarm . + This parameter can be a value of @ref RTC_Alarms_Definitions */ +} RTC_AlarmTypeDef; + +/** + * @brief RTC Handle Structure definition + */ + + + +typedef struct + +{ + RTC_TypeDef *Instance; + + RTC_InitTypeDef Init; + + HAL_LockTypeDef Lock; + + volatile HAL_RTCStateTypeDef State; +# 220 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rtc.h" +} RTC_HandleTypeDef; +# 254 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rtc.h" +/** + * @} + */ + +/* Exported constants --------------------------------------------------------*/ +/** @defgroup RTC_Exported_Constants RTC Exported Constants + * @{ + */ + +/** @defgroup RTC_Hour_Formats_Definitions RTC Hour Formats Definitions + * @{ + */ + + +/** + * @} + */ + +/** @defgroup RTC_Output_selection_Definitions RTC Output Selection Definitions + * @{ + */ + + + + + + + +/** + * @} + */ + +/** @defgroup RTC_Output_Polarity_Definitions RTC Output Polarity Definitions + * @{ + */ + + +/** + * @} + */ + +/** @defgroup RTC_Output_Type_ALARM_OUT RTC Output Type ALARM OUT + * @{ + */ +# 307 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rtc.h" +/** + * @} + */ + +/** @defgroup RTC_Output_PullUp_ALARM_OUT RTC Output Pull-Up ALARM OUT + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup RTC_Output_ALARM_OUT_Remap RTC Output ALARM OUT Remap + * @{ + */ + + + + + + + +/** + * @} + */ + +/** @defgroup RTC_AM_PM_Definitions RTC AM PM Definitions + * @{ + */ + + +/** + * @} + */ + +/** @defgroup RTC_DayLightSaving_Definitions RTC DayLight Saving Definitions + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup RTC_StoreOperation_Definitions RTC Store Operation Definitions + * @{ + */ + + +/** + * @} + */ + +/** @defgroup RTC_Input_parameter_format_definitions RTC Input Parameter Format Definitions + * @{ + */ + + +/** + * @} + */ + +/** @defgroup RTC_Month_Date_Definitions RTC Month Date Definitions (in BCD format) + * @{ + */ +# 389 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rtc.h" +/** + * @} + */ + +/** @defgroup RTC_WeekDay_Definitions RTC WeekDay Definitions + * @{ + */ +# 404 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rtc.h" +/** + * @} + */ + +/** @defgroup RTC_AlarmDateWeekDay_Definitions RTC Alarm Date WeekDay Definitions + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup RTC_AlarmMask_Definitions RTC Alarm Mask Definitions + * @{ + */ +# 430 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rtc.h" +/** + * @} + */ + +/** @defgroup RTC_Alarms_Definitions RTC Alarms Definitions + * @{ + */ + + +/** + * @} + */ + +/** @defgroup RTC_Alarm_Sub_Seconds_Masks_Definitions RTC Alarm Sub Seconds Masks Definitions + * @{ + */ +/*!< All Alarm SS fields are masked. There is no comparison on sub seconds for Alarm */ + +/*!< SS[14:1] are don't care in Alarm comparison. Only SS[0] is compared. */ + +/*!< SS[14:2] are don't care in Alarm comparison. Only SS[1:0] are compared. */ + +/*!< SS[14:3] are don't care in Alarm comparison. Only SS[2:0] are compared. */ + +/*!< SS[14:4] are don't care in Alarm comparison. Only SS[3:0] are compared. */ + +/*!< SS[14:5] are don't care in Alarm comparison. Only SS[4:0] are compared. */ + +/*!< SS[14:6] are don't care in Alarm comparison. Only SS[5:0] are compared. */ + +/*!< SS[14:7] are don't care in Alarm comparison. Only SS[6:0] are compared. */ + +/*!< SS[14:8] are don't care in Alarm comparison. Only SS[7:0] are compared. */ + +/*!< SS[14:9] are don't care in Alarm comparison. Only SS[8:0] are compared. */ + +/*!< SS[14:10] are don't care in Alarm comparison. Only SS[9:0] are compared. */ + +/*!< SS[14:11] are don't care in Alarm comparison. Only SS[10:0] are compared. */ + +/*!< SS[14:12] are don't care in Alarm comparison. Only SS[11:0] are compared. */ + +/*!< SS[14:13] are don't care in Alarm comparison. Only SS[12:0] are compared. */ + +/*!< SS[14] is don't care in Alarm comparison. Only SS[13:0] are compared. */ + +/*!< SS[14:0] are compared and must match to activate alarm. */ + + +/** + * @} + */ + +/** @defgroup RTC_Interrupts_Definitions RTC Interrupts Definitions + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup RTC_Flags_Definitions RTC Flags Definitions + * @{ + */ +# 528 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rtc.h" +/** + * @} + */ + +/** @defgroup RTC_Clear_Flags_Definitions RTC Clear Flags Definitions + * @{ + */ +# 544 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rtc.h" +/** + * @} + */ + +/** + * @} + */ + +/* Exported macros -----------------------------------------------------------*/ +/** @defgroup RTC_Exported_Macros RTC Exported Macros + * @{ + */ + +/** @brief Reset RTC handle state + * @param __HANDLE__ RTC handle. + * @retval None + */ +# 571 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rtc.h" +/** + * @brief Disable the write protection for RTC registers. + * @param __HANDLE__ specifies the RTC handle. + * @retval None + */ + + + + + + +/** + * @brief Enable the write protection for RTC registers. + * @param __HANDLE__ specifies the RTC handle. + * @retval None + */ + + + + + +/** + * @brief Check whether the RTC Calendar is initialized. + * @param __HANDLE__ specifies the RTC handle. + * @retval None + */ + + + + + + +/** + * @brief Add 1 hour (summer time change). + * @param __HANDLE__ specifies the RTC handle. + * @param __BKP__ Backup + * This parameter can be: + * @arg @ref RTC_STOREOPERATION_RESET + * @arg @ref RTC_STOREOPERATION_SET + * @retval None + */ +# 620 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rtc.h" +/** + * @brief Subtract 1 hour (winter time change). + * @param __HANDLE__ specifies the RTC handle. + * @param __BKP__ Backup + * This parameter can be: + * @arg @ref RTC_STOREOPERATION_RESET + * @arg @ref RTC_STOREOPERATION_SET + * @retval None + */ +# 637 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rtc.h" +/** + * @brief Enable the RTC ALARMA peripheral. + * @param __HANDLE__ specifies the RTC handle. + * @retval None + */ + + +/** + * @brief Disable the RTC ALARMA peripheral. + * @param __HANDLE__ specifies the RTC handle. + * @retval None + */ + + +/** + * @brief Enable the RTC ALARMB peripheral. + * @param __HANDLE__ specifies the RTC handle. + * @retval None + */ + + +/** + * @brief Disable the RTC ALARMB peripheral. + * @param __HANDLE__ specifies the RTC handle. + * @retval None + */ + + +/** + * @brief Enable the RTC Alarm interrupt. + * @param __HANDLE__ specifies the RTC handle. + * @param __INTERRUPT__ specifies the RTC Alarm interrupt sources to be enabled or disabled. + * This parameter can be any combination of the following values: + * @arg @ref RTC_IT_ALRA Alarm A interrupt + * @arg @ref RTC_IT_ALRB Alarm B interrupt + * @retval None + */ + + +/** + * @brief Disable the RTC Alarm interrupt. + * @param __HANDLE__ specifies the RTC handle. + * @param __INTERRUPT__ specifies the RTC Alarm interrupt sources to be enabled or disabled. + * This parameter can be any combination of the following values: + * @arg @ref RTC_IT_ALRA Alarm A interrupt + * @arg @ref RTC_IT_ALRB Alarm B interrupt + * @retval None + */ + + +/** + * @brief Check whether the specified RTC Alarm interrupt has occurred or not. + * @param __HANDLE__ specifies the RTC handle. + * @param __INTERRUPT__ specifies the RTC Alarm interrupt sources to check. + * This parameter can be: + * @arg @ref RTC_IT_ALRA Alarm A interrupt + * @arg @ref RTC_IT_ALRB Alarm B interrupt + * @retval None + */ + + + + + + +/** + * @brief Check whether the specified RTC Alarm interrupt has been enabled or not. + * @param __HANDLE__ specifies the RTC handle. + * @param __INTERRUPT__ specifies the RTC Alarm interrupt sources to check. + * This parameter can be: + * @arg @ref RTC_IT_ALRA Alarm A interrupt + * @arg @ref RTC_IT_ALRB Alarm B interrupt + * @retval None + */ +# 725 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rtc.h" +/** + * @brief Get the selected RTC Alarm's flag status. + * @param __HANDLE__ specifies the RTC handle. + * @param __FLAG__ specifies the RTC Alarm Flag sources to check. + * This parameter can be: + * @arg @ref RTC_FLAG_ALRAF + * @arg @ref RTC_FLAG_ALRBF + * @arg @ref RTC_FLAG_ALRAWF + * @arg @ref RTC_FLAG_ALRBWF + * @retval None + */ + + + +/** + * @brief Clear the RTC Alarm's pending flags. + * @param __HANDLE__ specifies the RTC handle. + * @param __FLAG__ specifies the RTC Alarm Flag sources to clear. + * This parameter can be: + * @arg @ref RTC_FLAG_ALRAF + * @arg @ref RTC_FLAG_ALRBF + * @retval None + */ + + + + + + + +/** + * @brief Enable interrupt on the RTC Alarm associated Exti line. + * @retval None + */ + + + + + + +/** + * @brief Disable interrupt on the RTC Alarm associated Exti line. + * @retval None + */ + + + + + + +/** + * @brief Enable event on the RTC Alarm associated Exti line. + * @retval None. + */ + + + + + + +/** + * @brief Disable event on the RTC Alarm associated Exti line. + * @retval None. + */ + + + + + + + +/** + * @brief Enable interrupt on the RTC Alarm associated D2 Exti line. + * @retval None + */ + + +/** + * @brief Disable interrupt on the RTC Alarm associated D2 Exti line. + * @retval None + */ + + +/** + * @brief Enable event on the RTC Alarm associated D2 Exti line. + * @retval None + */ + + +/** + * @brief Disable event on the RTC Alarm associated D2 Exti line. + * @retval None + */ + + + +/** + * @brief Enable falling edge trigger on the RTC Alarm associated Exti line. + * @retval None + */ + + +/** + * @brief Disable falling edge trigger on the RTC Alarm associated Exti line. + * @retval None + */ + + +/** + * @brief Enable rising edge trigger on the RTC Alarm associated Exti line. + * @retval None + */ + + +/** + * @brief Disable rising edge trigger on the RTC Alarm associated Exti line. + * @retval None + */ + + +/** + * @brief Enable rising & falling edge trigger on the RTC Alarm associated Exti line. + * @retval None + */ + + + + + +/** + * @brief Disable rising & falling edge trigger on the RTC Alarm associated Exti line. + * @retval None + */ + + + + + +/** + * @brief Check whether the RTC Alarm associated Exti line interrupt flag is set or not. + * @retval Line Status. + */ + + + + + + +/** + * @brief Clear the RTC Alarm associated Exti line flag. + * @retval None. + */ + + + + + + + +/** + * @brief Check whether the RTC Alarm associated D2 Exti line interrupt flag is set or not. + * @retval Line Status + */ + + +/** + * @brief Clear the RTC Alarm associated D2 Exti line flag. + * @retval None + */ + + +/** + * @brief Generate a Software interrupt on RTC Alarm associated Exti line. + * @retval None + */ + + +/** + * @} + */ + +/* Include RTC HAL Extended module */ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rtc_ex.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_rtc_ex.h + * @author MCD Application Team + * @brief Header file of RTC HAL Extension module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rtc_ex.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @defgroup RTCEx RTCEx + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ + +/** @defgroup RTCEx_Exported_Types RTCEx Exported Types + * @{ + */ + +/** @defgroup RTCEx_Tamper_structure_definition RTC Tamper structure definition + * @{ + */ +typedef struct +{ + uint32_t Tamper; /*!< Specifies the Tamper Pin. + This parameter can be a value of @ref RTCEx_Tamper_Pins_Definitions */ + + uint32_t Interrupt; /*!< Specifies the Tamper Interrupt. + This parameter can be a value of @ref RTCEx_Tamper_Interrupt_Definitions */ + + uint32_t Trigger; /*!< Specifies the Tamper Trigger. + This parameter can be a value of @ref RTCEx_Tamper_Trigger_Definitions */ + + uint32_t NoErase; /*!< Specifies the Tamper no erase mode. + This parameter can be a value of @ref RTCEx_Tamper_EraseBackUp_Definitions */ + + uint32_t MaskFlag; /*!< Specifies the Tamper Flag masking. + This parameter can be a value of @ref RTCEx_Tamper_MaskFlag_Definitions */ + + uint32_t Filter; /*!< Specifies the TAMP Filter Tamper. + This parameter can be a value of @ref RTCEx_Tamper_Filter_Definitions */ + + uint32_t SamplingFrequency; /*!< Specifies the sampling frequency. + This parameter can be a value of @ref RTCEx_Tamper_Sampling_Frequencies_Definitions */ + + uint32_t PrechargeDuration; /*!< Specifies the Precharge Duration . + This parameter can be a value of @ref RTCEx_Tamper_Pin_Precharge_Duration_Definitions */ + + uint32_t TamperPullUp; /*!< Specifies the Tamper PullUp . + This parameter can be a value of @ref RTCEx_Tamper_Pull_UP_Definitions */ + + uint32_t TimeStampOnTamperDetection; /*!< Specifies the TimeStampOnTamperDetection. + This parameter can be a value of @ref RTCEx_Tamper_TimeStampOnTamperDetection_Definitions */ +} RTC_TamperTypeDef; +/** + * @} + */ +# 167 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rtc_ex.h" +/** + * @} + */ + +/* Exported constants --------------------------------------------------------*/ + +/** @defgroup RTCEx_Exported_Constants RTC Exported Constants + * @{ + */ + +/* ========================================================================== */ +/* ##### Extended RTC Backup registers exported constants ##### */ +/* ========================================================================== */ + +/** @defgroup RTCEx_Backup_Registers_Number_Definitions RTC Backup Registers Number Definitions + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup RTCEx_Backup_Registers_Definitions RTC Backup Registers Definitions + * @{ + */ +# 228 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rtc_ex.h" +/** + * @} + */ + +/* ========================================================================== */ +/* ##### RTC TimeStamp exported constants ##### */ +/* ========================================================================== */ + +/** @defgroup RTCEx_TimeStamp_Edges_definitions RTC TimeStamp Edges Definitions + * + * @{ + */ + + +/** + * @} + */ + +/** @defgroup RTCEx_TimeStamp_Pin_Selection RTC TimeStamp Pin Selection + * @{ + */ + +/** + * @} + */ + + +/* ========================================================================== */ +/* ##### RTC Tamper exported constants ##### */ +/* ========================================================================== */ + +/** @defgroup RTCEx_Tamper_Pins_Definitions RTC Tamper Pins Definitions + * @{ + */ +# 273 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rtc_ex.h" +/** + * @} + */ + +/** @defgroup RTCEx_Tamper_Interrupt_Definitions RTC Tamper Interrupts Definitions + * @{ + */ +# 297 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rtc_ex.h" +/** + * @} + */ + +/** @defgroup RTCEx_Internal_Tamper_Pins_Definitions RTCEx Internal Tamper Pins Definition + * @{ + */ +# 318 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rtc_ex.h" +/** + * @} + */ + +/** @defgroup RTCEx_Internal_Tamper_Interrupt_Definitions RTC Internal Tamper Interrupt + * @{ + */ +# 334 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rtc_ex.h" +/** + * @} + */ + +/** @defgroup RTCEx_Tamper_Trigger_Definitions RTC Tamper Triggers Definitions + * @{ + */ +# 359 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rtc_ex.h" +/** + * @} + */ + +/** @defgroup RTCEx_Tamper_EraseBackUp_Definitions RTC Tamper EraseBackUp Definitions +* @{ +*/ +# 387 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rtc_ex.h" +/** + * @} + */ + +/** @defgroup RTCEx_Tamper_MaskFlag_Definitions RTC Tamper Mask Flag Definitions +* @{ +*/ +# 415 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rtc_ex.h" +/** + * @} + */ + +/** @defgroup RTCEx_Tamper_Filter_Definitions RTC Tamper Filter Definitions + * @{ + */ +# 445 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rtc_ex.h" +/** + * @} + */ + +/** @defgroup RTCEx_Tamper_Sampling_Frequencies_Definitions RTC Tamper Sampling Frequencies Definitions + * @{ + */ +# 491 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rtc_ex.h" +/** + * @} + */ + +/** @defgroup RTCEx_Tamper_Pin_Precharge_Duration_Definitions RTC Tamper Pin Precharge Duration Definitions + * @{ + */ +# 521 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rtc_ex.h" +/** + * @} + */ + +/** @defgroup RTCEx_Tamper_TimeStampOnTamperDetection_Definitions RTC Tamper TimeStamp On Tamper Detection Definitions + * @{ + */ +# 537 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rtc_ex.h" +/** + * @} + */ + +/** @defgroup RTCEx_Tamper_Pull_UP_Definitions RTC Tamper Pull Up Definitions + * @{ + */ +# 553 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rtc_ex.h" +/** + * @} + */ + +/** @defgroup RTCEx_Tamper_DetectionOutput_Definitions RTC Tamper Detection Output Definitions + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup RTC_Tamper_Flags_Definitions RTC Tamper Flags Definitions + * @{ + */ +# 581 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rtc_ex.h" +/** + * @} + */ + +/** @defgroup RTCEx_ActiveTamper_Enable RTCEx_ActiveTamper_Enable Definitions + * @{ + */ + + +/** + * @} + */ + +/** @defgroup RTCEx_ActiveTamper_Interrupt RTCEx_ActiveTamper_Interrupt Definitions + * @{ + */ + + +/** + * @} + */ + +/** @defgroup RTCEx_ActiveTamper_Filter RTCEx_ActiveTamper_Filter Definitions + * @{ + */ + + +/** + * @} + */ + +/** @defgroup RTCEx_ActiveTamper_Async_prescaler RTC Active_Tamper_Asynchronous_Prescaler clock Definitions + * @{ + */ +# 623 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rtc_ex.h" +/** + * @} + */ + +/** @defgroup RTCEx_ActiveTamper_Sel RTC Active Tamper selection Definition + * @{ + */ +# 638 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rtc_ex.h" +/** + * @} + */ + +/** @defgroup RTCEx_MonotonicCounter_Instance RTCEx Monotonic Counter Instance Definition + * @{ + */ + +/** + * @} + */ + +/** @defgroup RTCEx_Tamper_Registers_Offset RTC Tamper Registers Offset + * @{ + */ + + + + +/** + * @} + */ + +/* ========================================================================== */ +/* ##### RTC Wake-up exported constants ##### */ +/* ========================================================================== */ + +/** @defgroup RTCEx_Wakeup_Timer_Definitions RTC Wakeup Timer Definitions + * @{ + */ + + + + + + +/** + * @} + */ + +/* ========================================================================== */ +/* ##### Extended RTC Peripheral Control exported constants ##### */ +/* ========================================================================== */ + +/** @defgroup RTCEx_Smooth_calib_period_Definitions RTC Smooth Calib Period Definitions + * @{ + */ + + + + + + +/** + * @} + */ + +/** @defgroup RTCEx_Smooth_calib_Plus_pulses_Definitions RTC Smooth Calib Plus pulses Definitions + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup RTCEx_Calib_Output_selection_Definitions RTC Calib Output Selection Definitions + * @{ + */ + + +/** + * @} + */ + +/** @defgroup RTCEx_Add_1_Second_Parameter_Definitions RTC Add 1 Second Parameter Definitions + * @{ + */ + + +/** + * @} + */ + +/** + * @} + */ + +/* Exported macros -----------------------------------------------------------*/ + +/** @defgroup RTCEx_Exported_Macros RTC Exported Macros + * @{ + */ + +/* ========================================================================== */ +/* ##### RTC Wake-up exported macros ##### */ +/* ========================================================================== */ + +/** + * @brief Enable the RTC WakeUp Timer peripheral. + * @param __HANDLE__ specifies the RTC handle. + * @retval None + */ + + +/** + * @brief Disable the RTC WakeUp Timer peripheral. + * @param __HANDLE__ specifies the RTC handle. + * @retval None + */ + + +/** + * @brief Enable the RTC WakeUpTimer interrupt. + * @param __HANDLE__ specifies the RTC handle. + * @param __INTERRUPT__ specifies the RTC WakeUpTimer interrupt sources to be enabled. + * This parameter can be: + * @arg @ref RTC_IT_WUT WakeUpTimer interrupt + * @retval None + */ + + +/** + * @brief Disable the RTC WakeUpTimer interrupt. + * @param __HANDLE__ specifies the RTC handle. + * @param __INTERRUPT__ specifies the RTC WakeUpTimer interrupt sources to be disabled. + * This parameter can be: + * @arg @ref RTC_IT_WUT WakeUpTimer interrupt + * @retval None + */ + + +/** + * @brief Check whether the specified RTC WakeUpTimer interrupt has occurred or not. + * @param __HANDLE__ specifies the RTC handle. + * @param __INTERRUPT__ specifies the RTC WakeUpTimer interrupt sources to check. + * This parameter can be: + * @arg RTC_FLAG_WUTF WakeUpTimer interrupt flag + * @retval None + */ + + + + + + +/** + * @brief Check whether the specified RTC Wake Up timer interrupt has been enabled or not. + * @param __HANDLE__ specifies the RTC handle. + * @param __INTERRUPT__ specifies the RTC Wake Up timer interrupt sources to check. + * This parameter can be: + * @arg @ref RTC_IT_WUT WakeUpTimer interrupt + * @retval None + */ +# 808 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rtc_ex.h" +/** + * @brief Get the selected RTC WakeUpTimer's flag status. + * @param __HANDLE__ specifies the RTC handle. + * @param __FLAG__ specifies the RTC WakeUpTimer Flag sources to check. + * This parameter can be: + * @arg @ref RTC_FLAG_WUTF + * @arg @ref RTC_FLAG_WUTWF + * @retval Flag status + */ + + + +/** + * @brief Clear the RTC Wake Up timer's pending flags. + * @param __HANDLE__ specifies the RTC handle. + * @param __FLAG__ specifies the RTC WakeUpTimer Flag to clear. + * This parameter can be: + * @arg @ref RTC_FLAG_WUTF + * @retval None + */ + + + + + + +/* ========================================================================== */ +/* ##### RTC Tamper exported macros ##### */ +/* ========================================================================== */ + +/** + * @brief Enable the RTC Tamper1 input detection. + * @param __HANDLE__ specifies the RTC handle. + * @retval None + */ + + + + + + +/** + * @brief Disable the RTC Tamper1 input detection. + * @param __HANDLE__ specifies the RTC handle. + * @retval None + */ + + + + + + +/** + * @brief Enable the RTC Tamper2 input detection. + * @param __HANDLE__ specifies the RTC handle. + * @retval None + */ + + + + + + +/** + * @brief Disable the RTC Tamper2 input detection. + * @param __HANDLE__ specifies the RTC handle. + * @retval None + */ + + + + + + +/** + * @brief Enable the RTC Tamper3 input detection. + * @param __HANDLE__ specifies the RTC handle. + * @retval None + */ + + + + + + +/** + * @brief Disable the RTC Tamper3 input detection. + * @param __HANDLE__ specifies the RTC handle. + * @retval None + */ + + + + + + +/** + * @brief Enable the RTC Tamper interrupt. + * @param __HANDLE__ specifies the RTC handle. + * @param __INTERRUPT__ specifies the RTC Tamper interrupt sources to be enabled. + * This parameter can be any combination of the following values: + * @arg RTC_IT_TAMPALL: All tampers interrupts + * @arg RTC_IT_TAMP1: Tamper1 interrupt + * @arg RTC_IT_TAMP2: Tamper2 interrupt + * @arg RTC_IT_TAMP3: Tamper3 interrupt + * @retval None + */ + + + + + + +/** + * @brief Disable the RTC Tamper interrupt. + * @param __HANDLE__ specifies the RTC handle. + * @param __INTERRUPT__ specifies the RTC Tamper interrupt sources to be disabled. + * This parameter can be any combination of the following values: + * @arg RTC_IT_TAMP: All tampers interrupts + * @arg RTC_IT_TAMP1: Tamper1 interrupt + * @arg RTC_IT_TAMP2: Tamper2 interrupt + * @arg RTC_IT_TAMP3: Tamper3 interrupt + * @retval None + */ + + + + + + +/** + * @brief Check whether the specified RTC Tamper interrupt has been enabled or not. + * @param __HANDLE__ specifies the RTC handle. + * @param __INTERRUPT__ specifies the RTC Tamper interrupt source to check. + * This parameter can be: + * @arg RTC_IT_TAMPALL: All tampers interrupts + * @arg RTC_IT_TAMP1: Tamper1 interrupt + * @arg RTC_IT_TAMP2: Tamper2 interrupt + * @arg RTC_IT_TAMP3: Tamper3 interrupt + * @retval Flag status + */ + + + + + + +/** + * @brief Get the selected RTC Tamper's flag status. + * @param __HANDLE__ specifies the RTC handle. + * @param __FLAG__ specifies the RTC Tamper Flag is pending or not. + * This parameter can be: + * @arg RTC_FLAG_TAMP1F: Tamper1 flag + * @arg RTC_FLAG_TAMP2F: Tamper2 flag + * @arg RTC_FLAG_TAMP3F: Tamper3 flag + * @retval Flag status + */ + + + + + + +/** + * @brief Clear the RTC Tamper's pending flags. + * @param __HANDLE__ specifies the RTC handle. + * @param __FLAG__ specifies the RTC Tamper Flag to clear. + * This parameter can be: + * @arg RTC_FLAG_TAMP1F: Tamper1 flag + * @arg RTC_FLAG_TAMP2F: Tamper2 flag + * @arg RTC_FLAG_TAMP3F: Tamper3 flag + * @retval None + */ + + + + + + +/** + * @brief Get the frequency at which each of the Tamper inputs are sampled. + * @param __HANDLE__ specifies the RTC handle. + * @retval Sampling frequency + * This value can be: + * @arg RTC_TAMPERSAMPLINGFREQ_RTCCLK_DIV32768 + * @arg RTC_TAMPERSAMPLINGFREQ_RTCCLK_DIV16384 + * @arg RTC_TAMPERSAMPLINGFREQ_RTCCLK_DIV8192 + * @arg RTC_TAMPERSAMPLINGFREQ_RTCCLK_DIV4096 + * @arg RTC_TAMPERSAMPLINGFREQ_RTCCLK_DIV2048 + * @arg RTC_TAMPERSAMPLINGFREQ_RTCCLK_DIV512 + * @arg RTC_TAMPERSAMPLINGFREQ_RTCCLK_DIV256 + */ + + + + + + +/** + * @brief Get the number of consecutive samples at the specified level needed + * to activate a Tamper event. + * @param __HANDLE__ specifies the RTC handle. + * @retval Number of consecutive samples + * This value can be: + * @arg RTC_TAMPERFILTER_DISABLE + * @arg RTC_TAMPERFILTER_2SAMPLE + * @arg RTC_TAMPERFILTER_4SAMPLE + * @arg RTC_TAMPERFILTER_8SAMPLE + */ + + + + + + +/** + * @brief Get the pull-up resistors precharge duration. + * @param __HANDLE__ specifies the RTC handle. + * @retval Number of consecutive samples + * This value can be: + * @arg RTC_TAMPERPRECHARGEDURATION_1RTCCLK + * @arg RTC_TAMPERPRECHARGEDURATION_2RTCCLK + * @arg RTC_TAMPERPRECHARGEDURATION_4RTCCLK + * @arg RTC_TAMPERPRECHARGEDURATION_8RTCCLK + */ + + + + + + +/** + * @brief Get the pull-up resistors status. + * @param __HANDLE__ specifies the RTC handle. + * @retval Pull-up resistors status + * This value can be: + * @arg RTC_TAMPER_PULLUP_ENABLE + * @arg RTC_TAMPER_PULLUP_DISABLE + */ + + + + + + +/* ========================================================================== */ +/* ##### RTC TimeStamp exported macros ##### */ +/* ========================================================================== */ + +/** + * @brief Enable the RTC TimeStamp peripheral. + * @param __HANDLE__ specifies the RTC handle. + * @retval None + */ + + +/** + * @brief Disable the RTC TimeStamp peripheral. + * @param __HANDLE__ specifies the RTC handle. + * @retval None + */ + + +/** + * @brief Enable the RTC TimeStamp interrupt. + * @param __HANDLE__ specifies the RTC handle. + * @param __INTERRUPT__ specifies the RTC TimeStamp interrupt source to be enabled. + * This parameter can be: + * @arg @ref RTC_IT_TS TimeStamp interrupt + * @retval None + */ + + +/** + * @brief Disable the RTC TimeStamp interrupt. + * @param __HANDLE__ specifies the RTC handle. + * @param __INTERRUPT__ specifies the RTC TimeStamp interrupt source to be disabled. + * This parameter can be: + * @arg @ref RTC_IT_TS TimeStamp interrupt + * @retval None + */ + + +/** + * @brief Check whether the specified RTC TimeStamp interrupt has occurred or not. + * @param __HANDLE__ specifies the RTC handle. + * @param __INTERRUPT__ specifies the RTC TimeStamp interrupt source to check. + * This parameter can be: + * @arg @ref RTC_IT_TS TimeStamp interrupt + * @retval None + */ + + + + + +/** + * @brief Check whether the specified RTC Time Stamp interrupt has been enabled or not. + * @param __HANDLE__ specifies the RTC handle. + * @param __INTERRUPT__ specifies the RTC Time Stamp interrupt source to check. + * This parameter can be: + * @arg @ref RTC_IT_TS TimeStamp interrupt + * @retval None + */ + + +/** + * @brief Get the selected RTC TimeStamp's flag status. + * @param __HANDLE__ specifies the RTC handle. + * @param __FLAG__ specifies the RTC TimeStamp Flag is pending or not. + * This parameter can be: + * @arg RTC_FLAG_TSF + * @arg RTC_FLAG_TSOVF + * @retval Flag status + */ + + + + + + +/** + * @brief Clear the RTC Time Stamp's pending flags. + * @param __HANDLE__ specifies the RTC handle. + * @param __FLAG__ specifies the RTC Alarm Flag sources to clear. + * This parameter can be: + * @arg RTC_FLAG_TSF + * @arg RTC_FLAG_TSOVF + * @retval None + */ + + + + + + +/** + * @brief Enable the RTC internal TimeStamp peripheral. + * @param __HANDLE__ specifies the RTC handle. + * @retval None + */ + + +/** + * @brief Disable the RTC internal TimeStamp peripheral. + * @param __HANDLE__ specifies the RTC handle. + * @retval None + */ + + +/** + * @brief Get the selected RTC Internal Time Stamp's flag status. + * @param __HANDLE__ specifies the RTC handle. + * @param __FLAG__ specifies the RTC Internal Time Stamp Flag is pending or not. + * This parameter can be: + * @arg RTC_FLAG_ITSF + * @retval Flag status + */ + + + + + + +/** + * @brief Clear the RTC Internal Time Stamp's pending flags. + * @param __HANDLE__ specifies the RTC handle. + * @param __FLAG__ specifies the RTC Internal Time Stamp Flag source to clear. + * This parameter can be: + * @arg RTC_FLAG_ITSF + * @note This flag must be cleared together with TSF flag. + * @retval None + */ + + + + + + +/** + * @brief Enable the RTC TimeStamp on Tamper detection. + * @param __HANDLE__ specifies the RTC handle. + * @retval None + */ + + + + + + +/** + * @brief Disable the RTC TimeStamp on Tamper detection. + * @param __HANDLE__ specifies the RTC handle. + * @retval None + */ + + + + + + +/** + * @brief Get activation status of the RTC TimeStamp on Tamper detection. + * @param __HANDLE__ specifies the RTC handle. + * @retval Activation status of TimeStamp on Tamper detection + * This value can be: + * @arg RTC_TIMESTAMPONTAMPERDETECTION_ENABLE + * @arg RTC_TIMESTAMPONTAMPERDETECTION_DISABLE + */ +# 1239 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rtc_ex.h" +/* ========================================================================== */ +/* ##### Extended RTC Peripheral Control exported macros ##### */ +/* ========================================================================== */ + +/** + * @brief Enable the RTC calibration output. + * @param __HANDLE__ specifies the RTC handle. + * @retval None + */ + + +/** + * @brief Disable the calibration output. + * @param __HANDLE__ specifies the RTC handle. + * @retval None + */ + + +/** + * @brief Enable the clock reference detection. + * @param __HANDLE__ specifies the RTC handle. + * @retval None + */ + + +/** + * @brief Disable the clock reference detection. + * @param __HANDLE__ specifies the RTC handle. + * @retval None + */ + + +/** + * @brief Get the selected RTC shift operation's flag status. + * @param __HANDLE__ specifies the RTC handle. + * @param __FLAG__ specifies the RTC shift operation Flag is pending or not. + * This parameter can be: + * @arg RTC_FLAG_SHPF + * @retval Flag status + */ + + + + + + +/* ========================================================================== */ +/* ##### RTC Wake-up Interrupt exported macros ##### */ +/* ========================================================================== */ + +/** + * @brief Enable interrupt on the RTC WakeUp Timer associated Exti line. + * @retval None + */ + + + + + +/** + * @brief Disable interrupt on the RTC WakeUp Timer associated Exti line. + * @retval None + */ + + + + + + +/** + * @brief Enable event on the RTC WakeUp Timer associated Exti line. + * @retval None + */ + + + + + + +/** + * @brief Disable event on the RTC WakeUp Timer associated Exti line. + * @retval None + */ + + + + + + +/** + * @brief Enable event on the RTC WakeUp Timer associated D3 Exti line. + * @retval None + */ + + +/** + * @brief Disable event on the RTC WakeUp Timer associated D3 Exti line. + * @retval None + */ + + + +/** + * @brief Enable interrupt on the RTC WakeUp Timer associated D2 Exti line. + * @retval None + */ + + +/** + * @brief Disable interrupt on the RTC WakeUp Timer associated D2 Exti line. + * @retval None + */ + + +/** + * @brief Enable event on the RTC WakeUp Timer associated D2 Exti line. + * @retval None + */ + + +/** + * @brief Disable event on the RTC WakeUp Timer associated D2 Exti line. + * @retval None + */ + + + + +/** + * @brief Enable falling edge trigger on the RTC WakeUp Timer associated Exti line. + * @retval None + */ + + +/** + * @brief Disable falling edge trigger on the RTC WakeUp Timer associated Exti line. + * @retval None + */ + + +/** + * @brief Enable rising edge trigger on the RTC WakeUp Timer associated Exti line. + * @retval None + */ + + +/** + * @brief Disable rising edge trigger on the RTC WakeUp Timer associated Exti line. + * @retval None + */ + + +/** + * @brief Enable rising & falling edge trigger on the RTC WakeUp Timer associated Exti line. + * @retval None + */ + + + + + +/** + * @brief Disable rising & falling edge trigger on the RTC WakeUp Timer associated Exti line. + * This parameter can be: + * @retval None + */ + + + + + +/** + * @brief Check whether the RTC WakeUp Timer associated Exti line interrupt flag is set or not. + * @retval Line Status. + */ + + + + + + +/** + * @brief Clear the RTC WakeUp Timer associated Exti line flag. + * @retval None + */ + + + + + + +/** + * @brief Check whether the RTC WakeUp Timer associated D3 Exti line interrupt flag is set or not. + * @retval Line Status + */ + + +/** + * @brief Clear the RTC WakeUp Timer associated D3 Exti line flag. + * @retval None. + */ + + +/** + * @brief Generate a Software interrupt on the RTC WakeUp Timer associated Exti line. + * @retval None. + */ + + + + +/** + * @brief Check whether the RTC WakeUp Timer associated D2 Exti line interrupt flag is set or not. + * @retval Line Status. + */ + + +/** + * @brief Clear the RTC WakeUp Timer associated D2 Exti line flag. + * @retval None. + */ + + + + +/* ========================================================================== */ +/* ##### RTC TimeStamp and Tamper Interrupt exported macros ##### */ +/* ========================================================================== */ + +/** + * @brief Enable interrupt on the RTC Tamper and Timestamp associated Exti line. + * @retval None + */ + + + + + + +/** + * @brief Disable interrupt on the RTC Tamper and Timestamp associated Exti line. + * @retval None + */ + + + + + + +/** + * @brief Enable event on the RTC Tamper and Timestamp associated Exti line. + * @retval None + */ + + + + + + +/** + * @brief Disable event on the RTC Tamper and Timestamp associated Exti line. + * @retval None + */ + + + + + + + +/** + * @brief Enable interrupt on the RTC Tamper and Timestamp associated D2 Exti line. + * @retval None + */ + + +/** + * @brief Disable interrupt on the RTC Tamper and Timestamp associated D2 Exti line. + * @retval None + */ + + + +/** + * @brief Enable event on the RTC Tamper and Timestamp associated D2 Exti line. + * @retval None + */ + + + +/** + * @brief Disable event on the RTC Tamper and Timestamp associated D2 Exti line. + * @retval None + */ + + + + +/** + * @brief Enable falling edge trigger on the RTC Tamper and Timestamp associated Exti line. + * @retval None + */ + + +/** + * @brief Disable falling edge trigger on the RTC Tamper and Timestamp associated Exti line. + * @retval None + */ + + +/** + * @brief Enable rising edge trigger on the RTC Tamper and Timestamp associated Exti line. + * @retval None + */ + + +/** + * @brief Disable rising edge trigger on the RTC Tamper and Timestamp associated Exti line. + * @retval None + */ + + +/** + * @brief Enable rising & falling edge trigger on the RTC Tamper and Timestamp associated Exti line. + * @retval None + */ + + + + + +/** + * @brief Disable rising & falling edge trigger on the RTC Tamper and Timestamp associated Exti line. + * @retval None + */ + + + + + +/** + * @brief Check whether the RTC Tamper and Timestamp associated Exti line interrupt flag is set or not. + * @retval Line Status + */ + + + + + + +/** + * @brief Clear the RTC Tamper and Timestamp associated Exti line flag. + * @retval None + */ + + + + + + + +/** + * @brief Check whether the RTC Tamper and Timestamp associated D2 Exti line interrupt flag is set or not. + * @retval Line Status + */ + + +/** + * @brief Clear the RTC Tamper and Timestamp associated D2 Exti line flag. + * @retval None + */ + + + + +/** + * @brief Generate a Software interrupt on the RTC Tamper and Timestamp associated Exti line + * @retval None + */ + + +/** + * @} + */ + +/* Exported functions --------------------------------------------------------*/ + +/** @defgroup RTCEx_Exported_Functions RTC Exported Functions + * @{ + */ + +/* ========================================================================== */ +/* ##### RTC TimeStamp exported functions ##### */ +/* ========================================================================== */ + +/* RTC TimeStamp functions ****************************************************/ + +/** @defgroup RTCEx_Exported_Functions_Group1 Extended RTC TimeStamp functions + * @{ + */ +HAL_StatusTypeDef HAL_RTCEx_SetTimeStamp(RTC_HandleTypeDef *hrtc, uint32_t TimeStampEdge, uint32_t RTC_TimeStampPin); +HAL_StatusTypeDef HAL_RTCEx_SetTimeStamp_IT(RTC_HandleTypeDef *hrtc, uint32_t TimeStampEdge, uint32_t RTC_TimeStampPin); +HAL_StatusTypeDef HAL_RTCEx_DeactivateTimeStamp(RTC_HandleTypeDef *hrtc); +HAL_StatusTypeDef HAL_RTCEx_SetInternalTimeStamp(RTC_HandleTypeDef *hrtc); +HAL_StatusTypeDef HAL_RTCEx_DeactivateInternalTimeStamp(RTC_HandleTypeDef *hrtc); +HAL_StatusTypeDef HAL_RTCEx_GetTimeStamp(RTC_HandleTypeDef *hrtc, RTC_TimeTypeDef *sTimeStamp, RTC_DateTypeDef *sTimeStampDate, uint32_t Format); +void HAL_RTCEx_TamperTimeStampIRQHandler(RTC_HandleTypeDef *hrtc); +void HAL_RTCEx_TimeStampEventCallback(RTC_HandleTypeDef *hrtc); +HAL_StatusTypeDef HAL_RTCEx_PollForTimeStampEvent(RTC_HandleTypeDef *hrtc, uint32_t Timeout); +/** + * @} + */ + +/* ========================================================================== */ +/* ##### RTC Tamper exported functions ##### */ +/* ========================================================================== */ + +/* RTC Tamper functions *******************************************************/ + +/** @defgroup RTCEx_Exported_Functions_Group5 Extended RTC Tamper functions + * @{ + */ +HAL_StatusTypeDef HAL_RTCEx_SetTamper(RTC_HandleTypeDef *hrtc, const RTC_TamperTypeDef *sTamper); +HAL_StatusTypeDef HAL_RTCEx_SetTamper_IT(RTC_HandleTypeDef *hrtc, const RTC_TamperTypeDef *sTamper); +HAL_StatusTypeDef HAL_RTCEx_DeactivateTamper(RTC_HandleTypeDef *hrtc, uint32_t Tamper); +HAL_StatusTypeDef HAL_RTCEx_PollForTamper1Event(RTC_HandleTypeDef *hrtc, uint32_t Timeout); +HAL_StatusTypeDef HAL_RTCEx_PollForTamper2Event(RTC_HandleTypeDef *hrtc, uint32_t Timeout); +HAL_StatusTypeDef HAL_RTCEx_PollForTamper3Event(RTC_HandleTypeDef *hrtc, uint32_t Timeout); +void HAL_RTCEx_Tamper1EventCallback(RTC_HandleTypeDef *hrtc); +void HAL_RTCEx_Tamper2EventCallback(RTC_HandleTypeDef *hrtc); +void HAL_RTCEx_Tamper3EventCallback(RTC_HandleTypeDef *hrtc); +# 1687 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rtc_ex.h" +/** + * @} + */ + +/* ========================================================================== */ +/* ##### RTC Wake-up exported functions ##### */ +/* ========================================================================== */ + +/* RTC Wake-up functions ******************************************************/ + +/** @defgroup RTCEx_Exported_Functions_Group2 Extended RTC Wake-up functions + * @{ + */ +HAL_StatusTypeDef HAL_RTCEx_SetWakeUpTimer(RTC_HandleTypeDef *hrtc, uint32_t WakeUpCounter, uint32_t WakeUpClock); +HAL_StatusTypeDef HAL_RTCEx_SetWakeUpTimer_IT(RTC_HandleTypeDef *hrtc, uint32_t WakeUpCounter, uint32_t WakeUpClock); +HAL_StatusTypeDef HAL_RTCEx_DeactivateWakeUpTimer(RTC_HandleTypeDef *hrtc); +uint32_t HAL_RTCEx_GetWakeUpTimer(const RTC_HandleTypeDef *hrtc); +void HAL_RTCEx_WakeUpTimerIRQHandler(RTC_HandleTypeDef *hrtc); +void HAL_RTCEx_WakeUpTimerEventCallback(RTC_HandleTypeDef *hrtc); +HAL_StatusTypeDef HAL_RTCEx_PollForWakeUpTimerEvent(RTC_HandleTypeDef *hrtc, uint32_t Timeout); +/** + * @} + */ + +/* ========================================================================== */ +/* ##### Extended RTC Backup registers exported functions ##### */ +/* ========================================================================== */ + +/* Extended RTC Backup registers functions ************************************/ + +/** @defgroup RTCEx_Exported_Functions_Group6 Extended RTC Backup register functions + * @{ + */ +void HAL_RTCEx_BKUPWrite(const RTC_HandleTypeDef *hrtc, uint32_t BackupRegister, uint32_t Data); +uint32_t HAL_RTCEx_BKUPRead(const RTC_HandleTypeDef *hrtc, uint32_t BackupRegister); +/** + * @} + */ + +/* ========================================================================== */ +/* ##### Extended RTC Peripheral Control exported functions ##### */ +/* ========================================================================== */ + +/* Extended RTC Peripheral Control functions **********************************/ + +/** @defgroup RTCEx_Exported_Functions_Group3 Extended Peripheral Control functions + * @{ + */ +HAL_StatusTypeDef HAL_RTCEx_SetSmoothCalib(RTC_HandleTypeDef *hrtc, uint32_t SmoothCalibPeriod, uint32_t SmoothCalibPlusPulses, uint32_t SmoothCalibMinusPulsesValue); +HAL_StatusTypeDef HAL_RTCEx_SetSynchroShift(RTC_HandleTypeDef *hrtc, uint32_t ShiftAdd1S, uint32_t ShiftSubFS); +HAL_StatusTypeDef HAL_RTCEx_SetCalibrationOutPut(RTC_HandleTypeDef *hrtc, uint32_t CalibOutput); +HAL_StatusTypeDef HAL_RTCEx_DeactivateCalibrationOutPut(RTC_HandleTypeDef *hrtc); +HAL_StatusTypeDef HAL_RTCEx_SetRefClock(RTC_HandleTypeDef *hrtc); +HAL_StatusTypeDef HAL_RTCEx_DeactivateRefClock(RTC_HandleTypeDef *hrtc); +HAL_StatusTypeDef HAL_RTCEx_EnableBypassShadow(RTC_HandleTypeDef *hrtc); +HAL_StatusTypeDef HAL_RTCEx_DisableBypassShadow(RTC_HandleTypeDef *hrtc); + + + + +/** + * @} + */ + +/* Extended RTC features functions *******************************************/ + +/** @defgroup RTCEx_Exported_Functions_Group4 Extended features functions + * @{ + */ + +void HAL_RTCEx_AlarmBEventCallback(RTC_HandleTypeDef *hrtc); +HAL_StatusTypeDef HAL_RTCEx_PollForAlarmBEvent(RTC_HandleTypeDef *hrtc, uint32_t Timeout); +/** + * @} + */ + +/** + * @} + */ + +/* Private types -------------------------------------------------------------*/ +/* Private variables ---------------------------------------------------------*/ +/* Private constants ---------------------------------------------------------*/ +/** @defgroup RTCEx_Private_Constants RTC Private Constants + * @{ + */ + + + +/* Masks Definition */ + + + +/** + * @} + */ + +/* Private macros ------------------------------------------------------------*/ +/** @defgroup RTCEx_Private_Macros RTC Private Macros + * @{ + */ + +/** @defgroup RTCEx_IS_RTC_Definitions Private macros to check input parameters + * @{ + */ + +/* ========================================================================== */ +/* ##### Extended RTC Backup registers private macros ##### */ +/* ========================================================================== */ + + + +/* ========================================================================== */ +/* ##### RTC TimeStamp private macros ##### */ +/* ========================================================================== */ + + + + + + +/* ========================================================================== */ +/* ##### RTC Wake-up private macros ##### */ +/* ========================================================================== */ +# 1821 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rtc_ex.h" +/* ========================================================================== */ +/* ##### RTC Smooth Calibration private macros ##### */ +/* ========================================================================== */ +# 1834 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rtc_ex.h" +/* ========================================================================== */ +/* ##### Extended RTC Peripheral Control private macros ##### */ +/* ========================================================================== */ +# 1846 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rtc_ex.h" +/* ========================================================================== */ +/* ##### RTC Tamper private macros ##### */ +/* ========================================================================== */ +# 1909 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rtc_ex.h" +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + + +} +# 908 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rtc.h" 2 + +/* Exported functions --------------------------------------------------------*/ +/** @defgroup RTC_Exported_Functions RTC Exported Functions + * @{ + */ + +/** @defgroup RTC_Exported_Functions_Group1 Initialization and de-initialization functions + * @{ + */ +/* Initialization and de-initialization functions ****************************/ +HAL_StatusTypeDef HAL_RTC_Init(RTC_HandleTypeDef *hrtc); +HAL_StatusTypeDef HAL_RTC_DeInit(RTC_HandleTypeDef *hrtc); + +void HAL_RTC_MspInit(RTC_HandleTypeDef *hrtc); +void HAL_RTC_MspDeInit(RTC_HandleTypeDef *hrtc); + +/* Callbacks Register/UnRegister functions ***********************************/ + + + + +/** + * @} + */ + +/** @defgroup RTC_Exported_Functions_Group2 RTC Time and Date functions + * @{ + */ +/* RTC Time and Date functions ************************************************/ +HAL_StatusTypeDef HAL_RTC_SetTime(RTC_HandleTypeDef *hrtc, RTC_TimeTypeDef *sTime, uint32_t Format); +HAL_StatusTypeDef HAL_RTC_GetTime(const RTC_HandleTypeDef *hrtc, RTC_TimeTypeDef *sTime, uint32_t Format); +HAL_StatusTypeDef HAL_RTC_SetDate(RTC_HandleTypeDef *hrtc, RTC_DateTypeDef *sDate, uint32_t Format); +HAL_StatusTypeDef HAL_RTC_GetDate(const RTC_HandleTypeDef *hrtc, RTC_DateTypeDef *sDate, uint32_t Format); +/** + * @} + */ + +/** @defgroup RTC_Exported_Functions_Group3 RTC Alarm functions + * @{ + */ +/* RTC Alarm functions ********************************************************/ +HAL_StatusTypeDef HAL_RTC_SetAlarm(RTC_HandleTypeDef *hrtc, RTC_AlarmTypeDef *sAlarm, uint32_t Format); +HAL_StatusTypeDef HAL_RTC_SetAlarm_IT(RTC_HandleTypeDef *hrtc, RTC_AlarmTypeDef *sAlarm, uint32_t Format); +HAL_StatusTypeDef HAL_RTC_DeactivateAlarm(RTC_HandleTypeDef *hrtc, uint32_t Alarm); +HAL_StatusTypeDef HAL_RTC_GetAlarm(const RTC_HandleTypeDef *hrtc, RTC_AlarmTypeDef *sAlarm, uint32_t Alarm, uint32_t Format); +void HAL_RTC_AlarmIRQHandler(RTC_HandleTypeDef *hrtc); +void HAL_RTC_AlarmAEventCallback(RTC_HandleTypeDef *hrtc); +HAL_StatusTypeDef HAL_RTC_PollForAlarmAEvent(RTC_HandleTypeDef *hrtc, uint32_t Timeout); +/** + * @} + */ + +/** @defgroup RTC_Exported_Functions_Group4 Peripheral Control functions + * @{ + */ +/* Peripheral Control functions ***********************************************/ +HAL_StatusTypeDef HAL_RTC_WaitForSynchro(RTC_HandleTypeDef *hrtc); +/** + * @} + */ + +/** @defgroup RTC_Exported_Functions_Group5 Peripheral State functions + * @{ + */ +/* Peripheral State functions *************************************************/ +HAL_RTCStateTypeDef HAL_RTC_GetState(const RTC_HandleTypeDef *hrtc); +/** + * @} + */ + +/** + * @} + */ + +/* Private types -------------------------------------------------------------*/ +/* Private variables ---------------------------------------------------------*/ +/* Private constants ---------------------------------------------------------*/ +/** @defgroup RTC_Private_Constants RTC Private Constants + * @{ + */ +/* Masks Definition */ +# 1011 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rtc.h" +/** + * @} + */ + +/* Private macros ------------------------------------------------------------*/ +/** @defgroup RTC_Private_Macros RTC Private Macros + * @{ + */ + +/** @defgroup RTC_IS_RTC_Definitions RTC Private macros to check input parameters + * @{ + */ +# 1116 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rtc.h" +/** + * @} + */ + +/** + * @} + */ + +/* Private functions -------------------------------------------------------------*/ +/** @defgroup RTC_Private_Functions RTC Private Functions + * @{ + */ +HAL_StatusTypeDef RTC_EnterInitMode(RTC_HandleTypeDef *hrtc); +HAL_StatusTypeDef RTC_ExitInitMode(RTC_HandleTypeDef *hrtc); +uint8_t RTC_ByteToBcd2(uint8_t Value); +uint8_t RTC_Bcd2ToByte(uint8_t Value); + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + + +} +# 435 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sai.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_sai.h + * @author MCD Application Team + * @brief Header file of SAI HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sai.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup SAI + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/** @defgroup SAI_Exported_Types SAI Exported Types + * @{ + */ + +/** + * @brief HAL State structures definition + */ +typedef enum +{ + HAL_SAI_STATE_RESET = 0x00U, + HAL_SAI_STATE_READY = 0x01U, + HAL_SAI_STATE_BUSY = 0x02U, + HAL_SAI_STATE_BUSY_TX = 0x12U, + HAL_SAI_STATE_BUSY_RX = 0x22U, +} HAL_SAI_StateTypeDef; + +/** + * @brief SAI Callback prototype + */ +typedef void (*SAIcallback)(void); + +/** @defgroup SAI_PDM_Structure_definition SAI PDM Structure definition + * @brief SAI PDM Init structure definition + * @{ + */ +typedef struct +{ + FunctionalState Activation; + uint32_t MicPairsNbr; /*!< Specifies the number of microphone pairs used. + This parameter must be a number between Min_Data = 1 and Max_Data = 3. */ + uint32_t ClockEnable; /*!< Specifies which clock must be enabled. + This parameter can be a values combination of @ref SAI_PDM_ClockEnable */ +} SAI_PdmInitTypeDef; +/** + * @} + */ + +/** @defgroup SAI_Init_Structure_definition SAI Init Structure definition + * @brief SAI Init Structure definition + * @{ + */ +typedef struct +{ + uint32_t AudioMode; /*!< Specifies the SAI Block audio Mode. + This parameter can be a value of @ref SAI_Block_Mode */ + + uint32_t Synchro; /*!< Specifies SAI Block synchronization + This parameter can be a value of @ref SAI_Block_Synchronization */ + + uint32_t SynchroExt; /*!< Specifies SAI external output synchronization, this setup is common + for BlockA and BlockB + This parameter can be a value of @ref SAI_Block_SyncExt + @note If both audio blocks of same SAI are used, this parameter has + to be set to the same value for each audio block */ + + uint32_t MckOutput; /*!< Specifies whether master clock output will be generated or not. + This parameter can be a value of @ref SAI_Block_MckOutput + @note This feature is only available on STM32H7xx Rev.B and above */ + + uint32_t OutputDrive; /*!< Specifies when SAI Block outputs are driven. + This parameter can be a value of @ref SAI_Block_Output_Drive + @note This value has to be set before enabling the audio block + but after the audio block configuration. */ + + uint32_t NoDivider; /*!< Specifies whether master clock will be divided or not. + This parameter can be a value of @ref SAI_Block_NoDivider + @note If bit NODIV in the SAI_xCR1 register is cleared, the frame length + should be aligned to a number equal to a power of 2, from 8 to 256. + If bit NODIV in the SAI_xCR1 register is set, the frame length can + take any of the values from 8 to 256. + @note The NODIV bit is the same as NOMCK bit in STM32H7xx rev.Y */ + + uint32_t FIFOThreshold; /*!< Specifies SAI Block FIFO threshold. + This parameter can be a value of @ref SAI_Block_Fifo_Threshold */ + + uint32_t AudioFrequency; /*!< Specifies the audio frequency sampling. + This parameter can be a value of @ref SAI_Audio_Frequency */ + + uint32_t Mckdiv; /*!< Specifies the master clock divider. + This parameter must be a number between Min_Data = 0 and Max_Data = 63. + @note This parameter is used only if AudioFrequency is set to + SAI_AUDIO_FREQUENCY_MCKDIV otherwise it is internally computed. */ + + uint32_t MckOverSampling; /*!< Specifies the master clock oversampling. + This parameter can be a value of @ref SAI_Block_Mck_OverSampling */ + + uint32_t MonoStereoMode; /*!< Specifies if the mono or stereo mode is selected. + This parameter can be a value of @ref SAI_Mono_Stereo_Mode */ + + uint32_t CompandingMode; /*!< Specifies the companding mode type. + This parameter can be a value of @ref SAI_Block_Companding_Mode */ + + uint32_t TriState; /*!< Specifies the companding mode type. + This parameter can be a value of @ref SAI_TRIState_Management */ + + SAI_PdmInitTypeDef PdmInit; + + /* This part of the structure is automatically filled if your are using the high level initialisation + function HAL_SAI_InitProtocol */ + + uint32_t Protocol; /*!< Specifies the SAI Block protocol. + This parameter can be a value of @ref SAI_Block_Protocol */ + + uint32_t DataSize; /*!< Specifies the SAI Block data size. + This parameter can be a value of @ref SAI_Block_Data_Size */ + + uint32_t FirstBit; /*!< Specifies whether data transfers start from MSB or LSB bit. + This parameter can be a value of @ref SAI_Block_MSB_LSB_transmission */ + + uint32_t ClockStrobing; /*!< Specifies the SAI Block clock strobing edge sensitivity. + This parameter can be a value of @ref SAI_Block_Clock_Strobing */ +} SAI_InitTypeDef; +/** + * @} + */ + +/** @defgroup SAI_Frame_Structure_definition SAI Frame Structure definition + * @brief SAI Frame Init structure definition + * @note For SPDIF and AC97 protocol, these parameters are not used (set by hardware). + * @{ + */ +typedef struct +{ + + uint32_t FrameLength; /*!< Specifies the Frame length, the number of SCK clocks for each audio frame. + This parameter must be a number between Min_Data = 8 and Max_Data = 256. + @note If master clock MCLK_x pin is declared as an output, the frame length + should be aligned to a number equal to power of 2 in order to keep + in an audio frame, an integer number of MCLK pulses by bit Clock. */ + + uint32_t ActiveFrameLength; /*!< Specifies the Frame synchronization active level length. + This Parameter specifies the length in number of bit clock (SCK + 1) + of the active level of FS signal in audio frame. + This parameter must be a number between Min_Data = 1 and Max_Data = 128 */ + + uint32_t FSDefinition; /*!< Specifies the Frame synchronization definition. + This parameter can be a value of @ref SAI_Block_FS_Definition */ + + uint32_t FSPolarity; /*!< Specifies the Frame synchronization Polarity. + This parameter can be a value of @ref SAI_Block_FS_Polarity */ + + uint32_t FSOffset; /*!< Specifies the Frame synchronization Offset. + This parameter can be a value of @ref SAI_Block_FS_Offset */ + +} SAI_FrameInitTypeDef; +/** + * @} + */ + +/** @defgroup SAI_Slot_Structure_definition SAI Slot Structure definition + * @brief SAI Block Slot Init Structure definition + * @note For SPDIF protocol, these parameters are not used (set by hardware). + * @note For AC97 protocol, only SlotActive parameter is used (the others are set by hardware). + * @{ + */ +typedef struct +{ + uint32_t FirstBitOffset; /*!< Specifies the position of first data transfer bit in the slot. + This parameter must be a number between Min_Data = 0 and Max_Data = 24 */ + + uint32_t SlotSize; /*!< Specifies the Slot Size. + This parameter can be a value of @ref SAI_Block_Slot_Size */ + + uint32_t SlotNumber; /*!< Specifies the number of slot in the audio frame. + This parameter must be a number between Min_Data = 1 and Max_Data = 16 */ + + uint32_t SlotActive; /*!< Specifies the slots in audio frame that will be activated. + This parameter can be a value of @ref SAI_Block_Slot_Active */ +} SAI_SlotInitTypeDef; +/** + * @} + */ + +/** @defgroup SAI_Handle_Structure_definition SAI Handle Structure definition + * @brief SAI handle Structure definition + * @{ + */ +typedef struct __SAI_HandleTypeDef +{ + SAI_Block_TypeDef *Instance; + + SAI_InitTypeDef Init; + + SAI_FrameInitTypeDef FrameInit; + + SAI_SlotInitTypeDef SlotInit; + + uint8_t *pBuffPtr; + + uint16_t XferSize; + + uint16_t XferCount; + + DMA_HandleTypeDef *hdmatx; + + DMA_HandleTypeDef *hdmarx; + + SAIcallback mutecallback; + + void (*InterruptServiceRoutine)(struct __SAI_HandleTypeDef *hsai); + + HAL_LockTypeDef Lock; + + volatile HAL_SAI_StateTypeDef State; + + volatile uint32_t ErrorCode; +# 255 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sai.h" +} SAI_HandleTypeDef; +/** + * @} + */ +# 281 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sai.h" +/** + * @} + */ + +/* Exported constants --------------------------------------------------------*/ +/** @defgroup SAI_Exported_Constants SAI Exported Constants + * @{ + */ + +/** @defgroup SAI_Error_Code SAI Error Code + * @{ + */ +# 305 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sai.h" +/** + * @} + */ + +/** @defgroup SAI_Block_SyncExt SAI External synchronisation + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup SAI_Block_MckOutput SAI Block Master Clock Output + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SAI_Protocol SAI Supported protocol + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup SAI_Protocol_DataSize SAI protocol data size + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup SAI_Audio_Frequency SAI Audio Frequency + * @{ + */ +# 364 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sai.h" +/** + * @} + */ + +/** @defgroup SAI_Block_Mck_OverSampling SAI Block Master Clock OverSampling + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SAI_PDM_ClockEnable SAI PDM Clock Enable + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SAI_Block_Mode SAI Block Mode + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup SAI_Block_Protocol SAI Block Protocol + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup SAI_Block_Data_Size SAI Block Data Size + * @{ + */ + + + + + + +/** + * @} + */ + +/** @defgroup SAI_Block_MSB_LSB_transmission SAI Block MSB LSB transmission + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SAI_Block_Clock_Strobing SAI Block Clock Strobing + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SAI_Block_Synchronization SAI Block Synchronization + * @{ + */ +# 454 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sai.h" +/** + * @} + */ + +/** @defgroup SAI_Block_Output_Drive SAI Block Output Drive + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SAI_Block_NoDivider SAI Block NoDivider + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SAI_Block_FS_Definition SAI Block FS Definition + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SAI_Block_FS_Polarity SAI Block FS Polarity + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SAI_Block_FS_Offset SAI Block FS Offset + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SAI_Block_Slot_Size SAI Block Slot Size + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup SAI_Block_Slot_Active SAI Block Slot Active + * @{ + */ +# 534 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sai.h" +/** + * @} + */ + +/** @defgroup SAI_Mono_Stereo_Mode SAI Mono Stereo Mode + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SAI_TRIState_Management SAI TRIState Management + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SAI_Block_Fifo_Threshold SAI Block Fifo Threshold + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup SAI_Block_Companding_Mode SAI Block Companding Mode + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup SAI_Block_Mute_Value SAI Block Mute Value + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SAI_Block_Interrupts_Definition SAI Block Interrupts Definition + * @{ + */ + + + + + + + +/** + * @} + */ + +/** @defgroup SAI_Block_Flags_Definition SAI Block Flags Definition + * @{ + */ + + + + + + + +/** + * @} + */ + +/** @defgroup SAI_Block_Fifo_Status_Level SAI Block Fifo Status Level + * @{ + */ + + + + + + +/** + * @} + */ + +/** + * @} + */ + +/* Exported macro ------------------------------------------------------------*/ +/** @defgroup SAI_Exported_Macros SAI Exported Macros + * @brief macros to handle interrupts and specific configurations + * @{ + */ + +/** @brief Reset SAI handle state. + * @param __HANDLE__ specifies the SAI Handle. + * @retval None + */ +# 654 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sai.h" +/** @brief Enable the specified SAI interrupts. + * @param __HANDLE__ specifies the SAI Handle. + * @param __INTERRUPT__ specifies the interrupt source to enable or disable. + * This parameter can be one of the following values: + * @arg SAI_IT_OVRUDR: Overrun underrun interrupt enable + * @arg SAI_IT_MUTEDET: Mute detection interrupt enable + * @arg SAI_IT_WCKCFG: Wrong Clock Configuration interrupt enable + * @arg SAI_IT_FREQ: FIFO request interrupt enable + * @arg SAI_IT_CNRDY: Codec not ready interrupt enable + * @arg SAI_IT_AFSDET: Anticipated frame synchronization detection interrupt enable + * @arg SAI_IT_LFSDET: Late frame synchronization detection interrupt enable + * @retval None + */ + + +/** @brief Disable the specified SAI interrupts. + * @param __HANDLE__ specifies the SAI Handle. + * @param __INTERRUPT__ specifies the interrupt source to enable or disable. + * This parameter can be one of the following values: + * @arg SAI_IT_OVRUDR: Overrun underrun interrupt enable + * @arg SAI_IT_MUTEDET: Mute detection interrupt enable + * @arg SAI_IT_WCKCFG: Wrong Clock Configuration interrupt enable + * @arg SAI_IT_FREQ: FIFO request interrupt enable + * @arg SAI_IT_CNRDY: Codec not ready interrupt enable + * @arg SAI_IT_AFSDET: Anticipated frame synchronization detection interrupt enable + * @arg SAI_IT_LFSDET: Late frame synchronization detection interrupt enable + * @retval None + */ + + +/** @brief Check whether the specified SAI interrupt source is enabled or not. + * @param __HANDLE__ specifies the SAI Handle. + * @param __INTERRUPT__ specifies the SAI interrupt source to check. + * This parameter can be one of the following values: + * @arg SAI_IT_OVRUDR: Overrun underrun interrupt enable + * @arg SAI_IT_MUTEDET: Mute detection interrupt enable + * @arg SAI_IT_WCKCFG: Wrong Clock Configuration interrupt enable + * @arg SAI_IT_FREQ: FIFO request interrupt enable + * @arg SAI_IT_CNRDY: Codec not ready interrupt enable + * @arg SAI_IT_AFSDET: Anticipated frame synchronization detection interrupt enable + * @arg SAI_IT_LFSDET: Late frame synchronization detection interrupt enable + * @retval The new state of __INTERRUPT__ (TRUE or FALSE). + */ + + +/** @brief Check whether the specified SAI flag is set or not. + * @param __HANDLE__ specifies the SAI Handle. + * @param __FLAG__ specifies the flag to check. + * This parameter can be one of the following values: + * @arg SAI_FLAG_OVRUDR: Overrun underrun flag. + * @arg SAI_FLAG_MUTEDET: Mute detection flag. + * @arg SAI_FLAG_WCKCFG: Wrong Clock Configuration flag. + * @arg SAI_FLAG_FREQ: FIFO request flag. + * @arg SAI_FLAG_CNRDY: Codec not ready flag. + * @arg SAI_FLAG_AFSDET: Anticipated frame synchronization detection flag. + * @arg SAI_FLAG_LFSDET: Late frame synchronization detection flag. + * @retval The new state of __FLAG__ (TRUE or FALSE). + */ + + +/** @brief Clear the specified SAI pending flag. + * @param __HANDLE__ specifies the SAI Handle. + * @param __FLAG__ specifies the flag to check. + * This parameter can be any combination of the following values: + * @arg SAI_FLAG_OVRUDR: Clear Overrun underrun + * @arg SAI_FLAG_MUTEDET: Clear Mute detection + * @arg SAI_FLAG_WCKCFG: Clear Wrong Clock Configuration + * @arg SAI_FLAG_FREQ: Clear FIFO request + * @arg SAI_FLAG_CNRDY: Clear Codec not ready + * @arg SAI_FLAG_AFSDET: Clear Anticipated frame synchronization detection + * @arg SAI_FLAG_LFSDET: Clear Late frame synchronization detection + * + * @retval None + */ + + +/** @brief Enable SAI. + * @param __HANDLE__ specifies the SAI Handle. + * @retval None + */ + + +/** @brief Disable SAI. + * @param __HANDLE__ specifies the SAI Handle. + * @retval None + */ + + +/** + * @} + */ + +/* Include SAI HAL Extension module */ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sai_ex.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_sai_ex.h + * @author MCD Application Team + * @brief Header file of SAI HAL extended module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sai_ex.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup SAIEx + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/** @defgroup SAIEx_Exported_Types SAIEx Exported Types + * @{ + */ + +/** + * @brief PDM microphone delay structure definition + */ +typedef struct +{ + uint32_t MicPair; /*!< Specifies which pair of microphones is selected. + This parameter must be a number between Min_Data = 1 and Max_Data = 3. */ + + uint32_t LeftDelay; /*!< Specifies the delay in PDM clock unit to apply on left microphone. + This parameter must be a number between Min_Data = 0 and Max_Data = 7. */ + + uint32_t RightDelay; /*!< Specifies the delay in PDM clock unit to apply on right microphone. + This parameter must be a number between Min_Data = 0 and Max_Data = 7. */ +} SAIEx_PdmMicDelayParamTypeDef; + +/** + * @} + */ + +/* Exported constants --------------------------------------------------------*/ +/* Exported macros -----------------------------------------------------------*/ +/* Exported functions --------------------------------------------------------*/ +/** @addtogroup SAIEx_Exported_Functions SAIEx Extended Exported Functions + * @{ + */ + +/** @addtogroup SAIEx_Exported_Functions_Group1 Peripheral Control functions + * @{ + */ +HAL_StatusTypeDef HAL_SAIEx_ConfigPdmMicDelay(const SAI_HandleTypeDef *hsai, + const SAIEx_PdmMicDelayParamTypeDef *pdmMicDelay); +/** + * @} + */ + +/** + * @} + */ + +/* Private macros ------------------------------------------------------------*/ +/** @addtogroup SAIEx_Private_Macros SAIEx Extended Private Macros + * @{ + */ + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + + +} +# 748 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sai.h" 2 + +/* Exported functions --------------------------------------------------------*/ +/** @addtogroup SAI_Exported_Functions + * @{ + */ + +/* Initialization/de-initialization functions ********************************/ +/** @addtogroup SAI_Exported_Functions_Group1 + * @{ + */ +HAL_StatusTypeDef HAL_SAI_InitProtocol(SAI_HandleTypeDef *hsai, uint32_t protocol, uint32_t datasize, uint32_t nbslot); +HAL_StatusTypeDef HAL_SAI_Init(SAI_HandleTypeDef *hsai); +HAL_StatusTypeDef HAL_SAI_DeInit(SAI_HandleTypeDef *hsai); +void HAL_SAI_MspInit(SAI_HandleTypeDef *hsai); +void HAL_SAI_MspDeInit(SAI_HandleTypeDef *hsai); +# 772 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sai.h" +/** + * @} + */ + +/* I/O operation functions ***************************************************/ +/** @addtogroup SAI_Exported_Functions_Group2 + * @{ + */ +/* Blocking mode: Polling */ +HAL_StatusTypeDef HAL_SAI_Transmit(SAI_HandleTypeDef *hsai, uint8_t *pData, uint16_t Size, uint32_t Timeout); +HAL_StatusTypeDef HAL_SAI_Receive(SAI_HandleTypeDef *hsai, uint8_t *pData, uint16_t Size, uint32_t Timeout); + +/* Non-Blocking mode: Interrupt */ +HAL_StatusTypeDef HAL_SAI_Transmit_IT(SAI_HandleTypeDef *hsai, uint8_t *pData, uint16_t Size); +HAL_StatusTypeDef HAL_SAI_Receive_IT(SAI_HandleTypeDef *hsai, uint8_t *pData, uint16_t Size); + +/* Non-Blocking mode: DMA */ +HAL_StatusTypeDef HAL_SAI_Transmit_DMA(SAI_HandleTypeDef *hsai, uint8_t *pData, uint16_t Size); +HAL_StatusTypeDef HAL_SAI_Receive_DMA(SAI_HandleTypeDef *hsai, uint8_t *pData, uint16_t Size); +HAL_StatusTypeDef HAL_SAI_DMAPause(SAI_HandleTypeDef *hsai); +HAL_StatusTypeDef HAL_SAI_DMAResume(SAI_HandleTypeDef *hsai); +HAL_StatusTypeDef HAL_SAI_DMAStop(SAI_HandleTypeDef *hsai); + +/* Abort function */ +HAL_StatusTypeDef HAL_SAI_Abort(SAI_HandleTypeDef *hsai); + +/* Mute management */ +HAL_StatusTypeDef HAL_SAI_EnableTxMuteMode(SAI_HandleTypeDef *hsai, uint16_t val); +HAL_StatusTypeDef HAL_SAI_DisableTxMuteMode(SAI_HandleTypeDef *hsai); +HAL_StatusTypeDef HAL_SAI_EnableRxMuteMode(SAI_HandleTypeDef *hsai, SAIcallback callback, uint16_t counter); +HAL_StatusTypeDef HAL_SAI_DisableRxMuteMode(SAI_HandleTypeDef *hsai); + +/* SAI IRQHandler and Callbacks used in non blocking modes (Interrupt and DMA) */ +void HAL_SAI_IRQHandler(SAI_HandleTypeDef *hsai); +void HAL_SAI_TxHalfCpltCallback(SAI_HandleTypeDef *hsai); +void HAL_SAI_TxCpltCallback(SAI_HandleTypeDef *hsai); +void HAL_SAI_RxHalfCpltCallback(SAI_HandleTypeDef *hsai); +void HAL_SAI_RxCpltCallback(SAI_HandleTypeDef *hsai); +void HAL_SAI_ErrorCallback(SAI_HandleTypeDef *hsai); +/** + * @} + */ + +/** @addtogroup SAI_Exported_Functions_Group3 + * @{ + */ +/* Peripheral State functions ************************************************/ +HAL_SAI_StateTypeDef HAL_SAI_GetState(const SAI_HandleTypeDef *hsai); +uint32_t HAL_SAI_GetError(const SAI_HandleTypeDef *hsai); +/** + * @} + */ + +/** + * @} + */ + +/* Private macros ------------------------------------------------------------*/ +/** @defgroup SAI_Private_Macros SAI Private Macros + * @{ + */ +# 959 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sai.h" +/** + * @} + */ + +/* Private functions ---------------------------------------------------------*/ +/** @defgroup SAI_Private_Functions SAI Private Functions + * @{ + */ + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + + +} +# 439 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sd.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_sd.h + * @author MCD Application Team + * @brief Header file of SD HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_sdmmc.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_ll_sdmmc.h + * @author MCD Application Team + * @brief Header file of SDMMC HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sd.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_delayblock.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_ll_delayblock.h + * @author MCD Application Team + * @brief Header file of Delay Block module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 31 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sd.h" 2 + + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + + +/** @defgroup SD SD + * @brief SD HAL module driver + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/** @defgroup SD_Exported_Types SD Exported Types + * @{ + */ + +/** @defgroup SD_Exported_Types_Group1 SD State enumeration structure + * @{ + */ +typedef enum +{ + HAL_SD_STATE_RESET = ((uint32_t)0x00000000U), + HAL_SD_STATE_READY = ((uint32_t)0x00000001U), + HAL_SD_STATE_TIMEOUT = ((uint32_t)0x00000002U), + HAL_SD_STATE_BUSY = ((uint32_t)0x00000003U), + HAL_SD_STATE_PROGRAMMING = ((uint32_t)0x00000004U), + HAL_SD_STATE_RECEIVING = ((uint32_t)0x00000005U), + HAL_SD_STATE_TRANSFER = ((uint32_t)0x00000006U), + HAL_SD_STATE_ERROR = ((uint32_t)0x0000000FU) +} HAL_SD_StateTypeDef; +/** + * @} + */ + +/** @defgroup SD_Exported_Types_Group2 SD Card State enumeration structure + * @{ + */ +typedef uint32_t HAL_SD_CardStateTypeDef; +# 80 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sd.h" +/** + * @} + */ + +/** @defgroup SD_Exported_Types_Group3 SD Handle Structure definition + * @{ + */ + + + +/** + * @brief SD Card Information Structure definition + */ +typedef struct +{ + uint32_t CardType; + + uint32_t CardVersion; + + uint32_t Class; + + uint32_t RelCardAdd; + + uint32_t BlockNbr; + + uint32_t BlockSize; + + uint32_t LogBlockNbr; + + uint32_t LogBlockSize; + + uint32_t CardSpeed; + +} HAL_SD_CardInfoTypeDef; + +/** + * @brief SD handle Structure definition + */ + + + +typedef struct + +{ + SDMMC_TypeDef *Instance; + + SDMMC_InitTypeDef Init; + + HAL_LockTypeDef Lock; + + const uint8_t *pTxBuffPtr; + + uint32_t TxXferSize; + + uint8_t *pRxBuffPtr; + + uint32_t RxXferSize; + + volatile uint32_t Context; + + volatile HAL_SD_StateTypeDef State; + + volatile uint32_t ErrorCode; + + HAL_SD_CardInfoTypeDef SdCard; + + uint32_t CSD[4]; + + uint32_t CID[4]; +# 166 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sd.h" +} SD_HandleTypeDef; + +/** + * @} + */ + +/** @defgroup SD_Exported_Types_Group4 Card Specific Data: CSD Register + * @{ + */ +typedef struct +{ + volatile uint8_t CSDStruct; + volatile uint8_t SysSpecVersion; + volatile uint8_t Reserved1; + volatile uint8_t TAAC; + volatile uint8_t NSAC; + volatile uint8_t MaxBusClkFrec; + volatile uint16_t CardComdClasses; + volatile uint8_t RdBlockLen; + volatile uint8_t PartBlockRead; + volatile uint8_t WrBlockMisalign; + volatile uint8_t RdBlockMisalign; + volatile uint8_t DSRImpl; + volatile uint8_t Reserved2; + volatile uint32_t DeviceSize; + volatile uint8_t MaxRdCurrentVDDMin; + volatile uint8_t MaxRdCurrentVDDMax; + volatile uint8_t MaxWrCurrentVDDMin; + volatile uint8_t MaxWrCurrentVDDMax; + volatile uint8_t DeviceSizeMul; + volatile uint8_t EraseGrSize; + volatile uint8_t EraseGrMul; + volatile uint8_t WrProtectGrSize; + volatile uint8_t WrProtectGrEnable; + volatile uint8_t ManDeflECC; + volatile uint8_t WrSpeedFact; + volatile uint8_t MaxWrBlockLen; + volatile uint8_t WriteBlockPaPartial; + volatile uint8_t Reserved3; + volatile uint8_t ContentProtectAppli; + volatile uint8_t FileFormatGroup; + volatile uint8_t CopyFlag; + volatile uint8_t PermWrProtect; + volatile uint8_t TempWrProtect; + volatile uint8_t FileFormat; + volatile uint8_t ECC; + volatile uint8_t CSD_CRC; + volatile uint8_t Reserved4; +} HAL_SD_CardCSDTypeDef; +/** + * @} + */ + +/** @defgroup SD_Exported_Types_Group5 Card Identification Data: CID Register + * @{ + */ +typedef struct +{ + volatile uint8_t ManufacturerID; + volatile uint16_t OEM_AppliID; + volatile uint32_t ProdName1; + volatile uint8_t ProdName2; + volatile uint8_t ProdRev; + volatile uint32_t ProdSN; + volatile uint8_t Reserved1; + volatile uint16_t ManufactDate; + volatile uint8_t CID_CRC; + volatile uint8_t Reserved2; + +} HAL_SD_CardCIDTypeDef; +/** + * @} + */ + +/** @defgroup SD_Exported_Types_Group6 SD Card Status returned by ACMD13 + * @{ + */ +typedef struct +{ + volatile uint8_t DataBusWidth; + volatile uint8_t SecuredMode; + volatile uint16_t CardType; + volatile uint32_t ProtectedAreaSize; + volatile uint8_t SpeedClass; + volatile uint8_t PerformanceMove; + volatile uint8_t AllocationUnitSize; + volatile uint16_t EraseSize; + volatile uint8_t EraseTimeout; + volatile uint8_t EraseOffset; + volatile uint8_t UhsSpeedGrade; + volatile uint8_t UhsAllocationUnitSize; + volatile uint8_t VideoSpeedClass; +} HAL_SD_CardStatusTypeDef; +/** + * @} + */ +# 296 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sd.h" +/** + * @} + */ + +/* Exported constants --------------------------------------------------------*/ +/** @defgroup SD_Exported_Constants SD Exported Constants + * @{ + */ + + + +/** @defgroup SD_Exported_Constansts_Group1 SD Error status enumeration Structure definition + * @{ + */ +# 319 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sd.h" +/*!< number of transferred bytes does not match the block length */ + + + + +/*!< command or if there was an attempt to access a locked card */ +# 336 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sd.h" +/*!< of erase sequence command was received */ +# 350 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sd.h" +/** + * @} + */ + +/** @defgroup SD_Exported_Constansts_Group2 SD context enumeration + * @{ + */ +# 365 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sd.h" +/** + * @} + */ + +/** @defgroup SD_Exported_Constansts_Group3 SD Supported Memory Cards + * @{ + */ +# 381 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sd.h" +/** + * @} + */ + +/** @defgroup SD_Exported_Constansts_Group4 SD Supported Version + * @{ + */ + + +/** + * @} + */ + +/** + * @} + */ + +/* Exported macro ------------------------------------------------------------*/ +/** @defgroup SD_Exported_macros SD Exported Macros + * @brief macros to handle interrupts and specific clock configurations + * @{ + */ +/** @brief Reset SD handle state. + * @param __HANDLE__ SD Handle. + * @retval None + */ +# 417 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sd.h" +/** + * @brief Enable the SD device interrupt. + * @param __HANDLE__ SD Handle. + * @param __INTERRUPT__ specifies the SDMMC interrupt sources to be enabled. + * This parameter can be one or a combination of the following values: + * @arg SDMMC_IT_CCRCFAIL: Command response received (CRC check failed) interrupt + * @arg SDMMC_IT_DCRCFAIL: Data block sent/received (CRC check failed) interrupt + * @arg SDMMC_IT_CTIMEOUT: Command response timeout interrupt + * @arg SDMMC_IT_DTIMEOUT: Data timeout interrupt + * @arg SDMMC_IT_TXUNDERR: Transmit FIFO underrun error interrupt + * @arg SDMMC_IT_RXOVERR: Received FIFO overrun error interrupt + * @arg SDMMC_IT_CMDREND: Command response received (CRC check passed) interrupt + * @arg SDMMC_IT_CMDSENT: Command sent (no response required) interrupt + * @arg SDMMC_IT_DATAEND: Data end (data counter, DATACOUNT, is zero) interrupt + * @arg SDMMC_IT_DHOLD: Data transfer Hold interrupt + * @arg SDMMC_IT_DBCKEND: Data block sent/received (CRC check passed) interrupt + * @arg SDMMC_IT_DABORT: Data transfer aborted by CMD12 interrupt + * @arg SDMMC_IT_TXFIFOHE: Transmit FIFO Half Empty interrupt + * @arg SDMMC_IT_RXFIFOHF: Receive FIFO Half Full interrupt + * @arg SDMMC_IT_RXFIFOF: Receive FIFO full interrupt + * @arg SDMMC_IT_TXFIFOE: Transmit FIFO empty interrupt + * @arg SDMMC_IT_BUSYD0END: End of SDMMC_D0 Busy following a CMD response detected interrupt + * @arg SDMMC_IT_SDIOIT: SDIO interrupt received interrupt + * @arg SDMMC_IT_ACKFAIL: Boot Acknowledgment received interrupt + * @arg SDMMC_IT_ACKTIMEOUT: Boot Acknowledgment timeout interrupt + * @arg SDMMC_IT_VSWEND: Voltage switch critical timing section completion interrupt + * @arg SDMMC_IT_CKSTOP: SDMMC_CK stopped in Voltage switch procedure interrupt + * @arg SDMMC_IT_IDMABTC: IDMA buffer transfer complete interrupt + * @retval None + */ + + +/** + * @brief Disable the SD device interrupt. + * @param __HANDLE__ SD Handle. + * @param __INTERRUPT__ specifies the SDMMC interrupt sources to be disabled. + * This parameter can be one or a combination of the following values: + * @arg SDMMC_IT_CCRCFAIL: Command response received (CRC check failed) interrupt + * @arg SDMMC_IT_DCRCFAIL: Data block sent/received (CRC check failed) interrupt + * @arg SDMMC_IT_CTIMEOUT: Command response timeout interrupt + * @arg SDMMC_IT_DTIMEOUT: Data timeout interrupt + * @arg SDMMC_IT_TXUNDERR: Transmit FIFO underrun error interrupt + * @arg SDMMC_IT_RXOVERR: Received FIFO overrun error interrupt + * @arg SDMMC_IT_CMDREND: Command response received (CRC check passed) interrupt + * @arg SDMMC_IT_CMDSENT: Command sent (no response required) interrupt + * @arg SDMMC_IT_DATAEND: Data end (data counter, DATACOUNT, is zero) interrupt + * @arg SDMMC_IT_DHOLD: Data transfer Hold interrupt + * @arg SDMMC_IT_DBCKEND: Data block sent/received (CRC check passed) interrupt + * @arg SDMMC_IT_DABORT: Data transfer aborted by CMD12 interrupt + * @arg SDMMC_IT_TXFIFOHE: Transmit FIFO Half Empty interrupt + * @arg SDMMC_IT_RXFIFOHF: Receive FIFO Half Full interrupt + * @arg SDMMC_IT_RXFIFOF: Receive FIFO full interrupt + * @arg SDMMC_IT_TXFIFOE: Transmit FIFO empty interrupt + * @arg SDMMC_IT_BUSYD0END: End of SDMMC_D0 Busy following a CMD response detected interrupt + * @arg SDMMC_IT_SDIOIT: SDIO interrupt received interrupt + * @arg SDMMC_IT_ACKFAIL: Boot Acknowledgment received interrupt + * @arg SDMMC_IT_ACKTIMEOUT: Boot Acknowledgment timeout interrupt + * @arg SDMMC_IT_VSWEND: Voltage switch critical timing section completion interrupt + * @arg SDMMC_IT_CKSTOP: SDMMC_CK stopped in Voltage switch procedure interrupt + * @arg SDMMC_IT_IDMABTC: IDMA buffer transfer complete interrupt + * @retval None + */ + + +/** + * @brief Check whether the specified SD flag is set or not. + * @param __HANDLE__ SD Handle. + * @param __FLAG__ specifies the flag to check. + * This parameter can be one of the following values: + * @arg SDMMC_FLAG_CCRCFAIL: Command response received (CRC check failed) + * @arg SDMMC_FLAG_DCRCFAIL: Data block sent/received (CRC check failed) + * @arg SDMMC_FLAG_CTIMEOUT: Command response timeout + * @arg SDMMC_FLAG_DTIMEOUT: Data timeout + * @arg SDMMC_FLAG_TXUNDERR: Transmit FIFO underrun error + * @arg SDMMC_FLAG_RXOVERR: Received FIFO overrun error + * @arg SDMMC_FLAG_CMDREND: Command response received (CRC check passed) + * @arg SDMMC_FLAG_CMDSENT: Command sent (no response required) + * @arg SDMMC_FLAG_DATAEND: Data end (data counter, DATACOUNT, is zero) + * @arg SDMMC_FLAG_DHOLD: Data transfer Hold + * @arg SDMMC_FLAG_DBCKEND: Data block sent/received (CRC check passed) + * @arg SDMMC_FLAG_DABORT: Data transfer aborted by CMD12 + * @arg SDMMC_FLAG_DPSMACT: Data path state machine active + * @arg SDMMC_FLAG_CPSMACT: Command path state machine active + * @arg SDMMC_FLAG_TXFIFOHE: Transmit FIFO Half Empty + * @arg SDMMC_FLAG_RXFIFOHF: Receive FIFO Half Full + * @arg SDMMC_FLAG_TXFIFOF: Transmit FIFO full + * @arg SDMMC_FLAG_RXFIFOF: Receive FIFO full + * @arg SDMMC_FLAG_TXFIFOE: Transmit FIFO empty + * @arg SDMMC_FLAG_RXFIFOE: Receive FIFO empty + * @arg SDMMC_FLAG_BUSYD0: Inverted value of SDMMC_D0 line (Busy) + * @arg SDMMC_FLAG_BUSYD0END: End of SDMMC_D0 Busy following a CMD response detected + * @arg SDMMC_FLAG_SDIOIT: SDIO interrupt received + * @arg SDMMC_FLAG_ACKFAIL: Boot Acknowledgment received + * @arg SDMMC_FLAG_ACKTIMEOUT: Boot Acknowledgment timeout + * @arg SDMMC_FLAG_VSWEND: Voltage switch critical timing section completion + * @arg SDMMC_FLAG_CKSTOP: SDMMC_CK stopped in Voltage switch procedure + * @arg SDMMC_FLAG_IDMATE: IDMA transfer error + * @arg SDMMC_FLAG_IDMABTC: IDMA buffer transfer complete + * @retval The new state of SD FLAG (SET or RESET). + */ + + +/** + * @brief Clear the SD's pending flags. + * @param __HANDLE__ SD Handle. + * @param __FLAG__ specifies the flag to clear. + * This parameter can be one or a combination of the following values: + * @arg SDMMC_FLAG_CCRCFAIL: Command response received (CRC check failed) + * @arg SDMMC_FLAG_DCRCFAIL: Data block sent/received (CRC check failed) + * @arg SDMMC_FLAG_CTIMEOUT: Command response timeout + * @arg SDMMC_FLAG_DTIMEOUT: Data timeout + * @arg SDMMC_FLAG_TXUNDERR: Transmit FIFO underrun error + * @arg SDMMC_FLAG_RXOVERR: Received FIFO overrun error + * @arg SDMMC_FLAG_CMDREND: Command response received (CRC check passed) + * @arg SDMMC_FLAG_CMDSENT: Command sent (no response required) + * @arg SDMMC_FLAG_DATAEND: Data end (data counter, DATACOUNT, is zero) + * @arg SDMMC_FLAG_DHOLD: Data transfer Hold + * @arg SDMMC_FLAG_DBCKEND: Data block sent/received (CRC check passed) + * @arg SDMMC_FLAG_DABORT: Data transfer aborted by CMD12 + * @arg SDMMC_FLAG_BUSYD0END: End of SDMMC_D0 Busy following a CMD response detected + * @arg SDMMC_FLAG_SDIOIT: SDIO interrupt received + * @arg SDMMC_FLAG_ACKFAIL: Boot Acknowledgment received + * @arg SDMMC_FLAG_ACKTIMEOUT: Boot Acknowledgment timeout + * @arg SDMMC_FLAG_VSWEND: Voltage switch critical timing section completion + * @arg SDMMC_FLAG_CKSTOP: SDMMC_CK stopped in Voltage switch procedure + * @arg SDMMC_FLAG_IDMATE: IDMA transfer error + * @arg SDMMC_FLAG_IDMABTC: IDMA buffer transfer complete + * @retval None + */ + + +/** + * @brief Check whether the specified SD interrupt has occurred or not. + * @param __HANDLE__ SD Handle. + * @param __INTERRUPT__ specifies the SDMMC interrupt source to check. + * This parameter can be one of the following values: + * @arg SDMMC_IT_CCRCFAIL: Command response received (CRC check failed) interrupt + * @arg SDMMC_IT_DCRCFAIL: Data block sent/received (CRC check failed) interrupt + * @arg SDMMC_IT_CTIMEOUT: Command response timeout interrupt + * @arg SDMMC_IT_DTIMEOUT: Data timeout interrupt + * @arg SDMMC_IT_TXUNDERR: Transmit FIFO underrun error interrupt + * @arg SDMMC_IT_RXOVERR: Received FIFO overrun error interrupt + * @arg SDMMC_IT_CMDREND: Command response received (CRC check passed) interrupt + * @arg SDMMC_IT_CMDSENT: Command sent (no response required) interrupt + * @arg SDMMC_IT_DATAEND: Data end (data counter, DATACOUNT, is zero) interrupt + * @arg SDMMC_IT_DHOLD: Data transfer Hold interrupt + * @arg SDMMC_IT_DBCKEND: Data block sent/received (CRC check passed) interrupt + * @arg SDMMC_IT_DABORT: Data transfer aborted by CMD12 interrupt + * @arg SDMMC_IT_TXFIFOHE: Transmit FIFO Half Empty interrupt + * @arg SDMMC_IT_RXFIFOHF: Receive FIFO Half Full interrupt + * @arg SDMMC_IT_RXFIFOF: Receive FIFO full interrupt + * @arg SDMMC_IT_TXFIFOE: Transmit FIFO empty interrupt + * @arg SDMMC_IT_BUSYD0END: End of SDMMC_D0 Busy following a CMD response detected interrupt + * @arg SDMMC_IT_SDIOIT: SDIO interrupt received interrupt + * @arg SDMMC_IT_ACKFAIL: Boot Acknowledgment received interrupt + * @arg SDMMC_IT_ACKTIMEOUT: Boot Acknowledgment timeout interrupt + * @arg SDMMC_IT_VSWEND: Voltage switch critical timing section completion interrupt + * @arg SDMMC_IT_CKSTOP: SDMMC_CK stopped in Voltage switch procedure interrupt + * @arg SDMMC_IT_IDMABTC: IDMA buffer transfer complete interrupt + * @retval The new state of SD IT (SET or RESET). + */ + + +/** + * @brief Clear the SD's interrupt pending bits. + * @param __HANDLE__ SD Handle. + * @param __INTERRUPT__ specifies the interrupt pending bit to clear. + * This parameter can be one or a combination of the following values: + * @arg SDMMC_IT_CCRCFAIL: Command response received (CRC check failed) interrupt + * @arg SDMMC_IT_DCRCFAIL: Data block sent/received (CRC check failed) interrupt + * @arg SDMMC_IT_CTIMEOUT: Command response timeout interrupt + * @arg SDMMC_IT_DTIMEOUT: Data timeout interrupt + * @arg SDMMC_IT_TXUNDERR: Transmit FIFO underrun error interrupt + * @arg SDMMC_IT_RXOVERR: Received FIFO overrun error interrupt + * @arg SDMMC_IT_CMDREND: Command response received (CRC check passed) interrupt + * @arg SDMMC_IT_CMDSENT: Command sent (no response required) interrupt + * @arg SDMMC_IT_DATAEND: Data end (data counter, DATACOUNT, is zero) interrupt + * @arg SDMMC_IT_DHOLD: Data transfer Hold interrupt + * @arg SDMMC_IT_DBCKEND: Data block sent/received (CRC check passed) interrupt + * @arg SDMMC_IT_DABORT: Data transfer aborted by CMD12 interrupt + * @arg SDMMC_IT_BUSYD0END: End of SDMMC_D0 Busy following a CMD response detected interrupt + * @arg SDMMC_IT_SDIOIT: SDIO interrupt received interrupt + * @arg SDMMC_IT_ACKFAIL: Boot Acknowledgment received interrupt + * @arg SDMMC_IT_ACKTIMEOUT: Boot Acknowledgment timeout interrupt + * @arg SDMMC_IT_VSWEND: Voltage switch critical timing section completion interrupt + * @arg SDMMC_IT_CKSTOP: SDMMC_CK stopped in Voltage switch procedure interrupt + * @arg SDMMC_IT_IDMABTC: IDMA buffer transfer complete interrupt + * @retval None + */ + + +/** + * @} + */ + +/* Include SD HAL Extension module */ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sd_ex.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_sd_ex.h + * @author MCD Application Team + * @brief Header file of SD HAL extended module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sd_ex.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + + +/** @addtogroup SDEx + * @brief SD HAL extended module driver + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/** @defgroup SDEx_Exported_Types SDEx Exported Types + * @{ + */ + +/** @defgroup SDEx_Exported_Types_Group1 SD Card Internal DMA Buffer structure + * @{ + */ +typedef enum +{ + SD_DMA_BUFFER0 = 0x00U, + SD_DMA_BUFFER1 = 0x01U, + +} HAL_SDEx_DMABuffer_MemoryTypeDef; + +/** + * @} + */ +/** + * @} + */ + +/* Exported functions --------------------------------------------------------*/ +/** @defgroup SDEx_Exported_Functions SDEx Exported Functions + * @{ + */ + +/** @defgroup SDEx_Exported_Functions_Group1 MultiBuffer functions + * @{ + */ + +HAL_StatusTypeDef HAL_SDEx_ConfigDMAMultiBuffer(SD_HandleTypeDef *hsd, uint32_t *pDataBuffer0, uint32_t *pDataBuffer1, + uint32_t BufferSize); +HAL_StatusTypeDef HAL_SDEx_ReadBlocksDMAMultiBuffer(SD_HandleTypeDef *hsd, uint32_t BlockAdd, uint32_t NumberOfBlocks); +HAL_StatusTypeDef HAL_SDEx_WriteBlocksDMAMultiBuffer(SD_HandleTypeDef *hsd, uint32_t BlockAdd, uint32_t NumberOfBlocks); +HAL_StatusTypeDef HAL_SDEx_ChangeDMABuffer(SD_HandleTypeDef *hsd, HAL_SDEx_DMABuffer_MemoryTypeDef Buffer, + uint32_t *pDataBuffer); + +void HAL_SDEx_Read_DMADoubleBuf0CpltCallback(SD_HandleTypeDef *hsd); +void HAL_SDEx_Read_DMADoubleBuf1CpltCallback(SD_HandleTypeDef *hsd); +void HAL_SDEx_Write_DMADoubleBuf0CpltCallback(SD_HandleTypeDef *hsd); +void HAL_SDEx_Write_DMADoubleBuf1CpltCallback(SD_HandleTypeDef *hsd); + +/** + * @} + */ + +/** + * @} + */ + +/* Private types -------------------------------------------------------------*/ +/* Private defines -----------------------------------------------------------*/ +/* Private variables ---------------------------------------------------------*/ +/* Private constants ---------------------------------------------------------*/ +/* Private macros ------------------------------------------------------------*/ +/* Private functions prototypes ----------------------------------------------*/ +/* Private functions ---------------------------------------------------------*/ + +/** + * @} + */ + + +/** + * @} + */ + +} +# 614 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sd.h" 2 + +/* Exported functions --------------------------------------------------------*/ +/** @defgroup SD_Exported_Functions SD Exported Functions + * @{ + */ + +/** @defgroup SD_Exported_Functions_Group1 Initialization and de-initialization functions + * @{ + */ +HAL_StatusTypeDef HAL_SD_Init(SD_HandleTypeDef *hsd); +HAL_StatusTypeDef HAL_SD_InitCard(SD_HandleTypeDef *hsd); +HAL_StatusTypeDef HAL_SD_DeInit(SD_HandleTypeDef *hsd); +void HAL_SD_MspInit(SD_HandleTypeDef *hsd); +void HAL_SD_MspDeInit(SD_HandleTypeDef *hsd); +/** + * @} + */ + +/** @defgroup SD_Exported_Functions_Group2 Input and Output operation functions + * @{ + */ +/* Blocking mode: Polling */ +HAL_StatusTypeDef HAL_SD_ReadBlocks(SD_HandleTypeDef *hsd, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks, + uint32_t Timeout); +HAL_StatusTypeDef HAL_SD_WriteBlocks(SD_HandleTypeDef *hsd, const uint8_t *pData, uint32_t BlockAdd, + uint32_t NumberOfBlocks, uint32_t Timeout); +HAL_StatusTypeDef HAL_SD_Erase(SD_HandleTypeDef *hsd, uint32_t BlockStartAdd, uint32_t BlockEndAdd); +/* Non-Blocking mode: IT */ +HAL_StatusTypeDef HAL_SD_ReadBlocks_IT(SD_HandleTypeDef *hsd, uint8_t *pData, uint32_t BlockAdd, + uint32_t NumberOfBlocks); +HAL_StatusTypeDef HAL_SD_WriteBlocks_IT(SD_HandleTypeDef *hsd, const uint8_t *pData, uint32_t BlockAdd, + uint32_t NumberOfBlocks); +/* Non-Blocking mode: DMA */ +HAL_StatusTypeDef HAL_SD_ReadBlocks_DMA(SD_HandleTypeDef *hsd, uint8_t *pData, uint32_t BlockAdd, + uint32_t NumberOfBlocks); +HAL_StatusTypeDef HAL_SD_WriteBlocks_DMA(SD_HandleTypeDef *hsd, const uint8_t *pData, uint32_t BlockAdd, + uint32_t NumberOfBlocks); + +void HAL_SD_IRQHandler(SD_HandleTypeDef *hsd); + +/* Callback in non blocking modes (DMA) */ +void HAL_SD_TxCpltCallback(SD_HandleTypeDef *hsd); +void HAL_SD_RxCpltCallback(SD_HandleTypeDef *hsd); +void HAL_SD_ErrorCallback(SD_HandleTypeDef *hsd); +void HAL_SD_AbortCallback(SD_HandleTypeDef *hsd); +# 677 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sd.h" +/** + * @} + */ + +/** @defgroup SD_Exported_Functions_Group3 Peripheral Control functions + * @{ + */ +HAL_StatusTypeDef HAL_SD_ConfigWideBusOperation(SD_HandleTypeDef *hsd, uint32_t WideMode); +HAL_StatusTypeDef HAL_SD_ConfigSpeedBusOperation(SD_HandleTypeDef *hsd, uint32_t SpeedMode); +/** + * @} + */ + +/** @defgroup SD_Exported_Functions_Group4 SD card related functions + * @{ + */ +HAL_SD_CardStateTypeDef HAL_SD_GetCardState(SD_HandleTypeDef *hsd); +HAL_StatusTypeDef HAL_SD_GetCardCID(const SD_HandleTypeDef *hsd, HAL_SD_CardCIDTypeDef *pCID); +HAL_StatusTypeDef HAL_SD_GetCardCSD(SD_HandleTypeDef *hsd, HAL_SD_CardCSDTypeDef *pCSD); +HAL_StatusTypeDef HAL_SD_GetCardStatus(SD_HandleTypeDef *hsd, HAL_SD_CardStatusTypeDef *pStatus); +HAL_StatusTypeDef HAL_SD_GetCardInfo(const SD_HandleTypeDef *hsd, HAL_SD_CardInfoTypeDef *pCardInfo); +/** + * @} + */ + +/** @defgroup SD_Exported_Functions_Group5 Peripheral State and Errors functions + * @{ + */ +HAL_SD_StateTypeDef HAL_SD_GetState(const SD_HandleTypeDef *hsd); +uint32_t HAL_SD_GetError(const SD_HandleTypeDef *hsd); +/** + * @} + */ + +/** @defgroup SD_Exported_Functions_Group6 Perioheral Abort management + * @{ + */ +HAL_StatusTypeDef HAL_SD_Abort(SD_HandleTypeDef *hsd); +HAL_StatusTypeDef HAL_SD_Abort_IT(SD_HandleTypeDef *hsd); +/** + * @} + */ + +/* Private types -------------------------------------------------------------*/ +/** @defgroup SD_Private_Types SD Private Types + * @{ + */ + +/** + * @} + */ + +/* Private defines -----------------------------------------------------------*/ +/** @defgroup SD_Private_Defines SD Private Defines + * @{ + */ + +/** + * @} + */ + +/* Private variables ---------------------------------------------------------*/ +/** @defgroup SD_Private_Variables SD Private Variables + * @{ + */ + +/** + * @} + */ + +/* Private constants ---------------------------------------------------------*/ +/** @defgroup SD_Private_Constants SD Private Constants + * @{ + */ + +/** + * @} + */ + +/* Private macros ------------------------------------------------------------*/ +/** @defgroup SD_Private_Macros SD Private Macros + * @{ + */ + +/** + * @} + */ + +/* Private functions prototypes ----------------------------------------------*/ +/** @defgroup SD_Private_Functions_Prototypes SD Private Functions Prototypes + * @{ + */ + +/** + * @} + */ + +/* Private functions ---------------------------------------------------------*/ +/** @defgroup SD_Private_Functions SD Private Functions + * @{ + */ + +/** + * @} + */ + + +/** + * @} + */ + +/** + * @} + */ + + +/** + * @} + */ + + +} +# 443 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sdio.h" 1 +/** + ********************************************************************************************************************** + * @file stm32h7xx_hal_sdio.h + * @author MCD Application Team + * @brief Header file of SDIO HAL module. + ********************************************************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ********************************************************************************************************************** + */ + +/* Define to prevent recursive inclusion -----------------------------------------------------------------------------*/ + + + + +extern "C" { + + +/* Includes ----------------------------------------------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_sdmmc.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_ll_sdmmc.h + * @author MCD Application Team + * @brief Header file of SDMMC HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sdio.h" 2 + +/** @addtogroup STM32U5xx_HAL_Driver + * @{ + */ + + +/** @defgroup SDIO SDIO + * @brief SDIO HAL module driver + * @{ + */ + +/* Exported types ----------------------------------------------------------------------------------------------------*/ +/** @defgroup SDIO_Exported_Types SDIO Exported Types + * @{ + */ + +/** @defgroup SDIO_Exported_Types_Group1 SDIO State enumeration structure + * @{ + + */ +typedef enum +{ + HAL_SDIO_STATE_RESET = 0x00U, + HAL_SDIO_STATE_READY = 0x01U, + HAL_SDIO_STATE_BUSY = 0x02U, +} HAL_SDIO_StateTypeDef; + +/** + * @} + */ + +/** @defgroup SDIO_Exported_Types_Group2 SDIO Handle and Structure definition + * @{ + */ +/** + * @brief SDIO Card Common Control Register Structure definition + */ +typedef struct +{ + uint8_t sdio_revision; + uint8_t cccr_revision; + uint8_t sd_spec_revision; + uint8_t bus_width_8Bit; + uint32_t card_capability; + uint32_t commonCISPointer; +} HAL_SDIO_CCCR_TypeDef; + +/** + * @brief sdio card FBR register(Function Basic Register) + */ +typedef struct +{ + uint8_t flags; + uint8_t ioStdFunctionCode; + uint8_t ioExtFunctionCode; + uint32_t ioPointerToCIS; + uint32_t ioPointerToCSA; +} HAL_SDIO_FBR_t; + +/** + * @brief SDIO CMD52 Structure definition + */ +typedef struct +{ + uint32_t Reg_Addr; + uint8_t ReadAfterWrite; + uint8_t IOFunctionNbr; +} HAL_SDIO_DirectCmd_TypeDef; + +/** + * @brief SDIO CMD53 Structure definition + */ +typedef struct +{ + uint32_t Reg_Addr; + uint32_t OpCode; + uint32_t Block_Mode; + uint32_t IOFunctionNbr; +} HAL_SDIO_ExtendedCmd_TypeDef; + + + + +/** + * @brief SDIO handle Structure definition + */ +typedef struct __SDIO_HandleTypeDef +{ + SDMMC_TypeDef *Instance; + + SDMMC_InitTypeDef Init; + + HAL_LockTypeDef Lock; + + uint8_t *pTxBuffPtr; + + uint32_t TxXferSize; + + uint8_t *pRxBuffPtr; + + uint32_t RxXferSize; + + uint32_t remaining_data; + + uint32_t next_data_addr; + + volatile uint32_t next_reg_addr; + + uint16_t block_size; + + volatile uint32_t Context; + + volatile HAL_SDIO_StateTypeDef State; + + volatile uint32_t ErrorCode; + + uint8_t IOFunctionMask; + + volatile uint8_t IOInterruptNbr; + + void (* SDIO_IOFunction_Callback[7U])(struct __SDIO_HandleTypeDef *hsdio, uint32_t func); +# 163 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sdio.h" + HAL_StatusTypeDef(* SDIO_IdentifyCard)(struct __SDIO_HandleTypeDef *hsdio); + +} SDIO_HandleTypeDef; + +/** + * @} + */ +# 199 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sdio.h" +typedef HAL_StatusTypeDef(*pSDIO_IdentifyCardCallbackTypeDef)(SDIO_HandleTypeDef *hsdio); +typedef void (*HAL_SDIO_IOFunction_CallbackTypeDef)(SDIO_HandleTypeDef *hsdio, uint32_t func); +/** + * @} + */ + +/* Exported constants ------------------------------------------------------------------------------------------------*/ +/** @defgroup SDIO_Exported_Constants SDIO Exported Constants + * @{ + */ + +/** @defgroup SDIO_Exported_Constansts_Group1 SDIO Error status Structure definition + * @{ + */ + + + + + + + +/** + * @} + */ + +/** @defgroup SDIO_Exported_Constansts_Group2 SDIO context enumeration + * @{ + */ + + + + + + + +/** + * @} + */ + +/** @defgroup SDIO_Exported_Constansts_Group3 SDIO Block mode enumeration + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SDIO_Exported_Constansts_Group4 SDIO operation code enumeration + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SDIO_Exported_Constansts_Group5 SDIO Read After Write(RAW) enumeration + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SDIO_Exported_Constansts_Group6 SDIO wire mode enumeration + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SDIO_Exported_Constansts_Group7 SDIO Data block size enumeration + * @{ + */ +# 289 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sdio.h" +/** + * @} + */ + +/** @defgroup SDIO_Exported_Constansts_Group8 SDIO Bus Width enumeration + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SDIO_Exported_Constansts_Group9 SDIO Data rate definitions + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup SDIO_Exported_Constansts_Group10 SDIO Functions definitions + * @{ + */ +# 324 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sdio.h" +/** + * @} + */ + +/** @defgroup SDIO_Exported_Constansts_Group11 SDIO FBR definitions + * @{ + */ + + +/** + * @} + */ + +/** + * @} + */ +/* Exported macro ----------------------------------------------------------------------------------------------------*/ +/** @defgroup SDIO_Exported_macros SDIO Exported Macros + * @brief macros to handle interrupts and specific clock configurations + * @{ + */ +/** + * @brief Enable the SDIO device interrupt. + * @param __HANDLE__ SDIO Handle. + * @param __INTERRUPT__ specifies the SDMMC interrupt sources to be enabled. + * This parameter can be one or a combination of @ref SDMMC_LL_Interrupt_sources. + * @retval None + */ + + +/** + * @brief Disable the SDIO device interrupt. + * @param __HANDLE__ SDIO Handle. + * @param __INTERRUPT__ specifies the SDMMC interrupt sources to be disabled. + * This parameter can be one or a combination of @ref SDMMC_LL_Interrupt_sources. + * @retval None + */ + + +/** + * @brief Check whether the specified SDIO flag is set or not. + * @param __HANDLE__ SDIO Handle. + * @param __FLAG__ specifies the flag to check. + * This parameter can be one of @ref SDMMC_LL_Flags. + * @retval The new state of SDIO FLAG (SET or RESET). + */ + + +/** + * @brief Clear the SDIO's pending flags. + * @param __HANDLE__ SDIO Handle. + * @param __FLAG__ specifies the flag to clear. + * This parameter can be one or a combination of @ref SDMMC_LL_Flags. + * @retval None + */ + + +/** + * @brief Check whether the specified SDIO interrupt has occurred or not. + * @param __HANDLE__ SDIO Handle. + * @param __INTERRUPT__ specifies the SDMMC interrupt source to check. + * This parameter can be one of @ref SDMMC_LL_Interrupt_sources. + * @retval The new state of SDIO IT (SET or RESET). + */ + + +/** + * @brief Checks whether the specified SDIO interrupt is enabled or not. + * @param __HANDLE__ : SDIO handle. + * @param __INTERRUPT__ : specifies the SDMMC interrupt source to check. + * @retval The state of SDIO IT (SET or RESET). + */ + + +/** + * @} + */ + +/* Exported functions ------------------------------------------------------------------------------------------------*/ +/** @defgroup SDIO_Exported_Functions SDIO Exported Functions + * @{ + */ +/** @defgroup SDIO_Exported_Functions_Group1 Initialization and de-initialization functions + * @{ + */ +HAL_StatusTypeDef HAL_SDIO_Init(SDIO_HandleTypeDef *hsdio); +HAL_StatusTypeDef HAL_SDIO_DeInit(SDIO_HandleTypeDef *hsdio); + +void HAL_SDIO_MspInit(SDIO_HandleTypeDef *hsdio); +void HAL_SDIO_MspDeInit(SDIO_HandleTypeDef *hsdio); +/** + * @} + */ + +/** @defgroup SDIO_Exported_Functions_Group2 Peripheral Control functions + * @{ + */ +HAL_StatusTypeDef HAL_SDIO_SetDataBusWidth(SDIO_HandleTypeDef *hsdio, uint32_t BusWide); +HAL_StatusTypeDef HAL_SDIO_ConfigFrequency(SDIO_HandleTypeDef *hsdio, uint32_t ClockSpeed); + +HAL_StatusTypeDef HAL_SDIO_SetBlockSize(SDIO_HandleTypeDef *hsdio, uint8_t function_nbr, uint16_t BlockSize); +HAL_StatusTypeDef HAL_SDIO_SetSpeedMode(SDIO_HandleTypeDef *hsdio, uint32_t DataRate); + +HAL_StatusTypeDef HAL_SDIO_CardReset(SDIO_HandleTypeDef *hsdio); +HAL_StatusTypeDef HAL_SDIO_GetCardCommonControlRegister(SDIO_HandleTypeDef *hsdio, HAL_SDIO_CCCR_TypeDef *pCccr); +HAL_StatusTypeDef HAL_SDIO_GetCardFBRRegister(SDIO_HandleTypeDef *hsdio, HAL_SDIO_FBR_t *pFbr); +/** + * @} + */ + +/** @defgroup SDIO_Exported_Functions_Group3 Process functions + * @{ + */ +HAL_StatusTypeDef HAL_SDIO_ReadDirect(SDIO_HandleTypeDef *hsdio, HAL_SDIO_DirectCmd_TypeDef *Argument, uint8_t *pData); +HAL_StatusTypeDef HAL_SDIO_WriteDirect(SDIO_HandleTypeDef *hsdio, HAL_SDIO_DirectCmd_TypeDef *Argument, uint8_t Data); + +HAL_StatusTypeDef HAL_SDIO_ReadExtended(SDIO_HandleTypeDef *hsdio, HAL_SDIO_ExtendedCmd_TypeDef *Argument, + uint8_t *pData, uint32_t Size_byte, uint32_t Timeout_Ms); + +HAL_StatusTypeDef HAL_SDIO_WriteExtended(SDIO_HandleTypeDef *hsdio, HAL_SDIO_ExtendedCmd_TypeDef *Argument, + uint8_t *pData, uint32_t Size_byte, uint32_t Timeout_Ms); + +HAL_StatusTypeDef HAL_SDIO_ReadExtended_DMA(SDIO_HandleTypeDef *hsdio, HAL_SDIO_ExtendedCmd_TypeDef *Argument, + uint8_t *pData, uint32_t Size_byte); + +HAL_StatusTypeDef HAL_SDIO_WriteExtended_DMA(SDIO_HandleTypeDef *hsdio, HAL_SDIO_ExtendedCmd_TypeDef *Argument, + uint8_t *pData, uint32_t Size_byte); +/** + * @} + */ + +/** @defgroup SDIO_Exported_Functions_Group4 IRQHandler and callback functions + * @{ + */ +void HAL_SDIO_IRQHandler(SDIO_HandleTypeDef *hsdio); + +void HAL_SDIO_TxCpltCallback(SDIO_HandleTypeDef *hsdio); +void HAL_SDIO_RxCpltCallback(SDIO_HandleTypeDef *hsdio); +void HAL_SDIO_ErrorCallback(SDIO_HandleTypeDef *hsdio); +void HAL_SDIO_IOFunctionCallback(SDIO_HandleTypeDef *hsdio, uint32_t func); +# 482 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sdio.h" +HAL_StatusTypeDef HAL_SDIO_RegisterIOFunctionCallback(SDIO_HandleTypeDef *hsdio, uint32_t IOFunction, + HAL_SDIO_IOFunction_CallbackTypeDef pCallback); + +HAL_StatusTypeDef HAL_SDIO_RegisterIdentifyCardCallback(SDIO_HandleTypeDef *hsdio, + pSDIO_IdentifyCardCallbackTypeDef pCallback); +/** + * @} + */ + +/** @defgroup SDIO_Exported_Functions_Group5 Peripheral State and Errors functions + * @{ + */ +HAL_SDIO_StateTypeDef HAL_SDIO_GetState(const SDIO_HandleTypeDef *hsdio); +uint32_t HAL_SDIO_GetError(const SDIO_HandleTypeDef *hsdio); +/** + * @} + */ + +/** @defgroup SDIO_Exported_Functions_Group6 Peripheral IO interrupt + * @{ + */ +HAL_StatusTypeDef HAL_SDIO_EnableIOFunctionInterrupt(SDIO_HandleTypeDef *hsdio, uint32_t IOFunction); +HAL_StatusTypeDef HAL_SDIO_DisableIOFunctionInterrupt(SDIO_HandleTypeDef *hsdio, uint32_t IOFunction); + +HAL_StatusTypeDef HAL_SDIO_EnableIOFunction(SDIO_HandleTypeDef *hsdio, uint32_t IOFunction); +HAL_StatusTypeDef HAL_SDIO_DisableIOFunction(SDIO_HandleTypeDef *hsdio, uint32_t IOFunction); + +HAL_StatusTypeDef HAL_SDIO_SelectIOFunction(SDIO_HandleTypeDef *hsdio, uint32_t IOFunction); +HAL_StatusTypeDef HAL_SDIO_AbortIOFunction(SDIO_HandleTypeDef *hsdio, uint32_t IOFunction); + +HAL_StatusTypeDef HAL_SDIO_EnableIOAsynInterrupt(SDIO_HandleTypeDef *hsdio); +HAL_StatusTypeDef HAL_SDIO_DisableIOAsynInterrupt(SDIO_HandleTypeDef *hsdio); + +/** + * @} + */ + +/* Private types -----------------------------------------------------------------------------------------------------*/ +/** @defgroup SDIO_Private_Types SDIO Private Types + * @{ + */ + +/** + * @} + */ + +/* Private defines ---------------------------------------------------------------------------------------------------*/ +/** @defgroup SDIO_Private_Defines SDIO Private Defines + * @{ + */ + +/** + * @} + */ + +/* Private variables -------------------------------------------------------------------------------------------------*/ +/** @defgroup SDIO_Private_Variables SDIO Private Variables + * @{ + */ + +/** + * @} + */ + +/* Private constants -------------------------------------------------------------------------------------------------*/ +/** @defgroup SDIO_Private_Constants SDIO Private Constants + * @{ + */ + +/** + * @} + */ + +/* Private macros ----------------------------------------------------------------------------------------------------*/ +/** @defgroup SDIO_Private_Macros SDIO Private Macros + * @{ + */ + +/** + * @} + */ + +/* Private functions prototypes --------------------------------------------------------------------------------------*/ +/** @defgroup SDIO_Private_Functions_Prototypes SDIO Private Functions Prototypes + * @{ + */ + +/** + * @} + */ + +/* Private functions -------------------------------------------------------------------------------------------------*/ +/** @defgroup SDIO_Private_Functions SDIO Private Functions + * @{ + */ + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + + +/** + * @} + */ + + +} +# 447 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sdram.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_sdram.h + * @author MCD Application Team + * @brief Header file of SDRAM HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_fmc.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_ll_fmc.h + * @author MCD Application Team + * @brief Header file of FMC HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 30 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sdram.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup SDRAM + * @{ + */ + +/* Exported typedef ----------------------------------------------------------*/ + +/** @defgroup SDRAM_Exported_Types SDRAM Exported Types + * @{ + */ + +/** + * @brief HAL SDRAM State structure definition + */ +typedef enum +{ + HAL_SDRAM_STATE_RESET = 0x00U, + HAL_SDRAM_STATE_READY = 0x01U, + HAL_SDRAM_STATE_BUSY = 0x02U, + HAL_SDRAM_STATE_ERROR = 0x03U, + HAL_SDRAM_STATE_WRITE_PROTECTED = 0x04U, + HAL_SDRAM_STATE_PRECHARGED = 0x05U + +} HAL_SDRAM_StateTypeDef; + +/** + * @brief SDRAM handle Structure definition + */ + + + +typedef struct + +{ + FMC_Bank5_6_TypeDef *Instance; + + FMC_SDRAM_InitTypeDef Init; + + volatile HAL_SDRAM_StateTypeDef State; + + HAL_LockTypeDef Lock; + + MDMA_HandleTypeDef *hmdma; +# 85 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sdram.h" +} SDRAM_HandleTypeDef; +# 106 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sdram.h" +/** + * @} + */ + +/* Exported constants --------------------------------------------------------*/ +/* Exported macro ------------------------------------------------------------*/ + +/** @defgroup SDRAM_Exported_Macros SDRAM Exported Macros + * @{ + */ + +/** @brief Reset SDRAM handle state + * @param __HANDLE__ specifies the SDRAM handle. + * @retval None + */ +# 130 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sdram.h" +/** + * @} + */ + +/* Exported functions --------------------------------------------------------*/ + +/** @addtogroup SDRAM_Exported_Functions SDRAM Exported Functions + * @{ + */ + +/** @addtogroup SDRAM_Exported_Functions_Group1 + * @{ + */ + +/* Initialization/de-initialization functions *********************************/ +HAL_StatusTypeDef HAL_SDRAM_Init(SDRAM_HandleTypeDef *hsdram, FMC_SDRAM_TimingTypeDef *Timing); +HAL_StatusTypeDef HAL_SDRAM_DeInit(SDRAM_HandleTypeDef *hsdram); +void HAL_SDRAM_MspInit(SDRAM_HandleTypeDef *hsdram); +void HAL_SDRAM_MspDeInit(SDRAM_HandleTypeDef *hsdram); + +void HAL_SDRAM_IRQHandler(SDRAM_HandleTypeDef *hsdram); +void HAL_SDRAM_RefreshErrorCallback(SDRAM_HandleTypeDef *hsdram); +void HAL_SDRAM_DMA_XferCpltCallback(MDMA_HandleTypeDef *hmdma); +void HAL_SDRAM_DMA_XferErrorCallback(MDMA_HandleTypeDef *hmdma); + +/** + * @} + */ + +/** @addtogroup SDRAM_Exported_Functions_Group2 + * @{ + */ +/* I/O operation functions ****************************************************/ +HAL_StatusTypeDef HAL_SDRAM_Read_8b(SDRAM_HandleTypeDef *hsdram, uint32_t *pAddress, uint8_t *pDstBuffer, + uint32_t BufferSize); +HAL_StatusTypeDef HAL_SDRAM_Write_8b(SDRAM_HandleTypeDef *hsdram, uint32_t *pAddress, uint8_t *pSrcBuffer, + uint32_t BufferSize); +HAL_StatusTypeDef HAL_SDRAM_Read_16b(SDRAM_HandleTypeDef *hsdram, uint32_t *pAddress, uint16_t *pDstBuffer, + uint32_t BufferSize); +HAL_StatusTypeDef HAL_SDRAM_Write_16b(SDRAM_HandleTypeDef *hsdram, uint32_t *pAddress, uint16_t *pSrcBuffer, + uint32_t BufferSize); +HAL_StatusTypeDef HAL_SDRAM_Read_32b(SDRAM_HandleTypeDef *hsdram, uint32_t *pAddress, uint32_t *pDstBuffer, + uint32_t BufferSize); +HAL_StatusTypeDef HAL_SDRAM_Write_32b(SDRAM_HandleTypeDef *hsdram, uint32_t *pAddress, uint32_t *pSrcBuffer, + uint32_t BufferSize); + +HAL_StatusTypeDef HAL_SDRAM_Read_DMA(SDRAM_HandleTypeDef *hsdram, uint32_t *pAddress, uint32_t *pDstBuffer, + uint32_t BufferSize); +HAL_StatusTypeDef HAL_SDRAM_Write_DMA(SDRAM_HandleTypeDef *hsdram, uint32_t *pAddress, uint32_t *pSrcBuffer, + uint32_t BufferSize); +# 190 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_sdram.h" +/** + * @} + */ + +/** @addtogroup SDRAM_Exported_Functions_Group3 + * @{ + */ +/* SDRAM Control functions *****************************************************/ +HAL_StatusTypeDef HAL_SDRAM_WriteProtection_Enable(SDRAM_HandleTypeDef *hsdram); +HAL_StatusTypeDef HAL_SDRAM_WriteProtection_Disable(SDRAM_HandleTypeDef *hsdram); +HAL_StatusTypeDef HAL_SDRAM_SendCommand(SDRAM_HandleTypeDef *hsdram, FMC_SDRAM_CommandTypeDef *Command, + uint32_t Timeout); +HAL_StatusTypeDef HAL_SDRAM_ProgramRefreshRate(SDRAM_HandleTypeDef *hsdram, uint32_t RefreshRate); +HAL_StatusTypeDef HAL_SDRAM_SetAutoRefreshNumber(SDRAM_HandleTypeDef *hsdram, uint32_t AutoRefreshNumber); +uint32_t HAL_SDRAM_GetModeStatus(SDRAM_HandleTypeDef *hsdram); + +/** + * @} + */ + +/** @addtogroup SDRAM_Exported_Functions_Group4 + * @{ + */ +/* SDRAM State functions ********************************************************/ +HAL_SDRAM_StateTypeDef HAL_SDRAM_GetState(const SDRAM_HandleTypeDef *hsdram); +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + + + +} +# 451 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_spi.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_spi.h + * @author MCD Application Team + * @brief Header file of SPI HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_spi.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup SPI + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/** @defgroup SPI_Exported_Types SPI Exported Types + * @{ + */ + +/** + * @brief SPI Configuration Structure definition + */ +typedef struct +{ + uint32_t Mode; /*!< Specifies the SPI operating mode. + This parameter can be a value of @ref SPI_Mode */ + + uint32_t Direction; /*!< Specifies the SPI bidirectional mode state. + This parameter can be a value of @ref SPI_Direction */ + + uint32_t DataSize; /*!< Specifies the SPI data size. + This parameter can be a value of @ref SPI_Data_Size */ + + uint32_t CLKPolarity; /*!< Specifies the serial clock steady state. + This parameter can be a value of @ref SPI_Clock_Polarity */ + + uint32_t CLKPhase; /*!< Specifies the clock active edge for the bit capture. + This parameter can be a value of @ref SPI_Clock_Phase */ + + uint32_t NSS; /*!< Specifies whether the NSS signal is managed by + hardware (NSS pin) or by software using the SSI bit. + This parameter can be a value of + @ref SPI_Slave_Select_Management */ + + uint32_t BaudRatePrescaler; /*!< Specifies the Baud Rate prescaler value which will be + used to configure the transmit and receive SCK clock. + This parameter can be a value of @ref SPI_BaudRate_Prescaler + @note The communication clock is derived from the master + clock. The slave clock does not need to be set. */ + + uint32_t FirstBit; /*!< Specifies whether data transfers start from MSB or LSB bit. + This parameter can be a value of @ref SPI_MSB_LSB_Transmission */ + + uint32_t TIMode; /*!< Specifies if the TI mode is enabled or not. + This parameter can be a value of @ref SPI_TI_Mode */ + + uint32_t CRCCalculation; /*!< Specifies if the CRC calculation is enabled or not. + This parameter can be a value of @ref SPI_CRC_Calculation */ + + uint32_t CRCPolynomial; /*!< Specifies the polynomial used for the CRC calculation. + This parameter must be an odd number between + Min_Data = 0 and Max_Data = 65535 */ + + uint32_t CRCLength; /*!< Specifies the CRC Length used for the CRC calculation. + This parameter can be a value of @ref SPI_CRC_length */ + + uint32_t NSSPMode; /*!< Specifies whether the NSSP signal is enabled or not . + This parameter can be a value of @ref SPI_NSSP_Mode + This mode is activated by the SSOM bit in the SPIx_CR2 register + and it takes effect only if the SPI interface is configured + as Motorola SPI master (FRF=0). */ + + uint32_t NSSPolarity; /*!< Specifies which level of SS input/output external signal + (present on SS pin) is considered as active one. + This parameter can be a value of @ref SPI_NSS_Polarity */ + + uint32_t FifoThreshold; /*!< Specifies the FIFO threshold level. + This parameter can be a value of @ref SPI_Fifo_Threshold */ + + uint32_t TxCRCInitializationPattern; /*!< Specifies the transmitter CRC initialization Pattern used for + the CRC calculation. This parameter can be a value of + @ref SPI_CRC_Calculation_Initialization_Pattern */ + + uint32_t RxCRCInitializationPattern; /*!< Specifies the receiver CRC initialization Pattern used for + the CRC calculation. This parameter can be a value of + @ref SPI_CRC_Calculation_Initialization_Pattern */ + + uint32_t MasterSSIdleness; /*!< Specifies an extra delay, expressed in number of SPI clock cycle + periods, inserted additionally between active edge of SS + and first data transaction start in master mode. + This parameter can be a value of @ref SPI_Master_SS_Idleness */ + + uint32_t MasterInterDataIdleness; /*!< Specifies minimum time delay (expressed in SPI clock cycles periods) + inserted between two consecutive data frames in master mode. + This parameter can be a value of + @ref SPI_Master_InterData_Idleness */ + + uint32_t MasterReceiverAutoSusp; /*!< Control continuous SPI transfer in master receiver mode + and automatic management in order to avoid overrun condition. + This parameter can be a value of @ref SPI_Master_RX_AutoSuspend*/ + + uint32_t MasterKeepIOState; /*!< Control of Alternate function GPIOs state + This parameter can be a value of @ref SPI_Master_Keep_IO_State */ + + uint32_t IOSwap; /*!< Invert MISO/MOSI alternate functions + This parameter can be a value of @ref SPI_IO_Swap */ +} SPI_InitTypeDef; + +/** + * @brief HAL SPI State structure definition + */ +typedef enum +{ + HAL_SPI_STATE_RESET = 0x00UL, + HAL_SPI_STATE_READY = 0x01UL, + HAL_SPI_STATE_BUSY = 0x02UL, + HAL_SPI_STATE_BUSY_TX = 0x03UL, + HAL_SPI_STATE_BUSY_RX = 0x04UL, + HAL_SPI_STATE_BUSY_TX_RX = 0x05UL, + HAL_SPI_STATE_ERROR = 0x06UL, + HAL_SPI_STATE_ABORT = 0x07UL +} HAL_SPI_StateTypeDef; +# 166 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_spi.h" +/** + * @brief SPI handle Structure definition + */ +typedef struct __SPI_HandleTypeDef +{ + SPI_TypeDef *Instance; + + SPI_InitTypeDef Init; + + const uint8_t *pTxBuffPtr; + + uint16_t TxXferSize; + + volatile uint16_t TxXferCount; + + uint8_t *pRxBuffPtr; + + uint16_t RxXferSize; + + volatile uint16_t RxXferCount; + + uint32_t CRCSize; + + void (*RxISR)(struct __SPI_HandleTypeDef *hspi); + + void (*TxISR)(struct __SPI_HandleTypeDef *hspi); + + DMA_HandleTypeDef *hdmatx; + + DMA_HandleTypeDef *hdmarx; + + HAL_LockTypeDef Lock; + + volatile HAL_SPI_StateTypeDef State; + + volatile uint32_t ErrorCode; +# 223 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_spi.h" +} SPI_HandleTypeDef; +# 251 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_spi.h" +/** + * @} + */ + +/* Exported constants --------------------------------------------------------*/ + +/** @defgroup SPI_Exported_Constants SPI Exported Constants + * @{ + */ + +/** @defgroup SPI_FIFO_Type SPI FIFO Type + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SPI_Error_Code SPI Error Codes + * @{ + */ +# 289 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_spi.h" +/** + * @} + */ + +/** @defgroup SPI_Mode SPI Mode + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SPI_Direction SPI Direction Mode + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup SPI_Data_Size SPI Data Size + * @{ + */ +# 345 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_spi.h" +/** + * @} + */ + +/** @defgroup SPI_Clock_Polarity SPI Clock Polarity + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SPI_Clock_Phase SPI Clock Phase + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SPI_Slave_Select_Management SPI Slave Select Management + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup SPI_NSSP_Mode SPI NSS Pulse Mode + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SPI_BaudRate_Prescaler SPI BaudRate Prescaler + * @{ + */ +# 397 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_spi.h" +/** + * @} + */ + +/** @defgroup SPI_MSB_LSB_Transmission SPI MSB LSB Transmission + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SPI_TI_Mode SPI TI Mode + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SPI_CRC_Calculation SPI CRC Calculation + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SPI_CRC_length SPI CRC Length + * @{ + */ +# 461 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_spi.h" +/** + * @} + */ + +/** @defgroup SPI_Fifo_Threshold SPI Fifo Threshold + * @{ + */ +# 484 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_spi.h" +/** + * @} + */ + +/** @defgroup SPI_CRC_Calculation_Initialization_Pattern SPI CRC Calculation Initialization Pattern + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SPI_NSS_Polarity SPI NSS Polarity + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SPI_Master_Keep_IO_State Keep IO State + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SPI_IO_Swap Control SPI IO Swap + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SPI_Master_SS_Idleness SPI Master SS Idleness + * @{ + */ +# 543 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_spi.h" +/** + * @} + */ + +/** @defgroup SPI_Master_InterData_Idleness SPI Master Inter-Data Idleness + * @{ + */ +# 566 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_spi.h" +/** + * @} + */ + +/** @defgroup SPI_Master_RX_AutoSuspend SPI Master Receiver AutoSuspend + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SPI_Underrun_Behaviour SPI Underrun Behavior + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup SPI_Underrun_Detection SPI Underrun Detection + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup SPI_Interrupt_definition SPI Interrupt Definition + * @{ + */ +# 614 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_spi.h" +/** + * @} + */ + +/** @defgroup SPI_Flags_definition SPI Flags Definition + * @{ + */ +# 636 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_spi.h" +/** + * @} + */ + +/** @defgroup SPI_reception_fifo_status_level SPI Reception FIFO Status Level + * @{ + */ + + + + +/** + * @} + */ + +/** + * @} + */ + +/* Exported macros -----------------------------------------------------------*/ +/** @defgroup SPI_Exported_Macros SPI Exported Macros + * @{ + */ + +/** @brief Reset SPI handle state. + * @param __HANDLE__: specifies the SPI Handle. + * This parameter can be SPI where x: 1, 2, 3, 4, 5 or 6 to select the SPI peripheral. + * @retval None + */ +# 675 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_spi.h" +/** @brief Enable the specified SPI interrupts. + * @param __HANDLE__: specifies the SPI Handle. + * This parameter can be SPI where x: 1, 2, 3, 4, 5 or 6 to select the SPI peripheral. + * @param __INTERRUPT__: specifies the interrupt source to enable or disable. + * This parameter can be one of the following values: + * @arg SPI_IT_RXP : Rx-Packet available interrupt + * @arg SPI_IT_TXP : Tx-Packet space available interrupt + * @arg SPI_IT_DXP : Duplex Packet interrupt + * @arg SPI_IT_EOT : End of transfer interrupt + * @arg SPI_IT_TXTF : Transmission Transfer Filled interrupt + * @arg SPI_IT_UDR : Underrun interrupt + * @arg SPI_IT_OVR : Overrun interrupt + * @arg SPI_IT_CRCERR : CRC error interrupt + * @arg SPI_IT_FRE : TI mode frame format error interrupt + * @arg SPI_IT_MODF : Mode fault interrupt + * @arg SPI_IT_TSERF : Additional number of data reloaded interrupt + * @arg SPI_IT_ERR : Error interrupt + * @retval None + */ + + +/** @brief Disable the specified SPI interrupts. + * @param __HANDLE__: specifies the SPI Handle. + * This parameter can be SPI where x: 1, 2, 3, 4, 5 or 6 to select the SPI peripheral. + * @param __INTERRUPT__: specifies the interrupt source to enable or disable. + * This parameter can be one of the following values: + * @arg SPI_IT_RXP : Rx-Packet available interrupt + * @arg SPI_IT_TXP : Tx-Packet space available interrupt + * @arg SPI_IT_DXP : Duplex Packet interrupt + * @arg SPI_IT_EOT : End of transfer interrupt + * @arg SPI_IT_TXTF : Transmission Transfer Filled interrupt + * @arg SPI_IT_UDR : Underrun interrupt + * @arg SPI_IT_OVR : Overrun interrupt + * @arg SPI_IT_CRCERR : CRC error interrupt + * @arg SPI_IT_FRE : TI mode frame format error interrupt + * @arg SPI_IT_MODF : Mode fault interrupt + * @arg SPI_IT_TSERF : Additional number of data reloaded interrupt + * @arg SPI_IT_ERR : Error interrupt + * @retval None + */ + + +/** @brief Check whether the specified SPI interrupt source is enabled or not. + * @param __HANDLE__: specifies the SPI Handle. + * This parameter can be SPI where x: 1, 2, 3, 4, 5 or 6 to select the SPI peripheral. + * @param __INTERRUPT__: specifies the SPI interrupt source to check. + * This parameter can be one of the following values: + * @arg SPI_IT_RXP : Rx-Packet available interrupt + * @arg SPI_IT_TXP : Tx-Packet space available interrupt + * @arg SPI_IT_DXP : Duplex Packet interrupt + * @arg SPI_IT_EOT : End of transfer interrupt + * @arg SPI_IT_TXTF : Transmission Transfer Filled interrupt + * @arg SPI_IT_UDR : Underrun interrupt + * @arg SPI_IT_OVR : Overrun interrupt + * @arg SPI_IT_CRCERR : CRC error interrupt + * @arg SPI_IT_FRE : TI mode frame format error interrupt + * @arg SPI_IT_MODF : Mode fault interrupt + * @arg SPI_IT_TSERF : Additional number of data reloaded interrupt + * @arg SPI_IT_ERR : Error interrupt + * @retval The new state of __IT__ (TRUE or FALSE). + */ + + + +/** @brief Check whether the specified SPI flag is set or not. + * @param __HANDLE__: specifies the SPI Handle. + * This parameter can be SPI where x: 1, 2, 3, 4, 5 or 6 to select the SPI peripheral. + * @param __FLAG__: specifies the flag to check. + * This parameter can be one of the following values: + * @arg SPI_FLAG_RXP : Rx-Packet available flag + * @arg SPI_FLAG_TXP : Tx-Packet space available flag + * @arg SPI_FLAG_DXP : Duplex Packet flag + * @arg SPI_FLAG_EOT : End of transfer flag + * @arg SPI_FLAG_TXTF : Transmission Transfer Filled flag + * @arg SPI_FLAG_UDR : Underrun flag + * @arg SPI_FLAG_OVR : Overrun flag + * @arg SPI_FLAG_CRCERR : CRC error flag + * @arg SPI_FLAG_FRE : TI mode frame format error flag + * @arg SPI_FLAG_MODF : Mode fault flag + * @arg SPI_FLAG_TSERF : Additional number of data reloaded flag + * @arg SPI_FLAG_SUSP : Transfer suspend complete flag + * @arg SPI_FLAG_TXC : TxFIFO transmission complete flag + * @arg SPI_FLAG_FRLVL : Fifo reception level flag + * @arg SPI_FLAG_RXWNE : RxFIFO word not empty flag + * @retval The new state of __FLAG__ (TRUE or FALSE). + */ + + +/** @brief Clear the SPI CRCERR pending flag. + * @param __HANDLE__: specifies the SPI Handle. + * @retval None + */ + + +/** @brief Clear the SPI MODF pending flag. + * @param __HANDLE__: specifies the SPI Handle. + * @retval None + */ + + +/** @brief Clear the SPI OVR pending flag. + * @param __HANDLE__: specifies the SPI Handle. + * @retval None + */ + + +/** @brief Clear the SPI FRE pending flag. + * @param __HANDLE__: specifies the SPI Handle. + * @retval None + */ + + +/** @brief Clear the SPI UDR pending flag. + * @param __HANDLE__: specifies the SPI Handle. + * @retval None + */ + + +/** @brief Clear the SPI EOT pending flag. + * @param __HANDLE__: specifies the SPI Handle. + * @retval None + */ + + +/** @brief Clear the SPI UDR pending flag. + * @param __HANDLE__: specifies the SPI Handle. + * @retval None + */ + + +/** @brief Clear the SPI SUSP pending flag. + * @param __HANDLE__: specifies the SPI Handle. + * @retval None + */ + + +/** @brief Clear the SPI TSERF pending flag. + * @param __HANDLE__: specifies the SPI Handle. + * @retval None + */ + + +/** @brief Enable the SPI peripheral. + * @param __HANDLE__: specifies the SPI Handle. + * @retval None + */ + + +/** @brief Disable the SPI peripheral. + * @param __HANDLE__: specifies the SPI Handle. + * @retval None + */ + +/** + * @} + */ + + +/* Include SPI HAL Extension module */ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_spi_ex.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_spi_ex.h + * @author MCD Application Team + * @brief Header file of SPI HAL Extended module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_spi_ex.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup SPIEx + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/** @defgroup SPIEx_Exported_Types SPIEx Exported Types + * @{ + */ + +/** + * @} + */ + +/* Exported constants --------------------------------------------------------*/ +/** @defgroup SPIEx_Exported_Constants SPIEx Exported Constants + * @{ + */ + +/** + * @} + */ + +/* Exported macros -----------------------------------------------------------*/ +/** @defgroup SPIEx_Exported_Macros SPIEx Extended Exported Macros + * @{ + */ + +/** + * @} + */ + +/* Exported functions --------------------------------------------------------*/ +/** @addtogroup SPIEx_Exported_Functions + * @{ + */ + +/* Initialization and de-initialization functions ****************************/ +/* IO operation functions *****************************************************/ +/** @addtogroup SPIEx_Exported_Functions_Group1 + * @{ + */ +HAL_StatusTypeDef HAL_SPIEx_FlushRxFifo(const SPI_HandleTypeDef *hspi); +HAL_StatusTypeDef HAL_SPIEx_EnableLockConfiguration(SPI_HandleTypeDef *hspi); +HAL_StatusTypeDef HAL_SPIEx_ConfigureUnderrun(SPI_HandleTypeDef *hspi, uint32_t UnderrunDetection, + uint32_t UnderrunBehaviour); +/** + * @} + */ +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + + + +} +# 835 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_spi.h" 2 + + +/* Exported functions --------------------------------------------------------*/ +/** @addtogroup SPI_Exported_Functions + * @{ + */ + +/** @addtogroup SPI_Exported_Functions_Group1 Initialization and de-initialization functions + * @{ + */ +/* Initialization/de-initialization functions ********************************/ +HAL_StatusTypeDef HAL_SPI_Init(SPI_HandleTypeDef *hspi); +HAL_StatusTypeDef HAL_SPI_DeInit(SPI_HandleTypeDef *hspi); +void HAL_SPI_MspInit(SPI_HandleTypeDef *hspi); +void HAL_SPI_MspDeInit(SPI_HandleTypeDef *hspi); + +/* Callbacks Register/UnRegister functions ***********************************/ + + + + + +/** + * @} + */ + +/** @addtogroup SPI_Exported_Functions_Group2 IO operation functions + * @{ + */ +/* I/O operation functions ***************************************************/ +HAL_StatusTypeDef HAL_SPI_Transmit(SPI_HandleTypeDef *hspi, const uint8_t *pData, uint16_t Size, uint32_t Timeout); +HAL_StatusTypeDef HAL_SPI_Receive(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size, uint32_t Timeout); +HAL_StatusTypeDef HAL_SPI_TransmitReceive(SPI_HandleTypeDef *hspi, const uint8_t *pTxData, uint8_t *pRxData, + uint16_t Size, uint32_t Timeout); +HAL_StatusTypeDef HAL_SPI_Transmit_IT(SPI_HandleTypeDef *hspi, const uint8_t *pData, uint16_t Size); +HAL_StatusTypeDef HAL_SPI_Receive_IT(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size); +HAL_StatusTypeDef HAL_SPI_TransmitReceive_IT(SPI_HandleTypeDef *hspi, const uint8_t *pTxData, uint8_t *pRxData, + uint16_t Size); + +HAL_StatusTypeDef HAL_SPI_Transmit_DMA(SPI_HandleTypeDef *hspi, const uint8_t *pData, uint16_t Size); +HAL_StatusTypeDef HAL_SPI_Receive_DMA(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size); +HAL_StatusTypeDef HAL_SPI_TransmitReceive_DMA(SPI_HandleTypeDef *hspi, const uint8_t *pTxData, uint8_t *pRxData, + uint16_t Size); +# 886 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_spi.h" +HAL_StatusTypeDef HAL_SPI_DMAPause(SPI_HandleTypeDef *hspi); +HAL_StatusTypeDef HAL_SPI_DMAResume(SPI_HandleTypeDef *hspi); +HAL_StatusTypeDef HAL_SPI_DMAStop(SPI_HandleTypeDef *hspi); + +/* Transfer Abort functions */ +HAL_StatusTypeDef HAL_SPI_Abort(SPI_HandleTypeDef *hspi); +HAL_StatusTypeDef HAL_SPI_Abort_IT(SPI_HandleTypeDef *hspi); + +void HAL_SPI_IRQHandler(SPI_HandleTypeDef *hspi); +void HAL_SPI_TxCpltCallback(SPI_HandleTypeDef *hspi); +void HAL_SPI_RxCpltCallback(SPI_HandleTypeDef *hspi); +void HAL_SPI_TxRxCpltCallback(SPI_HandleTypeDef *hspi); +void HAL_SPI_TxHalfCpltCallback(SPI_HandleTypeDef *hspi); +void HAL_SPI_RxHalfCpltCallback(SPI_HandleTypeDef *hspi); +void HAL_SPI_TxRxHalfCpltCallback(SPI_HandleTypeDef *hspi); +void HAL_SPI_ErrorCallback(SPI_HandleTypeDef *hspi); +void HAL_SPI_AbortCpltCallback(SPI_HandleTypeDef *hspi); +void HAL_SPI_SuspendCallback(SPI_HandleTypeDef *hspi); +/** + * @} + */ + +/** @addtogroup SPI_Exported_Functions_Group3 Peripheral State and Errors functions + * @{ + */ + +/* Peripheral State and Error functions ***************************************/ +HAL_SPI_StateTypeDef HAL_SPI_GetState(const SPI_HandleTypeDef *hspi); +uint32_t HAL_SPI_GetError(const SPI_HandleTypeDef *hspi); +/** + * @} + */ + +/** + * @} + */ + +/* Private macros ------------------------------------------------------------*/ +/** @defgroup SPI_Private_Macros SPI Private Macros + * @{ + */ + +/** @brief Set the SPI transmit-only mode in 1Line configuration. + * @param __HANDLE__: specifies the SPI Handle. + * This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. + * @retval None + */ + + +/** @brief Set the SPI receive-only mode in 1Line configuration. + * @param __HANDLE__: specifies the SPI Handle. + * This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. + * @retval None + */ + + +/** @brief Set the SPI transmit-only mode in 2Lines configuration. + * @param __HANDLE__: specifies the SPI Handle. + * This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. + * @retval None + */ + + +/** @brief Set the SPI receive-only mode in 2Lines configuration. + * @param __HANDLE__: specifies the SPI Handle. + * This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. + * @retval None + */ + + +/** @brief Set the SPI Transmit-Receive mode in 2Lines configuration. + * @param __HANDLE__: specifies the SPI Handle. + * This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral. + * @retval None + */ +# 1110 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_spi.h" +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + + +} + + + + +/** + * @} + */ +# 455 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_spdifrx.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_spdifrx.h + * @author MCD Application Team + * @brief Header file of SPDIFRX HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_spdifrx.h" 2 + + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + + +/** @addtogroup SPDIFRX + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/** @defgroup SPDIFRX_Exported_Types SPDIFRX Exported Types + * @{ + */ + +/** + * @brief SPDIFRX Init structure definition + */ +typedef struct +{ + uint32_t InputSelection; /*!< Specifies the SPDIF input selection. + This parameter can be a value of @ref SPDIFRX_Input_Selection */ + + uint32_t Retries; /*!< Specifies the Maximum allowed re-tries during synchronization phase. + This parameter can be a value of @ref SPDIFRX_Max_Retries */ + + uint32_t WaitForActivity; /*!< Specifies the wait for activity on SPDIF selected input. + This parameter can be a value of @ref SPDIFRX_Wait_For_Activity. */ + + uint32_t ChannelSelection; /*!< Specifies whether the control flow will take the channel status + from channel A or B. + This parameter can be a value of @ref SPDIFRX_Channel_Selection */ + + uint32_t DataFormat; /*!< Specifies the Data samples format (LSB, MSB, ...). + This parameter can be a value of @ref SPDIFRX_Data_Format */ + + uint32_t StereoMode; /*!< Specifies whether the peripheral is in stereo or mono mode. + This parameter can be a value of @ref SPDIFRX_Stereo_Mode */ + + uint32_t PreambleTypeMask; /*!< Specifies whether The preamble type bits are copied or not + into the received frame. + This parameter can be a value of @ref SPDIFRX_PT_Mask */ + + uint32_t ChannelStatusMask; /*!< Specifies whether the channel status and user bits are copied or not + into the received frame. + This parameter can be a value of @ref SPDIFRX_ChannelStatus_Mask */ + + uint32_t ValidityBitMask; /*!< Specifies whether the validity bit is copied or not into the received frame. + This parameter can be a value of @ref SPDIFRX_V_Mask */ + + uint32_t ParityErrorMask; /*!< Specifies whether the parity error bit is copied or not + into the received frame. + This parameter can be a value of @ref SPDIFRX_PE_Mask */ + FunctionalState SymbolClockGen; /*!< Enable/Disable the SPDIFRX Symbol Clock generation. + This parameter can be set to Enable or Disable */ + + FunctionalState BackupSymbolClockGen; /*!< Enable/Disable the SPDIFRX Backup Symbol Clock generation. + This parameter can be set to Enable or Disable */ +} SPDIFRX_InitTypeDef; + +/** + * @brief SPDIFRX SetDataFormat structure definition + */ +typedef struct +{ + uint32_t DataFormat; /*!< Specifies the Data samples format (LSB, MSB, ...). + This parameter can be a value of @ref SPDIFRX_Data_Format */ + + uint32_t StereoMode; /*!< Specifies whether the peripheral is in stereo or mono mode. + This parameter can be a value of @ref SPDIFRX_Stereo_Mode */ + + uint32_t PreambleTypeMask; /*!< Specifies whether The preamble type bits are copied or not + into the received frame. + This parameter can be a value of @ref SPDIFRX_PT_Mask */ + + uint32_t ChannelStatusMask; /*!< Specifies whether the channel status and user bits are copied or not + into the received frame. + This parameter can be a value of @ref SPDIFRX_ChannelStatus_Mask */ + + uint32_t ValidityBitMask; /*!< Specifies whether the validity bit is copied or not into the received frame. + This parameter can be a value of @ref SPDIFRX_V_Mask */ + + uint32_t ParityErrorMask; /*!< Specifies whether the parity error bit is copied or not + into the received frame. + This parameter can be a value of @ref SPDIFRX_PE_Mask */ + +} SPDIFRX_SetDataFormatTypeDef; + +/** + * @brief HAL State structures definition + */ +typedef enum +{ + HAL_SPDIFRX_STATE_RESET = 0x00U, + HAL_SPDIFRX_STATE_READY = 0x01U, + HAL_SPDIFRX_STATE_BUSY = 0x02U, + HAL_SPDIFRX_STATE_BUSY_RX = 0x03U, + HAL_SPDIFRX_STATE_BUSY_CX = 0x04U, + HAL_SPDIFRX_STATE_ERROR = 0x07U +} HAL_SPDIFRX_StateTypeDef; + +/** + * @brief SPDIFRX handle Structure definition + */ + + + +typedef struct + +{ + SPDIFRX_TypeDef *Instance; + + SPDIFRX_InitTypeDef Init; + + uint32_t *pRxBuffPtr; + + uint32_t *pCsBuffPtr; + + volatile uint16_t RxXferSize; + + volatile uint16_t RxXferCount; /* SPDIFRX Rx transfer counter + (This field is initialized at the + same value as transfer size at the + beginning of the transfer and + decremented when a sample is received. + NbSamplesReceived = RxBufferSize-RxBufferCount) */ + + volatile uint16_t CsXferSize; + + volatile uint16_t CsXferCount; /* SPDIFRX Rx transfer counter + (This field is initialized at the + same value as transfer size at the + beginning of the transfer and + decremented when a sample is received. + NbSamplesReceived = RxBufferSize-RxBufferCount) */ + + DMA_HandleTypeDef *hdmaCsRx; /* SPDIFRX EC60958_channel_status and user_information + DMA handle parameters */ + + DMA_HandleTypeDef *hdmaDrRx; + + volatile HAL_LockTypeDef Lock; + + volatile HAL_SPDIFRX_StateTypeDef State; + + volatile uint32_t ErrorCode; +# 189 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_spdifrx.h" +} SPDIFRX_HandleTypeDef; +# 212 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_spdifrx.h" +/** + * @} + */ +/* Exported constants --------------------------------------------------------*/ +/** @defgroup SPDIFRX_Exported_Constants SPDIFRX Exported Constants + * @{ + */ +/** @defgroup SPDIFRX_ErrorCode SPDIFRX Error Code + * @{ + */ +# 231 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_spdifrx.h" +/** + * @} + */ + +/** @defgroup SPDIFRX_Input_Selection SPDIFRX Input Selection + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup SPDIFRX_Max_Retries SPDIFRX Maximum Retries + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup SPDIFRX_Wait_For_Activity SPDIFRX Wait For Activity + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SPDIFRX_PT_Mask SPDIFRX Preamble Type Mask + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SPDIFRX_ChannelStatus_Mask SPDIFRX Channel Status Mask + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup SPDIFRX_V_Mask SPDIFRX Validity Mask + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SPDIFRX_PE_Mask SPDIFRX Parity Error Mask + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SPDIFRX_Channel_Selection SPDIFRX Channel Selection + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SPDIFRX_Data_Format SPDIFRX Data Format + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup SPDIFRX_Stereo_Mode SPDIFRX Stereo Mode + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SPDIFRX_State SPDIFRX State + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup SPDIFRX_Interrupts_Definition SPDIFRX Interrupts Definition + * @{ + */ + + + + + + + +/** + * @} + */ + +/** @defgroup SPDIFRX_Flags_Definition SPDIFRX Flags Definition + * @{ + */ +# 369 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_spdifrx.h" +/** + * @} + */ + +/** + * @} + */ + +/* Exported macros -----------------------------------------------------------*/ +/** @defgroup SPDIFRX_Exported_macros SPDIFRX Exported Macros + * @{ + */ + +/** @brief Reset SPDIFRX handle state + * @param __HANDLE__ SPDIFRX handle. + * @retval None + */ +# 396 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_spdifrx.h" +/** @brief Disable the specified SPDIFRX peripheral (IDLE State). + * @param __HANDLE__ specifies the SPDIFRX Handle. + * @retval None + */ + + +/** @brief Enable the specified SPDIFRX peripheral (SYNC State). + * @param __HANDLE__ specifies the SPDIFRX Handle. + * @retval None + */ + + + +/** @brief Enable the specified SPDIFRX peripheral (RCV State). + * @param __HANDLE__ specifies the SPDIFRX Handle. + * @retval None + */ + + + +/** @brief Enable or disable the specified SPDIFRX interrupts. + * @param __HANDLE__ specifies the SPDIFRX Handle. + * @param __INTERRUPT__ specifies the interrupt source to enable or disable. + * This parameter can be one of the following values: + * @arg SPDIFRX_IT_RXNE + * @arg SPDIFRX_IT_CSRNE + * @arg SPDIFRX_IT_PERRIE + * @arg SPDIFRX_IT_OVRIE + * @arg SPDIFRX_IT_SBLKIE + * @arg SPDIFRX_IT_SYNCDIE + * @arg SPDIFRX_IT_IFEIE + * @retval None + */ + + + + +/** @brief Checks if the specified SPDIFRX interrupt source is enabled or disabled. + * @param __HANDLE__ specifies the SPDIFRX Handle. + * @param __INTERRUPT__ specifies the SPDIFRX interrupt source to check. + * This parameter can be one of the following values: + * @arg SPDIFRX_IT_RXNE + * @arg SPDIFRX_IT_CSRNE + * @arg SPDIFRX_IT_PERRIE + * @arg SPDIFRX_IT_OVRIE + * @arg SPDIFRX_IT_SBLKIE + * @arg SPDIFRX_IT_SYNCDIE + * @arg SPDIFRX_IT_IFEIE + * @retval The new state of __IT__ (TRUE or FALSE). + */ + + + +/** @brief Checks whether the specified SPDIFRX flag is set or not. + * @param __HANDLE__ specifies the SPDIFRX Handle. + * @param __FLAG__ specifies the flag to check. + * This parameter can be one of the following values: + * @arg SPDIFRX_FLAG_RXNE + * @arg SPDIFRX_FLAG_CSRNE + * @arg SPDIFRX_FLAG_PERR + * @arg SPDIFRX_FLAG_OVR + * @arg SPDIFRX_FLAG_SBD + * @arg SPDIFRX_FLAG_SYNCD + * @arg SPDIFRX_FLAG_FERR + * @arg SPDIFRX_FLAG_SERR + * @arg SPDIFRX_FLAG_TERR + * @retval The new state of __FLAG__ (TRUE or FALSE). + */ + + + +/** @brief Clears the specified SPDIFRX SR flag, in setting the proper IFCR register bit. + * @param __HANDLE__ specifies the USART Handle. + * @param __IT_CLEAR__ specifies the interrupt clear register flag that needs to be set + * to clear the corresponding interrupt + * This parameter can be one of the following values: + * @arg SPDIFRX_FLAG_PERR + * @arg SPDIFRX_FLAG_OVR + * @arg SPDIFRX_SR_SBD + * @arg SPDIFRX_SR_SYNCD + * @retval None + */ + + +/** + * @} + */ + +/* Exported functions --------------------------------------------------------*/ +/** @addtogroup SPDIFRX_Exported_Functions + * @{ + */ + +/** @addtogroup SPDIFRX_Exported_Functions_Group1 + * @{ + */ +/* Initialization/de-initialization functions **********************************/ +HAL_StatusTypeDef HAL_SPDIFRX_Init(SPDIFRX_HandleTypeDef *hspdif); +HAL_StatusTypeDef HAL_SPDIFRX_DeInit(SPDIFRX_HandleTypeDef *hspdif); +void HAL_SPDIFRX_MspInit(SPDIFRX_HandleTypeDef *hspdif); +void HAL_SPDIFRX_MspDeInit(SPDIFRX_HandleTypeDef *hspdif); +HAL_StatusTypeDef HAL_SPDIFRX_SetDataFormat(SPDIFRX_HandleTypeDef *hspdif, SPDIFRX_SetDataFormatTypeDef sDataFormat); + +/* Callbacks Register/UnRegister functions ***********************************/ + + + + + + +/** + * @} + */ + +/** @addtogroup SPDIFRX_Exported_Functions_Group2 + * @{ + */ +/* I/O operation functions ***************************************************/ +/* Blocking mode: Polling */ +HAL_StatusTypeDef HAL_SPDIFRX_ReceiveDataFlow(SPDIFRX_HandleTypeDef *hspdif, uint32_t *pData, uint16_t Size, + uint32_t Timeout); +HAL_StatusTypeDef HAL_SPDIFRX_ReceiveCtrlFlow(SPDIFRX_HandleTypeDef *hspdif, uint32_t *pData, uint16_t Size, + uint32_t Timeout); + +/* Non-Blocking mode: Interrupt */ +HAL_StatusTypeDef HAL_SPDIFRX_ReceiveCtrlFlow_IT(SPDIFRX_HandleTypeDef *hspdif, uint32_t *pData, uint16_t Size); +HAL_StatusTypeDef HAL_SPDIFRX_ReceiveDataFlow_IT(SPDIFRX_HandleTypeDef *hspdif, uint32_t *pData, uint16_t Size); +void HAL_SPDIFRX_IRQHandler(SPDIFRX_HandleTypeDef *hspdif); + +/* Non-Blocking mode: DMA */ +HAL_StatusTypeDef HAL_SPDIFRX_ReceiveCtrlFlow_DMA(SPDIFRX_HandleTypeDef *hspdif, uint32_t *pData, uint16_t Size); +HAL_StatusTypeDef HAL_SPDIFRX_ReceiveDataFlow_DMA(SPDIFRX_HandleTypeDef *hspdif, uint32_t *pData, uint16_t Size); +HAL_StatusTypeDef HAL_SPDIFRX_DMAStop(SPDIFRX_HandleTypeDef *hspdif); + +/* Callbacks used in non blocking modes (Interrupt and DMA) *******************/ +void HAL_SPDIFRX_RxHalfCpltCallback(SPDIFRX_HandleTypeDef *hspdif); +void HAL_SPDIFRX_RxCpltCallback(SPDIFRX_HandleTypeDef *hspdif); +void HAL_SPDIFRX_ErrorCallback(SPDIFRX_HandleTypeDef *hspdif); +void HAL_SPDIFRX_CxHalfCpltCallback(SPDIFRX_HandleTypeDef *hspdif); +void HAL_SPDIFRX_CxCpltCallback(SPDIFRX_HandleTypeDef *hspdif); +/** + * @} + */ + +/** @addtogroup SPDIFRX_Exported_Functions_Group3 + * @{ + */ +/* Peripheral Control and State functions ************************************/ +HAL_SPDIFRX_StateTypeDef HAL_SPDIFRX_GetState(SPDIFRX_HandleTypeDef const *const hspdif); +uint32_t HAL_SPDIFRX_GetError(SPDIFRX_HandleTypeDef const *const hspdif); +/** + * @} + */ + +/** + * @} + */ +/* Private types -------------------------------------------------------------*/ +/* Private variables ---------------------------------------------------------*/ +/* Private constants ---------------------------------------------------------*/ +/* Private macros ------------------------------------------------------------*/ +/** @defgroup SPDIFRX_Private_Macros SPDIFRX Private Macros + * @{ + */ +# 596 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_spdifrx.h" +/** + * @} + */ + +/* Private functions ---------------------------------------------------------*/ +/** @defgroup SPDIFRX_Private_Functions SPDIFRX Private Functions + * @{ + */ +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + + + +} +# 459 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_swpmi.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_swpmi.h + * @author MCD Application Team + * @brief Header file of SWPMI HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_swpmi.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + + +/** @addtogroup SWPMI + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/** @defgroup SWPMI_Exported_Types SWPMI Exported Types + * @{ + */ + +/** + * @brief SWPMI Init Structure definition + */ +typedef struct +{ + uint32_t VoltageClass; /*!< Specifies the SWP Voltage Class. + This parameter can be a value of @ref SWPMI_Voltage_Class */ + + uint32_t BitRate; /*!< Specifies the SWPMI Bitrate. + This parameter must be a number between 0 and 255U. + The Bitrate is computed using the following formula: + SWPMI_freq = SWPMI_clk / (((BitRate) + 1) * 4) + */ + + uint32_t TxBufferingMode; /*!< Specifies the transmission buffering mode. + This parameter can be a value of @ref SWPMI_Tx_Buffering_Mode */ + + uint32_t RxBufferingMode; /*!< Specifies the reception buffering mode. + This parameter can be a value of @ref SWPMI_Rx_Buffering_Mode */ + +} SWPMI_InitTypeDef; + + +/** + * @brief HAL SWPMI State structures definition + */ +typedef enum +{ + HAL_SWPMI_STATE_RESET = 0x00, + HAL_SWPMI_STATE_READY = 0x01, + HAL_SWPMI_STATE_BUSY = 0x02, + HAL_SWPMI_STATE_BUSY_TX = 0x12, + HAL_SWPMI_STATE_BUSY_RX = 0x22, + HAL_SWPMI_STATE_BUSY_TX_RX = 0x32, + HAL_SWPMI_STATE_TIMEOUT = 0x03, + HAL_SWPMI_STATE_ERROR = 0x04 +} HAL_SWPMI_StateTypeDef; + +/** + * @brief SWPMI handle Structure definition + */ + + + +typedef struct + +{ + SWPMI_TypeDef *Instance; + + SWPMI_InitTypeDef Init; + + const uint32_t *pTxBuffPtr; + + uint32_t TxXferSize; + + uint32_t TxXferCount; + + uint32_t *pRxBuffPtr; + + uint32_t RxXferSize; + + uint32_t RxXferCount; + + DMA_HandleTypeDef *hdmatx; + + DMA_HandleTypeDef *hdmarx; + + HAL_LockTypeDef Lock; + + volatile HAL_SWPMI_StateTypeDef State; + + volatile uint32_t ErrorCode; +# 127 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_swpmi.h" +} SWPMI_HandleTypeDef; +# 150 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_swpmi.h" +/** + * @} + */ + +/* Exported constants --------------------------------------------------------*/ +/** @defgroup SWPMI_Exported_Constants SWPMI Exported Constants + * @{ + */ + +/** + * @defgroup SWPMI_Error_Code SWPMI Error Code Bitmap + * @{ + */ +# 174 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_swpmi.h" +/** + * @} + */ + +/** @defgroup SWPMI_Voltage_Class SWPMI Voltage Class + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SWPMI_Tx_Buffering_Mode SWPMI Tx Buffering Mode + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup SWPMI_Rx_Buffering_Mode SWPMI Rx Buffering Mode + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup SWPMI_Flags SWPMI Status Flags + * Elements values convention: 0xXXXXXXXX + * - 0xXXXXXXXX : Flag mask in the ISR register + * @{ + */ +# 224 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_swpmi.h" +/** + * @} + */ + +/** @defgroup SWPMI_Interrupt_definition SWPMI Interrupts Definition + * Elements values convention: 0xXXXX + * - 0xXXXX : Flag mask in the IER register + * @{ + */ +# 243 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_swpmi.h" +/** + * @} + */ + +/** + * @} + */ + +/* Exported macros -----------------------------------------------------------*/ +/** @defgroup SWPMI_Exported_Macros SWPMI Exported Macros + * @{ + */ + +/** @brief Reset SWPMI handle state. + * @param __HANDLE__ specifies the SWPMI Handle. + * @retval None + */ +# 270 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_swpmi.h" +/** + * @brief Enable the SWPMI peripheral. + * @param __HANDLE__ SWPMI handle + * @retval None + */ + + +/** + * @brief Disable the SWPMI peripheral. + * @param __HANDLE__ SWPMI handle + * @retval None + */ + + +/** + * @brief Enable the SWPMI transceiver. + * @param __HANDLE__ SWPMI handle + * @retval None + */ + + +/** + * @brief Disable the SWPMI transceiver. + * @param __HANDLE__ SWPMI handle + * @retval None + */ + + +/** @brief Check whether the specified SWPMI flag is set or not. + * @param __HANDLE__ specifies the SWPMI Handle. + * @param __FLAG__ specifies the flag to check. + * This parameter can be one of the following values: + * @arg SWPMI_FLAG_RXBFF Receive buffer full flag. + * @arg SWPMI_FLAG_TXBEF Transmit buffer empty flag. + * @arg SWPMI_FLAG_RXBERF Receive CRC error flag. + * @arg SWPMI_FLAG_RXOVRF Receive overrun error flag. + * @arg SWPMI_FLAG_TXUNRF Transmit underrun error flag. + * @arg SWPMI_FLAG_RXNE Receive data register not empty. + * @arg SWPMI_FLAG_TXE Transmit data register empty. + * @arg SWPMI_FLAG_TCF Transfer complete flag. + * @arg SWPMI_FLAG_SRF Slave resume flag. + * @arg SWPMI_FLAG_SUSP SUSPEND flag. + * @arg SWPMI_FLAG_DEACTF DEACTIVATED flag. + * @arg SWPMI_FLAG_RDYF Transceiver ready flag. + * @retval The new state of __FLAG__ (TRUE or FALSE). + */ + + +/** @brief Clear the specified SWPMI ISR flag. + * @param __HANDLE__ specifies the SWPMI Handle. + * @param __FLAG__ specifies the flag to clear. + * This parameter can be one of the following values: + * @arg SWPMI_FLAG_RXBFF Receive buffer full flag. + * @arg SWPMI_FLAG_TXBEF Transmit buffer empty flag. + * @arg SWPMI_FLAG_RXBERF Receive CRC error flag. + * @arg SWPMI_FLAG_RXOVRF Receive overrun error flag. + * @arg SWPMI_FLAG_TXUNRF Transmit underrun error flag. + * @arg SWPMI_FLAG_TCF Transfer complete flag. + * @arg SWPMI_FLAG_SRF Slave resume flag. + * @arg SWPMI_FLAG_RDYF Transceiver ready flag. + * @retval None + */ + + +/** @brief Enable the specified SWPMI interrupt. + * @param __HANDLE__ specifies the SWPMI Handle. + * @param __INTERRUPT__ specifies the SWPMI interrupt source to enable. + * This parameter can be one of the following values: + * @arg SWPMI_IT_RDYIE Transceiver ready interrupt. + * @arg SWPMI_IT_SRIE Slave resume interrupt. + * @arg SWPMI_IT_TCIE Transmit complete interrupt. + * @arg SWPMI_IT_TIE Transmit interrupt. + * @arg SWPMI_IT_RIE Receive interrupt. + * @arg SWPMI_IT_TXUNRIE Transmit underrun error interrupt. + * @arg SWPMI_IT_RXOVRIE Receive overrun error interrupt. + * @arg SWPMI_IT_RXBEIE Receive CRC error interrupt. + * @arg SWPMI_IT_TXBEIE Transmit buffer empty interrupt. + * @arg SWPMI_IT_RXBFIE Receive buffer full interrupt. + * @retval None + */ + + +/** @brief Disable the specified SWPMI interrupt. + * @param __HANDLE__ specifies the SWPMI Handle. + * @param __INTERRUPT__ specifies the SWPMI interrupt source to disable. + * This parameter can be one of the following values: + * @arg SWPMI_IT_RDYIE Transceiver ready interrupt. + * @arg SWPMI_IT_SRIE Slave resume interrupt. + * @arg SWPMI_IT_TCIE Transmit complete interrupt. + * @arg SWPMI_IT_TIE Transmit interrupt. + * @arg SWPMI_IT_RIE Receive interrupt. + * @arg SWPMI_IT_TXUNRIE Transmit underrun error interrupt. + * @arg SWPMI_IT_RXOVRIE Receive overrun error interrupt. + * @arg SWPMI_IT_RXBEIE Receive CRC error interrupt. + * @arg SWPMI_IT_TXBEIE Transmit buffer empty interrupt. + * @arg SWPMI_IT_RXBFIE Receive buffer full interrupt. + * @retval None + */ + + +/** @brief Check whether the specified SWPMI interrupt has occurred or not. + * @param __HANDLE__ specifies the SWPMI Handle. + * @param __IT__ specifies the SWPMI interrupt to check. + * This parameter can be one of the following values: + * @arg SWPMI_IT_RDYIE Transceiver ready interrupt. + * @arg SWPMI_IT_SRIE Slave resume interrupt. + * @arg SWPMI_IT_TCIE Transmit complete interrupt. + * @arg SWPMI_IT_TIE Transmit interrupt. + * @arg SWPMI_IT_RIE Receive interrupt. + * @arg SWPMI_IT_TXUNRIE Transmit underrun error interrupt. + * @arg SWPMI_IT_RXOVRIE Receive overrun error interrupt. + * @arg SWPMI_IT_RXBERIE Receive CRC error interrupt. + * @arg SWPMI_IT_TXBEIE Transmit buffer empty interrupt. + * @arg SWPMI_IT_RXBFIE Receive buffer full interrupt. + * @retval The new state of __IT__ (TRUE or FALSE). + */ + + +/** @brief Check whether the specified SWPMI interrupt source is enabled or not. + * @param __HANDLE__ specifies the SWPMI Handle. + * @param __IT__ specifies the SWPMI interrupt source to check. + * This parameter can be one of the following values: + * @arg SWPMI_IT_RDYIE Transceiver ready interrupt. + * @arg SWPMI_IT_SRIE Slave resume interrupt. + * @arg SWPMI_IT_TCIE Transmit complete interrupt. + * @arg SWPMI_IT_TIE Transmit interrupt. + * @arg SWPMI_IT_RIE Receive interrupt. + * @arg SWPMI_IT_TXUNRIE Transmit underrun error interrupt. + * @arg SWPMI_IT_RXOVRIE Receive overrun error interrupt. + * @arg SWPMI_IT_RXBERIE Receive CRC error interrupt. + * @arg SWPMI_IT_TXBEIE Transmit buffer empty interrupt. + * @arg SWPMI_IT_RXBFIE Receive buffer full interrupt. + * @retval The new state of __IT__ (TRUE or FALSE). + */ + + + +/** + * @} + */ + +/* Exported functions --------------------------------------------------------*/ +/** @defgroup SWPMI_Exported_Functions SWPMI Exported Functions + * @{ + */ +/* Initialization/de-initialization functions ********************************/ +HAL_StatusTypeDef HAL_SWPMI_Init(SWPMI_HandleTypeDef *hswpmi); +HAL_StatusTypeDef HAL_SWPMI_DeInit(SWPMI_HandleTypeDef *hswpmi); +void HAL_SWPMI_MspInit(SWPMI_HandleTypeDef *hswpmi); +void HAL_SWPMI_MspDeInit(SWPMI_HandleTypeDef *hswpmi); +# 430 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_swpmi.h" +/* IO operation functions *****************************************************/ +HAL_StatusTypeDef HAL_SWPMI_Transmit(SWPMI_HandleTypeDef *hswpmi, const uint32_t *pData, uint16_t Size, + uint32_t Timeout); +HAL_StatusTypeDef HAL_SWPMI_Receive(SWPMI_HandleTypeDef *hswpmi, uint32_t *pData, uint16_t Size, uint32_t Timeout); +HAL_StatusTypeDef HAL_SWPMI_Transmit_IT(SWPMI_HandleTypeDef *hswpmi, const uint32_t *pData, uint16_t Size); +HAL_StatusTypeDef HAL_SWPMI_Receive_IT(SWPMI_HandleTypeDef *hswpmi, uint32_t *pData, uint16_t Size); +HAL_StatusTypeDef HAL_SWPMI_Transmit_DMA(SWPMI_HandleTypeDef *hswpmi, const uint32_t *pData, uint16_t Size); +HAL_StatusTypeDef HAL_SWPMI_Receive_DMA(SWPMI_HandleTypeDef *hswpmi, uint32_t *pData, uint16_t Size); +HAL_StatusTypeDef HAL_SWPMI_DMAStop(SWPMI_HandleTypeDef *hswpmi); +HAL_StatusTypeDef HAL_SWPMI_EnableLoopback(SWPMI_HandleTypeDef *hswpmi); +HAL_StatusTypeDef HAL_SWPMI_DisableLoopback(SWPMI_HandleTypeDef *hswpmi); +void HAL_SWPMI_IRQHandler(SWPMI_HandleTypeDef *hswpmi); +void HAL_SWPMI_TxCpltCallback(SWPMI_HandleTypeDef *hswpmi); +void HAL_SWPMI_TxHalfCpltCallback(SWPMI_HandleTypeDef *hswpmi); +void HAL_SWPMI_RxCpltCallback(SWPMI_HandleTypeDef *hswpmi); +void HAL_SWPMI_RxHalfCpltCallback(SWPMI_HandleTypeDef *hswpmi); +void HAL_SWPMI_ErrorCallback(SWPMI_HandleTypeDef *hswpmi); + +/* Peripheral Control and State functions ************************************/ +HAL_SWPMI_StateTypeDef HAL_SWPMI_GetState(const SWPMI_HandleTypeDef *hswpmi); +uint32_t HAL_SWPMI_GetError(const SWPMI_HandleTypeDef *hswpmi); + +/** + * @} + */ + +/* Private types -------------------------------------------------------------*/ +/** @defgroup SWPMI_Private_Types SWPMI Private Types + * @{ + */ + +/** + * @} + */ + +/* Private variables ---------------------------------------------------------*/ +/** @defgroup SWPMI_Private_Variables SWPMI Private Variables + * @{ + */ + +/** + * @} + */ + +/* Private constants ---------------------------------------------------------*/ +/** @defgroup SWPMI_Private_Constants SWPMI Private Constants + * @{ + */ + +/** + * @} + */ + +/* Private macros ------------------------------------------------------------*/ +/** @defgroup SWPMI_Private_Macros SWPMI Private Macros + * @{ + */ +# 502 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_swpmi.h" +/** + * @} + */ + +/** + * @} + */ + + +/** + * @} + */ + + +} +# 463 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_tim.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_tim.h + * @author MCD Application Team + * @brief Header file of TIM HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_tim.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup TIM + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/** @defgroup TIM_Exported_Types TIM Exported Types + * @{ + */ + +/** + * @brief TIM Time base Configuration Structure definition + */ +typedef struct +{ + uint32_t Prescaler; /*!< Specifies the prescaler value used to divide the TIM clock. + This parameter can be a number between Min_Data = 0x0000 and Max_Data = 0xFFFF */ + + uint32_t CounterMode; /*!< Specifies the counter mode. + This parameter can be a value of @ref TIM_Counter_Mode */ + + uint32_t Period; /*!< Specifies the period value to be loaded into the active + Auto-Reload Register at the next update event. + This parameter can be a number between Min_Data = 0x0000 and Max_Data = 0xFFFF. */ + + uint32_t ClockDivision; /*!< Specifies the clock division. + This parameter can be a value of @ref TIM_ClockDivision */ + + uint32_t RepetitionCounter; /*!< Specifies the repetition counter value. Each time the RCR downcounter + reaches zero, an update event is generated and counting restarts + from the RCR value (N). + This means in PWM mode that (N+1) corresponds to: + - the number of PWM periods in edge-aligned mode + - the number of half PWM period in center-aligned mode + GP timers: this parameter must be a number between Min_Data = 0x00 and + Max_Data = 0xFF. + Advanced timers: this parameter must be a number between Min_Data = 0x0000 and + Max_Data = 0xFFFF. */ + + uint32_t AutoReloadPreload; /*!< Specifies the auto-reload preload. + This parameter can be a value of @ref TIM_AutoReloadPreload */ +} TIM_Base_InitTypeDef; + +/** + * @brief TIM Output Compare Configuration Structure definition + */ +typedef struct +{ + uint32_t OCMode; /*!< Specifies the TIM mode. + This parameter can be a value of @ref TIM_Output_Compare_and_PWM_modes */ + + uint32_t Pulse; /*!< Specifies the pulse value to be loaded into the Capture Compare Register. + This parameter can be a number between Min_Data = 0x0000 and Max_Data = 0xFFFF */ + + uint32_t OCPolarity; /*!< Specifies the output polarity. + This parameter can be a value of @ref TIM_Output_Compare_Polarity */ + + uint32_t OCNPolarity; /*!< Specifies the complementary output polarity. + This parameter can be a value of @ref TIM_Output_Compare_N_Polarity + @note This parameter is valid only for timer instances supporting break feature. */ + + uint32_t OCFastMode; /*!< Specifies the Fast mode state. + This parameter can be a value of @ref TIM_Output_Fast_State + @note This parameter is valid only in PWM1 and PWM2 mode. */ + + + uint32_t OCIdleState; /*!< Specifies the TIM Output Compare pin state during Idle state. + This parameter can be a value of @ref TIM_Output_Compare_Idle_State + @note This parameter is valid only for timer instances supporting break feature. */ + + uint32_t OCNIdleState; /*!< Specifies the TIM Output Compare pin state during Idle state. + This parameter can be a value of @ref TIM_Output_Compare_N_Idle_State + @note This parameter is valid only for timer instances supporting break feature. */ +} TIM_OC_InitTypeDef; + +/** + * @brief TIM One Pulse Mode Configuration Structure definition + */ +typedef struct +{ + uint32_t OCMode; /*!< Specifies the TIM mode. + This parameter can be a value of @ref TIM_Output_Compare_and_PWM_modes */ + + uint32_t Pulse; /*!< Specifies the pulse value to be loaded into the Capture Compare Register. + This parameter can be a number between Min_Data = 0x0000 and Max_Data = 0xFFFF */ + + uint32_t OCPolarity; /*!< Specifies the output polarity. + This parameter can be a value of @ref TIM_Output_Compare_Polarity */ + + uint32_t OCNPolarity; /*!< Specifies the complementary output polarity. + This parameter can be a value of @ref TIM_Output_Compare_N_Polarity + @note This parameter is valid only for timer instances supporting break feature. */ + + uint32_t OCIdleState; /*!< Specifies the TIM Output Compare pin state during Idle state. + This parameter can be a value of @ref TIM_Output_Compare_Idle_State + @note This parameter is valid only for timer instances supporting break feature. */ + + uint32_t OCNIdleState; /*!< Specifies the TIM Output Compare pin state during Idle state. + This parameter can be a value of @ref TIM_Output_Compare_N_Idle_State + @note This parameter is valid only for timer instances supporting break feature. */ + + uint32_t ICPolarity; /*!< Specifies the active edge of the input signal. + This parameter can be a value of @ref TIM_Input_Capture_Polarity */ + + uint32_t ICSelection; /*!< Specifies the input. + This parameter can be a value of @ref TIM_Input_Capture_Selection */ + + uint32_t ICFilter; /*!< Specifies the input capture filter. + This parameter can be a number between Min_Data = 0x0 and Max_Data = 0xF */ +} TIM_OnePulse_InitTypeDef; + +/** + * @brief TIM Input Capture Configuration Structure definition + */ +typedef struct +{ + uint32_t ICPolarity; /*!< Specifies the active edge of the input signal. + This parameter can be a value of @ref TIM_Input_Capture_Polarity */ + + uint32_t ICSelection; /*!< Specifies the input. + This parameter can be a value of @ref TIM_Input_Capture_Selection */ + + uint32_t ICPrescaler; /*!< Specifies the Input Capture Prescaler. + This parameter can be a value of @ref TIM_Input_Capture_Prescaler */ + + uint32_t ICFilter; /*!< Specifies the input capture filter. + This parameter can be a number between Min_Data = 0x0 and Max_Data = 0xF */ +} TIM_IC_InitTypeDef; + +/** + * @brief TIM Encoder Configuration Structure definition + */ +typedef struct +{ + uint32_t EncoderMode; /*!< Specifies the active edge of the input signal. + This parameter can be a value of @ref TIM_Encoder_Mode */ + + uint32_t IC1Polarity; /*!< Specifies the active edge of the input signal. + This parameter can be a value of @ref TIM_Encoder_Input_Polarity */ + + uint32_t IC1Selection; /*!< Specifies the input. + This parameter can be a value of @ref TIM_Input_Capture_Selection */ + + uint32_t IC1Prescaler; /*!< Specifies the Input Capture Prescaler. + This parameter can be a value of @ref TIM_Input_Capture_Prescaler */ + + uint32_t IC1Filter; /*!< Specifies the input capture filter. + This parameter can be a number between Min_Data = 0x0 and Max_Data = 0xF */ + + uint32_t IC2Polarity; /*!< Specifies the active edge of the input signal. + This parameter can be a value of @ref TIM_Encoder_Input_Polarity */ + + uint32_t IC2Selection; /*!< Specifies the input. + This parameter can be a value of @ref TIM_Input_Capture_Selection */ + + uint32_t IC2Prescaler; /*!< Specifies the Input Capture Prescaler. + This parameter can be a value of @ref TIM_Input_Capture_Prescaler */ + + uint32_t IC2Filter; /*!< Specifies the input capture filter. + This parameter can be a number between Min_Data = 0x0 and Max_Data = 0xF */ +} TIM_Encoder_InitTypeDef; + +/** + * @brief Clock Configuration Handle Structure definition + */ +typedef struct +{ + uint32_t ClockSource; /*!< TIM clock sources + This parameter can be a value of @ref TIM_Clock_Source */ + uint32_t ClockPolarity; /*!< TIM clock polarity + This parameter can be a value of @ref TIM_Clock_Polarity */ + uint32_t ClockPrescaler; /*!< TIM clock prescaler + This parameter can be a value of @ref TIM_Clock_Prescaler */ + uint32_t ClockFilter; /*!< TIM clock filter + This parameter can be a number between Min_Data = 0x0 and Max_Data = 0xF */ +} TIM_ClockConfigTypeDef; + +/** + * @brief TIM Clear Input Configuration Handle Structure definition + */ +typedef struct +{ + uint32_t ClearInputState; /*!< TIM clear Input state + This parameter can be ENABLE or DISABLE */ + uint32_t ClearInputSource; /*!< TIM clear Input sources + This parameter can be a value of @ref TIM_ClearInput_Source */ + uint32_t ClearInputPolarity; /*!< TIM Clear Input polarity + This parameter can be a value of @ref TIM_ClearInput_Polarity */ + uint32_t ClearInputPrescaler; /*!< TIM Clear Input prescaler + This parameter must be 0: When OCRef clear feature is used with ETR source, + ETR prescaler must be off */ + uint32_t ClearInputFilter; /*!< TIM Clear Input filter + This parameter can be a number between Min_Data = 0x0 and Max_Data = 0xF */ +} TIM_ClearInputConfigTypeDef; + +/** + * @brief TIM Master configuration Structure definition + * @note Advanced timers provide TRGO2 internal line which is redirected + * to the ADC + */ +typedef struct +{ + uint32_t MasterOutputTrigger; /*!< Trigger output (TRGO) selection + This parameter can be a value of @ref TIM_Master_Mode_Selection */ + uint32_t MasterOutputTrigger2; /*!< Trigger output2 (TRGO2) selection + This parameter can be a value of @ref TIM_Master_Mode_Selection_2 */ + uint32_t MasterSlaveMode; /*!< Master/slave mode selection + This parameter can be a value of @ref TIM_Master_Slave_Mode + @note When the Master/slave mode is enabled, the effect of + an event on the trigger input (TRGI) is delayed to allow a + perfect synchronization between the current timer and its + slaves (through TRGO). It is not mandatory in case of timer + synchronization mode. */ +} TIM_MasterConfigTypeDef; + +/** + * @brief TIM Slave configuration Structure definition + */ +typedef struct +{ + uint32_t SlaveMode; /*!< Slave mode selection + This parameter can be a value of @ref TIM_Slave_Mode */ + uint32_t InputTrigger; /*!< Input Trigger source + This parameter can be a value of @ref TIM_Trigger_Selection */ + uint32_t TriggerPolarity; /*!< Input Trigger polarity + This parameter can be a value of @ref TIM_Trigger_Polarity */ + uint32_t TriggerPrescaler; /*!< Input trigger prescaler + This parameter can be a value of @ref TIM_Trigger_Prescaler */ + uint32_t TriggerFilter; /*!< Input trigger filter + This parameter can be a number between Min_Data = 0x0 and Max_Data = 0xF */ + +} TIM_SlaveConfigTypeDef; + +/** + * @brief TIM Break input(s) and Dead time configuration Structure definition + * @note 2 break inputs can be configured (BKIN and BKIN2) with configurable + * filter and polarity. + */ +typedef struct +{ + uint32_t OffStateRunMode; + + uint32_t OffStateIDLEMode; + + uint32_t LockLevel; + + uint32_t DeadTime; + + uint32_t BreakState; + + uint32_t BreakPolarity; + + uint32_t BreakFilter; + + + + + + uint32_t Break2State; + + uint32_t Break2Polarity; + + uint32_t Break2Filter; + + + + + + uint32_t AutomaticOutput; + +} TIM_BreakDeadTimeConfigTypeDef; + +/** + * @brief HAL State structures definition + */ +typedef enum +{ + HAL_TIM_STATE_RESET = 0x00U, + HAL_TIM_STATE_READY = 0x01U, + HAL_TIM_STATE_BUSY = 0x02U, + HAL_TIM_STATE_TIMEOUT = 0x03U, + HAL_TIM_STATE_ERROR = 0x04U +} HAL_TIM_StateTypeDef; + +/** + * @brief TIM Channel States definition + */ +typedef enum +{ + HAL_TIM_CHANNEL_STATE_RESET = 0x00U, + HAL_TIM_CHANNEL_STATE_READY = 0x01U, + HAL_TIM_CHANNEL_STATE_BUSY = 0x02U, +} HAL_TIM_ChannelStateTypeDef; + +/** + * @brief DMA Burst States definition + */ +typedef enum +{ + HAL_DMA_BURST_STATE_RESET = 0x00U, + HAL_DMA_BURST_STATE_READY = 0x01U, + HAL_DMA_BURST_STATE_BUSY = 0x02U, +} HAL_TIM_DMABurstStateTypeDef; + +/** + * @brief HAL Active channel structures definition + */ +typedef enum +{ + HAL_TIM_ACTIVE_CHANNEL_1 = 0x01U, + HAL_TIM_ACTIVE_CHANNEL_2 = 0x02U, + HAL_TIM_ACTIVE_CHANNEL_3 = 0x04U, + HAL_TIM_ACTIVE_CHANNEL_4 = 0x08U, + HAL_TIM_ACTIVE_CHANNEL_5 = 0x10U, + HAL_TIM_ACTIVE_CHANNEL_6 = 0x20U, + HAL_TIM_ACTIVE_CHANNEL_CLEARED = 0x00U +} HAL_TIM_ActiveChannel; + +/** + * @brief TIM Time Base Handle Structure definition + */ + + + +typedef struct + +{ + TIM_TypeDef *Instance; + TIM_Base_InitTypeDef Init; + HAL_TIM_ActiveChannel Channel; + DMA_HandleTypeDef *hdma[7]; /*!< DMA Handlers array + This array is accessed by a @ref DMA_Handle_index */ + HAL_LockTypeDef Lock; + volatile HAL_TIM_StateTypeDef State; + volatile HAL_TIM_ChannelStateTypeDef ChannelState[6]; + volatile HAL_TIM_ChannelStateTypeDef ChannelNState[4]; + volatile HAL_TIM_DMABurstStateTypeDef DMABurstState; +# 401 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_tim.h" +} TIM_HandleTypeDef; +# 446 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_tim.h" +/** + * @} + */ +/* End of exported types -----------------------------------------------------*/ + +/* Exported constants --------------------------------------------------------*/ +/** @defgroup TIM_Exported_Constants TIM Exported Constants + * @{ + */ + +/** @defgroup TIM_ClearInput_Source TIM Clear Input Source + * @{ + */ + + +/** + * @} + */ + +/** @defgroup TIM_DMA_Base_address TIM DMA Base Address + * @{ + */ +# 496 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_tim.h" +/** + * @} + */ + +/** @defgroup TIM_Event_Source TIM Event Source + * @{ + */ +# 512 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_tim.h" +/** + * @} + */ + +/** @defgroup TIM_Input_Channel_Polarity TIM Input Channel polarity + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup TIM_ETR_Polarity TIM ETR Polarity + * @{ + */ + + +/** + * @} + */ + +/** @defgroup TIM_ETR_Prescaler TIM ETR Prescaler + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup TIM_Counter_Mode TIM Counter Mode + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup TIM_Update_Interrupt_Flag_Remap TIM Update Interrupt Flag Remap + * @{ + */ + + +/** + * @} + */ + +/** @defgroup TIM_ClockDivision TIM Clock Division + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup TIM_Output_Compare_State TIM Output Compare State + * @{ + */ + + +/** + * @} + */ + +/** @defgroup TIM_AutoReloadPreload TIM Auto-Reload Preload + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup TIM_Output_Fast_State TIM Output Fast State + * @{ + */ + + +/** + * @} + */ + +/** @defgroup TIM_Output_Compare_N_State TIM Complementary Output Compare State + * @{ + */ + + +/** + * @} + */ + +/** @defgroup TIM_Output_Compare_Polarity TIM Output Compare Polarity + * @{ + */ + + +/** + * @} + */ + +/** @defgroup TIM_Output_Compare_N_Polarity TIM Complementary Output Compare Polarity + * @{ + */ + + +/** + * @} + */ + +/** @defgroup TIM_Output_Compare_Idle_State TIM Output Compare Idle State + * @{ + */ + + +/** + * @} + */ + +/** @defgroup TIM_Output_Compare_N_Idle_State TIM Complementary Output Compare Idle State + * @{ + */ + + +/** + * @} + */ + +/** @defgroup TIM_Input_Capture_Polarity TIM Input Capture Polarity + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup TIM_Encoder_Input_Polarity TIM Encoder Input Polarity + * @{ + */ + + +/** + * @} + */ + +/** @defgroup TIM_Input_Capture_Selection TIM Input Capture Selection + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup TIM_Input_Capture_Prescaler TIM Input Capture Prescaler + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup TIM_One_Pulse_Mode TIM One Pulse Mode + * @{ + */ + + +/** + * @} + */ + +/** @defgroup TIM_Encoder_Mode TIM Encoder Mode + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup TIM_Interrupt_definition TIM interrupt Definition + * @{ + */ +# 720 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_tim.h" +/** + * @} + */ + +/** @defgroup TIM_Commutation_Source TIM Commutation Source + * @{ + */ + + +/** + * @} + */ + +/** @defgroup TIM_DMA_sources TIM DMA Sources + * @{ + */ + + + + + + + +/** + * @} + */ + +/** @defgroup TIM_CC_DMA_Request CCx DMA request selection + * @{ + */ + + +/** + * @} + */ + +/** @defgroup TIM_Flag_definition TIM Flag Definition + * @{ + */ +# 775 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_tim.h" +/** + * @} + */ + +/** @defgroup TIM_Channel TIM Channel + * @{ + */ + + + + + + + +/** + * @} + */ + +/** @defgroup TIM_Clock_Source TIM Clock Source + * @{ + */ +# 811 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_tim.h" +/** + * @} + */ + +/** @defgroup TIM_Clock_Polarity TIM Clock Polarity + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup TIM_Clock_Prescaler TIM Clock Prescaler + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup TIM_ClearInput_Polarity TIM Clear Input Polarity + * @{ + */ + + +/** + * @} + */ + +/** @defgroup TIM_ClearInput_Prescaler TIM Clear Input Prescaler + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup TIM_OSSR_Off_State_Selection_for_Run_mode_state TIM OSSR OffState Selection for Run mode state + * @{ + */ + + +/** + * @} + */ + +/** @defgroup TIM_OSSI_Off_State_Selection_for_Idle_mode_state TIM OSSI OffState Selection for Idle mode state + * @{ + */ + + +/** + * @} + */ +/** @defgroup TIM_Lock_level TIM Lock level + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup TIM_Break_Input_enable_disable TIM Break Input Enable + * @{ + */ + + +/** + * @} + */ + +/** @defgroup TIM_Break_Polarity TIM Break Input Polarity + * @{ + */ + + +/** + * @} + */ +# 915 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_tim.h" +/** @defgroup TIM_Break2_Input_enable_disable TIM Break input 2 Enable + * @{ + */ + + +/** + * @} + */ + +/** @defgroup TIM_Break2_Polarity TIM Break Input 2 Polarity + * @{ + */ + + +/** + * @} + */ +# 944 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_tim.h" +/** @defgroup TIM_AOE_Bit_Set_Reset TIM Automatic Output Enable + * @{ + */ + + +/** + * @} + */ + +/** @defgroup TIM_Group_Channel5 TIM Group Channel 5 and Channel 1, 2 or 3 + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup TIM_Master_Mode_Selection TIM Master Mode Selection + * @{ + */ +# 975 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_tim.h" +/** + * @} + */ + +/** @defgroup TIM_Master_Mode_Selection_2 TIM Master Mode Selection 2 (TRGO2) + * @{ + */ +# 998 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_tim.h" +/** + * @} + */ + +/** @defgroup TIM_Master_Slave_Mode TIM Master/Slave Mode + * @{ + */ + + +/** + * @} + */ + +/** @defgroup TIM_Slave_Mode TIM Slave mode + * @{ + */ + + + + + + +/** + * @} + */ + +/** @defgroup TIM_Output_Compare_and_PWM_modes TIM Output Compare and PWM Modes + * @{ + */ +# 1041 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_tim.h" +/** + * @} + */ + +/** @defgroup TIM_Trigger_Selection TIM Trigger Selection + * @{ + */ +# 1067 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_tim.h" +/** + * @} + */ + +/** @defgroup TIM_Trigger_Polarity TIM Trigger Polarity + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup TIM_Trigger_Prescaler TIM Trigger Prescaler + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup TIM_TI1_Selection TIM TI1 Input Selection + * @{ + */ + + +/** + * @} + */ + +/** @defgroup TIM_DMA_Burst_Length TIM DMA Burst Length + * @{ + */ +# 1124 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_tim.h" +/** + * @} + */ + +/** @defgroup DMA_Handle_index TIM DMA Handle Index + * @{ + */ + + + + + + + +/** + * @} + */ + +/** @defgroup Channel_CC_State TIM Capture/Compare Channel State + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup TIM_Break_System TIM Break System + * @{ + */ + + + + +/** + * @} + */ + +/** + * @} + */ +/* End of exported constants -------------------------------------------------*/ + +/* Exported macros -----------------------------------------------------------*/ +/** @defgroup TIM_Exported_Macros TIM Exported Macros + * @{ + */ + +/** @brief Reset TIM handle state. + * @param __HANDLE__ TIM handle. + * @retval None + */ +# 1224 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_tim.h" +/** + * @brief Enable the TIM peripheral. + * @param __HANDLE__ TIM handle + * @retval None + */ + + +/** + * @brief Enable the TIM main Output. + * @param __HANDLE__ TIM handle + * @retval None + */ + + +/** + * @brief Disable the TIM peripheral. + * @param __HANDLE__ TIM handle + * @retval None + */ +# 1254 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_tim.h" +/** + * @brief Disable the TIM main Output. + * @param __HANDLE__ TIM handle + * @retval None + * @note The Main Output Enable of a timer instance is disabled only if all the CCx and CCxN channels have been + * disabled + */ +# 1272 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_tim.h" +/** + * @brief Disable the TIM main Output. + * @param __HANDLE__ TIM handle + * @retval None + * @note The Main Output Enable of a timer instance is disabled unconditionally + */ + + +/** @brief Enable the specified TIM interrupt. + * @param __HANDLE__ specifies the TIM Handle. + * @param __INTERRUPT__ specifies the TIM interrupt source to enable. + * This parameter can be one of the following values: + * @arg TIM_IT_UPDATE: Update interrupt + * @arg TIM_IT_CC1: Capture/Compare 1 interrupt + * @arg TIM_IT_CC2: Capture/Compare 2 interrupt + * @arg TIM_IT_CC3: Capture/Compare 3 interrupt + * @arg TIM_IT_CC4: Capture/Compare 4 interrupt + * @arg TIM_IT_COM: Commutation interrupt + * @arg TIM_IT_TRIGGER: Trigger interrupt + * @arg TIM_IT_BREAK: Break interrupt + * @retval None + */ + + +/** @brief Disable the specified TIM interrupt. + * @param __HANDLE__ specifies the TIM Handle. + * @param __INTERRUPT__ specifies the TIM interrupt source to disable. + * This parameter can be one of the following values: + * @arg TIM_IT_UPDATE: Update interrupt + * @arg TIM_IT_CC1: Capture/Compare 1 interrupt + * @arg TIM_IT_CC2: Capture/Compare 2 interrupt + * @arg TIM_IT_CC3: Capture/Compare 3 interrupt + * @arg TIM_IT_CC4: Capture/Compare 4 interrupt + * @arg TIM_IT_COM: Commutation interrupt + * @arg TIM_IT_TRIGGER: Trigger interrupt + * @arg TIM_IT_BREAK: Break interrupt + * @retval None + */ + + +/** @brief Enable the specified DMA request. + * @param __HANDLE__ specifies the TIM Handle. + * @param __DMA__ specifies the TIM DMA request to enable. + * This parameter can be one of the following values: + * @arg TIM_DMA_UPDATE: Update DMA request + * @arg TIM_DMA_CC1: Capture/Compare 1 DMA request + * @arg TIM_DMA_CC2: Capture/Compare 2 DMA request + * @arg TIM_DMA_CC3: Capture/Compare 3 DMA request + * @arg TIM_DMA_CC4: Capture/Compare 4 DMA request + * @arg TIM_DMA_COM: Commutation DMA request + * @arg TIM_DMA_TRIGGER: Trigger DMA request + * @retval None + */ + + +/** @brief Disable the specified DMA request. + * @param __HANDLE__ specifies the TIM Handle. + * @param __DMA__ specifies the TIM DMA request to disable. + * This parameter can be one of the following values: + * @arg TIM_DMA_UPDATE: Update DMA request + * @arg TIM_DMA_CC1: Capture/Compare 1 DMA request + * @arg TIM_DMA_CC2: Capture/Compare 2 DMA request + * @arg TIM_DMA_CC3: Capture/Compare 3 DMA request + * @arg TIM_DMA_CC4: Capture/Compare 4 DMA request + * @arg TIM_DMA_COM: Commutation DMA request + * @arg TIM_DMA_TRIGGER: Trigger DMA request + * @retval None + */ + + +/** @brief Check whether the specified TIM interrupt flag is set or not. + * @param __HANDLE__ specifies the TIM Handle. + * @param __FLAG__ specifies the TIM interrupt flag to check. + * This parameter can be one of the following values: + * @arg TIM_FLAG_UPDATE: Update interrupt flag + * @arg TIM_FLAG_CC1: Capture/Compare 1 interrupt flag + * @arg TIM_FLAG_CC2: Capture/Compare 2 interrupt flag + * @arg TIM_FLAG_CC3: Capture/Compare 3 interrupt flag + * @arg TIM_FLAG_CC4: Capture/Compare 4 interrupt flag + * @arg TIM_FLAG_CC5: Compare 5 interrupt flag + * @arg TIM_FLAG_CC6: Compare 6 interrupt flag + * @arg TIM_FLAG_COM: Commutation interrupt flag + * @arg TIM_FLAG_TRIGGER: Trigger interrupt flag + * @arg TIM_FLAG_BREAK: Break interrupt flag + * @arg TIM_FLAG_BREAK2: Break 2 interrupt flag + * @arg TIM_FLAG_SYSTEM_BREAK: System Break interrupt flag + * @arg TIM_FLAG_CC1OF: Capture/Compare 1 overcapture flag + * @arg TIM_FLAG_CC2OF: Capture/Compare 2 overcapture flag + * @arg TIM_FLAG_CC3OF: Capture/Compare 3 overcapture flag + * @arg TIM_FLAG_CC4OF: Capture/Compare 4 overcapture flag + * @retval The new state of __FLAG__ (TRUE or FALSE). + */ + + +/** @brief Clear the specified TIM interrupt flag. + * @param __HANDLE__ specifies the TIM Handle. + * @param __FLAG__ specifies the TIM interrupt flag to clear. + * This parameter can be one of the following values: + * @arg TIM_FLAG_UPDATE: Update interrupt flag + * @arg TIM_FLAG_CC1: Capture/Compare 1 interrupt flag + * @arg TIM_FLAG_CC2: Capture/Compare 2 interrupt flag + * @arg TIM_FLAG_CC3: Capture/Compare 3 interrupt flag + * @arg TIM_FLAG_CC4: Capture/Compare 4 interrupt flag + * @arg TIM_FLAG_CC5: Compare 5 interrupt flag + * @arg TIM_FLAG_CC6: Compare 6 interrupt flag + * @arg TIM_FLAG_COM: Commutation interrupt flag + * @arg TIM_FLAG_TRIGGER: Trigger interrupt flag + * @arg TIM_FLAG_BREAK: Break interrupt flag + * @arg TIM_FLAG_BREAK2: Break 2 interrupt flag + * @arg TIM_FLAG_SYSTEM_BREAK: System Break interrupt flag + * @arg TIM_FLAG_CC1OF: Capture/Compare 1 overcapture flag + * @arg TIM_FLAG_CC2OF: Capture/Compare 2 overcapture flag + * @arg TIM_FLAG_CC3OF: Capture/Compare 3 overcapture flag + * @arg TIM_FLAG_CC4OF: Capture/Compare 4 overcapture flag + * @retval The new state of __FLAG__ (TRUE or FALSE). + */ + + +/** + * @brief Check whether the specified TIM interrupt source is enabled or not. + * @param __HANDLE__ TIM handle + * @param __INTERRUPT__ specifies the TIM interrupt source to check. + * This parameter can be one of the following values: + * @arg TIM_IT_UPDATE: Update interrupt + * @arg TIM_IT_CC1: Capture/Compare 1 interrupt + * @arg TIM_IT_CC2: Capture/Compare 2 interrupt + * @arg TIM_IT_CC3: Capture/Compare 3 interrupt + * @arg TIM_IT_CC4: Capture/Compare 4 interrupt + * @arg TIM_IT_COM: Commutation interrupt + * @arg TIM_IT_TRIGGER: Trigger interrupt + * @arg TIM_IT_BREAK: Break interrupt + * @retval The state of TIM_IT (SET or RESET). + */ + + + +/** @brief Clear the TIM interrupt pending bits. + * @param __HANDLE__ TIM handle + * @param __INTERRUPT__ specifies the interrupt pending bit to clear. + * This parameter can be one of the following values: + * @arg TIM_IT_UPDATE: Update interrupt + * @arg TIM_IT_CC1: Capture/Compare 1 interrupt + * @arg TIM_IT_CC2: Capture/Compare 2 interrupt + * @arg TIM_IT_CC3: Capture/Compare 3 interrupt + * @arg TIM_IT_CC4: Capture/Compare 4 interrupt + * @arg TIM_IT_COM: Commutation interrupt + * @arg TIM_IT_TRIGGER: Trigger interrupt + * @arg TIM_IT_BREAK: Break interrupt + * @retval None + */ + + +/** + * @brief Force a continuous copy of the update interrupt flag (UIF) into the timer counter register (bit 31). + * @note This allows both the counter value and a potential roll-over condition signalled by the UIFCPY flag to be read + * in an atomic way. + * @param __HANDLE__ TIM handle. + * @retval None +mode. + */ + + +/** + * @brief Disable update interrupt flag (UIF) remapping. + * @param __HANDLE__ TIM handle. + * @retval None +mode. + */ + + +/** + * @brief Get update interrupt flag (UIF) copy status. + * @param __COUNTER__ Counter value. + * @retval The state of UIFCPY (TRUE or FALSE). +mode. + */ + + +/** + * @brief Indicates whether or not the TIM Counter is used as downcounter. + * @param __HANDLE__ TIM handle. + * @retval False (Counter used as upcounter) or True (Counter used as downcounter) + * @note This macro is particularly useful to get the counting mode when the timer operates in Center-aligned mode + * or Encoder mode. + */ + + +/** + * @brief Set the TIM Prescaler on runtime. + * @param __HANDLE__ TIM handle. + * @param __PRESC__ specifies the Prescaler new value. + * @retval None + */ + + +/** + * @brief Set the TIM Counter Register value on runtime. + * Note Please check if the bit 31 of CNT register is used as UIF copy or not, this may affect the counter range in + * case of 32 bits counter TIM instance. + * Bit 31 of CNT can be enabled/disabled using __HAL_TIM_UIFREMAP_ENABLE()/__HAL_TIM_UIFREMAP_DISABLE() macros. + * @param __HANDLE__ TIM handle. + * @param __COUNTER__ specifies the Counter register new value. + * @retval None + */ + + +/** + * @brief Get the TIM Counter Register value on runtime. + * @param __HANDLE__ TIM handle. + * @retval 16-bit or 32-bit value of the timer counter register (TIMx_CNT) + */ + + +/** + * @brief Set the TIM Autoreload Register value on runtime without calling another time any Init function. + * @param __HANDLE__ TIM handle. + * @param __AUTORELOAD__ specifies the Counter register new value. + * @retval None + */ + + + + + + +/** + * @brief Get the TIM Autoreload Register value on runtime. + * @param __HANDLE__ TIM handle. + * @retval 16-bit or 32-bit value of the timer auto-reload register(TIMx_ARR) + */ + + +/** + * @brief Set the TIM Clock Division value on runtime without calling another time any Init function. + * @param __HANDLE__ TIM handle. + * @param __CKD__ specifies the clock division value. + * This parameter can be one of the following value: + * @arg TIM_CLOCKDIVISION_DIV1: tDTS=tCK_INT + * @arg TIM_CLOCKDIVISION_DIV2: tDTS=2*tCK_INT + * @arg TIM_CLOCKDIVISION_DIV4: tDTS=4*tCK_INT + * @retval None + */ + + + + + + + +/** + * @brief Get the TIM Clock Division value on runtime. + * @param __HANDLE__ TIM handle. + * @retval The clock division can be one of the following values: + * @arg TIM_CLOCKDIVISION_DIV1: tDTS=tCK_INT + * @arg TIM_CLOCKDIVISION_DIV2: tDTS=2*tCK_INT + * @arg TIM_CLOCKDIVISION_DIV4: tDTS=4*tCK_INT + */ + + +/** + * @brief Set the TIM Input Capture prescaler on runtime without calling another time HAL_TIM_IC_ConfigChannel() + * function. + * @param __HANDLE__ TIM handle. + * @param __CHANNEL__ TIM Channels to be configured. + * This parameter can be one of the following values: + * @arg TIM_CHANNEL_1: TIM Channel 1 selected + * @arg TIM_CHANNEL_2: TIM Channel 2 selected + * @arg TIM_CHANNEL_3: TIM Channel 3 selected + * @arg TIM_CHANNEL_4: TIM Channel 4 selected + * @param __ICPSC__ specifies the Input Capture4 prescaler new value. + * This parameter can be one of the following values: + * @arg TIM_ICPSC_DIV1: no prescaler + * @arg TIM_ICPSC_DIV2: capture is done once every 2 events + * @arg TIM_ICPSC_DIV4: capture is done once every 4 events + * @arg TIM_ICPSC_DIV8: capture is done once every 8 events + * @retval None + */ + + + + + + +/** + * @brief Get the TIM Input Capture prescaler on runtime. + * @param __HANDLE__ TIM handle. + * @param __CHANNEL__ TIM Channels to be configured. + * This parameter can be one of the following values: + * @arg TIM_CHANNEL_1: get input capture 1 prescaler value + * @arg TIM_CHANNEL_2: get input capture 2 prescaler value + * @arg TIM_CHANNEL_3: get input capture 3 prescaler value + * @arg TIM_CHANNEL_4: get input capture 4 prescaler value + * @retval The input capture prescaler can be one of the following values: + * @arg TIM_ICPSC_DIV1: no prescaler + * @arg TIM_ICPSC_DIV2: capture is done once every 2 events + * @arg TIM_ICPSC_DIV4: capture is done once every 4 events + * @arg TIM_ICPSC_DIV8: capture is done once every 8 events + */ + + + + + + +/** + * @brief Set the TIM Capture Compare Register value on runtime without calling another time ConfigChannel function. + * @param __HANDLE__ TIM handle. + * @param __CHANNEL__ TIM Channels to be configured. + * This parameter can be one of the following values: + * @arg TIM_CHANNEL_1: TIM Channel 1 selected + * @arg TIM_CHANNEL_2: TIM Channel 2 selected + * @arg TIM_CHANNEL_3: TIM Channel 3 selected + * @arg TIM_CHANNEL_4: TIM Channel 4 selected + * @arg TIM_CHANNEL_5: TIM Channel 5 selected + * @arg TIM_CHANNEL_6: TIM Channel 6 selected + * @param __COMPARE__ specifies the Capture Compare register new value. + * @retval None + */ +# 1598 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_tim.h" +/** + * @brief Get the TIM Capture Compare Register value on runtime. + * @param __HANDLE__ TIM handle. + * @param __CHANNEL__ TIM Channel associated with the capture compare register + * This parameter can be one of the following values: + * @arg TIM_CHANNEL_1: get capture/compare 1 register value + * @arg TIM_CHANNEL_2: get capture/compare 2 register value + * @arg TIM_CHANNEL_3: get capture/compare 3 register value + * @arg TIM_CHANNEL_4: get capture/compare 4 register value + * @arg TIM_CHANNEL_5: get capture/compare 5 register value + * @arg TIM_CHANNEL_6: get capture/compare 6 register value + * @retval 16-bit or 32-bit value of the capture/compare register (TIMx_CCRy) + */ +# 1619 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_tim.h" +/** + * @brief Set the TIM Output compare preload. + * @param __HANDLE__ TIM handle. + * @param __CHANNEL__ TIM Channels to be configured. + * This parameter can be one of the following values: + * @arg TIM_CHANNEL_1: TIM Channel 1 selected + * @arg TIM_CHANNEL_2: TIM Channel 2 selected + * @arg TIM_CHANNEL_3: TIM Channel 3 selected + * @arg TIM_CHANNEL_4: TIM Channel 4 selected + * @arg TIM_CHANNEL_5: TIM Channel 5 selected + * @arg TIM_CHANNEL_6: TIM Channel 6 selected + * @retval None + */ +# 1640 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_tim.h" +/** + * @brief Reset the TIM Output compare preload. + * @param __HANDLE__ TIM handle. + * @param __CHANNEL__ TIM Channels to be configured. + * This parameter can be one of the following values: + * @arg TIM_CHANNEL_1: TIM Channel 1 selected + * @arg TIM_CHANNEL_2: TIM Channel 2 selected + * @arg TIM_CHANNEL_3: TIM Channel 3 selected + * @arg TIM_CHANNEL_4: TIM Channel 4 selected + * @arg TIM_CHANNEL_5: TIM Channel 5 selected + * @arg TIM_CHANNEL_6: TIM Channel 6 selected + * @retval None + */ +# 1661 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_tim.h" +/** + * @brief Enable fast mode for a given channel. + * @param __HANDLE__ TIM handle. + * @param __CHANNEL__ TIM Channels to be configured. + * This parameter can be one of the following values: + * @arg TIM_CHANNEL_1: TIM Channel 1 selected + * @arg TIM_CHANNEL_2: TIM Channel 2 selected + * @arg TIM_CHANNEL_3: TIM Channel 3 selected + * @arg TIM_CHANNEL_4: TIM Channel 4 selected + * @arg TIM_CHANNEL_5: TIM Channel 5 selected + * @arg TIM_CHANNEL_6: TIM Channel 6 selected + * @note When fast mode is enabled an active edge on the trigger input acts + * like a compare match on CCx output. Delay to sample the trigger + * input and to activate CCx output is reduced to 3 clock cycles. + * @note Fast mode acts only if the channel is configured in PWM1 or PWM2 mode. + * @retval None + */ +# 1686 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_tim.h" +/** + * @brief Disable fast mode for a given channel. + * @param __HANDLE__ TIM handle. + * @param __CHANNEL__ TIM Channels to be configured. + * This parameter can be one of the following values: + * @arg TIM_CHANNEL_1: TIM Channel 1 selected + * @arg TIM_CHANNEL_2: TIM Channel 2 selected + * @arg TIM_CHANNEL_3: TIM Channel 3 selected + * @arg TIM_CHANNEL_4: TIM Channel 4 selected + * @arg TIM_CHANNEL_5: TIM Channel 5 selected + * @arg TIM_CHANNEL_6: TIM Channel 6 selected + * @note When fast mode is disabled CCx output behaves normally depending + * on counter and CCRx values even when the trigger is ON. The minimum + * delay to activate CCx output when an active edge occurs on the + * trigger input is 5 clock cycles. + * @retval None + */ +# 1711 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_tim.h" +/** + * @brief Set the Update Request Source (URS) bit of the TIMx_CR1 register. + * @param __HANDLE__ TIM handle. + * @note When the URS bit of the TIMx_CR1 register is set, only counter + * overflow/underflow generates an update interrupt or DMA request (if + * enabled) + * @retval None + */ + + +/** + * @brief Reset the Update Request Source (URS) bit of the TIMx_CR1 register. + * @param __HANDLE__ TIM handle. + * @note When the URS bit of the TIMx_CR1 register is reset, any of the + * following events generate an update interrupt or DMA request (if + * enabled): + * _ Counter overflow underflow + * _ Setting the UG bit + * _ Update generation through the slave mode controller + * @retval None + */ + + +/** + * @brief Set the TIM Capture x input polarity on runtime. + * @param __HANDLE__ TIM handle. + * @param __CHANNEL__ TIM Channels to be configured. + * This parameter can be one of the following values: + * @arg TIM_CHANNEL_1: TIM Channel 1 selected + * @arg TIM_CHANNEL_2: TIM Channel 2 selected + * @arg TIM_CHANNEL_3: TIM Channel 3 selected + * @arg TIM_CHANNEL_4: TIM Channel 4 selected + * @param __POLARITY__ Polarity for TIx source + * @arg TIM_INPUTCHANNELPOLARITY_RISING: Rising Edge + * @arg TIM_INPUTCHANNELPOLARITY_FALLING: Falling Edge + * @arg TIM_INPUTCHANNELPOLARITY_BOTHEDGE: Rising and Falling Edge + * @retval None + */ + + + + + + +/** @brief Select the Capture/compare DMA request source. + * @param __HANDLE__ specifies the TIM Handle. + * @param __CCDMA__ specifies Capture/compare DMA request source + * This parameter can be one of the following values: + * @arg TIM_CCDMAREQUEST_CC: CCx DMA request generated on Capture/Compare event + * @arg TIM_CCDMAREQUEST_UPDATE: CCx DMA request generated on Update event + * @retval None + */ + + + +/** + * @} + */ +/* End of exported macros ----------------------------------------------------*/ + +/* Private constants ---------------------------------------------------------*/ +/** @defgroup TIM_Private_Constants TIM Private Constants + * @{ + */ +/* The counter of a timer instance is disabled only if all the CCx and CCxN + channels have been disabled */ + + +/** + * @} + */ +/* End of private constants --------------------------------------------------*/ + +/* Private macros ------------------------------------------------------------*/ +/** @defgroup TIM_Private_Macros TIM Private Macros + * @{ + */ +# 2183 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_tim.h" +/** + * @} + */ +/* End of private macros -----------------------------------------------------*/ + +/* Include TIM HAL Extended module */ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_tim_ex.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_tim_ex.h + * @author MCD Application Team + * @brief Header file of TIM HAL Extended module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_tim_ex.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup TIMEx + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/** @defgroup TIMEx_Exported_Types TIM Extended Exported Types + * @{ + */ + +/** + * @brief TIM Hall sensor Configuration Structure definition + */ + +typedef struct +{ + uint32_t IC1Polarity; /*!< Specifies the active edge of the input signal. + This parameter can be a value of @ref TIM_Input_Capture_Polarity */ + + uint32_t IC1Prescaler; /*!< Specifies the Input Capture Prescaler. + This parameter can be a value of @ref TIM_Input_Capture_Prescaler */ + + uint32_t IC1Filter; /*!< Specifies the input capture filter. + This parameter can be a number between Min_Data = 0x0 and Max_Data = 0xF */ + + uint32_t Commutation_Delay; /*!< Specifies the pulse value to be loaded into the Capture Compare Register. + This parameter can be a number between Min_Data = 0x0000 and Max_Data = 0xFFFF */ +} TIM_HallSensor_InitTypeDef; + + +/** + * @brief TIM Break/Break2 input configuration + */ +typedef struct +{ + uint32_t Source; /*!< Specifies the source of the timer break input. + This parameter can be a value of @ref TIMEx_Break_Input_Source */ + uint32_t Enable; /*!< Specifies whether or not the break input source is enabled. + This parameter can be a value of @ref TIMEx_Break_Input_Source_Enable */ + uint32_t Polarity; /*!< Specifies the break input source polarity. + This parameter can be a value of @ref TIMEx_Break_Input_Source_Polarity + Not relevant when analog watchdog output of the DFSDM1 used as break input source */ +} TIMEx_BreakInputConfigTypeDef; + + +/** + * @} + */ +/* End of exported types -----------------------------------------------------*/ + +/* Exported constants --------------------------------------------------------*/ +/** @defgroup TIMEx_Exported_Constants TIM Extended Exported Constants + * @{ + */ + +/** @defgroup TIMEx_Remap TIM Extended Remapping + * @{ + */ +# 136 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_tim_ex.h" +/** + * @} + */ + + +/** @defgroup TIMEx_Break_Input TIM Extended Break input + * @{ + */ + + +/** + * @} + */ + +/** @defgroup TIMEx_Break_Input_Source TIM Extended Break input source + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup TIMEx_Break_Input_Source_Enable TIM Extended Break input source enabling + * @{ + */ + + +/** + * @} + */ + +/** @defgroup TIMEx_Break_Input_Source_Polarity TIM Extended Break input polarity + * @{ + */ + + +/** + * @} + */ + + +/** @defgroup TIMEx_Timer_Input_Selection TIM Extended Timer input selection + * @{ + */ +# 238 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_tim_ex.h" +/** + * @} + */ + +/** + * @} + */ +/* End of exported constants -------------------------------------------------*/ + +/* Exported macro ------------------------------------------------------------*/ +/** @defgroup TIMEx_Exported_Macros TIM Extended Exported Macros + * @{ + */ + +/** + * @} + */ +/* End of exported macro -----------------------------------------------------*/ + +/* Private macro -------------------------------------------------------------*/ +/** @defgroup TIMEx_Private_Macros TIM Extended Private Macros + * @{ + */ +# 358 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_tim_ex.h" +/** + * @} + */ +/* End of private macro ------------------------------------------------------*/ + +/* Exported functions --------------------------------------------------------*/ +/** @addtogroup TIMEx_Exported_Functions TIM Extended Exported Functions + * @{ + */ + +/** @addtogroup TIMEx_Exported_Functions_Group1 Extended Timer Hall Sensor functions + * @brief Timer Hall Sensor functions + * @{ + */ +/* Timer Hall Sensor functions **********************************************/ +HAL_StatusTypeDef HAL_TIMEx_HallSensor_Init(TIM_HandleTypeDef *htim, const TIM_HallSensor_InitTypeDef *sConfig); +HAL_StatusTypeDef HAL_TIMEx_HallSensor_DeInit(TIM_HandleTypeDef *htim); + +void HAL_TIMEx_HallSensor_MspInit(TIM_HandleTypeDef *htim); +void HAL_TIMEx_HallSensor_MspDeInit(TIM_HandleTypeDef *htim); + +/* Blocking mode: Polling */ +HAL_StatusTypeDef HAL_TIMEx_HallSensor_Start(TIM_HandleTypeDef *htim); +HAL_StatusTypeDef HAL_TIMEx_HallSensor_Stop(TIM_HandleTypeDef *htim); +/* Non-Blocking mode: Interrupt */ +HAL_StatusTypeDef HAL_TIMEx_HallSensor_Start_IT(TIM_HandleTypeDef *htim); +HAL_StatusTypeDef HAL_TIMEx_HallSensor_Stop_IT(TIM_HandleTypeDef *htim); +/* Non-Blocking mode: DMA */ +HAL_StatusTypeDef HAL_TIMEx_HallSensor_Start_DMA(TIM_HandleTypeDef *htim, uint32_t *pData, uint16_t Length); +HAL_StatusTypeDef HAL_TIMEx_HallSensor_Stop_DMA(TIM_HandleTypeDef *htim); +/** + * @} + */ + +/** @addtogroup TIMEx_Exported_Functions_Group2 Extended Timer Complementary Output Compare functions + * @brief Timer Complementary Output Compare functions + * @{ + */ +/* Timer Complementary Output Compare functions *****************************/ +/* Blocking mode: Polling */ +HAL_StatusTypeDef HAL_TIMEx_OCN_Start(TIM_HandleTypeDef *htim, uint32_t Channel); +HAL_StatusTypeDef HAL_TIMEx_OCN_Stop(TIM_HandleTypeDef *htim, uint32_t Channel); + +/* Non-Blocking mode: Interrupt */ +HAL_StatusTypeDef HAL_TIMEx_OCN_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel); +HAL_StatusTypeDef HAL_TIMEx_OCN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel); + +/* Non-Blocking mode: DMA */ +HAL_StatusTypeDef HAL_TIMEx_OCN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, const uint32_t *pData, + uint16_t Length); +HAL_StatusTypeDef HAL_TIMEx_OCN_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel); +/** + * @} + */ + +/** @addtogroup TIMEx_Exported_Functions_Group3 Extended Timer Complementary PWM functions + * @brief Timer Complementary PWM functions + * @{ + */ +/* Timer Complementary PWM functions ****************************************/ +/* Blocking mode: Polling */ +HAL_StatusTypeDef HAL_TIMEx_PWMN_Start(TIM_HandleTypeDef *htim, uint32_t Channel); +HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop(TIM_HandleTypeDef *htim, uint32_t Channel); + +/* Non-Blocking mode: Interrupt */ +HAL_StatusTypeDef HAL_TIMEx_PWMN_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel); +HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel); +/* Non-Blocking mode: DMA */ +HAL_StatusTypeDef HAL_TIMEx_PWMN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, const uint32_t *pData, + uint16_t Length); +HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel); +/** + * @} + */ + +/** @addtogroup TIMEx_Exported_Functions_Group4 Extended Timer Complementary One Pulse functions + * @brief Timer Complementary One Pulse functions + * @{ + */ +/* Timer Complementary One Pulse functions **********************************/ +/* Blocking mode: Polling */ +HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Start(TIM_HandleTypeDef *htim, uint32_t OutputChannel); +HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Stop(TIM_HandleTypeDef *htim, uint32_t OutputChannel); + +/* Non-Blocking mode: Interrupt */ +HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Start_IT(TIM_HandleTypeDef *htim, uint32_t OutputChannel); +HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t OutputChannel); +/** + * @} + */ + +/** @addtogroup TIMEx_Exported_Functions_Group5 Extended Peripheral Control functions + * @brief Peripheral Control functions + * @{ + */ +/* Extended Control functions ************************************************/ +HAL_StatusTypeDef HAL_TIMEx_ConfigCommutEvent(TIM_HandleTypeDef *htim, uint32_t InputTrigger, + uint32_t CommutationSource); +HAL_StatusTypeDef HAL_TIMEx_ConfigCommutEvent_IT(TIM_HandleTypeDef *htim, uint32_t InputTrigger, + uint32_t CommutationSource); +HAL_StatusTypeDef HAL_TIMEx_ConfigCommutEvent_DMA(TIM_HandleTypeDef *htim, uint32_t InputTrigger, + uint32_t CommutationSource); +HAL_StatusTypeDef HAL_TIMEx_MasterConfigSynchronization(TIM_HandleTypeDef *htim, + const TIM_MasterConfigTypeDef *sMasterConfig); +HAL_StatusTypeDef HAL_TIMEx_ConfigBreakDeadTime(TIM_HandleTypeDef *htim, + const TIM_BreakDeadTimeConfigTypeDef *sBreakDeadTimeConfig); + +HAL_StatusTypeDef HAL_TIMEx_ConfigBreakInput(TIM_HandleTypeDef *htim, uint32_t BreakInput, + const TIMEx_BreakInputConfigTypeDef *sBreakInputConfig); + +HAL_StatusTypeDef HAL_TIMEx_GroupChannel5(TIM_HandleTypeDef *htim, uint32_t Channels); +HAL_StatusTypeDef HAL_TIMEx_RemapConfig(TIM_HandleTypeDef *htim, uint32_t Remap); +HAL_StatusTypeDef HAL_TIMEx_TISelection(TIM_HandleTypeDef *htim, uint32_t TISelection, uint32_t Channel); + + + + + +/** + * @} + */ + +/** @addtogroup TIMEx_Exported_Functions_Group6 Extended Callbacks functions + * @brief Extended Callbacks functions + * @{ + */ +/* Extended Callback **********************************************************/ +void HAL_TIMEx_CommutCallback(TIM_HandleTypeDef *htim); +void HAL_TIMEx_CommutHalfCpltCallback(TIM_HandleTypeDef *htim); +void HAL_TIMEx_BreakCallback(TIM_HandleTypeDef *htim); +void HAL_TIMEx_Break2Callback(TIM_HandleTypeDef *htim); +/** + * @} + */ + +/** @addtogroup TIMEx_Exported_Functions_Group7 Extended Peripheral State functions + * @brief Extended Peripheral State functions + * @{ + */ +/* Extended Peripheral State functions ***************************************/ +HAL_TIM_StateTypeDef HAL_TIMEx_HallSensor_GetState(const TIM_HandleTypeDef *htim); +HAL_TIM_ChannelStateTypeDef HAL_TIMEx_GetChannelNState(const TIM_HandleTypeDef *htim, uint32_t ChannelN); +/** + * @} + */ + +/** + * @} + */ +/* End of exported functions -------------------------------------------------*/ + +/* Private functions----------------------------------------------------------*/ +/** @addtogroup TIMEx_Private_Functions TIM Extended Private Functions + * @{ + */ +void TIMEx_DMACommutationCplt(DMA_HandleTypeDef *hdma); +void TIMEx_DMACommutationHalfCplt(DMA_HandleTypeDef *hdma); +/** + * @} + */ +/* End of private functions --------------------------------------------------*/ + +/** + * @} + */ + +/** + * @} + */ + + +} +# 2190 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_tim.h" 2 + +/* Exported functions --------------------------------------------------------*/ +/** @addtogroup TIM_Exported_Functions TIM Exported Functions + * @{ + */ + +/** @addtogroup TIM_Exported_Functions_Group1 TIM Time Base functions + * @brief Time Base functions + * @{ + */ +/* Time Base functions ********************************************************/ +HAL_StatusTypeDef HAL_TIM_Base_Init(TIM_HandleTypeDef *htim); +HAL_StatusTypeDef HAL_TIM_Base_DeInit(TIM_HandleTypeDef *htim); +void HAL_TIM_Base_MspInit(TIM_HandleTypeDef *htim); +void HAL_TIM_Base_MspDeInit(TIM_HandleTypeDef *htim); +/* Blocking mode: Polling */ +HAL_StatusTypeDef HAL_TIM_Base_Start(TIM_HandleTypeDef *htim); +HAL_StatusTypeDef HAL_TIM_Base_Stop(TIM_HandleTypeDef *htim); +/* Non-Blocking mode: Interrupt */ +HAL_StatusTypeDef HAL_TIM_Base_Start_IT(TIM_HandleTypeDef *htim); +HAL_StatusTypeDef HAL_TIM_Base_Stop_IT(TIM_HandleTypeDef *htim); +/* Non-Blocking mode: DMA */ +HAL_StatusTypeDef HAL_TIM_Base_Start_DMA(TIM_HandleTypeDef *htim, const uint32_t *pData, uint16_t Length); +HAL_StatusTypeDef HAL_TIM_Base_Stop_DMA(TIM_HandleTypeDef *htim); +/** + * @} + */ + +/** @addtogroup TIM_Exported_Functions_Group2 TIM Output Compare functions + * @brief TIM Output Compare functions + * @{ + */ +/* Timer Output Compare functions *********************************************/ +HAL_StatusTypeDef HAL_TIM_OC_Init(TIM_HandleTypeDef *htim); +HAL_StatusTypeDef HAL_TIM_OC_DeInit(TIM_HandleTypeDef *htim); +void HAL_TIM_OC_MspInit(TIM_HandleTypeDef *htim); +void HAL_TIM_OC_MspDeInit(TIM_HandleTypeDef *htim); +/* Blocking mode: Polling */ +HAL_StatusTypeDef HAL_TIM_OC_Start(TIM_HandleTypeDef *htim, uint32_t Channel); +HAL_StatusTypeDef HAL_TIM_OC_Stop(TIM_HandleTypeDef *htim, uint32_t Channel); +/* Non-Blocking mode: Interrupt */ +HAL_StatusTypeDef HAL_TIM_OC_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel); +HAL_StatusTypeDef HAL_TIM_OC_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel); +/* Non-Blocking mode: DMA */ +HAL_StatusTypeDef HAL_TIM_OC_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, const uint32_t *pData, + uint16_t Length); +HAL_StatusTypeDef HAL_TIM_OC_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel); +/** + * @} + */ + +/** @addtogroup TIM_Exported_Functions_Group3 TIM PWM functions + * @brief TIM PWM functions + * @{ + */ +/* Timer PWM functions ********************************************************/ +HAL_StatusTypeDef HAL_TIM_PWM_Init(TIM_HandleTypeDef *htim); +HAL_StatusTypeDef HAL_TIM_PWM_DeInit(TIM_HandleTypeDef *htim); +void HAL_TIM_PWM_MspInit(TIM_HandleTypeDef *htim); +void HAL_TIM_PWM_MspDeInit(TIM_HandleTypeDef *htim); +/* Blocking mode: Polling */ +HAL_StatusTypeDef HAL_TIM_PWM_Start(TIM_HandleTypeDef *htim, uint32_t Channel); +HAL_StatusTypeDef HAL_TIM_PWM_Stop(TIM_HandleTypeDef *htim, uint32_t Channel); +/* Non-Blocking mode: Interrupt */ +HAL_StatusTypeDef HAL_TIM_PWM_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel); +HAL_StatusTypeDef HAL_TIM_PWM_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel); +/* Non-Blocking mode: DMA */ +HAL_StatusTypeDef HAL_TIM_PWM_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, const uint32_t *pData, + uint16_t Length); +HAL_StatusTypeDef HAL_TIM_PWM_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel); +/** + * @} + */ + +/** @addtogroup TIM_Exported_Functions_Group4 TIM Input Capture functions + * @brief TIM Input Capture functions + * @{ + */ +/* Timer Input Capture functions **********************************************/ +HAL_StatusTypeDef HAL_TIM_IC_Init(TIM_HandleTypeDef *htim); +HAL_StatusTypeDef HAL_TIM_IC_DeInit(TIM_HandleTypeDef *htim); +void HAL_TIM_IC_MspInit(TIM_HandleTypeDef *htim); +void HAL_TIM_IC_MspDeInit(TIM_HandleTypeDef *htim); +/* Blocking mode: Polling */ +HAL_StatusTypeDef HAL_TIM_IC_Start(TIM_HandleTypeDef *htim, uint32_t Channel); +HAL_StatusTypeDef HAL_TIM_IC_Stop(TIM_HandleTypeDef *htim, uint32_t Channel); +/* Non-Blocking mode: Interrupt */ +HAL_StatusTypeDef HAL_TIM_IC_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel); +HAL_StatusTypeDef HAL_TIM_IC_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel); +/* Non-Blocking mode: DMA */ +HAL_StatusTypeDef HAL_TIM_IC_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData, uint16_t Length); +HAL_StatusTypeDef HAL_TIM_IC_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel); +/** + * @} + */ + +/** @addtogroup TIM_Exported_Functions_Group5 TIM One Pulse functions + * @brief TIM One Pulse functions + * @{ + */ +/* Timer One Pulse functions **************************************************/ +HAL_StatusTypeDef HAL_TIM_OnePulse_Init(TIM_HandleTypeDef *htim, uint32_t OnePulseMode); +HAL_StatusTypeDef HAL_TIM_OnePulse_DeInit(TIM_HandleTypeDef *htim); +void HAL_TIM_OnePulse_MspInit(TIM_HandleTypeDef *htim); +void HAL_TIM_OnePulse_MspDeInit(TIM_HandleTypeDef *htim); +/* Blocking mode: Polling */ +HAL_StatusTypeDef HAL_TIM_OnePulse_Start(TIM_HandleTypeDef *htim, uint32_t OutputChannel); +HAL_StatusTypeDef HAL_TIM_OnePulse_Stop(TIM_HandleTypeDef *htim, uint32_t OutputChannel); +/* Non-Blocking mode: Interrupt */ +HAL_StatusTypeDef HAL_TIM_OnePulse_Start_IT(TIM_HandleTypeDef *htim, uint32_t OutputChannel); +HAL_StatusTypeDef HAL_TIM_OnePulse_Stop_IT(TIM_HandleTypeDef *htim, uint32_t OutputChannel); +/** + * @} + */ + +/** @addtogroup TIM_Exported_Functions_Group6 TIM Encoder functions + * @brief TIM Encoder functions + * @{ + */ +/* Timer Encoder functions ****************************************************/ +HAL_StatusTypeDef HAL_TIM_Encoder_Init(TIM_HandleTypeDef *htim, const TIM_Encoder_InitTypeDef *sConfig); +HAL_StatusTypeDef HAL_TIM_Encoder_DeInit(TIM_HandleTypeDef *htim); +void HAL_TIM_Encoder_MspInit(TIM_HandleTypeDef *htim); +void HAL_TIM_Encoder_MspDeInit(TIM_HandleTypeDef *htim); +/* Blocking mode: Polling */ +HAL_StatusTypeDef HAL_TIM_Encoder_Start(TIM_HandleTypeDef *htim, uint32_t Channel); +HAL_StatusTypeDef HAL_TIM_Encoder_Stop(TIM_HandleTypeDef *htim, uint32_t Channel); +/* Non-Blocking mode: Interrupt */ +HAL_StatusTypeDef HAL_TIM_Encoder_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel); +HAL_StatusTypeDef HAL_TIM_Encoder_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel); +/* Non-Blocking mode: DMA */ +HAL_StatusTypeDef HAL_TIM_Encoder_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData1, + uint32_t *pData2, uint16_t Length); +HAL_StatusTypeDef HAL_TIM_Encoder_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel); +/** + * @} + */ + +/** @addtogroup TIM_Exported_Functions_Group7 TIM IRQ handler management + * @brief IRQ handler management + * @{ + */ +/* Interrupt Handler functions ***********************************************/ +void HAL_TIM_IRQHandler(TIM_HandleTypeDef *htim); +/** + * @} + */ + +/** @defgroup TIM_Exported_Functions_Group8 TIM Peripheral Control functions + * @brief Peripheral Control functions + * @{ + */ +/* Control functions *********************************************************/ +HAL_StatusTypeDef HAL_TIM_OC_ConfigChannel(TIM_HandleTypeDef *htim, const TIM_OC_InitTypeDef *sConfig, + uint32_t Channel); +HAL_StatusTypeDef HAL_TIM_PWM_ConfigChannel(TIM_HandleTypeDef *htim, const TIM_OC_InitTypeDef *sConfig, + uint32_t Channel); +HAL_StatusTypeDef HAL_TIM_IC_ConfigChannel(TIM_HandleTypeDef *htim, const TIM_IC_InitTypeDef *sConfig, + uint32_t Channel); +HAL_StatusTypeDef HAL_TIM_OnePulse_ConfigChannel(TIM_HandleTypeDef *htim, TIM_OnePulse_InitTypeDef *sConfig, + uint32_t OutputChannel, uint32_t InputChannel); +HAL_StatusTypeDef HAL_TIM_ConfigOCrefClear(TIM_HandleTypeDef *htim, + const TIM_ClearInputConfigTypeDef *sClearInputConfig, + uint32_t Channel); +HAL_StatusTypeDef HAL_TIM_ConfigClockSource(TIM_HandleTypeDef *htim, const TIM_ClockConfigTypeDef *sClockSourceConfig); +HAL_StatusTypeDef HAL_TIM_ConfigTI1Input(TIM_HandleTypeDef *htim, uint32_t TI1_Selection); +HAL_StatusTypeDef HAL_TIM_SlaveConfigSynchro(TIM_HandleTypeDef *htim, const TIM_SlaveConfigTypeDef *sSlaveConfig); +HAL_StatusTypeDef HAL_TIM_SlaveConfigSynchro_IT(TIM_HandleTypeDef *htim, const TIM_SlaveConfigTypeDef *sSlaveConfig); +HAL_StatusTypeDef HAL_TIM_DMABurst_WriteStart(TIM_HandleTypeDef *htim, uint32_t BurstBaseAddress, + uint32_t BurstRequestSrc, const uint32_t *BurstBuffer, + uint32_t BurstLength); +HAL_StatusTypeDef HAL_TIM_DMABurst_MultiWriteStart(TIM_HandleTypeDef *htim, uint32_t BurstBaseAddress, + uint32_t BurstRequestSrc, const uint32_t *BurstBuffer, + uint32_t BurstLength, uint32_t DataLength); +HAL_StatusTypeDef HAL_TIM_DMABurst_WriteStop(TIM_HandleTypeDef *htim, uint32_t BurstRequestSrc); +HAL_StatusTypeDef HAL_TIM_DMABurst_ReadStart(TIM_HandleTypeDef *htim, uint32_t BurstBaseAddress, + uint32_t BurstRequestSrc, uint32_t *BurstBuffer, uint32_t BurstLength); +HAL_StatusTypeDef HAL_TIM_DMABurst_MultiReadStart(TIM_HandleTypeDef *htim, uint32_t BurstBaseAddress, + uint32_t BurstRequestSrc, uint32_t *BurstBuffer, + uint32_t BurstLength, uint32_t DataLength); +HAL_StatusTypeDef HAL_TIM_DMABurst_ReadStop(TIM_HandleTypeDef *htim, uint32_t BurstRequestSrc); +HAL_StatusTypeDef HAL_TIM_GenerateEvent(TIM_HandleTypeDef *htim, uint32_t EventSource); +uint32_t HAL_TIM_ReadCapturedValue(const TIM_HandleTypeDef *htim, uint32_t Channel); +/** + * @} + */ + +/** @defgroup TIM_Exported_Functions_Group9 TIM Callbacks functions + * @brief TIM Callbacks functions + * @{ + */ +/* Callback in non blocking modes (Interrupt and DMA) *************************/ +void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim); +void HAL_TIM_PeriodElapsedHalfCpltCallback(TIM_HandleTypeDef *htim); +void HAL_TIM_OC_DelayElapsedCallback(TIM_HandleTypeDef *htim); +void HAL_TIM_IC_CaptureCallback(TIM_HandleTypeDef *htim); +void HAL_TIM_IC_CaptureHalfCpltCallback(TIM_HandleTypeDef *htim); +void HAL_TIM_PWM_PulseFinishedCallback(TIM_HandleTypeDef *htim); +void HAL_TIM_PWM_PulseFinishedHalfCpltCallback(TIM_HandleTypeDef *htim); +void HAL_TIM_TriggerCallback(TIM_HandleTypeDef *htim); +void HAL_TIM_TriggerHalfCpltCallback(TIM_HandleTypeDef *htim); +void HAL_TIM_ErrorCallback(TIM_HandleTypeDef *htim); + +/* Callbacks Register/UnRegister functions ***********************************/ + + + + + + +/** + * @} + */ + +/** @defgroup TIM_Exported_Functions_Group10 TIM Peripheral State functions + * @brief Peripheral State functions + * @{ + */ +/* Peripheral State functions ************************************************/ +HAL_TIM_StateTypeDef HAL_TIM_Base_GetState(const TIM_HandleTypeDef *htim); +HAL_TIM_StateTypeDef HAL_TIM_OC_GetState(const TIM_HandleTypeDef *htim); +HAL_TIM_StateTypeDef HAL_TIM_PWM_GetState(const TIM_HandleTypeDef *htim); +HAL_TIM_StateTypeDef HAL_TIM_IC_GetState(const TIM_HandleTypeDef *htim); +HAL_TIM_StateTypeDef HAL_TIM_OnePulse_GetState(const TIM_HandleTypeDef *htim); +HAL_TIM_StateTypeDef HAL_TIM_Encoder_GetState(const TIM_HandleTypeDef *htim); + +/* Peripheral Channel state functions ************************************************/ +HAL_TIM_ActiveChannel HAL_TIM_GetActiveChannel(const TIM_HandleTypeDef *htim); +HAL_TIM_ChannelStateTypeDef HAL_TIM_GetChannelState(const TIM_HandleTypeDef *htim, uint32_t Channel); +HAL_TIM_DMABurstStateTypeDef HAL_TIM_DMABurstState(const TIM_HandleTypeDef *htim); +/** + * @} + */ + +/** + * @} + */ +/* End of exported functions -------------------------------------------------*/ + +/* Private functions----------------------------------------------------------*/ +/** @defgroup TIM_Private_Functions TIM Private Functions + * @{ + */ +void TIM_Base_SetConfig(TIM_TypeDef *TIMx, const TIM_Base_InitTypeDef *Structure); +void TIM_TI1_SetConfig(TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICSelection, uint32_t TIM_ICFilter); +void TIM_OC2_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); +void TIM_ETR_SetConfig(TIM_TypeDef *TIMx, uint32_t TIM_ExtTRGPrescaler, + uint32_t TIM_ExtTRGPolarity, uint32_t ExtTRGFilter); + +void TIM_DMADelayPulseHalfCplt(DMA_HandleTypeDef *hdma); +void TIM_DMAError(DMA_HandleTypeDef *hdma); +void TIM_DMACaptureCplt(DMA_HandleTypeDef *hdma); +void TIM_DMACaptureHalfCplt(DMA_HandleTypeDef *hdma); +void TIM_CCxChannelCmd(TIM_TypeDef *TIMx, uint32_t Channel, uint32_t ChannelState); + + + + + +/** + * @} + */ +/* End of private functions --------------------------------------------------*/ + +/** + * @} + */ + +/** + * @} + */ + + +} +# 467 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_uart.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_uart.h + * @author MCD Application Team + * @brief Header file of UART HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_uart.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup UART + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/** @defgroup UART_Exported_Types UART Exported Types + * @{ + */ + +/** + * @brief UART Init Structure definition + */ +typedef struct +{ + uint32_t BaudRate; /*!< This member configures the UART communication baud rate. + The baud rate register is computed using the following formula: + LPUART: + ======= + Baud Rate Register = ((256 * lpuart_ker_ckpres) / ((huart->Init.BaudRate))) + where lpuart_ker_ck_pres is the UART input clock divided by a prescaler + UART: + ===== + - If oversampling is 16 or in LIN mode, + Baud Rate Register = ((uart_ker_ckpres) / ((huart->Init.BaudRate))) + - If oversampling is 8, + Baud Rate Register[15:4] = ((2 * uart_ker_ckpres) / + ((huart->Init.BaudRate)))[15:4] + Baud Rate Register[3] = 0 + Baud Rate Register[2:0] = (((2 * uart_ker_ckpres) / + ((huart->Init.BaudRate)))[3:0]) >> 1 + where uart_ker_ck_pres is the UART input clock divided by a prescaler */ + + uint32_t WordLength; /*!< Specifies the number of data bits transmitted or received in a frame. + This parameter can be a value of @ref UARTEx_Word_Length. */ + + uint32_t StopBits; /*!< Specifies the number of stop bits transmitted. + This parameter can be a value of @ref UART_Stop_Bits. */ + + uint32_t Parity; /*!< Specifies the parity mode. + This parameter can be a value of @ref UART_Parity + @note When parity is enabled, the computed parity is inserted + at the MSB position of the transmitted data (9th bit when + the word length is set to 9 data bits; 8th bit when the + word length is set to 8 data bits). */ + + uint32_t Mode; /*!< Specifies whether the Receive or Transmit mode is enabled or disabled. + This parameter can be a value of @ref UART_Mode. */ + + uint32_t HwFlowCtl; /*!< Specifies whether the hardware flow control mode is enabled + or disabled. + This parameter can be a value of @ref UART_Hardware_Flow_Control. */ + + uint32_t OverSampling; /*!< Specifies whether the Over sampling 8 is enabled or disabled, + to achieve higher speed (up to f_PCLK/8). + This parameter can be a value of @ref UART_Over_Sampling. */ + + uint32_t OneBitSampling; /*!< Specifies whether a single sample or three samples' majority vote is selected. + Selecting the single sample method increases the receiver tolerance to clock + deviations. This parameter can be a value of @ref UART_OneBit_Sampling. */ + + uint32_t ClockPrescaler; /*!< Specifies the prescaler value used to divide the UART clock source. + This parameter can be a value of @ref UART_ClockPrescaler. */ + +} UART_InitTypeDef; + +/** + * @brief UART Advanced Features initialization structure definition + */ +typedef struct +{ + uint32_t AdvFeatureInit; /*!< Specifies which advanced UART features is initialized. Several + Advanced Features may be initialized at the same time . + This parameter can be a value of + @ref UART_Advanced_Features_Initialization_Type. */ + + uint32_t TxPinLevelInvert; /*!< Specifies whether the TX pin active level is inverted. + This parameter can be a value of @ref UART_Tx_Inv. */ + + uint32_t RxPinLevelInvert; /*!< Specifies whether the RX pin active level is inverted. + This parameter can be a value of @ref UART_Rx_Inv. */ + + uint32_t DataInvert; /*!< Specifies whether data are inverted (positive/direct logic + vs negative/inverted logic). + This parameter can be a value of @ref UART_Data_Inv. */ + + uint32_t Swap; /*!< Specifies whether TX and RX pins are swapped. + This parameter can be a value of @ref UART_Rx_Tx_Swap. */ + + uint32_t OverrunDisable; /*!< Specifies whether the reception overrun detection is disabled. + This parameter can be a value of @ref UART_Overrun_Disable. */ + + uint32_t DMADisableonRxError; /*!< Specifies whether the DMA is disabled in case of reception error. + This parameter can be a value of @ref UART_DMA_Disable_on_Rx_Error. */ + + uint32_t AutoBaudRateEnable; /*!< Specifies whether auto Baud rate detection is enabled. + This parameter can be a value of @ref UART_AutoBaudRate_Enable. */ + + uint32_t AutoBaudRateMode; /*!< If auto Baud rate detection is enabled, specifies how the rate + detection is carried out. + This parameter can be a value of @ref UART_AutoBaud_Rate_Mode. */ + + uint32_t MSBFirst; /*!< Specifies whether MSB is sent first on UART line. + This parameter can be a value of @ref UART_MSB_First. */ +} UART_AdvFeatureInitTypeDef; + +/** + * @brief HAL UART State definition + * @note HAL UART State value is a combination of 2 different substates: + * gState and RxState (see @ref UART_State_Definition). + * - gState contains UART state information related to global Handle management + * and also information related to Tx operations. + * gState value coding follow below described bitmap : + * b7-b6 Error information + * 00 : No Error + * 01 : (Not Used) + * 10 : Timeout + * 11 : Error + * b5 Peripheral initialization status + * 0 : Reset (Peripheral not initialized) + * 1 : Init done (Peripheral initialized. HAL UART Init function already called) + * b4-b3 (not used) + * xx : Should be set to 00 + * b2 Intrinsic process state + * 0 : Ready + * 1 : Busy (Peripheral busy with some configuration or internal operations) + * b1 (not used) + * x : Should be set to 0 + * b0 Tx state + * 0 : Ready (no Tx operation ongoing) + * 1 : Busy (Tx operation ongoing) + * - RxState contains information related to Rx operations. + * RxState value coding follow below described bitmap : + * b7-b6 (not used) + * xx : Should be set to 00 + * b5 Peripheral initialization status + * 0 : Reset (Peripheral not initialized) + * 1 : Init done (Peripheral initialized) + * b4-b2 (not used) + * xxx : Should be set to 000 + * b1 Rx state + * 0 : Ready (no Rx operation ongoing) + * 1 : Busy (Rx operation ongoing) + * b0 (not used) + * x : Should be set to 0. + */ +typedef uint32_t HAL_UART_StateTypeDef; + +/** + * @brief UART clock sources definition + */ +typedef enum +{ + UART_CLOCKSOURCE_D2PCLK1 = 0x00U, + UART_CLOCKSOURCE_D2PCLK2 = 0x01U, + UART_CLOCKSOURCE_D3PCLK1 = 0x02U, + UART_CLOCKSOURCE_PLL2 = 0x04U, + UART_CLOCKSOURCE_PLL3 = 0x08U, + UART_CLOCKSOURCE_HSI = 0x10U, + UART_CLOCKSOURCE_CSI = 0x20U, + UART_CLOCKSOURCE_LSE = 0x40U, + UART_CLOCKSOURCE_UNDEFINED = 0x80U +} UART_ClockSourceTypeDef; + +/** + * @brief HAL UART Reception type definition + * @note HAL UART Reception type value aims to identify which type of Reception is ongoing. + * This parameter can be a value of @ref UART_Reception_Type_Values : + * HAL_UART_RECEPTION_STANDARD = 0x00U, + * HAL_UART_RECEPTION_TOIDLE = 0x01U, + * HAL_UART_RECEPTION_TORTO = 0x02U, + * HAL_UART_RECEPTION_TOCHARMATCH = 0x03U, + */ +typedef uint32_t HAL_UART_RxTypeTypeDef; + +/** + * @brief HAL UART Rx Event type definition + * @note HAL UART Rx Event type value aims to identify which type of Event has occurred + * leading to call of the RxEvent callback. + * This parameter can be a value of @ref UART_RxEvent_Type_Values : + * HAL_UART_RXEVENT_TC = 0x00U, + * HAL_UART_RXEVENT_HT = 0x01U, + * HAL_UART_RXEVENT_IDLE = 0x02U, + */ +typedef uint32_t HAL_UART_RxEventTypeTypeDef; + +/** + * @brief UART handle Structure definition + */ +typedef struct __UART_HandleTypeDef +{ + USART_TypeDef *Instance; + + UART_InitTypeDef Init; + + UART_AdvFeatureInitTypeDef AdvancedInit; + + const uint8_t *pTxBuffPtr; + + uint16_t TxXferSize; + + volatile uint16_t TxXferCount; + + uint8_t *pRxBuffPtr; + + uint16_t RxXferSize; + + volatile uint16_t RxXferCount; + + uint16_t Mask; + + uint32_t FifoMode; /*!< Specifies if the FIFO mode is being used. + This parameter can be a value of @ref UARTEx_FIFO_mode. */ + + uint16_t NbRxDataToProcess; + + uint16_t NbTxDataToProcess; + + volatile HAL_UART_RxTypeTypeDef ReceptionType; + + volatile HAL_UART_RxEventTypeTypeDef RxEventType; + + void (*RxISR)(struct __UART_HandleTypeDef *huart); + + void (*TxISR)(struct __UART_HandleTypeDef *huart); + + DMA_HandleTypeDef *hdmatx; + + DMA_HandleTypeDef *hdmarx; + + HAL_LockTypeDef Lock; + + volatile HAL_UART_StateTypeDef gState; /*!< UART state information related to global Handle management + and also related to Tx operations. This parameter + can be a value of @ref HAL_UART_StateTypeDef */ + + volatile HAL_UART_StateTypeDef RxState; /*!< UART state information related to Rx operations. This + parameter can be a value of @ref HAL_UART_StateTypeDef */ + + volatile uint32_t ErrorCode; +# 292 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_uart.h" +} UART_HandleTypeDef; +# 326 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_uart.h" +/** + * @} + */ + +/* Exported constants --------------------------------------------------------*/ +/** @defgroup UART_Exported_Constants UART Exported Constants + * @{ + */ + +/** @defgroup UART_State_Definition UART State Code Definition + * @{ + */ +# 355 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_uart.h" +/** + * @} + */ + +/** @defgroup UART_Error_Definition UART Error Definition + * @{ + */ +# 373 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_uart.h" +/** + * @} + */ + +/** @defgroup UART_Stop_Bits UART Number of Stop Bits + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup UART_Parity UART Parity + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup UART_Hardware_Flow_Control UART Hardware Flow Control + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup UART_Mode UART Transfer Mode + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup UART_State UART State + * @{ + */ + + +/** + * @} + */ + +/** @defgroup UART_Over_Sampling UART Over Sampling + * @{ + */ + + +/** + * @} + */ + +/** @defgroup UART_OneBit_Sampling UART One Bit Sampling Method + * @{ + */ + + +/** + * @} + */ + +/** @defgroup UART_ClockPrescaler UART Clock Prescaler + * @{ + */ +# 461 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_uart.h" +/** + * @} + */ + +/** @defgroup UART_AutoBaud_Rate_Mode UART Advanced Feature AutoBaud Rate Mode + * @{ + */ +# 476 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_uart.h" +/** + * @} + */ + +/** @defgroup UART_Receiver_Timeout UART Receiver Timeout + * @{ + */ + + +/** + * @} + */ + +/** @defgroup UART_LIN UART Local Interconnection Network mode + * @{ + */ + + +/** + * @} + */ + +/** @defgroup UART_LIN_Break_Detection UART LIN Break Detection + * @{ + */ + + +/** + * @} + */ + +/** @defgroup UART_DMA_Tx UART DMA Tx + * @{ + */ + + +/** + * @} + */ + +/** @defgroup UART_DMA_Rx UART DMA Rx + * @{ + */ + + +/** + * @} + */ + +/** @defgroup UART_Half_Duplex_Selection UART Half Duplex Selection + * @{ + */ + + +/** + * @} + */ + +/** @defgroup UART_WakeUp_Methods UART WakeUp Methods + * @{ + */ + + +/** + * @} + */ + +/** @defgroup UART_Request_Parameters UART Request Parameters + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup UART_Advanced_Features_Initialization_Type UART Advanced Feature Initialization Type + * @{ + */ +# 567 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_uart.h" +/** + * @} + */ + +/** @defgroup UART_Tx_Inv UART Advanced Feature TX Pin Active Level Inversion + * @{ + */ + + +/** + * @} + */ + +/** @defgroup UART_Rx_Inv UART Advanced Feature RX Pin Active Level Inversion + * @{ + */ + + +/** + * @} + */ + +/** @defgroup UART_Data_Inv UART Advanced Feature Binary Data Inversion + * @{ + */ + + +/** + * @} + */ + +/** @defgroup UART_Rx_Tx_Swap UART Advanced Feature RX TX Pins Swap + * @{ + */ + + +/** + * @} + */ + +/** @defgroup UART_Overrun_Disable UART Advanced Feature Overrun Disable + * @{ + */ + + +/** + * @} + */ + +/** @defgroup UART_AutoBaudRate_Enable UART Advanced Feature Auto BaudRate Enable + * @{ + */ + + +/** + * @} + */ + +/** @defgroup UART_DMA_Disable_on_Rx_Error UART Advanced Feature DMA Disable On Rx Error + * @{ + */ + + +/** + * @} + */ + +/** @defgroup UART_MSB_First UART Advanced Feature MSB First + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup UART_Stop_Mode_Enable UART Advanced Feature Stop Mode Enable + * @{ + */ + + +/** + * @} + */ + +/** @defgroup UART_Mute_Mode UART Advanced Feature Mute Mode Enable + * @{ + */ + + +/** + * @} + */ + +/** @defgroup UART_CR2_ADDRESS_LSB_POS UART Address-matching LSB Position In CR2 Register + * @{ + */ + +/** + * @} + */ + +/** @defgroup UART_WakeUp_from_Stop_Selection UART WakeUp From Stop Selection + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup UART_DriverEnable_Polarity UART DriverEnable Polarity + * @{ + */ + + +/** + * @} + */ + +/** @defgroup UART_CR1_DEAT_ADDRESS_LSB_POS UART Driver Enable Assertion Time LSB Position In CR1 Register + * @{ + */ + + +/** + * @} + */ + +/** @defgroup UART_CR1_DEDT_ADDRESS_LSB_POS UART Driver Enable DeAssertion Time LSB Position In CR1 Register + * @{ + */ + + +/** + * @} + */ + +/** @defgroup UART_Interruption_Mask UART Interruptions Flag Mask + * @{ + */ + +/** + * @} + */ + +/** @defgroup UART_TimeOut_Value UART polling-based communications time-out value + * @{ + */ + +/** + * @} + */ + +/** @defgroup UART_Flags UART Status Flags + * Elements values convention: 0xXXXX + * - 0xXXXX : Flag mask in the ISR register + * @{ + */ +# 757 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_uart.h" +/** + * @} + */ + +/** @defgroup UART_Interrupt_definition UART Interrupts Definition + * Elements values convention: 000ZZZZZ0XXYYYYYb + * - YYYYY : Interrupt source position in the XX register (5bits) + * - XX : Interrupt source register (2bits) + * - 01: CR1 register + * - 10: CR2 register + * - 11: CR3 register + * - ZZZZZ : Flag position in the ISR register(5bits) + * Elements values convention: 000000000XXYYYYYb + * - YYYYY : Interrupt source position in the XX register (5bits) + * - XX : Interrupt source register (2bits) + * - 01: CR1 register + * - 10: CR2 register + * - 11: CR3 register + * Elements values convention: 0000ZZZZ00000000b + * - ZZZZ : Flag position in the ISR register(4bits) + * @{ + */ +# 801 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_uart.h" +/** + * @} + */ + +/** @defgroup UART_IT_CLEAR_Flags UART Interruption Clear Flags + * @{ + */ +# 820 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_uart.h" +/** + * @} + */ + +/** @defgroup UART_Reception_Type_Values UART Reception type values + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup UART_RxEvent_Type_Values UART RxEvent type values + * @{ + */ + + + +/** + * @} + */ + +/** + * @} + */ + +/* Exported macros -----------------------------------------------------------*/ +/** @defgroup UART_Exported_Macros UART Exported Macros + * @{ + */ + +/** @brief Reset UART handle states. + * @param __HANDLE__ UART handle. + * @retval None + */ +# 872 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_uart.h" +/** @brief Flush the UART Data registers. + * @param __HANDLE__ specifies the UART Handle. + * @retval None + */ + + + + + + +/** @brief Clear the specified UART pending flag. + * @param __HANDLE__ specifies the UART Handle. + * @param __FLAG__ specifies the flag to check. + * This parameter can be any combination of the following values: + * @arg @ref UART_CLEAR_PEF Parity Error Clear Flag + * @arg @ref UART_CLEAR_FEF Framing Error Clear Flag + * @arg @ref UART_CLEAR_NEF Noise detected Clear Flag + * @arg @ref UART_CLEAR_OREF Overrun Error Clear Flag + * @arg @ref UART_CLEAR_IDLEF IDLE line detected Clear Flag + * @arg @ref UART_CLEAR_TXFECF TXFIFO empty clear Flag + * @arg @ref UART_CLEAR_TCF Transmission Complete Clear Flag + * @arg @ref UART_CLEAR_RTOF Receiver Timeout clear flag + * @arg @ref UART_CLEAR_LBDF LIN Break Detection Clear Flag + * @arg @ref UART_CLEAR_CTSF CTS Interrupt Clear Flag + * @arg @ref UART_CLEAR_CMF Character Match Clear Flag + * @arg @ref UART_CLEAR_WUF Wake Up from stop mode Clear Flag + * @retval None + */ + + +/** @brief Clear the UART PE pending flag. + * @param __HANDLE__ specifies the UART Handle. + * @retval None + */ + + +/** @brief Clear the UART FE pending flag. + * @param __HANDLE__ specifies the UART Handle. + * @retval None + */ + + +/** @brief Clear the UART NE pending flag. + * @param __HANDLE__ specifies the UART Handle. + * @retval None + */ + + +/** @brief Clear the UART ORE pending flag. + * @param __HANDLE__ specifies the UART Handle. + * @retval None + */ + + +/** @brief Clear the UART IDLE pending flag. + * @param __HANDLE__ specifies the UART Handle. + * @retval None + */ + + +/** @brief Clear the UART TX FIFO empty clear flag. + * @param __HANDLE__ specifies the UART Handle. + * @retval None + */ + + +/** @brief Check whether the specified UART flag is set or not. + * @param __HANDLE__ specifies the UART Handle. + * @param __FLAG__ specifies the flag to check. + * This parameter can be one of the following values: + * @arg @ref UART_FLAG_TXFT TXFIFO threshold flag + * @arg @ref UART_FLAG_RXFT RXFIFO threshold flag + * @arg @ref UART_FLAG_RXFF RXFIFO Full flag + * @arg @ref UART_FLAG_TXFE TXFIFO Empty flag + * @arg @ref UART_FLAG_REACK Receive enable acknowledge flag + * @arg @ref UART_FLAG_TEACK Transmit enable acknowledge flag + * @arg @ref UART_FLAG_WUF Wake up from stop mode flag + * @arg @ref UART_FLAG_RWU Receiver wake up flag (if the UART in mute mode) + * @arg @ref UART_FLAG_SBKF Send Break flag + * @arg @ref UART_FLAG_CMF Character match flag + * @arg @ref UART_FLAG_BUSY Busy flag + * @arg @ref UART_FLAG_ABRF Auto Baud rate detection flag + * @arg @ref UART_FLAG_ABRE Auto Baud rate detection error flag + * @arg @ref UART_FLAG_CTS CTS Change flag + * @arg @ref UART_FLAG_LBDF LIN Break detection flag + * @arg @ref UART_FLAG_TXE Transmit data register empty flag + * @arg @ref UART_FLAG_TXFNF UART TXFIFO not full flag + * @arg @ref UART_FLAG_TC Transmission Complete flag + * @arg @ref UART_FLAG_RXNE Receive data register not empty flag + * @arg @ref UART_FLAG_RXFNE UART RXFIFO not empty flag + * @arg @ref UART_FLAG_RTOF Receiver Timeout flag + * @arg @ref UART_FLAG_IDLE Idle Line detection flag + * @arg @ref UART_FLAG_ORE Overrun Error flag + * @arg @ref UART_FLAG_NE Noise Error flag + * @arg @ref UART_FLAG_FE Framing Error flag + * @arg @ref UART_FLAG_PE Parity Error flag + * @retval The new state of __FLAG__ (TRUE or FALSE). + */ + + +/** @brief Enable the specified UART interrupt. + * @param __HANDLE__ specifies the UART Handle. + * @param __INTERRUPT__ specifies the UART interrupt source to enable. + * This parameter can be one of the following values: + * @arg @ref UART_IT_RXFF RXFIFO Full interrupt + * @arg @ref UART_IT_TXFE TXFIFO Empty interrupt + * @arg @ref UART_IT_RXFT RXFIFO threshold interrupt + * @arg @ref UART_IT_TXFT TXFIFO threshold interrupt + * @arg @ref UART_IT_WUF Wakeup from stop mode interrupt + * @arg @ref UART_IT_CM Character match interrupt + * @arg @ref UART_IT_CTS CTS change interrupt + * @arg @ref UART_IT_LBD LIN Break detection interrupt + * @arg @ref UART_IT_TXE Transmit Data Register empty interrupt + * @arg @ref UART_IT_TXFNF TX FIFO not full interrupt + * @arg @ref UART_IT_TC Transmission complete interrupt + * @arg @ref UART_IT_RXNE Receive Data register not empty interrupt + * @arg @ref UART_IT_RXFNE RXFIFO not empty interrupt + * @arg @ref UART_IT_RTO Receive Timeout interrupt + * @arg @ref UART_IT_IDLE Idle line detection interrupt + * @arg @ref UART_IT_PE Parity Error interrupt + * @arg @ref UART_IT_ERR Error interrupt (frame error, noise error, overrun error) + * @retval None + */ +# 1005 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_uart.h" +/** @brief Disable the specified UART interrupt. + * @param __HANDLE__ specifies the UART Handle. + * @param __INTERRUPT__ specifies the UART interrupt source to disable. + * This parameter can be one of the following values: + * @arg @ref UART_IT_RXFF RXFIFO Full interrupt + * @arg @ref UART_IT_TXFE TXFIFO Empty interrupt + * @arg @ref UART_IT_RXFT RXFIFO threshold interrupt + * @arg @ref UART_IT_TXFT TXFIFO threshold interrupt + * @arg @ref UART_IT_WUF Wakeup from stop mode interrupt + * @arg @ref UART_IT_CM Character match interrupt + * @arg @ref UART_IT_CTS CTS change interrupt + * @arg @ref UART_IT_LBD LIN Break detection interrupt + * @arg @ref UART_IT_TXE Transmit Data Register empty interrupt + * @arg @ref UART_IT_TXFNF TX FIFO not full interrupt + * @arg @ref UART_IT_TC Transmission complete interrupt + * @arg @ref UART_IT_RXNE Receive Data register not empty interrupt + * @arg @ref UART_IT_RXFNE RXFIFO not empty interrupt + * @arg @ref UART_IT_RTO Receive Timeout interrupt + * @arg @ref UART_IT_IDLE Idle line detection interrupt + * @arg @ref UART_IT_PE Parity Error interrupt + * @arg @ref UART_IT_ERR Error interrupt (Frame error, noise error, overrun error) + * @retval None + */ +# 1038 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_uart.h" +/** @brief Check whether the specified UART interrupt has occurred or not. + * @param __HANDLE__ specifies the UART Handle. + * @param __INTERRUPT__ specifies the UART interrupt to check. + * This parameter can be one of the following values: + * @arg @ref UART_IT_RXFF RXFIFO Full interrupt + * @arg @ref UART_IT_TXFE TXFIFO Empty interrupt + * @arg @ref UART_IT_RXFT RXFIFO threshold interrupt + * @arg @ref UART_IT_TXFT TXFIFO threshold interrupt + * @arg @ref UART_IT_WUF Wakeup from stop mode interrupt + * @arg @ref UART_IT_CM Character match interrupt + * @arg @ref UART_IT_CTS CTS change interrupt + * @arg @ref UART_IT_LBD LIN Break detection interrupt + * @arg @ref UART_IT_TXE Transmit Data Register empty interrupt + * @arg @ref UART_IT_TXFNF TX FIFO not full interrupt + * @arg @ref UART_IT_TC Transmission complete interrupt + * @arg @ref UART_IT_RXNE Receive Data register not empty interrupt + * @arg @ref UART_IT_RXFNE RXFIFO not empty interrupt + * @arg @ref UART_IT_RTO Receive Timeout interrupt + * @arg @ref UART_IT_IDLE Idle line detection interrupt + * @arg @ref UART_IT_PE Parity Error interrupt + * @arg @ref UART_IT_ERR Error interrupt (Frame error, noise error, overrun error) + * @retval The new state of __INTERRUPT__ (SET or RESET). + */ + + + +/** @brief Check whether the specified UART interrupt source is enabled or not. + * @param __HANDLE__ specifies the UART Handle. + * @param __INTERRUPT__ specifies the UART interrupt source to check. + * This parameter can be one of the following values: + * @arg @ref UART_IT_RXFF RXFIFO Full interrupt + * @arg @ref UART_IT_TXFE TXFIFO Empty interrupt + * @arg @ref UART_IT_RXFT RXFIFO threshold interrupt + * @arg @ref UART_IT_TXFT TXFIFO threshold interrupt + * @arg @ref UART_IT_WUF Wakeup from stop mode interrupt + * @arg @ref UART_IT_CM Character match interrupt + * @arg @ref UART_IT_CTS CTS change interrupt + * @arg @ref UART_IT_LBD LIN Break detection interrupt + * @arg @ref UART_IT_TXE Transmit Data Register empty interrupt + * @arg @ref UART_IT_TXFNF TX FIFO not full interrupt + * @arg @ref UART_IT_TC Transmission complete interrupt + * @arg @ref UART_IT_RXNE Receive Data register not empty interrupt + * @arg @ref UART_IT_RXFNE RXFIFO not empty interrupt + * @arg @ref UART_IT_RTO Receive Timeout interrupt + * @arg @ref UART_IT_IDLE Idle line detection interrupt + * @arg @ref UART_IT_PE Parity Error interrupt + * @arg @ref UART_IT_ERR Error interrupt (Frame error, noise error, overrun error) + * @retval The new state of __INTERRUPT__ (SET or RESET). + */ +# 1095 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_uart.h" +/** @brief Clear the specified UART ISR flag, in setting the proper ICR register flag. + * @param __HANDLE__ specifies the UART Handle. + * @param __IT_CLEAR__ specifies the interrupt clear register flag that needs to be set + * to clear the corresponding interrupt + * This parameter can be one of the following values: + * @arg @ref UART_CLEAR_PEF Parity Error Clear Flag + * @arg @ref UART_CLEAR_FEF Framing Error Clear Flag + * @arg @ref UART_CLEAR_NEF Noise detected Clear Flag + * @arg @ref UART_CLEAR_OREF Overrun Error Clear Flag + * @arg @ref UART_CLEAR_IDLEF IDLE line detected Clear Flag + * @arg @ref UART_CLEAR_RTOF Receiver timeout clear flag + * @arg @ref UART_CLEAR_TXFECF TXFIFO empty Clear Flag + * @arg @ref UART_CLEAR_TCF Transmission Complete Clear Flag + * @arg @ref UART_CLEAR_LBDF LIN Break Detection Clear Flag + * @arg @ref UART_CLEAR_CTSF CTS Interrupt Clear Flag + * @arg @ref UART_CLEAR_CMF Character Match Clear Flag + * @arg @ref UART_CLEAR_WUF Wake Up from stop mode Clear Flag + * @retval None + */ + + +/** @brief Set a specific UART request flag. + * @param __HANDLE__ specifies the UART Handle. + * @param __REQ__ specifies the request flag to set + * This parameter can be one of the following values: + * @arg @ref UART_AUTOBAUD_REQUEST Auto-Baud Rate Request + * @arg @ref UART_SENDBREAK_REQUEST Send Break Request + * @arg @ref UART_MUTE_MODE_REQUEST Mute Mode Request + * @arg @ref UART_RXDATA_FLUSH_REQUEST Receive Data flush Request + * @arg @ref UART_TXDATA_FLUSH_REQUEST Transmit data flush Request + * @retval None + */ + + +/** @brief Enable the UART one bit sample method. + * @param __HANDLE__ specifies the UART Handle. + * @retval None + */ + + +/** @brief Disable the UART one bit sample method. + * @param __HANDLE__ specifies the UART Handle. + * @retval None + */ + + +/** @brief Enable UART. + * @param __HANDLE__ specifies the UART Handle. + * @retval None + */ + + +/** @brief Disable UART. + * @param __HANDLE__ specifies the UART Handle. + * @retval None + */ + + +/** @brief Enable CTS flow control. + * @note This macro allows to enable CTS hardware flow control for a given UART instance, + * without need to call HAL_UART_Init() function. + * As involving direct access to UART registers, usage of this macro should be fully endorsed by user. + * @note As macro is expected to be used for modifying CTS Hw flow control feature activation, without need + * for USART instance Deinit/Init, following conditions for macro call should be fulfilled : + * - UART instance should have already been initialised (through call of HAL_UART_Init() ) + * - macro could only be called when corresponding UART instance is disabled + * (i.e. __HAL_UART_DISABLE(__HANDLE__)) and should be followed by an Enable + * macro (i.e. __HAL_UART_ENABLE(__HANDLE__)). + * @param __HANDLE__ specifies the UART Handle. + * @retval None + */ + + + + + + +/** @brief Disable CTS flow control. + * @note This macro allows to disable CTS hardware flow control for a given UART instance, + * without need to call HAL_UART_Init() function. + * As involving direct access to UART registers, usage of this macro should be fully endorsed by user. + * @note As macro is expected to be used for modifying CTS Hw flow control feature activation, without need + * for USART instance Deinit/Init, following conditions for macro call should be fulfilled : + * - UART instance should have already been initialised (through call of HAL_UART_Init() ) + * - macro could only be called when corresponding UART instance is disabled + * (i.e. __HAL_UART_DISABLE(__HANDLE__)) and should be followed by an Enable + * macro (i.e. __HAL_UART_ENABLE(__HANDLE__)). + * @param __HANDLE__ specifies the UART Handle. + * @retval None + */ + + + + + + +/** @brief Enable RTS flow control. + * @note This macro allows to enable RTS hardware flow control for a given UART instance, + * without need to call HAL_UART_Init() function. + * As involving direct access to UART registers, usage of this macro should be fully endorsed by user. + * @note As macro is expected to be used for modifying RTS Hw flow control feature activation, without need + * for USART instance Deinit/Init, following conditions for macro call should be fulfilled : + * - UART instance should have already been initialised (through call of HAL_UART_Init() ) + * - macro could only be called when corresponding UART instance is disabled + * (i.e. __HAL_UART_DISABLE(__HANDLE__)) and should be followed by an Enable + * macro (i.e. __HAL_UART_ENABLE(__HANDLE__)). + * @param __HANDLE__ specifies the UART Handle. + * @retval None + */ + + + + + + +/** @brief Disable RTS flow control. + * @note This macro allows to disable RTS hardware flow control for a given UART instance, + * without need to call HAL_UART_Init() function. + * As involving direct access to UART registers, usage of this macro should be fully endorsed by user. + * @note As macro is expected to be used for modifying RTS Hw flow control feature activation, without need + * for USART instance Deinit/Init, following conditions for macro call should be fulfilled : + * - UART instance should have already been initialised (through call of HAL_UART_Init() ) + * - macro could only be called when corresponding UART instance is disabled + * (i.e. __HAL_UART_DISABLE(__HANDLE__)) and should be followed by an Enable + * macro (i.e. __HAL_UART_ENABLE(__HANDLE__)). + * @param __HANDLE__ specifies the UART Handle. + * @retval None + */ + + + + + +/** + * @} + */ + +/* Private macros --------------------------------------------------------*/ +/** @defgroup UART_Private_Macros UART Private Macros + * @{ + */ +/** @brief Get UART clock division factor from clock prescaler value. + * @param __CLOCKPRESCALER__ UART prescaler value. + * @retval UART clock division factor + */ +# 1253 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_uart.h" +/** @brief BRR division operation to set BRR register with LPUART. + * @param __PCLK__ LPUART clock. + * @param __BAUD__ Baud rate set by the user. + * @param __CLOCKPRESCALER__ UART prescaler value. + * @retval Division result + */ + + + + + +/** @brief BRR division operation to set BRR register in 8-bit oversampling mode. + * @param __PCLK__ UART clock. + * @param __BAUD__ Baud rate set by the user. + * @param __CLOCKPRESCALER__ UART prescaler value. + * @retval Division result + */ + + + +/** @brief BRR division operation to set BRR register in 16-bit oversampling mode. + * @param __PCLK__ UART clock. + * @param __BAUD__ Baud rate set by the user. + * @param __CLOCKPRESCALER__ UART prescaler value. + * @retval Division result + */ + + + +/** @brief Check whether or not UART instance is Low Power UART. + * @param __HANDLE__ specifies the UART Handle. + * @retval SET (instance is LPUART) or RESET (instance isn't LPUART) + */ + + +/** @brief Check UART Baud rate. + * @param __BAUDRATE__ Baudrate specified by the user. + * The maximum Baud Rate is derived from the maximum clock on H7 (i.e. 100 MHz) + * divided by the smallest oversampling used on the USART (i.e. 8) + * @retval SET (__BAUDRATE__ is valid) or RESET (__BAUDRATE__ is invalid) + */ + + +/** @brief Check UART assertion time. + * @param __TIME__ 5-bit value assertion time. + * @retval Test result (TRUE or FALSE). + */ + + +/** @brief Check UART deassertion time. + * @param __TIME__ 5-bit value deassertion time. + * @retval Test result (TRUE or FALSE). + */ + + +/** + * @brief Ensure that UART frame number of stop bits is valid. + * @param __STOPBITS__ UART frame number of stop bits. + * @retval SET (__STOPBITS__ is valid) or RESET (__STOPBITS__ is invalid) + */ + + + + + +/** + * @brief Ensure that LPUART frame number of stop bits is valid. + * @param __STOPBITS__ LPUART frame number of stop bits. + * @retval SET (__STOPBITS__ is valid) or RESET (__STOPBITS__ is invalid) + */ + + + +/** + * @brief Ensure that UART frame parity is valid. + * @param __PARITY__ UART frame parity. + * @retval SET (__PARITY__ is valid) or RESET (__PARITY__ is invalid) + */ + + + + +/** + * @brief Ensure that UART hardware flow control is valid. + * @param __CONTROL__ UART hardware flow control. + * @retval SET (__CONTROL__ is valid) or RESET (__CONTROL__ is invalid) + */ + + + + + + +/** + * @brief Ensure that UART communication mode is valid. + * @param __MODE__ UART communication mode. + * @retval SET (__MODE__ is valid) or RESET (__MODE__ is invalid) + */ + + +/** + * @brief Ensure that UART state is valid. + * @param __STATE__ UART state. + * @retval SET (__STATE__ is valid) or RESET (__STATE__ is invalid) + */ + + + +/** + * @brief Ensure that UART oversampling is valid. + * @param __SAMPLING__ UART oversampling. + * @retval SET (__SAMPLING__ is valid) or RESET (__SAMPLING__ is invalid) + */ + + + +/** + * @brief Ensure that UART frame sampling is valid. + * @param __ONEBIT__ UART frame sampling. + * @retval SET (__ONEBIT__ is valid) or RESET (__ONEBIT__ is invalid) + */ + + + +/** + * @brief Ensure that UART auto Baud rate detection mode is valid. + * @param __MODE__ UART auto Baud rate detection mode. + * @retval SET (__MODE__ is valid) or RESET (__MODE__ is invalid) + */ + + + + + +/** + * @brief Ensure that UART receiver timeout setting is valid. + * @param __TIMEOUT__ UART receiver timeout setting. + * @retval SET (__TIMEOUT__ is valid) or RESET (__TIMEOUT__ is invalid) + */ + + + +/** @brief Check the receiver timeout value. + * @note The maximum UART receiver timeout value is 0xFFFFFF. + * @param __TIMEOUTVALUE__ receiver timeout value. + * @retval Test result (TRUE or FALSE) + */ + + +/** + * @brief Ensure that UART LIN state is valid. + * @param __LIN__ UART LIN state. + * @retval SET (__LIN__ is valid) or RESET (__LIN__ is invalid) + */ + + + +/** + * @brief Ensure that UART LIN break detection length is valid. + * @param __LENGTH__ UART LIN break detection length. + * @retval SET (__LENGTH__ is valid) or RESET (__LENGTH__ is invalid) + */ + + + +/** + * @brief Ensure that UART DMA TX state is valid. + * @param __DMATX__ UART DMA TX state. + * @retval SET (__DMATX__ is valid) or RESET (__DMATX__ is invalid) + */ + + + +/** + * @brief Ensure that UART DMA RX state is valid. + * @param __DMARX__ UART DMA RX state. + * @retval SET (__DMARX__ is valid) or RESET (__DMARX__ is invalid) + */ + + + +/** + * @brief Ensure that UART half-duplex state is valid. + * @param __HDSEL__ UART half-duplex state. + * @retval SET (__HDSEL__ is valid) or RESET (__HDSEL__ is invalid) + */ + + + +/** + * @brief Ensure that UART wake-up method is valid. + * @param __WAKEUP__ UART wake-up method . + * @retval SET (__WAKEUP__ is valid) or RESET (__WAKEUP__ is invalid) + */ + + + +/** + * @brief Ensure that UART request parameter is valid. + * @param __PARAM__ UART request parameter. + * @retval SET (__PARAM__ is valid) or RESET (__PARAM__ is invalid) + */ + + + + + + +/** + * @brief Ensure that UART advanced features initialization is valid. + * @param __INIT__ UART advanced features initialization. + * @retval SET (__INIT__ is valid) or RESET (__INIT__ is invalid) + */ +# 1476 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_uart.h" +/** + * @brief Ensure that UART frame TX inversion setting is valid. + * @param __TXINV__ UART frame TX inversion setting. + * @retval SET (__TXINV__ is valid) or RESET (__TXINV__ is invalid) + */ + + + +/** + * @brief Ensure that UART frame RX inversion setting is valid. + * @param __RXINV__ UART frame RX inversion setting. + * @retval SET (__RXINV__ is valid) or RESET (__RXINV__ is invalid) + */ + + + +/** + * @brief Ensure that UART frame data inversion setting is valid. + * @param __DATAINV__ UART frame data inversion setting. + * @retval SET (__DATAINV__ is valid) or RESET (__DATAINV__ is invalid) + */ + + + +/** + * @brief Ensure that UART frame RX/TX pins swap setting is valid. + * @param __SWAP__ UART frame RX/TX pins swap setting. + * @retval SET (__SWAP__ is valid) or RESET (__SWAP__ is invalid) + */ + + + +/** + * @brief Ensure that UART frame overrun setting is valid. + * @param __OVERRUN__ UART frame overrun setting. + * @retval SET (__OVERRUN__ is valid) or RESET (__OVERRUN__ is invalid) + */ + + + +/** + * @brief Ensure that UART auto Baud rate state is valid. + * @param __AUTOBAUDRATE__ UART auto Baud rate state. + * @retval SET (__AUTOBAUDRATE__ is valid) or RESET (__AUTOBAUDRATE__ is invalid) + */ + + + + +/** + * @brief Ensure that UART DMA enabling or disabling on error setting is valid. + * @param __DMA__ UART DMA enabling or disabling on error setting. + * @retval SET (__DMA__ is valid) or RESET (__DMA__ is invalid) + */ + + + +/** + * @brief Ensure that UART frame MSB first setting is valid. + * @param __MSBFIRST__ UART frame MSB first setting. + * @retval SET (__MSBFIRST__ is valid) or RESET (__MSBFIRST__ is invalid) + */ + + + +/** + * @brief Ensure that UART stop mode state is valid. + * @param __STOPMODE__ UART stop mode state. + * @retval SET (__STOPMODE__ is valid) or RESET (__STOPMODE__ is invalid) + */ + + + +/** + * @brief Ensure that UART mute mode state is valid. + * @param __MUTE__ UART mute mode state. + * @retval SET (__MUTE__ is valid) or RESET (__MUTE__ is invalid) + */ + + + +/** + * @brief Ensure that UART wake-up selection is valid. + * @param __WAKE__ UART wake-up selection. + * @retval SET (__WAKE__ is valid) or RESET (__WAKE__ is invalid) + */ + + + + +/** + * @brief Ensure that UART driver enable polarity is valid. + * @param __POLARITY__ UART driver enable polarity. + * @retval SET (__POLARITY__ is valid) or RESET (__POLARITY__ is invalid) + */ + + + +/** + * @brief Ensure that UART Prescaler is valid. + * @param __CLOCKPRESCALER__ UART Prescaler value. + * @retval SET (__CLOCKPRESCALER__ is valid) or RESET (__CLOCKPRESCALER__ is invalid) + */ +# 1592 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_uart.h" +/** + * @} + */ + +/* Include UART HAL Extended module */ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_uart_ex.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_uart_ex.h + * @author MCD Application Team + * @brief Header file of UART HAL Extended module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_uart_ex.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup UARTEx + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/** @defgroup UARTEx_Exported_Types UARTEx Exported Types + * @{ + */ + +/** + * @brief UART wake up from stop mode parameters + */ +typedef struct +{ + uint32_t WakeUpEvent; /*!< Specifies which event will activate the Wakeup from Stop mode flag (WUF). + This parameter can be a value of @ref UART_WakeUp_from_Stop_Selection. + If set to UART_WAKEUP_ON_ADDRESS, the two other fields below must + be filled up. */ + + uint16_t AddressLength; /*!< Specifies whether the address is 4 or 7-bit long. + This parameter can be a value of @ref UARTEx_WakeUp_Address_Length. */ + + uint8_t Address; +} UART_WakeUpTypeDef; + +/** + * @} + */ + +/* Exported constants --------------------------------------------------------*/ +/** @defgroup UARTEx_Exported_Constants UARTEx Exported Constants + * @{ + */ + +/** @defgroup UARTEx_Word_Length UARTEx Word Length + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup UARTEx_WakeUp_Address_Length UARTEx WakeUp Address Length + * @{ + */ + + +/** + * @} + */ + +/** @defgroup UARTEx_FIFO_mode UARTEx FIFO mode + * @brief UART FIFO mode + * @{ + */ + + +/** + * @} + */ + +/** @defgroup UARTEx_TXFIFO_threshold_level UARTEx TXFIFO threshold level + * @brief UART TXFIFO threshold level + * @{ + */ + + + + + + +/** + * @} + */ + +/** @defgroup UARTEx_RXFIFO_threshold_level UARTEx RXFIFO threshold level + * @brief UART RXFIFO threshold level + * @{ + */ + + + + + + +/** + * @} + */ + +/** + * @} + */ + +/* Exported macros -----------------------------------------------------------*/ +/* Exported functions --------------------------------------------------------*/ +/** @addtogroup UARTEx_Exported_Functions + * @{ + */ + +/** @addtogroup UARTEx_Exported_Functions_Group1 + * @{ + */ + +/* Initialization and de-initialization functions ****************************/ +HAL_StatusTypeDef HAL_RS485Ex_Init(UART_HandleTypeDef *huart, uint32_t Polarity, uint32_t AssertionTime, + uint32_t DeassertionTime); + +/** + * @} + */ + +/** @addtogroup UARTEx_Exported_Functions_Group2 + * @{ + */ + +void HAL_UARTEx_WakeupCallback(UART_HandleTypeDef *huart); + +void HAL_UARTEx_RxFifoFullCallback(UART_HandleTypeDef *huart); +void HAL_UARTEx_TxFifoEmptyCallback(UART_HandleTypeDef *huart); + +/** + * @} + */ + +/** @addtogroup UARTEx_Exported_Functions_Group3 + * @{ + */ + +/* Peripheral Control functions **********************************************/ +HAL_StatusTypeDef HAL_UARTEx_StopModeWakeUpSourceConfig(UART_HandleTypeDef *huart, UART_WakeUpTypeDef WakeUpSelection); +HAL_StatusTypeDef HAL_UARTEx_EnableStopMode(UART_HandleTypeDef *huart); +HAL_StatusTypeDef HAL_UARTEx_DisableStopMode(UART_HandleTypeDef *huart); + +HAL_StatusTypeDef HAL_MultiProcessorEx_AddressLength_Set(UART_HandleTypeDef *huart, uint32_t AddressLength); + +HAL_StatusTypeDef HAL_UARTEx_EnableFifoMode(UART_HandleTypeDef *huart); +HAL_StatusTypeDef HAL_UARTEx_DisableFifoMode(UART_HandleTypeDef *huart); +HAL_StatusTypeDef HAL_UARTEx_SetTxFifoThreshold(UART_HandleTypeDef *huart, uint32_t Threshold); +HAL_StatusTypeDef HAL_UARTEx_SetRxFifoThreshold(UART_HandleTypeDef *huart, uint32_t Threshold); + +HAL_StatusTypeDef HAL_UARTEx_ReceiveToIdle(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint16_t *RxLen, + uint32_t Timeout); +HAL_StatusTypeDef HAL_UARTEx_ReceiveToIdle_IT(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size); +HAL_StatusTypeDef HAL_UARTEx_ReceiveToIdle_DMA(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size); + +HAL_UART_RxEventTypeTypeDef HAL_UARTEx_GetRxEventType(const UART_HandleTypeDef *huart); + + +/** + * @} + */ + +/** + * @} + */ + +/* Private macros ------------------------------------------------------------*/ +/** @defgroup UARTEx_Private_Macros UARTEx Private Macros + * @{ + */ + +/** @brief Report the UART clock source. + * @param __HANDLE__ specifies the UART Handle. + * @param __CLOCKSOURCE__ output variable. + * @retval UART clocking source, written in __CLOCKSOURCE__. + */ +# 760 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_uart_ex.h" +/** @brief Report the UART mask to apply to retrieve the received data + * according to the word length and to the parity bits activation. + * @note If PCE = 1, the parity bit is not included in the data extracted + * by the reception API(). + * This masking operation is not carried out in the case of + * DMA transfers. + * @param __HANDLE__ specifies the UART Handle. + * @retval None, the mask to apply to UART RDR register is stored in (__HANDLE__)->Mask field. + */ +# 810 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_uart_ex.h" +/** + * @brief Ensure that UART frame length is valid. + * @param __LENGTH__ UART frame length. + * @retval SET (__LENGTH__ is valid) or RESET (__LENGTH__ is invalid) + */ + + + + +/** + * @brief Ensure that UART wake-up address length is valid. + * @param __ADDRESS__ UART wake-up address length. + * @retval SET (__ADDRESS__ is valid) or RESET (__ADDRESS__ is invalid) + */ + + + +/** + * @brief Ensure that UART TXFIFO threshold level is valid. + * @param __THRESHOLD__ UART TXFIFO threshold level. + * @retval SET (__THRESHOLD__ is valid) or RESET (__THRESHOLD__ is invalid) + */ + + + + + + + +/** + * @brief Ensure that UART RXFIFO threshold level is valid. + * @param __THRESHOLD__ UART RXFIFO threshold level. + * @retval SET (__THRESHOLD__ is valid) or RESET (__THRESHOLD__ is invalid) + */ + + + + + + + +/** + * @} + */ + +/* Private functions ---------------------------------------------------------*/ + +/** + * @} + */ + +/** + * @} + */ + + +} +# 1598 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_uart.h" 2 + +/* Exported functions --------------------------------------------------------*/ +/** @addtogroup UART_Exported_Functions UART Exported Functions + * @{ + */ + +/** @addtogroup UART_Exported_Functions_Group1 Initialization and de-initialization functions + * @{ + */ + +/* Initialization and de-initialization functions ****************************/ +HAL_StatusTypeDef HAL_UART_Init(UART_HandleTypeDef *huart); +HAL_StatusTypeDef HAL_HalfDuplex_Init(UART_HandleTypeDef *huart); +HAL_StatusTypeDef HAL_LIN_Init(UART_HandleTypeDef *huart, uint32_t BreakDetectLength); +HAL_StatusTypeDef HAL_MultiProcessor_Init(UART_HandleTypeDef *huart, uint8_t Address, uint32_t WakeUpMethod); +HAL_StatusTypeDef HAL_UART_DeInit(UART_HandleTypeDef *huart); +void HAL_UART_MspInit(UART_HandleTypeDef *huart); +void HAL_UART_MspDeInit(UART_HandleTypeDef *huart); + +/* Callbacks Register/UnRegister functions ***********************************/ +# 1627 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_uart.h" +/** + * @} + */ + +/** @addtogroup UART_Exported_Functions_Group2 IO operation functions + * @{ + */ + +/* IO operation functions *****************************************************/ +HAL_StatusTypeDef HAL_UART_Transmit(UART_HandleTypeDef *huart, const uint8_t *pData, uint16_t Size, uint32_t Timeout); +HAL_StatusTypeDef HAL_UART_Receive(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint32_t Timeout); +HAL_StatusTypeDef HAL_UART_Transmit_IT(UART_HandleTypeDef *huart, const uint8_t *pData, uint16_t Size); +HAL_StatusTypeDef HAL_UART_Receive_IT(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size); +HAL_StatusTypeDef HAL_UART_Transmit_DMA(UART_HandleTypeDef *huart, const uint8_t *pData, uint16_t Size); +HAL_StatusTypeDef HAL_UART_Receive_DMA(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size); +HAL_StatusTypeDef HAL_UART_DMAPause(UART_HandleTypeDef *huart); +HAL_StatusTypeDef HAL_UART_DMAResume(UART_HandleTypeDef *huart); +HAL_StatusTypeDef HAL_UART_DMAStop(UART_HandleTypeDef *huart); +/* Transfer Abort functions */ +HAL_StatusTypeDef HAL_UART_Abort(UART_HandleTypeDef *huart); +HAL_StatusTypeDef HAL_UART_AbortTransmit(UART_HandleTypeDef *huart); +HAL_StatusTypeDef HAL_UART_AbortReceive(UART_HandleTypeDef *huart); +HAL_StatusTypeDef HAL_UART_Abort_IT(UART_HandleTypeDef *huart); +HAL_StatusTypeDef HAL_UART_AbortTransmit_IT(UART_HandleTypeDef *huart); +HAL_StatusTypeDef HAL_UART_AbortReceive_IT(UART_HandleTypeDef *huart); + +void HAL_UART_IRQHandler(UART_HandleTypeDef *huart); +void HAL_UART_TxHalfCpltCallback(UART_HandleTypeDef *huart); +void HAL_UART_TxCpltCallback(UART_HandleTypeDef *huart); +void HAL_UART_RxHalfCpltCallback(UART_HandleTypeDef *huart); +void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart); +void HAL_UART_ErrorCallback(UART_HandleTypeDef *huart); +void HAL_UART_AbortCpltCallback(UART_HandleTypeDef *huart); +void HAL_UART_AbortTransmitCpltCallback(UART_HandleTypeDef *huart); +void HAL_UART_AbortReceiveCpltCallback(UART_HandleTypeDef *huart); + +void HAL_UARTEx_RxEventCallback(UART_HandleTypeDef *huart, uint16_t Size); + +/** + * @} + */ + +/** @addtogroup UART_Exported_Functions_Group3 Peripheral Control functions + * @{ + */ + +/* Peripheral Control functions ************************************************/ +void HAL_UART_ReceiverTimeout_Config(UART_HandleTypeDef *huart, uint32_t TimeoutValue); +HAL_StatusTypeDef HAL_UART_EnableReceiverTimeout(UART_HandleTypeDef *huart); +HAL_StatusTypeDef HAL_UART_DisableReceiverTimeout(UART_HandleTypeDef *huart); + +HAL_StatusTypeDef HAL_LIN_SendBreak(UART_HandleTypeDef *huart); +HAL_StatusTypeDef HAL_MultiProcessor_EnableMuteMode(UART_HandleTypeDef *huart); +HAL_StatusTypeDef HAL_MultiProcessor_DisableMuteMode(UART_HandleTypeDef *huart); +void HAL_MultiProcessor_EnterMuteMode(UART_HandleTypeDef *huart); +HAL_StatusTypeDef HAL_HalfDuplex_EnableTransmitter(UART_HandleTypeDef *huart); +HAL_StatusTypeDef HAL_HalfDuplex_EnableReceiver(UART_HandleTypeDef *huart); + +/** + * @} + */ + +/** @addtogroup UART_Exported_Functions_Group4 Peripheral State and Error functions + * @{ + */ + +/* Peripheral State and Errors functions **************************************************/ +HAL_UART_StateTypeDef HAL_UART_GetState(const UART_HandleTypeDef *huart); +uint32_t HAL_UART_GetError(const UART_HandleTypeDef *huart); + +/** + * @} + */ + +/** + * @} + */ + +/* Private functions -----------------------------------------------------------*/ +/** @addtogroup UART_Private_Functions UART Private Functions + * @{ + */ + + + +HAL_StatusTypeDef UART_SetConfig(UART_HandleTypeDef *huart); +HAL_StatusTypeDef UART_CheckIdleState(UART_HandleTypeDef *huart); +HAL_StatusTypeDef UART_WaitOnFlagUntilTimeout(UART_HandleTypeDef *huart, uint32_t Flag, FlagStatus Status, + uint32_t Tickstart, uint32_t Timeout); +void UART_AdvFeatureConfig(UART_HandleTypeDef *huart); +HAL_StatusTypeDef UART_Start_Receive_IT(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size); +HAL_StatusTypeDef UART_Start_Receive_DMA(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size); + +/** + * @} + */ + +/* Private variables -----------------------------------------------------------*/ +/** @defgroup UART_Private_variables UART Private variables + * @{ + */ +/* Prescaler Table used in BRR computation macros. + Declared as extern here to allow use of private UART macros, outside of HAL UART functions */ +extern const uint16_t UARTPrescTable[12]; +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + + +} +# 471 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_usart.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_usart.h + * @author MCD Application Team + * @brief Header file of USART HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_usart.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup USART + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/** @defgroup USART_Exported_Types USART Exported Types + * @{ + */ + +/** + * @brief USART Init Structure definition + */ +typedef struct +{ + uint32_t BaudRate; /*!< This member configures the Usart communication baud rate. + The baud rate is computed using the following formula: + Baud Rate Register[15:4] = ((2 * fclk_pres) / + ((huart->Init.BaudRate)))[15:4] + Baud Rate Register[3] = 0 + Baud Rate Register[2:0] = (((2 * fclk_pres) / + ((huart->Init.BaudRate)))[3:0]) >> 1 + where fclk_pres is the USART input clock frequency (fclk) + divided by a prescaler. + @note Oversampling by 8 is systematically applied to + achieve high baud rates. */ + + uint32_t WordLength; /*!< Specifies the number of data bits transmitted or received in a frame. + This parameter can be a value of @ref USARTEx_Word_Length. */ + + uint32_t StopBits; /*!< Specifies the number of stop bits transmitted. + This parameter can be a value of @ref USART_Stop_Bits. */ + + uint32_t Parity; /*!< Specifies the parity mode. + This parameter can be a value of @ref USART_Parity + @note When parity is enabled, the computed parity is inserted + at the MSB position of the transmitted data (9th bit when + the word length is set to 9 data bits; 8th bit when the + word length is set to 8 data bits). */ + + uint32_t Mode; /*!< Specifies whether the Receive or Transmit mode is enabled or disabled. + This parameter can be a value of @ref USART_Mode. */ + + uint32_t CLKPolarity; /*!< Specifies the steady state of the serial clock. + This parameter can be a value of @ref USART_Clock_Polarity. */ + + uint32_t CLKPhase; /*!< Specifies the clock transition on which the bit capture is made. + This parameter can be a value of @ref USART_Clock_Phase. */ + + uint32_t CLKLastBit; /*!< Specifies whether the clock pulse corresponding to the last transmitted + data bit (MSB) has to be output on the SCLK pin in synchronous mode. + This parameter can be a value of @ref USART_Last_Bit. */ + + uint32_t ClockPrescaler; /*!< Specifies the prescaler value used to divide the USART clock source. + This parameter can be a value of @ref USART_ClockPrescaler. */ +} USART_InitTypeDef; + +/** + * @brief HAL USART State structures definition + */ +typedef enum +{ + HAL_USART_STATE_RESET = 0x00U, + HAL_USART_STATE_READY = 0x01U, + HAL_USART_STATE_BUSY = 0x02U, + HAL_USART_STATE_BUSY_TX = 0x12U, + HAL_USART_STATE_BUSY_RX = 0x22U, + HAL_USART_STATE_BUSY_TX_RX = 0x32U, + HAL_USART_STATE_TIMEOUT = 0x03U, + HAL_USART_STATE_ERROR = 0x04U +} HAL_USART_StateTypeDef; + +/** + * @brief USART clock sources definitions + */ +typedef enum +{ + USART_CLOCKSOURCE_D2PCLK1 = 0x00U, + USART_CLOCKSOURCE_D2PCLK2 = 0x01U, + USART_CLOCKSOURCE_PLL2 = 0x02U, + USART_CLOCKSOURCE_PLL3 = 0x04U, + USART_CLOCKSOURCE_HSI = 0x08U, + USART_CLOCKSOURCE_CSI = 0x10U, + USART_CLOCKSOURCE_LSE = 0x20U, + USART_CLOCKSOURCE_UNDEFINED = 0x40U +} USART_ClockSourceTypeDef; + +/** + * @brief USART handle Structure definition + */ +typedef struct __USART_HandleTypeDef +{ + USART_TypeDef *Instance; + + USART_InitTypeDef Init; + + const uint8_t *pTxBuffPtr; + + uint16_t TxXferSize; + + volatile uint16_t TxXferCount; + + uint8_t *pRxBuffPtr; + + uint16_t RxXferSize; + + volatile uint16_t RxXferCount; + + uint16_t Mask; + + uint16_t NbRxDataToProcess; + + uint16_t NbTxDataToProcess; + + uint32_t SlaveMode; /*!< Enable/Disable USART SPI Slave Mode. This parameter can be a value + of @ref USARTEx_Slave_Mode */ + + uint32_t FifoMode; /*!< Specifies if the FIFO mode will be used. This parameter can be a value + of @ref USARTEx_FIFO_mode. */ + + void (*RxISR)(struct __USART_HandleTypeDef *husart); + + void (*TxISR)(struct __USART_HandleTypeDef *husart); + + DMA_HandleTypeDef *hdmatx; + + DMA_HandleTypeDef *hdmarx; + + HAL_LockTypeDef Lock; + + volatile HAL_USART_StateTypeDef State; + + volatile uint32_t ErrorCode; +# 182 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_usart.h" +} USART_HandleTypeDef; +# 212 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_usart.h" +/** + * @} + */ + +/* Exported constants --------------------------------------------------------*/ +/** @defgroup USART_Exported_Constants USART Exported Constants + * @{ + */ + +/** @defgroup USART_Error_Definition USART Error Definition + * @{ + */ +# 235 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_usart.h" +/** + * @} + */ + +/** @defgroup USART_Stop_Bits USART Number of Stop Bits + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup USART_Parity USART Parity + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup USART_Mode USART Mode + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup USART_Clock USART Clock + * @{ + */ + + +/** + * @} + */ + +/** @defgroup USART_Clock_Polarity USART Clock Polarity + * @{ + */ + + +/** + * @} + */ + +/** @defgroup USART_Clock_Phase USART Clock Phase + * @{ + */ + + +/** + * @} + */ + +/** @defgroup USART_Last_Bit USART Last Bit + * @{ + */ + + +/** + * @} + */ + +/** @defgroup USART_ClockPrescaler USART Clock Prescaler + * @{ + */ +# 322 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_usart.h" +/** + * @} + */ + +/** @defgroup USART_Request_Parameters USART Request Parameters + * @{ + */ + + +/** + * @} + */ + +/** @defgroup USART_Flags USART Flags + * Elements values convention: 0xXXXX + * - 0xXXXX : Flag mask in the ISR register + * @{ + */ +# 359 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_usart.h" +/** + * @} + */ + +/** @defgroup USART_Interrupt_definition USART Interrupts Definition + * Elements values convention: 0000ZZZZ0XXYYYYYb + * - YYYYY : Interrupt source position in the XX register (5bits) + * - XX : Interrupt source register (2bits) + * - 01: CR1 register + * - 10: CR2 register + * - 11: CR3 register + * - ZZZZ : Flag position in the ISR register(4bits) + * @{ + */ +# 390 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_usart.h" +/** + * @} + */ + +/** @defgroup USART_IT_CLEAR_Flags USART Interruption Clear Flags + * @{ + */ +# 406 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_usart.h" +/** + * @} + */ + +/** @defgroup USART_Interruption_Mask USART Interruption Flags Mask + * @{ + */ + + + + + +/** + * @} + */ + +/** + * @} + */ + +/* Exported macros -----------------------------------------------------------*/ +/** @defgroup USART_Exported_Macros USART Exported Macros + * @{ + */ + +/** @brief Reset USART handle state. + * @param __HANDLE__ USART handle. + * @retval None + */ +# 445 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_usart.h" +/** @brief Check whether the specified USART flag is set or not. + * @param __HANDLE__ specifies the USART Handle + * @param __FLAG__ specifies the flag to check. + * This parameter can be one of the following values: + * @arg @ref USART_FLAG_TXFT TXFIFO threshold flag + * @arg @ref USART_FLAG_RXFT RXFIFO threshold flag + * @arg @ref USART_FLAG_RXFF RXFIFO Full flag + * @arg @ref USART_FLAG_TXFE TXFIFO Empty flag + * @arg @ref USART_FLAG_REACK Receive enable acknowledge flag + * @arg @ref USART_FLAG_TEACK Transmit enable acknowledge flag + * @arg @ref USART_FLAG_BUSY Busy flag + * @arg @ref USART_FLAG_UDR SPI slave underrun error flag + * @arg @ref USART_FLAG_TXE Transmit data register empty flag + * @arg @ref USART_FLAG_TXFNF TXFIFO not full flag + * @arg @ref USART_FLAG_TC Transmission Complete flag + * @arg @ref USART_FLAG_RXNE Receive data register not empty flag + * @arg @ref USART_FLAG_RXFNE RXFIFO not empty flag + * @arg @ref USART_FLAG_RTOF Receiver Timeout flag + * @arg @ref USART_FLAG_IDLE Idle Line detection flag + * @arg @ref USART_FLAG_ORE OverRun Error flag + * @arg @ref USART_FLAG_NE Noise Error flag + * @arg @ref USART_FLAG_FE Framing Error flag + * @arg @ref USART_FLAG_PE Parity Error flag + * @retval The new state of __FLAG__ (TRUE or FALSE). + */ + + +/** @brief Clear the specified USART pending flag. + * @param __HANDLE__ specifies the USART Handle. + * @param __FLAG__ specifies the flag to check. + * This parameter can be any combination of the following values: + * @arg @ref USART_CLEAR_PEF Parity Error Clear Flag + * @arg @ref USART_CLEAR_FEF Framing Error Clear Flag + * @arg @ref USART_CLEAR_NEF Noise detected Clear Flag + * @arg @ref USART_CLEAR_OREF Overrun Error Clear Flag + * @arg @ref USART_CLEAR_IDLEF IDLE line detected Clear Flag + * @arg @ref USART_CLEAR_TXFECF TXFIFO empty clear Flag + * @arg @ref USART_CLEAR_TCF Transmission Complete Clear Flag + * @arg @ref USART_CLEAR_RTOF Receiver Timeout clear flag + * @arg @ref USART_CLEAR_UDRF SPI slave underrun error Clear Flag + * @retval None + */ + + +/** @brief Clear the USART PE pending flag. + * @param __HANDLE__ specifies the USART Handle. + * @retval None + */ + + +/** @brief Clear the USART FE pending flag. + * @param __HANDLE__ specifies the USART Handle. + * @retval None + */ + + +/** @brief Clear the USART NE pending flag. + * @param __HANDLE__ specifies the USART Handle. + * @retval None + */ + + +/** @brief Clear the USART ORE pending flag. + * @param __HANDLE__ specifies the USART Handle. + * @retval None + */ + + +/** @brief Clear the USART IDLE pending flag. + * @param __HANDLE__ specifies the USART Handle. + * @retval None + */ + + +/** @brief Clear the USART TX FIFO empty clear flag. + * @param __HANDLE__ specifies the USART Handle. + * @retval None + */ + + +/** @brief Clear SPI slave underrun error flag. + * @param __HANDLE__ specifies the USART Handle. + * @retval None + */ + + +/** @brief Enable the specified USART interrupt. + * @param __HANDLE__ specifies the USART Handle. + * @param __INTERRUPT__ specifies the USART interrupt source to enable. + * This parameter can be one of the following values: + * @arg @ref USART_IT_RXFF RXFIFO Full interrupt + * @arg @ref USART_IT_TXFE TXFIFO Empty interrupt + * @arg @ref USART_IT_RXFT RXFIFO threshold interrupt + * @arg @ref USART_IT_TXFT TXFIFO threshold interrupt + * @arg @ref USART_IT_TXE Transmit Data Register empty interrupt + * @arg @ref USART_IT_TXFNF TX FIFO not full interrupt + * @arg @ref USART_IT_TC Transmission complete interrupt + * @arg @ref USART_IT_RXNE Receive Data register not empty interrupt + * @arg @ref USART_IT_RXFNE RXFIFO not empty interrupt + * @arg @ref USART_IT_IDLE Idle line detection interrupt + * @arg @ref USART_IT_PE Parity Error interrupt + * @arg @ref USART_IT_ERR Error interrupt(Frame error, noise error, overrun error) + * @retval None + */ + + + + + + + +/** @brief Disable the specified USART interrupt. + * @param __HANDLE__ specifies the USART Handle. + * @param __INTERRUPT__ specifies the USART interrupt source to disable. + * This parameter can be one of the following values: + * @arg @ref USART_IT_RXFF RXFIFO Full interrupt + * @arg @ref USART_IT_TXFE TXFIFO Empty interrupt + * @arg @ref USART_IT_RXFT RXFIFO threshold interrupt + * @arg @ref USART_IT_TXFT TXFIFO threshold interrupt + * @arg @ref USART_IT_TXE Transmit Data Register empty interrupt + * @arg @ref USART_IT_TXFNF TX FIFO not full interrupt + * @arg @ref USART_IT_TC Transmission complete interrupt + * @arg @ref USART_IT_RXNE Receive Data register not empty interrupt + * @arg @ref USART_IT_RXFNE RXFIFO not empty interrupt + * @arg @ref USART_IT_IDLE Idle line detection interrupt + * @arg @ref USART_IT_PE Parity Error interrupt + * @arg @ref USART_IT_ERR Error interrupt(Frame error, noise error, overrun error) + * @retval None + */ + + + + + + + +/** @brief Check whether the specified USART interrupt has occurred or not. + * @param __HANDLE__ specifies the USART Handle. + * @param __INTERRUPT__ specifies the USART interrupt source to check. + * This parameter can be one of the following values: + * @arg @ref USART_IT_RXFF RXFIFO Full interrupt + * @arg @ref USART_IT_TXFE TXFIFO Empty interrupt + * @arg @ref USART_IT_RXFT RXFIFO threshold interrupt + * @arg @ref USART_IT_TXFT TXFIFO threshold interrupt + * @arg @ref USART_IT_TXE Transmit Data Register empty interrupt + * @arg @ref USART_IT_TXFNF TX FIFO not full interrupt + * @arg @ref USART_IT_TC Transmission complete interrupt + * @arg @ref USART_IT_RXNE Receive Data register not empty interrupt + * @arg @ref USART_IT_RXFNE RXFIFO not empty interrupt + * @arg @ref USART_IT_IDLE Idle line detection interrupt + * @arg @ref USART_IT_ORE OverRun Error interrupt + * @arg @ref USART_IT_NE Noise Error interrupt + * @arg @ref USART_IT_FE Framing Error interrupt + * @arg @ref USART_IT_PE Parity Error interrupt + * @retval The new state of __INTERRUPT__ (SET or RESET). + */ + + + + +/** @brief Check whether the specified USART interrupt source is enabled or not. + * @param __HANDLE__ specifies the USART Handle. + * @param __INTERRUPT__ specifies the USART interrupt source to check. + * This parameter can be one of the following values: + * @arg @ref USART_IT_RXFF RXFIFO Full interrupt + * @arg @ref USART_IT_TXFE TXFIFO Empty interrupt + * @arg @ref USART_IT_RXFT RXFIFO threshold interrupt + * @arg @ref USART_IT_TXFT TXFIFO threshold interrupt + * @arg @ref USART_IT_TXE Transmit Data Register empty interrupt + * @arg @ref USART_IT_TXFNF TX FIFO not full interrupt + * @arg @ref USART_IT_TC Transmission complete interrupt + * @arg @ref USART_IT_RXNE Receive Data register not empty interrupt + * @arg @ref USART_IT_RXFNE RXFIFO not empty interrupt + * @arg @ref USART_IT_IDLE Idle line detection interrupt + * @arg @ref USART_IT_ORE OverRun Error interrupt + * @arg @ref USART_IT_NE Noise Error interrupt + * @arg @ref USART_IT_FE Framing Error interrupt + * @arg @ref USART_IT_PE Parity Error interrupt + * @retval The new state of __INTERRUPT__ (SET or RESET). + */ +# 633 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_usart.h" +/** @brief Clear the specified USART ISR flag, in setting the proper ICR register flag. + * @param __HANDLE__ specifies the USART Handle. + * @param __IT_CLEAR__ specifies the interrupt clear register flag that needs to be set + * to clear the corresponding interrupt. + * This parameter can be one of the following values: + * @arg @ref USART_CLEAR_PEF Parity Error Clear Flag + * @arg @ref USART_CLEAR_FEF Framing Error Clear Flag + * @arg @ref USART_CLEAR_NEF Noise detected Clear Flag + * @arg @ref USART_CLEAR_OREF Overrun Error Clear Flag + * @arg @ref USART_CLEAR_IDLEF IDLE line detected Clear Flag + * @arg @ref USART_CLEAR_RTOF Receiver timeout clear flag + * @arg @ref USART_CLEAR_TXFECF TXFIFO empty clear Flag + * @arg @ref USART_CLEAR_TCF Transmission Complete Clear Flag + * @retval None + */ + + +/** @brief Set a specific USART request flag. + * @param __HANDLE__ specifies the USART Handle. + * @param __REQ__ specifies the request flag to set. + * This parameter can be one of the following values: + * @arg @ref USART_RXDATA_FLUSH_REQUEST Receive Data flush Request + * @arg @ref USART_TXDATA_FLUSH_REQUEST Transmit data flush Request + * + * @retval None + */ + + +/** @brief Enable the USART one bit sample method. + * @param __HANDLE__ specifies the USART Handle. + * @retval None + */ + + +/** @brief Disable the USART one bit sample method. + * @param __HANDLE__ specifies the USART Handle. + * @retval None + */ + + +/** @brief Enable USART. + * @param __HANDLE__ specifies the USART Handle. + * @retval None + */ + + +/** @brief Disable USART. + * @param __HANDLE__ specifies the USART Handle. + * @retval None + */ + + +/** + * @} + */ + +/* Private macros --------------------------------------------------------*/ +/** @defgroup USART_Private_Macros USART Private Macros + * @{ + */ + +/** @brief Get USART clock division factor from clock prescaler value. + * @param __CLOCKPRESCALER__ USART prescaler value. + * @retval USART clock division factor + */ +# 711 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_usart.h" +/** @brief BRR division operation to set BRR register in 8-bit oversampling mode. + * @param __PCLK__ USART clock. + * @param __BAUD__ Baud rate set by the user. + * @param __CLOCKPRESCALER__ USART prescaler value. + * @retval Division result + */ + + + + +/** @brief Report the USART clock source. + * @param __HANDLE__ specifies the USART Handle. + * @param __CLOCKSOURCE__ output variable. + * @retval the USART clocking source, written in __CLOCKSOURCE__. + */ +# 987 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_usart.h" +/** @brief Check USART Baud rate. + * @param __BAUDRATE__ Baudrate specified by the user. + * The maximum Baud Rate is derived from the maximum clock on H7 (i.e. 100 MHz) + * divided by the smallest oversampling used on the USART (i.e. 8) + * @retval SET (__BAUDRATE__ is valid) or RESET (__BAUDRATE__ is invalid) */ + + +/** + * @brief Ensure that USART frame number of stop bits is valid. + * @param __STOPBITS__ USART frame number of stop bits. + * @retval SET (__STOPBITS__ is valid) or RESET (__STOPBITS__ is invalid) + */ + + + + + +/** + * @brief Ensure that USART frame parity is valid. + * @param __PARITY__ USART frame parity. + * @retval SET (__PARITY__ is valid) or RESET (__PARITY__ is invalid) + */ + + + + +/** + * @brief Ensure that USART communication mode is valid. + * @param __MODE__ USART communication mode. + * @retval SET (__MODE__ is valid) or RESET (__MODE__ is invalid) + */ + + +/** + * @brief Ensure that USART clock state is valid. + * @param __CLOCK__ USART clock state. + * @retval SET (__CLOCK__ is valid) or RESET (__CLOCK__ is invalid) + */ + + + +/** + * @brief Ensure that USART frame polarity is valid. + * @param __CPOL__ USART frame polarity. + * @retval SET (__CPOL__ is valid) or RESET (__CPOL__ is invalid) + */ + + +/** + * @brief Ensure that USART frame phase is valid. + * @param __CPHA__ USART frame phase. + * @retval SET (__CPHA__ is valid) or RESET (__CPHA__ is invalid) + */ + + +/** + * @brief Ensure that USART frame last bit clock pulse setting is valid. + * @param __LASTBIT__ USART frame last bit clock pulse setting. + * @retval SET (__LASTBIT__ is valid) or RESET (__LASTBIT__ is invalid) + */ + + + +/** + * @brief Ensure that USART request parameter is valid. + * @param __PARAM__ USART request parameter. + * @retval SET (__PARAM__ is valid) or RESET (__PARAM__ is invalid) + */ + + + +/** + * @brief Ensure that USART Prescaler is valid. + * @param __CLOCKPRESCALER__ USART Prescaler value. + * @retval SET (__CLOCKPRESCALER__ is valid) or RESET (__CLOCKPRESCALER__ is invalid) + */ +# 1076 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_usart.h" +/** + * @} + */ + +/* Include USART HAL Extended module */ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_usart_ex.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_usart_ex.h + * @author MCD Application Team + * @brief Header file of USART HAL Extended module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_usart_ex.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup USARTEx + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/* Exported constants --------------------------------------------------------*/ +/** @defgroup USARTEx_Exported_Constants USARTEx Exported Constants + * @{ + */ + +/** @defgroup USARTEx_Word_Length USARTEx Word Length + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup USARTEx_Slave_Select_management USARTEx Slave Select Management + * @{ + */ + + +/** + * @} + */ + + +/** @defgroup USARTEx_Slave_Mode USARTEx Synchronous Slave mode enable + * @brief USART SLAVE mode + * @{ + */ + + +/** + * @} + */ + +/** @defgroup USARTEx_FIFO_mode USARTEx FIFO mode + * @brief USART FIFO mode + * @{ + */ + + +/** + * @} + */ + +/** @defgroup USARTEx_TXFIFO_threshold_level USARTEx TXFIFO threshold level + * @brief USART TXFIFO level + * @{ + */ + + + + + + +/** + * @} + */ + +/** @defgroup USARTEx_RXFIFO_threshold_level USARTEx RXFIFO threshold level + * @brief USART RXFIFO level + * @{ + */ + + + + + + +/** + * @} + */ + +/** + * @} + */ + +/* Private macros ------------------------------------------------------------*/ +/** @defgroup USARTEx_Private_Macros USARTEx Private Macros + * @{ + */ + +/** @brief Compute the USART mask to apply to retrieve the received data + * according to the word length and to the parity bits activation. + * @note If PCE = 1, the parity bit is not included in the data extracted + * by the reception API(). + * This masking operation is not carried out in the case of + * DMA transfers. + * @param __HANDLE__ specifies the USART Handle. + * @retval None, the mask to apply to USART RDR register is stored in (__HANDLE__)->Mask field. + */ +# 171 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_usart_ex.h" +/** + * @brief Ensure that USART frame length is valid. + * @param __LENGTH__ USART frame length. + * @retval SET (__LENGTH__ is valid) or RESET (__LENGTH__ is invalid) + */ + + + + +/** + * @brief Ensure that USART Negative Slave Select (NSS) pin management is valid. + * @param __NSS__ USART Negative Slave Select pin management. + * @retval SET (__NSS__ is valid) or RESET (__NSS__ is invalid) + */ + + + +/** + * @brief Ensure that USART Slave Mode is valid. + * @param __STATE__ USART Slave Mode. + * @retval SET (__STATE__ is valid) or RESET (__STATE__ is invalid) + */ + + + +/** + * @brief Ensure that USART FIFO mode is valid. + * @param __STATE__ USART FIFO mode. + * @retval SET (__STATE__ is valid) or RESET (__STATE__ is invalid) + */ + + + +/** + * @brief Ensure that USART TXFIFO threshold level is valid. + * @param __THRESHOLD__ USART TXFIFO threshold level. + * @retval SET (__THRESHOLD__ is valid) or RESET (__THRESHOLD__ is invalid) + */ + + + + + + + +/** + * @brief Ensure that USART RXFIFO threshold level is valid. + * @param __THRESHOLD__ USART RXFIFO threshold level. + * @retval SET (__THRESHOLD__ is valid) or RESET (__THRESHOLD__ is invalid) + */ + + + + + + +/** + * @} + */ + +/* Exported functions --------------------------------------------------------*/ +/** @addtogroup USARTEx_Exported_Functions + * @{ + */ + +/** @addtogroup USARTEx_Exported_Functions_Group1 + * @{ + */ + +/* IO operation functions *****************************************************/ +void HAL_USARTEx_RxFifoFullCallback(USART_HandleTypeDef *husart); +void HAL_USARTEx_TxFifoEmptyCallback(USART_HandleTypeDef *husart); + +/** + * @} + */ + +/** @addtogroup USARTEx_Exported_Functions_Group2 + * @{ + */ + +/* Peripheral Control functions ***********************************************/ +HAL_StatusTypeDef HAL_USARTEx_EnableSlaveMode(USART_HandleTypeDef *husart); +HAL_StatusTypeDef HAL_USARTEx_DisableSlaveMode(USART_HandleTypeDef *husart); +HAL_StatusTypeDef HAL_USARTEx_ConfigNSS(USART_HandleTypeDef *husart, uint32_t NSSConfig); +HAL_StatusTypeDef HAL_USARTEx_EnableFifoMode(USART_HandleTypeDef *husart); +HAL_StatusTypeDef HAL_USARTEx_DisableFifoMode(USART_HandleTypeDef *husart); +HAL_StatusTypeDef HAL_USARTEx_SetTxFifoThreshold(USART_HandleTypeDef *husart, uint32_t Threshold); +HAL_StatusTypeDef HAL_USARTEx_SetRxFifoThreshold(USART_HandleTypeDef *husart, uint32_t Threshold); + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + + +} +# 1082 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_usart.h" 2 + +/* Exported functions --------------------------------------------------------*/ +/** @addtogroup USART_Exported_Functions USART Exported Functions + * @{ + */ + +/** @addtogroup USART_Exported_Functions_Group1 Initialization and de-initialization functions + * @{ + */ + +/* Initialization and de-initialization functions ****************************/ +HAL_StatusTypeDef HAL_USART_Init(USART_HandleTypeDef *husart); +HAL_StatusTypeDef HAL_USART_DeInit(USART_HandleTypeDef *husart); +void HAL_USART_MspInit(USART_HandleTypeDef *husart); +void HAL_USART_MspDeInit(USART_HandleTypeDef *husart); + +/* Callbacks Register/UnRegister functions ***********************************/ + + + + + + +/** + * @} + */ + +/** @addtogroup USART_Exported_Functions_Group2 IO operation functions + * @{ + */ + +/* IO operation functions *****************************************************/ +HAL_StatusTypeDef HAL_USART_Transmit(USART_HandleTypeDef *husart, const uint8_t *pTxData, uint16_t Size, + uint32_t Timeout); +HAL_StatusTypeDef HAL_USART_Receive(USART_HandleTypeDef *husart, uint8_t *pRxData, uint16_t Size, uint32_t Timeout); +HAL_StatusTypeDef HAL_USART_TransmitReceive(USART_HandleTypeDef *husart, const uint8_t *pTxData, uint8_t *pRxData, + uint16_t Size, uint32_t Timeout); +HAL_StatusTypeDef HAL_USART_Transmit_IT(USART_HandleTypeDef *husart, const uint8_t *pTxData, uint16_t Size); +HAL_StatusTypeDef HAL_USART_Receive_IT(USART_HandleTypeDef *husart, uint8_t *pRxData, uint16_t Size); +HAL_StatusTypeDef HAL_USART_TransmitReceive_IT(USART_HandleTypeDef *husart, const uint8_t *pTxData, uint8_t *pRxData, + uint16_t Size); +HAL_StatusTypeDef HAL_USART_Transmit_DMA(USART_HandleTypeDef *husart, const uint8_t *pTxData, uint16_t Size); +HAL_StatusTypeDef HAL_USART_Receive_DMA(USART_HandleTypeDef *husart, uint8_t *pRxData, uint16_t Size); +HAL_StatusTypeDef HAL_USART_TransmitReceive_DMA(USART_HandleTypeDef *husart, const uint8_t *pTxData, uint8_t *pRxData, + uint16_t Size); +HAL_StatusTypeDef HAL_USART_DMAPause(USART_HandleTypeDef *husart); +HAL_StatusTypeDef HAL_USART_DMAResume(USART_HandleTypeDef *husart); +HAL_StatusTypeDef HAL_USART_DMAStop(USART_HandleTypeDef *husart); +/* Transfer Abort functions */ +HAL_StatusTypeDef HAL_USART_Abort(USART_HandleTypeDef *husart); +HAL_StatusTypeDef HAL_USART_Abort_IT(USART_HandleTypeDef *husart); + +void HAL_USART_IRQHandler(USART_HandleTypeDef *husart); +void HAL_USART_TxHalfCpltCallback(USART_HandleTypeDef *husart); +void HAL_USART_TxCpltCallback(USART_HandleTypeDef *husart); +void HAL_USART_RxCpltCallback(USART_HandleTypeDef *husart); +void HAL_USART_RxHalfCpltCallback(USART_HandleTypeDef *husart); +void HAL_USART_TxRxCpltCallback(USART_HandleTypeDef *husart); +void HAL_USART_ErrorCallback(USART_HandleTypeDef *husart); +void HAL_USART_AbortCpltCallback(USART_HandleTypeDef *husart); + +/** + * @} + */ + +/** @addtogroup USART_Exported_Functions_Group4 Peripheral State and Error functions + * @{ + */ + +/* Peripheral State and Error functions ***************************************/ +HAL_USART_StateTypeDef HAL_USART_GetState(const USART_HandleTypeDef *husart); +uint32_t HAL_USART_GetError(const USART_HandleTypeDef *husart); + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + + +} +# 475 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_irda.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_irda.h + * @author MCD Application Team + * @brief Header file of IRDA HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_irda.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup IRDA + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/** @defgroup IRDA_Exported_Types IRDA Exported Types + * @{ + */ + +/** + * @brief IRDA Init Structure definition + */ +typedef struct +{ + uint32_t BaudRate; /*!< This member configures the IRDA communication baud rate. + The baud rate register is computed using the following formula: + Baud Rate Register = ((usart_ker_ckpres) / ((hirda->Init.BaudRate))) + where usart_ker_ckpres is the IRDA input clock divided by a prescaler */ + + uint32_t WordLength; /*!< Specifies the number of data bits transmitted or received in a frame. + This parameter can be a value of @ref IRDAEx_Word_Length */ + + uint32_t Parity; /*!< Specifies the parity mode. + This parameter can be a value of @ref IRDA_Parity + @note When parity is enabled, the computed parity is inserted + at the MSB position of the transmitted data (9th bit when + the word length is set to 9 data bits; 8th bit when the + word length is set to 8 data bits). */ + + uint32_t Mode; /*!< Specifies whether the Receive or Transmit mode is enabled or disabled. + This parameter can be a value of @ref IRDA_Transfer_Mode */ + + uint8_t Prescaler; /*!< Specifies the Prescaler value for dividing the UART/USART source clock + to achieve low-power frequency. + @note Prescaler value 0 is forbidden */ + + uint16_t PowerMode; /*!< Specifies the IRDA power mode. + This parameter can be a value of @ref IRDA_Low_Power */ + + uint32_t ClockPrescaler; /*!< Specifies the prescaler value used to divide the IRDA clock source. + This parameter can be a value of @ref IRDA_ClockPrescaler. */ + +} IRDA_InitTypeDef; + +/** + * @brief HAL IRDA State definition + * @note HAL IRDA State value is a combination of 2 different substates: + * gState and RxState (see @ref IRDA_State_Definition). + * - gState contains IRDA state information related to global Handle management + * and also information related to Tx operations. + * gState value coding follow below described bitmap : + * b7-b6 Error information + * 00 : No Error + * 01 : (Not Used) + * 10 : Timeout + * 11 : Error + * b5 Peripheral initialization status + * 0 : Reset (Peripheral not initialized) + * 1 : Init done (Peripheral initialized. HAL IRDA Init function already called) + * b4-b3 (not used) + * xx : Should be set to 00 + * b2 Intrinsic process state + * 0 : Ready + * 1 : Busy (Peripheral busy with some configuration or internal operations) + * b1 (not used) + * x : Should be set to 0 + * b0 Tx state + * 0 : Ready (no Tx operation ongoing) + * 1 : Busy (Tx operation ongoing) + * - RxState contains information related to Rx operations. + * RxState value coding follow below described bitmap : + * b7-b6 (not used) + * xx : Should be set to 00 + * b5 Peripheral initialization status + * 0 : Reset (Peripheral not initialized) + * 1 : Init done (Peripheral initialized) + * b4-b2 (not used) + * xxx : Should be set to 000 + * b1 Rx state + * 0 : Ready (no Rx operation ongoing) + * 1 : Busy (Rx operation ongoing) + * b0 (not used) + * x : Should be set to 0. + */ +typedef uint32_t HAL_IRDA_StateTypeDef; + +/** + * @brief IRDA clock sources definition + */ +typedef enum +{ + IRDA_CLOCKSOURCE_D2PCLK1 = 0x11U, + IRDA_CLOCKSOURCE_D2PCLK2 = 0x12U, + IRDA_CLOCKSOURCE_PLL2Q = 0x14U, + IRDA_CLOCKSOURCE_PLL3Q = 0x18U, + IRDA_CLOCKSOURCE_HSI = 0x02U, + IRDA_CLOCKSOURCE_CSI = 0x08U, + IRDA_CLOCKSOURCE_LSE = 0x10U, + IRDA_CLOCKSOURCE_UNDEFINED = 0x20U +} IRDA_ClockSourceTypeDef; + +/** + * @brief IRDA handle Structure definition + */ + + + +typedef struct + +{ + USART_TypeDef *Instance; + + IRDA_InitTypeDef Init; + + const uint8_t *pTxBuffPtr; + + uint16_t TxXferSize; + + volatile uint16_t TxXferCount; + + uint8_t *pRxBuffPtr; + + uint16_t RxXferSize; + + volatile uint16_t RxXferCount; + + uint16_t Mask; + + DMA_HandleTypeDef *hdmatx; + + DMA_HandleTypeDef *hdmarx; + + HAL_LockTypeDef Lock; + + volatile HAL_IRDA_StateTypeDef gState; /*!< IRDA state information related to global Handle management + and also related to Tx operations. + This parameter can be a value of @ref HAL_IRDA_StateTypeDef */ + + volatile HAL_IRDA_StateTypeDef RxState; /*!< IRDA state information related to Rx operations. + This parameter can be a value of @ref HAL_IRDA_StateTypeDef */ + + volatile uint32_t ErrorCode; +# 200 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_irda.h" +} IRDA_HandleTypeDef; +# 229 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_irda.h" +/** + * @} + */ + +/* Exported constants --------------------------------------------------------*/ +/** @defgroup IRDA_Exported_Constants IRDA Exported Constants + * @{ + */ + +/** @defgroup IRDA_State_Definition IRDA State Code Definition + * @{ + */ +# 259 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_irda.h" +/** + * @} + */ + +/** @defgroup IRDA_Error_Definition IRDA Error Code Definition + * @{ + */ +# 276 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_irda.h" +/** + * @} + */ + +/** @defgroup IRDA_Parity IRDA Parity + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup IRDA_Transfer_Mode IRDA Transfer Mode + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup IRDA_Low_Power IRDA Low Power + * @{ + */ + + +/** + * @} + */ + +/** @defgroup IRDA_ClockPrescaler IRDA Clock Prescaler + * @{ + */ +# 324 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_irda.h" +/** + * @} + */ + +/** @defgroup IRDA_State IRDA State + * @{ + */ + + +/** + * @} + */ + +/** @defgroup IRDA_Mode IRDA Mode + * @{ + */ + + +/** + * @} + */ + +/** @defgroup IRDA_One_Bit IRDA One Bit Sampling + * @{ + */ + + +/** + * @} + */ + +/** @defgroup IRDA_DMA_Tx IRDA DMA Tx + * @{ + */ + + +/** + * @} + */ + +/** @defgroup IRDA_DMA_Rx IRDA DMA Rx + * @{ + */ + + +/** + * @} + */ + +/** @defgroup IRDA_Request_Parameters IRDA Request Parameters + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup IRDA_Flags IRDA Flags + * Elements values convention: 0xXXXX + * - 0xXXXX : Flag mask in the ISR register + * @{ + */ +# 400 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_irda.h" +/** + * @} + */ + +/** @defgroup IRDA_Interrupt_definition IRDA Interrupts Definition + * Elements values convention: 0000ZZZZ0XXYYYYYb + * - YYYYY : Interrupt source position in the XX register (5bits) + * - XX : Interrupt source register (2bits) + * - 01: CR1 register + * - 10: CR2 register + * - 11: CR3 register + * - ZZZZ : Flag position in the ISR register(4bits) + * @{ + */ + + + + + + +/* Elements values convention: 000000000XXYYYYYb + - YYYYY : Interrupt source position in the XX register (5bits) + - XX : Interrupt source register (2bits) + - 01: CR1 register + - 10: CR2 register + - 11: CR3 register */ + + +/* Elements values convention: 0000ZZZZ00000000b + - ZZZZ : Flag position in the ISR register(4bits) */ + + + +/** + * @} + */ + +/** @defgroup IRDA_IT_CLEAR_Flags IRDA Interruption Clear Flags + * @{ + */ + + + + + + +/** + * @} + */ + +/** @defgroup IRDA_Interruption_Mask IRDA interruptions flags mask + * @{ + */ + + + + + +/** + * @} + */ + +/** + * @} + */ + +/* Exported macros -----------------------------------------------------------*/ +/** @defgroup IRDA_Exported_Macros IRDA Exported Macros + * @{ + */ + +/** @brief Reset IRDA handle state. + * @param __HANDLE__ IRDA handle. + * @retval None + */ +# 489 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_irda.h" +/** @brief Flush the IRDA DR register. + * @param __HANDLE__ specifies the IRDA Handle. + * @retval None + */ + + + + + + +/** @brief Clear the specified IRDA pending flag. + * @param __HANDLE__ specifies the IRDA Handle. + * @param __FLAG__ specifies the flag to check. + * This parameter can be any combination of the following values: + * @arg @ref IRDA_CLEAR_PEF + * @arg @ref IRDA_CLEAR_FEF + * @arg @ref IRDA_CLEAR_NEF + * @arg @ref IRDA_CLEAR_OREF + * @arg @ref IRDA_CLEAR_TCF + * @arg @ref IRDA_CLEAR_IDLEF + * @retval None + */ + + +/** @brief Clear the IRDA PE pending flag. + * @param __HANDLE__ specifies the IRDA Handle. + * @retval None + */ + + + +/** @brief Clear the IRDA FE pending flag. + * @param __HANDLE__ specifies the IRDA Handle. + * @retval None + */ + + +/** @brief Clear the IRDA NE pending flag. + * @param __HANDLE__ specifies the IRDA Handle. + * @retval None + */ + + +/** @brief Clear the IRDA ORE pending flag. + * @param __HANDLE__ specifies the IRDA Handle. + * @retval None + */ + + +/** @brief Clear the IRDA IDLE pending flag. + * @param __HANDLE__ specifies the IRDA Handle. + * @retval None + */ + + +/** @brief Check whether the specified IRDA flag is set or not. + * @param __HANDLE__ specifies the IRDA Handle. + * @param __FLAG__ specifies the flag to check. + * This parameter can be one of the following values: + * @arg @ref IRDA_FLAG_REACK Receive enable acknowledge flag + * @arg @ref IRDA_FLAG_TEACK Transmit enable acknowledge flag + * @arg @ref IRDA_FLAG_BUSY Busy flag + * @arg @ref IRDA_FLAG_ABRF Auto Baud rate detection flag + * @arg @ref IRDA_FLAG_ABRE Auto Baud rate detection error flag + * @arg @ref IRDA_FLAG_TXE Transmit data register empty flag + * @arg @ref IRDA_FLAG_TC Transmission Complete flag + * @arg @ref IRDA_FLAG_RXNE Receive data register not empty flag + * @arg @ref IRDA_FLAG_ORE OverRun Error flag + * @arg @ref IRDA_FLAG_NE Noise Error flag + * @arg @ref IRDA_FLAG_FE Framing Error flag + * @arg @ref IRDA_FLAG_PE Parity Error flag + * @retval The new state of __FLAG__ (TRUE or FALSE). + */ + + + +/** @brief Enable the specified IRDA interrupt. + * @param __HANDLE__ specifies the IRDA Handle. + * @param __INTERRUPT__ specifies the IRDA interrupt source to enable. + * This parameter can be one of the following values: + * @arg @ref IRDA_IT_TXE Transmit Data Register empty interrupt + * @arg @ref IRDA_IT_TC Transmission complete interrupt + * @arg @ref IRDA_IT_RXNE Receive Data register not empty interrupt + * @arg @ref IRDA_IT_IDLE Idle line detection interrupt + * @arg @ref IRDA_IT_PE Parity Error interrupt + * @arg @ref IRDA_IT_ERR Error interrupt(Frame error, noise error, overrun error) + * @retval None + */ +# 586 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_irda.h" +/** @brief Disable the specified IRDA interrupt. + * @param __HANDLE__ specifies the IRDA Handle. + * @param __INTERRUPT__ specifies the IRDA interrupt source to disable. + * This parameter can be one of the following values: + * @arg @ref IRDA_IT_TXE Transmit Data Register empty interrupt + * @arg @ref IRDA_IT_TC Transmission complete interrupt + * @arg @ref IRDA_IT_RXNE Receive Data register not empty interrupt + * @arg @ref IRDA_IT_IDLE Idle line detection interrupt + * @arg @ref IRDA_IT_PE Parity Error interrupt + * @arg @ref IRDA_IT_ERR Error interrupt(Frame error, noise error, overrun error) + * @retval None + */ +# 607 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_irda.h" +/** @brief Check whether the specified IRDA interrupt has occurred or not. + * @param __HANDLE__ specifies the IRDA Handle. + * @param __INTERRUPT__ specifies the IRDA interrupt source to check. + * This parameter can be one of the following values: + * @arg @ref IRDA_IT_TXE Transmit Data Register empty interrupt + * @arg @ref IRDA_IT_TC Transmission complete interrupt + * @arg @ref IRDA_IT_RXNE Receive Data register not empty interrupt + * @arg @ref IRDA_IT_IDLE Idle line detection interrupt + * @arg @ref IRDA_IT_ORE OverRun Error interrupt + * @arg @ref IRDA_IT_NE Noise Error interrupt + * @arg @ref IRDA_IT_FE Framing Error interrupt + * @arg @ref IRDA_IT_PE Parity Error interrupt + * @retval The new state of __IT__ (SET or RESET). + */ + + + +/** @brief Check whether the specified IRDA interrupt source is enabled or not. + * @param __HANDLE__ specifies the IRDA Handle. + * @param __INTERRUPT__ specifies the IRDA interrupt source to check. + * This parameter can be one of the following values: + * @arg @ref IRDA_IT_TXE Transmit Data Register empty interrupt + * @arg @ref IRDA_IT_TC Transmission complete interrupt + * @arg @ref IRDA_IT_RXNE Receive Data register not empty interrupt + * @arg @ref IRDA_IT_IDLE Idle line detection interrupt + * @arg @ref IRDA_IT_ERR Framing, overrun or noise error interrupt + * @arg @ref IRDA_IT_PE Parity Error interrupt + * @retval The new state of __IT__ (SET or RESET). + */ + + + + + +/** @brief Clear the specified IRDA ISR flag, in setting the proper ICR register flag. + * @param __HANDLE__ specifies the IRDA Handle. + * @param __IT_CLEAR__ specifies the interrupt clear register flag that needs to be set + * to clear the corresponding interrupt + * This parameter can be one of the following values: + * @arg @ref IRDA_CLEAR_PEF Parity Error Clear Flag + * @arg @ref IRDA_CLEAR_FEF Framing Error Clear Flag + * @arg @ref IRDA_CLEAR_NEF Noise detected Clear Flag + * @arg @ref IRDA_CLEAR_OREF OverRun Error Clear Flag + * @arg @ref IRDA_CLEAR_TCF Transmission Complete Clear Flag + * @retval None + */ + + + +/** @brief Set a specific IRDA request flag. + * @param __HANDLE__ specifies the IRDA Handle. + * @param __REQ__ specifies the request flag to set + * This parameter can be one of the following values: + * @arg @ref IRDA_AUTOBAUD_REQUEST Auto-Baud Rate Request + * @arg @ref IRDA_RXDATA_FLUSH_REQUEST Receive Data flush Request + * @arg @ref IRDA_TXDATA_FLUSH_REQUEST Transmit data flush Request + * @retval None + */ + + +/** @brief Enable the IRDA one bit sample method. + * @param __HANDLE__ specifies the IRDA Handle. + * @retval None + */ + + +/** @brief Disable the IRDA one bit sample method. + * @param __HANDLE__ specifies the IRDA Handle. + * @retval None + */ + + + +/** @brief Enable UART/USART associated to IRDA Handle. + * @param __HANDLE__ specifies the IRDA Handle. + * @retval None + */ + + +/** @brief Disable UART/USART associated to IRDA Handle. + * @param __HANDLE__ specifies the IRDA Handle. + * @retval None + */ + + +/** + * @} + */ + +/* Private macros --------------------------------------------------------*/ +/** @addtogroup IRDA_Private_Macros + * @{ + */ + +/** @brief Ensure that IRDA Baud rate is less or equal to maximum value. + * @param __BAUDRATE__ specifies the IRDA Baudrate set by the user. + * @retval True or False + */ + + +/** @brief Ensure that IRDA prescaler value is strictly larger than 0. + * @param __PRESCALER__ specifies the IRDA prescaler value set by the user. + * @retval True or False + */ + + +/** @brief Ensure that IRDA frame parity is valid. + * @param __PARITY__ IRDA frame parity. + * @retval SET (__PARITY__ is valid) or RESET (__PARITY__ is invalid) + */ + + + + +/** @brief Ensure that IRDA communication mode is valid. + * @param __MODE__ IRDA communication mode. + * @retval SET (__MODE__ is valid) or RESET (__MODE__ is invalid) + */ + + + +/** @brief Ensure that IRDA power mode is valid. + * @param __MODE__ IRDA power mode. + * @retval SET (__MODE__ is valid) or RESET (__MODE__ is invalid) + */ + + + +/** @brief Ensure that IRDA clock Prescaler is valid. + * @param __CLOCKPRESCALER__ IRDA clock Prescaler value. + * @retval SET (__CLOCKPRESCALER__ is valid) or RESET (__CLOCKPRESCALER__ is invalid) + */ +# 752 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_irda.h" +/** @brief Ensure that IRDA state is valid. + * @param __STATE__ IRDA state mode. + * @retval SET (__STATE__ is valid) or RESET (__STATE__ is invalid) + */ + + + +/** @brief Ensure that IRDA associated UART/USART mode is valid. + * @param __MODE__ IRDA associated UART/USART mode. + * @retval SET (__MODE__ is valid) or RESET (__MODE__ is invalid) + */ + + + +/** @brief Ensure that IRDA sampling rate is valid. + * @param __ONEBIT__ IRDA sampling rate. + * @retval SET (__ONEBIT__ is valid) or RESET (__ONEBIT__ is invalid) + */ + + + +/** @brief Ensure that IRDA DMA TX mode is valid. + * @param __DMATX__ IRDA DMA TX mode. + * @retval SET (__DMATX__ is valid) or RESET (__DMATX__ is invalid) + */ + + + +/** @brief Ensure that IRDA DMA RX mode is valid. + * @param __DMARX__ IRDA DMA RX mode. + * @retval SET (__DMARX__ is valid) or RESET (__DMARX__ is invalid) + */ + + + +/** @brief Ensure that IRDA request is valid. + * @param __PARAM__ IRDA request. + * @retval SET (__PARAM__ is valid) or RESET (__PARAM__ is invalid) + */ + + + +/** + * @} + */ + +/* Include IRDA HAL Extended module */ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_irda_ex.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_irda_ex.h + * @author MCD Application Team + * @brief Header file of IRDA HAL Extended module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_irda_ex.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @defgroup IRDAEx IRDAEx + * @brief IRDA Extended HAL module driver + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/* Exported constants --------------------------------------------------------*/ +/** @defgroup IRDAEx_Extended_Exported_Constants IRDAEx Extended Exported Constants + * @{ + */ + +/** @defgroup IRDAEx_Word_Length IRDAEx Word Length + * @{ + */ + + + +/** + * @} + */ + +/** + * @} + */ + +/* Exported macros -----------------------------------------------------------*/ + +/* Private macros ------------------------------------------------------------*/ + +/** @defgroup IRDAEx_Private_Macros IRDAEx Private Macros + * @{ + */ + +/** @brief Report the IRDA clock source. + * @param __HANDLE__ specifies the IRDA Handle. + * @param __CLOCKSOURCE__ output variable. + * @retval IRDA clocking source, written in __CLOCKSOURCE__. + */ +# 576 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_irda_ex.h" +/** @brief Compute the mask to apply to retrieve the received data + * according to the word length and to the parity bits activation. + * @param __HANDLE__ specifies the IRDA Handle. + * @retval None, the mask to apply to the associated UART RDR register is stored in (__HANDLE__)->Mask field. + */ +# 622 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_irda_ex.h" +/** @brief Ensure that IRDA frame length is valid. + * @param __LENGTH__ IRDA frame length. + * @retval SET (__LENGTH__ is valid) or RESET (__LENGTH__ is invalid) + */ + + + +/** + * @} + */ + +/* Exported functions --------------------------------------------------------*/ + +/** + * @} + */ + +/** + * @} + */ + + +} +# 800 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_irda.h" 2 + +/* Exported functions --------------------------------------------------------*/ +/** @addtogroup IRDA_Exported_Functions IRDA Exported Functions + * @{ + */ + +/** @addtogroup IRDA_Exported_Functions_Group1 Initialization and de-initialization functions + * @{ + */ + +/* Initialization and de-initialization functions ****************************/ +HAL_StatusTypeDef HAL_IRDA_Init(IRDA_HandleTypeDef *hirda); +HAL_StatusTypeDef HAL_IRDA_DeInit(IRDA_HandleTypeDef *hirda); +void HAL_IRDA_MspInit(IRDA_HandleTypeDef *hirda); +void HAL_IRDA_MspDeInit(IRDA_HandleTypeDef *hirda); +# 823 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_irda.h" +/** + * @} + */ + +/** @addtogroup IRDA_Exported_Functions_Group2 IO operation functions + * @{ + */ + +/* IO operation functions *****************************************************/ +HAL_StatusTypeDef HAL_IRDA_Transmit(IRDA_HandleTypeDef *hirda, const uint8_t *pData, uint16_t Size, uint32_t Timeout); +HAL_StatusTypeDef HAL_IRDA_Receive(IRDA_HandleTypeDef *hirda, uint8_t *pData, uint16_t Size, uint32_t Timeout); +HAL_StatusTypeDef HAL_IRDA_Transmit_IT(IRDA_HandleTypeDef *hirda, const uint8_t *pData, uint16_t Size); +HAL_StatusTypeDef HAL_IRDA_Receive_IT(IRDA_HandleTypeDef *hirda, uint8_t *pData, uint16_t Size); +HAL_StatusTypeDef HAL_IRDA_Transmit_DMA(IRDA_HandleTypeDef *hirda, const uint8_t *pData, uint16_t Size); +HAL_StatusTypeDef HAL_IRDA_Receive_DMA(IRDA_HandleTypeDef *hirda, uint8_t *pData, uint16_t Size); +HAL_StatusTypeDef HAL_IRDA_DMAPause(IRDA_HandleTypeDef *hirda); +HAL_StatusTypeDef HAL_IRDA_DMAResume(IRDA_HandleTypeDef *hirda); +HAL_StatusTypeDef HAL_IRDA_DMAStop(IRDA_HandleTypeDef *hirda); +/* Transfer Abort functions */ +HAL_StatusTypeDef HAL_IRDA_Abort(IRDA_HandleTypeDef *hirda); +HAL_StatusTypeDef HAL_IRDA_AbortTransmit(IRDA_HandleTypeDef *hirda); +HAL_StatusTypeDef HAL_IRDA_AbortReceive(IRDA_HandleTypeDef *hirda); +HAL_StatusTypeDef HAL_IRDA_Abort_IT(IRDA_HandleTypeDef *hirda); +HAL_StatusTypeDef HAL_IRDA_AbortTransmit_IT(IRDA_HandleTypeDef *hirda); +HAL_StatusTypeDef HAL_IRDA_AbortReceive_IT(IRDA_HandleTypeDef *hirda); + +void HAL_IRDA_IRQHandler(IRDA_HandleTypeDef *hirda); +void HAL_IRDA_TxCpltCallback(IRDA_HandleTypeDef *hirda); +void HAL_IRDA_RxCpltCallback(IRDA_HandleTypeDef *hirda); +void HAL_IRDA_TxHalfCpltCallback(IRDA_HandleTypeDef *hirda); +void HAL_IRDA_RxHalfCpltCallback(IRDA_HandleTypeDef *hirda); +void HAL_IRDA_ErrorCallback(IRDA_HandleTypeDef *hirda); +void HAL_IRDA_AbortCpltCallback(IRDA_HandleTypeDef *hirda); +void HAL_IRDA_AbortTransmitCpltCallback(IRDA_HandleTypeDef *hirda); +void HAL_IRDA_AbortReceiveCpltCallback(IRDA_HandleTypeDef *hirda); + +/** + * @} + */ + +/* Peripheral Control functions ************************************************/ + +/** @addtogroup IRDA_Exported_Functions_Group4 Peripheral State and Error functions + * @{ + */ + +/* Peripheral State and Error functions ***************************************/ +HAL_IRDA_StateTypeDef HAL_IRDA_GetState(const IRDA_HandleTypeDef *hirda); +uint32_t HAL_IRDA_GetError(const IRDA_HandleTypeDef *hirda); + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + + +} +# 479 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_smartcard.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_smartcard.h + * @author MCD Application Team + * @brief Header file of SMARTCARD HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_smartcard.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup SMARTCARD + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/** @defgroup SMARTCARD_Exported_Types SMARTCARD Exported Types + * @{ + */ + +/** + * @brief SMARTCARD Init Structure definition + */ +typedef struct +{ + uint32_t BaudRate; /*!< Configures the SmartCard communication baud rate. + The baud rate register is computed using the following formula: + Baud Rate Register = ((usart_ker_ckpres) / ((hsmartcard->Init.BaudRate))) + where usart_ker_ckpres is the USART input clock divided by a prescaler */ + + uint32_t WordLength; /*!< Specifies the number of data bits transmitted or received in a frame. + This parameter @ref SMARTCARD_Word_Length can only be + set to 9 (8 data + 1 parity bits). */ + + uint32_t StopBits; /*!< Specifies the number of stop bits. + This parameter can be a value of @ref SMARTCARD_Stop_Bits. */ + + uint16_t Parity; /*!< Specifies the parity mode. + This parameter can be a value of @ref SMARTCARD_Parity + @note The parity is enabled by default (PCE is forced to 1). + Since the WordLength is forced to 8 bits + parity, M is + forced to 1 and the parity bit is the 9th bit. */ + + uint16_t Mode; /*!< Specifies whether the Receive or Transmit mode is enabled or disabled. + This parameter can be a value of @ref SMARTCARD_Mode */ + + uint16_t CLKPolarity; /*!< Specifies the steady state of the serial clock. + This parameter can be a value of @ref SMARTCARD_Clock_Polarity */ + + uint16_t CLKPhase; /*!< Specifies the clock transition on which the bit capture is made. + This parameter can be a value of @ref SMARTCARD_Clock_Phase */ + + uint16_t CLKLastBit; /*!< Specifies whether the clock pulse corresponding to the last transmitted + data bit (MSB) has to be output on the SCLK pin in synchronous mode. + This parameter can be a value of @ref SMARTCARD_Last_Bit */ + + uint16_t OneBitSampling; /*!< Specifies whether a single sample or three samples' majority vote + is selected. Selecting the single sample method increases + the receiver tolerance to clock deviations. This parameter can be a value + of @ref SMARTCARD_OneBit_Sampling. */ + + uint8_t Prescaler; /*!< Specifies the SmartCard Prescaler. + This parameter can be any value from 0x01 to 0x1F. Prescaler value is + multiplied by 2 to give the division factor of the source clock frequency */ + + uint8_t GuardTime; + + uint16_t NACKEnable; /*!< Specifies whether the SmartCard NACK transmission is enabled + in case of parity error. + This parameter can be a value of @ref SMARTCARD_NACK_Enable */ + + uint32_t TimeOutEnable; /*!< Specifies whether the receiver timeout is enabled. + This parameter can be a value of @ref SMARTCARD_Timeout_Enable*/ + + uint32_t TimeOutValue; /*!< Specifies the receiver time out value in number of baud blocks: + it is used to implement the Character Wait Time (CWT) and + Block Wait Time (BWT). It is coded over 24 bits. */ + + uint8_t BlockLength; /*!< Specifies the SmartCard Block Length in T=1 Reception mode. + This parameter can be any value from 0x0 to 0xFF */ + + uint8_t AutoRetryCount; /*!< Specifies the SmartCard auto-retry count (number of retries in + receive and transmit mode). When set to 0, retransmission is + disabled. Otherwise, its maximum value is 7 (before signalling + an error) */ + + uint32_t ClockPrescaler; /*!< Specifies the prescaler value used to divide the USART clock source. + This parameter can be a value of @ref SMARTCARD_ClockPrescaler. */ + +} SMARTCARD_InitTypeDef; + +/** + * @brief SMARTCARD advanced features initialization structure definition + */ +typedef struct +{ + uint32_t AdvFeatureInit; /*!< Specifies which advanced SMARTCARD features is initialized. Several + advanced features may be initialized at the same time. This parameter + can be a value of @ref SMARTCARDEx_Advanced_Features_Initialization_Type */ + + uint32_t TxPinLevelInvert; /*!< Specifies whether the TX pin active level is inverted. + This parameter can be a value of @ref SMARTCARD_Tx_Inv */ + + uint32_t RxPinLevelInvert; /*!< Specifies whether the RX pin active level is inverted. + This parameter can be a value of @ref SMARTCARD_Rx_Inv */ + + uint32_t DataInvert; /*!< Specifies whether data are inverted (positive/direct logic + vs negative/inverted logic). + This parameter can be a value of @ref SMARTCARD_Data_Inv */ + + uint32_t Swap; /*!< Specifies whether TX and RX pins are swapped. + This parameter can be a value of @ref SMARTCARD_Rx_Tx_Swap */ + + uint32_t OverrunDisable; /*!< Specifies whether the reception overrun detection is disabled. + This parameter can be a value of @ref SMARTCARD_Overrun_Disable */ + + uint32_t DMADisableonRxError; /*!< Specifies whether the DMA is disabled in case of reception error. + This parameter can be a value of @ref SMARTCARD_DMA_Disable_on_Rx_Error */ + + uint32_t MSBFirst; /*!< Specifies whether MSB is sent first on UART line. + This parameter can be a value of @ref SMARTCARD_MSB_First */ + + uint16_t TxCompletionIndication; /*!< Specifies which transmission completion indication is used: before (when + relevant flag is available) or once guard time period has elapsed. + This parameter can be a value + of @ref SMARTCARDEx_Transmission_Completion_Indication. */ +} SMARTCARD_AdvFeatureInitTypeDef; + +/** + * @brief HAL SMARTCARD State definition + * @note HAL SMARTCARD State value is a combination of 2 different substates: + * gState and RxState (see @ref SMARTCARD_State_Definition). + * - gState contains SMARTCARD state information related to global Handle management + * and also information related to Tx operations. + * gState value coding follow below described bitmap : + * b7-b6 Error information + * 00 : No Error + * 01 : (Not Used) + * 10 : Timeout + * 11 : Error + * b5 Peripheral initialization status + * 0 : Reset (Peripheral not initialized) + * 1 : Init done (Peripheral initialized. HAL SMARTCARD Init function already called) + * b4-b3 (not used) + * xx : Should be set to 00 + * b2 Intrinsic process state + * 0 : Ready + * 1 : Busy (Peripheral busy with some configuration or internal operations) + * b1 (not used) + * x : Should be set to 0 + * b0 Tx state + * 0 : Ready (no Tx operation ongoing) + * 1 : Busy (Tx operation ongoing) + * - RxState contains information related to Rx operations. + * RxState value coding follow below described bitmap : + * b7-b6 (not used) + * xx : Should be set to 00 + * b5 Peripheral initialization status + * 0 : Reset (Peripheral not initialized) + * 1 : Init done (Peripheral initialized) + * b4-b2 (not used) + * xxx : Should be set to 000 + * b1 Rx state + * 0 : Ready (no Rx operation ongoing) + * 1 : Busy (Rx operation ongoing) + * b0 (not used) + * x : Should be set to 0. + */ +typedef uint32_t HAL_SMARTCARD_StateTypeDef; + +/** + * @brief SMARTCARD handle Structure definition + */ +typedef struct __SMARTCARD_HandleTypeDef +{ + USART_TypeDef *Instance; + + SMARTCARD_InitTypeDef Init; + + SMARTCARD_AdvFeatureInitTypeDef AdvancedInit; + + const uint8_t *pTxBuffPtr; + + uint16_t TxXferSize; + + volatile uint16_t TxXferCount; + + uint8_t *pRxBuffPtr; + + uint16_t RxXferSize; + + volatile uint16_t RxXferCount; + + uint16_t NbRxDataToProcess; + + uint16_t NbTxDataToProcess; + + uint32_t FifoMode; /*!< Specifies if the FIFO mode will be used. + This parameter can be a value of + @ref SMARTCARDEx_FIFO_mode. */ + + void (*RxISR)(struct __SMARTCARD_HandleTypeDef *huart); + + void (*TxISR)(struct __SMARTCARD_HandleTypeDef *huart); + + DMA_HandleTypeDef *hdmatx; + + DMA_HandleTypeDef *hdmarx; + + HAL_LockTypeDef Lock; + + volatile HAL_SMARTCARD_StateTypeDef gState; /*!< SmartCard state information related to global + Handle management and also related to Tx operations. + This parameter can be a value + of @ref HAL_SMARTCARD_StateTypeDef */ + + volatile HAL_SMARTCARD_StateTypeDef RxState; /*!< SmartCard state information related to Rx operations. + This parameter can be a value + of @ref HAL_SMARTCARD_StateTypeDef */ + + volatile uint32_t ErrorCode; +# 267 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_smartcard.h" +} SMARTCARD_HandleTypeDef; +# 296 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_smartcard.h" +/** + * @brief SMARTCARD clock sources + */ +typedef enum +{ + SMARTCARD_CLOCKSOURCE_D2PCLK1 = 0x00U, + SMARTCARD_CLOCKSOURCE_D2PCLK2 = 0x01U, + SMARTCARD_CLOCKSOURCE_HSI = 0x04U, + SMARTCARD_CLOCKSOURCE_CSI = 0x08U, + SMARTCARD_CLOCKSOURCE_LSE = 0x20U, + SMARTCARD_CLOCKSOURCE_PLL2Q = 0x40U, + SMARTCARD_CLOCKSOURCE_PLL3Q = 0x80U, + SMARTCARD_CLOCKSOURCE_UNDEFINED = 0x10U +} SMARTCARD_ClockSourceTypeDef; + +/** + * @} + */ + +/* Exported constants --------------------------------------------------------*/ +/** @defgroup SMARTCARD_Exported_Constants SMARTCARD Exported Constants + * @{ + */ + +/** @defgroup SMARTCARD_State_Definition SMARTCARD State Code Definition + * @{ + */ +# 343 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_smartcard.h" +/** + * @} + */ + +/** @defgroup SMARTCARD_Error_Definition SMARTCARD Error Code Definition + * @{ + */ +# 360 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_smartcard.h" +/** + * @} + */ + +/** @defgroup SMARTCARD_Word_Length SMARTCARD Word Length + * @{ + */ + +/** + * @} + */ + +/** @defgroup SMARTCARD_Stop_Bits SMARTCARD Number of Stop Bits + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SMARTCARD_Parity SMARTCARD Parity + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SMARTCARD_Mode SMARTCARD Transfer Mode + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup SMARTCARD_Clock_Polarity SMARTCARD Clock Polarity + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SMARTCARD_Clock_Phase SMARTCARD Clock Phase + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SMARTCARD_Last_Bit SMARTCARD Last Bit + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SMARTCARD_OneBit_Sampling SMARTCARD One Bit Sampling Method + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SMARTCARD_NACK_Enable SMARTCARD NACK Enable + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SMARTCARD_Timeout_Enable SMARTCARD Timeout Enable + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SMARTCARD_ClockPrescaler SMARTCARD Clock Prescaler + * @{ + */ +# 469 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_smartcard.h" +/** + * @} + */ + +/** @defgroup SMARTCARD_Tx_Inv SMARTCARD advanced feature TX pin active level inversion + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SMARTCARD_Rx_Inv SMARTCARD advanced feature RX pin active level inversion + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SMARTCARD_Data_Inv SMARTCARD advanced feature Binary Data inversion + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SMARTCARD_Rx_Tx_Swap SMARTCARD advanced feature RX TX pins swap + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SMARTCARD_Overrun_Disable SMARTCARD advanced feature Overrun Disable + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SMARTCARD_DMA_Disable_on_Rx_Error SMARTCARD advanced feature DMA Disable on Rx Error + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SMARTCARD_MSB_First SMARTCARD advanced feature MSB first + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SMARTCARD_Request_Parameters SMARTCARD Request Parameters + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SMARTCARD_Interruption_Mask SMARTCARD interruptions flags mask + * @{ + */ + + + + + +/** + * @} + */ + +/** + * @} + */ + +/* Exported macros -----------------------------------------------------------*/ +/** @defgroup SMARTCARD_Exported_Macros SMARTCARD Exported Macros + * @{ + */ + +/** @brief Reset SMARTCARD handle states. + * @param __HANDLE__ SMARTCARD handle. + * @retval None + */ +# 584 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_smartcard.h" +/** @brief Flush the Smartcard Data registers. + * @param __HANDLE__ specifies the SMARTCARD Handle. + * @retval None + */ + + + + + + +/** @brief Clear the specified SMARTCARD pending flag. + * @param __HANDLE__ specifies the SMARTCARD Handle. + * @param __FLAG__ specifies the flag to check. + * This parameter can be any combination of the following values: + * @arg @ref SMARTCARD_CLEAR_PEF Parity error clear flag + * @arg @ref SMARTCARD_CLEAR_FEF Framing error clear flag + * @arg @ref SMARTCARD_CLEAR_NEF Noise detected clear flag + * @arg @ref SMARTCARD_CLEAR_OREF OverRun error clear flag + * @arg @ref SMARTCARD_CLEAR_IDLEF Idle line detected clear flag + * @arg @ref SMARTCARD_CLEAR_TCF Transmission complete clear flag + * @arg @ref SMARTCARD_CLEAR_TCBGTF Transmission complete before guard time clear flag + * @arg @ref SMARTCARD_CLEAR_RTOF Receiver timeout clear flag + * @arg @ref SMARTCARD_CLEAR_EOBF End of block clear flag + * @arg @ref SMARTCARD_CLEAR_TXFECF TXFIFO empty Clear flag + * @retval None + */ + + +/** @brief Clear the SMARTCARD PE pending flag. + * @param __HANDLE__ specifies the SMARTCARD Handle. + * @retval None + */ + + +/** @brief Clear the SMARTCARD FE pending flag. + * @param __HANDLE__ specifies the SMARTCARD Handle. + * @retval None + */ + + +/** @brief Clear the SMARTCARD NE pending flag. + * @param __HANDLE__ specifies the SMARTCARD Handle. + * @retval None + */ + + +/** @brief Clear the SMARTCARD ORE pending flag. + * @param __HANDLE__ specifies the SMARTCARD Handle. + * @retval None + */ + + +/** @brief Clear the SMARTCARD IDLE pending flag. + * @param __HANDLE__ specifies the SMARTCARD Handle. + * @retval None + */ + + +/** @brief Check whether the specified Smartcard flag is set or not. + * @param __HANDLE__ specifies the SMARTCARD Handle. + * @param __FLAG__ specifies the flag to check. + * This parameter can be one of the following values: + * @arg @ref SMARTCARD_FLAG_TCBGT Transmission complete before guard time flag (when flag available) + * @arg @ref SMARTCARD_FLAG_REACK Receive enable acknowledge flag + * @arg @ref SMARTCARD_FLAG_TEACK Transmit enable acknowledge flag + * @arg @ref SMARTCARD_FLAG_BUSY Busy flag + * @arg @ref SMARTCARD_FLAG_EOBF End of block flag + * @arg @ref SMARTCARD_FLAG_RTOF Receiver timeout flag + * @arg @ref SMARTCARD_FLAG_TXE Transmit data register empty flag + * @arg @ref SMARTCARD_FLAG_TC Transmission complete flag + * @arg @ref SMARTCARD_FLAG_RXNE Receive data register not empty flag + * @arg @ref SMARTCARD_FLAG_IDLE Idle line detection flag + * @arg @ref SMARTCARD_FLAG_ORE Overrun error flag + * @arg @ref SMARTCARD_FLAG_NE Noise error flag + * @arg @ref SMARTCARD_FLAG_FE Framing error flag + * @arg @ref SMARTCARD_FLAG_PE Parity error flag + * @arg @ref SMARTCARD_FLAG_TXFNF TXFIFO not full flag + * @arg @ref SMARTCARD_FLAG_RXFNE RXFIFO not empty flag + * @arg @ref SMARTCARD_FLAG_TXFE TXFIFO Empty flag + * @arg @ref SMARTCARD_FLAG_RXFF RXFIFO Full flag + * @arg @ref SMARTCARD_FLAG_RXFT SMARTCARD RXFIFO threshold flag + * @arg @ref SMARTCARD_FLAG_TXFT SMARTCARD TXFIFO threshold flag + * @retval The new state of __FLAG__ (TRUE or FALSE). + */ + + +/** @brief Enable the specified SmartCard interrupt. + * @param __HANDLE__ specifies the SMARTCARD Handle. + * @param __INTERRUPT__ specifies the SMARTCARD interrupt to enable. + * This parameter can be one of the following values: + * @arg @ref SMARTCARD_IT_EOB End of block interrupt + * @arg @ref SMARTCARD_IT_RTO Receive timeout interrupt + * @arg @ref SMARTCARD_IT_TXE Transmit data register empty interrupt + * @arg @ref SMARTCARD_IT_TC Transmission complete interrupt + * @arg @ref SMARTCARD_IT_TCBGT Transmission complete before + * guard time interrupt (when interruption available) + * @arg @ref SMARTCARD_IT_RXNE Receive data register not empty interrupt + * @arg @ref SMARTCARD_IT_IDLE Idle line detection interrupt + * @arg @ref SMARTCARD_IT_PE Parity error interrupt + * @arg @ref SMARTCARD_IT_ERR Error interrupt(frame error, noise error, overrun error) + * @arg @ref SMARTCARD_IT_TXFNF TX FIFO not full interruption + * @arg @ref SMARTCARD_IT_RXFNE RXFIFO not empty interruption + * @arg @ref SMARTCARD_IT_RXFF RXFIFO full interruption + * @arg @ref SMARTCARD_IT_TXFE TXFIFO empty interruption + * @arg @ref SMARTCARD_IT_RXFT RXFIFO threshold reached interruption + * @arg @ref SMARTCARD_IT_TXFT TXFIFO threshold reached interruption + * @retval None + */ +# 703 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_smartcard.h" +/** @brief Disable the specified SmartCard interrupt. + * @param __HANDLE__ specifies the SMARTCARD Handle. + * @param __INTERRUPT__ specifies the SMARTCARD interrupt to disable. + * This parameter can be one of the following values: + * @arg @ref SMARTCARD_IT_EOB End of block interrupt + * @arg @ref SMARTCARD_IT_RTO Receive timeout interrupt + * @arg @ref SMARTCARD_IT_TXE Transmit data register empty interrupt + * @arg @ref SMARTCARD_IT_TC Transmission complete interrupt + * @arg @ref SMARTCARD_IT_TCBGT Transmission complete before guard + * time interrupt (when interruption available) + * @arg @ref SMARTCARD_IT_RXNE Receive data register not empty interrupt + * @arg @ref SMARTCARD_IT_IDLE Idle line detection interrupt + * @arg @ref SMARTCARD_IT_PE Parity error interrupt + * @arg @ref SMARTCARD_IT_ERR Error interrupt(frame error, noise error, overrun error) + * @arg @ref SMARTCARD_IT_TXFNF TX FIFO not full interruption + * @arg @ref SMARTCARD_IT_RXFNE RXFIFO not empty interruption + * @arg @ref SMARTCARD_IT_RXFF RXFIFO full interruption + * @arg @ref SMARTCARD_IT_TXFE TXFIFO empty interruption + * @arg @ref SMARTCARD_IT_RXFT RXFIFO threshold reached interruption + * @arg @ref SMARTCARD_IT_TXFT TXFIFO threshold reached interruption + * @retval None + */ +# 736 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_smartcard.h" +/** @brief Check whether the specified SmartCard interrupt has occurred or not. + * @param __HANDLE__ specifies the SMARTCARD Handle. + * @param __INTERRUPT__ specifies the SMARTCARD interrupt to check. + * This parameter can be one of the following values: + * @arg @ref SMARTCARD_IT_EOB End of block interrupt + * @arg @ref SMARTCARD_IT_RTO Receive timeout interrupt + * @arg @ref SMARTCARD_IT_TXE Transmit data register empty interrupt + * @arg @ref SMARTCARD_IT_TC Transmission complete interrupt + * @arg @ref SMARTCARD_IT_TCBGT Transmission complete before guard time + * interrupt (when interruption available) + * @arg @ref SMARTCARD_IT_RXNE Receive data register not empty interrupt + * @arg @ref SMARTCARD_IT_IDLE Idle line detection interrupt + * @arg @ref SMARTCARD_IT_PE Parity error interrupt + * @arg @ref SMARTCARD_IT_ERR Error interrupt(frame error, noise error, overrun error) + * @arg @ref SMARTCARD_IT_TXFNF TX FIFO not full interruption + * @arg @ref SMARTCARD_IT_RXFNE RXFIFO not empty interruption + * @arg @ref SMARTCARD_IT_RXFF RXFIFO full interruption + * @arg @ref SMARTCARD_IT_TXFE TXFIFO empty interruption + * @arg @ref SMARTCARD_IT_RXFT RXFIFO threshold reached interruption + * @arg @ref SMARTCARD_IT_TXFT TXFIFO threshold reached interruption + * @retval The new state of __INTERRUPT__ (SET or RESET). + */ + + + + + +/** @brief Check whether the specified SmartCard interrupt source is enabled or not. + * @param __HANDLE__ specifies the SMARTCARD Handle. + * @param __INTERRUPT__ specifies the SMARTCARD interrupt source to check. + * This parameter can be one of the following values: + * @arg @ref SMARTCARD_IT_EOB End of block interrupt + * @arg @ref SMARTCARD_IT_RTO Receive timeout interrupt + * @arg @ref SMARTCARD_IT_TXE Transmit data register empty interrupt + * @arg @ref SMARTCARD_IT_TC Transmission complete interrupt + * @arg @ref SMARTCARD_IT_TCBGT Transmission complete before guard time + * interrupt (when interruption available) + * @arg @ref SMARTCARD_IT_RXNE Receive data register not empty interrupt + * @arg @ref SMARTCARD_IT_IDLE Idle line detection interrupt + * @arg @ref SMARTCARD_IT_PE Parity error interrupt + * @arg @ref SMARTCARD_IT_ERR Error interrupt(frame error, noise error, overrun error) + * @arg @ref SMARTCARD_IT_TXFNF TX FIFO not full interruption + * @arg @ref SMARTCARD_IT_RXFNE RXFIFO not empty interruption + * @arg @ref SMARTCARD_IT_RXFF RXFIFO full interruption + * @arg @ref SMARTCARD_IT_TXFE TXFIFO empty interruption + * @arg @ref SMARTCARD_IT_RXFT RXFIFO threshold reached interruption + * @arg @ref SMARTCARD_IT_TXFT TXFIFO threshold reached interruption + * @retval The new state of __INTERRUPT__ (SET or RESET). + */ +# 796 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_smartcard.h" +/** @brief Clear the specified SMARTCARD ISR flag, in setting the proper ICR register flag. + * @param __HANDLE__ specifies the SMARTCARD Handle. + * @param __IT_CLEAR__ specifies the interrupt clear register flag that needs to be set + * to clear the corresponding interrupt. + * This parameter can be one of the following values: + * @arg @ref SMARTCARD_CLEAR_PEF Parity error clear flag + * @arg @ref SMARTCARD_CLEAR_FEF Framing error clear flag + * @arg @ref SMARTCARD_CLEAR_NEF Noise detected clear flag + * @arg @ref SMARTCARD_CLEAR_OREF OverRun error clear flag + * @arg @ref SMARTCARD_CLEAR_IDLEF Idle line detection clear flag + * @arg @ref SMARTCARD_CLEAR_TXFECF TXFIFO empty Clear Flag + * @arg @ref SMARTCARD_CLEAR_TCF Transmission complete clear flag + * @arg @ref SMARTCARD_CLEAR_TCBGTF Transmission complete before guard time clear flag (when flag available) + * @arg @ref SMARTCARD_CLEAR_RTOF Receiver timeout clear flag + * @arg @ref SMARTCARD_CLEAR_EOBF End of block clear flag + * @retval None + */ + + +/** @brief Set a specific SMARTCARD request flag. + * @param __HANDLE__ specifies the SMARTCARD Handle. + * @param __REQ__ specifies the request flag to set + * This parameter can be one of the following values: + * @arg @ref SMARTCARD_RXDATA_FLUSH_REQUEST Receive data flush Request + * @arg @ref SMARTCARD_TXDATA_FLUSH_REQUEST Transmit data flush Request + * @retval None + */ + + +/** @brief Enable the SMARTCARD one bit sample method. + * @param __HANDLE__ specifies the SMARTCARD Handle. + * @retval None + */ + + +/** @brief Disable the SMARTCARD one bit sample method. + * @param __HANDLE__ specifies the SMARTCARD Handle. + * @retval None + */ + + + +/** @brief Enable the USART associated to the SMARTCARD Handle. + * @param __HANDLE__ specifies the SMARTCARD Handle. + * @retval None + */ + + +/** @brief Disable the USART associated to the SMARTCARD Handle + * @param __HANDLE__ specifies the SMARTCARD Handle. + * @retval None + */ + + +/** + * @} + */ + +/* Private macros -------------------------------------------------------------*/ +/** @defgroup SMARTCARD_Private_Macros SMARTCARD Private Macros + * @{ + */ + +/** @brief Report the SMARTCARD clock source. + * @param __HANDLE__ specifies the SMARTCARD Handle. + * @param __CLOCKSOURCE__ output variable. + * @retval the SMARTCARD clocking source, written in __CLOCKSOURCE__. + */ +# 1125 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_smartcard.h" +/** @brief Check the Baud rate range. + * @note The maximum Baud Rate is derived from the maximum clock on H7 (100 MHz) + * divided by the oversampling used on the SMARTCARD (i.e. 16). + * @param __BAUDRATE__ Baud rate set by the configuration function. + * @retval Test result (TRUE or FALSE) + */ + + +/** @brief Check the block length range. + * @note The maximum SMARTCARD block length is 0xFF. + * @param __LENGTH__ block length. + * @retval Test result (TRUE or FALSE) + */ + + +/** @brief Check the receiver timeout value. + * @note The maximum SMARTCARD receiver timeout value is 0xFFFFFF. + * @param __TIMEOUTVALUE__ receiver timeout value. + * @retval Test result (TRUE or FALSE) + */ + + +/** @brief Check the SMARTCARD autoretry counter value. + * @note The maximum number of retransmissions is 0x7. + * @param __COUNT__ number of retransmissions. + * @retval Test result (TRUE or FALSE) + */ + + +/** @brief Ensure that SMARTCARD frame length is valid. + * @param __LENGTH__ SMARTCARD frame length. + * @retval SET (__LENGTH__ is valid) or RESET (__LENGTH__ is invalid) + */ + + +/** @brief Ensure that SMARTCARD frame number of stop bits is valid. + * @param __STOPBITS__ SMARTCARD frame number of stop bits. + * @retval SET (__STOPBITS__ is valid) or RESET (__STOPBITS__ is invalid) + */ + + + +/** @brief Ensure that SMARTCARD frame parity is valid. + * @param __PARITY__ SMARTCARD frame parity. + * @retval SET (__PARITY__ is valid) or RESET (__PARITY__ is invalid) + */ + + + +/** @brief Ensure that SMARTCARD communication mode is valid. + * @param __MODE__ SMARTCARD communication mode. + * @retval SET (__MODE__ is valid) or RESET (__MODE__ is invalid) + */ + + +/** @brief Ensure that SMARTCARD frame polarity is valid. + * @param __CPOL__ SMARTCARD frame polarity. + * @retval SET (__CPOL__ is valid) or RESET (__CPOL__ is invalid) + */ + + + +/** @brief Ensure that SMARTCARD frame phase is valid. + * @param __CPHA__ SMARTCARD frame phase. + * @retval SET (__CPHA__ is valid) or RESET (__CPHA__ is invalid) + */ + + +/** @brief Ensure that SMARTCARD frame last bit clock pulse setting is valid. + * @param __LASTBIT__ SMARTCARD frame last bit clock pulse setting. + * @retval SET (__LASTBIT__ is valid) or RESET (__LASTBIT__ is invalid) + */ + + + +/** @brief Ensure that SMARTCARD frame sampling is valid. + * @param __ONEBIT__ SMARTCARD frame sampling. + * @retval SET (__ONEBIT__ is valid) or RESET (__ONEBIT__ is invalid) + */ + + + +/** @brief Ensure that SMARTCARD NACK transmission setting is valid. + * @param __NACK__ SMARTCARD NACK transmission setting. + * @retval SET (__NACK__ is valid) or RESET (__NACK__ is invalid) + */ + + + +/** @brief Ensure that SMARTCARD receiver timeout setting is valid. + * @param __TIMEOUT__ SMARTCARD receiver timeout setting. + * @retval SET (__TIMEOUT__ is valid) or RESET (__TIMEOUT__ is invalid) + */ + + + +/** @brief Ensure that SMARTCARD clock Prescaler is valid. + * @param __CLOCKPRESCALER__ SMARTCARD clock Prescaler value. + * @retval SET (__CLOCKPRESCALER__ is valid) or RESET (__CLOCKPRESCALER__ is invalid) + */ +# 1238 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_smartcard.h" +/** @brief Ensure that SMARTCARD advanced features initialization is valid. + * @param __INIT__ SMARTCARD advanced features initialization. + * @retval SET (__INIT__ is valid) or RESET (__INIT__ is invalid) + */ +# 1251 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_smartcard.h" +/** @brief Ensure that SMARTCARD frame TX inversion setting is valid. + * @param __TXINV__ SMARTCARD frame TX inversion setting. + * @retval SET (__TXINV__ is valid) or RESET (__TXINV__ is invalid) + */ + + + +/** @brief Ensure that SMARTCARD frame RX inversion setting is valid. + * @param __RXINV__ SMARTCARD frame RX inversion setting. + * @retval SET (__RXINV__ is valid) or RESET (__RXINV__ is invalid) + */ + + + +/** @brief Ensure that SMARTCARD frame data inversion setting is valid. + * @param __DATAINV__ SMARTCARD frame data inversion setting. + * @retval SET (__DATAINV__ is valid) or RESET (__DATAINV__ is invalid) + */ + + + +/** @brief Ensure that SMARTCARD frame RX/TX pins swap setting is valid. + * @param __SWAP__ SMARTCARD frame RX/TX pins swap setting. + * @retval SET (__SWAP__ is valid) or RESET (__SWAP__ is invalid) + */ + + + +/** @brief Ensure that SMARTCARD frame overrun setting is valid. + * @param __OVERRUN__ SMARTCARD frame overrun setting. + * @retval SET (__OVERRUN__ is valid) or RESET (__OVERRUN__ is invalid) + */ + + + +/** @brief Ensure that SMARTCARD DMA enabling or disabling on error setting is valid. + * @param __DMA__ SMARTCARD DMA enabling or disabling on error setting. + * @retval SET (__DMA__ is valid) or RESET (__DMA__ is invalid) + */ + + + +/** @brief Ensure that SMARTCARD frame MSB first setting is valid. + * @param __MSBFIRST__ SMARTCARD frame MSB first setting. + * @retval SET (__MSBFIRST__ is valid) or RESET (__MSBFIRST__ is invalid) + */ + + + +/** @brief Ensure that SMARTCARD request parameter is valid. + * @param __PARAM__ SMARTCARD request parameter. + * @retval SET (__PARAM__ is valid) or RESET (__PARAM__ is invalid) + */ + + + +/** + * @} + */ + +/* Include SMARTCARD HAL Extended module */ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_smartcard_ex.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_smartcard_ex.h + * @author MCD Application Team + * @brief Header file of SMARTCARD HAL Extended module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_smartcard_ex.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup SMARTCARDEx + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/* Exported constants --------------------------------------------------------*/ + +/** @addtogroup SMARTCARDEx_Exported_Constants SMARTCARD Extended Exported Constants + * @{ + */ + +/** @defgroup SMARTCARDEx_Transmission_Completion_Indication SMARTCARD Transmission Completion Indication + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SMARTCARDEx_Advanced_Features_Initialization_Type SMARTCARD advanced feature initialization type + * @{ + */ +# 66 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_smartcard_ex.h" +/** + * @} + */ + +/** @defgroup SMARTCARDEx_FIFO_mode SMARTCARD FIFO mode + * @brief SMARTCARD FIFO mode + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SMARTCARDEx_TXFIFO_threshold_level SMARTCARD TXFIFO threshold level + * @brief SMARTCARD TXFIFO level + * @{ + */ + + + + + + +/** + * @} + */ + +/** @defgroup SMARTCARDEx_RXFIFO_threshold_level SMARTCARD RXFIFO threshold level + * @brief SMARTCARD RXFIFO level + * @{ + */ + + + + + + +/** + * @} + */ + +/** @defgroup SMARTCARDEx_Flags SMARTCARD Flags + * Elements values convention: 0xXXXX + * - 0xXXXX : Flag mask in the ISR register + * @{ + */ +# 133 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_smartcard_ex.h" +/** + * @} + */ + +/** @defgroup SMARTCARDEx_Interrupt_definition SMARTCARD Interrupts Definition + * Elements values convention: 000ZZZZZ0XXYYYYYb + * - YYYYY : Interrupt source position in the XX register (5 bits) + * - XX : Interrupt source register (2 bits) + * - 01: CR1 register + * - 10: CR2 register + * - 11: CR3 register + * - ZZZZZ : Flag position in the ISR register(5 bits) + * @{ + */ +# 168 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_smartcard_ex.h" +/** + * @} + */ + +/** @defgroup SMARTCARDEx_IT_CLEAR_Flags SMARTCARD Interruption Clear Flags + * @{ + */ +# 185 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_smartcard_ex.h" +/** + * @} + */ + +/** + * @} + */ +/* Exported macros -----------------------------------------------------------*/ +/* Private macros ------------------------------------------------------------*/ +/** @defgroup SMARTCARDEx_Private_Macros SMARTCARD Extended Private Macros + * @{ + */ + +/** @brief Set the Transmission Completion flag + * @param __HANDLE__ specifies the SMARTCARD Handle. + * @note If TCBGT (Transmission Complete Before Guard Time) flag is not available or if + * AdvancedInit.TxCompletionIndication is not already filled, the latter is forced + * to SMARTCARD_TC (transmission completion indication when guard time has elapsed). + * @retval None + */ +# 217 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_smartcard_ex.h" +/** @brief Return the transmission completion flag. + * @param __HANDLE__ specifies the SMARTCARD Handle. + * @note Based on AdvancedInit.TxCompletionIndication setting, return TC or TCBGT flag. + * When TCBGT flag (Transmission Complete Before Guard Time) is not available, TC flag is + * reported. + * @retval Transmission completion flag + */ + + + + +/** @brief Ensure that SMARTCARD frame transmission completion used flag is valid. + * @param __TXCOMPLETE__ SMARTCARD frame transmission completion used flag. + * @retval SET (__TXCOMPLETE__ is valid) or RESET (__TXCOMPLETE__ is invalid) + */ + + + +/** @brief Ensure that SMARTCARD FIFO mode is valid. + * @param __STATE__ SMARTCARD FIFO mode. + * @retval SET (__STATE__ is valid) or RESET (__STATE__ is invalid) + */ + + + +/** @brief Ensure that SMARTCARD TXFIFO threshold level is valid. + * @param __THRESHOLD__ SMARTCARD TXFIFO threshold level. + * @retval SET (__THRESHOLD__ is valid) or RESET (__THRESHOLD__ is invalid) + */ + + + + + + + +/** @brief Ensure that SMARTCARD RXFIFO threshold level is valid. + * @param __THRESHOLD__ SMARTCARD RXFIFO threshold level. + * @retval SET (__THRESHOLD__ is valid) or RESET (__THRESHOLD__ is invalid) + */ + + + + + + + +/** + * @} + */ + +/* Exported functions --------------------------------------------------------*/ +/** @addtogroup SMARTCARDEx_Exported_Functions + * @{ + */ + +/* Initialization and de-initialization functions ****************************/ +/* IO operation methods *******************************************************/ + +/** @addtogroup SMARTCARDEx_Exported_Functions_Group1 + * @{ + */ + +/* Peripheral Control functions ***********************************************/ +void HAL_SMARTCARDEx_BlockLength_Config(SMARTCARD_HandleTypeDef *hsmartcard, uint8_t BlockLength); +void HAL_SMARTCARDEx_TimeOut_Config(SMARTCARD_HandleTypeDef *hsmartcard, uint32_t TimeOutValue); +HAL_StatusTypeDef HAL_SMARTCARDEx_EnableReceiverTimeOut(SMARTCARD_HandleTypeDef *hsmartcard); +HAL_StatusTypeDef HAL_SMARTCARDEx_DisableReceiverTimeOut(SMARTCARD_HandleTypeDef *hsmartcard); + +/** + * @} + */ + +/* Exported functions --------------------------------------------------------*/ +/** @addtogroup SMARTCARDEx_Exported_Functions_Group2 + * @{ + */ + +/* IO operation functions *****************************************************/ +void HAL_SMARTCARDEx_RxFifoFullCallback(SMARTCARD_HandleTypeDef *hsmartcard); +void HAL_SMARTCARDEx_TxFifoEmptyCallback(SMARTCARD_HandleTypeDef *hsmartcard); + +/** + * @} + */ + +/** @addtogroup SMARTCARDEx_Exported_Functions_Group3 + * @{ + */ + +/* Peripheral Control functions ***********************************************/ +HAL_StatusTypeDef HAL_SMARTCARDEx_EnableFifoMode(SMARTCARD_HandleTypeDef *hsmartcard); +HAL_StatusTypeDef HAL_SMARTCARDEx_DisableFifoMode(SMARTCARD_HandleTypeDef *hsmartcard); +HAL_StatusTypeDef HAL_SMARTCARDEx_SetTxFifoThreshold(SMARTCARD_HandleTypeDef *hsmartcard, uint32_t Threshold); +HAL_StatusTypeDef HAL_SMARTCARDEx_SetRxFifoThreshold(SMARTCARD_HandleTypeDef *hsmartcard, uint32_t Threshold); + +/** + * @} + */ + +/** + * @} + */ + +/* Private functions ---------------------------------------------------------*/ + +/** + * @} + */ + +/** + * @} + */ + + +} +# 1313 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_smartcard.h" 2 + +/* Exported functions --------------------------------------------------------*/ +/** @addtogroup SMARTCARD_Exported_Functions + * @{ + */ + +/* Initialization and de-initialization functions ****************************/ +/** @addtogroup SMARTCARD_Exported_Functions_Group1 + * @{ + */ + +HAL_StatusTypeDef HAL_SMARTCARD_Init(SMARTCARD_HandleTypeDef *hsmartcard); +HAL_StatusTypeDef HAL_SMARTCARD_DeInit(SMARTCARD_HandleTypeDef *hsmartcard); +void HAL_SMARTCARD_MspInit(SMARTCARD_HandleTypeDef *hsmartcard); +void HAL_SMARTCARD_MspDeInit(SMARTCARD_HandleTypeDef *hsmartcard); +# 1338 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_smartcard.h" +/** + * @} + */ + +/* IO operation functions *****************************************************/ +/** @addtogroup SMARTCARD_Exported_Functions_Group2 + * @{ + */ + +HAL_StatusTypeDef HAL_SMARTCARD_Transmit(SMARTCARD_HandleTypeDef *hsmartcard, const uint8_t *pData, uint16_t Size, + uint32_t Timeout); +HAL_StatusTypeDef HAL_SMARTCARD_Receive(SMARTCARD_HandleTypeDef *hsmartcard, uint8_t *pData, uint16_t Size, + uint32_t Timeout); +HAL_StatusTypeDef HAL_SMARTCARD_Transmit_IT(SMARTCARD_HandleTypeDef *hsmartcard, const uint8_t *pData, uint16_t Size); +HAL_StatusTypeDef HAL_SMARTCARD_Receive_IT(SMARTCARD_HandleTypeDef *hsmartcard, uint8_t *pData, uint16_t Size); +HAL_StatusTypeDef HAL_SMARTCARD_Transmit_DMA(SMARTCARD_HandleTypeDef *hsmartcard, const uint8_t *pData, uint16_t Size); +HAL_StatusTypeDef HAL_SMARTCARD_Receive_DMA(SMARTCARD_HandleTypeDef *hsmartcard, uint8_t *pData, uint16_t Size); +/* Transfer Abort functions */ +HAL_StatusTypeDef HAL_SMARTCARD_Abort(SMARTCARD_HandleTypeDef *hsmartcard); +HAL_StatusTypeDef HAL_SMARTCARD_AbortTransmit(SMARTCARD_HandleTypeDef *hsmartcard); +HAL_StatusTypeDef HAL_SMARTCARD_AbortReceive(SMARTCARD_HandleTypeDef *hsmartcard); +HAL_StatusTypeDef HAL_SMARTCARD_Abort_IT(SMARTCARD_HandleTypeDef *hsmartcard); +HAL_StatusTypeDef HAL_SMARTCARD_AbortTransmit_IT(SMARTCARD_HandleTypeDef *hsmartcard); +HAL_StatusTypeDef HAL_SMARTCARD_AbortReceive_IT(SMARTCARD_HandleTypeDef *hsmartcard); + +void HAL_SMARTCARD_IRQHandler(SMARTCARD_HandleTypeDef *hsmartcard); +void HAL_SMARTCARD_TxCpltCallback(SMARTCARD_HandleTypeDef *hsmartcard); +void HAL_SMARTCARD_RxCpltCallback(SMARTCARD_HandleTypeDef *hsmartcard); +void HAL_SMARTCARD_ErrorCallback(SMARTCARD_HandleTypeDef *hsmartcard); +void HAL_SMARTCARD_AbortCpltCallback(SMARTCARD_HandleTypeDef *hsmartcard); +void HAL_SMARTCARD_AbortTransmitCpltCallback(SMARTCARD_HandleTypeDef *hsmartcard); +void HAL_SMARTCARD_AbortReceiveCpltCallback(SMARTCARD_HandleTypeDef *hsmartcard); + +/** + * @} + */ + +/* Peripheral State and Error functions ***************************************/ +/** @addtogroup SMARTCARD_Exported_Functions_Group4 + * @{ + */ + +HAL_SMARTCARD_StateTypeDef HAL_SMARTCARD_GetState(const SMARTCARD_HandleTypeDef *hsmartcard); +uint32_t HAL_SMARTCARD_GetError(const SMARTCARD_HandleTypeDef *hsmartcard); + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + + +} +# 483 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_smbus.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_smbus.h + * @author MCD Application Team + * @brief Header file of SMBUS HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_smbus.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup SMBUS + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/** @defgroup SMBUS_Exported_Types SMBUS Exported Types + * @{ + */ + +/** @defgroup SMBUS_Configuration_Structure_definition SMBUS Configuration Structure definition + * @brief SMBUS Configuration Structure definition + * @{ + */ +typedef struct +{ + uint32_t Timing; /*!< Specifies the SMBUS_TIMINGR_register value. + This parameter calculated by referring to SMBUS initialization section + in Reference manual */ + uint32_t AnalogFilter; /*!< Specifies if Analog Filter is enable or not. + This parameter can be a value of @ref SMBUS_Analog_Filter */ + + uint32_t OwnAddress1; /*!< Specifies the first device own address. + This parameter can be a 7-bit or 10-bit address. */ + + uint32_t AddressingMode; /*!< Specifies if 7-bit or 10-bit addressing mode for master is selected. + This parameter can be a value of @ref SMBUS_addressing_mode */ + + uint32_t DualAddressMode; /*!< Specifies if dual addressing mode is selected. + This parameter can be a value of @ref SMBUS_dual_addressing_mode */ + + uint32_t OwnAddress2; /*!< Specifies the second device own address if dual addressing mode is selected + This parameter can be a 7-bit address. */ + + uint32_t OwnAddress2Masks; /*!< Specifies the acknowledge mask address second device own address + if dual addressing mode is selected + This parameter can be a value of @ref SMBUS_own_address2_masks. */ + + uint32_t GeneralCallMode; /*!< Specifies if general call mode is selected. + This parameter can be a value of @ref SMBUS_general_call_addressing_mode. */ + + uint32_t NoStretchMode; /*!< Specifies if nostretch mode is selected. + This parameter can be a value of @ref SMBUS_nostretch_mode */ + + uint32_t PacketErrorCheckMode; /*!< Specifies if Packet Error Check mode is selected. + This parameter can be a value of @ref SMBUS_packet_error_check_mode */ + + uint32_t PeripheralMode; /*!< Specifies which mode of Periphal is selected. + This parameter can be a value of @ref SMBUS_peripheral_mode */ + + uint32_t SMBusTimeout; /*!< Specifies the content of the 32 Bits SMBUS_TIMEOUT_register value. + (Enable bits and different timeout values) + This parameter calculated by referring to SMBUS initialization section + in Reference manual */ +} SMBUS_InitTypeDef; +/** + * @} + */ + +/** @defgroup HAL_state_definition HAL state definition + * @brief HAL State definition + * @{ + */ +# 104 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_smbus.h" +/** + * @} + */ + +/** @defgroup SMBUS_Error_Code_definition SMBUS Error Code definition + * @brief SMBUS Error Code definition + * @{ + */ +# 125 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_smbus.h" +/** + * @} + */ + +/** @defgroup SMBUS_handle_Structure_definition SMBUS handle Structure definition + * @brief SMBUS handle Structure definition + * @{ + */ + + + +typedef struct + +{ + I2C_TypeDef *Instance; + + SMBUS_InitTypeDef Init; + + uint8_t *pBuffPtr; + + uint16_t XferSize; + + volatile uint16_t XferCount; + + volatile uint32_t XferOptions; + + volatile uint32_t PreviousState; + + HAL_LockTypeDef Lock; + + volatile uint32_t State; + + volatile uint32_t ErrorCode; +# 182 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_smbus.h" +} SMBUS_HandleTypeDef; +# 212 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_smbus.h" +/** + * @} + */ + +/** + * @} + */ +/* Exported constants --------------------------------------------------------*/ + +/** @defgroup SMBUS_Exported_Constants SMBUS Exported Constants + * @{ + */ + +/** @defgroup SMBUS_Analog_Filter SMBUS Analog Filter + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SMBUS_addressing_mode SMBUS addressing mode + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SMBUS_dual_addressing_mode SMBUS dual addressing mode + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup SMBUS_own_address2_masks SMBUS ownaddress2 masks + * @{ + */ +# 265 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_smbus.h" +/** + * @} + */ + + +/** @defgroup SMBUS_general_call_addressing_mode SMBUS general call addressing mode + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SMBUS_nostretch_mode SMBUS nostretch mode + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SMBUS_packet_error_check_mode SMBUS packet error check mode + * @{ + */ + + +/** + * @} + */ + +/** @defgroup SMBUS_peripheral_mode SMBUS peripheral mode + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup SMBUS_ReloadEndMode_definition SMBUS ReloadEndMode definition + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup SMBUS_StartStopMode_definition SMBUS StartStopMode definition + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup SMBUS_XferOptions_definition SMBUS XferOptions definition + * @{ + */ + +/* List of XferOptions in usage of : + * 1- Restart condition when direction change + * 2- No Restart condition in other use cases + */ +# 347 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_smbus.h" +/* List of XferOptions in usage of : + * 1- Restart condition in all use cases (direction change or not) + */ + + + + +/** + * @} + */ + +/** @defgroup SMBUS_Interrupt_configuration_definition SMBUS Interrupt configuration definition + * @brief SMBUS Interrupt definition + * Elements values convention: 0xXXXXXXXX + * - XXXXXXXX : Interrupt control mask + * @{ + */ +# 377 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_smbus.h" +/** + * @} + */ + +/** @defgroup SMBUS_Flag_definition SMBUS Flag definition + * @brief Flag definition + * Elements values convention: 0xXXXXYYYY + * - XXXXXXXX : Flag mask + * @{ + */ +# 404 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_smbus.h" +/** + * @} + */ + +/** + * @} + */ + +/* Exported macros ------------------------------------------------------------*/ +/** @defgroup SMBUS_Exported_Macros SMBUS Exported Macros + * @{ + */ + +/** @brief Reset SMBUS handle state. + * @param __HANDLE__ specifies the SMBUS Handle. + * @retval None + */ +# 431 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_smbus.h" +/** @brief Enable the specified SMBUS interrupts. + * @param __HANDLE__ specifies the SMBUS Handle. + * @param __INTERRUPT__ specifies the interrupt source to enable. + * This parameter can be one of the following values: + * @arg @ref SMBUS_IT_ERRI Errors interrupt enable + * @arg @ref SMBUS_IT_TCI Transfer complete interrupt enable + * @arg @ref SMBUS_IT_STOPI STOP detection interrupt enable + * @arg @ref SMBUS_IT_NACKI NACK received interrupt enable + * @arg @ref SMBUS_IT_ADDRI Address match interrupt enable + * @arg @ref SMBUS_IT_RXI RX interrupt enable + * @arg @ref SMBUS_IT_TXI TX interrupt enable + * + * @retval None + */ + + +/** @brief Disable the specified SMBUS interrupts. + * @param __HANDLE__ specifies the SMBUS Handle. + * @param __INTERRUPT__ specifies the interrupt source to disable. + * This parameter can be one of the following values: + * @arg @ref SMBUS_IT_ERRI Errors interrupt enable + * @arg @ref SMBUS_IT_TCI Transfer complete interrupt enable + * @arg @ref SMBUS_IT_STOPI STOP detection interrupt enable + * @arg @ref SMBUS_IT_NACKI NACK received interrupt enable + * @arg @ref SMBUS_IT_ADDRI Address match interrupt enable + * @arg @ref SMBUS_IT_RXI RX interrupt enable + * @arg @ref SMBUS_IT_TXI TX interrupt enable + * + * @retval None + */ + + +/** @brief Check whether the specified SMBUS interrupt source is enabled or not. + * @param __HANDLE__ specifies the SMBUS Handle. + * @param __INTERRUPT__ specifies the SMBUS interrupt source to check. + * This parameter can be one of the following values: + * @arg @ref SMBUS_IT_ERRI Errors interrupt enable + * @arg @ref SMBUS_IT_TCI Transfer complete interrupt enable + * @arg @ref SMBUS_IT_STOPI STOP detection interrupt enable + * @arg @ref SMBUS_IT_NACKI NACK received interrupt enable + * @arg @ref SMBUS_IT_ADDRI Address match interrupt enable + * @arg @ref SMBUS_IT_RXI RX interrupt enable + * @arg @ref SMBUS_IT_TXI TX interrupt enable + * + * @retval The new state of __IT__ (SET or RESET). + */ + + + +/** @brief Check whether the specified SMBUS flag is set or not. + * @param __HANDLE__ specifies the SMBUS Handle. + * @param __FLAG__ specifies the flag to check. + * This parameter can be one of the following values: + * @arg @ref SMBUS_FLAG_TXE Transmit data register empty + * @arg @ref SMBUS_FLAG_TXIS Transmit interrupt status + * @arg @ref SMBUS_FLAG_RXNE Receive data register not empty + * @arg @ref SMBUS_FLAG_ADDR Address matched (slave mode) + * @arg @ref SMBUS_FLAG_AF NACK received flag + * @arg @ref SMBUS_FLAG_STOPF STOP detection flag + * @arg @ref SMBUS_FLAG_TC Transfer complete (master mode) + * @arg @ref SMBUS_FLAG_TCR Transfer complete reload + * @arg @ref SMBUS_FLAG_BERR Bus error + * @arg @ref SMBUS_FLAG_ARLO Arbitration lost + * @arg @ref SMBUS_FLAG_OVR Overrun/Underrun + * @arg @ref SMBUS_FLAG_PECERR PEC error in reception + * @arg @ref SMBUS_FLAG_TIMEOUT Timeout or Tlow detection flag + * @arg @ref SMBUS_FLAG_ALERT SMBus alert + * @arg @ref SMBUS_FLAG_BUSY Bus busy + * @arg @ref SMBUS_FLAG_DIR Transfer direction (slave mode) + * + * @retval The new state of __FLAG__ (SET or RESET). + */ + + + + + +/** @brief Clear the SMBUS pending flags which are cleared by writing 1 in a specific bit. + * @param __HANDLE__ specifies the SMBUS Handle. + * @param __FLAG__ specifies the flag to clear. + * This parameter can be any combination of the following values: + * @arg @ref SMBUS_FLAG_TXE Transmit data register empty + * @arg @ref SMBUS_FLAG_ADDR Address matched (slave mode) + * @arg @ref SMBUS_FLAG_AF NACK received flag + * @arg @ref SMBUS_FLAG_STOPF STOP detection flag + * @arg @ref SMBUS_FLAG_BERR Bus error + * @arg @ref SMBUS_FLAG_ARLO Arbitration lost + * @arg @ref SMBUS_FLAG_OVR Overrun/Underrun + * @arg @ref SMBUS_FLAG_PECERR PEC error in reception + * @arg @ref SMBUS_FLAG_TIMEOUT Timeout or Tlow detection flag + * @arg @ref SMBUS_FLAG_ALERT SMBus alert + * + * @retval None + */ + + + + +/** @brief Enable the specified SMBUS peripheral. + * @param __HANDLE__ specifies the SMBUS Handle. + * @retval None + */ + + +/** @brief Disable the specified SMBUS peripheral. + * @param __HANDLE__ specifies the SMBUS Handle. + * @retval None + */ + + +/** @brief Generate a Non-Acknowledge SMBUS peripheral in Slave mode. + * @param __HANDLE__ specifies the SMBUS Handle. + * @retval None + */ + + +/** + * @} + */ + + +/* Private constants ---------------------------------------------------------*/ + +/* Private macros ------------------------------------------------------------*/ +/** @defgroup SMBUS_Private_Macro SMBUS Private Macros + * @{ + */ +# 652 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_smbus.h" +/** + * @} + */ + +/* Include SMBUS HAL Extended module */ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_smbus_ex.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_smbus_ex.h + * @author MCD Application Team + * @brief Header file of SMBUS HAL Extended module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_smbus_ex.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup SMBUSEx + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/* Exported constants --------------------------------------------------------*/ +/** @defgroup SMBUSEx_Exported_Constants SMBUS Extended Exported Constants + * @{ + */ + +/** @defgroup SMBUSEx_FastModePlus SMBUS Extended Fast Mode Plus + * @{ + */ +# 61 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_smbus_ex.h" +/** + * @} + */ + +/** + * @} + */ + +/* Exported macro ------------------------------------------------------------*/ +/** @defgroup SMBUSEx_Exported_Macros SMBUS Extended Exported Macros + * @{ + */ + +/** + * @} + */ + +/* Exported functions --------------------------------------------------------*/ +/** @addtogroup SMBUSEx_Exported_Functions SMBUS Extended Exported Functions + * @{ + */ + +/** @addtogroup SMBUSEx_Exported_Functions_Group2 WakeUp Mode Functions + * @{ + */ +/* Peripheral Control functions ************************************************/ +HAL_StatusTypeDef HAL_SMBUSEx_EnableWakeUp(SMBUS_HandleTypeDef *hsmbus); +HAL_StatusTypeDef HAL_SMBUSEx_DisableWakeUp(SMBUS_HandleTypeDef *hsmbus); +/** + * @} + */ + +/** @addtogroup SMBUSEx_Exported_Functions_Group3 Fast Mode Plus Functions + * @{ + */ +void HAL_SMBUSEx_EnableFastModePlus(uint32_t ConfigFastModePlus); +void HAL_SMBUSEx_DisableFastModePlus(uint32_t ConfigFastModePlus); +/** + * @} + */ + +/** + * @} + */ + +/* Private constants ---------------------------------------------------------*/ +/** @defgroup SMBUSEx_Private_Constants SMBUS Extended Private Constants + * @{ + */ + +/** + * @} + */ + +/* Private macros ------------------------------------------------------------*/ +/** @defgroup SMBUSEx_Private_Macro SMBUS Extended Private Macros + * @{ + */ +# 127 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_smbus_ex.h" +/** + * @} + */ + +/* Private Functions ---------------------------------------------------------*/ +/** @defgroup SMBUSEx_Private_Functions SMBUS Extended Private Functions + * @{ + */ +/* Private functions are defined in stm32h7xx_hal_smbus_ex.c file */ +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + + +} +# 658 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_smbus.h" 2 + +/* Exported functions --------------------------------------------------------*/ +/** @addtogroup SMBUS_Exported_Functions SMBUS Exported Functions + * @{ + */ + +/** @addtogroup SMBUS_Exported_Functions_Group1 Initialization and de-initialization functions + * @{ + */ + +/* Initialization and de-initialization functions ****************************/ +HAL_StatusTypeDef HAL_SMBUS_Init(SMBUS_HandleTypeDef *hsmbus); +HAL_StatusTypeDef HAL_SMBUS_DeInit(SMBUS_HandleTypeDef *hsmbus); +void HAL_SMBUS_MspInit(SMBUS_HandleTypeDef *hsmbus); +void HAL_SMBUS_MspDeInit(SMBUS_HandleTypeDef *hsmbus); +HAL_StatusTypeDef HAL_SMBUS_ConfigAnalogFilter(SMBUS_HandleTypeDef *hsmbus, uint32_t AnalogFilter); +HAL_StatusTypeDef HAL_SMBUS_ConfigDigitalFilter(SMBUS_HandleTypeDef *hsmbus, uint32_t DigitalFilter); + +/* Callbacks Register/UnRegister functions ***********************************/ +# 688 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_smbus.h" +/** + * @} + */ + +/** @addtogroup SMBUS_Exported_Functions_Group2 Input and Output operation functions + * @{ + */ + +/* IO operation functions *****************************************************/ +/** @addtogroup Blocking_mode_Polling Blocking mode Polling + * @{ + */ +/******* Blocking mode: Polling */ +HAL_StatusTypeDef HAL_SMBUS_IsDeviceReady(SMBUS_HandleTypeDef *hsmbus, uint16_t DevAddress, uint32_t Trials, + uint32_t Timeout); +/** + * @} + */ + +/** @addtogroup Non-Blocking_mode_Interrupt Non-Blocking mode Interrupt + * @{ + */ +/******* Non-Blocking mode: Interrupt */ +HAL_StatusTypeDef HAL_SMBUS_Master_Transmit_IT(SMBUS_HandleTypeDef *hsmbus, uint16_t DevAddress, + uint8_t *pData, uint16_t Size, uint32_t XferOptions); +HAL_StatusTypeDef HAL_SMBUS_Master_Receive_IT(SMBUS_HandleTypeDef *hsmbus, uint16_t DevAddress, + uint8_t *pData, uint16_t Size, uint32_t XferOptions); +HAL_StatusTypeDef HAL_SMBUS_Master_Abort_IT(SMBUS_HandleTypeDef *hsmbus, uint16_t DevAddress); +HAL_StatusTypeDef HAL_SMBUS_Slave_Transmit_IT(SMBUS_HandleTypeDef *hsmbus, uint8_t *pData, uint16_t Size, + uint32_t XferOptions); +HAL_StatusTypeDef HAL_SMBUS_Slave_Receive_IT(SMBUS_HandleTypeDef *hsmbus, uint8_t *pData, uint16_t Size, + uint32_t XferOptions); + +HAL_StatusTypeDef HAL_SMBUS_EnableAlert_IT(SMBUS_HandleTypeDef *hsmbus); +HAL_StatusTypeDef HAL_SMBUS_DisableAlert_IT(SMBUS_HandleTypeDef *hsmbus); +HAL_StatusTypeDef HAL_SMBUS_EnableListen_IT(SMBUS_HandleTypeDef *hsmbus); +HAL_StatusTypeDef HAL_SMBUS_DisableListen_IT(SMBUS_HandleTypeDef *hsmbus); +/** + * @} + */ + +/** @addtogroup SMBUS_IRQ_Handler_and_Callbacks IRQ Handler and Callbacks + * @{ + */ +/******* SMBUS IRQHandler and Callbacks used in non blocking modes (Interrupt) */ +void HAL_SMBUS_EV_IRQHandler(SMBUS_HandleTypeDef *hsmbus); +void HAL_SMBUS_ER_IRQHandler(SMBUS_HandleTypeDef *hsmbus); +void HAL_SMBUS_MasterTxCpltCallback(SMBUS_HandleTypeDef *hsmbus); +void HAL_SMBUS_MasterRxCpltCallback(SMBUS_HandleTypeDef *hsmbus); +void HAL_SMBUS_SlaveTxCpltCallback(SMBUS_HandleTypeDef *hsmbus); +void HAL_SMBUS_SlaveRxCpltCallback(SMBUS_HandleTypeDef *hsmbus); +void HAL_SMBUS_AddrCallback(SMBUS_HandleTypeDef *hsmbus, uint8_t TransferDirection, uint16_t AddrMatchCode); +void HAL_SMBUS_ListenCpltCallback(SMBUS_HandleTypeDef *hsmbus); +void HAL_SMBUS_ErrorCallback(SMBUS_HandleTypeDef *hsmbus); + +/** + * @} + */ + +/** @addtogroup SMBUS_Exported_Functions_Group3 Peripheral State and Errors functions + * @{ + */ + +/* Peripheral State and Errors functions **************************************************/ +uint32_t HAL_SMBUS_GetState(const SMBUS_HandleTypeDef *hsmbus); +uint32_t HAL_SMBUS_GetError(const SMBUS_HandleTypeDef *hsmbus); + +/** + * @} + */ + +/** + * @} + */ + +/* Private Functions ---------------------------------------------------------*/ +/** @defgroup SMBUS_Private_Functions SMBUS Private Functions + * @{ + */ +/* Private functions are defined in stm32h7xx_hal_smbus.c file */ +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + + +} +# 487 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_wwdg.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_wwdg.h + * @author MCD Application Team + * @brief Header file of WWDG HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_wwdg.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup WWDG + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ + +/** @defgroup WWDG_Exported_Types WWDG Exported Types + * @{ + */ + +/** + * @brief WWDG Init structure definition + */ +typedef struct +{ + uint32_t Prescaler; /*!< Specifies the prescaler value of the WWDG. + This parameter can be a value of @ref WWDG_Prescaler */ + + uint32_t Window; /*!< Specifies the WWDG window value to be compared to the downcounter. + This parameter must be a number Min_Data = 0x40 and Max_Data = 0x7F */ + + uint32_t Counter; /*!< Specifies the WWDG free-running downcounter value. + This parameter must be a number between Min_Data = 0x40 and Max_Data = 0x7F */ + + uint32_t EWIMode ; /*!< Specifies if WWDG Early Wakeup Interrupt is enable or not. + This parameter can be a value of @ref WWDG_EWI_Mode */ + +} WWDG_InitTypeDef; + +/** + * @brief WWDG handle Structure definition + */ + + + +typedef struct + +{ + WWDG_TypeDef *Instance; + + WWDG_InitTypeDef Init; + + + + + + +} WWDG_HandleTypeDef; +# 99 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_wwdg.h" +/** + * @} + */ + +/* Exported constants --------------------------------------------------------*/ + +/** @defgroup WWDG_Exported_Constants WWDG Exported Constants + * @{ + */ + +/** @defgroup WWDG_Interrupt_definition WWDG Interrupt definition + * @{ + */ + +/** + * @} + */ + +/** @defgroup WWDG_Flag_definition WWDG Flag definition + * @brief WWDG Flag definition + * @{ + */ + +/** + * @} + */ + +/** @defgroup WWDG_Prescaler WWDG Prescaler + * @{ + */ +# 137 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_wwdg.h" +/** + * @} + */ + +/** @defgroup WWDG_EWI_Mode WWDG Early Wakeup Interrupt Mode + * @{ + */ + + +/** + * @} + */ + +/** + * @} + */ + +/* Private macros ------------------------------------------------------------*/ + +/** @defgroup WWDG_Private_Macros WWDG Private Macros + * @{ + */ +# 174 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_wwdg.h" +/** + * @} + */ + + +/* Exported macros ------------------------------------------------------------*/ + +/** @defgroup WWDG_Exported_Macros WWDG Exported Macros + * @{ + */ + +/** + * @brief Enable the WWDG peripheral. + * @param __HANDLE__ WWDG handle + * @retval None + */ + + +/** + * @brief Enable the WWDG early wakeup interrupt. + * @param __HANDLE__: WWDG handle + * @param __INTERRUPT__ specifies the interrupt to enable. + * This parameter can be one of the following values: + * @arg WWDG_IT_EWI: Early wakeup interrupt + * @note Once enabled this interrupt cannot be disabled except by a system reset. + * @retval None + */ + + +/** + * @brief Check whether the selected WWDG interrupt has occurred or not. + * @param __HANDLE__ WWDG handle + * @param __INTERRUPT__ specifies the it to check. + * This parameter can be one of the following values: + * @arg WWDG_FLAG_EWIF: Early wakeup interrupt IT + * @retval The new state of WWDG_FLAG (SET or RESET). + */ + + +/** @brief Clear the WWDG interrupt pending bits. + * bits to clear the selected interrupt pending bits. + * @param __HANDLE__ WWDG handle + * @param __INTERRUPT__ specifies the interrupt pending bit to clear. + * This parameter can be one of the following values: + * @arg WWDG_FLAG_EWIF: Early wakeup interrupt flag + */ + + +/** + * @brief Check whether the specified WWDG flag is set or not. + * @param __HANDLE__ WWDG handle + * @param __FLAG__ specifies the flag to check. + * This parameter can be one of the following values: + * @arg WWDG_FLAG_EWIF: Early wakeup interrupt flag + * @retval The new state of WWDG_FLAG (SET or RESET). + */ + + +/** + * @brief Clear the WWDG's pending flags. + * @param __HANDLE__ WWDG handle + * @param __FLAG__ specifies the flag to clear. + * This parameter can be one of the following values: + * @arg WWDG_FLAG_EWIF: Early wakeup interrupt flag + * @retval None + */ + + +/** @brief Check whether the specified WWDG interrupt source is enabled or not. + * @param __HANDLE__ WWDG Handle. + * @param __INTERRUPT__ specifies the WWDG interrupt source to check. + * This parameter can be one of the following values: + * @arg WWDG_IT_EWI: Early Wakeup Interrupt + * @retval state of __INTERRUPT__ (TRUE or FALSE). + */ + + + +/** + * @} + */ + +/* Exported functions --------------------------------------------------------*/ + +/** @addtogroup WWDG_Exported_Functions + * @{ + */ + +/** @addtogroup WWDG_Exported_Functions_Group1 + * @{ + */ +/* Initialization/de-initialization functions **********************************/ +HAL_StatusTypeDef HAL_WWDG_Init(WWDG_HandleTypeDef *hwwdg); +void HAL_WWDG_MspInit(WWDG_HandleTypeDef *hwwdg); +/* Callbacks Register/UnRegister functions ***********************************/ + + + + + + +/** + * @} + */ + +/** @addtogroup WWDG_Exported_Functions_Group2 + * @{ + */ +/* I/O operation functions ******************************************************/ +HAL_StatusTypeDef HAL_WWDG_Refresh(WWDG_HandleTypeDef *hwwdg); +void HAL_WWDG_IRQHandler(WWDG_HandleTypeDef *hwwdg); +void HAL_WWDG_EarlyWakeupCallback(WWDG_HandleTypeDef *hwwdg); +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + + +} +# 491 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_pcd.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_pcd.h + * @author MCD Application Team + * @brief Header file of PCD HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_usb.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_ll_usb.h + * @author MCD Application Team + * @brief Header file of USB Low Layer HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_usb.h" 2 + + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup USB_LL + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +# 48 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_usb.h" +/** + * @brief USB Mode definition + */ + +typedef enum +{ + USB_DEVICE_MODE = 0, + USB_HOST_MODE = 1, + USB_DRD_MODE = 2 +} USB_ModeTypeDef; + +/** + * @brief URB States definition + */ +typedef enum +{ + URB_IDLE = 0, + URB_DONE, + URB_NOTREADY, + URB_NYET, + URB_ERROR, + URB_STALL +} USB_URBStateTypeDef; + +/** + * @brief Host channel States definition + */ +typedef enum +{ + HC_IDLE = 0, + HC_XFRC, + HC_HALTED, + HC_ACK, + HC_NAK, + HC_NYET, + HC_STALL, + HC_XACTERR, + HC_BBLERR, + HC_DATATGLERR +} USB_HCStateTypeDef; + + +/** + * @brief USB Instance Initialization Structure definition + */ +typedef struct +{ + uint8_t dev_endpoints; /*!< Device Endpoints number. + This parameter depends on the used USB core. + This parameter must be a number between Min_Data = 1 and Max_Data = 15 */ + + uint8_t Host_channels; /*!< Host Channels number. + This parameter Depends on the used USB core. + This parameter must be a number between Min_Data = 1 and Max_Data = 15 */ + + uint8_t dma_enable; /*!< USB DMA state. + If DMA is not supported this parameter shall be set by default to zero */ + + uint8_t speed; /*!< USB Core speed. + This parameter can be any value of @ref PCD_Speed/HCD_Speed + (HCD_SPEED_xxx, HCD_SPEED_xxx) */ + + uint8_t ep0_mps; + + uint8_t phy_itface; /*!< Select the used PHY interface. + This parameter can be any value of @ref PCD_PHY_Module/HCD_PHY_Module */ + + uint8_t Sof_enable; + + uint8_t low_power_enable; + + uint8_t lpm_enable; + + uint8_t battery_charging_enable; + + uint8_t vbus_sensing_enable; + + uint8_t use_dedicated_ep1; + + uint8_t use_external_vbus; + +} USB_CfgTypeDef; + +typedef struct +{ + uint8_t num; /*!< Endpoint number + This parameter must be a number between Min_Data = 1 and Max_Data = 15 */ + + uint8_t is_in; /*!< Endpoint direction + This parameter must be a number between Min_Data = 0 and Max_Data = 1 */ + + uint8_t is_stall; /*!< Endpoint stall condition + This parameter must be a number between Min_Data = 0 and Max_Data = 1 */ + + uint8_t is_iso_incomplete; /*!< Endpoint isoc condition + This parameter must be a number between Min_Data = 0 and Max_Data = 1 */ + + uint8_t type; /*!< Endpoint type + This parameter can be any value of @ref USB_LL_EP_Type */ + + uint8_t data_pid_start; /*!< Initial data PID + This parameter must be a number between Min_Data = 0 and Max_Data = 1 */ + + uint32_t maxpacket; /*!< Endpoint Max packet size + This parameter must be a number between Min_Data = 0 and Max_Data = 64KB */ + + uint8_t *xfer_buff; + + uint32_t xfer_len; + + uint32_t xfer_count; + + uint8_t even_odd_frame; /*!< IFrame parity + This parameter must be a number between Min_Data = 0 and Max_Data = 1 */ + + uint16_t tx_fifo_num; /*!< Transmission FIFO number + This parameter must be a number between Min_Data = 1 and Max_Data = 15 */ + + uint32_t dma_addr; + + uint32_t xfer_size; +} USB_EPTypeDef; + +typedef struct +{ + uint8_t dev_addr; /*!< USB device address. + This parameter must be a number between Min_Data = 1 and Max_Data = 255 */ + + uint8_t ch_num; /*!< Host channel number. + This parameter must be a number between Min_Data = 1 and Max_Data = 15 */ + + uint8_t ep_num; /*!< Endpoint number. + This parameter must be a number between Min_Data = 1 and Max_Data = 15 */ + + uint8_t ep_is_in; /*!< Endpoint direction + This parameter must be a number between Min_Data = 0 and Max_Data = 1 */ + + uint8_t speed; /*!< USB Host Channel speed. + This parameter can be any value of @ref HCD_Device_Speed: + (HCD_DEVICE_SPEED_xxx) */ + + uint8_t do_ping; + uint8_t do_ssplit; + uint8_t do_csplit; + uint8_t ep_ss_schedule; + uint32_t iso_splt_xactPos; + + uint8_t hub_port_nbr; + uint8_t hub_addr; + + uint8_t ep_type; /*!< Endpoint Type. + This parameter can be any value of @ref USB_LL_EP_Type */ + + uint16_t max_packet; /*!< Endpoint Max packet size. + This parameter must be a number between Min_Data = 0 and Max_Data = 64KB */ + + uint8_t data_pid; /*!< Initial data PID. + This parameter must be a number between Min_Data = 0 and Max_Data = 1 */ + + uint8_t *xfer_buff; + + uint32_t XferSize; + + uint32_t xfer_len; + + uint32_t xfer_count; + + uint8_t toggle_in; /*!< IN transfer current toggle flag. + This parameter must be a number between Min_Data = 0 and Max_Data = 1 */ + + uint8_t toggle_out; /*!< OUT transfer current toggle flag + This parameter must be a number between Min_Data = 0 and Max_Data = 1 */ + + uint32_t dma_addr; + + uint32_t ErrCnt; + uint32_t NyetErrCnt; + + USB_URBStateTypeDef urb_state; /*!< URB state. + This parameter can be any value of @ref USB_URBStateTypeDef */ + + USB_HCStateTypeDef state; /*!< Host Channel state. + This parameter can be any value of @ref USB_HCStateTypeDef */ +} USB_HCTypeDef; + +typedef USB_ModeTypeDef USB_OTG_ModeTypeDef; +typedef USB_CfgTypeDef USB_OTG_CfgTypeDef; +typedef USB_EPTypeDef USB_OTG_EPTypeDef; +typedef USB_URBStateTypeDef USB_OTG_URBStateTypeDef; +typedef USB_HCStateTypeDef USB_OTG_HCStateTypeDef; +typedef USB_HCTypeDef USB_OTG_HCTypeDef; + +/* Exported constants --------------------------------------------------------*/ + +/** @defgroup PCD_Exported_Constants PCD Exported Constants + * @{ + */ + + +/** @defgroup USB_OTG_CORE VERSION ID + * @{ + */ + + +/** + * @} + */ + +/** @defgroup USB_Core_Mode_ USB Core Mode + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup USB_LL_Core_Speed USB Low Layer Core Speed + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup USB_LL_Core_PHY USB Low Layer Core PHY + * @{ + */ + + +/** + * @} + */ + +/** @defgroup USB_LL_Turnaround_Timeout Turnaround Timeout Value + * @{ + */ + + + + + + + +/** + * @} + */ + +/** @defgroup USB_LL_Core_MPS USB Low Layer Core MPS + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup USB_LL_Core_PHY_Frequency USB Low Layer Core PHY Frequency + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup USB_LL_CORE_Frame_Interval USB Low Layer Core Frame Interval + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup USB_LL_EP0_MPS USB Low Layer EP0 MPS + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup USB_LL_EP_Type USB Low Layer EP Type + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup USB_LL_EP_Speed USB Low Layer EP Speed + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup USB_LL_CH_PID_Type USB Low Layer Channel PID Type + * @{ + */ + + + + +/** + * @} + */ + +/** @defgroup USB_LL Device Speed + * @{ + */ + + + + + +/** + * @} + */ + + +/** @defgroup USB_LL_STS_Defines USB Low Layer STS Defines + * @{ + */ + + + + + +/** + * @} + */ + +/** @defgroup USB_LL_HCFG_SPEED_Defines USB Low Layer HCFG Speed Defines + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup USB_LL_HFIR_Defines USB Low Layer frame interval Defines + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup USB_LL_HPRT0_PRTSPD_SPEED_Defines USB Low Layer HPRT0 PRTSPD Speed Defines + * @{ + */ + + + +/** + * @} + */ +# 475 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_usb.h" +/** + * @} + */ + +/* Exported macro ------------------------------------------------------------*/ +/** @defgroup USB_LL_Exported_Macros USB Low Layer Exported Macros + * @{ + */ + + + + + + + +/** + * @} + */ + +/* Exported functions --------------------------------------------------------*/ +/** @addtogroup USB_LL_Exported_Functions USB Low Layer Exported Functions + * @{ + */ + +HAL_StatusTypeDef USB_CoreInit(USB_OTG_GlobalTypeDef *USBx, USB_OTG_CfgTypeDef cfg); +HAL_StatusTypeDef USB_DevInit(USB_OTG_GlobalTypeDef *USBx, USB_OTG_CfgTypeDef cfg); +HAL_StatusTypeDef USB_EnableGlobalInt(USB_OTG_GlobalTypeDef *USBx); +HAL_StatusTypeDef USB_DisableGlobalInt(USB_OTG_GlobalTypeDef *USBx); +HAL_StatusTypeDef USB_SetTurnaroundTime(USB_OTG_GlobalTypeDef *USBx, uint32_t hclk, uint8_t speed); +HAL_StatusTypeDef USB_SetCurrentMode(USB_OTG_GlobalTypeDef *USBx, USB_OTG_ModeTypeDef mode); +HAL_StatusTypeDef USB_SetDevSpeed(const USB_OTG_GlobalTypeDef *USBx, uint8_t speed); +HAL_StatusTypeDef USB_FlushRxFifo(USB_OTG_GlobalTypeDef *USBx); +HAL_StatusTypeDef USB_FlushTxFifo(USB_OTG_GlobalTypeDef *USBx, uint32_t num); +HAL_StatusTypeDef USB_ActivateEndpoint(const USB_OTG_GlobalTypeDef *USBx, const USB_OTG_EPTypeDef *ep); +HAL_StatusTypeDef USB_DeactivateEndpoint(const USB_OTG_GlobalTypeDef *USBx, const USB_OTG_EPTypeDef *ep); +HAL_StatusTypeDef USB_ActivateDedicatedEndpoint(const USB_OTG_GlobalTypeDef *USBx, const USB_OTG_EPTypeDef *ep); +HAL_StatusTypeDef USB_DeactivateDedicatedEndpoint(const USB_OTG_GlobalTypeDef *USBx, const USB_OTG_EPTypeDef *ep); +HAL_StatusTypeDef USB_EPStartXfer(USB_OTG_GlobalTypeDef *USBx, USB_OTG_EPTypeDef *ep, uint8_t dma); +HAL_StatusTypeDef USB_WritePacket(const USB_OTG_GlobalTypeDef *USBx, uint8_t *src, + uint8_t ch_ep_num, uint16_t len, uint8_t dma); + +void *USB_ReadPacket(const USB_OTG_GlobalTypeDef *USBx, uint8_t *dest, uint16_t len); +HAL_StatusTypeDef USB_EPSetStall(const USB_OTG_GlobalTypeDef *USBx, const USB_OTG_EPTypeDef *ep); +HAL_StatusTypeDef USB_EPClearStall(const USB_OTG_GlobalTypeDef *USBx, const USB_OTG_EPTypeDef *ep); +HAL_StatusTypeDef USB_EPStopXfer(const USB_OTG_GlobalTypeDef *USBx, USB_OTG_EPTypeDef *ep); +HAL_StatusTypeDef USB_SetDevAddress(const USB_OTG_GlobalTypeDef *USBx, uint8_t address); +HAL_StatusTypeDef USB_DevConnect(const USB_OTG_GlobalTypeDef *USBx); +HAL_StatusTypeDef USB_DevDisconnect(const USB_OTG_GlobalTypeDef *USBx); +HAL_StatusTypeDef USB_StopDevice(USB_OTG_GlobalTypeDef *USBx); +HAL_StatusTypeDef USB_ActivateSetup(const USB_OTG_GlobalTypeDef *USBx); +HAL_StatusTypeDef USB_EP0_OutStart(const USB_OTG_GlobalTypeDef *USBx, uint8_t dma, const uint8_t *psetup); +uint8_t USB_GetDevSpeed(const USB_OTG_GlobalTypeDef *USBx); +uint32_t USB_GetMode(const USB_OTG_GlobalTypeDef *USBx); +uint32_t USB_ReadInterrupts(USB_OTG_GlobalTypeDef const *USBx); +uint32_t USB_ReadChInterrupts(const USB_OTG_GlobalTypeDef *USBx, uint8_t chnum); +uint32_t USB_ReadDevAllOutEpInterrupt(const USB_OTG_GlobalTypeDef *USBx); +uint32_t USB_ReadDevOutEPInterrupt(const USB_OTG_GlobalTypeDef *USBx, uint8_t epnum); +uint32_t USB_ReadDevAllInEpInterrupt(const USB_OTG_GlobalTypeDef *USBx); +uint32_t USB_ReadDevInEPInterrupt(const USB_OTG_GlobalTypeDef *USBx, uint8_t epnum); +void USB_ClearInterrupts(USB_OTG_GlobalTypeDef *USBx, uint32_t interrupt); + +HAL_StatusTypeDef USB_HostInit(USB_OTG_GlobalTypeDef *USBx, USB_OTG_CfgTypeDef cfg); +HAL_StatusTypeDef USB_InitFSLSPClkSel(const USB_OTG_GlobalTypeDef *USBx, uint8_t freq); +HAL_StatusTypeDef USB_ResetPort(const USB_OTG_GlobalTypeDef *USBx); +HAL_StatusTypeDef USB_DriveVbus(const USB_OTG_GlobalTypeDef *USBx, uint8_t state); +uint32_t USB_GetHostSpeed(USB_OTG_GlobalTypeDef const *USBx); +uint32_t USB_GetCurrentFrame(USB_OTG_GlobalTypeDef const *USBx); +HAL_StatusTypeDef USB_HC_Init(USB_OTG_GlobalTypeDef *USBx, uint8_t ch_num, + uint8_t epnum, uint8_t dev_address, uint8_t speed, + uint8_t ep_type, uint16_t mps); +HAL_StatusTypeDef USB_HC_StartXfer(USB_OTG_GlobalTypeDef *USBx, + USB_OTG_HCTypeDef *hc, uint8_t dma); + +uint32_t USB_HC_ReadInterrupt(const USB_OTG_GlobalTypeDef *USBx); +HAL_StatusTypeDef USB_HC_Halt(const USB_OTG_GlobalTypeDef *USBx, uint8_t hc_num); +HAL_StatusTypeDef USB_DoPing(const USB_OTG_GlobalTypeDef *USBx, uint8_t ch_num); +HAL_StatusTypeDef USB_StopHost(USB_OTG_GlobalTypeDef *USBx); +HAL_StatusTypeDef USB_ActivateRemoteWakeup(const USB_OTG_GlobalTypeDef *USBx); +HAL_StatusTypeDef USB_DeActivateRemoteWakeup(const USB_OTG_GlobalTypeDef *USBx); + + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + + + +} +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_pcd.h" 2 + + + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup PCD + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/** @defgroup PCD_Exported_Types PCD Exported Types + * @{ + */ + +/** + * @brief PCD State structure definition + */ +typedef enum +{ + HAL_PCD_STATE_RESET = 0x00, + HAL_PCD_STATE_READY = 0x01, + HAL_PCD_STATE_ERROR = 0x02, + HAL_PCD_STATE_BUSY = 0x03, + HAL_PCD_STATE_TIMEOUT = 0x04 +} PCD_StateTypeDef; + +/* Device LPM suspend state */ +typedef enum +{ + LPM_L0 = 0x00, + LPM_L1 = 0x01, + LPM_L2 = 0x02, + LPM_L3 = 0x03, +} PCD_LPM_StateTypeDef; + +typedef enum +{ + PCD_LPM_L0_ACTIVE = 0x00, + PCD_LPM_L1_ACTIVE = 0x01, +} PCD_LPM_MsgTypeDef; + +typedef enum +{ + PCD_BCD_ERROR = 0xFF, + PCD_BCD_CONTACT_DETECTION = 0xFE, + PCD_BCD_STD_DOWNSTREAM_PORT = 0xFD, + PCD_BCD_CHARGING_DOWNSTREAM_PORT = 0xFC, + PCD_BCD_DEDICATED_CHARGING_PORT = 0xFB, + PCD_BCD_DISCOVERY_COMPLETED = 0x00, + +} PCD_BCD_MsgTypeDef; + + +typedef USB_OTG_GlobalTypeDef PCD_TypeDef; +typedef USB_OTG_CfgTypeDef PCD_InitTypeDef; +typedef USB_OTG_EPTypeDef PCD_EPTypeDef; + + +/** + * @brief PCD Handle Structure definition + */ + + + +typedef struct + +{ + PCD_TypeDef *Instance; + PCD_InitTypeDef Init; + volatile uint8_t USB_Address; + PCD_EPTypeDef IN_ep[16]; + PCD_EPTypeDef OUT_ep[16]; + HAL_LockTypeDef Lock; + volatile PCD_StateTypeDef State; + volatile uint32_t ErrorCode; + uint32_t Setup[12]; + PCD_LPM_StateTypeDef LPM_State; + uint32_t BESL; + uint32_t FrameNumber; + + + uint32_t lpm_active; /*!< Enable or disable the Link Power Management . + This parameter can be set to ENABLE or DISABLE */ + + uint32_t battery_charging_active; /*!< Enable or disable Battery charging. + This parameter can be set to ENABLE or DISABLE */ + void *pData; +# 138 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_pcd.h" +} PCD_HandleTypeDef; + +/** + * @} + */ + +/* Include PCD HAL Extended module */ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_pcd_ex.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_pcd_ex.h + * @author MCD Application Team + * @brief Header file of PCD HAL Extension module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_def.h + * @author MCD Application Team + * @brief This file contains HAL common defines, enumeration, macros and + * structures definitions. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_pcd_ex.h" 2 + + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup PCDEx + * @{ + */ +/* Exported types ------------------------------------------------------------*/ +/* Exported constants --------------------------------------------------------*/ +/* Exported macros -----------------------------------------------------------*/ +/* Exported functions --------------------------------------------------------*/ +/** @addtogroup PCDEx_Exported_Functions PCDEx Exported Functions + * @{ + */ +/** @addtogroup PCDEx_Exported_Functions_Group1 Peripheral Control functions + * @{ + */ + +HAL_StatusTypeDef HAL_PCDEx_SetTxFiFo(PCD_HandleTypeDef *hpcd, uint8_t fifo, uint16_t size); +HAL_StatusTypeDef HAL_PCDEx_SetRxFiFo(PCD_HandleTypeDef *hpcd, uint16_t size); + + + +HAL_StatusTypeDef HAL_PCDEx_ActivateLPM(PCD_HandleTypeDef *hpcd); +HAL_StatusTypeDef HAL_PCDEx_DeActivateLPM(PCD_HandleTypeDef *hpcd); + + +HAL_StatusTypeDef HAL_PCDEx_ActivateBCD(PCD_HandleTypeDef *hpcd); +HAL_StatusTypeDef HAL_PCDEx_DeActivateBCD(PCD_HandleTypeDef *hpcd); +void HAL_PCDEx_BCD_VBUSDetect(PCD_HandleTypeDef *hpcd); + +void HAL_PCDEx_LPM_Callback(PCD_HandleTypeDef *hpcd, PCD_LPM_MsgTypeDef msg); +void HAL_PCDEx_BCD_Callback(PCD_HandleTypeDef *hpcd, PCD_BCD_MsgTypeDef msg); + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + + + +} +# 146 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_pcd.h" 2 + +/* Exported constants --------------------------------------------------------*/ +/** @defgroup PCD_Exported_Constants PCD Exported Constants + * @{ + */ + +/** @defgroup PCD_Speed PCD Speed + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup PCD_PHY_Module PCD PHY Module + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup PCD_Error_Code_definition PCD Error Code definition + * @brief PCD Error Code definition + * @{ + */ + + + + +/** + * @} + */ + +/** + * @} + */ + +/* Exported macros -----------------------------------------------------------*/ +/** @defgroup PCD_Exported_Macros PCD Exported Macros + * @brief macros to handle interrupts and specific clock configurations + * @{ + */ +# 219 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_pcd.h" +/** + * @} + */ + +/* Exported functions --------------------------------------------------------*/ +/** @addtogroup PCD_Exported_Functions PCD Exported Functions + * @{ + */ + +/* Initialization/de-initialization functions ********************************/ +/** @addtogroup PCD_Exported_Functions_Group1 Initialization and de-initialization functions + * @{ + */ +HAL_StatusTypeDef HAL_PCD_Init(PCD_HandleTypeDef *hpcd); +HAL_StatusTypeDef HAL_PCD_DeInit(PCD_HandleTypeDef *hpcd); +void HAL_PCD_MspInit(PCD_HandleTypeDef *hpcd); +void HAL_PCD_MspDeInit(PCD_HandleTypeDef *hpcd); +# 308 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_pcd.h" +/** + * @} + */ + +/* I/O operation functions ***************************************************/ +/* Non-Blocking mode: Interrupt */ +/** @addtogroup PCD_Exported_Functions_Group2 Input and Output operation functions + * @{ + */ +HAL_StatusTypeDef HAL_PCD_Start(PCD_HandleTypeDef *hpcd); +HAL_StatusTypeDef HAL_PCD_Stop(PCD_HandleTypeDef *hpcd); +void HAL_PCD_IRQHandler(PCD_HandleTypeDef *hpcd); + +void HAL_PCD_SOFCallback(PCD_HandleTypeDef *hpcd); +void HAL_PCD_SetupStageCallback(PCD_HandleTypeDef *hpcd); +void HAL_PCD_ResetCallback(PCD_HandleTypeDef *hpcd); +void HAL_PCD_SuspendCallback(PCD_HandleTypeDef *hpcd); +void HAL_PCD_ResumeCallback(PCD_HandleTypeDef *hpcd); +void HAL_PCD_ConnectCallback(PCD_HandleTypeDef *hpcd); +void HAL_PCD_DisconnectCallback(PCD_HandleTypeDef *hpcd); + +void HAL_PCD_DataOutStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum); +void HAL_PCD_DataInStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum); +void HAL_PCD_ISOOUTIncompleteCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum); +void HAL_PCD_ISOINIncompleteCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum); +/** + * @} + */ + +/* Peripheral Control functions **********************************************/ +/** @addtogroup PCD_Exported_Functions_Group3 Peripheral Control functions + * @{ + */ +HAL_StatusTypeDef HAL_PCD_DevConnect(PCD_HandleTypeDef *hpcd); +HAL_StatusTypeDef HAL_PCD_DevDisconnect(PCD_HandleTypeDef *hpcd); +HAL_StatusTypeDef HAL_PCD_SetAddress(PCD_HandleTypeDef *hpcd, uint8_t address); +HAL_StatusTypeDef HAL_PCD_EP_Open(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, uint16_t ep_mps, uint8_t ep_type); +HAL_StatusTypeDef HAL_PCD_EP_Close(PCD_HandleTypeDef *hpcd, uint8_t ep_addr); +HAL_StatusTypeDef HAL_PCD_EP_Receive(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, uint8_t *pBuf, uint32_t len); +HAL_StatusTypeDef HAL_PCD_EP_Transmit(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, uint8_t *pBuf, uint32_t len); +HAL_StatusTypeDef HAL_PCD_EP_SetStall(PCD_HandleTypeDef *hpcd, uint8_t ep_addr); +HAL_StatusTypeDef HAL_PCD_EP_ClrStall(PCD_HandleTypeDef *hpcd, uint8_t ep_addr); +HAL_StatusTypeDef HAL_PCD_EP_Flush(PCD_HandleTypeDef *hpcd, uint8_t ep_addr); +HAL_StatusTypeDef HAL_PCD_EP_Abort(PCD_HandleTypeDef *hpcd, uint8_t ep_addr); +HAL_StatusTypeDef HAL_PCD_ActivateRemoteWakeup(PCD_HandleTypeDef *hpcd); +HAL_StatusTypeDef HAL_PCD_DeActivateRemoteWakeup(PCD_HandleTypeDef *hpcd); + +HAL_StatusTypeDef HAL_PCD_SetTestMode(const PCD_HandleTypeDef *hpcd, uint8_t testmode); + + +uint32_t HAL_PCD_EP_GetRxCount(PCD_HandleTypeDef const *hpcd, uint8_t ep_addr); +/** + * @} + */ + +/* Peripheral State functions ************************************************/ +/** @addtogroup PCD_Exported_Functions_Group4 Peripheral State functions + * @{ + */ +PCD_StateTypeDef HAL_PCD_GetState(PCD_HandleTypeDef const *hpcd); +/** + * @} + */ + +/** + * @} + */ + +/* Private constants ---------------------------------------------------------*/ +/** @defgroup PCD_Private_Constants PCD Private Constants + * @{ + */ +/** @defgroup USB_EXTI_Line_Interrupt USB EXTI line interrupt + * @{ + */ + + + + + + +/** + * @} + */ +/** + * @} + */ +# 422 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_pcd.h" +/* Private macros ------------------------------------------------------------*/ +/** @defgroup PCD_Private_Macros PCD Private Macros + * @{ + */ + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + + + +} +# 495 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hcd.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_hal_hcd.h + * @author MCD Application Team + * @brief Header file of HCD HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ + + + + +extern "C" { + + +/* Includes ------------------------------------------------------------------*/ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_ll_usb.h" 1 +/** + ****************************************************************************** + * @file stm32h7xx_ll_usb.h + * @author MCD Application Team + * @brief Header file of USB Low Layer HAL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hcd.h" 2 + + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup HCD HCD + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/** @defgroup HCD_Exported_Types HCD Exported Types + * @{ + */ + +/** @defgroup HCD_Exported_Types_Group1 HCD State Structure definition + * @{ + */ +typedef enum +{ + HAL_HCD_STATE_RESET = 0x00, + HAL_HCD_STATE_READY = 0x01, + HAL_HCD_STATE_ERROR = 0x02, + HAL_HCD_STATE_BUSY = 0x03, + HAL_HCD_STATE_TIMEOUT = 0x04 +} HCD_StateTypeDef; + +typedef USB_OTG_GlobalTypeDef HCD_TypeDef; +typedef USB_OTG_CfgTypeDef HCD_InitTypeDef; +typedef USB_OTG_HCTypeDef HCD_HCTypeDef; +typedef USB_OTG_URBStateTypeDef HCD_URBStateTypeDef; +typedef USB_OTG_HCStateTypeDef HCD_HCStateTypeDef; +/** + * @} + */ + +/** @defgroup HCD_Exported_Types_Group2 HCD Handle Structure definition + * @{ + */ + + + +typedef struct + +{ + HCD_TypeDef *Instance; + HCD_InitTypeDef Init; + HCD_HCTypeDef hc[16]; + HAL_LockTypeDef Lock; + volatile HCD_StateTypeDef State; + volatile uint32_t ErrorCode; + void *pData; +# 93 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hcd.h" +} HCD_HandleTypeDef; +/** + * @} + */ + +/** + * @} + */ + +/* Exported constants --------------------------------------------------------*/ +/** @defgroup HCD_Exported_Constants HCD Exported Constants + * @{ + */ + +/** @defgroup HCD_Speed HCD Speed + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup HCD_Device_Speed HCD Device Speed + * @{ + */ + + + +/** + * @} + */ + +/** @defgroup HCD_PHY_Module HCD PHY Module + * @{ + */ + + +/** + * @} + */ + +/** @defgroup HCD_Error_Code_definition HCD Error Code definition + * @brief HCD Error Code definition + * @{ + */ + + + + +/** + * @} + */ + +/** + * @} + */ + +/* Exported macro ------------------------------------------------------------*/ +/** @defgroup HCD_Exported_Macros HCD Exported Macros + * @brief macros to handle interrupts and specific clock configurations + * @{ + */ +# 177 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hcd.h" +/** + * @} + */ + +/* Exported functions --------------------------------------------------------*/ +/** @addtogroup HCD_Exported_Functions HCD Exported Functions + * @{ + */ + +/** @defgroup HCD_Exported_Functions_Group1 Initialization and de-initialization functions + * @{ + */ +HAL_StatusTypeDef HAL_HCD_Init(HCD_HandleTypeDef *hhcd); +HAL_StatusTypeDef HAL_HCD_DeInit(HCD_HandleTypeDef *hhcd); +HAL_StatusTypeDef HAL_HCD_HC_Init(HCD_HandleTypeDef *hhcd, uint8_t ch_num, + uint8_t epnum, uint8_t dev_address, + uint8_t speed, uint8_t ep_type, uint16_t mps); + +HAL_StatusTypeDef HAL_HCD_HC_Halt(HCD_HandleTypeDef *hhcd, uint8_t ch_num); +void HAL_HCD_MspInit(HCD_HandleTypeDef *hhcd); +void HAL_HCD_MspDeInit(HCD_HandleTypeDef *hhcd); +# 245 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_hcd.h" +/** + * @} + */ + +/* I/O operation functions ***************************************************/ +/** @addtogroup HCD_Exported_Functions_Group2 Input and Output operation functions + * @{ + */ +HAL_StatusTypeDef HAL_HCD_HC_SubmitRequest(HCD_HandleTypeDef *hhcd, uint8_t ch_num, + uint8_t direction, uint8_t ep_type, + uint8_t token, uint8_t *pbuff, + uint16_t length, uint8_t do_ping); + +HAL_StatusTypeDef HAL_HCD_HC_SetHubInfo(HCD_HandleTypeDef *hhcd, uint8_t ch_num, + uint8_t addr, uint8_t PortNbr); + +HAL_StatusTypeDef HAL_HCD_HC_ClearHubInfo(HCD_HandleTypeDef *hhcd, uint8_t ch_num); + +/* Non-Blocking mode: Interrupt */ +void HAL_HCD_IRQHandler(HCD_HandleTypeDef *hhcd); +void HAL_HCD_SOF_Callback(HCD_HandleTypeDef *hhcd); +void HAL_HCD_Connect_Callback(HCD_HandleTypeDef *hhcd); +void HAL_HCD_Disconnect_Callback(HCD_HandleTypeDef *hhcd); +void HAL_HCD_PortEnabled_Callback(HCD_HandleTypeDef *hhcd); +void HAL_HCD_PortDisabled_Callback(HCD_HandleTypeDef *hhcd); +void HAL_HCD_HC_NotifyURBChange_Callback(HCD_HandleTypeDef *hhcd, uint8_t chnum, + HCD_URBStateTypeDef urb_state); +/** + * @} + */ + +/* Peripheral Control functions **********************************************/ +/** @addtogroup HCD_Exported_Functions_Group3 Peripheral Control functions + * @{ + */ +HAL_StatusTypeDef HAL_HCD_ResetPort(HCD_HandleTypeDef *hhcd); +HAL_StatusTypeDef HAL_HCD_Start(HCD_HandleTypeDef *hhcd); +HAL_StatusTypeDef HAL_HCD_Stop(HCD_HandleTypeDef *hhcd); +/** + * @} + */ + +/* Peripheral State functions ************************************************/ +/** @addtogroup HCD_Exported_Functions_Group4 Peripheral State functions + * @{ + */ +HCD_StateTypeDef HAL_HCD_GetState(HCD_HandleTypeDef const *hhcd); +HCD_URBStateTypeDef HAL_HCD_HC_GetURBState(HCD_HandleTypeDef const *hhcd, uint8_t chnum); +HCD_HCStateTypeDef HAL_HCD_HC_GetState(HCD_HandleTypeDef const *hhcd, uint8_t chnum); +uint32_t HAL_HCD_HC_GetXferCount(HCD_HandleTypeDef const *hhcd, uint8_t chnum); +uint32_t HAL_HCD_GetCurrentFrame(HCD_HandleTypeDef *hhcd); +uint32_t HAL_HCD_GetCurrentSpeed(HCD_HandleTypeDef *hhcd); + + +/** + * @} + */ + +/* Private macros ------------------------------------------------------------*/ +/** @defgroup HCD_Private_Macros HCD Private Macros + * @{ + */ +/** + * @} + */ +/* Private functions prototypes ----------------------------------------------*/ + +/** + * @} + */ +/** + * @} + */ +/** + * @} + */ + + + +} +# 499 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" 2 + + +/* Exported macro ------------------------------------------------------------*/ +# 519 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h" +} +# 30 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal.h" 2 + +/** @addtogroup STM32H7xx_HAL_Driver + * @{ + */ + +/** @addtogroup HAL + * @{ + */ + +/* Exported types ------------------------------------------------------------*/ +/** @defgroup HAL_TICK_FREQ Tick Frequency + * @{ + */ +typedef enum +{ + HAL_TICK_FREQ_10HZ = 100U, + HAL_TICK_FREQ_100HZ = 10U, + HAL_TICK_FREQ_1KHZ = 1U, + HAL_TICK_FREQ_DEFAULT = HAL_TICK_FREQ_1KHZ +} HAL_TickFreqTypeDef; +/** + * @} + */ + +/* Exported constants --------------------------------------------------------*/ +/** @defgroup HAL_Exported_Constants HAL Exported Constants + * @{ + */ +/** @defgroup REV_ID device revision ID + * @{ + */ +# 72 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal.h" +/** + * @} + */ + +/** @defgroup SYSCFG_Exported_Constants SYSCFG Exported Constants + * @{ + */ + +/** @defgroup SYSCFG_VREFBUF_VoltageScale VREFBUF Voltage Scale + * @{ + */ +# 95 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal.h" +/** + * @} + */ + +/** @defgroup SYSCFG_VREFBUF_HighImpedance VREFBUF High Impedance + * @{ + */ +# 110 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal.h" +/** + * @} + */ +# 160 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal.h" +/** @defgroup SYSCFG_Ethernet_Config Ethernet Config + * @{ + */ + + + + + + +/** + * @} + */ + + +/** @defgroup SYSCFG_Analog_Switch_Config Analog Switch Config + * @{ + */ +# 194 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal.h" +/** + * @} + */ +# 214 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal.h" +/** @defgroup SYSCFG_Boot_Config Boot Config + * @{ + */ +# 225 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal.h" +/** + * @} + */ + + +/** @defgroup SYSCFG_IOCompenstionCell_Config IOCompenstionCell Config + * @{ + */ +# 241 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal.h" +/** + * @} + */ + +/** + * @} + */ + + +/** @defgroup EXTI_Event_Input_Config Event Input Config + * @{ + */ +# 308 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal.h" +/* EXTI_LINE45 Reserved */ +# 355 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal.h" +/* EXTI_LINE81 Reserved */ + + + + + +/* EXTI_LINE83 Reserved */ +# 695 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal.h" +/** + * @} + */ + + +/** @defgroup FMC_SwapBankMapping_Config SwapBankMapping Config + * @{ + */ + + + + + + + +/** + * @} + */ +/** + * @} + */ + +/* Exported macro ------------------------------------------------------------*/ +/** @defgroup HAL_Exported_Macros HAL Exported Macros + * @{ + */ + +/** @defgroup ART_Exported_Macros ART Exported Macros + * @{ + */ + +/** @brief ART Enable Macro. + * Enable the Cortex-M4 ART cache. + */ + + +/** @brief ART Disable Macro. + * Disable the Cortex-M4 ART cache. + */ + + +/** @brief ART Cache BaseAddress Config. + * Configure the Cortex-M4 ART cache Base Address. + */ + + +/** + * @} + */ + + +/** @defgroup SYSCFG_Exported_Macros SYSCFG Exported Macros + * @{ + */ + +/** @brief SYSCFG Break AXIRAM double ECC lock. + * Enable and lock the connection of AXIRAM double ECC error to TIM1/8/15/16/17 and HRTIMER Break input. + * @note The selected configuration is locked and can be unlocked only by system reset. + This feature is available on STM32H7 rev.B and above. + */ + + +/** @brief SYSCFG Break ITCM double ECC lock. + * Enable and lock the connection of ITCM double ECC error to TIM1/8/15/16/17 and HRTIMER Break input. + * @note The selected configuration is locked and can be unlocked only by system reset. + This feature is available on STM32H7 rev.B and above. + */ + + +/** @brief SYSCFG Break DTCM double ECC lock. + * Enable and lock the connection of DTCM double ECC error to TIM1/8/15/16/17 and HRTIMER Break input. + * @note The selected configuration is locked and can be unlocked only by system reset. + This feature is available on STM32H7 rev.B and above. + */ + + +/** @brief SYSCFG Break SRAM1 double ECC lock. + * Enable and lock the connection of SRAM1 double ECC error to TIM1/8/15/16/17 and HRTIMER Break input. + * @note The selected configuration is locked and can be unlocked only by system reset. + This feature is available on STM32H7 rev.B and above. + */ + + +/** @brief SYSCFG Break SRAM2 double ECC lock. + * Enable and lock the connection of SRAM2 double ECC error to TIM1/8/15/16/17 and HRTIMER Break input. + * @note The selected configuration is locked and can be unlocked only by system reset. + This feature is available on STM32H7 rev.B and above. + */ + + +/** @brief SYSCFG Break SRAM3 double ECC lock. + * Enable and lock the connection of SRAM3 double ECC error to TIM1/8/15/16/17 and HRTIMER Break input. + * @note The selected configuration is locked and can be unlocked only by system reset. + This feature is available on STM32H7 rev.B and above. + */ + + +/** @brief SYSCFG Break SRAM4 double ECC lock. + * Enable and lock the connection of SRAM4 double ECC error to TIM1/8/15/16/17 and HRTIMER Break input. + * @note The selected configuration is locked and can be unlocked only by system reset. + This feature is available on STM32H7 rev.B and above. + */ + + +/** @brief SYSCFG Break Backup SRAM double ECC lock. + * Enable and lock the connection of Backup SRAM double ECC error to TIM1/8/15/16/17 and HRTIMER Break input. + * @note The selected configuration is locked and can be unlocked only by system reset. + This feature is available on STM32H7 rev.B and above. + */ + + +/** @brief SYSCFG Break Cortex-M7 Lockup lock. + * Enable and lock the connection of Cortex-M7 LOCKUP output to TIM1/8/15/16/17 and HRTIMER Break input. + * @note The selected configuration is locked and can be unlocked only by system reset. + This feature is available on STM32H7 rev.B and above. + */ + + +/** @brief SYSCFG Break FLASH double ECC lock. + * Enable and lock the connection of Flash double ECC error connection to TIM1/8/15/16/17 and HRTIMER Break input. + * @note The selected configuration is locked and can be unlocked only by system reset. + This feature is available on STM32H7 rev.B and above. + */ + + +/** @brief SYSCFG Break PVD lock. + * Enable and lock the PVD connection to Timer1/8/15/16/17 and HRTIMER Break input, as well as the PVDE and PLS[2:0] in the PWR_CR1 register. + * @note The selected configuration is locked and can be unlocked only by system reset. + This feature is available on STM32H7 rev.B and above. + */ + + + +/** @brief SYSCFG Break Cortex-M4 Lockup lock. + * Enable and lock the connection of Cortex-M4 LOCKUP output to TIM1/8/15/16/17 and HRTIMER Break input. + * @note The selected configuration is locked and can be unlocked only by system reset. + This feature is available on STM32H7 rev.B and above. + */ +# 853 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal.h" +/** + * @} + */ + +/** @defgroup DBG_Exported_Macros DBG Exported Macros + * @{ + */ + +/** @brief Freeze/Unfreeze Peripherals in Debug mode + */ +# 1028 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal.h" +/** + * @} + */ +/** + * @} + */ + +/** @defgroup HAL_Private_Macros HAL Private Macros + * @{ + */ + + + +/** + * @} + */ + +/* Exported variables --------------------------------------------------------*/ + +/** @addtogroup HAL_Exported_Variables + * @{ + */ +extern volatile uint32_t uwTick; +extern uint32_t uwTickPrio; +extern HAL_TickFreqTypeDef uwTickFreq; +/** + * @} + */ + +/* Exported functions --------------------------------------------------------*/ +/** @defgroup HAL_Exported_Functions HAL Exported Functions + * @{ + */ +/* Initialization and de-initialization functions ******************************/ +/** @defgroup HAL_Group1 Initialization and de-initialization Functions + * @{ + */ +HAL_StatusTypeDef HAL_Init(void); +HAL_StatusTypeDef HAL_DeInit(void); +void HAL_MspInit(void); +void HAL_MspDeInit(void); +HAL_StatusTypeDef HAL_InitTick (uint32_t TickPriority); + +/** + * @} + */ + +/* Peripheral Control functions ************************************************/ +/** @defgroup HAL_Group2 HAL Control functions + * + */ +void HAL_IncTick(void); +void HAL_Delay(uint32_t Delay); +uint32_t HAL_GetTick(void); +uint32_t HAL_GetTickPrio(void); +HAL_StatusTypeDef HAL_SetTickFreq(HAL_TickFreqTypeDef Freq); +HAL_TickFreqTypeDef HAL_GetTickFreq(void); +void HAL_SuspendTick(void); +void HAL_ResumeTick(void); +uint32_t HAL_GetHalVersion(void); +uint32_t HAL_GetREVID(void); +uint32_t HAL_GetDEVID(void); +uint32_t HAL_GetUIDw0(void); +uint32_t HAL_GetUIDw1(void); +uint32_t HAL_GetUIDw2(void); + +void HAL_SYSCFG_ETHInterfaceSelect(uint32_t SYSCFG_ETHInterface); + +void HAL_SYSCFG_AnalogSwitchConfig(uint32_t SYSCFG_AnalogSwitch , uint32_t SYSCFG_SwitchState ); + +void HAL_SYSCFG_EnableBOOST(void); +void HAL_SYSCFG_DisableBOOST(void); + + + +void HAL_SYSCFG_CM7BootAddConfig(uint32_t BootRegister, uint32_t BootAddress); + + + +void HAL_SYSCFG_CM4BootAddConfig(uint32_t BootRegister, uint32_t BootAddress); +void HAL_SYSCFG_EnableCM7BOOT(void); +void HAL_SYSCFG_DisableCM7BOOT(void); +void HAL_SYSCFG_EnableCM4BOOT(void); +void HAL_SYSCFG_DisableCM4BOOT(void); + +void HAL_EnableCompensationCell(void); +void HAL_DisableCompensationCell(void); +void HAL_SYSCFG_EnableIOSpeedOptimize(void); +void HAL_SYSCFG_DisableIOSpeedOptimize(void); +void HAL_SYSCFG_CompensationCodeSelect(uint32_t SYSCFG_CompCode); +void HAL_SYSCFG_CompensationCodeConfig(uint32_t SYSCFG_PMOSCode, uint32_t SYSCFG_NMOSCode); + + + +void HAL_DBGMCU_EnableDBGSleepMode(void); +void HAL_DBGMCU_DisableDBGSleepMode(void); +void HAL_DBGMCU_EnableDBGStopMode(void); +void HAL_DBGMCU_DisableDBGStopMode(void); +void HAL_DBGMCU_EnableDBGStandbyMode(void); +void HAL_DBGMCU_DisableDBGStandbyMode(void); + +void HAL_EnableDomain2DBGSleepMode(void); +void HAL_DisableDomain2DBGSleepMode(void); +void HAL_EnableDomain2DBGStopMode(void); +void HAL_DisableDomain2DBGStopMode(void); +void HAL_EnableDomain2DBGStandbyMode(void); +void HAL_DisableDomain2DBGStandbyMode(void); +# 1144 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal.h" +void HAL_EXTI_EdgeConfig(uint32_t EXTI_Line , uint32_t EXTI_Edge ); +void HAL_EXTI_GenerateSWInterrupt(uint32_t EXTI_Line); + +void HAL_EXTI_D2_ClearFlag(uint32_t EXTI_Line); + +void HAL_EXTI_D1_ClearFlag(uint32_t EXTI_Line); +void HAL_EXTI_D1_EventInputConfig(uint32_t EXTI_Line , uint32_t EXTI_Mode, uint32_t EXTI_LineCmd); + +void HAL_EXTI_D2_EventInputConfig(uint32_t EXTI_Line , uint32_t EXTI_Mode, uint32_t EXTI_LineCmd); + +void HAL_EXTI_D3_EventInputConfig(uint32_t EXTI_Line, uint32_t EXTI_LineCmd , uint32_t EXTI_ClearSrc); +void HAL_SetFMCMemorySwappingConfig(uint32_t BankMapConfig); +uint32_t HAL_GetFMCMemorySwappingConfig(void); +void HAL_SYSCFG_VREFBUF_VoltageScalingConfig(uint32_t VoltageScaling); +void HAL_SYSCFG_VREFBUF_HighImpedanceConfig(uint32_t Mode); +void HAL_SYSCFG_VREFBUF_TrimmingConfig(uint32_t TrimmingValue); +HAL_StatusTypeDef HAL_SYSCFG_EnableVREFBUF(void); +void HAL_SYSCFG_DisableVREFBUF(void); + + + + + + + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + +/** + * @} + */ + + +} +# 284 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h7xx.h" 2 + + + + +} + + + +/** + * @} + */ + +/** + * @} + */ +# 13 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/soc/st/stm32/stm32h7x/./soc.h" 2 +# 25 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/modules/cmsis/./cmsis_core_m.h" 2 +# 39 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/modules/cmsis/./cmsis_core_m.h" +/* VTOR is only optional on armv6-m and armv8-m baseline. __VTOR_PRESENT is often + * left undefined on platform where it is not optional. + */ + + + + + +/* Some platform’s sdk incorrectly define __DSP_PRESENT for Cortex-M4 & Cortex-M7 + * DSP extension. __ARM_FEATURE_DSP is set by the compiler for these. So ignore + * __DSP_PRESENT discrepancy when __ARM_FEATURE_DSP is defined. + */ +# 11 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/modules/cmsis/./cmsis_core.h" 2 +# 25 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/asm_inline_gcc.h" 2 + + + + + + +extern "C" { + + +/* On ARMv7-M and ARMv8-M Mainline CPUs, this function prevents regular + * exceptions (i.e. with interrupt priority lower than or equal to + * _EXC_IRQ_DEFAULT_PRIO) from interrupting the CPU. NMI, Faults, SVC, + * and Zero Latency IRQs (if supported) may still interrupt the CPU. + * + * On ARMv6-M and ARMv8-M Baseline CPUs, this function reads the value of + * PRIMASK which shows if interrupts are enabled, then disables all interrupts + * except NMI. + */ + +static inline __attribute__((always_inline)) unsigned int arch_irq_lock(void) +{ + unsigned int key; +# 56 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/asm_inline_gcc.h" + key = __get_BASEPRI(); + __set_BASEPRI_MAX(((((1 + 0)) << (8 - 4)) & 0xff)); + __ISB(); +# 72 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/asm_inline_gcc.h" + return key; +} + + +/* On Cortex-M0/M0+, this enables all interrupts if they were not + * previously disabled. + */ + +static inline __attribute__((always_inline)) void arch_irq_unlock(unsigned int key) +{ + + + + + + + + __set_BASEPRI(key); + __ISB(); +# 100 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/asm_inline_gcc.h" +} + +static inline __attribute__((always_inline)) bool arch_irq_unlocked(unsigned int key) +{ + /* This convention works for both PRIMASK and BASEPRI */ + return key == 0U; +} + + +} +# 19 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/asm_inline.h" 2 +# 31 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/arch.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/common/sys_bitops.h" 1 +/* + * Copyright (c) 2020, Wind River Systems, Inc. + * Copyright (c) 2017, Oticon A/S + * Copyright (c) 2020, Synopsys + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/* Memory bits manipulation functions in non-arch-specific C code */ + + + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain.h" 1 +/* + * Copyright (c) 2010-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Macros to abstract toolchain specific capabilities + * + * This file contains various macros to abstract compiler capabilities that + * utilize toolchain specific attributes and/or pragmas. + */ +# 17 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/common/sys_bitops.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/types.h" 1 +/* + * Copyright (c) 2017 Linaro Limited + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 18 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/common/sys_bitops.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sys_io.h" 1 +/* Port and memory mapped registers I/O operations */ + +/* + * Copyright (c) 2015 Intel Corporation. + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 19 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/common/sys_bitops.h" 2 + + +extern "C" { + + +static inline __attribute__((always_inline)) void sys_set_bit(mem_addr_t addr, unsigned int bit) +{ + uint32_t temp = *(volatile uint32_t *)addr; + + *(volatile uint32_t *)addr = temp | (1 << bit); +} + +static inline __attribute__((always_inline)) void sys_clear_bit(mem_addr_t addr, unsigned int bit) +{ + uint32_t temp = *(volatile uint32_t *)addr; + + *(volatile uint32_t *)addr = temp & ~(1 << bit); +} + +static inline __attribute__((always_inline)) int sys_test_bit(mem_addr_t addr, unsigned int bit) +{ + uint32_t temp = *(volatile uint32_t *)addr; + + return temp & (1 << bit); +} + +static inline __attribute__((always_inline)) void sys_set_bits(mem_addr_t addr, unsigned int mask) +{ + uint32_t temp = *(volatile uint32_t *)addr; + + *(volatile uint32_t *)addr = temp | mask; +} + +static inline __attribute__((always_inline)) void sys_clear_bits(mem_addr_t addr, unsigned int mask) +{ + uint32_t temp = *(volatile uint32_t *)addr; + + *(volatile uint32_t *)addr = temp & ~mask; +} + +static inline __attribute__((always_inline)) + void sys_bitfield_set_bit(mem_addr_t addr, unsigned int bit) +{ + /* Doing memory offsets in terms of 32-bit values to prevent + * alignment issues + */ + sys_set_bit(addr + ((bit >> 5) << 2), bit & 0x1F); +} + +static inline __attribute__((always_inline)) + void sys_bitfield_clear_bit(mem_addr_t addr, unsigned int bit) +{ + sys_clear_bit(addr + ((bit >> 5) << 2), bit & 0x1F); +} + +static inline __attribute__((always_inline)) + int sys_bitfield_test_bit(mem_addr_t addr, unsigned int bit) +{ + return sys_test_bit(addr + ((bit >> 5) << 2), bit & 0x1F); +} + +static inline __attribute__((always_inline)) + int sys_test_and_set_bit(mem_addr_t addr, unsigned int bit) +{ + int ret; + + ret = sys_test_bit(addr, bit); + sys_set_bit(addr, bit); + + return ret; +} + +static inline __attribute__((always_inline)) + int sys_test_and_clear_bit(mem_addr_t addr, unsigned int bit) +{ + int ret; + + ret = sys_test_bit(addr, bit); + sys_clear_bit(addr, bit); + + return ret; +} + +static inline __attribute__((always_inline)) + int sys_bitfield_test_and_set_bit(mem_addr_t addr, unsigned int bit) +{ + int ret; + + ret = sys_bitfield_test_bit(addr, bit); + sys_bitfield_set_bit(addr, bit); + + return ret; +} + +static inline __attribute__((always_inline)) + int sys_bitfield_test_and_clear_bit(mem_addr_t addr, unsigned int bit) +{ + int ret; + + ret = sys_bitfield_test_bit(addr, bit); + sys_bitfield_clear_bit(addr, bit); + + return ret; +} + + +} +# 32 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/arch.h" 2 + + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/cortex_m/cpu.h" 1 +/* + * Copyright (c) 2015, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 30 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/cortex_m/cpu.h" +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ +# 31 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/cortex_m/cpu.h" 2 + + + +# 33 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/cortex_m/cpu.h" +extern "C" { + + +/* CP10 Access Bits */ + + + + + + + +/* CP11 Access Bits */ +# 79 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/cortex_m/cpu.h" +} +# 38 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/arch.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/cortex_m/memory_map.h" 1 +/* + * Copyright (c) 2014 Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief ARM CORTEX-M memory map + * + * This module contains definitions for the memory map of the CORTEX-M series of + * processors. + */ + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util.h" 1 +/* + * Copyright (c) 2011-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Misc utilities + * + * Misc utilities usable by the kernel and application code. + */ +# 19 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/cortex_m/memory_map.h" 2 + +/* 0x00000000 -> 0x1fffffff: Code in ROM [0.5 GB] */ + + + +/* 0x20000000 -> 0x3fffffff: SRAM [0.5GB] */ + + + + + + + +/* 0x40000000 -> 0x5fffffff: Peripherals [0.5GB] */ + + + + + + + +/* 0x60000000 -> 0x9fffffff: external RAM [1GB] */ + + + +/* 0xa0000000 -> 0xdfffffff: external devices [1GB] */ + + + +/* 0xe0000000 -> 0xffffffff: varies by processor (see below) */ + +/* 0xe0000000 -> 0xe00fffff: private peripheral bus */ +/* 0xe0000000 -> 0xe003ffff: internal [256KB] */ +# 80 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/cortex_m/memory_map.h" +/* 0xe0000000 -> 0xe00fffff: private peripheral bus */ +/* 0xe0040000 -> 0xe00fffff: external [768K] */ +# 110 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/cortex_m/memory_map.h" +/* 0xe0100000 -> 0xffffffff: vendor-specific [0.5GB-1MB or 511MB] */ +# 39 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/arch.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/common/sys_io.h" 1 +/* + * Copyright (c) 2015, Wind River Systems, Inc. + * Copyright (c) 2017, Oticon A/S + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/* Memory mapped registers I/O functions in non-arch-specific C code */ + + + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain.h" 1 +/* + * Copyright (c) 2010-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Macros to abstract toolchain specific capabilities + * + * This file contains various macros to abstract compiler capabilities that + * utilize toolchain specific attributes and/or pragmas. + */ +# 16 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/common/sys_io.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/types.h" 1 +/* + * Copyright (c) 2017 Linaro Limited + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 17 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/common/sys_io.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/sys_io.h" 1 +/* Port and memory mapped registers I/O operations */ + +/* + * Copyright (c) 2015 Intel Corporation. + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 18 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/common/sys_io.h" 2 + + +extern "C" { + + +static inline __attribute__((always_inline)) uint8_t sys_read8(mem_addr_t addr) +{ + return *(volatile uint8_t *)addr; +} + +static inline __attribute__((always_inline)) void sys_write8(uint8_t data, mem_addr_t addr) +{ + *(volatile uint8_t *)addr = data; +} + +static inline __attribute__((always_inline)) uint16_t sys_read16(mem_addr_t addr) +{ + return *(volatile uint16_t *)addr; +} + +static inline __attribute__((always_inline)) void sys_write16(uint16_t data, mem_addr_t addr) +{ + *(volatile uint16_t *)addr = data; +} + +static inline __attribute__((always_inline)) uint32_t sys_read32(mem_addr_t addr) +{ + return *(volatile uint32_t *)addr; +} + +static inline __attribute__((always_inline)) void sys_write32(uint32_t data, mem_addr_t addr) +{ + *(volatile uint32_t *)addr = data; +} + +static inline __attribute__((always_inline)) uint64_t sys_read64(mem_addr_t addr) +{ + return *(volatile uint64_t *)addr; +} + +static inline __attribute__((always_inline)) void sys_write64(uint64_t data, mem_addr_t addr) +{ + *(volatile uint64_t *)addr = data; +} + + +} +# 40 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/arch.h" 2 +# 52 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/arch.h" +extern "C" { + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/fatal_types.h" 1 +/* + * Copyright (c) 2023 CSIRO. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** @file + * @brief Fatal base type definitions + */ + + + + + +extern "C" { + + +/** + * @defgroup fatal_types Fatal error base types + * @ingroup fatal_apis + * @{ + */ + +enum k_fatal_error_reason { + /** Generic CPU exception, not covered by other codes */ + K_ERR_CPU_EXCEPTION, + + /** Unhandled hardware interrupt */ + K_ERR_SPURIOUS_IRQ, + + /** Faulting context overflowed its stack buffer */ + K_ERR_STACK_CHK_FAIL, + + /** Moderate severity software error */ + K_ERR_KERNEL_OOPS, + + /** High severity software error */ + K_ERR_KERNEL_PANIC, + + /** Arch specific fatal errors */ + K_ERR_ARCH_START = 16 +}; + +/** @} */ + + +} +# 58 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/arch.h" 2 + +enum k_fatal_error_reason_arch { + /* Cortex-M MEMFAULT exceptions */ + K_ERR_ARM_MEM_GENERIC = K_ERR_ARCH_START, + K_ERR_ARM_MEM_STACKING, + K_ERR_ARM_MEM_UNSTACKING, + K_ERR_ARM_MEM_DATA_ACCESS, + K_ERR_ARM_MEM_INSTRUCTION_ACCESS, + K_ERR_ARM_MEM_FP_LAZY_STATE_PRESERVATION, + + /* Cortex-M BUSFAULT exceptions */ + K_ERR_ARM_BUS_GENERIC, + K_ERR_ARM_BUS_STACKING, + K_ERR_ARM_BUS_UNSTACKING, + K_ERR_ARM_BUS_PRECISE_DATA_BUS, + K_ERR_ARM_BUS_IMPRECISE_DATA_BUS, + K_ERR_ARM_BUS_INSTRUCTION_BUS, + K_ERR_ARM_BUS_FP_LAZY_STATE_PRESERVATION, + + /* Cortex-M USAGEFAULT exceptions */ + K_ERR_ARM_USAGE_GENERIC, + K_ERR_ARM_USAGE_DIV_0, + K_ERR_ARM_USAGE_UNALIGNED_ACCESS, + K_ERR_ARM_USAGE_STACK_OVERFLOW, + K_ERR_ARM_USAGE_NO_COPROCESSOR, + K_ERR_ARM_USAGE_ILLEGAL_EXC_RETURN, + K_ERR_ARM_USAGE_ILLEGAL_EPSR, + K_ERR_ARM_USAGE_UNDEFINED_INSTRUCTION, + + /* Cortex-M SECURE exceptions */ + K_ERR_ARM_SECURE_GENERIC, + K_ERR_ARM_SECURE_ENTRY_POINT, + K_ERR_ARM_SECURE_INTEGRITY_SIGNATURE, + K_ERR_ARM_SECURE_EXCEPTION_RETURN, + K_ERR_ARM_SECURE_ATTRIBUTION_UNIT, + K_ERR_ARM_SECURE_TRANSITION, + K_ERR_ARM_SECURE_LAZY_STATE_PRESERVATION, + K_ERR_ARM_SECURE_LAZY_STATE_ERROR, + + /* Cortex-A/R exceptions*/ + K_ERR_ARM_UNDEFINED_INSTRUCTION, + K_ERR_ARM_ALIGNMENT_FAULT, + K_ERR_ARM_BACKGROUND_FAULT, + K_ERR_ARM_PERMISSION_FAULT, + K_ERR_ARM_SYNC_EXTERNAL_ABORT, + K_ERR_ARM_ASYNC_EXTERNAL_ABORT, + K_ERR_ARM_SYNC_PARITY_ERROR, + K_ERR_ARM_ASYNC_PARITY_ERROR, + K_ERR_ARM_DEBUG_EVENT, + K_ERR_ARM_TRANSLATION_FAULT, + K_ERR_ARM_UNSUPPORTED_EXCLUSIVE_ACCESS_FAULT +}; + + + +/** + * @brief Declare the ARCH_STACK_PTR_ALIGN + * + * Denotes the required alignment of the stack pointer on public API + * boundaries + * + */ + + + + + + +/** + * @brief Declare the minimum alignment for a thread stack + * + * Denotes the minimum required alignment of a thread stack. + * + * Note: + * User thread stacks must respect the minimum MPU region + * alignment requirement. + */ +# 143 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/arch.h" +/** + * @brief Declare a minimum MPU guard alignment and size + * + * This specifies the minimum MPU guard alignment/size for the MPU. This + * will be used to denote the guard section of the stack, if it exists. + * + * One key note is that this guard results in extra bytes being added to + * the stack. APIs which give the stack ptr and stack size will take this + * guard size into account. + * + * Stack is allocated, but initial stack pointer is at the end + * (highest address). Stack grows down to the actual allocation + * address (lowest address). Stack guard, if present, will comprise + * the lowest MPU_GUARD_ALIGN_AND_SIZE bytes of the stack. + * + * The guard region must include enough space for an exception frame + * below the trapping region as a stack fault will end up storing + * the exception data (0x20 bytes) onto the stack below wherever + * the stack pointer refers, even if that is within the guard region, + * so we make sure the region is strictly larger than this size by + * setting it to 0x40 (to respect any power-of-two requirements). + * + * As the stack grows down, it will reach the end of the stack when it + * encounters either the stack guard region, or the stack allocation + * address. + * + * ----------------------- <---- Stack allocation address + stack size + + * | | MPU_GUARD_ALIGN_AND_SIZE + * | Some thread data | <---- Defined when thread is created + * | ... | + * |---------------------| <---- Actual initial stack ptr + * | Initial Stack Ptr | aligned to ARCH_STACK_PTR_ALIGN + * | ... | + * | ... | + * | ... | + * | ... | + * | ... | + * | ... | + * | ... | + * | ... | + * | Stack Ends | + * |---------------------- <---- Stack Buffer Ptr from API + * | MPU Guard, | + * | if present | + * ----------------------- <---- Stack Allocation address + * + */ +# 201 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/arch.h" +/** + * @brief Declare the MPU guard alignment and size for a thread stack + * that is using the Floating Point services. + * + * For threads that are using the Floating Point services under Shared + * Registers (CONFIG_FPU_SHARING=y) mode, the exception stack frame may + * contain both the basic stack frame and the FP caller-saved context, + * upon exception entry. Therefore, a wide guard region is required to + * guarantee that stack-overflow detection will always be successful. + */ +# 222 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/arch.h" +/** + * @brief Define alignment of an MPU guard + * + * Minimum alignment of the start address of an MPU guard, depending on + * whether the MPU architecture enforces a size (and power-of-two) alignment + * requirement. + */ +# 262 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/arch.h" +/* On arm, all MPU guards are carve-outs. */ + + +/* Legacy case: retain containing extern "C" with C++ */ +# 279 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/arch.h" +} +# 20 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/cpu.h" 2 +# 37 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_includes.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/rb.h" 1 +/* + * Copyright (c) 2018 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @defgroup rbtree_apis Balanced Red/Black Tree + * @ingroup datastructure_apis + * + * @brief Balanced Red/Black Tree implementation + * + * This implements an intrusive balanced tree that guarantees + * O(log2(N)) runtime for all operations and amortized O(1) behavior + * for creation and destruction of whole trees. The algorithms and + * naming are conventional per existing academic and didactic + * implementations, c.f.: + * + * https://en.wikipedia.org/wiki/Red%E2%80%93black_tree + * + * The implementation is size-optimized to prioritize runtime memory + * usage. The data structure is intrusive, which is to say the @ref + * rbnode handle is intended to be placed in a separate struct, in the + * same way as with other such structures (e.g. Zephyr's @ref + * doubly-linked-list_apis), and requires no data pointer to be stored + * in the node. The color bit is unioned with a pointer (fairly common + * for such libraries). Most notably, there is no "parent" pointer + * stored in the node, the upper structure of the tree being generated + * dynamically via a stack as the tree is recursed. So the overall + * memory overhead of a node is just two pointers, identical with a + * doubly-linked list. + * + * @{ + */ +# 38 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_includes.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys_clock.h" 1 +/* + * Copyright (c) 2014-2015 Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Variables needed for system clock + * + * + * Declare variables used by both system timer device driver and kernel + * components that use timer functionality. + */ + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util.h" 1 +/* + * Copyright (c) 2011-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Misc utilities + * + * Misc utilities usable by the kernel and application code. + */ +# 20 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys_clock.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/dlist.h" 1 +/* + * Copyright (c) 2013-2015 Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @defgroup doubly-linked-list_apis Doubly-linked list + * @ingroup datastructure_apis + * + * @brief Doubly-linked list implementation + * + * Doubly-linked list implementation using inline macros/functions. + * This API is not thread safe, and thus if a list is used across threads, + * calls to functions must be protected with synchronization primitives. + * + * The lists are expected to be initialized such that both the head and tail + * pointers point to the list itself. Initializing the lists in such a fashion + * simplifies the adding and removing of nodes to/from the list. + * + * @{ + */ +# 21 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys_clock.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain.h" 1 +/* + * Copyright (c) 2010-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Macros to abstract toolchain specific capabilities + * + * This file contains various macros to abstract compiler capabilities that + * utilize toolchain specific attributes and/or pragmas. + */ +# 23 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys_clock.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/types.h" 1 +/* + * Copyright (c) 2017 Linaro Limited + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 24 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys_clock.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/time_units.h" 1 +/* + * Copyright (c) 2019 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 26 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys_clock.h" 2 + + +extern "C" { + + +/** + * @addtogroup clock_apis + * @{ + */ + +/** + * @brief Tick precision used in timeout APIs + * + * This type defines the word size of the timeout values used in + * k_timeout_t objects, and thus defines an upper bound on maximum + * timeout length (or equivalently minimum tick duration). Note that + * this does not affect the size of the system uptime counter, which + * is always a 64 bit count of ticks. + */ + +typedef int64_t k_ticks_t; + + + + + + +/** + * @brief Kernel timeout type + * + * Timeout arguments presented to kernel APIs are stored in this + * opaque type, which is capable of representing times in various + * formats and units. It should be constructed from application data + * using one of the macros defined for this purpose (e.g. `K_MSEC()`, + * `K_TIMEOUT_ABS_TICKS()`, etc...), or be one of the two constants + * K_NO_WAIT or K_FOREVER. Applications should not inspect the + * internal data once constructed. Timeout values may be compared for + * equality with the `K_TIMEOUT_EQ()` macro. + */ +typedef struct { + k_ticks_t ticks; +} k_timeout_t; + +/** + * @brief Compare timeouts for equality + * + * The k_timeout_t object is an opaque struct that should not be + * inspected by application code. This macro exists so that users can + * test timeout objects for equality with known constants + * (e.g. K_NO_WAIT and K_FOREVER) when implementing their own APIs in + * terms of Zephyr timeout constants. + * + * @return True if the timeout objects are identical + */ + + +/** number of nanoseconds per microsecond */ + + +/** number of nanoseconds per millisecond */ + + +/** number of microseconds per millisecond */ + + +/** number of milliseconds per second */ + + +/** number of seconds per minute */ + + +/** number of seconds per hour */ + + +/** number of seconds per day */ + + +/** number of minutes per hour */ + + +/** number of hours per day */ + + +/** number of microseconds per second */ + + +/** number of nanoseconds per second */ + + +/** @} */ + +/** @cond INTERNAL_HIDDEN */ +# 142 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys_clock.h" +/* Converts between absolute timeout expiration values (packed into + * the negative space below K_TICKS_FOREVER) and (non-negative) delta + * timeout values. If the result of Z_TICK_ABS(t) is >= 0, then the + * value was an absolute timeout with the returned expiration time. + * Note that this macro is bidirectional: Z_TICK_ABS(Z_TICK_ABS(t)) == + * t for all inputs, and that the representation of K_TICKS_FOREVER is + * the same value in both spaces! Clever, huh? + */ + + +/* Test for relative timeout */ + + + + + + +/* added tick needed to account for tick in progress */ + + +/** @endcond */ +# 171 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys_clock.h" +/* kernel clocks */ + +/* + * We default to using 64-bit intermediates in timescale conversions, + * but if the HW timer cycles/sec, ticks/sec and ms/sec are all known + * to be nicely related, then we can cheat with 32 bits instead. + */ +/** + * @addtogroup clock_apis + * @{ + */ +# 193 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys_clock.h" +/** + * SYS_CLOCK_HW_CYCLES_TO_NS_AVG converts CPU clock cycles to nanoseconds + * and calculates the average cycle time + */ + + + +/** + * + * @brief Return the lower part of the current system tick count + * + * @return the current system tick count + * + */ +uint32_t sys_clock_tick_get_32(void); + +/** + * + * @brief Return the current system tick count + * + * @return the current system tick count + * + */ +int64_t sys_clock_tick_get(void); +# 225 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys_clock.h" +/** + * @brief Kernel timepoint type + * + * Absolute timepoints are stored in this opaque type. + * It is best not to inspect its content directly. + * + * @see sys_timepoint_calc() + * @see sys_timepoint_timeout() + * @see sys_timepoint_expired() + */ +typedef struct { uint64_t tick; } k_timepoint_t; + +/** + * @brief Calculate a timepoint value + * + * Returns a timepoint corresponding to the expiration (relative to an + * unlocked "now"!) of a timeout object. When used correctly, this should + * be called once, synchronously with the user passing a new timeout value. + * It should not be used iteratively to adjust a timeout (see + * `sys_timepoint_timeout()` for that purpose). + * + * @param timeout Timeout value relative to current time (may also be + * `K_FOREVER` or `K_NO_WAIT`). + * @retval Timepoint value corresponding to given timeout + * + * @see sys_timepoint_timeout() + * @see sys_timepoint_expired() + */ +k_timepoint_t sys_timepoint_calc(k_timeout_t timeout); + +/** + * @brief Remaining time to given timepoint + * + * Returns the timeout interval between current time and provided timepoint. + * If the timepoint is now in the past or if it was created with `K_NO_WAIT` + * then `K_NO_WAIT` is returned. If it was created with `K_FOREVER` then + * `K_FOREVER` is returned. + * + * @param timepoint Timepoint for which a timeout value is wanted. + * @retval Corresponding timeout value. + * + * @see sys_timepoint_calc() + */ +k_timeout_t sys_timepoint_timeout(k_timepoint_t timepoint); + +/** + * @brief Compare two timepoint values. + * + * This function is used to compare two timepoint values. + * + * @param a Timepoint to compare + * @param b Timepoint to compare against. + * @return zero if both timepoints are the same. Negative value if timepoint @a a is before + * timepoint @a b, positive otherwise. + */ +static inline int sys_timepoint_cmp(k_timepoint_t a, k_timepoint_t b) +{ + if (a.tick == b.tick) { + return 0; + } + return a.tick < b.tick ? -1 : 1; +} +# 320 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys_clock.h" +/** + * @brief Indicates if timepoint is expired + * + * @param timepoint Timepoint to evaluate + * @retval true if the timepoint is in the past, false otherwise + * + * @see sys_timepoint_calc() + */ +static inline bool sys_timepoint_expired(k_timepoint_t timepoint) +{ + return ((sys_timepoint_timeout(timepoint)).ticks == (((k_timeout_t) {0})).ticks); +} + +/** @} */ + + +} +# 39 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_includes.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/spinlock.h" 1 +/* + * Copyright (c) 2018 Intel Corporation. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Public interface for spinlocks + */ + + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/errno.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/errno.h" 3 4 +/* +Copyright (c) 1991, 1993 +The Regents of the University of California. All rights reserved. +c) UNIX System Laboratories, Inc. +All or some portions of this file are derived from material licensed +to the University of California by American Telephone and Telegraph +Co. or Unix System Laboratories, Inc. and are reproduced herein with +the permission of UNIX System Laboratories, Inc. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. +3. Neither the name of the University nor the names of its contributors +may be used to endorse or promote products derived from this software +without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + */ + + + + +typedef int error_t; + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/errno.h" 1 3 4 +/* +Copyright (c) 1982, 1986, 1993 +The Regents of the University of California. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. +3. Neither the name of the University nor the names of its contributors +may be used to endorse or promote products derived from this software +without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + */ +/* errno is not a global variable, because that would make using it + non-reentrant. Instead, its address is returned by the function + __errno. */ + + + +extern "C" { + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/config.h" 1 3 4 +/* +Copyright (c) 1982, 1986, 1993 +The Regents of the University of California. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. +3. Neither the name of the University nor the names of its contributors +may be used to endorse or promote products derived from this software +without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + */ +# 40 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/errno.h" 2 3 4 + +/* Please don't use these variables directly. + Use strerror instead. */ +extern const char * const _sys_errlist[]; +extern int _sys_nerr; +# 62 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/errno.h" 3 4 +extern __thread int errno; +# 237 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/errno.h" 3 4 +} +# 43 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/errno.h" 2 3 4 +# 16 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/spinlock.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdbool.h" 1 3 4 +/* Copyright (C) 1998-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.16 Boolean type and values + */ +# 17 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/spinlock.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/cpu.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/cpu.h" +/* cpu.h - automatically selects the correct arch.h file to include */ + +/* + * Copyright (c) 1997-2014 Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 19 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/spinlock.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/atomic.h" 1 +/* + * Copyright (c) 1997-2015, Wind River Systems, Inc. + * Copyright (c) 2021 Intel Corporation + * Copyright (c) 2023 Nordic Semiconductor ASA + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 20 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/spinlock.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/__assert.h" 1 +/* + * Copyright (c) 2011-2014 Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 21 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/spinlock.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/time_units.h" 1 +/* + * Copyright (c) 2019 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 22 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/spinlock.h" 2 + + +extern "C" { + + +/** + * @brief Spinlock APIs + * @defgroup spinlock_apis Spinlock APIs + * @ingroup kernel_apis + * @{ + */ + +struct z_spinlock_key { + int key; +}; + +/** + * @brief Kernel Spin Lock + * + * This struct defines a spin lock record on which CPUs can wait with + * k_spin_lock(). Any number of spinlocks may be defined in + * application code. + */ +struct k_spinlock { +/** + * @cond INTERNAL_HIDDEN + */ +# 83 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/spinlock.h" + /* If CONFIG_SMP and CONFIG_SPIN_VALIDATE are both not defined + * the k_spinlock struct will have no members. The result + * is that in C sizeof(k_spinlock) is 0 and in C++ it is 1. + * + * This size difference causes problems when the k_spinlock + * is embedded into another struct like k_msgq, because C and + * C++ will have different ideas on the offsets of the members + * that come after the k_spinlock member. + * + * To prevent this we add a 1 byte dummy member to k_spinlock + * when the user selects C++ support and k_spinlock would + * otherwise be empty. + */ + char dummy; + +/** + * INTERNAL_HIDDEN @endcond + */ +}; + +/* There's a spinlock validation framework available when asserts are + * enabled. It adds a relatively hefty overhead (about 3k or so) to + * kernel code size, don't use on platforms known to be small. + */ +# 119 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/spinlock.h" +/** + * @brief Spinlock key type + * + * This type defines a "key" value used by a spinlock implementation + * to store the system interrupt state at the time of a call to + * k_spin_lock(). It is expected to be passed to a matching + * k_spin_unlock(). + * + * This type is opaque and should not be inspected by application + * code. + */ +typedef struct z_spinlock_key k_spinlock_key_t; + +static inline __attribute__((always_inline)) void z_spinlock_validate_pre(struct k_spinlock *l) +{ + (void)(l); + + + + + + +} + +static inline __attribute__((always_inline)) void z_spinlock_validate_post(struct k_spinlock *l) +{ + (void)(l); + + + + + + +} + +/** + * @brief Lock a spinlock + * + * This routine locks the specified spinlock, returning a key handle + * representing interrupt state needed at unlock time. Upon + * returning, the calling thread is guaranteed not to be suspended or + * interrupted on its current CPU until it calls k_spin_unlock(). The + * implementation guarantees mutual exclusion: exactly one thread on + * one CPU will return from k_spin_lock() at a time. Other CPUs + * trying to acquire a lock already held by another CPU will enter an + * implementation-defined busy loop ("spinning") until the lock is + * released. + * + * Separate spin locks may be nested. It is legal to lock an + * (unlocked) spin lock while holding a different lock. Spin locks + * are not recursive, however: an attempt to acquire a spin lock that + * the CPU already holds will deadlock. + * + * In circumstances where only one CPU exists, the behavior of + * k_spin_lock() remains as specified above, though obviously no + * spinning will take place. Implementations may be free to optimize + * in uniprocessor contexts such that the locking reduces to an + * interrupt mask operation. + * + * @param l A pointer to the spinlock to lock + * @return A key value that must be passed to k_spin_unlock() when the + * lock is released. + */ +static inline __attribute__((always_inline)) k_spinlock_key_t k_spin_lock(struct k_spinlock *l) +{ + (void)(l); + k_spinlock_key_t k; + + /* Note that we need to use the underlying arch-specific lock + * implementation. The "irq_lock()" API in SMP context is + * actually a wrapper for a global spinlock! + */ + k.key = arch_irq_lock(); + + z_spinlock_validate_pre(l); +# 211 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/spinlock.h" + z_spinlock_validate_post(l); + + return k; +} + +/** + * @brief Attempt to lock a spinlock + * + * This routine makes one attempt to lock @p l. If it is successful, then + * it will store the key into @p k. + * + * @param[in] l A pointer to the spinlock to lock + * @param[out] k A pointer to the spinlock key + * @retval 0 on success + * @retval -EBUSY if another thread holds the lock + * + * @see k_spin_lock + * @see k_spin_unlock + */ +static inline __attribute__((always_inline)) int k_spin_trylock(struct k_spinlock *l, k_spinlock_key_t *k) +{ + int key = arch_irq_lock(); + + z_spinlock_validate_pre(l); +# 266 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/spinlock.h" + z_spinlock_validate_post(l); + + k->key = key; + + return 0; + + + + + + +} + +/** + * @brief Unlock a spin lock + * + * This releases a lock acquired by k_spin_lock(). After this + * function is called, any CPU will be able to acquire the lock. If + * other CPUs are currently spinning inside k_spin_lock() waiting for + * this lock, exactly one of them will return synchronously with the + * lock held. + * + * Spin locks must be properly nested. A call to k_spin_unlock() must + * be made on the lock object most recently locked using + * k_spin_lock(), using the key value that it returned. Attempts to + * unlock mis-nested locks, or to unlock locks that are not held, or + * to passing a key parameter other than the one returned from + * k_spin_lock(), are illegal. When CONFIG_SPIN_VALIDATE is set, some + * of these errors can be detected by the framework. + * + * @param l A pointer to the spinlock to release + * @param key The value returned from k_spin_lock() when this lock was + * acquired + */ +static inline __attribute__((always_inline)) void k_spin_unlock(struct k_spinlock *l, + k_spinlock_key_t key) +{ + (void)(l); +# 331 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/spinlock.h" + arch_irq_unlock(key.key); +} + +/** + * @cond INTERNAL_HIDDEN + */ +# 358 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/spinlock.h" +/* Internal function: releases the lock, but leaves local interrupts disabled */ +static inline __attribute__((always_inline)) void k_spin_release(struct k_spinlock *l) +{ + (void)(l); +# 372 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/spinlock.h" +} +# 385 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/spinlock.h" +/** + * INTERNAL_HIDDEN @endcond + */ + +/** + * @brief Leaves a code block guarded with @ref K_SPINLOCK after releasing the + * lock. + * + * See @ref K_SPINLOCK for details. + */ + + +/** + * @brief Guards a code block with the given spinlock, automatically acquiring + * the lock before executing the code block. The lock will be released either + * when reaching the end of the code block or when leaving the block with + * @ref K_SPINLOCK_BREAK. + * + * @details Example usage: + * + * @code{.c} + * K_SPINLOCK(&mylock) { + * + * ...execute statements with the lock held... + * + * if (some_condition) { + * ...release the lock and leave the guarded section prematurely: + * K_SPINLOCK_BREAK; + * } + * + * ...execute statements with the lock held... + * + * } + * @endcode + * + * Behind the scenes this pattern expands to a for-loop whose body is executed + * exactly once: + * + * @code{.c} + * for (k_spinlock_key_t key = k_spin_lock(&mylock); ...; k_spin_unlock(&mylock, key)) { + * ... + * } + * @endcode + * + * @warning The code block must execute to its end or be left by calling + * @ref K_SPINLOCK_BREAK. Otherwise, e.g. if exiting the block with a break, + * goto or return statement, the spinlock will not be released on exit. + * + * @note In user mode the spinlock must be placed in memory accessible to the + * application, see @ref K_APP_DMEM and @ref K_APP_BMEM macros for details. + * + * @param lck Spinlock used to guard the enclosed code block. + */ + + + + +/** @} */ + + +} +# 40 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_includes.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/fatal.h" 1 +/* + * Copyright (c) 2019 Intel Corporation. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** @file + * @brief Fatal error functions + */ + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/cpu.h" 1 +/* cpu.h - automatically selects the correct arch.h file to include */ + +/* + * Copyright (c) 1997-2014 Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 15 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/fatal.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/exception.h" 1 +/* exception.h - automatically selects the correct exception.h file to include */ + +/* + * Copyright (c) 2024 Meta Platforms + * SPDX-License-Identifier: Apache-2.0 + */ +# 18 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/exception.h" +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arm/exception.h" 1 +/* + * Copyright (c) 2013-2014 Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief ARM AArch32 public exception handling + * + * ARM AArch32-specific kernel exception handling interface. Included by + * arm/arch.h. + */ +# 19 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/exception.h" 2 +# 16 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/fatal.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain.h" 1 +/* + * Copyright (c) 2010-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Macros to abstract toolchain specific capabilities + * + * This file contains various macros to abstract compiler capabilities that + * utilize toolchain specific attributes and/or pragmas. + */ +# 17 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/fatal.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/fatal_types.h" 1 +/* + * Copyright (c) 2023 CSIRO. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** @file + * @brief Fatal base type definitions + */ +# 18 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/fatal.h" 2 + + +extern "C" { + + +/** + * @defgroup fatal_apis Fatal error APIs + * @ingroup kernel_apis + * @{ + */ + +/** + * @brief Halt the system on a fatal error + * + * Invokes architecture-specific code to power off or halt the system in + * a low power state. Lacking that, lock interrupts and sit in an idle loop. + * + * @param reason Fatal exception reason code + */ +__attribute__((__noreturn__)) void k_fatal_halt(unsigned int reason); + +/** + * @brief Fatal error policy handler + * + * This function is not invoked by application code, but is declared as a + * weak symbol so that applications may introduce their own policy. + * + * The default implementation of this function halts the system + * unconditionally. Depending on architecture support, this may be + * a simple infinite loop, power off the hardware, or exit an emulator. + * + * If this function returns, then the currently executing thread will be + * aborted. + * + * A few notes for custom implementations: + * + * - If the error is determined to be unrecoverable, LOG_PANIC() should be + * invoked to flush any pending logging buffers. + * - K_ERR_KERNEL_PANIC indicates a severe unrecoverable error in the kernel + * itself, and should not be considered recoverable. There is an assertion + * in z_fatal_error() to enforce this. + * - Even outside of a kernel panic, unless the fault occurred in user mode, + * the kernel itself may be in an inconsistent state, with API calls to + * kernel objects possibly exhibiting undefined behavior or triggering + * another exception. + * + * @param reason The reason for the fatal error + * @param esf Exception context, with details and partial or full register + * state when the error occurred. May in some cases be NULL. + */ +void k_sys_fatal_error_handler(unsigned int reason, const struct arch_esf *esf); + +/** + * @brief Called by architecture code upon a fatal error. + * + * This function dumps out architecture-agnostic information about the error + * and then makes a policy decision on what to do by invoking + * k_sys_fatal_error_handler(). + * + * On architectures where k_thread_abort() never returns, this function + * never returns either. + * + * @param reason The reason for the fatal error + * @param esf Exception context, with details and partial or full register + * state when the error occurred. May in some cases be NULL. + */ +void z_fatal_error(unsigned int reason, const struct arch_esf *esf); + +/** @} */ + + +} +# 41 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_includes.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/irq.h" 1 +/* + * Copyright (c) 2015 Intel corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Public interface for configuring interrupts + */ + + + +/* Pull in the arch-specific implementations */ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/cpu.h" 1 +/* cpu.h - automatically selects the correct arch.h file to include */ + +/* + * Copyright (c) 1997-2014 Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 16 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/irq.h" 2 + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain.h" 1 +/* + * Copyright (c) 2010-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Macros to abstract toolchain specific capabilities + * + * This file contains various macros to abstract compiler capabilities that + * utilize toolchain specific attributes and/or pragmas. + */ +# 19 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/irq.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/types.h" 1 +/* + * Copyright (c) 2017 Linaro Limited + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 20 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/irq.h" 2 + + +extern "C" { + + +/** + * @defgroup isr_apis Interrupt Service Routine APIs + * @ingroup kernel_apis + * @{ + */ + +/** + * @brief Initialize an interrupt handler. + * + * This routine initializes an interrupt handler for an IRQ. The IRQ must be + * subsequently enabled before the interrupt handler begins servicing + * interrupts. + * + * @warning + * Although this routine is invoked at run-time, all of its arguments must be + * computable by the compiler at build time. + * + * @param irq_p IRQ line number. + * @param priority_p Interrupt priority. + * @param isr_p Address of interrupt service routine. + * @param isr_param_p Parameter passed to interrupt service routine. + * @param flags_p Architecture-specific IRQ configuration flags.. + */ + + + +/** + * Configure a dynamic interrupt. + * + * Use this instead of IRQ_CONNECT() if arguments cannot be known at build time. + * + * @param irq IRQ line number + * @param priority Interrupt priority + * @param routine Interrupt service routine + * @param parameter ISR parameter + * @param flags Arch-specific IRQ configuration flags + * + * @return The vector assigned to this interrupt + */ +static inline int +irq_connect_dynamic(unsigned int irq, unsigned int priority, + void (*routine)(const void *parameter), + const void *parameter, uint32_t flags) +{ + return arch_irq_connect_dynamic(irq, priority, routine, parameter, + flags); +} + +/** + * Disconnect a dynamic interrupt. + * + * Use this in conjunction with shared interrupts to remove a routine/parameter + * pair from the list of clients using the same interrupt line. If the interrupt + * is not being shared then the associated _sw_isr_table entry will be replaced + * by (NULL, z_irq_spurious) (default entry). + * + * @param irq IRQ line number + * @param priority Interrupt priority + * @param routine Interrupt service routine + * @param parameter ISR parameter + * @param flags Arch-specific IRQ configuration flags + * + * @return 0 in case of success, negative value otherwise + */ +static inline int +irq_disconnect_dynamic(unsigned int irq, unsigned int priority, + void (*routine)(const void *parameter), + const void *parameter, uint32_t flags) +{ + return arch_irq_disconnect_dynamic(irq, priority, routine, + parameter, flags); +} + +/** + * @brief Initialize a 'direct' interrupt handler. + * + * This routine initializes an interrupt handler for an IRQ. The IRQ must be + * subsequently enabled via irq_enable() before the interrupt handler begins + * servicing interrupts. + * + * These ISRs are designed for performance-critical interrupt handling and do + * not go through common interrupt handling code. They must be implemented in + * such a way that it is safe to put them directly in the vector table. For + * ISRs written in C, The ISR_DIRECT_DECLARE() macro will do this + * automatically. For ISRs written in assembly it is entirely up to the + * developer to ensure that the right steps are taken. + * + * This type of interrupt currently has a few limitations compared to normal + * Zephyr interrupts: + * - No parameters are passed to the ISR. + * - No stack switch is done, the ISR will run on the interrupted context's + * stack, unless the architecture automatically does the stack switch in HW. + * - Interrupt locking state is unchanged from how the HW sets it when the ISR + * runs. On arches that enter ISRs with interrupts locked, they will remain + * locked. + * - Scheduling decisions are now optional, controlled by the return value of + * ISRs implemented with the ISR_DIRECT_DECLARE() macro + * - The call into the OS to exit power management idle state is now optional. + * Normal interrupts always do this before the ISR is run, but when it runs + * is now controlled by the placement of a ISR_DIRECT_PM() macro, or omitted + * entirely. + * + * @warning + * Although this routine is invoked at run-time, all of its arguments must be + * computable by the compiler at build time. + * + * @param irq_p IRQ line number. + * @param priority_p Interrupt priority. + * @param isr_p Address of interrupt service routine. + * @param flags_p Architecture-specific IRQ configuration flags. + */ + + + +/** + * @brief Common tasks before executing the body of an ISR + * + * This macro must be at the beginning of all direct interrupts and performs + * minimal architecture-specific tasks before the ISR itself can run. It takes + * no arguments and has no return value. + */ + + +/** + * @brief Common tasks before exiting the body of an ISR + * + * This macro must be at the end of all direct interrupts and performs + * minimal architecture-specific tasks like EOI. It has no return value. + * + * In a normal interrupt, a check is done at end of interrupt to invoke + * z_swap() logic if the current thread is preemptible and there is another + * thread ready to run in the kernel's ready queue cache. This is now optional + * and controlled by the check_reschedule argument. If unsure, set to nonzero. + * On systems that do stack switching and nested interrupt tracking in software, + * z_swap() should only be called if this was a non-nested interrupt. + * + * @param check_reschedule If nonzero, additionally invoke scheduling logic + */ + + + +/** + * @brief Perform power management idle exit logic + * + * This macro may optionally be invoked somewhere in between IRQ_DIRECT_HEADER() + * and IRQ_DIRECT_FOOTER() invocations. It performs tasks necessary to + * exit power management idle state. It takes no parameters and returns no + * arguments. It may be omitted, but be careful! + */ + + +/** + * @brief Helper macro to declare a direct interrupt service routine. + * + * This will declare the function in a proper way and automatically include + * the ISR_DIRECT_FOOTER() and ISR_DIRECT_HEADER() macros. The function should + * return nonzero status if a scheduling decision should potentially be made. + * See ISR_DIRECT_FOOTER() for more details on the scheduling decision. + * + * For architectures that support 'regular' and 'fast' interrupt types, where + * these interrupt types require different assembly language handling of + * registers by the ISR, this will always generate code for the 'fast' + * interrupt type. + * + * Example usage: + * + * ISR_DIRECT_DECLARE(my_isr) + * { + * bool done = do_stuff(); + * ISR_DIRECT_PM(); // done after do_stuff() due to latency concerns + * if (!done) { + * return 0; // don't bother checking if we have to z_swap() + * } + * + * k_sem_give(some_sem); + * return 1; + * } + * + * @param name symbol name of the ISR + */ + + +/** + * @brief Lock interrupts. + * @def irq_lock() + * + * This routine disables all interrupts on the CPU. It returns an unsigned + * integer "lock-out key", which is an architecture-dependent indicator of + * whether interrupts were locked prior to the call. The lock-out key must be + * passed to irq_unlock() to re-enable interrupts. + * + * @note + * This routine must also serve as a memory barrier to ensure the uniprocessor + * implementation of spinlocks is correct. + * + * This routine can be called recursively, as long as the caller keeps track + * of each lock-out key that is generated. Interrupts are re-enabled by + * passing each of the keys to irq_unlock() in the reverse order they were + * acquired. (That is, each call to irq_lock() must be balanced by + * a corresponding call to irq_unlock().) + * + * This routine can only be invoked from supervisor mode. Some architectures + * (for example, ARM) will fail silently if invoked from user mode instead + * of generating an exception. + * + * @note + * This routine can be called by ISRs or by threads. If it is called by a + * thread, the interrupt lock is thread-specific; this means that interrupts + * remain disabled only while the thread is running. If the thread performs an + * operation that allows another thread to run (for example, giving a semaphore + * or sleeping for N milliseconds), the interrupt lock no longer applies and + * interrupts may be re-enabled while other processing occurs. When the thread + * once again becomes the current thread, the kernel re-establishes its + * interrupt lock; this ensures the thread won't be interrupted until it has + * explicitly released the interrupt lock it established. + * + * @warning + * The lock-out key should never be used to manually re-enable interrupts + * or to inspect or manipulate the contents of the CPU's interrupt bits. + * + * @return An architecture-dependent lock-out key representing the + * "interrupt disable state" prior to the call. + */ + + + + + + + +/** + * @brief Unlock interrupts. + * @def irq_unlock() + * + * This routine reverses the effect of a previous call to irq_lock() using + * the associated lock-out key. The caller must call the routine once for + * each time it called irq_lock(), supplying the keys in the reverse order + * they were acquired, before interrupts are enabled. + * + * @note + * This routine must also serve as a memory barrier to ensure the uniprocessor + * implementation of spinlocks is correct. + * + * This routine can only be invoked from supervisor mode. Some architectures + * (for example, ARM) will fail silently if invoked from user mode instead + * of generating an exception. + * + * @note Can be called by ISRs. + * + * @param key Lock-out key generated by irq_lock(). + */ + + + + + + + +/** + * @brief Enable an IRQ. + * + * This routine enables interrupts from source @a irq. + * + * @param irq IRQ line. + */ + + +/** + * @brief Disable an IRQ. + * + * This routine disables interrupts from source @a irq. + * + * @param irq IRQ line. + */ + + +/** + * @brief Get IRQ enable state. + * + * This routine indicates if interrupts from source @a irq are enabled. + * + * @param irq IRQ line. + * + * @return interrupt enable state, true or false + */ + + +/** + * @} + */ + + +} +# 42 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_includes.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/thread_stack.h" 1 +/* + * Copyright (c) 2020 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * + * @brief Macros for declaring thread stacks + */ + +/** + * @brief Thread Stack APIs + * @ingroup kernel_apis + * @defgroup thread_stack_api Thread Stack APIs + * @{ + * @} + */ + + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/cpu.h" 1 +/* cpu.h - automatically selects the correct arch.h file to include */ + +/* + * Copyright (c) 1997-2014 Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 26 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/thread_stack.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util.h" 1 +/* + * Copyright (c) 2011-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Misc utilities + * + * Misc utilities usable by the kernel and application code. + */ +# 27 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/thread_stack.h" 2 + + +extern "C" { + + +/* Using typedef deliberately here, this is quite intended to be an opaque + * type. + * + * The purpose of this data type is to clearly distinguish between the + * declared symbol for a stack (of type k_thread_stack_t) and the underlying + * buffer which composes the stack data actually used by the underlying + * thread; they cannot be used interchangeably as some arches precede the + * stack buffer region with guard areas that trigger a MPU or MMU fault + * if written to. + * + * APIs that want to work with the buffer inside should continue to use + * char *. + * + * Stacks should always be created with K_THREAD_STACK_DEFINE(). + */ +struct +# 47 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/thread_stack.h" 3 4 + __attribute__((__packed__)) +# 47 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/thread_stack.h" + z_thread_stack_element { + char data; +}; + +/** + * @typedef k_thread_stack_t + * @brief Typedef of struct z_thread_stack_element + * + * @see z_thread_stack_element + */ + + +/** + * @brief Properly align a CPU stack pointer value + * + * Take the provided value and round it down such that the value is aligned + * to the CPU and ABI requirements. This is not used for any memory protection + * hardware requirements. + * + * @param ptr Proposed stack pointer address + * @return Properly aligned stack pointer address + */ +static inline char *z_stack_ptr_align(char *ptr) +{ + return (char *)(((unsigned long)(ptr) / (unsigned long)(8)) * (unsigned long)(8)); +} + + +/** + * @brief Helper macro for getting a stack frame struct + * + * It is very common for architectures to define a struct which contains + * all the data members that are pre-populated in arch_new_thread(). + * + * Given a type and an initial stack pointer, return a properly cast + * pointer to the frame struct. + * + * @param type Type of the initial stack frame struct + * @param ptr Initial aligned stack pointer value + * @return Pointer to stack frame struct within the stack buffer + */ +# 110 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/thread_stack.h" +/** + * @addtogroup thread_stack_api + * @{ + */ + +/** + * @brief Declare a reference to a thread stack + * + * This macro declares the symbol of a thread stack defined elsewhere in the + * current scope. + * + * @param sym Thread stack symbol name + * @param size Size of the stack memory region + */ + + + + +/** + * @brief Declare a reference to a thread stack array + * + * This macro declares the symbol of a thread stack array defined elsewhere in + * the current scope. + * + * @param sym Thread stack symbol name + * @param nmemb Number of stacks defined + * @param size Size of the stack memory region + */ + + + + +/** + * @brief Declare a reference to a pinned thread stack array + * + * This macro declares the symbol of a pinned thread stack array defined + * elsewhere in the current scope. + * + * @param sym Thread stack symbol name + * @param nmemb Number of stacks defined + * @param size Size of the stack memory region + */ + + + + +/** + * @brief Define a toplevel kernel stack memory region in specified section + * + * This defines a region of memory for use as a thread stack in + * the specified linker section. + * + * It is legal to precede this definition with the 'static' keyword. + * + * It is NOT legal to take the sizeof(sym) and pass that to the stackSize + * parameter of k_thread_create(), it may not be the same as the + * 'size' parameter. Use K_KERNEL_STACK_SIZEOF() instead. + * + * The total amount of memory allocated may be increased to accommodate + * fixed-size stack overflow guards. + * + * @param sym Thread stack symbol name + * @param size Size of the stack memory region + * @param lsect Linker section for this stack + */ + + + + + +/** + * @brief Define a toplevel array of kernel stack memory regions in specified section + * + * @param sym Kernel stack array symbol name + * @param nmemb Number of stacks to define + * @param size Size of the stack memory region + * @param lsect Linker section for this array of stacks + */ + + + + + +/** + * @brief Define a toplevel kernel stack memory region + * + * This defines a region of memory for use as a thread stack, for threads + * that exclusively run in supervisor mode. This is also suitable for + * declaring special stacks for interrupt or exception handling. + * + * Stacks defined with this macro may not host user mode threads. + * + * It is legal to precede this definition with the 'static' keyword. + * + * It is NOT legal to take the sizeof(sym) and pass that to the stackSize + * parameter of k_thread_create(), it may not be the same as the + * 'size' parameter. Use K_KERNEL_STACK_SIZEOF() instead. + * + * The total amount of memory allocated may be increased to accommodate + * fixed-size stack overflow guards. + * + * @param sym Thread stack symbol name + * @param size Size of the stack memory region + */ + + + +/** + * @brief Define a toplevel kernel stack memory region in pinned section + * + * See K_KERNEL_STACK_DEFINE() for more information and constraints. + * + * This puts the stack into the pinned noinit linker section if + * CONFIG_LINKER_USE_PINNED_SECTION is enabled, or else it would + * put the stack into the same section as K_KERNEL_STACK_DEFINE(). + * + * @param sym Thread stack symbol name + * @param size Size of the stack memory region + */ +# 237 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/thread_stack.h" +/** + * @brief Define a toplevel array of kernel stack memory regions + * + * Stacks defined with this macro may not host user mode threads. + * + * @param sym Kernel stack array symbol name + * @param nmemb Number of stacks to define + * @param size Size of the stack memory region + */ + + + +/** + * @brief Define a toplevel array of kernel stack memory regions in pinned section + * + * See K_KERNEL_STACK_ARRAY_DEFINE() for more information and constraints. + * + * This puts the stack into the pinned noinit linker section if + * CONFIG_LINKER_USE_PINNED_SECTION is enabled, or else it would + * put the stack into the same section as K_KERNEL_STACK_ARRAY_DEFINE(). + * + * @param sym Kernel stack array symbol name + * @param nmemb Number of stacks to define + * @param size Size of the stack memory region + */ +# 270 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/thread_stack.h" +/** + * @brief Define an embedded stack memory region + * + * Used for kernel stacks embedded within other data structures. + * + * Stacks defined with this macro may not host user mode threads. + * @param sym Thread stack symbol name + * @param size Size of the stack memory region + */ + + + + + +/** @} */ + +static inline char *K_KERNEL_STACK_BUFFER(k_thread_stack_t *sym) +{ + return (char *)sym + ((size_t)0); +} +# 639 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/thread_stack.h" +} +# 43 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_includes.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/app_memory/mem_domain.h" 1 +/* + * Copyright (c) 2017 Linaro Limited + * Copyright (c) 2018-2020 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ +# 12 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/app_memory/mem_domain.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 1 3 4 +/* Copyright (C) 1989-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.17 Common definitions + */ +# 13 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/app_memory/mem_domain.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/dlist.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/dlist.h" +/* + * Copyright (c) 2013-2015 Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @defgroup doubly-linked-list_apis Doubly-linked list + * @ingroup datastructure_apis + * + * @brief Doubly-linked list implementation + * + * Doubly-linked list implementation using inline macros/functions. + * This API is not thread safe, and thus if a list is used across threads, + * calls to functions must be protected with synchronization primitives. + * + * The lists are expected to be initialized such that both the head and tail + * pointers point to the list itself. Initializing the lists in such a fashion + * simplifies the adding and removing of nodes to/from the list. + * + * @{ + */ +# 14 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/app_memory/mem_domain.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain.h" 1 +/* + * Copyright (c) 2010-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Macros to abstract toolchain specific capabilities + * + * This file contains various macros to abstract compiler capabilities that + * utilize toolchain specific attributes and/or pragmas. + */ +# 15 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/app_memory/mem_domain.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/thread.h" 1 +/* + * Copyright (c) 2016, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 14 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/thread.h" +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/stats.h" 1 +/* + * Copyright (c) 2021,2023, Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 15 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/thread.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/arch_interface.h" 1 +/* + * Copyright (c) 2019 Intel Corporation. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @defgroup arch-interface Architecture Interface + * @ingroup internal_api + * @brief Internal kernel APIs with public scope + * + * Any public kernel APIs that are implemented as inline functions and need to + * call architecture-specific API so will have the prototypes for the + * architecture-specific APIs here. Architecture APIs that aren't used in this + * way go in kernel/include/kernel_arch_interface.h. + * + * The set of architecture-specific APIs used internally by public macros and + * inline functions in public headers are also specified and documented. + * + * For all macros and inline function prototypes described herein, + * must eventually pull in full definitions for all of them (the actual macro + * defines and inline function bodies) + * + * include/kernel.h and other public headers depend on definitions in this + * header. + */ +# 16 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/thread.h" 2 + +/** + * @typedef k_thread_entry_t + * @brief Thread entry point function type. + * + * A thread's entry point function is invoked when the thread starts executing. + * Up to 3 argument values can be passed to the function. + * + * The thread terminates execution permanently if the entry point function + * returns. The thread is responsible for releasing any shared resources + * it may own (such as mutexes and dynamically allocated memory), prior to + * returning. + * + * @param p1 First argument. + * @param p2 Second argument. + * @param p3 Third argument. + */ + + +struct __thread_entry { + k_thread_entry_t pEntry; + void *parameter1; + void *parameter2; + void *parameter3; +}; + + +struct k_thread; + +/* + * This _pipe_desc structure is used by the pipes kernel module when + * CONFIG_PIPES has been selected. + */ + +struct _pipe_desc { + sys_dnode_t node; + unsigned char *buffer; + size_t bytes_to_xfer; + struct k_thread *thread; +}; + +/* can be used for creating 'dummy' threads, e.g. for pending on objects */ +struct _thread_base { + + /* this thread's entry in a ready/wait queue */ + union { + sys_dnode_t qnode_dlist; + struct rbnode qnode_rb; + }; + + /* wait queue on which the thread is pended (needed only for + * trees, not dumb lists) + */ + _wait_q_t *pended_on; + + /* user facing 'thread options'; values defined in include/kernel.h */ + uint8_t user_options; + + /* thread state */ + uint8_t thread_state; + + /* + * scheduler lock count and thread priority + * + * These two fields control the preemptibility of a thread. + * + * When the scheduler is locked, sched_locked is decremented, which + * means that the scheduler is locked for values from 0xff to 0x01. A + * thread is coop if its prio is negative, thus 0x80 to 0xff when + * looked at the value as unsigned. + * + * By putting them end-to-end, this means that a thread is + * non-preemptible if the bundled value is greater than or equal to + * 0x0080. + */ + union { + struct { + + + + + int8_t prio; + uint8_t sched_locked; + + }; + uint16_t preempt; + }; +# 133 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/thread.h" + /* data returned by APIs */ + void *swap_data; + + + /* this thread's entry in a timeout queue */ + struct _timeout timeout; +# 150 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/thread.h" +}; + +typedef struct _thread_base _thread_base_t; + + +/* Contains the stack information of a thread */ +struct _thread_stack_info { + /* Stack start - Represents the start address of the thread-writable + * stack area. + */ + uintptr_t start; + + /* Thread writable stack buffer size. Represents the size of the actual + * buffer, starting from the 'start' member, that should be writable by + * the thread. This comprises of the thread stack area, any area reserved + * for local thread data storage, as well as any area left-out due to + * random adjustments applied to the initial thread stack pointer during + * thread initialization. + */ + size_t size; + + /* Adjustment value to the size member, removing any storage + * used for TLS or random stack base offsets. (start + size - delta) + * is the initial stack pointer for a thread. May be 0. + */ + size_t delta; +# 186 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/thread.h" +}; + +typedef struct _thread_stack_info _thread_stack_info_t; +# 209 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/thread.h" +typedef struct k_thread_runtime_stats { +# 244 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/thread.h" + /* If none of the above Kconfig values are defined, this struct will have a size 0 in C + * which is not allowed in C++ (it'll have a size 1). To prevent this, we add a 1 byte dummy + * variable when the struct would otherwise be empty. + */ + uint8_t dummy; + +} k_thread_runtime_stats_t; + +struct z_poller { + bool is_polling; + uint8_t mode; +}; + +/** + * @ingroup thread_apis + * Thread Structure + */ +struct k_thread { + + struct _thread_base base; + + /** defined by the architecture, but all archs need these */ + struct _callee_saved callee_saved; + + /** static thread init data */ + void *init_data; + + /** threads waiting in k_thread_join() */ + _wait_q_t join_queue; + + + struct z_poller poller; +# 289 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/thread.h" + /** thread entry and parameters description */ + struct __thread_entry entry; + + /** next item in list of all threads */ + struct k_thread *next_thread; + + + + /** Thread name */ + char name[32]; +# 318 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/thread.h" + /** Stack Info */ + struct _thread_stack_info stack_info; +# 350 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/thread.h" + /** resource pool */ + struct k_heap *resource_pool; + + + /* Pointer to arch-specific TLS area */ + uintptr_t tls; +# 377 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/thread.h" + /** arch-specifics: must always be at the end */ + struct _thread_arch arch; +}; + +typedef struct k_thread _thread_t; +typedef struct k_thread *k_tid_t; +# 16 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/app_memory/mem_domain.h" 2 + + +extern "C" { + + +/** + * @defgroup mem_domain_apis Memory domain APIs + * @ingroup kernel_apis + * @{ + */ +# 104 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/app_memory/mem_domain.h" +/* To support use of IS_ENABLED for the APIs below */ +struct k_mem_domain; +struct k_mem_partition; + + +/** + * @brief Initialize a memory domain. + * + * Initialize a memory domain with given name and memory partitions. + * + * See documentation for k_mem_domain_add_partition() for details about + * partition constraints. + * + * Do not call k_mem_domain_init() on the same memory domain more than once, + * doing so is undefined behavior. + * + * @param domain The memory domain to be initialized. + * @param num_parts The number of array items of "parts" parameter. + * @param parts An array of pointers to the memory partitions. Can be NULL + * if num_parts is zero. + * + * @retval 0 if successful + * @retval -EINVAL if invalid parameters supplied + * @retval -ENOMEM if insufficient memory + */ +int k_mem_domain_init(struct k_mem_domain *domain, uint8_t num_parts, + struct k_mem_partition *parts[]); + +/** + * @brief Add a memory partition into a memory domain. + * + * Add a memory partition into a memory domain. Partitions must conform to + * the following constraints: + * + * - Partitions in the same memory domain may not overlap each other. + * - Partitions must not be defined which expose private kernel + * data structures or kernel objects. + * - The starting address alignment, and the partition size must conform to + * the constraints of the underlying memory management hardware, which + * varies per architecture. + * - Memory domain partitions are only intended to control access to memory + * from user mode threads. + * - If CONFIG_EXECUTE_XOR_WRITE is enabled, the partition must not allow + * both writes and execution. + * + * Violating these constraints may lead to CPU exceptions or undefined + * behavior. + * + * @param domain The memory domain to be added a memory partition. + * @param part The memory partition to be added + * + * @retval 0 if successful + * @retval -EINVAL if invalid parameters supplied + * @retval -ENOSPC if no free partition slots available + */ +int k_mem_domain_add_partition(struct k_mem_domain *domain, + struct k_mem_partition *part); + +/** + * @brief Remove a memory partition from a memory domain. + * + * Remove a memory partition from a memory domain. + * + * @param domain The memory domain to be removed a memory partition. + * @param part The memory partition to be removed + * + * @retval 0 if successful + * @retval -EINVAL if invalid parameters supplied + * @retval -ENOENT if no matching partition found + */ +int k_mem_domain_remove_partition(struct k_mem_domain *domain, + struct k_mem_partition *part); + +/** + * @brief Add a thread into a memory domain. + * + * Add a thread into a memory domain. It will be removed from whatever + * memory domain it previously belonged to. + * + * @param domain The memory domain that the thread is going to be added into. + * @param thread ID of thread going to be added into the memory domain. + * + * @return 0 if successful, fails otherwise. + */ +int k_mem_domain_add_thread(struct k_mem_domain *domain, + k_tid_t thread); + + +} + + +/** @} */ +# 44 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_includes.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/kobject.h" 1 +/* + * Copyright (c) 2020 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ +# 10 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/kobject.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 1 3 4 +/* Copyright (C) 1989-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.17 Common definitions + */ +# 11 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/kobject.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/iterable_sections.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/iterable_sections.h" +/* + * Copyright (C) 2020, Intel Corporation + * Copyright (C) 2023, Nordic Semiconductor ASA + * SPDX-License-Identifier: Apache-2.0 + */ +# 13 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/kobject.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/internal/kobject_internal.h" 1 +/* + * Copyright (c) 2020 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + +extern "C" { + + +/** + * @defgroup usermode_internal_apis User Mode Internal APIs + * @ingroup internal_api + * @{ + */ +# 91 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/internal/kobject_internal.h" +/* LCOV_EXCL_START */ +static inline void k_object_init(const void *obj) +{ + (void)(obj); +} +/* LCOV_EXCL_STOP */ +# 154 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/internal/kobject_internal.h" +/* LCOV_EXCL_START */ +static inline struct k_object *k_object_create_dynamic_aligned(size_t align, + size_t size) +{ + (void)(align); + (void)(size); + + return +# 161 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/internal/kobject_internal.h" 3 4 + __null +# 161 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/internal/kobject_internal.h" + ; +} + +static inline struct k_object *k_object_create_dynamic(size_t size) +{ + (void)(size); + + return +# 168 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/internal/kobject_internal.h" 3 4 + __null +# 168 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/internal/kobject_internal.h" + ; +} + +/* LCOV_EXCL_STOP */ + + +/** @} */ + + +} +# 14 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/kobject.h" 2 + + +extern "C" { + + +struct k_thread; +struct k_mutex; +struct z_futex_data; + +/** + * @brief Kernel Object Types + * + * This enumeration needs to be kept in sync with the lists of kernel objects + * and subsystems in scripts/build/gen_kobject_list.py, as well as the otype_to_str() + * function in kernel/userspace.c + */ +enum k_objects { + K_OBJ_ANY, + + /** @cond + * Doxygen should ignore this build-time generated include file + * when generating API documentation. Enumeration values are + * generated during build by gen_kobject_list.py. It includes + * basic kernel objects (e.g. pipes and mutexes) and driver types. + */ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/kobj-types-enum.h" 1 +/* Core kernel objects */ +K_OBJ_MEM_SLAB, +K_OBJ_MSGQ, +K_OBJ_MUTEX, +K_OBJ_PIPE, +K_OBJ_QUEUE, +K_OBJ_POLL_SIGNAL, +K_OBJ_SEM, +K_OBJ_STACK, +K_OBJ_THREAD, +K_OBJ_TIMER, +K_OBJ_THREAD_STACK_ELEMENT, +K_OBJ_NET_SOCKET, +K_OBJ_NET_IF, +K_OBJ_SYS_MUTEX, +K_OBJ_FUTEX, +K_OBJ_CONDVAR, +# 42 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/kobj-types-enum.h" +/* Driver subsystems */ +K_OBJ_DRIVER_ADC, +K_OBJ_DRIVER_DAC, +K_OBJ_DRIVER_DMA, +K_OBJ_DRIVER_ENTROPY, +K_OBJ_DRIVER_FLASH, +K_OBJ_DRIVER_GPIO, +K_OBJ_DRIVER_I2C, +K_OBJ_DRIVER_I2C_TARGET, +K_OBJ_DRIVER_PWM, +K_OBJ_DRIVER_RESET, +K_OBJ_DRIVER_SPI, +K_OBJ_DRIVER_SHARED_IRQ, +K_OBJ_DRIVER_CRYPTO, +K_OBJ_DRIVER_AUXDISPLAY, +K_OBJ_DRIVER_BBRAM, +K_OBJ_DRIVER_BT_HCI, +K_OBJ_DRIVER_CAN, +K_OBJ_DRIVER_CELLULAR, +K_OBJ_DRIVER_CHARGER, +K_OBJ_DRIVER_CLOCK_CONTROL, +K_OBJ_DRIVER_COMPARATOR, +K_OBJ_DRIVER_COREDUMP, +K_OBJ_DRIVER_COUNTER, +K_OBJ_DRIVER_DAI, +K_OBJ_DRIVER_DISPLAY, +K_OBJ_DRIVER_EDAC, +K_OBJ_DRIVER_EEPROM, +K_OBJ_DRIVER_EMUL_BBRAM, +K_OBJ_DRIVER_FUEL_GAUGE_EMUL, +K_OBJ_DRIVER_EMUL_SENSOR, +K_OBJ_DRIVER_ESPI, +K_OBJ_DRIVER_ESPI_SAF, +K_OBJ_DRIVER_FPGA, +K_OBJ_DRIVER_FUEL_GAUGE, +K_OBJ_DRIVER_GNSS, +K_OBJ_DRIVER_HAPTICS, +K_OBJ_DRIVER_HWSPINLOCK, +K_OBJ_DRIVER_I2S, +K_OBJ_DRIVER_I3C, +K_OBJ_DRIVER_IPM, +K_OBJ_DRIVER_LED, +K_OBJ_DRIVER_LED_STRIP, +K_OBJ_DRIVER_LORA, +K_OBJ_DRIVER_MBOX, +K_OBJ_DRIVER_MDIO, +K_OBJ_DRIVER_MIPI_DBI, +K_OBJ_DRIVER_MIPI_DSI, +K_OBJ_DRIVER_MSPI, +K_OBJ_DRIVER_PECI, +K_OBJ_DRIVER_PS2, +K_OBJ_DRIVER_PTP_CLOCK, +K_OBJ_DRIVER_REGULATOR_PARENT, +K_OBJ_DRIVER_REGULATOR, +K_OBJ_DRIVER_RETAINED_MEM, +K_OBJ_DRIVER_RTC, +K_OBJ_DRIVER_SDHC, +K_OBJ_DRIVER_SENSOR, +K_OBJ_DRIVER_SMBUS, +K_OBJ_DRIVER_STEPPER, +K_OBJ_DRIVER_SYSCON, +K_OBJ_DRIVER_TEE, +K_OBJ_DRIVER_VIDEO, +K_OBJ_DRIVER_W1, +K_OBJ_DRIVER_WDT, +K_OBJ_DRIVER_CAN_TRANSCEIVER, +K_OBJ_DRIVER_NRF_CLOCK_CONTROL, +K_OBJ_DRIVER_I3C_TARGET, +K_OBJ_DRIVER_ITS, +K_OBJ_DRIVER_VTD, +K_OBJ_DRIVER_TGPIO, +K_OBJ_DRIVER_PCIE_CTRL, +K_OBJ_DRIVER_PCIE_EP, +K_OBJ_DRIVER_SVC, +K_OBJ_DRIVER_UART, +K_OBJ_DRIVER_BC12_EMUL, +K_OBJ_DRIVER_BC12, +K_OBJ_DRIVER_USBC_PPC, +K_OBJ_DRIVER_TCPC, +K_OBJ_DRIVER_USBC_VBUS, +K_OBJ_DRIVER_IVSHMEM, +K_OBJ_DRIVER_ETHPHY, +# 40 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/kobject.h" 2 + /** @endcond + */ + + K_OBJ_LAST +}; +/** + * @defgroup usermode_apis User Mode APIs + * @ingroup kernel_apis + * @{ + */ +# 151 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/kobject.h" +/* LCOV_EXCL_START */ + + +/** + * @internal + */ +static inline void z_impl_k_object_access_grant(const void *object, + struct k_thread *thread) +{ + (void)(object); + (void)(thread); +} + +/** + * @internal + */ +static inline void k_object_access_revoke(const void *object, + struct k_thread *thread) +{ + (void)(object); + (void)(thread); +} + +/** + * @internal + */ +static inline void z_impl_k_object_release(const void *object) +{ + (void)(object); +} + +static inline void k_object_access_all_grant(const void *object) +{ + (void)(object); +} + +static inline bool k_object_is_valid(const void *obj, enum k_objects otype) +{ + (void)(obj); + (void)(otype); + + return true; +} + +/* LCOV_EXCL_STOP */ +# 255 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/kobject.h" +/* LCOV_EXCL_START */ +static inline void *z_impl_k_object_alloc(enum k_objects otype) +{ + (void)(otype); + + return +# 260 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/kobject.h" 3 4 + __null +# 260 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/kobject.h" + ; +} + +static inline void *z_impl_k_object_alloc_size(enum k_objects otype, + size_t size) +{ + (void)(otype); + (void)(size); + + return +# 269 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/kobject.h" 3 4 + __null +# 269 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/kobject.h" + ; +} + +/** + * @brief Free an object + * + * @param obj + */ +static inline void k_object_free(void *obj) +{ + (void)(obj); +} +/* LCOV_EXCL_STOP */ + + +/** @} */ + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kobject.h" 1 +/* auto-generated by gen_syscalls.py, don't edit */ + + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/tracing/tracing_syscall.h" 1 +/* + * Copyright (c) 2021 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 8 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kobject.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdarg.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdarg.h" 3 4 +/* Copyright (C) 1989-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.15 Variable arguments + */ +# 12 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kobject.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscall_list.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscall_list.h" +/* auto-generated by gen_syscalls.py, don't edit */ +# 14 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kobject.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/syscall.h" 1 +/* + * Copyright (c) 2017, Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 15 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kobject.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/linker/sections.h" 1 +/* + * Copyright (c) 2013-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Definitions of various linker Sections. + * + * Linker Section declarations used by linker script, C files and Assembly + * files. + */ +# 17 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kobject.h" 2 + + + +extern "C" { + + +extern void z_impl_k_object_access_grant(const void * object, struct k_thread * thread); + + +static inline void k_object_access_grant(const void * object, struct k_thread * thread) +{ +# 36 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kobject.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + z_impl_k_object_access_grant(object, thread); +} +# 48 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kobject.h" +extern void z_impl_k_object_release(const void * object); + + +static inline void k_object_release(const void * object) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + z_impl_k_object_release(object); +} +# 72 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kobject.h" +extern void * z_impl_k_object_alloc(enum k_objects otype); + + +static inline void * k_object_alloc(enum k_objects otype) +{ + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_object_alloc(otype); +} +# 95 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kobject.h" +extern void * z_impl_k_object_alloc_size(enum k_objects otype, size_t size); + + +static inline void * k_object_alloc_size(enum k_objects otype, size_t size) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_object_alloc_size(otype, size); +} +# 120 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kobject.h" +} +# 287 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/kobject.h" 2 + +} +# 45 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_includes.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/thread.h" 1 +/* + * Copyright (c) 2016, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 46 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_includes.h" 2 +/* FIXME This needs to be removed. Exposes some private APIs to SOF */ +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel/internal/smp.h" 1 +/* + * Copyright (c) 2023 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + +void z_sched_ipi(void); +# 48 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_includes.h" 2 +# 18 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/errno.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/errno.h" 3 4 +/* +Copyright (c) 1991, 1993 +The Regents of the University of California. All rights reserved. +c) UNIX System Laboratories, Inc. +All or some portions of this file are derived from material licensed +to the University of California by American Telephone and Telegraph +Co. or Unix System Laboratories, Inc. and are reproduced herein with +the permission of UNIX System Laboratories, Inc. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. +3. Neither the name of the University nor the names of its contributors +may be used to endorse or promote products derived from this software +without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + */ +# 19 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/limits.h" 1 3 4 +/* Copyright (c) 2002 Jeff Johnston */ +# 20 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdbool.h" 1 3 4 +/* Copyright (C) 1998-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.16 Boolean type and values + */ +# 21 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain.h" +/* + * Copyright (c) 2010-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Macros to abstract toolchain specific capabilities + * + * This file contains various macros to abstract compiler capabilities that + * utilize toolchain specific attributes and/or pragmas. + */ +# 22 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/tracing/tracing_macros.h" 1 +/* + * Copyright (c) 2018 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util_macro.h" 1 +/* + * Copyright (c) 2011-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Macro utilities + * + * Macro utilities are the public interface for C/C++ code and device tree + * related implementation. In general, C/C++ will include + * instead this file directly. For device tree implementation, this file + * should be include instead + */ +# 10 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/tracing/tracing_macros.h" 2 +# 23 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mem_stats.h" 1 +/* + * Copyright (c) 2022 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * + * @brief Memory Statistics + */ +# 24 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/iterable_sections.h" 1 +/* + * Copyright (C) 2020, Intel Corporation + * Copyright (C) 2023, Nordic Semiconductor ASA + * SPDX-License-Identifier: Apache-2.0 + */ +# 25 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/ring_buffer.h" 1 +/* + * Copyright (c) 2015 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util.h" 1 +/* + * Copyright (c) 2011-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Misc utilities + * + * Misc utilities usable by the kernel and application code. + */ +# 11 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/ring_buffer.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/errno.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/errno.h" 3 4 +/* +Copyright (c) 1991, 1993 +The Regents of the University of California. All rights reserved. +c) UNIX System Laboratories, Inc. +All or some portions of this file are derived from material licensed +to the University of California by American Telephone and Telegraph +Co. or Unix System Laboratories, Inc. and are reproduced herein with +the permission of UNIX System Laboratories, Inc. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. +3. Neither the name of the University nor the names of its contributors +may be used to endorse or promote products derived from this software +without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + */ +# 12 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/ring_buffer.h" 2 + + + +# 14 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/ring_buffer.h" +extern "C" { + + +/** + * @file + * @defgroup ring_buffer_apis Ring Buffer APIs + * @ingroup datastructure_apis + * + * @brief Simple ring buffer implementation. + * + * @{ + */ + +/** @cond INTERNAL_HIDDEN */ + +/* The limit is used by algorithm for distinguishing between empty and full + * state. + */ + + + + +typedef uint16_t ring_buf_idx_t; + + + + + +struct ring_buf_index { ring_buf_idx_t head, tail, base; }; + +/** @endcond */ + +/** + * @brief A structure to represent a ring buffer + */ +struct ring_buf { + /** @cond INTERNAL_HIDDEN */ + uint8_t *buffer; + struct ring_buf_index put; + struct ring_buf_index get; + uint32_t size; + /** @endcond */ +}; + +/** @cond INTERNAL_HIDDEN */ + +uint32_t ring_buf_area_claim(struct ring_buf *buf, struct ring_buf_index *ring, + uint8_t **data, uint32_t size); +int ring_buf_area_finish(struct ring_buf *buf, struct ring_buf_index *ring, + uint32_t size); + +/** + * @brief Function to force ring_buf internal states to given value + * + * Any value other than 0 makes sense only in validation testing context. + */ +static inline void ring_buf_internal_reset(struct ring_buf *buf, ring_buf_idx_t value) +{ + buf->put.head = buf->put.tail = buf->put.base = value; + buf->get.head = buf->get.tail = buf->get.base = value; +} + +/** @endcond */ + + + + + + + +/** + * @brief Define and initialize a ring buffer for byte data. + * + * This macro establishes a ring buffer of an arbitrary size. + * The basic storage unit is a byte. + * + * The ring buffer can be accessed outside the module where it is defined + * using: + * + * @code extern struct ring_buf ; @endcode + * + * @param name Name of the ring buffer. + * @param size8 Size of ring buffer (in bytes). + */ + + + + + + +/** + * @brief Define and initialize an "item based" ring buffer. + * + * This macro establishes an "item based" ring buffer. Each data item is + * an array of 32-bit words (from zero to 1020 bytes in length), coupled + * with a 16-bit type identifier and an 8-bit integer value. + * + * The ring buffer can be accessed outside the module where it is defined + * using: + * + * @code extern struct ring_buf ; @endcode + * + * @param name Name of the ring buffer. + * @param size32 Size of ring buffer (in 32-bit words). + */ +# 128 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/ring_buffer.h" +/** + * @brief Define and initialize an "item based" ring buffer. + * + * This exists for backward compatibility reasons. @ref RING_BUF_ITEM_DECLARE + * should be used instead. + * + * @param name Name of the ring buffer. + * @param size32 Size of ring buffer (in 32-bit words). + */ + + + +/** + * @brief Define and initialize a power-of-2 sized "item based" ring buffer. + * + * This macro establishes an "item based" ring buffer by specifying its + * size using a power of 2. This exists mainly for backward compatibility + * reasons. @ref RING_BUF_ITEM_DECLARE should be used instead. + * + * @param name Name of the ring buffer. + * @param pow Ring buffer size exponent. + */ + + + +/** + * @brief Compute the ring buffer size in 32-bit needed to store an element + * + * The argument can be a type or an expression. + * Note: rounds up if the size is not a multiple of 32 bits. + * + * @param expr Expression or type to compute the size of + */ + + +/** + * @brief Initialize a ring buffer for byte data. + * + * This routine initializes a ring buffer, prior to its first use. It is only + * used for ring buffers not defined using RING_BUF_DECLARE. + * + * @param buf Address of ring buffer. + * @param size Ring buffer size (in bytes). + * @param data Ring buffer data area (uint8_t data[size]). + */ +static inline void ring_buf_init(struct ring_buf *buf, + uint32_t size, + uint8_t *data) +{ + { }; + + buf->size = size; + buf->buffer = data; + ring_buf_internal_reset(buf, 0); +} + +/** + * @brief Initialize an "item based" ring buffer. + * + * This routine initializes a ring buffer, prior to its first use. It is only + * used for ring buffers not defined using RING_BUF_ITEM_DECLARE. + * + * Each data item is an array of 32-bit words (from zero to 1020 bytes in + * length), coupled with a 16-bit type identifier and an 8-bit integer value. + * + * @param buf Address of ring buffer. + * @param size Ring buffer size (in 32-bit words) + * @param data Ring buffer data area (uint32_t data[size]). + */ +static inline void ring_buf_item_init(struct ring_buf *buf, + uint32_t size, + uint32_t *data) +{ + { }; + ring_buf_init(buf, 4 * size, (uint8_t *)data); +} + +/** + * @brief Determine if a ring buffer is empty. + * + * @param buf Address of ring buffer. + * + * @return true if the ring buffer is empty, or false if not. + */ +static inline bool ring_buf_is_empty(const struct ring_buf *buf) +{ + return buf->get.head == buf->put.tail; +} + +/** + * @brief Reset ring buffer state. + * + * @param buf Address of ring buffer. + */ +static inline void ring_buf_reset(struct ring_buf *buf) +{ + ring_buf_internal_reset(buf, 0); +} + +/** + * @brief Determine free space in a ring buffer. + * + * @param buf Address of ring buffer. + * + * @return Ring buffer free space (in bytes). + */ +static inline uint32_t ring_buf_space_get(const struct ring_buf *buf) +{ + ring_buf_idx_t allocated = buf->put.head - buf->get.tail; + + return buf->size - allocated; +} + +/** + * @brief Determine free space in an "item based" ring buffer. + * + * @param buf Address of ring buffer. + * + * @return Ring buffer free space (in 32-bit words). + */ +static inline uint32_t ring_buf_item_space_get(const struct ring_buf *buf) +{ + return ring_buf_space_get(buf) / 4; +} + +/** + * @brief Return ring buffer capacity. + * + * @param buf Address of ring buffer. + * + * @return Ring buffer capacity (in bytes). + */ +static inline uint32_t ring_buf_capacity_get(const struct ring_buf *buf) +{ + return buf->size; +} + +/** + * @brief Determine size of available data in a ring buffer. + * + * @param buf Address of ring buffer. + * + * @return Ring buffer data size (in bytes). + */ +static inline uint32_t ring_buf_size_get(const struct ring_buf *buf) +{ + ring_buf_idx_t available = buf->put.tail - buf->get.head; + + return available; +} + +/** + * @brief Allocate buffer for writing data to a ring buffer. + * + * With this routine, memory copying can be reduced since internal ring buffer + * can be used directly by the user. Once data is written to allocated area + * number of bytes written must be confirmed (see @ref ring_buf_put_finish). + * + * @warning + * Use cases involving multiple writers to the ring buffer must prevent + * concurrent write operations, either by preventing all writers from + * being preempted or by using a mutex to govern writes to the ring buffer. + * + * @warning + * Ring buffer instance should not mix byte access and item access + * (calls prefixed with ring_buf_item_). + * + * @param[in] buf Address of ring buffer. + * @param[out] data Pointer to the address. It is set to a location within + * ring buffer. + * @param[in] size Requested allocation size (in bytes). + * + * @return Size of allocated buffer which can be smaller than requested if + * there is not enough free space or buffer wraps. + */ +static inline uint32_t ring_buf_put_claim(struct ring_buf *buf, + uint8_t **data, + uint32_t size) +{ + return ring_buf_area_claim(buf, &buf->put, data, + (((size) < (ring_buf_space_get(buf))) ? (size) : (ring_buf_space_get(buf)))); +} + +/** + * @brief Indicate number of bytes written to allocated buffers. + * + * The number of bytes must be equal to or lower than the sum corresponding + * to all preceding @ref ring_buf_put_claim invocations (or even 0). Surplus + * bytes will be returned to the available free buffer space. + * + * @warning + * Use cases involving multiple writers to the ring buffer must prevent + * concurrent write operations, either by preventing all writers from + * being preempted or by using a mutex to govern writes to the ring buffer. + * + * @warning + * Ring buffer instance should not mix byte access and item access + * (calls prefixed with ring_buf_item_). + * + * @param buf Address of ring buffer. + * @param size Number of valid bytes in the allocated buffers. + * + * @retval 0 Successful operation. + * @retval -EINVAL Provided @a size exceeds free space in the ring buffer. + */ +static inline int ring_buf_put_finish(struct ring_buf *buf, uint32_t size) +{ + return ring_buf_area_finish(buf, &buf->put, size); +} + +/** + * @brief Write (copy) data to a ring buffer. + * + * This routine writes data to a ring buffer @a buf. + * + * @warning + * Use cases involving multiple writers to the ring buffer must prevent + * concurrent write operations, either by preventing all writers from + * being preempted or by using a mutex to govern writes to the ring buffer. + * + * @warning + * Ring buffer instance should not mix byte access and item access + * (calls prefixed with ring_buf_item_). + * + * @param buf Address of ring buffer. + * @param data Address of data. + * @param size Data size (in bytes). + * + * @retval Number of bytes written. + */ +uint32_t ring_buf_put(struct ring_buf *buf, const uint8_t *data, uint32_t size); + +/** + * @brief Get address of a valid data in a ring buffer. + * + * With this routine, memory copying can be reduced since internal ring buffer + * can be used directly by the user. Once data is processed it must be freed + * using @ref ring_buf_get_finish. + * + * @warning + * Use cases involving multiple reads of the ring buffer must prevent + * concurrent read operations, either by preventing all readers from + * being preempted or by using a mutex to govern reads to the ring buffer. + * + * @warning + * Ring buffer instance should not mix byte access and item access + * (calls prefixed with ring_buf_item_). + * + * @param[in] buf Address of ring buffer. + * @param[out] data Pointer to the address. It is set to a location within + * ring buffer. + * @param[in] size Requested size (in bytes). + * + * @return Number of valid bytes in the provided buffer which can be smaller + * than requested if there is not enough free space or buffer wraps. + */ +static inline uint32_t ring_buf_get_claim(struct ring_buf *buf, + uint8_t **data, + uint32_t size) +{ + return ring_buf_area_claim(buf, &buf->get, data, + (((size) < (ring_buf_size_get(buf))) ? (size) : (ring_buf_size_get(buf)))); +} + +/** + * @brief Indicate number of bytes read from claimed buffer. + * + * The number of bytes must be equal or lower than the sum corresponding to + * all preceding @ref ring_buf_get_claim invocations (or even 0). Surplus + * bytes will remain available in the buffer. + * + * @warning + * Use cases involving multiple reads of the ring buffer must prevent + * concurrent read operations, either by preventing all readers from + * being preempted or by using a mutex to govern reads to the ring buffer. + * + * @warning + * Ring buffer instance should not mix byte access and item mode + * (calls prefixed with ring_buf_item_). + * + * @param buf Address of ring buffer. + * @param size Number of bytes that can be freed. + * + * @retval 0 Successful operation. + * @retval -EINVAL Provided @a size exceeds valid bytes in the ring buffer. + */ +static inline int ring_buf_get_finish(struct ring_buf *buf, uint32_t size) +{ + return ring_buf_area_finish(buf, &buf->get, size); +} + +/** + * @brief Read data from a ring buffer. + * + * This routine reads data from a ring buffer @a buf. + * + * @warning + * Use cases involving multiple reads of the ring buffer must prevent + * concurrent read operations, either by preventing all readers from + * being preempted or by using a mutex to govern reads to the ring buffer. + * + * @warning + * Ring buffer instance should not mix byte access and item mode + * (calls prefixed with ring_buf_item_). + * + * @param buf Address of ring buffer. + * @param data Address of the output buffer. Can be NULL to discard data. + * @param size Data size (in bytes). + * + * @retval Number of bytes written to the output buffer. + */ +uint32_t ring_buf_get(struct ring_buf *buf, uint8_t *data, uint32_t size); + +/** + * @brief Peek at data from a ring buffer. + * + * This routine reads data from a ring buffer @a buf without removal. + * + * @warning + * Use cases involving multiple reads of the ring buffer must prevent + * concurrent read operations, either by preventing all readers from + * being preempted or by using a mutex to govern reads to the ring buffer. + * + * @warning + * Ring buffer instance should not mix byte access and item mode + * (calls prefixed with ring_buf_item_). + * + * @warning + * Multiple calls to peek will result in the same data being 'peeked' + * multiple times. To remove data, use either @ref ring_buf_get or + * @ref ring_buf_get_claim followed by @ref ring_buf_get_finish with a + * non-zero `size`. + * + * @param buf Address of ring buffer. + * @param data Address of the output buffer. Cannot be NULL. + * @param size Data size (in bytes). + * + * @retval Number of bytes written to the output buffer. + */ +uint32_t ring_buf_peek(struct ring_buf *buf, uint8_t *data, uint32_t size); + +/** + * @brief Write a data item to a ring buffer. + * + * This routine writes a data item to ring buffer @a buf. The data item + * is an array of 32-bit words (from zero to 1020 bytes in length), + * coupled with a 16-bit type identifier and an 8-bit integer value. + * + * @warning + * Use cases involving multiple writers to the ring buffer must prevent + * concurrent write operations, either by preventing all writers from + * being preempted or by using a mutex to govern writes to the ring buffer. + * + * @param buf Address of ring buffer. + * @param type Data item's type identifier (application specific). + * @param value Data item's integer value (application specific). + * @param data Address of data item. + * @param size32 Data item size (number of 32-bit words). + * + * @retval 0 Data item was written. + * @retval -EMSGSIZE Ring buffer has insufficient free space. + */ +int ring_buf_item_put(struct ring_buf *buf, uint16_t type, uint8_t value, + uint32_t *data, uint8_t size32); + +/** + * @brief Read a data item from a ring buffer. + * + * This routine reads a data item from ring buffer @a buf. The data item + * is an array of 32-bit words (up to 1020 bytes in length), + * coupled with a 16-bit type identifier and an 8-bit integer value. + * + * @warning + * Use cases involving multiple reads of the ring buffer must prevent + * concurrent read operations, either by preventing all readers from + * being preempted or by using a mutex to govern reads to the ring buffer. + * + * @param buf Address of ring buffer. + * @param type Area to store the data item's type identifier. + * @param value Area to store the data item's integer value. + * @param data Area to store the data item. Can be NULL to discard data. + * @param size32 Size of the data item storage area (number of 32-bit chunks). + * + * @retval 0 Data item was fetched; @a size32 now contains the number of + * 32-bit words read into data area @a data. + * @retval -EAGAIN Ring buffer is empty. + * @retval -EMSGSIZE Data area @a data is too small; @a size32 now contains + * the number of 32-bit words needed. + */ +int ring_buf_item_get(struct ring_buf *buf, uint16_t *type, uint8_t *value, + uint32_t *data, uint8_t *size32); + +/** + * @} + */ + + +} +# 26 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" 2 + + +extern "C" { + + +/* + * Zephyr currently assumes the size of a couple standard types to simplify + * print string formats. Let's make sure this doesn't change without notice. + */ +static_assert(sizeof(int32_t) == sizeof(int), "" ); +static_assert(sizeof(int64_t) == sizeof(long long), "" ); +static_assert(sizeof(intptr_t) == sizeof(long), "" ); + +/** + * @brief Kernel APIs + * @defgroup kernel_apis Kernel APIs + * @since 1.0 + * @version 1.0.0 + * @{ + * @} + */ +# 72 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" +struct k_thread; +struct k_mutex; +struct k_sem; +struct k_msgq; +struct k_mbox; +struct k_pipe; +struct k_queue; +struct k_fifo; +struct k_lifo; +struct k_stack; +struct k_mem_slab; +struct k_timer; +struct k_poll_event; +struct k_poll_signal; +struct k_mem_domain; +struct k_mem_partition; +struct k_futex; +struct k_event; + +enum execution_context_types { + K_ISR = 0, + K_COOP_THREAD, + K_PREEMPT_THREAD, +}; + +/* private, used by k_poll and k_work_poll */ +struct k_work_poll; +typedef int (*_poller_cb_t)(struct k_poll_event *event, uint32_t state); + +/** + * @addtogroup thread_apis + * @{ + */ + +typedef void (*k_thread_user_cb_t)(const struct k_thread *thread, + void *user_data); + +/** + * @brief Iterate over all the threads in the system. + * + * This routine iterates over all the threads in the system and + * calls the user_cb function for each thread. + * + * @param user_cb Pointer to the user callback function. + * @param user_data Pointer to user data. + * + * @note @kconfig{CONFIG_THREAD_MONITOR} must be set for this function + * to be effective. + * @note This API uses @ref k_spin_lock to protect the _kernel.threads + * list which means creation of new threads and terminations of existing + * threads are blocked until this API returns. + */ +void k_thread_foreach(k_thread_user_cb_t user_cb, void *user_data); + +/** + * @brief Iterate over all the threads in running on specified cpu. + * + * This function is does otherwise the same thing as k_thread_foreach(), + * but it only loops through the threads running on specified cpu only. + * If CONFIG_SMP is not defined the implementation this is the same as + * k_thread_foreach(), with an assert cpu == 0. + * + * @param cpu The filtered cpu number + * @param user_cb Pointer to the user callback function. + * @param user_data Pointer to user data. + * + * @note @kconfig{CONFIG_THREAD_MONITOR} must be set for this function + * to be effective. + * @note This API uses @ref k_spin_lock to protect the _kernel.threads + * list which means creation of new threads and terminations of existing + * threads are blocked until this API returns. + */ + + + + +static inline +void k_thread_foreach_filter_by_cpu(unsigned int cpu, + k_thread_user_cb_t user_cb, void *user_data) +{ + { }; + (void)(cpu); + k_thread_foreach(user_cb, user_data); +} + + +/** + * @brief Iterate over all the threads in the system without locking. + * + * This routine works exactly the same like @ref k_thread_foreach + * but unlocks interrupts when user_cb is executed. + * + * @param user_cb Pointer to the user callback function. + * @param user_data Pointer to user data. + * + * @note @kconfig{CONFIG_THREAD_MONITOR} must be set for this function + * to be effective. + * @note This API uses @ref k_spin_lock only when accessing the _kernel.threads + * queue elements. It unlocks it during user callback function processing. + * If a new task is created when this @c foreach function is in progress, + * the added new task would not be included in the enumeration. + * If a task is aborted during this enumeration, there would be a race here + * and there is a possibility that this aborted task would be included in the + * enumeration. + * @note If the task is aborted and the memory occupied by its @c k_thread + * structure is reused when this @c k_thread_foreach_unlocked is in progress + * it might even lead to the system behave unstable. + * This function may never return, as it would follow some @c next task + * pointers treating given pointer as a pointer to the k_thread structure + * while it is something different right now. + * Do not reuse the memory that was occupied by k_thread structure of aborted + * task if it was aborted after this function was called in any context. + */ +void k_thread_foreach_unlocked( + k_thread_user_cb_t user_cb, void *user_data); + +/** + * @brief Iterate over the threads in running on current cpu without locking. + * + * This function does otherwise the same thing as + * k_thread_foreach_unlocked(), but it only loops through the threads + * running on specified cpu. If CONFIG_SMP is not defined the + * implementation this is the same as k_thread_foreach_unlocked(), with an + * assert requiring cpu == 0. + * + * @param cpu The filtered cpu number + * @param user_cb Pointer to the user callback function. + * @param user_data Pointer to user data. + * + * @note @kconfig{CONFIG_THREAD_MONITOR} must be set for this function + * to be effective. + * @note This API uses @ref k_spin_lock only when accessing the _kernel.threads + * queue elements. It unlocks it during user callback function processing. + * If a new task is created when this @c foreach function is in progress, + * the added new task would not be included in the enumeration. + * If a task is aborted during this enumeration, there would be a race here + * and there is a possibility that this aborted task would be included in the + * enumeration. + * @note If the task is aborted and the memory occupied by its @c k_thread + * structure is reused when this @c k_thread_foreach_unlocked is in progress + * it might even lead to the system behave unstable. + * This function may never return, as it would follow some @c next task + * pointers treating given pointer as a pointer to the k_thread structure + * while it is something different right now. + * Do not reuse the memory that was occupied by k_thread structure of aborted + * task if it was aborted after this function was called in any context. + */ + + + + +static inline +void k_thread_foreach_unlocked_filter_by_cpu(unsigned int cpu, + k_thread_user_cb_t user_cb, void *user_data) +{ + { }; + (void)(cpu); + k_thread_foreach_unlocked(user_cb, user_data); +} + + +/** @} */ + +/** + * @defgroup thread_apis Thread APIs + * @ingroup kernel_apis + * @{ + */ + + + + +/* + * Thread user options. May be needed by assembly code. Common part uses low + * bits, arch-specific use high bits. + */ + +/** + * @brief system thread that must not abort + * */ + + + +/** + * @brief FPU registers are managed by context switch + * + * @details + * This option indicates that the thread uses the CPU's floating point + * registers. This instructs the kernel to take additional steps to save + * and restore the contents of these registers when scheduling the thread. + * No effect if @kconfig{CONFIG_FPU_SHARING} is not enabled. + */ + + +/** + * @brief user mode thread + * + * This thread has dropped from supervisor mode to user mode and consequently + * has additional restrictions + */ + + +/** + * @brief Inherit Permissions + * + * @details + * Indicates that the thread being created should inherit all kernel object + * permissions from the thread that created it. No effect if + * @kconfig{CONFIG_USERSPACE} is not enabled. + */ + + +/** + * @brief Callback item state + * + * @details + * This is a single bit of state reserved for "callback manager" + * utilities (p4wq initially) who need to track operations invoked + * from within a user-provided callback they have been invoked. + * Effectively it serves as a tiny bit of zero-overhead TLS data. + */ + + +/** + * @brief DSP registers are managed by context switch + * + * @details + * This option indicates that the thread uses the CPU's DSP registers. + * This instructs the kernel to take additional steps to save and + * restore the contents of these registers when scheduling the thread. + * No effect if @kconfig{CONFIG_DSP_SHARING} is not enabled. + */ + + + +/** + * @brief AGU registers are managed by context switch + * + * @details + * This option indicates that the thread uses the ARC processor's XY + * memory and DSP feature. Often used with @kconfig{CONFIG_ARC_AGU_SHARING}. + * No effect if @kconfig{CONFIG_ARC_AGU_SHARING} is not enabled. + */ + + + +/** + * @brief FP and SSE registers are managed by context switch on x86 + * + * @details + * This option indicates that the thread uses the x86 CPU's floating point + * and SSE registers. This instructs the kernel to take additional steps to + * save and restore the contents of these registers when scheduling + * the thread. No effect if @kconfig{CONFIG_X86_SSE} is not enabled. + */ + + +/* end - thread options */ + + +/** + * @brief Dynamically allocate a thread stack. + * + * Relevant stack creation flags include: + * - @ref K_USER allocate a userspace thread (requires `CONFIG_USERSPACE=y`) + * + * @param size Stack size in bytes. + * @param flags Stack creation flags, or 0. + * + * @retval the allocated thread stack on success. + * @retval NULL on failure. + * + * @see CONFIG_DYNAMIC_THREAD + */ +static inline k_thread_stack_t *k_thread_stack_alloc(size_t size, int flags); + +/** + * @brief Free a dynamically allocated thread stack. + * + * @param stack Pointer to the thread stack. + * + * @retval 0 on success. + * @retval -EBUSY if the thread stack is in use. + * @retval -EINVAL if @p stack is invalid. + * @retval -ENOSYS if dynamic thread stack allocation is disabled + * + * @see CONFIG_DYNAMIC_THREAD + */ +static inline int k_thread_stack_free(k_thread_stack_t *stack); + +/** + * @brief Create a thread. + * + * This routine initializes a thread, then schedules it for execution. + * + * The new thread may be scheduled for immediate execution or a delayed start. + * If the newly spawned thread does not have a delayed start the kernel + * scheduler may preempt the current thread to allow the new thread to + * execute. + * + * Thread options are architecture-specific, and can include K_ESSENTIAL, + * K_FP_REGS, and K_SSE_REGS. Multiple options may be specified by separating + * them using "|" (the logical OR operator). + * + * Stack objects passed to this function must be originally defined with + * either of these macros in order to be portable: + * + * - K_THREAD_STACK_DEFINE() - For stacks that may support either user or + * supervisor threads. + * - K_KERNEL_STACK_DEFINE() - For stacks that may support supervisor + * threads only. These stacks use less memory if CONFIG_USERSPACE is + * enabled. + * + * The stack_size parameter has constraints. It must either be: + * + * - The original size value passed to K_THREAD_STACK_DEFINE() or + * K_KERNEL_STACK_DEFINE() + * - The return value of K_THREAD_STACK_SIZEOF(stack) if the stack was + * defined with K_THREAD_STACK_DEFINE() + * - The return value of K_KERNEL_STACK_SIZEOF(stack) if the stack was + * defined with K_KERNEL_STACK_DEFINE(). + * + * Using other values, or sizeof(stack) may produce undefined behavior. + * + * @param new_thread Pointer to uninitialized struct k_thread + * @param stack Pointer to the stack space. + * @param stack_size Stack size in bytes. + * @param entry Thread entry function. + * @param p1 1st entry point parameter. + * @param p2 2nd entry point parameter. + * @param p3 3rd entry point parameter. + * @param prio Thread priority. + * @param options Thread options. + * @param delay Scheduling delay, or K_NO_WAIT (for no delay). + * + * @return ID of new thread. + * + */ +static inline k_tid_t k_thread_create(struct k_thread *new_thread, + k_thread_stack_t *stack, + size_t stack_size, + k_thread_entry_t entry, + void *p1, void *p2, void *p3, + int prio, uint32_t options, k_timeout_t delay); + +/** + * @brief Drop a thread's privileges permanently to user mode + * + * This allows a supervisor thread to be re-used as a user thread. + * This function does not return, but control will transfer to the provided + * entry point as if this was a new user thread. + * + * The implementation ensures that the stack buffer contents are erased. + * Any thread-local storage will be reverted to a pristine state. + * + * Memory domain membership, resource pool assignment, kernel object + * permissions, priority, and thread options are preserved. + * + * A common use of this function is to re-use the main thread as a user thread + * once all supervisor mode-only tasks have been completed. + * + * @param entry Function to start executing from + * @param p1 1st entry point parameter + * @param p2 2nd entry point parameter + * @param p3 3rd entry point parameter + */ +__attribute__((__noreturn__)) void k_thread_user_mode_enter(k_thread_entry_t entry, + void *p1, void *p2, + void *p3); + +/** + * @brief Grant a thread access to a set of kernel objects + * + * This is a convenience function. For the provided thread, grant access to + * the remaining arguments, which must be pointers to kernel objects. + * + * The thread object must be initialized (i.e. running). The objects don't + * need to be. + * Note that NULL shouldn't be passed as an argument. + * + * @param thread Thread to grant access to objects + * @param ... list of kernel object pointers + */ + + + +/** + * @brief Assign a resource memory pool to a thread + * + * By default, threads have no resource pool assigned unless their parent + * thread has a resource pool, in which case it is inherited. Multiple + * threads may be assigned to the same memory pool. + * + * Changing a thread's resource pool will not migrate allocations from the + * previous pool. + * + * @param thread Target thread to assign a memory pool for resource requests. + * @param heap Heap object to use for resources, + * or NULL if the thread should no longer have a memory pool. + */ +static inline void k_thread_heap_assign(struct k_thread *thread, + struct k_heap *heap) +{ + thread->resource_pool = heap; +} + + +/** + * @brief Obtain stack usage information for the specified thread + * + * User threads will need to have permission on the target thread object. + * + * Some hardware may prevent inspection of a stack buffer currently in use. + * If this API is called from supervisor mode, on the currently running thread, + * on a platform which selects @kconfig{CONFIG_NO_UNUSED_STACK_INSPECTION}, an + * error will be generated. + * + * @param thread Thread to inspect stack information + * @param unused_ptr Output parameter, filled in with the unused stack space + * of the target thread in bytes. + * @return 0 on success + * @return -EBADF Bad thread object (user mode only) + * @return -EPERM No permissions on thread object (user mode only) + * #return -ENOTSUP Forbidden by hardware policy + * @return -EINVAL Thread is uninitialized or exited (user mode only) + * @return -EFAULT Bad memory address for unused_ptr (user mode only) + */ +static inline int k_thread_stack_space_get(const struct k_thread *thread, + size_t *unused_ptr); + + + +/** + * @brief Assign the system heap as a thread's resource pool + * + * Similar to k_thread_heap_assign(), but the thread will use + * the kernel heap to draw memory. + * + * Use with caution, as a malicious thread could perform DoS attacks on the + * kernel heap. + * + * @param thread Target thread to assign the system heap for resource requests + * + */ +void k_thread_system_pool_assign(struct k_thread *thread); + + +/** + * @brief Sleep until a thread exits + * + * The caller will be put to sleep until the target thread exits, either due + * to being aborted, self-exiting, or taking a fatal error. This API returns + * immediately if the thread isn't running. + * + * This API may only be called from ISRs with a K_NO_WAIT timeout, + * where it can be useful as a predicate to detect when a thread has + * aborted. + * + * @param thread Thread to wait to exit + * @param timeout upper bound time to wait for the thread to exit. + * @retval 0 success, target thread has exited or wasn't running + * @retval -EBUSY returned without waiting + * @retval -EAGAIN waiting period timed out + * @retval -EDEADLK target thread is joining on the caller, or target thread + * is the caller + */ +static inline int k_thread_join(struct k_thread *thread, k_timeout_t timeout); + +/** + * @brief Put the current thread to sleep. + * + * This routine puts the current thread to sleep for @a duration, + * specified as a k_timeout_t object. + * + * @param timeout Desired duration of sleep. + * + * @return Zero if the requested time has elapsed or the time left to + * sleep rounded up to the nearest millisecond (e.g. if the thread was + * awoken by the \ref k_wakeup call). Will be clamped to INT_MAX in + * the case where the remaining time is unrepresentable in an int32_t. + */ +static inline int32_t k_sleep(k_timeout_t timeout); + +/** + * @brief Put the current thread to sleep. + * + * This routine puts the current thread to sleep for @a duration milliseconds. + * + * @param ms Number of milliseconds to sleep. + * + * @return Zero if the requested time has elapsed or if the thread was woken up + * by the \ref k_wakeup call, the time left to sleep rounded up to the nearest + * millisecond. + */ +static inline int32_t k_msleep(int32_t ms) +{ + return k_sleep(((k_timeout_t) { ((k_ticks_t)((true) ? ( ((10000) == (1000)) ? (uint64_t) ((((ms) > (0)) ? (ms) : (0))) : ((1000) > (10000) && (1000) % (10000) == 0U) ? (((uint64_t) ((((ms) > (0)) ? (ms) : (0))) + ((false) ? ((1000) / (10000)) / 2 : (true) ? ((1000) / (10000)) - 1 : 0)) / ((1000)/(10000) ? (1000)/(10000) : 01u)) : ((10000) > (1000) && (10000) % (1000) == 0U) ? (uint64_t) ((((ms) > (0)) ? (ms) : (0)))*((10000) / (1000)) : ((((((365 * 24ULL * 3600ULL * 1000) + ( +# 568 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" 3 4 + (0xffffffffUL) +# 568 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" + ) - 1) / ( +# 568 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" 3 4 + (0xffffffffUL) +# 568 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" + )) * 10000) <= +# 568 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" 3 4 + (0xffffffffUL) +# 568 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" + ) ? (((uint64_t) ((((ms) > (0)) ? (ms) : (0)))*(10000) + ((false) ? (1000) / 2 : (true) ? (1000) - 1 : 0)) / (1000)) : (((uint64_t) ((((ms) > (0)) ? (ms) : (0))) / (1000))*(10000) + (((uint64_t) ((((ms) > (0)) ? (ms) : (0))) % (1000))*(10000) + ((false) ? (1000) / 2 : (true) ? (1000) - 1 : 0)) / (1000))) ) : (((uint64_t) ((((ms) > (0)) ? (ms) : (0))) / (1000))*(10000) + (((uint64_t) ((((ms) > (0)) ? (ms) : (0))) % (1000))*(10000) + ((false) ? (1000) / 2 : (true) ? (1000) - 1 : 0)) / (1000)) )) })); +} + +/** + * @brief Put the current thread to sleep with microsecond resolution. + * + * This function is unlikely to work as expected without kernel tuning. + * In particular, because the lower bound on the duration of a sleep is + * the duration of a tick, @kconfig{CONFIG_SYS_CLOCK_TICKS_PER_SEC} must be + * adjusted to achieve the resolution desired. The implications of doing + * this must be understood before attempting to use k_usleep(). Use with + * caution. + * + * @param us Number of microseconds to sleep. + * + * @return Zero if the requested time has elapsed or if the thread was woken up + * by the \ref k_wakeup call, the time left to sleep rounded up to the nearest + * microsecond. + */ +static inline int32_t k_usleep(int32_t us); + +/** + * @brief Cause the current thread to busy wait. + * + * This routine causes the current thread to execute a "do nothing" loop for + * @a usec_to_wait microseconds. + * + * @note The clock used for the microsecond-resolution delay here may + * be skewed relative to the clock used for system timeouts like + * k_sleep(). For example k_busy_wait(1000) may take slightly more or + * less time than k_sleep(K_MSEC(1)), with the offset dependent on + * clock tolerances. + * + * @note In case when @kconfig{CONFIG_SYSTEM_CLOCK_SLOPPY_IDLE} and + * @kconfig{CONFIG_PM} options are enabled, this function may not work. + * The timer/clock used for delay processing may be disabled/inactive. + */ +static inline void k_busy_wait(uint32_t usec_to_wait); + +/** + * @brief Check whether it is possible to yield in the current context. + * + * This routine checks whether the kernel is in a state where it is possible to + * yield or call blocking API's. It should be used by code that needs to yield + * to perform correctly, but can feasibly be called from contexts where that + * is not possible. For example in the PRE_KERNEL initialization step, or when + * being run from the idle thread. + * + * @return True if it is possible to yield in the current context, false otherwise. + */ +bool k_can_yield(void); + +/** + * @brief Yield the current thread. + * + * This routine causes the current thread to yield execution to another + * thread of the same or higher priority. If there are no other ready threads + * of the same or higher priority, the routine returns immediately. + */ +static inline void k_yield(void); + +/** + * @brief Wake up a sleeping thread. + * + * This routine prematurely wakes up @a thread from sleeping. + * + * If @a thread is not currently sleeping, the routine has no effect. + * + * @param thread ID of thread to wake. + */ +static inline void k_wakeup(k_tid_t thread); + +/** + * @brief Query thread ID of the current thread. + * + * This unconditionally queries the kernel via a system call. + * + * @note Use k_current_get() unless absolutely sure this is necessary. + * This should only be used directly where the thread local + * variable cannot be used or may contain invalid values + * if thread local storage (TLS) is enabled. If TLS is not + * enabled, this is the same as k_current_get(). + * + * @return ID of current thread. + */ +__attribute__((__const__)) +static inline k_tid_t k_sched_current_thread_query(void); + +/** + * @brief Get thread ID of the current thread. + * + * @return ID of current thread. + * + */ +__attribute__((__const__)) +static inline k_tid_t k_current_get(void) +{ + + + /* Thread-local cache of current thread ID, set in z_thread_entry() */ + extern thread_local k_tid_t z_tls_current; + + return z_tls_current; + + + +} + +/** + * @brief Abort a thread. + * + * This routine permanently stops execution of @a thread. The thread is taken + * off all kernel queues it is part of (i.e. the ready queue, the timeout + * queue, or a kernel object wait queue). However, any kernel resources the + * thread might currently own (such as mutexes or memory blocks) are not + * released. It is the responsibility of the caller of this routine to ensure + * all necessary cleanup is performed. + * + * After k_thread_abort() returns, the thread is guaranteed not to be + * running or to become runnable anywhere on the system. Normally + * this is done via blocking the caller (in the same manner as + * k_thread_join()), but in interrupt context on SMP systems the + * implementation is required to spin for threads that are running on + * other CPUs. + * + * @param thread ID of thread to abort. + */ +static inline void k_thread_abort(k_tid_t thread); + +k_ticks_t z_timeout_expires(const struct _timeout *timeout); +k_ticks_t z_timeout_remaining(const struct _timeout *timeout); + + + +/** + * @brief Get time when a thread wakes up, in system ticks + * + * This routine computes the system uptime when a waiting thread next + * executes, in units of system ticks. If the thread is not waiting, + * it returns current system time. + */ +static inline k_ticks_t k_thread_timeout_expires_ticks(const struct k_thread *thread); + +static inline k_ticks_t z_impl_k_thread_timeout_expires_ticks( + const struct k_thread *thread) +{ + return z_timeout_expires(&thread->base.timeout); +} + +/** + * @brief Get time remaining before a thread wakes up, in system ticks + * + * This routine computes the time remaining before a waiting thread + * next executes, in units of system ticks. If the thread is not + * waiting, it returns zero. + */ +static inline k_ticks_t k_thread_timeout_remaining_ticks(const struct k_thread *thread); + +static inline k_ticks_t z_impl_k_thread_timeout_remaining_ticks( + const struct k_thread *thread) +{ + return z_timeout_remaining(&thread->base.timeout); +} + + + +/** + * @cond INTERNAL_HIDDEN + */ + +struct _static_thread_data { + struct k_thread *init_thread; + k_thread_stack_t *init_stack; + unsigned int init_stack_size; + k_thread_entry_t init_entry; + void *init_p1; + void *init_p2; + void *init_p3; + int init_prio; + uint32_t init_options; + const char *init_name; + + + + k_timeout_t init_delay; + +}; +# 781 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" +/* + * Refer to K_THREAD_DEFINE() and K_KERNEL_THREAD_DEFINE() for + * information on arguments. + */ +# 797 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" +/** + * INTERNAL_HIDDEN @endcond + */ + +/** + * @brief Statically define and initialize a thread. + * + * The thread may be scheduled for immediate execution or a delayed start. + * + * Thread options are architecture-specific, and can include K_ESSENTIAL, + * K_FP_REGS, and K_SSE_REGS. Multiple options may be specified by separating + * them using "|" (the logical OR operator). + * + * The ID of the thread can be accessed using: + * + * @code extern const k_tid_t ; @endcode + * + * @param name Name of the thread. + * @param stack_size Stack size in bytes. + * @param entry Thread entry function. + * @param p1 1st entry point parameter. + * @param p2 2nd entry point parameter. + * @param p3 3rd entry point parameter. + * @param prio Thread priority. + * @param options Thread options. + * @param delay Scheduling delay (in milliseconds), zero for no delay. + * + * @note Static threads with zero delay should not normally have + * MetaIRQ priority levels. This can preempt the system + * initialization handling (depending on the priority of the main + * thread) and cause surprising ordering side effects. It will not + * affect anything in the OS per se, but consider it bad practice. + * Use a SYS_INIT() callback if you need to run code before entrance + * to the application main(). + */ + + + + + + + +/** + * @brief Statically define and initialize a thread intended to run only in kernel mode. + * + * The thread may be scheduled for immediate execution or a delayed start. + * + * Thread options are architecture-specific, and can include K_ESSENTIAL, + * K_FP_REGS, and K_SSE_REGS. Multiple options may be specified by separating + * them using "|" (the logical OR operator). + * + * The ID of the thread can be accessed using: + * + * @code extern const k_tid_t ; @endcode + * + * @note Threads defined by this can only run in kernel mode, and cannot be + * transformed into user thread via k_thread_user_mode_enter(). + * + * @warning Depending on the architecture, the stack size (@p stack_size) + * may need to be multiples of CONFIG_MMU_PAGE_SIZE (if MMU) + * or in power-of-two size (if MPU). + * + * @param name Name of the thread. + * @param stack_size Stack size in bytes. + * @param entry Thread entry function. + * @param p1 1st entry point parameter. + * @param p2 2nd entry point parameter. + * @param p3 3rd entry point parameter. + * @param prio Thread priority. + * @param options Thread options. + * @param delay Scheduling delay (in milliseconds), zero for no delay. + */ + + + + + + + +/** + * @brief Get a thread's priority. + * + * This routine gets the priority of @a thread. + * + * @param thread ID of thread whose priority is needed. + * + * @return Priority of @a thread. + */ +static inline int k_thread_priority_get(k_tid_t thread); + +/** + * @brief Set a thread's priority. + * + * This routine immediately changes the priority of @a thread. + * + * Rescheduling can occur immediately depending on the priority @a thread is + * set to: + * + * - If its priority is raised above the priority of a currently scheduled + * preemptible thread, @a thread will be scheduled in. + * + * - If the caller lowers the priority of a currently scheduled preemptible + * thread below that of other threads in the system, the thread of the highest + * priority will be scheduled in. + * + * Priority can be assigned in the range of -CONFIG_NUM_COOP_PRIORITIES to + * CONFIG_NUM_PREEMPT_PRIORITIES-1, where -CONFIG_NUM_COOP_PRIORITIES is the + * highest priority. + * + * @param thread ID of thread whose priority is to be set. + * @param prio New priority. + * + * @warning Changing the priority of a thread currently involved in mutex + * priority inheritance may result in undefined behavior. + */ +static inline void k_thread_priority_set(k_tid_t thread, int prio); +# 951 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" +/** + * @brief Invoke the scheduler + * + * This routine invokes the scheduler to force a schedule point on the current + * CPU. If invoked from within a thread, the scheduler will be invoked + * immediately (provided interrupts were not locked when invoked). If invoked + * from within an ISR, the scheduler will be invoked upon exiting the ISR. + * + * Invoking the scheduler allows the kernel to make an immediate determination + * as to what the next thread to execute should be. Unlike yielding, this + * routine is not guaranteed to switch to a thread of equal or higher priority + * if any are available. For example, if the current thread is cooperative and + * there is a still higher priority cooperative thread that is ready, then + * yielding will switch to that higher priority thread whereas this routine + * will not. + * + * Most applications will never use this routine. + */ +static inline void k_reschedule(void); +# 1041 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" +/** + * @brief Suspend a thread. + * + * This routine prevents the kernel scheduler from making @a thread + * the current thread. All other internal operations on @a thread are + * still performed; for example, kernel objects it is waiting on are + * still handed to it. Thread suspension does not impact any timeout + * upon which the thread may be waiting (such as a timeout from a call + * to k_sem_take() or k_sleep()). Thus if the timeout expires while the + * thread is suspended, it is still suspended until k_thread_resume() + * is called. + * + * When the target thread is active on another CPU, the caller will block until + * the target thread is halted (suspended or aborted). But if the caller is in + * an interrupt context, it will spin waiting for that target thread active on + * another CPU to halt. + * + * If @a thread is already suspended, the routine has no effect. + * + * @param thread ID of thread to suspend. + */ +static inline void k_thread_suspend(k_tid_t thread); + +/** + * @brief Resume a suspended thread. + * + * This routine reverses the thread suspension from k_thread_suspend() + * and allows the kernel scheduler to make @a thread the current thread + * when it is next eligible for that role. + * + * If @a thread is not currently suspended, the routine has no effect. + * + * @param thread ID of thread to resume. + */ +static inline void k_thread_resume(k_tid_t thread); + +/** + * @brief Start an inactive thread + * + * If a thread was created with K_FOREVER in the delay parameter, it will + * not be added to the scheduling queue until this function is called + * on it. + * + * @note This is a legacy API for compatibility. Modern Zephyr + * threads are initialized in the "sleeping" state and do not need + * special handling for "start". + * + * @param thread thread to start + */ +static inline void k_thread_start(k_tid_t thread) +{ + k_wakeup(thread); +} + +/** + * @brief Set time-slicing period and scope. + * + * This routine specifies how the scheduler will perform time slicing of + * preemptible threads. + * + * To enable time slicing, @a slice must be non-zero. The scheduler + * ensures that no thread runs for more than the specified time limit + * before other threads of that priority are given a chance to execute. + * Any thread whose priority is higher than @a prio is exempted, and may + * execute as long as desired without being preempted due to time slicing. + * + * Time slicing only limits the maximum amount of time a thread may continuously + * execute. Once the scheduler selects a thread for execution, there is no + * minimum guaranteed time the thread will execute before threads of greater or + * equal priority are scheduled. + * + * When the current thread is the only one of that priority eligible + * for execution, this routine has no effect; the thread is immediately + * rescheduled after the slice period expires. + * + * To disable timeslicing, set both @a slice and @a prio to zero. + * + * @param slice Maximum time slice length (in milliseconds). + * @param prio Highest thread priority level eligible for time slicing. + */ +void k_sched_time_slice_set(int32_t slice, int prio); + +/** + * @brief Set thread time slice + * + * As for k_sched_time_slice_set, but (when + * CONFIG_TIMESLICE_PER_THREAD=y) sets the timeslice for a specific + * thread. When non-zero, this timeslice will take precedence over + * the global value. + * + * When such a thread's timeslice expires, the configured callback + * will be called before the thread is removed/re-added to the run + * queue. This callback will occur in interrupt context, and the + * specified thread is guaranteed to have been preempted by the + * currently-executing ISR. Such a callback is free to, for example, + * modify the thread priority or slice time for future execution, + * suspend the thread, etc... + * + * @note Unlike the older API, the time slice parameter here is + * specified in ticks, not milliseconds. Ticks have always been the + * internal unit, and not all platforms have integer conversions + * between the two. + * + * @note Threads with a non-zero slice time set will be timesliced + * always, even if they are higher priority than the maximum timeslice + * priority set via k_sched_time_slice_set(). + * + * @note The callback notification for slice expiration happens, as it + * must, while the thread is still "current", and thus it happens + * before any registered timeouts at this tick. This has the somewhat + * confusing side effect that the tick time (c.f. k_uptime_get()) does + * not yet reflect the expired ticks. Applications wishing to make + * fine-grained timing decisions within this callback should use the + * cycle API, or derived facilities like k_thread_runtime_stats_get(). + * + * @param th A valid, initialized thread + * @param slice_ticks Maximum timeslice, in ticks + * @param expired Callback function called on slice expiration + * @param data Parameter for the expiration handler + */ +void k_thread_time_slice_set(struct k_thread *th, int32_t slice_ticks, + k_thread_timeslice_fn_t expired, void *data); + +/** @} */ + +/** + * @addtogroup isr_apis + * @{ + */ + +/** + * @brief Determine if code is running at interrupt level. + * + * This routine allows the caller to customize its actions, depending on + * whether it is a thread or an ISR. + * + * @funcprops \isr_ok + * + * @return false if invoked by a thread. + * @return true if invoked by an ISR. + */ +bool k_is_in_isr(void); + +/** + * @brief Determine if code is running in a preemptible thread. + * + * This routine allows the caller to customize its actions, depending on + * whether it can be preempted by another thread. The routine returns a 'true' + * value if all of the following conditions are met: + * + * - The code is running in a thread, not at ISR. + * - The thread's priority is in the preemptible range. + * - The thread has not locked the scheduler. + * + * @funcprops \isr_ok + * + * @return 0 if invoked by an ISR or by a cooperative thread. + * @return Non-zero if invoked by a preemptible thread. + */ +static inline int k_is_preempt_thread(void); + +/** + * @brief Test whether startup is in the before-main-task phase. + * + * This routine allows the caller to customize its actions, depending on + * whether it being invoked before the kernel is fully active. + * + * @funcprops \isr_ok + * + * @return true if invoked before post-kernel initialization + * @return false if invoked during/after post-kernel initialization + */ +static inline bool k_is_pre_kernel(void) +{ + extern bool z_sys_post_kernel; + + return !z_sys_post_kernel; +} + +/** + * @} + */ + +/** + * @addtogroup thread_apis + * @{ + */ + +/** + * @brief Lock the scheduler. + * + * This routine prevents the current thread from being preempted by another + * thread by instructing the scheduler to treat it as a cooperative thread. + * If the thread subsequently performs an operation that makes it unready, + * it will be context switched out in the normal manner. When the thread + * again becomes the current thread, its non-preemptible status is maintained. + * + * This routine can be called recursively. + * + * Owing to clever implementation details, scheduler locks are + * extremely fast for non-userspace threads (just one byte + * inc/decrement in the thread struct). + * + * @note This works by elevating the thread priority temporarily to a + * cooperative priority, allowing cheap synchronization vs. other + * preemptible or cooperative threads running on the current CPU. It + * does not prevent preemption or asynchrony of other types. It does + * not prevent threads from running on other CPUs when CONFIG_SMP=y. + * It does not prevent interrupts from happening, nor does it prevent + * threads with MetaIRQ priorities from preempting the current thread. + * In general this is a historical API not well-suited to modern + * applications, use with care. + */ +void k_sched_lock(void); + +/** + * @brief Unlock the scheduler. + * + * This routine reverses the effect of a previous call to k_sched_lock(). + * A thread must call the routine once for each time it called k_sched_lock() + * before the thread becomes preemptible. + */ +void k_sched_unlock(void); + +/** + * @brief Set current thread's custom data. + * + * This routine sets the custom data for the current thread to @ value. + * + * Custom data is not used by the kernel itself, and is freely available + * for a thread to use as it sees fit. It can be used as a framework + * upon which to build thread-local storage. + * + * @param value New custom data value. + * + */ +static inline void k_thread_custom_data_set(void *value); + +/** + * @brief Get current thread's custom data. + * + * This routine returns the custom data for the current thread. + * + * @return Current custom data value. + */ +static inline void *k_thread_custom_data_get(void); + +/** + * @brief Set current thread name + * + * Set the name of the thread to be used when @kconfig{CONFIG_THREAD_MONITOR} + * is enabled for tracing and debugging. + * + * @param thread Thread to set name, or NULL to set the current thread + * @param str Name string + * @retval 0 on success + * @retval -EFAULT Memory access error with supplied string + * @retval -ENOSYS Thread name configuration option not enabled + * @retval -EINVAL Thread name too long + */ +static inline int k_thread_name_set(k_tid_t thread, const char *str); + +/** + * @brief Get thread name + * + * Get the name of a thread + * + * @param thread Thread ID + * @retval Thread name, or NULL if configuration not enabled + */ +const char *k_thread_name_get(k_tid_t thread); + +/** + * @brief Copy the thread name into a supplied buffer + * + * @param thread Thread to obtain name information + * @param buf Destination buffer + * @param size Destination buffer size + * @retval -ENOSPC Destination buffer too small + * @retval -EFAULT Memory access error + * @retval -ENOSYS Thread name feature not enabled + * @retval 0 Success + */ +static inline int k_thread_name_copy(k_tid_t thread, char *buf, + size_t size); + +/** + * @brief Get thread state string + * + * This routine generates a human friendly string containing the thread's + * state, and copies as much of it as possible into @a buf. + * + * @param thread_id Thread ID + * @param buf Buffer into which to copy state strings + * @param buf_size Size of the buffer + * + * @retval Pointer to @a buf if data was copied, else a pointer to "". + */ +const char *k_thread_state_str(k_tid_t thread_id, char *buf, size_t buf_size); + +/** + * @} + */ + +/** + * @addtogroup clock_apis + * @{ + */ + +/** + * @brief Generate null timeout delay. + * + * This macro generates a timeout delay that instructs a kernel API + * not to wait if the requested operation cannot be performed immediately. + * + * @return Timeout delay value. + */ + + +/** + * @brief Generate timeout delay from nanoseconds. + * + * This macro generates a timeout delay that instructs a kernel API to + * wait up to @a t nanoseconds to perform the requested operation. + * Note that timer precision is limited to the tick rate, not the + * requested value. + * + * @param t Duration in nanoseconds. + * + * @return Timeout delay value. + */ + + +/** + * @brief Generate timeout delay from microseconds. + * + * This macro generates a timeout delay that instructs a kernel API + * to wait up to @a t microseconds to perform the requested operation. + * Note that timer precision is limited to the tick rate, not the + * requested value. + * + * @param t Duration in microseconds. + * + * @return Timeout delay value. + */ + + +/** + * @brief Generate timeout delay from cycles. + * + * This macro generates a timeout delay that instructs a kernel API + * to wait up to @a t cycles to perform the requested operation. + * + * @param t Duration in cycles. + * + * @return Timeout delay value. + */ + + +/** + * @brief Generate timeout delay from system ticks. + * + * This macro generates a timeout delay that instructs a kernel API + * to wait up to @a t ticks to perform the requested operation. + * + * @param t Duration in system ticks. + * + * @return Timeout delay value. + */ + + +/** + * @brief Generate timeout delay from milliseconds. + * + * This macro generates a timeout delay that instructs a kernel API + * to wait up to @a ms milliseconds to perform the requested operation. + * + * @param ms Duration in milliseconds. + * + * @return Timeout delay value. + */ + + +/** + * @brief Generate timeout delay from seconds. + * + * This macro generates a timeout delay that instructs a kernel API + * to wait up to @a s seconds to perform the requested operation. + * + * @param s Duration in seconds. + * + * @return Timeout delay value. + */ + + +/** + * @brief Generate timeout delay from minutes. + + * This macro generates a timeout delay that instructs a kernel API + * to wait up to @a m minutes to perform the requested operation. + * + * @param m Duration in minutes. + * + * @return Timeout delay value. + */ + + +/** + * @brief Generate timeout delay from hours. + * + * This macro generates a timeout delay that instructs a kernel API + * to wait up to @a h hours to perform the requested operation. + * + * @param h Duration in hours. + * + * @return Timeout delay value. + */ + + +/** + * @brief Generate infinite timeout delay. + * + * This macro generates a timeout delay that instructs a kernel API + * to wait as long as necessary to perform the requested operation. + * + * @return Timeout delay value. + */ + + + + +/** + * @brief Generates an absolute/uptime timeout value from system ticks + * + * This macro generates a timeout delay that represents an expiration + * at the absolute uptime value specified, in system ticks. That is, the + * timeout will expire immediately after the system uptime reaches the + * specified tick count. + * + * @param t Tick uptime value + * @return Timeout delay value + */ + + + +/** + * @brief Generates an absolute/uptime timeout value from milliseconds + * + * This macro generates a timeout delay that represents an expiration + * at the absolute uptime value specified, in milliseconds. That is, + * the timeout will expire immediately after the system uptime reaches + * the specified tick count. + * + * @param t Millisecond uptime value + * @return Timeout delay value + */ + + +/** + * @brief Generates an absolute/uptime timeout value from microseconds + * + * This macro generates a timeout delay that represents an expiration + * at the absolute uptime value specified, in microseconds. That is, + * the timeout will expire immediately after the system uptime reaches + * the specified time. Note that timer precision is limited by the + * system tick rate and not the requested timeout value. + * + * @param t Microsecond uptime value + * @return Timeout delay value + */ + + +/** + * @brief Generates an absolute/uptime timeout value from nanoseconds + * + * This macro generates a timeout delay that represents an expiration + * at the absolute uptime value specified, in nanoseconds. That is, + * the timeout will expire immediately after the system uptime reaches + * the specified time. Note that timer precision is limited by the + * system tick rate and not the requested timeout value. + * + * @param t Nanosecond uptime value + * @return Timeout delay value + */ + + +/** + * @brief Generates an absolute/uptime timeout value from system cycles + * + * This macro generates a timeout delay that represents an expiration + * at the absolute uptime value specified, in cycles. That is, the + * timeout will expire immediately after the system uptime reaches the + * specified time. Note that timer precision is limited by the system + * tick rate and not the requested timeout value. + * + * @param t Cycle uptime value + * @return Timeout delay value + */ + + + + +/** + * @} + */ + +/** + * @cond INTERNAL_HIDDEN + */ + +struct k_timer { + /* + * _timeout structure must be first here if we want to use + * dynamic timer allocation. timeout.node is used in the double-linked + * list of free timers + */ + struct _timeout timeout; + + /* wait queue for the (single) thread waiting on this timer */ + _wait_q_t wait_q; + + /* runs in ISR context */ + void (*expiry_fn)(struct k_timer *timer); + + /* runs in the context of the thread that calls k_timer_stop() */ + void (*stop_fn)(struct k_timer *timer); + + /* timer period */ + k_timeout_t period; + + /* timer status */ + uint32_t status; + + /* user-specific data, also used to support legacy features */ + void *user_data; + + + + + + +}; +# 1598 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" +/** + * INTERNAL_HIDDEN @endcond + */ + +/** + * @defgroup timer_apis Timer APIs + * @ingroup kernel_apis + * @{ + */ + +/** + * @typedef k_timer_expiry_t + * @brief Timer expiry function type. + * + * A timer's expiry function is executed by the system clock interrupt handler + * each time the timer expires. The expiry function is optional, and is only + * invoked if the timer has been initialized with one. + * + * @param timer Address of timer. + */ +typedef void (*k_timer_expiry_t)(struct k_timer *timer); + +/** + * @typedef k_timer_stop_t + * @brief Timer stop function type. + * + * A timer's stop function is executed if the timer is stopped prematurely. + * The function runs in the context of call that stops the timer. As + * k_timer_stop() can be invoked from an ISR, the stop function must be + * callable from interrupt context (isr-ok). + * + * The stop function is optional, and is only invoked if the timer has been + * initialized with one. + * + * @param timer Address of timer. + */ +typedef void (*k_timer_stop_t)(struct k_timer *timer); + +/** + * @brief Statically define and initialize a timer. + * + * The timer can be accessed outside the module where it is defined using: + * + * @code extern struct k_timer ; @endcode + * + * @param name Name of the timer variable. + * @param expiry_fn Function to invoke each time the timer expires. + * @param stop_fn Function to invoke if the timer is stopped while running. + */ + + + + +/** + * @brief Initialize a timer. + * + * This routine initializes a timer, prior to its first use. + * + * @param timer Address of timer. + * @param expiry_fn Function to invoke each time the timer expires. + * @param stop_fn Function to invoke if the timer is stopped while running. + */ +void k_timer_init(struct k_timer *timer, + k_timer_expiry_t expiry_fn, + k_timer_stop_t stop_fn); + +/** + * @brief Start a timer. + * + * This routine starts a timer, and resets its status to zero. The timer + * begins counting down using the specified duration and period values. + * + * Attempting to start a timer that is already running is permitted. + * The timer's status is reset to zero and the timer begins counting down + * using the new duration and period values. + * + * @param timer Address of timer. + * @param duration Initial timer duration. + * @param period Timer period. + */ +static inline void k_timer_start(struct k_timer *timer, + k_timeout_t duration, k_timeout_t period); + +/** + * @brief Stop a timer. + * + * This routine stops a running timer prematurely. The timer's stop function, + * if one exists, is invoked by the caller. + * + * Attempting to stop a timer that is not running is permitted, but has no + * effect on the timer. + * + * @note The stop handler has to be callable from ISRs if @a k_timer_stop is to + * be called from ISRs. + * + * @funcprops \isr_ok + * + * @param timer Address of timer. + */ +static inline void k_timer_stop(struct k_timer *timer); + +/** + * @brief Read timer status. + * + * This routine reads the timer's status, which indicates the number of times + * it has expired since its status was last read. + * + * Calling this routine resets the timer's status to zero. + * + * @param timer Address of timer. + * + * @return Timer status. + */ +static inline uint32_t k_timer_status_get(struct k_timer *timer); + +/** + * @brief Synchronize thread to timer expiration. + * + * This routine blocks the calling thread until the timer's status is non-zero + * (indicating that it has expired at least once since it was last examined) + * or the timer is stopped. If the timer status is already non-zero, + * or the timer is already stopped, the caller continues without waiting. + * + * Calling this routine resets the timer's status to zero. + * + * This routine must not be used by interrupt handlers, since they are not + * allowed to block. + * + * @param timer Address of timer. + * + * @return Timer status. + */ +static inline uint32_t k_timer_status_sync(struct k_timer *timer); + + + +/** + * @brief Get next expiration time of a timer, in system ticks + * + * This routine returns the future system uptime reached at the next + * time of expiration of the timer, in units of system ticks. If the + * timer is not running, current system time is returned. + * + * @param timer The timer object + * @return Uptime of expiration, in ticks + */ +static inline k_ticks_t k_timer_expires_ticks(const struct k_timer *timer); + +static inline k_ticks_t z_impl_k_timer_expires_ticks( + const struct k_timer *timer) +{ + return z_timeout_expires(&timer->timeout); +} + +/** + * @brief Get time remaining before a timer next expires, in system ticks + * + * This routine computes the time remaining before a running timer + * next expires, in units of system ticks. If the timer is not + * running, it returns zero. + * + * @param timer The timer object + * @return Remaining time until expiration, in ticks + */ +static inline k_ticks_t k_timer_remaining_ticks(const struct k_timer *timer); + +static inline k_ticks_t z_impl_k_timer_remaining_ticks( + const struct k_timer *timer) +{ + return z_timeout_remaining(&timer->timeout); +} + +/** + * @brief Get time remaining before a timer next expires. + * + * This routine computes the (approximate) time remaining before a running + * timer next expires. If the timer is not running, it returns zero. + * + * @param timer Address of timer. + * + * @return Remaining time (in milliseconds). + */ +static inline uint32_t k_timer_remaining_get(struct k_timer *timer) +{ + return ((true) ? ( ((1000) == (10000)) ? (uint32_t) (k_timer_remaining_ticks(timer)) : ((10000) > (1000) && (10000) % (1000) == 0U) ? ((uint64_t) (k_timer_remaining_ticks(timer)) <= 0xffffffffU - ((false) ? ((10000) / (1000)) / 2 : (false) ? ((10000) / (1000)) - 1 : 0) ? ((uint32_t)((k_timer_remaining_ticks(timer)) + ((false) ? ((10000) / (1000)) / 2 : (false) ? ((10000) / (1000)) - 1 : 0)) / ((10000)/(1000) ? (10000)/(1000) : 01u)) : (uint32_t) (((uint64_t) (k_timer_remaining_ticks(timer)) + ((false) ? ((10000) / (1000)) / 2 : (false) ? ((10000) / (1000)) - 1 : 0)) / ((10000)/(1000) ? (10000)/(1000) : 01u)) ) : ((1000) > (10000) && (1000) % (10000) == 0U) ? (uint32_t) (k_timer_remaining_ticks(timer))*((1000) / (10000)) : ((uint32_t) (((uint64_t) (k_timer_remaining_ticks(timer))*(1000) + ((false) ? (10000) / 2 : (false) ? (10000) - 1 : 0)) / (10000))) ) : ((uint32_t) (((uint64_t) (k_timer_remaining_ticks(timer))*(1000) + ((false) ? (10000) / 2 : (false) ? (10000) - 1 : 0)) / (10000))) ); +} + + + +/** + * @brief Associate user-specific data with a timer. + * + * This routine records the @a user_data with the @a timer, to be retrieved + * later. + * + * It can be used e.g. in a timer handler shared across multiple subsystems to + * retrieve data specific to the subsystem this timer is associated with. + * + * @param timer Address of timer. + * @param user_data User data to associate with the timer. + */ +static inline void k_timer_user_data_set(struct k_timer *timer, void *user_data); + +/** + * @internal + */ +static inline void z_impl_k_timer_user_data_set(struct k_timer *timer, + void *user_data) +{ + timer->user_data = user_data; +} + +/** + * @brief Retrieve the user-specific data from a timer. + * + * @param timer Address of timer. + * + * @return The user data. + */ +static inline void *k_timer_user_data_get(const struct k_timer *timer); + +static inline void *z_impl_k_timer_user_data_get(const struct k_timer *timer) +{ + return timer->user_data; +} + +/** @} */ + +/** + * @addtogroup clock_apis + * @ingroup kernel_apis + * @{ + */ + +/** + * @brief Get system uptime, in system ticks. + * + * This routine returns the elapsed time since the system booted, in + * ticks (c.f. @kconfig{CONFIG_SYS_CLOCK_TICKS_PER_SEC}), which is the + * fundamental unit of resolution of kernel timekeeping. + * + * @return Current uptime in ticks. + */ +static inline int64_t k_uptime_ticks(void); + +/** + * @brief Get system uptime. + * + * This routine returns the elapsed time since the system booted, + * in milliseconds. + * + * @note + * While this function returns time in milliseconds, it does + * not mean it has millisecond resolution. The actual resolution depends on + * @kconfig{CONFIG_SYS_CLOCK_TICKS_PER_SEC} config option. + * + * @return Current uptime in milliseconds. + */ +static inline int64_t k_uptime_get(void) +{ + return ((true) ? ( ((1000) == (10000)) ? (uint64_t) (k_uptime_ticks()) : ((10000) > (1000) && (10000) % (1000) == 0U) ? (((uint64_t) (k_uptime_ticks()) + ((false) ? ((10000) / (1000)) / 2 : (false) ? ((10000) / (1000)) - 1 : 0)) / ((10000)/(1000) ? (10000)/(1000) : 01u)) : ((1000) > (10000) && (1000) % (10000) == 0U) ? (uint64_t) (k_uptime_ticks())*((1000) / (10000)) : ((((((365 * 24ULL * 3600ULL * 10000) + ( +# 1858 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" 3 4 + (0xffffffffUL) +# 1858 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" + ) - 1) / ( +# 1858 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" 3 4 + (0xffffffffUL) +# 1858 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" + )) * 1000) <= +# 1858 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" 3 4 + (0xffffffffUL) +# 1858 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" + ) ? (((uint64_t) (k_uptime_ticks())*(1000) + ((false) ? (10000) / 2 : (false) ? (10000) - 1 : 0)) / (10000)) : (((uint64_t) (k_uptime_ticks()) / (10000))*(1000) + (((uint64_t) (k_uptime_ticks()) % (10000))*(1000) + ((false) ? (10000) / 2 : (false) ? (10000) - 1 : 0)) / (10000))) ) : (((uint64_t) (k_uptime_ticks()) / (10000))*(1000) + (((uint64_t) (k_uptime_ticks()) % (10000))*(1000) + ((false) ? (10000) / 2 : (false) ? (10000) - 1 : 0)) / (10000)) ); +} + +/** + * @brief Get system uptime (32-bit version). + * + * This routine returns the lower 32 bits of the system uptime in + * milliseconds. + * + * Because correct conversion requires full precision of the system + * clock there is no benefit to using this over k_uptime_get() unless + * you know the application will never run long enough for the system + * clock to approach 2^32 ticks. Calls to this function may involve + * interrupt blocking and 64-bit math. + * + * @note + * While this function returns time in milliseconds, it does + * not mean it has millisecond resolution. The actual resolution depends on + * @kconfig{CONFIG_SYS_CLOCK_TICKS_PER_SEC} config option + * + * @return The low 32 bits of the current uptime, in milliseconds. + */ +static inline uint32_t k_uptime_get_32(void) +{ + return (uint32_t)k_uptime_get(); +} + +/** + * @brief Get system uptime in seconds. + * + * This routine returns the elapsed time since the system booted, + * in seconds. + * + * @return Current uptime in seconds. + */ +static inline uint32_t k_uptime_seconds(void) +{ + return ((true) ? ( ((1) == (10000)) ? (uint32_t) (k_uptime_ticks()) : ((10000) > (1) && (10000) % (1) == 0U) ? ((uint64_t) (k_uptime_ticks()) <= 0xffffffffU - ((false) ? ((10000) / (1)) / 2 : (false) ? ((10000) / (1)) - 1 : 0) ? ((uint32_t)((k_uptime_ticks()) + ((false) ? ((10000) / (1)) / 2 : (false) ? ((10000) / (1)) - 1 : 0)) / ((10000)/(1) ? (10000)/(1) : 01u)) : (uint32_t) (((uint64_t) (k_uptime_ticks()) + ((false) ? ((10000) / (1)) / 2 : (false) ? ((10000) / (1)) - 1 : 0)) / ((10000)/(1) ? (10000)/(1) : 01u)) ) : ((1) > (10000) && (1) % (10000) == 0U) ? (uint32_t) (k_uptime_ticks())*((1) / (10000)) : ((uint32_t) (((uint64_t) (k_uptime_ticks())*(1) + ((false) ? (10000) / 2 : (false) ? (10000) - 1 : 0)) / (10000))) ) : ((uint32_t) (((uint64_t) (k_uptime_ticks())*(1) + ((false) ? (10000) / 2 : (false) ? (10000) - 1 : 0)) / (10000))) ); +} + +/** + * @brief Get elapsed time. + * + * This routine computes the elapsed time between the current system uptime + * and an earlier reference time, in milliseconds. + * + * @param reftime Pointer to a reference time, which is updated to the current + * uptime upon return. + * + * @return Elapsed time. + */ +static inline int64_t k_uptime_delta(int64_t *reftime) +{ + int64_t uptime, delta; + + uptime = k_uptime_get(); + delta = uptime - *reftime; + *reftime = uptime; + + return delta; +} + +/** + * @brief Read the hardware clock. + * + * This routine returns the current time, as measured by the system's hardware + * clock. + * + * @return Current hardware clock up-counter (in cycles). + */ +static inline uint32_t k_cycle_get_32(void) +{ + return arch_k_cycle_get_32(); +} + +/** + * @brief Read the 64-bit hardware clock. + * + * This routine returns the current time in 64-bits, as measured by the + * system's hardware clock, if available. + * + * @see CONFIG_TIMER_HAS_64BIT_CYCLE_COUNTER + * + * @return Current hardware clock up-counter (in cycles). + */ +static inline uint64_t k_cycle_get_64(void) +{ + if (!1) { + { } + ; + return 0; + } + + return arch_k_cycle_get_64(); +} + +/** + * @} + */ + +struct k_queue { + sys_sflist_t data_q; + struct k_spinlock lock; + _wait_q_t wait_q; + + sys_dlist_t poll_events; + + +}; + +/** + * @cond INTERNAL_HIDDEN + */ +# 1980 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" +/** + * INTERNAL_HIDDEN @endcond + */ + +/** + * @defgroup queue_apis Queue APIs + * @ingroup kernel_apis + * @{ + */ + +/** + * @brief Initialize a queue. + * + * This routine initializes a queue object, prior to its first use. + * + * @param queue Address of the queue. + */ +static inline void k_queue_init(struct k_queue *queue); + +/** + * @brief Cancel waiting on a queue. + * + * This routine causes first thread pending on @a queue, if any, to + * return from k_queue_get() call with NULL value (as if timeout expired). + * If the queue is being waited on by k_poll(), it will return with + * -EINTR and K_POLL_STATE_CANCELLED state (and per above, subsequent + * k_queue_get() will return NULL). + * + * @funcprops \isr_ok + * + * @param queue Address of the queue. + */ +static inline void k_queue_cancel_wait(struct k_queue *queue); + +/** + * @brief Append an element to the end of a queue. + * + * This routine appends a data item to @a queue. A queue data item must be + * aligned on a word boundary, and the first word of the item is reserved + * for the kernel's use. + * + * @funcprops \isr_ok + * + * @param queue Address of the queue. + * @param data Address of the data item. + */ +void k_queue_append(struct k_queue *queue, void *data); + +/** + * @brief Append an element to a queue. + * + * This routine appends a data item to @a queue. There is an implicit memory + * allocation to create an additional temporary bookkeeping data structure from + * the calling thread's resource pool, which is automatically freed when the + * item is removed. The data itself is not copied. + * + * @funcprops \isr_ok + * + * @param queue Address of the queue. + * @param data Address of the data item. + * + * @retval 0 on success + * @retval -ENOMEM if there isn't sufficient RAM in the caller's resource pool + */ +static inline int32_t k_queue_alloc_append(struct k_queue *queue, void *data); + +/** + * @brief Prepend an element to a queue. + * + * This routine prepends a data item to @a queue. A queue data item must be + * aligned on a word boundary, and the first word of the item is reserved + * for the kernel's use. + * + * @funcprops \isr_ok + * + * @param queue Address of the queue. + * @param data Address of the data item. + */ +void k_queue_prepend(struct k_queue *queue, void *data); + +/** + * @brief Prepend an element to a queue. + * + * This routine prepends a data item to @a queue. There is an implicit memory + * allocation to create an additional temporary bookkeeping data structure from + * the calling thread's resource pool, which is automatically freed when the + * item is removed. The data itself is not copied. + * + * @funcprops \isr_ok + * + * @param queue Address of the queue. + * @param data Address of the data item. + * + * @retval 0 on success + * @retval -ENOMEM if there isn't sufficient RAM in the caller's resource pool + */ +static inline int32_t k_queue_alloc_prepend(struct k_queue *queue, void *data); + +/** + * @brief Inserts an element to a queue. + * + * This routine inserts a data item to @a queue after previous item. A queue + * data item must be aligned on a word boundary, and the first word of + * the item is reserved for the kernel's use. + * + * @funcprops \isr_ok + * + * @param queue Address of the queue. + * @param prev Address of the previous data item. + * @param data Address of the data item. + */ +void k_queue_insert(struct k_queue *queue, void *prev, void *data); + +/** + * @brief Atomically append a list of elements to a queue. + * + * This routine adds a list of data items to @a queue in one operation. + * The data items must be in a singly-linked list, with the first word + * in each data item pointing to the next data item; the list must be + * NULL-terminated. + * + * @funcprops \isr_ok + * + * @param queue Address of the queue. + * @param head Pointer to first node in singly-linked list. + * @param tail Pointer to last node in singly-linked list. + * + * @retval 0 on success + * @retval -EINVAL on invalid supplied data + * + */ +int k_queue_append_list(struct k_queue *queue, void *head, void *tail); + +/** + * @brief Atomically add a list of elements to a queue. + * + * This routine adds a list of data items to @a queue in one operation. + * The data items must be in a singly-linked list implemented using a + * sys_slist_t object. Upon completion, the original list is empty. + * + * @funcprops \isr_ok + * + * @param queue Address of the queue. + * @param list Pointer to sys_slist_t object. + * + * @retval 0 on success + * @retval -EINVAL on invalid data + */ +int k_queue_merge_slist(struct k_queue *queue, sys_slist_t *list); + +/** + * @brief Get an element from a queue. + * + * This routine removes first data item from @a queue. The first word of the + * data item is reserved for the kernel's use. + * + * @note @a timeout must be set to K_NO_WAIT if called from ISR. + * + * @funcprops \isr_ok + * + * @param queue Address of the queue. + * @param timeout Waiting period to obtain a data item, or one of the special + * values K_NO_WAIT and K_FOREVER. + * + * @return Address of the data item if successful; NULL if returned + * without waiting, or waiting period timed out. + */ +static inline void *k_queue_get(struct k_queue *queue, k_timeout_t timeout); + +/** + * @brief Remove an element from a queue. + * + * This routine removes data item from @a queue. The first word of the + * data item is reserved for the kernel's use. Removing elements from k_queue + * rely on sys_slist_find_and_remove which is not a constant time operation. + * + * @note @a timeout must be set to K_NO_WAIT if called from ISR. + * + * @funcprops \isr_ok + * + * @param queue Address of the queue. + * @param data Address of the data item. + * + * @return true if data item was removed + */ +bool k_queue_remove(struct k_queue *queue, void *data); + +/** + * @brief Append an element to a queue only if it's not present already. + * + * This routine appends data item to @a queue. The first word of the data + * item is reserved for the kernel's use. Appending elements to k_queue + * relies on sys_slist_is_node_in_list which is not a constant time operation. + * + * @funcprops \isr_ok + * + * @param queue Address of the queue. + * @param data Address of the data item. + * + * @return true if data item was added, false if not + */ +bool k_queue_unique_append(struct k_queue *queue, void *data); + +/** + * @brief Query a queue to see if it has data available. + * + * Note that the data might be already gone by the time this function returns + * if other threads are also trying to read from the queue. + * + * @funcprops \isr_ok + * + * @param queue Address of the queue. + * + * @return Non-zero if the queue is empty. + * @return 0 if data is available. + */ +static inline int k_queue_is_empty(struct k_queue *queue); + +static inline int z_impl_k_queue_is_empty(struct k_queue *queue) +{ + return sys_sflist_is_empty(&queue->data_q) ? 1 : 0; +} + +/** + * @brief Peek element at the head of queue. + * + * Return element from the head of queue without removing it. + * + * @param queue Address of the queue. + * + * @return Head element, or NULL if queue is empty. + */ +static inline void *k_queue_peek_head(struct k_queue *queue); + +/** + * @brief Peek element at the tail of queue. + * + * Return element from the tail of queue without removing it. + * + * @param queue Address of the queue. + * + * @return Tail element, or NULL if queue is empty. + */ +static inline void *k_queue_peek_tail(struct k_queue *queue); + +/** + * @brief Statically define and initialize a queue. + * + * The queue can be accessed outside the module where it is defined using: + * + * @code extern struct k_queue ; @endcode + * + * @param name Name of the queue. + */ + + + + +/** @} */ +# 2318 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" +/** + * @defgroup event_apis Event APIs + * @ingroup kernel_apis + * @{ + */ + +/** + * Event Structure + * @ingroup event_apis + */ + +struct k_event { + _wait_q_t wait_q; + uint32_t events; + struct k_spinlock lock; + + + + + + + +}; + + + + + + + +/** + * @brief Initialize an event object + * + * This routine initializes an event object, prior to its first use. + * + * @param event Address of the event object. + */ +static inline void k_event_init(struct k_event *event); + +/** + * @brief Post one or more events to an event object + * + * This routine posts one or more events to an event object. All tasks waiting + * on the event object @a event whose waiting conditions become met by this + * posting immediately unpend. + * + * Posting differs from setting in that posted events are merged together with + * the current set of events tracked by the event object. + * + * @param event Address of the event object + * @param events Set of events to post to @a event + * + * @retval Previous value of the events in @a event + */ +static inline uint32_t k_event_post(struct k_event *event, uint32_t events); + +/** + * @brief Set the events in an event object + * + * This routine sets the events stored in event object to the specified value. + * All tasks waiting on the event object @a event whose waiting conditions + * become met by this immediately unpend. + * + * Setting differs from posting in that set events replace the current set of + * events tracked by the event object. + * + * @param event Address of the event object + * @param events Set of events to set in @a event + * + * @retval Previous value of the events in @a event + */ +static inline uint32_t k_event_set(struct k_event *event, uint32_t events); + +/** + * @brief Set or clear the events in an event object + * + * This routine sets the events stored in event object to the specified value. + * All tasks waiting on the event object @a event whose waiting conditions + * become met by this immediately unpend. Unlike @ref k_event_set, this routine + * allows specific event bits to be set and cleared as determined by the mask. + * + * @param event Address of the event object + * @param events Set of events to set/clear in @a event + * @param events_mask Mask to be applied to @a events + * + * @retval Previous value of the events in @a events_mask + */ +static inline uint32_t k_event_set_masked(struct k_event *event, uint32_t events, + uint32_t events_mask); + +/** + * @brief Clear the events in an event object + * + * This routine clears (resets) the specified events stored in an event object. + * + * @param event Address of the event object + * @param events Set of events to clear in @a event + * + * @retval Previous value of the events in @a event + */ +static inline uint32_t k_event_clear(struct k_event *event, uint32_t events); + +/** + * @brief Wait for any of the specified events + * + * This routine waits on event object @a event until any of the specified + * events have been delivered to the event object, or the maximum wait time + * @a timeout has expired. A thread may wait on up to 32 distinctly numbered + * events that are expressed as bits in a single 32-bit word. + * + * @note The caller must be careful when resetting if there are multiple threads + * waiting for the event object @a event. + * + * @param event Address of the event object + * @param events Set of desired events on which to wait + * @param reset If true, clear the set of events tracked by the event object + * before waiting. If false, do not clear the events. + * @param timeout Waiting period for the desired set of events or one of the + * special values K_NO_WAIT and K_FOREVER. + * + * @retval set of matching events upon success + * @retval 0 if matching events were not received within the specified time + */ +static inline uint32_t k_event_wait(struct k_event *event, uint32_t events, + bool reset, k_timeout_t timeout); + +/** + * @brief Wait for all of the specified events + * + * This routine waits on event object @a event until all of the specified + * events have been delivered to the event object, or the maximum wait time + * @a timeout has expired. A thread may wait on up to 32 distinctly numbered + * events that are expressed as bits in a single 32-bit word. + * + * @note The caller must be careful when resetting if there are multiple threads + * waiting for the event object @a event. + * + * @param event Address of the event object + * @param events Set of desired events on which to wait + * @param reset If true, clear the set of events tracked by the event object + * before waiting. If false, do not clear the events. + * @param timeout Waiting period for the desired set of events or one of the + * special values K_NO_WAIT and K_FOREVER. + * + * @retval set of matching events upon success + * @retval 0 if matching events were not received within the specified time + */ +static inline uint32_t k_event_wait_all(struct k_event *event, uint32_t events, + bool reset, k_timeout_t timeout); + +/** + * @brief Test the events currently tracked in the event object + * + * @param event Address of the event object + * @param events_mask Set of desired events to test + * + * @retval Current value of events in @a events_mask + */ +static inline uint32_t k_event_test(struct k_event *event, uint32_t events_mask) +{ + return k_event_wait(event, events_mask, false, ((k_timeout_t) {0})); +} + +/** + * @brief Statically define and initialize an event object + * + * The event can be accessed outside the module where it is defined using: + * + * @code extern struct k_event ; @endcode + * + * @param name Name of the event object. + */ + + + + +/** @} */ + +struct k_fifo { + struct k_queue _queue; + + + +}; + +/** + * @cond INTERNAL_HIDDEN + */ + + + + + +/** + * INTERNAL_HIDDEN @endcond + */ + +/** + * @defgroup fifo_apis FIFO APIs + * @ingroup kernel_apis + * @{ + */ + +/** + * @brief Initialize a FIFO queue. + * + * This routine initializes a FIFO queue, prior to its first use. + * + * @param fifo Address of the FIFO queue. + */ +# 2537 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" +/** + * @brief Cancel waiting on a FIFO queue. + * + * This routine causes first thread pending on @a fifo, if any, to + * return from k_fifo_get() call with NULL value (as if timeout + * expired). + * + * @funcprops \isr_ok + * + * @param fifo Address of the FIFO queue. + */ + + + + + + + +/** + * @brief Add an element to a FIFO queue. + * + * This routine adds a data item to @a fifo. A FIFO data item must be + * aligned on a word boundary, and the first word of the item is reserved + * for the kernel's use. + * + * @funcprops \isr_ok + * + * @param fifo Address of the FIFO. + * @param data Address of the data item. + */ +# 2575 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" +/** + * @brief Add an element to a FIFO queue. + * + * This routine adds a data item to @a fifo. There is an implicit memory + * allocation to create an additional temporary bookkeeping data structure from + * the calling thread's resource pool, which is automatically freed when the + * item is removed. The data itself is not copied. + * + * @funcprops \isr_ok + * + * @param fifo Address of the FIFO. + * @param data Address of the data item. + * + * @retval 0 on success + * @retval -ENOMEM if there isn't sufficient RAM in the caller's resource pool + */ +# 2600 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" +/** + * @brief Atomically add a list of elements to a FIFO. + * + * This routine adds a list of data items to @a fifo in one operation. + * The data items must be in a singly-linked list, with the first word of + * each data item pointing to the next data item; the list must be + * NULL-terminated. + * + * @funcprops \isr_ok + * + * @param fifo Address of the FIFO queue. + * @param head Pointer to first node in singly-linked list. + * @param tail Pointer to last node in singly-linked list. + */ + + + + + + + +/** + * @brief Atomically add a list of elements to a FIFO queue. + * + * This routine adds a list of data items to @a fifo in one operation. + * The data items must be in a singly-linked list implemented using a + * sys_slist_t object. Upon completion, the sys_slist_t object is invalid + * and must be re-initialized via sys_slist_init(). + * + * @funcprops \isr_ok + * + * @param fifo Address of the FIFO queue. + * @param list Pointer to sys_slist_t object. + */ + + + + + + + +/** + * @brief Get an element from a FIFO queue. + * + * This routine removes a data item from @a fifo in a "first in, first out" + * manner. The first word of the data item is reserved for the kernel's use. + * + * @note @a timeout must be set to K_NO_WAIT if called from ISR. + * + * @funcprops \isr_ok + * + * @param fifo Address of the FIFO queue. + * @param timeout Waiting period to obtain a data item, + * or one of the special values K_NO_WAIT and K_FOREVER. + * + * @return Address of the data item if successful; NULL if returned + * without waiting, or waiting period timed out. + */ +# 2666 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" +/** + * @brief Query a FIFO queue to see if it has data available. + * + * Note that the data might be already gone by the time this function returns + * if other threads is also trying to read from the FIFO. + * + * @funcprops \isr_ok + * + * @param fifo Address of the FIFO queue. + * + * @return Non-zero if the FIFO queue is empty. + * @return 0 if data is available. + */ + + + +/** + * @brief Peek element at the head of a FIFO queue. + * + * Return element from the head of FIFO queue without removing it. A usecase + * for this is if elements of the FIFO object are themselves containers. Then + * on each iteration of processing, a head container will be peeked, + * and some data processed out of it, and only if the container is empty, + * it will be completely remove from the FIFO queue. + * + * @param fifo Address of the FIFO queue. + * + * @return Head element, or NULL if the FIFO queue is empty. + */ +# 2703 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" +/** + * @brief Peek element at the tail of FIFO queue. + * + * Return element from the tail of FIFO queue (without removing it). A usecase + * for this is if elements of the FIFO queue are themselves containers. Then + * it may be useful to add more data to the last container in a FIFO queue. + * + * @param fifo Address of the FIFO queue. + * + * @return Tail element, or NULL if a FIFO queue is empty. + */ +# 2722 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" +/** + * @brief Statically define and initialize a FIFO queue. + * + * The FIFO queue can be accessed outside the module where it is defined using: + * + * @code extern struct k_fifo ; @endcode + * + * @param name Name of the FIFO queue. + */ + + + + +/** @} */ + +struct k_lifo { + struct k_queue _queue; + + + +}; + +/** + * @cond INTERNAL_HIDDEN + */ + + + + + + +/** + * INTERNAL_HIDDEN @endcond + */ + +/** + * @defgroup lifo_apis LIFO APIs + * @ingroup kernel_apis + * @{ + */ + +/** + * @brief Initialize a LIFO queue. + * + * This routine initializes a LIFO queue object, prior to its first use. + * + * @param lifo Address of the LIFO queue. + */ +# 2779 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" +/** + * @brief Add an element to a LIFO queue. + * + * This routine adds a data item to @a lifo. A LIFO queue data item must be + * aligned on a word boundary, and the first word of the item is + * reserved for the kernel's use. + * + * @funcprops \isr_ok + * + * @param lifo Address of the LIFO queue. + * @param data Address of the data item. + */ +# 2799 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" +/** + * @brief Add an element to a LIFO queue. + * + * This routine adds a data item to @a lifo. There is an implicit memory + * allocation to create an additional temporary bookkeeping data structure from + * the calling thread's resource pool, which is automatically freed when the + * item is removed. The data itself is not copied. + * + * @funcprops \isr_ok + * + * @param lifo Address of the LIFO. + * @param data Address of the data item. + * + * @retval 0 on success + * @retval -ENOMEM if there isn't sufficient RAM in the caller's resource pool + */ +# 2824 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" +/** + * @brief Get an element from a LIFO queue. + * + * This routine removes a data item from @a LIFO in a "last in, first out" + * manner. The first word of the data item is reserved for the kernel's use. + * + * @note @a timeout must be set to K_NO_WAIT if called from ISR. + * + * @funcprops \isr_ok + * + * @param lifo Address of the LIFO queue. + * @param timeout Waiting period to obtain a data item, + * or one of the special values K_NO_WAIT and K_FOREVER. + * + * @return Address of the data item if successful; NULL if returned + * without waiting, or waiting period timed out. + */ +# 2849 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" +/** + * @brief Statically define and initialize a LIFO queue. + * + * The LIFO queue can be accessed outside the module where it is defined using: + * + * @code extern struct k_lifo ; @endcode + * + * @param name Name of the fifo. + */ + + + + +/** @} */ + +/** + * @cond INTERNAL_HIDDEN + */ + + +typedef uintptr_t stack_data_t; + +struct k_stack { + _wait_q_t wait_q; + struct k_spinlock lock; + stack_data_t *base, *next, *top; + + uint8_t flags; + + + + + + +}; +# 2893 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" +/** + * INTERNAL_HIDDEN @endcond + */ + +/** + * @defgroup stack_apis Stack APIs + * @ingroup kernel_apis + * @{ + */ + +/** + * @brief Initialize a stack. + * + * This routine initializes a stack object, prior to its first use. + * + * @param stack Address of the stack. + * @param buffer Address of array used to hold stacked values. + * @param num_entries Maximum number of values that can be stacked. + */ +void k_stack_init(struct k_stack *stack, + stack_data_t *buffer, uint32_t num_entries); + + +/** + * @brief Initialize a stack. + * + * This routine initializes a stack object, prior to its first use. Internal + * buffers will be allocated from the calling thread's resource pool. + * This memory will be released if k_stack_cleanup() is called, or + * userspace is enabled and the stack object loses all references to it. + * + * @param stack Address of the stack. + * @param num_entries Maximum number of values that can be stacked. + * + * @return -ENOMEM if memory couldn't be allocated + */ + +static inline int32_t k_stack_alloc_init(struct k_stack *stack, + uint32_t num_entries); + +/** + * @brief Release a stack's allocated buffer + * + * If a stack object was given a dynamically allocated buffer via + * k_stack_alloc_init(), this will free it. This function does nothing + * if the buffer wasn't dynamically allocated. + * + * @param stack Address of the stack. + * @retval 0 on success + * @retval -EAGAIN when object is still in use + */ +int k_stack_cleanup(struct k_stack *stack); + +/** + * @brief Push an element onto a stack. + * + * This routine adds a stack_data_t value @a data to @a stack. + * + * @funcprops \isr_ok + * + * @param stack Address of the stack. + * @param data Value to push onto the stack. + * + * @retval 0 on success + * @retval -ENOMEM if stack is full + */ +static inline int k_stack_push(struct k_stack *stack, stack_data_t data); + +/** + * @brief Pop an element from a stack. + * + * This routine removes a stack_data_t value from @a stack in a "last in, + * first out" manner and stores the value in @a data. + * + * @note @a timeout must be set to K_NO_WAIT if called from ISR. + * + * @funcprops \isr_ok + * + * @param stack Address of the stack. + * @param data Address of area to hold the value popped from the stack. + * @param timeout Waiting period to obtain a value, + * or one of the special values K_NO_WAIT and + * K_FOREVER. + * + * @retval 0 Element popped from stack. + * @retval -EBUSY Returned without waiting. + * @retval -EAGAIN Waiting period timed out. + */ +static inline int k_stack_pop(struct k_stack *stack, stack_data_t *data, + k_timeout_t timeout); + +/** + * @brief Statically define and initialize a stack + * + * The stack can be accessed outside the module where it is defined using: + * + * @code extern struct k_stack ; @endcode + * + * @param name Name of the stack. + * @param stack_num_entries Maximum number of values that can be stacked. + */ + + + + + + + +/** @} */ + +/** + * @cond INTERNAL_HIDDEN + */ + +struct k_work; +struct k_work_q; +struct k_work_queue_config; +extern struct k_work_q k_sys_work_q; + +/** + * INTERNAL_HIDDEN @endcond + */ + +/** + * @defgroup mutex_apis Mutex APIs + * @ingroup kernel_apis + * @{ + */ + +/** + * Mutex Structure + * @ingroup mutex_apis + */ +struct k_mutex { + /** Mutex wait queue */ + _wait_q_t wait_q; + /** Mutex owner */ + struct k_thread *owner; + + /** Current lock count */ + uint32_t lock_count; + + /** Original thread priority */ + int owner_orig_prio; + + + + + + +}; + +/** + * @cond INTERNAL_HIDDEN + */ +# 3056 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" +/** + * INTERNAL_HIDDEN @endcond + */ + +/** + * @brief Statically define and initialize a mutex. + * + * The mutex can be accessed outside the module where it is defined using: + * + * @code extern struct k_mutex ; @endcode + * + * @param name Name of the mutex. + */ + + + + +/** + * @brief Initialize a mutex. + * + * This routine initializes a mutex object, prior to its first use. + * + * Upon completion, the mutex is available and does not have an owner. + * + * @param mutex Address of the mutex. + * + * @retval 0 Mutex object created + * + */ +static inline int k_mutex_init(struct k_mutex *mutex); + + +/** + * @brief Lock a mutex. + * + * This routine locks @a mutex. If the mutex is locked by another thread, + * the calling thread waits until the mutex becomes available or until + * a timeout occurs. + * + * A thread is permitted to lock a mutex it has already locked. The operation + * completes immediately and the lock count is increased by 1. + * + * Mutexes may not be locked in ISRs. + * + * @param mutex Address of the mutex. + * @param timeout Waiting period to lock the mutex, + * or one of the special values K_NO_WAIT and + * K_FOREVER. + * + * @retval 0 Mutex locked. + * @retval -EBUSY Returned without waiting. + * @retval -EAGAIN Waiting period timed out. + */ +static inline int k_mutex_lock(struct k_mutex *mutex, k_timeout_t timeout); + +/** + * @brief Unlock a mutex. + * + * This routine unlocks @a mutex. The mutex must already be locked by the + * calling thread. + * + * The mutex cannot be claimed by another thread until it has been unlocked by + * the calling thread as many times as it was previously locked by that + * thread. + * + * Mutexes may not be unlocked in ISRs, as mutexes must only be manipulated + * in thread context due to ownership and priority inheritance semantics. + * + * @param mutex Address of the mutex. + * + * @retval 0 Mutex unlocked. + * @retval -EPERM The current thread does not own the mutex + * @retval -EINVAL The mutex is not locked + * + */ +static inline int k_mutex_unlock(struct k_mutex *mutex); + +/** + * @} + */ + + +struct k_condvar { + _wait_q_t wait_q; + + + + +}; + + + + + + +/** + * @defgroup condvar_apis Condition Variables APIs + * @ingroup kernel_apis + * @{ + */ + +/** + * @brief Initialize a condition variable + * + * @param condvar pointer to a @p k_condvar structure + * @retval 0 Condition variable created successfully + */ +static inline int k_condvar_init(struct k_condvar *condvar); + +/** + * @brief Signals one thread that is pending on the condition variable + * + * @param condvar pointer to a @p k_condvar structure + * @retval 0 On success + */ +static inline int k_condvar_signal(struct k_condvar *condvar); + +/** + * @brief Unblock all threads that are pending on the condition + * variable + * + * @param condvar pointer to a @p k_condvar structure + * @return An integer with number of woken threads on success + */ +static inline int k_condvar_broadcast(struct k_condvar *condvar); + +/** + * @brief Waits on the condition variable releasing the mutex lock + * + * Atomically releases the currently owned mutex, blocks the current thread + * waiting on the condition variable specified by @a condvar, + * and finally acquires the mutex again. + * + * The waiting thread unblocks only after another thread calls + * k_condvar_signal, or k_condvar_broadcast with the same condition variable. + * + * @param condvar pointer to a @p k_condvar structure + * @param mutex Address of the mutex. + * @param timeout Waiting period for the condition variable + * or one of the special values K_NO_WAIT and K_FOREVER. + * @retval 0 On success + * @retval -EAGAIN Waiting period timed out. + */ +static inline int k_condvar_wait(struct k_condvar *condvar, struct k_mutex *mutex, + k_timeout_t timeout); + +/** + * @brief Statically define and initialize a condition variable. + * + * The condition variable can be accessed outside the module where it is + * defined using: + * + * @code extern struct k_condvar ; @endcode + * + * @param name Name of the condition variable. + */ + + + +/** + * @} + */ + +/** + * @cond INTERNAL_HIDDEN + */ + +struct k_sem { + _wait_q_t wait_q; + unsigned int count; + unsigned int limit; + + sys_dlist_t poll_events; + + + + + + +}; +# 3245 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" +/** + * INTERNAL_HIDDEN @endcond + */ + +/** + * @defgroup semaphore_apis Semaphore APIs + * @ingroup kernel_apis + * @{ + */ + +/** + * @brief Maximum limit value allowed for a semaphore. + * + * This is intended for use when a semaphore does not have + * an explicit maximum limit, and instead is just used for + * counting purposes. + * + */ + + +/** + * @brief Initialize a semaphore. + * + * This routine initializes a semaphore object, prior to its first use. + * + * @param sem Address of the semaphore. + * @param initial_count Initial semaphore count. + * @param limit Maximum permitted semaphore count. + * + * @see K_SEM_MAX_LIMIT + * + * @retval 0 Semaphore created successfully + * @retval -EINVAL Invalid values + * + */ +static inline int k_sem_init(struct k_sem *sem, unsigned int initial_count, + unsigned int limit); + +/** + * @brief Take a semaphore. + * + * This routine takes @a sem. + * + * @note @a timeout must be set to K_NO_WAIT if called from ISR. + * + * @funcprops \isr_ok + * + * @param sem Address of the semaphore. + * @param timeout Waiting period to take the semaphore, + * or one of the special values K_NO_WAIT and K_FOREVER. + * + * @retval 0 Semaphore taken. + * @retval -EBUSY Returned without waiting. + * @retval -EAGAIN Waiting period timed out, + * or the semaphore was reset during the waiting period. + */ +static inline int k_sem_take(struct k_sem *sem, k_timeout_t timeout); + +/** + * @brief Give a semaphore. + * + * This routine gives @a sem, unless the semaphore is already at its maximum + * permitted count. + * + * @funcprops \isr_ok + * + * @param sem Address of the semaphore. + */ +static inline void k_sem_give(struct k_sem *sem); + +/** + * @brief Resets a semaphore's count to zero. + * + * This routine sets the count of @a sem to zero. + * Any outstanding semaphore takes will be aborted + * with -EAGAIN. + * + * @param sem Address of the semaphore. + */ +static inline void k_sem_reset(struct k_sem *sem); + +/** + * @brief Get a semaphore's count. + * + * This routine returns the current count of @a sem. + * + * @param sem Address of the semaphore. + * + * @return Current semaphore count. + */ +static inline unsigned int k_sem_count_get(struct k_sem *sem); + +/** + * @internal + */ +static inline unsigned int z_impl_k_sem_count_get(struct k_sem *sem) +{ + return sem->count; +} + +/** + * @brief Statically define and initialize a semaphore. + * + * The semaphore can be accessed outside the module where it is defined using: + * + * @code extern struct k_sem ; @endcode + * + * @param name Name of the semaphore. + * @param initial_count Initial semaphore count. + * @param count_limit Maximum permitted semaphore count. + */ + + + + + + + +/** @} */ + +/** + * @cond INTERNAL_HIDDEN + */ + +struct k_work_delayable; +struct k_work_sync; + +/** + * INTERNAL_HIDDEN @endcond + */ + +/** + * @defgroup workqueue_apis Work Queue APIs + * @ingroup kernel_apis + * @{ + */ + +/** @brief The signature for a work item handler function. + * + * The function will be invoked by the thread animating a work queue. + * + * @param work the work item that provided the handler. + */ +typedef void (*k_work_handler_t)(struct k_work *work); + +/** @brief Initialize a (non-delayable) work structure. + * + * This must be invoked before submitting a work structure for the first time. + * It need not be invoked again on the same work structure. It can be + * re-invoked to change the associated handler, but this must be done when the + * work item is idle. + * + * @funcprops \isr_ok + * + * @param work the work structure to be initialized. + * + * @param handler the handler to be invoked by the work item. + */ +void k_work_init(struct k_work *work, + k_work_handler_t handler); + +/** @brief Busy state flags from the work item. + * + * A zero return value indicates the work item appears to be idle. + * + * @note This is a live snapshot of state, which may change before the result + * is checked. Use locks where appropriate. + * + * @funcprops \isr_ok + * + * @param work pointer to the work item. + * + * @return a mask of flags K_WORK_DELAYED, K_WORK_QUEUED, + * K_WORK_RUNNING, K_WORK_CANCELING, and K_WORK_FLUSHING. + */ +int k_work_busy_get(const struct k_work *work); + +/** @brief Test whether a work item is currently pending. + * + * Wrapper to determine whether a work item is in a non-idle state. + * + * @note This is a live snapshot of state, which may change before the result + * is checked. Use locks where appropriate. + * + * @funcprops \isr_ok + * + * @param work pointer to the work item. + * + * @return true if and only if k_work_busy_get() returns a non-zero value. + */ +static inline bool k_work_is_pending(const struct k_work *work); + +/** @brief Submit a work item to a queue. + * + * @param queue pointer to the work queue on which the item should run. If + * NULL the queue from the most recent submission will be used. + * + * @funcprops \isr_ok + * + * @param work pointer to the work item. + * + * @retval 0 if work was already submitted to a queue + * @retval 1 if work was not submitted and has been queued to @p queue + * @retval 2 if work was running and has been queued to the queue that was + * running it + * @retval -EBUSY + * * if work submission was rejected because the work item is cancelling; or + * * @p queue is draining; or + * * @p queue is plugged. + * @retval -EINVAL if @p queue is null and the work item has never been run. + * @retval -ENODEV if @p queue has not been started. + */ +int k_work_submit_to_queue(struct k_work_q *queue, + struct k_work *work); + +/** @brief Submit a work item to the system queue. + * + * @funcprops \isr_ok + * + * @param work pointer to the work item. + * + * @return as with k_work_submit_to_queue(). + */ +int k_work_submit(struct k_work *work); + +/** @brief Wait for last-submitted instance to complete. + * + * Resubmissions may occur while waiting, including chained submissions (from + * within the handler). + * + * @note Be careful of caller and work queue thread relative priority. If + * this function sleeps it will not return until the work queue thread + * completes the tasks that allow this thread to resume. + * + * @note Behavior is undefined if this function is invoked on @p work from a + * work queue running @p work. + * + * @param work pointer to the work item. + * + * @param sync pointer to an opaque item containing state related to the + * pending cancellation. The object must persist until the call returns, and + * be accessible from both the caller thread and the work queue thread. The + * object must not be used for any other flush or cancel operation until this + * one completes. On architectures with CONFIG_KERNEL_COHERENCE the object + * must be allocated in coherent memory. + * + * @retval true if call had to wait for completion + * @retval false if work was already idle + */ +bool k_work_flush(struct k_work *work, + struct k_work_sync *sync); + +/** @brief Cancel a work item. + * + * This attempts to prevent a pending (non-delayable) work item from being + * processed by removing it from the work queue. If the item is being + * processed, the work item will continue to be processed, but resubmissions + * are rejected until cancellation completes. + * + * If this returns zero cancellation is complete, otherwise something + * (probably a work queue thread) is still referencing the item. + * + * See also k_work_cancel_sync(). + * + * @funcprops \isr_ok + * + * @param work pointer to the work item. + * + * @return the k_work_busy_get() status indicating the state of the item after all + * cancellation steps performed by this call are completed. + */ +int k_work_cancel(struct k_work *work); + +/** @brief Cancel a work item and wait for it to complete. + * + * Same as k_work_cancel() but does not return until cancellation is complete. + * This can be invoked by a thread after k_work_cancel() to synchronize with a + * previous cancellation. + * + * On return the work structure will be idle unless something submits it after + * the cancellation was complete. + * + * @note Be careful of caller and work queue thread relative priority. If + * this function sleeps it will not return until the work queue thread + * completes the tasks that allow this thread to resume. + * + * @note Behavior is undefined if this function is invoked on @p work from a + * work queue running @p work. + * + * @param work pointer to the work item. + * + * @param sync pointer to an opaque item containing state related to the + * pending cancellation. The object must persist until the call returns, and + * be accessible from both the caller thread and the work queue thread. The + * object must not be used for any other flush or cancel operation until this + * one completes. On architectures with CONFIG_KERNEL_COHERENCE the object + * must be allocated in coherent memory. + * + * @retval true if work was pending (call had to wait for cancellation of a + * running handler to complete, or scheduled or submitted operations were + * cancelled); + * @retval false otherwise + */ +bool k_work_cancel_sync(struct k_work *work, struct k_work_sync *sync); + +/** @brief Initialize a work queue structure. + * + * This must be invoked before starting a work queue structure for the first time. + * It need not be invoked again on the same work queue structure. + * + * @funcprops \isr_ok + * + * @param queue the queue structure to be initialized. + */ +void k_work_queue_init(struct k_work_q *queue); + +/** @brief Initialize a work queue. + * + * This configures the work queue thread and starts it running. The function + * should not be re-invoked on a queue. + * + * @param queue pointer to the queue structure. It must be initialized + * in zeroed/bss memory or with @ref k_work_queue_init before + * use. + * + * @param stack pointer to the work thread stack area. + * + * @param stack_size size of the work thread stack area, in bytes. + * + * @param prio initial thread priority + * + * @param cfg optional additional configuration parameters. Pass @c + * NULL if not required, to use the defaults documented in + * k_work_queue_config. + */ +void k_work_queue_start(struct k_work_q *queue, + k_thread_stack_t *stack, size_t stack_size, + int prio, const struct k_work_queue_config *cfg); + +/** @brief Access the thread that animates a work queue. + * + * This is necessary to grant a work queue thread access to things the work + * items it will process are expected to use. + * + * @param queue pointer to the queue structure. + * + * @return the thread associated with the work queue. + */ +static inline k_tid_t k_work_queue_thread_get(struct k_work_q *queue); + +/** @brief Wait until the work queue has drained, optionally plugging it. + * + * This blocks submission to the work queue except when coming from queue + * thread, and blocks the caller until no more work items are available in the + * queue. + * + * If @p plug is true then submission will continue to be blocked after the + * drain operation completes until k_work_queue_unplug() is invoked. + * + * Note that work items that are delayed are not yet associated with their + * work queue. They must be cancelled externally if a goal is to ensure the + * work queue remains empty. The @p plug feature can be used to prevent + * delayed items from being submitted after the drain completes. + * + * @param queue pointer to the queue structure. + * + * @param plug if true the work queue will continue to block new submissions + * after all items have drained. + * + * @retval 1 if call had to wait for the drain to complete + * @retval 0 if call did not have to wait + * @retval negative if wait was interrupted or failed + */ +int k_work_queue_drain(struct k_work_q *queue, bool plug); + +/** @brief Release a work queue to accept new submissions. + * + * This releases the block on new submissions placed when k_work_queue_drain() + * is invoked with the @p plug option enabled. If this is invoked before the + * drain completes new items may be submitted as soon as the drain completes. + * + * @funcprops \isr_ok + * + * @param queue pointer to the queue structure. + * + * @retval 0 if successfully unplugged + * @retval -EALREADY if the work queue was not plugged. + */ +int k_work_queue_unplug(struct k_work_q *queue); + +/** @brief Stop a work queue. + * + * Stops the work queue thread and ensures that no further work will be processed. + * This call is blocking and guarantees that the work queue thread has terminated + * cleanly if successful, no work will be processed past this point. + * + * @param queue Pointer to the queue structure. + * @param timeout Maximum time to wait for the work queue to stop. + * + * @retval 0 if the work queue was stopped + * @retval -EALREADY if the work queue was not started (or already stopped) + * @retval -EBUSY if the work queue is actively processing work items + * @retval -ETIMEDOUT if the work queue did not stop within the stipulated timeout + */ +int k_work_queue_stop(struct k_work_q *queue, k_timeout_t timeout); + +/** @brief Initialize a delayable work structure. + * + * This must be invoked before scheduling a delayable work structure for the + * first time. It need not be invoked again on the same work structure. It + * can be re-invoked to change the associated handler, but this must be done + * when the work item is idle. + * + * @funcprops \isr_ok + * + * @param dwork the delayable work structure to be initialized. + * + * @param handler the handler to be invoked by the work item. + */ +void k_work_init_delayable(struct k_work_delayable *dwork, + k_work_handler_t handler); + +/** + * @brief Get the parent delayable work structure from a work pointer. + * + * This function is necessary when a @c k_work_handler_t function is passed to + * k_work_schedule_for_queue() and the handler needs to access data from the + * container of the containing `k_work_delayable`. + * + * @param work Address passed to the work handler + * + * @return Address of the containing @c k_work_delayable structure. + */ +static inline struct k_work_delayable * +k_work_delayable_from_work(struct k_work *work); + +/** @brief Busy state flags from the delayable work item. + * + * @funcprops \isr_ok + * + * @note This is a live snapshot of state, which may change before the result + * can be inspected. Use locks where appropriate. + * + * @param dwork pointer to the delayable work item. + * + * @return a mask of flags K_WORK_DELAYED, K_WORK_QUEUED, K_WORK_RUNNING, + * K_WORK_CANCELING, and K_WORK_FLUSHING. A zero return value indicates the + * work item appears to be idle. + */ +int k_work_delayable_busy_get(const struct k_work_delayable *dwork); + +/** @brief Test whether a delayed work item is currently pending. + * + * Wrapper to determine whether a delayed work item is in a non-idle state. + * + * @note This is a live snapshot of state, which may change before the result + * can be inspected. Use locks where appropriate. + * + * @funcprops \isr_ok + * + * @param dwork pointer to the delayable work item. + * + * @return true if and only if k_work_delayable_busy_get() returns a non-zero + * value. + */ +static inline bool k_work_delayable_is_pending( + const struct k_work_delayable *dwork); + +/** @brief Get the absolute tick count at which a scheduled delayable work + * will be submitted. + * + * @note This is a live snapshot of state, which may change before the result + * can be inspected. Use locks where appropriate. + * + * @funcprops \isr_ok + * + * @param dwork pointer to the delayable work item. + * + * @return the tick count when the timer that will schedule the work item will + * expire, or the current tick count if the work is not scheduled. + */ +static inline k_ticks_t k_work_delayable_expires_get( + const struct k_work_delayable *dwork); + +/** @brief Get the number of ticks until a scheduled delayable work will be + * submitted. + * + * @note This is a live snapshot of state, which may change before the result + * can be inspected. Use locks where appropriate. + * + * @funcprops \isr_ok + * + * @param dwork pointer to the delayable work item. + * + * @return the number of ticks until the timer that will schedule the work + * item will expire, or zero if the item is not scheduled. + */ +static inline k_ticks_t k_work_delayable_remaining_get( + const struct k_work_delayable *dwork); + +/** @brief Submit an idle work item to a queue after a delay. + * + * Unlike k_work_reschedule_for_queue() this is a no-op if the work item is + * already scheduled or submitted, even if @p delay is @c K_NO_WAIT. + * + * @funcprops \isr_ok + * + * @param queue the queue on which the work item should be submitted after the + * delay. + * + * @param dwork pointer to the delayable work item. + * + * @param delay the time to wait before submitting the work item. If @c + * K_NO_WAIT and the work is not pending this is equivalent to + * k_work_submit_to_queue(). + * + * @retval 0 if work was already scheduled or submitted. + * @retval 1 if work has been scheduled. + * @retval 2 if @p delay is @c K_NO_WAIT and work + * was running and has been queued to the queue that was running it. + * @retval -EBUSY if @p delay is @c K_NO_WAIT and + * k_work_submit_to_queue() fails with this code. + * @retval -EINVAL if @p delay is @c K_NO_WAIT and + * k_work_submit_to_queue() fails with this code. + * @retval -ENODEV if @p delay is @c K_NO_WAIT and + * k_work_submit_to_queue() fails with this code. + */ +int k_work_schedule_for_queue(struct k_work_q *queue, + struct k_work_delayable *dwork, + k_timeout_t delay); + +/** @brief Submit an idle work item to the system work queue after a + * delay. + * + * This is a thin wrapper around k_work_schedule_for_queue(), with all the API + * characteristics of that function. + * + * @param dwork pointer to the delayable work item. + * + * @param delay the time to wait before submitting the work item. If @c + * K_NO_WAIT this is equivalent to k_work_submit_to_queue(). + * + * @return as with k_work_schedule_for_queue(). + */ +int k_work_schedule(struct k_work_delayable *dwork, + k_timeout_t delay); + +/** @brief Reschedule a work item to a queue after a delay. + * + * Unlike k_work_schedule_for_queue() this function can change the deadline of + * a scheduled work item, and will schedule a work item that is in any state + * (e.g. is idle, submitted, or running). This function does not affect + * ("unsubmit") a work item that has been submitted to a queue. + * + * @funcprops \isr_ok + * + * @param queue the queue on which the work item should be submitted after the + * delay. + * + * @param dwork pointer to the delayable work item. + * + * @param delay the time to wait before submitting the work item. If @c + * K_NO_WAIT this is equivalent to k_work_submit_to_queue() after canceling + * any previous scheduled submission. + * + * @note If delay is @c K_NO_WAIT ("no delay") the return values are as with + * k_work_submit_to_queue(). + * + * @retval 0 if delay is @c K_NO_WAIT and work was already on a queue + * @retval 1 if + * * delay is @c K_NO_WAIT and work was not submitted but has now been queued + * to @p queue; or + * * delay not @c K_NO_WAIT and work has been scheduled + * @retval 2 if delay is @c K_NO_WAIT and work was running and has been queued + * to the queue that was running it + * @retval -EBUSY if @p delay is @c K_NO_WAIT and + * k_work_submit_to_queue() fails with this code. + * @retval -EINVAL if @p delay is @c K_NO_WAIT and + * k_work_submit_to_queue() fails with this code. + * @retval -ENODEV if @p delay is @c K_NO_WAIT and + * k_work_submit_to_queue() fails with this code. + */ +int k_work_reschedule_for_queue(struct k_work_q *queue, + struct k_work_delayable *dwork, + k_timeout_t delay); + +/** @brief Reschedule a work item to the system work queue after a + * delay. + * + * This is a thin wrapper around k_work_reschedule_for_queue(), with all the + * API characteristics of that function. + * + * @param dwork pointer to the delayable work item. + * + * @param delay the time to wait before submitting the work item. + * + * @return as with k_work_reschedule_for_queue(). + */ +int k_work_reschedule(struct k_work_delayable *dwork, + k_timeout_t delay); + +/** @brief Flush delayable work. + * + * If the work is scheduled, it is immediately submitted. Then the caller + * blocks until the work completes, as with k_work_flush(). + * + * @note Be careful of caller and work queue thread relative priority. If + * this function sleeps it will not return until the work queue thread + * completes the tasks that allow this thread to resume. + * + * @note Behavior is undefined if this function is invoked on @p dwork from a + * work queue running @p dwork. + * + * @param dwork pointer to the delayable work item. + * + * @param sync pointer to an opaque item containing state related to the + * pending cancellation. The object must persist until the call returns, and + * be accessible from both the caller thread and the work queue thread. The + * object must not be used for any other flush or cancel operation until this + * one completes. On architectures with CONFIG_KERNEL_COHERENCE the object + * must be allocated in coherent memory. + * + * @retval true if call had to wait for completion + * @retval false if work was already idle + */ +bool k_work_flush_delayable(struct k_work_delayable *dwork, + struct k_work_sync *sync); + +/** @brief Cancel delayable work. + * + * Similar to k_work_cancel() but for delayable work. If the work is + * scheduled or submitted it is canceled. This function does not wait for the + * cancellation to complete. + * + * @note The work may still be running when this returns. Use + * k_work_flush_delayable() or k_work_cancel_delayable_sync() to ensure it is + * not running. + * + * @note Canceling delayable work does not prevent rescheduling it. It does + * prevent submitting it until the cancellation completes. + * + * @funcprops \isr_ok + * + * @param dwork pointer to the delayable work item. + * + * @return the k_work_delayable_busy_get() status indicating the state of the + * item after all cancellation steps performed by this call are completed. + */ +int k_work_cancel_delayable(struct k_work_delayable *dwork); + +/** @brief Cancel delayable work and wait. + * + * Like k_work_cancel_delayable() but waits until the work becomes idle. + * + * @note Canceling delayable work does not prevent rescheduling it. It does + * prevent submitting it until the cancellation completes. + * + * @note Be careful of caller and work queue thread relative priority. If + * this function sleeps it will not return until the work queue thread + * completes the tasks that allow this thread to resume. + * + * @note Behavior is undefined if this function is invoked on @p dwork from a + * work queue running @p dwork. + * + * @param dwork pointer to the delayable work item. + * + * @param sync pointer to an opaque item containing state related to the + * pending cancellation. The object must persist until the call returns, and + * be accessible from both the caller thread and the work queue thread. The + * object must not be used for any other flush or cancel operation until this + * one completes. On architectures with CONFIG_KERNEL_COHERENCE the object + * must be allocated in coherent memory. + * + * @retval true if work was not idle (call had to wait for cancellation of a + * running handler to complete, or scheduled or submitted operations were + * cancelled); + * @retval false otherwise + */ +bool k_work_cancel_delayable_sync(struct k_work_delayable *dwork, + struct k_work_sync *sync); + +enum { +/** + * @cond INTERNAL_HIDDEN + */ + + /* The atomic API is used for all work and queue flags fields to + * enforce sequential consistency in SMP environments. + */ + + /* Bits that represent the work item states. At least nine of the + * combinations are distinct valid stable states. + */ + K_WORK_RUNNING_BIT = 0, + K_WORK_CANCELING_BIT = 1, + K_WORK_QUEUED_BIT = 2, + K_WORK_DELAYED_BIT = 3, + K_WORK_FLUSHING_BIT = 4, + + K_WORK_MASK = (1UL << (K_WORK_DELAYED_BIT)) | (1UL << (K_WORK_QUEUED_BIT)) + | (1UL << (K_WORK_RUNNING_BIT)) | (1UL << (K_WORK_CANCELING_BIT)) | (1UL << (K_WORK_FLUSHING_BIT)), + + /* Static work flags */ + K_WORK_DELAYABLE_BIT = 8, + K_WORK_DELAYABLE = (1UL << (K_WORK_DELAYABLE_BIT)), + + /* Dynamic work queue flags */ + K_WORK_QUEUE_STARTED_BIT = 0, + K_WORK_QUEUE_STARTED = (1UL << (K_WORK_QUEUE_STARTED_BIT)), + K_WORK_QUEUE_BUSY_BIT = 1, + K_WORK_QUEUE_BUSY = (1UL << (K_WORK_QUEUE_BUSY_BIT)), + K_WORK_QUEUE_DRAIN_BIT = 2, + K_WORK_QUEUE_DRAIN = (1UL << (K_WORK_QUEUE_DRAIN_BIT)), + K_WORK_QUEUE_PLUGGED_BIT = 3, + K_WORK_QUEUE_PLUGGED = (1UL << (K_WORK_QUEUE_PLUGGED_BIT)), + K_WORK_QUEUE_STOP_BIT = 4, + K_WORK_QUEUE_STOP = (1UL << (K_WORK_QUEUE_STOP_BIT)), + + /* Static work queue flags */ + K_WORK_QUEUE_NO_YIELD_BIT = 8, + K_WORK_QUEUE_NO_YIELD = (1UL << (K_WORK_QUEUE_NO_YIELD_BIT)), + +/** + * INTERNAL_HIDDEN @endcond + */ + /* Transient work flags */ + + /** @brief Flag indicating a work item that is running under a work + * queue thread. + * + * Accessed via k_work_busy_get(). May co-occur with other flags. + */ + K_WORK_RUNNING = (1UL << (K_WORK_RUNNING_BIT)), + + /** @brief Flag indicating a work item that is being canceled. + * + * Accessed via k_work_busy_get(). May co-occur with other flags. + */ + K_WORK_CANCELING = (1UL << (K_WORK_CANCELING_BIT)), + + /** @brief Flag indicating a work item that has been submitted to a + * queue but has not started running. + * + * Accessed via k_work_busy_get(). May co-occur with other flags. + */ + K_WORK_QUEUED = (1UL << (K_WORK_QUEUED_BIT)), + + /** @brief Flag indicating a delayed work item that is scheduled for + * submission to a queue. + * + * Accessed via k_work_busy_get(). May co-occur with other flags. + */ + K_WORK_DELAYED = (1UL << (K_WORK_DELAYED_BIT)), + + /** @brief Flag indicating a synced work item that is being flushed. + * + * Accessed via k_work_busy_get(). May co-occur with other flags. + */ + K_WORK_FLUSHING = (1UL << (K_WORK_FLUSHING_BIT)), +}; + +/** @brief A structure used to submit work. */ +struct k_work { + /* All fields are protected by the work module spinlock. No fields + * are to be accessed except through kernel API. + */ + + /* Node to link into k_work_q pending list. */ + sys_snode_t node; + + /* The function to be invoked by the work queue thread. */ + k_work_handler_t handler; + + /* The queue on which the work item was last submitted. */ + struct k_work_q *queue; + + /* State of the work item. + * + * The item can be DELAYED, QUEUED, and RUNNING simultaneously. + * + * It can be RUNNING and CANCELING simultaneously. + */ + uint32_t flags; +}; + + + + + +/** @brief A structure used to submit work after a delay. */ +struct k_work_delayable { + /* The work item. */ + struct k_work work; + + /* Timeout used to submit work after a delay. */ + struct _timeout timeout; + + /* The queue to which the work should be submitted. */ + struct k_work_q *queue; +}; +# 4053 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" +/** + * @brief Initialize a statically-defined delayable work item. + * + * This macro can be used to initialize a statically-defined delayable + * work item, prior to its first use. For example, + * + * @code static K_WORK_DELAYABLE_DEFINE(, ); @endcode + * + * Note that if the runtime dependencies support initialization with + * k_work_init_delayable() using that will eliminate the initialized + * object in ROM that is produced by this macro and copied in at + * system startup. + * + * @param work Symbol name for delayable work item object + * @param work_handler Function to invoke each time work item is processed. + */ + + + + +/** + * @cond INTERNAL_HIDDEN + */ + +/* Record used to wait for work to flush. + * + * The work item is inserted into the queue that will process (or is + * processing) the item, and will be processed as soon as the item + * completes. When the flusher is processed the semaphore will be + * signaled, releasing the thread waiting for the flush. + */ +struct z_work_flusher { + struct k_work work; + struct k_sem sem; +}; + +/* Record used to wait for work to complete a cancellation. + * + * The work item is inserted into a global queue of pending cancels. + * When a cancelling work item goes idle any matching waiters are + * removed from pending_cancels and are woken. + */ +struct z_work_canceller { + sys_snode_t node; + struct k_work *work; + struct k_sem sem; +}; + +/** + * INTERNAL_HIDDEN @endcond + */ + +/** @brief A structure holding internal state for a pending synchronous + * operation on a work item or queue. + * + * Instances of this type are provided by the caller for invocation of + * k_work_flush(), k_work_cancel_sync() and sibling flush and cancel APIs. A + * referenced object must persist until the call returns, and be accessible + * from both the caller thread and the work queue thread. + * + * @note If CONFIG_KERNEL_COHERENCE is enabled the object must be allocated in + * coherent memory; see arch_mem_coherent(). The stack on these architectures + * is generally not coherent. be stack-allocated. Violations are detected by + * runtime assertion. + */ +struct k_work_sync { + union { + struct z_work_flusher flusher; + struct z_work_canceller canceller; + }; +}; + +/** @brief A structure holding optional configuration items for a work + * queue. + * + * This structure, and values it references, are not retained by + * k_work_queue_start(). + */ +struct k_work_queue_config { + /** The name to be given to the work queue thread. + * + * If left null the thread will not have a name. + */ + const char *name; + + /** Control whether the work queue thread should yield between + * items. + * + * Yielding between items helps guarantee the work queue + * thread does not starve other threads, including cooperative + * ones released by a work item. This is the default behavior. + * + * Set this to @c true to prevent the work queue thread from + * yielding between items. This may be appropriate when a + * sequence of items should complete without yielding + * control. + */ + bool no_yield; + + /** Control whether the work queue thread should be marked as + * essential thread. + */ + bool essential; +}; + +/** @brief A structure used to hold work until it can be processed. */ +struct k_work_q { + /* The thread that animates the work. */ + struct k_thread thread; + + /* All the following fields must be accessed only while the + * work module spinlock is held. + */ + + /* List of k_work items to be worked. */ + sys_slist_t pending; + + /* Wait queue for idle work thread. */ + _wait_q_t notifyq; + + /* Wait queue for threads waiting for the queue to drain. */ + _wait_q_t drainq; + + /* Flags describing queue state. */ + uint32_t flags; +}; + +/* Provide the implementation for inline functions declared above */ + +static inline bool k_work_is_pending(const struct k_work *work) +{ + return k_work_busy_get(work) != 0; +} + +static inline struct k_work_delayable * +k_work_delayable_from_work(struct k_work *work) +{ + return ({ ((struct k_work_delayable *)(((char *)(work)) - +# 4190 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" 3 4 + __builtin_offsetof ( +# 4190 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" + struct k_work_delayable +# 4190 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" 3 4 + , +# 4190 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" + work +# 4190 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" 3 4 + ) +# 4190 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" + )); }); +} + +static inline bool k_work_delayable_is_pending( + const struct k_work_delayable *dwork) +{ + return k_work_delayable_busy_get(dwork) != 0; +} + +static inline k_ticks_t k_work_delayable_expires_get( + const struct k_work_delayable *dwork) +{ + return z_timeout_expires(&dwork->timeout); +} + +static inline k_ticks_t k_work_delayable_remaining_get( + const struct k_work_delayable *dwork) +{ + return z_timeout_remaining(&dwork->timeout); +} + +static inline k_tid_t k_work_queue_thread_get(struct k_work_q *queue) +{ + return &queue->thread; +} + +/** @} */ + +struct k_work_user; + +/** + * @addtogroup workqueue_apis + * @{ + */ + +/** + * @typedef k_work_user_handler_t + * @brief Work item handler function type for user work queues. + * + * A work item's handler function is executed by a user workqueue's thread + * when the work item is processed by the workqueue. + * + * @param work Address of the work item. + */ +typedef void (*k_work_user_handler_t)(struct k_work_user *work); + +/** + * @cond INTERNAL_HIDDEN + */ + +struct k_work_user_q { + struct k_queue queue; + struct k_thread thread; +}; + +enum { + K_WORK_USER_STATE_PENDING, +}; + +struct k_work_user { + void *_reserved; + k_work_user_handler_t handler; + atomic_t flags; +}; + +/** + * INTERNAL_HIDDEN @endcond + */ +# 4270 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" +/** + * @brief Initialize a statically-defined user work item. + * + * This macro can be used to initialize a statically-defined user work + * item, prior to its first use. For example, + * + * @code static K_WORK_USER_DEFINE(, ); @endcode + * + * @param work Symbol name for work item object + * @param work_handler Function to invoke each time work item is processed. + */ + + + +/** + * @brief Initialize a userspace work item. + * + * This routine initializes a user workqueue work item, prior to its + * first use. + * + * @param work Address of work item. + * @param handler Function to invoke each time work item is processed. + */ +static inline void k_work_user_init(struct k_work_user *work, + k_work_user_handler_t handler) +{ + *work = (struct k_work_user){ +# 4296 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" 3 4 + __null +# 4296 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" + , handler, 0 }; +} + +/** + * @brief Check if a userspace work item is pending. + * + * This routine indicates if user work item @a work is pending in a workqueue's + * queue. + * + * @note Checking if the work is pending gives no guarantee that the + * work will still be pending when this information is used. It is up to + * the caller to make sure that this information is used in a safe manner. + * + * @funcprops \isr_ok + * + * @param work Address of work item. + * + * @return true if work item is pending, or false if it is not pending. + */ +static inline bool k_work_user_is_pending(struct k_work_user *work) +{ + return atomic_test_bit(&work->flags, K_WORK_USER_STATE_PENDING); +} + +/** + * @brief Submit a work item to a user mode workqueue + * + * Submits a work item to a workqueue that runs in user mode. A temporary + * memory allocation is made from the caller's resource pool which is freed + * once the worker thread consumes the k_work item. The workqueue + * thread must have memory access to the k_work item being submitted. The caller + * must have permission granted on the work_q parameter's queue object. + * + * @funcprops \isr_ok + * + * @param work_q Address of workqueue. + * @param work Address of work item. + * + * @retval -EBUSY if the work item was already in some workqueue + * @retval -ENOMEM if no memory for thread resource pool allocation + * @retval 0 Success + */ +static inline int k_work_user_submit_to_queue(struct k_work_user_q *work_q, + struct k_work_user *work) +{ + int ret = - +# 4341 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" 3 4 + 16 /* Device or resource busy */ +# 4341 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" + ; + + if (!atomic_test_and_set_bit(&work->flags, + K_WORK_USER_STATE_PENDING)) { + ret = k_queue_alloc_append(&work_q->queue, work); + + /* Couldn't insert into the queue. Clear the pending bit + * so the work item can be submitted again + */ + if (ret != 0) { + atomic_clear_bit(&work->flags, + K_WORK_USER_STATE_PENDING); + } + } + + return ret; +} + +/** + * @brief Start a workqueue in user mode + * + * This works identically to k_work_queue_start() except it is callable from + * user mode, and the worker thread created will run in user mode. The caller + * must have permissions granted on both the work_q parameter's thread and + * queue objects, and the same restrictions on priority apply as + * k_thread_create(). + * + * @param work_q Address of workqueue. + * @param stack Pointer to work queue thread's stack space, as defined by + * K_THREAD_STACK_DEFINE() + * @param stack_size Size of the work queue thread's stack (in bytes), which + * should either be the same constant passed to + * K_THREAD_STACK_DEFINE() or the value of K_THREAD_STACK_SIZEOF(). + * @param prio Priority of the work queue's thread. + * @param name optional thread name. If not null a copy is made into the + * thread's name buffer. + */ +void k_work_user_queue_start(struct k_work_user_q *work_q, + k_thread_stack_t *stack, + size_t stack_size, int prio, + const char *name); + +/** + * @brief Access the user mode thread that animates a work queue. + * + * This is necessary to grant a user mode work queue thread access to things + * the work items it will process are expected to use. + * + * @param work_q pointer to the user mode queue structure. + * + * @return the user mode thread associated with the work queue. + */ +static inline k_tid_t k_work_user_queue_thread_get(struct k_work_user_q *work_q) +{ + return &work_q->thread; +} + +/** @} */ + +/** + * @cond INTERNAL_HIDDEN + */ + +struct k_work_poll { + struct k_work work; + struct k_work_q *workq; + struct z_poller poller; + struct k_poll_event *events; + int num_events; + k_work_handler_t real_handler; + struct _timeout timeout; + int poll_result; +}; + +/** + * INTERNAL_HIDDEN @endcond + */ + +/** + * @addtogroup workqueue_apis + * @{ + */ + +/** + * @brief Initialize a statically-defined work item. + * + * This macro can be used to initialize a statically-defined workqueue work + * item, prior to its first use. For example, + * + * @code static K_WORK_DEFINE(, ); @endcode + * + * @param work Symbol name for work item object + * @param work_handler Function to invoke each time work item is processed. + */ + + + +/** + * @brief Initialize a triggered work item. + * + * This routine initializes a workqueue triggered work item, prior to + * its first use. + * + * @param work Address of triggered work item. + * @param handler Function to invoke each time work item is processed. + */ +void k_work_poll_init(struct k_work_poll *work, + k_work_handler_t handler); + +/** + * @brief Submit a triggered work item. + * + * This routine schedules work item @a work to be processed by workqueue + * @a work_q when one of the given @a events is signaled. The routine + * initiates internal poller for the work item and then returns to the caller. + * Only when one of the watched events happen the work item is actually + * submitted to the workqueue and becomes pending. + * + * Submitting a previously submitted triggered work item that is still + * waiting for the event cancels the existing submission and reschedules it + * the using the new event list. Note that this behavior is inherently subject + * to race conditions with the pre-existing triggered work item and work queue, + * so care must be taken to synchronize such resubmissions externally. + * + * @funcprops \isr_ok + * + * @warning + * Provided array of events as well as a triggered work item must be placed + * in persistent memory (valid until work handler execution or work + * cancellation) and cannot be modified after submission. + * + * @param work_q Address of workqueue. + * @param work Address of delayed work item. + * @param events An array of events which trigger the work. + * @param num_events The number of events in the array. + * @param timeout Timeout after which the work will be scheduled + * for execution even if not triggered. + * + * + * @retval 0 Work item started watching for events. + * @retval -EINVAL Work item is being processed or has completed its work. + * @retval -EADDRINUSE Work item is pending on a different workqueue. + */ +int k_work_poll_submit_to_queue(struct k_work_q *work_q, + struct k_work_poll *work, + struct k_poll_event *events, + int num_events, + k_timeout_t timeout); + +/** + * @brief Submit a triggered work item to the system workqueue. + * + * This routine schedules work item @a work to be processed by system + * workqueue when one of the given @a events is signaled. The routine + * initiates internal poller for the work item and then returns to the caller. + * Only when one of the watched events happen the work item is actually + * submitted to the workqueue and becomes pending. + * + * Submitting a previously submitted triggered work item that is still + * waiting for the event cancels the existing submission and reschedules it + * the using the new event list. Note that this behavior is inherently subject + * to race conditions with the pre-existing triggered work item and work queue, + * so care must be taken to synchronize such resubmissions externally. + * + * @funcprops \isr_ok + * + * @warning + * Provided array of events as well as a triggered work item must not be + * modified until the item has been processed by the workqueue. + * + * @param work Address of delayed work item. + * @param events An array of events which trigger the work. + * @param num_events The number of events in the array. + * @param timeout Timeout after which the work will be scheduled + * for execution even if not triggered. + * + * @retval 0 Work item started watching for events. + * @retval -EINVAL Work item is being processed or has completed its work. + * @retval -EADDRINUSE Work item is pending on a different workqueue. + */ +int k_work_poll_submit(struct k_work_poll *work, + struct k_poll_event *events, + int num_events, + k_timeout_t timeout); + +/** + * @brief Cancel a triggered work item. + * + * This routine cancels the submission of triggered work item @a work. + * A triggered work item can only be canceled if no event triggered work + * submission. + * + * @funcprops \isr_ok + * + * @param work Address of delayed work item. + * + * @retval 0 Work item canceled. + * @retval -EINVAL Work item is being processed or has completed its work. + */ +int k_work_poll_cancel(struct k_work_poll *work); + +/** @} */ + +/** + * @defgroup msgq_apis Message Queue APIs + * @ingroup kernel_apis + * @{ + */ + +/** + * @brief Message Queue Structure + */ +struct k_msgq { + /** Message queue wait queue */ + _wait_q_t wait_q; + /** Lock */ + struct k_spinlock lock; + /** Message size */ + size_t msg_size; + /** Maximal number of messages */ + uint32_t max_msgs; + /** Start of message buffer */ + char *buffer_start; + /** End of message buffer */ + char *buffer_end; + /** Read pointer */ + char *read_ptr; + /** Write pointer */ + char *write_ptr; + /** Number of used messages */ + uint32_t used_msgs; + + sys_dlist_t poll_events; + + /** Message queue */ + uint8_t flags; + + + + + + +}; +/** + * @cond INTERNAL_HIDDEN + */ +# 4602 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" +/** + * INTERNAL_HIDDEN @endcond + */ + + + + +/** + * @brief Message Queue Attributes + */ +struct k_msgq_attrs { + /** Message Size */ + size_t msg_size; + /** Maximal number of messages */ + uint32_t max_msgs; + /** Used messages */ + uint32_t used_msgs; +}; + + +/** + * @brief Statically define and initialize a message queue. + * + * The message queue's ring buffer contains space for @a q_max_msgs messages, + * each of which is @a q_msg_size bytes long. Alignment of the message queue's + * ring buffer is not necessary, setting @a q_align to 1 is sufficient. + * + * The message queue can be accessed outside the module where it is defined + * using: + * + * @code extern struct k_msgq ; @endcode + * + * @param q_name Name of the message queue. + * @param q_msg_size Message size (in bytes). + * @param q_max_msgs Maximum number of messages that can be queued. + * @param q_align Alignment of the message queue's ring buffer (power of 2). + * + */ + + + + + + + +/** + * @brief Initialize a message queue. + * + * This routine initializes a message queue object, prior to its first use. + * + * The message queue's ring buffer must contain space for @a max_msgs messages, + * each of which is @a msg_size bytes long. Alignment of the message queue's + * ring buffer is not necessary. + * + * @param msgq Address of the message queue. + * @param buffer Pointer to ring buffer that holds queued messages. + * @param msg_size Message size (in bytes). + * @param max_msgs Maximum number of messages that can be queued. + */ +void k_msgq_init(struct k_msgq *msgq, char *buffer, size_t msg_size, + uint32_t max_msgs); + +/** + * @brief Initialize a message queue. + * + * This routine initializes a message queue object, prior to its first use, + * allocating its internal ring buffer from the calling thread's resource + * pool. + * + * Memory allocated for the ring buffer can be released by calling + * k_msgq_cleanup(), or if userspace is enabled and the msgq object loses + * all of its references. + * + * @param msgq Address of the message queue. + * @param msg_size Message size (in bytes). + * @param max_msgs Maximum number of messages that can be queued. + * + * @return 0 on success, -ENOMEM if there was insufficient memory in the + * thread's resource pool, or -EINVAL if the size parameters cause + * an integer overflow. + */ +static inline int k_msgq_alloc_init(struct k_msgq *msgq, size_t msg_size, + uint32_t max_msgs); + +/** + * @brief Release allocated buffer for a queue + * + * Releases memory allocated for the ring buffer. + * + * @param msgq message queue to cleanup + * + * @retval 0 on success + * @retval -EBUSY Queue not empty + */ +int k_msgq_cleanup(struct k_msgq *msgq); + +/** + * @brief Send a message to a message queue. + * + * This routine sends a message to message queue @a q. + * + * @note The message content is copied from @a data into @a msgq and the @a data + * pointer is not retained, so the message content will not be modified + * by this function. + * + * @funcprops \isr_ok + * + * @param msgq Address of the message queue. + * @param data Pointer to the message. + * @param timeout Waiting period to add the message, or one of the special + * values K_NO_WAIT and K_FOREVER. + * + * @retval 0 Message sent. + * @retval -ENOMSG Returned without waiting or queue purged. + * @retval -EAGAIN Waiting period timed out. + */ +static inline int k_msgq_put(struct k_msgq *msgq, const void *data, k_timeout_t timeout); + +/** + * @brief Receive a message from a message queue. + * + * This routine receives a message from message queue @a q in a "first in, + * first out" manner. + * + * @note @a timeout must be set to K_NO_WAIT if called from ISR. + * + * @funcprops \isr_ok + * + * @param msgq Address of the message queue. + * @param data Address of area to hold the received message. + * @param timeout Waiting period to receive the message, + * or one of the special values K_NO_WAIT and + * K_FOREVER. + * + * @retval 0 Message received. + * @retval -ENOMSG Returned without waiting or queue purged. + * @retval -EAGAIN Waiting period timed out. + */ +static inline int k_msgq_get(struct k_msgq *msgq, void *data, k_timeout_t timeout); + +/** + * @brief Peek/read a message from a message queue. + * + * This routine reads a message from message queue @a q in a "first in, + * first out" manner and leaves the message in the queue. + * + * @funcprops \isr_ok + * + * @param msgq Address of the message queue. + * @param data Address of area to hold the message read from the queue. + * + * @retval 0 Message read. + * @retval -ENOMSG Returned when the queue has no message. + */ +static inline int k_msgq_peek(struct k_msgq *msgq, void *data); + +/** + * @brief Peek/read a message from a message queue at the specified index + * + * This routine reads a message from message queue at the specified index + * and leaves the message in the queue. + * k_msgq_peek_at(msgq, data, 0) is equivalent to k_msgq_peek(msgq, data) + * + * @funcprops \isr_ok + * + * @param msgq Address of the message queue. + * @param data Address of area to hold the message read from the queue. + * @param idx Message queue index at which to peek + * + * @retval 0 Message read. + * @retval -ENOMSG Returned when the queue has no message at index. + */ +static inline int k_msgq_peek_at(struct k_msgq *msgq, void *data, uint32_t idx); + +/** + * @brief Purge a message queue. + * + * This routine discards all unreceived messages in a message queue's ring + * buffer. Any threads that are blocked waiting to send a message to the + * message queue are unblocked and see an -ENOMSG error code. + * + * @param msgq Address of the message queue. + */ +static inline void k_msgq_purge(struct k_msgq *msgq); + +/** + * @brief Get the amount of free space in a message queue. + * + * This routine returns the number of unused entries in a message queue's + * ring buffer. + * + * @param msgq Address of the message queue. + * + * @return Number of unused ring buffer entries. + */ +static inline uint32_t k_msgq_num_free_get(struct k_msgq *msgq); + +/** + * @brief Get basic attributes of a message queue. + * + * This routine fetches basic attributes of message queue into attr argument. + * + * @param msgq Address of the message queue. + * @param attrs pointer to message queue attribute structure. + */ +static inline void k_msgq_get_attrs(struct k_msgq *msgq, + struct k_msgq_attrs *attrs); + + +static inline uint32_t z_impl_k_msgq_num_free_get(struct k_msgq *msgq) +{ + return msgq->max_msgs - msgq->used_msgs; +} + +/** + * @brief Get the number of messages in a message queue. + * + * This routine returns the number of messages in a message queue's ring buffer. + * + * @param msgq Address of the message queue. + * + * @return Number of messages. + */ +static inline uint32_t k_msgq_num_used_get(struct k_msgq *msgq); + +static inline uint32_t z_impl_k_msgq_num_used_get(struct k_msgq *msgq) +{ + return msgq->used_msgs; +} + +/** @} */ + +/** + * @defgroup mailbox_apis Mailbox APIs + * @ingroup kernel_apis + * @{ + */ + +/** + * @brief Mailbox Message Structure + * + */ +struct k_mbox_msg { + /** size of message (in bytes) */ + size_t size; + /** application-defined information value */ + uint32_t info; + /** sender's message data buffer */ + void *tx_data; + /** source thread id */ + k_tid_t rx_source_thread; + /** target thread id */ + k_tid_t tx_target_thread; + /** internal use only - thread waiting on send (may be a dummy) */ + k_tid_t _syncing_thread; + + /** internal use only - semaphore used during asynchronous send */ + struct k_sem *_async_sem; + +}; +/** + * @brief Mailbox Structure + * + */ +struct k_mbox { + /** Transmit messages queue */ + _wait_q_t tx_msg_queue; + /** Receive message queue */ + _wait_q_t rx_msg_queue; + struct k_spinlock lock; + + + + + + +}; +/** + * @cond INTERNAL_HIDDEN + */ + + + + + + + +/** + * INTERNAL_HIDDEN @endcond + */ + +/** + * @brief Statically define and initialize a mailbox. + * + * The mailbox is to be accessed outside the module where it is defined using: + * + * @code extern struct k_mbox ; @endcode + * + * @param name Name of the mailbox. + */ + + + + +/** + * @brief Initialize a mailbox. + * + * This routine initializes a mailbox object, prior to its first use. + * + * @param mbox Address of the mailbox. + */ +void k_mbox_init(struct k_mbox *mbox); + +/** + * @brief Send a mailbox message in a synchronous manner. + * + * This routine sends a message to @a mbox and waits for a receiver to both + * receive and process it. The message data may be in a buffer or non-existent + * (i.e. an empty message). + * + * @param mbox Address of the mailbox. + * @param tx_msg Address of the transmit message descriptor. + * @param timeout Waiting period for the message to be received, + * or one of the special values K_NO_WAIT + * and K_FOREVER. Once the message has been received, + * this routine waits as long as necessary for the message + * to be completely processed. + * + * @retval 0 Message sent. + * @retval -ENOMSG Returned without waiting. + * @retval -EAGAIN Waiting period timed out. + */ +int k_mbox_put(struct k_mbox *mbox, struct k_mbox_msg *tx_msg, + k_timeout_t timeout); + +/** + * @brief Send a mailbox message in an asynchronous manner. + * + * This routine sends a message to @a mbox without waiting for a receiver + * to process it. The message data may be in a buffer or non-existent + * (i.e. an empty message). Optionally, the semaphore @a sem will be given + * when the message has been both received and completely processed by + * the receiver. + * + * @param mbox Address of the mailbox. + * @param tx_msg Address of the transmit message descriptor. + * @param sem Address of a semaphore, or NULL if none is needed. + */ +void k_mbox_async_put(struct k_mbox *mbox, struct k_mbox_msg *tx_msg, + struct k_sem *sem); + +/** + * @brief Receive a mailbox message. + * + * This routine receives a message from @a mbox, then optionally retrieves + * its data and disposes of the message. + * + * @param mbox Address of the mailbox. + * @param rx_msg Address of the receive message descriptor. + * @param buffer Address of the buffer to receive data, or NULL to defer data + * retrieval and message disposal until later. + * @param timeout Waiting period for a message to be received, + * or one of the special values K_NO_WAIT and K_FOREVER. + * + * @retval 0 Message received. + * @retval -ENOMSG Returned without waiting. + * @retval -EAGAIN Waiting period timed out. + */ +int k_mbox_get(struct k_mbox *mbox, struct k_mbox_msg *rx_msg, + void *buffer, k_timeout_t timeout); + +/** + * @brief Retrieve mailbox message data into a buffer. + * + * This routine completes the processing of a received message by retrieving + * its data into a buffer, then disposing of the message. + * + * Alternatively, this routine can be used to dispose of a received message + * without retrieving its data. + * + * @param rx_msg Address of the receive message descriptor. + * @param buffer Address of the buffer to receive data, or NULL to discard + * the data. + */ +void k_mbox_data_get(struct k_mbox_msg *rx_msg, void *buffer); + +/** @} */ + +/** + * @defgroup pipe_apis Pipe APIs + * @ingroup kernel_apis + * @{ + */ + +/** + * @brief initialize a pipe + * + * This routine initializes a pipe object, prior to its first use. + * + * @param pipe Address of the pipe. + * @param buffer Address of the pipe's buffer, or NULL if no ring buffer is used. + * @param buffer_size Size of the pipe's buffer, or zero if no ring buffer is used. + */ +static inline void k_pipe_init(struct k_pipe *pipe, uint8_t *buffer, size_t buffer_size); +# 5207 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" +enum pipe_flags { + PIPE_FLAG_OPEN = (1UL << (0)), + PIPE_FLAG_RESET = (1UL << (1)), +}; + +struct k_pipe { + size_t waiting; + struct ring_buf buf; + struct k_spinlock lock; + _wait_q_t data; + _wait_q_t space; + uint8_t flags; + + sys_dlist_t poll_events; + + + + +}; + +/** + * @cond INTERNAL_HIDDEN + */ +# 5239 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" +/** + * INTERNAL_HIDDEN @endcond + */ + +/** + * @brief Statically define and initialize a pipe. + * + * The pipe can be accessed outside the module where it is defined using: + * + * @code extern struct k_pipe ; @endcode + * + * @param name Name of the pipe. + * @param pipe_buffer_size Size of the pipe's ring buffer (in bytes) + * or zero if no ring buffer is used. + * @param pipe_align Alignment of the pipe's ring buffer (power of 2). + * + */ + + + + + + + +/** + * @brief Write data to a pipe + * + * This routine writes up to @a len bytes of data to @a pipe. + * If the pipe is full, the routine will block until the data can be written or the timeout expires. + * + * @param pipe Address of the pipe. + * @param data Address of data to write. + * @param len Size of data (in bytes). + * @param timeout Waiting period to wait for the data to be written. + * + * @retval number of bytes written on success + * @retval -EAGAIN if no data could be written before the timeout expired + * @retval -ECANCELED if the write was interrupted by k_pipe_reset(..) + * @retval -EPIPE if the pipe was closed + */ +static inline int k_pipe_write(struct k_pipe *pipe, const uint8_t *data, size_t len, + k_timeout_t timeout); + +/** + * @brief Read data from a pipe + * This routine reads up to @a len bytes of data from @a pipe. + * If the pipe is empty, the routine will block until the data can be read or the timeout expires. + * + * @param pipe Address of the pipe. + * @param data Address to place the data read from pipe. + * @param len Requested number of bytes to read. + * @param timeout Waiting period to wait for the data to be read. + * + * @retval number of bytes read on success + * @retval -EAGAIN if no data could be read before the timeout expired + * @retval -ECANCELED if the read was interrupted by k_pipe_reset(..) + * @retval -EPIPE if the pipe was closed + */ +static inline int k_pipe_read(struct k_pipe *pipe, uint8_t *data, size_t len, + k_timeout_t timeout); + +/** + * @brief Reset a pipe + * This routine resets the pipe, discarding any unread data and unblocking any threads waiting to + * write or read, causing the waiting threads to return with -ECANCELED. Calling k_pipe_read(..) or + * k_pipe_write(..) when the pipe is resetting but not yet reset will return -ECANCELED. + * The pipe is left open after a reset and can be used as normal. + * + * @param pipe Address of the pipe. + */ +static inline void k_pipe_reset(struct k_pipe *pipe); + +/** + * @brief Close a pipe + * + * This routine closes a pipe. Any threads that were blocked on the pipe + * will be unblocked and receive an error code. + * + * @param pipe Address of the pipe. + */ +static inline void k_pipe_close(struct k_pipe *pipe); + +/** @} */ + +/** + * @cond INTERNAL_HIDDEN + */ +struct k_mem_slab_info { + uint32_t num_blocks; + size_t block_size; + uint32_t num_used; + + + +}; + +struct k_mem_slab { + _wait_q_t wait_q; + struct k_spinlock lock; + char *buffer; + char *free_list; + struct k_mem_slab_info info; + + + + + + +}; +# 5360 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" +/** + * INTERNAL_HIDDEN @endcond + */ + +/** + * @defgroup mem_slab_apis Memory Slab APIs + * @ingroup kernel_apis + * @{ + */ + +/** + * @brief Statically define and initialize a memory slab in a public (non-static) scope. + * + * The memory slab's buffer contains @a slab_num_blocks memory blocks + * that are @a slab_block_size bytes long. The buffer is aligned to a + * @a slab_align -byte boundary. To ensure that each memory block is similarly + * aligned to this boundary, @a slab_block_size must also be a multiple of + * @a slab_align. + * + * The memory slab can be accessed outside the module where it is defined + * using: + * + * @code extern struct k_mem_slab ; @endcode + * + * @note This macro cannot be used together with a static keyword. + * If such a use-case is desired, use @ref K_MEM_SLAB_DEFINE_STATIC + * instead. + * + * @param name Name of the memory slab. + * @param slab_block_size Size of each memory block (in bytes). + * @param slab_num_blocks Number memory blocks. + * @param slab_align Alignment of the memory slab's buffer (power of 2). + */ +# 5401 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" +/** + * @brief Statically define and initialize a memory slab in a private (static) scope. + * + * The memory slab's buffer contains @a slab_num_blocks memory blocks + * that are @a slab_block_size bytes long. The buffer is aligned to a + * @a slab_align -byte boundary. To ensure that each memory block is similarly + * aligned to this boundary, @a slab_block_size must also be a multiple of + * @a slab_align. + * + * @param name Name of the memory slab. + * @param slab_block_size Size of each memory block (in bytes). + * @param slab_num_blocks Number memory blocks. + * @param slab_align Alignment of the memory slab's buffer (power of 2). + */ +# 5423 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" +/** + * @brief Initialize a memory slab. + * + * Initializes a memory slab, prior to its first use. + * + * The memory slab's buffer contains @a slab_num_blocks memory blocks + * that are @a slab_block_size bytes long. The buffer must be aligned to an + * N-byte boundary matching a word boundary, where N is a power of 2 + * (i.e. 4 on 32-bit systems, 8, 16, ...). + * To ensure that each memory block is similarly aligned to this boundary, + * @a slab_block_size must also be a multiple of N. + * + * @param slab Address of the memory slab. + * @param buffer Pointer to buffer used for the memory blocks. + * @param block_size Size of each memory block (in bytes). + * @param num_blocks Number of memory blocks. + * + * @retval 0 on success + * @retval -EINVAL invalid data supplied + * + */ +int k_mem_slab_init(struct k_mem_slab *slab, void *buffer, + size_t block_size, uint32_t num_blocks); + +/** + * @brief Allocate memory from a memory slab. + * + * This routine allocates a memory block from a memory slab. + * + * @note @a timeout must be set to K_NO_WAIT if called from ISR. + * @note When CONFIG_MULTITHREADING=n any @a timeout is treated as K_NO_WAIT. + * + * @funcprops \isr_ok + * + * @param slab Address of the memory slab. + * @param mem Pointer to block address area. + * @param timeout Waiting period to wait for operation to complete. + * Use K_NO_WAIT to return without waiting, + * or K_FOREVER to wait as long as necessary. + * + * @retval 0 Memory allocated. The block address area pointed at by @a mem + * is set to the starting address of the memory block. + * @retval -ENOMEM Returned without waiting. + * @retval -EAGAIN Waiting period timed out. + * @retval -EINVAL Invalid data supplied + */ +int k_mem_slab_alloc(struct k_mem_slab *slab, void **mem, + k_timeout_t timeout); + +/** + * @brief Free memory allocated from a memory slab. + * + * This routine releases a previously allocated memory block back to its + * associated memory slab. + * + * @param slab Address of the memory slab. + * @param mem Pointer to the memory block (as returned by k_mem_slab_alloc()). + */ +void k_mem_slab_free(struct k_mem_slab *slab, void *mem); + +/** + * @brief Get the number of used blocks in a memory slab. + * + * This routine gets the number of memory blocks that are currently + * allocated in @a slab. + * + * @param slab Address of the memory slab. + * + * @return Number of allocated memory blocks. + */ +static inline uint32_t k_mem_slab_num_used_get(struct k_mem_slab *slab) +{ + return slab->info.num_used; +} + +/** + * @brief Get the number of maximum used blocks so far in a memory slab. + * + * This routine gets the maximum number of memory blocks that were + * allocated in @a slab. + * + * @param slab Address of the memory slab. + * + * @return Maximum number of allocated memory blocks. + */ +static inline uint32_t k_mem_slab_max_used_get(struct k_mem_slab *slab) +{ + + + + (void)(slab); + return 0; + +} + +/** + * @brief Get the number of unused blocks in a memory slab. + * + * This routine gets the number of memory blocks that are currently + * unallocated in @a slab. + * + * @param slab Address of the memory slab. + * + * @return Number of unallocated memory blocks. + */ +static inline uint32_t k_mem_slab_num_free_get(struct k_mem_slab *slab) +{ + return slab->info.num_blocks - slab->info.num_used; +} + +/** + * @brief Get the memory stats for a memory slab + * + * This routine gets the runtime memory usage stats for the slab @a slab. + * + * @param slab Address of the memory slab + * @param stats Pointer to memory into which to copy memory usage statistics + * + * @retval 0 Success + * @retval -EINVAL Any parameter points to NULL + */ + +int k_mem_slab_runtime_stats_get(struct k_mem_slab *slab, struct sys_memory_stats *stats); + +/** + * @brief Reset the maximum memory usage for a slab + * + * This routine resets the maximum memory usage for the slab @a slab to its + * current usage. + * + * @param slab Address of the memory slab + * + * @retval 0 Success + * @retval -EINVAL Memory slab is NULL + */ +int k_mem_slab_runtime_stats_reset_max(struct k_mem_slab *slab); + +/** @} */ + +/** + * @addtogroup heap_apis + * @{ + */ + +/* kernel synchronized heap struct */ + +struct k_heap { + struct sys_heap heap; + _wait_q_t wait_q; + struct k_spinlock lock; +}; + +/** + * @brief Initialize a k_heap + * + * This constructs a synchronized k_heap object over a memory region + * specified by the user. Note that while any alignment and size can + * be passed as valid parameters, internal alignment restrictions + * inside the inner sys_heap mean that not all bytes may be usable as + * allocated memory. + * + * @param h Heap struct to initialize + * @param mem Pointer to memory. + * @param bytes Size of memory region, in bytes + */ +void k_heap_init(struct k_heap *h, void *mem, + size_t bytes) __attribute__((nonnull(1))); + +/** + * @brief Allocate aligned memory from a k_heap + * + * Behaves in all ways like k_heap_alloc(), except that the returned + * memory (if available) will have a starting address in memory which + * is a multiple of the specified power-of-two alignment value in + * bytes. The resulting memory can be returned to the heap using + * k_heap_free(). + * + * @note @a timeout must be set to K_NO_WAIT if called from ISR. + * @note When CONFIG_MULTITHREADING=n any @a timeout is treated as K_NO_WAIT. + * + * @funcprops \isr_ok + * + * @param h Heap from which to allocate + * @param align Alignment in bytes, must be a power of two + * @param bytes Number of bytes requested + * @param timeout How long to wait, or K_NO_WAIT + * @return Pointer to memory the caller can now use + */ +void *k_heap_aligned_alloc(struct k_heap *h, size_t align, size_t bytes, + k_timeout_t timeout) __attribute__((nonnull(1))); + +/** + * @brief Allocate memory from a k_heap + * + * Allocates and returns a memory buffer from the memory region owned + * by the heap. If no memory is available immediately, the call will + * block for the specified timeout (constructed via the standard + * timeout API, or K_NO_WAIT or K_FOREVER) waiting for memory to be + * freed. If the allocation cannot be performed by the expiration of + * the timeout, NULL will be returned. + * Allocated memory is aligned on a multiple of pointer sizes. + * + * @note @a timeout must be set to K_NO_WAIT if called from ISR. + * @note When CONFIG_MULTITHREADING=n any @a timeout is treated as K_NO_WAIT. + * + * @funcprops \isr_ok + * + * @param h Heap from which to allocate + * @param bytes Desired size of block to allocate + * @param timeout How long to wait, or K_NO_WAIT + * @return A pointer to valid heap memory, or NULL + */ +void *k_heap_alloc(struct k_heap *h, size_t bytes, + k_timeout_t timeout) __attribute__((nonnull(1))); + +/** + * @brief Allocate and initialize memory for an array of objects from a k_heap + * + * Allocates memory for an array of num objects of size and initializes all + * bytes in the allocated storage to zero. If no memory is available + * immediately, the call will block for the specified timeout (constructed + * via the standard timeout API, or K_NO_WAIT or K_FOREVER) waiting for memory + * to be freed. If the allocation cannot be performed by the expiration of + * the timeout, NULL will be returned. + * Allocated memory is aligned on a multiple of pointer sizes. + * + * @note @a timeout must be set to K_NO_WAIT if called from ISR. + * @note When CONFIG_MULTITHREADING=n any @a timeout is treated as K_NO_WAIT. + * + * @funcprops \isr_ok + * + * @param h Heap from which to allocate + * @param num Number of objects to allocate + * @param size Desired size of each object to allocate + * @param timeout How long to wait, or K_NO_WAIT + * @return A pointer to valid heap memory, or NULL + */ +void *k_heap_calloc(struct k_heap *h, size_t num, size_t size, k_timeout_t timeout) + __attribute__((nonnull(1))); + +/** + * @brief Reallocate memory from a k_heap + * + * Reallocates and returns a memory buffer from the memory region owned + * by the heap. If no memory is available immediately, the call will + * block for the specified timeout (constructed via the standard + * timeout API, or K_NO_WAIT or K_FOREVER) waiting for memory to be + * freed. If the allocation cannot be performed by the expiration of + * the timeout, NULL will be returned. + * Reallocated memory is aligned on a multiple of pointer sizes. + * + * @note @a timeout must be set to K_NO_WAIT if called from ISR. + * @note When CONFIG_MULTITHREADING=n any @a timeout is treated as K_NO_WAIT. + * + * @funcprops \isr_ok + * + * @param h Heap from which to allocate + * @param ptr Original pointer returned from a previous allocation + * @param bytes Desired size of block to allocate + * @param timeout How long to wait, or K_NO_WAIT + * + * @return Pointer to memory the caller can now use, or NULL + */ +void *k_heap_realloc(struct k_heap *h, void *ptr, size_t bytes, k_timeout_t timeout) + __attribute__((nonnull(1))); + +/** + * @brief Free memory allocated by k_heap_alloc() + * + * Returns the specified memory block, which must have been returned + * from k_heap_alloc(), to the heap for use by other callers. Passing + * a NULL block is legal, and has no effect. + * + * @param h Heap to which to return the memory + * @param mem A valid memory block, or NULL + */ +void k_heap_free(struct k_heap *h, void *mem) __attribute__((nonnull(1))); + +/* Hand-calculated minimum heap sizes needed to return a successful + * 1-byte allocation. See details in lib/os/heap.[ch] + */ + + +/** + * @brief Define a static k_heap in the specified linker section + * + * This macro defines and initializes a static memory region and + * k_heap of the requested size in the specified linker section. + * After kernel start, &name can be used as if k_heap_init() had + * been called. + * + * Note that this macro enforces a minimum size on the memory region + * to accommodate metadata requirements. Very small heaps will be + * padded to fit. + * + * @param name Symbol name for the struct k_heap object + * @param bytes Size of memory region, in bytes + * @param in_section __attribute__((section(name)) + */ +# 5733 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" +/** + * @brief Define a static k_heap + * + * This macro defines and initializes a static memory region and + * k_heap of the requested size. After kernel start, &name can be + * used as if k_heap_init() had been called. + * + * Note that this macro enforces a minimum size on the memory region + * to accommodate metadata requirements. Very small heaps will be + * padded to fit. + * + * @param name Symbol name for the struct k_heap object + * @param bytes Size of memory region, in bytes + */ + + + + +/** + * @brief Define a static k_heap in uncached memory + * + * This macro defines and initializes a static memory region and + * k_heap of the requested size in uncached memory. After kernel + * start, &name can be used as if k_heap_init() had been called. + * + * Note that this macro enforces a minimum size on the memory region + * to accommodate metadata requirements. Very small heaps will be + * padded to fit. + * + * @param name Symbol name for the struct k_heap object + * @param bytes Size of memory region, in bytes + */ + + + +/** + * @} + */ + +/** + * @defgroup heap_apis Heap APIs + * @ingroup kernel_apis + * @{ + */ + +/** + * @brief Allocate memory from the heap with a specified alignment. + * + * This routine provides semantics similar to aligned_alloc(); memory is + * allocated from the heap with a specified alignment. However, one minor + * difference is that k_aligned_alloc() accepts any non-zero @p size, + * whereas aligned_alloc() only accepts a @p size that is an integral + * multiple of @p align. + * + * Above, aligned_alloc() refers to: + * C11 standard (ISO/IEC 9899:2011): 7.22.3.1 + * The aligned_alloc function (p: 347-348) + * + * @param align Alignment of memory requested (in bytes). + * @param size Amount of memory requested (in bytes). + * + * @return Address of the allocated memory if successful; otherwise NULL. + */ +void *k_aligned_alloc(size_t align, size_t size); + +/** + * @brief Allocate memory from the heap. + * + * This routine provides traditional malloc() semantics. Memory is + * allocated from the heap memory pool. + * Allocated memory is aligned on a multiple of pointer sizes. + * + * @param size Amount of memory requested (in bytes). + * + * @return Address of the allocated memory if successful; otherwise NULL. + */ +void *k_malloc(size_t size); + +/** + * @brief Free memory allocated from heap. + * + * This routine provides traditional free() semantics. The memory being + * returned must have been allocated from the heap memory pool. + * + * If @a ptr is NULL, no operation is performed. + * + * @param ptr Pointer to previously allocated memory. + */ +void k_free(void *ptr); + +/** + * @brief Allocate memory from heap, array style + * + * This routine provides traditional calloc() semantics. Memory is + * allocated from the heap memory pool and zeroed. + * + * @param nmemb Number of elements in the requested array + * @param size Size of each array element (in bytes). + * + * @return Address of the allocated memory if successful; otherwise NULL. + */ +void *k_calloc(size_t nmemb, size_t size); + +/** @brief Expand the size of an existing allocation + * + * Returns a pointer to a new memory region with the same contents, + * but a different allocated size. If the new allocation can be + * expanded in place, the pointer returned will be identical. + * Otherwise the data will be copies to a new block and the old one + * will be freed as per sys_heap_free(). If the specified size is + * smaller than the original, the block will be truncated in place and + * the remaining memory returned to the heap. If the allocation of a + * new block fails, then NULL will be returned and the old block will + * not be freed or modified. + * + * @param ptr Original pointer returned from a previous allocation + * @param size Amount of memory requested (in bytes). + * + * @return Pointer to memory the caller can now use, or NULL. + */ +void *k_realloc(void *ptr, size_t size); + +/** @} */ + +/* polling API - PRIVATE */ + + + + + + + +/* private - types bit positions */ +enum _poll_types_bits { + /* can be used to ignore an event */ + _POLL_TYPE_IGNORE, + + /* to be signaled by k_poll_signal_raise() */ + _POLL_TYPE_SIGNAL, + + /* semaphore availability */ + _POLL_TYPE_SEM_AVAILABLE, + + /* queue/FIFO/LIFO data availability */ + _POLL_TYPE_DATA_AVAILABLE, + + /* msgq data availability */ + _POLL_TYPE_MSGQ_DATA_AVAILABLE, + + /* pipe data availability */ + _POLL_TYPE_PIPE_DATA_AVAILABLE, + + _POLL_NUM_TYPES +}; + + + +/* private - states bit positions */ +enum _poll_states_bits { + /* default state when creating event */ + _POLL_STATE_NOT_READY, + + /* signaled by k_poll_signal_raise() */ + _POLL_STATE_SIGNALED, + + /* semaphore is available */ + _POLL_STATE_SEM_AVAILABLE, + + /* data is available to read on queue/FIFO/LIFO */ + _POLL_STATE_DATA_AVAILABLE, + + /* queue/FIFO/LIFO wait was cancelled */ + _POLL_STATE_CANCELLED, + + /* data is available to read on a message queue */ + _POLL_STATE_MSGQ_DATA_AVAILABLE, + + /* data is available to read from a pipe */ + _POLL_STATE_PIPE_DATA_AVAILABLE, + + _POLL_NUM_STATES +}; +# 5926 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" +/* end of polling API - PRIVATE */ + + +/** + * @defgroup poll_apis Async polling APIs + * @ingroup kernel_apis + * @{ + */ + +/* Public polling API */ + +/* public - values for k_poll_event.type bitfield */ +# 5946 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" +/* public - polling modes */ +enum k_poll_modes { + /* polling thread does not take ownership of objects when available */ + K_POLL_MODE_NOTIFY_ONLY = 0, + + K_POLL_NUM_MODES +}; + +/* public - values for k_poll_event.state bitfield */ +# 5964 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" +/* public - poll signal object */ +struct k_poll_signal { + /** PRIVATE - DO NOT TOUCH */ + sys_dlist_t poll_events; + + /** + * 1 if the event has been signaled, 0 otherwise. Stays set to 1 until + * user resets it to 0. + */ + unsigned int signaled; + + /** custom result value passed to k_poll_signal_raise() if needed */ + int result; +}; + + + + + + + +/** + * @brief Poll Event + * + */ +struct k_poll_event { + /** PRIVATE - DO NOT TOUCH */ + sys_dnode_t _node; + + /** PRIVATE - DO NOT TOUCH */ + struct z_poller *poller; + + /** optional user-specified tag, opaque, untouched by the API */ + uint32_t tag:8; + + /** bitfield of event types (bitwise-ORed K_POLL_TYPE_xxx values) */ + uint32_t type:_POLL_NUM_TYPES; + + /** bitfield of event states (bitwise-ORed K_POLL_STATE_xxx values) */ + uint32_t state:_POLL_NUM_STATES; + + /** mode of operation, from enum k_poll_modes */ + uint32_t mode:1; + + /** unused bits in 32-bit word */ + uint32_t unused:(32 - (0 + 8 + _POLL_NUM_TYPES + _POLL_NUM_STATES + 1 )); + + /** per-type data */ + union { + /* The typed_* fields below are used by K_POLL_EVENT_*INITIALIZER() macros to ensure + * type safety of polled objects. + */ + void *obj, *typed_K_POLL_TYPE_IGNORE; + struct k_poll_signal *signal, *typed_K_POLL_TYPE_SIGNAL; + struct k_sem *sem, *typed_K_POLL_TYPE_SEM_AVAILABLE; + struct k_fifo *fifo, *typed_K_POLL_TYPE_FIFO_DATA_AVAILABLE; + struct k_queue *queue, *typed_K_POLL_TYPE_DATA_AVAILABLE; + struct k_msgq *msgq, *typed_K_POLL_TYPE_MSGQ_DATA_AVAILABLE; + struct k_pipe *pipe, *typed_K_POLL_TYPE_PIPE_DATA_AVAILABLE; + }; +}; +# 6051 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" +/** + * @brief Initialize one struct k_poll_event instance + * + * After this routine is called on a poll event, the event it ready to be + * placed in an event array to be passed to k_poll(). + * + * @param event The event to initialize. + * @param type A bitfield of the types of event, from the K_POLL_TYPE_xxx + * values. Only values that apply to the same object being polled + * can be used together. Choosing K_POLL_TYPE_IGNORE disables the + * event. + * @param mode Future. Use K_POLL_MODE_NOTIFY_ONLY. + * @param obj Kernel object or poll signal. + */ + +void k_poll_event_init(struct k_poll_event *event, uint32_t type, + int mode, void *obj); + +/** + * @brief Wait for one or many of multiple poll events to occur + * + * This routine allows a thread to wait concurrently for one or many of + * multiple poll events to have occurred. Such events can be a kernel object + * being available, like a semaphore, or a poll signal event. + * + * When an event notifies that a kernel object is available, the kernel object + * is not "given" to the thread calling k_poll(): it merely signals the fact + * that the object was available when the k_poll() call was in effect. Also, + * all threads trying to acquire an object the regular way, i.e. by pending on + * the object, have precedence over the thread polling on the object. This + * means that the polling thread will never get the poll event on an object + * until the object becomes available and its pend queue is empty. For this + * reason, the k_poll() call is more effective when the objects being polled + * only have one thread, the polling thread, trying to acquire them. + * + * When k_poll() returns 0, the caller should loop on all the events that were + * passed to k_poll() and check the state field for the values that were + * expected and take the associated actions. + * + * Before being reused for another call to k_poll(), the user has to reset the + * state field to K_POLL_STATE_NOT_READY. + * + * When called from user mode, a temporary memory allocation is required from + * the caller's resource pool. + * + * @param events An array of events to be polled for. + * @param num_events The number of events in the array. + * @param timeout Waiting period for an event to be ready, + * or one of the special values K_NO_WAIT and K_FOREVER. + * + * @retval 0 One or more events are ready. + * @retval -EAGAIN Waiting period timed out. + * @retval -EINTR Polling has been interrupted, e.g. with + * k_queue_cancel_wait(). All output events are still set and valid, + * cancelled event(s) will be set to K_POLL_STATE_CANCELLED. In other + * words, -EINTR status means that at least one of output events is + * K_POLL_STATE_CANCELLED. + * @retval -ENOMEM Thread resource pool insufficient memory (user mode only) + * @retval -EINVAL Bad parameters (user mode only) + */ + +static inline int k_poll(struct k_poll_event *events, int num_events, + k_timeout_t timeout); + +/** + * @brief Initialize a poll signal object. + * + * Ready a poll signal object to be signaled via k_poll_signal_raise(). + * + * @param sig A poll signal. + */ + +static inline void k_poll_signal_init(struct k_poll_signal *sig); + +/** + * @brief Reset a poll signal object's state to unsignaled. + * + * @param sig A poll signal object + */ +static inline void k_poll_signal_reset(struct k_poll_signal *sig); + +/** + * @brief Fetch the signaled state and result value of a poll signal + * + * @param sig A poll signal object + * @param signaled An integer buffer which will be written nonzero if the + * object was signaled + * @param result An integer destination buffer which will be written with the + * result value if the object was signaled, or an undefined + * value if it was not. + */ +static inline void k_poll_signal_check(struct k_poll_signal *sig, + unsigned int *signaled, int *result); + +/** + * @brief Signal a poll signal object. + * + * This routine makes ready a poll signal, which is basically a poll event of + * type K_POLL_TYPE_SIGNAL. If a thread was polling on that event, it will be + * made ready to run. A @a result value can be specified. + * + * The poll signal contains a 'signaled' field that, when set by + * k_poll_signal_raise(), stays set until the user sets it back to 0 with + * k_poll_signal_reset(). It thus has to be reset by the user before being + * passed again to k_poll() or k_poll() will consider it being signaled, and + * will return immediately. + * + * @note The result is stored and the 'signaled' field is set even if + * this function returns an error indicating that an expiring poll was + * not notified. The next k_poll() will detect the missed raise. + * + * @param sig A poll signal. + * @param result The value to store in the result field of the signal. + * + * @retval 0 The signal was delivered successfully. + * @retval -EAGAIN The polling thread's timeout is in the process of expiring. + */ + +static inline int k_poll_signal_raise(struct k_poll_signal *sig, int result); + +/** @} */ + +/** + * @defgroup cpu_idle_apis CPU Idling APIs + * @ingroup kernel_apis + * @{ + */ +/** + * @brief Make the CPU idle. + * + * This function makes the CPU idle until an event wakes it up. + * + * In a regular system, the idle thread should be the only thread responsible + * for making the CPU idle and triggering any type of power management. + * However, in some more constrained systems, such as a single-threaded system, + * the only thread would be responsible for this if needed. + * + * @note In some architectures, before returning, the function unmasks interrupts + * unconditionally. + */ +static inline void k_cpu_idle(void) +{ + arch_cpu_idle(); +} + +/** + * @brief Make the CPU idle in an atomic fashion. + * + * Similar to k_cpu_idle(), but must be called with interrupts locked. + * + * Enabling interrupts and entering a low-power mode will be atomic, + * i.e. there will be no period of time where interrupts are enabled before + * the processor enters a low-power mode. + * + * After waking up from the low-power mode, the interrupt lockout state will + * be restored as if by irq_unlock(key). + * + * @param key Interrupt locking key obtained from irq_lock(). + */ +static inline void k_cpu_atomic_idle(unsigned int key) +{ + arch_cpu_atomic_idle(key); +} + +/** + * @} + */ + +/** + * @cond INTERNAL_HIDDEN + * @internal + */ + +/* This architecture has direct support for triggering a CPU exception */ +# 6247 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" +/** + * INTERNAL_HIDDEN @endcond + */ + +/** + * @brief Fatally terminate a thread + * + * This should be called when a thread has encountered an unrecoverable + * runtime condition and needs to terminate. What this ultimately + * means is determined by the _fatal_error_handler() implementation, which + * will be called will reason code K_ERR_KERNEL_OOPS. + * + * If this is called from ISR context, the default system fatal error handler + * will treat it as an unrecoverable system error, just like k_panic(). + */ + + +/** + * @brief Fatally terminate the system + * + * This should be called when the Zephyr kernel has encountered an + * unrecoverable runtime condition and needs to terminate. What this ultimately + * means is determined by the _fatal_error_handler() implementation, which + * will be called will reason code K_ERR_KERNEL_PANIC. + */ + + +/** + * @cond INTERNAL_HIDDEN + */ + +/* + * private APIs that are utilized by one or more public APIs + */ + +/** + * @internal + */ +void z_timer_expiration_handler(struct _timeout *timeout); +/** + * INTERNAL_HIDDEN @endcond + */ + + +/** + * @brief Emit a character buffer to the console device + * + * @param c String of characters to print + * @param n The length of the string + * + */ +static inline void k_str_out(char *c, size_t n); + + +/** + * @defgroup float_apis Floating Point APIs + * @ingroup kernel_apis + * @{ + */ + +/** + * @brief Disable preservation of floating point context information. + * + * This routine informs the kernel that the specified thread + * will no longer be using the floating point registers. + * + * @warning + * Some architectures apply restrictions on how the disabling of floating + * point preservation may be requested, see arch_float_disable. + * + * @warning + * This routine should only be used to disable floating point support for + * a thread that currently has such support enabled. + * + * @param thread ID of thread. + * + * @retval 0 On success. + * @retval -ENOTSUP If the floating point disabling is not implemented. + * -EINVAL If the floating point disabling could not be performed. + */ +static inline int k_float_disable(struct k_thread *thread); + +/** + * @brief Enable preservation of floating point context information. + * + * This routine informs the kernel that the specified thread + * will use the floating point registers. + + * Invoking this routine initializes the thread's floating point context info + * to that of an FPU that has been reset. The next time the thread is scheduled + * by z_swap() it will either inherit an FPU that is guaranteed to be in a + * "sane" state (if the most recent user of the FPU was cooperatively swapped + * out) or the thread's own floating point context will be loaded (if the most + * recent user of the FPU was preempted, or if this thread is the first user + * of the FPU). Thereafter, the kernel will protect the thread's FP context + * so that it is not altered during a preemptive context switch. + * + * The @a options parameter indicates which floating point register sets will + * be used by the specified thread. + * + * For x86 options: + * + * - K_FP_REGS indicates x87 FPU and MMX registers only + * - K_SSE_REGS indicates SSE registers (and also x87 FPU and MMX registers) + * + * @warning + * Some architectures apply restrictions on how the enabling of floating + * point preservation may be requested, see arch_float_enable. + * + * @warning + * This routine should only be used to enable floating point support for + * a thread that currently has such support enabled. + * + * @param thread ID of thread. + * @param options architecture dependent options + * + * @retval 0 On success. + * @retval -ENOTSUP If the floating point enabling is not implemented. + * -EINVAL If the floating point enabling could not be performed. + */ +static inline int k_float_enable(struct k_thread *thread, unsigned int options); + +/** + * @} + */ + +/** + * @brief Get the runtime statistics of a thread + * + * @param thread ID of thread. + * @param stats Pointer to struct to copy statistics into. + * @return -EINVAL if null pointers, otherwise 0 + */ +int k_thread_runtime_stats_get(k_tid_t thread, + k_thread_runtime_stats_t *stats); + +/** + * @brief Get the runtime statistics of all threads + * + * @param stats Pointer to struct to copy statistics into. + * @return -EINVAL if null pointers, otherwise 0 + */ +int k_thread_runtime_stats_all_get(k_thread_runtime_stats_t *stats); + +/** + * @brief Get the runtime statistics of all threads on specified cpu + * + * @param cpu The cpu number + * @param stats Pointer to struct to copy statistics into. + * @return -EINVAL if null pointers, otherwise 0 + */ +int k_thread_runtime_stats_cpu_get(int cpu, k_thread_runtime_stats_t *stats); + +/** + * @brief Enable gathering of runtime statistics for specified thread + * + * This routine enables the gathering of runtime statistics for the specified + * thread. + * + * @param thread ID of thread + * @return -EINVAL if invalid thread ID, otherwise 0 + */ +int k_thread_runtime_stats_enable(k_tid_t thread); + +/** + * @brief Disable gathering of runtime statistics for specified thread + * + * This routine disables the gathering of runtime statistics for the specified + * thread. + * + * @param thread ID of thread + * @return -EINVAL if invalid thread ID, otherwise 0 + */ +int k_thread_runtime_stats_disable(k_tid_t thread); + +/** + * @brief Enable gathering of system runtime statistics + * + * This routine enables the gathering of system runtime statistics. Note that + * it does not affect the gathering of similar statistics for individual + * threads. + */ +void k_sys_runtime_stats_enable(void); + +/** + * @brief Disable gathering of system runtime statistics + * + * This routine disables the gathering of system runtime statistics. Note that + * it does not affect the gathering of similar statistics for individual + * threads. + */ +void k_sys_runtime_stats_disable(void); + + +} + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/tracing/tracing.h" 1 +/* + * Copyright (c) 2018 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" 1 +/* + * Copyright (c) 2016, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * + * @brief Public kernel APIs. + */ +# 10 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/tracing/tracing.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/tracing/tracking.h" 1 +/* + * Copyright (c) 2021 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" 1 +/* + * Copyright (c) 2016, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * + * @brief Public kernel APIs. + */ +# 10 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/tracing/tracking.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel_structs.h" 1 +/* + * Copyright (c) 2016 Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/* + * The purpose of this file is to provide essential/minimal kernel structure + * definitions, so that they can be used without including kernel.h. + * + * The following rules must be observed: + * 1. kernel_structs.h shall not depend on kernel.h both directly and + * indirectly (i.e. it shall not include any header files that include + * kernel.h in their dependency chain). + * 2. kernel.h shall imply kernel_structs.h, such that it shall not be + * necessary to include kernel_structs.h explicitly when kernel.h is + * included. + */ +# 11 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/tracing/tracking.h" 2 +# 12 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/tracing/tracing.h" 2 +# 22 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/tracing/tracing.h" +/** + * @brief Tracing + * + * The tracing subsystem provides hooks that permits you to collect data from + * your application and allows tools running on a host to visualize the + * inner-working of the kernel and various other subsystems. + * + * @defgroup subsys_tracing Tracing + * @ingroup os_services + * @{ + */ + +/** + * @brief Tracing APIs + * @defgroup subsys_tracing_apis Tracing APIs + * @{ + */ + +/** + * @brief Thread Tracing APIs + * @defgroup subsys_tracing_apis_thread Thread Tracing APIs + * @{ + */ + +/** + * @brief Called when entering a k_thread_foreach call + */ + + +/** + * @brief Called when exiting a k_thread_foreach call + */ + + +/** + * @brief Called when entering a k_thread_foreach_unlocked + */ + + +/** + * @brief Called when exiting a k_thread_foreach_unlocked + */ + + +/** + * @brief Trace creating a Thread + * @param new_thread Thread object + */ + + +/** + * @brief Trace Thread entering user mode + */ + + +/** + * @brief Called when entering a k_thread_join + * @param thread Thread object + * @param timeout Timeout period + */ + + +/** + * @brief Called when k_thread_join blocks + * @param thread Thread object + * @param timeout Timeout period + */ + + +/** + * @brief Called when exiting k_thread_join + * @param thread Thread object + * @param timeout Timeout period + * @param ret Return value + */ + + +/** + * @brief Called when entering k_thread_sleep + * @param timeout Timeout period + */ + + +/** + * @brief Called when exiting k_thread_sleep + * @param timeout Timeout period + * @param ret Return value + */ + + +/** + * @brief Called when entering k_thread_msleep + * @param ms Duration in milliseconds + */ + + +/** + * @brief Called when exiting k_thread_msleep + * @param ms Duration in milliseconds + * @param ret Return value + */ + + +/** + * @brief Called when entering k_thread_usleep + * @param us Duration in microseconds + */ + + +/** + * @brief Called when exiting k_thread_usleep + * @param us Duration in microseconds + * @param ret Return value + */ + + +/** + * @brief Called when entering k_thread_busy_wait + * @param usec_to_wait Duration in microseconds + */ + + +/** + * @brief Called when exiting k_thread_busy_wait + * @param usec_to_wait Duration in microseconds + */ + + +/** + * @brief Called when a thread yields + */ + + +/** + * @brief Called when a thread wakes up + * @param thread Thread object + */ + + +/** + * @brief Called when a thread is started + * @param thread Thread object + */ + + +/** + * @brief Called when a thread is being aborted + * @param thread Thread object + */ + + +/** + * @brief Called when a thread enters the k_thread_abort routine + * @param thread Thread object + */ + + +/** + * @brief Called when a thread exits the k_thread_abort routine + * @param thread Thread object + */ + + +/** + * @brief Called when setting priority of a thread + * @param thread Thread object + */ + + +/** + * @brief Called when a thread enters the k_thread_suspend + * function. + * @param thread Thread object + */ + + +/** + * @brief Called when a thread exits the k_thread_suspend + * function. + * @param thread Thread object + */ + + +/** + * @brief Called when a thread enters the resume from suspension + * function. + * @param thread Thread object + */ + + +/** + * @brief Called when a thread exits the resumed from suspension + * function. + * @param thread Thread object + */ + + +/** + * @brief Called when the thread scheduler is locked + */ + + +/** + * @brief Called when the thread scheduler is unlocked + */ + + +/** + * @brief Called when a thread name is set + * @param thread Thread object + * @param ret Return value + */ + + +/** + * @brief Called before a thread has been selected to run + */ + + +/** + * @brief Called after a thread has been selected to run + */ + + +/** + * @brief Called when a thread is ready to run + * @param thread Thread object + */ + + +/** + * @brief Called when a thread is pending + * @param thread Thread object + */ + + +/** + * @brief Provide information about specific thread + * @param thread Thread object + */ + + +/** + * @brief Trace implicit thread wakeup invocation by the scheduler + * @param thread Thread object + */ + + +/** + * @brief Trace implicit thread abort invocation by the scheduler + * @param thread Thread object + */ + + +/** + * @brief Trace implicit thread set priority invocation by the scheduler + * @param thread Thread object + * @param prio Thread priority + */ + + +/** + * @brief Trace implicit thread ready invocation by the scheduler + * @param thread Thread object + */ + + +/** + * @brief Trace implicit thread pend invocation by the scheduler + * @param thread Thread object + */ + + +/** + * @brief Trace implicit thread resume invocation by the scheduler + * @param thread Thread object + */ + + +/** + * @brief Trace implicit thread suspend invocation by the scheduler + * @param thread Thread object + */ + + +/** @}c*/ /* end of subsys_tracing_apis_thread */ + +/** + * @brief Work Tracing APIs + * @defgroup subsys_tracing_apis_work Work Tracing APIs + * @{ + */ + +/** + * @brief Trace initialisation of a Work structure + * @param work Work structure + */ + + +/** + * @brief Trace submit work to work queue call entry + * @param queue Work queue structure + * @param work Work structure + */ + + +/** + * @brief Trace submit work to work queue call exit + * @param queue Work queue structure + * @param work Work structure + * @param ret Return value + */ + + +/** + * @brief Trace submit work to system work queue call entry + * @param work Work structure + */ + + +/** + * @brief Trace submit work to system work queue call exit + * @param work Work structure + * @param ret Return value + */ + + +/** + * @brief Trace flush work call entry + * @param work Work structure + */ + + +/** + * @brief Trace flush work call blocking + * @param work Work structure + * @param timeout Timeout period + */ + + +/** + * @brief Trace flush work call exit + * @param work Work structure + * @param ret Return value + */ + + +/** + * @brief Trace cancel work call entry + * @param work Work structure + */ + + +/** + * @brief Trace cancel work call exit + * @param work Work structure + * @param ret Return value + */ + + +/** + * @brief Trace cancel sync work call entry + * @param work Work structure + * @param sync Sync object + */ + + +/** + * @brief Trace cancel sync work call blocking + * @param work Work structure + * @param sync Sync object + */ + + +/** + * @brief Trace cancel sync work call exit + * @param work Work structure + * @param sync Sync object + * @param ret Return value + */ + + +/** @} */ /* end of subsys_tracing_apis_work */ + +/** + * @brief Work Queue Tracing APIs + * @defgroup subsys_tracing_apis_work_q Work Queue Tracing APIs + * @{ + */ + +/** + * @brief Trace initialisation of a Work Queue structure + * @param queue Work Queue structure + */ + + +/** + * @brief Trace start of a Work Queue call entry + * @param queue Work Queue structure + */ + + +/** + * @brief Trace start of a Work Queue call exit + * @param queue Work Queue structure + */ + + +/** + * @brief Trace stop of a Work Queue call entry + * @param queue Work Queue structure + * @param timeout Timeout period + */ + + +/** + * @brief Trace stop of a Work Queue call blocking + * @param queue Work Queue structure + * @param timeout Timeout period + */ + + +/** + * @brief Trace stop of a Work Queue call exit + * @param queue Work Queue structure + * @param timeout Timeout period + * @param ret Return value + */ + + +/** + * @brief Trace Work Queue drain call entry + * @param queue Work Queue structure + */ + + +/** + * @brief Trace Work Queue drain call exit + * @param queue Work Queue structure + * @param ret Return value + */ + + +/** + * @brief Trace Work Queue unplug call entry + * @param queue Work Queue structure + */ + + +/** + * @brief Trace Work Queue unplug call exit + * @param queue Work Queue structure + * @param ret Return value + */ + + +/** @} */ /* end of subsys_tracing_apis_work_q */ + +/** + * @brief Work Delayable Tracing APIs + * @defgroup subsys_tracing_apis_work_delayable Work Delayable Tracing APIs + * @{ + */ + +/** + * @brief Trace initialisation of a Delayable Work structure + * @param dwork Delayable Work structure + */ + + +/** + * @brief Trace schedule delayable work for queue enter + * @param queue Work Queue structure + * @param dwork Delayable Work structure + * @param delay Delay period + */ + + +/** + * @brief Trace schedule delayable work for queue exit + * @param queue Work Queue structure + * @param dwork Delayable Work structure + * @param delay Delay period + * @param ret Return value + */ + + +/** + * @brief Trace schedule delayable work for system work queue enter + * @param dwork Delayable Work structure + * @param delay Delay period + */ + + +/** + * @brief Trace schedule delayable work for system work queue exit + * @param dwork Delayable Work structure + * @param delay Delay period + * @param ret Return value + */ + + +/** + * @brief Trace reschedule delayable work for queue enter + * @param queue Work Queue structure + * @param dwork Delayable Work structure + * @param delay Delay period + */ + + +/** + * @brief Trace reschedule delayable work for queue exit + * @param queue Work Queue structure + * @param dwork Delayable Work structure + * @param delay Delay period + * @param ret Return value + */ + + +/** + * @brief Trace reschedule delayable work for system queue enter + * @param dwork Delayable Work structure + * @param delay Delay period + */ + + +/** + * @brief Trace reschedule delayable work for system queue exit + * @param dwork Delayable Work structure + * @param delay Delay period + * @param ret Return value + */ + + +/** + * @brief Trace delayable work flush enter + * @param dwork Delayable Work structure + * @param sync Sync object + */ + + +/** + * @brief Trace delayable work flush exit + * @param dwork Delayable Work structure + * @param sync Sync object + * @param ret Return value + */ + + +/** + * @brief Trace delayable work cancel enter + * @param dwork Delayable Work structure + */ + + +/** + * @brief Trace delayable work cancel enter + * @param dwork Delayable Work structure + * @param ret Return value + */ + + +/** + * @brief Trace delayable work cancel sync enter + * @param dwork Delayable Work structure + * @param sync Sync object + */ + + +/** + * @brief Trace delayable work cancel sync enter + * @param dwork Delayable Work structure + * @param sync Sync object + * @param ret Return value + */ + + +/** @} */ /* end of subsys_tracing_apis_work_delayable */ + +/** + * @brief Work Poll Tracing APIs + * @defgroup subsys_tracing_apis_work_poll Work Poll Tracing APIs + * @{ + */ + +/** + * @brief Trace initialisation of a Work Poll structure enter + * @param work Work structure + */ + + +/** + * @brief Trace initialisation of a Work Poll structure exit + * @param work Work structure + */ + + +/** + * @brief Trace work poll submit to queue enter + * @param work_q Work queue + * @param work Work structure + * @param timeout Timeout period + */ + + +/** + * @brief Trace work poll submit to queue blocking + * @param work_q Work queue + * @param work Work structure + * @param timeout Timeout period + */ + + +/** + * @brief Trace work poll submit to queue exit + * @param work_q Work queue + * @param work Work structure + * @param timeout Timeout period + * @param ret Return value + */ + + +/** + * @brief Trace work poll submit to system queue enter + * @param work Work structure + * @param timeout Timeout period + */ + + +/** + * @brief Trace work poll submit to system queue exit + * @param work Work structure + * @param timeout Timeout period + * @param ret Return value + */ + + +/** + * @brief Trace work poll cancel enter + * @param work Work structure + */ + + +/** + * @brief Trace work poll cancel exit + * @param work Work structure + * @param ret Return value + */ + + +/** @} */ /* end of subsys_tracing_apis_work_poll */ + +/** + * @brief Poll Tracing APIs + * @defgroup subsys_tracing_apis_poll Poll Tracing APIs + * @{ + */ + +/** + * @brief Trace initialisation of a Poll Event + * @param event Poll Event + */ + + +/** + * @brief Trace Polling call start + * @param events Poll Events + */ + + +/** + * @brief Trace Polling call outcome + * @param events Poll Events + * @param ret Return value + */ + + +/** + * @brief Trace initialisation of a Poll Signal + * @param signal Poll Signal + */ + + +/** + * @brief Trace resetting of Poll Signal + * @param signal Poll Signal + */ + + +/** + * @brief Trace checking of Poll Signal + * @param signal Poll Signal + */ + + +/** + * @brief Trace raising of Poll Signal + * @param signal Poll Signal + * @param ret Return value + */ + + +/** @} */ /* end of subsys_tracing_apis_poll */ + +/** + * @brief Semaphore Tracing APIs + * @defgroup subsys_tracing_apis_sem Semaphore Tracing APIs + * @{ + */ + +/** + * @brief Trace initialisation of a Semaphore + * @param sem Semaphore object + * @param ret Return value + */ + + +/** + * @brief Trace giving a Semaphore entry + * @param sem Semaphore object + */ + + +/** + * @brief Trace giving a Semaphore exit + * @param sem Semaphore object + */ + + +/** + * @brief Trace taking a Semaphore attempt start + * @param sem Semaphore object + * @param timeout Timeout period + */ + + +/** + * @brief Trace taking a Semaphore attempt blocking + * @param sem Semaphore object + * @param timeout Timeout period + */ + + +/** + * @brief Trace taking a Semaphore attempt outcome + * @param sem Semaphore object + * @param timeout Timeout period + * @param ret Return value + */ + + +/** + * @brief Trace resetting a Semaphore + * @param sem Semaphore object + */ + + +/** @} */ /* end of subsys_tracing_apis_sem */ + +/** + * @brief Mutex Tracing APIs + * @defgroup subsys_tracing_apis_mutex Mutex Tracing APIs + * @{ + */ + +/** + * @brief Trace initialization of Mutex + * @param mutex Mutex object + * @param ret Return value + */ + + +/** + * @brief Trace Mutex lock attempt start + * @param mutex Mutex object + * @param timeout Timeout period + */ + + +/** + * @brief Trace Mutex lock attempt blocking + * @param mutex Mutex object + * @param timeout Timeout period + */ + + +/** + * @brief Trace Mutex lock attempt outcome + * @param mutex Mutex object + * @param timeout Timeout period + * @param ret Return value + */ + + +/** + * @brief Trace Mutex unlock entry + * @param mutex Mutex object + */ + + +/** + * @brief Trace Mutex unlock exit + */ + + +/** @} */ /* end of subsys_tracing_apis_mutex */ + +/** + * @brief Conditional Variable Tracing APIs + * @defgroup subsys_tracing_apis_condvar Conditional Variable Tracing APIs + * @{ + */ + +/** + * @brief Trace initialization of Conditional Variable + * @param condvar Conditional Variable object + * @param ret Return value + */ + + +/** + * @brief Trace Conditional Variable signaling start + * @param condvar Conditional Variable object + */ + + +/** + * @brief Trace Conditional Variable signaling blocking + * @param condvar Conditional Variable object + * @param timeout Timeout period + */ + + +/** + * @brief Trace Conditional Variable signaling outcome + * @param condvar Conditional Variable object + * @param ret Return value + */ + + +/** + * @brief Trace Conditional Variable broadcast enter + * @param condvar Conditional Variable object + */ + + +/** + * @brief Trace Conditional Variable broadcast exit + * @param condvar Conditional Variable object + * @param ret Return value + */ + + +/** + * @brief Trace Conditional Variable wait enter + * @param condvar Conditional Variable object + */ + + +/** + * @brief Trace Conditional Variable wait exit + * @param condvar Conditional Variable object + * @param ret Return value + */ + + +/** @} */ /* end of subsys_tracing_apis_condvar */ + +/** + * @brief Queue Tracing APIs + * @defgroup subsys_tracing_apis_queue Queue Tracing APIs + * @{ + */ + +/** + * @brief Trace initialization of Queue + * @param queue Queue object + */ + + +/** + * @brief Trace Queue cancel wait + * @param queue Queue object + */ + + +/** + * @brief Trace Queue insert attempt entry + * @param queue Queue object + * @param alloc Allocation flag + */ + + +/** + * @brief Trace Queue insert attempt blocking + * @param queue Queue object + * @param alloc Allocation flag + * @param timeout Timeout period + */ + + +/** + * @brief Trace Queue insert attempt outcome + * @param queue Queue object + * @param alloc Allocation flag + * @param ret Return value + */ + + +/** + * @brief Trace Queue append enter + * @param queue Queue object + */ + + +/** + * @brief Trace Queue append exit + * @param queue Queue object + */ + + +/** + * @brief Trace Queue alloc append enter + * @param queue Queue object + */ + + +/** + * @brief Trace Queue alloc append exit + * @param queue Queue object + * @param ret Return value + */ + + +/** + * @brief Trace Queue prepend enter + * @param queue Queue object + */ + + +/** + * @brief Trace Queue prepend exit + * @param queue Queue object + */ + + +/** + * @brief Trace Queue alloc prepend enter + * @param queue Queue object + */ + + +/** + * @brief Trace Queue alloc prepend exit + * @param queue Queue object + * @param ret Return value + */ + + +/** + * @brief Trace Queue insert attempt entry + * @param queue Queue object + */ + + +/** + * @brief Trace Queue insert attempt blocking + * @param queue Queue object + * @param timeout Timeout period + */ + + +/** + * @brief Trace Queue insert attempt exit + * @param queue Queue object + */ + + +/** + * @brief Trace Queue append list enter + * @param queue Queue object + */ + + +/** + * @brief Trace Queue append list exit + * @param queue Queue object + * @param ret Return value + */ + + +/** + * @brief Trace Queue merge slist enter + * @param queue Queue object + */ + + +/** + * @brief Trace Queue merge slist exit + * @param queue Queue object + * @param ret Return value + */ + + +/** + * @brief Trace Queue get attempt enter + * @param queue Queue object + * @param timeout Timeout period + */ + + +/** + * @brief Trace Queue get attempt blockings + * @param queue Queue object + * @param timeout Timeout period + */ + + +/** + * @brief Trace Queue get attempt outcome + * @param queue Queue object + * @param timeout Timeout period + * @param ret Return value + */ + + +/** + * @brief Trace Queue remove enter + * @param queue Queue object + */ + + +/** + * @brief Trace Queue remove exit + * @param queue Queue object + * @param ret Return value + */ + + +/** + * @brief Trace Queue unique append enter + * @param queue Queue object + */ + + +/** + * @brief Trace Queue unique append exit + * @param queue Queue object + * + * @param ret Return value + */ + + +/** + * @brief Trace Queue peek head + * @param queue Queue object + * @param ret Return value + */ + + +/** + * @brief Trace Queue peek tail + * @param queue Queue object + * @param ret Return value + */ + + +/** @} */ /* end of subsys_tracing_apis_queue */ + +/** + * @brief FIFO Tracing APIs + * @defgroup subsys_tracing_apis_fifo FIFO Tracing APIs + * @{ + */ + +/** + * @brief Trace initialization of FIFO Queue entry + * @param fifo FIFO object + */ + + +/** + * @brief Trace initialization of FIFO Queue exit + * @param fifo FIFO object + */ + + +/** + * @brief Trace FIFO Queue cancel wait entry + * @param fifo FIFO object + */ + + +/** + * @brief Trace FIFO Queue cancel wait exit + * @param fifo FIFO object + */ + + +/** + * @brief Trace FIFO Queue put entry + * @param fifo FIFO object + * @param data Data item + */ + + +/** + * @brief Trace FIFO Queue put exit + * @param fifo FIFO object + * @param data Data item + */ + + +/** + * @brief Trace FIFO Queue alloc put entry + * @param fifo FIFO object + * @param data Data item + */ + + +/** + * @brief Trace FIFO Queue alloc put exit + * @param fifo FIFO object + * @param data Data item + * @param ret Return value + */ + + +/** + * @brief Trace FIFO Queue put list entry + * @param fifo FIFO object + * @param head First ll-node + * @param tail Last ll-node + */ + + +/** + * @brief Trace FIFO Queue put list exit + * @param fifo FIFO object + * @param head First ll-node + * @param tail Last ll-node + */ + + +/** + * @brief Trace FIFO Queue put slist entry + * @param fifo FIFO object + * @param list Syslist object + */ + + +/** + * @brief Trace FIFO Queue put slist exit + * @param fifo FIFO object + * @param list Syslist object + */ + + +/** + * @brief Trace FIFO Queue get entry + * @param fifo FIFO object + * @param timeout Timeout period + */ + + +/** + * @brief Trace FIFO Queue get exit + * @param fifo FIFO object + * @param timeout Timeout period + * @param ret Return value + */ + + +/** + * @brief Trace FIFO Queue peek head entry + * @param fifo FIFO object + */ + + +/** + * @brief Trace FIFO Queue peek head exit + * @param fifo FIFO object + * @param ret Return value + */ + + +/** + * @brief Trace FIFO Queue peek tail entry + * @param fifo FIFO object + */ + + +/** + * @brief Trace FIFO Queue peek tail exit + * @param fifo FIFO object + * @param ret Return value + */ + + +/** @} */ /* end of subsys_tracing_apis_fifo */ + +/** + * @brief LIFO Tracing APIs + * @defgroup subsys_tracing_apis_lifo LIFO Tracing APIs + * @{ + */ + +/** + * @brief Trace initialization of LIFO Queue entry + * @param lifo LIFO object + */ + + +/** + * @brief Trace initialization of LIFO Queue exit + * @param lifo LIFO object + */ + + +/** + * @brief Trace LIFO Queue put entry + * @param lifo LIFO object + * @param data Data item + */ + + +/** + * @brief Trace LIFO Queue put exit + * @param lifo LIFO object + * @param data Data item + */ + + +/** + * @brief Trace LIFO Queue alloc put entry + * @param lifo LIFO object + * @param data Data item + */ + + +/** + * @brief Trace LIFO Queue alloc put exit + * @param lifo LIFO object + * @param data Data item + * @param ret Return value + */ + + +/** + * @brief Trace LIFO Queue get entry + * @param lifo LIFO object + * @param timeout Timeout period + */ + + +/** + * @brief Trace LIFO Queue get exit + * @param lifo LIFO object + * @param timeout Timeout period + * @param ret Return value + */ + + +/** @} */ /* end of subsys_tracing_apis_lifo */ + +/** + * @brief Stack Tracing APIs + * @defgroup subsys_tracing_apis_stack Stack Tracing APIs + * @{ + */ + +/** + * @brief Trace initialization of Stack + * @param stack Stack object + */ + + +/** + * @brief Trace Stack alloc init attempt entry + * @param stack Stack object + */ + + +/** + * @brief Trace Stack alloc init outcome + * @param stack Stack object + * @param ret Return value + */ + + +/** + * @brief Trace Stack cleanup attempt entry + * @param stack Stack object + */ + + +/** + * @brief Trace Stack cleanup outcome + * @param stack Stack object + * @param ret Return value + */ + + +/** + * @brief Trace Stack push attempt entry + * @param stack Stack object + */ + + +/** + * @brief Trace Stack push attempt outcome + * @param stack Stack object + * @param ret Return value + */ + + +/** + * @brief Trace Stack pop attempt entry + * @param stack Stack object + * @param timeout Timeout period + */ + + +/** + * @brief Trace Stack pop attempt blocking + * @param stack Stack object + * @param timeout Timeout period + */ + + +/** + * @brief Trace Stack pop attempt outcome + * @param stack Stack object + * @param timeout Timeout period + * @param ret Return value + */ + + +/** @} */ /* end of subsys_tracing_apis_stack */ + +/** + * @brief Message Queue Tracing APIs + * @defgroup subsys_tracing_apis_msgq Message Queue Tracing APIs + * @{ + */ + +/** + * @brief Trace initialization of Message Queue + * @param msgq Message Queue object + */ + + +/** + * @brief Trace Message Queue alloc init attempt entry + * @param msgq Message Queue object + */ + + +/** + * @brief Trace Message Queue alloc init attempt outcome + * @param msgq Message Queue object + * @param ret Return value + */ + + +/** + * @brief Trace Message Queue cleanup attempt entry + * @param msgq Message Queue object + */ + + +/** + * @brief Trace Message Queue cleanup attempt outcome + * @param msgq Message Queue object + * @param ret Return value + */ + + +/** + * @brief Trace Message Queue put attempt entry + * @param msgq Message Queue object + * @param timeout Timeout period + */ + + +/** + * @brief Trace Message Queue put attempt blocking + * @param msgq Message Queue object + * @param timeout Timeout period + */ + + +/** + * @brief Trace Message Queue put attempt outcome + * @param msgq Message Queue object + * @param timeout Timeout period + * @param ret Return value + */ + + +/** + * @brief Trace Message Queue get attempt entry + * @param msgq Message Queue object + * @param timeout Timeout period + */ + + +/** + * @brief Trace Message Queue get attempt blockings + * @param msgq Message Queue object + * @param timeout Timeout period + */ + + +/** + * @brief Trace Message Queue get attempt outcome + * @param msgq Message Queue object + * @param timeout Timeout period + * @param ret Return value + */ + + +/** + * @brief Trace Message Queue peek + * @param msgq Message Queue object + * @param ret Return value + */ + + +/** + * @brief Trace Message Queue purge + * @param msgq Message Queue object + */ + + +/** @} */ /* end of subsys_tracing_apis_msgq */ + +/** + * @brief Mailbox Tracing APIs + * @defgroup subsys_tracing_apis_mbox Mailbox Tracing APIs + * @{ + */ + +/** + * @brief Trace initialization of Mailbox + * @param mbox Mailbox object + */ + + +/** + * @brief Trace Mailbox message put attempt entry + * @param mbox Mailbox object + * @param timeout Timeout period + */ + + +/** + * @brief Trace Mailbox message put attempt blocking + * @param mbox Mailbox object + * @param timeout Timeout period + */ + + +/** + * @brief Trace Mailbox message put attempt outcome + * @param mbox Mailbox object + * @param timeout Timeout period + * @param ret Return value + */ + + +/** + * @brief Trace Mailbox put attempt entry + * @param mbox Mailbox object + * @param timeout Timeout period + */ + + +/** + * @brief Trace Mailbox put attempt blocking + * @param mbox Mailbox object + * @param timeout Timeout period + * @param ret Return value + */ + + +/** + * @brief Trace Mailbox async put entry + * @param mbox Mailbox object + * @param sem Semaphore object + */ + + +/** + * @brief Trace Mailbox async put exit + * @param mbox Mailbox object + * @param sem Semaphore object + */ + + +/** + * @brief Trace Mailbox get attempt entry + * @param mbox Mailbox entry + * @param timeout Timeout period + */ + + +/** + * @brief Trace Mailbox get attempt blocking + * @param mbox Mailbox entry + * @param timeout Timeout period + */ + + +/** + * @brief Trace Mailbox get attempt outcome + * @param mbox Mailbox entry + * @param timeout Timeout period + * @param ret Return value + */ + + +/** + * @brief Trace Mailbox data get + * @brief rx_msg Receive Message object + */ + + +/** @} */ /* end of subsys_tracing_apis_mbox */ + +/** + * @brief Pipe Tracing APIs + * @defgroup subsys_tracing_apis_pipe Pipe Tracing APIs + * @{ + */ + +/** + * @brief Trace initialization of Pipe + * @param pipe Pipe object + * @param buffer data buffer + * @param size data buffer size + */ + + +/** + * @brief Trace Pipe reset entry + * @param pipe Pipe object + */ + + +/** + * @brief Trace Pipe reset exit + * @param pipe Pipe object + */ + + +/** + * @brief Trace Pipe close entry + * @param pipe Pipe object + */ + + +/** + * @brief Trace Pipe close exit + * @param pipe Pipe object + */ + + +/** + * @brief Trace Pipe write attempt entry + * @param pipe Pipe object + * @param data pointer to data + * @param len length of data + * @param timeout Timeout period + */ + + +/** + * @brief Trace Pipe write attempt blocking + * @param pipe Pipe object + * @param timeout Timeout period + */ + + +/** + * @brief Trace Pipe write attempt outcome + * @param pipe Pipe object + * @param ret Return value + */ + + +/** + * @brief Trace Pipe read attempt entry + * @param pipe Pipe object + * @param data Pointer to data + * @param len Length of data + * @param timeout Timeout period + */ + + +/** + * @brief Trace Pipe read attempt blocking + * @param pipe Pipe object + * @param timeout Timeout period + */ + + +/** + * @brief Trace Pipe read attempt outcome + * @param pipe Pipe object + * @param ret Return value + */ + + +/** + * @brief Trace Pipe cleanup entry + * @param pipe Pipe object + */ + + +/** + * @brief Trace Pipe cleanup exit + * @param pipe Pipe object + * @param ret Return value + */ + + +/** + * @brief Trace Pipe alloc init entry + * @param pipe Pipe object + */ + + +/** + * @brief Trace Pipe alloc init exit + * @param pipe Pipe object + * @param ret Return value + */ + + +/** + * @brief Trace Pipe flush entry + * @param pipe Pipe object + */ + + +/** + * @brief Trace Pipe flush exit + * @param pipe Pipe object + */ + + +/** + * @brief Trace Pipe buffer flush entry + * @param pipe Pipe object + */ + + +/** + * @brief Trace Pipe buffer flush exit + * @param pipe Pipe object + */ + + +/** + * @brief Trace Pipe put attempt entry + * @param pipe Pipe object + * @param timeout Timeout period + */ + + +/** + * @brief Trace Pipe put attempt blocking + * @param pipe Pipe object + * @param timeout Timeout period + */ + + +/** + * @brief Trace Pipe put attempt outcome + * @param pipe Pipe object + * @param timeout Timeout period + * @param ret Return value + */ + + +/** + * @brief Trace Pipe get attempt entry + * @param pipe Pipe object + * @param timeout Timeout period + */ + + +/** + * @brief Trace Pipe get attempt blocking + * @param pipe Pipe object + * @param timeout Timeout period + */ + + +/** + * @brief Trace Pipe get attempt outcome + * @param pipe Pipe object + * @param timeout Timeout period + * @param ret Return value + */ + + +/** @} */ /* end of subsys_tracing_apis_pipe */ + +/** + * @brief Heap Tracing APIs + * @defgroup subsys_tracing_apis_heap Heap Tracing APIs + * @{ + */ + +/** + * @brief Trace initialization of Heap + * @param h Heap object + */ + + +/** + * @brief Trace Heap aligned alloc attempt entry + * @param h Heap object + * @param timeout Timeout period + */ + + +/** + * @brief Trace Heap align alloc attempt blocking + * @param h Heap object + * @param timeout Timeout period + */ + + +/** + * @brief Trace Heap align alloc attempt outcome + * @param h Heap object + * @param timeout Timeout period + * @param ret Return value + */ + + +/** + * @brief Trace Heap alloc enter + * @param h Heap object + * @param timeout Timeout period + */ + + +/** + * @brief Trace Heap alloc exit + * @param h Heap object + * @param timeout Timeout period + * @param ret Return value + */ + + +/** + * @brief Trace Heap calloc enter + * @param h Heap object + * @param timeout Timeout period + */ + + +/** + * @brief Trace Heap calloc exit + * @param h Heap object + * @param timeout Timeout period + * @param ret Return value + */ + + +/** + * @brief Trace Heap free + * @param h Heap object + */ + + +/** + * @brief Trace Heap realloc enter + * @param h Heap object + * @param ptr Pointer to reallocate + * @param bytes Bytes to reallocate + * @param timeout Timeout period + */ + + +/** + * @brief Trace Heap realloc exit + * @param h Heap object + * @param ptr Pointer to reallocate + * @param bytes Bytes to reallocate + * @param timeout Timeout period + * @param ret Return value + */ + + +/** + * @brief Trace System Heap aligned alloc enter + * @param heap Heap object + */ + + +/** + * @brief Trace System Heap aligned alloc exit + * @param heap Heap object + * @param ret Return value + */ + + +/** + * @brief Trace System Heap aligned alloc enter + * @param heap Heap object + */ + + +/** + * @brief Trace System Heap aligned alloc exit + * @param heap Heap object + * @param ret Return value + */ + + +/** + * @brief Trace System Heap free entry + * @param heap Heap object + * @param heap_ref Heap reference + */ + + +/** + * @brief Trace System Heap free exit + * @param heap Heap object + * @param heap_ref Heap reference + */ + + +/** + * @brief Trace System heap calloc enter + * @param heap + */ + + +/** + * @brief Trace System heap calloc exit + * @param heap Heap object + * @param ret Return value + */ + + +/** + * @brief Trace System heap realloc enter + * @param heap + * @param ptr + */ + + +/** + * @brief Trace System heap realloc exit + * @param heap Heap object + * @param ptr Memory pointer + * @param ret Return value + */ + + +/** @} */ /* end of subsys_tracing_apis_heap */ + +/** + * @brief Memory Slab Tracing APIs + * @defgroup subsys_tracing_apis_mslab Memory Slab Tracing APIs + * @{ + */ + +/** + * @brief Trace initialization of Memory Slab + * @param slab Memory Slab object + * @param rc Return value + */ + + +/** + * @brief Trace Memory Slab alloc attempt entry + * @param slab Memory Slab object + * @param timeout Timeout period + */ + + +/** + * @brief Trace Memory Slab alloc attempt blocking + * @param slab Memory Slab object + * @param timeout Timeout period + */ + + +/** + * @brief Trace Memory Slab alloc attempt outcome + * @param slab Memory Slab object + * @param timeout Timeout period + * @param ret Return value + */ + + +/** + * @brief Trace Memory Slab free entry + * @param slab Memory Slab object + */ + + +/** + * @brief Trace Memory Slab free exit + * @param slab Memory Slab object + */ + + +/** @} */ /* end of subsys_tracing_apis_mslab */ + +/** + * @brief Timer Tracing APIs + * @defgroup subsys_tracing_apis_timer Timer Tracing APIs + * @{ + */ + +/** + * @brief Trace initialization of Timer + * @param timer Timer object + */ + + +/** + * @brief Trace Timer start + * @param timer Timer object + * @param duration Timer duration + * @param period Timer period + */ + + +/** + * @brief Trace Timer stop + * @param timer Timer object + */ + + +/** + * @brief Trace Timer status sync entry + * @param timer Timer object + */ + + +/** + * @brief Trace Timer Status sync blocking + * @param timer Timer object + * @param timeout Timeout period + */ + + +/** + * @brief Trace Time Status sync outcome + * @param timer Timer object + * @param result Return value + */ + + +/** @} */ /* end of subsys_tracing_apis_timer */ + +/** + * @brief Event Tracing APIs + * @defgroup subsys_tracing_apis_event Event Tracing APIs + * @{ + */ + +/** + * @brief Trace initialisation of an Event + * @param event Event object + */ + + +/** + * @brief Trace posting of an Event call entry + * @param event Event object + * @param events Set of posted events + * @param events_mask Mask to apply against posted events + */ + + +/** + * @brief Trace posting of an Event call exit + * @param event Event object + * @param events Set of posted events + * @param events_mask Mask to apply against posted events + */ + + +/** + * @brief Trace waiting of an Event call entry + * @param event Event object + * @param events Set of events for which to wait + * @param options Event wait options + * @param timeout Timeout period + */ + + +/** + * @brief Trace waiting of an Event call exit + * @param event Event object + * @param events Set of events for which to wait + * @param options Event wait options + * @param timeout Timeout period + */ + + +/** + * @brief Trace waiting of an Event call exit + * @param event Event object + * @param events Set of events for which to wait + * @param ret Set of received events + */ + + +/** @} */ /* end of subsys_tracing_apis_event */ + +/** + * @brief System PM Tracing APIs + * @defgroup subsys_tracing_apis_pm_system System PM Tracing APIs + * @{ + */ + +/** + * @brief Trace system suspend call entry. + * @param ticks Ticks. + */ + + +/** + * @brief Trace system suspend call exit. + * @param ticks Ticks. + * @param state PM state. + */ + + +/** @} */ /* end of subsys_tracing_apis_pm_system */ + +/** + * @brief PM Device Runtime Tracing APIs + * @defgroup subsys_tracing_apis_pm_device_runtime PM Device Runtime Tracing APIs + * @{ + */ + +/** + * @brief Trace getting a device call entry. + * @param dev Device instance. + */ + + +/** + * @brief Trace getting a device call exit. + * @param dev Device instance. + * @param ret Return value. + */ + + +/** + * @brief Trace putting a device call entry. + * @param dev Device instance. + */ + + +/** + * @brief Trace putting a device call exit. + * @param dev Device instance. + * @param ret Return value. + */ + + +/** + * @brief Trace putting a device (asynchronously) call entry. + * @param dev Device instance. + * @param delay Time to delay the operation + */ + + +/** + * @brief Trace putting a device (asynchronously) call exit. + * @param dev Device instance. + * @param delay Time to delay the operation. + * @param ret Return value. + */ + + +/** + * @brief Trace enabling device runtime PM call entry. + * @param dev Device instance. + */ + + +/** + * @brief Trace enabling device runtime PM call exit. + * @param dev Device instance. + * @param ret Return value. + */ + + +/** + * @brief Trace disabling device runtime PM call entry. + * @param dev Device instance. + */ + + +/** + * @brief Trace disabling device runtime PM call exit. + * @param dev Device instance. + * @param ret Return value. + */ + + +/** @} */ /* end of subsys_tracing_apis_pm_device_runtime */ + +/** + * @brief Network Core Tracing APIs + * @defgroup subsys_tracing_apis_net Network Core Tracing APIs + * @{ + */ + +/** + * @brief Trace network data receive + * @param iface Network interface + * @param pkt Received network packet + */ + + +/** + * @brief Trace network data receive attempt + * @param iface Network interface + * @param pkt Received network packet + * @param ret Return value + */ + + +/** + * @brief Trace network data send + * @param pkt Network packet to send + */ + + +/** + * @brief Trace network data send attempt + * @param pkt Received network packet + * @param ret Return value + */ + + +/** + * @brief Trace network data receive time + * @param pkt Received network packet + * @param end_time When the RX processing stopped for this pkt (in ticks) + */ + + +/** + * @brief Trace network data sent time + * @param pkt Sent network packet + * @param end_time When the TX processing stopped for this pkt (in ticks) + */ + + +/** @} */ /* end of subsys_tracing_apis_net */ + +/** + * @brief Network Socket Tracing APIs + * @defgroup subsys_tracing_apis_socket Network Socket Tracing APIs + * @{ + */ + +/** + * @brief Trace init of network sockets + * @param socket Network socket is returned + * @param family Socket address family + * @param type Socket type + * @param proto Socket protocol + */ + + +/** + * @brief Trace close of network sockets + * @param socket Socket object + */ + + +/** + * @brief Trace network socket close attempt + * @param socket Socket object + * @param ret Return value + */ + + +/** + * @brief Trace shutdown of network sockets + * @param socket Socket object + * @param how Socket shutdown type + */ + + +/** + * @brief Trace network socket shutdown attempt + * @param socket Socket object + * @param ret Return value + */ + + +/** + * @brief Trace bind of network sockets + * @param socket Socket object + * @param addr Network address to bind + * @param addrlen Address length + */ + + +/** + * @brief Trace network socket bind attempt + * @param socket Socket object + * @param ret Return value + */ + + +/** + * @brief Trace connect of network sockets + * @param socket Socket object + * @param addr Network address to bind + * @param addrlen Address length + */ + + +/** + * @brief Trace network socket connect attempt + * @param socket Socket object + * @param ret Return value + */ + + +/** + * @brief Trace listen of network sockets + * @param socket Socket object + * @param backlog Socket backlog length + */ + + +/** + * @brief Trace network socket listen attempt + * @param socket Socket object + * @param ret Return value + */ + + +/** + * @brief Trace accept of network sockets + * @param socket Socket object + */ + + +/** + * @brief Trace network socket accept attempt + * @param socket Socket object + * @param addr Peer network address + * @param addrlen Network address length + * @param ret Return value + */ + + +/** + * @brief Trace sendto of network sockets + * @param socket Socket object + * @param len Length of the data to send + * @param flags Flags for this send operation + * @param dest_addr Destination network address + * @param addrlen Network address length + */ + + +/** + * @brief Trace network socket sendto attempt + * @param socket Socket object + * @param ret Return value + */ + + +/** + * @brief Trace sendmsg of network sockets + * @param socket Socket object + * @param msg Data to send + * @param flags Flags for this send operation + */ + + +/** + * @brief Trace network socket sendmsg attempt + * @param socket Socket object + * @param ret Return value + */ + + +/** + * @brief Trace recvfrom of network sockets + * @param socket Socket object + * @param max_len Maximum length of the data we can receive + * @param flags Flags for this receive operation + * @param addr Remote network address + * @param addrlen Network address length + */ + + +/** + * @brief Trace network socket recvfrom attempt + * @param socket Socket object + * @param src_addr Peer network address that send the data + * @param addrlen Length of the network address + * @param ret Return value + */ + + +/** + * @brief Trace recvmsg of network sockets + * @param socket Socket object + * @param msg Message buffer to receive + * @param flags Flags for this receive operation + */ + + +/** + * @brief Trace network socket recvmsg attempt + * @param socket Socket object + * @param msg Message buffer received + * @param ret Return value + */ + + +/** + * @brief Trace fcntl of network sockets + * @param socket Socket object + * @param cmd Command to set for this socket + * @param flags Flags for this receive operation + */ + + +/** + * @brief Trace network socket fcntl attempt + * @param socket Socket object + * @param ret Return value + */ + + +/** + * @brief Trace ioctl of network sockets + * @param socket Socket object + * @param req Request to set for this socket + */ + + +/** + * @brief Trace network socket ioctl attempt + * @param socket Socket object + * @param ret Return value + */ + + +/** + * @brief Trace polling of network sockets + * @param fds Set of socket object + * @param nfds Number of socket objects in the set + * @param timeout Timeout for the poll operation + */ + + +/** + * @brief Trace network socket poll attempt + * @param fds Set of socket object + * @param nfds Number of socket objects in the set + * @param ret Return value + */ + + +/** + * @brief Trace getsockopt of network sockets + * @param socket Socket object + * @param level Option level + * @param optname Option name + */ + + +/** + * @brief Trace network socket getsockopt attempt + * @param socket Socket object + * @param level Option level + * @param optname Option name + * @param optval Option value + * @param optlen Option value length + * @param ret Return value + */ + + +/** + * @brief Trace setsockopt of network sockets + * @param socket Socket object + * @param level Option level + * @param optname Option name + * @param optval Option value + * @param optlen Option value length + */ + + +/** + * @brief Trace network socket setsockopt attempt + * @param socket Socket object + * @param ret Return value + */ + + +/** + * @brief Trace getpeername of network sockets + * @param socket Socket object + */ + + +/** + * @brief Trace network socket getpeername attempt + * @param socket Socket object + * @param addr Peer socket network address + * @param addrlen Length of the network address + * @param ret Return value + */ + + +/** + * @brief Trace getsockname of network sockets + * @param socket Socket object + */ + + +/** + * @brief Trace network socket getsockname attempt + * @param socket Socket object + * @param addr Local socket network address + * @param addrlen Length of the network address + * @param ret Return value + */ + + +/** + * @brief Trace socketpair enter call + * @param family Network address family + * @param type Socket type + * @param proto Socket protocol + * @param sv Socketpair buffer + */ + + +/** + * @brief Trace network socketpair open attempt + * @param socket_A Socketpair first socket object + * @param socket_B Socketpair second socket object + * @param ret Return value + */ + + +/** @} */ /* end of subsys_tracing_apis_socket */ + +/** + * @brief Named Tracing APIs + * @defgroup subsys_tracing_apis_named Named tracing APIs + * @{ + */ + +/* + * @brief Called by user to generate named events + * + * @param name name of event. Tracing subsystems may place a limit on + * the length of this string + * @param arg0 arbitrary user-provided data for this event + * @param arg1 arbitrary user-provided data for this event + */ + + +/** @} */ /* end of subsys_tracing_apis_named */ + +/** + * @brief GPIO Tracing APIs + * @defgroup subsys_tracing_apis_gpio GPIO Tracing APIs + * @{ + */ + +/** + * @brief Trace GPIO pin interrupt configure enter call + * @param port Pointer to device structure for the driver instance + * @param pin GPIO pin number + * @param flags Interrupt configuration flags as defined by GPIO_INT_* + */ + + +/** + * @brief Trace GPIO pin interrupt configure exit call + * @param port Pointer to device structure for the driver instance + * @param pin GPIO pin number + * @param ret Return value + */ + + +/** + * @brief Trace GPIO single pin configure enter call + * @param port Pointer to device structure for the driver instance + * @param pin GPIO pin number to configure + * @param flags GPIO pin configuration flags + */ + + +/** + * @brief Trace GPIO single pin configure exit call + * @param port Pointer to device structure for the driver instance + * @param pin GPIO pin number to configure + * @param ret Return value + */ + + +/** + * @brief Trace GPIO port get direction enter call + * @param port Pointer to device structure for the driver instance + * @param map Bitmap of pin directions to query + * @param inputs Pointer to a variable where input directions will be stored + * @param outputs Pointer to a variable where output directions will be stored + */ + + +/** + * @brief Trace GPIO port get direction exit call + * @param port Pointer to device structure for the driver instance + * @param ret Return value + */ + + +/** + * @brief Trace GPIO pin gent config enter call + * @param port Pointer to device structure for the driver instance + * @param pin GPIO pin number to configure + * @param flags GPIO pin configuration flags + */ + + +/** + * @brief Trace GPIO pin get config exit call + * @param port Pointer to device structure for the driver instance + * @param pin GPIO pin number to configure + * @param ret Return value + */ + + +/** + * @brief Trace GPIO port get raw enter call + * @param port Pointer to device structure for the driver instance + * @param value Pointer to a variable where the raw value will be stored + */ + + +/** + * @brief Trace GPIO port get raw exit call + * @param port Pointer to device structure for the driver instance + * @param ret Return value + */ + + +/** + * @brief Trace GPIO port set masked raw enter call + * @param port Pointer to device structure for the driver instance + * @param mask Mask indicating which pins will be modified + * @param value Value to be written to the output pins + */ + + +/** + * @brief Trace GPIO port set masked raw exit call + * @param port Pointer to device structure for the driver instance + * @param ret Return value + */ + + +/** + * @brief Trace GPIO port set bits raw enter call + * @param port Pointer to device structure for the driver instance + * @param pins Value indicating which pins will be modified + */ + + +/** + * @brief Trace GPIO port set bits raw exit call + * @param port Pointer to device structure for the driver instance + * @param ret Return value + */ + + +/** + * @brief Trace GPIO port clear bits raw enter call + * @param port Pointer to device structure for the driver instance + * @param pins Value indicating which pins will be modified + */ + + +/** + * @brief Trace GPIO port clear bits raw exit call + * @param port Pointer to device structure for the driver instance + * @param ret Return value + */ + + +/** + * @brief Trace GPIO port toggle bits enter call + * @param port Pointer to device structure for the driver instance + * @param pins Value indicating which pins will be modified + */ + + +/** + * @brief Trace GPIO port toggle bits exit call + * @param port Pointer to device structure for the driver instance + * @param ret Return value + */ + + +/** + * @brief Trace GPIO init callback enter call + * @param callback A valid application's callback structure pointer + * @param handler A valid handler function pointer + * @param pin_mask A bit mask of relevant pins for the handler + */ + + +/** + * @brief Trace GPIO init callback exit call + * @param callback A valid application's callback structure pointer + */ + + +/** + * @brief Trace GPIO add callback enter call + * @param port Pointer to device structure for the driver instance + * @param callback A valid application's callback structure pointer + */ + + +/** + * @brief Trace GPIO add callback exit call + * @param port Pointer to device structure for the driver instance + * @param ret Return value + */ + + +/** + * @brief Trace GPIO remove callback enter call + * @param port Pointer to device structure for the driver instance + * @param callback A valid application's callback structure pointer + */ + + +/** + * @brief Trace GPIO remove callback exit call + * @param port Pointer to device structure for the driver instance + * @param ret Return value + */ + + +/** + * @brief Trace GPIO get pending interrupt enter call + * @param dev Pointer to the device structure for the device instance + */ + + +/** + * @brief Trace GPIO get pending interrupt exit call + * @param dev Pointer to the device structure for the device instance + * @param ret Return value + */ + + +/** + * @brief + * @param list @ref sys_slist_t representing gpio_callback pointers + * @param port @ref device representing the GPIO port + * @param pins @ref gpio_pin_t representing the pins + */ + + +/** + * @brief + * @param port @ref device representing the GPIO port + * @param callback @ref gpio_callback a valid Application's callback structure pointer + */ + + +/** @} */ /* end of subsys_tracing_apis_gpio */ +# 2728 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/tracing/tracing.h" +/** + * @brief Called when entering an ISR + */ +void sys_trace_isr_enter(void); + +/** + * @brief Called when exiting an ISR + */ +void sys_trace_isr_exit(void); + +/** + * @brief Called when exiting an ISR and switching to scheduler + */ +void sys_trace_isr_exit_to_scheduler(void); + +/** + * @brief Called when the cpu enters the idle state + */ +void sys_trace_idle(void); + +/** + * @brief Called when the cpu exits the idle state + */ +void sys_trace_idle_exit(void); + + + +/** + * @brief Called when entering an init function + */ + + +/** + * @brief Called when exiting an init function + */ + + +/** @} */ /* end of subsys_tracing_apis */ + +/** @} */ /* end of subsys_tracing */ +# 6445 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kernel.h" 1 +/* auto-generated by gen_syscalls.py, don't edit */ +# 11 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kernel.h" +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdarg.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdarg.h" 3 4 +/* Copyright (C) 1989-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.15 Variable arguments + */ +# 12 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kernel.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscall_list.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscall_list.h" +/* auto-generated by gen_syscalls.py, don't edit */ +# 14 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kernel.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/syscall.h" 1 +/* + * Copyright (c) 2017, Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 15 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kernel.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/linker/sections.h" 1 +/* + * Copyright (c) 2013-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Definitions of various linker Sections. + * + * Linker Section declarations used by linker script, C files and Assembly + * files. + */ +# 17 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kernel.h" 2 + + + +extern "C" { + + +extern k_thread_stack_t * z_impl_k_thread_stack_alloc(size_t size, int flags); + + +static inline k_thread_stack_t * k_thread_stack_alloc(size_t size, int flags) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_thread_stack_alloc(size, flags); +} + + +extern int z_impl_k_thread_stack_free(k_thread_stack_t * stack); + + +static inline int k_thread_stack_free(k_thread_stack_t * stack) +{ + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_thread_stack_free(stack); +} + + +extern k_tid_t z_impl_k_thread_create(struct k_thread * new_thread, k_thread_stack_t * stack, size_t stack_size, k_thread_entry_t entry, void * p1, void * p2, void * p3, int prio, uint32_t options, k_timeout_t delay); + + +static inline k_tid_t k_thread_create(struct k_thread * new_thread, k_thread_stack_t * stack, size_t stack_size, k_thread_entry_t entry, void * p1, void * p2, void * p3, int prio, uint32_t options, k_timeout_t delay) +{ +# 84 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kernel.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_thread_create(new_thread, stack, stack_size, entry, p1, p2, p3, prio, options, delay); +} + + +extern int z_impl_k_thread_stack_space_get(const struct k_thread * thread, size_t * unused_ptr); + + +static inline int k_thread_stack_space_get(const struct k_thread * thread, size_t * unused_ptr) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_thread_stack_space_get(thread, unused_ptr); +} + + +extern int z_impl_k_thread_join(struct k_thread * thread, k_timeout_t timeout); + + +static inline int k_thread_join(struct k_thread * thread, k_timeout_t timeout) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_thread_join(thread, timeout); +} + + +extern int32_t z_impl_k_sleep(k_timeout_t timeout); + + +static inline int32_t k_sleep(k_timeout_t timeout) +{ + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_sleep(timeout); +} + + +extern int32_t z_impl_k_usleep(int32_t us); + + +static inline int32_t k_usleep(int32_t us) +{ + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_usleep(us); +} + + +extern void z_impl_k_busy_wait(uint32_t usec_to_wait); + + +static inline void k_busy_wait(uint32_t usec_to_wait) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + z_impl_k_busy_wait(usec_to_wait); +} + + +extern void z_impl_k_yield(void); + + +static inline void k_yield(void) +{ + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + z_impl_k_yield(); +} + + +extern void z_impl_k_wakeup(k_tid_t thread); + + +static inline void k_wakeup(k_tid_t thread) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + z_impl_k_wakeup(thread); +} + + +extern k_tid_t z_impl_k_sched_current_thread_query(void); + + +static inline k_tid_t k_sched_current_thread_query(void) +{ + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_sched_current_thread_query(); +} + + +extern void z_impl_k_thread_abort(k_tid_t thread); + + +static inline void k_thread_abort(k_tid_t thread) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + z_impl_k_thread_abort(thread); +} + + +extern k_ticks_t z_impl_k_thread_timeout_expires_ticks(const struct k_thread * thread); + + +static inline k_ticks_t k_thread_timeout_expires_ticks(const struct k_thread * thread) +{ +# 250 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kernel.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_thread_timeout_expires_ticks(thread); +} + + +extern k_ticks_t z_impl_k_thread_timeout_remaining_ticks(const struct k_thread * thread); + + +static inline k_ticks_t k_thread_timeout_remaining_ticks(const struct k_thread * thread) +{ +# 268 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kernel.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_thread_timeout_remaining_ticks(thread); +} + + +extern int z_impl_k_thread_priority_get(k_tid_t thread); + + +static inline int k_thread_priority_get(k_tid_t thread) +{ + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_thread_priority_get(thread); +} + + +extern void z_impl_k_thread_priority_set(k_tid_t thread, int prio); + + +static inline void k_thread_priority_set(k_tid_t thread, int prio) +{ +# 302 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kernel.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + z_impl_k_thread_priority_set(thread, prio); +} + + +extern void z_impl_k_thread_deadline_set(k_tid_t thread, int deadline); + + +static inline void k_thread_deadline_set(k_tid_t thread, int deadline) +{ +# 320 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kernel.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + z_impl_k_thread_deadline_set(thread, deadline); +} + + +extern void z_impl_k_reschedule(void); + + +static inline void k_reschedule(void) +{ + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + z_impl_k_reschedule(); +} + + +extern void z_impl_k_thread_suspend(k_tid_t thread); + + +static inline void k_thread_suspend(k_tid_t thread) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + z_impl_k_thread_suspend(thread); +} + + +extern void z_impl_k_thread_resume(k_tid_t thread); + + +static inline void k_thread_resume(k_tid_t thread) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + z_impl_k_thread_resume(thread); +} + + +extern int z_impl_k_is_preempt_thread(void); + + +static inline int k_is_preempt_thread(void) +{ + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_is_preempt_thread(); +} + + +extern void z_impl_k_thread_custom_data_set(void * value); + + +static inline void k_thread_custom_data_set(void * value) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + z_impl_k_thread_custom_data_set(value); +} + + +extern void * z_impl_k_thread_custom_data_get(void); + + +static inline void * k_thread_custom_data_get(void) +{ + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_thread_custom_data_get(); +} + + +extern int z_impl_k_thread_name_set(k_tid_t thread, const char * str); + + +static inline int k_thread_name_set(k_tid_t thread, const char * str) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_thread_name_set(thread, str); +} + + +extern int z_impl_k_thread_name_copy(k_tid_t thread, char * buf, size_t size); + + +static inline int k_thread_name_copy(k_tid_t thread, char * buf, size_t size) +{ +# 452 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kernel.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_thread_name_copy(thread, buf, size); +} + + +extern void z_impl_k_timer_start(struct k_timer * timer, k_timeout_t duration, k_timeout_t period); + + +static inline void k_timer_start(struct k_timer * timer, k_timeout_t duration, k_timeout_t period) +{ +# 471 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kernel.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + z_impl_k_timer_start(timer, duration, period); +} + + +extern void z_impl_k_timer_stop(struct k_timer * timer); + + +static inline void k_timer_stop(struct k_timer * timer) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + z_impl_k_timer_stop(timer); +} + + +extern uint32_t z_impl_k_timer_status_get(struct k_timer * timer); + + +static inline uint32_t k_timer_status_get(struct k_timer * timer) +{ + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_timer_status_get(timer); +} + + +extern uint32_t z_impl_k_timer_status_sync(struct k_timer * timer); + + +static inline uint32_t k_timer_status_sync(struct k_timer * timer) +{ + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_timer_status_sync(timer); +} + + +extern k_ticks_t z_impl_k_timer_expires_ticks(const struct k_timer * timer); + + +static inline k_ticks_t k_timer_expires_ticks(const struct k_timer * timer) +{ +# 538 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kernel.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_timer_expires_ticks(timer); +} + + +extern k_ticks_t z_impl_k_timer_remaining_ticks(const struct k_timer * timer); + + +static inline k_ticks_t k_timer_remaining_ticks(const struct k_timer * timer) +{ +# 556 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kernel.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_timer_remaining_ticks(timer); +} + + +extern void z_impl_k_timer_user_data_set(struct k_timer * timer, void * user_data); + + +static inline void k_timer_user_data_set(struct k_timer * timer, void * user_data) +{ +# 574 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kernel.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + z_impl_k_timer_user_data_set(timer, user_data); +} + + +extern void * z_impl_k_timer_user_data_get(const struct k_timer * timer); + + +static inline void * k_timer_user_data_get(const struct k_timer * timer) +{ + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_timer_user_data_get(timer); +} + + +extern int64_t z_impl_k_uptime_ticks(void); + + +static inline int64_t k_uptime_ticks(void) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_uptime_ticks(); +} + + +extern void z_impl_k_queue_init(struct k_queue * queue); + + +static inline void k_queue_init(struct k_queue * queue) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + z_impl_k_queue_init(queue); +} + + +extern void z_impl_k_queue_cancel_wait(struct k_queue * queue); + + +static inline void k_queue_cancel_wait(struct k_queue * queue) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + z_impl_k_queue_cancel_wait(queue); +} + + +extern int32_t z_impl_k_queue_alloc_append(struct k_queue * queue, void * data); + + +static inline int32_t k_queue_alloc_append(struct k_queue * queue, void * data) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_queue_alloc_append(queue, data); +} + + +extern int32_t z_impl_k_queue_alloc_prepend(struct k_queue * queue, void * data); + + +static inline int32_t k_queue_alloc_prepend(struct k_queue * queue, void * data) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_queue_alloc_prepend(queue, data); +} + + +extern void * z_impl_k_queue_get(struct k_queue * queue, k_timeout_t timeout); + + +static inline void * k_queue_get(struct k_queue * queue, k_timeout_t timeout) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_queue_get(queue, timeout); +} + + +extern int z_impl_k_queue_is_empty(struct k_queue * queue); + + +static inline int k_queue_is_empty(struct k_queue * queue) +{ + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_queue_is_empty(queue); +} + + +extern void * z_impl_k_queue_peek_head(struct k_queue * queue); + + +static inline void * k_queue_peek_head(struct k_queue * queue) +{ + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_queue_peek_head(queue); +} + + +extern void * z_impl_k_queue_peek_tail(struct k_queue * queue); + + +static inline void * k_queue_peek_tail(struct k_queue * queue) +{ + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_queue_peek_tail(queue); +} + + +extern int z_impl_k_futex_wait(struct k_futex * futex, int expected, k_timeout_t timeout); + + +static inline int k_futex_wait(struct k_futex * futex, int expected, k_timeout_t timeout) +{ +# 758 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kernel.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_futex_wait(futex, expected, timeout); +} + + +extern int z_impl_k_futex_wake(struct k_futex * futex, bool wake_all); + + +static inline int k_futex_wake(struct k_futex * futex, bool wake_all) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_futex_wake(futex, wake_all); +} + + +extern void z_impl_k_event_init(struct k_event * event); + + +static inline void k_event_init(struct k_event * event) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + z_impl_k_event_init(event); +} + + +extern uint32_t z_impl_k_event_post(struct k_event * event, uint32_t events); + + +static inline uint32_t k_event_post(struct k_event * event, uint32_t events) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_event_post(event, events); +} + + +extern uint32_t z_impl_k_event_set(struct k_event * event, uint32_t events); + + +static inline uint32_t k_event_set(struct k_event * event, uint32_t events) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_event_set(event, events); +} + + +extern uint32_t z_impl_k_event_set_masked(struct k_event * event, uint32_t events, uint32_t events_mask); + + +static inline uint32_t k_event_set_masked(struct k_event * event, uint32_t events, uint32_t events_mask) +{ +# 844 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kernel.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_event_set_masked(event, events, events_mask); +} + + +extern uint32_t z_impl_k_event_clear(struct k_event * event, uint32_t events); + + +static inline uint32_t k_event_clear(struct k_event * event, uint32_t events) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_event_clear(event, events); +} + + +extern uint32_t z_impl_k_event_wait(struct k_event * event, uint32_t events, bool reset, k_timeout_t timeout); + + +static inline uint32_t k_event_wait(struct k_event * event, uint32_t events, bool reset, k_timeout_t timeout) +{ +# 880 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kernel.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_event_wait(event, events, reset, timeout); +} + + +extern uint32_t z_impl_k_event_wait_all(struct k_event * event, uint32_t events, bool reset, k_timeout_t timeout); + + +static inline uint32_t k_event_wait_all(struct k_event * event, uint32_t events, bool reset, k_timeout_t timeout) +{ +# 899 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kernel.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_event_wait_all(event, events, reset, timeout); +} + + +extern int32_t z_impl_k_stack_alloc_init(struct k_stack * stack, uint32_t num_entries); + + +static inline int32_t k_stack_alloc_init(struct k_stack * stack, uint32_t num_entries) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_stack_alloc_init(stack, num_entries); +} + + +extern int z_impl_k_stack_push(struct k_stack * stack, stack_data_t data); + + +static inline int k_stack_push(struct k_stack * stack, stack_data_t data) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_stack_push(stack, data); +} + + +extern int z_impl_k_stack_pop(struct k_stack * stack, stack_data_t * data, k_timeout_t timeout); + + +static inline int k_stack_pop(struct k_stack * stack, stack_data_t * data, k_timeout_t timeout) +{ +# 951 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kernel.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_stack_pop(stack, data, timeout); +} + + +extern int z_impl_k_mutex_init(struct k_mutex * mutex); + + +static inline int k_mutex_init(struct k_mutex * mutex) +{ + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_mutex_init(mutex); +} + + +extern int z_impl_k_mutex_lock(struct k_mutex * mutex, k_timeout_t timeout); + + +static inline int k_mutex_lock(struct k_mutex * mutex, k_timeout_t timeout) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_mutex_lock(mutex, timeout); +} + + +extern int z_impl_k_mutex_unlock(struct k_mutex * mutex); + + +static inline int k_mutex_unlock(struct k_mutex * mutex) +{ + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_mutex_unlock(mutex); +} + + +extern int z_impl_k_condvar_init(struct k_condvar * condvar); + + +static inline int k_condvar_init(struct k_condvar * condvar) +{ + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_condvar_init(condvar); +} + + +extern int z_impl_k_condvar_signal(struct k_condvar * condvar); + + +static inline int k_condvar_signal(struct k_condvar * condvar) +{ + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_condvar_signal(condvar); +} + + +extern int z_impl_k_condvar_broadcast(struct k_condvar * condvar); + + +static inline int k_condvar_broadcast(struct k_condvar * condvar) +{ + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_condvar_broadcast(condvar); +} + + +extern int z_impl_k_condvar_wait(struct k_condvar * condvar, struct k_mutex * mutex, k_timeout_t timeout); + + +static inline int k_condvar_wait(struct k_condvar * condvar, struct k_mutex * mutex, k_timeout_t timeout) +{ +# 1066 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kernel.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_condvar_wait(condvar, mutex, timeout); +} + + +extern int z_impl_k_sem_init(struct k_sem * sem, unsigned int initial_count, unsigned int limit); + + +static inline int k_sem_init(struct k_sem * sem, unsigned int initial_count, unsigned int limit) +{ +# 1084 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kernel.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_sem_init(sem, initial_count, limit); +} + + +extern int z_impl_k_sem_take(struct k_sem * sem, k_timeout_t timeout); + + +static inline int k_sem_take(struct k_sem * sem, k_timeout_t timeout) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_sem_take(sem, timeout); +} + + +extern void z_impl_k_sem_give(struct k_sem * sem); + + +static inline void k_sem_give(struct k_sem * sem) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + z_impl_k_sem_give(sem); +} + + +extern void z_impl_k_sem_reset(struct k_sem * sem); + + +static inline void k_sem_reset(struct k_sem * sem) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + z_impl_k_sem_reset(sem); +} + + +extern unsigned int z_impl_k_sem_count_get(struct k_sem * sem); + + +static inline unsigned int k_sem_count_get(struct k_sem * sem) +{ + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_sem_count_get(sem); +} + + +extern int z_impl_k_msgq_alloc_init(struct k_msgq * msgq, size_t msg_size, uint32_t max_msgs); + + +static inline int k_msgq_alloc_init(struct k_msgq * msgq, size_t msg_size, uint32_t max_msgs) +{ +# 1169 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kernel.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_msgq_alloc_init(msgq, msg_size, max_msgs); +} + + +extern int z_impl_k_msgq_put(struct k_msgq * msgq, const void * data, k_timeout_t timeout); + + +static inline int k_msgq_put(struct k_msgq * msgq, const void * data, k_timeout_t timeout) +{ +# 1187 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kernel.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_msgq_put(msgq, data, timeout); +} + + +extern int z_impl_k_msgq_get(struct k_msgq * msgq, void * data, k_timeout_t timeout); + + +static inline int k_msgq_get(struct k_msgq * msgq, void * data, k_timeout_t timeout) +{ +# 1205 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kernel.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_msgq_get(msgq, data, timeout); +} + + +extern int z_impl_k_msgq_peek(struct k_msgq * msgq, void * data); + + +static inline int k_msgq_peek(struct k_msgq * msgq, void * data) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_msgq_peek(msgq, data); +} + + +extern int z_impl_k_msgq_peek_at(struct k_msgq * msgq, void * data, uint32_t idx); + + +static inline int k_msgq_peek_at(struct k_msgq * msgq, void * data, uint32_t idx) +{ +# 1240 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kernel.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_msgq_peek_at(msgq, data, idx); +} + + +extern void z_impl_k_msgq_purge(struct k_msgq * msgq); + + +static inline void k_msgq_purge(struct k_msgq * msgq) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + z_impl_k_msgq_purge(msgq); +} + + +extern uint32_t z_impl_k_msgq_num_free_get(struct k_msgq * msgq); + + +static inline uint32_t k_msgq_num_free_get(struct k_msgq * msgq) +{ + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_msgq_num_free_get(msgq); +} + + +extern void z_impl_k_msgq_get_attrs(struct k_msgq * msgq, struct k_msgq_attrs * attrs); + + +static inline void k_msgq_get_attrs(struct k_msgq * msgq, struct k_msgq_attrs * attrs) +{ +# 1291 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kernel.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + z_impl_k_msgq_get_attrs(msgq, attrs); +} + + +extern uint32_t z_impl_k_msgq_num_used_get(struct k_msgq * msgq); + + +static inline uint32_t k_msgq_num_used_get(struct k_msgq * msgq) +{ + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_msgq_num_used_get(msgq); +} + + +extern void z_impl_k_pipe_init(struct k_pipe * pipe, uint8_t * buffer, size_t buffer_size); + + +static inline void k_pipe_init(struct k_pipe * pipe, uint8_t * buffer, size_t buffer_size) +{ +# 1326 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kernel.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + z_impl_k_pipe_init(pipe, buffer, buffer_size); +} + + +extern int z_impl_k_pipe_alloc_init(struct k_pipe * pipe, size_t size); + + +static inline int k_pipe_alloc_init(struct k_pipe * pipe, size_t size) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_pipe_alloc_init(pipe, size); +} + + +extern int z_impl_k_pipe_put(struct k_pipe * pipe, const void * data, size_t bytes_to_write, size_t * bytes_written, size_t min_xfer, k_timeout_t timeout); + + +static inline int k_pipe_put(struct k_pipe * pipe, const void * data, size_t bytes_to_write, size_t * bytes_written, size_t min_xfer, k_timeout_t timeout) +{ +# 1368 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kernel.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_pipe_put(pipe, data, bytes_to_write, bytes_written, min_xfer, timeout); +} + + +extern int z_impl_k_pipe_get(struct k_pipe * pipe, void * data, size_t bytes_to_read, size_t * bytes_read, size_t min_xfer, k_timeout_t timeout); + + +static inline int k_pipe_get(struct k_pipe * pipe, void * data, size_t bytes_to_read, size_t * bytes_read, size_t min_xfer, k_timeout_t timeout) +{ +# 1393 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kernel.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_pipe_get(pipe, data, bytes_to_read, bytes_read, min_xfer, timeout); +} + + +extern size_t z_impl_k_pipe_read_avail(struct k_pipe * pipe); + + +static inline size_t k_pipe_read_avail(struct k_pipe * pipe) +{ + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_pipe_read_avail(pipe); +} + + +extern size_t z_impl_k_pipe_write_avail(struct k_pipe * pipe); + + +static inline size_t k_pipe_write_avail(struct k_pipe * pipe) +{ + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_pipe_write_avail(pipe); +} + + +extern void z_impl_k_pipe_flush(struct k_pipe * pipe); + + +static inline void k_pipe_flush(struct k_pipe * pipe) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + z_impl_k_pipe_flush(pipe); +} + + +extern void z_impl_k_pipe_buffer_flush(struct k_pipe * pipe); + + +static inline void k_pipe_buffer_flush(struct k_pipe * pipe) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + z_impl_k_pipe_buffer_flush(pipe); +} + + +extern int z_impl_k_pipe_write(struct k_pipe * pipe, const uint8_t * data, size_t len, k_timeout_t timeout); + + +static inline int k_pipe_write(struct k_pipe * pipe, const uint8_t * data, size_t len, k_timeout_t timeout) +{ +# 1478 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kernel.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_pipe_write(pipe, data, len, timeout); +} + + +extern int z_impl_k_pipe_read(struct k_pipe * pipe, uint8_t * data, size_t len, k_timeout_t timeout); + + +static inline int k_pipe_read(struct k_pipe * pipe, uint8_t * data, size_t len, k_timeout_t timeout) +{ +# 1497 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kernel.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_pipe_read(pipe, data, len, timeout); +} + + +extern void z_impl_k_pipe_reset(struct k_pipe * pipe); + + +static inline void k_pipe_reset(struct k_pipe * pipe) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + z_impl_k_pipe_reset(pipe); +} + + +extern void z_impl_k_pipe_close(struct k_pipe * pipe); + + +static inline void k_pipe_close(struct k_pipe * pipe) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + z_impl_k_pipe_close(pipe); +} + + +extern int z_impl_k_poll(struct k_poll_event * events, int num_events, k_timeout_t timeout); + + +static inline int k_poll(struct k_poll_event * events, int num_events, k_timeout_t timeout) +{ +# 1549 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kernel.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_poll(events, num_events, timeout); +} + + +extern void z_impl_k_poll_signal_init(struct k_poll_signal * sig); + + +static inline void k_poll_signal_init(struct k_poll_signal * sig) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + z_impl_k_poll_signal_init(sig); +} + + +extern void z_impl_k_poll_signal_reset(struct k_poll_signal * sig); + + +static inline void k_poll_signal_reset(struct k_poll_signal * sig) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + z_impl_k_poll_signal_reset(sig); +} + + +extern void z_impl_k_poll_signal_check(struct k_poll_signal * sig, unsigned int * signaled, int * result); + + +static inline void k_poll_signal_check(struct k_poll_signal * sig, unsigned int * signaled, int * result) +{ +# 1602 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kernel.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + z_impl_k_poll_signal_check(sig, signaled, result); +} + + +extern int z_impl_k_poll_signal_raise(struct k_poll_signal * sig, int result); + + +static inline int k_poll_signal_raise(struct k_poll_signal * sig, int result) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_poll_signal_raise(sig, result); +} + + +extern void z_impl_k_str_out(char * c, size_t n); + + +static inline void k_str_out(char * c, size_t n) +{ +# 1637 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/kernel.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + z_impl_k_str_out(c, n); +} + + +extern int z_impl_k_float_disable(struct k_thread * thread); + + +static inline int k_float_disable(struct k_thread * thread) +{ + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_float_disable(thread); +} + + +extern int z_impl_k_float_enable(struct k_thread * thread, unsigned int options); + + +static inline int k_float_enable(struct k_thread * thread, unsigned int options) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_k_float_enable(thread, options); +} + + + +} +# 6446 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" 2 +# 12 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/Arduino.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/gpio.h" 1 +/* + * Copyright (c) 2019-2020 Nordic Semiconductor ASA + * Copyright (c) 2019 Piotr Mienkowski + * Copyright (c) 2017 ARM Ltd + * Copyright (c) 2015-2016 Intel Corporation. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Public APIs for GPIO drivers + */ + + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/errno.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/errno.h" 3 4 +/* +Copyright (c) 1991, 1993 +The Regents of the University of California. All rights reserved. +c) UNIX System Laboratories, Inc. +All or some portions of this file are derived from material licensed +to the University of California by American Telephone and Telegraph +Co. or Unix System Laboratories, Inc. and are reproduced herein with +the permission of UNIX System Laboratories, Inc. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. +3. Neither the name of the University nor the names of its contributors +may be used to endorse or promote products derived from this software +without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + */ +# 19 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/gpio.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/__assert.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/__assert.h" +/* + * Copyright (c) 2011-2014 Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 21 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/gpio.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" 1 +/* + * Copyright (c) 2016 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + /** + * @file + * @defgroup single-linked-list_apis Single-linked list + * @ingroup datastructure_apis + * + * @brief Single-linked list implementation. + * + * Single-linked list implementation using inline macros/functions. + * This API is not thread safe, and thus if a list is used across threads, + * calls to functions must be protected with synchronization primitives. + * @{ + */ +# 22 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/gpio.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/tracing/tracing.h" 1 +/* + * Copyright (c) 2018 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 23 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/gpio.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/types.h" 1 +/* + * Copyright (c) 2017 Linaro Limited + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 25 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/gpio.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* Copyright (C) 1989-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.17 Common definitions + */ +# 26 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/gpio.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/device.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/device.h" +/* + * Copyright (c) 2015 Intel Corporation. + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 27 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/gpio.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/dt-bindings/gpio/gpio.h" 1 +/* + * Copyright (c) 2019 Piotr Mienkowski + * Copyright (c) 2018 Linaro Limited + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + +/** + * @brief GPIO Driver APIs + * @defgroup gpio_interface GPIO Driver APIs + * @ingroup io_interfaces + * @{ + */ + +/** Mask for DT GPIO flags. */ + + +/** + * @name GPIO pin active level flags + * @{ + */ + +/** GPIO pin is active (has logical value '1') in low state. */ + +/** GPIO pin is active (has logical value '1') in high state. */ + + +/** @} */ + +/** + * @name GPIO pin drive flags + * @{ + */ + +/** @cond INTERNAL_HIDDEN */ + +/* Configures GPIO output in single-ended mode (open drain or open source). */ + +/* Configures GPIO output in push-pull mode */ + + +/* Indicates single ended open drain mode (wired AND). */ + +/* Indicates single ended open source mode (wired OR). */ + + +/** @endcond */ + +/** Configures GPIO output in open drain mode (wired AND). + * + * @note 'Open Drain' mode also known as 'Open Collector' is an output + * configuration which behaves like a switch that is either connected to ground + * or disconnected. + */ + +/** Configures GPIO output in open source mode (wired OR). + * + * @note 'Open Source' is a term used by software engineers to describe output + * mode opposite to 'Open Drain'. It behaves like a switch that is either + * connected to power supply or disconnected. There exist no corresponding + * hardware schematic and the term is generally unknown to hardware engineers. + */ + + +/** @} */ + +/** + * @name GPIO pin bias flags + * @{ + */ + +/** Enables GPIO pin pull-up. */ + + +/** Enable GPIO pin pull-down. */ + + +/** @} */ + +/** + * Configures GPIO interrupt to wakeup the system from low power mode. + */ + + +/* Note: Bits 15 downto 8 are reserved for SoC specific flags. */ + +/** + * @} + */ +# 28 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/gpio.h" 2 + + +extern "C" { + + +/** + * @brief GPIO Driver APIs + * @defgroup gpio_interface GPIO Driver APIs + * @since 1.0 + * @version 1.0.0 + * @ingroup io_interfaces + * @{ + */ + +/** + * @name GPIO input/output configuration flags + * @{ + */ + +/** Enables pin as input. */ + + +/** Enables pin as output, no change to the output state. */ + + +/** Disables pin for both input and output. */ + + +/** @cond INTERNAL_HIDDEN */ + +/* Initializes output to a low state. */ + + +/* Initializes output to a high state. */ + + +/* Initializes output based on logic level */ + + +/** @endcond */ + +/** Configures GPIO pin as output and initializes it to a low state. */ + +/** Configures GPIO pin as output and initializes it to a high state. */ + +/** Configures GPIO pin as output and initializes it to a logic 0. */ + + + +/** Configures GPIO pin as output and initializes it to a logic 1. */ + + + + +/** @} */ + +/** + * @name GPIO interrupt configuration flags + * The `GPIO_INT_*` flags are used to specify how input GPIO pins will trigger + * interrupts. The interrupts can be sensitive to pin physical or logical level. + * Interrupts sensitive to pin logical level take into account GPIO_ACTIVE_LOW + * flag. If a pin was configured as Active Low, physical level low will be + * considered as logical level 1 (an active state), physical level high will + * be considered as logical level 0 (an inactive state). + * The GPIO controller should reset the interrupt status, such as clearing the + * pending bit, etc, when configuring the interrupt triggering properties. + * Applications should use the `GPIO_INT_MODE_ENABLE_ONLY` and + * `GPIO_INT_MODE_DISABLE_ONLY` flags to enable and disable interrupts on the + * pin without changing any GPIO settings. + * @{ + */ + +/** Disables GPIO pin interrupt. */ + + +/** @cond INTERNAL_HIDDEN */ + +/* Enables GPIO pin interrupt. */ + + +/* GPIO interrupt is sensitive to logical levels. + * + * This is a component flag that should be combined with other + * `GPIO_INT_*` flags to produce a meaningful configuration. + */ + + +/* GPIO interrupt is edge sensitive. + * + * Note: by default interrupts are level sensitive. + * + * This is a component flag that should be combined with other + * `GPIO_INT_*` flags to produce a meaningful configuration. + */ + + +/* Trigger detection when input state is (or transitions to) physical low or + * logical 0 level. + * + * This is a component flag that should be combined with other + * `GPIO_INT_*` flags to produce a meaningful configuration. + */ + + +/* Trigger detection on input state is (or transitions to) physical high or + * logical 1 level. + * + * This is a component flag that should be combined with other + * `GPIO_INT_*` flags to produce a meaningful configuration. + */ +# 157 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/gpio.h" +/** @endcond */ + +/** Configures GPIO interrupt to be triggered on pin rising edge and enables it. + */ + + + + +/** Configures GPIO interrupt to be triggered on pin falling edge and enables + * it. + */ + + + + +/** Configures GPIO interrupt to be triggered on pin rising or falling edge and + * enables it. + */ + + + + + +/** Configures GPIO interrupt to be triggered on pin physical level low and + * enables it. + */ + + + +/** Configures GPIO interrupt to be triggered on pin physical level high and + * enables it. + */ + + + +/** Configures GPIO interrupt to be triggered on pin state change to logical + * level 0 and enables it. + */ + + + + + +/** Configures GPIO interrupt to be triggered on pin state change to logical + * level 1 and enables it. + */ + + + + + +/** Configures GPIO interrupt to be triggered on pin logical level 0 and enables + * it. + */ + + + + +/** Configures GPIO interrupt to be triggered on pin logical level 1 and enables + * it. + */ + + + + +/** @} */ + +/** @cond INTERNAL_HIDDEN */ + +/** @endcond */ + +/** + * @brief Identifies a set of pins associated with a port. + * + * The pin with index n is present in the set if and only if the bit + * identified by (1U << n) is set. + */ +typedef uint32_t gpio_port_pins_t; + +/** + * @brief Provides values for a set of pins associated with a port. + * + * The value for a pin with index n is high (physical mode) or active + * (logical mode) if and only if the bit identified by (1U << n) is set. + * Otherwise the value for the pin is low (physical mode) or inactive + * (logical mode). + * + * Values of this type are often paired with a `gpio_port_pins_t` value + * that specifies which encoded pin values are valid for the operation. + */ +typedef uint32_t gpio_port_value_t; + +/** + * @brief Provides a type to hold a GPIO pin index. + * + * This reduced-size type is sufficient to record a pin number, + * e.g. from a devicetree GPIOS property. + */ +typedef uint8_t gpio_pin_t; + +/** + * @brief Provides a type to hold GPIO devicetree flags. + * + * All GPIO flags that can be expressed in devicetree fit in the low 16 + * bits of the full flags field, so use a reduced-size type to record + * that part of a GPIOS property. + * + * The lower 8 bits are used for standard flags. The upper 8 bits are reserved + * for SoC specific flags. + */ +typedef uint16_t gpio_dt_flags_t; + +/** + * @brief Provides a type to hold GPIO configuration flags. + * + * This type is sufficient to hold all flags used to control GPIO + * configuration, whether pin or interrupt. + */ +typedef uint32_t gpio_flags_t; + +/** + * @brief Container for GPIO pin information specified in devicetree + * + * This type contains a pointer to a GPIO device, pin number for a pin + * controlled by that device, and the subset of pin configuration + * flags which may be given in devicetree. + * + * @see GPIO_DT_SPEC_GET_BY_IDX + * @see GPIO_DT_SPEC_GET_BY_IDX_OR + * @see GPIO_DT_SPEC_GET + * @see GPIO_DT_SPEC_GET_OR + */ +struct gpio_dt_spec { + /** GPIO device controlling the pin */ + const struct device *port; + /** The pin's number on the device */ + gpio_pin_t pin; + /** The pin's configuration flags as specified in devicetree */ + gpio_dt_flags_t dt_flags; +}; + +/** + * @brief Static initializer for a @p gpio_dt_spec + * + * This returns a static initializer for a @p gpio_dt_spec structure given a + * devicetree node identifier, a property specifying a GPIO and an index. + * + * Example devicetree fragment: + * + * n: node { + * foo-gpios = <&gpio0 1 GPIO_ACTIVE_LOW>, + * <&gpio1 2 GPIO_ACTIVE_LOW>; + * } + * + * Example usage: + * + * const struct gpio_dt_spec spec = GPIO_DT_SPEC_GET_BY_IDX(DT_NODELABEL(n), + * foo_gpios, 1); + * // Initializes 'spec' to: + * // { + * // .port = DEVICE_DT_GET(DT_NODELABEL(gpio1)), + * // .pin = 2, + * // .dt_flags = GPIO_ACTIVE_LOW + * // } + * + * The 'gpio' field must still be checked for readiness, e.g. using + * device_is_ready(). It is an error to use this macro unless the node + * exists, has the given property, and that property specifies a GPIO + * controller, pin number, and flags as shown above. + * + * @param node_id devicetree node identifier + * @param prop lowercase-and-underscores property name + * @param idx logical index into "prop" + * @return static initializer for a struct gpio_dt_spec for the property + */ + + + + + + + +/** + * @brief Like GPIO_DT_SPEC_GET_BY_IDX(), with a fallback to a default value + * + * If the devicetree node identifier 'node_id' refers to a node with a + * property 'prop', and the index @p idx is valid for that property, + * this expands to GPIO_DT_SPEC_GET_BY_IDX(node_id, prop, idx). The @p + * default_value parameter is not expanded in this case. + * + * Otherwise, this expands to @p default_value. + * + * @param node_id devicetree node identifier + * @param prop lowercase-and-underscores property name + * @param idx logical index into "prop" + * @param default_value fallback value to expand to + * @return static initializer for a struct gpio_dt_spec for the property, + * or default_value if the node or property do not exist + */ + + + + + +/** + * @brief Equivalent to GPIO_DT_SPEC_GET_BY_IDX(node_id, prop, 0). + * + * @param node_id devicetree node identifier + * @param prop lowercase-and-underscores property name + * @return static initializer for a struct gpio_dt_spec for the property + * @see GPIO_DT_SPEC_GET_BY_IDX() + */ + + + +/** + * @brief Equivalent to + * GPIO_DT_SPEC_GET_BY_IDX_OR(node_id, prop, 0, default_value). + * + * @param node_id devicetree node identifier + * @param prop lowercase-and-underscores property name + * @param default_value fallback value to expand to + * @return static initializer for a struct gpio_dt_spec for the property + * @see GPIO_DT_SPEC_GET_BY_IDX_OR() + */ + + + +/** + * @brief Static initializer for a @p gpio_dt_spec from a DT_DRV_COMPAT + * instance's GPIO property at an index. + * + * @param inst DT_DRV_COMPAT instance number + * @param prop lowercase-and-underscores property name + * @param idx logical index into "prop" + * @return static initializer for a struct gpio_dt_spec for the property + * @see GPIO_DT_SPEC_GET_BY_IDX() + */ + + + +/** + * @brief Static initializer for a @p gpio_dt_spec from a DT_DRV_COMPAT + * instance's GPIO property at an index, with fallback + * + * @param inst DT_DRV_COMPAT instance number + * @param prop lowercase-and-underscores property name + * @param idx logical index into "prop" + * @param default_value fallback value to expand to + * @return static initializer for a struct gpio_dt_spec for the property + * @see GPIO_DT_SPEC_GET_BY_IDX() + */ + + + + + +/** + * @brief Equivalent to GPIO_DT_SPEC_INST_GET_BY_IDX(inst, prop, 0). + * + * @param inst DT_DRV_COMPAT instance number + * @param prop lowercase-and-underscores property name + * @return static initializer for a struct gpio_dt_spec for the property + * @see GPIO_DT_SPEC_INST_GET_BY_IDX() + */ + + + +/** + * @brief Equivalent to + * GPIO_DT_SPEC_INST_GET_BY_IDX_OR(inst, prop, 0, default_value). + * + * @param inst DT_DRV_COMPAT instance number + * @param prop lowercase-and-underscores property name + * @param default_value fallback value to expand to + * @return static initializer for a struct gpio_dt_spec for the property + * @see GPIO_DT_SPEC_INST_GET_BY_IDX() + */ + + + +/* + * @cond INTERNAL_HIDDEN + */ + +/** + * Auxiliary conditional macro that generates a bitmask for the range + * from @p "prop" array defined by the (off_idx, sz_idx) pair, + * or 0 if the range does not exist. + * + * @param node_id devicetree node identifier + * @param prop lowercase-and-underscores array property name + * @param off_idx logical index of bitmask offset value into "prop" array + * @param sz_idx logical index of bitmask size value into "prop" array + */ +# 461 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/gpio.h" +/** + * A helper conditional macro returning generated bitmask for one element + * from @p "gpio-reserved-ranges" + * + * @param odd_it the value of an odd sequential iterator + * @param node_id devicetree node identifier + */ +# 476 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/gpio.h" +/** + * @endcond + */ + +/** + * @brief Makes a bitmask of reserved GPIOs from DT @p "gpio-reserved-ranges" + * property and @p "ngpios" argument + * + * This macro returns the value as a bitmask of the @p "gpio-reserved-ranges" + * property. This property defines the disabled (or 'reserved') GPIOs in the + * range @p 0...ngpios-1 and is specified as an array of value's pairs that + * define the start offset and size of the reserved ranges. + * + * For example, setting "gpio-reserved-ranges = <3 2>, <10 1>;" + * means that GPIO offsets 3, 4 and 10 cannot be used even if @p ngpios = <18>. + * + * The implementation constraint is inherited from common DT limitations: + * a maximum of 64 pairs can be used (with result limited to bitsize + * of gpio_port_pins_t type). + * + * NB: Due to the nature of C macros, some incorrect tuple definitions + * (for example, overlapping or out of range) will produce undefined results. + * + * Also be aware that if @p ngpios is less than 32 (bit size of DT int type), + * then all unused MSBs outside the range defined by @p ngpios will be + * marked as reserved too. + * + * Example devicetree fragment: + * + * @code{.dts} + * a { + * compatible = "some,gpio-controller"; + * ngpios = <32>; + * gpio-reserved-ranges = <0 4>, <5 3>, <9 5>, <11 2>, <15 2>, + * <18 2>, <21 1>, <23 1>, <25 4>, <30 2>; + * }; + * + * b { + * compatible = "some,gpio-controller"; + * ngpios = <18>; + * gpio-reserved-ranges = <3 2>, <10 1>; + * }; + * + * @endcode + * + * Example usage: + * + * @code{.c} + * struct some_config { + * uint32_t ngpios; + * uint32_t gpios_reserved; + * }; + * + * static const struct some_config dev_cfg_a = { + * .ngpios = DT_PROP_OR(DT_LABEL(a), ngpios, 0), + * .gpios_reserved = GPIO_DT_RESERVED_RANGES_NGPIOS(DT_LABEL(a), + * DT_PROP(DT_LABEL(a), ngpios)), + * }; + * + * static const struct some_config dev_cfg_b = { + * .ngpios = DT_PROP_OR(DT_LABEL(b), ngpios, 0), + * .gpios_reserved = GPIO_DT_RESERVED_RANGES_NGPIOS(DT_LABEL(b), + * DT_PROP(DT_LABEL(b), ngpios)), + * }; + *@endcode + * + * This expands to: + * + * @code{.c} + * struct some_config { + * uint32_t ngpios; + * uint32_t gpios_reserved; + * }; + * + * static const struct some_config dev_cfg_a = { + * .ngpios = 32, + * .gpios_reserved = 0xdeadbeef, + * // 0b1101 1110 1010 1101 1011 1110 1110 1111 + * }; + * static const struct some_config dev_cfg_b = { + * .ngpios = 18, + * .gpios_reserved = 0xfffc0418, + * // 0b1111 1111 1111 1100 0000 0100 0001 1000 + * // unused MSBs were marked as reserved too + * }; + * @endcode + * + * @param node_id GPIO controller node identifier. + * @param ngpios number of GPIOs. + * @return the bitmask of reserved gpios + */ +# 577 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/gpio.h" +/** + * @brief Makes a bitmask of reserved GPIOs from the @p "gpio-reserved-ranges" + * and @p "ngpios" DT properties values + * + * @param node_id GPIO controller node identifier. + * @return the bitmask of reserved gpios + */ + + + +/** + * @brief Makes a bitmask of reserved GPIOs from a DT_DRV_COMPAT instance's + * @p "gpio-reserved-ranges" property and @p "ngpios" argument + * + * @param inst DT_DRV_COMPAT instance number + * @return the bitmask of reserved gpios + * @param ngpios number of GPIOs + * @see GPIO_DT_RESERVED_RANGES() + */ + + + +/** + * @brief Make a bitmask of reserved GPIOs from a DT_DRV_COMPAT instance's GPIO + * @p "gpio-reserved-ranges" and @p "ngpios" properties + * + * @param inst DT_DRV_COMPAT instance number + * @return the bitmask of reserved gpios + * @see GPIO_DT_RESERVED_RANGES() + */ + + + +/** + * @brief Makes a bitmask of allowed GPIOs from DT @p "gpio-reserved-ranges" + * property and @p "ngpios" argument + * + * This macro is paired with GPIO_DT_RESERVED_RANGES_NGPIOS(), however unlike + * the latter, it returns a bitmask of ALLOWED gpios. + * + * Example devicetree fragment: + * + * @code{.dts} + * a { + * compatible = "some,gpio-controller"; + * ngpios = <32>; + * gpio-reserved-ranges = <0 8>, <9 5>, <15 16>; + * }; + * + * @endcode + * + * Example usage: + * + * @code{.c} + * struct some_config { + * uint32_t port_pin_mask; + * }; + * + * static const struct some_config dev_cfg = { + * .port_pin_mask = GPIO_DT_PORT_PIN_MASK_NGPIOS_EXC( + * DT_LABEL(a), 32), + * }; + * @endcode + * + * This expands to: + * + * @code{.c} + * struct some_config { + * uint32_t port_pin_mask; + * }; + * + * static const struct some_config dev_cfg = { + * .port_pin_mask = 0x80004100, + * // 0b1000 0000 0000 0000 0100 0001 00000 000 + * }; + * @endcode + * + * @param node_id GPIO controller node identifier. + * @param ngpios number of GPIOs + * @return the bitmask of allowed gpios + */ +# 669 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/gpio.h" +/** + * @brief Makes a bitmask of allowed GPIOs from a DT_DRV_COMPAT instance's + * @p "gpio-reserved-ranges" property and @p "ngpios" argument + * + * @param inst DT_DRV_COMPAT instance number + * @param ngpios number of GPIOs + * @return the bitmask of allowed gpios + * @see GPIO_DT_NGPIOS_PORT_PIN_MASK_EXC() + */ + + + +/** + * @brief Maximum number of pins that are supported by `gpio_port_pins_t`. + */ + + +/** + * This structure is common to all GPIO drivers and is expected to be + * the first element in the object pointed to by the config field + * in the device structure. + */ +struct gpio_driver_config { + /** Mask identifying pins supported by the controller. + * + * Initialization of this mask is the responsibility of device + * instance generation in the driver. + */ + gpio_port_pins_t port_pin_mask; +}; + +/** + * This structure is common to all GPIO drivers and is expected to be the first + * element in the driver's struct driver_data declaration. + */ +struct gpio_driver_data { + /** Mask identifying pins that are configured as active low. + * + * Management of this mask is the responsibility of the + * wrapper functions in this header. + */ + gpio_port_pins_t invert; +}; + +struct gpio_callback; + +/** + * @typedef gpio_callback_handler_t + * @brief Define the application callback handler function signature + * + * @param port Device struct for the GPIO device. + * @param cb Original struct gpio_callback owning this handler + * @param pins Mask of pins that triggers the callback handler + * + * Note: cb pointer can be used to retrieve private data through + * CONTAINER_OF() if original struct gpio_callback is stored in + * another private structure. + */ +typedef void (*gpio_callback_handler_t)(const struct device *port, + struct gpio_callback *cb, + gpio_port_pins_t pins); + +/** + * @brief GPIO callback structure + * + * Used to register a callback in the driver instance callback list. + * As many callbacks as needed can be added as long as each of them + * are unique pointers of struct gpio_callback. + * Beware such structure should not be allocated on stack. + * + * Note: To help setting it, see gpio_init_callback() below + */ +struct gpio_callback { + /** This is meant to be used in the driver and the user should not + * mess with it (see drivers/gpio/gpio_utils.h) + */ + sys_snode_t node; + + /** Actual callback function being called when relevant. */ + gpio_callback_handler_t handler; + + /** A mask of pins the callback is interested in, if 0 the callback + * will never be called. Such pin_mask can be modified whenever + * necessary by the owner, and thus will affect the handler being + * called or not. The selected pins must be configured to trigger + * an interrupt. + */ + gpio_port_pins_t pin_mask; +}; + +/** + * @cond INTERNAL_HIDDEN + * + * For internal use only, skip these in public documentation. + */ + +/* Used by driver api function pin_interrupt_configure, these are defined + * in terms of the public flags so we can just mask and pass them + * through to the driver api + */ +enum gpio_int_mode { + GPIO_INT_MODE_DISABLED = (1U << 21), + GPIO_INT_MODE_LEVEL = (1U << 22), + GPIO_INT_MODE_EDGE = (1U << 22) | (1U << 24), + + + + +}; + +enum gpio_int_trig { + /* Trigger detection when input state is (or transitions to) + * physical low. (Edge Falling or Active Low) + */ + GPIO_INT_TRIG_LOW = (1U << 25), + /* Trigger detection when input state is (or transitions to) + * physical high. (Edge Rising or Active High) */ + GPIO_INT_TRIG_HIGH = (1U << 26), + /* Trigger detection on pin rising or falling edge. */ + GPIO_INT_TRIG_BOTH = (1U << 25) | (1U << 26), + /* Trigger a system wakeup. */ + GPIO_INT_TRIG_WAKE = (1 << 6), +}; + + struct gpio_driver_api { + int (*pin_configure)(const struct device *port, gpio_pin_t pin, + gpio_flags_t flags); + + + + + int (*port_get_raw)(const struct device *port, + gpio_port_value_t *value); + int (*port_set_masked_raw)(const struct device *port, + gpio_port_pins_t mask, + gpio_port_value_t value); + int (*port_set_bits_raw)(const struct device *port, + gpio_port_pins_t pins); + int (*port_clear_bits_raw)(const struct device *port, + gpio_port_pins_t pins); + int (*port_toggle_bits)(const struct device *port, + gpio_port_pins_t pins); + int (*pin_interrupt_configure)(const struct device *port, + gpio_pin_t pin, + enum gpio_int_mode mode, + enum gpio_int_trig trig); + int (*manage_callback)(const struct device *port, + struct gpio_callback *cb, + bool set); + uint32_t (*get_pending_int)(const struct device *dev); + + + + +}; + +/** + * @endcond + */ + +/** + * @brief Validate that GPIO port is ready. + * + * @param spec GPIO specification from devicetree + * + * @retval true if the GPIO spec is ready for use. + * @retval false if the GPIO spec is not ready for use. + */ +static inline bool gpio_is_ready_dt(const struct gpio_dt_spec *spec) +{ + /* Validate port is ready */ + return device_is_ready(spec->port); +} + +/** + * @brief Configure pin interrupt. + * + * @note This function can also be used to configure interrupts on pins + * not controlled directly by the GPIO module. That is, pins which are + * routed to other modules such as I2C, SPI, UART. + * + * @funcprops \isr_ok + * + * @param port Pointer to device structure for the driver instance. + * @param pin Pin number. + * @param flags Interrupt configuration flags as defined by GPIO_INT_*. + * + * @retval 0 If successful. + * @retval -ENOSYS If the operation is not implemented by the driver. + * @retval -ENOTSUP If any of the configuration options is not supported + * (unless otherwise directed by flag documentation). + * @retval -EINVAL Invalid argument. + * @retval -EBUSY Interrupt line required to configure pin interrupt is + * already in use. + * @retval -EIO I/O error when accessing an external GPIO chip. + * @retval -EWOULDBLOCK if operation would block. + */ +static inline int gpio_pin_interrupt_configure(const struct device *port, + gpio_pin_t pin, + gpio_flags_t flags); + +static inline int z_impl_gpio_pin_interrupt_configure(const struct device *port, + gpio_pin_t pin, + gpio_flags_t flags) +{ + const struct gpio_driver_api *api = + (const struct gpio_driver_api *)port->api; + __attribute__((__unused__)) const struct gpio_driver_config *const cfg = + (const struct gpio_driver_config *)port->config; + const struct gpio_driver_data *const data = + (const struct gpio_driver_data *)port->data; + enum gpio_int_trig trig; + enum gpio_int_mode mode; + int ret; + + do { } while (false); + + if (api->pin_interrupt_configure == +# 886 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/gpio.h" 3 4 + __null +# 886 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/gpio.h" + ) { + do { } while (false); + return - +# 888 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/gpio.h" 3 4 + 88 /* Function not implemented */ +# 888 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/gpio.h" + ; + } + + { } + + ; + + { } + ; + + { } + + + + + ; + + { } + + + + + + + + ; + + { } + ; + + if (((flags & (1U << 23)) != 0) && + ((data->invert & (gpio_port_pins_t)(1UL << (pin))) != 0)) { + /* Invert signal bits */ + flags ^= ((1U << 25) | (1U << 26)); + } + + trig = (enum gpio_int_trig)(flags & ((1U << 25) | (1U << 26) | (1 << 6))); + + + + + mode = (enum gpio_int_mode)(flags & ((1U << 24) | (1U << 21) | (1U << 22))); + + + ret = api->pin_interrupt_configure(port, pin, mode, trig); + do { } while (false); + return ret; +} + +/** + * @brief Configure pin interrupts from a @p gpio_dt_spec. + * + * @funcprops \isr_ok + * + * This is equivalent to: + * + * gpio_pin_interrupt_configure(spec->port, spec->pin, flags); + * + * The spec->dt_flags value is not used. + * + * @param spec GPIO specification from devicetree + * @param flags interrupt configuration flags + * @return a value from gpio_pin_interrupt_configure() + */ +static inline int gpio_pin_interrupt_configure_dt(const struct gpio_dt_spec *spec, + gpio_flags_t flags) +{ + return gpio_pin_interrupt_configure(spec->port, spec->pin, flags); +} + +/** + * @brief Configure a single pin. + * + * @param port Pointer to device structure for the driver instance. + * @param pin Pin number to configure. + * @param flags Flags for pin configuration: 'GPIO input/output configuration + * flags', 'GPIO pin drive flags', 'GPIO pin bias flags'. + * + * @retval 0 If successful. + * @retval -ENOTSUP if any of the configuration options is not supported + * (unless otherwise directed by flag documentation). + * @retval -EINVAL Invalid argument. + * @retval -EIO I/O error when accessing an external GPIO chip. + * @retval -EWOULDBLOCK if operation would block. + */ +static inline int gpio_pin_configure(const struct device *port, + gpio_pin_t pin, + gpio_flags_t flags); + +static inline int z_impl_gpio_pin_configure(const struct device *port, + gpio_pin_t pin, + gpio_flags_t flags) +{ + const struct gpio_driver_api *api = + (const struct gpio_driver_api *)port->api; + __attribute__((__unused__)) const struct gpio_driver_config *const cfg = + (const struct gpio_driver_config *)port->config; + struct gpio_driver_data *data = + (struct gpio_driver_data *)port->data; + int ret; + + do { } while (false); + + { } + ; + + { } + + ; + + { } + ; + + { } + ; + + { } + + ; + + { } + + ; + + if (((flags & (1U << 20)) != 0) + && ((flags & ((1U << 18) | (1U << 19))) != 0) + && ((flags & (1 << 0)) != 0)) { + flags ^= (1U << 18) | (1U << 19); + } + + flags &= ~(1U << 20); + + { } + ; + + if ((flags & (1 << 0)) != 0) { + data->invert |= (gpio_port_pins_t)(1UL << (pin)); + } else { + data->invert &= ~(gpio_port_pins_t)(1UL << (pin)); + } + + ret = api->pin_configure(port, pin, flags); + do { } while (false); + return ret; +} + +/** + * @brief Configure a single pin from a @p gpio_dt_spec and some extra flags. + * + * This is equivalent to: + * + * gpio_pin_configure(spec->port, spec->pin, spec->dt_flags | extra_flags); + * + * @param spec GPIO specification from devicetree + * @param extra_flags additional flags + * @return a value from gpio_pin_configure() + */ +static inline int gpio_pin_configure_dt(const struct gpio_dt_spec *spec, + gpio_flags_t extra_flags) +{ + return gpio_pin_configure(spec->port, + spec->pin, + spec->dt_flags | extra_flags); +} + +/** + * @brief Get direction of select pins in a port. + * + * Retrieve direction of each pin specified in @p map. + * + * If @p inputs or @p outputs is NULL, then this function does not get the + * respective input or output direction information. + * + * @param port Pointer to the device structure for the driver instance. + * @param map Bitmap of pin directions to query. + * @param inputs Pointer to a variable where input directions will be stored. + * @param outputs Pointer to a variable where output directions will be stored. + * + * @retval 0 If successful. + * @retval -ENOSYS if the underlying driver does not support this call. + * @retval -EIO I/O error when accessing an external GPIO chip. + * @retval -EWOULDBLOCK if operation would block. + */ +static inline int gpio_port_get_direction(const struct device *port, gpio_port_pins_t map, + gpio_port_pins_t *inputs, gpio_port_pins_t *outputs); +# 1095 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/gpio.h" +/** + * @brief Check if @p pin is configured for input + * + * @param port Pointer to device structure for the driver instance. + * @param pin Pin number to query the direction of + * + * @retval 1 if @p pin is configured as @ref GPIO_INPUT. + * @retval 0 if @p pin is not configured as @ref GPIO_INPUT. + * @retval -ENOSYS if the underlying driver does not support this call. + * @retval -EIO I/O error when accessing an external GPIO chip. + * @retval -EWOULDBLOCK if operation would block. + */ +static inline int gpio_pin_is_input(const struct device *port, gpio_pin_t pin) +{ + int rv; + gpio_port_pins_t pins; + __attribute__((__unused__)) const struct gpio_driver_config *cfg = + (const struct gpio_driver_config *)port->config; + + { }; + + rv = gpio_port_get_direction(port, (1UL << (pin)), &pins, +# 1116 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/gpio.h" 3 4 + __null +# 1116 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/gpio.h" + ); + if (rv < 0) { + return rv; + } + + return (int)!!((gpio_port_pins_t)(1UL << (pin)) & pins); +} + +/** + * @brief Check if a single pin from @p gpio_dt_spec is configured for input + * + * This is equivalent to: + * + * gpio_pin_is_input(spec->port, spec->pin); + * + * @param spec GPIO specification from devicetree. + * + * @return A value from gpio_pin_is_input(). + */ +static inline int gpio_pin_is_input_dt(const struct gpio_dt_spec *spec) +{ + return gpio_pin_is_input(spec->port, spec->pin); +} + +/** + * @brief Check if @p pin is configured for output + * + * @param port Pointer to device structure for the driver instance. + * @param pin Pin number to query the direction of + * + * @retval 1 if @p pin is configured as @ref GPIO_OUTPUT. + * @retval 0 if @p pin is not configured as @ref GPIO_OUTPUT. + * @retval -ENOSYS if the underlying driver does not support this call. + * @retval -EIO I/O error when accessing an external GPIO chip. + * @retval -EWOULDBLOCK if operation would block. + */ +static inline int gpio_pin_is_output(const struct device *port, gpio_pin_t pin) +{ + int rv; + gpio_port_pins_t pins; + __attribute__((__unused__)) const struct gpio_driver_config *cfg = + (const struct gpio_driver_config *)port->config; + + { }; + + rv = gpio_port_get_direction(port, (1UL << (pin)), +# 1161 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/gpio.h" 3 4 + __null +# 1161 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/gpio.h" + , &pins); + if (rv < 0) { + return rv; + } + + return (int)!!((gpio_port_pins_t)(1UL << (pin)) & pins); +} + +/** + * @brief Check if a single pin from @p gpio_dt_spec is configured for output + * + * This is equivalent to: + * + * gpio_pin_is_output(spec->port, spec->pin); + * + * @param spec GPIO specification from devicetree. + * + * @return A value from gpio_pin_is_output(). + */ +static inline int gpio_pin_is_output_dt(const struct gpio_dt_spec *spec) +{ + return gpio_pin_is_output(spec->port, spec->pin); +} + +/** + * @brief Get a configuration of a single pin. + * + * @param port Pointer to device structure for the driver instance. + * @param pin Pin number which configuration is get. + * @param flags Pointer to variable in which the current configuration will + * be stored if function is successful. + * + * @retval 0 If successful. + * @retval -ENOSYS if getting current pin configuration is not implemented + * by the driver. + * @retval -EINVAL Invalid argument. + * @retval -EIO I/O error when accessing an external GPIO chip. + * @retval -EWOULDBLOCK if operation would block. + */ +static inline int gpio_pin_get_config(const struct device *port, gpio_pin_t pin, + gpio_flags_t *flags); +# 1225 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/gpio.h" +/** + * @brief Get a configuration of a single pin from a @p gpio_dt_spec. + * + * This is equivalent to: + * + * gpio_pin_get_config(spec->port, spec->pin, flags); + * + * @param spec GPIO specification from devicetree + * @param flags Pointer to variable in which the current configuration will + * be stored if function is successful. + * @return a value from gpio_pin_configure() + */ +static inline int gpio_pin_get_config_dt(const struct gpio_dt_spec *spec, + gpio_flags_t *flags) +{ + return gpio_pin_get_config(spec->port, spec->pin, flags); +} + +/** + * @brief Get physical level of all input pins in a port. + * + * A low physical level on the pin will be interpreted as value 0. A high + * physical level will be interpreted as value 1. This function ignores + * GPIO_ACTIVE_LOW flag. + * + * Value of a pin with index n will be represented by bit n in the returned + * port value. + * + * @param port Pointer to the device structure for the driver instance. + * @param value Pointer to a variable where pin values will be stored. + * + * @retval 0 If successful. + * @retval -EIO I/O error when accessing an external GPIO chip. + * @retval -EWOULDBLOCK if operation would block. + */ +static inline int gpio_port_get_raw(const struct device *port, + gpio_port_value_t *value); + +static inline int z_impl_gpio_port_get_raw(const struct device *port, gpio_port_value_t *value) +{ + const struct gpio_driver_api *api = (const struct gpio_driver_api *)port->api; + int ret; + + do { } while (false); + + ret = api->port_get_raw(port, value); + do { } while (false); + return ret; +} + +/** + * @brief Get logical level of all input pins in a port. + * + * Get logical level of an input pin taking into account GPIO_ACTIVE_LOW flag. + * If pin is configured as Active High, a low physical level will be interpreted + * as logical value 0. If pin is configured as Active Low, a low physical level + * will be interpreted as logical value 1. + * + * Value of a pin with index n will be represented by bit n in the returned + * port value. + * + * @param port Pointer to the device structure for the driver instance. + * @param value Pointer to a variable where pin values will be stored. + * + * @retval 0 If successful. + * @retval -EIO I/O error when accessing an external GPIO chip. + * @retval -EWOULDBLOCK if operation would block. + */ +static inline int gpio_port_get(const struct device *port, + gpio_port_value_t *value) +{ + const struct gpio_driver_data *const data = + (const struct gpio_driver_data *)port->data; + int ret; + + ret = gpio_port_get_raw(port, value); + if (ret == 0) { + *value ^= data->invert; + } + + return ret; +} + +/** + * @brief Set physical level of output pins in a port. + * + * Writing value 0 to the pin will set it to a low physical level. Writing + * value 1 will set it to a high physical level. This function ignores + * GPIO_ACTIVE_LOW flag. + * + * Pin with index n is represented by bit n in mask and value parameter. + * + * @param port Pointer to the device structure for the driver instance. + * @param mask Mask indicating which pins will be modified. + * @param value Value assigned to the output pins. + * + * @retval 0 If successful. + * @retval -EIO I/O error when accessing an external GPIO chip. + * @retval -EWOULDBLOCK if operation would block. + */ +static inline int gpio_port_set_masked_raw(const struct device *port, + gpio_port_pins_t mask, + gpio_port_value_t value); + +static inline int z_impl_gpio_port_set_masked_raw(const struct device *port, + gpio_port_pins_t mask, + gpio_port_value_t value) +{ + const struct gpio_driver_api *api = + (const struct gpio_driver_api *)port->api; + int ret; + + do { } while (false); + + ret = api->port_set_masked_raw(port, mask, value); + do { } while (false); + return ret; +} + +/** + * @brief Set logical level of output pins in a port. + * + * Set logical level of an output pin taking into account GPIO_ACTIVE_LOW flag. + * Value 0 sets the pin in logical 0 / inactive state. Value 1 sets the pin in + * logical 1 / active state. If pin is configured as Active High, the default, + * setting it in inactive state will force the pin to a low physical level. If + * pin is configured as Active Low, setting it in inactive state will force the + * pin to a high physical level. + * + * Pin with index n is represented by bit n in mask and value parameter. + * + * @param port Pointer to the device structure for the driver instance. + * @param mask Mask indicating which pins will be modified. + * @param value Value assigned to the output pins. + * + * @retval 0 If successful. + * @retval -EIO I/O error when accessing an external GPIO chip. + * @retval -EWOULDBLOCK if operation would block. + */ +static inline int gpio_port_set_masked(const struct device *port, + gpio_port_pins_t mask, + gpio_port_value_t value) +{ + const struct gpio_driver_data *const data = + (const struct gpio_driver_data *)port->data; + + value ^= data->invert; + + return gpio_port_set_masked_raw(port, mask, value); +} + +/** + * @brief Set physical level of selected output pins to high. + * + * @param port Pointer to the device structure for the driver instance. + * @param pins Value indicating which pins will be modified. + * + * @retval 0 If successful. + * @retval -EIO I/O error when accessing an external GPIO chip. + * @retval -EWOULDBLOCK if operation would block. + */ +static inline int gpio_port_set_bits_raw(const struct device *port, + gpio_port_pins_t pins); + +static inline int z_impl_gpio_port_set_bits_raw(const struct device *port, + gpio_port_pins_t pins) +{ + const struct gpio_driver_api *api = + (const struct gpio_driver_api *)port->api; + int ret; + + do { } while (false); + + ret = api->port_set_bits_raw(port, pins); + do { } while (false); + return ret; +} + +/** + * @brief Set logical level of selected output pins to active. + * + * @param port Pointer to the device structure for the driver instance. + * @param pins Value indicating which pins will be modified. + * + * @retval 0 If successful. + * @retval -EIO I/O error when accessing an external GPIO chip. + * @retval -EWOULDBLOCK if operation would block. + */ +static inline int gpio_port_set_bits(const struct device *port, + gpio_port_pins_t pins) +{ + return gpio_port_set_masked(port, pins, pins); +} + +/** + * @brief Set physical level of selected output pins to low. + * + * @param port Pointer to the device structure for the driver instance. + * @param pins Value indicating which pins will be modified. + * + * @retval 0 If successful. + * @retval -EIO I/O error when accessing an external GPIO chip. + * @retval -EWOULDBLOCK if operation would block. + */ +static inline int gpio_port_clear_bits_raw(const struct device *port, + gpio_port_pins_t pins); + +static inline int z_impl_gpio_port_clear_bits_raw(const struct device *port, + gpio_port_pins_t pins) +{ + const struct gpio_driver_api *api = + (const struct gpio_driver_api *)port->api; + int ret; + + do { } while (false); + + ret = api->port_clear_bits_raw(port, pins); + do { } while (false); + return ret; +} + +/** + * @brief Set logical level of selected output pins to inactive. + * + * @param port Pointer to the device structure for the driver instance. + * @param pins Value indicating which pins will be modified. + * + * @retval 0 If successful. + * @retval -EIO I/O error when accessing an external GPIO chip. + * @retval -EWOULDBLOCK if operation would block. + */ +static inline int gpio_port_clear_bits(const struct device *port, + gpio_port_pins_t pins) +{ + return gpio_port_set_masked(port, pins, 0); +} + +/** + * @brief Toggle level of selected output pins. + * + * @param port Pointer to the device structure for the driver instance. + * @param pins Value indicating which pins will be modified. + * + * @retval 0 If successful. + * @retval -EIO I/O error when accessing an external GPIO chip. + * @retval -EWOULDBLOCK if operation would block. + */ +static inline int gpio_port_toggle_bits(const struct device *port, + gpio_port_pins_t pins); + +static inline int z_impl_gpio_port_toggle_bits(const struct device *port, + gpio_port_pins_t pins) +{ + const struct gpio_driver_api *api = + (const struct gpio_driver_api *)port->api; + int ret; + + do { } while (false); + + ret = api->port_toggle_bits(port, pins); + do { } while (false); + return ret; +} + +/** + * @brief Set physical level of selected output pins. + * + * @param port Pointer to the device structure for the driver instance. + * @param set_pins Value indicating which pins will be set to high. + * @param clear_pins Value indicating which pins will be set to low. + * + * @retval 0 If successful. + * @retval -EIO I/O error when accessing an external GPIO chip. + * @retval -EWOULDBLOCK if operation would block. + */ +static inline int gpio_port_set_clr_bits_raw(const struct device *port, + gpio_port_pins_t set_pins, + gpio_port_pins_t clear_pins) +{ + { }; + + return gpio_port_set_masked_raw(port, set_pins | clear_pins, set_pins); +} + +/** + * @brief Set logical level of selected output pins. + * + * @param port Pointer to the device structure for the driver instance. + * @param set_pins Value indicating which pins will be set to active. + * @param clear_pins Value indicating which pins will be set to inactive. + * + * @retval 0 If successful. + * @retval -EIO I/O error when accessing an external GPIO chip. + * @retval -EWOULDBLOCK if operation would block. + */ +static inline int gpio_port_set_clr_bits(const struct device *port, + gpio_port_pins_t set_pins, + gpio_port_pins_t clear_pins) +{ + { }; + + return gpio_port_set_masked(port, set_pins | clear_pins, set_pins); +} + +/** + * @brief Get physical level of an input pin. + * + * A low physical level on the pin will be interpreted as value 0. A high + * physical level will be interpreted as value 1. This function ignores + * GPIO_ACTIVE_LOW flag. + * + * @param port Pointer to the device structure for the driver instance. + * @param pin Pin number. + * + * @retval 1 If pin physical level is high. + * @retval 0 If pin physical level is low. + * @retval -EIO I/O error when accessing an external GPIO chip. + * @retval -EWOULDBLOCK if operation would block. + */ +static inline int gpio_pin_get_raw(const struct device *port, gpio_pin_t pin) +{ + __attribute__((__unused__)) const struct gpio_driver_config *const cfg = + (const struct gpio_driver_config *)port->config; + gpio_port_value_t value; + int ret; + + { } + ; + + ret = gpio_port_get_raw(port, &value); + if (ret == 0) { + ret = (value & (gpio_port_pins_t)(1UL << (pin))) != 0 ? 1 : 0; + } + + return ret; +} + +/** + * @brief Get logical level of an input pin. + * + * Get logical level of an input pin taking into account GPIO_ACTIVE_LOW flag. + * If pin is configured as Active High, a low physical level will be interpreted + * as logical value 0. If pin is configured as Active Low, a low physical level + * will be interpreted as logical value 1. + * + * Note: If pin is configured as Active High, the default, gpio_pin_get() + * function is equivalent to gpio_pin_get_raw(). + * + * @param port Pointer to the device structure for the driver instance. + * @param pin Pin number. + * + * @retval 1 If pin logical value is 1 / active. + * @retval 0 If pin logical value is 0 / inactive. + * @retval -EIO I/O error when accessing an external GPIO chip. + * @retval -EWOULDBLOCK if operation would block. + */ +static inline int gpio_pin_get(const struct device *port, gpio_pin_t pin) +{ + __attribute__((__unused__)) const struct gpio_driver_config *const cfg = + (const struct gpio_driver_config *)port->config; + gpio_port_value_t value; + int ret; + + { } + ; + + ret = gpio_port_get(port, &value); + if (ret == 0) { + ret = (value & (gpio_port_pins_t)(1UL << (pin))) != 0 ? 1 : 0; + } + + return ret; +} + +/** + * @brief Get logical level of an input pin from a @p gpio_dt_spec. + * + * This is equivalent to: + * + * gpio_pin_get(spec->port, spec->pin); + * + * @param spec GPIO specification from devicetree + * @return a value from gpio_pin_get() + */ +static inline int gpio_pin_get_dt(const struct gpio_dt_spec *spec) +{ + return gpio_pin_get(spec->port, spec->pin); +} + +/** + * @brief Set physical level of an output pin. + * + * Writing value 0 to the pin will set it to a low physical level. Writing any + * value other than 0 will set it to a high physical level. This function + * ignores GPIO_ACTIVE_LOW flag. + * + * @param port Pointer to the device structure for the driver instance. + * @param pin Pin number. + * @param value Value assigned to the pin. + * + * @retval 0 If successful. + * @retval -EIO I/O error when accessing an external GPIO chip. + * @retval -EWOULDBLOCK if operation would block. + */ +static inline int gpio_pin_set_raw(const struct device *port, gpio_pin_t pin, + int value) +{ + __attribute__((__unused__)) const struct gpio_driver_config *const cfg = + (const struct gpio_driver_config *)port->config; + int ret; + + { } + ; + + if (value != 0) { + ret = gpio_port_set_bits_raw(port, (gpio_port_pins_t)(1UL << (pin))); + } else { + ret = gpio_port_clear_bits_raw(port, (gpio_port_pins_t)(1UL << (pin))); + } + + return ret; +} + +/** + * @brief Set logical level of an output pin. + * + * Set logical level of an output pin taking into account GPIO_ACTIVE_LOW flag. + * Value 0 sets the pin in logical 0 / inactive state. Any value other than 0 + * sets the pin in logical 1 / active state. If pin is configured as Active + * High, the default, setting it in inactive state will force the pin to a low + * physical level. If pin is configured as Active Low, setting it in inactive + * state will force the pin to a high physical level. + * + * Note: If pin is configured as Active High, gpio_pin_set() function is + * equivalent to gpio_pin_set_raw(). + * + * @param port Pointer to the device structure for the driver instance. + * @param pin Pin number. + * @param value Value assigned to the pin. + * + * @retval 0 If successful. + * @retval -EIO I/O error when accessing an external GPIO chip. + * @retval -EWOULDBLOCK if operation would block. + */ +static inline int gpio_pin_set(const struct device *port, gpio_pin_t pin, + int value) +{ + __attribute__((__unused__)) const struct gpio_driver_config *const cfg = + (const struct gpio_driver_config *)port->config; + const struct gpio_driver_data *const data = + (const struct gpio_driver_data *)port->data; + + { } + ; + + if (data->invert & (gpio_port_pins_t)(1UL << (pin))) { + value = (value != 0) ? 0 : 1; + } + + return gpio_pin_set_raw(port, pin, value); +} + +/** + * @brief Set logical level of a output pin from a @p gpio_dt_spec. + * + * This is equivalent to: + * + * gpio_pin_set(spec->port, spec->pin, value); + * + * @param spec GPIO specification from devicetree + * @param value Value assigned to the pin. + * @return a value from gpio_pin_set() + */ +static inline int gpio_pin_set_dt(const struct gpio_dt_spec *spec, int value) +{ + return gpio_pin_set(spec->port, spec->pin, value); +} + +/** + * @brief Toggle pin level. + * + * @param port Pointer to the device structure for the driver instance. + * @param pin Pin number. + * + * @retval 0 If successful. + * @retval -EIO I/O error when accessing an external GPIO chip. + * @retval -EWOULDBLOCK if operation would block. + */ +static inline int gpio_pin_toggle(const struct device *port, gpio_pin_t pin) +{ + __attribute__((__unused__)) const struct gpio_driver_config *const cfg = + (const struct gpio_driver_config *)port->config; + + { } + ; + + return gpio_port_toggle_bits(port, (gpio_port_pins_t)(1UL << (pin))); +} + +/** + * @brief Toggle pin level from a @p gpio_dt_spec. + * + * This is equivalent to: + * + * gpio_pin_toggle(spec->port, spec->pin); + * + * @param spec GPIO specification from devicetree + * @return a value from gpio_pin_toggle() + */ +static inline int gpio_pin_toggle_dt(const struct gpio_dt_spec *spec) +{ + return gpio_pin_toggle(spec->port, spec->pin); +} + +/** + * @brief Helper to initialize a struct gpio_callback properly + * @param callback A valid Application's callback structure pointer. + * @param handler A valid handler function pointer. + * @param pin_mask A bit mask of relevant pins for the handler + */ +static inline void gpio_init_callback(struct gpio_callback *callback, + gpio_callback_handler_t handler, + gpio_port_pins_t pin_mask) +{ + do { } while (false); + + { }; + { }; + + callback->handler = handler; + callback->pin_mask = pin_mask; + + do { } while (false); +} + +/** + * @brief Add an application callback. + * @param port Pointer to the device structure for the driver instance. + * @param callback A valid Application's callback structure pointer. + * @retval 0 If successful + * @retval -ENOSYS If driver does not implement the operation + * @retval -errno Other negative errno code on failure. + * + * @note Callbacks may be added to the device from within a callback + * handler invocation, but whether they are invoked for the current + * GPIO event is not specified. + * + * Note: enables to add as many callback as needed on the same port. + */ +static inline int gpio_add_callback(const struct device *port, + struct gpio_callback *callback) +{ + const struct gpio_driver_api *api = + (const struct gpio_driver_api *)port->api; + int ret; + + do { } while (false); + + if (api->manage_callback == +# 1783 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/gpio.h" 3 4 + __null +# 1783 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/gpio.h" + ) { + do { } while (false); + return - +# 1785 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/gpio.h" 3 4 + 88 /* Function not implemented */ +# 1785 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/gpio.h" + ; + } + + ret = api->manage_callback(port, callback, true); + do { } while (false); + return ret; +} + +/** + * @brief Add an application callback. + * + * This is equivalent to: + * + * gpio_add_callback(spec->port, callback); + * + * @param spec GPIO specification from devicetree. + * @param callback A valid application's callback structure pointer. + * @return a value from gpio_add_callback(). + */ +static inline int gpio_add_callback_dt(const struct gpio_dt_spec *spec, + struct gpio_callback *callback) +{ + return gpio_add_callback(spec->port, callback); +} + +/** + * @brief Remove an application callback. + * @param port Pointer to the device structure for the driver instance. + * @param callback A valid application's callback structure pointer. + * @retval 0 If successful + * @retval -ENOSYS If driver does not implement the operation + * @retval -errno Other negative errno code on failure. + * + * @warning It is explicitly permitted, within a callback handler, to + * remove the registration for the callback that is running, i.e. @p + * callback. Attempts to remove other registrations on the same + * device may result in undefined behavior, including failure to + * invoke callbacks that remain registered and unintended invocation + * of removed callbacks. + * + * Note: enables to remove as many callbacks as added through + * gpio_add_callback(). + */ +static inline int gpio_remove_callback(const struct device *port, + struct gpio_callback *callback) +{ + const struct gpio_driver_api *api = + (const struct gpio_driver_api *)port->api; + int ret; + + do { } while (false); + + if (api->manage_callback == +# 1837 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/gpio.h" 3 4 + __null +# 1837 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/gpio.h" + ) { + do { } while (false); + return - +# 1839 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/gpio.h" 3 4 + 88 /* Function not implemented */ +# 1839 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/gpio.h" + ; + } + + ret = api->manage_callback(port, callback, false); + do { } while (false); + return ret; +} + +/** + * @brief Remove an application callback. + * + * This is equivalent to: + * + * gpio_remove_callback(spec->port, callback); + * + * @param spec GPIO specification from devicetree. + * @param callback A valid application's callback structure pointer. + * @return a value from gpio_remove_callback(). + */ +static inline int gpio_remove_callback_dt(const struct gpio_dt_spec *spec, + struct gpio_callback *callback) +{ + return gpio_remove_callback(spec->port, callback); +} + +/** + * @brief Function to get pending interrupts + * + * The purpose of this function is to return the interrupt + * status register for the device. + * This is especially useful when waking up from + * low power states to check the wake up source. + * + * @param dev Pointer to the device structure for the driver instance. + * + * @retval status != 0 if at least one gpio interrupt is pending. + * @retval 0 if no gpio interrupt is pending. + * @retval -ENOSYS If driver does not implement the operation + */ +static inline int gpio_get_pending_int(const struct device *dev); + +static inline int z_impl_gpio_get_pending_int(const struct device *dev) +{ + const struct gpio_driver_api *api = + (const struct gpio_driver_api *)dev->api; + int ret; + + do { } while (false); + + if (api->get_pending_int == +# 1888 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/gpio.h" 3 4 + __null +# 1888 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/gpio.h" + ) { + do { } while (false); + return - +# 1890 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/gpio.h" 3 4 + 88 /* Function not implemented */ +# 1890 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/gpio.h" + ; + } + + ret = api->get_pending_int(dev); + do { } while (false); + return ret; +} + +/** + * @} + */ + + +} + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/gpio.h" 1 +/* auto-generated by gen_syscalls.py, don't edit */ + + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/tracing/tracing_syscall.h" 1 +/* + * Copyright (c) 2021 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 8 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/gpio.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdarg.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdarg.h" 3 4 +/* Copyright (C) 1989-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.15 Variable arguments + */ +# 12 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/gpio.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscall_list.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscall_list.h" +/* auto-generated by gen_syscalls.py, don't edit */ +# 14 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/gpio.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/syscall.h" 1 +/* + * Copyright (c) 2017, Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 15 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/gpio.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/linker/sections.h" 1 +/* + * Copyright (c) 2013-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Definitions of various linker Sections. + * + * Linker Section declarations used by linker script, C files and Assembly + * files. + */ +# 17 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/gpio.h" 2 + + + +extern "C" { + + +extern int z_impl_gpio_pin_interrupt_configure(const struct device * port, gpio_pin_t pin, gpio_flags_t flags); + + +static inline int gpio_pin_interrupt_configure(const struct device * port, gpio_pin_t pin, gpio_flags_t flags) +{ +# 36 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/gpio.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_gpio_pin_interrupt_configure(port, pin, flags); +} +# 48 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/gpio.h" +extern int z_impl_gpio_pin_configure(const struct device * port, gpio_pin_t pin, gpio_flags_t flags); + + +static inline int gpio_pin_configure(const struct device * port, gpio_pin_t pin, gpio_flags_t flags) +{ +# 61 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/gpio.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_gpio_pin_configure(port, pin, flags); +} +# 73 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/gpio.h" +extern int z_impl_gpio_port_get_direction(const struct device * port, gpio_port_pins_t map, gpio_port_pins_t * inputs, gpio_port_pins_t * outputs); + + +static inline int gpio_port_get_direction(const struct device * port, gpio_port_pins_t map, gpio_port_pins_t * inputs, gpio_port_pins_t * outputs) +{ +# 87 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/gpio.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_gpio_port_get_direction(port, map, inputs, outputs); +} +# 99 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/gpio.h" +extern int z_impl_gpio_pin_get_config(const struct device * port, gpio_pin_t pin, gpio_flags_t * flags); + + +static inline int gpio_pin_get_config(const struct device * port, gpio_pin_t pin, gpio_flags_t * flags) +{ +# 112 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/gpio.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_gpio_pin_get_config(port, pin, flags); +} +# 124 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/gpio.h" +extern int z_impl_gpio_port_get_raw(const struct device * port, gpio_port_value_t * value); + + +static inline int gpio_port_get_raw(const struct device * port, gpio_port_value_t * value) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_gpio_port_get_raw(port, value); +} +# 148 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/gpio.h" +extern int z_impl_gpio_port_set_masked_raw(const struct device * port, gpio_port_pins_t mask, gpio_port_value_t value); + + +static inline int gpio_port_set_masked_raw(const struct device * port, gpio_port_pins_t mask, gpio_port_value_t value) +{ +# 161 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/gpio.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_gpio_port_set_masked_raw(port, mask, value); +} +# 173 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/gpio.h" +extern int z_impl_gpio_port_set_bits_raw(const struct device * port, gpio_port_pins_t pins); + + +static inline int gpio_port_set_bits_raw(const struct device * port, gpio_port_pins_t pins) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_gpio_port_set_bits_raw(port, pins); +} +# 197 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/gpio.h" +extern int z_impl_gpio_port_clear_bits_raw(const struct device * port, gpio_port_pins_t pins); + + +static inline int gpio_port_clear_bits_raw(const struct device * port, gpio_port_pins_t pins) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_gpio_port_clear_bits_raw(port, pins); +} +# 221 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/gpio.h" +extern int z_impl_gpio_port_toggle_bits(const struct device * port, gpio_port_pins_t pins); + + +static inline int gpio_port_toggle_bits(const struct device * port, gpio_port_pins_t pins) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_gpio_port_toggle_bits(port, pins); +} +# 245 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/gpio.h" +extern int z_impl_gpio_get_pending_int(const struct device * dev); + + +static inline int gpio_get_pending_int(const struct device * dev) +{ + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_gpio_get_pending_int(dev); +} +# 269 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/gpio.h" +} +# 1907 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/gpio.h" 2 +# 13 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/Arduino.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/pwm.h" 1 +/* + * Copyright (c) 2016 Intel Corporation. + * Copyright (c) 2020-2021 Vestas Wind Systems A/S + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Public PWM Driver APIs + */ + + + + +/** + * @brief PWM Interface + * @defgroup pwm_interface PWM Interface + * @since 1.0 + * @version 1.0.0 + * @ingroup io_interfaces + * @{ + */ + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/errno.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/errno.h" 3 4 +/* +Copyright (c) 1991, 1993 +The Regents of the University of California. All rights reserved. +c) UNIX System Laboratories, Inc. +All or some portions of this file are derived from material licensed +to the University of California by American Telephone and Telegraph +Co. or Unix System Laboratories, Inc. and are reproduced herein with +the permission of UNIX System Laboratories, Inc. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. +3. Neither the name of the University nor the names of its contributors +may be used to endorse or promote products derived from this software +without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + */ +# 26 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/pwm.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 1 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ +# 27 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/pwm.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/device.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/device.h" +/* + * Copyright (c) 2015 Intel Corporation. + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/pwm.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/devicetree.h" 1 +/* + * SPDX-License-Identifier: Apache-2.0 + * Copyright (c) 2020 Nordic Semiconductor + * Copyright (c) 2020, Linaro Ltd. + * + * Not a generated file. Feel free to modify. + */ + +/** + * @file + * @brief Devicetree main header + * + * API for accessing the current application's devicetree macros. + */ +# 30 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/pwm.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys_clock.h" 1 +/* + * Copyright (c) 2014-2015 Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Variables needed for system clock + * + * + * Declare variables used by both system timer device driver and kernel + * components that use timer functionality. + */ +# 31 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/pwm.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/math_extras.h" 1 +/* + * Copyright (c) 2019 Facebook. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @brief Extra arithmetic and bit manipulation functions. + * @defgroup math_extras Math extras + * @ingroup utilities + * + * Portable wrapper functions for a number of arithmetic and bit-counting functions that are often + * provided by compiler builtins. If the compiler does not have an appropriate builtin, a portable C + * implementation is used instead. + * + * @{ + */ + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/types.h" 1 +/* + * Copyright (c) 2017 Linaro Limited + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 23 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/math_extras.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdbool.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdbool.h" 3 4 +/* Copyright (C) 1998-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.16 Boolean type and values + */ +# 24 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/math_extras.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 1 3 4 +/* Copyright (C) 1989-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.17 Common definitions + */ +# 25 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/math_extras.h" 2 + + +# 26 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/math_extras.h" +/** + * @name Unsigned integer addition with overflow detection. + * + * These functions compute `a + b` and store the result in `*result`, returning + * true if the operation overflowed. + */ +/**@{*/ + +/** + * @brief Add two unsigned 16-bit integers. + * @param a First operand. + * @param b Second operand. + * @param result Pointer to the result. + * @return true if the operation overflowed. + */ +static bool u16_add_overflow(uint16_t a, uint16_t b, uint16_t *result); + +/** + * @brief Add two unsigned 32-bit integers. + * @param a First operand. + * @param b Second operand. + * @param result Pointer to the result. + * @return true if the operation overflowed. + */ + +static bool u32_add_overflow(uint32_t a, uint32_t b, uint32_t *result); + +/** + * @brief Add two unsigned 64-bit integers. + * @param a First operand. + * @param b Second operand. + * @param result Pointer to the result. + * @return true if the operation overflowed. + */ +static bool u64_add_overflow(uint64_t a, uint64_t b, uint64_t *result); + +/** + * @brief Add two size_t integers. + * @param a First operand. + * @param b Second operand. + * @param result Pointer to the result. + * @return true if the operation overflowed. + */ +static bool size_add_overflow(size_t a, size_t b, size_t *result); + +/**@}*/ + +/** + * @name Unsigned integer multiplication with overflow detection. + * + * These functions compute `a * b` and store the result in `*result`, returning + * true if the operation overflowed. + */ +/**@{*/ + +/** + * @brief Multiply two unsigned 16-bit integers. + * @param a First operand. + * @param b Second operand. + * @param result Pointer to the result. + * @return true if the operation overflowed. + */ +static bool u16_mul_overflow(uint16_t a, uint16_t b, uint16_t *result); + +/** + * @brief Multiply two unsigned 32-bit integers. + * @param a First operand. + * @param b Second operand. + * @param result Pointer to the result. + * @return true if the operation overflowed. + */ + +static bool u32_mul_overflow(uint32_t a, uint32_t b, uint32_t *result); +/** + * @brief Multiply two unsigned 64-bit integers. + * @param a First operand. + * @param b Second operand. + * @param result Pointer to the result. + * @return true if the operation overflowed. + */ +static bool u64_mul_overflow(uint64_t a, uint64_t b, uint64_t *result); + +/** + * @brief Multiply two size_t integers. + * @param a First operand. + * @param b Second operand. + * @param result Pointer to the result. + * @return true if the operation overflowed. + */ +static bool size_mul_overflow(size_t a, size_t b, size_t *result); + +/**@}*/ + +/** + * @name Count leading zeros. + * + * Count the number of leading zero bits in the bitwise representation of `x`. + * When `x = 0`, this is the size of `x` in bits. + */ +/**@{*/ + +/** + * @brief Count the number of leading zero bits in a 32-bit integer. + * @param x Integer to count leading zeros in. + * @return Number of leading zero bits in `x`. + */ +static int u32_count_leading_zeros(uint32_t x); + +/** + * @brief Count the number of leading zero bits in a 64-bit integer. + * @param x Integer to count leading zeros in. + * @return Number of leading zero bits in `x`. + */ +static int u64_count_leading_zeros(uint64_t x); + +/**@}*/ + +/** + * @name Count trailing zeros. + * + * Count the number of trailing zero bits in the bitwise representation of `x`. + * When `x = 0`, this is the size of `x` in bits. + */ +/**@{*/ + +/** + * @brief Count the number of trailing zero bits in a 32-bit integer. + * @param x Integer to count trailing zeros in. + * @return Number of trailing zero bits in `x`. + */ +static int u32_count_trailing_zeros(uint32_t x); + +/** + * @brief Count the number of trailing zero bits in a 64-bit integer. + * @param x Integer to count trailing zeros in. + * @return Number of trailing zero bits in `x`. + */ +static int u64_count_trailing_zeros(uint64_t x); + +/**@}*/ + +/**@}*/ + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/math_extras_impl.h" 1 +/* + * Copyright (c) 2019 Facebook. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Inline implementation of functions declared in math_extras.h. + */ + + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain.h" 1 +/* + * Copyright (c) 2010-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Macros to abstract toolchain specific capabilities + * + * This file contains various macros to abstract compiler capabilities that + * utilize toolchain specific attributes and/or pragmas. + */ +# 17 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/math_extras_impl.h" 2 + +/* + * Force the use of portable C code (no builtins) by defining + * PORTABLE_MISC_MATH_EXTRAS before including . + * This is primarily for use by tests. + * + * We'll #undef use_builtin again at the end of the file. + */ + + + + + + + +static inline bool u16_add_overflow(uint16_t a, uint16_t b, uint16_t *result) +{ + return __builtin_add_overflow(a, b, result); +} + +static inline bool u32_add_overflow(uint32_t a, uint32_t b, uint32_t *result) +{ + return __builtin_add_overflow(a, b, result); +} + +static inline bool u64_add_overflow(uint64_t a, uint64_t b, uint64_t *result) +{ + return __builtin_add_overflow(a, b, result); +} + +static inline bool size_add_overflow(size_t a, size_t b, size_t *result) +{ + return __builtin_add_overflow(a, b, result); +} +# 90 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/math_extras_impl.h" +static inline bool u16_mul_overflow(uint16_t a, uint16_t b, uint16_t *result) +{ + return __builtin_mul_overflow(a, b, result); +} + +static inline bool u32_mul_overflow(uint32_t a, uint32_t b, uint32_t *result) +{ + return __builtin_mul_overflow(a, b, result); +} + +static inline bool u64_mul_overflow(uint64_t a, uint64_t b, uint64_t *result) +{ + return __builtin_mul_overflow(a, b, result); +} + +static inline bool size_mul_overflow(size_t a, size_t b, size_t *result) +{ + return __builtin_mul_overflow(a, b, result); +} +# 148 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/math_extras_impl.h" +/* + * The GCC builtins __builtin_clz(), __builtin_ctz(), and 64-bit + * variants are described by the GCC documentation as having undefined + * behavior when the argument is zero. See + * https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html. + * + * The undefined behavior applies to all architectures, regardless of + * the behavior of the instruction used to implement the builtin. + * + * We don't want to expose users of this API to the undefined behavior, + * so we use a conditional to explicitly provide the correct result when + * x=0. + * + * Most instruction set architectures have a CLZ instruction or similar + * that already computes the correct result for x=0. Both GCC and Clang + * know this and simply generate a CLZ instruction, optimizing away the + * conditional. + * + * For x86, and for compilers that fail to eliminate the conditional, + * there is often another opportunity for optimization since code using + * these functions tends to contain a zero check already. For example, + * from kernel/sched.c: + * + * struct k_thread *z_priq_mq_best(struct _priq_mq *pq) + * { + * if (!pq->bitmask) { + * return NULL; + * } + * + * struct k_thread *thread = NULL; + * sys_dlist_t *l = + * &pq->queues[u32_count_trailing_zeros(pq->bitmask)]; + * + * ... + * + * The compiler will often be able to eliminate the redundant x == 0 + * check after inlining the call to u32_count_trailing_zeros(). + */ + + +static inline int u32_count_leading_zeros(uint32_t x) +{ + return (x == 0) ? 32 : __builtin_clz(x); +} +# 206 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/math_extras_impl.h" +static inline int u64_count_leading_zeros(uint64_t x) +{ + return (x == 0) ? 64 : __builtin_clzll(x); +} +# 222 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/math_extras_impl.h" +static inline int u32_count_trailing_zeros(uint32_t x) +{ + return (x == 0) ? 32 : __builtin_ctz(x); +} +# 240 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/math_extras_impl.h" +static inline int u64_count_trailing_zeros(uint64_t x) +{ + return (x == 0) ? 64 : __builtin_ctzll(x); +} +# 170 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/math_extras.h" 2 +# 32 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/pwm.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain.h" 1 +/* + * Copyright (c) 2010-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Macros to abstract toolchain specific capabilities + * + * This file contains various macros to abstract compiler capabilities that + * utilize toolchain specific attributes and/or pragmas. + */ +# 33 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/pwm.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/dt-bindings/pwm/pwm.h" 1 +/* + * Copyright (c) 2019 Vestas Wind Systems A/S + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + +/** + * @brief PWM Interface + * @defgroup pwm_interface PWM Interface + * @ingroup io_interfaces + * @{ + */ + +/** + * @name PWM period set helpers + * The period cell in the PWM specifier needs to be provided in nanoseconds. + * However, in some applications it is more convenient to use another scale. + * @{ + */ + +/** Specify PWM period in nanoseconds */ + +/** Specify PWM period in microseconds */ + +/** Specify PWM period in milliseconds */ + +/** Specify PWM period in seconds */ + +/** Specify PWM frequency in hertz */ + +/** Specify PWM frequency in kilohertz */ + + +/** @} */ + +/** + * @name PWM polarity flags + * The `PWM_POLARITY_*` flags are used with pwm_set_cycles(), pwm_set() + * or pwm_configure_capture() to specify the polarity of a PWM channel. + * + * The flags are on the lower 8bits of the pwm_flags_t + * @{ + */ +/** PWM pin normal polarity (active-high pulse). */ + + +/** PWM pin inverted polarity (active-low pulse). */ + + +/** @cond INTERNAL_HIDDEN */ + +/** @endcond */ +/** @} */ + +/** @} */ +# 35 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/pwm.h" 2 + + +extern "C" { + + +/** + * @name PWM capture configuration flags + * @anchor PWM_CAPTURE_FLAGS + * @{ + */ + +/** @cond INTERNAL_HIDDEN */ +/* Bit 0 is used for PWM_POLARITY_NORMAL/PWM_POLARITY_INVERTED */ + + + + +/** @endcond */ + +/** PWM pin capture captures period. */ + + +/** PWM pin capture captures pulse width. */ + + +/** PWM pin capture captures both period and pulse width. */ + + + +/** PWM pin capture captures a single period/pulse width. */ + + +/** PWM pin capture captures period/pulse width continuously. */ + + +/** @} */ + +/** + * @brief Provides a type to hold PWM configuration flags. + * + * The lower 8 bits are used for standard flags. + * The upper 8 bits are reserved for SoC specific flags. + * + * @see @ref PWM_CAPTURE_FLAGS. + */ + +typedef uint16_t pwm_flags_t; + +/** + * @brief Container for PWM information specified in devicetree. + * + * This type contains a pointer to a PWM device, channel number (controlled by + * the PWM device), the PWM signal period in nanoseconds and the flags + * applicable to the channel. Note that not all PWM drivers support flags. In + * such case, flags will be set to 0. + * + * @see PWM_DT_SPEC_GET_BY_NAME + * @see PWM_DT_SPEC_GET_BY_NAME_OR + * @see PWM_DT_SPEC_GET_BY_IDX + * @see PWM_DT_SPEC_GET_BY_IDX_OR + * @see PWM_DT_SPEC_GET + * @see PWM_DT_SPEC_GET_OR + */ +struct pwm_dt_spec { + /** PWM device instance. */ + const struct device *dev; + /** Channel number. */ + uint32_t channel; + /** Period in nanoseconds. */ + uint32_t period; + /** Flags. */ + pwm_flags_t flags; +}; + +/** + * @brief Static initializer for a struct pwm_dt_spec + * + * This returns a static initializer for a struct pwm_dt_spec given a devicetree + * node identifier and an index. + * + * Example devicetree fragment: + * + * @code{.dts} + * n: node { + * pwms = <&pwm1 1 1000 PWM_POLARITY_NORMAL>, + * <&pwm2 3 2000 PWM_POLARITY_INVERTED>; + * pwm-names = "alpha", "beta"; + * }; + * @endcode + * + * Example usage: + * + * @code{.c} + * const struct pwm_dt_spec spec = + * PWM_DT_SPEC_GET_BY_NAME(DT_NODELABEL(n), alpha); + * + * // Initializes 'spec' to: + * // { + * // .dev = DEVICE_DT_GET(DT_NODELABEL(pwm1)), + * // .channel = 1, + * // .period = 1000, + * // .flags = PWM_POLARITY_NORMAL, + * // } + * @endcode + * + * The device (dev) must still be checked for readiness, e.g. using + * device_is_ready(). It is an error to use this macro unless the node exists, + * has the 'pwms' property, and that 'pwms' property specifies a PWM controller, + * a channel, a period in nanoseconds and optionally flags. + * + * @param node_id Devicetree node identifier. + * @param name Lowercase-and-underscores name of a pwms element as defined by + * the node's pwm-names property. + * + * @return Static initializer for a struct pwm_dt_spec for the property. + * + * @see PWM_DT_SPEC_INST_GET_BY_NAME + */ +# 161 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/pwm.h" +/** + * @brief Static initializer for a struct pwm_dt_spec from a DT_DRV_COMPAT + * instance. + * + * @param inst DT_DRV_COMPAT instance number + * @param name Lowercase-and-underscores name of a pwms element as defined by + * the node's pwm-names property. + * + * @return Static initializer for a struct pwm_dt_spec for the property. + * + * @see PWM_DT_SPEC_GET_BY_NAME + */ + + + +/** + * @brief Like PWM_DT_SPEC_GET_BY_NAME(), with a fallback to a default value. + * + * If the devicetree node identifier 'node_id' refers to a node with a property + * 'pwms', this expands to PWM_DT_SPEC_GET_BY_NAME(node_id, name). The + * @p default_value parameter is not expanded in this case. Otherwise, this + * expands to @p default_value. + * + * @param node_id Devicetree node identifier. + * @param name Lowercase-and-underscores name of a pwms element as defined by + * the node's pwm-names property + * @param default_value Fallback value to expand to. + * + * @return Static initializer for a struct pwm_dt_spec for the property, + * or @p default_value if the node or property do not exist. + * + * @see PWM_DT_SPEC_INST_GET_BY_NAME_OR + */ + + + + + +/** + * @brief Like PWM_DT_SPEC_INST_GET_BY_NAME(), with a fallback to a default + * value. + * + * @param inst DT_DRV_COMPAT instance number + * @param name Lowercase-and-underscores name of a pwms element as defined by + * the node's pwm-names property. + * @param default_value Fallback value to expand to. + * + * @return Static initializer for a struct pwm_dt_spec for the property, + * or @p default_value if the node or property do not exist. + * + * @see PWM_DT_SPEC_GET_BY_NAME_OR + */ + + + +/** + * @brief Static initializer for a struct pwm_dt_spec + * + * This returns a static initializer for a struct pwm_dt_spec given a devicetree + * node identifier and an index. + * + * Example devicetree fragment: + * + * @code{.dts} + * n: node { + * pwms = <&pwm1 1 1000 PWM_POLARITY_NORMAL>, + * <&pwm2 3 2000 PWM_POLARITY_INVERTED>; + * }; + * @endcode + * + * Example usage: + * + * @code{.c} + * const struct pwm_dt_spec spec = + * PWM_DT_SPEC_GET_BY_IDX(DT_NODELABEL(n), 1); + * + * // Initializes 'spec' to: + * // { + * // .dev = DEVICE_DT_GET(DT_NODELABEL(pwm2)), + * // .channel = 3, + * // .period = 2000, + * // .flags = PWM_POLARITY_INVERTED, + * // } + * @endcode + * + * The device (dev) must still be checked for readiness, e.g. using + * device_is_ready(). It is an error to use this macro unless the node exists, + * has the 'pwms' property, and that 'pwms' property specifies a PWM controller, + * a channel, a period in nanoseconds and optionally flags. + * + * @param node_id Devicetree node identifier. + * @param idx Logical index into 'pwms' property. + * + * @return Static initializer for a struct pwm_dt_spec for the property. + * + * @see PWM_DT_SPEC_INST_GET_BY_IDX + */ +# 266 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/pwm.h" +/** + * @brief Static initializer for a struct pwm_dt_spec from a DT_DRV_COMPAT + * instance. + * + * @param inst DT_DRV_COMPAT instance number + * @param idx Logical index into 'pwms' property. + * + * @return Static initializer for a struct pwm_dt_spec for the property. + * + * @see PWM_DT_SPEC_GET_BY_IDX + */ + + + +/** + * @brief Like PWM_DT_SPEC_GET_BY_IDX(), with a fallback to a default value. + * + * If the devicetree node identifier 'node_id' refers to a node with a property + * 'pwms', this expands to PWM_DT_SPEC_GET_BY_IDX(node_id, idx). The + * @p default_value parameter is not expanded in this case. Otherwise, this + * expands to @p default_value. + * + * @param node_id Devicetree node identifier. + * @param idx Logical index into 'pwms' property. + * @param default_value Fallback value to expand to. + * + * @return Static initializer for a struct pwm_dt_spec for the property, + * or @p default_value if the node or property do not exist. + * + * @see PWM_DT_SPEC_INST_GET_BY_IDX_OR + */ + + + + + +/** + * @brief Like PWM_DT_SPEC_INST_GET_BY_IDX(), with a fallback to a default + * value. + * + * @param inst DT_DRV_COMPAT instance number + * @param idx Logical index into 'pwms' property. + * @param default_value Fallback value to expand to. + * + * @return Static initializer for a struct pwm_dt_spec for the property, + * or @p default_value if the node or property do not exist. + * + * @see PWM_DT_SPEC_GET_BY_IDX_OR + */ + + + +/** + * @brief Equivalent to PWM_DT_SPEC_GET_BY_IDX(node_id, 0). + * + * @param node_id Devicetree node identifier. + * + * @return Static initializer for a struct pwm_dt_spec for the property. + * + * @see PWM_DT_SPEC_GET_BY_IDX + * @see PWM_DT_SPEC_INST_GET + */ + + +/** + * @brief Equivalent to PWM_DT_SPEC_INST_GET_BY_IDX(inst, 0). + * + * @param inst DT_DRV_COMPAT instance number + * + * @return Static initializer for a struct pwm_dt_spec for the property. + * + * @see PWM_DT_SPEC_INST_GET_BY_IDX + * @see PWM_DT_SPEC_GET + */ + + +/** + * @brief Equivalent to + * PWM_DT_SPEC_GET_BY_IDX_OR(node_id, 0, default_value). + * + * @param node_id Devicetree node identifier. + * @param default_value Fallback value to expand to. + * + * @return Static initializer for a struct pwm_dt_spec for the property. + * + * @see PWM_DT_SPEC_GET_BY_IDX_OR + * @see PWM_DT_SPEC_INST_GET_OR + */ + + + +/** + * @brief Equivalent to + * PWM_DT_SPEC_INST_GET_BY_IDX_OR(inst, 0, default_value). + * + * @param inst DT_DRV_COMPAT instance number + * @param default_value Fallback value to expand to. + * + * @return Static initializer for a struct pwm_dt_spec for the property. + * + * @see PWM_DT_SPEC_INST_GET_BY_IDX_OR + * @see PWM_DT_SPEC_GET_OR + */ + + + +/** + * @brief PWM capture callback handler function signature + * + * @note The callback handler will be called in interrupt context. + * + * @note @kconfig{CONFIG_PWM_CAPTURE} must be selected to enable PWM capture + * support. + * + * @param[in] dev PWM device instance. + * @param channel PWM channel. + + * @param period_cycles Captured PWM period width (in clock cycles). HW + * specific. + * @param pulse_cycles Captured PWM pulse width (in clock cycles). HW specific. + * @param status Status for the PWM capture (0 if no error, negative errno + * otherwise. See pwm_capture_cycles() return value + * descriptions for details). + * @param user_data User data passed to pwm_configure_capture() + */ +typedef void (*pwm_capture_callback_handler_t)(const struct device *dev, + uint32_t channel, + uint32_t period_cycles, + uint32_t pulse_cycles, + int status, void *user_data); + +/** @cond INTERNAL_HIDDEN */ +/** + * @brief PWM driver API call to configure PWM pin period and pulse width. + * @see pwm_set_cycles() for argument description. + */ +typedef int (*pwm_set_cycles_t)(const struct device *dev, uint32_t channel, + uint32_t period_cycles, uint32_t pulse_cycles, + pwm_flags_t flags); + +/** + * @brief PWM driver API call to obtain the PWM cycles per second (frequency). + * @see pwm_get_cycles_per_sec() for argument description + */ +typedef int (*pwm_get_cycles_per_sec_t)(const struct device *dev, + uint32_t channel, uint64_t *cycles); +# 437 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/pwm.h" +/** @brief PWM driver API definition. */ + struct pwm_driver_api { + pwm_set_cycles_t set_cycles; + pwm_get_cycles_per_sec_t get_cycles_per_sec; + + + + + +}; +/** @endcond */ + +/** + * @brief Set the period and pulse width for a single PWM output. + * + * The PWM period and pulse width will synchronously be set to the new values + * without glitches in the PWM signal, but the call will not block for the + * change to take effect. + * + * @note Not all PWM controllers support synchronous, glitch-free updates of the + * PWM period and pulse width. Depending on the hardware, changing the PWM + * period and/or pulse width may cause a glitch in the generated PWM signal. + * + * @note Some multi-channel PWM controllers share the PWM period across all + * channels. Depending on the hardware, changing the PWM period for one channel + * may affect the PWM period for the other channels of the same PWM controller. + * + * Passing 0 as @p pulse will cause the pin to be driven to a constant + * inactive level. + * Passing a non-zero @p pulse equal to @p period will cause the pin + * to be driven to a constant active level. + * + * @param[in] dev PWM device instance. + * @param channel PWM channel. + * @param period Period (in clock cycles) set to the PWM. HW specific. + * @param pulse Pulse width (in clock cycles) set to the PWM. HW specific. + * @param flags Flags for pin configuration. + * + * @retval 0 If successful. + * @retval -EINVAL If pulse > period. + * @retval -errno Negative errno code on failure. + */ +static inline int pwm_set_cycles(const struct device *dev, uint32_t channel, + uint32_t period, uint32_t pulse, + pwm_flags_t flags); + +static inline int z_impl_pwm_set_cycles(const struct device *dev, + uint32_t channel, uint32_t period, + uint32_t pulse, pwm_flags_t flags) +{ + const struct pwm_driver_api *api = + (const struct pwm_driver_api *)dev->api; + + if (pulse > period) { + return - +# 491 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/pwm.h" 3 4 + 22 /* Invalid argument */ +# 491 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/pwm.h" + ; + } + + return api->set_cycles(dev, channel, period, pulse, flags); +} + +/** + * @brief Get the clock rate (cycles per second) for a single PWM output. + * + * @param[in] dev PWM device instance. + * @param channel PWM channel. + * @param[out] cycles Pointer to the memory to store clock rate (cycles per + * sec). HW specific. + * + * @retval 0 If successful. + * @retval -errno Negative errno code on failure. + */ +static inline int pwm_get_cycles_per_sec(const struct device *dev, uint32_t channel, + uint64_t *cycles); + +static inline int z_impl_pwm_get_cycles_per_sec(const struct device *dev, + uint32_t channel, + uint64_t *cycles) +{ + const struct pwm_driver_api *api = + (const struct pwm_driver_api *)dev->api; + + return api->get_cycles_per_sec(dev, channel, cycles); +} + +/** + * @brief Set the period and pulse width in nanoseconds for a single PWM output. + * + * @note Utility macros such as PWM_MSEC() can be used to convert from other + * scales or units to nanoseconds, the units used by this function. + * + * @param[in] dev PWM device instance. + * @param channel PWM channel. + * @param period Period (in nanoseconds) set to the PWM. + * @param pulse Pulse width (in nanoseconds) set to the PWM. + * @param flags Flags for pin configuration (polarity). + * + * @retval 0 If successful. + * @retval -ENOTSUP If requested period or pulse cycles are not supported. + * @retval -errno Other negative errno code on failure. + */ +static inline int pwm_set(const struct device *dev, uint32_t channel, + uint32_t period, uint32_t pulse, pwm_flags_t flags) +{ + int err; + uint64_t pulse_cycles; + uint64_t period_cycles; + uint64_t cycles_per_sec; + + err = pwm_get_cycles_per_sec(dev, channel, &cycles_per_sec); + if (err < 0) { + return err; + } + + period_cycles = (period * cycles_per_sec) / ((1000U) * (1000U) * (1000U)); + if (period_cycles > +# 551 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/pwm.h" 3 4 + (0xffffffffUL) +# 551 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/pwm.h" + ) { + return - +# 552 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/pwm.h" 3 4 + 134 /* Not supported */ +# 552 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/pwm.h" + ; + } + + pulse_cycles = (pulse * cycles_per_sec) / ((1000U) * (1000U) * (1000U)); + if (pulse_cycles > +# 556 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/pwm.h" 3 4 + (0xffffffffUL) +# 556 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/pwm.h" + ) { + return - +# 557 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/pwm.h" 3 4 + 134 /* Not supported */ +# 557 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/pwm.h" + ; + } + + return pwm_set_cycles(dev, channel, (uint32_t)period_cycles, + (uint32_t)pulse_cycles, flags); +} + +/** + * @brief Set the period and pulse width in nanoseconds from a struct + * pwm_dt_spec (with custom period). + * + * This is equivalent to: + * + * pwm_set(spec->dev, spec->channel, period, pulse, spec->flags) + * + * The period specified in @p spec is ignored. This API call can be used when + * the period specified in Devicetree needs to be changed at runtime. + * + * @param[in] spec PWM specification from devicetree. + * @param period Period (in nanoseconds) set to the PWM. + * @param pulse Pulse width (in nanoseconds) set to the PWM. + * + * @return A value from pwm_set(). + * + * @see pwm_set_pulse_dt() + */ +static inline int pwm_set_dt(const struct pwm_dt_spec *spec, uint32_t period, + uint32_t pulse) +{ + return pwm_set(spec->dev, spec->channel, period, pulse, spec->flags); +} + +/** + * @brief Set the period and pulse width in nanoseconds from a struct + * pwm_dt_spec. + * + * This is equivalent to: + * + * pwm_set(spec->dev, spec->channel, spec->period, pulse, spec->flags) + * + * @param[in] spec PWM specification from devicetree. + * @param pulse Pulse width (in nanoseconds) set to the PWM. + * + * @return A value from pwm_set(). + * + * @see pwm_set_pulse_dt() + */ +static inline int pwm_set_pulse_dt(const struct pwm_dt_spec *spec, + uint32_t pulse) +{ + return pwm_set(spec->dev, spec->channel, spec->period, pulse, + spec->flags); +} + +/** + * @brief Convert from PWM cycles to microseconds. + * + * @param[in] dev PWM device instance. + * @param channel PWM channel. + * @param cycles Cycles to be converted. + * @param[out] usec Pointer to the memory to store calculated usec. + * + * @retval 0 If successful. + * @retval -ERANGE If result is too large. + * @retval -errno Other negative errno code on failure. + */ +static inline int pwm_cycles_to_usec(const struct device *dev, uint32_t channel, + uint32_t cycles, uint64_t *usec) +{ + int err; + uint64_t temp; + uint64_t cycles_per_sec; + + err = pwm_get_cycles_per_sec(dev, channel, &cycles_per_sec); + if (err < 0) { + return err; + } + + if (u64_mul_overflow(cycles, (uint64_t)((1000U) * (1000U)), &temp)) { + return - +# 636 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/pwm.h" 3 4 + 34 /* Result too large */ +# 636 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/pwm.h" + ; + } + + *usec = temp / cycles_per_sec; + + return 0; +} + +/** + * @brief Convert from PWM cycles to nanoseconds. + * + * @param[in] dev PWM device instance. + * @param channel PWM channel. + * @param cycles Cycles to be converted. + * @param[out] nsec Pointer to the memory to store the calculated nsec. + * + * @retval 0 If successful. + * @retval -ERANGE If result is too large. + * @retval -errno Other negative errno code on failure. + */ +static inline int pwm_cycles_to_nsec(const struct device *dev, uint32_t channel, + uint32_t cycles, uint64_t *nsec) +{ + int err; + uint64_t temp; + uint64_t cycles_per_sec; + + err = pwm_get_cycles_per_sec(dev, channel, &cycles_per_sec); + if (err < 0) { + return err; + } + + if (u64_mul_overflow(cycles, (uint64_t)((1000U) * (1000U) * (1000U)), &temp)) { + return - +# 669 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/pwm.h" 3 4 + 34 /* Result too large */ +# 669 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/pwm.h" + ; + } + + *nsec = temp / cycles_per_sec; + + return 0; +} +# 723 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/pwm.h" +/** + * @brief Enable PWM period/pulse width capture for a single PWM input. + * + * The PWM pin must be configured using pwm_configure_capture() prior to + * calling this function. + * + * @note @kconfig{CONFIG_PWM_CAPTURE} must be selected for this function to be + * available. + * + * @param[in] dev PWM device instance. + * @param channel PWM channel. + * + * @retval 0 If successful. + * @retval -EINVAL if invalid function parameters were given + * @retval -ENOSYS if PWM capture is not supported + * @retval -EIO if IO error occurred while enabling PWM capture + * @retval -EBUSY if PWM capture is already in progress + */ +static inline int pwm_enable_capture(const struct device *dev, uint32_t channel); +# 758 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/pwm.h" +/** + * @brief Disable PWM period/pulse width capture for a single PWM input. + * + * @note @kconfig{CONFIG_PWM_CAPTURE} must be selected for this function to be + * available. + * + * @param[in] dev PWM device instance. + * @param channel PWM channel. + * + * @retval 0 If successful. + * @retval -EINVAL if invalid function parameters were given + * @retval -ENOSYS if PWM capture is not supported + * @retval -EIO if IO error occurred while disabling PWM capture + */ +static inline int pwm_disable_capture(const struct device *dev, uint32_t channel); +# 789 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/pwm.h" +/** + * @brief Capture a single PWM period/pulse width in clock cycles for a single + * PWM input. + * + * This API function wraps calls to pwm_configure_capture(), + * pwm_enable_capture(), and pwm_disable_capture() and passes + * the capture result to the caller. The function is blocking until either the + * PWM capture is completed or a timeout occurs. + * + * @note @kconfig{CONFIG_PWM_CAPTURE} must be selected for this function to be + * available. + * + * @param[in] dev PWM device instance. + * @param channel PWM channel. + * @param flags PWM capture flags. + * @param[out] period Pointer to the memory to store the captured PWM period + * width (in clock cycles). HW specific. + * @param[out] pulse Pointer to the memory to store the captured PWM pulse width + * (in clock cycles). HW specific. + * @param timeout Waiting period for the capture to complete. + * + * @retval 0 If successful. + * @retval -EBUSY PWM capture already in progress. + * @retval -EAGAIN Waiting period timed out. + * @retval -EIO IO error while capturing. + * @retval -ERANGE If result is too large. + */ +static inline int pwm_capture_cycles(const struct device *dev, uint32_t channel, + pwm_flags_t flags, uint32_t *period, + uint32_t *pulse, k_timeout_t timeout); + +/** + * @brief Capture a single PWM period/pulse width in microseconds for a single + * PWM input. + * + * This API function wraps calls to pwm_capture_cycles() and + * pwm_cycles_to_usec() and passes the capture result to the caller. The + * function is blocking until either the PWM capture is completed or a timeout + * occurs. + * + * @note @kconfig{CONFIG_PWM_CAPTURE} must be selected for this function to be + * available. + * + * @param[in] dev PWM device instance. + * @param channel PWM channel. + * @param flags PWM capture flags. + * @param[out] period Pointer to the memory to store the captured PWM period + * width (in usec). + * @param[out] pulse Pointer to the memory to store the captured PWM pulse width + * (in usec). + * @param timeout Waiting period for the capture to complete. + * + * @retval 0 If successful. + * @retval -EBUSY PWM capture already in progress. + * @retval -EAGAIN Waiting period timed out. + * @retval -EIO IO error while capturing. + * @retval -ERANGE If result is too large. + * @retval -errno Other negative errno code on failure. + */ +static inline int pwm_capture_usec(const struct device *dev, uint32_t channel, + pwm_flags_t flags, uint64_t *period, + uint64_t *pulse, k_timeout_t timeout) +{ + int err; + uint32_t pulse_cycles; + uint32_t period_cycles; + + err = pwm_capture_cycles(dev, channel, flags, &period_cycles, + &pulse_cycles, timeout); + if (err < 0) { + return err; + } + + err = pwm_cycles_to_usec(dev, channel, period_cycles, period); + if (err < 0) { + return err; + } + + err = pwm_cycles_to_usec(dev, channel, pulse_cycles, pulse); + if (err < 0) { + return err; + } + + return 0; +} + +/** + * @brief Capture a single PWM period/pulse width in nanoseconds for a single + * PWM input. + * + * This API function wraps calls to pwm_capture_cycles() and + * pwm_cycles_to_nsec() and passes the capture result to the caller. The + * function is blocking until either the PWM capture is completed or a timeout + * occurs. + * + * @note @kconfig{CONFIG_PWM_CAPTURE} must be selected for this function to be + * available. + * + * @param[in] dev PWM device instance. + * @param channel PWM channel. + * @param flags PWM capture flags. + * @param[out] period Pointer to the memory to store the captured PWM period + * width (in nsec). + * @param[out] pulse Pointer to the memory to store the captured PWM pulse width + * (in nsec). + * @param timeout Waiting period for the capture to complete. + * + * @retval 0 If successful. + * @retval -EBUSY PWM capture already in progress. + * @retval -EAGAIN Waiting period timed out. + * @retval -EIO IO error while capturing. + * @retval -ERANGE If result is too large. + * @retval -errno Other negative errno code on failure. + */ +static inline int pwm_capture_nsec(const struct device *dev, uint32_t channel, + pwm_flags_t flags, uint64_t *period, + uint64_t *pulse, k_timeout_t timeout) +{ + int err; + uint32_t pulse_cycles; + uint32_t period_cycles; + + err = pwm_capture_cycles(dev, channel, flags, &period_cycles, + &pulse_cycles, timeout); + if (err < 0) { + return err; + } + + err = pwm_cycles_to_nsec(dev, channel, period_cycles, period); + if (err < 0) { + return err; + } + + err = pwm_cycles_to_nsec(dev, channel, pulse_cycles, pulse); + if (err < 0) { + return err; + } + + return 0; +} + +/** + * @brief Validate that the PWM device is ready. + * + * @param spec PWM specification from devicetree + * + * @retval true If the PWM device is ready for use + * @retval false If the PWM device is not ready for use + */ +static inline bool pwm_is_ready_dt(const struct pwm_dt_spec *spec) +{ + return device_is_ready(spec->dev); +} + + +} + + +/** + * @} + */ + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/pwm.h" 1 +/* auto-generated by gen_syscalls.py, don't edit */ + + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/tracing/tracing_syscall.h" 1 +/* + * Copyright (c) 2021 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 8 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/pwm.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdarg.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdarg.h" 3 4 +/* Copyright (C) 1989-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.15 Variable arguments + */ +# 12 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/pwm.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscall_list.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscall_list.h" +/* auto-generated by gen_syscalls.py, don't edit */ +# 14 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/pwm.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/syscall.h" 1 +/* + * Copyright (c) 2017, Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 15 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/pwm.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/linker/sections.h" 1 +/* + * Copyright (c) 2013-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Definitions of various linker Sections. + * + * Linker Section declarations used by linker script, C files and Assembly + * files. + */ +# 17 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/pwm.h" 2 + + + +extern "C" { + + +extern int z_impl_pwm_set_cycles(const struct device * dev, uint32_t channel, uint32_t period, uint32_t pulse, pwm_flags_t flags); + + +static inline int pwm_set_cycles(const struct device * dev, uint32_t channel, uint32_t period, uint32_t pulse, pwm_flags_t flags) +{ +# 38 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/pwm.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_pwm_set_cycles(dev, channel, period, pulse, flags); +} +# 50 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/pwm.h" +extern int z_impl_pwm_get_cycles_per_sec(const struct device * dev, uint32_t channel, uint64_t * cycles); + + +static inline int pwm_get_cycles_per_sec(const struct device * dev, uint32_t channel, uint64_t * cycles) +{ +# 63 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/pwm.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_pwm_get_cycles_per_sec(dev, channel, cycles); +} +# 75 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/pwm.h" +extern int z_impl_pwm_enable_capture(const struct device * dev, uint32_t channel); + + +static inline int pwm_enable_capture(const struct device * dev, uint32_t channel) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_pwm_enable_capture(dev, channel); +} +# 99 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/pwm.h" +extern int z_impl_pwm_disable_capture(const struct device * dev, uint32_t channel); + + +static inline int pwm_disable_capture(const struct device * dev, uint32_t channel) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_pwm_disable_capture(dev, channel); +} +# 123 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/pwm.h" +extern int z_impl_pwm_capture_cycles(const struct device * dev, uint32_t channel, pwm_flags_t flags, uint32_t * period, uint32_t * pulse, k_timeout_t timeout); + + +static inline int pwm_capture_cycles(const struct device * dev, uint32_t channel, pwm_flags_t flags, uint32_t * period, uint32_t * pulse, k_timeout_t timeout) +{ +# 143 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/pwm.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_pwm_capture_cycles(dev, channel, flags, period, pulse, timeout); +} +# 156 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/pwm.h" +} +# 952 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/pwm.h" 2 +# 14 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/Arduino.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/adc.h" 1 +/** + * @file + * @brief ADC public API header file. + */ + +/* + * Copyright (c) 2018 Nordic Semiconductor ASA + * Copyright (c) 2015 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/device.h" 1 +/* + * Copyright (c) 2015 Intel Corporation. + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 17 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/adc.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/dt-bindings/adc/adc.h" 1 +/* + * Copyright 2021 Google LLC + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/dt-bindings/dt-util.h" 1 +/* + * Copyright (c) 2020 Gerson Fernando Budke + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + +/* + * This file exists to keep in-tree DTS clean. This means, only + * #include form should be included. The + * wraps file exposing + * all macro base definitions to DTS preprocessor. It provides + * necessary background to elaborate complex constructions like + * variable length macros with zero or more elements. + */ + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util_macro.h" 1 +/* + * Copyright (c) 2011-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Macro utilities + * + * Macro utilities are the public interface for C/C++ code and device tree + * related implementation. In general, C/C++ will include + * instead this file directly. For device tree implementation, this file + * should be include instead + */ +# 20 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/dt-bindings/dt-util.h" 2 +# 10 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/dt-bindings/adc/adc.h" 2 + +/** Acquisition time is expressed in microseconds. */ + +/** Acquisition time is expressed in nanoseconds. */ + +/** Acquisition time is expressed in ADC ticks. */ + +/** Macro for composing the acquisition time value in given units. */ + +/** Value indicating that the default acquisition time should be used. */ +# 18 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/adc.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" 1 +/* + * Copyright (c) 2016, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * + * @brief Public kernel APIs. + */ +# 19 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/adc.h" 2 + + +extern "C" { + + +/** + * @brief ADC driver APIs + * @defgroup adc_interface ADC driver APIs + * @since 1.0 + * @version 1.0.0 + * @ingroup io_interfaces + * @{ + */ + +/** @brief ADC channel gain factors. */ +enum adc_gain { + ADC_GAIN_1_6, + ADC_GAIN_1_5, + ADC_GAIN_1_4, + ADC_GAIN_2_7, + ADC_GAIN_1_3, + ADC_GAIN_2_5, + ADC_GAIN_1_2, + ADC_GAIN_2_3, + ADC_GAIN_4_5, + ADC_GAIN_1, + ADC_GAIN_2, + ADC_GAIN_3, + ADC_GAIN_4, + ADC_GAIN_6, + ADC_GAIN_8, + ADC_GAIN_12, + ADC_GAIN_16, + ADC_GAIN_24, + ADC_GAIN_32, + ADC_GAIN_64, + ADC_GAIN_128, +}; + +/** + * @brief Invert the application of gain to a measurement value. + * + * For example, if the gain passed in is ADC_GAIN_1_6 and the + * referenced value is 10, the value after the function returns is 60. + * + * @param gain the gain used to amplify the input signal. + * + * @param value a pointer to a value that initially has the effect of + * the applied gain but has that effect removed when this function + * successfully returns. If the gain cannot be reversed the value + * remains unchanged. + * + * @retval 0 if the gain was successfully reversed + * @retval -EINVAL if the gain could not be interpreted + */ +int adc_gain_invert(enum adc_gain gain, + int32_t *value); + +/** @brief ADC references. */ +enum adc_reference { + ADC_REF_VDD_1, + ADC_REF_VDD_1_2, + ADC_REF_VDD_1_3, + ADC_REF_VDD_1_4, + ADC_REF_INTERNAL, + ADC_REF_EXTERNAL0, + ADC_REF_EXTERNAL1, +}; + +/** + * @brief Structure for specifying the configuration of an ADC channel. + */ +struct adc_channel_cfg { + /** Gain selection. */ + enum adc_gain gain; + + /** Reference selection. */ + enum adc_reference reference; + + /** + * Acquisition time. + * Use the ADC_ACQ_TIME macro to compose the value for this field or + * pass ADC_ACQ_TIME_DEFAULT to use the default setting for a given + * hardware (e.g. when the hardware does not allow to configure the + * acquisition time). + * Particular drivers do not necessarily support all the possible units. + * Value range is 0-16383 for a given unit. + */ + uint16_t acquisition_time; + + /** + * Channel identifier. + * This value primarily identifies the channel within the ADC API - when + * a read request is done, the corresponding bit in the "channels" field + * of the "adc_sequence" structure must be set to include this channel + * in the sampling. + * For hardware that does not allow selection of analog inputs for given + * channels, but rather have dedicated ones, this value also selects the + * physical ADC input to be used in the sampling. Otherwise, when it is + * needed to explicitly select an analog input for the channel, or two + * inputs when the channel is a differential one, the selection is done + * in "input_positive" and "input_negative" fields. + * Particular drivers indicate which one of the above two cases they + * support by selecting or not a special hidden Kconfig option named + * ADC_CONFIGURABLE_INPUTS. If this option is not selected, the macro + * CONFIG_ADC_CONFIGURABLE_INPUTS is not defined and consequently the + * mentioned two fields are not present in this structure. + * While this API allows identifiers from range 0-31, particular drivers + * may support only a limited number of channel identifiers (dependent + * on the underlying hardware capabilities or configured via a dedicated + * Kconfig option). + */ + uint8_t channel_id : 5; + + /** Channel type: single-ended or differential. */ + uint8_t differential : 1; +# 174 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/adc.h" +}; + +/** + * @brief Get ADC channel configuration from a given devicetree node. + * + * This returns a static initializer for a struct adc_channel_cfg + * filled with data from a given devicetree node. + * + * Example devicetree fragment: + * + * @code{.dts} + * &adc { + * #address-cells = <1>; + * #size-cells = <0>; + * + * channel@0 { + * reg = <0>; + * zephyr,gain = "ADC_GAIN_1_6"; + * zephyr,reference = "ADC_REF_INTERNAL"; + * zephyr,acquisition-time = ; + * zephyr,input-positive = ; + * zephyr,input-negative = ; + * }; + * + * channel@1 { + * reg = <1>; + * zephyr,gain = "ADC_GAIN_1_6"; + * zephyr,reference = "ADC_REF_INTERNAL"; + * zephyr,acquisition-time = ; + * zephyr,input-positive = ; + * }; + * }; + * @endcode + * + * Example usage: + * + * @code{.c} + * static const struct adc_channel_cfg ch0_cfg_dt = + * ADC_CHANNEL_CFG_DT(DT_CHILD(DT_NODELABEL(adc), channel_0)); + * static const struct adc_channel_cfg ch1_cfg_dt = + * ADC_CHANNEL_CFG_DT(DT_CHILD(DT_NODELABEL(adc), channel_1)); + * + * // Initializes 'ch0_cfg_dt' to: + * // { + * // .channel_id = 0, + * // .gain = ADC_GAIN_1_6, + * // .reference = ADC_REF_INTERNAL, + * // .acquisition_time = ADC_ACQ_TIME(ADC_ACQ_TIME_MICROSECONDS, 20), + * // .differential = true, + * // .input_positive = NRF_SAADC_AIN6, + * // .input-negative = NRF_SAADC_AIN7, + * // } + * // and 'ch1_cfg_dt' to: + * // { + * // .channel_id = 1, + * // .gain = ADC_GAIN_1_6, + * // .reference = ADC_REF_INTERNAL, + * // .acquisition_time = ADC_ACQ_TIME_DEFAULT, + * // .input_positive = NRF_SAADC_AIN0, + * // } + * @endcode + * + * @param node_id Devicetree node identifier. + * + * @return Static initializer for an adc_channel_cfg structure. + */ +# 259 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/adc.h" +/** + * @brief Container for ADC channel information specified in devicetree. + * + * @see ADC_DT_SPEC_GET_BY_IDX + * @see ADC_DT_SPEC_GET + */ +struct adc_dt_spec { + /** + * Pointer to the device structure for the ADC driver instance + * used by this io-channel. + */ + const struct device *dev; + + /** ADC channel identifier used by this io-channel. */ + uint8_t channel_id; + + /** + * Flag indicating whether configuration of the associated ADC channel + * is provided as a child node of the corresponding ADC controller in + * devicetree. + */ + bool channel_cfg_dt_node_exists; + + /** + * Configuration of the associated ADC channel specified in devicetree. + * This field is valid only when @a channel_cfg_dt_node_exists is set + * to @a true. + */ + struct adc_channel_cfg channel_cfg; + + /** + * Voltage of the reference selected for the channel or 0 if this + * value is not provided in devicetree. + * This field is valid only when @a channel_cfg_dt_node_exists is set + * to @a true. + */ + uint16_t vref_mv; + + /** + * ADC resolution to be used for that channel. + * This field is valid only when @a channel_cfg_dt_node_exists is set + * to @a true. + */ + uint8_t resolution; + + /** + * Oversampling setting to be used for that channel. + * This field is valid only when @a channel_cfg_dt_node_exists is set + * to @a true. + */ + uint8_t oversampling; +}; + +/** @cond INTERNAL_HIDDEN */ +# 335 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/adc.h" +/** @endcond */ + +/** + * @brief Get ADC io-channel information from devicetree by name. + * + * This returns a static initializer for an @p adc_dt_spec structure + * given a devicetree node and a channel name. The node must have + * the "io-channels" property defined. + * + * Example devicetree fragment: + * + * @code{.dts} + * / { + * zephyr,user { + * io-channels = <&adc0 1>, <&adc0 3>; + * io-channel-names = "A0", "A1"; + * }; + * }; + * + * &adc0 { + * #address-cells = <1>; + * #size-cells = <0>; + * + * channel@3 { + * reg = <3>; + * zephyr,gain = "ADC_GAIN_1_5"; + * zephyr,reference = "ADC_REF_VDD_1_4"; + * zephyr,vref-mv = <750>; + * zephyr,acquisition-time = ; + * zephyr,resolution = <12>; + * zephyr,oversampling = <4>; + * }; + * }; + * @endcode + * + * Example usage: + * + * @code{.c} + * static const struct adc_dt_spec adc_chan0 = + * ADC_DT_SPEC_GET_BY_NAME(DT_PATH(zephyr_user), a0); + * static const struct adc_dt_spec adc_chan1 = + * ADC_DT_SPEC_GET_BY_NAME(DT_PATH(zephyr_user), a1); + * + * // Initializes 'adc_chan0' to: + * // { + * // .dev = DEVICE_DT_GET(DT_NODELABEL(adc0)), + * // .channel_id = 1, + * // } + * // and 'adc_chan1' to: + * // { + * // .dev = DEVICE_DT_GET(DT_NODELABEL(adc0)), + * // .channel_id = 3, + * // .channel_cfg_dt_node_exists = true, + * // .channel_cfg = { + * // .channel_id = 3, + * // .gain = ADC_GAIN_1_5, + * // .reference = ADC_REF_VDD_1_4, + * // .acquisition_time = ADC_ACQ_TIME_DEFAULT, + * // }, + * // .vref_mv = 750, + * // .resolution = 12, + * // .oversampling = 4, + * // } + * @endcode + * + * @param node_id Devicetree node identifier. + * @param name Channel name. + * + * @return Static initializer for an adc_dt_spec structure. + */ + + + + +/** @brief Get ADC io-channel information from a DT_DRV_COMPAT devicetree + * instance by name. + * + * @see ADC_DT_SPEC_GET_BY_NAME() + * + * @param inst DT_DRV_COMPAT instance number + * @param name Channel name. + * + * @return Static initializer for an adc_dt_spec structure. + */ + + + +/** + * @brief Get ADC io-channel information from devicetree. + * + * This returns a static initializer for an @p adc_dt_spec structure + * given a devicetree node and a channel index. The node must have + * the "io-channels" property defined. + * + * Example devicetree fragment: + * + * @code{.dts} + * / { + * zephyr,user { + * io-channels = <&adc0 1>, <&adc0 3>; + * }; + * }; + * + * &adc0 { + * #address-cells = <1>; + * #size-cells = <0>; + * + * channel@3 { + * reg = <3>; + * zephyr,gain = "ADC_GAIN_1_5"; + * zephyr,reference = "ADC_REF_VDD_1_4"; + * zephyr,vref-mv = <750>; + * zephyr,acquisition-time = ; + * zephyr,resolution = <12>; + * zephyr,oversampling = <4>; + * }; + * }; + * @endcode + * + * Example usage: + * + * @code{.c} + * static const struct adc_dt_spec adc_chan0 = + * ADC_DT_SPEC_GET_BY_IDX(DT_PATH(zephyr_user), 0); + * static const struct adc_dt_spec adc_chan1 = + * ADC_DT_SPEC_GET_BY_IDX(DT_PATH(zephyr_user), 1); + * + * // Initializes 'adc_chan0' to: + * // { + * // .dev = DEVICE_DT_GET(DT_NODELABEL(adc0)), + * // .channel_id = 1, + * // } + * // and 'adc_chan1' to: + * // { + * // .dev = DEVICE_DT_GET(DT_NODELABEL(adc0)), + * // .channel_id = 3, + * // .channel_cfg_dt_node_exists = true, + * // .channel_cfg = { + * // .channel_id = 3, + * // .gain = ADC_GAIN_1_5, + * // .reference = ADC_REF_VDD_1_4, + * // .acquisition_time = ADC_ACQ_TIME_DEFAULT, + * // }, + * // .vref_mv = 750, + * // .resolution = 12, + * // .oversampling = 4, + * // } + * @endcode + * + * @see ADC_DT_SPEC_GET() + * + * @param node_id Devicetree node identifier. + * @param idx Channel index. + * + * @return Static initializer for an adc_dt_spec structure. + */ + + + + +/** @brief Get ADC io-channel information from a DT_DRV_COMPAT devicetree + * instance. + * + * @see ADC_DT_SPEC_GET_BY_IDX() + * + * @param inst DT_DRV_COMPAT instance number + * @param idx Channel index. + * + * @return Static initializer for an adc_dt_spec structure. + */ + + + +/** + * @brief Equivalent to ADC_DT_SPEC_GET_BY_IDX(node_id, 0). + * + * @see ADC_DT_SPEC_GET_BY_IDX() + * + * @param node_id Devicetree node identifier. + * + * @return Static initializer for an adc_dt_spec structure. + */ + + +/** @brief Equivalent to ADC_DT_SPEC_INST_GET_BY_IDX(inst, 0). + * + * @see ADC_DT_SPEC_GET() + * + * @param inst DT_DRV_COMPAT instance number + * + * @return Static initializer for an adc_dt_spec structure. + */ + + +/* Forward declaration of the adc_sequence structure. */ +struct adc_sequence; + +/** + * @brief Action to be performed after a sampling is done. + */ +enum adc_action { + /** The sequence should be continued normally. */ + ADC_ACTION_CONTINUE = 0, + + /** + * The sampling should be repeated. New samples or sample should be + * read from the ADC and written in the same place as the recent ones. + */ + ADC_ACTION_REPEAT, + + /** The sequence should be finished immediately. */ + ADC_ACTION_FINISH, +}; + +/** + * @brief Type definition of the optional callback function to be called after + * a requested sampling is done. + * + * @param dev Pointer to the device structure for the driver + * instance. + * @param sequence Pointer to the sequence structure that triggered + * the sampling. This parameter points to a copy of + * the structure that was supplied to the call that + * started the sampling sequence, thus it cannot be + * used with the CONTAINER_OF() macro to retrieve + * some other data associated with the sequence. + * Instead, the adc_sequence_options::user_data field + * should be used for such purpose. + * + * @param sampling_index Index (0-65535) of the sampling done. + * + * @returns Action to be performed by the driver. See @ref adc_action. + */ +typedef enum adc_action (*adc_sequence_callback)(const struct device *dev, + const struct adc_sequence *sequence, + uint16_t sampling_index); + +/** + * @brief Structure defining additional options for an ADC sampling sequence. + */ +struct adc_sequence_options { + /** + * Interval between consecutive samplings (in microseconds), 0 means + * sample as fast as possible, without involving any timer. + * The accuracy of this interval is dependent on the implementation of + * a given driver. The default routine that handles the intervals uses + * a kernel timer for this purpose, thus, it has the accuracy of the + * kernel's system clock. Particular drivers may use some dedicated + * hardware timers and achieve a better precision. + */ + uint32_t interval_us; + + /** + * Callback function to be called after each sampling is done. + * Optional - set to NULL if it is not needed. + */ + adc_sequence_callback callback; + + /** + * Pointer to user data. It can be used to associate the sequence + * with any other data that is needed in the callback function. + */ + void *user_data; + + /** + * Number of extra samplings to perform (the total number of samplings + * is 1 + extra_samplings). + */ + uint16_t extra_samplings; +}; + +/** + * @brief Structure defining an ADC sampling sequence. + */ +struct adc_sequence { + /** + * Pointer to a structure defining additional options for the sequence. + * If NULL, the sequence consists of a single sampling. + */ + const struct adc_sequence_options *options; + + /** + * Bit-mask indicating the channels to be included in each sampling + * of this sequence. + * All selected channels must be configured with adc_channel_setup() + * before they are used in a sequence. + * The least significant bit corresponds to channel 0. + */ + uint32_t channels; + + /** + * Pointer to a buffer where the samples are to be written. Samples + * from subsequent samplings are written sequentially in the buffer. + * The number of samples written for each sampling is determined by + * the number of channels selected in the "channels" field. + * The values written to the buffer represent a sample from each + * selected channel starting from the one with the lowest ID. + * The buffer must be of an appropriate size, taking into account + * the number of selected channels and the ADC resolution used, + * as well as the number of samplings contained in the sequence. + */ + void *buffer; + + /** + * Specifies the actual size of the buffer pointed by the "buffer" + * field (in bytes). The driver must ensure that samples are not + * written beyond the limit and it must return an error if the buffer + * turns out to be not large enough to hold all the requested samples. + */ + size_t buffer_size; + + /** + * ADC resolution. + * For single-ended channels the sample values are from range: + * 0 .. 2^resolution - 1, + * for differential ones: + * - 2^(resolution-1) .. 2^(resolution-1) - 1. + */ + uint8_t resolution; + + /** + * Oversampling setting. + * Each sample is averaged from 2^oversampling conversion results. + * This feature may be unsupported by a given ADC hardware, or in + * a specific mode (e.g. when sampling multiple channels). + */ + uint8_t oversampling; + + /** + * Perform calibration before the reading is taken if requested. + * + * The impact of channel configuration on the calibration + * process is specific to the underlying hardware. ADC + * implementations that do not support calibration should + * ignore this flag. + */ + bool calibrate; +}; + + +/** + * @brief Type definition of ADC API function for configuring a channel. + * See adc_channel_setup() for argument descriptions. + */ +typedef int (*adc_api_channel_setup)(const struct device *dev, + const struct adc_channel_cfg *channel_cfg); + +/** + * @brief Type definition of ADC API function for setting a read request. + * See adc_read() for argument descriptions. + */ +typedef int (*adc_api_read)(const struct device *dev, + const struct adc_sequence *sequence); + +/** + * @brief Type definition of ADC API function for setting an asynchronous + * read request. + * See adc_read_async() for argument descriptions. + */ +typedef int (*adc_api_read_async)(const struct device *dev, + const struct adc_sequence *sequence, + struct k_poll_signal *async); + +/** + * @brief ADC driver API + * + * This is the mandatory API any ADC driver needs to expose. + */ + struct adc_driver_api { + adc_api_channel_setup channel_setup; + adc_api_read read; + + + + uint16_t ref_internal; +}; + +/** + * @brief Configure an ADC channel. + * + * It is required to call this function and configure each channel before it is + * selected for a read request. + * + * @param dev Pointer to the device structure for the driver instance. + * @param channel_cfg Channel configuration. + * + * @retval 0 On success. + * @retval -EINVAL If a parameter with an invalid value has been provided. + */ +static inline int adc_channel_setup(const struct device *dev, + const struct adc_channel_cfg *channel_cfg); + +static inline int z_impl_adc_channel_setup(const struct device *dev, + const struct adc_channel_cfg *channel_cfg) +{ + return ((const struct adc_driver_api *)dev->api)->channel_setup(dev, channel_cfg); +} + +/** + * @brief Configure an ADC channel from a struct adc_dt_spec. + * + * @param spec ADC specification from Devicetree. + * + * @return A value from adc_channel_setup() or -ENOTSUP if information from + * Devicetree is not valid. + * @see adc_channel_setup() + */ +static inline int adc_channel_setup_dt(const struct adc_dt_spec *spec) +{ + if (!spec->channel_cfg_dt_node_exists) { + return - +# 745 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/adc.h" 3 4 + 134 /* Not supported */ +# 745 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/adc.h" + ; + } + + return adc_channel_setup(spec->dev, &spec->channel_cfg); +} + +/** + * @brief Set a read request. + * + * @param dev Pointer to the device structure for the driver instance. + * @param sequence Structure specifying requested sequence of samplings. + * + * If invoked from user mode, any sequence struct options for callback must + * be NULL. + * + * @retval 0 On success. + * @retval -EINVAL If a parameter with an invalid value has been provided. + * @retval -ENOMEM If the provided buffer is to small to hold the results + * of all requested samplings. + * @retval -ENOTSUP If the requested mode of operation is not supported. + * @retval -EBUSY If another sampling was triggered while the previous one + * was still in progress. This may occur only when samplings + * are done with intervals, and it indicates that the selected + * interval was too small. All requested samples are written + * in the buffer, but at least some of them were taken with + * an extra delay compared to what was scheduled. + */ +static inline int adc_read(const struct device *dev, + const struct adc_sequence *sequence); + +static inline int z_impl_adc_read(const struct device *dev, + const struct adc_sequence *sequence) +{ + return ((const struct adc_driver_api *)dev->api)->read(dev, sequence); +} + +/** + * @brief Set a read request from a struct adc_dt_spec. + * + * @param spec ADC specification from Devicetree. + * @param sequence Structure specifying requested sequence of samplings. + * + * @return A value from adc_read(). + * @see adc_read() + */ +static inline int adc_read_dt(const struct adc_dt_spec *spec, + const struct adc_sequence *sequence) +{ + return adc_read(spec->dev, sequence); +} + +/** + * @brief Set an asynchronous read request. + * + * @note This function is available only if @kconfig{CONFIG_ADC_ASYNC} + * is selected. + * + * If invoked from user mode, any sequence struct options for callback must + * be NULL. + * + * @param dev Pointer to the device structure for the driver instance. + * @param sequence Structure specifying requested sequence of samplings. + * @param async Pointer to a valid and ready to be signaled struct + * k_poll_signal. (Note: if NULL this function will not notify + * the end of the transaction, and whether it went successfully + * or not). + * + * @returns 0 on success, negative error code otherwise. + * See adc_read() for a list of possible error codes. + * + */ +static inline int adc_read_async(const struct device *dev, + const struct adc_sequence *sequence, + struct k_poll_signal *async); +# 830 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/adc.h" +/** + * @brief Get the internal reference voltage. + * + * Returns the voltage corresponding to @ref ADC_REF_INTERNAL, + * measured in millivolts. + * + * @return a positive value is the reference voltage value. Returns + * zero if reference voltage information is not available. + */ +static inline uint16_t adc_ref_internal(const struct device *dev) +{ + return ((const struct adc_driver_api *)dev->api)->ref_internal; +} + +/** + * @brief Convert a raw ADC value to millivolts. + * + * This function performs the necessary conversion to transform a raw + * ADC measurement to a voltage in millivolts. + * + * @param ref_mv the reference voltage used for the measurement, in + * millivolts. This may be from adc_ref_internal() or a known + * external reference. + * + * @param gain the ADC gain configuration used to sample the input + * + * @param resolution the number of bits in the absolute value of the + * sample. For differential sampling this needs to be one less than the + * resolution in struct adc_sequence. + * + * @param valp pointer to the raw measurement value on input, and the + * corresponding millivolt value on successful conversion. If + * conversion fails the stored value is left unchanged. + * + * @retval 0 on successful conversion + * @retval -EINVAL if the gain is not reversible + */ +static inline int adc_raw_to_millivolts(int32_t ref_mv, + enum adc_gain gain, + uint8_t resolution, + int32_t *valp) +{ + int32_t adc_mv = *valp * ref_mv; + int ret = adc_gain_invert(gain, &adc_mv); + + if (ret == 0) { + *valp = (adc_mv >> resolution); + } + + return ret; +} + +/** + * @brief Convert a raw ADC value to millivolts using information stored + * in a struct adc_dt_spec. + * + * @param[in] spec ADC specification from Devicetree. + * @param[in,out] valp Pointer to the raw measurement value on input, and the + * corresponding millivolt value on successful conversion. If conversion fails + * the stored value is left unchanged. + * + * @return A value from adc_raw_to_millivolts() or -ENOTSUP if information from + * Devicetree is not valid. + * @see adc_raw_to_millivolts() + */ +static inline int adc_raw_to_millivolts_dt(const struct adc_dt_spec *spec, + int32_t *valp) +{ + int32_t vref_mv; + uint8_t resolution; + + if (!spec->channel_cfg_dt_node_exists) { + return - +# 902 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/adc.h" 3 4 + 134 /* Not supported */ +# 902 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/adc.h" + ; + } + + if (spec->channel_cfg.reference == ADC_REF_INTERNAL) { + vref_mv = (int32_t)adc_ref_internal(spec->dev); + } else { + vref_mv = spec->vref_mv; + } + + resolution = spec->resolution; + + /* + * For differential channels, one bit less needs to be specified + * for resolution to achieve correct conversion. + */ + if (spec->channel_cfg.differential) { + resolution -= 1U; + } + + return adc_raw_to_millivolts(vref_mv, spec->channel_cfg.gain, + resolution, valp); +} + +/** + * @brief Initialize a struct adc_sequence from information stored in + * struct adc_dt_spec. + * + * Note that this function only initializes the following fields: + * + * - @ref adc_sequence.channels + * - @ref adc_sequence.resolution + * - @ref adc_sequence.oversampling + * + * Other fields should be initialized by the caller. + * + * @param[in] spec ADC specification from Devicetree. + * @param[out] seq Sequence to initialize. + * + * @retval 0 On success + * @retval -ENOTSUP If @p spec does not have valid channel configuration + */ +static inline int adc_sequence_init_dt(const struct adc_dt_spec *spec, + struct adc_sequence *seq) +{ + if (!spec->channel_cfg_dt_node_exists) { + return - +# 947 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/adc.h" 3 4 + 134 /* Not supported */ +# 947 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/adc.h" + ; + } + + seq->channels = (1UL << (spec->channel_id)); + seq->resolution = spec->resolution; + seq->oversampling = spec->oversampling; + + return 0; +} + +/** + * @brief Validate that the ADC device is ready. + * + * @param spec ADC specification from devicetree + * + * @retval true if the ADC device is ready for use and false otherwise. + */ +static inline bool adc_is_ready_dt(const struct adc_dt_spec *spec) +{ + return device_is_ready(spec->dev); +} + +/** + * @} + */ + + +} + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/adc.h" 1 +/* auto-generated by gen_syscalls.py, don't edit */ + + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/tracing/tracing_syscall.h" 1 +/* + * Copyright (c) 2021 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 8 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/adc.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdarg.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdarg.h" 3 4 +/* Copyright (C) 1989-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.15 Variable arguments + */ +# 12 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/adc.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscall_list.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscall_list.h" +/* auto-generated by gen_syscalls.py, don't edit */ +# 14 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/adc.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/syscall.h" 1 +/* + * Copyright (c) 2017, Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 15 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/adc.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/linker/sections.h" 1 +/* + * Copyright (c) 2013-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Definitions of various linker Sections. + * + * Linker Section declarations used by linker script, C files and Assembly + * files. + */ +# 17 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/adc.h" 2 + + + +extern "C" { + + +extern int z_impl_adc_channel_setup(const struct device * dev, const struct adc_channel_cfg * channel_cfg); + + +static inline int adc_channel_setup(const struct device * dev, const struct adc_channel_cfg * channel_cfg) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_adc_channel_setup(dev, channel_cfg); +} +# 47 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/adc.h" +extern int z_impl_adc_read(const struct device * dev, const struct adc_sequence * sequence); + + +static inline int adc_read(const struct device * dev, const struct adc_sequence * sequence) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_adc_read(dev, sequence); +} +# 71 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/adc.h" +extern int z_impl_adc_read_async(const struct device * dev, const struct adc_sequence * sequence, struct k_poll_signal * async); + + +static inline int adc_read_async(const struct device * dev, const struct adc_sequence * sequence, struct k_poll_signal * async) +{ +# 84 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/adc.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_adc_read_async(dev, sequence, async); +} +# 97 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/adc.h" +} +# 978 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/adc.h" 2 +# 15 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/Arduino.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/dac.h" 1 +/* + * Copyright (c) 2020 Libre Solar Technologies GmbH + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief DAC public API header file. + */ + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/device.h" 1 +/* + * Copyright (c) 2015 Intel Corporation. + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 16 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/dac.h" 2 + + +extern "C" { + + +/** + * @brief DAC driver APIs + * @defgroup dac_interface DAC driver APIs + * @since 2.3 + * @version 0.8.0 + * @ingroup io_interfaces + * @{ + */ + +/** + * @brief Broadcast channel identifier for DACs that support it. + * @note Only for use in dac_write_value(). + */ + + +/** + * @brief Structure for specifying the configuration of a DAC channel. + */ +struct dac_channel_cfg { + /** Channel identifier of the DAC that should be configured. */ + uint8_t channel_id; + /** Desired resolution of the DAC (depends on device capabilities). */ + uint8_t resolution; + /** Enable output buffer for this channel. + * This is relevant for instance if the output is directly connected to the load, + * without an amplifierin between. The actual details on this are hardware dependent. + */ + bool buffered: 1; + /** Enable internal output path for this channel. This is relevant for channels that + * support directly connecting to on-chip peripherals via internal paths. The actual + * details on this are hardware dependent. + */ + bool internal: 1; +}; + +/** + * @cond INTERNAL_HIDDEN + * + * For internal use only, skip these in public documentation. + */ + +/* + * Type definition of DAC API function for configuring a channel. + * See dac_channel_setup() for argument descriptions. + */ +typedef int (*dac_api_channel_setup)(const struct device *dev, + const struct dac_channel_cfg *channel_cfg); + +/* + * Type definition of DAC API function for setting a write request. + * See dac_write_value() for argument descriptions. + */ +typedef int (*dac_api_write_value)(const struct device *dev, + uint8_t channel, uint32_t value); + +/* + * DAC driver API + * + * This is the mandatory API any DAC driver needs to expose. + */ + struct dac_driver_api { + dac_api_channel_setup channel_setup; + dac_api_write_value write_value; +}; + +/** + * @endcond + */ + +/** + * @brief Configure a DAC channel. + * + * It is required to call this function and configure each channel before it is + * selected for a write request. + * + * @param dev Pointer to the device structure for the driver instance. + * @param channel_cfg Channel configuration. + * + * @retval 0 On success. + * @retval -EINVAL If a parameter with an invalid value has been provided. + * @retval -ENOTSUP If the requested resolution is not supported. + */ +static inline int dac_channel_setup(const struct device *dev, + const struct dac_channel_cfg *channel_cfg); + +static inline int z_impl_dac_channel_setup(const struct device *dev, + const struct dac_channel_cfg *channel_cfg) +{ + const struct dac_driver_api *api = + (const struct dac_driver_api *)dev->api; + + return api->channel_setup(dev, channel_cfg); +} + +/** + * @brief Write a single value to a DAC channel + * + * @param dev Pointer to the device structure for the driver instance. + * @param channel Number of the channel to be used. + * @param value Data to be written to DAC output registers. + * + * @retval 0 On success. + * @retval -EINVAL If a parameter with an invalid value has been provided. + */ +static inline int dac_write_value(const struct device *dev, uint8_t channel, + uint32_t value); + +static inline int z_impl_dac_write_value(const struct device *dev, + uint8_t channel, uint32_t value) +{ + const struct dac_driver_api *api = + (const struct dac_driver_api *)dev->api; + + return api->write_value(dev, channel, value); +} + +/** + * @} + */ + + +} + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/dac.h" 1 +/* auto-generated by gen_syscalls.py, don't edit */ + + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/tracing/tracing_syscall.h" 1 +/* + * Copyright (c) 2021 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 8 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/dac.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdarg.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdarg.h" 3 4 +/* Copyright (C) 1989-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.15 Variable arguments + */ +# 12 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/dac.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscall_list.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscall_list.h" +/* auto-generated by gen_syscalls.py, don't edit */ +# 14 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/dac.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/syscall.h" 1 +/* + * Copyright (c) 2017, Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 15 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/dac.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/linker/sections.h" 1 +/* + * Copyright (c) 2013-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Definitions of various linker Sections. + * + * Linker Section declarations used by linker script, C files and Assembly + * files. + */ +# 17 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/dac.h" 2 + + + +extern "C" { + + +extern int z_impl_dac_channel_setup(const struct device * dev, const struct dac_channel_cfg * channel_cfg); + + +static inline int dac_channel_setup(const struct device * dev, const struct dac_channel_cfg * channel_cfg) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_dac_channel_setup(dev, channel_cfg); +} +# 47 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/dac.h" +extern int z_impl_dac_write_value(const struct device * dev, uint8_t channel, uint32_t value); + + +static inline int dac_write_value(const struct device * dev, uint8_t channel, uint32_t value) +{ +# 60 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/dac.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_dac_write_value(dev, channel, value); +} +# 73 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/dac.h" +} +# 146 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/dac.h" 2 +# 16 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/Arduino.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/i2c.h" 1 +/** + * @file + * + * @brief Public APIs for the I2C drivers. + */ + +/* + * Copyright (c) 2015 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + +/** + * @brief I2C Interface + * @defgroup i2c_interface I2C Interface + * @since 1.0 + * @version 1.0.0 + * @ingroup io_interfaces + * @{ + */ + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/errno.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/errno.h" 3 4 +/* +Copyright (c) 1991, 1993 +The Regents of the University of California. All rights reserved. +c) UNIX System Laboratories, Inc. +All or some portions of this file are derived from material licensed +to the University of California by American Telephone and Telegraph +Co. or Unix System Laboratories, Inc. and are reproduced herein with +the permission of UNIX System Laboratories, Inc. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. +3. Neither the name of the University nor the names of its contributors +may be used to endorse or promote products derived from this software +without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + */ +# 25 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/i2c.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/types.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/types.h" +/* + * Copyright (c) 2017 Linaro Limited + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 27 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/i2c.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/device.h" 1 +/* + * Copyright (c) 2015 Intel Corporation. + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 28 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/i2c.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" 1 +/* + * Copyright (c) 2016, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * + * @brief Public kernel APIs. + */ +# 29 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/i2c.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/slist.h" 1 +/* + * Copyright (c) 2016 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + /** + * @file + * @defgroup single-linked-list_apis Single-linked list + * @ingroup datastructure_apis + * + * @brief Single-linked list implementation. + * + * Single-linked list implementation using inline macros/functions. + * This API is not thread safe, and thus if a list is used across threads, + * calls to functions must be protected with synchronization primitives. + * @{ + */ +# 30 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/i2c.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 1 +/* + * Copyright (c) 2022 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Real-Time IO device API for moving bytes with low effort + * + * RTIO is a context for asynchronous batch operations using a submission and completion queue. + * + * Asynchronous I/O operation are setup in a submission queue. Each entry in the queue describes + * the operation it wishes to perform with some understood semantics. + * + * These operations may be chained in a such a way that only when the current + * operation is complete the next will be executed. If the current operation fails + * all chained operations will also fail. + * + * Operations may also be submitted as a transaction where a set of operations are considered + * to be one operation. + * + * The completion of these operations typically provide one or more completion queue events. + */ + + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/string.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/string.h" 3 4 +/* +Copyright (c) 1991, 1993 +The Regents of the University of California. All rights reserved. +c) UNIX System Laboratories, Inc. +All or some portions of this file are derived from material licensed +to the University of California by American Telephone and Telegraph +Co. or Unix System Laboratories, Inc. and are reproduced herein with +the permission of UNIX System Laboratories, Inc. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. +3. Neither the name of the University nor the names of its contributors +may be used to endorse or promote products derived from this software +without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + */ +/* + * string.h + * + * Definitions for memory and string functions. + */ +# 30 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/app_memory/app_memdomain.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/app_memory/app_memdomain.h" +/* + * Copyright (c) 2019 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/linker/linker-defs.h" 1 +/* + * Copyright (c) 2013-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/* + * DESCRIPTION + * Platform independent, commonly used macros and defines related to linker + * script. + * + * This file may be included by: + * - Linker script files: for linker section declarations + * - C files: for external declaration of address or size of linker section + * - Assembly files: for external declaration of address or size of linker + * section + */ + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain.h" 1 +/* + * Copyright (c) 2010-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Macros to abstract toolchain specific capabilities + * + * This file contains various macros to abstract compiler capabilities that + * utilize toolchain specific attributes and/or pragmas. + */ +# 23 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/linker/linker-defs.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain/common.h" 1 +/* + * Copyright (c) 2010-2014 Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 24 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/linker/linker-defs.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/linker/sections.h" 1 +/* + * Copyright (c) 2013-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Definitions of various linker Sections. + * + * Linker Section declarations used by linker script, C files and Assembly + * files. + */ +# 25 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/linker/linker-defs.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util.h" 1 +/* + * Copyright (c) 2011-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Misc utilities + * + * Misc utilities usable by the kernel and application code. + */ +# 26 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/linker/linker-defs.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/offsets.h" 1 +/* THIS FILE IS AUTO GENERATED. PLEASE DO NOT EDIT. + * + * This header file provides macros for the offsets of various structure + * members. These offset macros are primarily intended to be used in + * assembly code. + */ +# 27 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/linker/linker-defs.h" 2 + +/* We need to dummy out DT_NODE_HAS_STATUS when building the unittests. + * Including devicetree.h would require generating dummy header files + * to match what gen_defines creates, so it's easier to just dummy out + * DT_NODE_HAS_STATUS. These are undefined at the end of the file. + */ + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/devicetree.h" 1 +/* + * SPDX-License-Identifier: Apache-2.0 + * Copyright (c) 2020 Nordic Semiconductor + * Copyright (c) 2020, Linaro Ltd. + * + * Not a generated file. Feel free to modify. + */ + +/** + * @file + * @brief Devicetree main header + * + * API for accessing the current application's devicetree macros. + */ +# 38 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/linker/linker-defs.h" 2 +# 70 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/linker/linker-defs.h" +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/types.h" 1 +/* + * Copyright (c) 2017 Linaro Limited + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 71 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/linker/linker-defs.h" 2 +/* + * Memory owned by the kernel, to be used as shared memory between + * application threads. + * + * The following are extern symbols from the linker. This enables + * the dynamic k_mem_domain and k_mem_partition creation and alignment + * to the section produced in the linker. + + * The policy for this memory will be to initially configure all of it as + * kernel / supervisor thread accessible. + */ +extern char _app_smem_start[]; +extern char _app_smem_end[]; +extern char _app_smem_size[]; +extern char _app_smem_rom_start[]; +extern char _app_smem_num_words[]; +# 95 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/linker/linker-defs.h" +/* Memory owned by the kernel. Start and end will be aligned for memory + * management/protection hardware for the target architecture. + * + * Consists of all kernel-side globals, all kernel objects, all thread stacks, + * and all currently unused RAM. + * + * Except for the stack of the currently executing thread, none of this memory + * is normally accessible to user threads unless specifically granted at + * runtime. + */ +extern char __kernel_ram_start[]; +extern char __kernel_ram_end[]; +extern char __kernel_ram_size[]; + +/* Used by z_bss_zero or arch-specific implementation */ +extern char __bss_start[]; +extern char __bss_end[]; + +/* Used by z_data_copy() or arch-specific implementation */ + +extern char __data_region_load_start[]; +extern char __data_region_start[]; +extern char __data_region_end[]; +# 126 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/linker/linker-defs.h" +/* Includes text and rodata */ +extern char __rom_region_start[]; +extern char __rom_region_end[]; +extern char __rom_region_size[]; + +/* Includes all ROMable data, i.e. the size of the output image file. */ +extern char _flash_used[]; + +/* datas, bss, noinit */ +extern char _image_ram_start[]; +extern char _image_ram_end[]; +extern char _image_ram_size[]; + +extern char __text_region_start[]; +extern char __text_region_end[]; +extern char __text_region_size[]; + +extern char __rodata_region_start[]; +extern char __rodata_region_end[]; +extern char __rodata_region_size[]; + +extern char _vector_start[]; +extern char _vector_end[]; +# 160 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/linker/linker-defs.h" +/* end address of image, used by newlib for the heap */ +extern char _end[]; +# 204 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/linker/linker-defs.h" +/* Used by the Security Attribution Unit to configure the + * Non-Secure Callable region. + */ + + + + + + +/* + * Non-cached kernel memory region, currently only available on ARM Cortex-M7 + * with a MPU. Start and end will be aligned for memory management/protection + * hardware for the target architecture. + * + * All the functions with '__nocache' keyword will be placed into this + * section. + */ + + + + + + +/* Memory owned by the kernel. Start and end will be aligned for memory + * management/protection hardware for the target architecture. + * + * All the functions with '__ramfunc' keyword will be placed into this + * section, stored in RAM instead of FLASH. + */ + +extern char __ramfunc_region_start[]; +extern char __ramfunc_start[]; +extern char __ramfunc_end[]; +extern char __ramfunc_size[]; +extern char __ramfunc_load_start[]; + + +/* Memory owned by the kernel. Memory region for thread privilege stack buffers, + * currently only applicable on ARM Cortex-M architecture when building with + * support for User Mode. + * + * All thread privilege stack buffers will be placed into this section. + */ +# 256 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/linker/linker-defs.h" +extern char __tdata_start[]; +extern char __tdata_end[]; +extern char __tdata_size[]; +extern char __tdata_align[]; +extern char __tbss_start[]; +extern char __tbss_end[]; +extern char __tbss_size[]; +extern char __tbss_align[]; +extern char __tls_start[]; +extern char __tls_end[]; +extern char __tls_size[]; +# 10 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/app_memory/app_memdomain.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/dlist.h" 1 +/* + * Copyright (c) 2013-2015 Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @defgroup doubly-linked-list_apis Doubly-linked list + * @ingroup datastructure_apis + * + * @brief Doubly-linked list implementation + * + * Doubly-linked list implementation using inline macros/functions. + * This API is not thread safe, and thus if a list is used across threads, + * calls to functions must be protected with synchronization primitives. + * + * The lists are expected to be initialized such that both the head and tail + * pointers point to the list itself. Initializing the lists in such a fashion + * simplifies the adding and removing of nodes to/from the list. + * + * @{ + */ +# 11 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/app_memory/app_memdomain.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" 1 +/* + * Copyright (c) 2016, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * + * @brief Public kernel APIs. + */ +# 12 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/app_memory/app_memdomain.h" 2 + +/** + * @brief Application memory domain APIs + * @defgroup mem_domain_apis_app Application memory domain APIs + * @ingroup mem_domain_apis + * @{ + */ +# 153 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/app_memory/app_memdomain.h" +/** + * @} + */ +# 32 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/device.h" 1 +/* + * Copyright (c) 2015 Intel Corporation. + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 33 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" 1 +/* + * Copyright (c) 2016, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * + * @brief Public kernel APIs. + */ +# 34 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/__assert.h" 1 +/* + * Copyright (c) 2011-2014 Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 35 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/atomic.h" 1 +/* + * Copyright (c) 1997-2015, Wind River Systems, Inc. + * Copyright (c) 2021 Intel Corporation + * Copyright (c) 2023 Nordic Semiconductor ASA + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 36 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mem_blocks.h" 1 +/* + * Copyright (c) 2021 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * + * @brief Memory Blocks Allocator + */ + + + + + +extern "C" { + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* Copyright (C) 1989-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.17 Common definitions + */ +# 21 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mem_blocks.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 1 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ +# 22 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mem_blocks.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" +/* + * Copyright (c) 2016, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * + * @brief Public kernel APIs. + */ +# 24 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mem_blocks.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/math/ilog2.h" 1 +/* + * Copyright (c) 2021 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ +# 11 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/math/ilog2.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/toolchain.h" +/* + * Copyright (c) 2010-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Macros to abstract toolchain specific capabilities + * + * This file contains various macros to abstract compiler capabilities that + * utilize toolchain specific attributes and/or pragmas. + */ +# 13 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/math/ilog2.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/arch/common/ffs.h" 1 +/* + * Copyright (c) 2015, Wind River Systems, Inc. + * Copyright (c) 2017, Oticon A/S + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 14 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/math/ilog2.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util.h" 1 +/* + * Copyright (c) 2011-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Misc utilities + * + * Misc utilities usable by the kernel and application code. + */ +# 15 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/math/ilog2.h" 2 + +/** + * @file + * @brief Provide ilog2() function + */ + +/** + * + * @brief Calculate the floor of log2 for compile time constant + * + * This calculates the floor of log2 (integer log2) for 32-bit + * unsigned integer. + * + * @note This should only be used for compile time constant + * when value is known during preprocessing stage. + * DO NOT USE for runtime code due to the big tree of + * nested if-else blocks. + * + * @warning Will return 0 if input value is 0, which is + * invalid for log2. + * + * @param n Input value + * @return Integer log2 of @n + */ +# 75 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/math/ilog2.h" +/** + * + * @brief Calculate integer log2 + * + * This calculates the floor of log2 (integer of log2). + * + * @warning Will return 0 if input value is 0, which is + * invalid for log2. + * + * @param n Input value + * @return Integer log2 of @p n + */ +/* + * This is in #define form as this needs to also work on + * compile time constants. Doing this as a static inline + * function will result in compiler complaining with + * "initializer element is not constant". + */ +# 25 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mem_blocks.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/bitarray.h" 1 +/* + * Copyright (c) 2021 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + + +extern "C" { + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stddef.h" 3 4 +/* Copyright (C) 1989-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.17 Common definitions + */ +# 15 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/bitarray.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 1 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ +# 16 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/bitarray.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" +/* + * Copyright (c) 2016, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * + * @brief Public kernel APIs. + */ +# 18 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/bitarray.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util.h" 1 +/* + * Copyright (c) 2011-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Misc utilities + * + * Misc utilities usable by the kernel and application code. + */ +# 19 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/bitarray.h" 2 + +/** + * @file + * + * @defgroup bitarray_apis Bit array + * @ingroup datastructure_apis + * + * @brief Store and manipulate bits in a bit array. + * + * @{ + */ + +/** @cond INTERNAL_HIDDEN */ +struct sys_bitarray { + /* Number of bits */ + uint32_t num_bits; + + /* Number of bundles */ + uint32_t num_bundles; + + /* Bundle of bits */ + uint32_t *bundles; + + /* Spinlock guarding access to this bit array */ + struct k_spinlock lock; +}; +/** @endcond */ + +/** Bitarray structure */ +typedef struct sys_bitarray sys_bitarray_t; + +/** + * @brief Create a bitarray object. + * + * @param name Name of the bitarray object. + * @param total_bits Total number of bits in this bitarray object. + * @param sba_mod Modifier to the bitarray variables. + */ +# 68 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/bitarray.h" +/** + * @brief Create a bitarray object. + * + * @param name Name of the bitarray object. + * @param total_bits Total number of bits in this bitarray object. + */ + + + +/** + * @brief Create a static bitarray object. + * + * @param name Name of the bitarray object. + * @param total_bits Total number of bits in this bitarray object. + */ + + + +/** + * Set a bit in a bit array + * + * @param[in] bitarray Bitarray struct + * @param[in] bit The bit to be set + * + * @retval 0 Operation successful + * @retval -EINVAL Invalid argument (e.g. bit to set exceeds + * the number of bits in bit array, etc.) + */ +int sys_bitarray_set_bit(sys_bitarray_t *bitarray, size_t bit); + +/** + * Clear a bit in a bit array + * + * @param[in] bitarray Bitarray struct + * @param[in] bit The bit to be cleared + * + * @retval 0 Operation successful + * @retval -EINVAL Invalid argument (e.g. bit to clear exceeds + * the number of bits in bit array, etc.) + */ +int sys_bitarray_clear_bit(sys_bitarray_t *bitarray, size_t bit); + +/** + * Test whether a bit is set or not + * + * @param[in] bitarray Bitarray struct + * @param[in] bit The bit to be tested + * @param[out] val The value of the bit (0 or 1) + * + * @retval 0 Operation successful + * @retval -EINVAL Invalid argument (e.g. bit to test exceeds + * the number of bits in bit array, etc.) + */ +int sys_bitarray_test_bit(sys_bitarray_t *bitarray, size_t bit, int *val); + +/** + * Test the bit and set it + * + * @param[in] bitarray Bitarray struct + * @param[in] bit The bit to be tested and set + * @param[out] prev_val Previous value of the bit (0 or 1) + * + * @retval 0 Operation successful + * @retval -EINVAL Invalid argument (e.g. bit to test exceeds + * the number of bits in bit array, etc.) + */ +int sys_bitarray_test_and_set_bit(sys_bitarray_t *bitarray, size_t bit, int *prev_val); + +/** + * Test the bit and clear it + * + * @param[in] bitarray Bitarray struct + * @param[in] bit The bit to be tested and cleared + * @param[out] prev_val Previous value of the bit (0 or 1) + * + * @retval 0 Operation successful + * @retval -EINVAL Invalid argument (e.g. bit to test exceeds + * the number of bits in bit array, etc.) + */ +int sys_bitarray_test_and_clear_bit(sys_bitarray_t *bitarray, size_t bit, int *prev_val); + +/** + * Allocate bits in a bit array + * + * This finds a number of bits (@p num_bits) in a contiguous of + * previously unallocated region. If such a region exists, the bits are + * marked as allocated and the offset to the start of this region is + * returned via @p offset. + * + * @param[in] bitarray Bitarray struct + * @param[in] num_bits Number of bits to allocate + * @param[out] offset Offset to the start of allocated region if + * successful + * + * @retval 0 Allocation successful + * @retval -EINVAL Invalid argument (e.g. allocating more bits than + * the bitarray has, trying to allocate 0 bits, etc.) + * @retval -ENOSPC No contiguous region big enough to accommodate + * the allocation + */ +int sys_bitarray_alloc(sys_bitarray_t *bitarray, size_t num_bits, + size_t *offset); + +/** + * Calculates the bit-wise XOR of two bitarrays in a region. + * The result is stored in the first bitarray passed in (@p dst). + * Both bitarrays must be of the same size. + * + * @param dst Bitarray struct + * @param other Bitarray struct + * @param num_bits Number of bits in the region, must be larger than 0 + * @param offset Starting bit location + * + * @retval 0 Operation successful + * @retval -EINVAL Invalid argument (e.g. out-of-bounds access, mismatching bitarrays, trying to xor + * 0 bits, etc.) + */ +int sys_bitarray_xor(sys_bitarray_t *dst, sys_bitarray_t *other, size_t num_bits, size_t offset); + +/** + * Find nth bit set in region + * + * This counts the number of bits set (@p count) in a + * region (@p offset, @p num_bits) and returns the index (@p found_at) + * of the nth set bit, if it exists, as long with a zero return value. + * + * If it does not exist, @p found_at is not updated and the method returns + * + * @param[in] bitarray Bitarray struct + * @param[in] n Nth bit set to look for + * @param[in] num_bits Number of bits to check, must be larger than 0 + * @param[in] offset Starting bit position + * @param[out] found_at Index of the nth bit set, if found + * + * @retval 0 Operation successful + * @retval 1 Nth bit set was not found in region + * @retval -EINVAL Invalid argument (e.g. out-of-bounds access, trying to count 0 bits, etc.) + */ +int sys_bitarray_find_nth_set(sys_bitarray_t *bitarray, size_t n, size_t num_bits, size_t offset, + size_t *found_at); + +/** + * Count bits set in a bit array region + * + * This counts the number of bits set (@p count) in a + * region (@p offset, @p num_bits). + * + * @param[in] bitarray Bitarray struct + * @param[in] num_bits Number of bits to check, must be larger than 0 + * @param[in] offset Starting bit position + * @param[out] count Number of bits set in the region if successful + * + * @retval 0 Operation successful + * @retval -EINVAL Invalid argument (e.g. out-of-bounds access, trying to count 0 bits, etc.) + */ +int sys_bitarray_popcount_region(sys_bitarray_t *bitarray, size_t num_bits, size_t offset, + size_t *count); + +/** + * Free bits in a bit array + * + * This marks the number of bits (@p num_bits) starting from @p offset + * as no longer allocated. + * + * @param bitarray Bitarray struct + * @param num_bits Number of bits to free + * @param offset Starting bit position to free + * + * @retval 0 Free is successful + * @retval -EINVAL Invalid argument (e.g. try to free more bits than + * the bitarray has, trying to free 0 bits, etc.) + * @retval -EFAULT The bits in the indicated region are not all allocated. + */ +int sys_bitarray_free(sys_bitarray_t *bitarray, size_t num_bits, + size_t offset); + +/** + * Test if bits in a region is all set. + * + * This tests if the number of bits (@p num_bits) in region starting + * from @p offset are all set. + * + * @param bitarray Bitarray struct + * @param num_bits Number of bits to test + * @param offset Starting bit position to test + * + * @retval true All bits are set. + * @retval false Not all bits are set. + */ +bool sys_bitarray_is_region_set(sys_bitarray_t *bitarray, size_t num_bits, + size_t offset); + +/** + * Test if bits in a region is all cleared. + * + * This tests if the number of bits (@p num_bits) in region starting + * from @p offset are all cleared. + * + * @param bitarray Bitarray struct + * @param num_bits Number of bits to test + * @param offset Starting bit position to test + * + * @retval true All bits are cleared. + * @retval false Not all bits are cleared. + */ +bool sys_bitarray_is_region_cleared(sys_bitarray_t *bitarray, size_t num_bits, + size_t offset); + +/** + * Set all bits in a region. + * + * This sets the number of bits (@p num_bits) in region starting + * from @p offset. + * + * @param bitarray Bitarray struct + * @param num_bits Number of bits to test + * @param offset Starting bit position to test + * + * @retval 0 Operation successful + * @retval -EINVAL Invalid argument (e.g. bit to set exceeds + * the number of bits in bit array, etc.) + */ +int sys_bitarray_set_region(sys_bitarray_t *bitarray, size_t num_bits, + size_t offset); + +/** + * Test if all bits in a region are cleared/set and set/clear them + * in a single atomic operation + * + * This checks if all the bits (@p num_bits) in region starting + * from @p offset are in required state. If even one bit is not, + * -EEXIST is returned. If the whole region is set/cleared + * it is set to opposite state. The check and set is performed as a single + * atomic operation. + * + * @param bitarray Bitarray struct + * @param num_bits Number of bits to test and set + * @param offset Starting bit position to test and set + * @param to_set if true the region will be set if all bits are cleared + * if false the region will be cleard if all bits are set + * + * @retval 0 Operation successful + * @retval -EINVAL Invalid argument (e.g. bit to set exceeds + * the number of bits in bit array, etc.) + * @retval -EEXIST at least one bit in the region is set/cleared, + * operation cancelled + */ +int sys_bitarray_test_and_set_region(sys_bitarray_t *bitarray, size_t num_bits, + size_t offset, bool to_set); + +/** + * Clear all bits in a region. + * + * This clears the number of bits (@p num_bits) in region starting + * from @p offset. + * + * @param bitarray Bitarray struct + * @param num_bits Number of bits to test + * @param offset Starting bit position to test + * + * @retval 0 Operation successful + * @retval -EINVAL Invalid argument (e.g. bit to set exceeds + * the number of bits in bit array, etc.) + */ +int sys_bitarray_clear_region(sys_bitarray_t *bitarray, size_t num_bits, + size_t offset); + +/** + * @} + */ + + +} +# 26 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mem_blocks.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mem_stats.h" 1 +/* + * Copyright (c) 2022 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * + * @brief Memory Statistics + */ +# 27 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mem_blocks.h" 2 + + + +/** + * @defgroup mem_blocks_apis Memory Blocks APIs + * @ingroup memory_management + * @{ + */ + +/** + * @brief Memory Blocks Allocator + */ +struct sys_mem_blocks; + +/** + * @brief Multi Memory Blocks Allocator + */ +struct sys_multi_mem_blocks; + +/** + * @typedef sys_mem_blocks_t + * + * @brief Memory Blocks Allocator + */ +typedef struct sys_mem_blocks sys_mem_blocks_t; + +/** + * @typedef sys_multi_mem_blocks_t + * + * @brief Multi Memory Blocks Allocator + */ +typedef struct sys_multi_mem_blocks sys_multi_mem_blocks_t; + +/** + * @brief Multi memory blocks allocator choice function + * + * This is a user-provided functions whose responsibility is selecting + * a specific memory blocks allocator based on the opaque cfg value, + * which is specified by the user as an argument to + * sys_multi_mem_blocks_alloc(). The callback returns a pointer to + * the chosen allocator where the allocation is performed. + * + * NULL may be returned, which will cause the + * allocation to fail and a -EINVAL reported to the calling code. + * + * @param group Multi memory blocks allocator structure. + * @param cfg An opaque user-provided value. It may be interpreted in + * any way by the application. + * + * @return A pointer to the chosen allocator, or NULL if none is chosen. + */ +typedef sys_mem_blocks_t *(*sys_multi_mem_blocks_choice_fn_t) + (struct sys_multi_mem_blocks *group, void *cfg); + +/** + * @cond INTERNAL_HIDDEN + */ + +struct sys_mem_blocks_info { + uint32_t num_blocks; + uint8_t blk_sz_shift; + + + + +}; + +struct sys_mem_blocks { + struct sys_mem_blocks_info info; + + /* Memory block buffer */ + uint8_t *buffer; + + /* Bitmap of allocated blocks */ + sys_bitarray_t *bitmap; +# 110 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mem_blocks.h" +}; + +struct sys_multi_mem_blocks { + /* Number of allocators in this group */ + int num_allocators; + sys_multi_mem_blocks_choice_fn_t choice_fn; + sys_mem_blocks_t *allocators[8]; +}; + +/** + * @brief Create a memory block object with a providing backing buffer. + * + * @param name Name of the memory block object. + * @param blk_sz Size of each memory block (in bytes, power of 2). + * @param num_blks Total number of memory blocks. + * @param buf Backing buffer of type uint8_t. + * @param mbmod Modifier to the memory block struct + */ +# 141 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mem_blocks.h" +/** + * @brief Create a memory block object with a new backing buffer. + * + * @param name Name of the memory block object. + * @param blk_sz Size of each memory block (in bytes, power of 2). + * @param num_blks Total number of memory blocks. + * @param balign Alignment of the memory block buffer (power of 2). + * @param mbmod Modifier to the memory block struct + */ +# 158 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mem_blocks.h" +/** + * INTERNAL_HIDDEN @endcond + */ + +/** + * @brief Create a memory block object with a new backing buffer. + * + * @param name Name of the memory block object. + * @param blk_sz Size of each memory block (in bytes). + * @param num_blks Total number of memory blocks. + * @param buf_align Alignment of the memory block buffer (power of 2). + */ + + + +/** + * @brief Create a static memory block object with a new backing buffer. + * + * @param name Name of the memory block object. + * @param blk_sz Size of each memory block (in bytes). + * @param num_blks Total number of memory blocks. + * @param buf_align Alignment of the memory block buffer (power of 2). + */ + + + + +/** + * @brief Create a memory block object with a providing backing buffer. + * + * @param name Name of the memory block object. + * @param blk_sz Size of each memory block (in bytes). + * @param num_blks Total number of memory blocks. + * @param buf Backing buffer of type uint8_t. + */ + + + +/** + * @brief Create a static memory block object with a providing backing buffer. + * + * @param name Name of the memory block object. + * @param blk_sz Size of each memory block (in bytes). + * @param num_blks Total number of memory blocks. + * @param buf Backing buffer of type uint8_t. + */ + + + +/** + * @brief Allocate multiple memory blocks + * + * Allocate multiple memory blocks, and place their pointers into + * the output array. + * + * @param[in] mem_block Pointer to memory block object. + * @param[in] count Number of blocks to allocate. + * @param[out] out_blocks Output array to be populated by pointers to + * the memory blocks. It must have at least + * @p count elements. + * + * @retval 0 Successful + * @retval -EINVAL Invalid argument supplied. + * @retval -ENOMEM Not enough blocks for allocation. + */ +int sys_mem_blocks_alloc(sys_mem_blocks_t *mem_block, size_t count, + void **out_blocks); + +/** + * @brief Allocate a contiguous set of memory blocks + * + * Allocate multiple memory blocks, and place their pointers into + * the output array. + * + * @param[in] mem_block Pointer to memory block object. + * @param[in] count Number of blocks to allocate. + * @param[out] out_block Output pointer to the start of the allocated block set + * + * @retval 0 Successful + * @retval -EINVAL Invalid argument supplied. + * @retval -ENOMEM Not enough contiguous blocks for allocation. + */ +int sys_mem_blocks_alloc_contiguous(sys_mem_blocks_t *mem_block, size_t count, + void **out_block); + +/** + * @brief Force allocation of a specified blocks in a memory block object + * + * Allocate a specified blocks in a memory block object. + * Note: use caution when mixing sys_mem_blocks_get and sys_mem_blocks_alloc, + * allocation may take any of the free memory space + * + * + * @param[in] mem_block Pointer to memory block object. + * @param[in] in_block Address of the first required block to allocate + * @param[in] count Number of blocks to allocate. + * + * @retval 0 Successful + * @retval -EINVAL Invalid argument supplied. + * @retval -ENOMEM Some of blocks are taken and cannot be allocated + */ +int sys_mem_blocks_get(sys_mem_blocks_t *mem_block, void *in_block, size_t count); + +/** + * @brief check if the region is free + * + * @param[in] mem_block Pointer to memory block object. + * @param[in] in_block Address of the first block to check + * @param[in] count Number of blocks to check. + * + * @retval 1 All memory blocks are free + * @retval 0 At least one of the memory blocks is taken + */ +int sys_mem_blocks_is_region_free(sys_mem_blocks_t *mem_block, void *in_block, size_t count); + +/** + * @brief Free multiple memory blocks + * + * Free multiple memory blocks according to the array of memory + * block pointers. + * + * @param[in] mem_block Pointer to memory block object. + * @param[in] count Number of blocks to free. + * @param[in] in_blocks Input array of pointers to the memory blocks. + * + * @retval 0 Successful + * @retval -EINVAL Invalid argument supplied. + * @retval -EFAULT Invalid pointers supplied. + */ +int sys_mem_blocks_free(sys_mem_blocks_t *mem_block, size_t count, + void **in_blocks); + +/** + * @brief Free contiguous multiple memory blocks + * + * Free contiguous multiple memory blocks + * + * @param[in] mem_block Pointer to memory block object. + * @param[in] block Pointer to the first memory block + * @param[in] count Number of blocks to free. + * + * @retval 0 Successful + * @retval -EINVAL Invalid argument supplied. + * @retval -EFAULT Invalid pointer supplied. + */ +int sys_mem_blocks_free_contiguous(sys_mem_blocks_t *mem_block, void *block, size_t count); +# 333 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mem_blocks.h" +/** + * @brief Initialize multi memory blocks allocator group + * + * Initialize a sys_multi_mem_block struct with the specified choice + * function. Note that individual allocator must be added later with + * sys_multi_mem_blocks_add_allocator. + * + * @param group Multi memory blocks allocator structure. + * @param choice_fn A sys_multi_mem_blocks_choice_fn_t callback used to + * select the allocator to be used at allocation time + */ +void sys_multi_mem_blocks_init(sys_multi_mem_blocks_t *group, + sys_multi_mem_blocks_choice_fn_t choice_fn); + +/** + * @brief Add an allocator to an allocator group + * + * This adds a known allocator to an existing multi memory blocks + * allocator group. + * + * @param group Multi memory blocks allocator structure. + * @param alloc Allocator to add + */ +void sys_multi_mem_blocks_add_allocator(sys_multi_mem_blocks_t *group, + sys_mem_blocks_t *alloc); + +/** + * @brief Allocate memory from multi memory blocks allocator group + * + * Just as for sys_mem_blocks_alloc(), allocates multiple blocks of + * memory. Takes an opaque configuration pointer passed to the choice + * function, which is used by integration code to choose an allocator. + * + * @param[in] group Multi memory blocks allocator structure. + * @param[in] cfg Opaque configuration parameter, + * as for sys_multi_mem_blocks_choice_fn_t + * @param[in] count Number of blocks to allocate + * @param[out] out_blocks Output array to be populated by pointers to + * the memory blocks. It must have at least + * @p count elements. + * @param[out] blk_size If not NULL, output the block size of + * the chosen allocator. + * + * @retval 0 Successful + * @retval -EINVAL Invalid argument supplied, or no allocator chosen. + * @retval -ENOMEM Not enough blocks for allocation. + */ +int sys_multi_mem_blocks_alloc(sys_multi_mem_blocks_t *group, + void *cfg, size_t count, + void **out_blocks, + size_t *blk_size); + +/** + * @brief Free memory allocated from multi memory blocks allocator group + * + * Free previous allocated memory blocks from sys_multi_mem_blocks_alloc(). + * + * Note that all blocks in @p in_blocks must be from the same allocator. + * + * @param[in] group Multi memory blocks allocator structure. + * @param[in] count Number of blocks to free. + * @param[in] in_blocks Input array of pointers to the memory blocks. + * + * @retval 0 Successful + * @retval -EINVAL Invalid argument supplied, or no allocator chosen. + * @retval -EFAULT Invalid pointer(s) supplied. + */ +int sys_multi_mem_blocks_free(sys_multi_mem_blocks_t *group, + size_t count, void **in_blocks); + +/** @} */ + + +} +# 37 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/util.h" 1 +/* + * Copyright (c) 2011-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Misc utilities + * + * Misc utilities usable by the kernel and application code. + */ +# 38 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/iterable_sections.h" 1 +/* + * Copyright (C) 2020, Intel Corporation + * Copyright (C) 2023, Nordic Semiconductor ASA + * SPDX-License-Identifier: Apache-2.0 + */ +# 39 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mpsc_lockfree.h" 1 +/* + * Copyright (c) 2010-2011 Dmitry Vyukov + * Copyright (c) 2023 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/stdint.h" 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ +# 12 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mpsc_lockfree.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdbool.h" 1 3 4 +/* Copyright (C) 1998-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.16 Boolean type and values + */ +# 13 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mpsc_lockfree.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/atomic.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/atomic.h" +/* + * Copyright (c) 1997-2015, Wind River Systems, Inc. + * Copyright (c) 2021 Intel Corporation + * Copyright (c) 2023 Nordic Semiconductor ASA + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 14 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mpsc_lockfree.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" 1 +/* + * Copyright (c) 2016, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * + * @brief Public kernel APIs. + */ +# 15 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mpsc_lockfree.h" 2 + + +extern "C" { + + +/** + * @brief Multiple Producer Single Consumer (MPSC) Lockfree Queue API + * @defgroup mpsc_lockfree MPSC Lockfree Queue API + * @ingroup datastructure_apis + * @{ + */ + +/** + * @file mpsc_lockfree.h + * + * @brief A wait-free intrusive multi producer single consumer (MPSC) queue using + * a singly linked list. Ordering is First-In-First-Out. + * + * Based on the well known and widely used wait-free MPSC queue described by + * Dmitry Vyukov with some slight changes to account for needs of an + * RTOS on a variety of archs. Both consumer and producer are wait free. No CAS + * loop or lock is needed. + * + * An MPSC queue is safe to produce or consume in an ISR with O(1) push/pop. + * + * @warning MPSC is *not* safe to consume in multiple execution contexts. + */ + +/* + * On single core systems atomics are unnecessary + * and cause a lot of unnecessary cache invalidation + * + * Using volatile to at least ensure memory is read/written + * by the compiler generated op codes is enough. + * + * On SMP atomics *must* be used to ensure the pointers + * are updated in the correct order. + */ +# 63 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mpsc_lockfree.h" +typedef struct mpsc_node *mpsc_ptr_t; +# 76 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mpsc_lockfree.h" +/** + * @brief Queue member + */ +struct mpsc_node { + mpsc_ptr_t next; +}; + +/** + * @brief MPSC Queue + */ +struct mpsc { + mpsc_ptr_t head; + struct mpsc_node *tail; + struct mpsc_node stub; +}; + +/** + * @brief Static initializer for a mpsc queue + * + * Since the queue is + * + * @param symbol name of the queue + */ +# 108 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mpsc_lockfree.h" +/** + * @brief Initialize queue + * + * @param q Queue to initialize or reset + */ +static inline void mpsc_init(struct mpsc *q) +{ + q->head = &q->stub; + q->tail = &q->stub; + q->stub.next = +# 117 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mpsc_lockfree.h" 3 4 +__null +# 117 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mpsc_lockfree.h" + ; +} + +/** + * @brief Push a node + * + * @param q Queue to push the node to + * @param n Node to push into the queue + */ +static inline __attribute__((always_inline)) void mpsc_push(struct mpsc *q, struct mpsc_node *n) +{ + struct mpsc_node *prev; + int key; + + n->next = +# 131 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mpsc_lockfree.h" 3 4 +__null +# 131 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mpsc_lockfree.h" + ; + + key = arch_irq_lock(); + prev = (struct mpsc_node *)({ mpsc_ptr_t tmp = q->head; q->head = n; tmp; }); + prev->next = n; + arch_irq_unlock(key); +} + +/** + * @brief Pop a node off of the list + * + * @retval NULL When no node is available + * @retval node When node is available + */ +static inline struct mpsc_node *mpsc_pop(struct mpsc *q) +{ + struct mpsc_node *head; + struct mpsc_node *tail = q->tail; + struct mpsc_node *next = (struct mpsc_node *)tail->next; + + /* Skip over the stub/sentinel */ + if (tail == &q->stub) { + if (next == +# 153 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mpsc_lockfree.h" 3 4 + __null +# 153 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mpsc_lockfree.h" + ) { + return +# 154 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mpsc_lockfree.h" 3 4 + __null +# 154 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mpsc_lockfree.h" + ; + } + + q->tail = next; + tail = next; + next = (struct mpsc_node *)next->next; + } + + /* If next is non-NULL then a valid node is found, return it */ + if (next != +# 163 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mpsc_lockfree.h" 3 4 + __null +# 163 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mpsc_lockfree.h" + ) { + q->tail = next; + return tail; + } + + head = (struct mpsc_node *)q->head; + + /* If next is NULL, and the tail != HEAD then the queue has pending + * updates that can't yet be accessed. + */ + if (tail != head) { + return +# 174 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mpsc_lockfree.h" 3 4 + __null +# 174 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mpsc_lockfree.h" + ; + } + + mpsc_push(q, &q->stub); + + next = (struct mpsc_node *)tail->next; + + if (next != +# 181 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mpsc_lockfree.h" 3 4 + __null +# 181 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mpsc_lockfree.h" + ) { + q->tail = next; + return tail; + } + + return +# 186 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mpsc_lockfree.h" 3 4 + __null +# 186 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/mpsc_lockfree.h" + ; +} + +/** + * @} + */ + + +} +# 40 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 2 + + +extern "C" { + + + +/** + * @brief RTIO + * @defgroup rtio RTIO + * @since 3.2 + * @version 0.1.0 + * @ingroup os_services + * @{ + */ + +/** + * @brief RTIO Predefined Priorities + * @defgroup rtio_sqe_prio RTIO Priorities + * @ingroup rtio + * @{ + */ + +/** + * @brief Low priority + */ + + +/** + * @brief Normal priority + */ + + +/** + * @brief High priority + */ + + +/** + * @} + */ + + +/** + * @brief RTIO SQE Flags + * @defgroup rtio_sqe_flags RTIO SQE Flags + * @ingroup rtio + * @{ + */ + +/** + * @brief The next request in the queue should wait on this one. + * + * Chained SQEs are individual units of work describing patterns of + * ordering and failure cascading. A chained SQE must be started only + * after the one before it. They are given to the iodevs one after another. + */ + + +/** + * @brief The next request in the queue is part of a transaction. + * + * Transactional SQEs are sequential parts of a unit of work. + * Only the first transactional SQE is submitted to an iodev, the + * remaining SQEs are never individually submitted but instead considered + * to be part of the transaction to the single iodev. The first sqe in the + * sequence holds the iodev that will be used and the last holds the userdata + * that will be returned in a single completion on failure/success. + */ + + + +/** + * @brief The buffer should be allocated by the RTIO mempool + * + * This flag can only exist if the CONFIG_RTIO_SYS_MEM_BLOCKS Kconfig was + * enabled and the RTIO context was created via the RTIO_DEFINE_WITH_MEMPOOL() + * macro. If set, the buffer associated with the entry was allocated by the + * internal memory pool and should be released as soon as it is no longer + * needed via a call to rtio_release_mempool(). + */ + + +/** + * @brief The SQE should not execute if possible + * + * If possible (not yet executed), the SQE should be canceled by flagging it as failed and returning + * -ECANCELED as the result. + */ + + +/** + * @brief The SQE should continue producing CQEs until canceled + * + * This flag must exist along @ref RTIO_SQE_MEMPOOL_BUFFER and signals that when a read is + * complete. It should be placed back in queue until canceled. + */ + + +/** + * @brief The SQE does not produce a CQE. + */ + + +/** + * @} + */ + +/** + * @brief RTIO CQE Flags + * @defgroup rtio_cqe_flags RTIO CQE Flags + * @ingroup rtio + * @{ + */ + +/** + * @brief The entry's buffer was allocated from the RTIO's mempool + * + * If this bit is set, the buffer was allocated from the memory pool and should be recycled as + * soon as the application is done with it. + */ + + + + +/** + * @brief Get the block index of a mempool flags + * + * @param flags The CQE flags value + * @return The block index portion of the flags field. + */ + + +/** + * @brief Get the block count of a mempool flags + * + * @param flags The CQE flags value + * @return The block count portion of the flags field. + */ + + +/** + * @brief Prepare CQE flags for a mempool read. + * + * @param blk_idx The mempool block index + * @param blk_cnt The mempool block count + * @return A shifted and masked value that can be added to the flags field with an OR operator. + */ + + + + +/** + * @} + */ + +/** + * @brief Equivalent to the I2C_MSG_STOP flag + */ + + +/** + * @brief Equivalent to the I2C_MSG_RESTART flag + */ + + +/** + * @brief Equivalent to the I2C_MSG_ADDR_10_BITS + */ + + +/** + * @brief Equivalent to the I3C_MSG_STOP flag + */ + + +/** + * @brief Equivalent to the I3C_MSG_RESTART flag + */ + + +/** + * @brief Equivalent to the I3C_MSG_HDR + */ + + +/** + * @brief Equivalent to the I3C_MSG_NBCH + */ + + +/** + * @brief I3C HDR Mode Mask + */ + + +/** + * @brief I3C HDR Mode Mask + */ + + + +/** + * @brief I3C HDR Mode Mask + */ + + + +/** + * @brief I3C HDR 7b Command Code + */ + + +/** + * @brief I3C HDR 7b Command Code + */ + + + +/** + * @brief I3C HDR 7b Command Code + */ + + + +/** @cond ignore */ +struct rtio; +struct rtio_cqe; +struct rtio_sqe; +struct rtio_sqe_pool; +struct rtio_cqe_pool; +struct rtio_iodev; +struct rtio_iodev_sqe; +/** @endcond */ + +/** + * @typedef rtio_callback_t + * @brief Callback signature for RTIO_OP_CALLBACK + * @param r RTIO context being used with the callback + * @param sqe Submission for the callback op + * @param arg0 Argument option as part of the sqe + */ +typedef void (*rtio_callback_t)(struct rtio *r, const struct rtio_sqe *sqe, void *arg0); + +/** + * @brief A submission queue event + */ +struct rtio_sqe { + uint8_t op; + + uint8_t prio; + + uint16_t flags; + + uint32_t iodev_flags; + + const struct rtio_iodev *iodev; + + /** + * User provided data which is returned upon operation completion. Could be a pointer or + * integer. + * + * If unique identification of completions is desired this should be + * unique as well. + */ + void *userdata; + + union { + + /** OP_TX */ + struct { + uint32_t buf_len; + const uint8_t *buf; + } tx; + + /** OP_RX */ + struct { + uint32_t buf_len; + uint8_t *buf; + } rx; + + /** OP_TINY_TX */ + struct { + uint8_t buf_len; + uint8_t buf[7]; + } tiny_tx; + + /** OP_CALLBACK */ + struct { + rtio_callback_t callback; + void *arg0; + } callback; + + /** OP_TXRX */ + struct { + uint32_t buf_len; + const uint8_t *tx_buf; + uint8_t *rx_buf; + } txrx; + + /** OP_I2C_CONFIGURE */ + uint32_t i2c_config; + + /** OP_I3C_CONFIGURE */ + struct { + /* enum i3c_config_type type; */ + int type; + void *config; + } i3c_config; + + /** OP_I3C_CCC */ + /* struct i3c_ccc_payload *ccc_payload; */ + void *ccc_payload; + }; +}; + +/** @cond ignore */ +/* Ensure the rtio_sqe never grows beyond a common cacheline size of 64 bytes */ +static_assert(sizeof(struct rtio_sqe) <= 64, "" ); +/** @endcond */ + +/** + * @brief A completion queue event + */ +struct rtio_cqe { + struct mpsc_node q; + + int32_t result; + void *userdata; + uint32_t flags; +}; + +struct rtio_sqe_pool { + struct mpsc free_q; + const uint16_t pool_size; + uint16_t pool_free; + struct rtio_iodev_sqe *pool; +}; + +struct rtio_cqe_pool { + struct mpsc free_q; + const uint16_t pool_size; + uint16_t pool_free; + struct rtio_cqe *pool; +}; + +/** + * @brief An RTIO context containing what can be viewed as a pair of queues. + * + * A queue for submissions (available and in queue to be produced) as well as a queue + * of completions (available and ready to be consumed). + * + * The rtio executor along with any objects implementing the rtio_iodev interface are + * the consumers of submissions and producers of completions. + * + * No work is started until rtio_submit() is called. + */ +struct rtio { +# 414 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + /* Total number of completions */ + atomic_t cq_count; + + /* Number of completions that were unable to be submitted with results + * due to the cq spsc being full + */ + atomic_t xcqcnt; + + /* Submission queue object pool with free list */ + struct rtio_sqe_pool *sqe_pool; + + /* Complete queue object pool with free list */ + struct rtio_cqe_pool *cqe_pool; + + + + + + + /* Submission queue */ + struct mpsc sq; + + /* Completion queue */ + struct mpsc cq; +}; + +/** The memory partition associated with all RTIO context information */ +extern struct k_mem_partition rtio_partition; + +/** + * @brief Get the mempool block size of the RTIO context + * + * @param[in] r The RTIO context + * @return The size of each block in the context's mempool + * @return 0 if the context doesn't have a mempool + */ +static inline size_t rtio_mempool_block_size(const struct rtio *r) +{ + + (void)(r); + return 0; + + + + + + +} + +/** + * @brief Compute the mempool block index for a given pointer + * + * @param[in] r RTIO context + * @param[in] ptr Memory pointer in the mempool + * @return Index of the mempool block associated with the pointer. Or UINT16_MAX if invalid. + */ +# 487 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" +/** + * @brief IO device submission queue entry + * + * May be cast safely to and from a rtio_sqe as they occupy the same memory provided by the pool + */ +struct rtio_iodev_sqe { + struct rtio_sqe sqe; + struct mpsc_node q; + struct rtio_iodev_sqe *next; + struct rtio *r; +}; + +/** + * @brief API that an RTIO IO device should implement + */ +struct rtio_iodev_api { + /** + * @brief Submit to the iodev an entry to work on + * + * This call should be short in duration and most likely + * either enqueue or kick off an entry with the hardware. + * + * @param iodev_sqe Submission queue entry + */ + void (*submit)(struct rtio_iodev_sqe *iodev_sqe); +}; + +/** + * @brief An IO device with a function table for submitting requests + */ +struct rtio_iodev { + /* Function pointer table */ + const struct rtio_iodev_api *api; + + /* Data associated with this iodev */ + void *data; +}; + +/** An operation that does nothing and will complete immediately */ + + +/** An operation that receives (reads) */ + + +/** An operation that transmits (writes) */ + + +/** An operation that transmits tiny writes by copying the data to write */ + + +/** An operation that calls a given function (callback) */ + + +/** An operation that transceives (reads and writes simultaneously) */ + + +/** An operation to recover I2C buses */ + + +/** An operation to configure I2C buses */ + + +/** An operation to recover I3C buses */ + + +/** An operation to configure I3C buses */ + + +/** An operation to sends I3C CCC */ + + +/** + * @brief Prepare a nop (no op) submission + */ +static inline void rtio_sqe_prep_nop(struct rtio_sqe *sqe, + const struct rtio_iodev *iodev, + void *userdata) +{ + memset(sqe, 0, sizeof(struct rtio_sqe)); + sqe->op = 0; + sqe->iodev = iodev; + sqe->userdata = userdata; +} + +/** + * @brief Prepare a read op submission + */ +static inline void rtio_sqe_prep_read(struct rtio_sqe *sqe, + const struct rtio_iodev *iodev, + int8_t prio, + uint8_t *buf, + uint32_t len, + void *userdata) +{ + memset(sqe, 0, sizeof(struct rtio_sqe)); + sqe->op = (0 +1); + sqe->prio = prio; + sqe->iodev = iodev; + sqe->rx.buf_len = len; + sqe->rx.buf = buf; + sqe->userdata = userdata; +} + +/** + * @brief Prepare a read op submission with context's mempool + * + * @see rtio_sqe_prep_read() + */ +static inline void rtio_sqe_prep_read_with_pool(struct rtio_sqe *sqe, + const struct rtio_iodev *iodev, int8_t prio, + void *userdata) +{ + rtio_sqe_prep_read(sqe, iodev, prio, +# 599 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + __null +# 599 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + , 0, userdata); + sqe->flags = (1UL << (2)); +} + +static inline void rtio_sqe_prep_read_multishot(struct rtio_sqe *sqe, + const struct rtio_iodev *iodev, int8_t prio, + void *userdata) +{ + rtio_sqe_prep_read_with_pool(sqe, iodev, prio, userdata); + sqe->flags |= (1UL << (4)); +} + +/** + * @brief Prepare a write op submission + */ +static inline void rtio_sqe_prep_write(struct rtio_sqe *sqe, + const struct rtio_iodev *iodev, + int8_t prio, + const uint8_t *buf, + uint32_t len, + void *userdata) +{ + memset(sqe, 0, sizeof(struct rtio_sqe)); + sqe->op = ((0 +1)+1); + sqe->prio = prio; + sqe->iodev = iodev; + sqe->tx.buf_len = len; + sqe->tx.buf = buf; + sqe->userdata = userdata; +} + +/** + * @brief Prepare a tiny write op submission + * + * Unlike the normal write operation where the source buffer must outlive the call + * the tiny write data in this case is copied to the sqe. It must be tiny to fit + * within the specified size of a rtio_sqe. + * + * This is useful in many scenarios with RTL logic where a write of the register to + * subsequently read must be done. + */ +static inline void rtio_sqe_prep_tiny_write(struct rtio_sqe *sqe, + const struct rtio_iodev *iodev, + int8_t prio, + const uint8_t *tiny_write_data, + uint8_t tiny_write_len, + void *userdata) +{ + { }; + + memset(sqe, 0, sizeof(struct rtio_sqe)); + sqe->op = (((0 +1)+1)+1); + sqe->prio = prio; + sqe->iodev = iodev; + sqe->tiny_tx.buf_len = tiny_write_len; + memcpy(sqe->tiny_tx.buf, tiny_write_data, tiny_write_len); + sqe->userdata = userdata; +} + +/** + * @brief Prepare a callback op submission + * + * A somewhat special operation in that it may only be done in kernel mode. + * + * Used where general purpose logic is required in a queue of io operations to do + * transforms or logic. + */ +static inline void rtio_sqe_prep_callback(struct rtio_sqe *sqe, + rtio_callback_t callback, + void *arg0, + void *userdata) +{ + memset(sqe, 0, sizeof(struct rtio_sqe)); + sqe->op = ((((0 +1)+1)+1)+1); + sqe->prio = 0; + sqe->iodev = +# 674 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + __null +# 674 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + ; + sqe->callback.callback = callback; + sqe->callback.arg0 = arg0; + sqe->userdata = userdata; +} + +/** + * @brief Prepare a callback op submission that does not create a CQE + * + * Similar to @ref rtio_sqe_prep_callback, but the @ref RTIO_SQE_NO_RESPONSE + * flag is set on the SQE to prevent the generation of a CQE upon completion. + * + * This can be useful when the callback is the last operation in a sequence + * whose job is to clean up all the previous CQE's. Without @ref RTIO_SQE_NO_RESPONSE + * the completion itself will result in a CQE that cannot be consumed in the callback. + */ +static inline void rtio_sqe_prep_callback_no_cqe(struct rtio_sqe *sqe, + rtio_callback_t callback, + void *arg0, + void *userdata) +{ + rtio_sqe_prep_callback(sqe, callback, arg0, userdata); + sqe->flags |= (1UL << (5)); +} + +/** + * @brief Prepare a transceive op submission + */ +static inline void rtio_sqe_prep_transceive(struct rtio_sqe *sqe, + const struct rtio_iodev *iodev, + int8_t prio, + const uint8_t *tx_buf, + uint8_t *rx_buf, + uint32_t buf_len, + void *userdata) +{ + memset(sqe, 0, sizeof(struct rtio_sqe)); + sqe->op = (((((0 +1)+1)+1)+1)+1); + sqe->prio = prio; + sqe->iodev = iodev; + sqe->txrx.buf_len = buf_len; + sqe->txrx.tx_buf = tx_buf; + sqe->txrx.rx_buf = rx_buf; + sqe->userdata = userdata; +} + +static inline struct rtio_iodev_sqe *rtio_sqe_pool_alloc(struct rtio_sqe_pool *pool) +{ + struct mpsc_node *node = mpsc_pop(&pool->free_q); + + if (node == +# 724 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + __null +# 724 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + ) { + return +# 725 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + __null +# 725 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + ; + } + + struct rtio_iodev_sqe *iodev_sqe = ({ ((struct rtio_iodev_sqe *)(((char *)(node)) - +# 728 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + __builtin_offsetof ( +# 728 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + struct rtio_iodev_sqe +# 728 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + , +# 728 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + q +# 728 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + ) +# 728 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + )); }); + + pool->pool_free--; + + return iodev_sqe; +} + +static inline void rtio_sqe_pool_free(struct rtio_sqe_pool *pool, struct rtio_iodev_sqe *iodev_sqe) +{ + mpsc_push(&pool->free_q, &iodev_sqe->q); + + pool->pool_free++; +} + +static inline struct rtio_cqe *rtio_cqe_pool_alloc(struct rtio_cqe_pool *pool) +{ + struct mpsc_node *node = mpsc_pop(&pool->free_q); + + if (node == +# 746 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + __null +# 746 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + ) { + return +# 747 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + __null +# 747 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + ; + } + + struct rtio_cqe *cqe = ({ ((struct rtio_cqe *)(((char *)(node)) - +# 750 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + __builtin_offsetof ( +# 750 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + struct rtio_cqe +# 750 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + , +# 750 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + q +# 750 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + ) +# 750 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + )); }); + + memset(cqe, 0, sizeof(struct rtio_cqe)); + + pool->pool_free--; + + return cqe; +} + +static inline void rtio_cqe_pool_free(struct rtio_cqe_pool *pool, struct rtio_cqe *cqe) +{ + mpsc_push(&pool->free_q, &cqe->q); + + pool->pool_free++; +} + +static inline int rtio_block_pool_alloc(struct rtio *r, size_t min_sz, + size_t max_sz, uint8_t **buf, uint32_t *buf_len) +{ + + (void)(r); + (void)(min_sz); + (void)(max_sz); + (void)(buf); + (void)(buf_len); + return - +# 775 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + 134 /* Not supported */ +# 775 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + ; +# 805 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" +} + +static inline void rtio_block_pool_free(struct rtio *r, void *buf, uint32_t buf_len) +{ + + (void)(r); + (void)(buf); + (void)(buf_len); + + + + + +} + +/* Do not try and reformat the macros */ +/* clang-format off */ + +/** + * @brief Statically define and initialize an RTIO IODev + * + * @param name Name of the iodev + * @param iodev_api Pointer to struct rtio_iodev_api + * @param iodev_data Data pointer + */ +# 855 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" +/** + * @brief Allocate to bss if available + * + * If CONFIG_USERSPACE is selected, allocate to the rtio_partition bss. Maps to: + * K_APP_BMEM(rtio_partition) static + * + * If CONFIG_USERSPACE is disabled, allocate as plain static: + * static + */ + + +/** + * @brief Allocate as initialized memory if available + * + * If CONFIG_USERSPACE is selected, allocate to the rtio_partition init. Maps to: + * K_APP_DMEM(rtio_partition) static + * + * If CONFIG_USERSPACE is disabled, allocate as plain static: + * static + */ +# 901 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" +/** + * @brief Statically define and initialize an RTIO context + * + * @param name Name of the RTIO + * @param sq_sz Size of the submission queue entry pool + * @param cq_sz Size of the completion queue entry pool + */ + + + + + + +/* clang-format on */ + +/** + * @brief Statically define and initialize an RTIO context + * + * @param name Name of the RTIO + * @param sq_sz Size of the submission queue, must be power of 2 + * @param cq_sz Size of the completion queue, must be power of 2 + * @param num_blks Number of blocks in the memory pool + * @param blk_size The number of bytes in each block + * @param balign The block alignment + */ + + + + + + +/* clang-format on */ + +/** + * @brief Count of acquirable submission queue events + * + * @param r RTIO context + * + * @return Count of acquirable submission queue events + */ +static inline uint32_t rtio_sqe_acquirable(struct rtio *r) +{ + return r->sqe_pool->pool_free; +} + +/** + * @brief Get the next sqe in the transaction + * + * @param iodev_sqe Submission queue entry + * + * @retval NULL if current sqe is last in transaction + * @retval struct rtio_sqe * if available + */ +static inline struct rtio_iodev_sqe *rtio_txn_next(const struct rtio_iodev_sqe *iodev_sqe) +{ + if (iodev_sqe->sqe.flags & (1UL << (1))) { + return iodev_sqe->next; + } else { + return +# 959 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + __null +# 959 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + ; + } +} + + +/** + * @brief Get the next sqe in the chain + * + * @param iodev_sqe Submission queue entry + * + * @retval NULL if current sqe is last in chain + * @retval struct rtio_sqe * if available + */ +static inline struct rtio_iodev_sqe *rtio_chain_next(const struct rtio_iodev_sqe *iodev_sqe) +{ + if (iodev_sqe->sqe.flags & (1UL << (0))) { + return iodev_sqe->next; + } else { + return +# 977 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + __null +# 977 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + ; + } +} + +/** + * @brief Get the next sqe in the chain or transaction + * + * @param iodev_sqe Submission queue entry + * + * @retval NULL if current sqe is last in chain + * @retval struct rtio_iodev_sqe * if available + */ +static inline struct rtio_iodev_sqe *rtio_iodev_sqe_next(const struct rtio_iodev_sqe *iodev_sqe) +{ + return iodev_sqe->next; +} + +/** + * @brief Acquire a single submission queue event if available + * + * @param r RTIO context + * + * @retval sqe A valid submission queue event acquired from the submission queue + * @retval NULL No subsmission queue event available + */ +static inline struct rtio_sqe *rtio_sqe_acquire(struct rtio *r) +{ + struct rtio_iodev_sqe *iodev_sqe = rtio_sqe_pool_alloc(r->sqe_pool); + + if (iodev_sqe == +# 1006 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + __null +# 1006 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + ) { + return +# 1007 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + __null +# 1007 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + ; + } + + mpsc_push(&r->sq, &iodev_sqe->q); + + return &iodev_sqe->sqe; +} + +/** + * @brief Drop all previously acquired sqe + * + * @param r RTIO context + */ +static inline void rtio_sqe_drop_all(struct rtio *r) +{ + struct rtio_iodev_sqe *iodev_sqe; + struct mpsc_node *node = mpsc_pop(&r->sq); + + while (node != +# 1025 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + __null +# 1025 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + ) { + iodev_sqe = ({ ((struct rtio_iodev_sqe *)(((char *)(node)) - +# 1026 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + __builtin_offsetof ( +# 1026 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + struct rtio_iodev_sqe +# 1026 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + , +# 1026 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + q +# 1026 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + ) +# 1026 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + )); }); + rtio_sqe_pool_free(r->sqe_pool, iodev_sqe); + node = mpsc_pop(&r->sq); + } +} + +/** + * @brief Acquire a complete queue event if available + */ +static inline struct rtio_cqe *rtio_cqe_acquire(struct rtio *r) +{ + struct rtio_cqe *cqe = rtio_cqe_pool_alloc(r->cqe_pool); + + if (cqe == +# 1039 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + __null +# 1039 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + ) { + return +# 1040 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + __null +# 1040 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + ; + } + + memset(cqe, 0, sizeof(struct rtio_cqe)); + + return cqe; +} + +/** + * @brief Produce a complete queue event if available + */ +static inline void rtio_cqe_produce(struct rtio *r, struct rtio_cqe *cqe) +{ + mpsc_push(&r->cq, &cqe->q); +} + +/** + * @brief Consume a single completion queue event if available + * + * If a completion queue event is returned rtio_cq_release(r) must be called + * at some point to release the cqe spot for the cqe producer. + * + * @param r RTIO context + * + * @retval cqe A valid completion queue event consumed from the completion queue + * @retval NULL No completion queue event available + */ +static inline struct rtio_cqe *rtio_cqe_consume(struct rtio *r) +{ + struct mpsc_node *node; + struct rtio_cqe *cqe = +# 1070 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + __null +# 1070 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + ; + + + + + + + + node = mpsc_pop(&r->cq); + if (node == +# 1079 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + __null +# 1079 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + ) { + return +# 1080 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + __null +# 1080 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + ; + } + cqe = ({ ((struct rtio_cqe *)(((char *)(node)) - +# 1082 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + __builtin_offsetof ( +# 1082 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + struct rtio_cqe +# 1082 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + , +# 1082 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + q +# 1082 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + ) +# 1082 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + )); }); + + return cqe; +} + +/** + * @brief Wait for and consume a single completion queue event + * + * If a completion queue event is returned rtio_cq_release(r) must be called + * at some point to release the cqe spot for the cqe producer. + * + * @param r RTIO context + * + * @retval cqe A valid completion queue event consumed from the completion queue + */ +static inline struct rtio_cqe *rtio_cqe_consume_block(struct rtio *r) +{ + struct mpsc_node *node; + struct rtio_cqe *cqe; + + + + + node = mpsc_pop(&r->cq); + while (node == +# 1106 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + __null +# 1106 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + ) { + ; + node = mpsc_pop(&r->cq); + } + cqe = ({ ((struct rtio_cqe *)(((char *)(node)) - +# 1110 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + __builtin_offsetof ( +# 1110 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + struct rtio_cqe +# 1110 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + , +# 1110 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + q +# 1110 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + ) +# 1110 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + )); }); + + return cqe; +} + +/** + * @brief Release consumed completion queue event + * + * @param r RTIO context + * @param cqe Completion queue entry + */ +static inline void rtio_cqe_release(struct rtio *r, struct rtio_cqe *cqe) +{ + rtio_cqe_pool_free(r->cqe_pool, cqe); +} + +/** + * @brief Compute the CQE flags from the rtio_iodev_sqe entry + * + * @param iodev_sqe The SQE entry in question. + * @return The value that should be set for the CQE's flags field. + */ +static inline uint32_t rtio_cqe_compute_flags(struct rtio_iodev_sqe *iodev_sqe) +{ + uint32_t flags = 0; +# 1151 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + (void)(iodev_sqe); + + + return flags; +} + +/** + * @brief Retrieve the mempool buffer that was allocated for the CQE. + * + * If the RTIO context contains a memory pool, and the SQE was created by calling + * rtio_sqe_read_with_pool(), this function can be used to retrieve the memory associated with the + * read. Once processing is done, it should be released by calling rtio_release_buffer(). + * + * @param[in] r RTIO context + * @param[in] cqe The CQE handling the event. + * @param[out] buff Pointer to the mempool buffer + * @param[out] buff_len Length of the allocated buffer + * @return 0 on success + * @return -EINVAL if the buffer wasn't allocated for this cqe + * @return -ENOTSUP if memory blocks are disabled + */ +static inline int rtio_cqe_get_mempool_buffer(const struct rtio *r, struct rtio_cqe *cqe, + uint8_t **buff, uint32_t *buff_len); + +static inline int z_impl_rtio_cqe_get_mempool_buffer(const struct rtio *r, struct rtio_cqe *cqe, + uint8_t **buff, uint32_t *buff_len) +{ +# 1199 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + (void)(r); + (void)(cqe); + (void)(buff); + (void)(buff_len); + + return - +# 1204 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + 134 /* Not supported */ +# 1204 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + ; + +} + +void rtio_executor_submit(struct rtio *r); +void rtio_executor_ok(struct rtio_iodev_sqe *iodev_sqe, int result); +void rtio_executor_err(struct rtio_iodev_sqe *iodev_sqe, int result); + +/** + * @brief Inform the executor of a submission completion with success + * + * This may start the next asynchronous request if one is available. + * + * @param iodev_sqe IODev Submission that has succeeded + * @param result Result of the request + */ +static inline void rtio_iodev_sqe_ok(struct rtio_iodev_sqe *iodev_sqe, int result) +{ + rtio_executor_ok(iodev_sqe, result); +} + +/** + * @brief Inform the executor of a submissions completion with error + * + * This SHALL fail the remaining submissions in the chain. + * + * @param iodev_sqe Submission that has failed + * @param result Result of the request + */ +static inline void rtio_iodev_sqe_err(struct rtio_iodev_sqe *iodev_sqe, int result) +{ + rtio_executor_err(iodev_sqe, result); +} + +/** + * Submit a completion queue event with a given result and userdata + * + * Called by the executor to produce a completion queue event, no inherent + * locking is performed and this is not safe to do from multiple callers. + * + * @param r RTIO context + * @param result Integer result code (could be -errno) + * @param userdata Userdata to pass along to completion + * @param flags Flags to use for the CEQ see RTIO_CQE_FLAG_* + */ +static inline void rtio_cqe_submit(struct rtio *r, int result, void *userdata, uint32_t flags) +{ + struct rtio_cqe *cqe = rtio_cqe_acquire(r); + + if (cqe == +# 1253 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + __null +# 1253 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + ) { + atomic_inc(&r->xcqcnt); + } else { + cqe->result = result; + cqe->userdata = userdata; + cqe->flags = flags; + rtio_cqe_produce(r, cqe); + } + + /* atomic_t isn't guaranteed to wrap correctly as it could be signed, so + * we must resort to a cas loop. + */ + atomic_t val, new_val; + + do { + val = atomic_get(&r->cq_count); + new_val = (atomic_t)((uintptr_t)val + 1); + } while (!atomic_cas(&r->cq_count, val, new_val)); +# 1283 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" +} + + + +/** + * @brief Get the buffer associate with the RX submission + * + * @param[in] iodev_sqe The submission to probe + * @param[in] min_buf_len The minimum number of bytes needed for the operation + * @param[in] max_buf_len The maximum number of bytes needed for the operation + * @param[out] buf Where to store the pointer to the buffer + * @param[out] buf_len Where to store the size of the buffer + * + * @return 0 if @p buf and @p buf_len were successfully filled + * @return -ENOMEM Not enough memory for @p min_buf_len + */ +static inline int rtio_sqe_rx_buf(const struct rtio_iodev_sqe *iodev_sqe, uint32_t min_buf_len, + uint32_t max_buf_len, uint8_t **buf, uint32_t *buf_len) +{ + struct rtio_sqe *sqe = (struct rtio_sqe *)&iodev_sqe->sqe; +# 1327 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + (void)(max_buf_len); + + + if (sqe->rx.buf_len < min_buf_len) { + return - +# 1331 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + 12 /* Not enough space */ +# 1331 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + ; + } + + *buf = sqe->rx.buf; + *buf_len = sqe->rx.buf_len; + return 0; +} + +/** + * @brief Release memory that was allocated by the RTIO's memory pool + * + * If the RTIO context was created by a call to RTIO_DEFINE_WITH_MEMPOOL(), then the cqe data might + * contain a buffer that's owned by the RTIO context. In those cases (if the read request was + * configured via rtio_sqe_read_with_pool()) the buffer must be returned back to the pool. + * + * Call this function when processing is complete. This function will validate that the memory + * actually belongs to the RTIO context and will ignore invalid arguments. + * + * @param r RTIO context + * @param buff Pointer to the buffer to be released. + * @param buff_len Number of bytes to free (will be rounded up to nearest memory block). + */ +static inline void rtio_release_buffer(struct rtio *r, void *buff, uint32_t buff_len); + +static inline void z_impl_rtio_release_buffer(struct rtio *r, void *buff, uint32_t buff_len) +{ + + + + + + + + (void)(r); + (void)(buff); + (void)(buff_len); + +} + +/** + * Grant access to an RTIO context to a user thread + */ +static inline void rtio_access_grant(struct rtio *r, struct k_thread *t) +{ + k_object_access_grant(r, t); +# 1384 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" +} + +/** + * @brief Attempt to cancel an SQE + * + * If possible (not currently executing), cancel an SQE and generate a failure with -ECANCELED + * result. + * + * @param[in] sqe The SQE to cancel + * @return 0 if the SQE was flagged for cancellation + * @return <0 on error + */ +static inline int rtio_sqe_cancel(struct rtio_sqe *sqe); + +static inline int z_impl_rtio_sqe_cancel(struct rtio_sqe *sqe) +{ + struct rtio_iodev_sqe *iodev_sqe = ({ ((struct rtio_iodev_sqe *)(((char *)(sqe)) - +# 1400 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + __builtin_offsetof ( +# 1400 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + struct rtio_iodev_sqe +# 1400 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + , +# 1400 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + sqe +# 1400 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + ) +# 1400 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + )); }); + + do { + iodev_sqe->sqe.flags |= (1UL << (3)); + iodev_sqe = rtio_iodev_sqe_next(iodev_sqe); + } while (iodev_sqe != +# 1405 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + __null +# 1405 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + ); + + return 0; +} + +/** + * @brief Copy an array of SQEs into the queue and get resulting handles back + * + * Copies one or more SQEs into the RTIO context and optionally returns their generated SQE handles. + * Handles can be used to cancel events via the rtio_sqe_cancel() call. + * + * @param[in] r RTIO context + * @param[in] sqes Pointer to an array of SQEs + * @param[out] handle Optional pointer to @ref rtio_sqe pointer to store the handle of the + * first generated SQE. Use NULL to ignore. + * @param[in] sqe_count Count of sqes in array + * + * @retval 0 success + * @retval -ENOMEM not enough room in the queue + */ +static inline int rtio_sqe_copy_in_get_handles(struct rtio *r, const struct rtio_sqe *sqes, + struct rtio_sqe **handle, size_t sqe_count); + +static inline int z_impl_rtio_sqe_copy_in_get_handles(struct rtio *r, const struct rtio_sqe *sqes, + struct rtio_sqe **handle, + size_t sqe_count) +{ + struct rtio_sqe *sqe; + uint32_t acquirable = rtio_sqe_acquirable(r); + + if (acquirable < sqe_count) { + return - +# 1436 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + 12 /* Not enough space */ +# 1436 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + ; + } + + for (unsigned long i = 0; i < sqe_count; i++) { + sqe = rtio_sqe_acquire(r); + { }; + if (handle != +# 1442 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + __null +# 1442 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + && i == 0) { + *handle = sqe; + } + *sqe = sqes[i]; + } + + return 0; +} + +/** + * @brief Copy an array of SQEs into the queue + * + * Useful if a batch of submissions is stored in ROM or + * RTIO is used from user mode where a copy must be made. + * + * Partial copying is not done as chained SQEs need to be submitted + * as a whole set. + * + * @param r RTIO context + * @param sqes Pointer to an array of SQEs + * @param sqe_count Count of sqes in array + * + * @retval 0 success + * @retval -ENOMEM not enough room in the queue + */ +static inline int rtio_sqe_copy_in(struct rtio *r, const struct rtio_sqe *sqes, size_t sqe_count) +{ + return rtio_sqe_copy_in_get_handles(r, sqes, +# 1469 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + __null +# 1469 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + , sqe_count); +} + +/** + * @brief Copy an array of CQEs from the queue + * + * Copies from the RTIO context and its queue completion queue + * events, waiting for the given time period to gather the number + * of completions requested. + * + * @param r RTIO context + * @param cqes Pointer to an array of SQEs + * @param cqe_count Count of sqes in array + * @param timeout Timeout to wait for each completion event. Total wait time is + * potentially timeout*cqe_count at maximum. + * + * @retval copy_count Count of copied CQEs (0 to cqe_count) + */ +static inline int rtio_cqe_copy_out(struct rtio *r, + struct rtio_cqe *cqes, + size_t cqe_count, + k_timeout_t timeout); +static inline int z_impl_rtio_cqe_copy_out(struct rtio *r, + struct rtio_cqe *cqes, + size_t cqe_count, + k_timeout_t timeout) +{ + size_t copied = 0; + struct rtio_cqe *cqe; + k_timepoint_t end = sys_timepoint_calc(timeout); + + do { + cqe = ((timeout).ticks == (((k_timeout_t) { (((k_ticks_t) -1)) })).ticks) ? rtio_cqe_consume_block(r) + : rtio_cqe_consume(r); + if (cqe == +# 1503 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 3 4 + __null +# 1503 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" + ) { + ; + continue; + } + cqes[copied++] = *cqe; + rtio_cqe_release(r, cqe); + } while (copied < cqe_count && !sys_timepoint_expired(end)); + + return copied; +} + +/** + * @brief Submit I/O requests to the underlying executor + * + * Submits the queue of submission queue events to the executor. + * The executor will do the work of managing tasks representing each + * submission chain, freeing submission queue events when done, and + * producing completion queue events as submissions are completed. + * + * @warning It is undefined behavior to have re-entrant calls to submit + * + * @param r RTIO context + * @param wait_count Number of submissions to wait for completion of. + * + * @retval 0 On success + */ +static inline int rtio_submit(struct rtio *r, uint32_t wait_count); +# 1555 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" +static inline int z_impl_rtio_submit(struct rtio *r, uint32_t wait_count) +{ + + int res = 0; + uintptr_t cq_count = (uintptr_t)atomic_get(&r->cq_count); + uintptr_t cq_complete_count = cq_count + wait_count; + bool wraps = cq_complete_count < cq_count; + + rtio_executor_submit(r); + + if (wraps) { + while ((uintptr_t)atomic_get(&r->cq_count) >= cq_count) { + ; + k_yield(); + } + } + + while ((uintptr_t)atomic_get(&r->cq_count) < cq_complete_count) { + ; + k_yield(); + } + + return res; +} + + +/** + * @} + */ + + +} + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/rtio.h" 1 +/* auto-generated by gen_syscalls.py, don't edit */ + + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/tracing/tracing_syscall.h" 1 +/* + * Copyright (c) 2021 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 8 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/rtio.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdarg.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdarg.h" 3 4 +/* Copyright (C) 1989-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.15 Variable arguments + */ +# 12 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/rtio.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscall_list.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscall_list.h" +/* auto-generated by gen_syscalls.py, don't edit */ +# 14 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/rtio.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/syscall.h" 1 +/* + * Copyright (c) 2017, Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 15 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/rtio.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/linker/sections.h" 1 +/* + * Copyright (c) 2013-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Definitions of various linker Sections. + * + * Linker Section declarations used by linker script, C files and Assembly + * files. + */ +# 17 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/rtio.h" 2 + + + +extern "C" { + + +extern int z_impl_rtio_cqe_get_mempool_buffer(const struct rtio * r, struct rtio_cqe * cqe, uint8_t ** buff, uint32_t * buff_len); + + +static inline int rtio_cqe_get_mempool_buffer(const struct rtio * r, struct rtio_cqe * cqe, uint8_t ** buff, uint32_t * buff_len) +{ +# 37 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/rtio.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_rtio_cqe_get_mempool_buffer(r, cqe, buff, buff_len); +} +# 49 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/rtio.h" +extern void z_impl_rtio_release_buffer(struct rtio * r, void * buff, uint32_t buff_len); + + +static inline void rtio_release_buffer(struct rtio * r, void * buff, uint32_t buff_len) +{ +# 63 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/rtio.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + z_impl_rtio_release_buffer(r, buff, buff_len); +} +# 75 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/rtio.h" +extern int z_impl_rtio_sqe_cancel(struct rtio_sqe * sqe); + + +static inline int rtio_sqe_cancel(struct rtio_sqe * sqe) +{ + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_rtio_sqe_cancel(sqe); +} +# 98 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/rtio.h" +extern int z_impl_rtio_sqe_copy_in_get_handles(struct rtio * r, const struct rtio_sqe * sqes, struct rtio_sqe ** handle, size_t sqe_count); + + +static inline int rtio_sqe_copy_in_get_handles(struct rtio * r, const struct rtio_sqe * sqes, struct rtio_sqe ** handle, size_t sqe_count) +{ +# 112 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/rtio.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_rtio_sqe_copy_in_get_handles(r, sqes, handle, sqe_count); +} +# 124 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/rtio.h" +extern int z_impl_rtio_cqe_copy_out(struct rtio * r, struct rtio_cqe * cqes, size_t cqe_count, k_timeout_t timeout); + + +static inline int rtio_cqe_copy_out(struct rtio * r, struct rtio_cqe * cqes, size_t cqe_count, k_timeout_t timeout) +{ +# 138 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/rtio.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_rtio_cqe_copy_out(r, cqes, cqe_count, timeout); +} +# 150 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/rtio.h" +extern int z_impl_rtio_submit(struct rtio * r, uint32_t wait_count); + + +static inline int rtio_submit(struct rtio * r, uint32_t wait_count) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_rtio_submit(r, wait_count); +} +# 175 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/rtio.h" +} +# 1590 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/rtio/rtio.h" 2 +# 31 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/i2c.h" 2 + + +extern "C" { + + +/* + * The following #defines are used to configure the I2C controller. + */ + +/** I2C Standard Speed: 100 kHz */ + + +/** I2C Fast Speed: 400 kHz */ + + +/** I2C Fast Plus Speed: 1 MHz */ + + +/** I2C High Speed: 3.4 MHz */ + + +/** I2C Ultra Fast Speed: 5 MHz */ + + +/** Device Tree specified speed */ +# 65 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/i2c.h" +/** Use 10-bit addressing. DEPRECATED - Use I2C_MSG_ADDR_10_BITS instead. */ + + +/** Peripheral to act as Controller. */ + + +/** + * @brief Complete I2C DT information + * + * @param bus is the I2C bus + * @param addr is the target address + */ +struct i2c_dt_spec { + const struct device *bus; + uint16_t addr; +}; + +/** + * @brief Structure initializer for i2c_dt_spec from devicetree (on I3C bus) + * + * This helper macro expands to a static initializer for a struct + * i2c_dt_spec by reading the relevant bus and address data from + * the devicetree. + * + * @param node_id Devicetree node identifier for the I2C device whose + * struct i2c_dt_spec to create an initializer for + */ + + + + +/** + * @brief Structure initializer for i2c_dt_spec from devicetree (on I2C bus) + * + * This helper macro expands to a static initializer for a struct + * i2c_dt_spec by reading the relevant bus and address data from + * the devicetree. + * + * @param node_id Devicetree node identifier for the I2C device whose + * struct i2c_dt_spec to create an initializer for + */ + + + + +/** + * @brief Structure initializer for i2c_dt_spec from devicetree + * + * This helper macro expands to a static initializer for a struct + * i2c_dt_spec by reading the relevant bus and address data from + * the devicetree. + * + * @param node_id Devicetree node identifier for the I2C device whose + * struct i2c_dt_spec to create an initializer for + */ + + + + + + + +/** + * @brief Structure initializer for i2c_dt_spec from devicetree instance + * + * This is equivalent to + * I2C_DT_SPEC_GET(DT_DRV_INST(inst)). + * + * @param inst Devicetree instance number + */ + + + + +/* + * I2C_MSG_* are I2C Message flags. + */ + +/** Write message to I2C bus. */ + + +/** Read message from I2C bus. */ + + +/** @cond INTERNAL_HIDDEN */ + +/** @endcond */ + +/** Send STOP after this message. */ + + +/** RESTART I2C transaction for this message. + * + * @note Not all I2C drivers have or require explicit support for this + * feature. Some drivers require this be present on a read message + * that follows a write, or vice-versa. Some drivers will merge + * adjacent fragments into a single transaction using this flag; some + * will not. */ + + +/** Use 10-bit addressing for this message. + * + * @note Not all SoC I2C implementations support this feature. */ + + +/** + * @brief One I2C Message. + * + * This defines one I2C message to transact on the I2C bus. + * + * @note Some of the configurations supported by this API may not be + * supported by specific SoC I2C hardware implementations, in + * particular features related to bus transactions intended to read or + * write data from different buffers within a single transaction. + * Invocations of i2c_transfer() may not indicate an error when an + * unsupported configuration is encountered. In some cases drivers + * will generate separate transactions for each message fragment, with + * or without presence of @ref I2C_MSG_RESTART in #flags. + */ +struct i2c_msg { + /** Data buffer in bytes */ + uint8_t *buf; + + /** Length of buffer in bytes */ + uint32_t len; + + /** Flags for this message */ + uint8_t flags; +}; + +/** + * @brief I2C callback for asynchronous transfer requests + * + * @param dev I2C device which is notifying of transfer completion or error + * @param result Result code of the transfer request. 0 is success, -errno for failure. + * @param data Transfer requester supplied data which is passed along to the callback. + */ +typedef void (*i2c_callback_t)(const struct device *dev, int result, void *data); + +/** + * @cond INTERNAL_HIDDEN + * + * These are for internal use only, so skip these in + * public documentation. + */ +struct i2c_target_config; + +typedef int (*i2c_api_configure_t)(const struct device *dev, + uint32_t dev_config); +typedef int (*i2c_api_get_config_t)(const struct device *dev, + uint32_t *dev_config); +typedef int (*i2c_api_full_io_t)(const struct device *dev, + struct i2c_msg *msgs, + uint8_t num_msgs, + uint16_t addr); +typedef int (*i2c_api_target_register_t)(const struct device *dev, + struct i2c_target_config *cfg); +typedef int (*i2c_api_target_unregister_t)(const struct device *dev, + struct i2c_target_config *cfg); +# 242 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/i2c.h" +typedef int (*i2c_api_recover_bus_t)(const struct device *dev); + + struct i2c_driver_api { + i2c_api_configure_t configure; + i2c_api_get_config_t get_config; + i2c_api_full_io_t transfer; + i2c_api_target_register_t target_register; + i2c_api_target_unregister_t target_unregister; + + + + + + + i2c_api_recover_bus_t recover_bus; +}; + +typedef int (*i2c_target_api_register_t)(const struct device *dev); +typedef int (*i2c_target_api_unregister_t)(const struct device *dev); + + struct i2c_target_driver_api { + i2c_target_api_register_t driver_register; + i2c_target_api_unregister_t driver_unregister; +}; + +/** + * @endcond + */ + +/** Target device responds to 10-bit addressing. */ + + +/** @brief Function called when a write to the device is initiated. + * + * This function is invoked by the controller when the bus completes a + * start condition for a write operation to the address associated + * with a particular device. + * + * A success return shall cause the controller to ACK the next byte + * received. An error return shall cause the controller to NACK the + * next byte received. + * + * @param config the configuration structure associated with the + * device to which the operation is addressed. + * + * @return 0 if the write is accepted, or a negative error code. + */ +typedef int (*i2c_target_write_requested_cb_t)( + struct i2c_target_config *config); + +/** @brief Function called when a write to the device is continued. + * + * This function is invoked by the controller when it completes + * reception of a byte of data in an ongoing write operation to the + * device. + * + * A success return shall cause the controller to ACK the next byte + * received. An error return shall cause the controller to NACK the + * next byte received. + * + * @param config the configuration structure associated with the + * device to which the operation is addressed. + * + * @param val the byte received by the controller. + * + * @return 0 if more data can be accepted, or a negative error + * code. + */ +typedef int (*i2c_target_write_received_cb_t)( + struct i2c_target_config *config, uint8_t val); + +/** @brief Function called when a read from the device is initiated. + * + * This function is invoked by the controller when the bus completes a + * start condition for a read operation from the address associated + * with a particular device. + * + * The value returned in @p *val will be transmitted. A success + * return shall cause the controller to react to additional read + * operations. An error return shall cause the controller to ignore + * bus operations until a new start condition is received. + * + * @param config the configuration structure associated with the + * device to which the operation is addressed. + * + * @param val pointer to storage for the first byte of data to return + * for the read request. + * + * @return 0 if more data can be requested, or a negative error code. + */ +typedef int (*i2c_target_read_requested_cb_t)( + struct i2c_target_config *config, uint8_t *val); + +/** @brief Function called when a read from the device is continued. + * + * This function is invoked by the controller when the bus is ready to + * provide additional data for a read operation from the address + * associated with the device device. + * + * The value returned in @p *val will be transmitted. A success + * return shall cause the controller to react to additional read + * operations. An error return shall cause the controller to ignore + * bus operations until a new start condition is received. + * + * @param config the configuration structure associated with the + * device to which the operation is addressed. + * + * @param val pointer to storage for the next byte of data to return + * for the read request. + * + * @return 0 if data has been provided, or a negative error code. + */ +typedef int (*i2c_target_read_processed_cb_t)( + struct i2c_target_config *config, uint8_t *val); +# 400 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/i2c.h" +/** @brief Function called when a stop condition is observed after a + * start condition addressed to a particular device. + * + * This function is invoked by the controller when the bus is ready to + * provide additional data for a read operation from the address + * associated with the device device. After the function returns the + * controller shall enter a state where it is ready to react to new + * start conditions. + * + * @param config the configuration structure associated with the + * device to which the operation is addressed. + * + * @return Ignored. + */ +typedef int (*i2c_target_stop_cb_t)(struct i2c_target_config *config); + +/** @brief Structure providing callbacks to be implemented for devices + * that supports the I2C target API. + * + * This structure may be shared by multiple devices that implement the + * same API at different addresses on the bus. + */ +struct i2c_target_callbacks { + i2c_target_write_requested_cb_t write_requested; + i2c_target_read_requested_cb_t read_requested; + i2c_target_write_received_cb_t write_received; + i2c_target_read_processed_cb_t read_processed; + + + + + i2c_target_stop_cb_t stop; +}; + +/** @brief Structure describing a device that supports the I2C + * target API. + * + * Instances of this are passed to the i2c_target_register() and + * i2c_target_unregister() functions to indicate addition and removal + * of a target device, respective. + * + * Fields other than @c node must be initialized by the module that + * implements the device behavior prior to passing the object + * reference to i2c_target_register(). + */ +struct i2c_target_config { + /** Private, do not modify */ + sys_snode_t node; + + /** Flags for the target device defined by I2C_TARGET_FLAGS_* constants */ + uint8_t flags; + + /** Address for this target device */ + uint16_t address; + + /** Callback functions */ + const struct i2c_target_callbacks *callbacks; +}; + +/** + * @brief Validate that I2C bus is ready. + * + * @param spec I2C specification from devicetree + * + * @retval true if the I2C bus is ready for use. + * @retval false if the I2C bus is not ready for use. + */ +static inline bool i2c_is_ready_dt(const struct i2c_dt_spec *spec) +{ + /* Validate bus is ready */ + return device_is_ready(spec->bus); +} + +/** + * @brief Check if the current message is a read operation + * + * @param msg The message to check + * @return true if the I2C message is a read operation + * @return false if the I2C message is a write operation + */ +static inline bool i2c_is_read_op(const struct i2c_msg *msg) +{ + return (msg->flags & (1UL << (0))) == (1UL << (0)); +} + +/** + * @brief Check if the current message includes a stop. + * + * @param msg The message to check + * @return true if the I2C message includes a stop + * @return false if the I2C message includes a stop + */ +static inline bool i2c_is_stop_op(const struct i2c_msg *msg) +{ + return (msg->flags & (1UL << (1))) == (1UL << (1)); +} + +/** + * @brief Dump out an I2C message + * + * Dumps out a list of I2C messages. For any that are writes (W), the data is + * displayed in hex. Setting dump_read will dump the data for read messages too, + * which only makes sense when called after the messages have been processed. + * + * It looks something like this (with name "testing"): + * + * @code + * D: I2C msg: testing, addr=56 + * D: W len=01: 06 + * D: W len=0e: + * D: contents: + * D: 00 01 02 03 04 05 06 07 |........ + * D: 08 09 0a 0b 0c 0d |...... + * D: W len=01: 0f + * D: R len=01: 6c + * @endcode + * + * @param dev Target for the messages being sent. Its name will be printed in the log. + * @param msgs Array of messages to dump. + * @param num_msgs Number of messages to dump. + * @param addr Address of the I2C target device. + * @param dump_read Dump data from I2C reads, otherwise only writes have data dumped. + */ +void i2c_dump_msgs_rw(const struct device *dev, const struct i2c_msg *msgs, uint8_t num_msgs, + uint16_t addr, bool dump_read); + +/** + * @brief Dump out an I2C message, before it is executed. + * + * This is equivalent to: + * + * i2c_dump_msgs_rw(dev, msgs, num_msgs, addr, false); + * + * The read messages' data isn't dumped. + * + * @param dev Target for the messages being sent. Its name will be printed in the log. + * @param msgs Array of messages to dump. + * @param num_msgs Number of messages to dump. + * @param addr Address of the I2C target device. + */ +static inline void i2c_dump_msgs(const struct device *dev, const struct i2c_msg *msgs, + uint8_t num_msgs, uint16_t addr) +{ + i2c_dump_msgs_rw(dev, msgs, num_msgs, addr, false); +} +# 678 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/i2c.h" +static inline void i2c_xfer_stats(const struct device *dev, struct i2c_msg *msgs, + uint8_t num_msgs) +{ + (void)(dev); + (void)(msgs); + (void)(num_msgs); +} +# 693 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/i2c.h" +/** + * @brief Like I2C_DEVICE_DT_DEFINE() for an instance of a DT_DRV_COMPAT compatible + * + * @param inst instance number. This is replaced by + * DT_DRV_COMPAT(inst) in the call to I2C_DEVICE_DT_DEFINE(). + * + * @param ... other parameters as expected by I2C_DEVICE_DT_DEFINE(). + */ + + + + +/** + * @brief Configure operation of a host controller. + * + * @param dev Pointer to the device structure for the driver instance. + * @param dev_config Bit-packed 32-bit value to the device runtime configuration + * for the I2C controller. + * + * @retval 0 If successful. + * @retval -EIO General input / output error, failed to configure device. + */ +static inline int i2c_configure(const struct device *dev, uint32_t dev_config); + +static inline int z_impl_i2c_configure(const struct device *dev, + uint32_t dev_config) +{ + const struct i2c_driver_api *api = + (const struct i2c_driver_api *)dev->api; + + return api->configure(dev, dev_config); +} + +/** + * @brief Get configuration of a host controller. + * + * This routine provides a way to get current configuration. It is allowed to + * call the function before i2c_configure, because some I2C ports can be + * configured during init process. However, if the I2C port is not configured, + * i2c_get_config returns an error. + * + * i2c_get_config can return cached config or probe hardware, but it has to be + * up to date with current configuration. + * + * @param dev Pointer to the device structure for the driver instance. + * @param dev_config Pointer to return bit-packed 32-bit value of + * the I2C controller configuration. + * + * @retval 0 If successful. + * @retval -EIO General input / output error. + * @retval -ERANGE Configured I2C frequency is invalid. + * @retval -ENOSYS If get config is not implemented + */ +static inline int i2c_get_config(const struct device *dev, uint32_t *dev_config); + +static inline int z_impl_i2c_get_config(const struct device *dev, uint32_t *dev_config) +{ + const struct i2c_driver_api *api = (const struct i2c_driver_api *)dev->api; + + if (api->get_config == +# 752 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/i2c.h" 3 4 + __null +# 752 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/i2c.h" + ) { + return - +# 753 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/i2c.h" 3 4 + 88 /* Function not implemented */ +# 753 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/i2c.h" + ; + } + + return api->get_config(dev, dev_config); +} + +/** + * @brief Perform data transfer to another I2C device in controller mode. + * + * This routine provides a generic interface to perform data transfer + * to another I2C device synchronously. Use i2c_read()/i2c_write() + * for simple read or write. + * + * The array of message @a msgs must not be NULL. The number of + * message @a num_msgs may be zero,in which case no transfer occurs. + * + * @note Not all scatter/gather transactions can be supported by all + * drivers. As an example, a gather write (multiple consecutive + * `i2c_msg` buffers all configured for `I2C_MSG_WRITE`) may be packed + * into a single transaction by some drivers, but others may emit each + * fragment as a distinct write transaction, which will not produce + * the same behavior. See the documentation of `struct i2c_msg` for + * limitations on support for multi-message bus transactions. + * + * @note The last message in the scatter/gather transaction implies a STOP + * whether or not it is explicitly set. This ensures the bus is in a good + * state for the next transaction which may be from a different call context. + * + * @param dev Pointer to the device structure for an I2C controller + * driver configured in controller mode. + * @param msgs Array of messages to transfer. + * @param num_msgs Number of messages to transfer. + * @param addr Address of the I2C target device. + * + * @retval 0 If successful. + * @retval -EIO General input / output error. + */ +static inline int i2c_transfer(const struct device *dev, + struct i2c_msg *msgs, uint8_t num_msgs, + uint16_t addr); + +static inline int z_impl_i2c_transfer(const struct device *dev, + struct i2c_msg *msgs, uint8_t num_msgs, + uint16_t addr) +{ + const struct i2c_driver_api *api = + (const struct i2c_driver_api *)dev->api; + + if (!num_msgs) { + return 0; + } + + if (!0) { + msgs[num_msgs - 1].flags |= (1UL << (1)); + } + + int res = api->transfer(dev, msgs, num_msgs, addr); + + i2c_xfer_stats(dev, msgs, num_msgs); + + if (0) { + i2c_dump_msgs_rw(dev, msgs, num_msgs, addr, true); + } + + return res; +} +# 1127 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/i2c.h" +/** + * @brief Perform data transfer to another I2C device in controller mode. + * + * This is equivalent to: + * + * i2c_transfer(spec->bus, msgs, num_msgs, spec->addr); + * + * @param spec I2C specification from devicetree. + * @param msgs Array of messages to transfer. + * @param num_msgs Number of messages to transfer. + * + * @return a value from i2c_transfer() + */ +static inline int i2c_transfer_dt(const struct i2c_dt_spec *spec, + struct i2c_msg *msgs, uint8_t num_msgs) +{ + return i2c_transfer(spec->bus, msgs, num_msgs, spec->addr); +} + +/** + * @brief Recover the I2C bus + * + * Attempt to recover the I2C bus. + * + * @param dev Pointer to the device structure for an I2C controller + * driver configured in controller mode. + * @retval 0 If successful + * @retval -EBUSY If bus is not clear after recovery attempt. + * @retval -EIO General input / output error. + * @retval -ENOSYS If bus recovery is not implemented + */ +static inline int i2c_recover_bus(const struct device *dev); + +static inline int z_impl_i2c_recover_bus(const struct device *dev) +{ + const struct i2c_driver_api *api = + (const struct i2c_driver_api *)dev->api; + + if (api->recover_bus == +# 1165 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/i2c.h" 3 4 + __null +# 1165 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/i2c.h" + ) { + return - +# 1166 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/i2c.h" 3 4 + 88 /* Function not implemented */ +# 1166 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/i2c.h" + ; + } + + return api->recover_bus(dev); +} + +/** + * @brief Registers the provided config as Target device of a controller. + * + * Enable I2C target mode for the 'dev' I2C bus driver using the provided + * 'config' struct containing the functions and parameters to send bus + * events. The I2C target will be registered at the address provided as 'address' + * struct member. Addressing mode - 7 or 10 bit - depends on the 'flags' + * struct member. Any I2C bus events related to the target mode will be passed + * onto I2C target device driver via a set of callback functions provided in + * the 'callbacks' struct member. + * + * Most of the existing hardware allows simultaneous support for controller + * and target mode. This is however not guaranteed. + * + * @param dev Pointer to the device structure for an I2C controller + * driver configured in target mode. + * @param cfg Config struct with functions and parameters used by the I2C driver + * to send bus events + * + * @retval 0 Is successful + * @retval -EINVAL If parameters are invalid + * @retval -EIO General input / output error. + * @retval -ENOSYS If target mode is not implemented + */ +static inline int i2c_target_register(const struct device *dev, + struct i2c_target_config *cfg) +{ + const struct i2c_driver_api *api = + (const struct i2c_driver_api *)dev->api; + + if (api->target_register == +# 1202 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/i2c.h" 3 4 + __null +# 1202 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/i2c.h" + ) { + return - +# 1203 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/i2c.h" 3 4 + 88 /* Function not implemented */ +# 1203 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/i2c.h" + ; + } + + return api->target_register(dev, cfg); +} + +/** + * @brief Unregisters the provided config as Target device + * + * This routine disables I2C target mode for the 'dev' I2C bus driver using + * the provided 'config' struct containing the functions and parameters + * to send bus events. + * + * @param dev Pointer to the device structure for an I2C controller + * driver configured in target mode. + * @param cfg Config struct with functions and parameters used by the I2C driver + * to send bus events + * + * @retval 0 Is successful + * @retval -EINVAL If parameters are invalid + * @retval -ENOSYS If target mode is not implemented + */ +static inline int i2c_target_unregister(const struct device *dev, + struct i2c_target_config *cfg) +{ + const struct i2c_driver_api *api = + (const struct i2c_driver_api *)dev->api; + + if (api->target_unregister == +# 1231 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/i2c.h" 3 4 + __null +# 1231 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/i2c.h" + ) { + return - +# 1232 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/i2c.h" 3 4 + 88 /* Function not implemented */ +# 1232 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/i2c.h" + ; + } + + return api->target_unregister(dev, cfg); +} + +/** + * @brief Instructs the I2C Target device to register itself to the I2C Controller + * + * This routine instructs the I2C Target device to register itself to the I2C + * Controller via its parent controller's i2c_target_register() API. + * + * @param dev Pointer to the device structure for the I2C target + * device (not itself an I2C controller). + * + * @retval 0 Is successful + * @retval -EINVAL If parameters are invalid + * @retval -EIO General input / output error. + */ +static inline int i2c_target_driver_register(const struct device *dev); + +static inline int z_impl_i2c_target_driver_register(const struct device *dev) +{ + const struct i2c_target_driver_api *api = + (const struct i2c_target_driver_api *)dev->api; + + return api->driver_register(dev); +} + +/** + * @brief Instructs the I2C Target device to unregister itself from the I2C + * Controller + * + * This routine instructs the I2C Target device to unregister itself from the I2C + * Controller via its parent controller's i2c_target_register() API. + * + * @param dev Pointer to the device structure for the I2C target + * device (not itself an I2C controller). + * + * @retval 0 Is successful + * @retval -EINVAL If parameters are invalid + */ +static inline int i2c_target_driver_unregister(const struct device *dev); + +static inline int z_impl_i2c_target_driver_unregister(const struct device *dev) +{ + const struct i2c_target_driver_api *api = + (const struct i2c_target_driver_api *)dev->api; + + return api->driver_unregister(dev); +} + +/* + * Derived i2c APIs -- all implemented in terms of i2c_transfer() + */ + +/** + * @brief Write a set amount of data to an I2C device. + * + * This routine writes a set amount of data synchronously. + * + * @param dev Pointer to the device structure for an I2C controller + * driver configured in controller mode. + * @param buf Memory pool from which the data is transferred. + * @param num_bytes Number of bytes to write. + * @param addr Address to the target I2C device for writing. + * + * @retval 0 If successful. + * @retval -EIO General input / output error. + */ +static inline int i2c_write(const struct device *dev, const uint8_t *buf, + uint32_t num_bytes, uint16_t addr) +{ + struct i2c_msg msg; + + msg.buf = (uint8_t *)buf; + msg.len = num_bytes; + msg.flags = (0U << 0U) | (1UL << (1)); + + return i2c_transfer(dev, &msg, 1, addr); +} + +/** + * @brief Write a set amount of data to an I2C device. + * + * This is equivalent to: + * + * i2c_write(spec->bus, buf, num_bytes, spec->addr); + * + * @param spec I2C specification from devicetree. + * @param buf Memory pool from which the data is transferred. + * @param num_bytes Number of bytes to write. + * + * @return a value from i2c_write() + */ +static inline int i2c_write_dt(const struct i2c_dt_spec *spec, + const uint8_t *buf, uint32_t num_bytes) +{ + return i2c_write(spec->bus, buf, num_bytes, spec->addr); +} + +/** + * @brief Read a set amount of data from an I2C device. + * + * This routine reads a set amount of data synchronously. + * + * @param dev Pointer to the device structure for an I2C controller + * driver configured in controller mode. + * @param buf Memory pool that stores the retrieved data. + * @param num_bytes Number of bytes to read. + * @param addr Address of the I2C device being read. + * + * @retval 0 If successful. + * @retval -EIO General input / output error. + */ +static inline int i2c_read(const struct device *dev, uint8_t *buf, + uint32_t num_bytes, uint16_t addr) +{ + struct i2c_msg msg; + + msg.buf = buf; + msg.len = num_bytes; + msg.flags = (1UL << (0)) | (1UL << (1)); + + return i2c_transfer(dev, &msg, 1, addr); +} + +/** + * @brief Read a set amount of data from an I2C device. + * + * This is equivalent to: + * + * i2c_read(spec->bus, buf, num_bytes, spec->addr); + * + * @param spec I2C specification from devicetree. + * @param buf Memory pool that stores the retrieved data. + * @param num_bytes Number of bytes to read. + * + * @return a value from i2c_read() + */ +static inline int i2c_read_dt(const struct i2c_dt_spec *spec, + uint8_t *buf, uint32_t num_bytes) +{ + return i2c_read(spec->bus, buf, num_bytes, spec->addr); +} + +/** + * @brief Write then read data from an I2C device. + * + * This supports the common operation "this is what I want", "now give + * it to me" transaction pair through a combined write-then-read bus + * transaction. + * + * @param dev Pointer to the device structure for an I2C controller + * driver configured in controller mode. + * @param addr Address of the I2C device + * @param write_buf Pointer to the data to be written + * @param num_write Number of bytes to write + * @param read_buf Pointer to storage for read data + * @param num_read Number of bytes to read + * + * @retval 0 if successful + * @retval negative on error. + */ +static inline int i2c_write_read(const struct device *dev, uint16_t addr, + const void *write_buf, size_t num_write, + void *read_buf, size_t num_read) +{ + struct i2c_msg msg[2]; + + msg[0].buf = (uint8_t *)write_buf; + msg[0].len = num_write; + msg[0].flags = (0U << 0U); + + msg[1].buf = (uint8_t *)read_buf; + msg[1].len = num_read; + msg[1].flags = (1UL << (2)) | (1UL << (0)) | (1UL << (1)); + + return i2c_transfer(dev, msg, 2, addr); +} + +/** + * @brief Write then read data from an I2C device. + * + * This is equivalent to: + * + * i2c_write_read(spec->bus, spec->addr, + * write_buf, num_write, + * read_buf, num_read); + * + * @param spec I2C specification from devicetree. + * @param write_buf Pointer to the data to be written + * @param num_write Number of bytes to write + * @param read_buf Pointer to storage for read data + * @param num_read Number of bytes to read + * + * @return a value from i2c_write_read() + */ +static inline int i2c_write_read_dt(const struct i2c_dt_spec *spec, + const void *write_buf, size_t num_write, + void *read_buf, size_t num_read) +{ + return i2c_write_read(spec->bus, spec->addr, + write_buf, num_write, + read_buf, num_read); +} + +/** + * @brief Read multiple bytes from an internal address of an I2C device. + * + * This routine reads multiple bytes from an internal address of an + * I2C device synchronously. + * + * Instances of this may be replaced by i2c_write_read(). + * + * @param dev Pointer to the device structure for an I2C controller + * driver configured in controller mode. + * @param dev_addr Address of the I2C device for reading. + * @param start_addr Internal address from which the data is being read. + * @param buf Memory pool that stores the retrieved data. + * @param num_bytes Number of bytes being read. + * + * @retval 0 If successful. + * @retval -EIO General input / output error. + */ +static inline int i2c_burst_read(const struct device *dev, + uint16_t dev_addr, + uint8_t start_addr, + uint8_t *buf, + uint32_t num_bytes) +{ + return i2c_write_read(dev, dev_addr, + &start_addr, sizeof(start_addr), + buf, num_bytes); +} + +/** + * @brief Read multiple bytes from an internal address of an I2C device. + * + * This is equivalent to: + * + * i2c_burst_read(spec->bus, spec->addr, start_addr, buf, num_bytes); + * + * @param spec I2C specification from devicetree. + * @param start_addr Internal address from which the data is being read. + * @param buf Memory pool that stores the retrieved data. + * @param num_bytes Number of bytes to read. + * + * @return a value from i2c_burst_read() + */ +static inline int i2c_burst_read_dt(const struct i2c_dt_spec *spec, + uint8_t start_addr, + uint8_t *buf, + uint32_t num_bytes) +{ + return i2c_burst_read(spec->bus, spec->addr, + start_addr, buf, num_bytes); +} + +/** + * @brief Write multiple bytes to an internal address of an I2C device. + * + * This routine writes multiple bytes to an internal address of an + * I2C device synchronously. + * + * @warning The combined write synthesized by this API may not be + * supported on all I2C devices. Uses of this API may be made more + * portable by replacing them with calls to i2c_write() passing a + * buffer containing the combined address and data. + * + * @param dev Pointer to the device structure for an I2C controller + * driver configured in controller mode. + * @param dev_addr Address of the I2C device for writing. + * @param start_addr Internal address to which the data is being written. + * @param buf Memory pool from which the data is transferred. + * @param num_bytes Number of bytes being written. + * + * @retval 0 If successful. + * @retval -EIO General input / output error. + */ +static inline int i2c_burst_write(const struct device *dev, + uint16_t dev_addr, + uint8_t start_addr, + const uint8_t *buf, + uint32_t num_bytes) +{ + struct i2c_msg msg[2]; + + msg[0].buf = &start_addr; + msg[0].len = 1U; + msg[0].flags = (0U << 0U); + + msg[1].buf = (uint8_t *)buf; + msg[1].len = num_bytes; + msg[1].flags = (0U << 0U) | (1UL << (1)); + + return i2c_transfer(dev, msg, 2, dev_addr); +} + +/** + * @brief Write multiple bytes to an internal address of an I2C device. + * + * This is equivalent to: + * + * i2c_burst_write(spec->bus, spec->addr, start_addr, buf, num_bytes); + * + * @param spec I2C specification from devicetree. + * @param start_addr Internal address to which the data is being written. + * @param buf Memory pool from which the data is transferred. + * @param num_bytes Number of bytes being written. + * + * @return a value from i2c_burst_write() + */ +static inline int i2c_burst_write_dt(const struct i2c_dt_spec *spec, + uint8_t start_addr, + const uint8_t *buf, + uint32_t num_bytes) +{ + return i2c_burst_write(spec->bus, spec->addr, + start_addr, buf, num_bytes); +} + +/** + * @brief Read internal register of an I2C device. + * + * This routine reads the value of an 8-bit internal register of an I2C + * device synchronously. + * + * @param dev Pointer to the device structure for an I2C controller + * driver configured in controller mode. + * @param dev_addr Address of the I2C device for reading. + * @param reg_addr Address of the internal register being read. + * @param value Memory pool that stores the retrieved register value. + * + * @retval 0 If successful. + * @retval -EIO General input / output error. + */ +static inline int i2c_reg_read_byte(const struct device *dev, + uint16_t dev_addr, + uint8_t reg_addr, uint8_t *value) +{ + return i2c_write_read(dev, dev_addr, + ®_addr, sizeof(reg_addr), + value, sizeof(*value)); +} + +/** + * @brief Read internal register of an I2C device. + * + * This is equivalent to: + * + * i2c_reg_read_byte(spec->bus, spec->addr, reg_addr, value); + * + * @param spec I2C specification from devicetree. + * @param reg_addr Address of the internal register being read. + * @param value Memory pool that stores the retrieved register value. + * + * @return a value from i2c_reg_read_byte() + */ +static inline int i2c_reg_read_byte_dt(const struct i2c_dt_spec *spec, + uint8_t reg_addr, uint8_t *value) +{ + return i2c_reg_read_byte(spec->bus, spec->addr, reg_addr, value); +} + +/** + * @brief Write internal register of an I2C device. + * + * This routine writes a value to an 8-bit internal register of an I2C + * device synchronously. + * + * @note This function internally combines the register and value into + * a single bus transaction. + * + * @param dev Pointer to the device structure for an I2C controller + * driver configured in controller mode. + * @param dev_addr Address of the I2C device for writing. + * @param reg_addr Address of the internal register being written. + * @param value Value to be written to internal register. + * + * @retval 0 If successful. + * @retval -EIO General input / output error. + */ +static inline int i2c_reg_write_byte(const struct device *dev, + uint16_t dev_addr, + uint8_t reg_addr, uint8_t value) +{ + uint8_t tx_buf[2] = {reg_addr, value}; + + return i2c_write(dev, tx_buf, 2, dev_addr); +} + +/** + * @brief Write internal register of an I2C device. + * + * This is equivalent to: + * + * i2c_reg_write_byte(spec->bus, spec->addr, reg_addr, value); + * + * @param spec I2C specification from devicetree. + * @param reg_addr Address of the internal register being written. + * @param value Value to be written to internal register. + * + * @return a value from i2c_reg_write_byte() + */ +static inline int i2c_reg_write_byte_dt(const struct i2c_dt_spec *spec, + uint8_t reg_addr, uint8_t value) +{ + return i2c_reg_write_byte(spec->bus, spec->addr, reg_addr, value); +} + +/** + * @brief Update internal register of an I2C device. + * + * This routine updates the value of a set of bits from an 8-bit internal + * register of an I2C device synchronously. + * + * @note If the calculated new register value matches the value that + * was read this function will not generate a write operation. + * + * @param dev Pointer to the device structure for an I2C controller + * driver configured in controller mode. + * @param dev_addr Address of the I2C device for updating. + * @param reg_addr Address of the internal register being updated. + * @param mask Bitmask for updating internal register. + * @param value Value for updating internal register. + * + * @retval 0 If successful. + * @retval -EIO General input / output error. + */ +static inline int i2c_reg_update_byte(const struct device *dev, + uint8_t dev_addr, + uint8_t reg_addr, uint8_t mask, + uint8_t value) +{ + uint8_t old_value, new_value; + int rc; + + rc = i2c_reg_read_byte(dev, dev_addr, reg_addr, &old_value); + if (rc != 0) { + return rc; + } + + new_value = (old_value & ~mask) | (value & mask); + if (new_value == old_value) { + return 0; + } + + return i2c_reg_write_byte(dev, dev_addr, reg_addr, new_value); +} + +/** + * @brief Update internal register of an I2C device. + * + * This is equivalent to: + * + * i2c_reg_update_byte(spec->bus, spec->addr, reg_addr, mask, value); + * + * @param spec I2C specification from devicetree. + * @param reg_addr Address of the internal register being updated. + * @param mask Bitmask for updating internal register. + * @param value Value for updating internal register. + * + * @return a value from i2c_reg_update_byte() + */ +static inline int i2c_reg_update_byte_dt(const struct i2c_dt_spec *spec, + uint8_t reg_addr, uint8_t mask, + uint8_t value) +{ + return i2c_reg_update_byte(spec->bus, spec->addr, + reg_addr, mask, value); +} + + +} + + +/** + * @} + */ + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/i2c.h" 1 +/* auto-generated by gen_syscalls.py, don't edit */ + + + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/tracing/tracing_syscall.h" 1 +/* + * Copyright (c) 2021 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 8 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/i2c.h" 2 + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdarg.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/lib/gcc/arm-zephyr-eabi/12.2.0/include/stdarg.h" 3 4 +/* Copyright (C) 1989-2022 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +. */ + +/* + * ISO C Standard: 7.15 Variable arguments + */ +# 12 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/i2c.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscall_list.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscall_list.h" +/* auto-generated by gen_syscalls.py, don't edit */ +# 14 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/i2c.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/syscall.h" 1 +/* + * Copyright (c) 2017, Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 15 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/i2c.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/linker/sections.h" 1 +/* + * Copyright (c) 2013-2014, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * @brief Definitions of various linker Sections. + * + * Linker Section declarations used by linker script, C files and Assembly + * files. + */ +# 17 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/i2c.h" 2 + + + +extern "C" { + + +extern int z_impl_i2c_configure(const struct device * dev, uint32_t dev_config); + + +static inline int i2c_configure(const struct device * dev, uint32_t dev_config) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_i2c_configure(dev, dev_config); +} +# 47 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/i2c.h" +extern int z_impl_i2c_get_config(const struct device * dev, uint32_t * dev_config); + + +static inline int i2c_get_config(const struct device * dev, uint32_t * dev_config) +{ + + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_i2c_get_config(dev, dev_config); +} +# 71 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/i2c.h" +extern int z_impl_i2c_transfer(const struct device * dev, struct i2c_msg * msgs, uint8_t num_msgs, uint16_t addr); + + +static inline int i2c_transfer(const struct device * dev, struct i2c_msg * msgs, uint8_t num_msgs, uint16_t addr) +{ +# 85 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/i2c.h" + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_i2c_transfer(dev, msgs, num_msgs, addr); +} +# 97 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/i2c.h" +extern int z_impl_i2c_recover_bus(const struct device * dev); + + +static inline int i2c_recover_bus(const struct device * dev) +{ + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_i2c_recover_bus(dev); +} +# 120 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/i2c.h" +extern int z_impl_i2c_target_driver_register(const struct device * dev); + + +static inline int i2c_target_driver_register(const struct device * dev) +{ + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_i2c_target_driver_register(dev); +} +# 143 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/i2c.h" +extern int z_impl_i2c_target_driver_unregister(const struct device * dev); + + +static inline int i2c_target_driver_unregister(const struct device * dev) +{ + + + + + + + do { __asm__ __volatile__ ("" ::: "memory"); } while (false); + return z_impl_i2c_target_driver_unregister(dev); +} +# 167 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/generated/zephyr/syscalls/i2c.h" +} +# 1714 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/drivers/i2c.h" 2 +# 17 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/Arduino.h" 2 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/math.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/math.h" 3 4 +/* +Copyright (c) 1991, 1993 +The Regents of the University of California. All rights reserved. +c) UNIX System Laboratories, Inc. +All or some portions of this file are derived from material licensed +to the University of California by American Telephone and Telegraph +Co. or Unix System Laboratories, Inc. and are reproduced herein with +the permission of UNIX System Laboratories, Inc. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. +3. Neither the name of the University nor the names of its contributors +may be used to endorse or promote products derived from this software +without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + */ +# 18 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/Arduino.h" 2 + + + +# 20 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/Arduino.h" +/* Note: DT_REG_ADDR needs an expanded argument or it will not work properly */ + + + + + +/* Check all pins are defined only once */ +# 42 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/Arduino.h" +/* Return the index of it if matched, oterwise return 0 */ + + + +/* Only matched pin returns non-zero value, so the sum is matched pin's index */ +# 66 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/Arduino.h" +/* If digital-pin-gpios is not defined, tries to use the led0 alias */ +# 85 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/Arduino.h" +/* + * expand as + * enum digitalPins { D0, D1, ... LED... NUM_OF_DIGITAL_PINS }; + */ +enum digitalPins { + + D0 = 0 , D1 = 1 , D2 = 2 , D3 = 3 , D4 = 4 , D5 = 5 , D6 = 6 , D7 = 7 , D8 = 8 , D9 = 9 , D10 = 10 , D11 = 11 , D12 = 12 , D13 = 13 , D14 = 14 , D15 = 15 , D16 = 16 , D17 = 17 , D18 = 18 , D19 = 19 , D20 = 20 , D21 = 21 , D22 = 22 , D23 = 23 , D24 = 24 , D25 = 25 , D26 = 26 , D27 = 27 , D28 = 28 , D29 = 29 , D30 = 30 , D31 = 31 , D32 = 32 , D33 = 33 , D34 = 34 , D35 = 35 , D36 = 36 , D37 = 37 , D38 = 38 , D39 = 39 , D40 = 40 , D41 = 41 , D42 = 42 , D43 = 43 , D44 = 44 , D45 = 45 , D46 = 46 , D47 = 47 , D48 = 48 , D49 = 49 , D50 = 50 , D51 = 51 , D52 = 52 , D53 = 53 , D54 = 54 , D55 = 55 , D56 = 56 , D57 = 57 , D58 = 58 , D59 = 59 , D60 = 60 , D61 = 61 , D62 = 62 , D63 = 63 , D64 = 64 , D65 = 65 , D66 = 66 , D67 = 67 , D68 = 68 , D69 = 69 , D70 = 70 , D71 = 71 , D72 = 72 , D73 = 73 , D74 = 74 , D75 = 75 , D76 = 76 , D77 = 77 , D78 = 78 , D79 = 79 , D80 = 80 , D81 = 81 , D82 = 82 , D83 = 83 , D84 = 84 , D85 = 85 , D86 = 86 , D87 = 87 , D88 = 88 , D89 = 89 , D90 = 90 , D91 = 91 , D92 = 92 , D93 = 93 , D94 = 94 , D95 = 95 , D96 = 96 , D97 = 97 , D98 = 98 , D99 = 99 , D100 = 100, + + NUM_OF_DIGITAL_PINS +}; + + + + + + +enum analogPins { A0 = ((((1476528128U == 1476527104U) && (4 == 7)) ? 1 : 0) ? 0 : 0) + ((((1476528128U == 1476526080U) && (4 == 9)) ? 1 : 0) ? 1 : 0) + ((((1476528128U == 1476526080U) && (4 == 3)) ? 1 : 0) ? 2 : 0) + ((((1476528128U == 1476526080U) && (4 == 2)) ? 1 : 0) ? 3 : 0) + ((((1476528128U == 1476535296U) && (4 == 8)) ? 1 : 0) ? 4 : 0) + ((((1476528128U == 1476526080U) && (4 == 7)) ? 1 : 0) ? 5 : 0) + ((((1476528128U == 1476529152U) && (4 == 13)) ? 1 : 0) ? 6 : 0) + ((((1476528128U == 1476527104U) && (4 == 4)) ? 1 : 0) ? 7 : 0) + ((((1476528128U == 1476527104U) && (4 == 8)) ? 1 : 0) ? 8 : 0) + ((((1476528128U == 1476527104U) && (4 == 9)) ? 1 : 0) ? 9 : 0) + ((((1476528128U == 1476536320U) && (4 == 1)) ? 1 : 0) ? 10 : 0) + ((((1476528128U == 1476535296U) && (4 == 10)) ? 1 : 0) ? 11 : 0) + ((((1476528128U == 1476535296U) && (4 == 11)) ? 1 : 0) ? 12 : 0) + ((((1476528128U == 1476533248U) && (4 == 6)) ? 1 : 0) ? 13 : 0) + ((((1476528128U == 1476532224U) && (4 == 14)) ? 1 : 0) ? 14 : 0) + ((((1476528128U == 1476528128U) && (4 == 7)) ? 1 : 0) ? 15 : 0) + ((((1476528128U == 1476533248U) && (4 == 13)) ? 1 : 0) ? 16 : 0) + ((((1476528128U == 1476534272U) && (4 == 9)) ? 1 : 0) ? 17 : 0) + ((((1476528128U == 1476529152U) && (4 == 5)) ? 1 : 0) ? 18 : 0) + ((((1476528128U == 1476529152U) && (4 == 6)) ? 1 : 0) ? 19 : 0) + ((((1476528128U == 1476527104U) && (4 == 11)) ? 1 : 0) ? 20 : 0) + ((((1476528128U == 1476533248U) && (4 == 4)) ? 1 : 0) ? 21 : 0) + ((((1476528128U == 1476535296U) && (4 == 12)) ? 1 : 0) ? 22 : 0) + ((((1476528128U == 1476532224U) && (4 == 13)) ? 1 : 0) ? 23 : 0) + ((((1476528128U == 1476532224U) && (4 == 12)) ? 1 : 0) ? 24 : 0) + ((((1476528128U == 1476535296U) && (4 == 0)) ? 1 : 0) ? 25 : 0) + ((((1476528128U == 1476535296U) && (4 == 14)) ? 1 : 0) ? 26 : 0) + ((((1476528128U == 1476535296U) && (4 == 1)) ? 1 : 0) ? 27 : 0) + ((((1476528128U == 1476535296U) && (4 == 15)) ? 1 : 0) ? 28 : 0) + ((((1476528128U == 1476535296U) && (4 == 2)) ? 1 : 0) ? 29 : 0) + ((((1476528128U == 1476536320U) && (4 == 3)) ? 1 : 0) ? 30 : 0) + ((((1476528128U == 1476535296U) && (4 == 3)) ? 1 : 0) ? 31 : 0) + ((((1476528128U == 1476536320U) && (4 == 4)) ? 1 : 0) ? 32 : 0) + ((((1476528128U == 1476535296U) && (4 == 4)) ? 1 : 0) ? 33 : 0) + ((((1476528128U == 1476536320U) && (4 == 5)) ? 1 : 0) ? 34 : 0) + ((((1476528128U == 1476535296U) && (4 == 5)) ? 1 : 0) ? 35 : 0) + ((((1476528128U == 1476536320U) && (4 == 6)) ? 1 : 0) ? 36 : 0) + ((((1476528128U == 1476535296U) && (4 == 6)) ? 1 : 0) ? 37 : 0) + ((((1476528128U == 1476535296U) && (4 == 7)) ? 1 : 0) ? 38 : 0) + ((((1476528128U == 1476534272U) && (4 == 14)) ? 1 : 0) ? 39 : 0) + ((((1476528128U == 1476530176U) && (4 == 6)) ? 1 : 0) ? 40 : 0) + ((((1476528128U == 1476536320U) && (4 == 7)) ? 1 : 0) ? 41 : 0) + ((((1476528128U == 1476534272U) && (4 == 15)) ? 1 : 0) ? 42 : 0) + ((((1476528128U == 1476534272U) && (4 == 10)) ? 1 : 0) ? 43 : 0) + ((((1476528128U == 1476532224U) && (4 == 10)) ? 1 : 0) ? 44 : 0) + ((((1476528128U == 1476534272U) && (4 == 13)) ? 1 : 0) ? 45 : 0) + ((((1476528128U == 1476533248U) && (4 == 15)) ? 1 : 0) ? 46 : 0) + ((((1476528128U == 1476527104U) && (4 == 2)) ? 1 : 0) ? 47 : 0) + ((((1476528128U == 1476536320U) && (4 == 0)) ? 1 : 0) ? 48 : 0) + ((((1476528128U == 1476530176U) && (4 == 4)) ? 1 : 0) ? 49 : 0) + ((((1476528128U == 1476534272U) && (4 == 11)) ? 1 : 0) ? 50 : 0) + ((((1476528128U == 1476530176U) && (4 == 5)) ? 1 : 0) ? 51 : 0) + ((((1476528128U == 1476536320U) && (4 == 2)) ? 1 : 0) ? 52 : 0) + ((((1476528128U == 1476532224U) && (4 == 7)) ? 1 : 0) ? 53 : 0) + ((((1476528128U == 1476534272U) && (4 == 5)) ? 1 : 0) ? 54 : 0) + ((((1476528128U == 1476533248U) && (4 == 8)) ? 1 : 0) ? 55 : 0) + ((((1476528128U == 1476526080U) && (4 == 6)) ? 1 : 0) ? 56 : 0) + ((((1476528128U == 1476535296U) && (4 == 9)) ? 1 : 0) ? 57 : 0) + ((((1476528128U == 1476534272U) && (4 == 7)) ? 1 : 0) ? 58 : 0) + ((((1476528128U == 1476534272U) && (4 == 6)) ? 1 : 0) ? 59 : 0) + ((((1476528128U == 1476534272U) && (4 == 4)) ? 1 : 0) ? 60 : 0) + ((((1476528128U == 1476533248U) && (4 == 14)) ? 1 : 0) ? 61 : 0) + ((((1476528128U == 1476532224U) && (4 == 11)) ? 1 : 0) ? 62 : 0) + ((((1476528128U == 1476533248U) && (4 == 11)) ? 1 : 0) ? 63 : 0) + ((((1476528128U == 1476533248U) && (4 == 10)) ? 1 : 0) ? 64 : 0) + ((((1476528128U == 1476533248U) && (4 == 9)) ? 1 : 0) ? 65 : 0) + ((((1476528128U == 1476526080U) && (4 == 1)) ? 1 : 0) ? 66 : 0) + ((((1476528128U == 1476529152U) && (4 == 4)) ? 1 : 0) ? 67 : 0) + ((((1476528128U == 1476528128U) && (4 == 6)) ? 1 : 0) ? 68 : 0) + ((((1476528128U == 1476534272U) && (4 == 0)) ? 1 : 0) ? 69 : 0) + ((((1476528128U == 1476534272U) && (4 == 1)) ? 1 : 0) ? 70 : 0) + ((((1476528128U == 1476534272U) && (4 == 2)) ? 1 : 0) ? 71 : 0) + ((((1476528128U == 1476534272U) && (4 == 3)) ? 1 : 0) ? 72 : 0) + ((((1476528128U == 1476528128U) && (4 == 1)) ? 1 : 0) ? 73 : 0) + ((((1476528128U == 1476527104U) && (4 == 12)) ? 1 : 0) ? 74 : 0) + ((((1476528128U == 1476529152U) && (4 == 3)) ? 1 : 0) ? 75 : 0) + ((((1476528128U == 1476528128U) && (4 == 4)) ? 1 : 0) ? 76 : 0) + ((((1476528128U == 1476528128U) && (4 == 5)) ? 1 : 0) ? 77 : 0) + ((((1476528128U == 1476527104U) && (4 == 0)) ? 1 : 0) ? 78 : 0) + ((((1476528128U == 1476527104U) && (4 == 1)) ? 1 : 0) ? 79 : 0) + ((((1476528128U == 1476528128U) && (4 == 3)) ? 1 : 0) ? 80 : 0) + ((((1476528128U == 1476528128U) && (4 == 2)) ? 1 : 0) ? 81 : 0) + ((((1476528128U == 1476528128U) && (4 == 0)) ? 1 : 0) ? 82 : 0) + ((((1476528128U == 1476526080U) && (4 == 0)) ? 1 : 0) ? 83 : 0) + ((((1476528128U == 1476526080U) && (4 == 4)) ? 1 : 0) ? 84 : 0) + ((((1476528128U == 1476526080U) && (4 == 5)) ? 1 : 0) ? 85 : 0) + ((((1476528128U == 1476534272U) && (4 == 12)) ? 1 : 0) ? 86 : 0) + ((((1476528128U == 1476535296U) && (4 == 13)) ? 1 : 0) ? 87 : 0) + ((((1476528128U == 1476530176U) && (4 == 3)) ? 1 : 0) ? 88 : 0) + ((((1476528128U == 1476532224U) && (4 == 9)) ? 1 : 0) ? 89 : 0) + ((((1476528128U == 1476529152U) && (4 == 7)) ? 1 : 0) ? 90 : 0) + ((((1476528128U == 1476527104U) && (4 == 3)) ? 1 : 0) ? 91 : 0) + ((((1476528128U == 1476526080U) && (4 == 15)) ? 1 : 0) ? 92 : 0) + ((((1476528128U == 1476527104U) && (4 == 5)) ? 1 : 0) ? 93 : 0) + ((((1476528128U == 1476527104U) && (4 == 13)) ? 1 : 0) ? 94 : 0) + ((((1476528128U == 1476527104U) && (4 == 6)) ? 1 : 0) ? 95 : 0) + ((((1476528128U == 1476533248U) && (4 == 12)) ? 1 : 0) ? 96 : 0) + ((((1476528128U == 3735928559U) && (4 == 0)) ? 1 : 0) ? 97 : 0) + ((((1476528128U == 3735928559U) && (4 == 1)) ? 1 : 0) ? 98 : 0) + ((((1476528128U == 3735928559U) && (4 == 2)) ? 1 : 0) ? 99 : 0) + ((((1476528128U == 3735928559U) && (4 == 3)) ? 1 : 0) ? 100 : 0), A1 = ((((1476528128U == 1476527104U) && (5 == 7)) ? 1 : 0) ? 0 : 0) + ((((1476528128U == 1476526080U) && (5 == 9)) ? 1 : 0) ? 1 : 0) + ((((1476528128U == 1476526080U) && (5 == 3)) ? 1 : 0) ? 2 : 0) + ((((1476528128U == 1476526080U) && (5 == 2)) ? 1 : 0) ? 3 : 0) + ((((1476528128U == 1476535296U) && (5 == 8)) ? 1 : 0) ? 4 : 0) + ((((1476528128U == 1476526080U) && (5 == 7)) ? 1 : 0) ? 5 : 0) + ((((1476528128U == 1476529152U) && (5 == 13)) ? 1 : 0) ? 6 : 0) + ((((1476528128U == 1476527104U) && (5 == 4)) ? 1 : 0) ? 7 : 0) + ((((1476528128U == 1476527104U) && (5 == 8)) ? 1 : 0) ? 8 : 0) + ((((1476528128U == 1476527104U) && (5 == 9)) ? 1 : 0) ? 9 : 0) + ((((1476528128U == 1476536320U) && (5 == 1)) ? 1 : 0) ? 10 : 0) + ((((1476528128U == 1476535296U) && (5 == 10)) ? 1 : 0) ? 11 : 0) + ((((1476528128U == 1476535296U) && (5 == 11)) ? 1 : 0) ? 12 : 0) + ((((1476528128U == 1476533248U) && (5 == 6)) ? 1 : 0) ? 13 : 0) + ((((1476528128U == 1476532224U) && (5 == 14)) ? 1 : 0) ? 14 : 0) + ((((1476528128U == 1476528128U) && (5 == 7)) ? 1 : 0) ? 15 : 0) + ((((1476528128U == 1476533248U) && (5 == 13)) ? 1 : 0) ? 16 : 0) + ((((1476528128U == 1476534272U) && (5 == 9)) ? 1 : 0) ? 17 : 0) + ((((1476528128U == 1476529152U) && (5 == 5)) ? 1 : 0) ? 18 : 0) + ((((1476528128U == 1476529152U) && (5 == 6)) ? 1 : 0) ? 19 : 0) + ((((1476528128U == 1476527104U) && (5 == 11)) ? 1 : 0) ? 20 : 0) + ((((1476528128U == 1476533248U) && (5 == 4)) ? 1 : 0) ? 21 : 0) + ((((1476528128U == 1476535296U) && (5 == 12)) ? 1 : 0) ? 22 : 0) + ((((1476528128U == 1476532224U) && (5 == 13)) ? 1 : 0) ? 23 : 0) + ((((1476528128U == 1476532224U) && (5 == 12)) ? 1 : 0) ? 24 : 0) + ((((1476528128U == 1476535296U) && (5 == 0)) ? 1 : 0) ? 25 : 0) + ((((1476528128U == 1476535296U) && (5 == 14)) ? 1 : 0) ? 26 : 0) + ((((1476528128U == 1476535296U) && (5 == 1)) ? 1 : 0) ? 27 : 0) + ((((1476528128U == 1476535296U) && (5 == 15)) ? 1 : 0) ? 28 : 0) + ((((1476528128U == 1476535296U) && (5 == 2)) ? 1 : 0) ? 29 : 0) + ((((1476528128U == 1476536320U) && (5 == 3)) ? 1 : 0) ? 30 : 0) + ((((1476528128U == 1476535296U) && (5 == 3)) ? 1 : 0) ? 31 : 0) + ((((1476528128U == 1476536320U) && (5 == 4)) ? 1 : 0) ? 32 : 0) + ((((1476528128U == 1476535296U) && (5 == 4)) ? 1 : 0) ? 33 : 0) + ((((1476528128U == 1476536320U) && (5 == 5)) ? 1 : 0) ? 34 : 0) + ((((1476528128U == 1476535296U) && (5 == 5)) ? 1 : 0) ? 35 : 0) + ((((1476528128U == 1476536320U) && (5 == 6)) ? 1 : 0) ? 36 : 0) + ((((1476528128U == 1476535296U) && (5 == 6)) ? 1 : 0) ? 37 : 0) + ((((1476528128U == 1476535296U) && (5 == 7)) ? 1 : 0) ? 38 : 0) + ((((1476528128U == 1476534272U) && (5 == 14)) ? 1 : 0) ? 39 : 0) + ((((1476528128U == 1476530176U) && (5 == 6)) ? 1 : 0) ? 40 : 0) + ((((1476528128U == 1476536320U) && (5 == 7)) ? 1 : 0) ? 41 : 0) + ((((1476528128U == 1476534272U) && (5 == 15)) ? 1 : 0) ? 42 : 0) + ((((1476528128U == 1476534272U) && (5 == 10)) ? 1 : 0) ? 43 : 0) + ((((1476528128U == 1476532224U) && (5 == 10)) ? 1 : 0) ? 44 : 0) + ((((1476528128U == 1476534272U) && (5 == 13)) ? 1 : 0) ? 45 : 0) + ((((1476528128U == 1476533248U) && (5 == 15)) ? 1 : 0) ? 46 : 0) + ((((1476528128U == 1476527104U) && (5 == 2)) ? 1 : 0) ? 47 : 0) + ((((1476528128U == 1476536320U) && (5 == 0)) ? 1 : 0) ? 48 : 0) + ((((1476528128U == 1476530176U) && (5 == 4)) ? 1 : 0) ? 49 : 0) + ((((1476528128U == 1476534272U) && (5 == 11)) ? 1 : 0) ? 50 : 0) + ((((1476528128U == 1476530176U) && (5 == 5)) ? 1 : 0) ? 51 : 0) + ((((1476528128U == 1476536320U) && (5 == 2)) ? 1 : 0) ? 52 : 0) + ((((1476528128U == 1476532224U) && (5 == 7)) ? 1 : 0) ? 53 : 0) + ((((1476528128U == 1476534272U) && (5 == 5)) ? 1 : 0) ? 54 : 0) + ((((1476528128U == 1476533248U) && (5 == 8)) ? 1 : 0) ? 55 : 0) + ((((1476528128U == 1476526080U) && (5 == 6)) ? 1 : 0) ? 56 : 0) + ((((1476528128U == 1476535296U) && (5 == 9)) ? 1 : 0) ? 57 : 0) + ((((1476528128U == 1476534272U) && (5 == 7)) ? 1 : 0) ? 58 : 0) + ((((1476528128U == 1476534272U) && (5 == 6)) ? 1 : 0) ? 59 : 0) + ((((1476528128U == 1476534272U) && (5 == 4)) ? 1 : 0) ? 60 : 0) + ((((1476528128U == 1476533248U) && (5 == 14)) ? 1 : 0) ? 61 : 0) + ((((1476528128U == 1476532224U) && (5 == 11)) ? 1 : 0) ? 62 : 0) + ((((1476528128U == 1476533248U) && (5 == 11)) ? 1 : 0) ? 63 : 0) + ((((1476528128U == 1476533248U) && (5 == 10)) ? 1 : 0) ? 64 : 0) + ((((1476528128U == 1476533248U) && (5 == 9)) ? 1 : 0) ? 65 : 0) + ((((1476528128U == 1476526080U) && (5 == 1)) ? 1 : 0) ? 66 : 0) + ((((1476528128U == 1476529152U) && (5 == 4)) ? 1 : 0) ? 67 : 0) + ((((1476528128U == 1476528128U) && (5 == 6)) ? 1 : 0) ? 68 : 0) + ((((1476528128U == 1476534272U) && (5 == 0)) ? 1 : 0) ? 69 : 0) + ((((1476528128U == 1476534272U) && (5 == 1)) ? 1 : 0) ? 70 : 0) + ((((1476528128U == 1476534272U) && (5 == 2)) ? 1 : 0) ? 71 : 0) + ((((1476528128U == 1476534272U) && (5 == 3)) ? 1 : 0) ? 72 : 0) + ((((1476528128U == 1476528128U) && (5 == 1)) ? 1 : 0) ? 73 : 0) + ((((1476528128U == 1476527104U) && (5 == 12)) ? 1 : 0) ? 74 : 0) + ((((1476528128U == 1476529152U) && (5 == 3)) ? 1 : 0) ? 75 : 0) + ((((1476528128U == 1476528128U) && (5 == 4)) ? 1 : 0) ? 76 : 0) + ((((1476528128U == 1476528128U) && (5 == 5)) ? 1 : 0) ? 77 : 0) + ((((1476528128U == 1476527104U) && (5 == 0)) ? 1 : 0) ? 78 : 0) + ((((1476528128U == 1476527104U) && (5 == 1)) ? 1 : 0) ? 79 : 0) + ((((1476528128U == 1476528128U) && (5 == 3)) ? 1 : 0) ? 80 : 0) + ((((1476528128U == 1476528128U) && (5 == 2)) ? 1 : 0) ? 81 : 0) + ((((1476528128U == 1476528128U) && (5 == 0)) ? 1 : 0) ? 82 : 0) + ((((1476528128U == 1476526080U) && (5 == 0)) ? 1 : 0) ? 83 : 0) + ((((1476528128U == 1476526080U) && (5 == 4)) ? 1 : 0) ? 84 : 0) + ((((1476528128U == 1476526080U) && (5 == 5)) ? 1 : 0) ? 85 : 0) + ((((1476528128U == 1476534272U) && (5 == 12)) ? 1 : 0) ? 86 : 0) + ((((1476528128U == 1476535296U) && (5 == 13)) ? 1 : 0) ? 87 : 0) + ((((1476528128U == 1476530176U) && (5 == 3)) ? 1 : 0) ? 88 : 0) + ((((1476528128U == 1476532224U) && (5 == 9)) ? 1 : 0) ? 89 : 0) + ((((1476528128U == 1476529152U) && (5 == 7)) ? 1 : 0) ? 90 : 0) + ((((1476528128U == 1476527104U) && (5 == 3)) ? 1 : 0) ? 91 : 0) + ((((1476528128U == 1476526080U) && (5 == 15)) ? 1 : 0) ? 92 : 0) + ((((1476528128U == 1476527104U) && (5 == 5)) ? 1 : 0) ? 93 : 0) + ((((1476528128U == 1476527104U) && (5 == 13)) ? 1 : 0) ? 94 : 0) + ((((1476528128U == 1476527104U) && (5 == 6)) ? 1 : 0) ? 95 : 0) + ((((1476528128U == 1476533248U) && (5 == 12)) ? 1 : 0) ? 96 : 0) + ((((1476528128U == 3735928559U) && (5 == 0)) ? 1 : 0) ? 97 : 0) + ((((1476528128U == 3735928559U) && (5 == 1)) ? 1 : 0) ? 98 : 0) + ((((1476528128U == 3735928559U) && (5 == 2)) ? 1 : 0) ? 99 : 0) + ((((1476528128U == 3735928559U) && (5 == 3)) ? 1 : 0) ? 100 : 0), A2 = ((((1476527104U == 1476527104U) && (0 == 7)) ? 1 : 0) ? 0 : 0) + ((((1476527104U == 1476526080U) && (0 == 9)) ? 1 : 0) ? 1 : 0) + ((((1476527104U == 1476526080U) && (0 == 3)) ? 1 : 0) ? 2 : 0) + ((((1476527104U == 1476526080U) && (0 == 2)) ? 1 : 0) ? 3 : 0) + ((((1476527104U == 1476535296U) && (0 == 8)) ? 1 : 0) ? 4 : 0) + ((((1476527104U == 1476526080U) && (0 == 7)) ? 1 : 0) ? 5 : 0) + ((((1476527104U == 1476529152U) && (0 == 13)) ? 1 : 0) ? 6 : 0) + ((((1476527104U == 1476527104U) && (0 == 4)) ? 1 : 0) ? 7 : 0) + ((((1476527104U == 1476527104U) && (0 == 8)) ? 1 : 0) ? 8 : 0) + ((((1476527104U == 1476527104U) && (0 == 9)) ? 1 : 0) ? 9 : 0) + ((((1476527104U == 1476536320U) && (0 == 1)) ? 1 : 0) ? 10 : 0) + ((((1476527104U == 1476535296U) && (0 == 10)) ? 1 : 0) ? 11 : 0) + ((((1476527104U == 1476535296U) && (0 == 11)) ? 1 : 0) ? 12 : 0) + ((((1476527104U == 1476533248U) && (0 == 6)) ? 1 : 0) ? 13 : 0) + ((((1476527104U == 1476532224U) && (0 == 14)) ? 1 : 0) ? 14 : 0) + ((((1476527104U == 1476528128U) && (0 == 7)) ? 1 : 0) ? 15 : 0) + ((((1476527104U == 1476533248U) && (0 == 13)) ? 1 : 0) ? 16 : 0) + ((((1476527104U == 1476534272U) && (0 == 9)) ? 1 : 0) ? 17 : 0) + ((((1476527104U == 1476529152U) && (0 == 5)) ? 1 : 0) ? 18 : 0) + ((((1476527104U == 1476529152U) && (0 == 6)) ? 1 : 0) ? 19 : 0) + ((((1476527104U == 1476527104U) && (0 == 11)) ? 1 : 0) ? 20 : 0) + ((((1476527104U == 1476533248U) && (0 == 4)) ? 1 : 0) ? 21 : 0) + ((((1476527104U == 1476535296U) && (0 == 12)) ? 1 : 0) ? 22 : 0) + ((((1476527104U == 1476532224U) && (0 == 13)) ? 1 : 0) ? 23 : 0) + ((((1476527104U == 1476532224U) && (0 == 12)) ? 1 : 0) ? 24 : 0) + ((((1476527104U == 1476535296U) && (0 == 0)) ? 1 : 0) ? 25 : 0) + ((((1476527104U == 1476535296U) && (0 == 14)) ? 1 : 0) ? 26 : 0) + ((((1476527104U == 1476535296U) && (0 == 1)) ? 1 : 0) ? 27 : 0) + ((((1476527104U == 1476535296U) && (0 == 15)) ? 1 : 0) ? 28 : 0) + ((((1476527104U == 1476535296U) && (0 == 2)) ? 1 : 0) ? 29 : 0) + ((((1476527104U == 1476536320U) && (0 == 3)) ? 1 : 0) ? 30 : 0) + ((((1476527104U == 1476535296U) && (0 == 3)) ? 1 : 0) ? 31 : 0) + ((((1476527104U == 1476536320U) && (0 == 4)) ? 1 : 0) ? 32 : 0) + ((((1476527104U == 1476535296U) && (0 == 4)) ? 1 : 0) ? 33 : 0) + ((((1476527104U == 1476536320U) && (0 == 5)) ? 1 : 0) ? 34 : 0) + ((((1476527104U == 1476535296U) && (0 == 5)) ? 1 : 0) ? 35 : 0) + ((((1476527104U == 1476536320U) && (0 == 6)) ? 1 : 0) ? 36 : 0) + ((((1476527104U == 1476535296U) && (0 == 6)) ? 1 : 0) ? 37 : 0) + ((((1476527104U == 1476535296U) && (0 == 7)) ? 1 : 0) ? 38 : 0) + ((((1476527104U == 1476534272U) && (0 == 14)) ? 1 : 0) ? 39 : 0) + ((((1476527104U == 1476530176U) && (0 == 6)) ? 1 : 0) ? 40 : 0) + ((((1476527104U == 1476536320U) && (0 == 7)) ? 1 : 0) ? 41 : 0) + ((((1476527104U == 1476534272U) && (0 == 15)) ? 1 : 0) ? 42 : 0) + ((((1476527104U == 1476534272U) && (0 == 10)) ? 1 : 0) ? 43 : 0) + ((((1476527104U == 1476532224U) && (0 == 10)) ? 1 : 0) ? 44 : 0) + ((((1476527104U == 1476534272U) && (0 == 13)) ? 1 : 0) ? 45 : 0) + ((((1476527104U == 1476533248U) && (0 == 15)) ? 1 : 0) ? 46 : 0) + ((((1476527104U == 1476527104U) && (0 == 2)) ? 1 : 0) ? 47 : 0) + ((((1476527104U == 1476536320U) && (0 == 0)) ? 1 : 0) ? 48 : 0) + ((((1476527104U == 1476530176U) && (0 == 4)) ? 1 : 0) ? 49 : 0) + ((((1476527104U == 1476534272U) && (0 == 11)) ? 1 : 0) ? 50 : 0) + ((((1476527104U == 1476530176U) && (0 == 5)) ? 1 : 0) ? 51 : 0) + ((((1476527104U == 1476536320U) && (0 == 2)) ? 1 : 0) ? 52 : 0) + ((((1476527104U == 1476532224U) && (0 == 7)) ? 1 : 0) ? 53 : 0) + ((((1476527104U == 1476534272U) && (0 == 5)) ? 1 : 0) ? 54 : 0) + ((((1476527104U == 1476533248U) && (0 == 8)) ? 1 : 0) ? 55 : 0) + ((((1476527104U == 1476526080U) && (0 == 6)) ? 1 : 0) ? 56 : 0) + ((((1476527104U == 1476535296U) && (0 == 9)) ? 1 : 0) ? 57 : 0) + ((((1476527104U == 1476534272U) && (0 == 7)) ? 1 : 0) ? 58 : 0) + ((((1476527104U == 1476534272U) && (0 == 6)) ? 1 : 0) ? 59 : 0) + ((((1476527104U == 1476534272U) && (0 == 4)) ? 1 : 0) ? 60 : 0) + ((((1476527104U == 1476533248U) && (0 == 14)) ? 1 : 0) ? 61 : 0) + ((((1476527104U == 1476532224U) && (0 == 11)) ? 1 : 0) ? 62 : 0) + ((((1476527104U == 1476533248U) && (0 == 11)) ? 1 : 0) ? 63 : 0) + ((((1476527104U == 1476533248U) && (0 == 10)) ? 1 : 0) ? 64 : 0) + ((((1476527104U == 1476533248U) && (0 == 9)) ? 1 : 0) ? 65 : 0) + ((((1476527104U == 1476526080U) && (0 == 1)) ? 1 : 0) ? 66 : 0) + ((((1476527104U == 1476529152U) && (0 == 4)) ? 1 : 0) ? 67 : 0) + ((((1476527104U == 1476528128U) && (0 == 6)) ? 1 : 0) ? 68 : 0) + ((((1476527104U == 1476534272U) && (0 == 0)) ? 1 : 0) ? 69 : 0) + ((((1476527104U == 1476534272U) && (0 == 1)) ? 1 : 0) ? 70 : 0) + ((((1476527104U == 1476534272U) && (0 == 2)) ? 1 : 0) ? 71 : 0) + ((((1476527104U == 1476534272U) && (0 == 3)) ? 1 : 0) ? 72 : 0) + ((((1476527104U == 1476528128U) && (0 == 1)) ? 1 : 0) ? 73 : 0) + ((((1476527104U == 1476527104U) && (0 == 12)) ? 1 : 0) ? 74 : 0) + ((((1476527104U == 1476529152U) && (0 == 3)) ? 1 : 0) ? 75 : 0) + ((((1476527104U == 1476528128U) && (0 == 4)) ? 1 : 0) ? 76 : 0) + ((((1476527104U == 1476528128U) && (0 == 5)) ? 1 : 0) ? 77 : 0) + ((((1476527104U == 1476527104U) && (0 == 0)) ? 1 : 0) ? 78 : 0) + ((((1476527104U == 1476527104U) && (0 == 1)) ? 1 : 0) ? 79 : 0) + ((((1476527104U == 1476528128U) && (0 == 3)) ? 1 : 0) ? 80 : 0) + ((((1476527104U == 1476528128U) && (0 == 2)) ? 1 : 0) ? 81 : 0) + ((((1476527104U == 1476528128U) && (0 == 0)) ? 1 : 0) ? 82 : 0) + ((((1476527104U == 1476526080U) && (0 == 0)) ? 1 : 0) ? 83 : 0) + ((((1476527104U == 1476526080U) && (0 == 4)) ? 1 : 0) ? 84 : 0) + ((((1476527104U == 1476526080U) && (0 == 5)) ? 1 : 0) ? 85 : 0) + ((((1476527104U == 1476534272U) && (0 == 12)) ? 1 : 0) ? 86 : 0) + ((((1476527104U == 1476535296U) && (0 == 13)) ? 1 : 0) ? 87 : 0) + ((((1476527104U == 1476530176U) && (0 == 3)) ? 1 : 0) ? 88 : 0) + ((((1476527104U == 1476532224U) && (0 == 9)) ? 1 : 0) ? 89 : 0) + ((((1476527104U == 1476529152U) && (0 == 7)) ? 1 : 0) ? 90 : 0) + ((((1476527104U == 1476527104U) && (0 == 3)) ? 1 : 0) ? 91 : 0) + ((((1476527104U == 1476526080U) && (0 == 15)) ? 1 : 0) ? 92 : 0) + ((((1476527104U == 1476527104U) && (0 == 5)) ? 1 : 0) ? 93 : 0) + ((((1476527104U == 1476527104U) && (0 == 13)) ? 1 : 0) ? 94 : 0) + ((((1476527104U == 1476527104U) && (0 == 6)) ? 1 : 0) ? 95 : 0) + ((((1476527104U == 1476533248U) && (0 == 12)) ? 1 : 0) ? 96 : 0) + ((((1476527104U == 3735928559U) && (0 == 0)) ? 1 : 0) ? 97 : 0) + ((((1476527104U == 3735928559U) && (0 == 1)) ? 1 : 0) ? 98 : 0) + ((((1476527104U == 3735928559U) && (0 == 2)) ? 1 : 0) ? 99 : 0) + ((((1476527104U == 3735928559U) && (0 == 3)) ? 1 : 0) ? 100 : 0), A3 = ((((1476527104U == 1476527104U) && (1 == 7)) ? 1 : 0) ? 0 : 0) + ((((1476527104U == 1476526080U) && (1 == 9)) ? 1 : 0) ? 1 : 0) + ((((1476527104U == 1476526080U) && (1 == 3)) ? 1 : 0) ? 2 : 0) + ((((1476527104U == 1476526080U) && (1 == 2)) ? 1 : 0) ? 3 : 0) + ((((1476527104U == 1476535296U) && (1 == 8)) ? 1 : 0) ? 4 : 0) + ((((1476527104U == 1476526080U) && (1 == 7)) ? 1 : 0) ? 5 : 0) + ((((1476527104U == 1476529152U) && (1 == 13)) ? 1 : 0) ? 6 : 0) + ((((1476527104U == 1476527104U) && (1 == 4)) ? 1 : 0) ? 7 : 0) + ((((1476527104U == 1476527104U) && (1 == 8)) ? 1 : 0) ? 8 : 0) + ((((1476527104U == 1476527104U) && (1 == 9)) ? 1 : 0) ? 9 : 0) + ((((1476527104U == 1476536320U) && (1 == 1)) ? 1 : 0) ? 10 : 0) + ((((1476527104U == 1476535296U) && (1 == 10)) ? 1 : 0) ? 11 : 0) + ((((1476527104U == 1476535296U) && (1 == 11)) ? 1 : 0) ? 12 : 0) + ((((1476527104U == 1476533248U) && (1 == 6)) ? 1 : 0) ? 13 : 0) + ((((1476527104U == 1476532224U) && (1 == 14)) ? 1 : 0) ? 14 : 0) + ((((1476527104U == 1476528128U) && (1 == 7)) ? 1 : 0) ? 15 : 0) + ((((1476527104U == 1476533248U) && (1 == 13)) ? 1 : 0) ? 16 : 0) + ((((1476527104U == 1476534272U) && (1 == 9)) ? 1 : 0) ? 17 : 0) + ((((1476527104U == 1476529152U) && (1 == 5)) ? 1 : 0) ? 18 : 0) + ((((1476527104U == 1476529152U) && (1 == 6)) ? 1 : 0) ? 19 : 0) + ((((1476527104U == 1476527104U) && (1 == 11)) ? 1 : 0) ? 20 : 0) + ((((1476527104U == 1476533248U) && (1 == 4)) ? 1 : 0) ? 21 : 0) + ((((1476527104U == 1476535296U) && (1 == 12)) ? 1 : 0) ? 22 : 0) + ((((1476527104U == 1476532224U) && (1 == 13)) ? 1 : 0) ? 23 : 0) + ((((1476527104U == 1476532224U) && (1 == 12)) ? 1 : 0) ? 24 : 0) + ((((1476527104U == 1476535296U) && (1 == 0)) ? 1 : 0) ? 25 : 0) + ((((1476527104U == 1476535296U) && (1 == 14)) ? 1 : 0) ? 26 : 0) + ((((1476527104U == 1476535296U) && (1 == 1)) ? 1 : 0) ? 27 : 0) + ((((1476527104U == 1476535296U) && (1 == 15)) ? 1 : 0) ? 28 : 0) + ((((1476527104U == 1476535296U) && (1 == 2)) ? 1 : 0) ? 29 : 0) + ((((1476527104U == 1476536320U) && (1 == 3)) ? 1 : 0) ? 30 : 0) + ((((1476527104U == 1476535296U) && (1 == 3)) ? 1 : 0) ? 31 : 0) + ((((1476527104U == 1476536320U) && (1 == 4)) ? 1 : 0) ? 32 : 0) + ((((1476527104U == 1476535296U) && (1 == 4)) ? 1 : 0) ? 33 : 0) + ((((1476527104U == 1476536320U) && (1 == 5)) ? 1 : 0) ? 34 : 0) + ((((1476527104U == 1476535296U) && (1 == 5)) ? 1 : 0) ? 35 : 0) + ((((1476527104U == 1476536320U) && (1 == 6)) ? 1 : 0) ? 36 : 0) + ((((1476527104U == 1476535296U) && (1 == 6)) ? 1 : 0) ? 37 : 0) + ((((1476527104U == 1476535296U) && (1 == 7)) ? 1 : 0) ? 38 : 0) + ((((1476527104U == 1476534272U) && (1 == 14)) ? 1 : 0) ? 39 : 0) + ((((1476527104U == 1476530176U) && (1 == 6)) ? 1 : 0) ? 40 : 0) + ((((1476527104U == 1476536320U) && (1 == 7)) ? 1 : 0) ? 41 : 0) + ((((1476527104U == 1476534272U) && (1 == 15)) ? 1 : 0) ? 42 : 0) + ((((1476527104U == 1476534272U) && (1 == 10)) ? 1 : 0) ? 43 : 0) + ((((1476527104U == 1476532224U) && (1 == 10)) ? 1 : 0) ? 44 : 0) + ((((1476527104U == 1476534272U) && (1 == 13)) ? 1 : 0) ? 45 : 0) + ((((1476527104U == 1476533248U) && (1 == 15)) ? 1 : 0) ? 46 : 0) + ((((1476527104U == 1476527104U) && (1 == 2)) ? 1 : 0) ? 47 : 0) + ((((1476527104U == 1476536320U) && (1 == 0)) ? 1 : 0) ? 48 : 0) + ((((1476527104U == 1476530176U) && (1 == 4)) ? 1 : 0) ? 49 : 0) + ((((1476527104U == 1476534272U) && (1 == 11)) ? 1 : 0) ? 50 : 0) + ((((1476527104U == 1476530176U) && (1 == 5)) ? 1 : 0) ? 51 : 0) + ((((1476527104U == 1476536320U) && (1 == 2)) ? 1 : 0) ? 52 : 0) + ((((1476527104U == 1476532224U) && (1 == 7)) ? 1 : 0) ? 53 : 0) + ((((1476527104U == 1476534272U) && (1 == 5)) ? 1 : 0) ? 54 : 0) + ((((1476527104U == 1476533248U) && (1 == 8)) ? 1 : 0) ? 55 : 0) + ((((1476527104U == 1476526080U) && (1 == 6)) ? 1 : 0) ? 56 : 0) + ((((1476527104U == 1476535296U) && (1 == 9)) ? 1 : 0) ? 57 : 0) + ((((1476527104U == 1476534272U) && (1 == 7)) ? 1 : 0) ? 58 : 0) + ((((1476527104U == 1476534272U) && (1 == 6)) ? 1 : 0) ? 59 : 0) + ((((1476527104U == 1476534272U) && (1 == 4)) ? 1 : 0) ? 60 : 0) + ((((1476527104U == 1476533248U) && (1 == 14)) ? 1 : 0) ? 61 : 0) + ((((1476527104U == 1476532224U) && (1 == 11)) ? 1 : 0) ? 62 : 0) + ((((1476527104U == 1476533248U) && (1 == 11)) ? 1 : 0) ? 63 : 0) + ((((1476527104U == 1476533248U) && (1 == 10)) ? 1 : 0) ? 64 : 0) + ((((1476527104U == 1476533248U) && (1 == 9)) ? 1 : 0) ? 65 : 0) + ((((1476527104U == 1476526080U) && (1 == 1)) ? 1 : 0) ? 66 : 0) + ((((1476527104U == 1476529152U) && (1 == 4)) ? 1 : 0) ? 67 : 0) + ((((1476527104U == 1476528128U) && (1 == 6)) ? 1 : 0) ? 68 : 0) + ((((1476527104U == 1476534272U) && (1 == 0)) ? 1 : 0) ? 69 : 0) + ((((1476527104U == 1476534272U) && (1 == 1)) ? 1 : 0) ? 70 : 0) + ((((1476527104U == 1476534272U) && (1 == 2)) ? 1 : 0) ? 71 : 0) + ((((1476527104U == 1476534272U) && (1 == 3)) ? 1 : 0) ? 72 : 0) + ((((1476527104U == 1476528128U) && (1 == 1)) ? 1 : 0) ? 73 : 0) + ((((1476527104U == 1476527104U) && (1 == 12)) ? 1 : 0) ? 74 : 0) + ((((1476527104U == 1476529152U) && (1 == 3)) ? 1 : 0) ? 75 : 0) + ((((1476527104U == 1476528128U) && (1 == 4)) ? 1 : 0) ? 76 : 0) + ((((1476527104U == 1476528128U) && (1 == 5)) ? 1 : 0) ? 77 : 0) + ((((1476527104U == 1476527104U) && (1 == 0)) ? 1 : 0) ? 78 : 0) + ((((1476527104U == 1476527104U) && (1 == 1)) ? 1 : 0) ? 79 : 0) + ((((1476527104U == 1476528128U) && (1 == 3)) ? 1 : 0) ? 80 : 0) + ((((1476527104U == 1476528128U) && (1 == 2)) ? 1 : 0) ? 81 : 0) + ((((1476527104U == 1476528128U) && (1 == 0)) ? 1 : 0) ? 82 : 0) + ((((1476527104U == 1476526080U) && (1 == 0)) ? 1 : 0) ? 83 : 0) + ((((1476527104U == 1476526080U) && (1 == 4)) ? 1 : 0) ? 84 : 0) + ((((1476527104U == 1476526080U) && (1 == 5)) ? 1 : 0) ? 85 : 0) + ((((1476527104U == 1476534272U) && (1 == 12)) ? 1 : 0) ? 86 : 0) + ((((1476527104U == 1476535296U) && (1 == 13)) ? 1 : 0) ? 87 : 0) + ((((1476527104U == 1476530176U) && (1 == 3)) ? 1 : 0) ? 88 : 0) + ((((1476527104U == 1476532224U) && (1 == 9)) ? 1 : 0) ? 89 : 0) + ((((1476527104U == 1476529152U) && (1 == 7)) ? 1 : 0) ? 90 : 0) + ((((1476527104U == 1476527104U) && (1 == 3)) ? 1 : 0) ? 91 : 0) + ((((1476527104U == 1476526080U) && (1 == 15)) ? 1 : 0) ? 92 : 0) + ((((1476527104U == 1476527104U) && (1 == 5)) ? 1 : 0) ? 93 : 0) + ((((1476527104U == 1476527104U) && (1 == 13)) ? 1 : 0) ? 94 : 0) + ((((1476527104U == 1476527104U) && (1 == 6)) ? 1 : 0) ? 95 : 0) + ((((1476527104U == 1476533248U) && (1 == 12)) ? 1 : 0) ? 96 : 0) + ((((1476527104U == 3735928559U) && (1 == 0)) ? 1 : 0) ? 97 : 0) + ((((1476527104U == 3735928559U) && (1 == 1)) ? 1 : 0) ? 98 : 0) + ((((1476527104U == 3735928559U) && (1 == 2)) ? 1 : 0) ? 99 : 0) + ((((1476527104U == 3735928559U) && (1 == 3)) ? 1 : 0) ? 100 : 0), A4 = ((((1476528128U == 1476527104U) && (3 == 7)) ? 1 : 0) ? 0 : 0) + ((((1476528128U == 1476526080U) && (3 == 9)) ? 1 : 0) ? 1 : 0) + ((((1476528128U == 1476526080U) && (3 == 3)) ? 1 : 0) ? 2 : 0) + ((((1476528128U == 1476526080U) && (3 == 2)) ? 1 : 0) ? 3 : 0) + ((((1476528128U == 1476535296U) && (3 == 8)) ? 1 : 0) ? 4 : 0) + ((((1476528128U == 1476526080U) && (3 == 7)) ? 1 : 0) ? 5 : 0) + ((((1476528128U == 1476529152U) && (3 == 13)) ? 1 : 0) ? 6 : 0) + ((((1476528128U == 1476527104U) && (3 == 4)) ? 1 : 0) ? 7 : 0) + ((((1476528128U == 1476527104U) && (3 == 8)) ? 1 : 0) ? 8 : 0) + ((((1476528128U == 1476527104U) && (3 == 9)) ? 1 : 0) ? 9 : 0) + ((((1476528128U == 1476536320U) && (3 == 1)) ? 1 : 0) ? 10 : 0) + ((((1476528128U == 1476535296U) && (3 == 10)) ? 1 : 0) ? 11 : 0) + ((((1476528128U == 1476535296U) && (3 == 11)) ? 1 : 0) ? 12 : 0) + ((((1476528128U == 1476533248U) && (3 == 6)) ? 1 : 0) ? 13 : 0) + ((((1476528128U == 1476532224U) && (3 == 14)) ? 1 : 0) ? 14 : 0) + ((((1476528128U == 1476528128U) && (3 == 7)) ? 1 : 0) ? 15 : 0) + ((((1476528128U == 1476533248U) && (3 == 13)) ? 1 : 0) ? 16 : 0) + ((((1476528128U == 1476534272U) && (3 == 9)) ? 1 : 0) ? 17 : 0) + ((((1476528128U == 1476529152U) && (3 == 5)) ? 1 : 0) ? 18 : 0) + ((((1476528128U == 1476529152U) && (3 == 6)) ? 1 : 0) ? 19 : 0) + ((((1476528128U == 1476527104U) && (3 == 11)) ? 1 : 0) ? 20 : 0) + ((((1476528128U == 1476533248U) && (3 == 4)) ? 1 : 0) ? 21 : 0) + ((((1476528128U == 1476535296U) && (3 == 12)) ? 1 : 0) ? 22 : 0) + ((((1476528128U == 1476532224U) && (3 == 13)) ? 1 : 0) ? 23 : 0) + ((((1476528128U == 1476532224U) && (3 == 12)) ? 1 : 0) ? 24 : 0) + ((((1476528128U == 1476535296U) && (3 == 0)) ? 1 : 0) ? 25 : 0) + ((((1476528128U == 1476535296U) && (3 == 14)) ? 1 : 0) ? 26 : 0) + ((((1476528128U == 1476535296U) && (3 == 1)) ? 1 : 0) ? 27 : 0) + ((((1476528128U == 1476535296U) && (3 == 15)) ? 1 : 0) ? 28 : 0) + ((((1476528128U == 1476535296U) && (3 == 2)) ? 1 : 0) ? 29 : 0) + ((((1476528128U == 1476536320U) && (3 == 3)) ? 1 : 0) ? 30 : 0) + ((((1476528128U == 1476535296U) && (3 == 3)) ? 1 : 0) ? 31 : 0) + ((((1476528128U == 1476536320U) && (3 == 4)) ? 1 : 0) ? 32 : 0) + ((((1476528128U == 1476535296U) && (3 == 4)) ? 1 : 0) ? 33 : 0) + ((((1476528128U == 1476536320U) && (3 == 5)) ? 1 : 0) ? 34 : 0) + ((((1476528128U == 1476535296U) && (3 == 5)) ? 1 : 0) ? 35 : 0) + ((((1476528128U == 1476536320U) && (3 == 6)) ? 1 : 0) ? 36 : 0) + ((((1476528128U == 1476535296U) && (3 == 6)) ? 1 : 0) ? 37 : 0) + ((((1476528128U == 1476535296U) && (3 == 7)) ? 1 : 0) ? 38 : 0) + ((((1476528128U == 1476534272U) && (3 == 14)) ? 1 : 0) ? 39 : 0) + ((((1476528128U == 1476530176U) && (3 == 6)) ? 1 : 0) ? 40 : 0) + ((((1476528128U == 1476536320U) && (3 == 7)) ? 1 : 0) ? 41 : 0) + ((((1476528128U == 1476534272U) && (3 == 15)) ? 1 : 0) ? 42 : 0) + ((((1476528128U == 1476534272U) && (3 == 10)) ? 1 : 0) ? 43 : 0) + ((((1476528128U == 1476532224U) && (3 == 10)) ? 1 : 0) ? 44 : 0) + ((((1476528128U == 1476534272U) && (3 == 13)) ? 1 : 0) ? 45 : 0) + ((((1476528128U == 1476533248U) && (3 == 15)) ? 1 : 0) ? 46 : 0) + ((((1476528128U == 1476527104U) && (3 == 2)) ? 1 : 0) ? 47 : 0) + ((((1476528128U == 1476536320U) && (3 == 0)) ? 1 : 0) ? 48 : 0) + ((((1476528128U == 1476530176U) && (3 == 4)) ? 1 : 0) ? 49 : 0) + ((((1476528128U == 1476534272U) && (3 == 11)) ? 1 : 0) ? 50 : 0) + ((((1476528128U == 1476530176U) && (3 == 5)) ? 1 : 0) ? 51 : 0) + ((((1476528128U == 1476536320U) && (3 == 2)) ? 1 : 0) ? 52 : 0) + ((((1476528128U == 1476532224U) && (3 == 7)) ? 1 : 0) ? 53 : 0) + ((((1476528128U == 1476534272U) && (3 == 5)) ? 1 : 0) ? 54 : 0) + ((((1476528128U == 1476533248U) && (3 == 8)) ? 1 : 0) ? 55 : 0) + ((((1476528128U == 1476526080U) && (3 == 6)) ? 1 : 0) ? 56 : 0) + ((((1476528128U == 1476535296U) && (3 == 9)) ? 1 : 0) ? 57 : 0) + ((((1476528128U == 1476534272U) && (3 == 7)) ? 1 : 0) ? 58 : 0) + ((((1476528128U == 1476534272U) && (3 == 6)) ? 1 : 0) ? 59 : 0) + ((((1476528128U == 1476534272U) && (3 == 4)) ? 1 : 0) ? 60 : 0) + ((((1476528128U == 1476533248U) && (3 == 14)) ? 1 : 0) ? 61 : 0) + ((((1476528128U == 1476532224U) && (3 == 11)) ? 1 : 0) ? 62 : 0) + ((((1476528128U == 1476533248U) && (3 == 11)) ? 1 : 0) ? 63 : 0) + ((((1476528128U == 1476533248U) && (3 == 10)) ? 1 : 0) ? 64 : 0) + ((((1476528128U == 1476533248U) && (3 == 9)) ? 1 : 0) ? 65 : 0) + ((((1476528128U == 1476526080U) && (3 == 1)) ? 1 : 0) ? 66 : 0) + ((((1476528128U == 1476529152U) && (3 == 4)) ? 1 : 0) ? 67 : 0) + ((((1476528128U == 1476528128U) && (3 == 6)) ? 1 : 0) ? 68 : 0) + ((((1476528128U == 1476534272U) && (3 == 0)) ? 1 : 0) ? 69 : 0) + ((((1476528128U == 1476534272U) && (3 == 1)) ? 1 : 0) ? 70 : 0) + ((((1476528128U == 1476534272U) && (3 == 2)) ? 1 : 0) ? 71 : 0) + ((((1476528128U == 1476534272U) && (3 == 3)) ? 1 : 0) ? 72 : 0) + ((((1476528128U == 1476528128U) && (3 == 1)) ? 1 : 0) ? 73 : 0) + ((((1476528128U == 1476527104U) && (3 == 12)) ? 1 : 0) ? 74 : 0) + ((((1476528128U == 1476529152U) && (3 == 3)) ? 1 : 0) ? 75 : 0) + ((((1476528128U == 1476528128U) && (3 == 4)) ? 1 : 0) ? 76 : 0) + ((((1476528128U == 1476528128U) && (3 == 5)) ? 1 : 0) ? 77 : 0) + ((((1476528128U == 1476527104U) && (3 == 0)) ? 1 : 0) ? 78 : 0) + ((((1476528128U == 1476527104U) && (3 == 1)) ? 1 : 0) ? 79 : 0) + ((((1476528128U == 1476528128U) && (3 == 3)) ? 1 : 0) ? 80 : 0) + ((((1476528128U == 1476528128U) && (3 == 2)) ? 1 : 0) ? 81 : 0) + ((((1476528128U == 1476528128U) && (3 == 0)) ? 1 : 0) ? 82 : 0) + ((((1476528128U == 1476526080U) && (3 == 0)) ? 1 : 0) ? 83 : 0) + ((((1476528128U == 1476526080U) && (3 == 4)) ? 1 : 0) ? 84 : 0) + ((((1476528128U == 1476526080U) && (3 == 5)) ? 1 : 0) ? 85 : 0) + ((((1476528128U == 1476534272U) && (3 == 12)) ? 1 : 0) ? 86 : 0) + ((((1476528128U == 1476535296U) && (3 == 13)) ? 1 : 0) ? 87 : 0) + ((((1476528128U == 1476530176U) && (3 == 3)) ? 1 : 0) ? 88 : 0) + ((((1476528128U == 1476532224U) && (3 == 9)) ? 1 : 0) ? 89 : 0) + ((((1476528128U == 1476529152U) && (3 == 7)) ? 1 : 0) ? 90 : 0) + ((((1476528128U == 1476527104U) && (3 == 3)) ? 1 : 0) ? 91 : 0) + ((((1476528128U == 1476526080U) && (3 == 15)) ? 1 : 0) ? 92 : 0) + ((((1476528128U == 1476527104U) && (3 == 5)) ? 1 : 0) ? 93 : 0) + ((((1476528128U == 1476527104U) && (3 == 13)) ? 1 : 0) ? 94 : 0) + ((((1476528128U == 1476527104U) && (3 == 6)) ? 1 : 0) ? 95 : 0) + ((((1476528128U == 1476533248U) && (3 == 12)) ? 1 : 0) ? 96 : 0) + ((((1476528128U == 3735928559U) && (3 == 0)) ? 1 : 0) ? 97 : 0) + ((((1476528128U == 3735928559U) && (3 == 1)) ? 1 : 0) ? 98 : 0) + ((((1476528128U == 3735928559U) && (3 == 2)) ? 1 : 0) ? 99 : 0) + ((((1476528128U == 3735928559U) && (3 == 3)) ? 1 : 0) ? 100 : 0), A5 = ((((1476528128U == 1476527104U) && (2 == 7)) ? 1 : 0) ? 0 : 0) + ((((1476528128U == 1476526080U) && (2 == 9)) ? 1 : 0) ? 1 : 0) + ((((1476528128U == 1476526080U) && (2 == 3)) ? 1 : 0) ? 2 : 0) + ((((1476528128U == 1476526080U) && (2 == 2)) ? 1 : 0) ? 3 : 0) + ((((1476528128U == 1476535296U) && (2 == 8)) ? 1 : 0) ? 4 : 0) + ((((1476528128U == 1476526080U) && (2 == 7)) ? 1 : 0) ? 5 : 0) + ((((1476528128U == 1476529152U) && (2 == 13)) ? 1 : 0) ? 6 : 0) + ((((1476528128U == 1476527104U) && (2 == 4)) ? 1 : 0) ? 7 : 0) + ((((1476528128U == 1476527104U) && (2 == 8)) ? 1 : 0) ? 8 : 0) + ((((1476528128U == 1476527104U) && (2 == 9)) ? 1 : 0) ? 9 : 0) + ((((1476528128U == 1476536320U) && (2 == 1)) ? 1 : 0) ? 10 : 0) + ((((1476528128U == 1476535296U) && (2 == 10)) ? 1 : 0) ? 11 : 0) + ((((1476528128U == 1476535296U) && (2 == 11)) ? 1 : 0) ? 12 : 0) + ((((1476528128U == 1476533248U) && (2 == 6)) ? 1 : 0) ? 13 : 0) + ((((1476528128U == 1476532224U) && (2 == 14)) ? 1 : 0) ? 14 : 0) + ((((1476528128U == 1476528128U) && (2 == 7)) ? 1 : 0) ? 15 : 0) + ((((1476528128U == 1476533248U) && (2 == 13)) ? 1 : 0) ? 16 : 0) + ((((1476528128U == 1476534272U) && (2 == 9)) ? 1 : 0) ? 17 : 0) + ((((1476528128U == 1476529152U) && (2 == 5)) ? 1 : 0) ? 18 : 0) + ((((1476528128U == 1476529152U) && (2 == 6)) ? 1 : 0) ? 19 : 0) + ((((1476528128U == 1476527104U) && (2 == 11)) ? 1 : 0) ? 20 : 0) + ((((1476528128U == 1476533248U) && (2 == 4)) ? 1 : 0) ? 21 : 0) + ((((1476528128U == 1476535296U) && (2 == 12)) ? 1 : 0) ? 22 : 0) + ((((1476528128U == 1476532224U) && (2 == 13)) ? 1 : 0) ? 23 : 0) + ((((1476528128U == 1476532224U) && (2 == 12)) ? 1 : 0) ? 24 : 0) + ((((1476528128U == 1476535296U) && (2 == 0)) ? 1 : 0) ? 25 : 0) + ((((1476528128U == 1476535296U) && (2 == 14)) ? 1 : 0) ? 26 : 0) + ((((1476528128U == 1476535296U) && (2 == 1)) ? 1 : 0) ? 27 : 0) + ((((1476528128U == 1476535296U) && (2 == 15)) ? 1 : 0) ? 28 : 0) + ((((1476528128U == 1476535296U) && (2 == 2)) ? 1 : 0) ? 29 : 0) + ((((1476528128U == 1476536320U) && (2 == 3)) ? 1 : 0) ? 30 : 0) + ((((1476528128U == 1476535296U) && (2 == 3)) ? 1 : 0) ? 31 : 0) + ((((1476528128U == 1476536320U) && (2 == 4)) ? 1 : 0) ? 32 : 0) + ((((1476528128U == 1476535296U) && (2 == 4)) ? 1 : 0) ? 33 : 0) + ((((1476528128U == 1476536320U) && (2 == 5)) ? 1 : 0) ? 34 : 0) + ((((1476528128U == 1476535296U) && (2 == 5)) ? 1 : 0) ? 35 : 0) + ((((1476528128U == 1476536320U) && (2 == 6)) ? 1 : 0) ? 36 : 0) + ((((1476528128U == 1476535296U) && (2 == 6)) ? 1 : 0) ? 37 : 0) + ((((1476528128U == 1476535296U) && (2 == 7)) ? 1 : 0) ? 38 : 0) + ((((1476528128U == 1476534272U) && (2 == 14)) ? 1 : 0) ? 39 : 0) + ((((1476528128U == 1476530176U) && (2 == 6)) ? 1 : 0) ? 40 : 0) + ((((1476528128U == 1476536320U) && (2 == 7)) ? 1 : 0) ? 41 : 0) + ((((1476528128U == 1476534272U) && (2 == 15)) ? 1 : 0) ? 42 : 0) + ((((1476528128U == 1476534272U) && (2 == 10)) ? 1 : 0) ? 43 : 0) + ((((1476528128U == 1476532224U) && (2 == 10)) ? 1 : 0) ? 44 : 0) + ((((1476528128U == 1476534272U) && (2 == 13)) ? 1 : 0) ? 45 : 0) + ((((1476528128U == 1476533248U) && (2 == 15)) ? 1 : 0) ? 46 : 0) + ((((1476528128U == 1476527104U) && (2 == 2)) ? 1 : 0) ? 47 : 0) + ((((1476528128U == 1476536320U) && (2 == 0)) ? 1 : 0) ? 48 : 0) + ((((1476528128U == 1476530176U) && (2 == 4)) ? 1 : 0) ? 49 : 0) + ((((1476528128U == 1476534272U) && (2 == 11)) ? 1 : 0) ? 50 : 0) + ((((1476528128U == 1476530176U) && (2 == 5)) ? 1 : 0) ? 51 : 0) + ((((1476528128U == 1476536320U) && (2 == 2)) ? 1 : 0) ? 52 : 0) + ((((1476528128U == 1476532224U) && (2 == 7)) ? 1 : 0) ? 53 : 0) + ((((1476528128U == 1476534272U) && (2 == 5)) ? 1 : 0) ? 54 : 0) + ((((1476528128U == 1476533248U) && (2 == 8)) ? 1 : 0) ? 55 : 0) + ((((1476528128U == 1476526080U) && (2 == 6)) ? 1 : 0) ? 56 : 0) + ((((1476528128U == 1476535296U) && (2 == 9)) ? 1 : 0) ? 57 : 0) + ((((1476528128U == 1476534272U) && (2 == 7)) ? 1 : 0) ? 58 : 0) + ((((1476528128U == 1476534272U) && (2 == 6)) ? 1 : 0) ? 59 : 0) + ((((1476528128U == 1476534272U) && (2 == 4)) ? 1 : 0) ? 60 : 0) + ((((1476528128U == 1476533248U) && (2 == 14)) ? 1 : 0) ? 61 : 0) + ((((1476528128U == 1476532224U) && (2 == 11)) ? 1 : 0) ? 62 : 0) + ((((1476528128U == 1476533248U) && (2 == 11)) ? 1 : 0) ? 63 : 0) + ((((1476528128U == 1476533248U) && (2 == 10)) ? 1 : 0) ? 64 : 0) + ((((1476528128U == 1476533248U) && (2 == 9)) ? 1 : 0) ? 65 : 0) + ((((1476528128U == 1476526080U) && (2 == 1)) ? 1 : 0) ? 66 : 0) + ((((1476528128U == 1476529152U) && (2 == 4)) ? 1 : 0) ? 67 : 0) + ((((1476528128U == 1476528128U) && (2 == 6)) ? 1 : 0) ? 68 : 0) + ((((1476528128U == 1476534272U) && (2 == 0)) ? 1 : 0) ? 69 : 0) + ((((1476528128U == 1476534272U) && (2 == 1)) ? 1 : 0) ? 70 : 0) + ((((1476528128U == 1476534272U) && (2 == 2)) ? 1 : 0) ? 71 : 0) + ((((1476528128U == 1476534272U) && (2 == 3)) ? 1 : 0) ? 72 : 0) + ((((1476528128U == 1476528128U) && (2 == 1)) ? 1 : 0) ? 73 : 0) + ((((1476528128U == 1476527104U) && (2 == 12)) ? 1 : 0) ? 74 : 0) + ((((1476528128U == 1476529152U) && (2 == 3)) ? 1 : 0) ? 75 : 0) + ((((1476528128U == 1476528128U) && (2 == 4)) ? 1 : 0) ? 76 : 0) + ((((1476528128U == 1476528128U) && (2 == 5)) ? 1 : 0) ? 77 : 0) + ((((1476528128U == 1476527104U) && (2 == 0)) ? 1 : 0) ? 78 : 0) + ((((1476528128U == 1476527104U) && (2 == 1)) ? 1 : 0) ? 79 : 0) + ((((1476528128U == 1476528128U) && (2 == 3)) ? 1 : 0) ? 80 : 0) + ((((1476528128U == 1476528128U) && (2 == 2)) ? 1 : 0) ? 81 : 0) + ((((1476528128U == 1476528128U) && (2 == 0)) ? 1 : 0) ? 82 : 0) + ((((1476528128U == 1476526080U) && (2 == 0)) ? 1 : 0) ? 83 : 0) + ((((1476528128U == 1476526080U) && (2 == 4)) ? 1 : 0) ? 84 : 0) + ((((1476528128U == 1476526080U) && (2 == 5)) ? 1 : 0) ? 85 : 0) + ((((1476528128U == 1476534272U) && (2 == 12)) ? 1 : 0) ? 86 : 0) + ((((1476528128U == 1476535296U) && (2 == 13)) ? 1 : 0) ? 87 : 0) + ((((1476528128U == 1476530176U) && (2 == 3)) ? 1 : 0) ? 88 : 0) + ((((1476528128U == 1476532224U) && (2 == 9)) ? 1 : 0) ? 89 : 0) + ((((1476528128U == 1476529152U) && (2 == 7)) ? 1 : 0) ? 90 : 0) + ((((1476528128U == 1476527104U) && (2 == 3)) ? 1 : 0) ? 91 : 0) + ((((1476528128U == 1476526080U) && (2 == 15)) ? 1 : 0) ? 92 : 0) + ((((1476528128U == 1476527104U) && (2 == 5)) ? 1 : 0) ? 93 : 0) + ((((1476528128U == 1476527104U) && (2 == 13)) ? 1 : 0) ? 94 : 0) + ((((1476528128U == 1476527104U) && (2 == 6)) ? 1 : 0) ? 95 : 0) + ((((1476528128U == 1476533248U) && (2 == 12)) ? 1 : 0) ? 96 : 0) + ((((1476528128U == 3735928559U) && (2 == 0)) ? 1 : 0) ? 97 : 0) + ((((1476528128U == 3735928559U) && (2 == 1)) ? 1 : 0) ? 98 : 0) + ((((1476528128U == 3735928559U) && (2 == 2)) ? 1 : 0) ? 99 : 0) + ((((1476528128U == 3735928559U) && (2 == 3)) ? 1 : 0) ? 100 : 0), A6 = ((((1476528128U == 1476527104U) && (0 == 7)) ? 1 : 0) ? 0 : 0) + ((((1476528128U == 1476526080U) && (0 == 9)) ? 1 : 0) ? 1 : 0) + ((((1476528128U == 1476526080U) && (0 == 3)) ? 1 : 0) ? 2 : 0) + ((((1476528128U == 1476526080U) && (0 == 2)) ? 1 : 0) ? 3 : 0) + ((((1476528128U == 1476535296U) && (0 == 8)) ? 1 : 0) ? 4 : 0) + ((((1476528128U == 1476526080U) && (0 == 7)) ? 1 : 0) ? 5 : 0) + ((((1476528128U == 1476529152U) && (0 == 13)) ? 1 : 0) ? 6 : 0) + ((((1476528128U == 1476527104U) && (0 == 4)) ? 1 : 0) ? 7 : 0) + ((((1476528128U == 1476527104U) && (0 == 8)) ? 1 : 0) ? 8 : 0) + ((((1476528128U == 1476527104U) && (0 == 9)) ? 1 : 0) ? 9 : 0) + ((((1476528128U == 1476536320U) && (0 == 1)) ? 1 : 0) ? 10 : 0) + ((((1476528128U == 1476535296U) && (0 == 10)) ? 1 : 0) ? 11 : 0) + ((((1476528128U == 1476535296U) && (0 == 11)) ? 1 : 0) ? 12 : 0) + ((((1476528128U == 1476533248U) && (0 == 6)) ? 1 : 0) ? 13 : 0) + ((((1476528128U == 1476532224U) && (0 == 14)) ? 1 : 0) ? 14 : 0) + ((((1476528128U == 1476528128U) && (0 == 7)) ? 1 : 0) ? 15 : 0) + ((((1476528128U == 1476533248U) && (0 == 13)) ? 1 : 0) ? 16 : 0) + ((((1476528128U == 1476534272U) && (0 == 9)) ? 1 : 0) ? 17 : 0) + ((((1476528128U == 1476529152U) && (0 == 5)) ? 1 : 0) ? 18 : 0) + ((((1476528128U == 1476529152U) && (0 == 6)) ? 1 : 0) ? 19 : 0) + ((((1476528128U == 1476527104U) && (0 == 11)) ? 1 : 0) ? 20 : 0) + ((((1476528128U == 1476533248U) && (0 == 4)) ? 1 : 0) ? 21 : 0) + ((((1476528128U == 1476535296U) && (0 == 12)) ? 1 : 0) ? 22 : 0) + ((((1476528128U == 1476532224U) && (0 == 13)) ? 1 : 0) ? 23 : 0) + ((((1476528128U == 1476532224U) && (0 == 12)) ? 1 : 0) ? 24 : 0) + ((((1476528128U == 1476535296U) && (0 == 0)) ? 1 : 0) ? 25 : 0) + ((((1476528128U == 1476535296U) && (0 == 14)) ? 1 : 0) ? 26 : 0) + ((((1476528128U == 1476535296U) && (0 == 1)) ? 1 : 0) ? 27 : 0) + ((((1476528128U == 1476535296U) && (0 == 15)) ? 1 : 0) ? 28 : 0) + ((((1476528128U == 1476535296U) && (0 == 2)) ? 1 : 0) ? 29 : 0) + ((((1476528128U == 1476536320U) && (0 == 3)) ? 1 : 0) ? 30 : 0) + ((((1476528128U == 1476535296U) && (0 == 3)) ? 1 : 0) ? 31 : 0) + ((((1476528128U == 1476536320U) && (0 == 4)) ? 1 : 0) ? 32 : 0) + ((((1476528128U == 1476535296U) && (0 == 4)) ? 1 : 0) ? 33 : 0) + ((((1476528128U == 1476536320U) && (0 == 5)) ? 1 : 0) ? 34 : 0) + ((((1476528128U == 1476535296U) && (0 == 5)) ? 1 : 0) ? 35 : 0) + ((((1476528128U == 1476536320U) && (0 == 6)) ? 1 : 0) ? 36 : 0) + ((((1476528128U == 1476535296U) && (0 == 6)) ? 1 : 0) ? 37 : 0) + ((((1476528128U == 1476535296U) && (0 == 7)) ? 1 : 0) ? 38 : 0) + ((((1476528128U == 1476534272U) && (0 == 14)) ? 1 : 0) ? 39 : 0) + ((((1476528128U == 1476530176U) && (0 == 6)) ? 1 : 0) ? 40 : 0) + ((((1476528128U == 1476536320U) && (0 == 7)) ? 1 : 0) ? 41 : 0) + ((((1476528128U == 1476534272U) && (0 == 15)) ? 1 : 0) ? 42 : 0) + ((((1476528128U == 1476534272U) && (0 == 10)) ? 1 : 0) ? 43 : 0) + ((((1476528128U == 1476532224U) && (0 == 10)) ? 1 : 0) ? 44 : 0) + ((((1476528128U == 1476534272U) && (0 == 13)) ? 1 : 0) ? 45 : 0) + ((((1476528128U == 1476533248U) && (0 == 15)) ? 1 : 0) ? 46 : 0) + ((((1476528128U == 1476527104U) && (0 == 2)) ? 1 : 0) ? 47 : 0) + ((((1476528128U == 1476536320U) && (0 == 0)) ? 1 : 0) ? 48 : 0) + ((((1476528128U == 1476530176U) && (0 == 4)) ? 1 : 0) ? 49 : 0) + ((((1476528128U == 1476534272U) && (0 == 11)) ? 1 : 0) ? 50 : 0) + ((((1476528128U == 1476530176U) && (0 == 5)) ? 1 : 0) ? 51 : 0) + ((((1476528128U == 1476536320U) && (0 == 2)) ? 1 : 0) ? 52 : 0) + ((((1476528128U == 1476532224U) && (0 == 7)) ? 1 : 0) ? 53 : 0) + ((((1476528128U == 1476534272U) && (0 == 5)) ? 1 : 0) ? 54 : 0) + ((((1476528128U == 1476533248U) && (0 == 8)) ? 1 : 0) ? 55 : 0) + ((((1476528128U == 1476526080U) && (0 == 6)) ? 1 : 0) ? 56 : 0) + ((((1476528128U == 1476535296U) && (0 == 9)) ? 1 : 0) ? 57 : 0) + ((((1476528128U == 1476534272U) && (0 == 7)) ? 1 : 0) ? 58 : 0) + ((((1476528128U == 1476534272U) && (0 == 6)) ? 1 : 0) ? 59 : 0) + ((((1476528128U == 1476534272U) && (0 == 4)) ? 1 : 0) ? 60 : 0) + ((((1476528128U == 1476533248U) && (0 == 14)) ? 1 : 0) ? 61 : 0) + ((((1476528128U == 1476532224U) && (0 == 11)) ? 1 : 0) ? 62 : 0) + ((((1476528128U == 1476533248U) && (0 == 11)) ? 1 : 0) ? 63 : 0) + ((((1476528128U == 1476533248U) && (0 == 10)) ? 1 : 0) ? 64 : 0) + ((((1476528128U == 1476533248U) && (0 == 9)) ? 1 : 0) ? 65 : 0) + ((((1476528128U == 1476526080U) && (0 == 1)) ? 1 : 0) ? 66 : 0) + ((((1476528128U == 1476529152U) && (0 == 4)) ? 1 : 0) ? 67 : 0) + ((((1476528128U == 1476528128U) && (0 == 6)) ? 1 : 0) ? 68 : 0) + ((((1476528128U == 1476534272U) && (0 == 0)) ? 1 : 0) ? 69 : 0) + ((((1476528128U == 1476534272U) && (0 == 1)) ? 1 : 0) ? 70 : 0) + ((((1476528128U == 1476534272U) && (0 == 2)) ? 1 : 0) ? 71 : 0) + ((((1476528128U == 1476534272U) && (0 == 3)) ? 1 : 0) ? 72 : 0) + ((((1476528128U == 1476528128U) && (0 == 1)) ? 1 : 0) ? 73 : 0) + ((((1476528128U == 1476527104U) && (0 == 12)) ? 1 : 0) ? 74 : 0) + ((((1476528128U == 1476529152U) && (0 == 3)) ? 1 : 0) ? 75 : 0) + ((((1476528128U == 1476528128U) && (0 == 4)) ? 1 : 0) ? 76 : 0) + ((((1476528128U == 1476528128U) && (0 == 5)) ? 1 : 0) ? 77 : 0) + ((((1476528128U == 1476527104U) && (0 == 0)) ? 1 : 0) ? 78 : 0) + ((((1476528128U == 1476527104U) && (0 == 1)) ? 1 : 0) ? 79 : 0) + ((((1476528128U == 1476528128U) && (0 == 3)) ? 1 : 0) ? 80 : 0) + ((((1476528128U == 1476528128U) && (0 == 2)) ? 1 : 0) ? 81 : 0) + ((((1476528128U == 1476528128U) && (0 == 0)) ? 1 : 0) ? 82 : 0) + ((((1476528128U == 1476526080U) && (0 == 0)) ? 1 : 0) ? 83 : 0) + ((((1476528128U == 1476526080U) && (0 == 4)) ? 1 : 0) ? 84 : 0) + ((((1476528128U == 1476526080U) && (0 == 5)) ? 1 : 0) ? 85 : 0) + ((((1476528128U == 1476534272U) && (0 == 12)) ? 1 : 0) ? 86 : 0) + ((((1476528128U == 1476535296U) && (0 == 13)) ? 1 : 0) ? 87 : 0) + ((((1476528128U == 1476530176U) && (0 == 3)) ? 1 : 0) ? 88 : 0) + ((((1476528128U == 1476532224U) && (0 == 9)) ? 1 : 0) ? 89 : 0) + ((((1476528128U == 1476529152U) && (0 == 7)) ? 1 : 0) ? 90 : 0) + ((((1476528128U == 1476527104U) && (0 == 3)) ? 1 : 0) ? 91 : 0) + ((((1476528128U == 1476526080U) && (0 == 15)) ? 1 : 0) ? 92 : 0) + ((((1476528128U == 1476527104U) && (0 == 5)) ? 1 : 0) ? 93 : 0) + ((((1476528128U == 1476527104U) && (0 == 13)) ? 1 : 0) ? 94 : 0) + ((((1476528128U == 1476527104U) && (0 == 6)) ? 1 : 0) ? 95 : 0) + ((((1476528128U == 1476533248U) && (0 == 12)) ? 1 : 0) ? 96 : 0) + ((((1476528128U == 3735928559U) && (0 == 0)) ? 1 : 0) ? 97 : 0) + ((((1476528128U == 3735928559U) && (0 == 1)) ? 1 : 0) ? 98 : 0) + ((((1476528128U == 3735928559U) && (0 == 2)) ? 1 : 0) ? 99 : 0) + ((((1476528128U == 3735928559U) && (0 == 3)) ? 1 : 0) ? 100 : 0), A7 = ((((1476526080U == 1476527104U) && (0 == 7)) ? 1 : 0) ? 0 : 0) + ((((1476526080U == 1476526080U) && (0 == 9)) ? 1 : 0) ? 1 : 0) + ((((1476526080U == 1476526080U) && (0 == 3)) ? 1 : 0) ? 2 : 0) + ((((1476526080U == 1476526080U) && (0 == 2)) ? 1 : 0) ? 3 : 0) + ((((1476526080U == 1476535296U) && (0 == 8)) ? 1 : 0) ? 4 : 0) + ((((1476526080U == 1476526080U) && (0 == 7)) ? 1 : 0) ? 5 : 0) + ((((1476526080U == 1476529152U) && (0 == 13)) ? 1 : 0) ? 6 : 0) + ((((1476526080U == 1476527104U) && (0 == 4)) ? 1 : 0) ? 7 : 0) + ((((1476526080U == 1476527104U) && (0 == 8)) ? 1 : 0) ? 8 : 0) + ((((1476526080U == 1476527104U) && (0 == 9)) ? 1 : 0) ? 9 : 0) + ((((1476526080U == 1476536320U) && (0 == 1)) ? 1 : 0) ? 10 : 0) + ((((1476526080U == 1476535296U) && (0 == 10)) ? 1 : 0) ? 11 : 0) + ((((1476526080U == 1476535296U) && (0 == 11)) ? 1 : 0) ? 12 : 0) + ((((1476526080U == 1476533248U) && (0 == 6)) ? 1 : 0) ? 13 : 0) + ((((1476526080U == 1476532224U) && (0 == 14)) ? 1 : 0) ? 14 : 0) + ((((1476526080U == 1476528128U) && (0 == 7)) ? 1 : 0) ? 15 : 0) + ((((1476526080U == 1476533248U) && (0 == 13)) ? 1 : 0) ? 16 : 0) + ((((1476526080U == 1476534272U) && (0 == 9)) ? 1 : 0) ? 17 : 0) + ((((1476526080U == 1476529152U) && (0 == 5)) ? 1 : 0) ? 18 : 0) + ((((1476526080U == 1476529152U) && (0 == 6)) ? 1 : 0) ? 19 : 0) + ((((1476526080U == 1476527104U) && (0 == 11)) ? 1 : 0) ? 20 : 0) + ((((1476526080U == 1476533248U) && (0 == 4)) ? 1 : 0) ? 21 : 0) + ((((1476526080U == 1476535296U) && (0 == 12)) ? 1 : 0) ? 22 : 0) + ((((1476526080U == 1476532224U) && (0 == 13)) ? 1 : 0) ? 23 : 0) + ((((1476526080U == 1476532224U) && (0 == 12)) ? 1 : 0) ? 24 : 0) + ((((1476526080U == 1476535296U) && (0 == 0)) ? 1 : 0) ? 25 : 0) + ((((1476526080U == 1476535296U) && (0 == 14)) ? 1 : 0) ? 26 : 0) + ((((1476526080U == 1476535296U) && (0 == 1)) ? 1 : 0) ? 27 : 0) + ((((1476526080U == 1476535296U) && (0 == 15)) ? 1 : 0) ? 28 : 0) + ((((1476526080U == 1476535296U) && (0 == 2)) ? 1 : 0) ? 29 : 0) + ((((1476526080U == 1476536320U) && (0 == 3)) ? 1 : 0) ? 30 : 0) + ((((1476526080U == 1476535296U) && (0 == 3)) ? 1 : 0) ? 31 : 0) + ((((1476526080U == 1476536320U) && (0 == 4)) ? 1 : 0) ? 32 : 0) + ((((1476526080U == 1476535296U) && (0 == 4)) ? 1 : 0) ? 33 : 0) + ((((1476526080U == 1476536320U) && (0 == 5)) ? 1 : 0) ? 34 : 0) + ((((1476526080U == 1476535296U) && (0 == 5)) ? 1 : 0) ? 35 : 0) + ((((1476526080U == 1476536320U) && (0 == 6)) ? 1 : 0) ? 36 : 0) + ((((1476526080U == 1476535296U) && (0 == 6)) ? 1 : 0) ? 37 : 0) + ((((1476526080U == 1476535296U) && (0 == 7)) ? 1 : 0) ? 38 : 0) + ((((1476526080U == 1476534272U) && (0 == 14)) ? 1 : 0) ? 39 : 0) + ((((1476526080U == 1476530176U) && (0 == 6)) ? 1 : 0) ? 40 : 0) + ((((1476526080U == 1476536320U) && (0 == 7)) ? 1 : 0) ? 41 : 0) + ((((1476526080U == 1476534272U) && (0 == 15)) ? 1 : 0) ? 42 : 0) + ((((1476526080U == 1476534272U) && (0 == 10)) ? 1 : 0) ? 43 : 0) + ((((1476526080U == 1476532224U) && (0 == 10)) ? 1 : 0) ? 44 : 0) + ((((1476526080U == 1476534272U) && (0 == 13)) ? 1 : 0) ? 45 : 0) + ((((1476526080U == 1476533248U) && (0 == 15)) ? 1 : 0) ? 46 : 0) + ((((1476526080U == 1476527104U) && (0 == 2)) ? 1 : 0) ? 47 : 0) + ((((1476526080U == 1476536320U) && (0 == 0)) ? 1 : 0) ? 48 : 0) + ((((1476526080U == 1476530176U) && (0 == 4)) ? 1 : 0) ? 49 : 0) + ((((1476526080U == 1476534272U) && (0 == 11)) ? 1 : 0) ? 50 : 0) + ((((1476526080U == 1476530176U) && (0 == 5)) ? 1 : 0) ? 51 : 0) + ((((1476526080U == 1476536320U) && (0 == 2)) ? 1 : 0) ? 52 : 0) + ((((1476526080U == 1476532224U) && (0 == 7)) ? 1 : 0) ? 53 : 0) + ((((1476526080U == 1476534272U) && (0 == 5)) ? 1 : 0) ? 54 : 0) + ((((1476526080U == 1476533248U) && (0 == 8)) ? 1 : 0) ? 55 : 0) + ((((1476526080U == 1476526080U) && (0 == 6)) ? 1 : 0) ? 56 : 0) + ((((1476526080U == 1476535296U) && (0 == 9)) ? 1 : 0) ? 57 : 0) + ((((1476526080U == 1476534272U) && (0 == 7)) ? 1 : 0) ? 58 : 0) + ((((1476526080U == 1476534272U) && (0 == 6)) ? 1 : 0) ? 59 : 0) + ((((1476526080U == 1476534272U) && (0 == 4)) ? 1 : 0) ? 60 : 0) + ((((1476526080U == 1476533248U) && (0 == 14)) ? 1 : 0) ? 61 : 0) + ((((1476526080U == 1476532224U) && (0 == 11)) ? 1 : 0) ? 62 : 0) + ((((1476526080U == 1476533248U) && (0 == 11)) ? 1 : 0) ? 63 : 0) + ((((1476526080U == 1476533248U) && (0 == 10)) ? 1 : 0) ? 64 : 0) + ((((1476526080U == 1476533248U) && (0 == 9)) ? 1 : 0) ? 65 : 0) + ((((1476526080U == 1476526080U) && (0 == 1)) ? 1 : 0) ? 66 : 0) + ((((1476526080U == 1476529152U) && (0 == 4)) ? 1 : 0) ? 67 : 0) + ((((1476526080U == 1476528128U) && (0 == 6)) ? 1 : 0) ? 68 : 0) + ((((1476526080U == 1476534272U) && (0 == 0)) ? 1 : 0) ? 69 : 0) + ((((1476526080U == 1476534272U) && (0 == 1)) ? 1 : 0) ? 70 : 0) + ((((1476526080U == 1476534272U) && (0 == 2)) ? 1 : 0) ? 71 : 0) + ((((1476526080U == 1476534272U) && (0 == 3)) ? 1 : 0) ? 72 : 0) + ((((1476526080U == 1476528128U) && (0 == 1)) ? 1 : 0) ? 73 : 0) + ((((1476526080U == 1476527104U) && (0 == 12)) ? 1 : 0) ? 74 : 0) + ((((1476526080U == 1476529152U) && (0 == 3)) ? 1 : 0) ? 75 : 0) + ((((1476526080U == 1476528128U) && (0 == 4)) ? 1 : 0) ? 76 : 0) + ((((1476526080U == 1476528128U) && (0 == 5)) ? 1 : 0) ? 77 : 0) + ((((1476526080U == 1476527104U) && (0 == 0)) ? 1 : 0) ? 78 : 0) + ((((1476526080U == 1476527104U) && (0 == 1)) ? 1 : 0) ? 79 : 0) + ((((1476526080U == 1476528128U) && (0 == 3)) ? 1 : 0) ? 80 : 0) + ((((1476526080U == 1476528128U) && (0 == 2)) ? 1 : 0) ? 81 : 0) + ((((1476526080U == 1476528128U) && (0 == 0)) ? 1 : 0) ? 82 : 0) + ((((1476526080U == 1476526080U) && (0 == 0)) ? 1 : 0) ? 83 : 0) + ((((1476526080U == 1476526080U) && (0 == 4)) ? 1 : 0) ? 84 : 0) + ((((1476526080U == 1476526080U) && (0 == 5)) ? 1 : 0) ? 85 : 0) + ((((1476526080U == 1476534272U) && (0 == 12)) ? 1 : 0) ? 86 : 0) + ((((1476526080U == 1476535296U) && (0 == 13)) ? 1 : 0) ? 87 : 0) + ((((1476526080U == 1476530176U) && (0 == 3)) ? 1 : 0) ? 88 : 0) + ((((1476526080U == 1476532224U) && (0 == 9)) ? 1 : 0) ? 89 : 0) + ((((1476526080U == 1476529152U) && (0 == 7)) ? 1 : 0) ? 90 : 0) + ((((1476526080U == 1476527104U) && (0 == 3)) ? 1 : 0) ? 91 : 0) + ((((1476526080U == 1476526080U) && (0 == 15)) ? 1 : 0) ? 92 : 0) + ((((1476526080U == 1476527104U) && (0 == 5)) ? 1 : 0) ? 93 : 0) + ((((1476526080U == 1476527104U) && (0 == 13)) ? 1 : 0) ? 94 : 0) + ((((1476526080U == 1476527104U) && (0 == 6)) ? 1 : 0) ? 95 : 0) + ((((1476526080U == 1476533248U) && (0 == 12)) ? 1 : 0) ? 96 : 0) + ((((1476526080U == 3735928559U) && (0 == 0)) ? 1 : 0) ? 97 : 0) + ((((1476526080U == 3735928559U) && (0 == 1)) ? 1 : 0) ? 98 : 0) + ((((1476526080U == 3735928559U) && (0 == 2)) ? 1 : 0) ? 99 : 0) + ((((1476526080U == 3735928559U) && (0 == 3)) ? 1 : 0) ? 100 : 0), A8 = ((((3735928559U == 1476527104U) && (0 == 7)) ? 1 : 0) ? 0 : 0) + ((((3735928559U == 1476526080U) && (0 == 9)) ? 1 : 0) ? 1 : 0) + ((((3735928559U == 1476526080U) && (0 == 3)) ? 1 : 0) ? 2 : 0) + ((((3735928559U == 1476526080U) && (0 == 2)) ? 1 : 0) ? 3 : 0) + ((((3735928559U == 1476535296U) && (0 == 8)) ? 1 : 0) ? 4 : 0) + ((((3735928559U == 1476526080U) && (0 == 7)) ? 1 : 0) ? 5 : 0) + ((((3735928559U == 1476529152U) && (0 == 13)) ? 1 : 0) ? 6 : 0) + ((((3735928559U == 1476527104U) && (0 == 4)) ? 1 : 0) ? 7 : 0) + ((((3735928559U == 1476527104U) && (0 == 8)) ? 1 : 0) ? 8 : 0) + ((((3735928559U == 1476527104U) && (0 == 9)) ? 1 : 0) ? 9 : 0) + ((((3735928559U == 1476536320U) && (0 == 1)) ? 1 : 0) ? 10 : 0) + ((((3735928559U == 1476535296U) && (0 == 10)) ? 1 : 0) ? 11 : 0) + ((((3735928559U == 1476535296U) && (0 == 11)) ? 1 : 0) ? 12 : 0) + ((((3735928559U == 1476533248U) && (0 == 6)) ? 1 : 0) ? 13 : 0) + ((((3735928559U == 1476532224U) && (0 == 14)) ? 1 : 0) ? 14 : 0) + ((((3735928559U == 1476528128U) && (0 == 7)) ? 1 : 0) ? 15 : 0) + ((((3735928559U == 1476533248U) && (0 == 13)) ? 1 : 0) ? 16 : 0) + ((((3735928559U == 1476534272U) && (0 == 9)) ? 1 : 0) ? 17 : 0) + ((((3735928559U == 1476529152U) && (0 == 5)) ? 1 : 0) ? 18 : 0) + ((((3735928559U == 1476529152U) && (0 == 6)) ? 1 : 0) ? 19 : 0) + ((((3735928559U == 1476527104U) && (0 == 11)) ? 1 : 0) ? 20 : 0) + ((((3735928559U == 1476533248U) && (0 == 4)) ? 1 : 0) ? 21 : 0) + ((((3735928559U == 1476535296U) && (0 == 12)) ? 1 : 0) ? 22 : 0) + ((((3735928559U == 1476532224U) && (0 == 13)) ? 1 : 0) ? 23 : 0) + ((((3735928559U == 1476532224U) && (0 == 12)) ? 1 : 0) ? 24 : 0) + ((((3735928559U == 1476535296U) && (0 == 0)) ? 1 : 0) ? 25 : 0) + ((((3735928559U == 1476535296U) && (0 == 14)) ? 1 : 0) ? 26 : 0) + ((((3735928559U == 1476535296U) && (0 == 1)) ? 1 : 0) ? 27 : 0) + ((((3735928559U == 1476535296U) && (0 == 15)) ? 1 : 0) ? 28 : 0) + ((((3735928559U == 1476535296U) && (0 == 2)) ? 1 : 0) ? 29 : 0) + ((((3735928559U == 1476536320U) && (0 == 3)) ? 1 : 0) ? 30 : 0) + ((((3735928559U == 1476535296U) && (0 == 3)) ? 1 : 0) ? 31 : 0) + ((((3735928559U == 1476536320U) && (0 == 4)) ? 1 : 0) ? 32 : 0) + ((((3735928559U == 1476535296U) && (0 == 4)) ? 1 : 0) ? 33 : 0) + ((((3735928559U == 1476536320U) && (0 == 5)) ? 1 : 0) ? 34 : 0) + ((((3735928559U == 1476535296U) && (0 == 5)) ? 1 : 0) ? 35 : 0) + ((((3735928559U == 1476536320U) && (0 == 6)) ? 1 : 0) ? 36 : 0) + ((((3735928559U == 1476535296U) && (0 == 6)) ? 1 : 0) ? 37 : 0) + ((((3735928559U == 1476535296U) && (0 == 7)) ? 1 : 0) ? 38 : 0) + ((((3735928559U == 1476534272U) && (0 == 14)) ? 1 : 0) ? 39 : 0) + ((((3735928559U == 1476530176U) && (0 == 6)) ? 1 : 0) ? 40 : 0) + ((((3735928559U == 1476536320U) && (0 == 7)) ? 1 : 0) ? 41 : 0) + ((((3735928559U == 1476534272U) && (0 == 15)) ? 1 : 0) ? 42 : 0) + ((((3735928559U == 1476534272U) && (0 == 10)) ? 1 : 0) ? 43 : 0) + ((((3735928559U == 1476532224U) && (0 == 10)) ? 1 : 0) ? 44 : 0) + ((((3735928559U == 1476534272U) && (0 == 13)) ? 1 : 0) ? 45 : 0) + ((((3735928559U == 1476533248U) && (0 == 15)) ? 1 : 0) ? 46 : 0) + ((((3735928559U == 1476527104U) && (0 == 2)) ? 1 : 0) ? 47 : 0) + ((((3735928559U == 1476536320U) && (0 == 0)) ? 1 : 0) ? 48 : 0) + ((((3735928559U == 1476530176U) && (0 == 4)) ? 1 : 0) ? 49 : 0) + ((((3735928559U == 1476534272U) && (0 == 11)) ? 1 : 0) ? 50 : 0) + ((((3735928559U == 1476530176U) && (0 == 5)) ? 1 : 0) ? 51 : 0) + ((((3735928559U == 1476536320U) && (0 == 2)) ? 1 : 0) ? 52 : 0) + ((((3735928559U == 1476532224U) && (0 == 7)) ? 1 : 0) ? 53 : 0) + ((((3735928559U == 1476534272U) && (0 == 5)) ? 1 : 0) ? 54 : 0) + ((((3735928559U == 1476533248U) && (0 == 8)) ? 1 : 0) ? 55 : 0) + ((((3735928559U == 1476526080U) && (0 == 6)) ? 1 : 0) ? 56 : 0) + ((((3735928559U == 1476535296U) && (0 == 9)) ? 1 : 0) ? 57 : 0) + ((((3735928559U == 1476534272U) && (0 == 7)) ? 1 : 0) ? 58 : 0) + ((((3735928559U == 1476534272U) && (0 == 6)) ? 1 : 0) ? 59 : 0) + ((((3735928559U == 1476534272U) && (0 == 4)) ? 1 : 0) ? 60 : 0) + ((((3735928559U == 1476533248U) && (0 == 14)) ? 1 : 0) ? 61 : 0) + ((((3735928559U == 1476532224U) && (0 == 11)) ? 1 : 0) ? 62 : 0) + ((((3735928559U == 1476533248U) && (0 == 11)) ? 1 : 0) ? 63 : 0) + ((((3735928559U == 1476533248U) && (0 == 10)) ? 1 : 0) ? 64 : 0) + ((((3735928559U == 1476533248U) && (0 == 9)) ? 1 : 0) ? 65 : 0) + ((((3735928559U == 1476526080U) && (0 == 1)) ? 1 : 0) ? 66 : 0) + ((((3735928559U == 1476529152U) && (0 == 4)) ? 1 : 0) ? 67 : 0) + ((((3735928559U == 1476528128U) && (0 == 6)) ? 1 : 0) ? 68 : 0) + ((((3735928559U == 1476534272U) && (0 == 0)) ? 1 : 0) ? 69 : 0) + ((((3735928559U == 1476534272U) && (0 == 1)) ? 1 : 0) ? 70 : 0) + ((((3735928559U == 1476534272U) && (0 == 2)) ? 1 : 0) ? 71 : 0) + ((((3735928559U == 1476534272U) && (0 == 3)) ? 1 : 0) ? 72 : 0) + ((((3735928559U == 1476528128U) && (0 == 1)) ? 1 : 0) ? 73 : 0) + ((((3735928559U == 1476527104U) && (0 == 12)) ? 1 : 0) ? 74 : 0) + ((((3735928559U == 1476529152U) && (0 == 3)) ? 1 : 0) ? 75 : 0) + ((((3735928559U == 1476528128U) && (0 == 4)) ? 1 : 0) ? 76 : 0) + ((((3735928559U == 1476528128U) && (0 == 5)) ? 1 : 0) ? 77 : 0) + ((((3735928559U == 1476527104U) && (0 == 0)) ? 1 : 0) ? 78 : 0) + ((((3735928559U == 1476527104U) && (0 == 1)) ? 1 : 0) ? 79 : 0) + ((((3735928559U == 1476528128U) && (0 == 3)) ? 1 : 0) ? 80 : 0) + ((((3735928559U == 1476528128U) && (0 == 2)) ? 1 : 0) ? 81 : 0) + ((((3735928559U == 1476528128U) && (0 == 0)) ? 1 : 0) ? 82 : 0) + ((((3735928559U == 1476526080U) && (0 == 0)) ? 1 : 0) ? 83 : 0) + ((((3735928559U == 1476526080U) && (0 == 4)) ? 1 : 0) ? 84 : 0) + ((((3735928559U == 1476526080U) && (0 == 5)) ? 1 : 0) ? 85 : 0) + ((((3735928559U == 1476534272U) && (0 == 12)) ? 1 : 0) ? 86 : 0) + ((((3735928559U == 1476535296U) && (0 == 13)) ? 1 : 0) ? 87 : 0) + ((((3735928559U == 1476530176U) && (0 == 3)) ? 1 : 0) ? 88 : 0) + ((((3735928559U == 1476532224U) && (0 == 9)) ? 1 : 0) ? 89 : 0) + ((((3735928559U == 1476529152U) && (0 == 7)) ? 1 : 0) ? 90 : 0) + ((((3735928559U == 1476527104U) && (0 == 3)) ? 1 : 0) ? 91 : 0) + ((((3735928559U == 1476526080U) && (0 == 15)) ? 1 : 0) ? 92 : 0) + ((((3735928559U == 1476527104U) && (0 == 5)) ? 1 : 0) ? 93 : 0) + ((((3735928559U == 1476527104U) && (0 == 13)) ? 1 : 0) ? 94 : 0) + ((((3735928559U == 1476527104U) && (0 == 6)) ? 1 : 0) ? 95 : 0) + ((((3735928559U == 1476533248U) && (0 == 12)) ? 1 : 0) ? 96 : 0) + ((((3735928559U == 3735928559U) && (0 == 0)) ? 1 : 0) ? 97 : 0) + ((((3735928559U == 3735928559U) && (0 == 1)) ? 1 : 0) ? 98 : 0) + ((((3735928559U == 3735928559U) && (0 == 2)) ? 1 : 0) ? 99 : 0) + ((((3735928559U == 3735928559U) && (0 == 3)) ? 1 : 0) ? 100 : 0), A9 = ((((3735928559U == 1476527104U) && (1 == 7)) ? 1 : 0) ? 0 : 0) + ((((3735928559U == 1476526080U) && (1 == 9)) ? 1 : 0) ? 1 : 0) + ((((3735928559U == 1476526080U) && (1 == 3)) ? 1 : 0) ? 2 : 0) + ((((3735928559U == 1476526080U) && (1 == 2)) ? 1 : 0) ? 3 : 0) + ((((3735928559U == 1476535296U) && (1 == 8)) ? 1 : 0) ? 4 : 0) + ((((3735928559U == 1476526080U) && (1 == 7)) ? 1 : 0) ? 5 : 0) + ((((3735928559U == 1476529152U) && (1 == 13)) ? 1 : 0) ? 6 : 0) + ((((3735928559U == 1476527104U) && (1 == 4)) ? 1 : 0) ? 7 : 0) + ((((3735928559U == 1476527104U) && (1 == 8)) ? 1 : 0) ? 8 : 0) + ((((3735928559U == 1476527104U) && (1 == 9)) ? 1 : 0) ? 9 : 0) + ((((3735928559U == 1476536320U) && (1 == 1)) ? 1 : 0) ? 10 : 0) + ((((3735928559U == 1476535296U) && (1 == 10)) ? 1 : 0) ? 11 : 0) + ((((3735928559U == 1476535296U) && (1 == 11)) ? 1 : 0) ? 12 : 0) + ((((3735928559U == 1476533248U) && (1 == 6)) ? 1 : 0) ? 13 : 0) + ((((3735928559U == 1476532224U) && (1 == 14)) ? 1 : 0) ? 14 : 0) + ((((3735928559U == 1476528128U) && (1 == 7)) ? 1 : 0) ? 15 : 0) + ((((3735928559U == 1476533248U) && (1 == 13)) ? 1 : 0) ? 16 : 0) + ((((3735928559U == 1476534272U) && (1 == 9)) ? 1 : 0) ? 17 : 0) + ((((3735928559U == 1476529152U) && (1 == 5)) ? 1 : 0) ? 18 : 0) + ((((3735928559U == 1476529152U) && (1 == 6)) ? 1 : 0) ? 19 : 0) + ((((3735928559U == 1476527104U) && (1 == 11)) ? 1 : 0) ? 20 : 0) + ((((3735928559U == 1476533248U) && (1 == 4)) ? 1 : 0) ? 21 : 0) + ((((3735928559U == 1476535296U) && (1 == 12)) ? 1 : 0) ? 22 : 0) + ((((3735928559U == 1476532224U) && (1 == 13)) ? 1 : 0) ? 23 : 0) + ((((3735928559U == 1476532224U) && (1 == 12)) ? 1 : 0) ? 24 : 0) + ((((3735928559U == 1476535296U) && (1 == 0)) ? 1 : 0) ? 25 : 0) + ((((3735928559U == 1476535296U) && (1 == 14)) ? 1 : 0) ? 26 : 0) + ((((3735928559U == 1476535296U) && (1 == 1)) ? 1 : 0) ? 27 : 0) + ((((3735928559U == 1476535296U) && (1 == 15)) ? 1 : 0) ? 28 : 0) + ((((3735928559U == 1476535296U) && (1 == 2)) ? 1 : 0) ? 29 : 0) + ((((3735928559U == 1476536320U) && (1 == 3)) ? 1 : 0) ? 30 : 0) + ((((3735928559U == 1476535296U) && (1 == 3)) ? 1 : 0) ? 31 : 0) + ((((3735928559U == 1476536320U) && (1 == 4)) ? 1 : 0) ? 32 : 0) + ((((3735928559U == 1476535296U) && (1 == 4)) ? 1 : 0) ? 33 : 0) + ((((3735928559U == 1476536320U) && (1 == 5)) ? 1 : 0) ? 34 : 0) + ((((3735928559U == 1476535296U) && (1 == 5)) ? 1 : 0) ? 35 : 0) + ((((3735928559U == 1476536320U) && (1 == 6)) ? 1 : 0) ? 36 : 0) + ((((3735928559U == 1476535296U) && (1 == 6)) ? 1 : 0) ? 37 : 0) + ((((3735928559U == 1476535296U) && (1 == 7)) ? 1 : 0) ? 38 : 0) + ((((3735928559U == 1476534272U) && (1 == 14)) ? 1 : 0) ? 39 : 0) + ((((3735928559U == 1476530176U) && (1 == 6)) ? 1 : 0) ? 40 : 0) + ((((3735928559U == 1476536320U) && (1 == 7)) ? 1 : 0) ? 41 : 0) + ((((3735928559U == 1476534272U) && (1 == 15)) ? 1 : 0) ? 42 : 0) + ((((3735928559U == 1476534272U) && (1 == 10)) ? 1 : 0) ? 43 : 0) + ((((3735928559U == 1476532224U) && (1 == 10)) ? 1 : 0) ? 44 : 0) + ((((3735928559U == 1476534272U) && (1 == 13)) ? 1 : 0) ? 45 : 0) + ((((3735928559U == 1476533248U) && (1 == 15)) ? 1 : 0) ? 46 : 0) + ((((3735928559U == 1476527104U) && (1 == 2)) ? 1 : 0) ? 47 : 0) + ((((3735928559U == 1476536320U) && (1 == 0)) ? 1 : 0) ? 48 : 0) + ((((3735928559U == 1476530176U) && (1 == 4)) ? 1 : 0) ? 49 : 0) + ((((3735928559U == 1476534272U) && (1 == 11)) ? 1 : 0) ? 50 : 0) + ((((3735928559U == 1476530176U) && (1 == 5)) ? 1 : 0) ? 51 : 0) + ((((3735928559U == 1476536320U) && (1 == 2)) ? 1 : 0) ? 52 : 0) + ((((3735928559U == 1476532224U) && (1 == 7)) ? 1 : 0) ? 53 : 0) + ((((3735928559U == 1476534272U) && (1 == 5)) ? 1 : 0) ? 54 : 0) + ((((3735928559U == 1476533248U) && (1 == 8)) ? 1 : 0) ? 55 : 0) + ((((3735928559U == 1476526080U) && (1 == 6)) ? 1 : 0) ? 56 : 0) + ((((3735928559U == 1476535296U) && (1 == 9)) ? 1 : 0) ? 57 : 0) + ((((3735928559U == 1476534272U) && (1 == 7)) ? 1 : 0) ? 58 : 0) + ((((3735928559U == 1476534272U) && (1 == 6)) ? 1 : 0) ? 59 : 0) + ((((3735928559U == 1476534272U) && (1 == 4)) ? 1 : 0) ? 60 : 0) + ((((3735928559U == 1476533248U) && (1 == 14)) ? 1 : 0) ? 61 : 0) + ((((3735928559U == 1476532224U) && (1 == 11)) ? 1 : 0) ? 62 : 0) + ((((3735928559U == 1476533248U) && (1 == 11)) ? 1 : 0) ? 63 : 0) + ((((3735928559U == 1476533248U) && (1 == 10)) ? 1 : 0) ? 64 : 0) + ((((3735928559U == 1476533248U) && (1 == 9)) ? 1 : 0) ? 65 : 0) + ((((3735928559U == 1476526080U) && (1 == 1)) ? 1 : 0) ? 66 : 0) + ((((3735928559U == 1476529152U) && (1 == 4)) ? 1 : 0) ? 67 : 0) + ((((3735928559U == 1476528128U) && (1 == 6)) ? 1 : 0) ? 68 : 0) + ((((3735928559U == 1476534272U) && (1 == 0)) ? 1 : 0) ? 69 : 0) + ((((3735928559U == 1476534272U) && (1 == 1)) ? 1 : 0) ? 70 : 0) + ((((3735928559U == 1476534272U) && (1 == 2)) ? 1 : 0) ? 71 : 0) + ((((3735928559U == 1476534272U) && (1 == 3)) ? 1 : 0) ? 72 : 0) + ((((3735928559U == 1476528128U) && (1 == 1)) ? 1 : 0) ? 73 : 0) + ((((3735928559U == 1476527104U) && (1 == 12)) ? 1 : 0) ? 74 : 0) + ((((3735928559U == 1476529152U) && (1 == 3)) ? 1 : 0) ? 75 : 0) + ((((3735928559U == 1476528128U) && (1 == 4)) ? 1 : 0) ? 76 : 0) + ((((3735928559U == 1476528128U) && (1 == 5)) ? 1 : 0) ? 77 : 0) + ((((3735928559U == 1476527104U) && (1 == 0)) ? 1 : 0) ? 78 : 0) + ((((3735928559U == 1476527104U) && (1 == 1)) ? 1 : 0) ? 79 : 0) + ((((3735928559U == 1476528128U) && (1 == 3)) ? 1 : 0) ? 80 : 0) + ((((3735928559U == 1476528128U) && (1 == 2)) ? 1 : 0) ? 81 : 0) + ((((3735928559U == 1476528128U) && (1 == 0)) ? 1 : 0) ? 82 : 0) + ((((3735928559U == 1476526080U) && (1 == 0)) ? 1 : 0) ? 83 : 0) + ((((3735928559U == 1476526080U) && (1 == 4)) ? 1 : 0) ? 84 : 0) + ((((3735928559U == 1476526080U) && (1 == 5)) ? 1 : 0) ? 85 : 0) + ((((3735928559U == 1476534272U) && (1 == 12)) ? 1 : 0) ? 86 : 0) + ((((3735928559U == 1476535296U) && (1 == 13)) ? 1 : 0) ? 87 : 0) + ((((3735928559U == 1476530176U) && (1 == 3)) ? 1 : 0) ? 88 : 0) + ((((3735928559U == 1476532224U) && (1 == 9)) ? 1 : 0) ? 89 : 0) + ((((3735928559U == 1476529152U) && (1 == 7)) ? 1 : 0) ? 90 : 0) + ((((3735928559U == 1476527104U) && (1 == 3)) ? 1 : 0) ? 91 : 0) + ((((3735928559U == 1476526080U) && (1 == 15)) ? 1 : 0) ? 92 : 0) + ((((3735928559U == 1476527104U) && (1 == 5)) ? 1 : 0) ? 93 : 0) + ((((3735928559U == 1476527104U) && (1 == 13)) ? 1 : 0) ? 94 : 0) + ((((3735928559U == 1476527104U) && (1 == 6)) ? 1 : 0) ? 95 : 0) + ((((3735928559U == 1476533248U) && (1 == 12)) ? 1 : 0) ? 96 : 0) + ((((3735928559U == 3735928559U) && (1 == 0)) ? 1 : 0) ? 97 : 0) + ((((3735928559U == 3735928559U) && (1 == 1)) ? 1 : 0) ? 98 : 0) + ((((3735928559U == 3735928559U) && (1 == 2)) ? 1 : 0) ? 99 : 0) + ((((3735928559U == 3735928559U) && (1 == 3)) ? 1 : 0) ? 100 : 0), A10 = ((((3735928559U == 1476527104U) && (2 == 7)) ? 1 : 0) ? 0 : 0) + ((((3735928559U == 1476526080U) && (2 == 9)) ? 1 : 0) ? 1 : 0) + ((((3735928559U == 1476526080U) && (2 == 3)) ? 1 : 0) ? 2 : 0) + ((((3735928559U == 1476526080U) && (2 == 2)) ? 1 : 0) ? 3 : 0) + ((((3735928559U == 1476535296U) && (2 == 8)) ? 1 : 0) ? 4 : 0) + ((((3735928559U == 1476526080U) && (2 == 7)) ? 1 : 0) ? 5 : 0) + ((((3735928559U == 1476529152U) && (2 == 13)) ? 1 : 0) ? 6 : 0) + ((((3735928559U == 1476527104U) && (2 == 4)) ? 1 : 0) ? 7 : 0) + ((((3735928559U == 1476527104U) && (2 == 8)) ? 1 : 0) ? 8 : 0) + ((((3735928559U == 1476527104U) && (2 == 9)) ? 1 : 0) ? 9 : 0) + ((((3735928559U == 1476536320U) && (2 == 1)) ? 1 : 0) ? 10 : 0) + ((((3735928559U == 1476535296U) && (2 == 10)) ? 1 : 0) ? 11 : 0) + ((((3735928559U == 1476535296U) && (2 == 11)) ? 1 : 0) ? 12 : 0) + ((((3735928559U == 1476533248U) && (2 == 6)) ? 1 : 0) ? 13 : 0) + ((((3735928559U == 1476532224U) && (2 == 14)) ? 1 : 0) ? 14 : 0) + ((((3735928559U == 1476528128U) && (2 == 7)) ? 1 : 0) ? 15 : 0) + ((((3735928559U == 1476533248U) && (2 == 13)) ? 1 : 0) ? 16 : 0) + ((((3735928559U == 1476534272U) && (2 == 9)) ? 1 : 0) ? 17 : 0) + ((((3735928559U == 1476529152U) && (2 == 5)) ? 1 : 0) ? 18 : 0) + ((((3735928559U == 1476529152U) && (2 == 6)) ? 1 : 0) ? 19 : 0) + ((((3735928559U == 1476527104U) && (2 == 11)) ? 1 : 0) ? 20 : 0) + ((((3735928559U == 1476533248U) && (2 == 4)) ? 1 : 0) ? 21 : 0) + ((((3735928559U == 1476535296U) && (2 == 12)) ? 1 : 0) ? 22 : 0) + ((((3735928559U == 1476532224U) && (2 == 13)) ? 1 : 0) ? 23 : 0) + ((((3735928559U == 1476532224U) && (2 == 12)) ? 1 : 0) ? 24 : 0) + ((((3735928559U == 1476535296U) && (2 == 0)) ? 1 : 0) ? 25 : 0) + ((((3735928559U == 1476535296U) && (2 == 14)) ? 1 : 0) ? 26 : 0) + ((((3735928559U == 1476535296U) && (2 == 1)) ? 1 : 0) ? 27 : 0) + ((((3735928559U == 1476535296U) && (2 == 15)) ? 1 : 0) ? 28 : 0) + ((((3735928559U == 1476535296U) && (2 == 2)) ? 1 : 0) ? 29 : 0) + ((((3735928559U == 1476536320U) && (2 == 3)) ? 1 : 0) ? 30 : 0) + ((((3735928559U == 1476535296U) && (2 == 3)) ? 1 : 0) ? 31 : 0) + ((((3735928559U == 1476536320U) && (2 == 4)) ? 1 : 0) ? 32 : 0) + ((((3735928559U == 1476535296U) && (2 == 4)) ? 1 : 0) ? 33 : 0) + ((((3735928559U == 1476536320U) && (2 == 5)) ? 1 : 0) ? 34 : 0) + ((((3735928559U == 1476535296U) && (2 == 5)) ? 1 : 0) ? 35 : 0) + ((((3735928559U == 1476536320U) && (2 == 6)) ? 1 : 0) ? 36 : 0) + ((((3735928559U == 1476535296U) && (2 == 6)) ? 1 : 0) ? 37 : 0) + ((((3735928559U == 1476535296U) && (2 == 7)) ? 1 : 0) ? 38 : 0) + ((((3735928559U == 1476534272U) && (2 == 14)) ? 1 : 0) ? 39 : 0) + ((((3735928559U == 1476530176U) && (2 == 6)) ? 1 : 0) ? 40 : 0) + ((((3735928559U == 1476536320U) && (2 == 7)) ? 1 : 0) ? 41 : 0) + ((((3735928559U == 1476534272U) && (2 == 15)) ? 1 : 0) ? 42 : 0) + ((((3735928559U == 1476534272U) && (2 == 10)) ? 1 : 0) ? 43 : 0) + ((((3735928559U == 1476532224U) && (2 == 10)) ? 1 : 0) ? 44 : 0) + ((((3735928559U == 1476534272U) && (2 == 13)) ? 1 : 0) ? 45 : 0) + ((((3735928559U == 1476533248U) && (2 == 15)) ? 1 : 0) ? 46 : 0) + ((((3735928559U == 1476527104U) && (2 == 2)) ? 1 : 0) ? 47 : 0) + ((((3735928559U == 1476536320U) && (2 == 0)) ? 1 : 0) ? 48 : 0) + ((((3735928559U == 1476530176U) && (2 == 4)) ? 1 : 0) ? 49 : 0) + ((((3735928559U == 1476534272U) && (2 == 11)) ? 1 : 0) ? 50 : 0) + ((((3735928559U == 1476530176U) && (2 == 5)) ? 1 : 0) ? 51 : 0) + ((((3735928559U == 1476536320U) && (2 == 2)) ? 1 : 0) ? 52 : 0) + ((((3735928559U == 1476532224U) && (2 == 7)) ? 1 : 0) ? 53 : 0) + ((((3735928559U == 1476534272U) && (2 == 5)) ? 1 : 0) ? 54 : 0) + ((((3735928559U == 1476533248U) && (2 == 8)) ? 1 : 0) ? 55 : 0) + ((((3735928559U == 1476526080U) && (2 == 6)) ? 1 : 0) ? 56 : 0) + ((((3735928559U == 1476535296U) && (2 == 9)) ? 1 : 0) ? 57 : 0) + ((((3735928559U == 1476534272U) && (2 == 7)) ? 1 : 0) ? 58 : 0) + ((((3735928559U == 1476534272U) && (2 == 6)) ? 1 : 0) ? 59 : 0) + ((((3735928559U == 1476534272U) && (2 == 4)) ? 1 : 0) ? 60 : 0) + ((((3735928559U == 1476533248U) && (2 == 14)) ? 1 : 0) ? 61 : 0) + ((((3735928559U == 1476532224U) && (2 == 11)) ? 1 : 0) ? 62 : 0) + ((((3735928559U == 1476533248U) && (2 == 11)) ? 1 : 0) ? 63 : 0) + ((((3735928559U == 1476533248U) && (2 == 10)) ? 1 : 0) ? 64 : 0) + ((((3735928559U == 1476533248U) && (2 == 9)) ? 1 : 0) ? 65 : 0) + ((((3735928559U == 1476526080U) && (2 == 1)) ? 1 : 0) ? 66 : 0) + ((((3735928559U == 1476529152U) && (2 == 4)) ? 1 : 0) ? 67 : 0) + ((((3735928559U == 1476528128U) && (2 == 6)) ? 1 : 0) ? 68 : 0) + ((((3735928559U == 1476534272U) && (2 == 0)) ? 1 : 0) ? 69 : 0) + ((((3735928559U == 1476534272U) && (2 == 1)) ? 1 : 0) ? 70 : 0) + ((((3735928559U == 1476534272U) && (2 == 2)) ? 1 : 0) ? 71 : 0) + ((((3735928559U == 1476534272U) && (2 == 3)) ? 1 : 0) ? 72 : 0) + ((((3735928559U == 1476528128U) && (2 == 1)) ? 1 : 0) ? 73 : 0) + ((((3735928559U == 1476527104U) && (2 == 12)) ? 1 : 0) ? 74 : 0) + ((((3735928559U == 1476529152U) && (2 == 3)) ? 1 : 0) ? 75 : 0) + ((((3735928559U == 1476528128U) && (2 == 4)) ? 1 : 0) ? 76 : 0) + ((((3735928559U == 1476528128U) && (2 == 5)) ? 1 : 0) ? 77 : 0) + ((((3735928559U == 1476527104U) && (2 == 0)) ? 1 : 0) ? 78 : 0) + ((((3735928559U == 1476527104U) && (2 == 1)) ? 1 : 0) ? 79 : 0) + ((((3735928559U == 1476528128U) && (2 == 3)) ? 1 : 0) ? 80 : 0) + ((((3735928559U == 1476528128U) && (2 == 2)) ? 1 : 0) ? 81 : 0) + ((((3735928559U == 1476528128U) && (2 == 0)) ? 1 : 0) ? 82 : 0) + ((((3735928559U == 1476526080U) && (2 == 0)) ? 1 : 0) ? 83 : 0) + ((((3735928559U == 1476526080U) && (2 == 4)) ? 1 : 0) ? 84 : 0) + ((((3735928559U == 1476526080U) && (2 == 5)) ? 1 : 0) ? 85 : 0) + ((((3735928559U == 1476534272U) && (2 == 12)) ? 1 : 0) ? 86 : 0) + ((((3735928559U == 1476535296U) && (2 == 13)) ? 1 : 0) ? 87 : 0) + ((((3735928559U == 1476530176U) && (2 == 3)) ? 1 : 0) ? 88 : 0) + ((((3735928559U == 1476532224U) && (2 == 9)) ? 1 : 0) ? 89 : 0) + ((((3735928559U == 1476529152U) && (2 == 7)) ? 1 : 0) ? 90 : 0) + ((((3735928559U == 1476527104U) && (2 == 3)) ? 1 : 0) ? 91 : 0) + ((((3735928559U == 1476526080U) && (2 == 15)) ? 1 : 0) ? 92 : 0) + ((((3735928559U == 1476527104U) && (2 == 5)) ? 1 : 0) ? 93 : 0) + ((((3735928559U == 1476527104U) && (2 == 13)) ? 1 : 0) ? 94 : 0) + ((((3735928559U == 1476527104U) && (2 == 6)) ? 1 : 0) ? 95 : 0) + ((((3735928559U == 1476533248U) && (2 == 12)) ? 1 : 0) ? 96 : 0) + ((((3735928559U == 3735928559U) && (2 == 0)) ? 1 : 0) ? 97 : 0) + ((((3735928559U == 3735928559U) && (2 == 1)) ? 1 : 0) ? 98 : 0) + ((((3735928559U == 3735928559U) && (2 == 2)) ? 1 : 0) ? 99 : 0) + ((((3735928559U == 3735928559U) && (2 == 3)) ? 1 : 0) ? 100 : 0), A11 = ((((3735928559U == 1476527104U) && (3 == 7)) ? 1 : 0) ? 0 : 0) + ((((3735928559U == 1476526080U) && (3 == 9)) ? 1 : 0) ? 1 : 0) + ((((3735928559U == 1476526080U) && (3 == 3)) ? 1 : 0) ? 2 : 0) + ((((3735928559U == 1476526080U) && (3 == 2)) ? 1 : 0) ? 3 : 0) + ((((3735928559U == 1476535296U) && (3 == 8)) ? 1 : 0) ? 4 : 0) + ((((3735928559U == 1476526080U) && (3 == 7)) ? 1 : 0) ? 5 : 0) + ((((3735928559U == 1476529152U) && (3 == 13)) ? 1 : 0) ? 6 : 0) + ((((3735928559U == 1476527104U) && (3 == 4)) ? 1 : 0) ? 7 : 0) + ((((3735928559U == 1476527104U) && (3 == 8)) ? 1 : 0) ? 8 : 0) + ((((3735928559U == 1476527104U) && (3 == 9)) ? 1 : 0) ? 9 : 0) + ((((3735928559U == 1476536320U) && (3 == 1)) ? 1 : 0) ? 10 : 0) + ((((3735928559U == 1476535296U) && (3 == 10)) ? 1 : 0) ? 11 : 0) + ((((3735928559U == 1476535296U) && (3 == 11)) ? 1 : 0) ? 12 : 0) + ((((3735928559U == 1476533248U) && (3 == 6)) ? 1 : 0) ? 13 : 0) + ((((3735928559U == 1476532224U) && (3 == 14)) ? 1 : 0) ? 14 : 0) + ((((3735928559U == 1476528128U) && (3 == 7)) ? 1 : 0) ? 15 : 0) + ((((3735928559U == 1476533248U) && (3 == 13)) ? 1 : 0) ? 16 : 0) + ((((3735928559U == 1476534272U) && (3 == 9)) ? 1 : 0) ? 17 : 0) + ((((3735928559U == 1476529152U) && (3 == 5)) ? 1 : 0) ? 18 : 0) + ((((3735928559U == 1476529152U) && (3 == 6)) ? 1 : 0) ? 19 : 0) + ((((3735928559U == 1476527104U) && (3 == 11)) ? 1 : 0) ? 20 : 0) + ((((3735928559U == 1476533248U) && (3 == 4)) ? 1 : 0) ? 21 : 0) + ((((3735928559U == 1476535296U) && (3 == 12)) ? 1 : 0) ? 22 : 0) + ((((3735928559U == 1476532224U) && (3 == 13)) ? 1 : 0) ? 23 : 0) + ((((3735928559U == 1476532224U) && (3 == 12)) ? 1 : 0) ? 24 : 0) + ((((3735928559U == 1476535296U) && (3 == 0)) ? 1 : 0) ? 25 : 0) + ((((3735928559U == 1476535296U) && (3 == 14)) ? 1 : 0) ? 26 : 0) + ((((3735928559U == 1476535296U) && (3 == 1)) ? 1 : 0) ? 27 : 0) + ((((3735928559U == 1476535296U) && (3 == 15)) ? 1 : 0) ? 28 : 0) + ((((3735928559U == 1476535296U) && (3 == 2)) ? 1 : 0) ? 29 : 0) + ((((3735928559U == 1476536320U) && (3 == 3)) ? 1 : 0) ? 30 : 0) + ((((3735928559U == 1476535296U) && (3 == 3)) ? 1 : 0) ? 31 : 0) + ((((3735928559U == 1476536320U) && (3 == 4)) ? 1 : 0) ? 32 : 0) + ((((3735928559U == 1476535296U) && (3 == 4)) ? 1 : 0) ? 33 : 0) + ((((3735928559U == 1476536320U) && (3 == 5)) ? 1 : 0) ? 34 : 0) + ((((3735928559U == 1476535296U) && (3 == 5)) ? 1 : 0) ? 35 : 0) + ((((3735928559U == 1476536320U) && (3 == 6)) ? 1 : 0) ? 36 : 0) + ((((3735928559U == 1476535296U) && (3 == 6)) ? 1 : 0) ? 37 : 0) + ((((3735928559U == 1476535296U) && (3 == 7)) ? 1 : 0) ? 38 : 0) + ((((3735928559U == 1476534272U) && (3 == 14)) ? 1 : 0) ? 39 : 0) + ((((3735928559U == 1476530176U) && (3 == 6)) ? 1 : 0) ? 40 : 0) + ((((3735928559U == 1476536320U) && (3 == 7)) ? 1 : 0) ? 41 : 0) + ((((3735928559U == 1476534272U) && (3 == 15)) ? 1 : 0) ? 42 : 0) + ((((3735928559U == 1476534272U) && (3 == 10)) ? 1 : 0) ? 43 : 0) + ((((3735928559U == 1476532224U) && (3 == 10)) ? 1 : 0) ? 44 : 0) + ((((3735928559U == 1476534272U) && (3 == 13)) ? 1 : 0) ? 45 : 0) + ((((3735928559U == 1476533248U) && (3 == 15)) ? 1 : 0) ? 46 : 0) + ((((3735928559U == 1476527104U) && (3 == 2)) ? 1 : 0) ? 47 : 0) + ((((3735928559U == 1476536320U) && (3 == 0)) ? 1 : 0) ? 48 : 0) + ((((3735928559U == 1476530176U) && (3 == 4)) ? 1 : 0) ? 49 : 0) + ((((3735928559U == 1476534272U) && (3 == 11)) ? 1 : 0) ? 50 : 0) + ((((3735928559U == 1476530176U) && (3 == 5)) ? 1 : 0) ? 51 : 0) + ((((3735928559U == 1476536320U) && (3 == 2)) ? 1 : 0) ? 52 : 0) + ((((3735928559U == 1476532224U) && (3 == 7)) ? 1 : 0) ? 53 : 0) + ((((3735928559U == 1476534272U) && (3 == 5)) ? 1 : 0) ? 54 : 0) + ((((3735928559U == 1476533248U) && (3 == 8)) ? 1 : 0) ? 55 : 0) + ((((3735928559U == 1476526080U) && (3 == 6)) ? 1 : 0) ? 56 : 0) + ((((3735928559U == 1476535296U) && (3 == 9)) ? 1 : 0) ? 57 : 0) + ((((3735928559U == 1476534272U) && (3 == 7)) ? 1 : 0) ? 58 : 0) + ((((3735928559U == 1476534272U) && (3 == 6)) ? 1 : 0) ? 59 : 0) + ((((3735928559U == 1476534272U) && (3 == 4)) ? 1 : 0) ? 60 : 0) + ((((3735928559U == 1476533248U) && (3 == 14)) ? 1 : 0) ? 61 : 0) + ((((3735928559U == 1476532224U) && (3 == 11)) ? 1 : 0) ? 62 : 0) + ((((3735928559U == 1476533248U) && (3 == 11)) ? 1 : 0) ? 63 : 0) + ((((3735928559U == 1476533248U) && (3 == 10)) ? 1 : 0) ? 64 : 0) + ((((3735928559U == 1476533248U) && (3 == 9)) ? 1 : 0) ? 65 : 0) + ((((3735928559U == 1476526080U) && (3 == 1)) ? 1 : 0) ? 66 : 0) + ((((3735928559U == 1476529152U) && (3 == 4)) ? 1 : 0) ? 67 : 0) + ((((3735928559U == 1476528128U) && (3 == 6)) ? 1 : 0) ? 68 : 0) + ((((3735928559U == 1476534272U) && (3 == 0)) ? 1 : 0) ? 69 : 0) + ((((3735928559U == 1476534272U) && (3 == 1)) ? 1 : 0) ? 70 : 0) + ((((3735928559U == 1476534272U) && (3 == 2)) ? 1 : 0) ? 71 : 0) + ((((3735928559U == 1476534272U) && (3 == 3)) ? 1 : 0) ? 72 : 0) + ((((3735928559U == 1476528128U) && (3 == 1)) ? 1 : 0) ? 73 : 0) + ((((3735928559U == 1476527104U) && (3 == 12)) ? 1 : 0) ? 74 : 0) + ((((3735928559U == 1476529152U) && (3 == 3)) ? 1 : 0) ? 75 : 0) + ((((3735928559U == 1476528128U) && (3 == 4)) ? 1 : 0) ? 76 : 0) + ((((3735928559U == 1476528128U) && (3 == 5)) ? 1 : 0) ? 77 : 0) + ((((3735928559U == 1476527104U) && (3 == 0)) ? 1 : 0) ? 78 : 0) + ((((3735928559U == 1476527104U) && (3 == 1)) ? 1 : 0) ? 79 : 0) + ((((3735928559U == 1476528128U) && (3 == 3)) ? 1 : 0) ? 80 : 0) + ((((3735928559U == 1476528128U) && (3 == 2)) ? 1 : 0) ? 81 : 0) + ((((3735928559U == 1476528128U) && (3 == 0)) ? 1 : 0) ? 82 : 0) + ((((3735928559U == 1476526080U) && (3 == 0)) ? 1 : 0) ? 83 : 0) + ((((3735928559U == 1476526080U) && (3 == 4)) ? 1 : 0) ? 84 : 0) + ((((3735928559U == 1476526080U) && (3 == 5)) ? 1 : 0) ? 85 : 0) + ((((3735928559U == 1476534272U) && (3 == 12)) ? 1 : 0) ? 86 : 0) + ((((3735928559U == 1476535296U) && (3 == 13)) ? 1 : 0) ? 87 : 0) + ((((3735928559U == 1476530176U) && (3 == 3)) ? 1 : 0) ? 88 : 0) + ((((3735928559U == 1476532224U) && (3 == 9)) ? 1 : 0) ? 89 : 0) + ((((3735928559U == 1476529152U) && (3 == 7)) ? 1 : 0) ? 90 : 0) + ((((3735928559U == 1476527104U) && (3 == 3)) ? 1 : 0) ? 91 : 0) + ((((3735928559U == 1476526080U) && (3 == 15)) ? 1 : 0) ? 92 : 0) + ((((3735928559U == 1476527104U) && (3 == 5)) ? 1 : 0) ? 93 : 0) + ((((3735928559U == 1476527104U) && (3 == 13)) ? 1 : 0) ? 94 : 0) + ((((3735928559U == 1476527104U) && (3 == 6)) ? 1 : 0) ? 95 : 0) + ((((3735928559U == 1476533248U) && (3 == 12)) ? 1 : 0) ? 96 : 0) + ((((3735928559U == 3735928559U) && (3 == 0)) ? 1 : 0) ? 97 : 0) + ((((3735928559U == 3735928559U) && (3 == 1)) ? 1 : 0) ? 98 : 0) + ((((3735928559U == 3735928559U) && (3 == 2)) ? 1 : 0) ? 99 : 0) + ((((3735928559U == 3735928559U) && (3 == 3)) ? 1 : 0) ? 100 : 0), A12 = ((((1476526080U == 1476527104U) && (4 == 7)) ? 1 : 0) ? 0 : 0) + ((((1476526080U == 1476526080U) && (4 == 9)) ? 1 : 0) ? 1 : 0) + ((((1476526080U == 1476526080U) && (4 == 3)) ? 1 : 0) ? 2 : 0) + ((((1476526080U == 1476526080U) && (4 == 2)) ? 1 : 0) ? 3 : 0) + ((((1476526080U == 1476535296U) && (4 == 8)) ? 1 : 0) ? 4 : 0) + ((((1476526080U == 1476526080U) && (4 == 7)) ? 1 : 0) ? 5 : 0) + ((((1476526080U == 1476529152U) && (4 == 13)) ? 1 : 0) ? 6 : 0) + ((((1476526080U == 1476527104U) && (4 == 4)) ? 1 : 0) ? 7 : 0) + ((((1476526080U == 1476527104U) && (4 == 8)) ? 1 : 0) ? 8 : 0) + ((((1476526080U == 1476527104U) && (4 == 9)) ? 1 : 0) ? 9 : 0) + ((((1476526080U == 1476536320U) && (4 == 1)) ? 1 : 0) ? 10 : 0) + ((((1476526080U == 1476535296U) && (4 == 10)) ? 1 : 0) ? 11 : 0) + ((((1476526080U == 1476535296U) && (4 == 11)) ? 1 : 0) ? 12 : 0) + ((((1476526080U == 1476533248U) && (4 == 6)) ? 1 : 0) ? 13 : 0) + ((((1476526080U == 1476532224U) && (4 == 14)) ? 1 : 0) ? 14 : 0) + ((((1476526080U == 1476528128U) && (4 == 7)) ? 1 : 0) ? 15 : 0) + ((((1476526080U == 1476533248U) && (4 == 13)) ? 1 : 0) ? 16 : 0) + ((((1476526080U == 1476534272U) && (4 == 9)) ? 1 : 0) ? 17 : 0) + ((((1476526080U == 1476529152U) && (4 == 5)) ? 1 : 0) ? 18 : 0) + ((((1476526080U == 1476529152U) && (4 == 6)) ? 1 : 0) ? 19 : 0) + ((((1476526080U == 1476527104U) && (4 == 11)) ? 1 : 0) ? 20 : 0) + ((((1476526080U == 1476533248U) && (4 == 4)) ? 1 : 0) ? 21 : 0) + ((((1476526080U == 1476535296U) && (4 == 12)) ? 1 : 0) ? 22 : 0) + ((((1476526080U == 1476532224U) && (4 == 13)) ? 1 : 0) ? 23 : 0) + ((((1476526080U == 1476532224U) && (4 == 12)) ? 1 : 0) ? 24 : 0) + ((((1476526080U == 1476535296U) && (4 == 0)) ? 1 : 0) ? 25 : 0) + ((((1476526080U == 1476535296U) && (4 == 14)) ? 1 : 0) ? 26 : 0) + ((((1476526080U == 1476535296U) && (4 == 1)) ? 1 : 0) ? 27 : 0) + ((((1476526080U == 1476535296U) && (4 == 15)) ? 1 : 0) ? 28 : 0) + ((((1476526080U == 1476535296U) && (4 == 2)) ? 1 : 0) ? 29 : 0) + ((((1476526080U == 1476536320U) && (4 == 3)) ? 1 : 0) ? 30 : 0) + ((((1476526080U == 1476535296U) && (4 == 3)) ? 1 : 0) ? 31 : 0) + ((((1476526080U == 1476536320U) && (4 == 4)) ? 1 : 0) ? 32 : 0) + ((((1476526080U == 1476535296U) && (4 == 4)) ? 1 : 0) ? 33 : 0) + ((((1476526080U == 1476536320U) && (4 == 5)) ? 1 : 0) ? 34 : 0) + ((((1476526080U == 1476535296U) && (4 == 5)) ? 1 : 0) ? 35 : 0) + ((((1476526080U == 1476536320U) && (4 == 6)) ? 1 : 0) ? 36 : 0) + ((((1476526080U == 1476535296U) && (4 == 6)) ? 1 : 0) ? 37 : 0) + ((((1476526080U == 1476535296U) && (4 == 7)) ? 1 : 0) ? 38 : 0) + ((((1476526080U == 1476534272U) && (4 == 14)) ? 1 : 0) ? 39 : 0) + ((((1476526080U == 1476530176U) && (4 == 6)) ? 1 : 0) ? 40 : 0) + ((((1476526080U == 1476536320U) && (4 == 7)) ? 1 : 0) ? 41 : 0) + ((((1476526080U == 1476534272U) && (4 == 15)) ? 1 : 0) ? 42 : 0) + ((((1476526080U == 1476534272U) && (4 == 10)) ? 1 : 0) ? 43 : 0) + ((((1476526080U == 1476532224U) && (4 == 10)) ? 1 : 0) ? 44 : 0) + ((((1476526080U == 1476534272U) && (4 == 13)) ? 1 : 0) ? 45 : 0) + ((((1476526080U == 1476533248U) && (4 == 15)) ? 1 : 0) ? 46 : 0) + ((((1476526080U == 1476527104U) && (4 == 2)) ? 1 : 0) ? 47 : 0) + ((((1476526080U == 1476536320U) && (4 == 0)) ? 1 : 0) ? 48 : 0) + ((((1476526080U == 1476530176U) && (4 == 4)) ? 1 : 0) ? 49 : 0) + ((((1476526080U == 1476534272U) && (4 == 11)) ? 1 : 0) ? 50 : 0) + ((((1476526080U == 1476530176U) && (4 == 5)) ? 1 : 0) ? 51 : 0) + ((((1476526080U == 1476536320U) && (4 == 2)) ? 1 : 0) ? 52 : 0) + ((((1476526080U == 1476532224U) && (4 == 7)) ? 1 : 0) ? 53 : 0) + ((((1476526080U == 1476534272U) && (4 == 5)) ? 1 : 0) ? 54 : 0) + ((((1476526080U == 1476533248U) && (4 == 8)) ? 1 : 0) ? 55 : 0) + ((((1476526080U == 1476526080U) && (4 == 6)) ? 1 : 0) ? 56 : 0) + ((((1476526080U == 1476535296U) && (4 == 9)) ? 1 : 0) ? 57 : 0) + ((((1476526080U == 1476534272U) && (4 == 7)) ? 1 : 0) ? 58 : 0) + ((((1476526080U == 1476534272U) && (4 == 6)) ? 1 : 0) ? 59 : 0) + ((((1476526080U == 1476534272U) && (4 == 4)) ? 1 : 0) ? 60 : 0) + ((((1476526080U == 1476533248U) && (4 == 14)) ? 1 : 0) ? 61 : 0) + ((((1476526080U == 1476532224U) && (4 == 11)) ? 1 : 0) ? 62 : 0) + ((((1476526080U == 1476533248U) && (4 == 11)) ? 1 : 0) ? 63 : 0) + ((((1476526080U == 1476533248U) && (4 == 10)) ? 1 : 0) ? 64 : 0) + ((((1476526080U == 1476533248U) && (4 == 9)) ? 1 : 0) ? 65 : 0) + ((((1476526080U == 1476526080U) && (4 == 1)) ? 1 : 0) ? 66 : 0) + ((((1476526080U == 1476529152U) && (4 == 4)) ? 1 : 0) ? 67 : 0) + ((((1476526080U == 1476528128U) && (4 == 6)) ? 1 : 0) ? 68 : 0) + ((((1476526080U == 1476534272U) && (4 == 0)) ? 1 : 0) ? 69 : 0) + ((((1476526080U == 1476534272U) && (4 == 1)) ? 1 : 0) ? 70 : 0) + ((((1476526080U == 1476534272U) && (4 == 2)) ? 1 : 0) ? 71 : 0) + ((((1476526080U == 1476534272U) && (4 == 3)) ? 1 : 0) ? 72 : 0) + ((((1476526080U == 1476528128U) && (4 == 1)) ? 1 : 0) ? 73 : 0) + ((((1476526080U == 1476527104U) && (4 == 12)) ? 1 : 0) ? 74 : 0) + ((((1476526080U == 1476529152U) && (4 == 3)) ? 1 : 0) ? 75 : 0) + ((((1476526080U == 1476528128U) && (4 == 4)) ? 1 : 0) ? 76 : 0) + ((((1476526080U == 1476528128U) && (4 == 5)) ? 1 : 0) ? 77 : 0) + ((((1476526080U == 1476527104U) && (4 == 0)) ? 1 : 0) ? 78 : 0) + ((((1476526080U == 1476527104U) && (4 == 1)) ? 1 : 0) ? 79 : 0) + ((((1476526080U == 1476528128U) && (4 == 3)) ? 1 : 0) ? 80 : 0) + ((((1476526080U == 1476528128U) && (4 == 2)) ? 1 : 0) ? 81 : 0) + ((((1476526080U == 1476528128U) && (4 == 0)) ? 1 : 0) ? 82 : 0) + ((((1476526080U == 1476526080U) && (4 == 0)) ? 1 : 0) ? 83 : 0) + ((((1476526080U == 1476526080U) && (4 == 4)) ? 1 : 0) ? 84 : 0) + ((((1476526080U == 1476526080U) && (4 == 5)) ? 1 : 0) ? 85 : 0) + ((((1476526080U == 1476534272U) && (4 == 12)) ? 1 : 0) ? 86 : 0) + ((((1476526080U == 1476535296U) && (4 == 13)) ? 1 : 0) ? 87 : 0) + ((((1476526080U == 1476530176U) && (4 == 3)) ? 1 : 0) ? 88 : 0) + ((((1476526080U == 1476532224U) && (4 == 9)) ? 1 : 0) ? 89 : 0) + ((((1476526080U == 1476529152U) && (4 == 7)) ? 1 : 0) ? 90 : 0) + ((((1476526080U == 1476527104U) && (4 == 3)) ? 1 : 0) ? 91 : 0) + ((((1476526080U == 1476526080U) && (4 == 15)) ? 1 : 0) ? 92 : 0) + ((((1476526080U == 1476527104U) && (4 == 5)) ? 1 : 0) ? 93 : 0) + ((((1476526080U == 1476527104U) && (4 == 13)) ? 1 : 0) ? 94 : 0) + ((((1476526080U == 1476527104U) && (4 == 6)) ? 1 : 0) ? 95 : 0) + ((((1476526080U == 1476533248U) && (4 == 12)) ? 1 : 0) ? 96 : 0) + ((((1476526080U == 3735928559U) && (4 == 0)) ? 1 : 0) ? 97 : 0) + ((((1476526080U == 3735928559U) && (4 == 1)) ? 1 : 0) ? 98 : 0) + ((((1476526080U == 3735928559U) && (4 == 2)) ? 1 : 0) ? 99 : 0) + ((((1476526080U == 3735928559U) && (4 == 3)) ? 1 : 0) ? 100 : 0), A13 = ((((1476526080U == 1476527104U) && (5 == 7)) ? 1 : 0) ? 0 : 0) + ((((1476526080U == 1476526080U) && (5 == 9)) ? 1 : 0) ? 1 : 0) + ((((1476526080U == 1476526080U) && (5 == 3)) ? 1 : 0) ? 2 : 0) + ((((1476526080U == 1476526080U) && (5 == 2)) ? 1 : 0) ? 3 : 0) + ((((1476526080U == 1476535296U) && (5 == 8)) ? 1 : 0) ? 4 : 0) + ((((1476526080U == 1476526080U) && (5 == 7)) ? 1 : 0) ? 5 : 0) + ((((1476526080U == 1476529152U) && (5 == 13)) ? 1 : 0) ? 6 : 0) + ((((1476526080U == 1476527104U) && (5 == 4)) ? 1 : 0) ? 7 : 0) + ((((1476526080U == 1476527104U) && (5 == 8)) ? 1 : 0) ? 8 : 0) + ((((1476526080U == 1476527104U) && (5 == 9)) ? 1 : 0) ? 9 : 0) + ((((1476526080U == 1476536320U) && (5 == 1)) ? 1 : 0) ? 10 : 0) + ((((1476526080U == 1476535296U) && (5 == 10)) ? 1 : 0) ? 11 : 0) + ((((1476526080U == 1476535296U) && (5 == 11)) ? 1 : 0) ? 12 : 0) + ((((1476526080U == 1476533248U) && (5 == 6)) ? 1 : 0) ? 13 : 0) + ((((1476526080U == 1476532224U) && (5 == 14)) ? 1 : 0) ? 14 : 0) + ((((1476526080U == 1476528128U) && (5 == 7)) ? 1 : 0) ? 15 : 0) + ((((1476526080U == 1476533248U) && (5 == 13)) ? 1 : 0) ? 16 : 0) + ((((1476526080U == 1476534272U) && (5 == 9)) ? 1 : 0) ? 17 : 0) + ((((1476526080U == 1476529152U) && (5 == 5)) ? 1 : 0) ? 18 : 0) + ((((1476526080U == 1476529152U) && (5 == 6)) ? 1 : 0) ? 19 : 0) + ((((1476526080U == 1476527104U) && (5 == 11)) ? 1 : 0) ? 20 : 0) + ((((1476526080U == 1476533248U) && (5 == 4)) ? 1 : 0) ? 21 : 0) + ((((1476526080U == 1476535296U) && (5 == 12)) ? 1 : 0) ? 22 : 0) + ((((1476526080U == 1476532224U) && (5 == 13)) ? 1 : 0) ? 23 : 0) + ((((1476526080U == 1476532224U) && (5 == 12)) ? 1 : 0) ? 24 : 0) + ((((1476526080U == 1476535296U) && (5 == 0)) ? 1 : 0) ? 25 : 0) + ((((1476526080U == 1476535296U) && (5 == 14)) ? 1 : 0) ? 26 : 0) + ((((1476526080U == 1476535296U) && (5 == 1)) ? 1 : 0) ? 27 : 0) + ((((1476526080U == 1476535296U) && (5 == 15)) ? 1 : 0) ? 28 : 0) + ((((1476526080U == 1476535296U) && (5 == 2)) ? 1 : 0) ? 29 : 0) + ((((1476526080U == 1476536320U) && (5 == 3)) ? 1 : 0) ? 30 : 0) + ((((1476526080U == 1476535296U) && (5 == 3)) ? 1 : 0) ? 31 : 0) + ((((1476526080U == 1476536320U) && (5 == 4)) ? 1 : 0) ? 32 : 0) + ((((1476526080U == 1476535296U) && (5 == 4)) ? 1 : 0) ? 33 : 0) + ((((1476526080U == 1476536320U) && (5 == 5)) ? 1 : 0) ? 34 : 0) + ((((1476526080U == 1476535296U) && (5 == 5)) ? 1 : 0) ? 35 : 0) + ((((1476526080U == 1476536320U) && (5 == 6)) ? 1 : 0) ? 36 : 0) + ((((1476526080U == 1476535296U) && (5 == 6)) ? 1 : 0) ? 37 : 0) + ((((1476526080U == 1476535296U) && (5 == 7)) ? 1 : 0) ? 38 : 0) + ((((1476526080U == 1476534272U) && (5 == 14)) ? 1 : 0) ? 39 : 0) + ((((1476526080U == 1476530176U) && (5 == 6)) ? 1 : 0) ? 40 : 0) + ((((1476526080U == 1476536320U) && (5 == 7)) ? 1 : 0) ? 41 : 0) + ((((1476526080U == 1476534272U) && (5 == 15)) ? 1 : 0) ? 42 : 0) + ((((1476526080U == 1476534272U) && (5 == 10)) ? 1 : 0) ? 43 : 0) + ((((1476526080U == 1476532224U) && (5 == 10)) ? 1 : 0) ? 44 : 0) + ((((1476526080U == 1476534272U) && (5 == 13)) ? 1 : 0) ? 45 : 0) + ((((1476526080U == 1476533248U) && (5 == 15)) ? 1 : 0) ? 46 : 0) + ((((1476526080U == 1476527104U) && (5 == 2)) ? 1 : 0) ? 47 : 0) + ((((1476526080U == 1476536320U) && (5 == 0)) ? 1 : 0) ? 48 : 0) + ((((1476526080U == 1476530176U) && (5 == 4)) ? 1 : 0) ? 49 : 0) + ((((1476526080U == 1476534272U) && (5 == 11)) ? 1 : 0) ? 50 : 0) + ((((1476526080U == 1476530176U) && (5 == 5)) ? 1 : 0) ? 51 : 0) + ((((1476526080U == 1476536320U) && (5 == 2)) ? 1 : 0) ? 52 : 0) + ((((1476526080U == 1476532224U) && (5 == 7)) ? 1 : 0) ? 53 : 0) + ((((1476526080U == 1476534272U) && (5 == 5)) ? 1 : 0) ? 54 : 0) + ((((1476526080U == 1476533248U) && (5 == 8)) ? 1 : 0) ? 55 : 0) + ((((1476526080U == 1476526080U) && (5 == 6)) ? 1 : 0) ? 56 : 0) + ((((1476526080U == 1476535296U) && (5 == 9)) ? 1 : 0) ? 57 : 0) + ((((1476526080U == 1476534272U) && (5 == 7)) ? 1 : 0) ? 58 : 0) + ((((1476526080U == 1476534272U) && (5 == 6)) ? 1 : 0) ? 59 : 0) + ((((1476526080U == 1476534272U) && (5 == 4)) ? 1 : 0) ? 60 : 0) + ((((1476526080U == 1476533248U) && (5 == 14)) ? 1 : 0) ? 61 : 0) + ((((1476526080U == 1476532224U) && (5 == 11)) ? 1 : 0) ? 62 : 0) + ((((1476526080U == 1476533248U) && (5 == 11)) ? 1 : 0) ? 63 : 0) + ((((1476526080U == 1476533248U) && (5 == 10)) ? 1 : 0) ? 64 : 0) + ((((1476526080U == 1476533248U) && (5 == 9)) ? 1 : 0) ? 65 : 0) + ((((1476526080U == 1476526080U) && (5 == 1)) ? 1 : 0) ? 66 : 0) + ((((1476526080U == 1476529152U) && (5 == 4)) ? 1 : 0) ? 67 : 0) + ((((1476526080U == 1476528128U) && (5 == 6)) ? 1 : 0) ? 68 : 0) + ((((1476526080U == 1476534272U) && (5 == 0)) ? 1 : 0) ? 69 : 0) + ((((1476526080U == 1476534272U) && (5 == 1)) ? 1 : 0) ? 70 : 0) + ((((1476526080U == 1476534272U) && (5 == 2)) ? 1 : 0) ? 71 : 0) + ((((1476526080U == 1476534272U) && (5 == 3)) ? 1 : 0) ? 72 : 0) + ((((1476526080U == 1476528128U) && (5 == 1)) ? 1 : 0) ? 73 : 0) + ((((1476526080U == 1476527104U) && (5 == 12)) ? 1 : 0) ? 74 : 0) + ((((1476526080U == 1476529152U) && (5 == 3)) ? 1 : 0) ? 75 : 0) + ((((1476526080U == 1476528128U) && (5 == 4)) ? 1 : 0) ? 76 : 0) + ((((1476526080U == 1476528128U) && (5 == 5)) ? 1 : 0) ? 77 : 0) + ((((1476526080U == 1476527104U) && (5 == 0)) ? 1 : 0) ? 78 : 0) + ((((1476526080U == 1476527104U) && (5 == 1)) ? 1 : 0) ? 79 : 0) + ((((1476526080U == 1476528128U) && (5 == 3)) ? 1 : 0) ? 80 : 0) + ((((1476526080U == 1476528128U) && (5 == 2)) ? 1 : 0) ? 81 : 0) + ((((1476526080U == 1476528128U) && (5 == 0)) ? 1 : 0) ? 82 : 0) + ((((1476526080U == 1476526080U) && (5 == 0)) ? 1 : 0) ? 83 : 0) + ((((1476526080U == 1476526080U) && (5 == 4)) ? 1 : 0) ? 84 : 0) + ((((1476526080U == 1476526080U) && (5 == 5)) ? 1 : 0) ? 85 : 0) + ((((1476526080U == 1476534272U) && (5 == 12)) ? 1 : 0) ? 86 : 0) + ((((1476526080U == 1476535296U) && (5 == 13)) ? 1 : 0) ? 87 : 0) + ((((1476526080U == 1476530176U) && (5 == 3)) ? 1 : 0) ? 88 : 0) + ((((1476526080U == 1476532224U) && (5 == 9)) ? 1 : 0) ? 89 : 0) + ((((1476526080U == 1476529152U) && (5 == 7)) ? 1 : 0) ? 90 : 0) + ((((1476526080U == 1476527104U) && (5 == 3)) ? 1 : 0) ? 91 : 0) + ((((1476526080U == 1476526080U) && (5 == 15)) ? 1 : 0) ? 92 : 0) + ((((1476526080U == 1476527104U) && (5 == 5)) ? 1 : 0) ? 93 : 0) + ((((1476526080U == 1476527104U) && (5 == 13)) ? 1 : 0) ? 94 : 0) + ((((1476526080U == 1476527104U) && (5 == 6)) ? 1 : 0) ? 95 : 0) + ((((1476526080U == 1476533248U) && (5 == 12)) ? 1 : 0) ? 96 : 0) + ((((1476526080U == 3735928559U) && (5 == 0)) ? 1 : 0) ? 97 : 0) + ((((1476526080U == 3735928559U) && (5 == 1)) ? 1 : 0) ? 98 : 0) + ((((1476526080U == 3735928559U) && (5 == 2)) ? 1 : 0) ? 99 : 0) + ((((1476526080U == 3735928559U) && (5 == 3)) ? 1 : 0) ? 100 : 0), + }; + +// We provide analogReadResolution APIs +void analogReadResolution(int bits); +# 116 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/Arduino.h" +enum dacPins { DAC0 = 0, DAC1 = 1, NUM_OF_DACS }; + + + +void interrupts(void); +void noInterrupts(void); + +int digitalPinToInterrupt(pin_size_t pin); + + + + + + +void analogReadResolution(int bits); +void analogWriteResolution(int bits); + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/variant.h" 1 +/* + * Copyright (c) 2022 Dhruva Gole + * + * SPDX-License-Identifier: Apache-2.0 + */ + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/pure_analog_pins.h" 1 + + + +/****************************************************************************** + * INCLUDE + ******************************************************************************/ + + + +/****************************************************************************** + * PREPROCESSOR-MAGIC + ******************************************************************************/ + + + +/****************************************************************************** + * TYPEDEF + ******************************************************************************/ + +class PureAnalogPin { +public: + PureAnalogPin(int _pin) : pin(_pin) {}; + int get() { + return pin; + }; + bool operator== (PureAnalogPin const & other) const { + return pin == other.pin; + } + //operator int() = delete; + __attribute__ ((error("Change me to a #define"))) operator int(); +private: + int pin; +}; + +extern PureAnalogPin A8_PURE; +extern PureAnalogPin A9_PURE; +extern PureAnalogPin A10_PURE; +extern PureAnalogPin A11_PURE; + + + + + + +/****************************************************************************** + * FUNCTION DECLARATION + ******************************************************************************/ + +void __attribute__ ((error("Can't use pins A8-A11 as digital"))) pinMode (PureAnalogPin pin, PinMode mode); +PinStatus __attribute__ ((error("Can't use pins A8-A11 as digital"))) digitalRead (PureAnalogPin pin); +void __attribute__ ((error("Can't use pins A8-A11 as digital"))) digitalWrite(PureAnalogPin pin, PinStatus value); +int analogRead (PureAnalogPin pin); +void __attribute__ ((error("Can't use pins A8-A11 as digital"))) analogWrite (PureAnalogPin pin, int value); +# 8 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/variant.h" 2 + +// TODO: correctly handle these legacy defines +# 134 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/Arduino.h" 2 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/SerialUSB.h" 1 +/* + * Copyright (c) 2024 Arduino SA + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/zephyrSerial.h" 1 +/* + * Copyright (c) 2022 Dhruva Gole + * + * SPDX-License-Identifier: Apache-2.0 + */ + + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/ring_buffer.h" 1 +/* + * Copyright (c) 2015 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 10 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/zephyrSerial.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/kernel.h" 1 +/* + * Copyright (c) 2016, Wind River Systems, Inc. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/** + * @file + * + * @brief Public kernel APIs. + */ +# 11 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/zephyrSerial.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/HardwareSerial.h" 1 +/* + HardwareSerial.h - Hardware serial interface for Arduino + Copyright (c) 2016 Arduino LLC. All right reserved. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +*/ + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/inttypes.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/inttypes.h" 3 4 +/* + * Copyright (c) 2004, 2005 by + * Ralf Corsepius, Ulm/Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ + +/** + * @file inttypes.h + */ +# 23 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/HardwareSerial.h" 2 + + + +# 25 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/HardwareSerial.h" +namespace arduino { + +// XXX: Those constants should be defined as const int / enums? +// XXX: shall we use namespaces too? +# 88 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/HardwareSerial.h" +class HardwareSerial : public Stream +{ + public: + virtual void begin(unsigned long) = 0; + virtual void begin(unsigned long baudrate, uint16_t config) = 0; + virtual void end() = 0; + virtual int available(void) = 0; + virtual int peek(void) = 0; + virtual int read(void) = 0; + virtual void flush(void) = 0; + virtual size_t write(uint8_t) = 0; + using Print::write; // pull in write(str) and write(buf, size) from Print + virtual operator bool() = 0; +}; + +// XXX: Are we keeping the serialEvent API? +extern void serialEventRun(void) __attribute__((weak)); + +} +# 12 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/zephyrSerial.h" 2 + +namespace arduino { + +class ZephyrSerialStub : public HardwareSerial +{ +public: + void begin(__attribute__((unused)) unsigned long baudRate) { } + void begin(__attribute__((unused)) unsigned long baudrate, __attribute__((unused)) uint16_t config) { } + void end() { } + int available() { return 0; } + int peek() { return 0; } + int read() { return 0; } + void flush() { } + size_t write(const uint8_t data) + { + printk("%c", static_cast(data)); + return 1; + } + + operator bool() { return true; } +}; + +class ZephyrSerial : public HardwareSerial +{ +public: + template + class ZephyrSerialBuffer + { + friend arduino::ZephyrSerial; + struct ring_buf ringbuf; + uint8_t buffer[SZ]; + struct k_sem sem; + + ZephyrSerialBuffer() + { + k_sem_init(&sem, 1, 1); + ring_buf_init(&ringbuf, sizeof(buffer), buffer); + } + }; + + ZephyrSerial(const struct device *dev) : uart(dev) { } + void begin(unsigned long baudrate, uint16_t config); + void begin(unsigned long baudrate) { begin(baudrate, ((0x10ul) | (0x3ul) | (0x400ul))); } + void flush(); + void end() { } + size_t write(const uint8_t *buffer, size_t size); + size_t write(const uint8_t data) { return write(&data, 1); } + using Print::write; // pull in write(str) and write(buf, size) from Print + int available(); + int availableForWrite(); + int peek(); + int read(); + + operator bool() + { + return true; + } + + friend class SerialUSB_; + +protected: + void IrqHandler(); + static void IrqDispatch(const struct device *dev, void *data); + + const struct device *uart; + ZephyrSerialBuffer<64> tx; + ZephyrSerialBuffer<64> rx; +}; + + +} // namespace arduino +# 94 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/zephyrSerial.h" +/* Declare Serial1, Serial2, ... */ + extern arduino::ZephyrSerial Serial1; extern arduino::ZephyrSerial Serial2; extern arduino::ZephyrSerial Serial3; extern arduino::ZephyrSerial Serial4; +# 10 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/SerialUSB.h" 2 + +namespace arduino { + +class SerialUSB_ : public ZephyrSerial { + +public: + SerialUSB_(const struct device *dev) : ZephyrSerial(dev) { } + void begin(unsigned long baudrate, uint16_t config); + void begin(unsigned long baudrate) { begin(baudrate, ((0x10ul) | (0x3ul) | (0x400ul))); } + + operator bool() override; + +protected: + uint32_t dtr = 0; + uint32_t baudrate; + void _baudChangeHandler(); + static void _baudChangeDispatch(struct k_timer *timer); + +private: + struct k_timer baud_timer; + bool started = false; +}; +} // namespace arduino + + +extern arduino::SerialUSB_ Serial; +# 136 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/Arduino.h" 2 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/strings.h" 1 3 4 + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/strings.h" 3 4 +/*- + * Copyright (c) 2002 Mike Barcroft + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * $FreeBSD: head/include/strings.h 272673 2014-10-07 04:54:11Z delphij $ + */ + + + + +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/cdefs.h" 1 3 4 +/* libc/sys/linux/sys/cdefs.h - Helper macros for K&R vs. ANSI C compat. */ + +/* Written 2000 by Werner Almesberger */ + +/*- + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 1991, 1993 + * The Regents of the University of California. All rights reserved. + * + * This code is derived from software contributed to Berkeley by + * Berkeley Software Design, Inc. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * @(#)cdefs.h 8.8 (Berkeley) 1/9/95 + * $FreeBSD$ + */ +# 33 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/strings.h" 2 3 4 +# 1 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/sys/_types.h" 1 3 4 +/* +Copyright (c) 1982, 1986, 1993 +The Regents of the University of California. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. +3. Neither the name of the University nor the names of its contributors +may be used to endorse or promote products derived from this software +without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + */ +/* ANSI C namespace clean utility typedefs */ + +/* This file defines various typedefs needed by the system calls that support + the C library. Basically, they're just the POSIX versions with an '_' + prepended. Targets shall use to define their own + internal types if desired. + + There are three define patterns used for type definitions. Lets assume + xyz_t is a user type. + + The internal type definition uses __machine_xyz_t_defined. It is defined by + to disable a default definition in . It + must not be used in other files. + + User type definitions are guarded by __xyz_t_defined in glibc and + _XYZ_T_DECLARED in BSD compatible systems. +*/ +# 34 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/strings.h" 2 3 4 + + + + + +// As per the GCC source, _SIZE_T_DECLARD is FreeBSD 5 +// So: Also check for _SIZE_T +# 53 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/strings.h" 3 4 +extern "C" { + +int bcmp(const void *, const void *, size_t) __attribute__((__pure__)); /* LEGACY */ +void bcopy(const void *, void *, size_t); /* LEGACY */ +void bzero(void *, size_t); /* LEGACY */ + + + + + +int ffs(int) __attribute__((__const__)); +# 73 "/home/megabug/.arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/picolibc/include/strings.h" 3 4 +char *index(const char *, int) __attribute__((__pure__)); /* LEGACY */ +char *rindex(const char *, int) __attribute__((__pure__)); /* LEGACY */ + +int strcasecmp(const char *, const char *) __attribute__((__pure__)); +int strncasecmp(const char *, const char *, size_t) __attribute__((__pure__)); + + + + + +} +# 138 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/Arduino.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/itoa.h" 1 + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/api/itoa.h" +/* + itoa.h - Integer to ASCII conversion + Copyright (c) 2016 Arduino LLC. All right reserved. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +*/ + + + +// Standard C functions required in Arduino API +// If these functions are not provided by the standard library, the +// core should supply an implementation of them. + + +extern "C" { + + +extern char* itoa(int value, char *string, int radix); +extern char* ltoa(long value, char *string, int radix); +extern char* utoa(unsigned value, char *string, int radix); +extern char* ultoa(unsigned long value, char *string, int radix); + + +} // extern "C" +# 139 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/Arduino.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/time_macros.h" 1 + + +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/variants/arduino_giga_r1_stm32h747xx_m7/llext-edk/include/zephyr/include/zephyr/sys/time_units.h" 1 +/* + * Copyright (c) 2019 Intel Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ +# 4 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/time_macros.h" 2 +# 140 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/Arduino.h" 2 +# 1 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/overloads.h" 1 + + +void analogWrite(enum dacPins pinNumber, int value); + + + +// In c++ mode, we also provide analogReadResolution and analogWriteResolution getters +int analogReadResolution(); +int analogWriteResolution(); +# 141 "/home/megabug/.arduino15/packages/arduino/hardware/zephyr/0.3.1/cores/arduino/Arduino.h" 2 + +// Allow namespace-less operations if Arduino.h is included +using namespace arduino; +# 2 "/home/megabug/Arduino/Test/build/sketch/Test.ino.cpp" 2 +# 1 "/home/megabug/Arduino/Test/Test.ino" +//extern void wait_for_input(); +void setup() { + // put your setup code here, to run once: + Serial.begin(115200); + while (!Serial && millis() < 5000) {} + wait_for_input(); +} + +void loop() { + // put your main code here, to run repeatedly: + +} + +void wait_for_input() { + Serial.println("Press any key to continue"); + while (Serial.read() != -1) {}; + while (Serial.read() == -1) {}; + while (Serial.read() != -1) {}; +} diff --git a/internal/arduino/builder/internal/utils/utils.go b/internal/arduino/builder/internal/utils/utils.go index d0cb2cec48c..1c3304d39d0 100644 --- a/internal/arduino/builder/internal/utils/utils.go +++ b/internal/arduino/builder/internal/utils/utils.go @@ -21,9 +21,9 @@ import ( "strings" "unicode" - f "github.com/arduino/arduino-cli/internal/algorithms" "github.com/arduino/go-paths-helper" "github.com/sirupsen/logrus" + "go.bug.st/f" "golang.org/x/text/runes" "golang.org/x/text/transform" "golang.org/x/text/unicode/norm" @@ -82,7 +82,7 @@ func ObjFileIsUpToDate(sourceFile, objectFile, dependencyFile *paths.Path) (bool } checkDepFile := func(depFile string) (bool, error) { - rows := strings.Split(strings.Replace(depFile, "\r\n", "\n", -1), "\n") + rows := strings.Split(strings.ReplaceAll(depFile, "\r\n", "\n"), "\n") rows = f.Map(rows, removeEndingBackSlash) rows = f.Map(rows, strings.TrimSpace) rows = f.Map(rows, unescapeDep) diff --git a/internal/arduino/builder/libraries.go b/internal/arduino/builder/libraries.go index f5648a09596..d2558e4954f 100644 --- a/internal/arduino/builder/libraries.go +++ b/internal/arduino/builder/libraries.go @@ -20,12 +20,13 @@ import ( "strings" "time" - f "github.com/arduino/arduino-cli/internal/algorithms" "github.com/arduino/arduino-cli/internal/arduino/builder/cpp" + "github.com/arduino/arduino-cli/internal/arduino/builder/logger" "github.com/arduino/arduino-cli/internal/arduino/libraries" "github.com/arduino/arduino-cli/internal/i18n" "github.com/arduino/go-paths-helper" "github.com/arduino/go-properties-orderedmap" + "go.bug.st/f" ) // nolint @@ -129,7 +130,7 @@ func (b *Builder) compileLibraries(libraries libraries.List, includes []string) } func (b *Builder) compileLibrary(library *libraries.Library, includes []string) (paths.PathList, error) { - if b.logger.Verbose() { + if b.logger.VerbosityLevel() == logger.VerbosityVerbose { b.logger.Info(i18n.Tr(`Compiling library "%[1]s"`, library.Name)) } libraryBuildPath := b.librariesBuildPath.Join(library.DirName) @@ -292,7 +293,7 @@ func (b *Builder) warnAboutArchIncompatibleLibraries(importedLibraries libraries // TODO here we can completly remove this part as it's duplicated in what we can // read in the gRPC response func (b *Builder) printUsedLibraries(importedLibraries libraries.List) { - if !b.logger.Verbose() || len(importedLibraries) == 0 { + if b.logger.VerbosityLevel() != logger.VerbosityVerbose || len(importedLibraries) == 0 { return } diff --git a/internal/arduino/builder/linker.go b/internal/arduino/builder/linker.go index e7d91811890..77f450a9182 100644 --- a/internal/arduino/builder/linker.go +++ b/internal/arduino/builder/linker.go @@ -18,15 +18,16 @@ package builder import ( "strings" - f "github.com/arduino/arduino-cli/internal/algorithms" + "github.com/arduino/arduino-cli/internal/arduino/builder/logger" "github.com/arduino/arduino-cli/internal/i18n" "github.com/arduino/go-paths-helper" + "go.bug.st/f" ) // link fixdoc func (b *Builder) link() error { if b.onlyUpdateCompilationDatabase { - if b.logger.Verbose() { + if b.logger.VerbosityLevel() == logger.VerbosityVerbose { b.logger.Info(i18n.Tr("Skip linking of final executable.")) } return nil diff --git a/internal/arduino/builder/internal/logger/logger.go b/internal/arduino/builder/logger/logger.go similarity index 76% rename from internal/arduino/builder/internal/logger/logger.go rename to internal/arduino/builder/logger/logger.go index 992c15a25b2..347c98ce9f8 100644 --- a/internal/arduino/builder/internal/logger/logger.go +++ b/internal/arduino/builder/logger/logger.go @@ -22,18 +22,27 @@ import ( "sync" ) +// Verbosity is the verbosity level of the Logger +type Verbosity int + +const ( + VerbosityQuiet Verbosity = -1 + VerbosityNormal Verbosity = 0 + VerbosityVerbose Verbosity = 1 +) + // BuilderLogger fixdoc type BuilderLogger struct { stdLock sync.Mutex stdout io.Writer stderr io.Writer - verbose bool + verbosity Verbosity warningsLevel string } -// New fixdoc -func New(stdout, stderr io.Writer, verbose bool, warningsLevel string) *BuilderLogger { +// New creates a new Logger to the given output streams with the specified verbosity and warnings level +func New(stdout, stderr io.Writer, verbosity Verbosity, warningsLevel string) *BuilderLogger { if stdout == nil { stdout = os.Stdout } @@ -46,13 +55,16 @@ func New(stdout, stderr io.Writer, verbose bool, warningsLevel string) *BuilderL return &BuilderLogger{ stdout: stdout, stderr: stderr, - verbose: verbose, + verbosity: verbosity, warningsLevel: warningsLevel, } } // Info fixdoc func (l *BuilderLogger) Info(msg string) { + if msg == "" { + return + } l.stdLock.Lock() defer l.stdLock.Unlock() fmt.Fprintln(l.stdout, msg) @@ -60,6 +72,9 @@ func (l *BuilderLogger) Info(msg string) { // Warn fixdoc func (l *BuilderLogger) Warn(msg string) { + if msg == "" { + return + } l.stdLock.Lock() defer l.stdLock.Unlock() fmt.Fprintln(l.stderr, msg) @@ -79,9 +94,9 @@ func (l *BuilderLogger) WriteStderr(data []byte) (int, error) { return l.stderr.Write(data) } -// Verbose fixdoc -func (l *BuilderLogger) Verbose() bool { - return l.verbose +// VerbosityLevel returns the verbosity level of the logger +func (l *BuilderLogger) VerbosityLevel() Verbosity { + return l.verbosity } // WarningsLevel fixdoc diff --git a/internal/arduino/builder/preprocess_sketch.go b/internal/arduino/builder/preprocess_sketch.go index 86d7bd7e7e9..290b2963664 100644 --- a/internal/arduino/builder/preprocess_sketch.go +++ b/internal/arduino/builder/preprocess_sketch.go @@ -17,6 +17,7 @@ package builder import ( "github.com/arduino/arduino-cli/internal/arduino/builder/internal/preprocessor" + "github.com/arduino/arduino-cli/internal/arduino/builder/logger" "github.com/arduino/go-paths-helper" ) @@ -26,13 +27,14 @@ func (b *Builder) preprocessSketch(includes paths.PathList) error { result, err := preprocessor.PreprocessSketchWithCtags( b.ctx, b.sketch, b.buildPath, includes, b.lineOffset, - b.buildProperties, b.onlyUpdateCompilationDatabase, b.logger.Verbose(), + b.buildProperties, b.onlyUpdateCompilationDatabase, + b.logger.VerbosityLevel() == logger.VerbosityVerbose, ) if result != nil { - if b.logger.Verbose() { + if b.logger.VerbosityLevel() == logger.VerbosityVerbose { b.logger.WriteStdout(result.Stdout()) } - b.logger.WriteStdout(result.Stderr()) + b.logger.WriteStderr(result.Stderr()) b.diagnosticStore.Parse(result.Args(), result.Stderr()) } diff --git a/internal/arduino/builder/recipe.go b/internal/arduino/builder/recipe.go index 5e71010c32c..b4c456e360f 100644 --- a/internal/arduino/builder/recipe.go +++ b/internal/arduino/builder/recipe.go @@ -16,10 +16,10 @@ package builder import ( - "fmt" "sort" "strings" + "github.com/arduino/arduino-cli/internal/arduino/builder/logger" "github.com/arduino/arduino-cli/internal/i18n" properties "github.com/arduino/go-properties-orderedmap" "github.com/sirupsen/logrus" @@ -27,7 +27,7 @@ import ( // RunRecipe fixdoc func (b *Builder) RunRecipe(prefix, suffix string, skipIfOnlyUpdatingCompilationDatabase bool) error { - logrus.Debugf(fmt.Sprintf("Looking for recipes like %s", prefix+"*"+suffix)) + logrus.Debugf("Looking for recipes like %s", prefix+"*"+suffix) // TODO is it necessary to use Clone? buildProperties := b.buildProperties.Clone() @@ -36,7 +36,7 @@ func (b *Builder) RunRecipe(prefix, suffix string, skipIfOnlyUpdatingCompilation // TODO is it necessary to use Clone? properties := buildProperties.Clone() for _, recipe := range recipes { - logrus.Debugf(fmt.Sprintf("Running recipe: %s", recipe)) + logrus.Debugf("Running recipe: %s", recipe) command, err := b.prepareCommandForRecipe(properties, recipe, false) if err != nil { @@ -44,7 +44,7 @@ func (b *Builder) RunRecipe(prefix, suffix string, skipIfOnlyUpdatingCompilation } if b.onlyUpdateCompilationDatabase && skipIfOnlyUpdatingCompilationDatabase { - if b.logger.Verbose() { + if b.logger.VerbosityLevel() == logger.VerbosityVerbose { b.logger.Info(i18n.Tr("Skipping: %[1]s", strings.Join(command.GetArgs(), " "))) } return nil diff --git a/internal/arduino/builder/sizer.go b/internal/arduino/builder/sizer.go index 84cf8012a32..ae188b48f2b 100644 --- a/internal/arduino/builder/sizer.go +++ b/internal/arduino/builder/sizer.go @@ -24,6 +24,7 @@ import ( "strconv" "github.com/arduino/arduino-cli/internal/arduino/builder/internal/utils" + "github.com/arduino/arduino-cli/internal/arduino/builder/logger" "github.com/arduino/arduino-cli/internal/i18n" rpc "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1" "github.com/arduino/go-properties-orderedmap" @@ -78,7 +79,7 @@ func (b *Builder) checkSizeAdvanced() (ExecutablesFileSections, error) { if err != nil { return nil, errors.New(i18n.Tr("Error while determining sketch size: %s", err)) } - if b.logger.Verbose() { + if b.logger.VerbosityLevel() == logger.VerbosityVerbose { b.logger.Info(utils.PrintableCommand(command.GetArgs())) } out := &bytes.Buffer{} @@ -155,19 +156,21 @@ func (b *Builder) checkSize() (ExecutablesFileSections, error) { return nil, nil } - b.logger.Info(i18n.Tr("Sketch uses %[1]s bytes (%[3]s%%) of program storage space. Maximum is %[2]s bytes.", - strconv.Itoa(textSize), - strconv.Itoa(maxTextSize), - strconv.Itoa(textSize*100/maxTextSize))) - if dataSize >= 0 { - if maxDataSize > 0 { - b.logger.Info(i18n.Tr("Global variables use %[1]s bytes (%[3]s%%) of dynamic memory, leaving %[4]s bytes for local variables. Maximum is %[2]s bytes.", - strconv.Itoa(dataSize), - strconv.Itoa(maxDataSize), - strconv.Itoa(dataSize*100/maxDataSize), - strconv.Itoa(maxDataSize-dataSize))) - } else { - b.logger.Info(i18n.Tr("Global variables use %[1]s bytes of dynamic memory.", strconv.Itoa(dataSize))) + if b.logger.VerbosityLevel() > logger.VerbosityQuiet { + b.logger.Info(i18n.Tr("Sketch uses %[1]s bytes (%[3]s%%) of program storage space. Maximum is %[2]s bytes.", + strconv.Itoa(textSize), + strconv.Itoa(maxTextSize), + strconv.Itoa(textSize*100/maxTextSize))) + if dataSize >= 0 { + if maxDataSize > 0 { + b.logger.Info(i18n.Tr("Global variables use %[1]s bytes (%[3]s%%) of dynamic memory, leaving %[4]s bytes for local variables. Maximum is %[2]s bytes.", + strconv.Itoa(dataSize), + strconv.Itoa(maxDataSize), + strconv.Itoa(dataSize*100/maxDataSize), + strconv.Itoa(maxDataSize-dataSize))) + } else { + b.logger.Info(i18n.Tr("Global variables use %[1]s bytes of dynamic memory.", strconv.Itoa(dataSize))) + } } } @@ -215,7 +218,7 @@ func (b *Builder) execSizeRecipe(properties *properties.Map) (textSize int, data resErr = errors.New(i18n.Tr("Error while determining sketch size: %s", err)) return } - if b.logger.Verbose() { + if b.logger.VerbosityLevel() == logger.VerbosityVerbose { b.logger.Info(utils.PrintableCommand(command.GetArgs())) } commandStdout := &bytes.Buffer{} diff --git a/internal/arduino/builder/sketch.go b/internal/arduino/builder/sketch.go index 1dda735138f..76e77f4c8e8 100644 --- a/internal/arduino/builder/sketch.go +++ b/internal/arduino/builder/sketch.go @@ -24,11 +24,13 @@ import ( "strconv" "strings" - f "github.com/arduino/arduino-cli/internal/algorithms" + "fortio.org/safecast" "github.com/arduino/arduino-cli/internal/arduino/builder/cpp" + "github.com/arduino/arduino-cli/internal/arduino/builder/logger" "github.com/arduino/arduino-cli/internal/i18n" "github.com/arduino/go-paths-helper" "github.com/marcinbor85/gohex" + "go.bug.st/f" ) var ( @@ -239,7 +241,7 @@ func (b *Builder) mergeSketchWithBootloader() error { bootloaderPath := b.buildProperties.GetPath("runtime.platform.path").Join("bootloaders", bootloader) if bootloaderPath.NotExist() { - if b.logger.Verbose() { + if b.logger.VerbosityLevel() == logger.VerbosityVerbose { b.logger.Warn(i18n.Tr("Bootloader file specified but missing: %[1]s", bootloaderPath)) } return nil @@ -254,7 +256,7 @@ func (b *Builder) mergeSketchWithBootloader() error { maximumBinSize *= 2 } err := merge(builtSketchPath, bootloaderPath, mergedSketchPath, maximumBinSize) - if err != nil && b.logger.Verbose() { + if err != nil && b.logger.VerbosityLevel() == logger.VerbosityVerbose { b.logger.Info(err.Error()) } @@ -297,8 +299,12 @@ func merge(builtSketchPath, bootloaderPath, mergedSketchPath *paths.Path, maximu if segment.Address < initialAddress { initialAddress = segment.Address } - if segment.Address+uint32(len(segment.Data)) > lastAddress { - lastAddress = segment.Address + uint32(len(segment.Data)) + lenData, err := safecast.Convert[uint32](len(segment.Data)) + if err != nil { + return err + } + if segment.Address+lenData > lastAddress { + lastAddress = segment.Address + lenData } } for _, segment := range memSketch.GetDataSegments() { @@ -308,8 +314,12 @@ func merge(builtSketchPath, bootloaderPath, mergedSketchPath *paths.Path, maximu if segment.Address < initialAddress { initialAddress = segment.Address } - if segment.Address+uint32(len(segment.Data)) > lastAddress { - lastAddress = segment.Address + uint32(len(segment.Data)) + lenData, err := safecast.Convert[uint32](len(segment.Data)) + if err != nil { + return err + } + if segment.Address+lenData > lastAddress { + lastAddress = segment.Address + lenData } } @@ -323,7 +333,11 @@ func merge(builtSketchPath, bootloaderPath, mergedSketchPath *paths.Path, maximu // Write out a .bin if the addresses doesn't go too far away from origin // (and consequently produce a very large bin) size := lastAddress - initialAddress - if size > uint32(maximumBinSize) { + maximumBinSizeUint32, err := safecast.Convert[uint32](maximumBinSize) + if err != nil { + return nil + } + if size > maximumBinSizeUint32 { return nil } mergedSketchPathBin := paths.New(strings.TrimSuffix(mergedSketchPath.String(), ".hex") + ".bin") diff --git a/internal/arduino/cores/board.go b/internal/arduino/cores/board.go index ed1aa9c68b5..6e966a68aee 100644 --- a/internal/arduino/cores/board.go +++ b/internal/arduino/cores/board.go @@ -21,6 +21,7 @@ import ( "sync" "github.com/arduino/arduino-cli/internal/i18n" + "github.com/arduino/arduino-cli/pkg/fqbn" "github.com/arduino/go-properties-orderedmap" ) @@ -124,7 +125,7 @@ func (b *Board) GetConfigOptionValues(option string) *properties.Map { // GetBuildProperties returns the build properties and the build // platform for the Board with the configuration passed as parameter. -func (b *Board) GetBuildProperties(fqbn *FQBN) (*properties.Map, error) { +func (b *Board) GetBuildProperties(fqbn *fqbn.FQBN) (*properties.Map, error) { b.buildConfigOptionsStructures() // Override default configs with user configs @@ -161,7 +162,7 @@ func (b *Board) GetBuildProperties(fqbn *FQBN) (*properties.Map, error) { // "cpu=atmega2560". // FIXME: deprecated, use GetBuildProperties instead func (b *Board) GeneratePropertiesForConfiguration(config string) (*properties.Map, error) { - fqbn, err := ParseFQBN(b.String() + ":" + config) + fqbn, err := fqbn.Parse(b.String() + ":" + config) if err != nil { return nil, errors.New(i18n.Tr("parsing fqbn: %s", err)) } diff --git a/internal/arduino/cores/cores.go b/internal/arduino/cores/cores.go index 79464ed9b46..25c73508b76 100644 --- a/internal/arduino/cores/cores.go +++ b/internal/arduino/cores/cores.go @@ -328,14 +328,14 @@ func (platform *Platform) latestReleaseVersion() *semver.Version { if len(versions) == 0 { return nil } - max := versions[0] + maximum := versions[0] for i := 1; i < len(versions); i++ { - if versions[i].GreaterThan(max) { - max = versions[i] + if versions[i].GreaterThan(maximum) { + maximum = versions[i] } } - return max + return maximum } // GetAllInstalled returns all installed PlatformRelease diff --git a/internal/arduino/cores/packageindex/index.go b/internal/arduino/cores/packageindex/index.go index fcc892497b3..c2c601c500b 100644 --- a/internal/arduino/cores/packageindex/index.go +++ b/internal/arduino/cores/packageindex/index.go @@ -17,14 +17,12 @@ package packageindex import ( "encoding/json" - "errors" "fmt" "slices" "github.com/arduino/arduino-cli/internal/arduino/cores" "github.com/arduino/arduino-cli/internal/arduino/resources" "github.com/arduino/arduino-cli/internal/arduino/security" - "github.com/arduino/arduino-cli/internal/i18n" "github.com/arduino/go-paths-helper" easyjson "github.com/mailru/easyjson" "github.com/sirupsen/logrus" @@ -273,14 +271,15 @@ func (inPlatformRelease indexPlatformRelease) extractPlatformIn(outPackage *core outPlatform.Deprecated = inPlatformRelease.Deprecated } - size, err := inPlatformRelease.Size.Int64() - if err != nil { - return errors.New(i18n.Tr("invalid platform archive size: %s", err)) - } outPlatformRelease := outPlatform.GetOrCreateRelease(inPlatformRelease.Version) outPlatformRelease.Name = inPlatformRelease.Name outPlatformRelease.Category = inPlatformRelease.Category outPlatformRelease.IsTrusted = trusted + size, err := inPlatformRelease.Size.Int64() + if err != nil { + logrus.Warningf("invalid platform %s archive size: %s", outPlatformRelease, err) + size = 0 + } outPlatformRelease.Resource = &resources.DownloadResource{ ArchiveFileName: inPlatformRelease.ArchiveFileName, Checksum: inPlatformRelease.Checksum, diff --git a/internal/arduino/cores/packagemanager/download.go b/internal/arduino/cores/packagemanager/download.go index 05cc0f70047..d80cd5e9185 100644 --- a/internal/arduino/cores/packagemanager/download.go +++ b/internal/arduino/cores/packagemanager/download.go @@ -26,6 +26,8 @@ import ( semver "go.bug.st/relaxed-semver" ) +var ErrPlatformNotAvailableForOS = errors.New("platform is not available for your OS") + // PlatformReference represents a tuple to identify a Platform type PlatformReference struct { Package string // The package where this Platform belongs to. @@ -89,7 +91,7 @@ func (pme *Explorer) FindPlatformReleaseDependencies(item *PlatformReference) (* } else { release = platform.GetLatestCompatibleRelease() if release == nil { - return nil, nil, errors.New(i18n.Tr("platform is not available for your OS")) + return nil, nil, ErrPlatformNotAvailableForOS } } diff --git a/internal/arduino/cores/packagemanager/install_uninstall.go b/internal/arduino/cores/packagemanager/install_uninstall.go index 7fb9b44dc02..977e03d8bb0 100644 --- a/internal/arduino/cores/packagemanager/install_uninstall.go +++ b/internal/arduino/cores/packagemanager/install_uninstall.go @@ -25,6 +25,7 @@ import ( "github.com/arduino/arduino-cli/commands/cmderrors" "github.com/arduino/arduino-cli/internal/arduino/cores" "github.com/arduino/arduino-cli/internal/arduino/cores/packageindex" + "github.com/arduino/arduino-cli/internal/arduino/resources" "github.com/arduino/arduino-cli/internal/i18n" rpc "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1" "github.com/arduino/go-paths-helper" @@ -40,6 +41,7 @@ func (pme *Explorer) DownloadAndInstallPlatformUpgrades( taskCB rpc.TaskProgressCB, skipPostInstall bool, skipPreUninstall bool, + checks resources.IntegrityCheckMode, ) (*cores.PlatformRelease, error) { if platformRef.PlatformVersion != nil { return nil, &cmderrors.InvalidArgumentError{Message: i18n.Tr("Upgrade doesn't accept parameters with version")} @@ -64,7 +66,7 @@ func (pme *Explorer) DownloadAndInstallPlatformUpgrades( if err != nil { return nil, &cmderrors.PlatformNotFoundError{Platform: platformRef.String()} } - if err := pme.DownloadAndInstallPlatformAndTools(ctx, platformRelease, tools, downloadCB, taskCB, skipPostInstall, skipPreUninstall); err != nil { + if err := pme.DownloadAndInstallPlatformAndTools(ctx, platformRelease, tools, downloadCB, taskCB, skipPostInstall, skipPreUninstall, checks); err != nil { return nil, err } @@ -78,7 +80,7 @@ func (pme *Explorer) DownloadAndInstallPlatformAndTools( ctx context.Context, platformRelease *cores.PlatformRelease, requiredTools []*cores.ToolRelease, downloadCB rpc.DownloadProgressCB, taskCB rpc.TaskProgressCB, - skipPostInstall bool, skipPreUninstall bool) error { + skipPostInstall bool, skipPreUninstall bool, checks resources.IntegrityCheckMode) error { log := pme.log.WithField("platform", platformRelease) // Prerequisite checks before install @@ -106,7 +108,7 @@ func (pme *Explorer) DownloadAndInstallPlatformAndTools( // Install tools first for _, tool := range toolsToInstall { - if err := pme.InstallTool(tool, taskCB, skipPostInstall); err != nil { + if err := pme.InstallTool(tool, taskCB, skipPostInstall, checks); err != nil { return err } } @@ -138,7 +140,7 @@ func (pme *Explorer) DownloadAndInstallPlatformAndTools( } // Install - if err := pme.InstallPlatform(platformRelease); err != nil { + if err := pme.InstallPlatform(platformRelease, checks); err != nil { log.WithError(err).Error("Cannot install platform") return &cmderrors.FailedInstallError{Message: i18n.Tr("Cannot install platform"), Cause: err} } @@ -196,18 +198,18 @@ func (pme *Explorer) DownloadAndInstallPlatformAndTools( } // InstallPlatform installs a specific release of a platform. -func (pme *Explorer) InstallPlatform(platformRelease *cores.PlatformRelease) error { +func (pme *Explorer) InstallPlatform(platformRelease *cores.PlatformRelease, checks resources.IntegrityCheckMode) error { destDir := pme.PackagesDir.Join( platformRelease.Platform.Package.Name, "hardware", platformRelease.Platform.Architecture, platformRelease.Version.String()) - return pme.InstallPlatformInDirectory(platformRelease, destDir) + return pme.InstallPlatformInDirectory(platformRelease, destDir, checks) } // InstallPlatformInDirectory installs a specific release of a platform in a specific directory. -func (pme *Explorer) InstallPlatformInDirectory(platformRelease *cores.PlatformRelease, destDir *paths.Path) error { - if err := platformRelease.Resource.Install(pme.DownloadDir, pme.tempDir, destDir); err != nil { +func (pme *Explorer) InstallPlatformInDirectory(platformRelease *cores.PlatformRelease, destDir *paths.Path, checks resources.IntegrityCheckMode) error { + if err := platformRelease.Resource.Install(pme.DownloadDir, pme.tempDir, destDir, checks); err != nil { return errors.New(i18n.Tr("installing platform %[1]s: %[2]s", platformRelease, err)) } if d, err := destDir.Abs(); err == nil { @@ -320,7 +322,7 @@ func (pme *Explorer) UninstallPlatform(platformRelease *cores.PlatformRelease, t } // InstallTool installs a specific release of a tool. -func (pme *Explorer) InstallTool(toolRelease *cores.ToolRelease, taskCB rpc.TaskProgressCB, skipPostInstall bool) error { +func (pme *Explorer) InstallTool(toolRelease *cores.ToolRelease, taskCB rpc.TaskProgressCB, skipPostInstall bool, checks resources.IntegrityCheckMode) error { log := pme.log.WithField("Tool", toolRelease) if toolRelease.IsInstalled() { @@ -343,7 +345,7 @@ func (pme *Explorer) InstallTool(toolRelease *cores.ToolRelease, taskCB rpc.Task "tools", toolRelease.Tool.Name, toolRelease.Version.String()) - err := toolResource.Install(pme.DownloadDir, pme.tempDir, destDir) + err := toolResource.Install(pme.DownloadDir, pme.tempDir, destDir, checks) if err != nil { log.WithError(err).Warn("Cannot install tool") return &cmderrors.FailedInstallError{Message: i18n.Tr("Cannot install tool %s", toolRelease), Cause: err} diff --git a/internal/arduino/cores/packagemanager/loader.go b/internal/arduino/cores/packagemanager/loader.go index 14e1d6df912..2effccb825d 100644 --- a/internal/arduino/cores/packagemanager/loader.go +++ b/internal/arduino/cores/packagemanager/loader.go @@ -364,10 +364,7 @@ func convertLegacyPlatformToPluggableDiscovery(platform *cores.PlatformRelease) // Add identification properties for network protocol i := 0 - for { - if !board.Properties.ContainsKey(fmt.Sprintf("upload_port.%d.vid", i)) { - break - } + for board.Properties.ContainsKey(fmt.Sprintf("upload_port.%d.vid", i)) { i++ } board.Properties.Set(fmt.Sprintf("upload_port.%d.board", i), board.BoardID) diff --git a/internal/arduino/cores/packagemanager/package_manager.go b/internal/arduino/cores/packagemanager/package_manager.go index aaaf675a410..deb14931053 100644 --- a/internal/arduino/cores/packagemanager/package_manager.go +++ b/internal/arduino/cores/packagemanager/package_manager.go @@ -33,6 +33,7 @@ import ( "github.com/arduino/arduino-cli/internal/arduino/discovery/discoverymanager" "github.com/arduino/arduino-cli/internal/arduino/sketch" "github.com/arduino/arduino-cli/internal/i18n" + "github.com/arduino/arduino-cli/pkg/fqbn" paths "github.com/arduino/go-paths-helper" properties "github.com/arduino/go-properties-orderedmap" "github.com/arduino/go-timeutils" @@ -123,6 +124,7 @@ func (pmb *Builder) Build() *PackageManager { profile: pmb.profile, discoveryManager: pmb.discoveryManager, userAgent: pmb.userAgent, + downloaderConfig: pmb.downloaderConfig, } } @@ -254,43 +256,9 @@ func (pme *Explorer) FindPlatformReleaseProvidingBoardsWithVidPid(vid, pid strin return res } -// FindBoardsWithVidPid FIXMEDOC -func (pme *Explorer) FindBoardsWithVidPid(vid, pid string) []*cores.Board { - res := []*cores.Board{} - for _, targetPackage := range pme.packages { - for _, targetPlatform := range targetPackage.Platforms { - if platform := pme.GetInstalledPlatformRelease(targetPlatform); platform != nil { - for _, board := range platform.Boards { - if board.HasUsbID(vid, pid) { - res = append(res, board) - } - } - } - } - } - return res -} - -// FindBoardsWithID FIXMEDOC -func (pme *Explorer) FindBoardsWithID(id string) []*cores.Board { - res := []*cores.Board{} - for _, targetPackage := range pme.packages { - for _, targetPlatform := range targetPackage.Platforms { - if platform := pme.GetInstalledPlatformRelease(targetPlatform); platform != nil { - for _, board := range platform.Boards { - if board.BoardID == id { - res = append(res, board) - } - } - } - } - } - return res -} - // FindBoardWithFQBN returns the board identified by the fqbn, or an error func (pme *Explorer) FindBoardWithFQBN(fqbnIn string) (*cores.Board, error) { - fqbn, err := cores.ParseFQBN(fqbnIn) + fqbn, err := fqbn.Parse(fqbnIn) if err != nil { return nil, errors.New(i18n.Tr("parsing fqbn: %s", err)) } @@ -318,22 +286,22 @@ func (pme *Explorer) FindBoardWithFQBN(fqbnIn string) (*cores.Board, error) { // // In case of error the partial results found in the meantime are // returned together with the error. -func (pme *Explorer) ResolveFQBN(fqbn *cores.FQBN) ( +func (pme *Explorer) ResolveFQBN(fqbn *fqbn.FQBN) ( *cores.Package, *cores.PlatformRelease, *cores.Board, *properties.Map, *cores.PlatformRelease, error) { // Find package - targetPackage := pme.packages[fqbn.Package] + targetPackage := pme.packages[fqbn.Vendor] if targetPackage == nil { return nil, nil, nil, nil, nil, - errors.New(i18n.Tr("unknown package %s", fqbn.Package)) + errors.New(i18n.Tr("unknown package %s", fqbn.Vendor)) } // Find platform - platform := targetPackage.Platforms[fqbn.PlatformArch] + platform := targetPackage.Platforms[fqbn.Architecture] if platform == nil { return targetPackage, nil, nil, nil, nil, - errors.New(i18n.Tr("unknown platform %s:%s", targetPackage, fqbn.PlatformArch)) + errors.New(i18n.Tr("unknown platform %s:%s", targetPackage, fqbn.Architecture)) } boardPlatformRelease := pme.GetInstalledPlatformRelease(platform) if boardPlatformRelease == nil { @@ -429,7 +397,7 @@ func (pme *Explorer) ResolveFQBN(fqbn *cores.FQBN) ( return targetPackage, boardPlatformRelease, board, buildProperties, corePlatformRelease, nil } -func (pme *Explorer) determineReferencedPlatformRelease(boardBuildProperties *properties.Map, boardPlatformRelease *cores.PlatformRelease, fqbn *cores.FQBN) (string, *cores.PlatformRelease, string, *cores.PlatformRelease, error) { +func (pme *Explorer) determineReferencedPlatformRelease(boardBuildProperties *properties.Map, boardPlatformRelease *cores.PlatformRelease, fqbn *fqbn.FQBN) (string, *cores.PlatformRelease, string, *cores.PlatformRelease, error) { core := boardBuildProperties.ExpandPropsInString(boardBuildProperties.Get("build.core")) referredCore := "" if split := strings.Split(core, ":"); len(split) > 1 { @@ -461,15 +429,15 @@ func (pme *Explorer) determineReferencedPlatformRelease(boardBuildProperties *pr return "", nil, "", nil, errors.New(i18n.Tr("missing package %[1]s referenced by board %[2]s", referredPackageName, fqbn)) } - referredPlatform := referredPackage.Platforms[fqbn.PlatformArch] + referredPlatform := referredPackage.Platforms[fqbn.Architecture] if referredPlatform == nil { return "", nil, "", nil, - errors.New(i18n.Tr("missing platform %[1]s:%[2]s referenced by board %[3]s", referredPackageName, fqbn.PlatformArch, fqbn)) + errors.New(i18n.Tr("missing platform %[1]s:%[2]s referenced by board %[3]s", referredPackageName, fqbn.Architecture, fqbn)) } referredPlatformRelease = pme.GetInstalledPlatformRelease(referredPlatform) if referredPlatformRelease == nil { return "", nil, "", nil, - errors.New(i18n.Tr("missing platform release %[1]s:%[2]s referenced by board %[3]s", referredPackageName, fqbn.PlatformArch, fqbn)) + errors.New(i18n.Tr("missing platform release %[1]s:%[2]s referenced by board %[3]s", referredPackageName, fqbn.Architecture, fqbn)) } } @@ -890,7 +858,7 @@ func (pme *Explorer) FindMonitorDependency(discovery *cores.MonitorDependency) * // NormalizeFQBN return a normalized copy of the given FQBN, that is the same // FQBN but with the unneeded or invalid options removed. -func (pme *Explorer) NormalizeFQBN(fqbn *cores.FQBN) (*cores.FQBN, error) { +func (pme *Explorer) NormalizeFQBN(fqbn *fqbn.FQBN) (*fqbn.FQBN, error) { _, _, board, _, _, err := pme.ResolveFQBN(fqbn) if err != nil { return nil, err diff --git a/internal/arduino/cores/packagemanager/package_manager_test.go b/internal/arduino/cores/packagemanager/package_manager_test.go index 4f8598a515a..daef6987191 100644 --- a/internal/arduino/cores/packagemanager/package_manager_test.go +++ b/internal/arduino/cores/packagemanager/package_manager_test.go @@ -17,6 +17,7 @@ package packagemanager import ( "fmt" + "net/http" "net/url" "os" "runtime" @@ -24,10 +25,12 @@ import ( "testing" "github.com/arduino/arduino-cli/internal/arduino/cores" + "github.com/arduino/arduino-cli/pkg/fqbn" "github.com/arduino/go-paths-helper" "github.com/arduino/go-properties-orderedmap" "github.com/stretchr/testify/require" "go.bug.st/downloader/v2" + "go.bug.st/f" semver "go.bug.st/relaxed-semver" ) @@ -69,7 +72,7 @@ func TestResolveFQBN(t *testing.T) { t.Run("NormalizeFQBN", func(t *testing.T) { testNormalization := func(in, expected string) { - fqbn, err := cores.ParseFQBN(in) + fqbn, err := fqbn.Parse(in) require.Nil(t, err) require.NotNil(t, fqbn) normalized, err := pme.NormalizeFQBN(fqbn) @@ -92,7 +95,7 @@ func TestResolveFQBN(t *testing.T) { }) t.Run("BoardAndBuildPropertiesArduinoUno", func(t *testing.T) { - fqbn, err := cores.ParseFQBN("arduino:avr:uno") + fqbn, err := fqbn.Parse("arduino:avr:uno") require.Nil(t, err) require.NotNil(t, fqbn) pkg, platformRelease, board, props, buildPlatformRelease, err := pme.ResolveFQBN(fqbn) @@ -113,7 +116,7 @@ func TestResolveFQBN(t *testing.T) { }) t.Run("BoardAndBuildPropertiesArduinoMega", func(t *testing.T) { - fqbn, err := cores.ParseFQBN("arduino:avr:mega") + fqbn, err := fqbn.Parse("arduino:avr:mega") require.Nil(t, err) require.NotNil(t, fqbn) pkg, platformRelease, board, props, buildPlatformRelease, err := pme.ResolveFQBN(fqbn) @@ -129,7 +132,7 @@ func TestResolveFQBN(t *testing.T) { }) t.Run("BoardAndBuildPropertiesArduinoMegaWithNonDefaultCpuOption", func(t *testing.T) { - fqbn, err := cores.ParseFQBN("arduino:avr:mega:cpu=atmega1280") + fqbn, err := fqbn.Parse("arduino:avr:mega:cpu=atmega1280") require.Nil(t, err) require.NotNil(t, fqbn) pkg, platformRelease, board, props, buildPlatformRelease, err := pme.ResolveFQBN(fqbn) @@ -147,7 +150,7 @@ func TestResolveFQBN(t *testing.T) { }) t.Run("BoardAndBuildPropertiesArduinoMegaWithDefaultCpuOption", func(t *testing.T) { - fqbn, err := cores.ParseFQBN("arduino:avr:mega:cpu=atmega2560") + fqbn, err := fqbn.Parse("arduino:avr:mega:cpu=atmega2560") require.Nil(t, err) require.NotNil(t, fqbn) pkg, platformRelease, board, props, buildPlatformRelease, err := pme.ResolveFQBN(fqbn) @@ -167,7 +170,7 @@ func TestResolveFQBN(t *testing.T) { t.Run("BoardAndBuildPropertiesForReferencedArduinoUno", func(t *testing.T) { // Test a board referenced from the main AVR arduino platform - fqbn, err := cores.ParseFQBN("referenced:avr:uno") + fqbn, err := fqbn.Parse("referenced:avr:uno") require.Nil(t, err) require.NotNil(t, fqbn) pkg, platformRelease, board, props, buildPlatformRelease, err := pme.ResolveFQBN(fqbn) @@ -185,7 +188,7 @@ func TestResolveFQBN(t *testing.T) { }) t.Run("BoardAndBuildPropertiesForArduinoDue", func(t *testing.T) { - fqbn, err := cores.ParseFQBN("arduino:sam:arduino_due_x") + fqbn, err := fqbn.Parse("arduino:sam:arduino_due_x") require.Nil(t, err) require.NotNil(t, fqbn) pkg, platformRelease, board, props, buildPlatformRelease, err := pme.ResolveFQBN(fqbn) @@ -200,7 +203,7 @@ func TestResolveFQBN(t *testing.T) { }) t.Run("BoardAndBuildPropertiesForCustomArduinoYun", func(t *testing.T) { - fqbn, err := cores.ParseFQBN("my_avr_platform:avr:custom_yun") + fqbn, err := fqbn.Parse("my_avr_platform:avr:custom_yun") require.Nil(t, err) require.NotNil(t, fqbn) pkg, platformRelease, board, props, buildPlatformRelease, err := pme.ResolveFQBN(fqbn) @@ -216,7 +219,7 @@ func TestResolveFQBN(t *testing.T) { }) t.Run("BoardAndBuildPropertiesForWatterotCore", func(t *testing.T) { - fqbn, err := cores.ParseFQBN("watterott:avr:attiny841:core=spencekonde,info=info") + fqbn, err := fqbn.Parse("watterott:avr:attiny841:core=spencekonde,info=info") require.Nil(t, err) require.NotNil(t, fqbn) pkg, platformRelease, board, props, buildPlatformRelease, err := pme.ResolveFQBN(fqbn) @@ -234,7 +237,7 @@ func TestResolveFQBN(t *testing.T) { t.Run("BoardAndBuildPropertiesForReferencedFeatherM0", func(t *testing.T) { // Test a board referenced from the Adafruit SAMD core (this tests // deriving where the package and core name are different) - fqbn, err := cores.ParseFQBN("referenced:samd:feather_m0") + fqbn, err := fqbn.Parse("referenced:samd:feather_m0") require.Nil(t, err) require.NotNil(t, fqbn) pkg, platformRelease, board, props, buildPlatformRelease, err := pme.ResolveFQBN(fqbn) @@ -253,7 +256,7 @@ func TestResolveFQBN(t *testing.T) { t.Run("BoardAndBuildPropertiesForNonExistentPackage", func(t *testing.T) { // Test a board referenced from a non-existent package - fqbn, err := cores.ParseFQBN("referenced:avr:dummy_invalid_package") + fqbn, err := fqbn.Parse("referenced:avr:dummy_invalid_package") require.Nil(t, err) require.NotNil(t, fqbn) pkg, platformRelease, board, props, buildPlatformRelease, err := pme.ResolveFQBN(fqbn) @@ -270,7 +273,7 @@ func TestResolveFQBN(t *testing.T) { t.Run("BoardAndBuildPropertiesForNonExistentArchitecture", func(t *testing.T) { // Test a board referenced from a non-existent platform/architecture - fqbn, err := cores.ParseFQBN("referenced:avr:dummy_invalid_platform") + fqbn, err := fqbn.Parse("referenced:avr:dummy_invalid_platform") require.Nil(t, err) require.NotNil(t, fqbn) pkg, platformRelease, board, props, buildPlatformRelease, err := pme.ResolveFQBN(fqbn) @@ -288,7 +291,7 @@ func TestResolveFQBN(t *testing.T) { t.Run("BoardAndBuildPropertiesForNonExistentCore", func(t *testing.T) { // Test a board referenced from a non-existent core // Note that ResolveFQBN does not actually check this currently - fqbn, err := cores.ParseFQBN("referenced:avr:dummy_invalid_core") + fqbn, err := fqbn.Parse("referenced:avr:dummy_invalid_core") require.Nil(t, err) require.NotNil(t, fqbn) pkg, platformRelease, board, props, buildPlatformRelease, err := pme.ResolveFQBN(fqbn) @@ -306,7 +309,7 @@ func TestResolveFQBN(t *testing.T) { }) t.Run("AddBuildBoardPropertyIfMissing", func(t *testing.T) { - fqbn, err := cores.ParseFQBN("my_avr_platform:avr:mymega") + fqbn, err := fqbn.Parse("my_avr_platform:avr:mymega") require.Nil(t, err) require.NotNil(t, fqbn) pkg, platformRelease, board, props, buildPlatformRelease, err := pme.ResolveFQBN(fqbn) @@ -324,7 +327,7 @@ func TestResolveFQBN(t *testing.T) { }) t.Run("AddBuildBoardPropertyIfNotMissing", func(t *testing.T) { - fqbn, err := cores.ParseFQBN("my_avr_platform:avr:mymega:cpu=atmega1280") + fqbn, err := fqbn.Parse("my_avr_platform:avr:mymega:cpu=atmega1280") require.Nil(t, err) require.NotNil(t, fqbn) pkg, platformRelease, board, props, buildPlatformRelease, err := pme.ResolveFQBN(fqbn) @@ -813,7 +816,7 @@ func TestLegacyPackageConversionToPluggableDiscovery(t *testing.T) { defer release() { - fqbn, err := cores.ParseFQBN("esp32:esp32:esp32") + fqbn, err := fqbn.Parse("esp32:esp32:esp32") require.NoError(t, err) require.NotNil(t, fqbn) _, platformRelease, board, _, _, err := pme.ResolveFQBN(fqbn) @@ -836,7 +839,7 @@ func TestLegacyPackageConversionToPluggableDiscovery(t *testing.T) { require.Equal(t, "{network_cmd} -i \"{upload.port.address}\" -p \"{upload.port.properties.port}\" \"--auth={upload.field.password}\" -f \"{build.path}/{build.project_name}.bin\"", platformProps.Get("tools.esptool__pluggable_network.upload.pattern")) } { - fqbn, err := cores.ParseFQBN("esp8266:esp8266:generic") + fqbn, err := fqbn.Parse("esp8266:esp8266:generic") require.NoError(t, err) require.NotNil(t, fqbn) _, platformRelease, board, _, _, err := pme.ResolveFQBN(fqbn) @@ -858,7 +861,7 @@ func TestLegacyPackageConversionToPluggableDiscovery(t *testing.T) { require.Equal(t, "\"{network_cmd}\" -I \"{runtime.platform.path}/tools/espota.py\" -i \"{upload.port.address}\" -p \"{upload.port.properties.port}\" \"--auth={upload.field.password}\" -f \"{build.path}/{build.project_name}.bin\"", platformProps.Get("tools.esptool__pluggable_network.upload.pattern")) } { - fqbn, err := cores.ParseFQBN("arduino:avr:uno") + fqbn, err := fqbn.Parse("arduino:avr:uno") require.NoError(t, err) require.NotNil(t, fqbn) _, platformRelease, board, _, _, err := pme.ResolveFQBN(fqbn) @@ -888,7 +891,7 @@ func TestVariantAndCoreSelection(t *testing.T) { // build.core test suite t.Run("CoreWithoutSubstitutions", func(t *testing.T) { - fqbn, err := cores.ParseFQBN("test2:avr:test") + fqbn, err := fqbn.Parse("test2:avr:test") require.NoError(t, err) require.NotNil(t, fqbn) _, _, _, buildProps, _, err := pme.ResolveFQBN(fqbn) @@ -897,7 +900,7 @@ func TestVariantAndCoreSelection(t *testing.T) { requireSameFile(buildProps.GetPath("build.core.path"), dataDir1.Join("packages", "test2", "hardware", "avr", "1.0.0", "cores", "arduino")) }) t.Run("CoreWithSubstitutions", func(t *testing.T) { - fqbn, err := cores.ParseFQBN("test2:avr:test2") + fqbn, err := fqbn.Parse("test2:avr:test2") require.NoError(t, err) require.NotNil(t, fqbn) _, _, _, buildProps, _, err := pme.ResolveFQBN(fqbn) @@ -907,7 +910,7 @@ func TestVariantAndCoreSelection(t *testing.T) { requireSameFile(buildProps.GetPath("build.core.path"), dataDir1.Join("packages", "test2", "hardware", "avr", "1.0.0", "cores", "arduino")) }) t.Run("CoreWithSubstitutionsAndDefaultOption", func(t *testing.T) { - fqbn, err := cores.ParseFQBN("test2:avr:test3") + fqbn, err := fqbn.Parse("test2:avr:test3") require.NoError(t, err) require.NotNil(t, fqbn) _, _, _, buildProps, _, err := pme.ResolveFQBN(fqbn) @@ -917,7 +920,7 @@ func TestVariantAndCoreSelection(t *testing.T) { requireSameFile(buildProps.GetPath("build.core.path"), dataDir1.Join("packages", "test2", "hardware", "avr", "1.0.0", "cores", "arduino")) }) t.Run("CoreWithSubstitutionsAndNonDefaultOption", func(t *testing.T) { - fqbn, err := cores.ParseFQBN("test2:avr:test3:core=referenced") + fqbn, err := fqbn.Parse("test2:avr:test3:core=referenced") require.NoError(t, err) require.NotNil(t, fqbn) _, _, _, buildProps, _, err := pme.ResolveFQBN(fqbn) @@ -929,7 +932,7 @@ func TestVariantAndCoreSelection(t *testing.T) { // build.variant test suite t.Run("VariantWithoutSubstitutions", func(t *testing.T) { - fqbn, err := cores.ParseFQBN("test2:avr:test4") + fqbn, err := fqbn.Parse("test2:avr:test4") require.NoError(t, err) require.NotNil(t, fqbn) _, _, _, buildProps, _, err := pme.ResolveFQBN(fqbn) @@ -938,7 +941,7 @@ func TestVariantAndCoreSelection(t *testing.T) { requireSameFile(buildProps.GetPath("build.variant.path"), dataDir1.Join("packages", "test2", "hardware", "avr", "1.0.0", "variants", "standard")) }) t.Run("VariantWithSubstitutions", func(t *testing.T) { - fqbn, err := cores.ParseFQBN("test2:avr:test5") + fqbn, err := fqbn.Parse("test2:avr:test5") require.NoError(t, err) require.NotNil(t, fqbn) _, _, _, buildProps, _, err := pme.ResolveFQBN(fqbn) @@ -948,7 +951,7 @@ func TestVariantAndCoreSelection(t *testing.T) { requireSameFile(buildProps.GetPath("build.variant.path"), dataDir1.Join("packages", "test2", "hardware", "avr", "1.0.0", "variants", "standard")) }) t.Run("VariantWithSubstitutionsAndDefaultOption", func(t *testing.T) { - fqbn, err := cores.ParseFQBN("test2:avr:test6") + fqbn, err := fqbn.Parse("test2:avr:test6") require.NoError(t, err) require.NotNil(t, fqbn) _, _, _, buildProps, _, err := pme.ResolveFQBN(fqbn) @@ -958,7 +961,7 @@ func TestVariantAndCoreSelection(t *testing.T) { requireSameFile(buildProps.GetPath("build.variant.path"), dataDir1.Join("packages", "test2", "hardware", "avr", "1.0.0", "variants", "standard")) }) t.Run("VariantWithSubstitutionsAndNonDefaultOption", func(t *testing.T) { - fqbn, err := cores.ParseFQBN("test2:avr:test6:variant=referenced") + fqbn, err := fqbn.Parse("test2:avr:test6:variant=referenced") require.NoError(t, err) require.NotNil(t, fqbn) _, _, _, buildProps, _, err := pme.ResolveFQBN(fqbn) @@ -1024,3 +1027,20 @@ func TestRunScript(t *testing.T) { }) } } + +func TestCorrectlyUsesDownloaderConfig(t *testing.T) { + proxyURL := f.Must(url.Parse("http://proxy:test@test.test/404:42")) + + downloaderCfg := downloader.Config{ + HttpClient: http.Client{ + Transport: &http.Transport{ + Proxy: http.ProxyURL(proxyURL), + }, + Timeout: 123, + }, + } + pmb := NewBuilder(customHardware, customHardware, nil, customHardware, customHardware, "test", downloaderCfg) + pmb.LoadHardwareFromDirectory(customHardware) + pm := pmb.Build() + require.Equal(t, downloaderCfg, pm.downloaderConfig) +} diff --git a/internal/arduino/cores/packagemanager/profiles.go b/internal/arduino/cores/packagemanager/profiles.go index f4635950785..d11682b32c0 100644 --- a/internal/arduino/cores/packagemanager/profiles.go +++ b/internal/arduino/cores/packagemanager/profiles.go @@ -132,7 +132,7 @@ func (pmb *Builder) installMissingProfilePlatform(ctx context.Context, platformR // Perform install taskCB(&rpc.TaskProgress{Name: i18n.Tr("Installing platform %s", tmpPlatformRelease)}) - if err := tmpPme.InstallPlatformInDirectory(tmpPlatformRelease, destDir); err != nil { + if err := tmpPme.InstallPlatformInDirectory(tmpPlatformRelease, destDir, resources.IntegrityCheckFull); err != nil { taskCB(&rpc.TaskProgress{Name: i18n.Tr("Error installing platform %s", tmpPlatformRelease)}) return &cmderrors.FailedInstallError{Message: i18n.Tr("Error installing platform %s", tmpPlatformRelease), Cause: err} } @@ -183,7 +183,7 @@ func (pmb *Builder) installMissingProfileTool(ctx context.Context, toolRelease * // Install tool taskCB(&rpc.TaskProgress{Name: i18n.Tr("Installing tool %s", toolRelease)}) - if err := toolResource.Install(pmb.DownloadDir, tmp, destDir); err != nil { + if err := toolResource.Install(pmb.DownloadDir, tmp, destDir, resources.IntegrityCheckFull); err != nil { taskCB(&rpc.TaskProgress{Name: i18n.Tr("Error installing tool %s", toolRelease)}) return &cmderrors.FailedInstallError{Message: i18n.Tr("Error installing tool %s", toolRelease), Cause: err} } diff --git a/internal/arduino/libraries/librariesindex/json.go b/internal/arduino/libraries/librariesindex/json.go index 926ed39edca..c5c8dd4de90 100644 --- a/internal/arduino/libraries/librariesindex/json.go +++ b/internal/arduino/libraries/librariesindex/json.go @@ -126,7 +126,7 @@ func (indexLib *indexRelease) extractReleaseIn(library *Library) { func (indexLib *indexRelease) extractDependencies() []*Dependency { res := []*Dependency{} - if indexLib.Dependencies == nil || len(indexLib.Dependencies) == 0 { + if len(indexLib.Dependencies) == 0 { return res } for _, indexDep := range indexLib.Dependencies { diff --git a/internal/arduino/libraries/librariesmanager/install.go b/internal/arduino/libraries/librariesmanager/install.go index 43da93403ae..9b53910d41a 100644 --- a/internal/arduino/libraries/librariesmanager/install.go +++ b/internal/arduino/libraries/librariesmanager/install.go @@ -20,7 +20,6 @@ import ( "errors" "fmt" "net/url" - "os" "strings" "github.com/arduino/arduino-cli/commands/cmderrors" @@ -201,8 +200,8 @@ func (lmi *Installer) InstallZipLib(ctx context.Context, archivePath *paths.Path } // InstallGitLib installs a library hosted on a git repository on the specified path. -func (lmi *Installer) InstallGitLib(gitURL string, overwrite bool) error { - gitLibraryName, ref, err := parseGitURL(gitURL) +func (lmi *Installer) InstallGitLib(argURL string, overwrite bool) error { + libraryName, gitURL, ref, err := parseGitArgURL(argURL) if err != nil { return err } @@ -213,27 +212,29 @@ func (lmi *Installer) InstallGitLib(gitURL string, overwrite bool) error { return err } defer tmp.RemoveAll() - tmpInstallPath := tmp.Join(gitLibraryName) + tmpInstallPath := tmp.Join(libraryName) - depth := 1 - if ref != "" { - depth = 0 - } - repo, err := git.PlainClone(tmpInstallPath.String(), false, &git.CloneOptions{ - URL: gitURL, - Depth: depth, - Progress: os.Stdout, - }) - if err != nil { - return err - } + if _, err := git.PlainClone(tmpInstallPath.String(), false, &git.CloneOptions{ + URL: gitURL, + ReferenceName: plumbing.ReferenceName(ref), + }); err != nil { + if err.Error() != "reference not found" { + return err + } - if ref != "" { - if h, err := repo.ResolveRevision(ref); err != nil { + // We did not find the requested reference, let's do a PlainClone and use + // "ResolveRevision" to find and checkout the requested revision + if repo, err := git.PlainClone(tmpInstallPath.String(), false, &git.CloneOptions{ + URL: gitURL, + }); err != nil { + return err + } else if h, err := repo.ResolveRevision(plumbing.Revision(ref)); err != nil { return err } else if w, err := repo.Worktree(); err != nil { return err - } else if err := w.Checkout(&git.CheckoutOptions{Hash: plumbing.NewHash(h.String())}); err != nil { + } else if err := w.Checkout(&git.CheckoutOptions{ + Force: true, // workaround for: https://github.com/go-git/go-git/issues/1411 + Hash: plumbing.NewHash(h.String())}); err != nil { return err } } @@ -249,25 +250,51 @@ func (lmi *Installer) InstallGitLib(gitURL string, overwrite bool) error { return nil } -// parseGitURL tries to recover a library name from a git URL. +// parseGitArgURL tries to recover a library name from a git URL. // Returns an error in case the URL is not a valid git URL. -func parseGitURL(gitURL string) (string, plumbing.Revision, error) { - var res string - var rev plumbing.Revision - if strings.HasPrefix(gitURL, "git@") { - // We can't parse these as URLs - i := strings.LastIndex(gitURL, "/") - res = strings.TrimSuffix(gitURL[i+1:], ".git") - } else if path := paths.New(gitURL); path != nil && path.Exist() { - res = path.Base() - } else if parsed, err := url.Parse(gitURL); parsed.String() != "" && err == nil { - i := strings.LastIndex(parsed.Path, "/") - res = strings.TrimSuffix(parsed.Path[i+1:], ".git") - rev = plumbing.Revision(parsed.Fragment) - } else { - return "", "", errors.New(i18n.Tr("invalid git url")) - } - return res, rev, nil +func parseGitArgURL(argURL string) (string, string, string, error) { + // On Windows handle paths with backslashes in the form C:\Path\to\library + if path := paths.New(argURL); path != nil && path.Exist() { + return path.Base(), argURL, "", nil + } + + // Handle commercial git-specific address in the form "git@xxxxx.com:arduino-libraries/SigFox.git" + prefixes := map[string]string{ + "git@github.com:": "https://github.com/", + "git@gitlab.com:": "https://gitlab.com/", + "git@bitbucket.org:": "https://bitbucket.org/", + } + for prefix, replacement := range prefixes { + if strings.HasPrefix(argURL, prefix) { + // We can't parse these as URLs + argURL = replacement + strings.TrimPrefix(argURL, prefix) + } + } + + parsedURL, err := url.Parse(argURL) + if err != nil { + return "", "", "", fmt.Errorf("%s: %w", i18n.Tr("invalid git url"), err) + } + if parsedURL.String() == "" { + return "", "", "", errors.New(i18n.Tr("invalid git url")) + } + + // Extract lib name from "https://github.com/arduino-libraries/SigFox.git#1.0.3" + // path == "/arduino-libraries/SigFox.git" + slash := strings.LastIndex(parsedURL.Path, "/") + if slash == -1 { + return "", "", "", errors.New(i18n.Tr("invalid git url")) + } + libName := strings.TrimSuffix(parsedURL.Path[slash+1:], ".git") + if libName == "" { + return "", "", "", errors.New(i18n.Tr("invalid git url")) + } + // fragment == "1.0.3" + rev := parsedURL.Fragment + // gitURL == "https://github.com/arduino-libraries/SigFox.git" + parsedURL.Fragment = "" + gitURL := parsedURL.String() + return libName, gitURL, rev, nil } // validateLibrary verifies the dir contains a valid library, meaning it has either diff --git a/internal/arduino/libraries/librariesmanager/install_test.go b/internal/arduino/libraries/librariesmanager/install_test.go index 169680b5502..85ab27f358e 100644 --- a/internal/arduino/libraries/librariesmanager/install_test.go +++ b/internal/arduino/libraries/librariesmanager/install_test.go @@ -23,59 +23,85 @@ import ( ) func TestParseGitURL(t *testing.T) { - gitURL := "" - libraryName, ref, err := parseGitURL(gitURL) - require.Equal(t, "", libraryName) - require.EqualValues(t, "", ref) - require.Errorf(t, err, "invalid git url") - - gitURL = "https://github.com/arduino/arduino-lib.git" - libraryName, ref, err = parseGitURL(gitURL) - require.Equal(t, "arduino-lib", libraryName) - require.EqualValues(t, "", ref) - require.NoError(t, err) - - gitURL = "https://github.com/arduino/arduino-lib.git#0.1.2" - libraryName, ref, err = parseGitURL(gitURL) - require.Equal(t, "arduino-lib", libraryName) - require.EqualValues(t, "0.1.2", ref) - require.NoError(t, err) - - gitURL = "git@github.com:arduino/arduino-lib.git" - libraryName, ref, err = parseGitURL(gitURL) - require.Equal(t, "arduino-lib", libraryName) - require.EqualValues(t, "", ref) - require.NoError(t, err) - - gitURL = "file:///path/to/arduino-lib" - libraryName, ref, err = parseGitURL(gitURL) - require.Equal(t, "arduino-lib", libraryName) - require.EqualValues(t, "", ref) - require.NoError(t, err) - - gitURL = "file:///path/to/arduino-lib.git" - libraryName, ref, err = parseGitURL(gitURL) - require.Equal(t, "arduino-lib", libraryName) - require.EqualValues(t, "", ref) - require.NoError(t, err) - - gitURL = "/path/to/arduino-lib" - libraryName, ref, err = parseGitURL(gitURL) - require.Equal(t, "arduino-lib", libraryName) - require.EqualValues(t, "", ref) - require.NoError(t, err) - - gitURL = "/path/to/arduino-lib.git" - libraryName, ref, err = parseGitURL(gitURL) - require.Equal(t, "arduino-lib", libraryName) - require.EqualValues(t, "", ref) - require.NoError(t, err) - - gitURL = "file:///path/to/arduino-lib" - libraryName, ref, err = parseGitURL(gitURL) - require.Equal(t, "arduino-lib", libraryName) - require.EqualValues(t, "", ref) - require.NoError(t, err) + { + _, _, _, err := parseGitArgURL("") + require.EqualError(t, err, "invalid git url") + } + { + libraryName, gitURL, ref, err := parseGitArgURL("https://github.com/arduino/arduino-lib.git") + require.NoError(t, err) + require.Equal(t, "arduino-lib", libraryName) + require.Equal(t, "https://github.com/arduino/arduino-lib.git", gitURL) + require.EqualValues(t, "", ref) + } + { + libraryName, gitURL, ref, err := parseGitArgURL("https://github.com/arduino/arduino-lib.git#0.1.2") + require.NoError(t, err) + require.Equal(t, "arduino-lib", libraryName) + require.Equal(t, "https://github.com/arduino/arduino-lib.git", gitURL) + require.EqualValues(t, "0.1.2", ref) + } + { + libraryName, gitURL, ref, err := parseGitArgURL("git@github.com:arduino/arduino-lib.git") + require.NoError(t, err) + require.Equal(t, "arduino-lib", libraryName) + require.Equal(t, "https://github.com/arduino/arduino-lib.git", gitURL) + require.EqualValues(t, "", ref) + } + { + libraryName, gitURL, ref, err := parseGitArgURL("git@bitbucket.org:arduino/arduino-lib.git") + require.NoError(t, err) + require.Equal(t, "arduino-lib", libraryName) + require.Equal(t, "https://bitbucket.org/arduino/arduino-lib.git", gitURL) + require.EqualValues(t, "", ref) + } + { + libraryName, gitURL, ref, err := parseGitArgURL("git@github.com:arduino/arduino-lib.git#0.1.2") + require.NoError(t, err) + require.Equal(t, "arduino-lib", libraryName) + require.Equal(t, "https://github.com/arduino/arduino-lib.git", gitURL) + require.EqualValues(t, "0.1.2", ref) + } + { + libraryName, gitURL, ref, err := parseGitArgURL("file:///path/to/arduino-lib") + require.NoError(t, err) + require.Equal(t, "arduino-lib", libraryName) + require.Equal(t, "file:///path/to/arduino-lib", gitURL) + require.EqualValues(t, "", ref) + } + { + libraryName, gitURL, ref, err := parseGitArgURL("file:///path/to/arduino-lib.git") + require.NoError(t, err) + require.Equal(t, "arduino-lib", libraryName) + require.Equal(t, "file:///path/to/arduino-lib.git", gitURL) + require.EqualValues(t, "", ref) + } + { + libraryName, gitURL, ref, err := parseGitArgURL("/path/to/arduino-lib") + require.NoError(t, err) + require.Equal(t, "arduino-lib", libraryName) + require.Equal(t, "/path/to/arduino-lib", gitURL) + require.EqualValues(t, "", ref) + } + { + libraryName, gitURL, ref, err := parseGitArgURL("/path/to/arduino-lib.git") + require.NoError(t, err) + require.Equal(t, "arduino-lib", libraryName) + require.Equal(t, "/path/to/arduino-lib.git", gitURL) + require.EqualValues(t, "", ref) + } + { + _, _, _, err := parseGitArgURL("https://arduino.cc") + require.EqualError(t, err, "invalid git url") + } + { + _, _, _, err := parseGitArgURL("https://arduino.cc/") + require.EqualError(t, err, "invalid git url") + } + { + _, _, _, err := parseGitArgURL("://not@a@url") + require.EqualError(t, err, "invalid git url: parse \"://not@a@url\": missing protocol scheme") + } } func TestValidateLibrary(t *testing.T) { diff --git a/internal/arduino/libraries/librariesmanager/librariesmanager.go b/internal/arduino/libraries/librariesmanager/librariesmanager.go index f5883d6673b..457d20b32ff 100644 --- a/internal/arduino/libraries/librariesmanager/librariesmanager.go +++ b/internal/arduino/libraries/librariesmanager/librariesmanager.go @@ -210,7 +210,7 @@ func (lm *LibrariesManager) loadLibrariesFromDir(librariesDir *LibrariesDir) []* return statuses } if err != nil { - s := status.Newf(codes.FailedPrecondition, i18n.Tr("reading dir %[1]s: %[2]s", librariesDir.Path, err)) + s := status.New(codes.FailedPrecondition, i18n.Tr("reading dir %[1]s: %[2]s", librariesDir.Path, err)) return append(statuses, s) } d.FilterDirs() @@ -221,7 +221,7 @@ func (lm *LibrariesManager) loadLibrariesFromDir(librariesDir *LibrariesDir) []* for _, libDir := range libDirs { library, err := libraries.Load(libDir, librariesDir.Location) if err != nil { - s := status.Newf(codes.Internal, i18n.Tr("loading library from %[1]s: %[2]s", libDir, err)) + s := status.New(codes.Internal, i18n.Tr("loading library from %[1]s: %[2]s", libDir, err)) statuses = append(statuses, s) continue } diff --git a/internal/arduino/libraries/librariesresolver/cpp.go b/internal/arduino/libraries/librariesresolver/cpp.go index e842b764ace..0b1d770671f 100644 --- a/internal/arduino/libraries/librariesresolver/cpp.go +++ b/internal/arduino/libraries/librariesresolver/cpp.go @@ -123,7 +123,7 @@ func (resolver *Cpp) ResolveFor(header, architecture string) *libraries.Library logrus. WithField("lib", lib.Name). WithField("prio", fmt.Sprintf("%03X", libPriority)). - Infof(msg) + Info(msg) } if found == nil { return nil diff --git a/internal/arduino/monitor/monitor.go b/internal/arduino/monitor/monitor.go index b4603f0b6c2..1e820ef5d81 100644 --- a/internal/arduino/monitor/monitor.go +++ b/internal/arduino/monitor/monitor.go @@ -28,7 +28,7 @@ import ( "time" "github.com/arduino/arduino-cli/internal/i18n" - "github.com/arduino/arduino-cli/version" + "github.com/arduino/arduino-cli/internal/version" "github.com/arduino/go-paths-helper" "github.com/sirupsen/logrus" ) diff --git a/internal/arduino/resources/helpers_test.go b/internal/arduino/resources/helpers_test.go index 611de8dd518..ad1d6805254 100644 --- a/internal/arduino/resources/helpers_test.go +++ b/internal/arduino/resources/helpers_test.go @@ -55,7 +55,7 @@ func TestDownloadApplyUserAgentHeaderUsingConfig(t *testing.T) { settings := configuration.NewSettings() settings.Set("network.user_agent_ext", goldUserAgentValue) - config, err := settings.DownloaderConfig() + config, err := settings.DownloaderConfig(context.Background()) require.NoError(t, err) err = r.Download(context.Background(), tmp, config, "", func(progress *rpc.DownloadProgress) {}, "") require.NoError(t, err) diff --git a/internal/arduino/resources/install.go b/internal/arduino/resources/install.go index 0f517af1268..aa9a94e5248 100644 --- a/internal/arduino/resources/install.go +++ b/internal/arduino/resources/install.go @@ -26,18 +26,27 @@ import ( "go.bug.st/cleanup" ) +type IntegrityCheckMode int + +const ( + IntegrityCheckFull IntegrityCheckMode = iota + IntegrityCheckNone +) + // Install installs the resource in three steps: // - the archive is unpacked in a temporary subdir of tempPath // - there should be only one root dir in the unpacked content // - the only root dir is moved/renamed to/as the destination directory // Note that tempPath and destDir must be on the same filesystem partition // otherwise the last step will fail. -func (release *DownloadResource) Install(downloadDir, tempPath, destDir *paths.Path) error { - // Check the integrity of the package - if ok, err := release.TestLocalArchiveIntegrity(downloadDir); err != nil { - return errors.New(i18n.Tr("testing local archive integrity: %s", err)) - } else if !ok { - return errors.New(i18n.Tr("checking local archive integrity")) +func (release *DownloadResource) Install(downloadDir, tempPath, destDir *paths.Path, checks IntegrityCheckMode) error { + if checks != IntegrityCheckNone { + // Check the integrity of the package + if ok, err := release.TestLocalArchiveIntegrity(downloadDir); err != nil { + return errors.New(i18n.Tr("testing local archive integrity: %s", err)) + } else if !ok { + return errors.New(i18n.Tr("checking local archive integrity")) + } } // Create a temporary dir to extract package diff --git a/internal/arduino/resources/install_test.go b/internal/arduino/resources/install_test.go index ce17bcbd293..4db1a9aef22 100644 --- a/internal/arduino/resources/install_test.go +++ b/internal/arduino/resources/install_test.go @@ -44,7 +44,7 @@ func TestInstallPlatform(t *testing.T) { Size: 157, } - require.NoError(t, r.Install(downloadDir, tempPath, destDir)) + require.NoError(t, r.Install(downloadDir, tempPath, destDir, IntegrityCheckFull)) }) tests := []struct { @@ -82,7 +82,7 @@ func TestInstallPlatform(t *testing.T) { require.NoError(t, err) require.NoError(t, os.WriteFile(path.Join(downloadDir.String(), testFileName), origin, 0644)) - err = test.downloadResource.Install(downloadDir, tempPath, destDir) + err = test.downloadResource.Install(downloadDir, tempPath, destDir, IntegrityCheckFull) require.Error(t, err) require.Contains(t, err.Error(), test.error) }) diff --git a/internal/arduino/resources/resources_test.go b/internal/arduino/resources/resources_test.go index 0ca1bdd884b..3cd1d7a0098 100644 --- a/internal/arduino/resources/resources_test.go +++ b/internal/arduino/resources/resources_test.go @@ -131,29 +131,45 @@ func TestIndexDownloadAndSignatureWithinArchive(t *testing.T) { require.NoError(t, err) defer ln.Close() go server.Serve(ln) + defer server.Close() - validIdxURL, err := url.Parse("http://" + ln.Addr().String() + "/valid/package_index.tar.bz2") - require.NoError(t, err) - idxResource := &IndexResource{URL: validIdxURL} - destDir, err := paths.MkTempDir("", "") - require.NoError(t, err) - defer destDir.RemoveAll() - err = idxResource.Download(ctx, destDir, func(curr *rpc.DownloadProgress) {}, downloader.GetDefaultConfig()) - require.NoError(t, err) - require.True(t, destDir.Join("package_index.json").Exist()) - require.True(t, destDir.Join("package_index.json.sig").Exist()) - - invalidIdxURL, err := url.Parse("http://" + ln.Addr().String() + "/invalid/package_index.tar.bz2") - require.NoError(t, err) - invIdxResource := &IndexResource{URL: invalidIdxURL} - invDestDir, err := paths.MkTempDir("", "") - require.NoError(t, err) - defer invDestDir.RemoveAll() - err = invIdxResource.Download(ctx, invDestDir, func(curr *rpc.DownloadProgress) {}, downloader.GetDefaultConfig()) - require.Error(t, err) - require.Contains(t, err.Error(), "invalid signature") - require.False(t, invDestDir.Join("package_index.json").Exist()) - require.False(t, invDestDir.Join("package_index.json.sig").Exist()) + { + validIdxURL, err := url.Parse("http://" + ln.Addr().String() + "/valid_signature_in_the_future/package_index.tar.bz2") + require.NoError(t, err) + idxResource := &IndexResource{URL: validIdxURL} + destDir, err := paths.MkTempDir("", "") + require.NoError(t, err) + defer destDir.RemoveAll() + err = idxResource.Download(ctx, destDir, func(curr *rpc.DownloadProgress) {}, downloader.GetDefaultConfig()) + require.ErrorContains(t, err, "is your system clock set correctly?") + require.False(t, destDir.Join("package_index.json").Exist()) + require.False(t, destDir.Join("package_index.json.sig").Exist()) + } + { + validIdxURL, err := url.Parse("http://" + ln.Addr().String() + "/valid/package_index.tar.bz2") + require.NoError(t, err) + idxResource := &IndexResource{URL: validIdxURL} + destDir, err := paths.MkTempDir("", "") + require.NoError(t, err) + defer destDir.RemoveAll() + err = idxResource.Download(ctx, destDir, func(curr *rpc.DownloadProgress) {}, downloader.GetDefaultConfig()) + require.NoError(t, err) + require.True(t, destDir.Join("package_index.json").Exist()) + require.True(t, destDir.Join("package_index.json.sig").Exist()) + } + { + invalidIdxURL, err := url.Parse("http://" + ln.Addr().String() + "/invalid/package_index.tar.bz2") + require.NoError(t, err) + invIdxResource := &IndexResource{URL: invalidIdxURL} + invDestDir, err := paths.MkTempDir("", "") + require.NoError(t, err) + defer invDestDir.RemoveAll() + err = invIdxResource.Download(ctx, invDestDir, func(curr *rpc.DownloadProgress) {}, downloader.GetDefaultConfig()) + require.Error(t, err) + require.Contains(t, err.Error(), "invalid signature") + require.False(t, invDestDir.Join("package_index.json").Exist()) + require.False(t, invDestDir.Join("package_index.json.sig").Exist()) + } } func TestIndexFileName(t *testing.T) { diff --git a/internal/arduino/resources/testdata/valid_signature_in_the_future/package_index.tar.bz2 b/internal/arduino/resources/testdata/valid_signature_in_the_future/package_index.tar.bz2 new file mode 100644 index 00000000000..22284c67be4 Binary files /dev/null and b/internal/arduino/resources/testdata/valid_signature_in_the_future/package_index.tar.bz2 differ diff --git a/internal/arduino/security/signatures.go b/internal/arduino/security/signatures.go index fb6ed9b0697..ebd86e4a037 100644 --- a/internal/arduino/security/signatures.go +++ b/internal/arduino/security/signatures.go @@ -16,12 +16,14 @@ package security import ( + "bytes" "embed" "errors" "io" "os" "github.com/ProtonMail/go-crypto/openpgp" + pgperrors "github.com/ProtonMail/go-crypto/openpgp/errors" "github.com/arduino/arduino-cli/internal/i18n" "github.com/arduino/go-paths-helper" ) @@ -71,16 +73,19 @@ func VerifySignature(targetPath *paths.Path, signaturePath *paths.Path, arduinoK if err != nil { return false, nil, errors.New(i18n.Tr("retrieving Arduino public keys: %s", err)) } - target, err := targetPath.Open() + target, err := targetPath.ReadFile() if err != nil { return false, nil, errors.New(i18n.Tr("opening target file: %s", err)) } - defer target.Close() - signature, err := signaturePath.Open() + signature, err := signaturePath.ReadFile() if err != nil { return false, nil, errors.New(i18n.Tr("opening signature file: %s", err)) } - defer signature.Close() - signer, err := openpgp.CheckDetachedSignature(keyRing, target, signature, nil) + signer, err := openpgp.CheckDetachedSignature(keyRing, bytes.NewBuffer(target), bytes.NewBuffer(signature), nil) + + if errors.Is(err, pgperrors.ErrSignatureExpired) { + err = errors.New(i18n.Tr("signature expired: is your system clock set correctly?")) + } + return (signer != nil && err == nil), signer, err } diff --git a/internal/arduino/sketch/sketch.go b/internal/arduino/sketch/sketch.go index 5cdfb6f3ee8..015be0b1f56 100644 --- a/internal/arduino/sketch/sketch.go +++ b/internal/arduino/sketch/sketch.go @@ -24,11 +24,11 @@ import ( "strings" "github.com/arduino/arduino-cli/commands/cmderrors" - f "github.com/arduino/arduino-cli/internal/algorithms" "github.com/arduino/arduino-cli/internal/arduino/globals" "github.com/arduino/arduino-cli/internal/i18n" rpc "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1" "github.com/arduino/go-paths-helper" + "go.bug.st/f" ) // Sketch holds all the files composing a sketch diff --git a/internal/cli/arguments/completion.go b/internal/cli/arguments/completion.go index a8867c51cf2..9b6678fe9ac 100644 --- a/internal/cli/arguments/completion.go +++ b/internal/cli/arguments/completion.go @@ -18,9 +18,9 @@ package arguments import ( "context" - f "github.com/arduino/arduino-cli/internal/algorithms" "github.com/arduino/arduino-cli/internal/cli/instance" rpc "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1" + "go.bug.st/f" ) // GetInstalledBoards is an helper function useful to autocomplete. diff --git a/internal/cli/arguments/port.go b/internal/cli/arguments/port.go index fea0b475db5..1df918210e3 100644 --- a/internal/cli/arguments/port.go +++ b/internal/cli/arguments/port.go @@ -23,11 +23,11 @@ import ( "github.com/arduino/arduino-cli/commands" "github.com/arduino/arduino-cli/commands/cmderrors" - f "github.com/arduino/arduino-cli/internal/algorithms" "github.com/arduino/arduino-cli/internal/i18n" rpc "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1" "github.com/sirupsen/logrus" "github.com/spf13/cobra" + "go.bug.st/f" ) // Port contains the port arguments result. diff --git a/internal/cli/arguments/sketch.go b/internal/cli/arguments/sketch.go index 8a912e0dbc8..7f76f86e98c 100644 --- a/internal/cli/arguments/sketch.go +++ b/internal/cli/arguments/sketch.go @@ -18,12 +18,12 @@ package arguments import ( "context" - f "github.com/arduino/arduino-cli/internal/algorithms" "github.com/arduino/arduino-cli/internal/cli/feedback" "github.com/arduino/arduino-cli/internal/i18n" rpc "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1" "github.com/arduino/go-paths-helper" "github.com/sirupsen/logrus" + "go.bug.st/f" ) // InitSketchPath returns an instance of paths.Path pointing to sketchPath. diff --git a/internal/cli/board/list.go b/internal/cli/board/list.go index 7d0c0c69082..d042e987d11 100644 --- a/internal/cli/board/list.go +++ b/internal/cli/board/list.go @@ -24,13 +24,13 @@ import ( "github.com/arduino/arduino-cli/commands" "github.com/arduino/arduino-cli/commands/cmderrors" - "github.com/arduino/arduino-cli/internal/arduino/cores" "github.com/arduino/arduino-cli/internal/cli/arguments" "github.com/arduino/arduino-cli/internal/cli/feedback" "github.com/arduino/arduino-cli/internal/cli/feedback/result" "github.com/arduino/arduino-cli/internal/cli/feedback/table" "github.com/arduino/arduino-cli/internal/cli/instance" "github.com/arduino/arduino-cli/internal/i18n" + "github.com/arduino/arduino-cli/pkg/fqbn" rpc "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1" "github.com/sirupsen/logrus" "github.com/spf13/cobra" @@ -159,9 +159,9 @@ func (dr listResult) String() string { // to improve the user experience, show on a dedicated column // the name of the core supporting the board detected var coreName = "" - fqbn, err := cores.ParseFQBN(b.Fqbn) + fqbn, err := fqbn.Parse(b.Fqbn) if err == nil { - coreName = fmt.Sprintf("%s:%s", fqbn.Package, fqbn.PlatformArch) + coreName = fmt.Sprintf("%s:%s", fqbn.Vendor, fqbn.Architecture) } t.AddRow(address, protocol, protocolLabel, board, fqbn, coreName) @@ -215,9 +215,9 @@ func (dr watchEventResult) String() string { // to improve the user experience, show on a dedicated column // the name of the core supporting the board detected var coreName = "" - fqbn, err := cores.ParseFQBN(b.Fqbn) + fqbn, err := fqbn.Parse(b.Fqbn) if err == nil { - coreName = fmt.Sprintf("%s:%s", fqbn.Package, fqbn.PlatformArch) + coreName = fmt.Sprintf("%s:%s", fqbn.Vendor, fqbn.Architecture) } t.AddRow(address, protocol, event, board, fqbn, coreName) diff --git a/internal/cli/cli.go b/internal/cli/cli.go index 0bc445b3632..eb5c381abf5 100644 --- a/internal/cli/cli.go +++ b/internal/cli/cli.go @@ -44,8 +44,8 @@ import ( "github.com/arduino/arduino-cli/internal/cli/version" "github.com/arduino/arduino-cli/internal/i18n" "github.com/arduino/arduino-cli/internal/inventory" + versioninfo "github.com/arduino/arduino-cli/internal/version" rpc "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1" - versioninfo "github.com/arduino/arduino-cli/version" "github.com/fatih/color" "github.com/mattn/go-colorable" "github.com/rifflock/lfshook" diff --git a/internal/cli/compile/compile.go b/internal/cli/compile/compile.go index 0fda0ec3dc6..ad906fcd919 100644 --- a/internal/cli/compile/compile.go +++ b/internal/cli/compile/compile.go @@ -31,8 +31,8 @@ import ( "github.com/arduino/arduino-cli/internal/cli/feedback/table" "github.com/arduino/arduino-cli/internal/cli/instance" "github.com/arduino/arduino-cli/internal/i18n" + "github.com/arduino/arduino-cli/internal/version" rpc "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1" - "github.com/arduino/arduino-cli/version" "github.com/arduino/go-paths-helper" "github.com/fatih/color" "github.com/sirupsen/logrus" @@ -85,6 +85,9 @@ func NewCommand(srv rpc.ArduinoCoreServiceServer, settings *rpc.Configuration) * " " + os.Args[0] + ` compile -b arduino:avr:uno --build-property "build.extra_flags=-DPIN=2 \"-DMY_DEFINE=\"hello world\"\"" /home/user/Arduino/MySketch` + "\n" + " " + os.Args[0] + ` compile -b arduino:avr:uno --build-property build.extra_flags=-DPIN=2 --build-property "compiler.cpp.extra_flags=\"-DSSID=\"hello world\"\"" /home/user/Arduino/MySketch` + "\n", Args: cobra.MaximumNArgs(1), + PreRun: func(cmd *cobra.Command, args []string) { + arguments.CheckFlagsConflicts(cmd, "quiet", "verbose") + }, Run: func(cmd *cobra.Command, args []string) { if cmd.Flag("build-cache-path").Changed { feedback.Warning(i18n.Tr("The flag --build-cache-path has been deprecated. Please use just --build-path alone or configure the build cache path in the Arduino CLI settings.")) @@ -116,7 +119,7 @@ func NewCommand(srv rpc.ArduinoCoreServiceServer, settings *rpc.Configuration) * compileCommand.Flags().StringVar(&warnings, "warnings", "none", i18n.Tr(`Optional, can be: %s. Used to tell gcc which warning level to use (-W flag).`, "none, default, more, all")) compileCommand.Flags().BoolVarP(&verbose, "verbose", "v", false, i18n.Tr("Optional, turns on verbose mode.")) - compileCommand.Flags().BoolVar(&quiet, "quiet", false, i18n.Tr("Optional, suppresses almost every output.")) + compileCommand.Flags().BoolVarP(&quiet, "quiet", "q", false, i18n.Tr("Optional, suppresses almost every output.")) compileCommand.Flags().BoolVarP(&uploadAfterCompile, "upload", "u", false, i18n.Tr("Upload the binary after the compilation.")) portArgs.AddToCommand(compileCommand, srv) compileCommand.Flags().BoolVarP(&verify, "verify", "t", false, i18n.Tr("Verify uploaded binary after the upload.")) @@ -208,7 +211,9 @@ func runCompileCommand(cmd *cobra.Command, args []string, srv rpc.ArduinoCoreSer var stdOut, stdErr io.Writer var stdIORes func() *feedback.OutputStreamsResult - if showProperties != arguments.ShowPropertiesDisabled { + if showProperties != arguments.ShowPropertiesDisabled || dumpProfile { + // When dumping profile or showing properties, we buffer the output + // to avoid mixing compilation output with profile/properties output stdOut, stdErr, stdIORes = feedback.NewBufferedStreams() } else { stdOut, stdErr, stdIORes = feedback.OutputStreams() @@ -309,59 +314,69 @@ func runCompileCommand(cmd *cobra.Command, args []string, srv rpc.ArduinoCoreSer } } + successful := (compileError == nil) profileOut := "" - if dumpProfile && compileError == nil { - // Output profile - - libs := "" - hasVendoredLibs := false - for _, lib := range builderRes.GetUsedLibraries() { - if lib.GetLocation() != rpc.LibraryLocation_LIBRARY_LOCATION_USER && lib.GetLocation() != rpc.LibraryLocation_LIBRARY_LOCATION_UNMANAGED { - continue + stdIO := stdIORes() + + if dumpProfile { + if successful { + // Output profile + + libs := "" + hasVendoredLibs := false + for _, lib := range builderRes.GetUsedLibraries() { + if lib.GetLocation() != rpc.LibraryLocation_LIBRARY_LOCATION_USER && lib.GetLocation() != rpc.LibraryLocation_LIBRARY_LOCATION_UNMANAGED { + continue + } + if lib.GetVersion() == "" { + hasVendoredLibs = true + continue + } + libs += fmt.Sprintln(" - " + lib.GetName() + " (" + lib.GetVersion() + ")") } - if lib.GetVersion() == "" { - hasVendoredLibs = true - continue + if hasVendoredLibs { + msg := "\n" + msg += i18n.Tr("WARNING: The sketch is compiled using one or more custom libraries.") + "\n" + msg += i18n.Tr("Currently, Build Profiles only support libraries available through Arduino Library Manager.") + feedback.Warning(msg) } - libs += fmt.Sprintln(" - " + lib.GetName() + " (" + lib.GetVersion() + ")") - } - if hasVendoredLibs { - msg := "\n" - msg += i18n.Tr("WARNING: The sketch is compiled using one or more custom libraries.") + "\n" - msg += i18n.Tr("Currently, Build Profiles only support libraries available through Arduino Library Manager.") - feedback.Warning(msg) - } - - newProfileName := "my_profile_name" - if split := strings.Split(compileRequest.GetFqbn(), ":"); len(split) > 2 { - newProfileName = split[2] - } - profileOut = fmt.Sprintln("profiles:") - profileOut += fmt.Sprintln(" " + newProfileName + ":") - profileOut += fmt.Sprintln(" fqbn: " + compileRequest.GetFqbn()) - profileOut += fmt.Sprintln(" platforms:") - boardPlatform := builderRes.GetBoardPlatform() - profileOut += fmt.Sprintln(" - platform: " + boardPlatform.GetId() + " (" + boardPlatform.GetVersion() + ")") - if url := boardPlatform.GetPackageUrl(); url != "" { - profileOut += fmt.Sprintln(" platform_index_url: " + url) - } - if buildPlatform := builderRes.GetBuildPlatform(); buildPlatform != nil && - buildPlatform.GetId() != boardPlatform.GetId() && - buildPlatform.GetVersion() != boardPlatform.GetVersion() { - profileOut += fmt.Sprintln(" - platform: " + buildPlatform.GetId() + " (" + buildPlatform.GetVersion() + ")") - if url := buildPlatform.GetPackageUrl(); url != "" { + newProfileName := "my_profile_name" + if split := strings.Split(compileRequest.GetFqbn(), ":"); len(split) > 2 { + newProfileName = split[2] + } + profileOut = fmt.Sprintln("profiles:") + profileOut += fmt.Sprintln(" " + newProfileName + ":") + profileOut += fmt.Sprintln(" fqbn: " + compileRequest.GetFqbn()) + profileOut += fmt.Sprintln(" platforms:") + boardPlatform := builderRes.GetBoardPlatform() + profileOut += fmt.Sprintln(" - platform: " + boardPlatform.GetId() + " (" + boardPlatform.GetVersion() + ")") + if url := boardPlatform.GetPackageUrl(); url != "" { profileOut += fmt.Sprintln(" platform_index_url: " + url) } + + if buildPlatform := builderRes.GetBuildPlatform(); buildPlatform != nil && + buildPlatform.GetId() != boardPlatform.GetId() && + buildPlatform.GetVersion() != boardPlatform.GetVersion() { + profileOut += fmt.Sprintln(" - platform: " + buildPlatform.GetId() + " (" + buildPlatform.GetVersion() + ")") + if url := buildPlatform.GetPackageUrl(); url != "" { + profileOut += fmt.Sprintln(" platform_index_url: " + url) + } + } + if len(libs) > 0 { + profileOut += fmt.Sprintln(" libraries:") + profileOut += fmt.Sprint(libs) + } + profileOut += fmt.Sprintln() + } else { + // An error occurred, output the buffered build errors instead of the profile + if stdOut, stdErr, err := feedback.DirectStreams(); err == nil { + stdOut.Write([]byte(stdIO.Stdout)) + stdErr.Write([]byte(stdIO.Stderr)) + } } - if len(libs) > 0 { - profileOut += fmt.Sprintln(" libraries:") - profileOut += fmt.Sprint(libs) - } - profileOut += fmt.Sprintln() } - stdIO := stdIORes() res := &compileResult{ CompilerOut: stdIO.Stdout, CompilerErr: stdIO.Stderr, @@ -370,9 +385,9 @@ func runCompileCommand(cmd *cobra.Command, args []string, srv rpc.ArduinoCoreSer UpdatedUploadPort: result.NewPort(uploadRes.GetUpdatedUploadPort()), }, ProfileOut: profileOut, - Success: compileError == nil, + Success: successful, showPropertiesMode: showProperties, - hideStats: preprocess, + hideStats: preprocess || quiet || (!verbose && successful), } if compileError != nil { @@ -433,6 +448,10 @@ func (r *compileResult) String() string { return strings.Join(r.BuilderResult.BuildProperties, fmt.Sprintln()) } + if r.Success && r.ProfileOut != "" { + return r.ProfileOut + } + if r.hideStats { return "" } @@ -481,9 +500,6 @@ func (r *compileResult) String() string { } res += fmt.Sprintln(platforms.Render()) } - if r.ProfileOut != "" { - res += fmt.Sprintln(r.ProfileOut) - } return strings.TrimRight(res, fmt.Sprintln()) } diff --git a/internal/cli/config/config.go b/internal/cli/config/config.go index d05f43ff77c..dd42eb71213 100644 --- a/internal/cli/config/config.go +++ b/internal/cli/config/config.go @@ -20,12 +20,12 @@ import ( "os" "strings" - f "github.com/arduino/arduino-cli/internal/algorithms" "github.com/arduino/arduino-cli/internal/cli/feedback" "github.com/arduino/arduino-cli/internal/i18n" rpc "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1" "github.com/arduino/go-paths-helper" "github.com/spf13/cobra" + "go.bug.st/f" ) // NewCommand created a new `config` command diff --git a/internal/cli/config/set.go b/internal/cli/config/set.go index 34c1d3168e2..34adb362811 100644 --- a/internal/cli/config/set.go +++ b/internal/cli/config/set.go @@ -20,12 +20,12 @@ import ( "encoding/json" "os" - f "github.com/arduino/arduino-cli/internal/algorithms" "github.com/arduino/arduino-cli/internal/cli/feedback" "github.com/arduino/arduino-cli/internal/i18n" rpc "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1" "github.com/sirupsen/logrus" "github.com/spf13/cobra" + "go.bug.st/f" ) func initSetCommand(srv rpc.ArduinoCoreServiceServer) *cobra.Command { diff --git a/internal/cli/configuration/board_manager.go b/internal/cli/configuration/board_manager.go index 22f982f5404..53f985eef90 100644 --- a/internal/cli/configuration/board_manager.go +++ b/internal/cli/configuration/board_manager.go @@ -21,3 +21,10 @@ func (settings *Settings) BoardManagerAdditionalUrls() []string { } return settings.Defaults.GetStringSlice("board_manager.additional_urls") } + +func (settings *Settings) BoardManagerEnableUnsafeInstall() bool { + if v, ok, _ := settings.GetBoolOk("board_manager.enable_unsafe_install"); ok { + return v + } + return settings.Defaults.GetBool("board_manager.enable_unsafe_install") +} diff --git a/internal/cli/configuration/configuration.schema.json b/internal/cli/configuration/configuration.schema.json index 2f696904972..4ffdb9fafa4 100644 --- a/internal/cli/configuration/configuration.schema.json +++ b/internal/cli/configuration/configuration.schema.json @@ -13,6 +13,10 @@ "type": "string", "format": "uri" } + }, + "enable_unsafe_install": { + "description": "set to `true` to allow installation of packages that do not pass the checksum test. This is considered an unsafe installation method and should be used only for development purposes.", + "type": "boolean" } }, "type": "object" @@ -38,16 +42,8 @@ }, "ttl": { "description": "cache expiration time of build folders. If the cache is hit by a compilation the corresponding build files lifetime is renewed. The value format must be a valid input for time.ParseDuration(), defaults to `720h` (30 days)", - "oneOf": [ - { - "type": "integer", - "minimum": 0 - }, - { - "type": "string", - "pattern": "^\\+?([0-9]?\\.?[0-9]+(([nuµm]?s)|m|h))+$" - } - ] + "type": "string", + "pattern": "^[+-]?(([0-9]+(\\.[0-9]*)?|(\\.[0-9]+))(ns|us|µs|μs|ms|s|m|h))+$" } }, "type": "object" @@ -146,6 +142,35 @@ }, "type": "object" }, + "network": { + "description": "settings related to network connections.", + "type": "object", + "properties": { + "proxy": { + "description": "proxy settings for network connections.", + "type": "string" + }, + "user_agent_ext": { + "description": "extra string to append to the user agent string in HTTP requests.", + "type": "string" + }, + "connection_timeout": { + "description": "timeout for network connections, defaults to '30s'", + "type": "string", + "pattern": "^[+-]?(([0-9]+(\\.[0-9]*)?|(\\.[0-9]+))(ns|us|µs|μs|ms|s|m|h))+$" + }, + "cloud_api": { + "description": "settings related to the Arduino Cloud API.", + "type": "object", + "properties": { + "skip_board_detection_calls": { + "description": "do not call the Arduino Cloud API to detect an unknown board", + "type": "boolean" + } + } + } + } + }, "output": { "description": "settings related to text output.", "properties": { diff --git a/internal/cli/configuration/defaults.go b/internal/cli/configuration/defaults.go index 40f8b472cdb..4a6670f9480 100644 --- a/internal/cli/configuration/defaults.go +++ b/internal/cli/configuration/defaults.go @@ -41,6 +41,7 @@ func SetDefaults(settings *Settings) { // Boards Manager setDefaultValueAndKeyTypeSchema("board_manager.additional_urls", []string{}) + setDefaultValueAndKeyTypeSchema("board_manager.enable_unsafe_install", false) // arduino directories setDefaultValueAndKeyTypeSchema("directories.data", getDefaultArduinoDataDir()) @@ -71,6 +72,9 @@ func SetDefaults(settings *Settings) { // network settings setKeyTypeSchema("network.proxy", "") setKeyTypeSchema("network.user_agent_ext", "") + setDefaultValueAndKeyTypeSchema("network.connection_timeout", (time.Second * 60).String()) + // network: Arduino Cloud API settings + setKeyTypeSchema("network.cloud_api.skip_board_detection_calls", false) // locale setKeyTypeSchema("locale", "") diff --git a/internal/cli/configuration/network.go b/internal/cli/configuration/network.go index 9ffcdf8bd25..43b502a03fb 100644 --- a/internal/cli/configuration/network.go +++ b/internal/cli/configuration/network.go @@ -16,17 +16,21 @@ package configuration import ( + "context" "errors" "fmt" "net/http" "net/url" "os" "runtime" + "strings" + "time" "github.com/arduino/arduino-cli/commands/cmderrors" "github.com/arduino/arduino-cli/internal/i18n" - "github.com/arduino/arduino-cli/version" + "github.com/arduino/arduino-cli/internal/version" "go.bug.st/downloader/v2" + "google.golang.org/grpc/metadata" ) // UserAgent returns the user agent (mainly used by HTTP clients) @@ -58,6 +62,19 @@ func (settings *Settings) ExtraUserAgent() string { return settings.GetString("network.user_agent_ext") } +// ConnectionTimeout returns the network connection timeout +func (settings *Settings) ConnectionTimeout() time.Duration { + if timeout, ok, _ := settings.GetDurationOk("network.connection_timeout"); ok { + return timeout + } + return settings.Defaults.GetDuration("network.connection_timeout") +} + +// SkipCloudApiForBoardDetection returns whether the cloud API should be ignored for board detection +func (settings *Settings) SkipCloudApiForBoardDetection() bool { + return settings.GetBool("network.cloud_api.skip_board_detection_calls") +} + // NetworkProxy returns the proxy configuration (mainly used by HTTP clients) func (settings *Settings) NetworkProxy() (*url.URL, error) { if proxyConfig, ok, _ := settings.GetStringOk("network.proxy"); !ok { @@ -70,18 +87,25 @@ func (settings *Settings) NetworkProxy() (*url.URL, error) { } // NewHttpClient returns a new http client for use in the arduino-cli -func (settings *Settings) NewHttpClient() (*http.Client, error) { +func (settings *Settings) NewHttpClient(ctx context.Context) (*http.Client, error) { proxy, err := settings.NetworkProxy() if err != nil { return nil, err } + userAgent := settings.UserAgent() + if md, ok := metadata.FromIncomingContext(ctx); ok { + if extraUserAgent := strings.Join(md.Get("user-agent"), " "); extraUserAgent != "" { + userAgent += " " + extraUserAgent + } + } return &http.Client{ Transport: &httpClientRoundTripper{ transport: &http.Transport{ Proxy: http.ProxyURL(proxy), }, - userAgent: settings.UserAgent(), + userAgent: userAgent, }, + Timeout: settings.ConnectionTimeout(), }, nil } @@ -96,8 +120,8 @@ func (h *httpClientRoundTripper) RoundTrip(req *http.Request) (*http.Response, e } // DownloaderConfig returns the downloader configuration based on current settings. -func (settings *Settings) DownloaderConfig() (downloader.Config, error) { - httpClient, err := settings.NewHttpClient() +func (settings *Settings) DownloaderConfig(ctx context.Context) (downloader.Config, error) { + httpClient, err := settings.NewHttpClient(ctx) if err != nil { return downloader.Config{}, &cmderrors.InvalidArgumentError{ Message: i18n.Tr("Could not connect via HTTP"), diff --git a/internal/cli/configuration/network_test.go b/internal/cli/configuration/network_test.go index 6c8a7def80d..563c0414589 100644 --- a/internal/cli/configuration/network_test.go +++ b/internal/cli/configuration/network_test.go @@ -16,11 +16,13 @@ package configuration_test import ( + "context" "fmt" "io" "net/http" "net/http/httptest" "testing" + "time" "github.com/arduino/arduino-cli/internal/cli/configuration" "github.com/stretchr/testify/require" @@ -34,7 +36,7 @@ func TestUserAgentHeader(t *testing.T) { settings := configuration.NewSettings() require.NoError(t, settings.Set("network.user_agent_ext", "test-user-agent")) - client, err := settings.NewHttpClient() + client, err := settings.NewHttpClient(context.Background()) require.NoError(t, err) request, err := http.NewRequest("GET", ts.URL, nil) @@ -58,7 +60,7 @@ func TestProxy(t *testing.T) { settings := configuration.NewSettings() settings.Set("network.proxy", ts.URL) - client, err := settings.NewHttpClient() + client, err := settings.NewHttpClient(context.Background()) require.NoError(t, err) request, err := http.NewRequest("GET", "http://arduino.cc", nil) @@ -68,3 +70,41 @@ func TestProxy(t *testing.T) { require.NoError(t, err) require.Equal(t, http.StatusNoContent, response.StatusCode) } + +func TestConnectionTimeout(t *testing.T) { + ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + time.Sleep(5 * time.Second) + w.WriteHeader(http.StatusNoContent) + })) + defer ts.Close() + + doRequest := func(timeout int) (*http.Response, time.Duration, error) { + settings := configuration.NewSettings() + require.NoError(t, settings.Set("network.proxy", ts.URL)) + if timeout != 0 { + require.NoError(t, settings.Set("network.connection_timeout", "2s")) + } + client, err := settings.NewHttpClient(context.Background()) + require.NoError(t, err) + + request, err := http.NewRequest("GET", "http://arduino.cc", nil) + require.NoError(t, err) + + start := time.Now() + resp, err := client.Do(request) + duration := time.Since(start) + + return resp, duration, err + } + + // Using default timeout (0), will wait indefinitely (in our case up to 5s) + response, elapsed, err := doRequest(0) + require.NoError(t, err) + require.Equal(t, http.StatusNoContent, response.StatusCode) + require.True(t, elapsed.Seconds() >= 4 && elapsed.Seconds() <= 6) // Adding some tolerance just in case... + + // Setting a timeout of 1 seconds, will drop the connection after 1s + _, elapsed, err = doRequest(1) + require.Error(t, err) + require.True(t, elapsed.Seconds() >= 0.5 && elapsed.Seconds() <= 3) // Adding some tolerance just in case... +} diff --git a/internal/cli/feedback/feedback.go b/internal/cli/feedback/feedback.go index c665f35a0dd..c6550d9bd01 100644 --- a/internal/cli/feedback/feedback.go +++ b/internal/cli/feedback/feedback.go @@ -84,8 +84,8 @@ func reset() { stdErr = os.Stderr feedbackOut = os.Stdout feedbackErr = os.Stderr - bufferOut = &bytes.Buffer{} - bufferErr = &bytes.Buffer{} + bufferOut = bytes.NewBuffer(nil) + bufferErr = bytes.NewBuffer(nil) bufferWarnings = nil format = Text formatSelected = false diff --git a/internal/cli/feedback/result/rpc.go b/internal/cli/feedback/result/rpc.go index a1b464a89b1..9798e59584a 100644 --- a/internal/cli/feedback/result/rpc.go +++ b/internal/cli/feedback/result/rpc.go @@ -20,10 +20,10 @@ import ( "fmt" "slices" - f "github.com/arduino/arduino-cli/internal/algorithms" "github.com/arduino/arduino-cli/internal/i18n" "github.com/arduino/arduino-cli/internal/orderedmap" rpc "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1" + "go.bug.st/f" semver "go.bug.st/relaxed-semver" ) diff --git a/internal/cli/feedback/stdio.go b/internal/cli/feedback/stdio.go index e279ce2979d..fa5f463fa97 100644 --- a/internal/cli/feedback/stdio.go +++ b/internal/cli/feedback/stdio.go @@ -68,7 +68,7 @@ func OutputStreams() (io.Writer, io.Writer, func() *OutputStreamsResult) { // object that can be used as a Result or to retrieve the accumulated output // to embed it in another object. func NewBufferedStreams() (io.Writer, io.Writer, func() *OutputStreamsResult) { - out, err := &bytes.Buffer{}, &bytes.Buffer{} + out, err := bytes.NewBuffer(nil), bytes.NewBuffer(nil) return out, err, func() *OutputStreamsResult { return &OutputStreamsResult{ Stdout: out.String(), diff --git a/internal/cli/lib/check_deps.go b/internal/cli/lib/check_deps.go index 48f57291d63..154edd146b4 100644 --- a/internal/cli/lib/check_deps.go +++ b/internal/cli/lib/check_deps.go @@ -114,13 +114,14 @@ func outputDep(dep *result.LibraryDependencyStatus) string { green := color.New(color.FgGreen) red := color.New(color.FgRed) yellow := color.New(color.FgYellow) - if dep.VersionInstalled == "" { + switch dep.VersionInstalled { + case "": res += i18n.Tr("%s must be installed.", red.Sprintf("✕ %s %s", dep.Name, dep.VersionRequired)) - } else if dep.VersionInstalled == dep.VersionRequired { + case dep.VersionRequired: res += i18n.Tr("%s is already installed.", green.Sprintf("✓ %s %s", dep.Name, dep.VersionRequired)) - } else { + default: res += i18n.Tr("%[1]s is required but %[2]s is currently installed.", yellow.Sprintf("✕ %s %s", dep.Name, dep.VersionRequired), yellow.Sprintf("%s", dep.VersionInstalled)) diff --git a/internal/cli/lib/examples.go b/internal/cli/lib/examples.go index 3b418809dfc..da0ee4c418e 100644 --- a/internal/cli/lib/examples.go +++ b/internal/cli/lib/examples.go @@ -104,7 +104,7 @@ func (ir libraryExamplesResult) Data() interface{} { } func (ir libraryExamplesResult) String() string { - if ir.Examples == nil || len(ir.Examples) == 0 { + if len(ir.Examples) == 0 { return i18n.Tr("No libraries found.") } diff --git a/internal/cli/lib/install.go b/internal/cli/lib/install.go index 29ae88ccdcd..9440a7bdf1e 100644 --- a/internal/cli/lib/install.go +++ b/internal/cli/lib/install.go @@ -26,8 +26,8 @@ import ( "github.com/arduino/arduino-cli/internal/cli/feedback" "github.com/arduino/arduino-cli/internal/cli/instance" "github.com/arduino/arduino-cli/internal/i18n" + "github.com/arduino/arduino-cli/internal/version" rpc "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1" - "github.com/arduino/arduino-cli/version" "github.com/arduino/go-paths-helper" "github.com/sirupsen/logrus" "github.com/spf13/cobra" diff --git a/internal/cli/updater/updater.go b/internal/cli/updater/updater.go index 0ba9498ab11..aed7c969c4e 100644 --- a/internal/cli/updater/updater.go +++ b/internal/cli/updater/updater.go @@ -20,7 +20,7 @@ import ( "github.com/arduino/arduino-cli/internal/cli/feedback" "github.com/arduino/arduino-cli/internal/i18n" - "github.com/arduino/arduino-cli/version" + "github.com/arduino/arduino-cli/internal/version" "github.com/fatih/color" ) diff --git a/internal/cli/upload/upload.go b/internal/cli/upload/upload.go index 61994d61826..951db75f84a 100644 --- a/internal/cli/upload/upload.go +++ b/internal/cli/upload/upload.go @@ -29,8 +29,8 @@ import ( "github.com/arduino/arduino-cli/internal/cli/feedback/result" "github.com/arduino/arduino-cli/internal/cli/instance" "github.com/arduino/arduino-cli/internal/i18n" + "github.com/arduino/arduino-cli/internal/version" rpc "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1" - "github.com/arduino/arduino-cli/version" "github.com/sirupsen/logrus" "github.com/spf13/cobra" ) diff --git a/internal/cli/version/version.go b/internal/cli/version/version.go index 5748ded3a64..78ed2dbcffe 100644 --- a/internal/cli/version/version.go +++ b/internal/cli/version/version.go @@ -23,8 +23,8 @@ import ( "github.com/arduino/arduino-cli/internal/cli/feedback" "github.com/arduino/arduino-cli/internal/cli/updater" "github.com/arduino/arduino-cli/internal/i18n" + "github.com/arduino/arduino-cli/internal/version" rpc "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1" - "github.com/arduino/arduino-cli/version" "github.com/sirupsen/logrus" "github.com/spf13/cobra" ) diff --git a/internal/go-configmap/configuration.go b/internal/go-configmap/configuration.go index e1a9dbb791e..165cb66fa4e 100644 --- a/internal/go-configmap/configuration.go +++ b/internal/go-configmap/configuration.go @@ -19,6 +19,8 @@ import ( "fmt" "reflect" "strings" + + "fortio.org/safecast" ) type Map struct { @@ -88,7 +90,7 @@ func tryConversion(current any, desiredType reflect.Type) (any, error) { return uint(currentFloat), nil } if currentInt, ok := current.(int); ok { - return uint(currentInt), nil + return safecast.Convert[uint](currentInt) } case reflect.Int: // Exception for JSON decoder: json decoder will decode all numbers as float64 diff --git a/internal/i18n/i18n.go b/internal/i18n/i18n.go index aa4f82edd33..f1941297b00 100644 --- a/internal/i18n/i18n.go +++ b/internal/i18n/i18n.go @@ -15,31 +15,28 @@ package i18n -// Init initializes the i18n module, setting the locale according to this order of preference: -// 1. Locale specified via the function call -// 2. OS Locale -// 3. en (default) -func Init(configLocale string) { - locales := supportedLocales() - if configLocale != "" { - if locale := findMatchingLocale(configLocale, locales); locale != "" { - setLocale(locale) - return - } - } - - if osLocale := getLocaleIdentifierFromOS(); osLocale != "" { - if locale := findMatchingLocale(osLocale, locales); locale != "" { - setLocale(locale) - return - } - } - - setLocale("en") +import "fmt" + +type Locale interface { + Get(msg string, args ...interface{}) string +} + +type nullLocale struct{} + +func (n nullLocale) Parse([]byte) {} + +func (n nullLocale) Get(msg string, args ...interface{}) string { + return fmt.Sprintf(msg, args...) +} + +var locale Locale = &nullLocale{} + +func SetLocale(l Locale) { + locale = l } // Tr returns msg translated to the selected locale // the msg argument must be a literal string func Tr(msg string, args ...interface{}) string { - return po.Get(msg, args...) + return locale.Get(msg, args...) } diff --git a/internal/i18n/i18n_test.go b/internal/i18n/i18n_test.go index 1ec157db01e..a2ae4c4d7b0 100644 --- a/internal/i18n/i18n_test.go +++ b/internal/i18n/i18n_test.go @@ -25,8 +25,9 @@ import ( ) func setPo(poFile string) { - po = gotext.NewPo() - po.Parse([]byte(poFile)) + dict := gotext.NewPo() + dict.Parse([]byte(poFile)) + SetLocale(dict) } func TestPoTranslation(t *testing.T) { @@ -39,7 +40,7 @@ func TestPoTranslation(t *testing.T) { } func TestNoLocaleSet(t *testing.T) { - po = gotext.NewPo() + locale = gotext.NewPo() require.Equal(t, "test-key", Tr("test-key")) } diff --git a/internal/integrationtest/arduino-cli.go b/internal/integrationtest/arduino-cli.go index 231065843d4..4b2b4850450 100644 --- a/internal/integrationtest/arduino-cli.go +++ b/internal/integrationtest/arduino-cli.go @@ -22,6 +22,7 @@ import ( "errors" "fmt" "io" + "maps" "os" "runtime" "strings" @@ -190,12 +191,16 @@ func (cli *ArduinoCLI) Run(args ...string) ([]byte, []byte, error) { return cli.RunWithCustomEnv(cli.cliEnvVars, args...) } +// RunWithContext executes the given arduino-cli command with the given context and returns the output. +// If the context is canceled, the command is killed. +func (cli *ArduinoCLI) RunWithContext(ctx context.Context, args ...string) ([]byte, []byte, error) { + return cli.RunWithCustomEnvContext(ctx, cli.cliEnvVars, args...) +} + // GetDefaultEnv returns a copy of the default execution env used with the Run method. func (cli *ArduinoCLI) GetDefaultEnv() map[string]string { res := map[string]string{} - for k, v := range cli.cliEnvVars { - res[k] = v - } + maps.Copy(res, cli.cliEnvVars) return res } @@ -324,8 +329,13 @@ func (cli *ArduinoCLI) InstallMockedAvrdude(t *testing.T) { // RunWithCustomEnv executes the given arduino-cli command with the given custom env and returns the output. func (cli *ArduinoCLI) RunWithCustomEnv(env map[string]string, args ...string) ([]byte, []byte, error) { + return cli.RunWithCustomEnvContext(context.Background(), env, args...) +} + +// RunWithCustomEnv executes the given arduino-cli command with the given custom env and returns the output. +func (cli *ArduinoCLI) RunWithCustomEnvContext(ctx context.Context, env map[string]string, args ...string) ([]byte, []byte, error) { var stdoutBuf, stderrBuf bytes.Buffer - err := cli.run(&stdoutBuf, &stderrBuf, nil, env, args...) + err := cli.run(ctx, &stdoutBuf, &stderrBuf, nil, env, args...) errBuf := stderrBuf.Bytes() cli.t.NotContains(string(errBuf), "panic: runtime error:", "arduino-cli panicked") @@ -336,7 +346,7 @@ func (cli *ArduinoCLI) RunWithCustomEnv(env map[string]string, args ...string) ( // RunWithCustomInput executes the given arduino-cli command pushing the given input stream and returns the output. func (cli *ArduinoCLI) RunWithCustomInput(in io.Reader, args ...string) ([]byte, []byte, error) { var stdoutBuf, stderrBuf bytes.Buffer - err := cli.run(&stdoutBuf, &stderrBuf, in, cli.cliEnvVars, args...) + err := cli.run(context.Background(), &stdoutBuf, &stderrBuf, in, cli.cliEnvVars, args...) errBuf := stderrBuf.Bytes() cli.t.NotContains(string(errBuf), "panic: runtime error:", "arduino-cli panicked") @@ -344,7 +354,7 @@ func (cli *ArduinoCLI) RunWithCustomInput(in io.Reader, args ...string) ([]byte, return stdoutBuf.Bytes(), errBuf, err } -func (cli *ArduinoCLI) run(stdoutBuff, stderrBuff io.Writer, stdinBuff io.Reader, env map[string]string, args ...string) error { +func (cli *ArduinoCLI) run(ctx context.Context, stdoutBuff, stderrBuff io.Writer, stdinBuff io.Reader, env map[string]string, args ...string) error { if cli.cliConfigPath != nil { args = append([]string{"--config-file", cli.cliConfigPath.String()}, args...) } @@ -402,8 +412,8 @@ func (cli *ArduinoCLI) run(stdoutBuff, stderrBuff io.Writer, stdinBuff io.Reader } }() } + cliErr := cliProc.WaitWithinContext(ctx) wg.Wait() - cliErr := cliProc.Wait() fmt.Fprintln(terminalOut, color.HiBlackString("<<< Run completed (err = %v)", cliErr)) return cliErr @@ -450,7 +460,11 @@ func (cli *ArduinoCLI) StartDaemon(verbose bool) string { for retries := 5; retries > 0; retries-- { time.Sleep(time.Second) - conn, err := grpc.NewClient(cli.daemonAddr, grpc.WithTransportCredentials(insecure.NewCredentials())) + conn, err := grpc.NewClient( + cli.daemonAddr, + grpc.WithTransportCredentials(insecure.NewCredentials()), + grpc.WithUserAgent("cli-test/0.0.0"), + ) if err != nil { connErr = err continue @@ -694,3 +708,26 @@ func (inst *ArduinoCLIInstance) Upload(ctx context.Context, fqbn, sketchPath, po logCallf(">>> Upload(%v %v port/protocol=%s/%s)\n", fqbn, sketchPath, port, protocol) return uploadCl, err } + +// BoardIdentify calls the "BoardIdentify" gRPC method. +func (inst *ArduinoCLIInstance) BoardIdentify(ctx context.Context, props map[string]string, useCloudAPI bool) (*commands.BoardIdentifyResponse, error) { + req := &commands.BoardIdentifyRequest{ + Instance: inst.instance, + Properties: props, + UseCloudApiForUnknownBoardDetection: useCloudAPI, + } + logCallf(">>> BoardIdentify(%+v)\n", req) + resp, err := inst.cli.daemonClient.BoardIdentify(ctx, req) + return resp, err +} + +// NewSketch calls the "NewSketch" gRPC method. +func (inst *ArduinoCLIInstance) NewSketch(ctx context.Context, sketchName, sketchDir string, overwrite bool) (*commands.NewSketchResponse, error) { + req := &commands.NewSketchRequest{ + SketchName: sketchName, + SketchDir: sketchDir, + Overwrite: overwrite, + } + logCallf(">>> NewSketch(%+v)\n", req) + return inst.cli.daemonClient.NewSketch(ctx, req) +} diff --git a/internal/integrationtest/board/board_test.go b/internal/integrationtest/board/board_test.go index 0541f1a5c0f..db5a7ff200b 100644 --- a/internal/integrationtest/board/board_test.go +++ b/internal/integrationtest/board/board_test.go @@ -300,17 +300,17 @@ func TestBoardDetails(t *testing.T) { "package": { "maintainer": "Arduino", "url": "https://downloads.arduino.cc/packages/package_index.tar.bz2", - "website_url": "http://www.arduino.cc/", + "website_url": "https://www.arduino.cc/", "email": "packages@arduino.cc", "name": "arduino", "help": { - "online": "http://www.arduino.cc/en/Reference/HomePage" + "online": "https://www.arduino.cc/en/Reference/HomePage" } }, "platform": { "architecture": "samd", "category": "Arduino", - "url": "http://downloads.arduino.cc/cores/core-ArduinoCore-samd-1.8.13.tar.bz2", + "url": "https://downloads.arduino.cc/cores/core-ArduinoCore-samd-1.8.13.tar.bz2", "archive_filename": "core-ArduinoCore-samd-1.8.13.tar.bz2", "checksum": "SHA-256:47d44c80a5fd4ea224eb64fd676169e896caa6856f338d78feb4a12d42b4ea67", "size": 3074191, @@ -319,8 +319,8 @@ func TestBoardDetails(t *testing.T) { "programmers": [ { "platform": "Arduino SAMD Boards (32-bits ARM Cortex-M0+)", - "id": "jlink", - "name": "Segger J-Link" + "id": "atmel_ice", + "name": "Atmel-ICE" }, { "platform": "Arduino SAMD Boards (32-bits ARM Cortex-M0+)", @@ -329,8 +329,8 @@ func TestBoardDetails(t *testing.T) { }, { "platform": "Arduino SAMD Boards (32-bits ARM Cortex-M0+)", - "id": "atmel_ice", - "name": "Atmel-ICE" + "id": "jlink", + "name": "Segger J-Link" }, { "platform": "Arduino SAMD Boards (32-bits ARM Cortex-M0+)", diff --git a/internal/integrationtest/compile_1/compile_test.go b/internal/integrationtest/compile_1/compile_test.go index 3f09906310d..b380f563ccc 100644 --- a/internal/integrationtest/compile_1/compile_test.go +++ b/internal/integrationtest/compile_1/compile_test.go @@ -850,7 +850,9 @@ func TestCompileWithArchivesAndLongPaths(t *testing.T) { require.NoError(t, err) // Install test library - _, _, err = cli.Run("lib", "install", "ArduinoIoTCloud", "--config-file", "arduino-cli.yaml") + // (We must use ArduinoIOTCloud@2.4.1 because it has a folder with a lot of files + // that will trigger the creation of an objs.a archive) + _, _, err = cli.Run("lib", "install", "ArduinoIoTCloud@2.4.1", "--config-file", "arduino-cli.yaml") require.NoError(t, err) stdout, _, err := cli.Run("lib", "examples", "ArduinoIoTCloud", "--json", "--config-file", "arduino-cli.yaml") @@ -859,12 +861,10 @@ func TestCompileWithArchivesAndLongPaths(t *testing.T) { sketchPath := paths.New(libOutput) sketchPath = sketchPath.Join("examples", "ArduinoIoTCloud-Advanced") - t.Run("Compile", func(t *testing.T) { + t.Run("CheckCachingOfFolderArchives", func(t *testing.T) { _, _, err = cli.Run("compile", "-b", "esp8266:esp8266:huzzah", sketchPath.String(), "--config-file", "arduino-cli.yaml") require.NoError(t, err) - }) - t.Run("CheckCachingOfFolderArchives", func(t *testing.T) { // Run compile again and check if the archive is re-used (cached) out, _, err := cli.Run("compile", "-b", "esp8266:esp8266:huzzah", sketchPath.String(), "--config-file", "arduino-cli.yaml", "-v") require.NoError(t, err) @@ -1321,3 +1321,46 @@ func buildWithCustomBuildPathAndOUtputDirFlag(t *testing.T, env *integrationtest require.NotEmpty(t, content) } } + +func TestCompileWithOutputDirFlagIgnoringFoldersCreatedByEsp32RainMakerLib(t *testing.T) { + env, cli := integrationtest.CreateArduinoCLIWithEnvironment(t) + defer env.CleanUp() + + _, _, err := cli.Run("update") + require.NoError(t, err) + + // Update index with esp32 core and install it + url := "https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json" + _, _, err = cli.Run("core", "update-index", "--additional-urls="+url) + require.NoError(t, err) + _, _, err = cli.Run("core", "install", "esp32:esp32@3.0.7", "--additional-urls="+url) + require.NoError(t, err) + + sketchName := "RainMakerSketch" + sketchPath := cli.SketchbookDir().Join(sketchName) + _, _, err = cli.Run("sketch", "new", sketchPath.String()) + require.NoError(t, err) + + // When importing the `RMaker` library, the esp32 core produces in output a folder, + // containing all the binaries exported. The name of the folder matches the sketch name. + // In out case: + // cache-dir/ + // |- RainMakerSketch.ino/ <--- This should be ignored + // |- RainMakerSketch.ino.uf2 + // |- RainMakerSketch.ino.bin + // |- ... + err = sketchPath.Join(sketchName + ".ino").WriteFile([]byte(` + #include "RMaker.h" + void setup() { } + void loop() { }`, + )) + require.NoError(t, err) + + buildPath := cli.DataDir().Join("test_dir", "build_dir") + outputDir := cli.SketchbookDir().Join("test_dir", "output_dir") + _, stderr, err := cli.Run("compile", "-b", "esp32:esp32:esp32", sketchPath.String(), "--build-path", buildPath.String(), "--output-dir", outputDir.String()) + require.NoError(t, err) + require.NotContains(t, stderr, []byte("Error during build: Error copying output file")) + require.DirExists(t, buildPath.Join(sketchName+".ino").String()) + require.NoDirExists(t, outputDir.Join(sketchName+".ino").String()) +} diff --git a/internal/integrationtest/compile_3/compile_test.go b/internal/integrationtest/compile_3/compile_test.go index aabd30445d0..8e15b901c6d 100644 --- a/internal/integrationtest/compile_3/compile_test.go +++ b/internal/integrationtest/compile_3/compile_test.go @@ -107,7 +107,7 @@ func TestCompilerErrOutput(t *testing.T) { _, _, err := cli.Run("core", "install", "arduino:avr@1.8.5") require.NoError(t, err) - { + t.Run("Diagnostics", func(t *testing.T) { // prepare sketch sketch, err := paths.New("testdata", "blink_with_wrong_cpp").Abs() require.NoError(t, err) @@ -126,10 +126,11 @@ func TestCompilerErrOutput(t *testing.T) { "context": [ { "message": "In function 'void wrong()':" } ] } ]`) - } + }) + + t.Run("PreprocessorDiagnostics", func(t *testing.T) { + // Test the preprocessor errors are present in the diagnostics - // Test the preprocessor errors are present in the diagnostics - { // prepare sketch sketch, err := paths.New("testdata", "blink_with_wrong_include").Abs() require.NoError(t, err) @@ -148,14 +149,15 @@ func TestCompilerErrOutput(t *testing.T) { "message": "invalid preprocessing directive #wrong\n #wrong\n ^~~~~", } ]`) - } + }) + + t.Run("PreprocessorDiagnosticsWithLibErrors", func(t *testing.T) { + // Test the preprocessor errors are present in the diagnostics. + // In case we have 2 libraries: + // 1. one is missing + // 2. the other one is missing only from the first GCC run + // The diagnostics should report only 1 missing library. - // Test the preprocessor errors are present in the diagnostics. - // In case we have 2 libraries: - // 1. one is missing - // 2. the other one is missing only from the first GCC run - // The diagnostics should report only 1 missing library. - { // prepare sketch sketch, err := paths.New("testdata", "using_Wire_with_missing_lib").Abs() require.NoError(t, err) @@ -175,11 +177,12 @@ func TestCompilerErrOutput(t *testing.T) { "column": 10, } ]`) - } + }) + + t.Run("LibraryDiscoverFalseErrors", func(t *testing.T) { + // Check that library discover do not generate false errors + // https://github.com/arduino/arduino-cli/issues/2263 - // Check that library discover do not generate false errors - // https://github.com/arduino/arduino-cli/issues/2263 - { // prepare sketch sketch, err := paths.New("testdata", "using_Wire").Abs() require.NoError(t, err) @@ -191,7 +194,32 @@ func TestCompilerErrOutput(t *testing.T) { jsonOut.Query(".compiler_out").MustNotContain(`"fatal error"`) jsonOut.Query(".compiler_err").MustNotContain(`"fatal error"`) jsonOut.MustNotContain(`{ "diagnostics" : [] }`) - } + }) + + t.Run("PreprocessorErrorsOnStderr", func(t *testing.T) { + // Test the preprocessor errors are present in the diagnostics + // when they are printed on stderr + + // prepare sketch + sketch, err := paths.New("testdata", "blink_with_error_directive").Abs() + require.NoError(t, err) + + // Run compile and catch err stream + out, _, err := cli.Run("compile", "-b", "arduino:avr:uno", "-v", "--json", sketch.String()) + require.Error(t, err) + jsonOut := requirejson.Parse(t, out) + jsonOut.Query(".compiler_out").MustNotContain(`"error:"`) + jsonOut.Query(".compiler_err").MustContain(`"error:"`) + jsonOut.Query(`.builder_result.diagnostics`).MustContain(` + [ + { + "severity": "ERROR", + "message": "#error void setup(){} void loop(){}\n #error void setup(){} void loop(){}\n ^~~~~", + "line": 1, + "column": 2 + } + ]`) + }) } func TestCompileRelativeLibraryPath(t *testing.T) { diff --git a/internal/integrationtest/compile_3/compile_verbosity_test.go b/internal/integrationtest/compile_3/compile_verbosity_test.go new file mode 100644 index 00000000000..db87afa7562 --- /dev/null +++ b/internal/integrationtest/compile_3/compile_verbosity_test.go @@ -0,0 +1,103 @@ +// This file is part of arduino-cli. +// +// Copyright 2022 ARDUINO SA (http://www.arduino.cc/) +// +// This software is released under the GNU General Public License version 3, +// which covers the main part of arduino-cli. +// The terms of this license can be found at: +// https://www.gnu.org/licenses/gpl-3.0.en.html +// +// You can be released from the requirements of the above licenses by purchasing +// a commercial license. Buying such a license is mandatory if you want to +// modify or otherwise use the software for commercial activities involving the +// Arduino software without disclosing the source code of your own applications. +// To purchase a commercial license, send an email to license@arduino.cc. + +package compile_test + +import ( + "testing" + + "github.com/arduino/arduino-cli/internal/integrationtest" + "github.com/arduino/go-paths-helper" + "github.com/stretchr/testify/require" +) + +func TestCompileVerbosity(t *testing.T) { + env, cli := integrationtest.CreateArduinoCLIWithEnvironment(t) + defer env.CleanUp() + + _, _, err := cli.Run("core", "update-index") + require.NoError(t, err) + _, _, err = cli.Run("core", "install", "arduino:avr") + require.NoError(t, err) + + goodSketch, err := paths.New("testdata", "bare_minimum").Abs() + require.NoError(t, err) + badSketch, err := paths.New("testdata", "blink_with_error_directive").Abs() + require.NoError(t, err) + + hasSketchSize := func(t *testing.T, out []byte) { + require.Contains(t, string(out), "Sketch uses") + } + noSketchSize := func(t *testing.T, out []byte) { + require.NotContains(t, string(out), "Sketch uses") + } + hasRecapTable := func(t *testing.T, out []byte) { + require.Contains(t, string(out), "Used platform") + } + noRecapTable := func(t *testing.T, out []byte) { + require.NotContains(t, string(out), "Used platform") + } + + t.Run("DefaultVerbosity/SuccessfulBuild", func(t *testing.T) { + stdout, stderr, err := cli.Run("compile", "--fqbn", "arduino:avr:uno", goodSketch.String()) + require.NoError(t, err) + hasSketchSize(t, stdout) + noRecapTable(t, stdout) + require.Empty(t, stderr) + }) + + t.Run("DefaultVerbosity/BuildWithErrors", func(t *testing.T) { + stdout, stderr, err := cli.Run("compile", "--fqbn", "arduino:avr:uno", badSketch.String()) + require.Error(t, err) + hasRecapTable(t, stdout) + require.NotEmpty(t, stderr) + }) + + t.Run("VerboseVerbosity/SuccessfulBuild", func(t *testing.T) { + stdout, stderr, err := cli.Run("compile", "--fqbn", "arduino:avr:uno", "-v", goodSketch.String()) + require.NoError(t, err) + hasSketchSize(t, stdout) + hasRecapTable(t, stdout) + require.Empty(t, stderr) + }) + + t.Run("VerboseVerbosity/BuildWithErrors", func(t *testing.T) { + stdout, stderr, err := cli.Run("compile", "--fqbn", "arduino:avr:uno", "-v", badSketch.String()) + require.Error(t, err) + hasRecapTable(t, stdout) + require.NotEmpty(t, stderr) + }) + + t.Run("QuietVerbosity/SuccessfulBuild", func(t *testing.T) { + stdout, stderr, err := cli.Run("compile", "--fqbn", "arduino:avr:uno", "-q", goodSketch.String()) + require.NoError(t, err) + noSketchSize(t, stdout) + noRecapTable(t, stdout) + require.Empty(t, stdout) // Empty output + require.Empty(t, stderr) + }) + + t.Run("QuietVerbosity/BuildWithErrors", func(t *testing.T) { + stdout, stderr, err := cli.Run("compile", "--fqbn", "arduino:avr:uno", "-q", badSketch.String()) + require.Error(t, err) + noRecapTable(t, stdout) + require.NotEmpty(t, stderr) + }) + + t.Run("ConflictingVerbosityOptions", func(t *testing.T) { + _, _, err := cli.Run("compile", "--fqbn", "arduino:avr:uno", "-v", "-q", goodSketch.String()) + require.Error(t, err) + }) +} diff --git a/internal/integrationtest/compile_3/testdata/blink_with_error_directive/blink_with_error_directive.ino b/internal/integrationtest/compile_3/testdata/blink_with_error_directive/blink_with_error_directive.ino new file mode 100644 index 00000000000..02bc8b99521 --- /dev/null +++ b/internal/integrationtest/compile_3/testdata/blink_with_error_directive/blink_with_error_directive.ino @@ -0,0 +1 @@ +#error void setup(){} void loop(){} diff --git a/internal/integrationtest/compile_4/dump_profile_test.go b/internal/integrationtest/compile_4/dump_profile_test.go new file mode 100644 index 00000000000..61b76a7788a --- /dev/null +++ b/internal/integrationtest/compile_4/dump_profile_test.go @@ -0,0 +1,71 @@ +// This file is part of arduino-cli. +// +// Copyright 2023 ARDUINO SA (http://www.arduino.cc/) +// +// This software is released under the GNU General Public License version 3, +// which covers the main part of arduino-cli. +// The terms of this license can be found at: +// https://www.gnu.org/licenses/gpl-3.0.en.html +// +// You can be released from the requirements of the above licenses by purchasing +// a commercial license. Buying such a license is mandatory if you want to +// modify or otherwise use the software for commercial activities involving the +// Arduino software without disclosing the source code of your own applications. +// To purchase a commercial license, send an email to license@arduino.cc. + +package compile_test + +import ( + "strings" + "testing" + + "github.com/arduino/arduino-cli/internal/integrationtest" + "github.com/arduino/go-paths-helper" + "github.com/stretchr/testify/require" +) + +func TestDumpProfileClean(t *testing.T) { + env, cli := integrationtest.CreateArduinoCLIWithEnvironment(t) + t.Cleanup(env.CleanUp) + + // Install Arduino AVR Boards + _, _, err := cli.Run("core", "install", "arduino:avr@1.8.6") + require.NoError(t, err) + + validSketchPath, err := paths.New("testdata", "ValidSketch").Abs() + require.NoError(t, err) + invalidSketchPath, err := paths.New("testdata", "InvalidSketch").Abs() + require.NoError(t, err) + + validProfile := `profiles: + uno: + fqbn: arduino:avr:uno + platforms: + - platform: arduino:avr (1.8.6)` + t.Run("NoVerbose", func(t *testing.T) { + stdout, stderr, err := cli.Run("compile", "-b", "arduino:avr:uno", validSketchPath.String(), "--dump-profile") + require.NoError(t, err) + require.Empty(t, stderr) + profile := strings.TrimSpace(string(stdout)) + require.Equal(t, validProfile, profile) + }) + t.Run("Verbose", func(t *testing.T) { + stdout, stderr, err := cli.Run("compile", "-b", "arduino:avr:uno", validSketchPath.String(), "--dump-profile", "--verbose") + require.NoError(t, err) + require.Empty(t, stderr) + profile := strings.TrimSpace(string(stdout)) + require.Equal(t, validProfile, profile) + }) + t.Run("ErrorNoVerbose", func(t *testing.T) { + stdout, stderr, err := cli.Run("compile", "-b", "arduino:avr:uno", invalidSketchPath.String(), "--dump-profile") + require.Error(t, err) + require.NotEmpty(t, stderr) + require.NotContains(t, string(stdout), validProfile) + }) + t.Run("ErrorVerbose", func(t *testing.T) { + stdout, stderr, err := cli.Run("compile", "-b", "arduino:avr:uno", invalidSketchPath.String(), "--dump-profile", "--verbose") + require.Error(t, err) + require.NotEmpty(t, stderr) + require.NotContains(t, string(stdout), validProfile) + }) +} diff --git a/internal/integrationtest/compile_4/testdata/InvalidSketch/InvalidSketch.ino b/internal/integrationtest/compile_4/testdata/InvalidSketch/InvalidSketch.ino new file mode 100644 index 00000000000..2eba4fa09fd --- /dev/null +++ b/internal/integrationtest/compile_4/testdata/InvalidSketch/InvalidSketch.ino @@ -0,0 +1,3 @@ +void setup() {} +void loop() {} +aaaaaa diff --git a/internal/integrationtest/compile_4/testdata/ValidSketch/ValidSketch.ino b/internal/integrationtest/compile_4/testdata/ValidSketch/ValidSketch.ino new file mode 100644 index 00000000000..660bdbccfdb --- /dev/null +++ b/internal/integrationtest/compile_4/testdata/ValidSketch/ValidSketch.ino @@ -0,0 +1,2 @@ +void setup() {} +void loop() {} diff --git a/internal/integrationtest/compile_5/recusive_include_test.go b/internal/integrationtest/compile_5/recusive_include_test.go new file mode 100644 index 00000000000..59a3c421c7f --- /dev/null +++ b/internal/integrationtest/compile_5/recusive_include_test.go @@ -0,0 +1,44 @@ +// This file is part of arduino-cli. +// +// Copyright 2025 ARDUINO SA (http://www.arduino.cc/) +// +// This software is released under the GNU General Public License version 3, +// which covers the main part of arduino-cli. +// The terms of this license can be found at: +// https://www.gnu.org/licenses/gpl-3.0.en.html +// +// You can be released from the requirements of the above licenses by purchasing +// a commercial license. Buying such a license is mandatory if you want to +// modify or otherwise use the software for commercial activities involving the +// Arduino software without disclosing the source code of your own applications. +// To purchase a commercial license, send an email to license@arduino.cc. + +package compile_test + +import ( + "context" + "testing" + "time" + + "github.com/arduino/arduino-cli/internal/integrationtest" + "github.com/arduino/go-paths-helper" + "github.com/stretchr/testify/require" +) + +func TestCompileWithInfiniteMultipleIncludeRecursion(t *testing.T) { + env, cli := integrationtest.CreateArduinoCLIWithEnvironment(t) + t.Cleanup(env.CleanUp) + + // Install Arduino AVR Boards + _, _, err := cli.Run("core", "install", "arduino:avr@1.8.6") + require.NoError(t, err) + + sketch, err := paths.New("testdata", "SketchWithRecursiveIncludes").Abs() + require.NoError(t, err) + + // Time-limited test to prevent OOM + ctx, cancel := context.WithTimeout(t.Context(), 10*time.Second) + t.Cleanup(cancel) + _, _, _ = cli.RunWithContext(ctx, "compile", "-b", "arduino:avr:uno", sketch.String()) + require.NotErrorIs(t, ctx.Err(), context.DeadlineExceeded, "compilation should not hang") +} diff --git a/internal/integrationtest/compile_5/testdata/SketchWithRecursiveIncludes/SketchWithRecursiveIncludes.ino b/internal/integrationtest/compile_5/testdata/SketchWithRecursiveIncludes/SketchWithRecursiveIncludes.ino new file mode 100644 index 00000000000..2243de1baf9 --- /dev/null +++ b/internal/integrationtest/compile_5/testdata/SketchWithRecursiveIncludes/SketchWithRecursiveIncludes.ino @@ -0,0 +1 @@ +#include "a.h" diff --git a/internal/integrationtest/compile_5/testdata/SketchWithRecursiveIncludes/a.h b/internal/integrationtest/compile_5/testdata/SketchWithRecursiveIncludes/a.h new file mode 100644 index 00000000000..7c626e5beb0 --- /dev/null +++ b/internal/integrationtest/compile_5/testdata/SketchWithRecursiveIncludes/a.h @@ -0,0 +1,2 @@ +#include "a.h" +#include "a.h" diff --git a/internal/integrationtest/config/config_test.go b/internal/integrationtest/config/config_test.go index bd19d0545c2..d7b4104a095 100644 --- a/internal/integrationtest/config/config_test.go +++ b/internal/integrationtest/config/config_test.go @@ -944,3 +944,18 @@ func TestI18N(t *testing.T) { require.NoError(t, err) require.Contains(t, string(out), "Available Commands") } + +func TestCoreUpdateWithInvalidIndexURL(t *testing.T) { + // https://github.com/arduino/arduino-cli/issues/2786 + env, cli := integrationtest.CreateArduinoCLIWithEnvironment(t) + t.Cleanup(env.CleanUp) + + _, _, err := cli.Run("config", "init") + require.NoError(t, err) + _, _, err = cli.Run("config", "set", "board_manager.additional_urls", "foo=https://espressif.github.io/arduino-esp32/package_esp32_index.json") + require.NoError(t, err) + _, stdErr, err := cli.Run("core", "update-index") + require.Error(t, err) + require.Contains(t, string(stdErr), `Error initializing instance: Some indexes could not be updated.`) + require.Contains(t, string(stdErr), `Invalid additional URL: parse "foo=https://espressif.github.io/arduino-esp32/package_esp32_index.json"`) +} diff --git a/internal/integrationtest/core/core_test.go b/internal/integrationtest/core/core_test.go index 635dce891d6..a27b5f6d15a 100644 --- a/internal/integrationtest/core/core_test.go +++ b/internal/integrationtest/core/core_test.go @@ -1366,3 +1366,20 @@ func TestCoreInstallWithWrongArchiveSize(t *testing.T) { _, _, err = cli.Run("--additional-urls", "https://raw.githubusercontent.com/geolink/opentracker-arduino-board/bf6158ebab0402db217bfb02ea61461ddc6f2940/package_opentracker_index.json", "core", "install", "opentracker:sam@1.0.5") require.NoError(t, err) } + +func TestCoreInstallWithMissingOrInvalidChecksumAndUnsafeInstallEnabled(t *testing.T) { + // See: https://github.com/arduino/arduino-cli/issues/1468 + env, cli := integrationtest.CreateArduinoCLIWithEnvironment(t) + defer env.CleanUp() + + _, _, err := cli.Run("--additional-urls", "https://raw.githubusercontent.com/keyboardio/ArduinoCore-GD32-Keyboardio/refs/heads/main/package_gd32_index.json", "core", "update-index") + require.NoError(t, err) + + _, _, err = cli.Run("--additional-urls", "https://raw.githubusercontent.com/keyboardio/ArduinoCore-GD32-Keyboardio/refs/heads/main/package_gd32_index.json", "core", "install", "GD32Community:gd32") + require.Error(t, err) + + _, _, err = cli.RunWithCustomEnv( + map[string]string{"ARDUINO_BOARD_MANAGER_ENABLE_UNSAFE_INSTALL": "true"}, + "--additional-urls", "https://raw.githubusercontent.com/keyboardio/ArduinoCore-GD32-Keyboardio/refs/heads/main/package_gd32_index.json", "core", "install", "GD32Community:gd32") + require.NoError(t, err) +} diff --git a/internal/integrationtest/daemon/board_identification_test.go b/internal/integrationtest/daemon/board_identification_test.go new file mode 100644 index 00000000000..a8c4a9e543f --- /dev/null +++ b/internal/integrationtest/daemon/board_identification_test.go @@ -0,0 +1,54 @@ +// This file is part of arduino-cli. +// +// Copyright 2024 ARDUINO SA (http://www.arduino.cc/) +// +// This software is released under the GNU General Public License version 3, +// which covers the main part of arduino-cli. +// The terms of this license can be found at: +// https://www.gnu.org/licenses/gpl-3.0.en.html +// +// You can be released from the requirements of the above licenses by purchasing +// a commercial license. Buying such a license is mandatory if you want to +// modify or otherwise use the software for commercial activities involving the +// Arduino software without disclosing the source code of your own applications. +// To purchase a commercial license, send an email to license@arduino.cc. + +package daemon_test + +import ( + "context" + "errors" + "fmt" + "io" + "testing" + + "github.com/arduino/arduino-cli/internal/integrationtest" + "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1" + "github.com/stretchr/testify/require" +) + +func TestBoardIdentification(t *testing.T) { + env, cli := integrationtest.CreateEnvForDaemon(t) + defer env.CleanUp() + + grpcInst := cli.Create() + require.NoError(t, grpcInst.Init("", "", func(ir *commands.InitResponse) { + fmt.Printf("INIT> %v\n", ir.GetMessage()) + })) + + plInst, err := grpcInst.PlatformInstall(context.Background(), "arduino", "avr", "1.8.6", true) + require.NoError(t, err) + for { + msg, err := plInst.Recv() + if errors.Is(err, io.EOF) { + break + } + require.NoError(t, err) + fmt.Printf("INSTALL> %v\n", msg) + } + + resp, err := grpcInst.BoardIdentify(context.Background(), map[string]string{"vid": "0x2341", "pid": "0x0043"}, false) + require.NoError(t, err) + require.Len(t, resp.GetBoards(), 1) + require.Equal(t, "arduino:avr:uno", resp.GetBoards()[0].GetFqbn()) +} diff --git a/internal/integrationtest/daemon/daemon_test.go b/internal/integrationtest/daemon/daemon_test.go index 47225784361..ae094a0d856 100644 --- a/internal/integrationtest/daemon/daemon_test.go +++ b/internal/integrationtest/daemon/daemon_test.go @@ -20,6 +20,10 @@ import ( "errors" "fmt" "io" + "maps" + "net/http" + "net/http/httptest" + "strings" "testing" "time" @@ -555,10 +559,82 @@ func TestDaemonCoreUpgradePlatform(t *testing.T) { }) } +func TestDaemonUserAgent(t *testing.T) { + env, cli := integrationtest.CreateEnvForDaemon(t) + defer env.CleanUp() + + // Set up an http server to serve our custom index file + // The user-agent is tested inside the HTTPServeFile function + test_index := paths.New("..", "testdata", "test_index.json") + url := env.HTTPServeFile(8000, test_index) + ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + // Test that the user-agent contains metadata from the context when the CLI is in daemon mode + userAgent := r.Header.Get("User-Agent") + + require.Contains(t, userAgent, "cli-test/0.0.0") + require.Contains(t, userAgent, "grpc-go") + // Depends on how we built the client we may have git-snapshot or 0.0.0-git in dev releases + require.Condition(t, func() (success bool) { + return strings.Contains(userAgent, "arduino-cli/git-snapshot") || + strings.Contains(userAgent, "arduino-cli/0.0.0-git") + }) + + proxiedReq, err := http.NewRequest(r.Method, url.String(), r.Body) + require.NoError(t, err) + maps.Copy(proxiedReq.Header, r.Header) + + proxiedResp, err := http.DefaultTransport.RoundTrip(proxiedReq) + require.NoError(t, err) + defer proxiedResp.Body.Close() + + // Copy the headers from the proxy response to the original response + maps.Copy(r.Header, proxiedReq.Header) + w.WriteHeader(proxiedResp.StatusCode) + io.Copy(w, proxiedResp.Body) + })) + defer ts.Close() + + grpcInst := cli.Create() + require.NoError(t, grpcInst.Init("", "", func(ir *commands.InitResponse) { + fmt.Printf("INIT> %v\n", ir.GetMessage()) + })) + + // Set extra indexes + additionalURL := ts.URL + "/test_index.json" + err := cli.SetValue("board_manager.additional_urls", fmt.Sprintf(`["%s"]`, additionalURL)) + require.NoError(t, err) + + { + cl, err := grpcInst.UpdateIndex(context.Background(), false) + require.NoError(t, err) + res, err := analyzeUpdateIndexClient(t, cl) + require.NoError(t, err) + require.Len(t, res, 2) + require.True(t, res[additionalURL].GetSuccess()) + } +} + +func TestDaemonCreateSketch(t *testing.T) { + // https://github.com/arduino/arduino-cli/issues/2861 + + env, cli := integrationtest.CreateEnvForDaemon(t) + defer env.CleanUp() + + grpcInst := cli.Create() + require.NoError(t, grpcInst.Init("", "", func(ir *commands.InitResponse) { + fmt.Printf("INIT> %v\n", ir.GetMessage()) + })) + + sketchName := "test_sketch.ino" + _, err := grpcInst.NewSketch(context.Background(), sketchName, "", false) + require.NoError(t, err) +} + func analyzeUpdateIndexClient(t *testing.T, cl commands.ArduinoCoreService_UpdateIndexClient) (map[string]*commands.DownloadProgressEnd, error) { analyzer := NewDownloadProgressAnalyzer(t) for { msg, err := cl.Recv() + fmt.Println("UPDATE>", msg, err) if errors.Is(err, io.EOF) { return analyzer.Results, nil } diff --git a/internal/integrationtest/http_server.go b/internal/integrationtest/http_server.go index c5f06e9557a..dc6fd98e099 100644 --- a/internal/integrationtest/http_server.go +++ b/internal/integrationtest/http_server.go @@ -27,6 +27,7 @@ import ( // HTTPServeFile spawn an http server that serve a single file. The server // is started on the given port. The URL to the file and a cleanup function are returned. func (env *Environment) HTTPServeFile(port uint16, path *paths.Path) *url.URL { + t := env.T() mux := http.NewServeMux() mux.HandleFunc("/"+path.Base(), func(w http.ResponseWriter, r *http.Request) { http.ServeFile(w, r, path.String()) @@ -36,7 +37,6 @@ func (env *Environment) HTTPServeFile(port uint16, path *paths.Path) *url.URL { Handler: mux, } - t := env.T() fileURL, err := url.Parse(fmt.Sprintf("http://127.0.0.1:%d/%s", port, path.Base())) require.NoError(t, err) diff --git a/internal/integrationtest/lib/lib_test.go b/internal/integrationtest/lib/lib_test.go index ab49a35e2a7..f900a416dad 100644 --- a/internal/integrationtest/lib/lib_test.go +++ b/internal/integrationtest/lib/lib_test.go @@ -16,6 +16,8 @@ package lib_test import ( + "crypto/sha256" + "encoding/hex" "encoding/json" "fmt" "io" @@ -659,27 +661,66 @@ func TestInstallWithGitUrlFragmentAsBranch(t *testing.T) { _, _, err := cli.RunWithCustomEnv(envVar, "config", "init", "--dest-dir", ".") require.NoError(t, err) - libInstallDir := cli.SketchbookDir().Join("libraries", "WiFi101") - // Verifies library is not already installed - require.NoDirExists(t, libInstallDir.String()) + t.Run("InvalidRef", func(t *testing.T) { + // Test that a bad ref fails + _, _, err = cli.Run("lib", "install", "--git-url", "https://github.com/arduino-libraries/WiFi101.git#x-ref-does-not-exist", "--config-file", "arduino-cli.yaml") + require.Error(t, err) + }) - gitUrl := "https://github.com/arduino-libraries/WiFi101.git" + t.Run("RefPointingToATag", func(t *testing.T) { + gitUrl := "https://github.com/arduino-libraries/WiFi101.git" + libInstallDir := cli.SketchbookDir().Join("libraries", "WiFi101").String() - // Test that a bad ref fails - _, _, err = cli.Run("lib", "install", "--git-url", gitUrl+"#x-ref-does-not-exist", "--config-file", "arduino-cli.yaml") - require.Error(t, err) + // Verifies library is not already installed + require.NoDirExists(t, libInstallDir) - // Verifies library is installed in expected path - _, _, err = cli.Run("lib", "install", "--git-url", gitUrl+"#0.16.0", "--config-file", "arduino-cli.yaml") - require.NoError(t, err) - require.DirExists(t, libInstallDir.String()) + // Verifies library is installed in expected path + _, _, err = cli.Run("lib", "install", "--git-url", gitUrl+"#0.16.0", "--config-file", "arduino-cli.yaml") + require.NoError(t, err) + require.DirExists(t, libInstallDir) - // Reinstall library at an existing ref - _, _, err = cli.Run("lib", "install", "--git-url", gitUrl+"#master", "--config-file", "arduino-cli.yaml") - require.NoError(t, err) + // Reinstall library at an existing ref + _, _, err = cli.Run("lib", "install", "--git-url", gitUrl+"#master", "--config-file", "arduino-cli.yaml") + require.NoError(t, err) - // Verifies library remains installed - require.DirExists(t, libInstallDir.String()) + // Verifies library remains installed + require.DirExists(t, libInstallDir) + }) + + t.Run("RefPointingToBranch", func(t *testing.T) { + libInstallDir := cli.SketchbookDir().Join("libraries", "ArduinoCloud") + t.Cleanup(func() { libInstallDir.RemoveAll() }) + + // Verify install with ref pointing to a branch + require.NoDirExists(t, libInstallDir.String()) + _, _, err = cli.Run("lib", "install", "--git-url", "https://github.com/arduino-libraries/ArduinoCloud.git#revert-2-typos", "--config-file", "arduino-cli.yaml") + require.NoError(t, err) + require.DirExists(t, libInstallDir.String()) + + // Verify that the correct branch is checked out + // https://github.com/arduino-libraries/ArduinoCloud/commit/d098d4647967b3aeb4520e7baf279e4225254dd2 + fileToTest, err := libInstallDir.Join("src", "ArduinoCloudThingBase.h").ReadFile() + require.NoError(t, err) + require.Contains(t, string(fileToTest), `#define LENGHT_M "meters"`) // nolint:misspell + }) + + t.Run("RefPointingToHash", func(t *testing.T) { + libInstallDir := cli.SketchbookDir().Join("libraries", "ArduinoCloud") + t.Cleanup(func() { libInstallDir.RemoveAll() }) + + // Verify install with ref pointing to a branch + require.NoDirExists(t, libInstallDir.String()) + _, _, err = cli.Run("lib", "install", "--git-url", "https://github.com/arduino-libraries/ArduinoCloud.git#fe1a1c5d1f8ea2cb27ece1a3b9344dc1eaed60b6", "--config-file", "arduino-cli.yaml") + require.NoError(t, err) + require.DirExists(t, libInstallDir.String()) + + // Verify that the correct branch is checked out + // https://github.com/arduino-libraries/ArduinoCloud/commit/fe1a1c5d1f8ea2cb27ece1a3b9344dc1eaed60b6 + fileToTest, err := libInstallDir.Join("examples", "ReadAndWrite", "ReadAndWrite.ino").ReadFile() + require.NoError(t, err) + chksum := sha256.Sum256(fileToTest) + require.Equal(t, hex.EncodeToString(chksum[:]), `f71889cd6da3b91755c7d1b8ec76b7ee6e2824d8a417c043d117ffdf1546f896`) + }) } func TestUpdateIndex(t *testing.T) { diff --git a/internal/i18n/README.md b/internal/locales/README.md similarity index 100% rename from internal/i18n/README.md rename to internal/locales/README.md diff --git a/internal/i18n/cmd/ast/parser.go b/internal/locales/cmd/ast/parser.go similarity index 97% rename from internal/i18n/cmd/ast/parser.go rename to internal/locales/cmd/ast/parser.go index d8d558cd975..69648c70c1b 100644 --- a/internal/i18n/cmd/ast/parser.go +++ b/internal/locales/cmd/ast/parser.go @@ -24,7 +24,7 @@ import ( "path/filepath" "strconv" - "github.com/arduino/arduino-cli/internal/i18n/cmd/po" + "github.com/arduino/arduino-cli/internal/locales/cmd/po" ) // GenerateCatalog generates the i18n message catalog for the go source files diff --git a/internal/i18n/cmd/commands/catalog/catalog.go b/internal/locales/cmd/commands/catalog/catalog.go similarity index 100% rename from internal/i18n/cmd/commands/catalog/catalog.go rename to internal/locales/cmd/commands/catalog/catalog.go diff --git a/internal/i18n/cmd/commands/catalog/generate_catalog.go b/internal/locales/cmd/commands/catalog/generate_catalog.go similarity index 95% rename from internal/i18n/cmd/commands/catalog/generate_catalog.go rename to internal/locales/cmd/commands/catalog/generate_catalog.go index 1c65c640ffc..27ac0e76d45 100644 --- a/internal/i18n/cmd/commands/catalog/generate_catalog.go +++ b/internal/locales/cmd/commands/catalog/generate_catalog.go @@ -19,7 +19,7 @@ import ( "os" "path/filepath" - "github.com/arduino/arduino-cli/internal/i18n/cmd/ast" + "github.com/arduino/arduino-cli/internal/locales/cmd/ast" "github.com/spf13/cobra" ) diff --git a/internal/i18n/cmd/commands/root.go b/internal/locales/cmd/commands/root.go similarity index 87% rename from internal/i18n/cmd/commands/root.go rename to internal/locales/cmd/commands/root.go index 14559dcfee9..fc5d8eb37e0 100644 --- a/internal/i18n/cmd/commands/root.go +++ b/internal/locales/cmd/commands/root.go @@ -16,8 +16,8 @@ package commands import ( - "github.com/arduino/arduino-cli/internal/i18n/cmd/commands/catalog" - "github.com/arduino/arduino-cli/internal/i18n/cmd/commands/transifex" + "github.com/arduino/arduino-cli/internal/locales/cmd/commands/catalog" + "github.com/arduino/arduino-cli/internal/locales/cmd/commands/transifex" "github.com/spf13/cobra" ) diff --git a/internal/i18n/cmd/commands/transifex/pull_transifex.go b/internal/locales/cmd/commands/transifex/pull_transifex.go similarity index 100% rename from internal/i18n/cmd/commands/transifex/pull_transifex.go rename to internal/locales/cmd/commands/transifex/pull_transifex.go diff --git a/internal/i18n/cmd/commands/transifex/push_transifex.go b/internal/locales/cmd/commands/transifex/push_transifex.go similarity index 100% rename from internal/i18n/cmd/commands/transifex/push_transifex.go rename to internal/locales/cmd/commands/transifex/push_transifex.go diff --git a/internal/i18n/cmd/commands/transifex/transifex.go b/internal/locales/cmd/commands/transifex/transifex.go similarity index 100% rename from internal/i18n/cmd/commands/transifex/transifex.go rename to internal/locales/cmd/commands/transifex/transifex.go diff --git a/internal/i18n/cmd/main.go b/internal/locales/cmd/main.go similarity index 93% rename from internal/i18n/cmd/main.go rename to internal/locales/cmd/main.go index 8752c9d668e..d31f1589e09 100644 --- a/internal/i18n/cmd/main.go +++ b/internal/locales/cmd/main.go @@ -19,7 +19,7 @@ import ( "fmt" "os" - "github.com/arduino/arduino-cli/internal/i18n/cmd/commands" + "github.com/arduino/arduino-cli/internal/locales/cmd/commands" ) func main() { diff --git a/internal/i18n/cmd/po/catalog.go b/internal/locales/cmd/po/catalog.go similarity index 100% rename from internal/i18n/cmd/po/catalog.go rename to internal/locales/cmd/po/catalog.go diff --git a/internal/i18n/cmd/po/catalog_test.go b/internal/locales/cmd/po/catalog_test.go similarity index 100% rename from internal/i18n/cmd/po/catalog_test.go rename to internal/locales/cmd/po/catalog_test.go diff --git a/internal/i18n/cmd/po/merge.go b/internal/locales/cmd/po/merge.go similarity index 100% rename from internal/i18n/cmd/po/merge.go rename to internal/locales/cmd/po/merge.go diff --git a/internal/i18n/cmd/po/merge_test.go b/internal/locales/cmd/po/merge_test.go similarity index 100% rename from internal/i18n/cmd/po/merge_test.go rename to internal/locales/cmd/po/merge_test.go diff --git a/internal/i18n/cmd/po/parser.go b/internal/locales/cmd/po/parser.go similarity index 100% rename from internal/i18n/cmd/po/parser.go rename to internal/locales/cmd/po/parser.go diff --git a/internal/i18n/cmd/po/parser_test.go b/internal/locales/cmd/po/parser_test.go similarity index 100% rename from internal/i18n/cmd/po/parser_test.go rename to internal/locales/cmd/po/parser_test.go diff --git a/internal/i18n/convert.go b/internal/locales/convert.go similarity index 98% rename from internal/i18n/convert.go rename to internal/locales/convert.go index 7b6d2e8dbdf..e7aa8227571 100644 --- a/internal/i18n/convert.go +++ b/internal/locales/convert.go @@ -13,7 +13,7 @@ // Arduino software without disclosing the source code of your own applications. // To purchase a commercial license, send an email to license@arduino.cc. -package i18n +package locales import ( "regexp" diff --git a/internal/i18n/convert_test.go b/internal/locales/convert_test.go similarity index 99% rename from internal/i18n/convert_test.go rename to internal/locales/convert_test.go index 618fa977b3b..723d6118c2b 100644 --- a/internal/i18n/convert_test.go +++ b/internal/locales/convert_test.go @@ -13,7 +13,7 @@ // Arduino software without disclosing the source code of your own applications. // To purchase a commercial license, send an email to license@arduino.cc. -package i18n +package locales import ( "fmt" diff --git a/internal/i18n/data/.gitkeep b/internal/locales/data/.gitkeep similarity index 100% rename from internal/i18n/data/.gitkeep rename to internal/locales/data/.gitkeep diff --git a/internal/i18n/data/README.md b/internal/locales/data/README.md similarity index 100% rename from internal/i18n/data/README.md rename to internal/locales/data/README.md diff --git a/internal/i18n/data/ar.po b/internal/locales/data/ar.po similarity index 89% rename from internal/i18n/data/ar.po rename to internal/locales/data/ar.po index 930c7064a83..af3424b16a6 100644 --- a/internal/i18n/data/ar.po +++ b/internal/locales/data/ar.po @@ -3,17 +3,18 @@ # CLI team , 2022 # Mark Asaad, 2022 # Osama Breman, 2023 -# طارق عبد الفتاح, 2023 +# طارق عبد الفتاح , 2023 # Ahmed Gaafar, 2024 +# bedo karam, 2025 # msgid "" msgstr "" -"Last-Translator: Ahmed Gaafar, 2024\n" +"Last-Translator: bedo karam, 2025\n" "Language-Team: Arabic (https://app.transifex.com/arduino-1/teams/108174/ar/)\n" "Language: ar\n" "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" -#: version/version.go:56 +#: internal/version/version.go:56 msgid "%[1]s %[2]s Version: %[3]s Commit: %[4]s Date: %[5]s" msgstr "%[1]s %[2]s النسخة : %[3]s commit : %[4]s التاريخ : %[5]s" @@ -25,11 +26,11 @@ msgstr "الملف %[1]s اصبح غير مدعوما! راجع %[2]s للمزي msgid "%[1]s invalid, rebuilding all" msgstr "%[1]s غير صالح . جار اعادة بناء كل شيء" -#: internal/cli/lib/check_deps.go:124 +#: internal/cli/lib/check_deps.go:125 msgid "%[1]s is required but %[2]s is currently installed." msgstr "%[1]s مطلوب و لكن %[2]s مثبت حاليا" -#: internal/arduino/builder/builder.go:486 +#: internal/arduino/builder/builder.go:487 msgid "%[1]s pattern is missing" msgstr "%[1]s التنسيق مفقود" @@ -37,45 +38,45 @@ msgstr "%[1]s التنسيق مفقود" msgid "%s already downloaded" msgstr "تم تنزيل %s مسبقا" -#: commands/service_upload.go:781 +#: commands/service_upload.go:782 msgid "%s and %s cannot be used together" msgstr "%s و %s لا يمكن استخدامهما معا" -#: internal/arduino/cores/packagemanager/install_uninstall.go:371 +#: internal/arduino/cores/packagemanager/install_uninstall.go:373 msgid "%s installed" msgstr "%s تم تثبيته بنجاح" -#: internal/cli/lib/check_deps.go:121 +#: internal/cli/lib/check_deps.go:122 msgid "%s is already installed." msgstr "%s مثبت مسبقا" #: internal/arduino/cores/packagemanager/loader.go:63 -#: internal/arduino/cores/packagemanager/loader.go:617 +#: internal/arduino/cores/packagemanager/loader.go:614 msgid "%s is not a directory" msgstr "%s ليس مسارا صحيحا" -#: internal/arduino/cores/packagemanager/install_uninstall.go:290 +#: internal/arduino/cores/packagemanager/install_uninstall.go:292 msgid "%s is not managed by package manager" msgstr "%s غير مدار بواسطة مدير الحزمات" #: internal/cli/daemon/daemon.go:67 msgid "%s must be >= 1024" -msgstr "" +msgstr "%s يلزم أن يكون أكبر من أو يساوي 1024" -#: internal/cli/lib/check_deps.go:118 +#: internal/cli/lib/check_deps.go:119 msgid "%s must be installed." msgstr "يجب تثبيت %s" -#: internal/arduino/builder/internal/preprocessor/ctags.go:192 -#: internal/arduino/builder/internal/preprocessor/gcc.go:62 +#: internal/arduino/builder/internal/preprocessor/ctags.go:193 +#: internal/arduino/builder/internal/preprocessor/gcc.go:63 msgid "%s pattern is missing" msgstr "%s النسق مفقود" -#: commands/cmderrors/cmderrors.go:818 +#: commands/cmderrors/cmderrors.go:839 msgid "'%s' has an invalid signature" msgstr "'%s' لديه توقيع غير صحيح" -#: internal/arduino/cores/packagemanager/package_manager.go:448 +#: internal/arduino/cores/packagemanager/package_manager.go:416 msgid "" "'build.core' and 'build.variant' refer to different platforms: %[1]s and " "%[2]s" @@ -85,7 +86,7 @@ msgstr "'build.core' و 'build.variant' تشيران الى منصة مختلف msgid "(hidden)" msgstr "(مخفي)" -#: internal/arduino/builder/libraries.go:302 +#: internal/arduino/builder/libraries.go:303 msgid "(legacy)" msgstr "(الشكل القديم)" @@ -117,7 +118,7 @@ msgstr "ملف ino. موجود مسبقا" msgid "A new release of Arduino CLI is available:" msgstr "نسخة جديدة من CLI متوفرة " -#: commands/cmderrors/cmderrors.go:299 +#: commands/cmderrors/cmderrors.go:300 msgid "A programmer is required to upload" msgstr "عليك وصل مبرمجة للرفع" @@ -150,7 +151,7 @@ msgstr "جميع المنصات محدثة" msgid "All the cores are already at the latest version" msgstr "كل الانوية محدثة باخر اصدار مسبقا" -#: commands/service_library_install.go:135 +#: commands/service_library_install.go:136 msgid "Already installed %s" msgstr "%s مثبت مسبقا" @@ -180,7 +181,7 @@ msgstr "المعمارية : %s" msgid "Archive already exists" msgstr "الارشيف موجود مسبقا" -#: internal/arduino/builder/core.go:163 +#: internal/arduino/builder/core.go:164 msgid "Archiving built core (caching) in: %[1]s" msgstr "جار ارشفة built core (caching) في : %[1]s" @@ -228,7 +229,7 @@ msgstr "يربط اللوحة بالمشروع" msgid "Author: %s" msgstr "المؤلف : %s" -#: internal/arduino/libraries/librariesmanager/install.go:79 +#: internal/arduino/libraries/librariesmanager/install.go:78 msgid "" "Automatic library install can't be performed in this case, please manually " "remove all duplicates and retry." @@ -269,11 +270,11 @@ msgstr "اسم اللوحة" msgid "Board version:" msgstr "نسخة اللوحة :" -#: internal/arduino/builder/sketch.go:243 +#: internal/arduino/builder/sketch.go:245 msgid "Bootloader file specified but missing: %[1]s" msgstr "ملف محمل الإقلاع (Bootloader) تم تحدديده لكنه مفقود: %[1]s" -#: internal/cli/compile/compile.go:101 +#: internal/cli/compile/compile.go:104 msgid "" "Builds of cores and sketches are saved into this path to be cached and " "reused." @@ -283,25 +284,25 @@ msgstr "" msgid "Can't create data directory %s" msgstr "تعذر انشاء مسار البيانات %s" -#: commands/cmderrors/cmderrors.go:511 +#: commands/cmderrors/cmderrors.go:532 msgid "Can't create sketch" msgstr "تعذر انشاء المشروع" -#: commands/service_library_download.go:91 -#: commands/service_library_download.go:94 +#: commands/service_library_download.go:95 +#: commands/service_library_download.go:98 msgid "Can't download library" msgstr "تعذر تنزيل المكتبة" #: commands/service_platform_uninstall.go:89 -#: internal/arduino/cores/packagemanager/install_uninstall.go:136 +#: internal/arduino/cores/packagemanager/install_uninstall.go:138 msgid "Can't find dependencies for platform %s" msgstr "تعذر ايجاد التبعيات للمنصة %s" -#: commands/cmderrors/cmderrors.go:537 +#: commands/cmderrors/cmderrors.go:558 msgid "Can't open sketch" msgstr "تعذر فتح المشروع" -#: commands/cmderrors/cmderrors.go:524 +#: commands/cmderrors/cmderrors.go:545 msgid "Can't update sketch" msgstr "نعذر تحديث المشروع" @@ -313,11 +314,11 @@ msgstr "لا يمكن استخدام العلامات التالية مع بعض msgid "Can't write debug log: %s" msgstr "تعذر كتابة سجل مصحح الاخطاء : %s" -#: commands/service_compile.go:187 commands/service_compile.go:190 +#: commands/service_compile.go:190 commands/service_compile.go:193 msgid "Cannot create build cache directory" msgstr "تعذر انشاء مجلد لل \"build cache\"" -#: commands/service_compile.go:212 +#: commands/service_compile.go:215 msgid "Cannot create build directory" msgstr "تعذر انشاء مسار البناء" @@ -329,11 +330,11 @@ msgstr "تعذر انشاء مسار ملف التهيئة : %v" msgid "Cannot create config file: %v" msgstr "تعذر انشاء ملف التهيئة : %v" -#: commands/cmderrors/cmderrors.go:781 +#: commands/cmderrors/cmderrors.go:802 msgid "Cannot create temp dir" msgstr "تعذر انشاء مسار مؤقت" -#: commands/cmderrors/cmderrors.go:799 +#: commands/cmderrors/cmderrors.go:820 msgid "Cannot create temp file" msgstr "تعذر انشاء ملف temp" @@ -355,15 +356,15 @@ msgstr "تعذر ايجاد المسار المطلق : %v" msgid "Cannot get the configuration key %[1]s: %[2]v" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:143 +#: internal/arduino/cores/packagemanager/install_uninstall.go:145 msgid "Cannot install platform" msgstr "تعذر تثبيت المنصة" -#: internal/arduino/cores/packagemanager/install_uninstall.go:349 +#: internal/arduino/cores/packagemanager/install_uninstall.go:351 msgid "Cannot install tool %s" msgstr "تعذر تثبيت الاداة %s" -#: commands/service_upload.go:543 +#: commands/service_upload.go:544 msgid "Cannot perform port reset: %s" msgstr "تعذر اجراء اعادة تشغيل المنفذ : %s" @@ -372,7 +373,7 @@ msgstr "تعذر اجراء اعادة تشغيل المنفذ : %s" msgid "Cannot remove the configuration key %[1]s: %[2]v" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:161 +#: internal/arduino/cores/packagemanager/install_uninstall.go:163 msgid "Cannot upgrade platform" msgstr "تعذر تحديث المنصة" @@ -413,27 +414,31 @@ msgid "" "a change." msgstr "الامر يبقى قيد التشغيل و يطبع قائمة للوحات المتصلة عندما يوجد تغيير" -#: commands/service_debug_config.go:178 commands/service_upload.go:451 +#: commands/service_debug_config.go:178 commands/service_upload.go:452 msgid "Compiled sketch not found in %s" msgstr "المشروع المترجم لم يتم ايجاده في %s" +#: internal/arduino/builder/internal/preprocessor/gcc.go:93 +msgid "Compiler error output has been truncated." +msgstr "" + #: internal/cli/compile/compile.go:80 internal/cli/compile/compile.go:81 msgid "Compiles Arduino sketches." msgstr "يترجم مشاريع الاردوينو" -#: internal/arduino/builder/builder.go:420 +#: internal/arduino/builder/builder.go:421 msgid "Compiling core..." msgstr "يتم ترجمة النواة" -#: internal/arduino/builder/builder.go:399 +#: internal/arduino/builder/builder.go:400 msgid "Compiling libraries..." msgstr "يتم ترجمة المكتبات" -#: internal/arduino/builder/libraries.go:133 +#: internal/arduino/builder/libraries.go:134 msgid "Compiling library \"%[1]s\"" msgstr "يتم ترجمة المكتبة \"%[1]s\"" -#: internal/arduino/builder/builder.go:383 +#: internal/arduino/builder/builder.go:384 msgid "Compiling sketch..." msgstr "ترجمة الشيفرة البرمجية..." @@ -457,11 +462,11 @@ msgid "" "=[,=]..." msgstr "تكوين إعدادات منفذ الاتصال. التنسيق هو =[,=]" -#: internal/arduino/cores/packagemanager/install_uninstall.go:177 +#: internal/arduino/cores/packagemanager/install_uninstall.go:179 msgid "Configuring platform." msgstr "جار تهيئة المنصة" -#: internal/arduino/cores/packagemanager/install_uninstall.go:359 +#: internal/arduino/cores/packagemanager/install_uninstall.go:361 msgid "Configuring tool." msgstr "جار تهيئة الاداة" @@ -471,25 +476,25 @@ msgstr "متصل" #: internal/cli/monitor/monitor.go:275 msgid "Connecting to %s. Press CTRL-C to exit." -msgstr "" +msgstr "جار الإتصال ب %s اضغط CTRL-C للإنهاء. " #: internal/cli/board/list.go:104 internal/cli/board/list.go:142 msgid "Core" msgstr "النواة" -#: internal/cli/configuration/network.go:103 +#: internal/cli/configuration/network.go:127 msgid "Could not connect via HTTP" msgstr "تعذر الاتصال بواسطة HTTP" -#: commands/instances.go:486 +#: commands/instances.go:487 msgid "Could not create index directory" msgstr "تعذر انشاء فهرس داخل المسار" -#: internal/arduino/builder/core.go:41 +#: internal/arduino/builder/core.go:42 msgid "Couldn't deeply cache core build: %[1]s" msgstr "تعذر القيام بـ deeply cache لــ core build : %[1]s" -#: internal/arduino/builder/sizer.go:154 +#: internal/arduino/builder/sizer.go:155 msgid "Couldn't determine program size" msgstr "تعذر معرفة حجم البرنامج" @@ -501,7 +506,7 @@ msgstr "تعذر ايجاد المسار الحالي %v" msgid "Create a new Sketch" msgstr "انشاء مشروع جديد" -#: internal/cli/compile/compile.go:98 +#: internal/cli/compile/compile.go:101 msgid "Create and print a profile configuration from the build." msgstr "انشاء و طباعة اعدادات البروفايل من البناء (build)" @@ -517,7 +522,7 @@ msgstr "" "انشاء او تحديث ملف الضبط في مسار البيانات او في مسار مخصص مع اعدادات التهيئة" " الحالية" -#: internal/cli/compile/compile.go:331 +#: internal/cli/compile/compile.go:340 msgid "" "Currently, Build Profiles only support libraries available through Arduino " "Library Manager." @@ -593,7 +598,7 @@ msgstr "تبعيات : %s" msgid "Description" msgstr "الوصف" -#: internal/arduino/builder/builder.go:313 +#: internal/arduino/builder/builder.go:314 msgid "Detecting libraries used..." msgstr "الكشف عن المكتبات المستخدمة ..." @@ -657,7 +662,7 @@ msgstr "" msgid "Do not try to update library dependencies if already installed." msgstr "لا تحاول تحديث المكتبات أذا تم تثبيتها." -#: commands/service_library_download.go:88 +#: commands/service_library_download.go:92 msgid "Downloading %s" msgstr "يتم تنزيل %s" @@ -665,21 +670,21 @@ msgstr "يتم تنزيل %s" msgid "Downloading index signature: %s" msgstr "جار تنزيل فهرس التوقيعات %s" -#: commands/instances.go:563 commands/instances.go:581 -#: commands/instances.go:595 commands/instances.go:612 +#: commands/instances.go:564 commands/instances.go:582 +#: commands/instances.go:596 commands/instances.go:613 #: internal/arduino/resources/index.go:82 msgid "Downloading index: %s" msgstr "جار تنزيل الفهرس : %s" -#: commands/instances.go:371 +#: commands/instances.go:372 msgid "Downloading library %s" msgstr "جار تحميل المكتبة %s" -#: commands/instances.go:53 +#: commands/instances.go:54 msgid "Downloading missing tool %s" msgstr "جار تنزيل الاداة الناقصة" -#: internal/arduino/cores/packagemanager/install_uninstall.go:96 +#: internal/arduino/cores/packagemanager/install_uninstall.go:98 msgid "Downloading packages" msgstr "جار تنزيل الحزم" @@ -717,7 +722,7 @@ msgid "Error adding file to sketch archive" msgstr "" "خطأ اثناء اضافة الملف لارشيف المشروع (Error adding file to sketch archive)" -#: internal/arduino/builder/core.go:169 +#: internal/arduino/builder/core.go:170 msgid "Error archiving built core (caching) in %[1]s: %[2]s" msgstr "خطا اثناء ارشفة built core (caching) في %[1]s : %[2]s" @@ -734,11 +739,11 @@ msgstr "" msgid "Error cleaning caches: %v" msgstr "خطأ اثناء تنظيف الكاش : %v" -#: internal/cli/compile/compile.go:220 +#: internal/cli/compile/compile.go:225 msgid "Error converting path to absolute: %v" msgstr "تعذر تحويل المسار الى مطلق : %v" -#: commands/service_compile.go:405 +#: commands/service_compile.go:420 msgid "Error copying output file %s" msgstr "خطا اثناء نسخ ملف الخرج %s" @@ -752,7 +757,7 @@ msgstr "خطأ في أنشاء ملف التعريفات:%v" msgid "Error creating instance: %v" msgstr "خطا اثناء انشاء النسخة %v" -#: commands/service_compile.go:389 +#: commands/service_compile.go:403 msgid "Error creating output dir" msgstr "خطا اثناء انشاء مسار الخرج" @@ -777,7 +782,7 @@ msgstr "خطا اثناء تحميل %[1]s : %[2]v" msgid "Error downloading %s" msgstr "خطأ اثناء تحميل %s" -#: commands/instances.go:660 internal/arduino/resources/index.go:83 +#: commands/instances.go:661 internal/arduino/resources/index.go:83 msgid "Error downloading index '%s'" msgstr "خطأ اثناء تحميل الفهرس '%s'" @@ -785,7 +790,7 @@ msgstr "خطأ اثناء تحميل الفهرس '%s'" msgid "Error downloading index signature '%s'" msgstr "خطأ اثناء تحميل توقيع الفهرس : '%s'" -#: commands/instances.go:381 commands/instances.go:387 +#: commands/instances.go:382 commands/instances.go:388 msgid "Error downloading library %s" msgstr "خطأ اثناء تحميل المكتبة %s" @@ -794,7 +799,7 @@ msgstr "خطأ اثناء تحميل المكتبة %s" msgid "Error downloading platform %s" msgstr "خطأ اثناء تنزيل المنصة %s" -#: internal/arduino/cores/packagemanager/download.go:127 +#: internal/arduino/cores/packagemanager/download.go:129 #: internal/arduino/cores/packagemanager/profiles.go:179 msgid "Error downloading tool %s" msgstr "خطا اثناء تنزيل الاداة %s" @@ -809,16 +814,16 @@ msgstr "خطا اثناء ترميز JSON الخاص بالخرج : %v" #: internal/cli/burnbootloader/burnbootloader.go:78 #: internal/cli/burnbootloader/burnbootloader.go:100 -#: internal/cli/compile/compile.go:264 internal/cli/compile/compile.go:306 +#: internal/cli/compile/compile.go:269 internal/cli/compile/compile.go:311 #: internal/cli/upload/upload.go:99 internal/cli/upload/upload.go:128 msgid "Error during Upload: %v" msgstr "خطا اثناء الرفع : %v" #: internal/cli/arguments/port.go:144 msgid "Error during board detection" -msgstr "" +msgstr "حدث خطأ ما أثناء إكتشاف اللوحة." -#: internal/cli/compile/compile.go:379 +#: internal/cli/compile/compile.go:394 msgid "Error during build: %v" msgstr "خطأ اثناء بناء : %v" @@ -839,7 +844,7 @@ msgstr "خطا اثناء تطوير : %v" msgid "Error extracting %s" msgstr "خطأ اثناء استخراج %s" -#: commands/service_upload.go:448 +#: commands/service_upload.go:449 msgid "Error finding build artifacts" msgstr "خطا اثناء البحث عن build artifacts" @@ -865,7 +870,7 @@ msgid "" "correct sketch folder or provide the --port flag: %s" msgstr "" -#: commands/service_compile.go:328 commands/service_library_list.go:115 +#: commands/service_compile.go:338 commands/service_library_list.go:115 msgid "Error getting information for library %s" msgstr "خطأ اثناء الحصول على المعلومات للمكتبة %s" @@ -902,7 +907,7 @@ msgstr "خطأ اثناء تثبيت مكتبة GIT : %v" msgid "Error installing Zip Library: %v" msgstr "خطأ اثناء تثبيت مكتبة ZIP : %v" -#: commands/instances.go:397 +#: commands/instances.go:398 msgid "Error installing library %s" msgstr "خطأ اثناء تثبيت المكتبة %s" @@ -929,7 +934,7 @@ msgstr "تعذر احصاء المكتبات : %v" msgid "Error listing platforms: %v" msgstr "خطأ اثناء انشاء قائمة تحوي جميع المنصات : %v" -#: commands/cmderrors/cmderrors.go:424 +#: commands/cmderrors/cmderrors.go:445 msgid "Error loading hardware platform" msgstr "خطا اثناء تحميل منصة الهاردوير" @@ -946,15 +951,15 @@ msgstr "خطأ اثناء فتح %s" msgid "Error opening debug logging file: %s" msgstr "تعذر فتح الملف الذي يحوي سجلات التصحيح (debug logging file) : %s" -#: internal/cli/compile/compile.go:193 +#: internal/cli/compile/compile.go:196 msgid "Error opening source code overrides data file: %v" msgstr "خطا اثناء فتح الكود المصدر الذي يتجاوز ملف البيانات : %v" -#: internal/cli/compile/compile.go:206 +#: internal/cli/compile/compile.go:209 msgid "Error parsing --show-properties flag: %v" msgstr "تعذر تقطيع علامة show-properties-- : %v" -#: commands/service_compile.go:398 +#: commands/service_compile.go:412 msgid "Error reading build directory" msgstr "خطا اثناء قراءة مسار البناء" @@ -970,7 +975,7 @@ msgstr "خطا اثناء حل التبعيات ل %[1]s:%[2]s" msgid "Error retrieving core list: %v" msgstr "خطا اثناء استعادة قائمة النواة : %v" -#: internal/arduino/cores/packagemanager/install_uninstall.go:158 +#: internal/arduino/cores/packagemanager/install_uninstall.go:160 msgid "Error rolling-back changes: %s" msgstr "خطا اثناء التراجع عن التغييرات : %s" @@ -1027,7 +1032,7 @@ msgstr "خطا اثناء تحديث فهرس المكتبات : %v" msgid "Error upgrading libraries" msgstr "تعذر ترقية المكتبات" -#: internal/arduino/cores/packagemanager/install_uninstall.go:153 +#: internal/arduino/cores/packagemanager/install_uninstall.go:155 msgid "Error upgrading platform: %s" msgstr "خطا اثناء تطوير المنصة : %s" @@ -1040,10 +1045,10 @@ msgstr "تعذر التحقق من التوقيع" msgid "Error while detecting libraries included by %[1]s" msgstr "تعذر العثور على المكتبات التي ضُمِّنَت (included) من قبل : %[1]s" -#: internal/arduino/builder/sizer.go:79 internal/arduino/builder/sizer.go:88 -#: internal/arduino/builder/sizer.go:91 internal/arduino/builder/sizer.go:110 -#: internal/arduino/builder/sizer.go:215 internal/arduino/builder/sizer.go:225 -#: internal/arduino/builder/sizer.go:229 +#: internal/arduino/builder/sizer.go:80 internal/arduino/builder/sizer.go:89 +#: internal/arduino/builder/sizer.go:92 internal/arduino/builder/sizer.go:111 +#: internal/arduino/builder/sizer.go:218 internal/arduino/builder/sizer.go:228 +#: internal/arduino/builder/sizer.go:232 msgid "Error while determining sketch size: %s" msgstr "خطأ اثناء تحديد حجم المشروع : %s" @@ -1059,7 +1064,7 @@ msgstr "خطأ في كتابة الملف: %v" msgid "Error: command description is not supported by %v" msgstr "خطأ : وصف الامر غير مدعوم من قبل %v" -#: internal/cli/compile/compile.go:199 +#: internal/cli/compile/compile.go:202 msgid "Error: invalid source code overrides data file: %v" msgstr "خطأ : كود مصدري خاطئ سيقوم بالكتابة فوق ملف البيانات : %v" @@ -1079,7 +1084,7 @@ msgstr "الامثلة : " msgid "Executable to debug" msgstr "الملف التنفيذي الذي سيتم تصحيحه (Executable to debug)" -#: commands/service_debug_config.go:181 commands/service_upload.go:454 +#: commands/service_debug_config.go:181 commands/service_upload.go:455 msgid "Expected compiled sketch in directory %s, but is a file instead" msgstr "توقعت وجود المشروع المترجم في المسار %s . لكنني وجدت ملفا بدلا عن ذلك" @@ -1093,23 +1098,23 @@ msgstr "FQBN" msgid "FQBN:" msgstr "FQBN:" -#: commands/service_upload.go:577 +#: commands/service_upload.go:578 msgid "Failed chip erase" msgstr "فشل محي الشريحة" -#: commands/service_upload.go:584 +#: commands/service_upload.go:585 msgid "Failed programming" msgstr "فشل المبرمجة" -#: commands/service_upload.go:580 +#: commands/service_upload.go:581 msgid "Failed to burn bootloader" msgstr "فشل حرق محمل الاقلاع" -#: commands/instances.go:87 +#: commands/instances.go:88 msgid "Failed to create data directory" msgstr "فشل انشاء مسار البيانات" -#: commands/instances.go:76 +#: commands/instances.go:77 msgid "Failed to create downloads directory" msgstr "فشل انشاء مسار التنزيلات" @@ -1129,7 +1134,7 @@ msgstr "تعذر الاستماع على منفذ TCP : %[1]s . خطأ غير م msgid "Failed to listen on TCP port: %s. Address already in use." msgstr "تعذر الاستماع على منفذ TCP : %s . العناوين قيد الاستخدام مسبقا" -#: commands/service_upload.go:588 +#: commands/service_upload.go:589 msgid "Failed uploading" msgstr "تعذر الرفع" @@ -1137,7 +1142,7 @@ msgstr "تعذر الرفع" msgid "File:" msgstr "الملف : " -#: commands/service_compile.go:160 +#: commands/service_compile.go:163 msgid "" "Firmware encryption/signing requires all the following properties to be " "defined: %s" @@ -1178,7 +1183,7 @@ msgid "" "Force skip of pre-uninstall scripts (if the CLI is running interactively)." msgstr "" -#: commands/cmderrors/cmderrors.go:839 +#: commands/cmderrors/cmderrors.go:860 msgid "Found %d platforms matching \"%s\": %s" msgstr "" @@ -1203,7 +1208,7 @@ msgstr "يولد سكربت الاكمال" msgid "Generates completion scripts for various shells" msgstr "يولد سكربتات اكمال من اجل مختلف ال shells" -#: internal/arduino/builder/builder.go:333 +#: internal/arduino/builder/builder.go:334 msgid "Generating function prototypes..." msgstr "يتم توليد النماذج الاولية للتوابع :" @@ -1215,7 +1220,7 @@ msgstr "" msgid "Global Flags:" msgstr "علامات عامة :" -#: internal/arduino/builder/sizer.go:164 +#: internal/arduino/builder/sizer.go:166 msgid "" "Global variables use %[1]s bytes (%[3]s%%) of dynamic memory, leaving %[4]s " "bytes for local variables. Maximum is %[2]s bytes." @@ -1223,7 +1228,7 @@ msgstr "" "المتغيرات العامة تستخدم %[1]s بايت (%[3]s%%) من الرام ، تبقى %[4]s بايت " "للمتغيرات المحلية. الحجم الاقصى %[2]s بايت." -#: internal/arduino/builder/sizer.go:170 +#: internal/arduino/builder/sizer.go:172 msgid "Global variables use %[1]s bytes of dynamic memory." msgstr "المتغيرات العامة تستخدم %[1]s بايت من الذاكرة المتغيرة." @@ -1241,7 +1246,7 @@ msgstr "Id" msgid "Identification properties:" msgstr "خصائص التعرُّف" -#: internal/cli/compile/compile.go:132 +#: internal/cli/compile/compile.go:135 msgid "If set built binaries will be exported to the sketch folder." msgstr "" "اذا تم تحديده فان مجموعة الكود الثنائي الذي تم بناؤه سيتم تصديره الى مجلد " @@ -1272,20 +1277,20 @@ msgstr "تثبيت المكتبات داخل مجلد IDE-Builtin" msgid "Installed" msgstr "تم التنصيب" -#: commands/service_library_install.go:200 +#: commands/service_library_install.go:201 msgid "Installed %s" msgstr "تم تثبيت %s" -#: commands/service_library_install.go:183 -#: internal/arduino/cores/packagemanager/install_uninstall.go:333 +#: commands/service_library_install.go:184 +#: internal/arduino/cores/packagemanager/install_uninstall.go:335 msgid "Installing %s" msgstr "جار تثبيت %s" -#: commands/instances.go:395 +#: commands/instances.go:396 msgid "Installing library %s" msgstr "جار تثبيت المكتبة %s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:119 +#: internal/arduino/cores/packagemanager/install_uninstall.go:121 #: internal/arduino/cores/packagemanager/profiles.go:134 msgid "Installing platform %s" msgstr "جار تثبيت المنصة %s" @@ -1308,11 +1313,11 @@ msgstr "يقوم بتثبيت مكتبة او اكثر تم تحديدها مس msgid "Internal error in cache" msgstr "خطأ داخلي في الكاش (Internal error in cache)" -#: commands/cmderrors/cmderrors.go:377 +#: commands/cmderrors/cmderrors.go:378 msgid "Invalid '%[1]s' property: %[2]s" msgstr "غير صالح '‍%[1]s' : الصفة : %[2]s" -#: commands/cmderrors/cmderrors.go:60 +#: commands/cmderrors/cmderrors.go:61 msgid "Invalid FQBN" msgstr "FBQN غير صالح" @@ -1320,11 +1325,11 @@ msgstr "FBQN غير صالح" msgid "Invalid TCP address: port is missing" msgstr "عنوان TCP غير صالح لان المنفذ غير موجود" -#: commands/cmderrors/cmderrors.go:78 +#: commands/cmderrors/cmderrors.go:79 msgid "Invalid URL" msgstr "URL غير صالح" -#: commands/instances.go:183 +#: commands/instances.go:184 msgid "Invalid additional URL: %v" msgstr "URL الاضافي غير صالح : %v" @@ -1338,23 +1343,23 @@ msgstr "" msgid "Invalid argument passed: %v" msgstr "تم اعطاء وسيط غير صالح %v" -#: commands/service_compile.go:272 +#: commands/service_compile.go:282 msgid "Invalid build properties" msgstr "خصائص البناء غير صالحة" -#: internal/arduino/builder/sizer.go:250 +#: internal/arduino/builder/sizer.go:253 msgid "Invalid data size regexp: %s" msgstr "data size regexp غير صالح : %s" -#: internal/arduino/builder/sizer.go:256 +#: internal/arduino/builder/sizer.go:259 msgid "Invalid eeprom size regexp: %s" msgstr "eeprom size regexp غير صالح %s" -#: commands/instances.go:596 +#: commands/instances.go:597 msgid "Invalid index URL: %s" msgstr "" -#: commands/cmderrors/cmderrors.go:46 +#: commands/cmderrors/cmderrors.go:47 msgid "Invalid instance" msgstr "نسخة خاطئة " @@ -1362,7 +1367,7 @@ msgstr "نسخة خاطئة " msgid "Invalid item %s" msgstr "عنصر عير صالح %s" -#: commands/cmderrors/cmderrors.go:96 +#: commands/cmderrors/cmderrors.go:97 msgid "Invalid library" msgstr "مكتبة غير صالحة" @@ -1370,11 +1375,11 @@ msgstr "مكتبة غير صالحة" msgid "Invalid logging level: %s" msgstr "" -#: commands/instances.go:613 +#: commands/instances.go:614 msgid "Invalid network configuration: %s" msgstr "" -#: internal/cli/configuration/network.go:66 +#: internal/cli/configuration/network.go:83 msgid "Invalid network.proxy '%[1]s': %[2]s" msgstr "network.proxy غير صالح '%[1]s': %[2]s" @@ -1382,7 +1387,7 @@ msgstr "network.proxy غير صالح '%[1]s': %[2]s" msgid "Invalid output format: %s" msgstr "صيغة اخراج خاطئة : %s" -#: commands/instances.go:580 +#: commands/instances.go:581 msgid "Invalid package index in %s" msgstr "فهرس الحزمة غير صالح في %s" @@ -1390,35 +1395,35 @@ msgstr "فهرس الحزمة غير صالح في %s" msgid "Invalid parameter %s: version not allowed" msgstr "معطيات خاطئة %s: النسخة غير مسموح بها" -#: commands/service_board_list.go:81 +#: commands/service_board_identify.go:169 msgid "Invalid pid value: '%s'" msgstr "قيمة pid غير صالحة : '%s'" -#: commands/cmderrors/cmderrors.go:220 +#: commands/cmderrors/cmderrors.go:221 msgid "Invalid profile" msgstr "ملف تعريف غير صالح" -#: commands/service_monitor.go:269 +#: commands/service_monitor.go:270 msgid "Invalid recipe in platform.txt" msgstr "وصفة غير صالحة ضمن platform.txt" -#: internal/arduino/builder/sizer.go:240 +#: internal/arduino/builder/sizer.go:243 msgid "Invalid size regexp: %s" msgstr "size regexp غير صالح : %s" -#: main.go:85 +#: main.go:86 msgid "Invalid value in configuration" msgstr "" -#: commands/cmderrors/cmderrors.go:114 +#: commands/cmderrors/cmderrors.go:115 msgid "Invalid version" msgstr "نسخة غير صالحة" -#: commands/service_board_list.go:78 +#: commands/service_board_identify.go:166 msgid "Invalid vid value: '%s'" msgstr "قيمة vid غير صالحة : '%s'" -#: internal/cli/compile/compile.go:129 +#: internal/cli/compile/compile.go:132 msgid "" "Just produce the compilation database, without actually compiling. All build" " commands are skipped except pre* hooks." @@ -1443,12 +1448,12 @@ msgstr "اسم المكتبة" msgid "Latest" msgstr "الأخير" -#: internal/arduino/builder/libraries.go:91 +#: internal/arduino/builder/libraries.go:92 msgid "Library %[1]s has been declared precompiled:" msgstr "المكتبة %[1]s تم تحديدها بانها precompiled" -#: commands/service_library_install.go:141 -#: internal/arduino/libraries/librariesmanager/install.go:131 +#: commands/service_library_install.go:142 +#: internal/arduino/libraries/librariesmanager/install.go:130 msgid "" "Library %[1]s is already installed, but with a different version: %[2]s" msgstr "تم تثبيت المكتبة %[1]s ولكن بنسخة اخرى : %[2]s" @@ -1461,11 +1466,11 @@ msgstr "المكتبة %s مثبتة باخر اصدار مسبقا" msgid "Library %s is not installed" msgstr "المكتبة %s غير مثبتة" -#: commands/instances.go:374 +#: commands/instances.go:375 msgid "Library %s not found" msgstr "تعذر ايجاد المكتبة %s" -#: commands/cmderrors/cmderrors.go:445 +#: commands/cmderrors/cmderrors.go:466 msgid "Library '%s' not found" msgstr "المكتبة '%s' غير موجودة" @@ -1476,12 +1481,12 @@ msgstr "" "المكتبة لا تستطيع استخدام الملفين '%[1]s' 'و' '%[2]s' معا . تحقق مرة اخرى في" " '%[3]s'." -#: commands/cmderrors/cmderrors.go:574 +#: commands/cmderrors/cmderrors.go:595 msgid "Library install failed" msgstr "فشل تثبيت المكتبة" -#: commands/service_library_install.go:234 -#: commands/service_library_install.go:274 +#: commands/service_library_install.go:235 +#: commands/service_library_install.go:275 msgid "Library installed" msgstr "المكتبة مثبتة" @@ -1489,7 +1494,7 @@ msgstr "المكتبة مثبتة" msgid "License: %s" msgstr "رخصة" -#: internal/arduino/builder/builder.go:436 +#: internal/arduino/builder/builder.go:437 msgid "Linking everything together..." msgstr "جار ربط كل شيء مع بعضه" @@ -1517,7 +1522,7 @@ msgstr "" "اعرض كل خيارات اللوحات مفصولة عن بعضها بفواصل . او يمكن استخدامها عدة مرات " "من اجل عدة خيارات" -#: internal/cli/compile/compile.go:107 +#: internal/cli/compile/compile.go:110 msgid "" "List of custom build properties separated by commas. Or can be used multiple" " times for multiple properties." @@ -1541,8 +1546,8 @@ msgstr "انشاء قائمة بجميع اللوحات المتصلة" msgid "Lists cores and libraries that can be upgraded" msgstr "يحصي النوى و المكتبات التي يمكن ترقيتها" -#: commands/instances.go:221 commands/instances.go:232 -#: commands/instances.go:342 +#: commands/instances.go:222 commands/instances.go:233 +#: commands/instances.go:343 msgid "Loading index file: %v" msgstr "جار تحميل ملف الفهرس : %v" @@ -1550,7 +1555,7 @@ msgstr "جار تحميل ملف الفهرس : %v" msgid "Location" msgstr "الموقع" -#: internal/arduino/builder/sizer.go:205 +#: internal/arduino/builder/sizer.go:208 msgid "Low memory available, stability problems may occur." msgstr "ذاكرة منخفضة متبقية، مشاكل عدم إستقرار قد تحدث." @@ -1558,7 +1563,7 @@ msgstr "ذاكرة منخفضة متبقية، مشاكل عدم إستقرار msgid "Maintainer: %s" msgstr "القائم بالصيانة : %s" -#: internal/cli/compile/compile.go:137 +#: internal/cli/compile/compile.go:140 msgid "" "Max number of parallel compiles. If set to 0 the number of available CPUs " "cores will be used." @@ -1578,23 +1583,23 @@ msgstr "الرسائل بهذه المرحلة و ما فوق سيتم تسجي msgid "Missing '%[1]s' from library in %[2]s" msgstr "'%[1]s' مفقود من المكتبة في %[2]s" -#: commands/cmderrors/cmderrors.go:169 +#: commands/cmderrors/cmderrors.go:170 msgid "Missing FQBN (Fully Qualified Board Name)" msgstr "FBQN مفقود (Fully Qualified Board Name)" -#: commands/cmderrors/cmderrors.go:260 +#: commands/cmderrors/cmderrors.go:261 msgid "Missing port" msgstr "يوجد منفذ مفقود" -#: commands/cmderrors/cmderrors.go:236 +#: commands/cmderrors/cmderrors.go:237 msgid "Missing port address" msgstr "عنوان المنفذ مفقود" -#: commands/cmderrors/cmderrors.go:248 +#: commands/cmderrors/cmderrors.go:249 msgid "Missing port protocol" msgstr "يوجد بروتوكول منفذ مفقود" -#: commands/cmderrors/cmderrors.go:286 +#: commands/cmderrors/cmderrors.go:287 msgid "Missing programmer" msgstr "المبرمج مفقود" @@ -1602,15 +1607,15 @@ msgstr "المبرمج مفقود" msgid "Missing required upload field: %s" msgstr "" -#: internal/arduino/builder/sizer.go:244 +#: internal/arduino/builder/sizer.go:247 msgid "Missing size regexp" msgstr " size regexp مفقود" -#: commands/cmderrors/cmderrors.go:497 +#: commands/cmderrors/cmderrors.go:518 msgid "Missing sketch path" msgstr "مسار السكتش مفقود" -#: commands/cmderrors/cmderrors.go:358 +#: commands/cmderrors/cmderrors.go:359 msgid "Monitor '%s' not found" msgstr "المراقب '%s' غير موجود" @@ -1668,7 +1673,7 @@ msgstr "" msgid "No libraries update is available." msgstr "لا يوجد تحديثات متاحة للمكتبات" -#: commands/cmderrors/cmderrors.go:274 +#: commands/cmderrors/cmderrors.go:275 msgid "No monitor available for the port protocol %s" msgstr "لا يوجد مراقب متاح لبرتوكول المنفذ %s" @@ -1684,15 +1689,15 @@ msgstr "لا توجد منصات مثبتة" msgid "No platforms matching your search." msgstr "ﻻ يوجد منصات تطابق بحثك" -#: commands/service_upload.go:533 +#: commands/service_upload.go:534 msgid "No upload port found, using %s as fallback" msgstr "تعذر ايجاد منفذ رفع , باستخدام %s كرجوع احتياطي fallback" -#: commands/cmderrors/cmderrors.go:464 +#: commands/cmderrors/cmderrors.go:485 msgid "No valid dependencies solution found" msgstr "تعذر ايجاد حل تبعيات صالح" -#: internal/arduino/builder/sizer.go:195 +#: internal/arduino/builder/sizer.go:198 msgid "Not enough memory; see %[1]s for tips on reducing your footprint." msgstr "الذاكرة غير كافية؛ راجع %[1]s لنصائح حول استخدامها بكفائة" @@ -1724,38 +1729,38 @@ msgstr "فتح منفذ تواصل مع اللوحة" msgid "Option:" msgstr "اختيار:" -#: internal/cli/compile/compile.go:117 +#: internal/cli/compile/compile.go:120 msgid "" "Optional, can be: %s. Used to tell gcc which warning level to use (-W flag)." msgstr "" "اختياري، يمكن أن يكون: %s. يُستخدم لإخبار ال gcc أي مستوي تحذير يَستخدِم (-W" " flag)" -#: internal/cli/compile/compile.go:130 +#: internal/cli/compile/compile.go:133 msgid "Optional, cleanup the build folder and do not use any cached build." msgstr "اختياري , يقوم بتنظيف مجلد البناء ولا يستخدم اي بناء مخزن مؤقتا" -#: internal/cli/compile/compile.go:127 +#: internal/cli/compile/compile.go:130 msgid "" "Optional, optimize compile output for debugging, rather than for release." msgstr "اختياري , يحسن مخرجات المترجم خلال تصحيح الاخطاء بدلا عن الاصدار" -#: internal/cli/compile/compile.go:119 +#: internal/cli/compile/compile.go:122 msgid "Optional, suppresses almost every output." msgstr "اختياري , يكبح كل خرج" -#: internal/cli/compile/compile.go:118 internal/cli/upload/upload.go:79 +#: internal/cli/compile/compile.go:121 internal/cli/upload/upload.go:79 msgid "Optional, turns on verbose mode." msgstr "اختياري، يُفعل الوضع المفصل." -#: internal/cli/compile/compile.go:133 +#: internal/cli/compile/compile.go:136 msgid "" "Optional. Path to a .json file that contains a set of replacements of the " "sketch source code." msgstr "" "اختياري , مسار لملف json. الذي يحتوي على البدائل من الكود المصدري للمشروع" -#: internal/cli/compile/compile.go:109 +#: internal/cli/compile/compile.go:112 msgid "" "Override a build property with a custom value. Can be used multiple times " "for multiple properties." @@ -1817,11 +1822,11 @@ msgstr "موقع الحزمة على الويب" msgid "Paragraph: %s" msgstr "المقطع : %s" -#: internal/cli/compile/compile.go:454 internal/cli/compile/compile.go:469 +#: internal/cli/compile/compile.go:473 internal/cli/compile/compile.go:488 msgid "Path" msgstr "المسار" -#: internal/cli/compile/compile.go:126 +#: internal/cli/compile/compile.go:129 msgid "" "Path to a collection of libraries. Can be used multiple times or entries can" " be comma separated." @@ -1829,7 +1834,7 @@ msgstr "" "المسار الى مجموعة من المكتبات . يمكن استخدامه عدة مرات او من اجل عدة مدخلات " "حيث يتم فصلها باستخدام فاصلة" -#: internal/cli/compile/compile.go:124 +#: internal/cli/compile/compile.go:127 msgid "" "Path to a single library’s root folder. Can be used multiple times or " "entries can be comma separated." @@ -1841,7 +1846,7 @@ msgstr "" msgid "Path to the file where logs will be written." msgstr "مسار للملف حيث تُكتب السجلات" -#: internal/cli/compile/compile.go:105 +#: internal/cli/compile/compile.go:108 msgid "" "Path where to save compiled files. If omitted, a directory will be created " "in the default temporary path of your OS." @@ -1849,20 +1854,20 @@ msgstr "" "المسار الذي يتم فيه حفظ الملفات التي تمت ترجمتها , اذا تم ازالته , سيتم " "انشاء مجلد داخل المسار المؤقت الافتراضي في نظام التشغيل" -#: commands/service_upload.go:514 +#: commands/service_upload.go:515 msgid "Performing 1200-bps touch reset on serial port %s" msgstr "جار تفعيل 1200-bps touch reset على المنفذ التسلسلي %s" -#: commands/service_platform_install.go:86 -#: commands/service_platform_install.go:93 +#: commands/service_platform_install.go:91 +#: commands/service_platform_install.go:98 msgid "Platform %s already installed" msgstr "المنصة %s مثبتة سابقا" -#: internal/arduino/cores/packagemanager/install_uninstall.go:194 +#: internal/arduino/cores/packagemanager/install_uninstall.go:196 msgid "Platform %s installed" msgstr "تم تثبيت المنصة: %s" -#: internal/cli/compile/compile.go:402 internal/cli/upload/upload.go:148 +#: internal/cli/compile/compile.go:417 internal/cli/upload/upload.go:148 msgid "" "Platform %s is not found in any known index\n" "Maybe you need to add a 3rd party URL?" @@ -1870,15 +1875,19 @@ msgstr "" "المنصة %sغير موجودة في اي فهرس معروف\n" "ربما تحتاج الى اضافة عنوان url من طرف 3 " -#: internal/arduino/cores/packagemanager/install_uninstall.go:318 +#: internal/arduino/cores/packagemanager/install_uninstall.go:320 msgid "Platform %s uninstalled" msgstr "تم إلغاء تثبيت المنصة: %s" -#: commands/cmderrors/cmderrors.go:482 +#: commands/cmderrors/cmderrors.go:427 +msgid "Platform '%s'" +msgstr "" + +#: commands/cmderrors/cmderrors.go:503 msgid "Platform '%s' is already at the latest version" msgstr "المنصة '%s' هي باخر اصدار مسبقا" -#: commands/cmderrors/cmderrors.go:406 +#: commands/cmderrors/cmderrors.go:407 msgid "Platform '%s' not found" msgstr "المنصة '%s' غير موجودة" @@ -1886,7 +1895,7 @@ msgstr "المنصة '%s' غير موجودة" msgid "Platform ID" msgstr "Platform ID" -#: internal/cli/compile/compile.go:387 internal/cli/upload/upload.go:136 +#: internal/cli/compile/compile.go:402 internal/cli/upload/upload.go:136 msgid "Platform ID is not correct" msgstr "id المنصة غير صحيح" @@ -1918,7 +1927,7 @@ msgstr "اسم المنصة:" msgid "Platform size (bytes):" msgstr "حجم المنصة (بالبايت) :" -#: commands/cmderrors/cmderrors.go:153 +#: commands/cmderrors/cmderrors.go:154 msgid "" "Please specify an FQBN. Multiple possible boards detected on port %[1]s with" " protocol %[2]s" @@ -1926,7 +1935,7 @@ msgstr "" "الرجاء تحديد FQBN . لقد تم اكتشاف عدة لوحات على المنفذ %[1]s الذي يستخدم " "بروتوكول %[2]s" -#: commands/cmderrors/cmderrors.go:133 +#: commands/cmderrors/cmderrors.go:134 msgid "" "Please specify an FQBN. The board on port %[1]s with protocol %[2]s can't be" " identified" @@ -1942,12 +1951,12 @@ msgstr "منفذ" msgid "Port closed: %v" msgstr "المنفذ %v مغلق" -#: commands/cmderrors/cmderrors.go:668 +#: commands/cmderrors/cmderrors.go:689 msgid "Port monitor error" msgstr "خطا في مراقب المنفذ" -#: internal/arduino/builder/libraries.go:101 -#: internal/arduino/builder/libraries.go:109 +#: internal/arduino/builder/libraries.go:102 +#: internal/arduino/builder/libraries.go:110 msgid "Precompiled library in \"%[1]s\" not found" msgstr "تعذر ايجاد المكتبة التي تمت ترجمتها مسبقا في \"%[1]s\"" @@ -1955,7 +1964,7 @@ msgstr "تعذر ايجاد المكتبة التي تمت ترجمتها مسب msgid "Print details about a board." msgstr "طباعة تفاصيل عن لوحة." -#: internal/cli/compile/compile.go:100 +#: internal/cli/compile/compile.go:103 msgid "Print preprocessed code to stdout instead of compiling." msgstr "طباعة الكود قبل معالجته الى stdout بدلا من الترجمة " @@ -1965,7 +1974,7 @@ msgstr "طباعة السجلات على الخرج الافتراضي" #: internal/cli/cli.go:180 msgid "Print the output in JSON format." -msgstr "" +msgstr "اطبع الناتج بصيغة JSON" #: internal/cli/config/dump.go:31 msgid "Prints the current configuration" @@ -1975,11 +1984,11 @@ msgstr "طباعة اعدادات الضبط الحالية." msgid "Prints the current configuration." msgstr "طباعة اعدادات الضبط الحالية." -#: commands/cmderrors/cmderrors.go:202 +#: commands/cmderrors/cmderrors.go:203 msgid "Profile '%s' not found" msgstr "تعذر ايجاد الملف الشخصي '%s'" -#: commands/cmderrors/cmderrors.go:339 +#: commands/cmderrors/cmderrors.go:340 msgid "Programmer '%s' not found" msgstr "تعذر ايجاد المبرمجة '%s'" @@ -1995,7 +2004,7 @@ msgstr "المبرمجة التي سيتم استخدامها , مثال : atmel msgid "Programmers:" msgstr "المبرمجات : " -#: commands/cmderrors/cmderrors.go:391 +#: commands/cmderrors/cmderrors.go:392 msgid "Property '%s' is undefined" msgstr "الخاصية '%s' غير معرفة" @@ -2011,11 +2020,11 @@ msgstr "يشمل : %s" msgid "Removes one or more values from a setting." msgstr "يزيل قيمة او اكثر من اعداد" -#: commands/service_library_install.go:187 +#: commands/service_library_install.go:188 msgid "Replacing %[1]s with %[2]s" msgstr "تبديل %[1]s ب %[2]s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:123 +#: internal/arduino/cores/packagemanager/install_uninstall.go:125 msgid "Replacing platform %[1]s with %[2]s" msgstr "استبدال المنصة %[1]s بـ %[2]s" @@ -2031,12 +2040,12 @@ msgstr "التشغيل ضمن الوضع الصامت , يظهر فقط شاشة msgid "Run the Arduino CLI as a gRPC daemon." msgstr "" -#: internal/arduino/builder/core.go:42 +#: internal/arduino/builder/core.go:43 msgid "Running normal build of the core..." msgstr "جار تشغيل البناء العادي من النواة" -#: internal/arduino/cores/packagemanager/install_uninstall.go:297 -#: internal/arduino/cores/packagemanager/install_uninstall.go:411 +#: internal/arduino/cores/packagemanager/install_uninstall.go:299 +#: internal/arduino/cores/packagemanager/install_uninstall.go:413 msgid "Running pre_uninstall script." msgstr "" @@ -2048,7 +2057,7 @@ msgstr "" msgid "SVD file path" msgstr "" -#: internal/cli/compile/compile.go:103 +#: internal/cli/compile/compile.go:106 msgid "Save build artifacts in this directory." msgstr "حفظ ادوات البناء ضمن هذا المجلد" @@ -2269,7 +2278,7 @@ msgstr "عرض رقم نسخة Arduino CLI" msgid "Size (bytes):" msgstr "الحجم (بالبايت) :" -#: commands/service_compile.go:276 +#: commands/service_compile.go:286 msgid "" "Sketch cannot be located in build path. Please specify a different build " "path" @@ -2283,13 +2292,13 @@ msgstr "تم انشاء المشروع في : %s" msgid "Sketch profile to use" msgstr "ملف التعريف للمشروع الذي سيتم استخدامه" -#: internal/arduino/builder/sizer.go:190 +#: internal/arduino/builder/sizer.go:193 msgid "Sketch too big; see %[1]s for tips on reducing it." msgstr "" "الشيفرة البرمجية كبير جدا; راجع %[1]s\n" "لنصائح لاختصارها." -#: internal/arduino/builder/sizer.go:158 +#: internal/arduino/builder/sizer.go:160 msgid "" "Sketch uses %[1]s bytes (%[3]s%%) of program storage space. Maximum is %[2]s" " bytes." @@ -2304,19 +2313,19 @@ msgid "" msgstr "" "المشاريع ذوي اللاحقة pde. في حالة تقاعد , الرجاء تغيير لاحقة الملف الى ino." -#: internal/arduino/builder/linker.go:30 +#: internal/arduino/builder/linker.go:31 msgid "Skip linking of final executable." msgstr "تخطي ربط البرنامج النهائي القابل للتنفيذ" -#: commands/service_upload.go:507 +#: commands/service_upload.go:508 msgid "Skipping 1200-bps touch reset: no serial port selected!" msgstr "جار تخطي 1200bps touch reset لانه لم يتم تحديد منفذ تسلسلي" -#: internal/arduino/builder/archive_compiled_files.go:27 +#: internal/arduino/builder/archive_compiled_files.go:28 msgid "Skipping archive creation of: %[1]s" msgstr "جار تخطي انشاء الارشيف لـ : %[1]s" -#: internal/arduino/builder/compilation.go:183 +#: internal/arduino/builder/compilation.go:184 msgid "Skipping compile of: %[1]s" msgstr "جار تخطي ترجمة : %[1]s" @@ -2324,16 +2333,16 @@ msgstr "جار تخطي ترجمة : %[1]s" msgid "Skipping dependencies detection for precompiled library %[1]s" msgstr "جار تخطي الكشف عن توابع المكتبة %[1]s التي تمت ترجمتها مسبقا" -#: internal/arduino/cores/packagemanager/install_uninstall.go:190 +#: internal/arduino/cores/packagemanager/install_uninstall.go:192 msgid "Skipping platform configuration." msgstr "جار تخطي ضبط المنصة" -#: internal/arduino/cores/packagemanager/install_uninstall.go:306 -#: internal/arduino/cores/packagemanager/install_uninstall.go:420 +#: internal/arduino/cores/packagemanager/install_uninstall.go:308 +#: internal/arduino/cores/packagemanager/install_uninstall.go:422 msgid "Skipping pre_uninstall script." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:368 +#: internal/arduino/cores/packagemanager/install_uninstall.go:370 msgid "Skipping tool configuration." msgstr "جار تخطي ضبط الاداة" @@ -2341,7 +2350,7 @@ msgstr "جار تخطي ضبط الاداة" msgid "Skipping: %[1]s" msgstr "جار تخطي : %[1]s" -#: commands/instances.go:633 +#: commands/instances.go:634 msgid "Some indexes could not be updated." msgstr "يمكن تحديث بعض الفهارس" @@ -2362,7 +2371,7 @@ msgstr "" msgid "The custom config file (if not specified the default will be used)." msgstr "ملف التهيئة المخصص (اذا لم يتم تحديده سيتم استخدام الملف الافتراضي)" -#: internal/cli/compile/compile.go:90 +#: internal/cli/compile/compile.go:93 msgid "" "The flag --build-cache-path has been deprecated. Please use just --build-" "path alone or configure the build cache path in the Arduino CLI settings." @@ -2380,7 +2389,7 @@ msgstr "" msgid "The given board/programmer configuration supports debugging." msgstr "" -#: commands/cmderrors/cmderrors.go:876 +#: commands/cmderrors/cmderrors.go:897 msgid "The instance is no longer valid and needs to be reinitialized" msgstr "" @@ -2400,11 +2409,11 @@ msgstr "" "المفتاح '%[1]v' ليس قائمة من الاشياء , لا يمكن ازالته \n" "ربما يمكنك استخدام %[2]s" -#: commands/cmderrors/cmderrors.go:858 +#: commands/cmderrors/cmderrors.go:879 msgid "The library %s has multiple installations:" msgstr "يوجد عدة نسخ مثبتة من المكتبة %s" -#: internal/cli/compile/compile.go:115 +#: internal/cli/compile/compile.go:118 msgid "" "The name of the custom encryption key to use to encrypt a binary during the " "compile process. Used only by the platforms that support it." @@ -2412,7 +2421,7 @@ msgstr "" "اسم مفتاح التشفير المخصص الذي سيستخدم لتشفير ملف ثنائي اثناء الترجمة . " "يستخدم فقط من قبل المنصات التي تدعم ذلك" -#: internal/cli/compile/compile.go:113 +#: internal/cli/compile/compile.go:116 msgid "" "The name of the custom signing key to use to sign a binary during the " "compile process. Used only by the platforms that support it." @@ -2424,7 +2433,7 @@ msgstr "" msgid "The output format for the logs, can be: %s" msgstr "تنسيق الخرج الخاص بالسجلات , يمكن ان يكون : %s" -#: internal/cli/compile/compile.go:111 +#: internal/cli/compile/compile.go:114 msgid "" "The path of the dir to search for the custom keys to sign and encrypt a " "binary. Used only by the platforms that support it." @@ -2432,7 +2441,7 @@ msgstr "" "المسار الى المجلد للبحث عن مفتاح خاص لتوقيع و تشفير الملف الثنائي , يتم " "استخدامه من قبل المنصات التي تدعم ذلك فقط" -#: internal/arduino/builder/libraries.go:151 +#: internal/arduino/builder/libraries.go:152 msgid "The platform does not support '%[1]s' for precompiled libraries." msgstr "المنصة لا تدعم '%[1]s' من اجل المكتبات الغير مترجمة" @@ -2459,12 +2468,12 @@ msgstr "" msgid "Timestamp each incoming line." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:89 -#: internal/arduino/cores/packagemanager/install_uninstall.go:328 +#: internal/arduino/cores/packagemanager/install_uninstall.go:91 +#: internal/arduino/cores/packagemanager/install_uninstall.go:330 msgid "Tool %s already installed" msgstr "الاداة %s مثبتة مسبقا" -#: internal/arduino/cores/packagemanager/install_uninstall.go:432 +#: internal/arduino/cores/packagemanager/install_uninstall.go:434 msgid "Tool %s uninstalled" msgstr "تم الغاء تثبيت الاداة %s" @@ -2484,7 +2493,7 @@ msgstr "بادئة مجموعة الادوات " msgid "Toolchain type" msgstr "نوع مجموعة الادوات" -#: internal/cli/compile/compile.go:400 internal/cli/upload/upload.go:146 +#: internal/cli/compile/compile.go:415 internal/cli/upload/upload.go:146 msgid "Try running %s" msgstr "جرب تشغيل %s" @@ -2504,7 +2513,7 @@ msgstr "الأنواع: %s" msgid "URL:" msgstr "URL:" -#: internal/arduino/builder/core.go:165 +#: internal/arduino/builder/core.go:166 msgid "" "Unable to cache built core, please tell %[1]s maintainers to follow %[2]s" msgstr "" @@ -2527,17 +2536,17 @@ msgstr "تعذر ايجاد user home dir : %v" msgid "Unable to open file for logging: %s" msgstr "تعذر فتح ملف من اجل انشاء سجلات : %s" -#: commands/instances.go:562 +#: commands/instances.go:563 msgid "Unable to parse URL" msgstr "تعذر تقطيع عنوان URL" #: commands/service_library_uninstall.go:71 -#: internal/arduino/cores/packagemanager/install_uninstall.go:280 +#: internal/arduino/cores/packagemanager/install_uninstall.go:282 msgid "Uninstalling %s" msgstr "إلغاء تثبيت %s" #: commands/service_platform_uninstall.go:99 -#: internal/arduino/cores/packagemanager/install_uninstall.go:166 +#: internal/arduino/cores/packagemanager/install_uninstall.go:168 msgid "Uninstalling %s, tool is no more required" msgstr "إلغاء تثبيت %s، الأداة لم تعد مطلوبة" @@ -2555,7 +2564,7 @@ msgstr "يلغي تثبيت مكتبة او اكثر " msgid "Unknown" msgstr "غير معروف" -#: commands/cmderrors/cmderrors.go:183 +#: commands/cmderrors/cmderrors.go:184 msgid "Unknown FQBN" msgstr "FQBN غير معروف" @@ -2583,7 +2592,7 @@ msgstr "يحدث فهرس المكتبات الى اخر نسخة" msgid "Updates the libraries index." msgstr "يحدث فهرس المكتبات" -#: internal/arduino/cores/packagemanager/install_uninstall.go:45 +#: internal/arduino/cores/packagemanager/install_uninstall.go:47 msgid "Upgrade doesn't accept parameters with version" msgstr "الترقية لا تقبل مدخلات مع نسخة" @@ -2616,7 +2625,7 @@ msgstr "يرفع مشاريع الاردوينو , و لا يقوم بترجمة msgid "Upload port address, e.g.: COM3 or /dev/ttyACM2" msgstr "عنوان منفذ الرفع : مثال , COM3 او /dev/ttyACM2" -#: commands/service_upload.go:531 +#: commands/service_upload.go:532 msgid "Upload port found on %s" msgstr "تم ايجاد منفذ الرفع في %s" @@ -2624,7 +2633,7 @@ msgstr "تم ايجاد منفذ الرفع في %s" msgid "Upload port protocol, e.g: serial" msgstr "بروتوكول منفذ الرفع , مثال : serial \"تسلسلي\"" -#: internal/cli/compile/compile.go:120 +#: internal/cli/compile/compile.go:123 msgid "Upload the binary after the compilation." msgstr "يرفع الملف الثنائي بعد الترجمة" @@ -2636,7 +2645,7 @@ msgstr "يرفع محمل الاقلاع على اللوحة باستخدام م msgid "Upload the bootloader." msgstr "يرفع محمل الاقلاع" -#: internal/cli/compile/compile.go:269 internal/cli/upload/upload.go:167 +#: internal/cli/compile/compile.go:274 internal/cli/upload/upload.go:167 msgid "" "Uploading to specified board using %s protocol requires the following info:" msgstr "" @@ -2658,11 +2667,11 @@ msgstr "الاستخدام" msgid "Use %s for more information about a command." msgstr "استخدم %s من اجل المزيد من المعلومات حول امر معين" -#: internal/cli/compile/compile.go:452 +#: internal/cli/compile/compile.go:471 msgid "Used library" msgstr "المكتبة المستخدمة" -#: internal/cli/compile/compile.go:467 +#: internal/cli/compile/compile.go:486 msgid "Used platform" msgstr "المنصة المستخدمة" @@ -2670,7 +2679,7 @@ msgstr "المنصة المستخدمة" msgid "Used: %[1]s" msgstr "مستخدم : %[1]s" -#: commands/service_compile.go:351 +#: commands/service_compile.go:361 msgid "Using board '%[1]s' from platform in folder: %[2]s" msgstr "يتم استخدام اللوحة '%[1]s' من منصة داخل المجلد %[2]s" @@ -2678,7 +2687,7 @@ msgstr "يتم استخدام اللوحة '%[1]s' من منصة داخل الم msgid "Using cached library dependencies for file: %[1]s" msgstr "يتم استخدام توابع المكتبة التي تم تخزينها مؤقتا من اجل الملف : %[1]s" -#: commands/service_compile.go:352 +#: commands/service_compile.go:362 msgid "Using core '%[1]s' from platform in folder: %[2]s" msgstr "يتم استخدام النواة '%[1]s' من منصة داخل الملف %[2]s " @@ -2692,25 +2701,25 @@ msgid "" "WARNING: Your board may require different settings to work!\n" msgstr "" -#: internal/arduino/builder/libraries.go:312 +#: internal/arduino/builder/libraries.go:313 msgid "Using library %[1]s at version %[2]s in folder: %[3]s %[4]s" msgstr "استخدام المكتبة %[1]s الإصدار %[2]s في المجلد: %[3]s %[4]s" -#: internal/arduino/builder/libraries.go:306 +#: internal/arduino/builder/libraries.go:307 msgid "Using library %[1]s in folder: %[2]s %[3]s" msgstr "استخدام المكتبة %[1]s في المجلد: %[2]s %[3]s" -#: internal/arduino/builder/core.go:120 internal/arduino/builder/core.go:132 +#: internal/arduino/builder/core.go:121 internal/arduino/builder/core.go:133 msgid "Using precompiled core: %[1]s" msgstr "يتم استخدام النواة التي تم ترجمتها مسبقا %[1]s" -#: internal/arduino/builder/libraries.go:98 -#: internal/arduino/builder/libraries.go:106 +#: internal/arduino/builder/libraries.go:99 +#: internal/arduino/builder/libraries.go:107 msgid "Using precompiled library in %[1]s" msgstr "يتم استخدام المكتبة التي تم ترجمتها مسبقا %[1]s" -#: internal/arduino/builder/archive_compiled_files.go:50 -#: internal/arduino/builder/compilation.go:181 +#: internal/arduino/builder/archive_compiled_files.go:51 +#: internal/arduino/builder/compilation.go:182 msgid "Using previously compiled file: %[1]s" msgstr "استخدام الملف المترجم سابقا: %[1]s" @@ -2727,11 +2736,11 @@ msgid "Values" msgstr "القيم" #: internal/cli/burnbootloader/burnbootloader.go:62 -#: internal/cli/compile/compile.go:122 internal/cli/upload/upload.go:78 +#: internal/cli/compile/compile.go:125 internal/cli/upload/upload.go:78 msgid "Verify uploaded binary after the upload." msgstr "التاكد من الملف الثنائي الذي سيتم رفعه قبل الرفع" -#: internal/cli/compile/compile.go:453 internal/cli/compile/compile.go:468 +#: internal/cli/compile/compile.go:472 internal/cli/compile/compile.go:487 #: internal/cli/core/search.go:117 msgid "Version" msgstr "النسخة" @@ -2740,24 +2749,24 @@ msgstr "النسخة" msgid "Versions: %s" msgstr "النسخ : %s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:185 +#: internal/arduino/cores/packagemanager/install_uninstall.go:187 msgid "WARNING cannot configure platform: %s" msgstr "تحذير , تعذرت تهيئة المنصة %s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:364 +#: internal/arduino/cores/packagemanager/install_uninstall.go:366 msgid "WARNING cannot configure tool: %s" msgstr "تحذير , تعذر تهيئة الاداة %s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:302 -#: internal/arduino/cores/packagemanager/install_uninstall.go:416 +#: internal/arduino/cores/packagemanager/install_uninstall.go:304 +#: internal/arduino/cores/packagemanager/install_uninstall.go:418 msgid "WARNING cannot run pre_uninstall script: %s" msgstr "" -#: internal/cli/compile/compile.go:330 +#: internal/cli/compile/compile.go:339 msgid "WARNING: The sketch is compiled using one or more custom libraries." msgstr "تحذير : المشروع سيترجم باستخدام مكتبة خاصة او اكثر . " -#: internal/arduino/builder/libraries.go:283 +#: internal/arduino/builder/libraries.go:284 msgid "" "WARNING: library %[1]s claims to run on %[2]s architecture(s) and may be " "incompatible with your current board which runs on %[3]s architecture(s)." @@ -2765,11 +2774,11 @@ msgstr "" "تحذير: المكتبة %[1]s تعمل على معمارية %[2]s وقد لا تتوافق مع لوحتك الحالية " "التي تعمل على معمارية %[3]s." -#: commands/service_upload.go:520 +#: commands/service_upload.go:521 msgid "Waiting for upload port..." msgstr "يتم انتظار منفذ الرفع (upload port) ... " -#: commands/service_compile.go:357 +#: commands/service_compile.go:367 msgid "" "Warning: Board %[1]s doesn't define a %[2]s preference. Auto-set to: %[3]s" msgstr "" @@ -2789,7 +2798,7 @@ msgid "" "directory." msgstr "تكتب الاعدادات الضبط الحالية في ملف التهيئة داخل مجلد البيانات" -#: internal/cli/compile/compile.go:150 internal/cli/compile/compile.go:153 +#: internal/cli/compile/compile.go:153 internal/cli/compile/compile.go:156 msgid "You cannot use the %s flag while compiling with a profile." msgstr "" "لا يمكنك استخدام flag %s اثناء الترجمة باستخدام بروفايل (while compiling " @@ -2799,11 +2808,11 @@ msgstr "" msgid "archive hash differs from hash in index" msgstr "تلبيد \"hash\" الارشيف يختلف عن تلبيد \"hash\" الفهرس" -#: internal/arduino/libraries/librariesmanager/install.go:188 +#: internal/arduino/libraries/librariesmanager/install.go:187 msgid "archive is not valid: multiple files found in zip file top level" msgstr "الارشيف غير صالح : يوجد عدة ملفات داخل ملف zip في المرحلة العليا" -#: internal/arduino/libraries/librariesmanager/install.go:191 +#: internal/arduino/libraries/librariesmanager/install.go:190 msgid "archive is not valid: no files found in zip file top level" msgstr "الارشيف غير صالح : لا يوجد اي ملفات داخل ملف zip في المرحلة العليا" @@ -2827,11 +2836,11 @@ msgstr "" msgid "basic search for \"esp32\" and \"display\" limited to official Maintainer" msgstr "" -#: commands/service_upload.go:791 +#: commands/service_upload.go:792 msgid "binary file not found in %s" msgstr "تعذر ايجاد الملف الثنائي (Binary file) داخل %s" -#: internal/arduino/cores/packagemanager/package_manager.go:348 +#: internal/arduino/cores/packagemanager/package_manager.go:316 msgid "board %s not found" msgstr "اللوحة %s غير موجودة" @@ -2847,11 +2856,11 @@ msgstr "مجلد المكتبات المدمجة غير محدد" msgid "can't find latest release of %s" msgstr "تعذر العثور على اخر اصدار من %s" -#: commands/instances.go:272 +#: commands/instances.go:273 msgid "can't find latest release of tool %s" msgstr "تعذر العثور على اخر اصدار من الاداة %s" -#: internal/arduino/cores/packagemanager/loader.go:712 +#: internal/arduino/cores/packagemanager/loader.go:709 msgid "can't find pattern for discovery with id %s" msgstr "تعذر ايجاد نمط للاكتشاف بواسطة id %s" @@ -2859,11 +2868,11 @@ msgstr "تعذر ايجاد نمط للاكتشاف بواسطة id %s" msgid "candidates" msgstr "المرشحون" -#: commands/service_upload.go:737 commands/service_upload.go:744 +#: commands/service_upload.go:738 commands/service_upload.go:745 msgid "cannot execute upload tool: %s" msgstr "تعذر تشغيل اداة الرفع : %s" -#: internal/arduino/resources/install.go:40 +#: internal/arduino/resources/install.go:48 msgid "checking local archive integrity" msgstr "جار التاكد من اكتمال ملف الارشيف" @@ -2891,27 +2900,27 @@ msgstr "" msgid "computing hash: %s" msgstr "جار حوسبة التلبيد \"hash\" : %s" -#: internal/arduino/cores/fqbn.go:81 +#: pkg/fqbn/fqbn.go:83 msgid "config key %s contains an invalid character" msgstr "" -#: internal/arduino/cores/fqbn.go:86 +#: pkg/fqbn/fqbn.go:87 msgid "config value %s contains an invalid character" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:141 +#: internal/arduino/libraries/librariesmanager/install.go:140 msgid "copying library to destination directory:" msgstr "جار نسخ المكتبة الى مجلد الوجهة" -#: commands/service_upload.go:863 +#: commands/service_upload.go:864 msgid "could not find a valid build artifact" msgstr "تعذر ايجاد ادوات صالحة للبناء (valid build artifact)" -#: commands/service_platform_install.go:94 +#: commands/service_platform_install.go:99 msgid "could not overwrite" msgstr "تعذر الكتابة فوقه" -#: commands/service_library_install.go:190 +#: commands/service_library_install.go:191 msgid "could not remove old library" msgstr "تعذر ازالة المكتبة القديمة" @@ -2920,20 +2929,20 @@ msgstr "تعذر ازالة المكتبة القديمة" msgid "could not update sketch project file" msgstr "تعذر تحديث ملف المشروع" -#: internal/arduino/builder/core.go:116 internal/arduino/builder/core.go:140 +#: internal/arduino/builder/core.go:117 internal/arduino/builder/core.go:141 msgid "creating core cache folder: %s" msgstr "جار انشاء ملف تخزن مؤقت للنواة : %s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:219 +#: internal/arduino/cores/packagemanager/install_uninstall.go:221 msgid "creating installed.json in %[1]s: %[2]s" msgstr "جار انشاء installed.json داخل %[1]s : %[2]s" -#: internal/arduino/resources/install.go:45 -#: internal/arduino/resources/install.go:49 +#: internal/arduino/resources/install.go:54 +#: internal/arduino/resources/install.go:58 msgid "creating temp dir for extraction: %s" msgstr "جار انشاء مسار مؤقت للاستخراج : %s" -#: internal/arduino/builder/sizer.go:196 +#: internal/arduino/builder/sizer.go:199 msgid "data section exceeds available space in board" msgstr "" "قسم البيانات تخطى الحجم المتوفر في اللوحة (data section exceeds available " @@ -2943,15 +2952,15 @@ msgstr "" msgid "dependency '%s' is not available" msgstr "التبعية (dependency) '%s' غير متوفرة" -#: internal/arduino/libraries/librariesmanager/install.go:94 +#: internal/arduino/libraries/librariesmanager/install.go:93 msgid "destination dir %s already exists, cannot install" msgstr "تعذر التثبيت لان مجلد الوجهة %s موجود مسبقا " -#: internal/arduino/libraries/librariesmanager/install.go:138 +#: internal/arduino/libraries/librariesmanager/install.go:137 msgid "destination directory already exists" msgstr "مجلد الوجهة موجودة مسبقا" -#: internal/arduino/libraries/librariesmanager/install.go:278 +#: internal/arduino/libraries/librariesmanager/install.go:305 msgid "directory doesn't exist: %s" msgstr "المجلد غير موجود : %s" @@ -2959,15 +2968,15 @@ msgstr "المجلد غير موجود : %s" msgid "discovery %[1]s process not started" msgstr "" -#: internal/arduino/cores/packagemanager/loader.go:644 +#: internal/arduino/cores/packagemanager/loader.go:641 msgid "discovery %s not found" msgstr "المستكشف %s غير موجود" -#: internal/arduino/cores/packagemanager/loader.go:648 +#: internal/arduino/cores/packagemanager/loader.go:645 msgid "discovery %s not installed" msgstr "تعذر تثبيت المستكشف %s" -#: internal/arduino/cores/packagemanager/package_manager.go:746 +#: internal/arduino/cores/packagemanager/package_manager.go:714 msgid "discovery release not found: %s" msgstr "تعذر ايجاد اصدار المستكشف %s" @@ -2983,11 +2992,11 @@ msgstr "تنزيل اخر نسخة من Arduino SAMD core" msgid "downloaded" msgstr "تم تحميله" -#: commands/instances.go:55 +#: commands/instances.go:56 msgid "downloading %[1]s tool: %[2]s" msgstr "جار تنزيل الاداة %[1]s : %[2]s" -#: internal/arduino/cores/fqbn.go:60 +#: pkg/fqbn/fqbn.go:63 msgid "empty board identifier" msgstr "معرف اللوحة خالي (empty board identifier)" @@ -2995,7 +3004,7 @@ msgstr "معرف اللوحة خالي (empty board identifier)" msgid "error loading sketch project file:" msgstr "خطا اثناء تحميل ملفات المشروع :" -#: internal/arduino/cores/packagemanager/loader.go:615 +#: internal/arduino/cores/packagemanager/loader.go:612 msgid "error opening %s" msgstr "تعذر فتح %s" @@ -3003,20 +3012,20 @@ msgstr "تعذر فتح %s" msgid "error parsing version constraints" msgstr "تعذر تقطيع قيود النسخة" -#: commands/service_board_list.go:115 +#: commands/service_board_identify.go:203 msgid "error processing response from server" msgstr "" "خطأ اثناء معالجة الرد من السيرفر (error processing response from server)" -#: commands/service_board_list.go:95 +#: commands/service_board_identify.go:183 msgid "error querying Arduino Cloud Api" msgstr "خطا اثناء القيام باستعلامات مع Arduino Cloud Api" -#: internal/arduino/libraries/librariesmanager/install.go:179 +#: internal/arduino/libraries/librariesmanager/install.go:178 msgid "extracting archive" msgstr "" -#: internal/arduino/resources/install.go:68 +#: internal/arduino/resources/install.go:77 msgid "extracting archive: %s" msgstr "جار استخراج الارشيف : %s" @@ -3024,7 +3033,7 @@ msgstr "جار استخراج الارشيف : %s" msgid "failed to compute hash of file \"%s\"" msgstr "تعذر حساب تلبيد \"hash\" ملف \"%s\"" -#: commands/service_board_list.go:90 +#: commands/service_board_identify.go:178 msgid "failed to initialize http client" msgstr "تعذر تهيئة http client" @@ -3032,7 +3041,7 @@ msgstr "تعذر تهيئة http client" msgid "fetched archive size differs from size specified in index" msgstr "حجم الارشيف الذي تم جلبه يختلف عن الحجم المحدد في الفهرس" -#: internal/arduino/resources/install.go:123 +#: internal/arduino/resources/install.go:132 msgid "files in archive must be placed in a subdirectory" msgstr "ملفات الارشيف يجب ان توضع في مسار فرعي" @@ -3062,7 +3071,7 @@ msgstr "من اجل اخر نسخة" msgid "for the specific version." msgstr "من اجل النسخة الحالية " -#: internal/arduino/cores/fqbn.go:66 +#: pkg/fqbn/fqbn.go:68 msgid "fqbn's field %s contains an invalid character" msgstr "" @@ -3086,35 +3095,35 @@ msgstr "جار جلب معلومات الارشيف : %s" #: internal/arduino/resources/checksums.go:89 #: internal/arduino/resources/download.go:36 #: internal/arduino/resources/helpers.go:39 -#: internal/arduino/resources/install.go:56 +#: internal/arduino/resources/install.go:65 msgid "getting archive path: %s" msgstr "جار جلب مسار الارشيف : %s" -#: internal/arduino/cores/packagemanager/package_manager.go:354 +#: internal/arduino/cores/packagemanager/package_manager.go:322 msgid "getting build properties for board %[1]s: %[2]s" msgstr "جار الحصول على خصائص البناء للوحة %[1]s : %[2]s " -#: internal/arduino/cores/packagemanager/download.go:106 +#: internal/arduino/cores/packagemanager/download.go:108 msgid "getting discovery dependencies for platform %[1]s: %[2]s" msgstr "جار الحصول على توابع المستكشف من اجل المنصة %[1]s:%[2]s" -#: internal/arduino/cores/packagemanager/download.go:114 +#: internal/arduino/cores/packagemanager/download.go:116 msgid "getting monitor dependencies for platform %[1]s: %[2]s" msgstr "جار الحصول على توابع الشاشة من اجل المنصة %[1]s:%[2]s" -#: internal/arduino/cores/packagemanager/download.go:99 +#: internal/arduino/cores/packagemanager/download.go:101 msgid "getting tool dependencies for platform %[1]s: %[2]s" msgstr "جار الحصول على توابع الاداة من اجل المنصة %[1]s:%[2]s" -#: internal/arduino/libraries/librariesmanager/install.go:149 +#: internal/arduino/libraries/librariesmanager/install.go:148 msgid "install directory not set" msgstr "لم يتم تحديد مجلد التثبيت" -#: commands/instances.go:59 +#: commands/instances.go:60 msgid "installing %[1]s tool: %[2]s" msgstr "جار تثبيت الاداة %[1]s : %[2]s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:211 +#: internal/arduino/cores/packagemanager/install_uninstall.go:213 msgid "installing platform %[1]s: %[2]s" msgstr "جار تثبيت المنصة %[1]s : %[2]s" @@ -3130,7 +3139,7 @@ msgstr "يوجد directive \"عبارة برمجية بداخل الكود ال msgid "invalid checksum format: %s" msgstr "تنسيق المجموع الاختباري \"checksum\" غير صالح : %s" -#: internal/arduino/cores/fqbn.go:73 internal/arduino/cores/fqbn.go:78 +#: pkg/fqbn/fqbn.go:75 pkg/fqbn/fqbn.go:80 msgid "invalid config option: %s" msgstr "اعداد التهيئة غير صالح : %s" @@ -3162,11 +3171,14 @@ msgstr "اسم المكتبة الفارغة غير صالح " msgid "invalid empty library version: %s" msgstr "نسخة المكتبة الفارغة غير صالحة : %s" -#: internal/arduino/cores/board.go:143 +#: internal/arduino/cores/board.go:144 msgid "invalid empty option found" msgstr "تم ايجاد اعداد اعداد فارغ غير صالح" -#: internal/arduino/libraries/librariesmanager/install.go:268 +#: internal/arduino/libraries/librariesmanager/install.go:276 +#: internal/arduino/libraries/librariesmanager/install.go:279 +#: internal/arduino/libraries/librariesmanager/install.go:286 +#: internal/arduino/libraries/librariesmanager/install.go:290 msgid "invalid git url" msgstr "عنوان url لـ git غير صالح" @@ -3194,7 +3206,7 @@ msgstr "موقع المكتبة غير صالح : %s" msgid "invalid library: no header files found" msgstr "مكتبة غير صالحة : لا يوجد ترويسة في الملف" -#: internal/arduino/cores/board.go:146 +#: internal/arduino/cores/board.go:147 msgid "invalid option '%s'" msgstr "خيار غير صالح %s" @@ -3210,10 +3222,6 @@ msgstr "" msgid "invalid path writing inventory file: %[1]s error" msgstr "" -#: internal/arduino/cores/packageindex/index.go:278 -msgid "invalid platform archive size: %s" -msgstr "حجم ملف ارشيف المنصة غير صالح : %s" - #: internal/arduino/sketch/profiles.go:252 msgid "invalid platform identifier" msgstr "معرف المنصة غير صالح" @@ -3234,7 +3242,7 @@ msgstr "قيمة الضبط الخاصة بالمنفذ غير صالحة : %s:% msgid "invalid port configuration: %s=%s" msgstr "" -#: commands/service_upload.go:724 +#: commands/service_upload.go:725 msgid "invalid recipe '%[1]s': %[2]s" msgstr "وصفة غير صالحة %[1]s : %[2]s" @@ -3248,7 +3256,7 @@ msgstr "" "\"_\" , المحارف المتبقية يمكنها ان تحوي \"-\" و \".\" بالاضافة الى ما سبق , " "المحرف الاخير لا يمكن ان يكون \".\"" -#: internal/arduino/cores/board.go:150 +#: internal/arduino/cores/board.go:151 msgid "invalid value '%[1]s' for option '%[2]s'" msgstr "قيمة خاطئة '%[1]s' من اجل الخيار %[2]s" @@ -3288,11 +3296,11 @@ msgstr "" msgid "libraries with a Name exactly matching \"pcf8523\"" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:126 +#: internal/arduino/libraries/librariesmanager/install.go:125 msgid "library %s already installed" msgstr "المكتبة %s مثبتة مسبقا" -#: internal/arduino/libraries/librariesmanager/install.go:315 +#: internal/arduino/libraries/librariesmanager/install.go:342 msgid "library not valid" msgstr "المكتبة غير صالحة" @@ -3306,8 +3314,8 @@ msgstr "جار تحميل %[1]s:%[2]s" msgid "loading boards: %s" msgstr "جار تحميل اللوحات : %s" -#: internal/arduino/cores/packagemanager/package_manager.go:501 -#: internal/arduino/cores/packagemanager/package_manager.go:516 +#: internal/arduino/cores/packagemanager/package_manager.go:469 +#: internal/arduino/cores/packagemanager/package_manager.go:484 msgid "loading json index file %[1]s: %[2]s" msgstr "جار تحميل ملف json index %[1]s : %[2]s" @@ -3336,7 +3344,7 @@ msgstr "جار تحميل المنصات المطلوبة %s" msgid "loading required tool %s" msgstr "جار تحميل الادوات المطلوبة %s" -#: internal/arduino/cores/packagemanager/loader.go:590 +#: internal/arduino/cores/packagemanager/loader.go:587 msgid "loading tool release in %s" msgstr "جار تحميل اصدار الاداة (tool release) في %s" @@ -3344,7 +3352,7 @@ msgstr "جار تحميل اصدار الاداة (tool release) في %s" msgid "looking for boards.txt in %s" msgstr "جار البحث عن boards.txt داخل %s" -#: commands/service_upload.go:806 +#: commands/service_upload.go:807 msgid "looking for build artifacts" msgstr "" @@ -3360,7 +3368,7 @@ msgstr "يوجد directive \"عبارة برمجية بداخل الكود ال msgid "missing checksum for: %s" msgstr "المجموع الاختباري (checksum) لـ %s مفقود" -#: internal/arduino/cores/packagemanager/package_manager.go:462 +#: internal/arduino/cores/packagemanager/package_manager.go:430 msgid "missing package %[1]s referenced by board %[2]s" msgstr "تعذر العثور على الحزمة %[1]s التي التي تشير اليها اللوحة %[2]s " @@ -3369,12 +3377,12 @@ msgid "missing package index for %s, future updates cannot be guaranteed" msgstr "" "يوجد حزمة مفقودة من الفهرس %s , لا يمكن ضمان التحديثات المستقبلية بسبب ذلك" -#: internal/arduino/cores/packagemanager/package_manager.go:467 +#: internal/arduino/cores/packagemanager/package_manager.go:435 msgid "missing platform %[1]s:%[2]s referenced by board %[3]s" msgstr "" "تعذر العثور على المنصة %[1]s : %[2]s التي التي تشير اليها اللوحة %[3]s" -#: internal/arduino/cores/packagemanager/package_manager.go:472 +#: internal/arduino/cores/packagemanager/package_manager.go:440 msgid "missing platform release %[1]s:%[2]s referenced by board %[3]s" msgstr "" "تعذر العثور على المنصة اصدار (platform release) %[1]s : %[2]s التي التي تشير" @@ -3384,17 +3392,17 @@ msgstr "" msgid "missing signature" msgstr "هناك توقيع غير موجود" -#: internal/arduino/cores/packagemanager/package_manager.go:757 +#: internal/arduino/cores/packagemanager/package_manager.go:725 msgid "monitor release not found: %s" msgstr "تعذر ايجاد اصدار المراقب : %s" -#: internal/arduino/libraries/librariesmanager/install.go:197 -#: internal/arduino/libraries/librariesmanager/install.go:246 -#: internal/arduino/resources/install.go:97 +#: internal/arduino/libraries/librariesmanager/install.go:196 +#: internal/arduino/libraries/librariesmanager/install.go:247 +#: internal/arduino/resources/install.go:106 msgid "moving extracted archive to destination dir: %s" msgstr "جار نقل الارشيف الذي تم استخراجه الى مجلد الوجهة : %s" -#: commands/service_upload.go:858 +#: commands/service_upload.go:859 msgid "multiple build artifacts found: '%[1]s' and '%[2]s'" msgstr "تم ايجاد اكثر من build artifacts : '%[1]s' و '%[2]s'" @@ -3402,7 +3410,7 @@ msgstr "تم ايجاد اكثر من build artifacts : '%[1]s' و '%[2]s'" msgid "multiple main sketch files found (%[1]v, %[2]v)" msgstr "تم العثور على اكثر من ملف مشروع رئيسي main sketch file (%[1]v,%[2]v)" -#: internal/arduino/cores/packagemanager/install_uninstall.go:338 +#: internal/arduino/cores/packagemanager/install_uninstall.go:340 msgid "" "no compatible version of %[1]s tools found for the current os, try " "contacting %[2]s" @@ -3410,11 +3418,11 @@ msgstr "" "لا يوجد نسخة متوافقة من الاداة %[1]s من اجل نظام التشغيل الحالي , جرب " "التواصل مع %[2]s" -#: commands/service_board_list.go:273 +#: commands/service_board_list.go:106 msgid "no instance specified" msgstr "لا يوجد نسخ محددة" -#: commands/service_upload.go:813 +#: commands/service_upload.go:814 msgid "no sketch or build directory/file specified" msgstr "لم يتم تحديد مجلد/ملف المشروع او البناء " @@ -3422,11 +3430,11 @@ msgstr "لم يتم تحديد مجلد/ملف المشروع او البناء msgid "no such file or directory" msgstr "لا يوجد ملف او مجلد مشابه" -#: internal/arduino/resources/install.go:126 +#: internal/arduino/resources/install.go:135 msgid "no unique root dir in archive, found '%[1]s' and '%[2]s'" msgstr "لا يوجد مجلد اصلي في الارشيف , تم ايجاد %[1]s و %[2]s" -#: commands/service_upload.go:719 +#: commands/service_upload.go:720 msgid "no upload port provided" msgstr "لم يتم تحديد اي منفذ للرفع" @@ -3434,11 +3442,11 @@ msgstr "لم يتم تحديد اي منفذ للرفع" msgid "no valid sketch found in %[1]s: missing %[2]s" msgstr "تعذر ايجاد اي مشروع صالح في %[2]s : %[1]sمفقود" -#: internal/arduino/cores/packagemanager/download.go:128 +#: internal/arduino/cores/packagemanager/download.go:130 msgid "no versions available for the current OS, try contacting %s" msgstr "لا يوجد نسخة متوفرة لنظام التشغيل الحالي , جرب التواصل مع %s" -#: internal/arduino/cores/fqbn.go:50 +#: pkg/fqbn/fqbn.go:53 msgid "not an FQBN: %s" msgstr "" @@ -3447,7 +3455,7 @@ msgid "not running in a terminal" msgstr "لا يعمل في الطرفية \"terminal\"" #: internal/arduino/resources/checksums.go:71 -#: internal/arduino/resources/install.go:60 +#: internal/arduino/resources/install.go:69 msgid "opening archive file: %s" msgstr "جار فتح ملف الارشيف : %s" @@ -3455,26 +3463,26 @@ msgstr "جار فتح ملف الارشيف : %s" msgid "opening boards.txt" msgstr "جار فتح boards.txt" -#: internal/arduino/security/signatures.go:81 +#: internal/arduino/security/signatures.go:82 msgid "opening signature file: %s" msgstr "جار فتح ملف التوقيع : %s" -#: internal/arduino/security/signatures.go:76 +#: internal/arduino/security/signatures.go:78 msgid "opening target file: %s" msgstr "جار فتح الملف الهدف : %s" -#: internal/arduino/cores/packagemanager/download.go:76 +#: internal/arduino/cores/packagemanager/download.go:78 #: internal/arduino/cores/status.go:97 internal/arduino/cores/status.go:122 #: internal/arduino/cores/status.go:149 msgid "package %s not found" msgstr "الحزمة %sغير موجودة " -#: internal/arduino/cores/packagemanager/package_manager.go:530 +#: internal/arduino/cores/packagemanager/package_manager.go:498 msgid "package '%s' not found" msgstr "الحزمة '%s' غير موجودة" -#: internal/arduino/cores/board.go:166 -#: internal/arduino/cores/packagemanager/package_manager.go:295 +#: internal/arduino/cores/board.go:167 +#: internal/arduino/cores/packagemanager/package_manager.go:263 msgid "parsing fqbn: %s" msgstr "جار تقطيع FQBN : %s" @@ -3486,26 +3494,26 @@ msgstr "جار تقطيع ملف library_index.json : %s" msgid "path is not a platform directory: %s" msgstr "المسار المحدد ليس مجلدا لمنصة : %s" -#: internal/arduino/cores/packagemanager/download.go:80 +#: internal/arduino/cores/packagemanager/download.go:82 msgid "platform %[1]s not found in package %[2]s" msgstr "تعذر ايجاد المنصة %[1]s في الحزمة %[2]s" -#: internal/arduino/cores/packagemanager/package_manager.go:341 +#: internal/arduino/cores/packagemanager/package_manager.go:309 msgid "platform %s is not installed" msgstr "المنصة %s غير مثبتة" -#: internal/arduino/cores/packagemanager/download.go:92 +#: commands/cmderrors/cmderrors.go:427 msgid "platform is not available for your OS" msgstr "المنصة غير متاحة لنظام التشغيل الخاص بك" -#: commands/service_compile.go:126 -#: internal/arduino/cores/packagemanager/install_uninstall.go:179 -#: internal/arduino/cores/packagemanager/install_uninstall.go:283 -#: internal/arduino/cores/packagemanager/loader.go:420 +#: commands/service_compile.go:129 +#: internal/arduino/cores/packagemanager/install_uninstall.go:181 +#: internal/arduino/cores/packagemanager/install_uninstall.go:285 +#: internal/arduino/cores/packagemanager/loader.go:417 msgid "platform not installed" msgstr "المنصة غير مثبتة" -#: internal/cli/compile/compile.go:139 +#: internal/cli/compile/compile.go:142 msgid "please use --build-property instead." msgstr "الرجاء استخدام build-property-- بدلا من ذلك" @@ -3540,15 +3548,15 @@ msgstr "" #: internal/arduino/cores/packagemanager/loader.go:69 #: internal/arduino/cores/packagemanager/loader.go:151 #: internal/arduino/cores/packagemanager/loader.go:218 -#: internal/arduino/cores/packagemanager/loader.go:582 +#: internal/arduino/cores/packagemanager/loader.go:579 msgid "reading directory %s" msgstr "جار قراءة المجلد %s" -#: internal/arduino/libraries/librariesmanager/install.go:288 +#: internal/arduino/libraries/librariesmanager/install.go:315 msgid "reading directory %s content" -msgstr "" +msgstr "جار قراءة محتويات المجلد %s" -#: internal/arduino/builder/sketch.go:81 +#: internal/arduino/builder/sketch.go:83 msgid "reading file %[1]s: %[2]s" msgstr "جار قراءة الملف %[1]s : %[2]s" @@ -3572,7 +3580,7 @@ msgstr "" msgid "reading library_index.json: %s" msgstr "جار قراءة library_index.json : %s" -#: internal/arduino/resources/install.go:116 +#: internal/arduino/resources/install.go:125 msgid "reading package root dir: %s" msgstr "جار قراءة المجلد الاصلي للحزمة : %s" @@ -3580,11 +3588,11 @@ msgstr "جار قراءة المجلد الاصلي للحزمة : %s" msgid "reading sketch files" msgstr "جاري قرأت ملفات المذكرة" -#: commands/service_upload.go:713 +#: commands/service_upload.go:714 msgid "recipe not found '%s'" msgstr "تعذر ايجاد الوصفة '%s'" -#: internal/arduino/cores/packagemanager/package_manager.go:606 +#: internal/arduino/cores/packagemanager/package_manager.go:574 msgid "release %[1]s not found for tool %[2]s" msgstr "تعذر ايجاد الاصدار %[1]s للاداة %[2]s" @@ -3597,19 +3605,19 @@ msgstr "الاصدار لا يمكن ان يكون صفر \"nil\"" msgid "removing corrupted archive file: %s" msgstr "جار ازالة ملف الارشيف المتخرب %s" -#: internal/arduino/libraries/librariesmanager/install.go:152 +#: internal/arduino/libraries/librariesmanager/install.go:151 msgid "removing library directory: %s" msgstr "جار ازالة مجلد المكتبة %s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:310 +#: internal/arduino/cores/packagemanager/install_uninstall.go:312 msgid "removing platform files: %s" msgstr "جار ازالة ملفات المنصة %s" -#: internal/arduino/cores/packagemanager/download.go:87 +#: internal/arduino/cores/packagemanager/download.go:89 msgid "required version %[1]s not found for platform %[2]s" msgstr "تعذر ايجاد النسخة المطلوبة %[1]s من اجل المنصة %[2]s" -#: internal/arduino/security/signatures.go:72 +#: internal/arduino/security/signatures.go:74 msgid "retrieving Arduino public keys: %s" msgstr "جار ازالة المفاتيح العامة للاردوينو : %s" @@ -3618,10 +3626,14 @@ msgstr "جار ازالة المفاتيح العامة للاردوينو : %s" msgid "scanning sketch examples" msgstr "جاري فحص امثلة المذكرة" -#: internal/arduino/resources/install.go:74 +#: internal/arduino/resources/install.go:83 msgid "searching package root dir: %s" msgstr "جار البحث عن المجلد الاصلي لـ %s" +#: internal/arduino/security/signatures.go:87 +msgid "signature expired: is your system clock set correctly?" +msgstr "" + #: commands/service_sketch_new.go:78 msgid "sketch name cannot be empty" msgstr "لا يمكن ان يكون اسم المشروع فارغا" @@ -3659,11 +3671,11 @@ msgstr "جار فحص حجم الارشيف : %s" msgid "testing if archive is cached: %s" msgstr "جار فحص ما اذا كان الارشيف تم تخزينه مؤقتا %s" -#: internal/arduino/resources/install.go:38 +#: internal/arduino/resources/install.go:46 msgid "testing local archive integrity: %s" msgstr "جار فحص تكامل ملف الارشيف المحلي : %s" -#: internal/arduino/builder/sizer.go:191 +#: internal/arduino/builder/sizer.go:194 msgid "text section exceeds available space in board" msgstr "القسم النصي تخطى المساحة المتوفرة في اللوحة" @@ -3672,7 +3684,7 @@ msgstr "القسم النصي تخطى المساحة المتوفرة في ال msgid "the compilation database may be incomplete or inaccurate" msgstr "ربما قاعدة بيانات الترجمة ناقصة او غير دقيقة" -#: commands/service_board_list.go:102 +#: commands/service_board_identify.go:190 msgid "the server responded with status %s" msgstr "استجاب السيرفر بالحالة %s" @@ -3680,7 +3692,7 @@ msgstr "استجاب السيرفر بالحالة %s" msgid "timeout waiting for message" msgstr "نفذ الوقت اثناء انتظار الرسالة " -#: internal/arduino/cores/packagemanager/install_uninstall.go:404 +#: internal/arduino/cores/packagemanager/install_uninstall.go:406 msgid "tool %s is not managed by package manager" msgstr "الاداة %s لا تتم ادارتها من قبل مدير الحزم" @@ -3689,16 +3701,16 @@ msgstr "الاداة %s لا تتم ادارتها من قبل مدير الحز msgid "tool %s not found" msgstr "الاداة %s غير موجودة" -#: internal/arduino/cores/packagemanager/package_manager.go:556 +#: internal/arduino/cores/packagemanager/package_manager.go:524 msgid "tool '%[1]s' not found in package '%[2]s'" msgstr "الاداة '%[1]s' غير موجودة ضمن الحزمة '%[2]s'" -#: internal/arduino/cores/packagemanager/install_uninstall.go:399 +#: internal/arduino/cores/packagemanager/install_uninstall.go:401 msgid "tool not installed" msgstr "الاداة غير مثبتة" -#: internal/arduino/cores/packagemanager/package_manager.go:735 -#: internal/arduino/cores/packagemanager/package_manager.go:841 +#: internal/arduino/cores/packagemanager/package_manager.go:703 +#: internal/arduino/cores/packagemanager/package_manager.go:809 msgid "tool release not found: %s" msgstr "اصدار الاداة غير موجود : %s" @@ -3706,22 +3718,22 @@ msgstr "اصدار الاداة غير موجود : %s" msgid "tool version %s not found" msgstr "نسخة الاداة %s غير موجودة" -#: commands/service_library_install.go:92 +#: commands/service_library_install.go:93 msgid "" "two different versions of the library %[1]s are required: %[2]s and %[3]s" msgstr "" "يجب ان يكون هناك اصدارين من نفس المكتبة %[1]s , هذا %[2]s و هذا %[3]s" -#: internal/arduino/builder/sketch.go:74 -#: internal/arduino/builder/sketch.go:118 +#: internal/arduino/builder/sketch.go:76 +#: internal/arduino/builder/sketch.go:120 msgid "unable to compute relative path to the sketch for the item" msgstr "تعذر حوسبة المسار النسبي للمشروع من اجل العنصر" -#: internal/arduino/builder/sketch.go:43 +#: internal/arduino/builder/sketch.go:45 msgid "unable to create a folder to save the sketch" msgstr "تعذر انشاء مجلد لحفظ المشروع" -#: internal/arduino/builder/sketch.go:124 +#: internal/arduino/builder/sketch.go:126 msgid "unable to create the folder containing the item" msgstr "تعذر انشاء مجلد يحوي العنصر" @@ -3729,23 +3741,23 @@ msgstr "تعذر انشاء مجلد يحوي العنصر" msgid "unable to marshal config to YAML: %v" msgstr " %v : unable to marshal config to YAML" -#: internal/arduino/builder/sketch.go:162 +#: internal/arduino/builder/sketch.go:164 msgid "unable to read contents of the destination item" msgstr "تعذر قراءة محتويات العنصر الهدف" -#: internal/arduino/builder/sketch.go:135 +#: internal/arduino/builder/sketch.go:137 msgid "unable to read contents of the source item" msgstr "تعذر قراءة محتويات العنصر الاصل" -#: internal/arduino/builder/sketch.go:145 +#: internal/arduino/builder/sketch.go:147 msgid "unable to write to destination file" msgstr "تعذر الكتابة الى المجلد الوجهة" -#: internal/arduino/cores/packagemanager/package_manager.go:329 +#: internal/arduino/cores/packagemanager/package_manager.go:297 msgid "unknown package %s" msgstr "حزمة غير معروفة %s" -#: internal/arduino/cores/packagemanager/package_manager.go:336 +#: internal/arduino/cores/packagemanager/package_manager.go:304 msgid "unknown platform %s:%s" msgstr "منصة غير معروفة %s:%s" @@ -3765,7 +3777,7 @@ msgstr "جار تحديث arduino:samd لاخر اصدار" msgid "upgrade everything to the latest version" msgstr "تحديث كل شيء الى اخر اصدار" -#: commands/service_upload.go:759 +#: commands/service_upload.go:760 msgid "uploading error: %s" msgstr "خطا اثناء الرفع %s" @@ -3789,6 +3801,6 @@ msgstr "الاصدار %s غير مدعوم من اجل نظام التشغيل msgid "version %s not found" msgstr "الاصدار %s غير موجود" -#: commands/service_board_list.go:120 +#: commands/service_board_identify.go:208 msgid "wrong format in server response" msgstr "تنسيق خاطئ في استجابة السيرفر" diff --git a/internal/i18n/data/be.po b/internal/locales/data/be.po similarity index 91% rename from internal/i18n/data/be.po rename to internal/locales/data/be.po index 704a1800f3e..e787bc8351e 100644 --- a/internal/i18n/data/be.po +++ b/internal/locales/data/be.po @@ -1,15 +1,15 @@ # # Translators: -# lidacity , 2024 +# lidacity , 2025 # msgid "" msgstr "" -"Last-Translator: lidacity , 2024\n" +"Last-Translator: lidacity , 2025\n" "Language-Team: Belarusian (https://app.transifex.com/arduino-1/teams/108174/be/)\n" "Language: be\n" "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" -#: version/version.go:56 +#: internal/version/version.go:56 msgid "%[1]s %[2]s Version: %[3]s Commit: %[4]s Date: %[5]s" msgstr "%[2]s%[1]sВерсія: %[3]s Фіксацыі: %[4]s Дата: %[5]s" @@ -23,11 +23,11 @@ msgstr "" msgid "%[1]s invalid, rebuilding all" msgstr "%[1]s несапраўдны, перабудаваць усё" -#: internal/cli/lib/check_deps.go:124 +#: internal/cli/lib/check_deps.go:125 msgid "%[1]s is required but %[2]s is currently installed." msgstr "Патрабуецца %[1]s, але ў дадзены момант усталяваны %[2]s." -#: internal/arduino/builder/builder.go:486 +#: internal/arduino/builder/builder.go:487 msgid "%[1]s pattern is missing" msgstr "Шаблон %[1]s адсутнічае" @@ -35,24 +35,24 @@ msgstr "Шаблон %[1]s адсутнічае" msgid "%s already downloaded" msgstr "%s ужо спампаваны" -#: commands/service_upload.go:781 +#: commands/service_upload.go:782 msgid "%s and %s cannot be used together" msgstr "%s і %s не могуць ужывацца разам" -#: internal/arduino/cores/packagemanager/install_uninstall.go:371 +#: internal/arduino/cores/packagemanager/install_uninstall.go:373 msgid "%s installed" msgstr "%s усталяваны" -#: internal/cli/lib/check_deps.go:121 +#: internal/cli/lib/check_deps.go:122 msgid "%s is already installed." msgstr "%s ужо ўсталяваны." #: internal/arduino/cores/packagemanager/loader.go:63 -#: internal/arduino/cores/packagemanager/loader.go:617 +#: internal/arduino/cores/packagemanager/loader.go:614 msgid "%s is not a directory" msgstr "%s не каталог" -#: internal/arduino/cores/packagemanager/install_uninstall.go:290 +#: internal/arduino/cores/packagemanager/install_uninstall.go:292 msgid "%s is not managed by package manager" msgstr "%s не кіруецца кіраўніком пакетаў" @@ -60,20 +60,20 @@ msgstr "%s не кіруецца кіраўніком пакетаў" msgid "%s must be >= 1024" msgstr "%s павинны быць >= 1024" -#: internal/cli/lib/check_deps.go:118 +#: internal/cli/lib/check_deps.go:119 msgid "%s must be installed." msgstr "%s павінен быць усталяваны." -#: internal/arduino/builder/internal/preprocessor/ctags.go:192 -#: internal/arduino/builder/internal/preprocessor/gcc.go:62 +#: internal/arduino/builder/internal/preprocessor/ctags.go:193 +#: internal/arduino/builder/internal/preprocessor/gcc.go:63 msgid "%s pattern is missing" msgstr "Шаблон %s адсутнічае" -#: commands/cmderrors/cmderrors.go:818 +#: commands/cmderrors/cmderrors.go:839 msgid "'%s' has an invalid signature" -msgstr "'%s' мае несапраўдны подпіс" +msgstr "'%s' мае несапраўдную сігнатуру" -#: internal/arduino/cores/packagemanager/package_manager.go:448 +#: internal/arduino/cores/packagemanager/package_manager.go:416 msgid "" "'build.core' and 'build.variant' refer to different platforms: %[1]s and " "%[2]s" @@ -85,7 +85,7 @@ msgstr "" msgid "(hidden)" msgstr "(схаваны)" -#: internal/arduino/builder/libraries.go:302 +#: internal/arduino/builder/libraries.go:303 msgid "(legacy)" msgstr "(састарэлы)" @@ -119,7 +119,7 @@ msgstr "Файл .ino ужо існуе" msgid "A new release of Arduino CLI is available:" msgstr "Новая версія Arduino CLI даступная:" -#: commands/cmderrors/cmderrors.go:299 +#: commands/cmderrors/cmderrors.go:300 msgid "A programmer is required to upload" msgstr "Для выгрузкі патрабуецца праграматар" @@ -152,7 +152,7 @@ msgstr "Усе платформы знаходзяцца ў актуальным msgid "All the cores are already at the latest version" msgstr "Усе ядры ўжо ўсталяваныя ў апошняй версіі" -#: commands/service_library_install.go:135 +#: commands/service_library_install.go:136 msgid "Already installed %s" msgstr "%s ужо ўсталяваны" @@ -180,7 +180,7 @@ msgstr "Архітэктура: %s" msgid "Archive already exists" msgstr "Архіў ужо існуе" -#: internal/arduino/builder/core.go:163 +#: internal/arduino/builder/core.go:164 msgid "Archiving built core (caching) in: %[1]s" msgstr "Архіваванне ўбудаванага ядра (кэшаванне) у: %[1]s" @@ -228,7 +228,7 @@ msgstr "Прымацаванне сцэнара да платы." msgid "Author: %s" msgstr "Аўтар: %s" -#: internal/arduino/libraries/librariesmanager/install.go:79 +#: internal/arduino/libraries/librariesmanager/install.go:78 msgid "" "Automatic library install can't be performed in this case, please manually " "remove all duplicates and retry." @@ -269,11 +269,11 @@ msgstr "Назва платы:" msgid "Board version:" msgstr "Версія платы:" -#: internal/arduino/builder/sketch.go:243 +#: internal/arduino/builder/sketch.go:245 msgid "Bootloader file specified but missing: %[1]s" msgstr "Паказаны файл загрузніка адсутнічае: %[1]s" -#: internal/cli/compile/compile.go:101 +#: internal/cli/compile/compile.go:104 msgid "" "Builds of cores and sketches are saved into this path to be cached and " "reused." @@ -285,25 +285,25 @@ msgstr "" msgid "Can't create data directory %s" msgstr "Не атрымалася стварыць каталог дадзеных %s" -#: commands/cmderrors/cmderrors.go:511 +#: commands/cmderrors/cmderrors.go:532 msgid "Can't create sketch" msgstr "Не атрымалася стварыць сцэнар" -#: commands/service_library_download.go:91 -#: commands/service_library_download.go:94 +#: commands/service_library_download.go:95 +#: commands/service_library_download.go:98 msgid "Can't download library" msgstr "Не атрымалася спампаваць бібліятэку" #: commands/service_platform_uninstall.go:89 -#: internal/arduino/cores/packagemanager/install_uninstall.go:136 +#: internal/arduino/cores/packagemanager/install_uninstall.go:138 msgid "Can't find dependencies for platform %s" msgstr "Не атрымалася знайсці залежнасці для платформы %s" -#: commands/cmderrors/cmderrors.go:537 +#: commands/cmderrors/cmderrors.go:558 msgid "Can't open sketch" msgstr "Не атрымалася адчыніць сцэнар" -#: commands/cmderrors/cmderrors.go:524 +#: commands/cmderrors/cmderrors.go:545 msgid "Can't update sketch" msgstr "Не атрымалася абнавіць сцэнар" @@ -315,11 +315,11 @@ msgstr "Не атрымалася ўжываць наступныя птушкі msgid "Can't write debug log: %s" msgstr "Не атрымалася запісаць часопіс адладкі: %s" -#: commands/service_compile.go:187 commands/service_compile.go:190 +#: commands/service_compile.go:190 commands/service_compile.go:193 msgid "Cannot create build cache directory" msgstr "Не атрымалася стварыць каталог кэша зборкі" -#: commands/service_compile.go:212 +#: commands/service_compile.go:215 msgid "Cannot create build directory" msgstr "Не атрымалася стварыць каталог зборкі" @@ -331,11 +331,11 @@ msgstr "Не атрымалася стварыць каталог канфігу msgid "Cannot create config file: %v" msgstr "Не атрымалася стварыць файл кафігурацыі: %v" -#: commands/cmderrors/cmderrors.go:781 +#: commands/cmderrors/cmderrors.go:802 msgid "Cannot create temp dir" msgstr "Не атрымалася стварыць часовы каталог" -#: commands/cmderrors/cmderrors.go:799 +#: commands/cmderrors/cmderrors.go:820 msgid "Cannot create temp file" msgstr "Не атрымалася стварыць часовы файл" @@ -357,15 +357,15 @@ msgstr "Не атрымалася знайсці абсалютны шлях: %v msgid "Cannot get the configuration key %[1]s: %[2]v" msgstr "Не атрымалася здабыць канфігурацыйны ключ %[1]s: %[2]v" -#: internal/arduino/cores/packagemanager/install_uninstall.go:143 +#: internal/arduino/cores/packagemanager/install_uninstall.go:145 msgid "Cannot install platform" msgstr "Не атрымалася ўсталяваць платформу" -#: internal/arduino/cores/packagemanager/install_uninstall.go:349 +#: internal/arduino/cores/packagemanager/install_uninstall.go:351 msgid "Cannot install tool %s" msgstr "Не атрымалася ўсталяваць інструмент %s" -#: commands/service_upload.go:543 +#: commands/service_upload.go:544 msgid "Cannot perform port reset: %s" msgstr "Не атрымалася скінуць порт: %s" @@ -374,7 +374,7 @@ msgstr "Не атрымалася скінуць порт: %s" msgid "Cannot remove the configuration key %[1]s: %[2]v" msgstr "Не атрымалася выдаліць канфігурацыйны ключ %[1]s: %[2]v" -#: internal/arduino/cores/packagemanager/install_uninstall.go:161 +#: internal/arduino/cores/packagemanager/install_uninstall.go:163 msgid "Cannot upgrade platform" msgstr "Не атрымалася абнавіць платформу" @@ -417,27 +417,31 @@ msgstr "" "Каманда працягвае выконвацца і друкуе спіс злучаных плат кожны раз, калі " "адбываюцца змяненні." -#: commands/service_debug_config.go:178 commands/service_upload.go:451 +#: commands/service_debug_config.go:178 commands/service_upload.go:452 msgid "Compiled sketch not found in %s" msgstr "Скампіляваны сцэнар не знойдзены ў %s" +#: internal/arduino/builder/internal/preprocessor/gcc.go:93 +msgid "Compiler error output has been truncated." +msgstr "" + #: internal/cli/compile/compile.go:80 internal/cli/compile/compile.go:81 msgid "Compiles Arduino sketches." msgstr "Кампіляцыя сцэнараў Arduino." -#: internal/arduino/builder/builder.go:420 +#: internal/arduino/builder/builder.go:421 msgid "Compiling core..." msgstr "Кампіляцыя ядра..." -#: internal/arduino/builder/builder.go:399 +#: internal/arduino/builder/builder.go:400 msgid "Compiling libraries..." msgstr "Кампіляцыя бібліятэкі..." -#: internal/arduino/builder/libraries.go:133 +#: internal/arduino/builder/libraries.go:134 msgid "Compiling library \"%[1]s\"" msgstr "Кампіляцыя бібліятэкі \"%[1]s\"" -#: internal/arduino/builder/builder.go:383 +#: internal/arduino/builder/builder.go:384 msgid "Compiling sketch..." msgstr "Кампіляцыя сцэнара" @@ -463,11 +467,11 @@ msgstr "" "Наладзьце налады камунікацыйнага порта.\n" "Фармат =[,=]..." -#: internal/arduino/cores/packagemanager/install_uninstall.go:177 +#: internal/arduino/cores/packagemanager/install_uninstall.go:179 msgid "Configuring platform." msgstr "Наладзіць платформу." -#: internal/arduino/cores/packagemanager/install_uninstall.go:359 +#: internal/arduino/cores/packagemanager/install_uninstall.go:361 msgid "Configuring tool." msgstr "Наладзіць інструмент." @@ -485,19 +489,19 @@ msgstr "" msgid "Core" msgstr "Ядро" -#: internal/cli/configuration/network.go:103 +#: internal/cli/configuration/network.go:127 msgid "Could not connect via HTTP" msgstr "Не атрымалася злучыцца па пратаколе HTTP" -#: commands/instances.go:486 +#: commands/instances.go:487 msgid "Could not create index directory" msgstr "Не атрымалася стварыць індэксны каталог" -#: internal/arduino/builder/core.go:41 +#: internal/arduino/builder/core.go:42 msgid "Couldn't deeply cache core build: %[1]s" msgstr "Не атрымалася глыбока кэшаваць зборку ядра: %[1]s" -#: internal/arduino/builder/sizer.go:154 +#: internal/arduino/builder/sizer.go:155 msgid "Couldn't determine program size" msgstr "Не ўдалося вызначыць памер праграмы" @@ -509,7 +513,7 @@ msgstr "Не атрымалася здабыць бягучы працоўны msgid "Create a new Sketch" msgstr "Стварыць новы сцэнар" -#: internal/cli/compile/compile.go:98 +#: internal/cli/compile/compile.go:101 msgid "Create and print a profile configuration from the build." msgstr "Стварыць і надрукаваць канфігурацыі профілю з зборкі." @@ -525,7 +529,7 @@ msgstr "" "Стварэнне ці абнаўленне файлу канфігурацыі ў каталогу дадзеных або " "карыстальніцкім каталогу з бягучымі наладамі канфігурацыі." -#: internal/cli/compile/compile.go:331 +#: internal/cli/compile/compile.go:340 msgid "" "Currently, Build Profiles only support libraries available through Arduino " "Library Manager." @@ -604,7 +608,7 @@ msgstr "Залежнасці: %s" msgid "Description" msgstr "Апісанне" -#: internal/arduino/builder/builder.go:313 +#: internal/arduino/builder/builder.go:314 msgid "Detecting libraries used..." msgstr "Выяўленне бібліятэк, якія ўжываюцца..." @@ -668,7 +672,7 @@ msgid "Do not try to update library dependencies if already installed." msgstr "" "Не спрабаваць абнаўляць залежнасці бібліятэкі, калі яны ўжо ўсталяваныя." -#: commands/service_library_download.go:88 +#: commands/service_library_download.go:92 msgid "Downloading %s" msgstr "Спампоўка %s" @@ -676,21 +680,21 @@ msgstr "Спампоўка %s" msgid "Downloading index signature: %s" msgstr "Спампоўка індэкснай сігнатуры: %s" -#: commands/instances.go:563 commands/instances.go:581 -#: commands/instances.go:595 commands/instances.go:612 +#: commands/instances.go:564 commands/instances.go:582 +#: commands/instances.go:596 commands/instances.go:613 #: internal/arduino/resources/index.go:82 msgid "Downloading index: %s" msgstr "Спамоўка індэксаў: %s" -#: commands/instances.go:371 +#: commands/instances.go:372 msgid "Downloading library %s" msgstr "Спампоўка бібліятэкі %s" -#: commands/instances.go:53 +#: commands/instances.go:54 msgid "Downloading missing tool %s" msgstr "Спампоўка інструмента %s, які адсутнічае" -#: internal/arduino/cores/packagemanager/install_uninstall.go:96 +#: internal/arduino/cores/packagemanager/install_uninstall.go:98 msgid "Downloading packages" msgstr "Спампоўка пакетаў" @@ -727,7 +731,7 @@ msgstr "Увясць адрас URL git для бібліятэк, якія ра msgid "Error adding file to sketch archive" msgstr "Памылка пры даданні файла ў архіў сцэнараў" -#: internal/arduino/builder/core.go:169 +#: internal/arduino/builder/core.go:170 msgid "Error archiving built core (caching) in %[1]s: %[2]s" msgstr "Памылка архівавання ўбудаванага ядра (кэшавання) у %[1]s: %[2]s" @@ -743,11 +747,11 @@ msgstr "Памылка пры вылічэнні адноснага шляху msgid "Error cleaning caches: %v" msgstr "Памылка пры ачысткі кэшу: %v" -#: internal/cli/compile/compile.go:220 +#: internal/cli/compile/compile.go:225 msgid "Error converting path to absolute: %v" msgstr "Памылка пры пераўтварэнні шляху ў абсалютны: %v" -#: commands/service_compile.go:405 +#: commands/service_compile.go:420 msgid "Error copying output file %s" msgstr "Памылка пры капіяванні выхаднога файла %s" @@ -761,7 +765,7 @@ msgstr "Памылка пры стварэнні канфігурацыі: %v" msgid "Error creating instance: %v" msgstr "Памылка пры стварэнні асобніка: %v" -#: commands/service_compile.go:389 +#: commands/service_compile.go:403 msgid "Error creating output dir" msgstr "Памылка пры стварэнні выходнага каталогу" @@ -786,7 +790,7 @@ msgstr "Памылка пры спампоўцы %[1]s: %[2]v" msgid "Error downloading %s" msgstr "Памылка пры спампоўцы %s" -#: commands/instances.go:660 internal/arduino/resources/index.go:83 +#: commands/instances.go:661 internal/arduino/resources/index.go:83 msgid "Error downloading index '%s'" msgstr "Памылка пры спампоўцы індэксу '%s'" @@ -794,7 +798,7 @@ msgstr "Памылка пры спампоўцы індэксу '%s'" msgid "Error downloading index signature '%s'" msgstr "Памылка пры спампоўцы індэкснай сігнатуры '%s'" -#: commands/instances.go:381 commands/instances.go:387 +#: commands/instances.go:382 commands/instances.go:388 msgid "Error downloading library %s" msgstr "Памылка пры спамоўцы бібліятэкі %s" @@ -803,7 +807,7 @@ msgstr "Памылка пры спамоўцы бібліятэкі %s" msgid "Error downloading platform %s" msgstr "Памылка пры спампоўцы платформы %s" -#: internal/arduino/cores/packagemanager/download.go:127 +#: internal/arduino/cores/packagemanager/download.go:129 #: internal/arduino/cores/packagemanager/profiles.go:179 msgid "Error downloading tool %s" msgstr "Памылка пры спампоўцы інструменту %s" @@ -818,7 +822,7 @@ msgstr "Памылка пры кадаванні выходных дадзены #: internal/cli/burnbootloader/burnbootloader.go:78 #: internal/cli/burnbootloader/burnbootloader.go:100 -#: internal/cli/compile/compile.go:264 internal/cli/compile/compile.go:306 +#: internal/cli/compile/compile.go:269 internal/cli/compile/compile.go:311 #: internal/cli/upload/upload.go:99 internal/cli/upload/upload.go:128 msgid "Error during Upload: %v" msgstr "Памылка падчас выгрузкі: %v" @@ -827,7 +831,7 @@ msgstr "Памылка падчас выгрузкі: %v" msgid "Error during board detection" msgstr "Памылка падчас выяўленні платы" -#: internal/cli/compile/compile.go:379 +#: internal/cli/compile/compile.go:394 msgid "Error during build: %v" msgstr "Памылка падчас зборкі: %v" @@ -848,7 +852,7 @@ msgstr "Памылка падчас абнаўлення: %v" msgid "Error extracting %s" msgstr "Памылка пыр выманні %s" -#: commands/service_upload.go:448 +#: commands/service_upload.go:449 msgid "Error finding build artifacts" msgstr "Памылка пры выяўленні артэфактаў зборкі" @@ -877,7 +881,7 @@ msgstr "" "Памылка пры атрыманні першапачатковага порта з ' sketch.yaml`.\n" "Праверце, ці правільна вы паказалі каталог сцэнара, ці пакажыце аргумент --port:" -#: commands/service_compile.go:328 commands/service_library_list.go:115 +#: commands/service_compile.go:338 commands/service_library_list.go:115 msgid "Error getting information for library %s" msgstr "Памылка пры атрыманні інфармацыі для бібліятэкі %s" @@ -913,7 +917,7 @@ msgstr "Памылка пры ўсталяванні бібліятэкі Git: % msgid "Error installing Zip Library: %v" msgstr "Памылка пры ўсталяванні бібліятэкі Zip: %v" -#: commands/instances.go:397 +#: commands/instances.go:398 msgid "Error installing library %s" msgstr "Памылка пры ўсталяванні бібліятэкі %s" @@ -940,7 +944,7 @@ msgstr "Памылка пры пералічэнні бібліятэк: %v" msgid "Error listing platforms: %v" msgstr "Памылка пры пералічэнні платформ: %v" -#: commands/cmderrors/cmderrors.go:424 +#: commands/cmderrors/cmderrors.go:445 msgid "Error loading hardware platform" msgstr "Памылка пры загрузцы апаратнай платформы" @@ -957,16 +961,16 @@ msgstr "Памылка пры адкрыцці %s" msgid "Error opening debug logging file: %s" msgstr "Памылка пры адкрыцці файла часопіса адладкі: %s" -#: internal/cli/compile/compile.go:193 +#: internal/cli/compile/compile.go:196 msgid "Error opening source code overrides data file: %v" msgstr "" "Памылка пры адкрыцці зыходнага кода, які перавызначае файл дадзеных: %v" -#: internal/cli/compile/compile.go:206 +#: internal/cli/compile/compile.go:209 msgid "Error parsing --show-properties flag: %v" msgstr "Памылка пры разборы аргумента --show-properties: %v" -#: commands/service_compile.go:398 +#: commands/service_compile.go:412 msgid "Error reading build directory" msgstr "Памылка пры чытанні каталога зборкі" @@ -982,7 +986,7 @@ msgstr "Памылка пры выпраўленні ў залежнасці д msgid "Error retrieving core list: %v" msgstr "Памылка пры выманні спісу ядраў: %v" -#: internal/arduino/cores/packagemanager/install_uninstall.go:158 +#: internal/arduino/cores/packagemanager/install_uninstall.go:160 msgid "Error rolling-back changes: %s" msgstr "Памылка пры адкаце змяненняў: %s" @@ -1036,7 +1040,7 @@ msgstr "Памылка пры абнаўленні індэксу бібліят msgid "Error upgrading libraries" msgstr "Памылка пры абнаўленні бібліятэк" -#: internal/arduino/cores/packagemanager/install_uninstall.go:153 +#: internal/arduino/cores/packagemanager/install_uninstall.go:155 msgid "Error upgrading platform: %s" msgstr "Памылка пры абнаўленні платформы: %s" @@ -1049,10 +1053,10 @@ msgstr "Памылка пры праверцы сігнатуры" msgid "Error while detecting libraries included by %[1]s" msgstr "Памылка пры выяўленні бібліятэк, якія ўключаныя %[1]s" -#: internal/arduino/builder/sizer.go:79 internal/arduino/builder/sizer.go:88 -#: internal/arduino/builder/sizer.go:91 internal/arduino/builder/sizer.go:110 -#: internal/arduino/builder/sizer.go:215 internal/arduino/builder/sizer.go:225 -#: internal/arduino/builder/sizer.go:229 +#: internal/arduino/builder/sizer.go:80 internal/arduino/builder/sizer.go:89 +#: internal/arduino/builder/sizer.go:92 internal/arduino/builder/sizer.go:111 +#: internal/arduino/builder/sizer.go:218 internal/arduino/builder/sizer.go:228 +#: internal/arduino/builder/sizer.go:232 msgid "Error while determining sketch size: %s" msgstr "Памылка пры вызначэнні памеру сцэнара: %s" @@ -1068,7 +1072,7 @@ msgstr "Памылка пры запісу ў файл: %v" msgid "Error: command description is not supported by %v" msgstr "Памылка: апісанне каманды не падтрымліваецца %v" -#: internal/cli/compile/compile.go:199 +#: internal/cli/compile/compile.go:202 msgid "Error: invalid source code overrides data file: %v" msgstr "Памылка: няправільны зыходны код, які перавызначае файл дадзеных: %v" @@ -1088,7 +1092,7 @@ msgstr "Прыклады:" msgid "Executable to debug" msgstr "Выкананы файл для адладкі" -#: commands/service_debug_config.go:181 commands/service_upload.go:454 +#: commands/service_debug_config.go:181 commands/service_upload.go:455 msgid "Expected compiled sketch in directory %s, but is a file instead" msgstr "" "Чаканы скампіляваны сцэнар знаходзіцца ў каталогу %s, але замест гэтага ён " @@ -1104,23 +1108,23 @@ msgstr "FQBN" msgid "FQBN:" msgstr "FQBN:" -#: commands/service_upload.go:577 +#: commands/service_upload.go:578 msgid "Failed chip erase" msgstr "Не атрымалася сцерці чып" -#: commands/service_upload.go:584 +#: commands/service_upload.go:585 msgid "Failed programming" msgstr "Не атрымалася праграмаванне" -#: commands/service_upload.go:580 +#: commands/service_upload.go:581 msgid "Failed to burn bootloader" msgstr "Не атрымалася запісаць загрузнік" -#: commands/instances.go:87 +#: commands/instances.go:88 msgid "Failed to create data directory" msgstr "Не атрымалася стварыць каталог дадзеных" -#: commands/instances.go:76 +#: commands/instances.go:77 msgid "Failed to create downloads directory" msgstr "Не атрымалася стварыць каталог для спамповак" @@ -1148,7 +1152,7 @@ msgstr "" "Не атрымалася праслухаць порт TCP: %s.\n" "Адрас, які ўжо ўжываецца." -#: commands/service_upload.go:588 +#: commands/service_upload.go:589 msgid "Failed uploading" msgstr "Не атрымалася выгрузіць" @@ -1156,7 +1160,7 @@ msgstr "Не атрымалася выгрузіць" msgid "File:" msgstr "Файл:" -#: commands/service_compile.go:160 +#: commands/service_compile.go:163 msgid "" "Firmware encryption/signing requires all the following properties to be " "defined: %s" @@ -1207,7 +1211,7 @@ msgstr "" "Прымусовы пропуск сцэнараў папярэдняга выдалення (калі CLI запушчаны ў " "інтэрактыўным рэжыме)." -#: commands/cmderrors/cmderrors.go:839 +#: commands/cmderrors/cmderrors.go:860 msgid "Found %d platforms matching \"%s\": %s" msgstr "Знойдзены платформы %d, якія адпаведныя \"%s\": %s" @@ -1233,7 +1237,7 @@ msgstr "Стварэнне сцэнару завяршэння" msgid "Generates completion scripts for various shells" msgstr "Стварэнне сцэнару завяршэння для розных абалонак" -#: internal/arduino/builder/builder.go:333 +#: internal/arduino/builder/builder.go:334 msgid "Generating function prototypes..." msgstr "Стварэнне прататыпаў функцый..." @@ -1245,7 +1249,7 @@ msgstr "Вяртае значэнне ключа налады." msgid "Global Flags:" msgstr "Глабальныя аргументы:" -#: internal/arduino/builder/sizer.go:164 +#: internal/arduino/builder/sizer.go:166 msgid "" "Global variables use %[1]s bytes (%[3]s%%) of dynamic memory, leaving %[4]s " "bytes for local variables. Maximum is %[2]s bytes." @@ -1253,7 +1257,7 @@ msgstr "" " Глабальныя зменныя ўжываюць %[1]s байтаў (%[3]s%% ) дынамічнай памяці, пакідаючы %[4]s байтаў для лакальных зменных.\n" "Максімальнае значэнне - %[2]s байтаў." -#: internal/arduino/builder/sizer.go:170 +#: internal/arduino/builder/sizer.go:172 msgid "Global variables use %[1]s bytes of dynamic memory." msgstr "Глабальныя зменныя ўжываюць %[1]s байтаў дынамічнай памяці." @@ -1271,7 +1275,7 @@ msgstr "Ідэнтыфікатар" msgid "Identification properties:" msgstr "Уласцівасці ідэнтыфікатару:" -#: internal/cli/compile/compile.go:132 +#: internal/cli/compile/compile.go:135 msgid "If set built binaries will be exported to the sketch folder." msgstr "" "Калі зададзена, то створаныя двайковыя файлы будуць экспартаваныя ў каталог " @@ -1302,20 +1306,20 @@ msgstr "Усталяваць бібліятэкі ва ўбудаваным ка msgid "Installed" msgstr "Усталявана" -#: commands/service_library_install.go:200 +#: commands/service_library_install.go:201 msgid "Installed %s" msgstr "Усталявана %s" -#: commands/service_library_install.go:183 -#: internal/arduino/cores/packagemanager/install_uninstall.go:333 +#: commands/service_library_install.go:184 +#: internal/arduino/cores/packagemanager/install_uninstall.go:335 msgid "Installing %s" msgstr "Усталяванне %s" -#: commands/instances.go:395 +#: commands/instances.go:396 msgid "Installing library %s" msgstr "Усталяванне бібліятэкі %s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:119 +#: internal/arduino/cores/packagemanager/install_uninstall.go:121 #: internal/arduino/cores/packagemanager/profiles.go:134 msgid "Installing platform %s" msgstr "Усталяванне платформы %s" @@ -1337,11 +1341,11 @@ msgstr "Усталёўвае ў сістэму адну ці некалькі н msgid "Internal error in cache" msgstr "Унутраная памылка ў кэшы" -#: commands/cmderrors/cmderrors.go:377 +#: commands/cmderrors/cmderrors.go:378 msgid "Invalid '%[1]s' property: %[2]s" msgstr "Недапушчальная ўласцівасць '%[1]s': %[2]s" -#: commands/cmderrors/cmderrors.go:60 +#: commands/cmderrors/cmderrors.go:61 msgid "Invalid FQBN" msgstr "Хібны FQBN" @@ -1349,11 +1353,11 @@ msgstr "Хібны FQBN" msgid "Invalid TCP address: port is missing" msgstr "Хібны адрас TCP: порт адсутнічае" -#: commands/cmderrors/cmderrors.go:78 +#: commands/cmderrors/cmderrors.go:79 msgid "Invalid URL" msgstr "Хібны адрас URL" -#: commands/instances.go:183 +#: commands/instances.go:184 msgid "Invalid additional URL: %v" msgstr "Хібны дадатковы адрас URL: %v" @@ -1367,23 +1371,23 @@ msgstr "Хібны архіў: файл %[1]s не знойдзены ў арх msgid "Invalid argument passed: %v" msgstr "Перададзены хібны аргумент: %v" -#: commands/service_compile.go:272 +#: commands/service_compile.go:282 msgid "Invalid build properties" msgstr "Хібныя ўласцівасці зборкі" -#: internal/arduino/builder/sizer.go:250 +#: internal/arduino/builder/sizer.go:253 msgid "Invalid data size regexp: %s" msgstr "Хібны памер дадзеных рэгулярнага выразу: %s" -#: internal/arduino/builder/sizer.go:256 +#: internal/arduino/builder/sizer.go:259 msgid "Invalid eeprom size regexp: %s" msgstr "Хібны памер eeprom рэгулярнага выразу: %s" -#: commands/instances.go:596 +#: commands/instances.go:597 msgid "Invalid index URL: %s" msgstr "Хібны індэкс адрасу URL: %s" -#: commands/cmderrors/cmderrors.go:46 +#: commands/cmderrors/cmderrors.go:47 msgid "Invalid instance" msgstr "Хібны асобнік" @@ -1391,7 +1395,7 @@ msgstr "Хібны асобнік" msgid "Invalid item %s" msgstr "Хібны элемент %s" -#: commands/cmderrors/cmderrors.go:96 +#: commands/cmderrors/cmderrors.go:97 msgid "Invalid library" msgstr "Хібная бібліятэка" @@ -1399,11 +1403,11 @@ msgstr "Хібная бібліятэка" msgid "Invalid logging level: %s" msgstr "Хібны ўзровень вядзення часопіса: %s" -#: commands/instances.go:613 +#: commands/instances.go:614 msgid "Invalid network configuration: %s" msgstr "Хібная канфігурацыя сеткі: %s" -#: internal/cli/configuration/network.go:66 +#: internal/cli/configuration/network.go:83 msgid "Invalid network.proxy '%[1]s': %[2]s" msgstr "Хібны network.proxy '%[1]s': %[2]s" @@ -1411,7 +1415,7 @@ msgstr "Хібны network.proxy '%[1]s': %[2]s" msgid "Invalid output format: %s" msgstr "Хібны фармат вываду: %s" -#: commands/instances.go:580 +#: commands/instances.go:581 msgid "Invalid package index in %s" msgstr "Хібны індэкс пакету ў %s" @@ -1419,35 +1423,35 @@ msgstr "Хібны індэкс пакету ў %s" msgid "Invalid parameter %s: version not allowed" msgstr "Хібная налада %s: версія не дазволеная" -#: commands/service_board_list.go:81 +#: commands/service_board_identify.go:169 msgid "Invalid pid value: '%s'" msgstr "Хібнае значэнне pid: '%s'" -#: commands/cmderrors/cmderrors.go:220 +#: commands/cmderrors/cmderrors.go:221 msgid "Invalid profile" msgstr "Хібны профіль" -#: commands/service_monitor.go:269 +#: commands/service_monitor.go:270 msgid "Invalid recipe in platform.txt" msgstr "Хібныя пакеты ў platform.txt" -#: internal/arduino/builder/sizer.go:240 +#: internal/arduino/builder/sizer.go:243 msgid "Invalid size regexp: %s" msgstr "Хібны памер regexp: %s" -#: main.go:85 +#: main.go:86 msgid "Invalid value in configuration" msgstr "Хібнае значэнне ў канфігурацыі" -#: commands/cmderrors/cmderrors.go:114 +#: commands/cmderrors/cmderrors.go:115 msgid "Invalid version" msgstr "Хібаня версія" -#: commands/service_board_list.go:78 +#: commands/service_board_identify.go:166 msgid "Invalid vid value: '%s'" msgstr "Хібнае значэнне vid: '%s'" -#: internal/cli/compile/compile.go:129 +#: internal/cli/compile/compile.go:132 msgid "" "Just produce the compilation database, without actually compiling. All build" " commands are skipped except pre* hooks." @@ -1472,12 +1476,12 @@ msgstr "Назва бібліятэкі" msgid "Latest" msgstr "Апошні" -#: internal/arduino/builder/libraries.go:91 +#: internal/arduino/builder/libraries.go:92 msgid "Library %[1]s has been declared precompiled:" msgstr "Бібліятэка %[1]s была абвешчаная папярэдне скампіляванай:" -#: commands/service_library_install.go:141 -#: internal/arduino/libraries/librariesmanager/install.go:131 +#: commands/service_library_install.go:142 +#: internal/arduino/libraries/librariesmanager/install.go:130 msgid "" "Library %[1]s is already installed, but with a different version: %[2]s" msgstr "Бібліятэка %[1]s ужо ўсталяваная, але з іншай версіяй: %[2]s" @@ -1490,11 +1494,11 @@ msgstr "Бібліятэка %s ужо апошняй версіі" msgid "Library %s is not installed" msgstr "Бібліятэка %s не ўсталяваная" -#: commands/instances.go:374 +#: commands/instances.go:375 msgid "Library %s not found" msgstr "Бібліятэка %s не знойдзеная" -#: commands/cmderrors/cmderrors.go:445 +#: commands/cmderrors/cmderrors.go:466 msgid "Library '%s' not found" msgstr "Бібліятэка '%s' не знойдзеная" @@ -1505,12 +1509,12 @@ msgstr "" "Бібліятэка не можа ўжываць абодва каталога '%[1]s' і '%[2]s'.\n" "Праверце '%[3]s' яшчэ раз." -#: commands/cmderrors/cmderrors.go:574 +#: commands/cmderrors/cmderrors.go:595 msgid "Library install failed" msgstr "Не атрымалася ўсталяваць бібліятэку" -#: commands/service_library_install.go:234 -#: commands/service_library_install.go:274 +#: commands/service_library_install.go:235 +#: commands/service_library_install.go:275 msgid "Library installed" msgstr "Бібліятэка ўсталяваная" @@ -1518,7 +1522,7 @@ msgstr "Бібліятэка ўсталяваная" msgid "License: %s" msgstr "Ліцэнзія: %s" -#: internal/arduino/builder/builder.go:436 +#: internal/arduino/builder/builder.go:437 msgid "Linking everything together..." msgstr "Звязваць усё разам..." @@ -1546,7 +1550,7 @@ msgstr "" "Пералічыць налады платы, праз коску.\n" "Ці можа ўжываць некалькі разоў для некалькіх налад." -#: internal/cli/compile/compile.go:107 +#: internal/cli/compile/compile.go:110 msgid "" "List of custom build properties separated by commas. Or can be used multiple" " times for multiple properties." @@ -1570,8 +1574,8 @@ msgstr "Спіс усех злучаных плат." msgid "Lists cores and libraries that can be upgraded" msgstr "Пералічыць ядры і бібліятэкі, якія можна абнавіць" -#: commands/instances.go:221 commands/instances.go:232 -#: commands/instances.go:342 +#: commands/instances.go:222 commands/instances.go:233 +#: commands/instances.go:343 msgid "Loading index file: %v" msgstr "Загрузка індэкснага файла: %v" @@ -1579,7 +1583,7 @@ msgstr "Загрузка індэкснага файла: %v" msgid "Location" msgstr "Месцазнаходжанне" -#: internal/arduino/builder/sizer.go:205 +#: internal/arduino/builder/sizer.go:208 msgid "Low memory available, stability problems may occur." msgstr "" "Недастаткова даступнай памяці, могуць узнікнуць праблемы са стабільнасцю." @@ -1588,7 +1592,7 @@ msgstr "" msgid "Maintainer: %s" msgstr "Суправаджэнне: %s" -#: internal/cli/compile/compile.go:137 +#: internal/cli/compile/compile.go:140 msgid "" "Max number of parallel compiles. If set to 0 the number of available CPUs " "cores will be used." @@ -1611,23 +1615,23 @@ msgstr "" msgid "Missing '%[1]s' from library in %[2]s" msgstr "Адсутнічае '%[1]s' з бібліятэкі ў %[2]s" -#: commands/cmderrors/cmderrors.go:169 +#: commands/cmderrors/cmderrors.go:170 msgid "Missing FQBN (Fully Qualified Board Name)" msgstr "Адсутнічае FQBN (поўная назва платы)" -#: commands/cmderrors/cmderrors.go:260 +#: commands/cmderrors/cmderrors.go:261 msgid "Missing port" msgstr "Адсутнічае порт" -#: commands/cmderrors/cmderrors.go:236 +#: commands/cmderrors/cmderrors.go:237 msgid "Missing port address" msgstr "Адсутнічае адрас порту" -#: commands/cmderrors/cmderrors.go:248 +#: commands/cmderrors/cmderrors.go:249 msgid "Missing port protocol" msgstr "Адсутнічае порт пратаколу" -#: commands/cmderrors/cmderrors.go:286 +#: commands/cmderrors/cmderrors.go:287 msgid "Missing programmer" msgstr "Адсутнічае праграматар" @@ -1635,15 +1639,15 @@ msgstr "Адсутнічае праграматар" msgid "Missing required upload field: %s" msgstr "Адсутнічае абавязковае поле для выгрузкі: %s" -#: internal/arduino/builder/sizer.go:244 +#: internal/arduino/builder/sizer.go:247 msgid "Missing size regexp" msgstr "Адсутнічае памер regexp" -#: commands/cmderrors/cmderrors.go:497 +#: commands/cmderrors/cmderrors.go:518 msgid "Missing sketch path" msgstr "Адсутнчіае шлях сцэнара" -#: commands/cmderrors/cmderrors.go:358 +#: commands/cmderrors/cmderrors.go:359 msgid "Monitor '%s' not found" msgstr "Манітор '%s' не знойдзены" @@ -1701,7 +1705,7 @@ msgstr "" msgid "No libraries update is available." msgstr "Абнаўленне бібліятэк недаступна." -#: commands/cmderrors/cmderrors.go:274 +#: commands/cmderrors/cmderrors.go:275 msgid "No monitor available for the port protocol %s" msgstr "Манітор для пратаколу порта %s недаступны" @@ -1717,15 +1721,15 @@ msgstr "Платформы не ўсталяваныя." msgid "No platforms matching your search." msgstr "Няма платформаў, якія адпавядаюць вашаму запыту." -#: commands/service_upload.go:533 +#: commands/service_upload.go:534 msgid "No upload port found, using %s as fallback" msgstr "Порт выгрузкі не знойдзены, ўжываецца %s у якасці рэзервовага" -#: commands/cmderrors/cmderrors.go:464 +#: commands/cmderrors/cmderrors.go:485 msgid "No valid dependencies solution found" msgstr "Не знойдзена дапушчальнага рашэння для залежнасцяў" -#: internal/arduino/builder/sizer.go:195 +#: internal/arduino/builder/sizer.go:198 msgid "Not enough memory; see %[1]s for tips on reducing your footprint." msgstr "" "Недастаткова памяці; азнаёмцеся %[1]s з парадамі па памяншэнні займаемага " @@ -1759,33 +1763,33 @@ msgstr "Адчыніць камунікацыйны порт з дапамога msgid "Option:" msgstr "Налады:" -#: internal/cli/compile/compile.go:117 +#: internal/cli/compile/compile.go:120 msgid "" "Optional, can be: %s. Used to tell gcc which warning level to use (-W flag)." msgstr "" "Неабавязкова, можа быць: %s.\n" "Ужываецца для ўказанні gcc, які ўзровень папярэджання ўжываць (аргумент -W)." -#: internal/cli/compile/compile.go:130 +#: internal/cli/compile/compile.go:133 msgid "Optional, cleanup the build folder and do not use any cached build." msgstr "Неабавязкова, ачысціць каталог зборкі і не ўжываць кэшаваныя зборкі." -#: internal/cli/compile/compile.go:127 +#: internal/cli/compile/compile.go:130 msgid "" "Optional, optimize compile output for debugging, rather than for release." msgstr "" "Неабавязкова, аптымізаваць выходныя дадзеныя кампіляцыі для адладкі, а не " "для выпуску." -#: internal/cli/compile/compile.go:119 +#: internal/cli/compile/compile.go:122 msgid "Optional, suppresses almost every output." msgstr "Неабавязкова, душыць амаль усе выходныя дадзеныя." -#: internal/cli/compile/compile.go:118 internal/cli/upload/upload.go:79 +#: internal/cli/compile/compile.go:121 internal/cli/upload/upload.go:79 msgid "Optional, turns on verbose mode." msgstr "Неабавязкова, уключыць падрабязны рэжым." -#: internal/cli/compile/compile.go:133 +#: internal/cli/compile/compile.go:136 msgid "" "Optional. Path to a .json file that contains a set of replacements of the " "sketch source code." @@ -1793,7 +1797,7 @@ msgstr "" "Неабавязкова, шлях да файла .json, які змяшчае набор замен зыходнага кода " "сцэнара." -#: internal/cli/compile/compile.go:109 +#: internal/cli/compile/compile.go:112 msgid "" "Override a build property with a custom value. Can be used multiple times " "for multiple properties." @@ -1859,11 +1863,11 @@ msgstr "Вэб-сайт пакету:" msgid "Paragraph: %s" msgstr "Абзац: %s" -#: internal/cli/compile/compile.go:454 internal/cli/compile/compile.go:469 +#: internal/cli/compile/compile.go:473 internal/cli/compile/compile.go:488 msgid "Path" msgstr "Шлях" -#: internal/cli/compile/compile.go:126 +#: internal/cli/compile/compile.go:129 msgid "" "Path to a collection of libraries. Can be used multiple times or entries can" " be comma separated." @@ -1871,7 +1875,7 @@ msgstr "" "Шлях да калекцыі бібліятэк.\n" "Можа ўжывацца некалькі разоў ці запісы могуць быць праз коску." -#: internal/cli/compile/compile.go:124 +#: internal/cli/compile/compile.go:127 msgid "" "Path to a single library’s root folder. Can be used multiple times or " "entries can be comma separated." @@ -1883,7 +1887,7 @@ msgstr "" msgid "Path to the file where logs will be written." msgstr "Шлях да файла, у які будуць запісвацца логі." -#: internal/cli/compile/compile.go:105 +#: internal/cli/compile/compile.go:108 msgid "" "Path where to save compiled files. If omitted, a directory will be created " "in the default temporary path of your OS." @@ -1891,20 +1895,20 @@ msgstr "" "Шлях для захавання скампіляваных файлаў.\n" "Калі не паказаны, будзе створаны каталог ў першапачатковым часовым шляху вашай аперацыйнай сістэмы." -#: commands/service_upload.go:514 +#: commands/service_upload.go:515 msgid "Performing 1200-bps touch reset on serial port %s" msgstr "Выкананне сэнсарнага скіду з хуткасцю 1200 біт/с на паслядоўным порце" -#: commands/service_platform_install.go:86 -#: commands/service_platform_install.go:93 +#: commands/service_platform_install.go:91 +#: commands/service_platform_install.go:98 msgid "Platform %s already installed" msgstr "Платформа %s ужо ўсталяваная" -#: internal/arduino/cores/packagemanager/install_uninstall.go:194 +#: internal/arduino/cores/packagemanager/install_uninstall.go:196 msgid "Platform %s installed" msgstr "Платформа %s усталяваная" -#: internal/cli/compile/compile.go:402 internal/cli/upload/upload.go:148 +#: internal/cli/compile/compile.go:417 internal/cli/upload/upload.go:148 msgid "" "Platform %s is not found in any known index\n" "Maybe you need to add a 3rd party URL?" @@ -1912,15 +1916,19 @@ msgstr "" "Платформа %s не знойдзена ні ў адным з вядомых індэксаў.\n" "Ці можа быць, вам трэба дадаць 3 бок адрасу URL?" -#: internal/arduino/cores/packagemanager/install_uninstall.go:318 +#: internal/arduino/cores/packagemanager/install_uninstall.go:320 msgid "Platform %s uninstalled" msgstr "Платформа %s выдаленая" -#: commands/cmderrors/cmderrors.go:482 +#: commands/cmderrors/cmderrors.go:427 +msgid "Platform '%s'" +msgstr "" + +#: commands/cmderrors/cmderrors.go:503 msgid "Platform '%s' is already at the latest version" msgstr "Платформа '%s' ужо апошняй версіі" -#: commands/cmderrors/cmderrors.go:406 +#: commands/cmderrors/cmderrors.go:407 msgid "Platform '%s' not found" msgstr "Платформа '%s' не знойдзеная" @@ -1928,7 +1936,7 @@ msgstr "Платформа '%s' не знойдзеная" msgid "Platform ID" msgstr "Ідэнтыфікатар платформы" -#: internal/cli/compile/compile.go:387 internal/cli/upload/upload.go:136 +#: internal/cli/compile/compile.go:402 internal/cli/upload/upload.go:136 msgid "Platform ID is not correct" msgstr "Неправільны ідэнтыфікатар платформы" @@ -1960,7 +1968,7 @@ msgstr "Назва платформы:" msgid "Platform size (bytes):" msgstr "Памер платформы (у байтах):" -#: commands/cmderrors/cmderrors.go:153 +#: commands/cmderrors/cmderrors.go:154 msgid "" "Please specify an FQBN. Multiple possible boards detected on port %[1]s with" " protocol %[2]s" @@ -1968,7 +1976,7 @@ msgstr "" "Калі ласка, пакажыце FQBN.\n" "У порце %[1]s з пратаколам %[2]s выяўлена некалькі магчымых плат" -#: commands/cmderrors/cmderrors.go:133 +#: commands/cmderrors/cmderrors.go:134 msgid "" "Please specify an FQBN. The board on port %[1]s with protocol %[2]s can't be" " identified" @@ -1984,12 +1992,12 @@ msgstr "Порт" msgid "Port closed: %v" msgstr "Порт зачынены: %v" -#: commands/cmderrors/cmderrors.go:668 +#: commands/cmderrors/cmderrors.go:689 msgid "Port monitor error" msgstr "Памылка манитора порта" -#: internal/arduino/builder/libraries.go:101 -#: internal/arduino/builder/libraries.go:109 +#: internal/arduino/builder/libraries.go:102 +#: internal/arduino/builder/libraries.go:110 msgid "Precompiled library in \"%[1]s\" not found" msgstr "Папярэдне скампіляваная бібліятэка ў \"%[1]s\" не знойдзеная" @@ -1997,7 +2005,7 @@ msgstr "Папярэдне скампіляваная бібліятэка ў \" msgid "Print details about a board." msgstr "Надрукаваць падрабязную інфармацыю пра плату." -#: internal/cli/compile/compile.go:100 +#: internal/cli/compile/compile.go:103 msgid "Print preprocessed code to stdout instead of compiling." msgstr "" "Надрукаваць папярэдне апрацаваны код у стандартны вывад замест кампіляцыі." @@ -2018,11 +2026,11 @@ msgstr "Друкуе бягучую канфігурацыю" msgid "Prints the current configuration." msgstr "Друкуе бягучую канфігурацыю." -#: commands/cmderrors/cmderrors.go:202 +#: commands/cmderrors/cmderrors.go:203 msgid "Profile '%s' not found" msgstr "Профіль '%s' не знойдзены" -#: commands/cmderrors/cmderrors.go:339 +#: commands/cmderrors/cmderrors.go:340 msgid "Programmer '%s' not found" msgstr "Праграматар '%s' не знойдзены" @@ -2038,7 +2046,7 @@ msgstr "Праграматар, які ўжываецца, напрыклад: a msgid "Programmers:" msgstr "Праграматары:" -#: commands/cmderrors/cmderrors.go:391 +#: commands/cmderrors/cmderrors.go:392 msgid "Property '%s' is undefined" msgstr "Уласцівасць '%s' не вызначана" @@ -2054,11 +2062,11 @@ msgstr "Правайдэр уключэнняў: %s" msgid "Removes one or more values from a setting." msgstr "Выдаляе адно ці некалькі значэнняў з налады." -#: commands/service_library_install.go:187 +#: commands/service_library_install.go:188 msgid "Replacing %[1]s with %[2]s" msgstr "Замена %[1]s на %[2]s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:123 +#: internal/arduino/cores/packagemanager/install_uninstall.go:125 msgid "Replacing platform %[1]s with %[2]s" msgstr "Замена платформы %[1]s на %[2]s" @@ -2076,12 +2084,12 @@ msgstr "" msgid "Run the Arduino CLI as a gRPC daemon." msgstr "Запусціць Arduino CLI як дэман gRPC." -#: internal/arduino/builder/core.go:42 +#: internal/arduino/builder/core.go:43 msgid "Running normal build of the core..." msgstr "Выконваецца звычайная зборка ядра..." -#: internal/arduino/cores/packagemanager/install_uninstall.go:297 -#: internal/arduino/cores/packagemanager/install_uninstall.go:411 +#: internal/arduino/cores/packagemanager/install_uninstall.go:299 +#: internal/arduino/cores/packagemanager/install_uninstall.go:413 msgid "Running pre_uninstall script." msgstr "Выканаць сцэнар pre_uninstall." @@ -2093,7 +2101,7 @@ msgstr "Пошук тэрм" msgid "SVD file path" msgstr "Шлях да файла SVD" -#: internal/cli/compile/compile.go:103 +#: internal/cli/compile/compile.go:106 msgid "Save build artifacts in this directory." msgstr "Захавайць артэфакты зборкі ў дадзеным каталогу." @@ -2351,7 +2359,7 @@ msgstr "Паказвае нумар версіі Arduino CLI." msgid "Size (bytes):" msgstr "Памер (у байтах):" -#: commands/service_compile.go:276 +#: commands/service_compile.go:286 msgid "" "Sketch cannot be located in build path. Please specify a different build " "path" @@ -2367,11 +2375,11 @@ msgstr "Сцэнар створаны ў: %s" msgid "Sketch profile to use" msgstr "Профіль эскіза, які ўжываецца" -#: internal/arduino/builder/sizer.go:190 +#: internal/arduino/builder/sizer.go:193 msgid "Sketch too big; see %[1]s for tips on reducing it." msgstr "Сцэнар занадта вялікі; глядзіце %[1]s для парады па яго памяншэнні." -#: internal/arduino/builder/sizer.go:158 +#: internal/arduino/builder/sizer.go:160 msgid "" "Sketch uses %[1]s bytes (%[3]s%%) of program storage space. Maximum is %[2]s" " bytes." @@ -2387,20 +2395,20 @@ msgstr "" "Сцэнар з пашырэннем .pde састарэў, калі ласка, пераназавіце наступныя файлы " "ў .ino:" -#: internal/arduino/builder/linker.go:30 +#: internal/arduino/builder/linker.go:31 msgid "Skip linking of final executable." msgstr "Прапусціць звязванне канчатковага выкананага файла." -#: commands/service_upload.go:507 +#: commands/service_upload.go:508 msgid "Skipping 1200-bps touch reset: no serial port selected!" msgstr "" "Пропуск сэнсарнага скіду з хуткасцю 1200 біт/с: паслядоўны порт не абраны!" -#: internal/arduino/builder/archive_compiled_files.go:27 +#: internal/arduino/builder/archive_compiled_files.go:28 msgid "Skipping archive creation of: %[1]s" msgstr "Прапускаць стварэння архіва: %[1]s" -#: internal/arduino/builder/compilation.go:183 +#: internal/arduino/builder/compilation.go:184 msgid "Skipping compile of: %[1]s" msgstr "Прапускаць кампіляцыі: %[1]s" @@ -2410,16 +2418,16 @@ msgstr "" "Выяўленне прапушчаных залежнасцяў для папярэдне скампіляванай бібліятэкі " "%[1]s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:190 +#: internal/arduino/cores/packagemanager/install_uninstall.go:192 msgid "Skipping platform configuration." msgstr "Прапускаць канфігурацыі платформы." -#: internal/arduino/cores/packagemanager/install_uninstall.go:306 -#: internal/arduino/cores/packagemanager/install_uninstall.go:420 +#: internal/arduino/cores/packagemanager/install_uninstall.go:308 +#: internal/arduino/cores/packagemanager/install_uninstall.go:422 msgid "Skipping pre_uninstall script." msgstr "Прапускаць сцэнар pre_uninstall " -#: internal/arduino/cores/packagemanager/install_uninstall.go:368 +#: internal/arduino/cores/packagemanager/install_uninstall.go:370 msgid "Skipping tool configuration." msgstr "Прапускаць налады інструмента." @@ -2427,7 +2435,7 @@ msgstr "Прапускаць налады інструмента." msgid "Skipping: %[1]s" msgstr "Прапускаць: %[1]s" -#: commands/instances.go:633 +#: commands/instances.go:634 msgid "Some indexes could not be updated." msgstr "Некаторыя індэксы не атрымалася абнавіць." @@ -2451,7 +2459,7 @@ msgstr "" "Карыстальніцкі канфігурацыйны файл (калі ён не пазначаны, будзе ўжывацца " "першапачатковы файл)." -#: internal/cli/compile/compile.go:90 +#: internal/cli/compile/compile.go:93 msgid "" "The flag --build-cache-path has been deprecated. Please use just --build-" "path alone or configure the build cache path in the Arduino CLI settings." @@ -2471,7 +2479,7 @@ msgstr "Дадзеная канфігурацыя платы/праграмат msgid "The given board/programmer configuration supports debugging." msgstr "Дадзеная канфігурацыя платы/праграматара падтрымлівае адладку." -#: commands/cmderrors/cmderrors.go:876 +#: commands/cmderrors/cmderrors.go:897 msgid "The instance is no longer valid and needs to be reinitialized" msgstr "Асобнік больш несапраўдны і мае патрэбу ў паўторнай ініцыялізацыі" @@ -2491,11 +2499,11 @@ msgstr "" "Ключ '%[1]v' не з'яўляецца спісам элементаў, не можа быць выдалены з яго.\n" "Ці можа быць трэба ўжываць '%[2]s'?" -#: commands/cmderrors/cmderrors.go:858 +#: commands/cmderrors/cmderrors.go:879 msgid "The library %s has multiple installations:" msgstr "Бібліятэка %s мае некалькі ўсталяванняў:" -#: internal/cli/compile/compile.go:115 +#: internal/cli/compile/compile.go:118 msgid "" "The name of the custom encryption key to use to encrypt a binary during the " "compile process. Used only by the platforms that support it." @@ -2503,7 +2511,7 @@ msgstr "" "Назва карыстальніцкага ключа шыфравання, які ўжываецца для шыфравання двайковага файла ў працэсе кампіляцыі.\n" "Ужываецца толькі тымі платформамі, якія яго падтрымліваюць." -#: internal/cli/compile/compile.go:113 +#: internal/cli/compile/compile.go:116 msgid "" "The name of the custom signing key to use to sign a binary during the " "compile process. Used only by the platforms that support it." @@ -2515,7 +2523,7 @@ msgstr "" msgid "The output format for the logs, can be: %s" msgstr "Фармат вываду часопісаў можа быць наступным: %s" -#: internal/cli/compile/compile.go:111 +#: internal/cli/compile/compile.go:114 msgid "" "The path of the dir to search for the custom keys to sign and encrypt a " "binary. Used only by the platforms that support it." @@ -2523,7 +2531,7 @@ msgstr "" "Шлях да каталога каталогаў для пошуку карыстальніцкіх ключоў для подпісу і шыфравання двайковага файла.\n" "Ужываецца толькі платформамі, якія яго падтрымліваюць." -#: internal/arduino/builder/libraries.go:151 +#: internal/arduino/builder/libraries.go:152 msgid "The platform does not support '%[1]s' for precompiled libraries." msgstr "Платформа не падтрымлівае '%[1]s' папярэдне скампіляваныя бібліятэкі." @@ -2550,12 +2558,12 @@ msgstr "" msgid "Timestamp each incoming line." msgstr "Часовая пазнака на кожны ўваходны радок." -#: internal/arduino/cores/packagemanager/install_uninstall.go:89 -#: internal/arduino/cores/packagemanager/install_uninstall.go:328 +#: internal/arduino/cores/packagemanager/install_uninstall.go:91 +#: internal/arduino/cores/packagemanager/install_uninstall.go:330 msgid "Tool %s already installed" msgstr "Інструмент %s ужо ўсталяваны" -#: internal/arduino/cores/packagemanager/install_uninstall.go:432 +#: internal/arduino/cores/packagemanager/install_uninstall.go:434 msgid "Tool %s uninstalled" msgstr "Інструмент %s выдалены" @@ -2575,7 +2583,7 @@ msgstr "Прыстаўка ланцужка інструментаў" msgid "Toolchain type" msgstr "Тып ланцужка інструментаў" -#: internal/cli/compile/compile.go:400 internal/cli/upload/upload.go:146 +#: internal/cli/compile/compile.go:415 internal/cli/upload/upload.go:146 msgid "Try running %s" msgstr "Спроба выканання %s" @@ -2595,7 +2603,7 @@ msgstr "Тыпы: %s" msgid "URL:" msgstr "Адрас URL:" -#: internal/arduino/builder/core.go:165 +#: internal/arduino/builder/core.go:166 msgid "" "Unable to cache built core, please tell %[1]s maintainers to follow %[2]s" msgstr "" @@ -2619,17 +2627,17 @@ msgstr "Няма доступу да хатняга каталогу карыс msgid "Unable to open file for logging: %s" msgstr "Не атрымалася адчыніць файл для вядзення часопіса: %s" -#: commands/instances.go:562 +#: commands/instances.go:563 msgid "Unable to parse URL" msgstr "Не атрымалася разабраць адрас URL" #: commands/service_library_uninstall.go:71 -#: internal/arduino/cores/packagemanager/install_uninstall.go:280 +#: internal/arduino/cores/packagemanager/install_uninstall.go:282 msgid "Uninstalling %s" msgstr "Выдаленне %s" #: commands/service_platform_uninstall.go:99 -#: internal/arduino/cores/packagemanager/install_uninstall.go:166 +#: internal/arduino/cores/packagemanager/install_uninstall.go:168 msgid "Uninstalling %s, tool is no more required" msgstr "Выдаленне %s, інструмент больш не патрабуецца" @@ -2649,7 +2657,7 @@ msgstr "Выдаленне адной ці некалькі бібліятэк." msgid "Unknown" msgstr "Невядомы" -#: commands/cmderrors/cmderrors.go:183 +#: commands/cmderrors/cmderrors.go:184 msgid "Unknown FQBN" msgstr "Невядомы FQBN" @@ -2677,7 +2685,7 @@ msgstr "Абнаўленне індэксу бібліятэк да апошня msgid "Updates the libraries index." msgstr "Абнаўленне бібліятэчнага індэксу." -#: internal/arduino/cores/packagemanager/install_uninstall.go:45 +#: internal/arduino/cores/packagemanager/install_uninstall.go:47 msgid "Upgrade doesn't accept parameters with version" msgstr "Абнаўленне не прымае параметры, названыя ў версіі" @@ -2712,7 +2720,7 @@ msgstr "" msgid "Upload port address, e.g.: COM3 or /dev/ttyACM2" msgstr "Адрас порта выгрузкі, напрыклад: COM3 ці /dev/ttyACM2" -#: commands/service_upload.go:531 +#: commands/service_upload.go:532 msgid "Upload port found on %s" msgstr "Порт выгрузкі знойдзены на %s" @@ -2720,7 +2728,7 @@ msgstr "Порт выгрузкі знойдзены на %s" msgid "Upload port protocol, e.g: serial" msgstr "Пратакол порта выгрузкі, напрыклад: паслядоўны" -#: internal/cli/compile/compile.go:120 +#: internal/cli/compile/compile.go:123 msgid "Upload the binary after the compilation." msgstr "Выгрузіць двайковы файл пасля кампіляцыі." @@ -2732,7 +2740,7 @@ msgstr "Выгрузіць загрузнік на плату з дапамог msgid "Upload the bootloader." msgstr "Выгрузіць загрузнік." -#: internal/cli/compile/compile.go:269 internal/cli/upload/upload.go:167 +#: internal/cli/compile/compile.go:274 internal/cli/upload/upload.go:167 msgid "" "Uploading to specified board using %s protocol requires the following info:" msgstr "" @@ -2756,11 +2764,11 @@ msgstr "Ужыта:" msgid "Use %s for more information about a command." msgstr "Ужыць %s для атрымання дадатковай інфармацыі пра каманду." -#: internal/cli/compile/compile.go:452 +#: internal/cli/compile/compile.go:471 msgid "Used library" msgstr "Ужытая бібліятэка" -#: internal/cli/compile/compile.go:467 +#: internal/cli/compile/compile.go:486 msgid "Used platform" msgstr "Ужытая платформа" @@ -2768,7 +2776,7 @@ msgstr "Ужытая платформа" msgid "Used: %[1]s" msgstr "Ужыта: %[1]s" -#: commands/service_compile.go:351 +#: commands/service_compile.go:361 msgid "Using board '%[1]s' from platform in folder: %[2]s" msgstr "Ужыванне платы '%[1]s' з платформы ў каталог: %[2]s" @@ -2776,7 +2784,7 @@ msgstr "Ужыванне платы '%[1]s' з платформы ў катал msgid "Using cached library dependencies for file: %[1]s" msgstr "Ужыванне кэшаванай бібліятэкі залежнасцяў для файла: %[1]s" -#: commands/service_compile.go:352 +#: commands/service_compile.go:362 msgid "Using core '%[1]s' from platform in folder: %[2]s" msgstr "Ужыванне ядра '%[1]s' з платформы ў каталог: %[2]s" @@ -2792,25 +2800,25 @@ msgstr "" "Ужыванне стандартнай канфігурацыі манітора.\n" "Увага: для працы вашай платы могуць спатрэбіцца іншыя налады!\n" -#: internal/arduino/builder/libraries.go:312 +#: internal/arduino/builder/libraries.go:313 msgid "Using library %[1]s at version %[2]s in folder: %[3]s %[4]s" msgstr "Ужыванне бібліятэкі %[1]s з версіяй %[2]s у каталогу: %[3]s %[4]s" -#: internal/arduino/builder/libraries.go:306 +#: internal/arduino/builder/libraries.go:307 msgid "Using library %[1]s in folder: %[2]s %[3]s" msgstr "Ужыванне бібліятэкі %[1]s у каталогу: %[2]s %[3]s" -#: internal/arduino/builder/core.go:120 internal/arduino/builder/core.go:132 +#: internal/arduino/builder/core.go:121 internal/arduino/builder/core.go:133 msgid "Using precompiled core: %[1]s" msgstr "Ужыванне папярэдне скампіляванага ядра: %[1]s" -#: internal/arduino/builder/libraries.go:98 -#: internal/arduino/builder/libraries.go:106 +#: internal/arduino/builder/libraries.go:99 +#: internal/arduino/builder/libraries.go:107 msgid "Using precompiled library in %[1]s" msgstr "Ужыванне папярэдне скампіляванай бібліятэкі ў %[1]s" -#: internal/arduino/builder/archive_compiled_files.go:50 -#: internal/arduino/builder/compilation.go:181 +#: internal/arduino/builder/archive_compiled_files.go:51 +#: internal/arduino/builder/compilation.go:182 msgid "Using previously compiled file: %[1]s" msgstr "Ужыванне раней скампіляванага файла: %[1]s" @@ -2827,11 +2835,11 @@ msgid "Values" msgstr "Значэнні" #: internal/cli/burnbootloader/burnbootloader.go:62 -#: internal/cli/compile/compile.go:122 internal/cli/upload/upload.go:78 +#: internal/cli/compile/compile.go:125 internal/cli/upload/upload.go:78 msgid "Verify uploaded binary after the upload." msgstr "Праверыць загружаны двайковы файл пасля выгрузкі." -#: internal/cli/compile/compile.go:453 internal/cli/compile/compile.go:468 +#: internal/cli/compile/compile.go:472 internal/cli/compile/compile.go:487 #: internal/cli/core/search.go:117 msgid "Version" msgstr "Версія" @@ -2840,26 +2848,26 @@ msgstr "Версія" msgid "Versions: %s" msgstr "Версіі: %s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:185 +#: internal/arduino/cores/packagemanager/install_uninstall.go:187 msgid "WARNING cannot configure platform: %s" msgstr "Увага: не атрымалася канфігураваць платформу: %s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:364 +#: internal/arduino/cores/packagemanager/install_uninstall.go:366 msgid "WARNING cannot configure tool: %s" msgstr "Увага: не атрымалася канфігураваць інструмент: %s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:302 -#: internal/arduino/cores/packagemanager/install_uninstall.go:416 +#: internal/arduino/cores/packagemanager/install_uninstall.go:304 +#: internal/arduino/cores/packagemanager/install_uninstall.go:418 msgid "WARNING cannot run pre_uninstall script: %s" msgstr "Увага: не атрымалася запусціць сцэнар pre_uninstall: %s" -#: internal/cli/compile/compile.go:330 +#: internal/cli/compile/compile.go:339 msgid "WARNING: The sketch is compiled using one or more custom libraries." msgstr "" "Увага: сцэнар скампіляваны з ужываннем адной ці некалькіх карыстальніцкіх " "бібліятэк." -#: internal/arduino/builder/libraries.go:283 +#: internal/arduino/builder/libraries.go:284 msgid "" "WARNING: library %[1]s claims to run on %[2]s architecture(s) and may be " "incompatible with your current board which runs on %[3]s architecture(s)." @@ -2868,11 +2876,11 @@ msgstr "" "можа быць несумяшчальная з вашай бягучай платай, якая працуе на " "архітэктуры(-ах) %[3]s." -#: commands/service_upload.go:520 +#: commands/service_upload.go:521 msgid "Waiting for upload port..." msgstr "Чаканне порта выгрузкі..." -#: commands/service_compile.go:357 +#: commands/service_compile.go:367 msgid "" "Warning: Board %[1]s doesn't define a %[2]s preference. Auto-set to: %[3]s" msgstr "" @@ -2893,7 +2901,7 @@ msgid "" "directory." msgstr "Запіс бягучай канфігурацыі ў файл канфігурацыі ў каталогу дадзеных." -#: internal/cli/compile/compile.go:150 internal/cli/compile/compile.go:153 +#: internal/cli/compile/compile.go:153 internal/cli/compile/compile.go:156 msgid "You cannot use the %s flag while compiling with a profile." msgstr "Вы не можаце ўжываць аргумент %s пры кампіляцыі з ужываннем профілю." @@ -2901,12 +2909,12 @@ msgstr "Вы не можаце ўжываць аргумент %s пры кам msgid "archive hash differs from hash in index" msgstr "архіўны хэш адрозніваецца ад хэша па індэксе" -#: internal/arduino/libraries/librariesmanager/install.go:188 +#: internal/arduino/libraries/librariesmanager/install.go:187 msgid "archive is not valid: multiple files found in zip file top level" msgstr "" "архіў несапраўдны: у верхнім узроўні файла zip знойдзена некалькі файлаў" -#: internal/arduino/libraries/librariesmanager/install.go:191 +#: internal/arduino/libraries/librariesmanager/install.go:190 msgid "archive is not valid: no files found in zip file top level" msgstr "архіў несапраўдны: файлы верхняга ўзроўню файла zip не знойдзеныя" @@ -2930,11 +2938,11 @@ msgstr "асноўны пошук па запыту \"аўдыё\"" msgid "basic search for \"esp32\" and \"display\" limited to official Maintainer" msgstr "асноўны пошук па \"esp32\" і \"display\" абмежаваны афіцыйным распрацоўшчыкам" -#: commands/service_upload.go:791 +#: commands/service_upload.go:792 msgid "binary file not found in %s" msgstr "двайковы файл не знойдзены ў %s" -#: internal/arduino/cores/packagemanager/package_manager.go:348 +#: internal/arduino/cores/packagemanager/package_manager.go:316 msgid "board %s not found" msgstr "плата %s не знойдзеная " @@ -2950,11 +2958,11 @@ msgstr "каталог убудаваных бібліятэк не зададз msgid "can't find latest release of %s" msgstr "не атрымалася знайсці апошнюю версію %s" -#: commands/instances.go:272 +#: commands/instances.go:273 msgid "can't find latest release of tool %s" msgstr "не атрымлася знайсці апошнюю версію інструмента %s" -#: internal/arduino/cores/packagemanager/loader.go:712 +#: internal/arduino/cores/packagemanager/loader.go:709 msgid "can't find pattern for discovery with id %s" msgstr "не атрымалася знайсці шаблон для выяўлення з ідэнтыфікатарам %s" @@ -2962,11 +2970,11 @@ msgstr "не атрымалася знайсці шаблон для выяўл msgid "candidates" msgstr "кандыдаты" -#: commands/service_upload.go:737 commands/service_upload.go:744 +#: commands/service_upload.go:738 commands/service_upload.go:745 msgid "cannot execute upload tool: %s" msgstr "не атрымалася запусціць інструмент выгрузкі: %s" -#: internal/arduino/resources/install.go:40 +#: internal/arduino/resources/install.go:48 msgid "checking local archive integrity" msgstr "праверка цэласнасці лакальнага архіва" @@ -2992,27 +3000,27 @@ msgstr "паведамленне не сінхранізаванае, чакае msgid "computing hash: %s" msgstr "вылічэнне хэша: %s" -#: internal/arduino/cores/fqbn.go:81 +#: pkg/fqbn/fqbn.go:83 msgid "config key %s contains an invalid character" msgstr "ключ канфігурацыі %s змяшчае недапушчальны знак" -#: internal/arduino/cores/fqbn.go:86 +#: pkg/fqbn/fqbn.go:87 msgid "config value %s contains an invalid character" msgstr "значэнне канфігурацыі %s змяшчае недапушчальны знак" -#: internal/arduino/libraries/librariesmanager/install.go:141 +#: internal/arduino/libraries/librariesmanager/install.go:140 msgid "copying library to destination directory:" msgstr "капіраванне бібліятэкі ў каталог прызначэння:" -#: commands/service_upload.go:863 +#: commands/service_upload.go:864 msgid "could not find a valid build artifact" msgstr "не атрымалася знайсці дапушчальны артэфакт зборкі" -#: commands/service_platform_install.go:94 +#: commands/service_platform_install.go:99 msgid "could not overwrite" msgstr "не атрымалася перазапісаць" -#: commands/service_library_install.go:190 +#: commands/service_library_install.go:191 msgid "could not remove old library" msgstr "не атрымалася выдаліць старую бібліятэку" @@ -3021,20 +3029,20 @@ msgstr "не атрымалася выдаліць старую бібліятэ msgid "could not update sketch project file" msgstr "не атрымалася абнавіць сцэнар праекту" -#: internal/arduino/builder/core.go:116 internal/arduino/builder/core.go:140 +#: internal/arduino/builder/core.go:117 internal/arduino/builder/core.go:141 msgid "creating core cache folder: %s" msgstr "стварэнне асноўнага каталогу кэша: %s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:219 +#: internal/arduino/cores/packagemanager/install_uninstall.go:221 msgid "creating installed.json in %[1]s: %[2]s" msgstr "стварэнне nstalled.json у %[1]s: %[2]s" -#: internal/arduino/resources/install.go:45 -#: internal/arduino/resources/install.go:49 +#: internal/arduino/resources/install.go:54 +#: internal/arduino/resources/install.go:58 msgid "creating temp dir for extraction: %s" msgstr "стварэнне часовага каталогу для выняцця: %s" -#: internal/arduino/builder/sizer.go:196 +#: internal/arduino/builder/sizer.go:199 msgid "data section exceeds available space in board" msgstr "аб'ём секцыі дадзеных перавышае даступную прастору на плаце" @@ -3042,15 +3050,15 @@ msgstr "аб'ём секцыі дадзеных перавышае даступ msgid "dependency '%s' is not available" msgstr "залежнасць '%s' недаступная" -#: internal/arduino/libraries/librariesmanager/install.go:94 +#: internal/arduino/libraries/librariesmanager/install.go:93 msgid "destination dir %s already exists, cannot install" msgstr "каталог прызначэння %s ужо існуе, усталяваць не атрымалася" -#: internal/arduino/libraries/librariesmanager/install.go:138 +#: internal/arduino/libraries/librariesmanager/install.go:137 msgid "destination directory already exists" msgstr "каталог прызначэння ўжо існуе" -#: internal/arduino/libraries/librariesmanager/install.go:278 +#: internal/arduino/libraries/librariesmanager/install.go:305 msgid "directory doesn't exist: %s" msgstr "каталог не існуе: %s" @@ -3058,15 +3066,15 @@ msgstr "каталог не існуе: %s" msgid "discovery %[1]s process not started" msgstr "працэс выяўлення %[1]s не запушчаны" -#: internal/arduino/cores/packagemanager/loader.go:644 +#: internal/arduino/cores/packagemanager/loader.go:641 msgid "discovery %s not found" msgstr "выяўленне %s не знойдзенае" -#: internal/arduino/cores/packagemanager/loader.go:648 +#: internal/arduino/cores/packagemanager/loader.go:645 msgid "discovery %s not installed" msgstr "выяўленне %s не ўсталяванае" -#: internal/arduino/cores/packagemanager/package_manager.go:746 +#: internal/arduino/cores/packagemanager/package_manager.go:714 msgid "discovery release not found: %s" msgstr "выпуск выяўлення не знойдзены: %s" @@ -3082,11 +3090,11 @@ msgstr "спампаваць апошнюю версію Arduino з тым жа msgid "downloaded" msgstr "спампаваны" -#: commands/instances.go:55 +#: commands/instances.go:56 msgid "downloading %[1]s tool: %[2]s" msgstr "спампаванне інструмента %[1]s: %[2]s" -#: internal/arduino/cores/fqbn.go:60 +#: pkg/fqbn/fqbn.go:63 msgid "empty board identifier" msgstr "пусты ідэнтыфікатар платы" @@ -3094,7 +3102,7 @@ msgstr "пусты ідэнтыфікатар платы" msgid "error loading sketch project file:" msgstr "памылка пры загрузцы сцэнара праекту:" -#: internal/arduino/cores/packagemanager/loader.go:615 +#: internal/arduino/cores/packagemanager/loader.go:612 msgid "error opening %s" msgstr "памылка пры адкрыцці %s" @@ -3102,19 +3110,19 @@ msgstr "памылка пры адкрыцці %s" msgid "error parsing version constraints" msgstr "памылка пры разборы абмежаванняў версіі" -#: commands/service_board_list.go:115 +#: commands/service_board_identify.go:203 msgid "error processing response from server" msgstr "памылка пры апрацоўцы адказу ад сервера" -#: commands/service_board_list.go:95 +#: commands/service_board_identify.go:183 msgid "error querying Arduino Cloud Api" msgstr "памылка пры запыце Arduino Cloud Api" -#: internal/arduino/libraries/librariesmanager/install.go:179 +#: internal/arduino/libraries/librariesmanager/install.go:178 msgid "extracting archive" msgstr "выманне архіва" -#: internal/arduino/resources/install.go:68 +#: internal/arduino/resources/install.go:77 msgid "extracting archive: %s" msgstr "выманне архіва: %s" @@ -3122,7 +3130,7 @@ msgstr "выманне архіва: %s" msgid "failed to compute hash of file \"%s\"" msgstr "не атрымалася вылічыць хэш файла \"%s\"" -#: commands/service_board_list.go:90 +#: commands/service_board_identify.go:178 msgid "failed to initialize http client" msgstr "не атрымалася ініцыялізаваць кліент http" @@ -3131,7 +3139,7 @@ msgid "fetched archive size differs from size specified in index" msgstr "" "памер атрыманага архіва адрозніваецца ад памеру, які названы ў індэксе" -#: internal/arduino/resources/install.go:123 +#: internal/arduino/resources/install.go:132 msgid "files in archive must be placed in a subdirectory" msgstr "файлы ў архіве павінны быць змешчаныя ў укладзены каталог" @@ -3161,7 +3169,7 @@ msgstr "для апошняй версіі." msgid "for the specific version." msgstr "для канкрэтнай версіі." -#: internal/arduino/cores/fqbn.go:66 +#: pkg/fqbn/fqbn.go:68 msgid "fqbn's field %s contains an invalid character" msgstr "поле FQBN утрымлівае недапушчальны знак" @@ -3185,35 +3193,35 @@ msgstr "атрыманне інфармацыі пра архіў: %s" #: internal/arduino/resources/checksums.go:89 #: internal/arduino/resources/download.go:36 #: internal/arduino/resources/helpers.go:39 -#: internal/arduino/resources/install.go:56 +#: internal/arduino/resources/install.go:65 msgid "getting archive path: %s" msgstr "атрыманне шляху да архіва: %" -#: internal/arduino/cores/packagemanager/package_manager.go:354 +#: internal/arduino/cores/packagemanager/package_manager.go:322 msgid "getting build properties for board %[1]s: %[2]s" msgstr "атрыманне ўласцівасцяў зборкі для платы %[1]s: %[2]s" -#: internal/arduino/cores/packagemanager/download.go:106 +#: internal/arduino/cores/packagemanager/download.go:108 msgid "getting discovery dependencies for platform %[1]s: %[2]s" msgstr "атрыманне залежнасцяў выяўлення для платформы %[1]s: %[2]s" -#: internal/arduino/cores/packagemanager/download.go:114 +#: internal/arduino/cores/packagemanager/download.go:116 msgid "getting monitor dependencies for platform %[1]s: %[2]s" msgstr "атрыманне залежнасцяў манітора для платформы %[1]s: %[2]s" -#: internal/arduino/cores/packagemanager/download.go:99 +#: internal/arduino/cores/packagemanager/download.go:101 msgid "getting tool dependencies for platform %[1]s: %[2]s" msgstr "атрыманне залежнасцяў інструментаў для платформы %[1]s: %[2]s" -#: internal/arduino/libraries/librariesmanager/install.go:149 +#: internal/arduino/libraries/librariesmanager/install.go:148 msgid "install directory not set" msgstr "каталог для ўсталявання не зададзены" -#: commands/instances.go:59 +#: commands/instances.go:60 msgid "installing %[1]s tool: %[2]s" msgstr "усталяванне інструменту %[1]s: %[2]s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:211 +#: internal/arduino/cores/packagemanager/install_uninstall.go:213 msgid "installing platform %[1]s: %[2]s" msgstr "усталяванне платформы %[1]s: %[2]s" @@ -3229,7 +3237,7 @@ msgstr "хібная дырэктыва '%s'" msgid "invalid checksum format: %s" msgstr "хібны фармат кантрольнай сумы: %s" -#: internal/arduino/cores/fqbn.go:73 internal/arduino/cores/fqbn.go:78 +#: pkg/fqbn/fqbn.go:75 pkg/fqbn/fqbn.go:80 msgid "invalid config option: %s" msgstr "хібная налада канфігурацыі: %s" @@ -3261,11 +3269,14 @@ msgstr "хібная пустая назва ядра" msgid "invalid empty library version: %s" msgstr "хібная пустая версія адра: %s" -#: internal/arduino/cores/board.go:143 +#: internal/arduino/cores/board.go:144 msgid "invalid empty option found" msgstr "знойдзена хібная пустая налада" -#: internal/arduino/libraries/librariesmanager/install.go:268 +#: internal/arduino/libraries/librariesmanager/install.go:276 +#: internal/arduino/libraries/librariesmanager/install.go:279 +#: internal/arduino/libraries/librariesmanager/install.go:286 +#: internal/arduino/libraries/librariesmanager/install.go:290 msgid "invalid git url" msgstr "хібны адрас URL git" @@ -3293,7 +3304,7 @@ msgstr "хібнае размяшчэнне бібліятэкі: %s" msgid "invalid library: no header files found" msgstr "хібная бібліятэка: файлы загалоўкаў не знойдзеныя" -#: internal/arduino/cores/board.go:146 +#: internal/arduino/cores/board.go:147 msgid "invalid option '%s'" msgstr "хібная налада '%s'" @@ -3309,10 +3320,6 @@ msgstr "хібны шлях для стварэння каталога канф msgid "invalid path writing inventory file: %[1]s error" msgstr "хібны шлях для запісу файла інвентарызацыі: памылка %[1]s" -#: internal/arduino/cores/packageindex/index.go:278 -msgid "invalid platform archive size: %s" -msgstr "хібны памер архіва платформы: %s" - #: internal/arduino/sketch/profiles.go:252 msgid "invalid platform identifier" msgstr "хібны ідэнтыфікатар платформы" @@ -3333,7 +3340,7 @@ msgstr "хібнае значэнне канфігурацыі порта для msgid "invalid port configuration: %s=%s" msgstr "хібная канфігурацыя порта: %s=%s" -#: commands/service_upload.go:724 +#: commands/service_upload.go:725 msgid "invalid recipe '%[1]s': %[2]s" msgstr "хібны пакет '%[1]s': %[2]s" @@ -3346,7 +3353,7 @@ msgstr "" "хібная назва сцэнару \"%[1]s\": першы знак павінен быць літарна-лічбавым ці \"_\", наступныя таксама могуць утрымліваць \"-\" і \".\".\n" "Апошні знак не можа быць \".\"." -#: internal/arduino/cores/board.go:150 +#: internal/arduino/cores/board.go:151 msgid "invalid value '%[1]s' for option '%[2]s'" msgstr "хібнае значэнне '%[1]s' для налады '%[2]s'" @@ -3388,11 +3395,11 @@ msgstr "бібліятэкі з \"buzzer\" у полі назвы" msgid "libraries with a Name exactly matching \"pcf8523\"" msgstr "бібліятэкі з назвай, якая дакладна супадае з \"pcf8523\"" -#: internal/arduino/libraries/librariesmanager/install.go:126 +#: internal/arduino/libraries/librariesmanager/install.go:125 msgid "library %s already installed" msgstr "бібліятэка %s ужо ўсталяваная" -#: internal/arduino/libraries/librariesmanager/install.go:315 +#: internal/arduino/libraries/librariesmanager/install.go:342 msgid "library not valid" msgstr "бібліятэка несапраўдная" @@ -3406,8 +3413,8 @@ msgstr "загрузка %[1]s: %[2]s" msgid "loading boards: %s" msgstr "загрузка платы: %s" -#: internal/arduino/cores/packagemanager/package_manager.go:501 -#: internal/arduino/cores/packagemanager/package_manager.go:516 +#: internal/arduino/cores/packagemanager/package_manager.go:469 +#: internal/arduino/cores/packagemanager/package_manager.go:484 msgid "loading json index file %[1]s: %[2]s" msgstr "загрузка індэкснага файла json %[1]s: %[2]s" @@ -3436,7 +3443,7 @@ msgstr "загрузка неабходнай платформы %s" msgid "loading required tool %s" msgstr "загрузка неабходнага інструмента %s" -#: internal/arduino/cores/packagemanager/loader.go:590 +#: internal/arduino/cores/packagemanager/loader.go:587 msgid "loading tool release in %s" msgstr "загрузка выпуску інструмента ў %s" @@ -3444,7 +3451,7 @@ msgstr "загрузка выпуску інструмента ў %s" msgid "looking for boards.txt in %s" msgstr "пошук boards.txt у %s" -#: commands/service_upload.go:806 +#: commands/service_upload.go:807 msgid "looking for build artifacts" msgstr "пошук артэфактаў зборкі" @@ -3460,7 +3467,7 @@ msgstr "адсутнічае дырэктыва '%s'" msgid "missing checksum for: %s" msgstr "адсутнічае кантрольная сума для: %s" -#: internal/arduino/cores/packagemanager/package_manager.go:462 +#: internal/arduino/cores/packagemanager/package_manager.go:430 msgid "missing package %[1]s referenced by board %[2]s" msgstr "адсутнічае пакет %[1]s, на які спасылаецца плата%[2]s" @@ -3469,30 +3476,30 @@ msgid "missing package index for %s, future updates cannot be guaranteed" msgstr "" "адсутнічае індэкс пакета %s, будучыя абнаўленні не могуць быць гарантаваныя" -#: internal/arduino/cores/packagemanager/package_manager.go:467 +#: internal/arduino/cores/packagemanager/package_manager.go:435 msgid "missing platform %[1]s:%[2]s referenced by board %[3]s" msgstr "адсутнічае платформа %[1]s: %[2]s на якую спасылаецца плата %[3]s" -#: internal/arduino/cores/packagemanager/package_manager.go:472 +#: internal/arduino/cores/packagemanager/package_manager.go:440 msgid "missing platform release %[1]s:%[2]s referenced by board %[3]s" msgstr "" "адсутнічае выпуск платформы %[1]s: %[2]s на які спасылаецца плата %[3]s" #: internal/arduino/resources/index.go:153 msgid "missing signature" -msgstr "адсутнчіае сігнатура" +msgstr "адсутнічае сігнатура" -#: internal/arduino/cores/packagemanager/package_manager.go:757 +#: internal/arduino/cores/packagemanager/package_manager.go:725 msgid "monitor release not found: %s" msgstr "выпуск маніторынгу не знойдзена: %s" -#: internal/arduino/libraries/librariesmanager/install.go:197 -#: internal/arduino/libraries/librariesmanager/install.go:246 -#: internal/arduino/resources/install.go:97 +#: internal/arduino/libraries/librariesmanager/install.go:196 +#: internal/arduino/libraries/librariesmanager/install.go:247 +#: internal/arduino/resources/install.go:106 msgid "moving extracted archive to destination dir: %s" msgstr "перамяшчэнне вынятага архіва ў каталог прызначэння: %s" -#: commands/service_upload.go:858 +#: commands/service_upload.go:859 msgid "multiple build artifacts found: '%[1]s' and '%[2]s'" msgstr "выяўлена некалькі артэфактаў зборкі: '%[1]s' і '%[2]s'" @@ -3500,7 +3507,7 @@ msgstr "выяўлена некалькі артэфактаў зборкі: '%[ msgid "multiple main sketch files found (%[1]v, %[2]v)" msgstr "знойдзена некалькі асноўных файлаў сцэнара (%[1]v, %[2]v)" -#: internal/arduino/cores/packagemanager/install_uninstall.go:338 +#: internal/arduino/cores/packagemanager/install_uninstall.go:340 msgid "" "no compatible version of %[1]s tools found for the current os, try " "contacting %[2]s" @@ -3508,11 +3515,11 @@ msgstr "" "не знойдзена сумяшчальнай версіі інструментаў %[1]s для бягучай аперацыйнай " "сістэмы, паспрабуйце звязацца з %[2]s" -#: commands/service_board_list.go:273 +#: commands/service_board_list.go:106 msgid "no instance specified" msgstr "асобнік не пазначаны" -#: commands/service_upload.go:813 +#: commands/service_upload.go:814 msgid "no sketch or build directory/file specified" msgstr "не паказаны каталог/файл сцэнара або зборкі" @@ -3520,12 +3527,12 @@ msgstr "не паказаны каталог/файл сцэнара або зб msgid "no such file or directory" msgstr "такога файла ці каталога няма" -#: internal/arduino/resources/install.go:126 +#: internal/arduino/resources/install.go:135 msgid "no unique root dir in archive, found '%[1]s' and '%[2]s'" msgstr "" "у архіве няма ўнікальнага каранёвага каталога, знойдзена '%[1]s' і '%[2]s'" -#: commands/service_upload.go:719 +#: commands/service_upload.go:720 msgid "no upload port provided" msgstr "порт загрузкі не пазначаны" @@ -3533,13 +3540,13 @@ msgstr "порт загрузкі не пазначаны" msgid "no valid sketch found in %[1]s: missing %[2]s" msgstr "не знойдзены сапраўдны сцэнар у %[1]s: адсутнічае %[2]s" -#: internal/arduino/cores/packagemanager/download.go:128 +#: internal/arduino/cores/packagemanager/download.go:130 msgid "no versions available for the current OS, try contacting %s" msgstr "" "для бягучай аперацыйнай сістэмы не даступна ні адной версіі, паспрабуйце " "звязацца з %s" -#: internal/arduino/cores/fqbn.go:50 +#: pkg/fqbn/fqbn.go:53 msgid "not an FQBN: %s" msgstr "не з'яўляецца FQBN: %s" @@ -3548,7 +3555,7 @@ msgid "not running in a terminal" msgstr "не працуе ў тэрмінале" #: internal/arduino/resources/checksums.go:71 -#: internal/arduino/resources/install.go:60 +#: internal/arduino/resources/install.go:69 msgid "opening archive file: %s" msgstr "адкрыццё файла архіва: %s" @@ -3556,26 +3563,26 @@ msgstr "адкрыццё файла архіва: %s" msgid "opening boards.txt" msgstr "адкрыццё boards.txt" -#: internal/arduino/security/signatures.go:81 +#: internal/arduino/security/signatures.go:82 msgid "opening signature file: %s" msgstr "адкрыццё файла сігнатуры: %s" -#: internal/arduino/security/signatures.go:76 +#: internal/arduino/security/signatures.go:78 msgid "opening target file: %s" msgstr "адкрыццё мэтавага файлау: %s" -#: internal/arduino/cores/packagemanager/download.go:76 +#: internal/arduino/cores/packagemanager/download.go:78 #: internal/arduino/cores/status.go:97 internal/arduino/cores/status.go:122 #: internal/arduino/cores/status.go:149 msgid "package %s not found" msgstr "пакет %s не знойдзены" -#: internal/arduino/cores/packagemanager/package_manager.go:530 +#: internal/arduino/cores/packagemanager/package_manager.go:498 msgid "package '%s' not found" msgstr "пакет '%s' не знойдзены" -#: internal/arduino/cores/board.go:166 -#: internal/arduino/cores/packagemanager/package_manager.go:295 +#: internal/arduino/cores/board.go:167 +#: internal/arduino/cores/packagemanager/package_manager.go:263 msgid "parsing fqbn: %s" msgstr "разбор fqbn: %s" @@ -3587,26 +3594,26 @@ msgstr "разбор library_index.json: %s" msgid "path is not a platform directory: %s" msgstr "шлях не з'яўляецца каталогам платформы: %s" -#: internal/arduino/cores/packagemanager/download.go:80 +#: internal/arduino/cores/packagemanager/download.go:82 msgid "platform %[1]s not found in package %[2]s" msgstr "платформа %[1]s не знойдзена ў пакеце %[2]s" -#: internal/arduino/cores/packagemanager/package_manager.go:341 +#: internal/arduino/cores/packagemanager/package_manager.go:309 msgid "platform %s is not installed" msgstr "платформа %s не ўсталяваная" -#: internal/arduino/cores/packagemanager/download.go:92 +#: commands/cmderrors/cmderrors.go:427 msgid "platform is not available for your OS" msgstr "платформа недаступная для вашай аперацыйнай сістэмы" -#: commands/service_compile.go:126 -#: internal/arduino/cores/packagemanager/install_uninstall.go:179 -#: internal/arduino/cores/packagemanager/install_uninstall.go:283 -#: internal/arduino/cores/packagemanager/loader.go:420 +#: commands/service_compile.go:129 +#: internal/arduino/cores/packagemanager/install_uninstall.go:181 +#: internal/arduino/cores/packagemanager/install_uninstall.go:285 +#: internal/arduino/cores/packagemanager/loader.go:417 msgid "platform not installed" msgstr "платформа не ўсталяваная" -#: internal/cli/compile/compile.go:139 +#: internal/cli/compile/compile.go:142 msgid "please use --build-property instead." msgstr "калі ласка, ужывайце --build-property." @@ -3641,15 +3648,15 @@ msgstr "чытанне зместу каталога %[1]s" #: internal/arduino/cores/packagemanager/loader.go:69 #: internal/arduino/cores/packagemanager/loader.go:151 #: internal/arduino/cores/packagemanager/loader.go:218 -#: internal/arduino/cores/packagemanager/loader.go:582 +#: internal/arduino/cores/packagemanager/loader.go:579 msgid "reading directory %s" msgstr "чытанне каталогу %s" -#: internal/arduino/libraries/librariesmanager/install.go:288 +#: internal/arduino/libraries/librariesmanager/install.go:315 msgid "reading directory %s content" msgstr "чытанне зместу каталога %s" -#: internal/arduino/builder/sketch.go:81 +#: internal/arduino/builder/sketch.go:83 msgid "reading file %[1]s: %[2]s" msgstr "чытанне файлу %[1]s: %[2]s" @@ -3673,7 +3680,7 @@ msgstr "чытанне зыходнага каталогу бібліятэкі: msgid "reading library_index.json: %s" msgstr "чытанне library_index.json: %s" -#: internal/arduino/resources/install.go:116 +#: internal/arduino/resources/install.go:125 msgid "reading package root dir: %s" msgstr "чытанне каранёвага каталога пакету: %s" @@ -3681,11 +3688,11 @@ msgstr "чытанне каранёвага каталога пакету: %s" msgid "reading sketch files" msgstr "чытанне файлаў сцэнару" -#: commands/service_upload.go:713 +#: commands/service_upload.go:714 msgid "recipe not found '%s'" msgstr "пакет '%s' не знойдзены" -#: internal/arduino/cores/packagemanager/package_manager.go:606 +#: internal/arduino/cores/packagemanager/package_manager.go:574 msgid "release %[1]s not found for tool %[2]s" msgstr "не знойдзены выпуск %[1]s для інструмента %[2]s" @@ -3698,19 +3705,19 @@ msgstr "выпуск не можа быць нулявым" msgid "removing corrupted archive file: %s" msgstr "выдаленне пашкоджанага архіўнага файла: %s" -#: internal/arduino/libraries/librariesmanager/install.go:152 +#: internal/arduino/libraries/librariesmanager/install.go:151 msgid "removing library directory: %s" msgstr "выдаленне каталогу бібліятэкі: %s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:310 +#: internal/arduino/cores/packagemanager/install_uninstall.go:312 msgid "removing platform files: %s" msgstr "выдаленне файлаў платформы: %s" -#: internal/arduino/cores/packagemanager/download.go:87 +#: internal/arduino/cores/packagemanager/download.go:89 msgid "required version %[1]s not found for platform %[2]s" msgstr "неабходная версія %[1]s для платформы %[2]s не знойдзена" -#: internal/arduino/security/signatures.go:72 +#: internal/arduino/security/signatures.go:74 msgid "retrieving Arduino public keys: %s" msgstr "выманне адкрытых ключоў Arduino: %s" @@ -3719,10 +3726,16 @@ msgstr "выманне адкрытых ключоў Arduino: %s" msgid "scanning sketch examples" msgstr "чытанне прыкладаў сцэнара" -#: internal/arduino/resources/install.go:74 +#: internal/arduino/resources/install.go:83 msgid "searching package root dir: %s" msgstr "пошук у каранёвым каталогу пакета: %s" +#: internal/arduino/security/signatures.go:87 +msgid "signature expired: is your system clock set correctly?" +msgstr "" +"скончыўся тэрмін дзеяння сігнатуры: ці правільна зададзены ваш сістэмны " +"гадзіннік?" + #: commands/service_sketch_new.go:78 msgid "sketch name cannot be empty" msgstr "назва сцэнара не можа быць пустым" @@ -3762,11 +3775,11 @@ msgstr "праверка памеру архіва: %s" msgid "testing if archive is cached: %s" msgstr "праверка, ці кэшаваны архіў: %s" -#: internal/arduino/resources/install.go:38 +#: internal/arduino/resources/install.go:46 msgid "testing local archive integrity: %s" msgstr "Праверка цэласнасці лакальнага архіва: %s" -#: internal/arduino/builder/sizer.go:191 +#: internal/arduino/builder/sizer.go:194 msgid "text section exceeds available space in board" msgstr "тэкставы падзел займае больш месца на плаце" @@ -3775,7 +3788,7 @@ msgstr "тэкставы падзел займае больш месца на п msgid "the compilation database may be incomplete or inaccurate" msgstr "база дадзеных для складання можа быць няпоўнай ці недакладнай" -#: commands/service_board_list.go:102 +#: commands/service_board_identify.go:190 msgid "the server responded with status %s" msgstr "сервер адказаў паведамленнем пра стан %s" @@ -3783,7 +3796,7 @@ msgstr "сервер адказаў паведамленнем пра стан % msgid "timeout waiting for message" msgstr "час чакання паведамлення" -#: internal/arduino/cores/packagemanager/install_uninstall.go:404 +#: internal/arduino/cores/packagemanager/install_uninstall.go:406 msgid "tool %s is not managed by package manager" msgstr "інструмент %s не кіруецца кіраўніком пакетаў" @@ -3792,16 +3805,16 @@ msgstr "інструмент %s не кіруецца кіраўніком па msgid "tool %s not found" msgstr "інструмент %s не знойдзены" -#: internal/arduino/cores/packagemanager/package_manager.go:556 +#: internal/arduino/cores/packagemanager/package_manager.go:524 msgid "tool '%[1]s' not found in package '%[2]s'" msgstr "інструмент '%[1]s не знойдзены ў пакеты '%[2]s'" -#: internal/arduino/cores/packagemanager/install_uninstall.go:399 +#: internal/arduino/cores/packagemanager/install_uninstall.go:401 msgid "tool not installed" msgstr "інструмент не ўсталяваны" -#: internal/arduino/cores/packagemanager/package_manager.go:735 -#: internal/arduino/cores/packagemanager/package_manager.go:841 +#: internal/arduino/cores/packagemanager/package_manager.go:703 +#: internal/arduino/cores/packagemanager/package_manager.go:809 msgid "tool release not found: %s" msgstr "выпуск інструмента не знойдзены: %s" @@ -3809,21 +3822,21 @@ msgstr "выпуск інструмента не знойдзены: %s" msgid "tool version %s not found" msgstr "інструмент версіі %s не знойдзена" -#: commands/service_library_install.go:92 +#: commands/service_library_install.go:93 msgid "" "two different versions of the library %[1]s are required: %[2]s and %[3]s" msgstr "патрабуюцца дзве розныя версіі бібліятэкі%[1]s: %[2]s і %[3]s" -#: internal/arduino/builder/sketch.go:74 -#: internal/arduino/builder/sketch.go:118 +#: internal/arduino/builder/sketch.go:76 +#: internal/arduino/builder/sketch.go:120 msgid "unable to compute relative path to the sketch for the item" msgstr "не атрымалася вылічыць адносны шлях да сцэнара элемента" -#: internal/arduino/builder/sketch.go:43 +#: internal/arduino/builder/sketch.go:45 msgid "unable to create a folder to save the sketch" msgstr "не атрымалася стварыць каталог для захавання сцэнара" -#: internal/arduino/builder/sketch.go:124 +#: internal/arduino/builder/sketch.go:126 msgid "unable to create the folder containing the item" msgstr "не атрымалася стварыць каталог, які змяшчае элемент" @@ -3831,23 +3844,23 @@ msgstr "не атрымалася стварыць каталог, які змя msgid "unable to marshal config to YAML: %v" msgstr "не атрымалася пераўтварыць канфігурацыю ў YAML: %v" -#: internal/arduino/builder/sketch.go:162 +#: internal/arduino/builder/sketch.go:164 msgid "unable to read contents of the destination item" msgstr "не атрымалася прачытаць змест элементу прызначэння" -#: internal/arduino/builder/sketch.go:135 +#: internal/arduino/builder/sketch.go:137 msgid "unable to read contents of the source item" msgstr "не атрымалася прачытаць змест зыходнага элемента" -#: internal/arduino/builder/sketch.go:145 +#: internal/arduino/builder/sketch.go:147 msgid "unable to write to destination file" msgstr "не атрымалася запісаць у файл прызначэння" -#: internal/arduino/cores/packagemanager/package_manager.go:329 +#: internal/arduino/cores/packagemanager/package_manager.go:297 msgid "unknown package %s" msgstr "невядомы пакет %s" -#: internal/arduino/cores/packagemanager/package_manager.go:336 +#: internal/arduino/cores/packagemanager/package_manager.go:304 msgid "unknown platform %s:%s" msgstr "невядомая платформа %s: %s" @@ -3867,7 +3880,7 @@ msgstr "абнаўленне arduino: samd да апошняй версіі" msgid "upgrade everything to the latest version" msgstr "абнаўленне ўсяго да апошняй версіі" -#: commands/service_upload.go:759 +#: commands/service_upload.go:760 msgid "uploading error: %s" msgstr "памылка пры загрузцы: %s" @@ -3891,6 +3904,6 @@ msgstr "версія %s недаступная для дадзенай апер msgid "version %s not found" msgstr "версія %s не знойдзена" -#: commands/service_board_list.go:120 +#: commands/service_board_identify.go:208 msgid "wrong format in server response" msgstr "няправільны фармат у адказе сервера" diff --git a/internal/i18n/data/de.po b/internal/locales/data/de.po similarity index 88% rename from internal/i18n/data/de.po rename to internal/locales/data/de.po index 7323c48f6e5..982b1b2f6ae 100644 --- a/internal/i18n/data/de.po +++ b/internal/locales/data/de.po @@ -4,21 +4,22 @@ # Dan H, 2021 # CLI team , 2022 # Dee Gee, 2022 -# Ettore Atalan , 2022 # C A, 2022 # Luc Ohles, 2023 # Jannis Lämmle, 2023 # Jens Wulf, 2023 # Ralf Krause, 2024 +# Ettore Atalan , 2025 +# Per Tillisch , 2025 # msgid "" msgstr "" -"Last-Translator: Ralf Krause, 2024\n" +"Last-Translator: Per Tillisch , 2025\n" "Language-Team: German (https://app.transifex.com/arduino-1/teams/108174/de/)\n" "Language: de\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: version/version.go:56 +#: internal/version/version.go:56 msgid "%[1]s %[2]s Version: %[3]s Commit: %[4]s Date: %[5]s" msgstr "%[1]s %[2]s Version: %[3]s Commit: %[4]s Datum: %[5]s" @@ -32,11 +33,11 @@ msgstr "" msgid "%[1]s invalid, rebuilding all" msgstr "%[1]s ungültig, alles wird neu gebaut" -#: internal/cli/lib/check_deps.go:124 +#: internal/cli/lib/check_deps.go:125 msgid "%[1]s is required but %[2]s is currently installed." msgstr "%[1]s wird benötigt, aber %[2]s ist aktuell installiert." -#: internal/arduino/builder/builder.go:486 +#: internal/arduino/builder/builder.go:487 msgid "%[1]s pattern is missing" msgstr "Muster %[1]s fehlt" @@ -44,45 +45,45 @@ msgstr "Muster %[1]s fehlt" msgid "%s already downloaded" msgstr "%s bereits heruntergeladen" -#: commands/service_upload.go:781 +#: commands/service_upload.go:782 msgid "%s and %s cannot be used together" msgstr "%s und %s können nicht gemeinsam verwendet werden" -#: internal/arduino/cores/packagemanager/install_uninstall.go:371 +#: internal/arduino/cores/packagemanager/install_uninstall.go:373 msgid "%s installed" msgstr "%s installiert" -#: internal/cli/lib/check_deps.go:121 +#: internal/cli/lib/check_deps.go:122 msgid "%s is already installed." msgstr "%s ist bereits installiert." #: internal/arduino/cores/packagemanager/loader.go:63 -#: internal/arduino/cores/packagemanager/loader.go:617 +#: internal/arduino/cores/packagemanager/loader.go:614 msgid "%s is not a directory" msgstr "%s ist kein Verzeichnis" -#: internal/arduino/cores/packagemanager/install_uninstall.go:290 +#: internal/arduino/cores/packagemanager/install_uninstall.go:292 msgid "%s is not managed by package manager" msgstr "%s wird nicht vom Paketmanager verwaltet" #: internal/cli/daemon/daemon.go:67 msgid "%s must be >= 1024" -msgstr "" +msgstr "%s muss >= 1024 sein" -#: internal/cli/lib/check_deps.go:118 +#: internal/cli/lib/check_deps.go:119 msgid "%s must be installed." msgstr "%s muss installiert sein." -#: internal/arduino/builder/internal/preprocessor/ctags.go:192 -#: internal/arduino/builder/internal/preprocessor/gcc.go:62 +#: internal/arduino/builder/internal/preprocessor/ctags.go:193 +#: internal/arduino/builder/internal/preprocessor/gcc.go:63 msgid "%s pattern is missing" msgstr "Muster %s fehlt" -#: commands/cmderrors/cmderrors.go:818 +#: commands/cmderrors/cmderrors.go:839 msgid "'%s' has an invalid signature" msgstr "'%s' hat eine ungültige Signatur" -#: internal/arduino/cores/packagemanager/package_manager.go:448 +#: internal/arduino/cores/packagemanager/package_manager.go:416 msgid "" "'build.core' and 'build.variant' refer to different platforms: %[1]s and " "%[2]s" @@ -94,7 +95,7 @@ msgstr "" msgid "(hidden)" msgstr "(versteckt)" -#: internal/arduino/builder/libraries.go:302 +#: internal/arduino/builder/libraries.go:303 msgid "(legacy)" msgstr "(veraltet)" @@ -128,7 +129,7 @@ msgstr ".ino-Datei existiert bereits" msgid "A new release of Arduino CLI is available:" msgstr "Eine neue Version von Arduino CLI ist verfügbar:" -#: commands/cmderrors/cmderrors.go:299 +#: commands/cmderrors/cmderrors.go:300 msgid "A programmer is required to upload" msgstr "Zum Hochladen ist ein Programmer benötigt" @@ -161,7 +162,7 @@ msgstr "Alle Plattformen sind aktuell" msgid "All the cores are already at the latest version" msgstr "Alle Kerne sind bereits auf der neuesten Version" -#: commands/service_library_install.go:135 +#: commands/service_library_install.go:136 msgid "Already installed %s" msgstr "Bereits installiert %s" @@ -189,7 +190,7 @@ msgstr "Architektur: %s" msgid "Archive already exists" msgstr "Archiv existiert bereits" -#: internal/arduino/builder/core.go:163 +#: internal/arduino/builder/core.go:164 msgid "Archiving built core (caching) in: %[1]s" msgstr "Gebauter Kern wird archiviert (zwischengespeichert) in: %[1]s" @@ -237,7 +238,7 @@ msgstr "Ordnet einen Sketch einem Board zu." msgid "Author: %s" msgstr "Autor: %s" -#: internal/arduino/libraries/librariesmanager/install.go:79 +#: internal/arduino/libraries/librariesmanager/install.go:78 msgid "" "Automatic library install can't be performed in this case, please manually " "remove all duplicates and retry." @@ -278,39 +279,41 @@ msgstr "Platinenname:" msgid "Board version:" msgstr "Platinenversion:" -#: internal/arduino/builder/sketch.go:243 +#: internal/arduino/builder/sketch.go:245 msgid "Bootloader file specified but missing: %[1]s" msgstr "Bootloader-Datei angegeben, aber nicht vorhanden: %[1]s" -#: internal/cli/compile/compile.go:101 +#: internal/cli/compile/compile.go:104 msgid "" "Builds of cores and sketches are saved into this path to be cached and " "reused." msgstr "" +"Builds von Kernen und Sketches werden in diesem Pfad gespeichert, damit sie " +"zwischengespeichert und wiederverwendet werden können." #: internal/arduino/resources/index.go:65 msgid "Can't create data directory %s" msgstr "Datenverzeichnis %s kann nicht erstellt werden" -#: commands/cmderrors/cmderrors.go:511 +#: commands/cmderrors/cmderrors.go:532 msgid "Can't create sketch" msgstr "Sketch kann nicht erstellt werden" -#: commands/service_library_download.go:91 -#: commands/service_library_download.go:94 +#: commands/service_library_download.go:95 +#: commands/service_library_download.go:98 msgid "Can't download library" msgstr "Bibliothek kann nicht heruntergeladen werden" #: commands/service_platform_uninstall.go:89 -#: internal/arduino/cores/packagemanager/install_uninstall.go:136 +#: internal/arduino/cores/packagemanager/install_uninstall.go:138 msgid "Can't find dependencies for platform %s" msgstr "Abhängigkeiten für die Plattform %s können nicht gefunden werden" -#: commands/cmderrors/cmderrors.go:537 +#: commands/cmderrors/cmderrors.go:558 msgid "Can't open sketch" msgstr "Sketch kann nicht geöffnet werden" -#: commands/cmderrors/cmderrors.go:524 +#: commands/cmderrors/cmderrors.go:545 msgid "Can't update sketch" msgstr "Sketch kann nicht aktualisiert werden" @@ -322,11 +325,11 @@ msgstr "Die folgenden Flags können nicht gemeinsam verwendet werden: %s" msgid "Can't write debug log: %s" msgstr "Debug-Log kann icht geschrieben werden: %s" -#: commands/service_compile.go:187 commands/service_compile.go:190 +#: commands/service_compile.go:190 commands/service_compile.go:193 msgid "Cannot create build cache directory" msgstr "Cache-Verzeichnis kann nicht angelegt werden" -#: commands/service_compile.go:212 +#: commands/service_compile.go:215 msgid "Cannot create build directory" msgstr "Build-Verzeichnis kann nicht angelegt werden" @@ -338,11 +341,11 @@ msgstr "Verzeichnis der Konfigurationsdatei kann nicht erstellt werden: %v" msgid "Cannot create config file: %v" msgstr "Konfigurationsdatei kann nicht erstellt werden: %v" -#: commands/cmderrors/cmderrors.go:781 +#: commands/cmderrors/cmderrors.go:802 msgid "Cannot create temp dir" msgstr "Temporärer Ordner kann nicht erstellt werden" -#: commands/cmderrors/cmderrors.go:799 +#: commands/cmderrors/cmderrors.go:820 msgid "Cannot create temp file" msgstr "Temporäre Datei kann nicht erstellt werden" @@ -364,15 +367,15 @@ msgstr "Absoluter Pfad %v wurde nicht gefunden" msgid "Cannot get the configuration key %[1]s: %[2]v" msgstr "Der Konfigurationsschlüssel %[1]s kann nicht abgerufen werden: %[2]v" -#: internal/arduino/cores/packagemanager/install_uninstall.go:143 +#: internal/arduino/cores/packagemanager/install_uninstall.go:145 msgid "Cannot install platform" msgstr "Plattform kann nicht installiert werden" -#: internal/arduino/cores/packagemanager/install_uninstall.go:349 +#: internal/arduino/cores/packagemanager/install_uninstall.go:351 msgid "Cannot install tool %s" msgstr "Werkzeug %s kann nicht installiert werden" -#: commands/service_upload.go:543 +#: commands/service_upload.go:544 msgid "Cannot perform port reset: %s" msgstr "Port-Reset konnte nicht ausgeführt werden: %s" @@ -381,7 +384,7 @@ msgstr "Port-Reset konnte nicht ausgeführt werden: %s" msgid "Cannot remove the configuration key %[1]s: %[2]v" msgstr "Der Konfigurationsschlüssel %[1]s kann nicht entfernt werden: %[2]v" -#: internal/arduino/cores/packagemanager/install_uninstall.go:161 +#: internal/arduino/cores/packagemanager/install_uninstall.go:163 msgid "Cannot upgrade platform" msgstr "Plattform kann nicht upgegraded werden" @@ -423,27 +426,31 @@ msgstr "" "Befehl läuft weiter und gibt die Liste der verbundenen Platinen aus, sobald " "sich eine Änderung ergibt." -#: commands/service_debug_config.go:178 commands/service_upload.go:451 +#: commands/service_debug_config.go:178 commands/service_upload.go:452 msgid "Compiled sketch not found in %s" msgstr "Kompilierter Sketch wurde nicht in%s gefunden" +#: internal/arduino/builder/internal/preprocessor/gcc.go:93 +msgid "Compiler error output has been truncated." +msgstr "" + #: internal/cli/compile/compile.go:80 internal/cli/compile/compile.go:81 msgid "Compiles Arduino sketches." msgstr "Kompiliert Arduino-Sketche." -#: internal/arduino/builder/builder.go:420 +#: internal/arduino/builder/builder.go:421 msgid "Compiling core..." msgstr "Kern wird kompiliert ..." -#: internal/arduino/builder/builder.go:399 +#: internal/arduino/builder/builder.go:400 msgid "Compiling libraries..." msgstr "Bibliotheken werden kompiliert ..." -#: internal/arduino/builder/libraries.go:133 +#: internal/arduino/builder/libraries.go:134 msgid "Compiling library \"%[1]s\"" msgstr "Bibliothek \"%[1]s\" wird kompiliert" -#: internal/arduino/builder/builder.go:383 +#: internal/arduino/builder/builder.go:384 msgid "Compiling sketch..." msgstr "Sketch wird kompiliert ..." @@ -470,11 +477,11 @@ msgstr "" "Konfiguriere die Com-Port-Einstellungen. Das Format lautet: " "=[,=]..." -#: internal/arduino/cores/packagemanager/install_uninstall.go:177 +#: internal/arduino/cores/packagemanager/install_uninstall.go:179 msgid "Configuring platform." msgstr "Konfiguriere Plattform" -#: internal/arduino/cores/packagemanager/install_uninstall.go:359 +#: internal/arduino/cores/packagemanager/install_uninstall.go:361 msgid "Configuring tool." msgstr "Konfiguriere Werkzeug." @@ -490,19 +497,19 @@ msgstr "Verbindung zu %s wird hergestellt. Abbrechen mit STRG-C." msgid "Core" msgstr "Kern" -#: internal/cli/configuration/network.go:103 +#: internal/cli/configuration/network.go:127 msgid "Could not connect via HTTP" msgstr "Konnte nicht über HTTP verbinden" -#: commands/instances.go:486 +#: commands/instances.go:487 msgid "Could not create index directory" msgstr "Indexverzeichnis konnte nicht erstellt werden" -#: internal/arduino/builder/core.go:41 +#: internal/arduino/builder/core.go:42 msgid "Couldn't deeply cache core build: %[1]s" msgstr "Der Core-Build konnte nicht zwischengespeichert werden: %[1]s" -#: internal/arduino/builder/sizer.go:154 +#: internal/arduino/builder/sizer.go:155 msgid "Couldn't determine program size" msgstr "Programmgröße konnte nicht ermittelt werden" @@ -514,7 +521,7 @@ msgstr "Das aktuelle Arbeitsverzeichnis konnte nicht gefunden werden: %v " msgid "Create a new Sketch" msgstr "Einen neuen Sketch erstellen" -#: internal/cli/compile/compile.go:98 +#: internal/cli/compile/compile.go:101 msgid "Create and print a profile configuration from the build." msgstr "Erstelle und drucke ein Konfigurations-Profil aus dem Build" @@ -531,7 +538,7 @@ msgstr "" "einem benutzerdefinierten Verzeichnis mit den aktuellen " "Konfigurationseinstellungen." -#: internal/cli/compile/compile.go:331 +#: internal/cli/compile/compile.go:340 msgid "" "Currently, Build Profiles only support libraries available through Arduino " "Library Manager." @@ -612,7 +619,7 @@ msgstr "Abhängigkeiten: %s" msgid "Description" msgstr "Beschreibung" -#: internal/arduino/builder/builder.go:313 +#: internal/arduino/builder/builder.go:314 msgid "Detecting libraries used..." msgstr "Verwendete Bibliotheken erkennen ..." @@ -681,7 +688,7 @@ msgstr "" "Keine Bibliotheksabhängigkeiten aktualisieren, wenn diese bereits " "installiert sind." -#: commands/service_library_download.go:88 +#: commands/service_library_download.go:92 msgid "Downloading %s" msgstr "%s wird heruntergeladen" @@ -689,21 +696,21 @@ msgstr "%s wird heruntergeladen" msgid "Downloading index signature: %s" msgstr "Indexsignatur wird heruntergeladen: %s" -#: commands/instances.go:563 commands/instances.go:581 -#: commands/instances.go:595 commands/instances.go:612 +#: commands/instances.go:564 commands/instances.go:582 +#: commands/instances.go:596 commands/instances.go:613 #: internal/arduino/resources/index.go:82 msgid "Downloading index: %s" msgstr "Index wird heruntergeladen: %s" -#: commands/instances.go:371 +#: commands/instances.go:372 msgid "Downloading library %s" msgstr "Bibliothek %s wird heruntergeladen" -#: commands/instances.go:53 +#: commands/instances.go:54 msgid "Downloading missing tool %s" msgstr "Fehlendes Werkzeug %s wird heruntergeladen" -#: internal/arduino/cores/packagemanager/install_uninstall.go:96 +#: internal/arduino/cores/packagemanager/install_uninstall.go:98 msgid "Downloading packages" msgstr "Pakete werden heruntergeladen" @@ -742,7 +749,7 @@ msgstr "Gib eine git-URL mit den Bibliotheken aus Repositories ein" msgid "Error adding file to sketch archive" msgstr "Fehler beim Hinzufügen einer Datei zum Sketch-Archiv" -#: internal/arduino/builder/core.go:169 +#: internal/arduino/builder/core.go:170 msgid "Error archiving built core (caching) in %[1]s: %[2]s" msgstr "Fehler bei speichern des gebauten Kerns (caching) in %[1]s:%[2]s" @@ -758,11 +765,11 @@ msgstr "Fehler beim Berechnen des relativen Dateipfads" msgid "Error cleaning caches: %v" msgstr "Fehler beim bereinigen des Caches: %v" -#: internal/cli/compile/compile.go:220 +#: internal/cli/compile/compile.go:225 msgid "Error converting path to absolute: %v" msgstr "Fehler beim konvertieren des Pfads zum Absolutpfad: %v" -#: commands/service_compile.go:405 +#: commands/service_compile.go:420 msgid "Error copying output file %s" msgstr "Fehler beim Kopieren der Ausgabedatei %s" @@ -776,7 +783,7 @@ msgstr "Fehler beim Erstellen der Konfiguration: %v" msgid "Error creating instance: %v" msgstr "Fehler beim Erstellen der Instanz: %v" -#: commands/service_compile.go:389 +#: commands/service_compile.go:403 msgid "Error creating output dir" msgstr "Fehler beim Erstellen des Ausgabeverzeichnisses" @@ -801,7 +808,7 @@ msgstr "Fehler beim Herunterladen von %[1]s: %[2]v" msgid "Error downloading %s" msgstr "Fehler beim Herunterladen von %s" -#: commands/instances.go:660 internal/arduino/resources/index.go:83 +#: commands/instances.go:661 internal/arduino/resources/index.go:83 msgid "Error downloading index '%s'" msgstr "Fehler beim Herunterladen des Index '%s'" @@ -809,7 +816,7 @@ msgstr "Fehler beim Herunterladen des Index '%s'" msgid "Error downloading index signature '%s'" msgstr "Fehler beim Herunterladen der Indexsignatur '%s'" -#: commands/instances.go:381 commands/instances.go:387 +#: commands/instances.go:382 commands/instances.go:388 msgid "Error downloading library %s" msgstr "Fehler beim Herunterladen der Bibliothek %s" @@ -818,7 +825,7 @@ msgstr "Fehler beim Herunterladen der Bibliothek %s" msgid "Error downloading platform %s" msgstr "Fehler beim Herunterladen der Plattform %s" -#: internal/arduino/cores/packagemanager/download.go:127 +#: internal/arduino/cores/packagemanager/download.go:129 #: internal/arduino/cores/packagemanager/profiles.go:179 msgid "Error downloading tool %s" msgstr "Fehler beim Herunterladen des Werkzeugs %s" @@ -833,7 +840,7 @@ msgstr "Fehler beim Generieren der JSON-Ausgabe: %v" #: internal/cli/burnbootloader/burnbootloader.go:78 #: internal/cli/burnbootloader/burnbootloader.go:100 -#: internal/cli/compile/compile.go:264 internal/cli/compile/compile.go:306 +#: internal/cli/compile/compile.go:269 internal/cli/compile/compile.go:311 #: internal/cli/upload/upload.go:99 internal/cli/upload/upload.go:128 msgid "Error during Upload: %v" msgstr "Fehler während dem Hochladen: %v" @@ -842,7 +849,7 @@ msgstr "Fehler während dem Hochladen: %v" msgid "Error during board detection" msgstr "Fehler bei der Board-Erkennung" -#: internal/cli/compile/compile.go:379 +#: internal/cli/compile/compile.go:394 msgid "Error during build: %v" msgstr "Fehler beim Build: %v" @@ -863,7 +870,7 @@ msgstr "Fehler beim Upgrade %v" msgid "Error extracting %s" msgstr "Fehler beim Extrahieren von %s" -#: commands/service_upload.go:448 +#: commands/service_upload.go:449 msgid "Error finding build artifacts" msgstr "Fehler beim finden der Build-Artifacts" @@ -892,7 +899,7 @@ msgstr "" "Fehler beim ermitteln des Standard-Ports aus 'sketch.yaml' Prüfe, ob di im " "richtigen Sketch-Verzeichnis bist oder verwende das --port Attribut: %s" -#: commands/service_compile.go:328 commands/service_library_list.go:115 +#: commands/service_compile.go:338 commands/service_library_list.go:115 msgid "Error getting information for library %s" msgstr "Fehler beim Abrufen von Informationen für die Bibliothek %s" @@ -928,7 +935,7 @@ msgstr "Fehler beim Installieren der Git-Bibliothek: %v" msgid "Error installing Zip Library: %v" msgstr "Fehler beim Installieren der Zip-Bibliothek: %v" -#: commands/instances.go:397 +#: commands/instances.go:398 msgid "Error installing library %s" msgstr "Fehler beim Installieren der Bibliothek %s" @@ -955,7 +962,7 @@ msgstr "Fehler beim Auflisten der Bibliotheken: %v" msgid "Error listing platforms: %v" msgstr "Fehler beim Auflisten von Plattformen: %v" -#: commands/cmderrors/cmderrors.go:424 +#: commands/cmderrors/cmderrors.go:445 msgid "Error loading hardware platform" msgstr "Fehler beim Laden der Hardware-Plattform" @@ -972,15 +979,15 @@ msgstr "Fehler beim Öffnen von %s" msgid "Error opening debug logging file: %s" msgstr "Fehler beim Öffnen der Debug-Protokollierungsdatei: %s" -#: internal/cli/compile/compile.go:193 +#: internal/cli/compile/compile.go:196 msgid "Error opening source code overrides data file: %v" msgstr "Fehler, öffnen der Quellcodes überschreibt die Datendatei: %v" -#: internal/cli/compile/compile.go:206 +#: internal/cli/compile/compile.go:209 msgid "Error parsing --show-properties flag: %v" msgstr "Fehler bei der Auswertung des --show-Property Attributs: %v" -#: commands/service_compile.go:398 +#: commands/service_compile.go:412 msgid "Error reading build directory" msgstr "Fehler bel Lesen des Build-Verzechnisses" @@ -996,7 +1003,7 @@ msgstr "Fehler beim Auflösen von Abhängigkeiten für %[1]s: %[2]s" msgid "Error retrieving core list: %v" msgstr "Fehler beim Abrufen der Kernliste: %v" -#: internal/arduino/cores/packagemanager/install_uninstall.go:158 +#: internal/arduino/cores/packagemanager/install_uninstall.go:160 msgid "Error rolling-back changes: %s" msgstr "Fehler beim Rückgängmachen der Änderungen: %s" @@ -1050,7 +1057,7 @@ msgstr "Fehler beim Aktualisieren des Bibliotheksindex: %v" msgid "Error upgrading libraries" msgstr "Fehler beim Upgraden der Bibliothken" -#: internal/arduino/cores/packagemanager/install_uninstall.go:153 +#: internal/arduino/cores/packagemanager/install_uninstall.go:155 msgid "Error upgrading platform: %s" msgstr "Fehler beim Upgraden der Plattform: %s" @@ -1063,10 +1070,10 @@ msgstr "Fehler beim Verifizieren der Signatur" msgid "Error while detecting libraries included by %[1]s" msgstr "Fehler beim Ermitteln der in %[1]s eingebundenen Bibliotheken" -#: internal/arduino/builder/sizer.go:79 internal/arduino/builder/sizer.go:88 -#: internal/arduino/builder/sizer.go:91 internal/arduino/builder/sizer.go:110 -#: internal/arduino/builder/sizer.go:215 internal/arduino/builder/sizer.go:225 -#: internal/arduino/builder/sizer.go:229 +#: internal/arduino/builder/sizer.go:80 internal/arduino/builder/sizer.go:89 +#: internal/arduino/builder/sizer.go:92 internal/arduino/builder/sizer.go:111 +#: internal/arduino/builder/sizer.go:218 internal/arduino/builder/sizer.go:228 +#: internal/arduino/builder/sizer.go:232 msgid "Error while determining sketch size: %s" msgstr "Fehler während der Bestimmung der Sketch-Größe: %s" @@ -1082,7 +1089,7 @@ msgstr "Fehler beim Schreiben in die Datei: %v" msgid "Error: command description is not supported by %v" msgstr "Fehler: Befehlsbeschreibung wird nicht unterstützt von %v" -#: internal/cli/compile/compile.go:199 +#: internal/cli/compile/compile.go:202 msgid "Error: invalid source code overrides data file: %v" msgstr "Fehler: ungültiger Quellcode überschreibt die Daten-Datei: %v" @@ -1102,7 +1109,7 @@ msgstr "Beispiele:" msgid "Executable to debug" msgstr "Ausführbare Datei zum Debuggen" -#: commands/service_debug_config.go:181 commands/service_upload.go:454 +#: commands/service_debug_config.go:181 commands/service_upload.go:455 msgid "Expected compiled sketch in directory %s, but is a file instead" msgstr "" "Kompilierter Sketch wurde im Verzeichnis %s erwartet, aber eine Datei " @@ -1118,23 +1125,23 @@ msgstr "FQBN" msgid "FQBN:" msgstr "FQBN:" -#: commands/service_upload.go:577 +#: commands/service_upload.go:578 msgid "Failed chip erase" msgstr "Chip-Löschung fehlgeschlagen" -#: commands/service_upload.go:584 +#: commands/service_upload.go:585 msgid "Failed programming" msgstr "Fehlgeschlagene Programmierung" -#: commands/service_upload.go:580 +#: commands/service_upload.go:581 msgid "Failed to burn bootloader" msgstr "Schreiben des Bootloaders fehlgeschlagen" -#: commands/instances.go:87 +#: commands/instances.go:88 msgid "Failed to create data directory" msgstr "Erzeugen des Datenverzeichnisses fehlgeschlagen" -#: commands/instances.go:76 +#: commands/instances.go:77 msgid "Failed to create downloads directory" msgstr "Erzeugen des Download-Verzeichnisses fehlgeschlagen" @@ -1158,7 +1165,7 @@ msgid "Failed to listen on TCP port: %s. Address already in use." msgstr "" "Fehler beim Überwachen von TCP-Port: %s. Adresse wird bereits benutzt." -#: commands/service_upload.go:588 +#: commands/service_upload.go:589 msgid "Failed uploading" msgstr "Fehlgeschlagenes Hochladen" @@ -1166,7 +1173,7 @@ msgstr "Fehlgeschlagenes Hochladen" msgid "File:" msgstr "Datei:" -#: commands/service_compile.go:160 +#: commands/service_compile.go:163 msgid "" "Firmware encryption/signing requires all the following properties to be " "defined: %s" @@ -1216,7 +1223,7 @@ msgstr "" "Ausführung der Pre-Uninstall-Scripts überspringen (wenn die CLI nicht " "interaktiv läuft)" -#: commands/cmderrors/cmderrors.go:839 +#: commands/cmderrors/cmderrors.go:860 msgid "Found %d platforms matching \"%s\": %s" msgstr "%d Platformen passend zu \"%s\":%s gefunden" @@ -1241,7 +1248,7 @@ msgstr "Erzeugt Komplettierungs-Skripte" msgid "Generates completion scripts for various shells" msgstr "Erzeugt Komplettierungs-Skripte für verschiedene Shells" -#: internal/arduino/builder/builder.go:333 +#: internal/arduino/builder/builder.go:334 msgid "Generating function prototypes..." msgstr "Funktionsprototypen werden generiert ..." @@ -1253,7 +1260,7 @@ msgstr "Einstellungsschlüsselwert abrufen" msgid "Global Flags:" msgstr "Globale Attribute:" -#: internal/arduino/builder/sizer.go:164 +#: internal/arduino/builder/sizer.go:166 msgid "" "Global variables use %[1]s bytes (%[3]s%%) of dynamic memory, leaving %[4]s " "bytes for local variables. Maximum is %[2]s bytes." @@ -1261,7 +1268,7 @@ msgstr "" "Globale Variablen verwenden %[1]s Bytes (%[3]s%%) des dynamischen Speichers," " %[4]s Bytes für lokale Variablen verbleiben. Das Maximum sind %[2]s Bytes." -#: internal/arduino/builder/sizer.go:170 +#: internal/arduino/builder/sizer.go:172 msgid "Global variables use %[1]s bytes of dynamic memory." msgstr "Globale Variablen verwenden %[1]s Bytes des dynamischen Speichers." @@ -1279,7 +1286,7 @@ msgstr "Id" msgid "Identification properties:" msgstr "Identifikationseigenschaften:" -#: internal/cli/compile/compile.go:132 +#: internal/cli/compile/compile.go:135 msgid "If set built binaries will be exported to the sketch folder." msgstr "" "Wenn gesetzt werden die erzeugten Binärdateien in das Sketch-Verzeichnis " @@ -1312,20 +1319,20 @@ msgstr "Bibliotheken in das IDE-Standardverzeichnis installieren" msgid "Installed" msgstr "Installiert" -#: commands/service_library_install.go:200 +#: commands/service_library_install.go:201 msgid "Installed %s" msgstr "%s installiert" -#: commands/service_library_install.go:183 -#: internal/arduino/cores/packagemanager/install_uninstall.go:333 +#: commands/service_library_install.go:184 +#: internal/arduino/cores/packagemanager/install_uninstall.go:335 msgid "Installing %s" msgstr "%s wird installiert" -#: commands/instances.go:395 +#: commands/instances.go:396 msgid "Installing library %s" msgstr "Bibliothek %s wird installiert" -#: internal/arduino/cores/packagemanager/install_uninstall.go:119 +#: internal/arduino/cores/packagemanager/install_uninstall.go:121 #: internal/arduino/cores/packagemanager/profiles.go:134 msgid "Installing platform %s" msgstr "Plattform %s wird installiert" @@ -1348,11 +1355,11 @@ msgstr "Installiert eine oder mehrere angegebene Bibliotheken in das System." msgid "Internal error in cache" msgstr "Interner Fehler im Cache" -#: commands/cmderrors/cmderrors.go:377 +#: commands/cmderrors/cmderrors.go:378 msgid "Invalid '%[1]s' property: %[2]s" msgstr "Ungültige '%[1]s' Eigenschaft: %[2]s" -#: commands/cmderrors/cmderrors.go:60 +#: commands/cmderrors/cmderrors.go:61 msgid "Invalid FQBN" msgstr "Ungültiger FQBN" @@ -1360,11 +1367,11 @@ msgstr "Ungültiger FQBN" msgid "Invalid TCP address: port is missing" msgstr "Ungültige TCP-Adresse: Port fehlt" -#: commands/cmderrors/cmderrors.go:78 +#: commands/cmderrors/cmderrors.go:79 msgid "Invalid URL" msgstr "Ungültige URL" -#: commands/instances.go:183 +#: commands/instances.go:184 msgid "Invalid additional URL: %v" msgstr "Ungültige zusätzliche URL: %v" @@ -1378,23 +1385,23 @@ msgstr "Ungültiges Archiv: Datei %[1]s nicht im Archiv %[2]s gefunden" msgid "Invalid argument passed: %v" msgstr "Ungültiges Argument übergeben: %v" -#: commands/service_compile.go:272 +#: commands/service_compile.go:282 msgid "Invalid build properties" msgstr "Ungültige Build-Eigenschaften" -#: internal/arduino/builder/sizer.go:250 +#: internal/arduino/builder/sizer.go:253 msgid "Invalid data size regexp: %s" msgstr "Ungültige Datengröße regexp: %s" -#: internal/arduino/builder/sizer.go:256 +#: internal/arduino/builder/sizer.go:259 msgid "Invalid eeprom size regexp: %s" msgstr "Ungültige EEPROM-Größe: %s" -#: commands/instances.go:596 +#: commands/instances.go:597 msgid "Invalid index URL: %s" msgstr "Ungültige Index-URL: %s" -#: commands/cmderrors/cmderrors.go:46 +#: commands/cmderrors/cmderrors.go:47 msgid "Invalid instance" msgstr "Ungültige Instanz" @@ -1402,7 +1409,7 @@ msgstr "Ungültige Instanz" msgid "Invalid item %s" msgstr "Ungültiges Element %s" -#: commands/cmderrors/cmderrors.go:96 +#: commands/cmderrors/cmderrors.go:97 msgid "Invalid library" msgstr "Ungültige Bibliothek" @@ -1410,11 +1417,11 @@ msgstr "Ungültige Bibliothek" msgid "Invalid logging level: %s" msgstr "Ungültiger Protokoll-Level: %s" -#: commands/instances.go:613 +#: commands/instances.go:614 msgid "Invalid network configuration: %s" msgstr "Ungültige Netzwerk-Konfiguration: %s" -#: internal/cli/configuration/network.go:66 +#: internal/cli/configuration/network.go:83 msgid "Invalid network.proxy '%[1]s': %[2]s" msgstr "Ungültiger network.proxy '%[1]s':%[2]s" @@ -1422,7 +1429,7 @@ msgstr "Ungültiger network.proxy '%[1]s':%[2]s" msgid "Invalid output format: %s" msgstr "Ungültiges Ausgabeformat: %s" -#: commands/instances.go:580 +#: commands/instances.go:581 msgid "Invalid package index in %s" msgstr "Ungültiger Paketindex in %s" @@ -1430,35 +1437,35 @@ msgstr "Ungültiger Paketindex in %s" msgid "Invalid parameter %s: version not allowed" msgstr "Ungültiger Parameter %s: Version nicht erlaubt" -#: commands/service_board_list.go:81 +#: commands/service_board_identify.go:169 msgid "Invalid pid value: '%s'" msgstr "Ungültiger pid-Wert: '%s'" -#: commands/cmderrors/cmderrors.go:220 +#: commands/cmderrors/cmderrors.go:221 msgid "Invalid profile" msgstr "Ungültiges Profil" -#: commands/service_monitor.go:269 +#: commands/service_monitor.go:270 msgid "Invalid recipe in platform.txt" msgstr "Ungültige Vorlage in platform.txt" -#: internal/arduino/builder/sizer.go:240 +#: internal/arduino/builder/sizer.go:243 msgid "Invalid size regexp: %s" msgstr "Ungültige Größe regexp: %s" -#: main.go:85 +#: main.go:86 msgid "Invalid value in configuration" msgstr "Ungültiger Wert in der Konfiguration" -#: commands/cmderrors/cmderrors.go:114 +#: commands/cmderrors/cmderrors.go:115 msgid "Invalid version" msgstr "Ungültige Version" -#: commands/service_board_list.go:78 +#: commands/service_board_identify.go:166 msgid "Invalid vid value: '%s'" msgstr "Ungültiger vid-Wert:'%s'" -#: internal/cli/compile/compile.go:129 +#: internal/cli/compile/compile.go:132 msgid "" "Just produce the compilation database, without actually compiling. All build" " commands are skipped except pre* hooks." @@ -1483,12 +1490,12 @@ msgstr "BIBLIOTHEKSNAME" msgid "Latest" msgstr "Neueste" -#: internal/arduino/builder/libraries.go:91 +#: internal/arduino/builder/libraries.go:92 msgid "Library %[1]s has been declared precompiled:" msgstr "Bibliothek %[1]s wurde als vorkompiliert angegeben:" -#: commands/service_library_install.go:141 -#: internal/arduino/libraries/librariesmanager/install.go:131 +#: commands/service_library_install.go:142 +#: internal/arduino/libraries/librariesmanager/install.go:130 msgid "" "Library %[1]s is already installed, but with a different version: %[2]s" msgstr "" @@ -1503,11 +1510,11 @@ msgstr "Bibliothek %s ist bereits die neueste Version" msgid "Library %s is not installed" msgstr "Bibliothek %s ist nicht installiert" -#: commands/instances.go:374 +#: commands/instances.go:375 msgid "Library %s not found" msgstr "Bibliothek %s nicht gefunden" -#: commands/cmderrors/cmderrors.go:445 +#: commands/cmderrors/cmderrors.go:466 msgid "Library '%s' not found" msgstr "Bibliothek '%s' nicht gefunden" @@ -1518,12 +1525,12 @@ msgstr "" "Die Bibliothek kann nicht die Verzeichnisse '%[1]s' und '%[2]s' gleichzeitig" " verwenden. Prüfe nochmal in '%[3]s'" -#: commands/cmderrors/cmderrors.go:574 +#: commands/cmderrors/cmderrors.go:595 msgid "Library install failed" msgstr "Installation der Bibliothek fehlgeschlagen" -#: commands/service_library_install.go:234 -#: commands/service_library_install.go:274 +#: commands/service_library_install.go:235 +#: commands/service_library_install.go:275 msgid "Library installed" msgstr "Bibliothek installiert" @@ -1531,7 +1538,7 @@ msgstr "Bibliothek installiert" msgid "License: %s" msgstr "Lizenz: %s" -#: internal/arduino/builder/builder.go:436 +#: internal/arduino/builder/builder.go:437 msgid "Linking everything together..." msgstr "Alles zusammenlinken..." @@ -1559,7 +1566,7 @@ msgstr "" "Komma-getrennte Liste der Boardoptionen. Kann auch mehrfach für mehrere " "Optinen verwendet werden." -#: internal/cli/compile/compile.go:107 +#: internal/cli/compile/compile.go:110 msgid "" "List of custom build properties separated by commas. Or can be used multiple" " times for multiple properties." @@ -1583,8 +1590,8 @@ msgstr "Listet alle verbundenen Platinen auf." msgid "Lists cores and libraries that can be upgraded" msgstr "Auflisten der upgradebaren Cores und Bibliotheken" -#: commands/instances.go:221 commands/instances.go:232 -#: commands/instances.go:342 +#: commands/instances.go:222 commands/instances.go:233 +#: commands/instances.go:343 msgid "Loading index file: %v" msgstr "Indexdatei wird geladen: %v" @@ -1592,7 +1599,7 @@ msgstr "Indexdatei wird geladen: %v" msgid "Location" msgstr "Ort" -#: internal/arduino/builder/sizer.go:205 +#: internal/arduino/builder/sizer.go:208 msgid "Low memory available, stability problems may occur." msgstr "" "Wenig Arbeitsspeicher verfügbar, es können Stabilitätsprobleme auftreten." @@ -1601,7 +1608,7 @@ msgstr "" msgid "Maintainer: %s" msgstr "Betreuer %s" -#: internal/cli/compile/compile.go:137 +#: internal/cli/compile/compile.go:140 msgid "" "Max number of parallel compiles. If set to 0 the number of available CPUs " "cores will be used." @@ -1624,23 +1631,23 @@ msgstr "" msgid "Missing '%[1]s' from library in %[2]s" msgstr "'%[1]s' aus der Bibliothek in %[2]s fehlt" -#: commands/cmderrors/cmderrors.go:169 +#: commands/cmderrors/cmderrors.go:170 msgid "Missing FQBN (Fully Qualified Board Name)" msgstr "Fehlender FQBN (Fully Qualified Board Name)" -#: commands/cmderrors/cmderrors.go:260 +#: commands/cmderrors/cmderrors.go:261 msgid "Missing port" msgstr "Fehlender Port" -#: commands/cmderrors/cmderrors.go:236 +#: commands/cmderrors/cmderrors.go:237 msgid "Missing port address" msgstr "Fehlende Port-Adresse" -#: commands/cmderrors/cmderrors.go:248 +#: commands/cmderrors/cmderrors.go:249 msgid "Missing port protocol" msgstr "Fehlendes Port-Protokoll" -#: commands/cmderrors/cmderrors.go:286 +#: commands/cmderrors/cmderrors.go:287 msgid "Missing programmer" msgstr "Fehlender Programmer" @@ -1648,15 +1655,15 @@ msgstr "Fehlender Programmer" msgid "Missing required upload field: %s" msgstr "Fehlendes benötigtes Upload-Feld: %s" -#: internal/arduino/builder/sizer.go:244 +#: internal/arduino/builder/sizer.go:247 msgid "Missing size regexp" msgstr "Fehlende Größe regexp" -#: commands/cmderrors/cmderrors.go:497 +#: commands/cmderrors/cmderrors.go:518 msgid "Missing sketch path" msgstr "Fehlender Sketch-Pfad" -#: commands/cmderrors/cmderrors.go:358 +#: commands/cmderrors/cmderrors.go:359 msgid "Monitor '%s' not found" msgstr "Monitor '%s' wurde nicht gefunden" @@ -1714,7 +1721,7 @@ msgstr "" msgid "No libraries update is available." msgstr "Kein Bibliotheksupdate verfügbar" -#: commands/cmderrors/cmderrors.go:274 +#: commands/cmderrors/cmderrors.go:275 msgid "No monitor available for the port protocol %s" msgstr "Kein Monitor für das Port-Protokoll %s verfügbar" @@ -1730,15 +1737,15 @@ msgstr "Keine Plattformen installiert." msgid "No platforms matching your search." msgstr "Die Suche fand keine passenden Plattformen" -#: commands/service_upload.go:533 +#: commands/service_upload.go:534 msgid "No upload port found, using %s as fallback" msgstr "Kein Upload-Port gefunden, verwende %s stattdessen" -#: commands/cmderrors/cmderrors.go:464 +#: commands/cmderrors/cmderrors.go:485 msgid "No valid dependencies solution found" msgstr "Keine gültige Auflösung der Abhängigkeiten gefunden" -#: internal/arduino/builder/sizer.go:195 +#: internal/arduino/builder/sizer.go:198 msgid "Not enough memory; see %[1]s for tips on reducing your footprint." msgstr "" "Nicht genug Arbeitsspeicher; unter %[1]s finden sich Hinweise, um die Größe " @@ -1772,42 +1779,42 @@ msgstr "Einen Kommunikations-Port mit einer Platine öffnen." msgid "Option:" msgstr "Option:" -#: internal/cli/compile/compile.go:117 +#: internal/cli/compile/compile.go:120 msgid "" "Optional, can be: %s. Used to tell gcc which warning level to use (-W flag)." msgstr "" "Optional, kann %s sein. Verwendet, um den Warnungslevel für gcc festzulegen " "(-W Option)" -#: internal/cli/compile/compile.go:130 +#: internal/cli/compile/compile.go:133 msgid "Optional, cleanup the build folder and do not use any cached build." msgstr "" "Optional, leere den Build-Ordner und verwende keinen zwischengespeicherten " "Build." -#: internal/cli/compile/compile.go:127 +#: internal/cli/compile/compile.go:130 msgid "" "Optional, optimize compile output for debugging, rather than for release." msgstr "" "Optional, optimiere das Kompilat zum Debuggen, nicht für den " "Produktiveinsatz" -#: internal/cli/compile/compile.go:119 +#: internal/cli/compile/compile.go:122 msgid "Optional, suppresses almost every output." msgstr "Optional, vermeidet fast alle Ausgaben" -#: internal/cli/compile/compile.go:118 internal/cli/upload/upload.go:79 +#: internal/cli/compile/compile.go:121 internal/cli/upload/upload.go:79 msgid "Optional, turns on verbose mode." msgstr "Optional, schaltet umfangreiche Ausgaben ein" -#: internal/cli/compile/compile.go:133 +#: internal/cli/compile/compile.go:136 msgid "" "Optional. Path to a .json file that contains a set of replacements of the " "sketch source code." msgstr "" "Optional, Pfad zu einer .json-Datei mit Ersetzungen für den Sketch-Quellcode" -#: internal/cli/compile/compile.go:109 +#: internal/cli/compile/compile.go:112 msgid "" "Override a build property with a custom value. Can be used multiple times " "for multiple properties." @@ -1820,6 +1827,8 @@ msgid "" "Override an debug property with a custom value. Can be used multiple times " "for multiple properties." msgstr "" +"Eine Debug-Eigenschaft mit einem eigenen Wert außer Kraft setzen. Kann " +"mehrfach für mehrere Eigenschaften verwendet werden." #: internal/cli/burnbootloader/burnbootloader.go:61 #: internal/cli/upload/upload.go:77 @@ -1827,6 +1836,8 @@ msgid "" "Override an upload property with a custom value. Can be used multiple times " "for multiple properties." msgstr "" +"Eine Hochladeeigenschaft mit einem eigenen Wert außer Kraft setzen. Kann " +"mehrfach für mehrere Eigenschaften verwendet werden." #: internal/cli/config/init.go:62 msgid "Overwrite existing config file." @@ -1869,11 +1880,11 @@ msgstr "Webseite für das Paket:" msgid "Paragraph: %s" msgstr "Absatz: %s" -#: internal/cli/compile/compile.go:454 internal/cli/compile/compile.go:469 +#: internal/cli/compile/compile.go:473 internal/cli/compile/compile.go:488 msgid "Path" msgstr "Pfad" -#: internal/cli/compile/compile.go:126 +#: internal/cli/compile/compile.go:129 msgid "" "Path to a collection of libraries. Can be used multiple times or entries can" " be comma separated." @@ -1881,7 +1892,7 @@ msgstr "" "Pfad zu einer Bibliothekssammlung. Kann mehrfach verwendet werden oder die " "Einträge können durch Kommata getrennt werden." -#: internal/cli/compile/compile.go:124 +#: internal/cli/compile/compile.go:127 msgid "" "Path to a single library’s root folder. Can be used multiple times or " "entries can be comma separated." @@ -1893,7 +1904,7 @@ msgstr "" msgid "Path to the file where logs will be written." msgstr "Pfad in welchem die Log-Dateien abgelegt werden sollen." -#: internal/cli/compile/compile.go:105 +#: internal/cli/compile/compile.go:108 msgid "" "Path where to save compiled files. If omitted, a directory will be created " "in the default temporary path of your OS." @@ -1901,20 +1912,20 @@ msgstr "" "Pfad für die kompilierten Dateien. Wenn nicht festgelegt, dann wird ein " "Verzeichnis im Standard-Temp-Verzeichnis des Betriebssystems erstellt." -#: commands/service_upload.go:514 +#: commands/service_upload.go:515 msgid "Performing 1200-bps touch reset on serial port %s" msgstr "Ein 1200bps-Reset wird auf dem seriellen Port %s durchgeführt" -#: commands/service_platform_install.go:86 -#: commands/service_platform_install.go:93 +#: commands/service_platform_install.go:91 +#: commands/service_platform_install.go:98 msgid "Platform %s already installed" msgstr "Plattform %s bereits installiert" -#: internal/arduino/cores/packagemanager/install_uninstall.go:194 +#: internal/arduino/cores/packagemanager/install_uninstall.go:196 msgid "Platform %s installed" msgstr "Plattform %s installiert" -#: internal/cli/compile/compile.go:402 internal/cli/upload/upload.go:148 +#: internal/cli/compile/compile.go:417 internal/cli/upload/upload.go:148 msgid "" "Platform %s is not found in any known index\n" "Maybe you need to add a 3rd party URL?" @@ -1922,15 +1933,19 @@ msgstr "" "Plattform %s in keinem bekannten Index gefunden. Eventuell muss eine 3rd-" "Party URL hinzugfügt werden?" -#: internal/arduino/cores/packagemanager/install_uninstall.go:318 +#: internal/arduino/cores/packagemanager/install_uninstall.go:320 msgid "Platform %s uninstalled" msgstr "Plattform %s deinstalliert" -#: commands/cmderrors/cmderrors.go:482 +#: commands/cmderrors/cmderrors.go:427 +msgid "Platform '%s'" +msgstr "" + +#: commands/cmderrors/cmderrors.go:503 msgid "Platform '%s' is already at the latest version" msgstr "Plattform '%s' ist bereits aktuell" -#: commands/cmderrors/cmderrors.go:406 +#: commands/cmderrors/cmderrors.go:407 msgid "Platform '%s' not found" msgstr "Plattform '%s' nicht gefunden" @@ -1938,7 +1953,7 @@ msgstr "Plattform '%s' nicht gefunden" msgid "Platform ID" msgstr "Plattform ID" -#: internal/cli/compile/compile.go:387 internal/cli/upload/upload.go:136 +#: internal/cli/compile/compile.go:402 internal/cli/upload/upload.go:136 msgid "Platform ID is not correct" msgstr "Plattform ID ist nicht korrekt" @@ -1970,7 +1985,7 @@ msgstr "Plattformname:" msgid "Platform size (bytes):" msgstr "Plattformgröße (Bytes):" -#: commands/cmderrors/cmderrors.go:153 +#: commands/cmderrors/cmderrors.go:154 msgid "" "Please specify an FQBN. Multiple possible boards detected on port %[1]s with" " protocol %[2]s" @@ -1978,7 +1993,7 @@ msgstr "" "Bitte gib ein FQBN an. Mehrere mögliche Boards wurden an Port %[1]s mit " "Protokoll %[2]s entdeckt" -#: commands/cmderrors/cmderrors.go:133 +#: commands/cmderrors/cmderrors.go:134 msgid "" "Please specify an FQBN. The board on port %[1]s with protocol %[2]s can't be" " identified" @@ -1994,12 +2009,12 @@ msgstr "Port" msgid "Port closed: %v" msgstr "Port geschlossen: %v" -#: commands/cmderrors/cmderrors.go:668 +#: commands/cmderrors/cmderrors.go:689 msgid "Port monitor error" msgstr "Port-Monitor-Fehler" -#: internal/arduino/builder/libraries.go:101 -#: internal/arduino/builder/libraries.go:109 +#: internal/arduino/builder/libraries.go:102 +#: internal/arduino/builder/libraries.go:110 msgid "Precompiled library in \"%[1]s\" not found" msgstr "Vorkompilierte Bibliothek in \"%[1]s\" nicht gefunden" @@ -2007,7 +2022,7 @@ msgstr "Vorkompilierte Bibliothek in \"%[1]s\" nicht gefunden" msgid "Print details about a board." msgstr "Details zu dem Board ausgeben" -#: internal/cli/compile/compile.go:100 +#: internal/cli/compile/compile.go:103 msgid "Print preprocessed code to stdout instead of compiling." msgstr "Gebe den vorverarbeiteten Code aus anstatt zu kompilieren." @@ -2027,11 +2042,11 @@ msgstr "Gibt die aktuelle Konfiguration aus." msgid "Prints the current configuration." msgstr "Gibt die aktuelle Konfiguration aus." -#: commands/cmderrors/cmderrors.go:202 +#: commands/cmderrors/cmderrors.go:203 msgid "Profile '%s' not found" msgstr "Profil '%s' nicht gefunden" -#: commands/cmderrors/cmderrors.go:339 +#: commands/cmderrors/cmderrors.go:340 msgid "Programmer '%s' not found" msgstr "Programmer '%s' nicht gefunden" @@ -2047,7 +2062,7 @@ msgstr "Zu verwendender Programmer, z.B. atmel_ice" msgid "Programmers:" msgstr "Programmers:" -#: commands/cmderrors/cmderrors.go:391 +#: commands/cmderrors/cmderrors.go:392 msgid "Property '%s' is undefined" msgstr "Eigenschaft '%s' ist nicht definiert" @@ -2063,11 +2078,11 @@ msgstr "Stellt die Includes %s zur Verfügung" msgid "Removes one or more values from a setting." msgstr "Entfernt einen oder mehrere Werte aus der Einstellung." -#: commands/service_library_install.go:187 +#: commands/service_library_install.go:188 msgid "Replacing %[1]s with %[2]s" msgstr "Ersetze %[1]s durch %[2]s " -#: internal/arduino/cores/packagemanager/install_uninstall.go:123 +#: internal/arduino/cores/packagemanager/install_uninstall.go:125 msgid "Replacing platform %[1]s with %[2]s" msgstr "Ersetze die Plattform durch %[1]sdurch %[2]s" @@ -2083,12 +2098,12 @@ msgstr "Starten im stillen Modus, zeige nur die Monitorein- und -ausgaben" msgid "Run the Arduino CLI as a gRPC daemon." msgstr "Arduino-CLI als gRPC-Daemon ausführen" -#: internal/arduino/builder/core.go:42 +#: internal/arduino/builder/core.go:43 msgid "Running normal build of the core..." msgstr "Starte normalen Kern-Build..." -#: internal/arduino/cores/packagemanager/install_uninstall.go:297 -#: internal/arduino/cores/packagemanager/install_uninstall.go:411 +#: internal/arduino/cores/packagemanager/install_uninstall.go:299 +#: internal/arduino/cores/packagemanager/install_uninstall.go:413 msgid "Running pre_uninstall script." msgstr "Starte das pre_uninstall Skript" @@ -2100,7 +2115,7 @@ msgstr "SUCH_TERM" msgid "SVD file path" msgstr "SVD Verzeichnis" -#: internal/cli/compile/compile.go:103 +#: internal/cli/compile/compile.go:106 msgid "Save build artifacts in this directory." msgstr "Build-Artifakte in diesem Verzeichnis speichern." @@ -2237,6 +2252,8 @@ msgid "" "Sets the default data directory (Arduino CLI will look for configuration " "file in this directory)." msgstr "" +"Legt das Standard-Datenverzeichnis fest (Arduino CLI sucht die " +"Konfigurationsdatei in diesem Verzeichnis)." #: internal/cli/board/attach.go:37 msgid "" @@ -2250,6 +2267,8 @@ msgstr "" #: internal/cli/daemon/daemon.go:93 msgid "Sets the maximum message size in bytes the daemon can receive" msgstr "" +"Legt die maximale Nachrichtengröße in Bytes fest, die der Daemon empfangen " +"kann" #: internal/cli/config/init.go:60 internal/cli/config/init.go:61 msgid "Sets where to save the configuration file." @@ -2364,7 +2383,7 @@ msgstr "Zeigt die Versionsnummer des Arduino CLI an." msgid "Size (bytes):" msgstr "Größe (Bytes):" -#: commands/service_compile.go:276 +#: commands/service_compile.go:286 msgid "" "Sketch cannot be located in build path. Please specify a different build " "path" @@ -2380,13 +2399,13 @@ msgstr "Sketch erstellt in: %s" msgid "Sketch profile to use" msgstr "Zu verwendendes Sketch-Profil" -#: internal/arduino/builder/sizer.go:190 +#: internal/arduino/builder/sizer.go:193 msgid "Sketch too big; see %[1]s for tips on reducing it." msgstr "" "Der Sketch ist zu groß; unter %[1]s finden sich Hinweise, um die Größe zu " "verringern." -#: internal/arduino/builder/sizer.go:158 +#: internal/arduino/builder/sizer.go:160 msgid "" "Sketch uses %[1]s bytes (%[3]s%%) of program storage space. Maximum is %[2]s" " bytes." @@ -2402,21 +2421,21 @@ msgstr "" "Skizzen mit der Endung .pde sind veraltet, bitte benenne die folgenden " "Dateien in .ino um:" -#: internal/arduino/builder/linker.go:30 +#: internal/arduino/builder/linker.go:31 msgid "Skip linking of final executable." msgstr "Überspringe das Linken der endgültigen ausführbaren Datei." -#: commands/service_upload.go:507 +#: commands/service_upload.go:508 msgid "Skipping 1200-bps touch reset: no serial port selected!" msgstr "" "Überspringen des 1200-bps-Touch-Resets: keine serielle Schnittstelle " "ausgewählt!" -#: internal/arduino/builder/archive_compiled_files.go:27 +#: internal/arduino/builder/archive_compiled_files.go:28 msgid "Skipping archive creation of: %[1]s" msgstr "Überspringe die Archiv-Erstellung von: %[1]s" -#: internal/arduino/builder/compilation.go:183 +#: internal/arduino/builder/compilation.go:184 msgid "Skipping compile of: %[1]s" msgstr "Überspringe die Kompilierung von: %[1]s" @@ -2425,16 +2444,16 @@ msgid "Skipping dependencies detection for precompiled library %[1]s" msgstr "" "Überspringe die Abhängigkeitserkennung für vorkompilierte Bibliotheken %[1]s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:190 +#: internal/arduino/cores/packagemanager/install_uninstall.go:192 msgid "Skipping platform configuration." msgstr "Überspringe die Plattformkonfiguration." -#: internal/arduino/cores/packagemanager/install_uninstall.go:306 -#: internal/arduino/cores/packagemanager/install_uninstall.go:420 +#: internal/arduino/cores/packagemanager/install_uninstall.go:308 +#: internal/arduino/cores/packagemanager/install_uninstall.go:422 msgid "Skipping pre_uninstall script." msgstr "Überspringe das pre_uninstall Skript." -#: internal/arduino/cores/packagemanager/install_uninstall.go:368 +#: internal/arduino/cores/packagemanager/install_uninstall.go:370 msgid "Skipping tool configuration." msgstr "Überspringe die Werkzeugkonfiguration." @@ -2442,7 +2461,7 @@ msgstr "Überspringe die Werkzeugkonfiguration." msgid "Skipping: %[1]s" msgstr "Wird übersprungen: %[1]s" -#: commands/instances.go:633 +#: commands/instances.go:634 msgid "Some indexes could not be updated." msgstr "Einige Indizes konnten nicht aktualisiert werden." @@ -2468,11 +2487,14 @@ msgstr "" "Die benutzerdefinierte Konfigurationsdatei (wenn nicht angegeben, wird der " "Standardwert verwendet)." -#: internal/cli/compile/compile.go:90 +#: internal/cli/compile/compile.go:93 msgid "" "The flag --build-cache-path has been deprecated. Please use just --build-" "path alone or configure the build cache path in the Arduino CLI settings." msgstr "" +"Das Flag --build-cache-path ist veraltet. Bitte nur --build-path allein " +"verwenden oder den Build-Cache-Pfad in den Arduino CLI-Einstellungen " +"konfigurieren." #: internal/cli/daemon/daemon.go:103 msgid "The flag --debug-file must be used with --debug." @@ -2488,7 +2510,7 @@ msgid "The given board/programmer configuration supports debugging." msgstr "" "Die angegebene Board-/Programmer-Konfiguration unterstützt das Debugging." -#: commands/cmderrors/cmderrors.go:876 +#: commands/cmderrors/cmderrors.go:897 msgid "The instance is no longer valid and needs to be reinitialized" msgstr "Die Instanz ist nicht mehr gültig und muss neu initialisiert werden." @@ -2508,11 +2530,11 @@ msgstr "" "Der Schlüssel \"%[1]v\" ist keine Liste von Teilen, er kann nicht entfernt werden.\n" "Vielleicht kann \"%[2]s\" verwendet werden?" -#: commands/cmderrors/cmderrors.go:858 +#: commands/cmderrors/cmderrors.go:879 msgid "The library %s has multiple installations:" msgstr "Die Bibliothek %s hat mehrere Installationen:" -#: internal/cli/compile/compile.go:115 +#: internal/cli/compile/compile.go:118 msgid "" "The name of the custom encryption key to use to encrypt a binary during the " "compile process. Used only by the platforms that support it." @@ -2521,7 +2543,7 @@ msgstr "" "Binärdatei während des Kompilierungsprozesses verwendet wird. Wird nur von " "den Plattformen verwendet, die ihn unterstützen." -#: internal/cli/compile/compile.go:113 +#: internal/cli/compile/compile.go:116 msgid "" "The name of the custom signing key to use to sign a binary during the " "compile process. Used only by the platforms that support it." @@ -2534,7 +2556,7 @@ msgstr "" msgid "The output format for the logs, can be: %s" msgstr "Das Ausgabeformat für die Logs kann %s sein" -#: internal/cli/compile/compile.go:111 +#: internal/cli/compile/compile.go:114 msgid "" "The path of the dir to search for the custom keys to sign and encrypt a " "binary. Used only by the platforms that support it." @@ -2543,7 +2565,7 @@ msgstr "" "Signieren und Verschlüsseln einer Binärdatei gesucht wird. Wird nur von den " "Plattformen verwendet, die dies unterstützen." -#: internal/arduino/builder/libraries.go:151 +#: internal/arduino/builder/libraries.go:152 msgid "The platform does not support '%[1]s' for precompiled libraries." msgstr "" "Die Plattform unterstützt '%[1]s' für vorkompilierte Bibliotheken nicht." @@ -2573,12 +2595,12 @@ msgstr "" msgid "Timestamp each incoming line." msgstr "Markiere jede ankommende Zeile mit einem Zeitstempel." -#: internal/arduino/cores/packagemanager/install_uninstall.go:89 -#: internal/arduino/cores/packagemanager/install_uninstall.go:328 +#: internal/arduino/cores/packagemanager/install_uninstall.go:91 +#: internal/arduino/cores/packagemanager/install_uninstall.go:330 msgid "Tool %s already installed" msgstr "Werkzeug %s bereits installiert" -#: internal/arduino/cores/packagemanager/install_uninstall.go:432 +#: internal/arduino/cores/packagemanager/install_uninstall.go:434 msgid "Tool %s uninstalled" msgstr "Werkzeug %s deinstalliert" @@ -2598,7 +2620,7 @@ msgstr "Toolchain-Prefix" msgid "Toolchain type" msgstr "Toolchain-Typ" -#: internal/cli/compile/compile.go:400 internal/cli/upload/upload.go:146 +#: internal/cli/compile/compile.go:415 internal/cli/upload/upload.go:146 msgid "Try running %s" msgstr "Versuche %s zu starten" @@ -2618,7 +2640,7 @@ msgstr "Typen: %s" msgid "URL:" msgstr "URL:" -#: internal/arduino/builder/core.go:165 +#: internal/arduino/builder/core.go:166 msgid "" "Unable to cache built core, please tell %[1]s maintainers to follow %[2]s" msgstr "" @@ -2642,19 +2664,19 @@ msgstr "Das Home-Verzeichnis des Benutzers kann nicht abgerufen werden: %v" msgid "Unable to open file for logging: %s" msgstr "Die Datei kann nicht für die Protokollierung geöffnet werden: %s" -#: commands/instances.go:562 +#: commands/instances.go:563 msgid "Unable to parse URL" msgstr "URL kann nicht geparst werden" #: commands/service_library_uninstall.go:71 -#: internal/arduino/cores/packagemanager/install_uninstall.go:280 +#: internal/arduino/cores/packagemanager/install_uninstall.go:282 msgid "Uninstalling %s" msgstr "%s wird deinstalliert" #: commands/service_platform_uninstall.go:99 -#: internal/arduino/cores/packagemanager/install_uninstall.go:166 +#: internal/arduino/cores/packagemanager/install_uninstall.go:168 msgid "Uninstalling %s, tool is no more required" -msgstr "%swird deinstalliert, das Werkzeug wird nicht mehr gebraucht" +msgstr "%s wird deinstalliert, das Werkzeug wird nicht mehr gebraucht" #: internal/cli/core/uninstall.go:37 internal/cli/core/uninstall.go:38 msgid "" @@ -2672,7 +2694,7 @@ msgstr "Deinstalliert eine oder mehrere Bibliotheken." msgid "Unknown" msgstr "Unbekannt" -#: commands/cmderrors/cmderrors.go:183 +#: commands/cmderrors/cmderrors.go:184 msgid "Unknown FQBN" msgstr "Unbekannter FQBN" @@ -2702,7 +2724,7 @@ msgstr "Aktualisiert den Bibliotheksindex auf die neueste Version." msgid "Updates the libraries index." msgstr "Aktualisiert den Bibliotheksindex." -#: internal/arduino/cores/packagemanager/install_uninstall.go:45 +#: internal/arduino/cores/packagemanager/install_uninstall.go:47 msgid "Upgrade doesn't accept parameters with version" msgstr "Upgrade akzeptiert keine Parameter mit Version" @@ -2741,7 +2763,7 @@ msgstr "" msgid "Upload port address, e.g.: COM3 or /dev/ttyACM2" msgstr "Adresse des Upload-Ports, z. B.: COM3 oder /dev/ttyACM2" -#: commands/service_upload.go:531 +#: commands/service_upload.go:532 msgid "Upload port found on %s" msgstr "Upload-Port gefunden auf %s" @@ -2749,7 +2771,7 @@ msgstr "Upload-Port gefunden auf %s" msgid "Upload port protocol, e.g: serial" msgstr "Upload-Port-Protokoll, z.B.: seriell" -#: internal/cli/compile/compile.go:120 +#: internal/cli/compile/compile.go:123 msgid "Upload the binary after the compilation." msgstr "Lade die Binärdatei nach der Kompilierung hoch." @@ -2762,7 +2784,7 @@ msgstr "" msgid "Upload the bootloader." msgstr "Lade den Bootloader hoch." -#: internal/cli/compile/compile.go:269 internal/cli/upload/upload.go:167 +#: internal/cli/compile/compile.go:274 internal/cli/upload/upload.go:167 msgid "" "Uploading to specified board using %s protocol requires the following info:" msgstr "" @@ -2785,11 +2807,11 @@ msgstr "Verwendung:" msgid "Use %s for more information about a command." msgstr "Benutze %s für mehr Informationen über einen Befehl." -#: internal/cli/compile/compile.go:452 +#: internal/cli/compile/compile.go:471 msgid "Used library" msgstr "Benutzte Bibliothek" -#: internal/cli/compile/compile.go:467 +#: internal/cli/compile/compile.go:486 msgid "Used platform" msgstr "Verwendete Plattform" @@ -2797,7 +2819,7 @@ msgstr "Verwendete Plattform" msgid "Used: %[1]s" msgstr "Benutzt: %[1]s" -#: commands/service_compile.go:351 +#: commands/service_compile.go:361 msgid "Using board '%[1]s' from platform in folder: %[2]s" msgstr "Verwende das Board '%[1]s' von der Plattform im Ordner: %[2]s" @@ -2807,7 +2829,7 @@ msgstr "" "Verwendung von zwischengespeicherten Bibliotheksabhängigkeiten für die " "Datei: %[1]s" -#: commands/service_compile.go:352 +#: commands/service_compile.go:362 msgid "Using core '%[1]s' from platform in folder: %[2]s" msgstr "Verwendung des Kerns '%[1]s' von Platform im Ordner: %[2]s" @@ -2825,26 +2847,26 @@ msgstr "" "Die Monitorkonfiguration ist unspezifisch.\n" "HINWEIS: Dein Board erfordert möglicherweise andere Einstellungen!\n" -#: internal/arduino/builder/libraries.go:312 +#: internal/arduino/builder/libraries.go:313 msgid "Using library %[1]s at version %[2]s in folder: %[3]s %[4]s" msgstr "" "Bibliothek %[1]s in Version %[2]s im Ordner: %[3]s %[4]s wird verwendet" -#: internal/arduino/builder/libraries.go:306 +#: internal/arduino/builder/libraries.go:307 msgid "Using library %[1]s in folder: %[2]s %[3]s" msgstr "Bibliothek %[1]s im Ordner: %[2]s %[3]s wird verwendet" -#: internal/arduino/builder/core.go:120 internal/arduino/builder/core.go:132 +#: internal/arduino/builder/core.go:121 internal/arduino/builder/core.go:133 msgid "Using precompiled core: %[1]s" msgstr "Verwendung des vorkompilierten Kerns: %[1]s" -#: internal/arduino/builder/libraries.go:98 -#: internal/arduino/builder/libraries.go:106 +#: internal/arduino/builder/libraries.go:99 +#: internal/arduino/builder/libraries.go:107 msgid "Using precompiled library in %[1]s" msgstr "Benutze vorkompilierte Bibliothek in %[1]s" -#: internal/arduino/builder/archive_compiled_files.go:50 -#: internal/arduino/builder/compilation.go:181 +#: internal/arduino/builder/archive_compiled_files.go:51 +#: internal/arduino/builder/compilation.go:182 msgid "Using previously compiled file: %[1]s" msgstr "Zuvor kompilierte Datei wird verwendet: %[1]s" @@ -2861,11 +2883,11 @@ msgid "Values" msgstr "Werte" #: internal/cli/burnbootloader/burnbootloader.go:62 -#: internal/cli/compile/compile.go:122 internal/cli/upload/upload.go:78 +#: internal/cli/compile/compile.go:125 internal/cli/upload/upload.go:78 msgid "Verify uploaded binary after the upload." msgstr "Überprüfe die hochgeladene Binärdatei nach dem Upload." -#: internal/cli/compile/compile.go:453 internal/cli/compile/compile.go:468 +#: internal/cli/compile/compile.go:472 internal/cli/compile/compile.go:487 #: internal/cli/core/search.go:117 msgid "Version" msgstr "Version" @@ -2874,26 +2896,26 @@ msgstr "Version" msgid "Versions: %s" msgstr "Versionen: %s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:185 +#: internal/arduino/cores/packagemanager/install_uninstall.go:187 msgid "WARNING cannot configure platform: %s" msgstr "WARNUNG, die Plattform %s kann nicht konfiguriert werden " -#: internal/arduino/cores/packagemanager/install_uninstall.go:364 +#: internal/arduino/cores/packagemanager/install_uninstall.go:366 msgid "WARNING cannot configure tool: %s" msgstr "WARNUNG, das Tool %s kann nicht konfiguriert werden " -#: internal/arduino/cores/packagemanager/install_uninstall.go:302 -#: internal/arduino/cores/packagemanager/install_uninstall.go:416 +#: internal/arduino/cores/packagemanager/install_uninstall.go:304 +#: internal/arduino/cores/packagemanager/install_uninstall.go:418 msgid "WARNING cannot run pre_uninstall script: %s" msgstr "WARNUNG, kann das pre_uninstall Skript %s nicht ausführen: " -#: internal/cli/compile/compile.go:330 +#: internal/cli/compile/compile.go:339 msgid "WARNING: The sketch is compiled using one or more custom libraries." msgstr "" "WARNUNG: Der Sketch wurde mit einer oder mehreren benutzerdefinierten " "Bibliotheken kompiliert." -#: internal/arduino/builder/libraries.go:283 +#: internal/arduino/builder/libraries.go:284 msgid "" "WARNING: library %[1]s claims to run on %[2]s architecture(s) and may be " "incompatible with your current board which runs on %[3]s architecture(s)." @@ -2902,11 +2924,11 @@ msgstr "" "werden zu können und ist möglicherweise inkompatibel mit Ihrer derzeitigen " "Platine, welche auf %[3]s Architektur(en) ausgeführt wird." -#: commands/service_upload.go:520 +#: commands/service_upload.go:521 msgid "Waiting for upload port..." msgstr "Warten auf Upload-Port ..." -#: commands/service_compile.go:357 +#: commands/service_compile.go:367 msgid "" "Warning: Board %[1]s doesn't define a %[2]s preference. Auto-set to: %[3]s" msgstr "" @@ -2929,7 +2951,7 @@ msgstr "" "Schreibt die aktuelle Konfiguration in die Konfigurationsdatei im " "Datenverzeichnis." -#: internal/cli/compile/compile.go:150 internal/cli/compile/compile.go:153 +#: internal/cli/compile/compile.go:153 internal/cli/compile/compile.go:156 msgid "You cannot use the %s flag while compiling with a profile." msgstr "" "Du kannst das %s Flag nicht verwenden, wenn du mit einem Profil kompilierst." @@ -2938,13 +2960,13 @@ msgstr "" msgid "archive hash differs from hash in index" msgstr "Archiv-Hash unterscheidet sich von Hash im Index" -#: internal/arduino/libraries/librariesmanager/install.go:188 +#: internal/arduino/libraries/librariesmanager/install.go:187 msgid "archive is not valid: multiple files found in zip file top level" msgstr "" "Archiv ist nicht gültig: mehrere Dateien in der obersten Ebene der Zip-Datei" " gefunden" -#: internal/arduino/libraries/librariesmanager/install.go:191 +#: internal/arduino/libraries/librariesmanager/install.go:190 msgid "archive is not valid: no files found in zip file top level" msgstr "" "Archiv ist nicht gültig: keine Dateien in der obersten Ebene der Zip-Datei " @@ -2972,11 +2994,11 @@ msgstr "" "Einfache Suche nach \"esp32\" und \"display\" beschränkt auf offizielle " "Betreuer" -#: commands/service_upload.go:791 +#: commands/service_upload.go:792 msgid "binary file not found in %s" msgstr "Binärdatei wurde nicht in %s gefunden " -#: internal/arduino/cores/packagemanager/package_manager.go:348 +#: internal/arduino/cores/packagemanager/package_manager.go:316 msgid "board %s not found" msgstr "Platine %s nicht gefunden" @@ -2992,11 +3014,11 @@ msgstr "Verzeichnis der eingebauten Bibliotheken nicht festgelegt" msgid "can't find latest release of %s" msgstr "Die neueste Version von %s wurde nicht gefunden" -#: commands/instances.go:272 +#: commands/instances.go:273 msgid "can't find latest release of tool %s" msgstr "Die neueste Version des Tools %s wurde nicht gefunden" -#: internal/arduino/cores/packagemanager/loader.go:712 +#: internal/arduino/cores/packagemanager/loader.go:709 msgid "can't find pattern for discovery with id %s" msgstr "Kann kein Muster für die Suche mit id %s finden " @@ -3004,11 +3026,11 @@ msgstr "Kann kein Muster für die Suche mit id %s finden " msgid "candidates" msgstr "Kandidaten" -#: commands/service_upload.go:737 commands/service_upload.go:744 +#: commands/service_upload.go:738 commands/service_upload.go:745 msgid "cannot execute upload tool: %s" msgstr "Das Upload-Tool %s konnte nicht ausgeführt werden " -#: internal/arduino/resources/install.go:40 +#: internal/arduino/resources/install.go:48 msgid "checking local archive integrity" msgstr "Überprüfung der Integrität des lokalen Archivs" @@ -3034,27 +3056,27 @@ msgstr "Kommunikation nicht synchron, erwartet '%[1]s', empfangen '%[2]s'" msgid "computing hash: %s" msgstr "Hash berechnen: %s" -#: internal/arduino/cores/fqbn.go:81 +#: pkg/fqbn/fqbn.go:83 msgid "config key %s contains an invalid character" msgstr "Konfigurationsschlüssel %s enthält ein ungültiges Zeichen" -#: internal/arduino/cores/fqbn.go:86 +#: pkg/fqbn/fqbn.go:87 msgid "config value %s contains an invalid character" msgstr "Konfigurationswert %s enthält ein ungültiges Zeichen" -#: internal/arduino/libraries/librariesmanager/install.go:141 +#: internal/arduino/libraries/librariesmanager/install.go:140 msgid "copying library to destination directory:" msgstr "kopiere Bibliothek in Zielordner:" -#: commands/service_upload.go:863 +#: commands/service_upload.go:864 msgid "could not find a valid build artifact" msgstr "Gültiges Build-Artefakt wurde nicht gefunden" -#: commands/service_platform_install.go:94 +#: commands/service_platform_install.go:99 msgid "could not overwrite" msgstr "Überschreiben nicht möglich" -#: commands/service_library_install.go:190 +#: commands/service_library_install.go:191 msgid "could not remove old library" msgstr "konnte alte Bibliothek nicht entfernen" @@ -3063,20 +3085,20 @@ msgstr "konnte alte Bibliothek nicht entfernen" msgid "could not update sketch project file" msgstr "Sketch-Projektdatei konnte nicht aktualisiert werden" -#: internal/arduino/builder/core.go:116 internal/arduino/builder/core.go:140 +#: internal/arduino/builder/core.go:117 internal/arduino/builder/core.go:141 msgid "creating core cache folder: %s" msgstr "Erstellen des Kern-Cache-Ordners: %s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:219 +#: internal/arduino/cores/packagemanager/install_uninstall.go:221 msgid "creating installed.json in %[1]s: %[2]s" msgstr "install.json in %[1]s erstellen: %[2]s" -#: internal/arduino/resources/install.go:45 -#: internal/arduino/resources/install.go:49 +#: internal/arduino/resources/install.go:54 +#: internal/arduino/resources/install.go:58 msgid "creating temp dir for extraction: %s" msgstr "Erstellen eines temporären Verzeichnisses für die Extraktion: %s" -#: internal/arduino/builder/sizer.go:196 +#: internal/arduino/builder/sizer.go:199 msgid "data section exceeds available space in board" msgstr "Datenbereich überschreitet den verfügbaren Platz auf der Platine" @@ -3084,15 +3106,15 @@ msgstr "Datenbereich überschreitet den verfügbaren Platz auf der Platine" msgid "dependency '%s' is not available" msgstr "Abhängigkeit '%s' ist nicht verfügbar" -#: internal/arduino/libraries/librariesmanager/install.go:94 +#: internal/arduino/libraries/librariesmanager/install.go:93 msgid "destination dir %s already exists, cannot install" msgstr "Zielverzeichnis %s existiert bereits, kann nicht installiert werden" -#: internal/arduino/libraries/librariesmanager/install.go:138 +#: internal/arduino/libraries/librariesmanager/install.go:137 msgid "destination directory already exists" msgstr "Zielordner existiert bereits" -#: internal/arduino/libraries/librariesmanager/install.go:278 +#: internal/arduino/libraries/librariesmanager/install.go:305 msgid "directory doesn't exist: %s" msgstr "Verzeichnis existiert nicht: %s" @@ -3100,15 +3122,15 @@ msgstr "Verzeichnis existiert nicht: %s" msgid "discovery %[1]s process not started" msgstr "Erkennungsprozess %[1]s nicht gestartet" -#: internal/arduino/cores/packagemanager/loader.go:644 +#: internal/arduino/cores/packagemanager/loader.go:641 msgid "discovery %s not found" -msgstr "Discovery %swurde nicht gefunden" +msgstr "Discovery %s wurde nicht gefunden" -#: internal/arduino/cores/packagemanager/loader.go:648 +#: internal/arduino/cores/packagemanager/loader.go:645 msgid "discovery %s not installed" msgstr "Discovery %s wurde nicht installiert" -#: internal/arduino/cores/packagemanager/package_manager.go:746 +#: internal/arduino/cores/packagemanager/package_manager.go:714 msgid "discovery release not found: %s" msgstr "Discovery-Release %s wurde nicht gefunden" @@ -3124,11 +3146,11 @@ msgstr "Lade die neueste Version des Arduino SAMD-Kerns herunter." msgid "downloaded" msgstr "heruntergeladen" -#: commands/instances.go:55 +#: commands/instances.go:56 msgid "downloading %[1]s tool: %[2]s" msgstr "Werkzeug %[1]s wird heruntergeladen: %[2]s" -#: internal/arduino/cores/fqbn.go:60 +#: pkg/fqbn/fqbn.go:63 msgid "empty board identifier" msgstr "leerer Platinenidentifikator" @@ -3136,7 +3158,7 @@ msgstr "leerer Platinenidentifikator" msgid "error loading sketch project file:" msgstr "Fehler beim Laden der Sketch-Projektdatei:" -#: internal/arduino/cores/packagemanager/loader.go:615 +#: internal/arduino/cores/packagemanager/loader.go:612 msgid "error opening %s" msgstr "Fehler beim Öffnen von %s" @@ -3144,19 +3166,19 @@ msgstr "Fehler beim Öffnen von %s" msgid "error parsing version constraints" msgstr "Fehler beim Parsen von Versionsbeschränkungen" -#: commands/service_board_list.go:115 +#: commands/service_board_identify.go:203 msgid "error processing response from server" msgstr "Fehler bei der Verarbeitung der Serverantwort" -#: commands/service_board_list.go:95 +#: commands/service_board_identify.go:183 msgid "error querying Arduino Cloud Api" msgstr "Fehler bei der Abfrage der Arduino Cloud Api" -#: internal/arduino/libraries/librariesmanager/install.go:179 +#: internal/arduino/libraries/librariesmanager/install.go:178 msgid "extracting archive" msgstr "Archiv entpacken" -#: internal/arduino/resources/install.go:68 +#: internal/arduino/resources/install.go:77 msgid "extracting archive: %s" msgstr "Archiv wird extrahiert: %s" @@ -3164,7 +3186,7 @@ msgstr "Archiv wird extrahiert: %s" msgid "failed to compute hash of file \"%s\"" msgstr "Der Hash der Datei \"%s\" konnte nicht berechnet werden." -#: commands/service_board_list.go:90 +#: commands/service_board_identify.go:178 msgid "failed to initialize http client" msgstr "Http-Client konnte nicht initialisiert werden" @@ -3174,7 +3196,7 @@ msgstr "" "Die Größe des abgerufenen Archivs unterscheidet sich von der im Index " "angegebenen Größe" -#: internal/arduino/resources/install.go:123 +#: internal/arduino/resources/install.go:132 msgid "files in archive must be placed in a subdirectory" msgstr "Die Archivdateien müssen in einem Unterverzeichnis abgelegt werden" @@ -3204,7 +3226,7 @@ msgstr "für die neueste Version." msgid "for the specific version." msgstr "für die jeweilige Version." -#: internal/arduino/cores/fqbn.go:66 +#: pkg/fqbn/fqbn.go:68 msgid "fqbn's field %s contains an invalid character" msgstr "FQBN-Feld %s enthält ein ungültiges Zeichen" @@ -3228,35 +3250,35 @@ msgstr "Hole Archiv-Info: %s" #: internal/arduino/resources/checksums.go:89 #: internal/arduino/resources/download.go:36 #: internal/arduino/resources/helpers.go:39 -#: internal/arduino/resources/install.go:56 +#: internal/arduino/resources/install.go:65 msgid "getting archive path: %s" msgstr "Hole Archiv-Pfad: %s" -#: internal/arduino/cores/packagemanager/package_manager.go:354 +#: internal/arduino/cores/packagemanager/package_manager.go:322 msgid "getting build properties for board %[1]s: %[2]s" msgstr "Build-Eigenschaften für das Board %[1]s : %[2]s abrufen" -#: internal/arduino/cores/packagemanager/download.go:106 +#: internal/arduino/cores/packagemanager/download.go:108 msgid "getting discovery dependencies for platform %[1]s: %[2]s" msgstr "Discovery-Abhängigkeiten für die Plattform %[1]s abrufen: %[2]s" -#: internal/arduino/cores/packagemanager/download.go:114 +#: internal/arduino/cores/packagemanager/download.go:116 msgid "getting monitor dependencies for platform %[1]s: %[2]s" msgstr "Monitor-Abhängigkeiten für die Plattform %[1]s : %[2]s abrufen" -#: internal/arduino/cores/packagemanager/download.go:99 +#: internal/arduino/cores/packagemanager/download.go:101 msgid "getting tool dependencies for platform %[1]s: %[2]s" msgstr "Abrufen von Tool-Abhängigkeiten für die Plattform %[1]s: %[2]s" -#: internal/arduino/libraries/librariesmanager/install.go:149 +#: internal/arduino/libraries/librariesmanager/install.go:148 msgid "install directory not set" msgstr "Installationsverzeichnis nicht festgelegt" -#: commands/instances.go:59 +#: commands/instances.go:60 msgid "installing %[1]s tool: %[2]s" msgstr "Werkzeug %[1]s wird installiert: %[2]s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:211 +#: internal/arduino/cores/packagemanager/install_uninstall.go:213 msgid "installing platform %[1]s: %[2]s" msgstr "Plattform %[1]s wird installiert: %[2]s" @@ -3273,7 +3295,7 @@ msgstr "Ungültige '%s' Richtlinie" msgid "invalid checksum format: %s" msgstr "Ungültiges Prüfsummenformat: %s" -#: internal/arduino/cores/fqbn.go:73 internal/arduino/cores/fqbn.go:78 +#: pkg/fqbn/fqbn.go:75 pkg/fqbn/fqbn.go:80 msgid "invalid config option: %s" msgstr "ungültige Konfigurationsoption: %s" @@ -3305,11 +3327,14 @@ msgstr "ungültiger, leerer Bibliotheksname" msgid "invalid empty library version: %s" msgstr "ungültige, leere Bibliotheksversion: %s" -#: internal/arduino/cores/board.go:143 +#: internal/arduino/cores/board.go:144 msgid "invalid empty option found" msgstr "Ungültige leere Option gefunden" -#: internal/arduino/libraries/librariesmanager/install.go:268 +#: internal/arduino/libraries/librariesmanager/install.go:276 +#: internal/arduino/libraries/librariesmanager/install.go:279 +#: internal/arduino/libraries/librariesmanager/install.go:286 +#: internal/arduino/libraries/librariesmanager/install.go:290 msgid "invalid git url" msgstr "Ungültige Git-URL" @@ -3337,7 +3362,7 @@ msgstr "Ungültiger Ort für Bibliothek: %s" msgid "invalid library: no header files found" msgstr "ungültige Bibliothek: keine Header-Dateien gefunden" -#: internal/arduino/cores/board.go:146 +#: internal/arduino/cores/board.go:147 msgid "invalid option '%s'" msgstr "Ungültige Option '%s'" @@ -3355,10 +3380,6 @@ msgstr "" msgid "invalid path writing inventory file: %[1]s error" msgstr "Fehler. Ungültiger Pfad beim Schreiben der Inventardatei: %[1]s" -#: internal/arduino/cores/packageindex/index.go:278 -msgid "invalid platform archive size: %s" -msgstr "ungültige Plattformarchivgröße: %s" - #: internal/arduino/sketch/profiles.go:252 msgid "invalid platform identifier" msgstr "ungültiger Plattformidentifikator" @@ -3377,9 +3398,9 @@ msgstr "Ungültiger Port-Konfigurationswert für %s: %s" #: internal/cli/monitor/monitor.go:182 msgid "invalid port configuration: %s=%s" -msgstr "" +msgstr "ungültige Port-Konfiguration: %s=%s" -#: commands/service_upload.go:724 +#: commands/service_upload.go:725 msgid "invalid recipe '%[1]s': %[2]s" msgstr "Ungültiges Rezept '%[1]s': %[2]s" @@ -3393,7 +3414,7 @@ msgstr "" "\"_\" sein, die folgenden können auch \"-\" und \".\" enthalten. Das letzte " "Zeichen darf nicht \".\" sein." -#: internal/arduino/cores/board.go:150 +#: internal/arduino/cores/board.go:151 msgid "invalid value '%[1]s' for option '%[2]s'" msgstr "Ungültiger Wert '%[1]s' für Option '%[2]s'" @@ -3433,11 +3454,11 @@ msgstr "Bibliotheken mit \"buzzer\" im Feld Name" msgid "libraries with a Name exactly matching \"pcf8523\"" msgstr "Bibliotheken mit einem Namen, der genau mit \"pcf8523\" übereinstimmt" -#: internal/arduino/libraries/librariesmanager/install.go:126 +#: internal/arduino/libraries/librariesmanager/install.go:125 msgid "library %s already installed" msgstr "Bibliothek %s bereits installiert" -#: internal/arduino/libraries/librariesmanager/install.go:315 +#: internal/arduino/libraries/librariesmanager/install.go:342 msgid "library not valid" msgstr "Bibliothek nicht gültig" @@ -3451,8 +3472,8 @@ msgstr "lade %[1]s: %[2]s" msgid "loading boards: %s" msgstr "Platinen werden geladen: %s" -#: internal/arduino/cores/packagemanager/package_manager.go:501 -#: internal/arduino/cores/packagemanager/package_manager.go:516 +#: internal/arduino/cores/packagemanager/package_manager.go:469 +#: internal/arduino/cores/packagemanager/package_manager.go:484 msgid "loading json index file %[1]s: %[2]s" msgstr "json-Indexdatei laden %[1]s: %[2]s" @@ -3481,7 +3502,7 @@ msgstr "Lade erforderliche Plattform %s" msgid "loading required tool %s" msgstr "Lade erforderliches Tool %s" -#: internal/arduino/cores/packagemanager/loader.go:590 +#: internal/arduino/cores/packagemanager/loader.go:587 msgid "loading tool release in %s" msgstr "Lade Tool-Release in %s" @@ -3489,7 +3510,7 @@ msgstr "Lade Tool-Release in %s" msgid "looking for boards.txt in %s" msgstr "suche nach boards.txt in %s" -#: commands/service_upload.go:806 +#: commands/service_upload.go:807 msgid "looking for build artifacts" msgstr "Suche nach Build-Artefakten" @@ -3505,7 +3526,7 @@ msgstr "Fehlende '%s' Richtlinie" msgid "missing checksum for: %s" msgstr "Fehlende Prüfsumme für: %s" -#: internal/arduino/cores/packagemanager/package_manager.go:462 +#: internal/arduino/cores/packagemanager/package_manager.go:430 msgid "missing package %[1]s referenced by board %[2]s" msgstr "Fehlendes Paket %[1]s referenziert von Board %[2]s" @@ -3515,11 +3536,11 @@ msgstr "" "Fehlender Paketindex für %s, zukünftige Updates können nicht garantiert " "werden" -#: internal/arduino/cores/packagemanager/package_manager.go:467 +#: internal/arduino/cores/packagemanager/package_manager.go:435 msgid "missing platform %[1]s:%[2]s referenced by board %[3]s" msgstr "Fehlende Plattform %[1]s:%[2]s referenziert von Board %[3]s" -#: internal/arduino/cores/packagemanager/package_manager.go:472 +#: internal/arduino/cores/packagemanager/package_manager.go:440 msgid "missing platform release %[1]s:%[2]s referenced by board %[3]s" msgstr "Fehlende Plattformfreigabe %[1]s:%[2]s referenziert von Board %[3]s" @@ -3527,17 +3548,17 @@ msgstr "Fehlende Plattformfreigabe %[1]s:%[2]s referenziert von Board %[3]s" msgid "missing signature" msgstr "Fehlende Signatur" -#: internal/arduino/cores/packagemanager/package_manager.go:757 +#: internal/arduino/cores/packagemanager/package_manager.go:725 msgid "monitor release not found: %s" msgstr "Monitor-Freigabe nicht gefunden: %s" -#: internal/arduino/libraries/librariesmanager/install.go:197 -#: internal/arduino/libraries/librariesmanager/install.go:246 -#: internal/arduino/resources/install.go:97 +#: internal/arduino/libraries/librariesmanager/install.go:196 +#: internal/arduino/libraries/librariesmanager/install.go:247 +#: internal/arduino/resources/install.go:106 msgid "moving extracted archive to destination dir: %s" msgstr "Verschieben des extrahierten Archivs in das Zielverzeichnis: %s" -#: commands/service_upload.go:858 +#: commands/service_upload.go:859 msgid "multiple build artifacts found: '%[1]s' and '%[2]s'" msgstr "Mehrere Build-Artefakte gefunden: '%[1]s' und '%[2]s'" @@ -3545,7 +3566,7 @@ msgstr "Mehrere Build-Artefakte gefunden: '%[1]s' und '%[2]s'" msgid "multiple main sketch files found (%[1]v, %[2]v)" msgstr "Mehrere Haupt-Sketchdateien gefunden (%[1]v, %[2]v)" -#: internal/arduino/cores/packagemanager/install_uninstall.go:338 +#: internal/arduino/cores/packagemanager/install_uninstall.go:340 msgid "" "no compatible version of %[1]s tools found for the current os, try " "contacting %[2]s" @@ -3553,11 +3574,11 @@ msgstr "" "Keine kompatible Version von %[1]s Tools für das aktuelle Betriebssystem " "gefunden wurde, kontaktiere bitte %[2]s" -#: commands/service_board_list.go:273 +#: commands/service_board_list.go:106 msgid "no instance specified" msgstr "Keine Instanz angegeben" -#: commands/service_upload.go:813 +#: commands/service_upload.go:814 msgid "no sketch or build directory/file specified" msgstr "Kein Sketch oder Build-Verzeichnis/Datei angegeben" @@ -3565,13 +3586,13 @@ msgstr "Kein Sketch oder Build-Verzeichnis/Datei angegeben" msgid "no such file or directory" msgstr "Verzeichnis oder Datei nicht vorhanden" -#: internal/arduino/resources/install.go:126 +#: internal/arduino/resources/install.go:135 msgid "no unique root dir in archive, found '%[1]s' and '%[2]s'" msgstr "" "Kein eindeutiges Stammverzeichnis im Archiv, gefunden wurde: '%[1]s' und " "'%[2]s'" -#: commands/service_upload.go:719 +#: commands/service_upload.go:720 msgid "no upload port provided" msgstr "Kein Upload-Port vorhanden" @@ -3579,13 +3600,13 @@ msgstr "Kein Upload-Port vorhanden" msgid "no valid sketch found in %[1]s: missing %[2]s" msgstr "Kein gültiger Sketch in %[1]s gefunden : es fehlt %[2]s" -#: internal/arduino/cores/packagemanager/download.go:128 +#: internal/arduino/cores/packagemanager/download.go:130 msgid "no versions available for the current OS, try contacting %s" msgstr "" "Keine Versionen für das aktuelle Betriebssystem verfügbar. Kontaktiere bitte" " %s" -#: internal/arduino/cores/fqbn.go:50 +#: pkg/fqbn/fqbn.go:53 msgid "not an FQBN: %s" msgstr "kein FQBN: %s" @@ -3594,7 +3615,7 @@ msgid "not running in a terminal" msgstr "Läuft nicht in einem Terminal" #: internal/arduino/resources/checksums.go:71 -#: internal/arduino/resources/install.go:60 +#: internal/arduino/resources/install.go:69 msgid "opening archive file: %s" msgstr "Archivdatei öffnen: %s" @@ -3602,26 +3623,26 @@ msgstr "Archivdatei öffnen: %s" msgid "opening boards.txt" msgstr "boards.txt wird geöffnet" -#: internal/arduino/security/signatures.go:81 +#: internal/arduino/security/signatures.go:82 msgid "opening signature file: %s" msgstr "Öffne Signaturdatei: %s" -#: internal/arduino/security/signatures.go:76 +#: internal/arduino/security/signatures.go:78 msgid "opening target file: %s" msgstr "Öffne Zieldatei: %s" -#: internal/arduino/cores/packagemanager/download.go:76 +#: internal/arduino/cores/packagemanager/download.go:78 #: internal/arduino/cores/status.go:97 internal/arduino/cores/status.go:122 #: internal/arduino/cores/status.go:149 msgid "package %s not found" msgstr "Paket %s nicht gefunden" -#: internal/arduino/cores/packagemanager/package_manager.go:530 +#: internal/arduino/cores/packagemanager/package_manager.go:498 msgid "package '%s' not found" msgstr "Paket '%s' nicht gefunden" -#: internal/arduino/cores/board.go:166 -#: internal/arduino/cores/packagemanager/package_manager.go:295 +#: internal/arduino/cores/board.go:167 +#: internal/arduino/cores/packagemanager/package_manager.go:263 msgid "parsing fqbn: %s" msgstr "parse FQBN: %s" @@ -3633,26 +3654,26 @@ msgstr "parse library_index.json: %s" msgid "path is not a platform directory: %s" msgstr "Pfad ist kein Plattformverzeichnis: %s" -#: internal/arduino/cores/packagemanager/download.go:80 +#: internal/arduino/cores/packagemanager/download.go:82 msgid "platform %[1]s not found in package %[2]s" msgstr "Plattform %[1]s nicht im Paket %[2]s gefunden " -#: internal/arduino/cores/packagemanager/package_manager.go:341 +#: internal/arduino/cores/packagemanager/package_manager.go:309 msgid "platform %s is not installed" msgstr "Plattform %s ist nicht installiert" -#: internal/arduino/cores/packagemanager/download.go:92 +#: commands/cmderrors/cmderrors.go:427 msgid "platform is not available for your OS" msgstr "Plattform ist für dieses Betriebssystem nicht verfügbar" -#: commands/service_compile.go:126 -#: internal/arduino/cores/packagemanager/install_uninstall.go:179 -#: internal/arduino/cores/packagemanager/install_uninstall.go:283 -#: internal/arduino/cores/packagemanager/loader.go:420 +#: commands/service_compile.go:129 +#: internal/arduino/cores/packagemanager/install_uninstall.go:181 +#: internal/arduino/cores/packagemanager/install_uninstall.go:285 +#: internal/arduino/cores/packagemanager/loader.go:417 msgid "platform not installed" msgstr "Plattform nicht installiert" -#: internal/cli/compile/compile.go:139 +#: internal/cli/compile/compile.go:142 msgid "please use --build-property instead." msgstr "Bitte verwende stattdessen --build-property." @@ -3687,15 +3708,15 @@ msgstr "Verzeichnisinhalt lesen %[1]s" #: internal/arduino/cores/packagemanager/loader.go:69 #: internal/arduino/cores/packagemanager/loader.go:151 #: internal/arduino/cores/packagemanager/loader.go:218 -#: internal/arduino/cores/packagemanager/loader.go:582 +#: internal/arduino/cores/packagemanager/loader.go:579 msgid "reading directory %s" msgstr "Verzeichnis %s wird gelesen" -#: internal/arduino/libraries/librariesmanager/install.go:288 +#: internal/arduino/libraries/librariesmanager/install.go:315 msgid "reading directory %s content" msgstr "Verzeichnisinhalt lesen %s" -#: internal/arduino/builder/sketch.go:81 +#: internal/arduino/builder/sketch.go:83 msgid "reading file %[1]s: %[2]s" msgstr "Datei %[1]s wird gelesen: %[2]s" @@ -3719,7 +3740,7 @@ msgstr "Bibliotheksquellverzeichnis lesen %s" msgid "reading library_index.json: %s" msgstr "lese library_index.json: %s" -#: internal/arduino/resources/install.go:116 +#: internal/arduino/resources/install.go:125 msgid "reading package root dir: %s" msgstr "Lese Paketstammverzeichnis: %s" @@ -3727,11 +3748,11 @@ msgstr "Lese Paketstammverzeichnis: %s" msgid "reading sketch files" msgstr "Sketch-Dateien lesen" -#: commands/service_upload.go:713 +#: commands/service_upload.go:714 msgid "recipe not found '%s'" msgstr "Rezept nicht gefunden '%s'" -#: internal/arduino/cores/packagemanager/package_manager.go:606 +#: internal/arduino/cores/packagemanager/package_manager.go:574 msgid "release %[1]s not found for tool %[2]s" msgstr "Freigabe %[1]s für Werkzeug %[2]s nicht gefunden " @@ -3744,19 +3765,19 @@ msgstr "Freigabe kann nicht null sein" msgid "removing corrupted archive file: %s" msgstr "Entfernen der beschädigten Archivdatei: %s" -#: internal/arduino/libraries/librariesmanager/install.go:152 +#: internal/arduino/libraries/librariesmanager/install.go:151 msgid "removing library directory: %s" msgstr "Entferne das Bibliotheksverzeichnis: %s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:310 +#: internal/arduino/cores/packagemanager/install_uninstall.go:312 msgid "removing platform files: %s" msgstr "Entferne die Plattformdateien: %s" -#: internal/arduino/cores/packagemanager/download.go:87 +#: internal/arduino/cores/packagemanager/download.go:89 msgid "required version %[1]s not found for platform %[2]s" msgstr "Erforderliche Version %[1]s für Plattform %[2]s nicht gefunden " -#: internal/arduino/security/signatures.go:72 +#: internal/arduino/security/signatures.go:74 msgid "retrieving Arduino public keys: %s" msgstr "Abrufen der öffentlichen Arduino-Schlüssel: %s" @@ -3765,10 +3786,14 @@ msgstr "Abrufen der öffentlichen Arduino-Schlüssel: %s" msgid "scanning sketch examples" msgstr "Sketch-Beispiele durchsuchen" -#: internal/arduino/resources/install.go:74 +#: internal/arduino/resources/install.go:83 msgid "searching package root dir: %s" msgstr "Suche im Stammverzeichnis des Pakets: %s" +#: internal/arduino/security/signatures.go:87 +msgid "signature expired: is your system clock set correctly?" +msgstr "Signatur abgelaufen: Ist deine Systemuhr richtig eingestellt?" + #: commands/service_sketch_new.go:78 msgid "sketch name cannot be empty" msgstr "Sketchname darf nicht leer sein" @@ -3807,11 +3832,11 @@ msgstr "Archivgröße wird getestet: %s" msgid "testing if archive is cached: %s" msgstr "Prüfe, ob das Archiv zwischengespeichert ist: %s" -#: internal/arduino/resources/install.go:38 +#: internal/arduino/resources/install.go:46 msgid "testing local archive integrity: %s" msgstr "Prüfung der Integrität des lokalen Archivs: %s" -#: internal/arduino/builder/sizer.go:191 +#: internal/arduino/builder/sizer.go:194 msgid "text section exceeds available space in board" msgstr "Textbereich überschreitet den verfügbaren Platz auf der Platine" @@ -3820,7 +3845,7 @@ msgstr "Textbereich überschreitet den verfügbaren Platz auf der Platine" msgid "the compilation database may be incomplete or inaccurate" msgstr "Die Kompilierdatenbank kann unvollständig oder ungenau sein" -#: commands/service_board_list.go:102 +#: commands/service_board_identify.go:190 msgid "the server responded with status %s" msgstr "Der Server antwortete mit dem Status %s" @@ -3828,7 +3853,7 @@ msgstr "Der Server antwortete mit dem Status %s" msgid "timeout waiting for message" msgstr "Timeout beim Warten auf Nachricht" -#: internal/arduino/cores/packagemanager/install_uninstall.go:404 +#: internal/arduino/cores/packagemanager/install_uninstall.go:406 msgid "tool %s is not managed by package manager" msgstr "Das Tool %s wird nicht vom Paketmanager verwaltet." @@ -3837,16 +3862,16 @@ msgstr "Das Tool %s wird nicht vom Paketmanager verwaltet." msgid "tool %s not found" msgstr "Tool %s nicht gefunden" -#: internal/arduino/cores/packagemanager/package_manager.go:556 +#: internal/arduino/cores/packagemanager/package_manager.go:524 msgid "tool '%[1]s' not found in package '%[2]s'" msgstr "Tool '%[1]s' nicht in Paket '%[2]s' gefunden" -#: internal/arduino/cores/packagemanager/install_uninstall.go:399 +#: internal/arduino/cores/packagemanager/install_uninstall.go:401 msgid "tool not installed" msgstr "Werkzeug nicht installiert" -#: internal/arduino/cores/packagemanager/package_manager.go:735 -#: internal/arduino/cores/packagemanager/package_manager.go:841 +#: internal/arduino/cores/packagemanager/package_manager.go:703 +#: internal/arduino/cores/packagemanager/package_manager.go:809 msgid "tool release not found: %s" msgstr "Werkzeugfreigabe nicht gefunden: %s" @@ -3854,24 +3879,24 @@ msgstr "Werkzeugfreigabe nicht gefunden: %s" msgid "tool version %s not found" msgstr "Werkzeugversion %s nicht gefunden" -#: commands/service_library_install.go:92 +#: commands/service_library_install.go:93 msgid "" "two different versions of the library %[1]s are required: %[2]s and %[3]s" msgstr "" "zwei verschiedene Versionen der Bibliothek %[1]s sind erforderlich: %[2]s " "und %[3]s" -#: internal/arduino/builder/sketch.go:74 -#: internal/arduino/builder/sketch.go:118 +#: internal/arduino/builder/sketch.go:76 +#: internal/arduino/builder/sketch.go:120 msgid "unable to compute relative path to the sketch for the item" msgstr "" "Relativer Pfad zum Sketch konnte für das Element nicht berechnet werden" -#: internal/arduino/builder/sketch.go:43 +#: internal/arduino/builder/sketch.go:45 msgid "unable to create a folder to save the sketch" msgstr "Konnte keinen Ordner zum Speichern des Sketchs erstellen" -#: internal/arduino/builder/sketch.go:124 +#: internal/arduino/builder/sketch.go:126 msgid "unable to create the folder containing the item" msgstr "Konnte Ordner, der das Objekt enthält, nicht erstellen" @@ -3879,23 +3904,23 @@ msgstr "Konnte Ordner, der das Objekt enthält, nicht erstellen" msgid "unable to marshal config to YAML: %v" msgstr "Konnte die Konfiguration nicht in YAML umwandeln: %v" -#: internal/arduino/builder/sketch.go:162 +#: internal/arduino/builder/sketch.go:164 msgid "unable to read contents of the destination item" msgstr "Inhalt des Zielobjekts konnte nicht gelesen werden" -#: internal/arduino/builder/sketch.go:135 +#: internal/arduino/builder/sketch.go:137 msgid "unable to read contents of the source item" msgstr "Inhalt der Quelle konnte nicht gelesen werden" -#: internal/arduino/builder/sketch.go:145 +#: internal/arduino/builder/sketch.go:147 msgid "unable to write to destination file" msgstr "Schreiben in Zieldatei unmöglich" -#: internal/arduino/cores/packagemanager/package_manager.go:329 +#: internal/arduino/cores/packagemanager/package_manager.go:297 msgid "unknown package %s" msgstr "unbekanntes Paket %s" -#: internal/arduino/cores/packagemanager/package_manager.go:336 +#: internal/arduino/cores/packagemanager/package_manager.go:304 msgid "unknown platform %s:%s" msgstr "unbekannte Plattform %s:%s" @@ -3915,7 +3940,7 @@ msgstr "Aktualisiere arduino:samd auf die neueste Version" msgid "upgrade everything to the latest version" msgstr "Aktualisiere alles auf die neueste Version" -#: commands/service_upload.go:759 +#: commands/service_upload.go:760 msgid "uploading error: %s" msgstr "Hochladefehler: %s" @@ -3939,6 +3964,6 @@ msgstr "Version %s ist für dieses Betriebssystem nicht verfügbar" msgid "version %s not found" msgstr "Version %s nicht gefunden" -#: commands/service_board_list.go:120 +#: commands/service_board_identify.go:208 msgid "wrong format in server response" msgstr "falsches Format in der Serverantwort" diff --git a/internal/i18n/data/en.po b/internal/locales/data/en.po similarity index 100% rename from internal/i18n/data/en.po rename to internal/locales/data/en.po diff --git a/internal/i18n/data/es.po b/internal/locales/data/es.po similarity index 86% rename from internal/i18n/data/es.po rename to internal/locales/data/es.po index 53863b5c4f3..53afd3f5b8e 100644 --- a/internal/i18n/data/es.po +++ b/internal/locales/data/es.po @@ -7,17 +7,17 @@ # Sachonidas, 2022 # Iago, 2022 # Gonzalo Martínez, 2023 -# Gaia Castronovo , 2023 # Diego Castro, 2023 +# Gaia Castronovo , 2025 # msgid "" msgstr "" -"Last-Translator: Diego Castro, 2023\n" +"Last-Translator: Gaia Castronovo , 2025\n" "Language-Team: Spanish (https://app.transifex.com/arduino-1/teams/108174/es/)\n" "Language: es\n" "Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" -#: version/version.go:56 +#: internal/version/version.go:56 msgid "%[1]s %[2]s Version: %[3]s Commit: %[4]s Date: %[5]s" msgstr "" @@ -29,11 +29,11 @@ msgstr "¡%[1]s ya no es compatible con la carpeta! %[2]s Para más información msgid "%[1]s invalid, rebuilding all" msgstr "%[1]s inválido, reconstruyendo todo" -#: internal/cli/lib/check_deps.go:124 +#: internal/cli/lib/check_deps.go:125 msgid "%[1]s is required but %[2]s is currently installed." msgstr "%[1]s es requerido pero %[2]s está actualmente instalado." -#: internal/arduino/builder/builder.go:486 +#: internal/arduino/builder/builder.go:487 msgid "%[1]s pattern is missing" msgstr "No se encuentra patrón %[1]s" @@ -41,45 +41,45 @@ msgstr "No se encuentra patrón %[1]s" msgid "%s already downloaded" msgstr "%s ya está descargado" -#: commands/service_upload.go:781 +#: commands/service_upload.go:782 msgid "%s and %s cannot be used together" msgstr "%s y %s no se pueden usar juntos" -#: internal/arduino/cores/packagemanager/install_uninstall.go:371 +#: internal/arduino/cores/packagemanager/install_uninstall.go:373 msgid "%s installed" msgstr "%s instalado" -#: internal/cli/lib/check_deps.go:121 +#: internal/cli/lib/check_deps.go:122 msgid "%s is already installed." msgstr "%s ya está instalado." #: internal/arduino/cores/packagemanager/loader.go:63 -#: internal/arduino/cores/packagemanager/loader.go:617 +#: internal/arduino/cores/packagemanager/loader.go:614 msgid "%s is not a directory" msgstr "%s no es un directorio" -#: internal/arduino/cores/packagemanager/install_uninstall.go:290 +#: internal/arduino/cores/packagemanager/install_uninstall.go:292 msgid "%s is not managed by package manager" msgstr "%s no es manejado por el administrador de paquetes" #: internal/cli/daemon/daemon.go:67 msgid "%s must be >= 1024" -msgstr "" +msgstr "%s debe ser >= 1024" -#: internal/cli/lib/check_deps.go:118 +#: internal/cli/lib/check_deps.go:119 msgid "%s must be installed." msgstr "%s debe ser instalado." -#: internal/arduino/builder/internal/preprocessor/ctags.go:192 -#: internal/arduino/builder/internal/preprocessor/gcc.go:62 +#: internal/arduino/builder/internal/preprocessor/ctags.go:193 +#: internal/arduino/builder/internal/preprocessor/gcc.go:63 msgid "%s pattern is missing" msgstr "Falta el patrón %s " -#: commands/cmderrors/cmderrors.go:818 +#: commands/cmderrors/cmderrors.go:839 msgid "'%s' has an invalid signature" msgstr "'%s' tiene una firma inválida" -#: internal/arduino/cores/packagemanager/package_manager.go:448 +#: internal/arduino/cores/packagemanager/package_manager.go:416 msgid "" "'build.core' and 'build.variant' refer to different platforms: %[1]s and " "%[2]s" @@ -89,7 +89,7 @@ msgstr "" msgid "(hidden)" msgstr "(oculto)" -#: internal/arduino/builder/libraries.go:302 +#: internal/arduino/builder/libraries.go:303 msgid "(legacy)" msgstr "(legado)" @@ -121,7 +121,7 @@ msgstr "El archivo .ino ya existe" msgid "A new release of Arduino CLI is available:" msgstr "Una nueva versión de Arduino CLI está disponible:" -#: commands/cmderrors/cmderrors.go:299 +#: commands/cmderrors/cmderrors.go:300 msgid "A programmer is required to upload" msgstr "Se requiere un programador para subir." @@ -154,7 +154,7 @@ msgstr "" msgid "All the cores are already at the latest version" msgstr "Todos los núcleos están en su última versión" -#: commands/service_library_install.go:135 +#: commands/service_library_install.go:136 msgid "Already installed %s" msgstr "Ya está instalado %s" @@ -182,7 +182,7 @@ msgstr "Arquitectura: %s" msgid "Archive already exists" msgstr "El archivo ya existe" -#: internal/arduino/builder/core.go:163 +#: internal/arduino/builder/core.go:164 msgid "Archiving built core (caching) in: %[1]s" msgstr "Archivando el núcleo construido (cacheado) en: %[1]s" @@ -230,7 +230,7 @@ msgstr "Conecta una tabla al sketch." msgid "Author: %s" msgstr "Autor: %s" -#: internal/arduino/libraries/librariesmanager/install.go:79 +#: internal/arduino/libraries/librariesmanager/install.go:78 msgid "" "Automatic library install can't be performed in this case, please manually " "remove all duplicates and retry." @@ -267,11 +267,11 @@ msgstr "Nombre de la placa:" msgid "Board version:" msgstr "Versión de la placa:" -#: internal/arduino/builder/sketch.go:243 +#: internal/arduino/builder/sketch.go:245 msgid "Bootloader file specified but missing: %[1]s" msgstr "Fichero Bootloader especificado pero ausente: %[1]s" -#: internal/cli/compile/compile.go:101 +#: internal/cli/compile/compile.go:104 msgid "" "Builds of cores and sketches are saved into this path to be cached and " "reused." @@ -281,25 +281,25 @@ msgstr "" msgid "Can't create data directory %s" msgstr "No se puede crear el directorio de datos %s" -#: commands/cmderrors/cmderrors.go:511 +#: commands/cmderrors/cmderrors.go:532 msgid "Can't create sketch" msgstr "No se puede crear el sketch" -#: commands/service_library_download.go:91 -#: commands/service_library_download.go:94 +#: commands/service_library_download.go:95 +#: commands/service_library_download.go:98 msgid "Can't download library" msgstr "No fue posible descargar la librería" #: commands/service_platform_uninstall.go:89 -#: internal/arduino/cores/packagemanager/install_uninstall.go:136 +#: internal/arduino/cores/packagemanager/install_uninstall.go:138 msgid "Can't find dependencies for platform %s" msgstr "No puedo encontrar las dependencias para la plataforma %s" -#: commands/cmderrors/cmderrors.go:537 +#: commands/cmderrors/cmderrors.go:558 msgid "Can't open sketch" msgstr "No es posible abrir el sketch" -#: commands/cmderrors/cmderrors.go:524 +#: commands/cmderrors/cmderrors.go:545 msgid "Can't update sketch" msgstr "" @@ -311,11 +311,11 @@ msgstr "" msgid "Can't write debug log: %s" msgstr "" -#: commands/service_compile.go:187 commands/service_compile.go:190 +#: commands/service_compile.go:190 commands/service_compile.go:193 msgid "Cannot create build cache directory" msgstr "No se puede crear el directorio de caché de compilación" -#: commands/service_compile.go:212 +#: commands/service_compile.go:215 msgid "Cannot create build directory" msgstr "No se puede crear el directorio de caché de compilación" @@ -327,11 +327,11 @@ msgstr "No se puede crear el directorio de archivos de configuración: %v" msgid "Cannot create config file: %v" msgstr "No se puede crear el archivo de configuración: %v" -#: commands/cmderrors/cmderrors.go:781 +#: commands/cmderrors/cmderrors.go:802 msgid "Cannot create temp dir" msgstr "No se puede crear un directorio temporal" -#: commands/cmderrors/cmderrors.go:799 +#: commands/cmderrors/cmderrors.go:820 msgid "Cannot create temp file" msgstr "No se puede crear un archivo temporal" @@ -353,15 +353,15 @@ msgstr "No se puede encontrar la ruta absoluta: %v" msgid "Cannot get the configuration key %[1]s: %[2]v" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:143 +#: internal/arduino/cores/packagemanager/install_uninstall.go:145 msgid "Cannot install platform" msgstr "No se puede instalar la plataforma" -#: internal/arduino/cores/packagemanager/install_uninstall.go:349 +#: internal/arduino/cores/packagemanager/install_uninstall.go:351 msgid "Cannot install tool %s" msgstr "No se puede instalar la herramienta %s" -#: commands/service_upload.go:543 +#: commands/service_upload.go:544 msgid "Cannot perform port reset: %s" msgstr "No se puede realizar el reinicio del puerto: %s" @@ -370,7 +370,7 @@ msgstr "No se puede realizar el reinicio del puerto: %s" msgid "Cannot remove the configuration key %[1]s: %[2]v" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:161 +#: internal/arduino/cores/packagemanager/install_uninstall.go:163 msgid "Cannot upgrade platform" msgstr "No se puede actualizar la plataforma" @@ -411,27 +411,31 @@ msgstr "" "El comando sigue ejecutándose e imprime la lista de placas conectadas cada " "vez que hay un cambio." -#: commands/service_debug_config.go:178 commands/service_upload.go:451 +#: commands/service_debug_config.go:178 commands/service_upload.go:452 msgid "Compiled sketch not found in %s" msgstr "Proyecto compilado no encontrado en %s" +#: internal/arduino/builder/internal/preprocessor/gcc.go:93 +msgid "Compiler error output has been truncated." +msgstr "" + #: internal/cli/compile/compile.go:80 internal/cli/compile/compile.go:81 msgid "Compiles Arduino sketches." msgstr "Compila los sketch de Arduino" -#: internal/arduino/builder/builder.go:420 +#: internal/arduino/builder/builder.go:421 msgid "Compiling core..." msgstr "Compilando el núcleo..." -#: internal/arduino/builder/builder.go:399 +#: internal/arduino/builder/builder.go:400 msgid "Compiling libraries..." msgstr "Compilando librerías..." -#: internal/arduino/builder/libraries.go:133 +#: internal/arduino/builder/libraries.go:134 msgid "Compiling library \"%[1]s\"" msgstr "Compilando librería \"%[1]s\"" -#: internal/arduino/builder/builder.go:383 +#: internal/arduino/builder/builder.go:384 msgid "Compiling sketch..." msgstr "Compilando el sketch..." @@ -456,11 +460,11 @@ msgid "" "=[,=]..." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:177 +#: internal/arduino/cores/packagemanager/install_uninstall.go:179 msgid "Configuring platform." msgstr "Configurando plataforma." -#: internal/arduino/cores/packagemanager/install_uninstall.go:359 +#: internal/arduino/cores/packagemanager/install_uninstall.go:361 msgid "Configuring tool." msgstr "" @@ -476,19 +480,19 @@ msgstr "" msgid "Core" msgstr "Núcleo" -#: internal/cli/configuration/network.go:103 +#: internal/cli/configuration/network.go:127 msgid "Could not connect via HTTP" msgstr "No se pudo conectar vía HTTP" -#: commands/instances.go:486 +#: commands/instances.go:487 msgid "Could not create index directory" msgstr "No se ha podido crear el directorio índice." -#: internal/arduino/builder/core.go:41 +#: internal/arduino/builder/core.go:42 msgid "Couldn't deeply cache core build: %[1]s" msgstr "" -#: internal/arduino/builder/sizer.go:154 +#: internal/arduino/builder/sizer.go:155 msgid "Couldn't determine program size" msgstr "No se pudo determinar el tamaño del programa" @@ -500,7 +504,7 @@ msgstr "No se ha podido obtener el directorio de trabajo actual: %v" msgid "Create a new Sketch" msgstr "Crear un nuevo Sketch" -#: internal/cli/compile/compile.go:98 +#: internal/cli/compile/compile.go:101 msgid "Create and print a profile configuration from the build." msgstr "" @@ -516,7 +520,7 @@ msgstr "" "Crea o actualiza el archivo de configuración en el directorio de datos o " "directorio personalizado con los ajustes actuales." -#: internal/cli/compile/compile.go:331 +#: internal/cli/compile/compile.go:340 msgid "" "Currently, Build Profiles only support libraries available through Arduino " "Library Manager." @@ -590,7 +594,7 @@ msgstr "Dependencias: %s" msgid "Description" msgstr "Descripción" -#: internal/arduino/builder/builder.go:313 +#: internal/arduino/builder/builder.go:314 msgid "Detecting libraries used..." msgstr "Detectando las librerías usadas..." @@ -653,7 +657,7 @@ msgstr "" msgid "Do not try to update library dependencies if already installed." msgstr "" -#: commands/service_library_download.go:88 +#: commands/service_library_download.go:92 msgid "Downloading %s" msgstr "Descargando %s" @@ -661,21 +665,21 @@ msgstr "Descargando %s" msgid "Downloading index signature: %s" msgstr "" -#: commands/instances.go:563 commands/instances.go:581 -#: commands/instances.go:595 commands/instances.go:612 +#: commands/instances.go:564 commands/instances.go:582 +#: commands/instances.go:596 commands/instances.go:613 #: internal/arduino/resources/index.go:82 msgid "Downloading index: %s" msgstr "Descargando el índice: %s" -#: commands/instances.go:371 +#: commands/instances.go:372 msgid "Downloading library %s" msgstr "Descargando la librería %s" -#: commands/instances.go:53 +#: commands/instances.go:54 msgid "Downloading missing tool %s" msgstr "Descargando herramienta perdida %s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:96 +#: internal/arduino/cores/packagemanager/install_uninstall.go:98 msgid "Downloading packages" msgstr "Descargando paquetes" @@ -713,7 +717,7 @@ msgstr "Introducir la url de git para librerías alojadas en repositorios" msgid "Error adding file to sketch archive" msgstr "Error añadiendo sketch al archivo de sketch" -#: internal/arduino/builder/core.go:169 +#: internal/arduino/builder/core.go:170 msgid "Error archiving built core (caching) in %[1]s: %[2]s" msgstr "" @@ -729,11 +733,11 @@ msgstr "Error calculando la ruta de archivo relativa" msgid "Error cleaning caches: %v" msgstr "Error limpiando caches: %v" -#: internal/cli/compile/compile.go:220 +#: internal/cli/compile/compile.go:225 msgid "Error converting path to absolute: %v" msgstr "" -#: commands/service_compile.go:405 +#: commands/service_compile.go:420 msgid "Error copying output file %s" msgstr "Error copiando el archivo de salida %s" @@ -747,7 +751,7 @@ msgstr "" msgid "Error creating instance: %v" msgstr "Error creando la instancia: %v" -#: commands/service_compile.go:389 +#: commands/service_compile.go:403 msgid "Error creating output dir" msgstr "Error al crear el directorio de salida" @@ -772,7 +776,7 @@ msgstr "Error al descargar %[1]s: %[2]v" msgid "Error downloading %s" msgstr "Error descargando %s" -#: commands/instances.go:660 internal/arduino/resources/index.go:83 +#: commands/instances.go:661 internal/arduino/resources/index.go:83 msgid "Error downloading index '%s'" msgstr "Error descargando el índice '%s'" @@ -780,7 +784,7 @@ msgstr "Error descargando el índice '%s'" msgid "Error downloading index signature '%s'" msgstr "Error descargando el índice de firmas '%s'" -#: commands/instances.go:381 commands/instances.go:387 +#: commands/instances.go:382 commands/instances.go:388 msgid "Error downloading library %s" msgstr "Error descargando la librería %s" @@ -789,7 +793,7 @@ msgstr "Error descargando la librería %s" msgid "Error downloading platform %s" msgstr "Error descargando la plataforma %s" -#: internal/arduino/cores/packagemanager/download.go:127 +#: internal/arduino/cores/packagemanager/download.go:129 #: internal/arduino/cores/packagemanager/profiles.go:179 msgid "Error downloading tool %s" msgstr "Error descargando la herramienta %s" @@ -804,7 +808,7 @@ msgstr "" #: internal/cli/burnbootloader/burnbootloader.go:78 #: internal/cli/burnbootloader/burnbootloader.go:100 -#: internal/cli/compile/compile.go:264 internal/cli/compile/compile.go:306 +#: internal/cli/compile/compile.go:269 internal/cli/compile/compile.go:311 #: internal/cli/upload/upload.go:99 internal/cli/upload/upload.go:128 msgid "Error during Upload: %v" msgstr "Error durante la carga: %v" @@ -813,7 +817,7 @@ msgstr "Error durante la carga: %v" msgid "Error during board detection" msgstr "" -#: internal/cli/compile/compile.go:379 +#: internal/cli/compile/compile.go:394 msgid "Error during build: %v" msgstr "" @@ -834,7 +838,7 @@ msgstr "Error durante la actualización: %v" msgid "Error extracting %s" msgstr "Error extrayendo %s" -#: commands/service_upload.go:448 +#: commands/service_upload.go:449 msgid "Error finding build artifacts" msgstr "" @@ -861,7 +865,7 @@ msgid "" "correct sketch folder or provide the --port flag: %s" msgstr "" -#: commands/service_compile.go:328 commands/service_library_list.go:115 +#: commands/service_compile.go:338 commands/service_library_list.go:115 msgid "Error getting information for library %s" msgstr "Error obteniendo información para la librería %s" @@ -897,7 +901,7 @@ msgstr "" msgid "Error installing Zip Library: %v" msgstr "" -#: commands/instances.go:397 +#: commands/instances.go:398 msgid "Error installing library %s" msgstr "" @@ -924,7 +928,7 @@ msgstr "" msgid "Error listing platforms: %v" msgstr "Error listando las plataformas: %v" -#: commands/cmderrors/cmderrors.go:424 +#: commands/cmderrors/cmderrors.go:445 msgid "Error loading hardware platform" msgstr "" @@ -941,15 +945,15 @@ msgstr "" msgid "Error opening debug logging file: %s" msgstr "" -#: internal/cli/compile/compile.go:193 +#: internal/cli/compile/compile.go:196 msgid "Error opening source code overrides data file: %v" msgstr "" -#: internal/cli/compile/compile.go:206 +#: internal/cli/compile/compile.go:209 msgid "Error parsing --show-properties flag: %v" msgstr "" -#: commands/service_compile.go:398 +#: commands/service_compile.go:412 msgid "Error reading build directory" msgstr "" @@ -965,7 +969,7 @@ msgstr "" msgid "Error retrieving core list: %v" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:158 +#: internal/arduino/cores/packagemanager/install_uninstall.go:160 msgid "Error rolling-back changes: %s" msgstr "Error al revertir los cambios: %s" @@ -1019,7 +1023,7 @@ msgstr "" msgid "Error upgrading libraries" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:153 +#: internal/arduino/cores/packagemanager/install_uninstall.go:155 msgid "Error upgrading platform: %s" msgstr "" @@ -1032,10 +1036,10 @@ msgstr "" msgid "Error while detecting libraries included by %[1]s" msgstr "" -#: internal/arduino/builder/sizer.go:79 internal/arduino/builder/sizer.go:88 -#: internal/arduino/builder/sizer.go:91 internal/arduino/builder/sizer.go:110 -#: internal/arduino/builder/sizer.go:215 internal/arduino/builder/sizer.go:225 -#: internal/arduino/builder/sizer.go:229 +#: internal/arduino/builder/sizer.go:80 internal/arduino/builder/sizer.go:89 +#: internal/arduino/builder/sizer.go:92 internal/arduino/builder/sizer.go:111 +#: internal/arduino/builder/sizer.go:218 internal/arduino/builder/sizer.go:228 +#: internal/arduino/builder/sizer.go:232 msgid "Error while determining sketch size: %s" msgstr "" @@ -1051,7 +1055,7 @@ msgstr "" msgid "Error: command description is not supported by %v" msgstr "" -#: internal/cli/compile/compile.go:199 +#: internal/cli/compile/compile.go:202 msgid "Error: invalid source code overrides data file: %v" msgstr "" @@ -1071,7 +1075,7 @@ msgstr "Ejemplos:" msgid "Executable to debug" msgstr "" -#: commands/service_debug_config.go:181 commands/service_upload.go:454 +#: commands/service_debug_config.go:181 commands/service_upload.go:455 msgid "Expected compiled sketch in directory %s, but is a file instead" msgstr "" @@ -1085,23 +1089,23 @@ msgstr "FQBN" msgid "FQBN:" msgstr "FQBN:" -#: commands/service_upload.go:577 +#: commands/service_upload.go:578 msgid "Failed chip erase" msgstr "Borrado del chip fallida" -#: commands/service_upload.go:584 +#: commands/service_upload.go:585 msgid "Failed programming" msgstr "" -#: commands/service_upload.go:580 +#: commands/service_upload.go:581 msgid "Failed to burn bootloader" msgstr "" -#: commands/instances.go:87 +#: commands/instances.go:88 msgid "Failed to create data directory" msgstr "" -#: commands/instances.go:76 +#: commands/instances.go:77 msgid "Failed to create downloads directory" msgstr "" @@ -1121,7 +1125,7 @@ msgstr "" msgid "Failed to listen on TCP port: %s. Address already in use." msgstr "" -#: commands/service_upload.go:588 +#: commands/service_upload.go:589 msgid "Failed uploading" msgstr "" @@ -1129,7 +1133,7 @@ msgstr "" msgid "File:" msgstr "Archivo:" -#: commands/service_compile.go:160 +#: commands/service_compile.go:163 msgid "" "Firmware encryption/signing requires all the following properties to be " "defined: %s" @@ -1168,7 +1172,7 @@ msgid "" "Force skip of pre-uninstall scripts (if the CLI is running interactively)." msgstr "" -#: commands/cmderrors/cmderrors.go:839 +#: commands/cmderrors/cmderrors.go:860 msgid "Found %d platforms matching \"%s\": %s" msgstr "" @@ -1193,7 +1197,7 @@ msgstr "" msgid "Generates completion scripts for various shells" msgstr "" -#: internal/arduino/builder/builder.go:333 +#: internal/arduino/builder/builder.go:334 msgid "Generating function prototypes..." msgstr "" @@ -1205,7 +1209,7 @@ msgstr "" msgid "Global Flags:" msgstr "Banderas globales:" -#: internal/arduino/builder/sizer.go:164 +#: internal/arduino/builder/sizer.go:166 msgid "" "Global variables use %[1]s bytes (%[3]s%%) of dynamic memory, leaving %[4]s " "bytes for local variables. Maximum is %[2]s bytes." @@ -1213,7 +1217,7 @@ msgstr "" "Las variables Globales usan %[1]s bytes (%[3]s%%) de la memoria dinámica, " "dejando %[4]s bytes para las variables locales. El máximo es %[2]s bytes." -#: internal/arduino/builder/sizer.go:170 +#: internal/arduino/builder/sizer.go:172 msgid "Global variables use %[1]s bytes of dynamic memory." msgstr "Variables globales usan %[1]s bytes de memoria dinamica." @@ -1231,7 +1235,7 @@ msgstr "Id" msgid "Identification properties:" msgstr "Propiedades de identificación:" -#: internal/cli/compile/compile.go:132 +#: internal/cli/compile/compile.go:135 msgid "If set built binaries will be exported to the sketch folder." msgstr "" @@ -1258,20 +1262,20 @@ msgstr "" msgid "Installed" msgstr "Instalado" -#: commands/service_library_install.go:200 +#: commands/service_library_install.go:201 msgid "Installed %s" msgstr "Instalado %s" -#: commands/service_library_install.go:183 -#: internal/arduino/cores/packagemanager/install_uninstall.go:333 +#: commands/service_library_install.go:184 +#: internal/arduino/cores/packagemanager/install_uninstall.go:335 msgid "Installing %s" msgstr "Instalando %s" -#: commands/instances.go:395 +#: commands/instances.go:396 msgid "Installing library %s" msgstr "Instalando la librería %s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:119 +#: internal/arduino/cores/packagemanager/install_uninstall.go:121 #: internal/arduino/cores/packagemanager/profiles.go:134 msgid "Installing platform %s" msgstr "Instalando la plataforma %s" @@ -1292,11 +1296,11 @@ msgstr "" msgid "Internal error in cache" msgstr "Error interno en la cache" -#: commands/cmderrors/cmderrors.go:377 +#: commands/cmderrors/cmderrors.go:378 msgid "Invalid '%[1]s' property: %[2]s" msgstr "" -#: commands/cmderrors/cmderrors.go:60 +#: commands/cmderrors/cmderrors.go:61 msgid "Invalid FQBN" msgstr "FQBN inválido" @@ -1304,11 +1308,11 @@ msgstr "FQBN inválido" msgid "Invalid TCP address: port is missing" msgstr "" -#: commands/cmderrors/cmderrors.go:78 +#: commands/cmderrors/cmderrors.go:79 msgid "Invalid URL" msgstr "URL inválida" -#: commands/instances.go:183 +#: commands/instances.go:184 msgid "Invalid additional URL: %v" msgstr "URL adicional inválida: %v" @@ -1322,23 +1326,23 @@ msgstr "" msgid "Invalid argument passed: %v" msgstr "" -#: commands/service_compile.go:272 +#: commands/service_compile.go:282 msgid "Invalid build properties" msgstr "" -#: internal/arduino/builder/sizer.go:250 +#: internal/arduino/builder/sizer.go:253 msgid "Invalid data size regexp: %s" msgstr "" -#: internal/arduino/builder/sizer.go:256 +#: internal/arduino/builder/sizer.go:259 msgid "Invalid eeprom size regexp: %s" msgstr "" -#: commands/instances.go:596 +#: commands/instances.go:597 msgid "Invalid index URL: %s" msgstr "" -#: commands/cmderrors/cmderrors.go:46 +#: commands/cmderrors/cmderrors.go:47 msgid "Invalid instance" msgstr "Instancia inválida" @@ -1346,7 +1350,7 @@ msgstr "Instancia inválida" msgid "Invalid item %s" msgstr "" -#: commands/cmderrors/cmderrors.go:96 +#: commands/cmderrors/cmderrors.go:97 msgid "Invalid library" msgstr "Librería inválida" @@ -1354,11 +1358,11 @@ msgstr "Librería inválida" msgid "Invalid logging level: %s" msgstr "" -#: commands/instances.go:613 +#: commands/instances.go:614 msgid "Invalid network configuration: %s" msgstr "" -#: internal/cli/configuration/network.go:66 +#: internal/cli/configuration/network.go:83 msgid "Invalid network.proxy '%[1]s': %[2]s" msgstr "" @@ -1366,7 +1370,7 @@ msgstr "" msgid "Invalid output format: %s" msgstr "" -#: commands/instances.go:580 +#: commands/instances.go:581 msgid "Invalid package index in %s" msgstr "" @@ -1374,35 +1378,35 @@ msgstr "" msgid "Invalid parameter %s: version not allowed" msgstr "Parámetro inválido %s: versión no compatible" -#: commands/service_board_list.go:81 +#: commands/service_board_identify.go:169 msgid "Invalid pid value: '%s'" msgstr "" -#: commands/cmderrors/cmderrors.go:220 +#: commands/cmderrors/cmderrors.go:221 msgid "Invalid profile" msgstr "Perfil inválido" -#: commands/service_monitor.go:269 +#: commands/service_monitor.go:270 msgid "Invalid recipe in platform.txt" msgstr "" -#: internal/arduino/builder/sizer.go:240 +#: internal/arduino/builder/sizer.go:243 msgid "Invalid size regexp: %s" msgstr "" -#: main.go:85 +#: main.go:86 msgid "Invalid value in configuration" msgstr "" -#: commands/cmderrors/cmderrors.go:114 +#: commands/cmderrors/cmderrors.go:115 msgid "Invalid version" msgstr "Versión inválida" -#: commands/service_board_list.go:78 +#: commands/service_board_identify.go:166 msgid "Invalid vid value: '%s'" msgstr "" -#: internal/cli/compile/compile.go:129 +#: internal/cli/compile/compile.go:132 msgid "" "Just produce the compilation database, without actually compiling. All build" " commands are skipped except pre* hooks." @@ -1425,12 +1429,12 @@ msgstr "" msgid "Latest" msgstr "Última" -#: internal/arduino/builder/libraries.go:91 +#: internal/arduino/builder/libraries.go:92 msgid "Library %[1]s has been declared precompiled:" msgstr "" -#: commands/service_library_install.go:141 -#: internal/arduino/libraries/librariesmanager/install.go:131 +#: commands/service_library_install.go:142 +#: internal/arduino/libraries/librariesmanager/install.go:130 msgid "" "Library %[1]s is already installed, but with a different version: %[2]s" msgstr "" @@ -1444,11 +1448,11 @@ msgstr "La librería %s ya se encuentra en la versión más reciente" msgid "Library %s is not installed" msgstr "La librería %s no está instalada" -#: commands/instances.go:374 +#: commands/instances.go:375 msgid "Library %s not found" msgstr "Librería %s no encontrada" -#: commands/cmderrors/cmderrors.go:445 +#: commands/cmderrors/cmderrors.go:466 msgid "Library '%s' not found" msgstr "La librería '%s' no fue encontrada" @@ -1457,12 +1461,12 @@ msgid "" "Library can't use both '%[1]s' and '%[2]s' folders. Double check in '%[3]s'." msgstr "" -#: commands/cmderrors/cmderrors.go:574 +#: commands/cmderrors/cmderrors.go:595 msgid "Library install failed" msgstr "La instalación de la librería no fue exitosa" -#: commands/service_library_install.go:234 -#: commands/service_library_install.go:274 +#: commands/service_library_install.go:235 +#: commands/service_library_install.go:275 msgid "Library installed" msgstr "Librería instalada" @@ -1470,7 +1474,7 @@ msgstr "Librería instalada" msgid "License: %s" msgstr "Licencia: %s" -#: internal/arduino/builder/builder.go:436 +#: internal/arduino/builder/builder.go:437 msgid "Linking everything together..." msgstr "" @@ -1494,7 +1498,7 @@ msgid "" " multiple options." msgstr "" -#: internal/cli/compile/compile.go:107 +#: internal/cli/compile/compile.go:110 msgid "" "List of custom build properties separated by commas. Or can be used multiple" " times for multiple properties." @@ -1516,8 +1520,8 @@ msgstr "Enumera todas las placas conectadas." msgid "Lists cores and libraries that can be upgraded" msgstr "" -#: commands/instances.go:221 commands/instances.go:232 -#: commands/instances.go:342 +#: commands/instances.go:222 commands/instances.go:233 +#: commands/instances.go:343 msgid "Loading index file: %v" msgstr "" @@ -1525,7 +1529,7 @@ msgstr "" msgid "Location" msgstr "Ubicación" -#: internal/arduino/builder/sizer.go:205 +#: internal/arduino/builder/sizer.go:208 msgid "Low memory available, stability problems may occur." msgstr "" "Hay poca memoria disponible; pueden producirse problemas de estabilidad." @@ -1534,7 +1538,7 @@ msgstr "" msgid "Maintainer: %s" msgstr "" -#: internal/cli/compile/compile.go:137 +#: internal/cli/compile/compile.go:140 msgid "" "Max number of parallel compiles. If set to 0 the number of available CPUs " "cores will be used." @@ -1553,23 +1557,23 @@ msgstr "" msgid "Missing '%[1]s' from library in %[2]s" msgstr "Falta '%[1]s' de la biblioteca en %[2]s" -#: commands/cmderrors/cmderrors.go:169 +#: commands/cmderrors/cmderrors.go:170 msgid "Missing FQBN (Fully Qualified Board Name)" msgstr "" -#: commands/cmderrors/cmderrors.go:260 +#: commands/cmderrors/cmderrors.go:261 msgid "Missing port" msgstr "Falta el puerto" -#: commands/cmderrors/cmderrors.go:236 +#: commands/cmderrors/cmderrors.go:237 msgid "Missing port address" msgstr "No se encuentra la dirección del puerto " -#: commands/cmderrors/cmderrors.go:248 +#: commands/cmderrors/cmderrors.go:249 msgid "Missing port protocol" msgstr "Falta el protocolo del puerto" -#: commands/cmderrors/cmderrors.go:286 +#: commands/cmderrors/cmderrors.go:287 msgid "Missing programmer" msgstr "" @@ -1577,15 +1581,15 @@ msgstr "" msgid "Missing required upload field: %s" msgstr "" -#: internal/arduino/builder/sizer.go:244 +#: internal/arduino/builder/sizer.go:247 msgid "Missing size regexp" msgstr "" -#: commands/cmderrors/cmderrors.go:497 +#: commands/cmderrors/cmderrors.go:518 msgid "Missing sketch path" msgstr "" -#: commands/cmderrors/cmderrors.go:358 +#: commands/cmderrors/cmderrors.go:359 msgid "Monitor '%s' not found" msgstr "Monitor '%s' no encontrado" @@ -1643,7 +1647,7 @@ msgstr "" msgid "No libraries update is available." msgstr "" -#: commands/cmderrors/cmderrors.go:274 +#: commands/cmderrors/cmderrors.go:275 msgid "No monitor available for the port protocol %s" msgstr "" @@ -1659,15 +1663,15 @@ msgstr "" msgid "No platforms matching your search." msgstr "No hay plataformas que coincidan con su búsqueda." -#: commands/service_upload.go:533 +#: commands/service_upload.go:534 msgid "No upload port found, using %s as fallback" msgstr "" -#: commands/cmderrors/cmderrors.go:464 +#: commands/cmderrors/cmderrors.go:485 msgid "No valid dependencies solution found" msgstr "" -#: internal/arduino/builder/sizer.go:195 +#: internal/arduino/builder/sizer.go:198 msgid "Not enough memory; see %[1]s for tips on reducing your footprint." msgstr "" "No hay suficiente memoria, ver %[1]s para obtener consejos sobre cómo " @@ -1699,35 +1703,35 @@ msgstr "Abre un puerto de comunicación con una placa." msgid "Option:" msgstr "Opción:" -#: internal/cli/compile/compile.go:117 +#: internal/cli/compile/compile.go:120 msgid "" "Optional, can be: %s. Used to tell gcc which warning level to use (-W flag)." msgstr "" -#: internal/cli/compile/compile.go:130 +#: internal/cli/compile/compile.go:133 msgid "Optional, cleanup the build folder and do not use any cached build." msgstr "" -#: internal/cli/compile/compile.go:127 +#: internal/cli/compile/compile.go:130 msgid "" "Optional, optimize compile output for debugging, rather than for release." msgstr "" -#: internal/cli/compile/compile.go:119 +#: internal/cli/compile/compile.go:122 msgid "Optional, suppresses almost every output." msgstr "" -#: internal/cli/compile/compile.go:118 internal/cli/upload/upload.go:79 +#: internal/cli/compile/compile.go:121 internal/cli/upload/upload.go:79 msgid "Optional, turns on verbose mode." msgstr "" -#: internal/cli/compile/compile.go:133 +#: internal/cli/compile/compile.go:136 msgid "" "Optional. Path to a .json file that contains a set of replacements of the " "sketch source code." msgstr "" -#: internal/cli/compile/compile.go:109 +#: internal/cli/compile/compile.go:112 msgid "" "Override a build property with a custom value. Can be used multiple times " "for multiple properties." @@ -1787,17 +1791,17 @@ msgstr "" msgid "Paragraph: %s" msgstr "" -#: internal/cli/compile/compile.go:454 internal/cli/compile/compile.go:469 +#: internal/cli/compile/compile.go:473 internal/cli/compile/compile.go:488 msgid "Path" msgstr "" -#: internal/cli/compile/compile.go:126 +#: internal/cli/compile/compile.go:129 msgid "" "Path to a collection of libraries. Can be used multiple times or entries can" " be comma separated." msgstr "" -#: internal/cli/compile/compile.go:124 +#: internal/cli/compile/compile.go:127 msgid "" "Path to a single library’s root folder. Can be used multiple times or " "entries can be comma separated." @@ -1807,40 +1811,44 @@ msgstr "" msgid "Path to the file where logs will be written." msgstr "" -#: internal/cli/compile/compile.go:105 +#: internal/cli/compile/compile.go:108 msgid "" "Path where to save compiled files. If omitted, a directory will be created " "in the default temporary path of your OS." msgstr "" -#: commands/service_upload.go:514 +#: commands/service_upload.go:515 msgid "Performing 1200-bps touch reset on serial port %s" msgstr "" -#: commands/service_platform_install.go:86 -#: commands/service_platform_install.go:93 +#: commands/service_platform_install.go:91 +#: commands/service_platform_install.go:98 msgid "Platform %s already installed" msgstr "La plataforma %s ya está instalada" -#: internal/arduino/cores/packagemanager/install_uninstall.go:194 +#: internal/arduino/cores/packagemanager/install_uninstall.go:196 msgid "Platform %s installed" msgstr "Plataforma %s instalada" -#: internal/cli/compile/compile.go:402 internal/cli/upload/upload.go:148 +#: internal/cli/compile/compile.go:417 internal/cli/upload/upload.go:148 msgid "" "Platform %s is not found in any known index\n" "Maybe you need to add a 3rd party URL?" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:318 +#: internal/arduino/cores/packagemanager/install_uninstall.go:320 msgid "Platform %s uninstalled" msgstr "Plataforma %s desinstalada" -#: commands/cmderrors/cmderrors.go:482 +#: commands/cmderrors/cmderrors.go:427 +msgid "Platform '%s'" +msgstr "" + +#: commands/cmderrors/cmderrors.go:503 msgid "Platform '%s' is already at the latest version" msgstr "La plataforma '%s' ya se encuentra en su versión más reciente" -#: commands/cmderrors/cmderrors.go:406 +#: commands/cmderrors/cmderrors.go:407 msgid "Platform '%s' not found" msgstr "" @@ -1848,7 +1856,7 @@ msgstr "" msgid "Platform ID" msgstr "" -#: internal/cli/compile/compile.go:387 internal/cli/upload/upload.go:136 +#: internal/cli/compile/compile.go:402 internal/cli/upload/upload.go:136 msgid "Platform ID is not correct" msgstr "" @@ -1880,13 +1888,13 @@ msgstr "" msgid "Platform size (bytes):" msgstr "" -#: commands/cmderrors/cmderrors.go:153 +#: commands/cmderrors/cmderrors.go:154 msgid "" "Please specify an FQBN. Multiple possible boards detected on port %[1]s with" " protocol %[2]s" msgstr "" -#: commands/cmderrors/cmderrors.go:133 +#: commands/cmderrors/cmderrors.go:134 msgid "" "Please specify an FQBN. The board on port %[1]s with protocol %[2]s can't be" " identified" @@ -1900,12 +1908,12 @@ msgstr "Puerto" msgid "Port closed: %v" msgstr "Puerto cerrado: %v" -#: commands/cmderrors/cmderrors.go:668 +#: commands/cmderrors/cmderrors.go:689 msgid "Port monitor error" msgstr "" -#: internal/arduino/builder/libraries.go:101 -#: internal/arduino/builder/libraries.go:109 +#: internal/arduino/builder/libraries.go:102 +#: internal/arduino/builder/libraries.go:110 msgid "Precompiled library in \"%[1]s\" not found" msgstr "" @@ -1913,7 +1921,7 @@ msgstr "" msgid "Print details about a board." msgstr "" -#: internal/cli/compile/compile.go:100 +#: internal/cli/compile/compile.go:103 msgid "Print preprocessed code to stdout instead of compiling." msgstr "" @@ -1933,11 +1941,11 @@ msgstr "" msgid "Prints the current configuration." msgstr "" -#: commands/cmderrors/cmderrors.go:202 +#: commands/cmderrors/cmderrors.go:203 msgid "Profile '%s' not found" msgstr "Perfil '%s' no encontrado" -#: commands/cmderrors/cmderrors.go:339 +#: commands/cmderrors/cmderrors.go:340 msgid "Programmer '%s' not found" msgstr "" @@ -1953,7 +1961,7 @@ msgstr "" msgid "Programmers:" msgstr "Programadores:" -#: commands/cmderrors/cmderrors.go:391 +#: commands/cmderrors/cmderrors.go:392 msgid "Property '%s' is undefined" msgstr "La propiedad '%s' no está definida" @@ -1969,11 +1977,11 @@ msgstr "" msgid "Removes one or more values from a setting." msgstr "" -#: commands/service_library_install.go:187 +#: commands/service_library_install.go:188 msgid "Replacing %[1]s with %[2]s" msgstr "Reemplazando %[1]s con %[2]s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:123 +#: internal/arduino/cores/packagemanager/install_uninstall.go:125 msgid "Replacing platform %[1]s with %[2]s" msgstr "Reemplazando plataforma %[1]s con %[2]s" @@ -1989,12 +1997,12 @@ msgstr "" msgid "Run the Arduino CLI as a gRPC daemon." msgstr "" -#: internal/arduino/builder/core.go:42 +#: internal/arduino/builder/core.go:43 msgid "Running normal build of the core..." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:297 -#: internal/arduino/cores/packagemanager/install_uninstall.go:411 +#: internal/arduino/cores/packagemanager/install_uninstall.go:299 +#: internal/arduino/cores/packagemanager/install_uninstall.go:413 msgid "Running pre_uninstall script." msgstr "" @@ -2006,7 +2014,7 @@ msgstr "" msgid "SVD file path" msgstr "" -#: internal/cli/compile/compile.go:103 +#: internal/cli/compile/compile.go:106 msgid "Save build artifacts in this directory." msgstr "" @@ -2222,7 +2230,7 @@ msgstr "" msgid "Size (bytes):" msgstr "Tamaño (bytes):" -#: commands/service_compile.go:276 +#: commands/service_compile.go:286 msgid "" "Sketch cannot be located in build path. Please specify a different build " "path" @@ -2236,11 +2244,11 @@ msgstr "" msgid "Sketch profile to use" msgstr "" -#: internal/arduino/builder/sizer.go:190 +#: internal/arduino/builder/sizer.go:193 msgid "Sketch too big; see %[1]s for tips on reducing it." msgstr "Programa muy grando: visite %[1]s para ver cómo reducirlo." -#: internal/arduino/builder/sizer.go:158 +#: internal/arduino/builder/sizer.go:160 msgid "" "Sketch uses %[1]s bytes (%[3]s%%) of program storage space. Maximum is %[2]s" " bytes." @@ -2254,19 +2262,19 @@ msgid "" "files to .ino:" msgstr "" -#: internal/arduino/builder/linker.go:30 +#: internal/arduino/builder/linker.go:31 msgid "Skip linking of final executable." msgstr "" -#: commands/service_upload.go:507 +#: commands/service_upload.go:508 msgid "Skipping 1200-bps touch reset: no serial port selected!" msgstr "" -#: internal/arduino/builder/archive_compiled_files.go:27 +#: internal/arduino/builder/archive_compiled_files.go:28 msgid "Skipping archive creation of: %[1]s" msgstr "" -#: internal/arduino/builder/compilation.go:183 +#: internal/arduino/builder/compilation.go:184 msgid "Skipping compile of: %[1]s" msgstr "" @@ -2274,16 +2282,16 @@ msgstr "" msgid "Skipping dependencies detection for precompiled library %[1]s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:190 +#: internal/arduino/cores/packagemanager/install_uninstall.go:192 msgid "Skipping platform configuration." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:306 -#: internal/arduino/cores/packagemanager/install_uninstall.go:420 +#: internal/arduino/cores/packagemanager/install_uninstall.go:308 +#: internal/arduino/cores/packagemanager/install_uninstall.go:422 msgid "Skipping pre_uninstall script." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:368 +#: internal/arduino/cores/packagemanager/install_uninstall.go:370 msgid "Skipping tool configuration." msgstr "" @@ -2291,7 +2299,7 @@ msgstr "" msgid "Skipping: %[1]s" msgstr "" -#: commands/instances.go:633 +#: commands/instances.go:634 msgid "Some indexes could not be updated." msgstr "" @@ -2311,7 +2319,7 @@ msgstr "" msgid "The custom config file (if not specified the default will be used)." msgstr "" -#: internal/cli/compile/compile.go:90 +#: internal/cli/compile/compile.go:93 msgid "" "The flag --build-cache-path has been deprecated. Please use just --build-" "path alone or configure the build cache path in the Arduino CLI settings." @@ -2329,7 +2337,7 @@ msgstr "" msgid "The given board/programmer configuration supports debugging." msgstr "" -#: commands/cmderrors/cmderrors.go:876 +#: commands/cmderrors/cmderrors.go:897 msgid "The instance is no longer valid and needs to be reinitialized" msgstr "" @@ -2345,17 +2353,17 @@ msgid "" "Maybe use '%[2]s'?" msgstr "" -#: commands/cmderrors/cmderrors.go:858 +#: commands/cmderrors/cmderrors.go:879 msgid "The library %s has multiple installations:" msgstr "" -#: internal/cli/compile/compile.go:115 +#: internal/cli/compile/compile.go:118 msgid "" "The name of the custom encryption key to use to encrypt a binary during the " "compile process. Used only by the platforms that support it." msgstr "" -#: internal/cli/compile/compile.go:113 +#: internal/cli/compile/compile.go:116 msgid "" "The name of the custom signing key to use to sign a binary during the " "compile process. Used only by the platforms that support it." @@ -2365,13 +2373,13 @@ msgstr "" msgid "The output format for the logs, can be: %s" msgstr "" -#: internal/cli/compile/compile.go:111 +#: internal/cli/compile/compile.go:114 msgid "" "The path of the dir to search for the custom keys to sign and encrypt a " "binary. Used only by the platforms that support it." msgstr "" -#: internal/arduino/builder/libraries.go:151 +#: internal/arduino/builder/libraries.go:152 msgid "The platform does not support '%[1]s' for precompiled libraries." msgstr "" @@ -2395,12 +2403,12 @@ msgstr "" msgid "Timestamp each incoming line." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:89 -#: internal/arduino/cores/packagemanager/install_uninstall.go:328 +#: internal/arduino/cores/packagemanager/install_uninstall.go:91 +#: internal/arduino/cores/packagemanager/install_uninstall.go:330 msgid "Tool %s already installed" msgstr "La herramienta %s ya está instalada" -#: internal/arduino/cores/packagemanager/install_uninstall.go:432 +#: internal/arduino/cores/packagemanager/install_uninstall.go:434 msgid "Tool %s uninstalled" msgstr "La herramienta %s se desinstaló" @@ -2420,7 +2428,7 @@ msgstr "" msgid "Toolchain type" msgstr "" -#: internal/cli/compile/compile.go:400 internal/cli/upload/upload.go:146 +#: internal/cli/compile/compile.go:415 internal/cli/upload/upload.go:146 msgid "Try running %s" msgstr "" @@ -2440,7 +2448,7 @@ msgstr "Tipos: %s" msgid "URL:" msgstr "URL:" -#: internal/arduino/builder/core.go:165 +#: internal/arduino/builder/core.go:166 msgid "" "Unable to cache built core, please tell %[1]s maintainers to follow %[2]s" msgstr "" @@ -2462,17 +2470,17 @@ msgstr "" msgid "Unable to open file for logging: %s" msgstr "No es posible abrir el archivo para el logging: %s" -#: commands/instances.go:562 +#: commands/instances.go:563 msgid "Unable to parse URL" msgstr "" #: commands/service_library_uninstall.go:71 -#: internal/arduino/cores/packagemanager/install_uninstall.go:280 +#: internal/arduino/cores/packagemanager/install_uninstall.go:282 msgid "Uninstalling %s" msgstr "Desinstalando %s" #: commands/service_platform_uninstall.go:99 -#: internal/arduino/cores/packagemanager/install_uninstall.go:166 +#: internal/arduino/cores/packagemanager/install_uninstall.go:168 msgid "Uninstalling %s, tool is no more required" msgstr "Desinstalando %s, la herramienta ya no es requerida" @@ -2492,7 +2500,7 @@ msgstr "Desinstalar una o más librerías." msgid "Unknown" msgstr "" -#: commands/cmderrors/cmderrors.go:183 +#: commands/cmderrors/cmderrors.go:184 msgid "Unknown FQBN" msgstr "" @@ -2520,7 +2528,7 @@ msgstr "" msgid "Updates the libraries index." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:45 +#: internal/arduino/cores/packagemanager/install_uninstall.go:47 msgid "Upgrade doesn't accept parameters with version" msgstr "" @@ -2553,7 +2561,7 @@ msgstr "" msgid "Upload port address, e.g.: COM3 or /dev/ttyACM2" msgstr "" -#: commands/service_upload.go:531 +#: commands/service_upload.go:532 msgid "Upload port found on %s" msgstr "" @@ -2561,7 +2569,7 @@ msgstr "" msgid "Upload port protocol, e.g: serial" msgstr "" -#: internal/cli/compile/compile.go:120 +#: internal/cli/compile/compile.go:123 msgid "Upload the binary after the compilation." msgstr "Subir el binario después de la compilación." @@ -2573,7 +2581,7 @@ msgstr "Cargar el bootloader en la placa usando un programador externo." msgid "Upload the bootloader." msgstr "Cargar el bootloader." -#: internal/cli/compile/compile.go:269 internal/cli/upload/upload.go:167 +#: internal/cli/compile/compile.go:274 internal/cli/upload/upload.go:167 msgid "" "Uploading to specified board using %s protocol requires the following info:" msgstr "" @@ -2592,11 +2600,11 @@ msgstr "Uso:" msgid "Use %s for more information about a command." msgstr "Use %spara más información acerca de un comando." -#: internal/cli/compile/compile.go:452 +#: internal/cli/compile/compile.go:471 msgid "Used library" msgstr "" -#: internal/cli/compile/compile.go:467 +#: internal/cli/compile/compile.go:486 msgid "Used platform" msgstr "" @@ -2604,7 +2612,7 @@ msgstr "" msgid "Used: %[1]s" msgstr "Usado: %[1]s" -#: commands/service_compile.go:351 +#: commands/service_compile.go:361 msgid "Using board '%[1]s' from platform in folder: %[2]s" msgstr "" @@ -2612,7 +2620,7 @@ msgstr "" msgid "Using cached library dependencies for file: %[1]s" msgstr "" -#: commands/service_compile.go:352 +#: commands/service_compile.go:362 msgid "Using core '%[1]s' from platform in folder: %[2]s" msgstr "" @@ -2626,25 +2634,25 @@ msgid "" "WARNING: Your board may require different settings to work!\n" msgstr "" -#: internal/arduino/builder/libraries.go:312 +#: internal/arduino/builder/libraries.go:313 msgid "Using library %[1]s at version %[2]s in folder: %[3]s %[4]s" msgstr "Usando librería %[1]s con versión %[2]s en la carpeta: %[3]s %[4]s" -#: internal/arduino/builder/libraries.go:306 +#: internal/arduino/builder/libraries.go:307 msgid "Using library %[1]s in folder: %[2]s %[3]s" msgstr "Utilizando biblioteca %[1]s en carpeta: %[2]s %[3]s" -#: internal/arduino/builder/core.go:120 internal/arduino/builder/core.go:132 +#: internal/arduino/builder/core.go:121 internal/arduino/builder/core.go:133 msgid "Using precompiled core: %[1]s" msgstr "" -#: internal/arduino/builder/libraries.go:98 -#: internal/arduino/builder/libraries.go:106 +#: internal/arduino/builder/libraries.go:99 +#: internal/arduino/builder/libraries.go:107 msgid "Using precompiled library in %[1]s" msgstr "" -#: internal/arduino/builder/archive_compiled_files.go:50 -#: internal/arduino/builder/compilation.go:181 +#: internal/arduino/builder/archive_compiled_files.go:51 +#: internal/arduino/builder/compilation.go:182 msgid "Using previously compiled file: %[1]s" msgstr "Utilizando archivo previamente compilado: %[1]s" @@ -2661,11 +2669,11 @@ msgid "Values" msgstr "" #: internal/cli/burnbootloader/burnbootloader.go:62 -#: internal/cli/compile/compile.go:122 internal/cli/upload/upload.go:78 +#: internal/cli/compile/compile.go:125 internal/cli/upload/upload.go:78 msgid "Verify uploaded binary after the upload." msgstr "" -#: internal/cli/compile/compile.go:453 internal/cli/compile/compile.go:468 +#: internal/cli/compile/compile.go:472 internal/cli/compile/compile.go:487 #: internal/cli/core/search.go:117 msgid "Version" msgstr "" @@ -2674,24 +2682,24 @@ msgstr "" msgid "Versions: %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:185 +#: internal/arduino/cores/packagemanager/install_uninstall.go:187 msgid "WARNING cannot configure platform: %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:364 +#: internal/arduino/cores/packagemanager/install_uninstall.go:366 msgid "WARNING cannot configure tool: %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:302 -#: internal/arduino/cores/packagemanager/install_uninstall.go:416 +#: internal/arduino/cores/packagemanager/install_uninstall.go:304 +#: internal/arduino/cores/packagemanager/install_uninstall.go:418 msgid "WARNING cannot run pre_uninstall script: %s" msgstr "" -#: internal/cli/compile/compile.go:330 +#: internal/cli/compile/compile.go:339 msgid "WARNING: The sketch is compiled using one or more custom libraries." msgstr "" -#: internal/arduino/builder/libraries.go:283 +#: internal/arduino/builder/libraries.go:284 msgid "" "WARNING: library %[1]s claims to run on %[2]s architecture(s) and may be " "incompatible with your current board which runs on %[3]s architecture(s)." @@ -2700,11 +2708,11 @@ msgstr "" "y puede ser incompatible con tu actual tarjeta la cual corre sobre " "arquitectura(s) %[3]s." -#: commands/service_upload.go:520 +#: commands/service_upload.go:521 msgid "Waiting for upload port..." msgstr "" -#: commands/service_compile.go:357 +#: commands/service_compile.go:367 msgid "" "Warning: Board %[1]s doesn't define a %[2]s preference. Auto-set to: %[3]s" msgstr "" @@ -2723,7 +2731,7 @@ msgid "" "directory." msgstr "" -#: internal/cli/compile/compile.go:150 internal/cli/compile/compile.go:153 +#: internal/cli/compile/compile.go:153 internal/cli/compile/compile.go:156 msgid "You cannot use the %s flag while compiling with a profile." msgstr "" @@ -2731,11 +2739,11 @@ msgstr "" msgid "archive hash differs from hash in index" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:188 +#: internal/arduino/libraries/librariesmanager/install.go:187 msgid "archive is not valid: multiple files found in zip file top level" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:191 +#: internal/arduino/libraries/librariesmanager/install.go:190 msgid "archive is not valid: no files found in zip file top level" msgstr "" @@ -2759,11 +2767,11 @@ msgstr "" msgid "basic search for \"esp32\" and \"display\" limited to official Maintainer" msgstr "" -#: commands/service_upload.go:791 +#: commands/service_upload.go:792 msgid "binary file not found in %s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:348 +#: internal/arduino/cores/packagemanager/package_manager.go:316 msgid "board %s not found" msgstr "" @@ -2779,11 +2787,11 @@ msgstr "" msgid "can't find latest release of %s" msgstr "" -#: commands/instances.go:272 +#: commands/instances.go:273 msgid "can't find latest release of tool %s" msgstr "" -#: internal/arduino/cores/packagemanager/loader.go:712 +#: internal/arduino/cores/packagemanager/loader.go:709 msgid "can't find pattern for discovery with id %s" msgstr "" @@ -2791,11 +2799,11 @@ msgstr "" msgid "candidates" msgstr "Candidatos" -#: commands/service_upload.go:737 commands/service_upload.go:744 +#: commands/service_upload.go:738 commands/service_upload.go:745 msgid "cannot execute upload tool: %s" msgstr "" -#: internal/arduino/resources/install.go:40 +#: internal/arduino/resources/install.go:48 msgid "checking local archive integrity" msgstr "" @@ -2821,27 +2829,27 @@ msgstr "" msgid "computing hash: %s" msgstr "" -#: internal/arduino/cores/fqbn.go:81 +#: pkg/fqbn/fqbn.go:83 msgid "config key %s contains an invalid character" msgstr "" -#: internal/arduino/cores/fqbn.go:86 +#: pkg/fqbn/fqbn.go:87 msgid "config value %s contains an invalid character" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:141 +#: internal/arduino/libraries/librariesmanager/install.go:140 msgid "copying library to destination directory:" msgstr "" -#: commands/service_upload.go:863 +#: commands/service_upload.go:864 msgid "could not find a valid build artifact" msgstr "" -#: commands/service_platform_install.go:94 +#: commands/service_platform_install.go:99 msgid "could not overwrite" msgstr "" -#: commands/service_library_install.go:190 +#: commands/service_library_install.go:191 msgid "could not remove old library" msgstr "" @@ -2850,20 +2858,20 @@ msgstr "" msgid "could not update sketch project file" msgstr "" -#: internal/arduino/builder/core.go:116 internal/arduino/builder/core.go:140 +#: internal/arduino/builder/core.go:117 internal/arduino/builder/core.go:141 msgid "creating core cache folder: %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:219 +#: internal/arduino/cores/packagemanager/install_uninstall.go:221 msgid "creating installed.json in %[1]s: %[2]s" msgstr "" -#: internal/arduino/resources/install.go:45 -#: internal/arduino/resources/install.go:49 +#: internal/arduino/resources/install.go:54 +#: internal/arduino/resources/install.go:58 msgid "creating temp dir for extraction: %s" msgstr "" -#: internal/arduino/builder/sizer.go:196 +#: internal/arduino/builder/sizer.go:199 msgid "data section exceeds available space in board" msgstr "" @@ -2871,15 +2879,15 @@ msgstr "" msgid "dependency '%s' is not available" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:94 +#: internal/arduino/libraries/librariesmanager/install.go:93 msgid "destination dir %s already exists, cannot install" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:138 +#: internal/arduino/libraries/librariesmanager/install.go:137 msgid "destination directory already exists" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:278 +#: internal/arduino/libraries/librariesmanager/install.go:305 msgid "directory doesn't exist: %s" msgstr "" @@ -2887,15 +2895,15 @@ msgstr "" msgid "discovery %[1]s process not started" msgstr "" -#: internal/arduino/cores/packagemanager/loader.go:644 +#: internal/arduino/cores/packagemanager/loader.go:641 msgid "discovery %s not found" msgstr "" -#: internal/arduino/cores/packagemanager/loader.go:648 +#: internal/arduino/cores/packagemanager/loader.go:645 msgid "discovery %s not installed" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:746 +#: internal/arduino/cores/packagemanager/package_manager.go:714 msgid "discovery release not found: %s" msgstr "" @@ -2911,11 +2919,11 @@ msgstr "" msgid "downloaded" msgstr "" -#: commands/instances.go:55 +#: commands/instances.go:56 msgid "downloading %[1]s tool: %[2]s" msgstr "" -#: internal/arduino/cores/fqbn.go:60 +#: pkg/fqbn/fqbn.go:63 msgid "empty board identifier" msgstr "identificador de placa vacío" @@ -2923,7 +2931,7 @@ msgstr "identificador de placa vacío" msgid "error loading sketch project file:" msgstr "" -#: internal/arduino/cores/packagemanager/loader.go:615 +#: internal/arduino/cores/packagemanager/loader.go:612 msgid "error opening %s" msgstr "" @@ -2931,19 +2939,19 @@ msgstr "" msgid "error parsing version constraints" msgstr "" -#: commands/service_board_list.go:115 +#: commands/service_board_identify.go:203 msgid "error processing response from server" msgstr "" -#: commands/service_board_list.go:95 +#: commands/service_board_identify.go:183 msgid "error querying Arduino Cloud Api" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:179 +#: internal/arduino/libraries/librariesmanager/install.go:178 msgid "extracting archive" msgstr "" -#: internal/arduino/resources/install.go:68 +#: internal/arduino/resources/install.go:77 msgid "extracting archive: %s" msgstr "" @@ -2951,7 +2959,7 @@ msgstr "" msgid "failed to compute hash of file \"%s\"" msgstr "" -#: commands/service_board_list.go:90 +#: commands/service_board_identify.go:178 msgid "failed to initialize http client" msgstr "" @@ -2959,7 +2967,7 @@ msgstr "" msgid "fetched archive size differs from size specified in index" msgstr "" -#: internal/arduino/resources/install.go:123 +#: internal/arduino/resources/install.go:132 msgid "files in archive must be placed in a subdirectory" msgstr "" @@ -2989,7 +2997,7 @@ msgstr "" msgid "for the specific version." msgstr "" -#: internal/arduino/cores/fqbn.go:66 +#: pkg/fqbn/fqbn.go:68 msgid "fqbn's field %s contains an invalid character" msgstr "" @@ -3013,35 +3021,35 @@ msgstr "" #: internal/arduino/resources/checksums.go:89 #: internal/arduino/resources/download.go:36 #: internal/arduino/resources/helpers.go:39 -#: internal/arduino/resources/install.go:56 +#: internal/arduino/resources/install.go:65 msgid "getting archive path: %s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:354 +#: internal/arduino/cores/packagemanager/package_manager.go:322 msgid "getting build properties for board %[1]s: %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:106 +#: internal/arduino/cores/packagemanager/download.go:108 msgid "getting discovery dependencies for platform %[1]s: %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:114 +#: internal/arduino/cores/packagemanager/download.go:116 msgid "getting monitor dependencies for platform %[1]s: %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:99 +#: internal/arduino/cores/packagemanager/download.go:101 msgid "getting tool dependencies for platform %[1]s: %[2]s" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:149 +#: internal/arduino/libraries/librariesmanager/install.go:148 msgid "install directory not set" msgstr "" -#: commands/instances.go:59 +#: commands/instances.go:60 msgid "installing %[1]s tool: %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:211 +#: internal/arduino/cores/packagemanager/install_uninstall.go:213 msgid "installing platform %[1]s: %[2]s" msgstr "" @@ -3057,7 +3065,7 @@ msgstr "" msgid "invalid checksum format: %s" msgstr "" -#: internal/arduino/cores/fqbn.go:73 internal/arduino/cores/fqbn.go:78 +#: pkg/fqbn/fqbn.go:75 pkg/fqbn/fqbn.go:80 msgid "invalid config option: %s" msgstr "" @@ -3089,11 +3097,14 @@ msgstr "" msgid "invalid empty library version: %s" msgstr "" -#: internal/arduino/cores/board.go:143 +#: internal/arduino/cores/board.go:144 msgid "invalid empty option found" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:268 +#: internal/arduino/libraries/librariesmanager/install.go:276 +#: internal/arduino/libraries/librariesmanager/install.go:279 +#: internal/arduino/libraries/librariesmanager/install.go:286 +#: internal/arduino/libraries/librariesmanager/install.go:290 msgid "invalid git url" msgstr "" @@ -3121,7 +3132,7 @@ msgstr "" msgid "invalid library: no header files found" msgstr "" -#: internal/arduino/cores/board.go:146 +#: internal/arduino/cores/board.go:147 msgid "invalid option '%s'" msgstr "" @@ -3137,10 +3148,6 @@ msgstr "" msgid "invalid path writing inventory file: %[1]s error" msgstr "" -#: internal/arduino/cores/packageindex/index.go:278 -msgid "invalid platform archive size: %s" -msgstr "" - #: internal/arduino/sketch/profiles.go:252 msgid "invalid platform identifier" msgstr "" @@ -3161,7 +3168,7 @@ msgstr "" msgid "invalid port configuration: %s=%s" msgstr "" -#: commands/service_upload.go:724 +#: commands/service_upload.go:725 msgid "invalid recipe '%[1]s': %[2]s" msgstr "" @@ -3172,7 +3179,7 @@ msgid "" "cannot be \".\"." msgstr "" -#: internal/arduino/cores/board.go:150 +#: internal/arduino/cores/board.go:151 msgid "invalid value '%[1]s' for option '%[2]s'" msgstr "" @@ -3212,11 +3219,11 @@ msgstr "" msgid "libraries with a Name exactly matching \"pcf8523\"" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:126 +#: internal/arduino/libraries/librariesmanager/install.go:125 msgid "library %s already installed" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:315 +#: internal/arduino/libraries/librariesmanager/install.go:342 msgid "library not valid" msgstr "" @@ -3230,8 +3237,8 @@ msgstr "" msgid "loading boards: %s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:501 -#: internal/arduino/cores/packagemanager/package_manager.go:516 +#: internal/arduino/cores/packagemanager/package_manager.go:469 +#: internal/arduino/cores/packagemanager/package_manager.go:484 msgid "loading json index file %[1]s: %[2]s" msgstr "" @@ -3260,7 +3267,7 @@ msgstr "" msgid "loading required tool %s" msgstr "" -#: internal/arduino/cores/packagemanager/loader.go:590 +#: internal/arduino/cores/packagemanager/loader.go:587 msgid "loading tool release in %s" msgstr "" @@ -3268,7 +3275,7 @@ msgstr "" msgid "looking for boards.txt in %s" msgstr "" -#: commands/service_upload.go:806 +#: commands/service_upload.go:807 msgid "looking for build artifacts" msgstr "" @@ -3284,7 +3291,7 @@ msgstr "" msgid "missing checksum for: %s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:462 +#: internal/arduino/cores/packagemanager/package_manager.go:430 msgid "missing package %[1]s referenced by board %[2]s" msgstr "" @@ -3292,11 +3299,11 @@ msgstr "" msgid "missing package index for %s, future updates cannot be guaranteed" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:467 +#: internal/arduino/cores/packagemanager/package_manager.go:435 msgid "missing platform %[1]s:%[2]s referenced by board %[3]s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:472 +#: internal/arduino/cores/packagemanager/package_manager.go:440 msgid "missing platform release %[1]s:%[2]s referenced by board %[3]s" msgstr "" @@ -3304,17 +3311,17 @@ msgstr "" msgid "missing signature" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:757 +#: internal/arduino/cores/packagemanager/package_manager.go:725 msgid "monitor release not found: %s" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:197 -#: internal/arduino/libraries/librariesmanager/install.go:246 -#: internal/arduino/resources/install.go:97 +#: internal/arduino/libraries/librariesmanager/install.go:196 +#: internal/arduino/libraries/librariesmanager/install.go:247 +#: internal/arduino/resources/install.go:106 msgid "moving extracted archive to destination dir: %s" msgstr "" -#: commands/service_upload.go:858 +#: commands/service_upload.go:859 msgid "multiple build artifacts found: '%[1]s' and '%[2]s'" msgstr "" @@ -3322,17 +3329,17 @@ msgstr "" msgid "multiple main sketch files found (%[1]v, %[2]v)" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:338 +#: internal/arduino/cores/packagemanager/install_uninstall.go:340 msgid "" "no compatible version of %[1]s tools found for the current os, try " "contacting %[2]s" msgstr "" -#: commands/service_board_list.go:273 +#: commands/service_board_list.go:106 msgid "no instance specified" msgstr "" -#: commands/service_upload.go:813 +#: commands/service_upload.go:814 msgid "no sketch or build directory/file specified" msgstr "" @@ -3340,11 +3347,11 @@ msgstr "" msgid "no such file or directory" msgstr "" -#: internal/arduino/resources/install.go:126 +#: internal/arduino/resources/install.go:135 msgid "no unique root dir in archive, found '%[1]s' and '%[2]s'" msgstr "" -#: commands/service_upload.go:719 +#: commands/service_upload.go:720 msgid "no upload port provided" msgstr "" @@ -3352,11 +3359,11 @@ msgstr "" msgid "no valid sketch found in %[1]s: missing %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:128 +#: internal/arduino/cores/packagemanager/download.go:130 msgid "no versions available for the current OS, try contacting %s" msgstr "" -#: internal/arduino/cores/fqbn.go:50 +#: pkg/fqbn/fqbn.go:53 msgid "not an FQBN: %s" msgstr "" @@ -3365,7 +3372,7 @@ msgid "not running in a terminal" msgstr "" #: internal/arduino/resources/checksums.go:71 -#: internal/arduino/resources/install.go:60 +#: internal/arduino/resources/install.go:69 msgid "opening archive file: %s" msgstr "" @@ -3373,26 +3380,26 @@ msgstr "" msgid "opening boards.txt" msgstr "" -#: internal/arduino/security/signatures.go:81 +#: internal/arduino/security/signatures.go:82 msgid "opening signature file: %s" msgstr "" -#: internal/arduino/security/signatures.go:76 +#: internal/arduino/security/signatures.go:78 msgid "opening target file: %s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:76 +#: internal/arduino/cores/packagemanager/download.go:78 #: internal/arduino/cores/status.go:97 internal/arduino/cores/status.go:122 #: internal/arduino/cores/status.go:149 msgid "package %s not found" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:530 +#: internal/arduino/cores/packagemanager/package_manager.go:498 msgid "package '%s' not found" msgstr "" -#: internal/arduino/cores/board.go:166 -#: internal/arduino/cores/packagemanager/package_manager.go:295 +#: internal/arduino/cores/board.go:167 +#: internal/arduino/cores/packagemanager/package_manager.go:263 msgid "parsing fqbn: %s" msgstr "" @@ -3404,26 +3411,26 @@ msgstr "" msgid "path is not a platform directory: %s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:80 +#: internal/arduino/cores/packagemanager/download.go:82 msgid "platform %[1]s not found in package %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:341 +#: internal/arduino/cores/packagemanager/package_manager.go:309 msgid "platform %s is not installed" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:92 +#: commands/cmderrors/cmderrors.go:427 msgid "platform is not available for your OS" msgstr "" -#: commands/service_compile.go:126 -#: internal/arduino/cores/packagemanager/install_uninstall.go:179 -#: internal/arduino/cores/packagemanager/install_uninstall.go:283 -#: internal/arduino/cores/packagemanager/loader.go:420 +#: commands/service_compile.go:129 +#: internal/arduino/cores/packagemanager/install_uninstall.go:181 +#: internal/arduino/cores/packagemanager/install_uninstall.go:285 +#: internal/arduino/cores/packagemanager/loader.go:417 msgid "platform not installed" msgstr "" -#: internal/cli/compile/compile.go:139 +#: internal/cli/compile/compile.go:142 msgid "please use --build-property instead." msgstr "" @@ -3458,15 +3465,15 @@ msgstr "" #: internal/arduino/cores/packagemanager/loader.go:69 #: internal/arduino/cores/packagemanager/loader.go:151 #: internal/arduino/cores/packagemanager/loader.go:218 -#: internal/arduino/cores/packagemanager/loader.go:582 +#: internal/arduino/cores/packagemanager/loader.go:579 msgid "reading directory %s" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:288 +#: internal/arduino/libraries/librariesmanager/install.go:315 msgid "reading directory %s content" msgstr "" -#: internal/arduino/builder/sketch.go:81 +#: internal/arduino/builder/sketch.go:83 msgid "reading file %[1]s: %[2]s" msgstr "" @@ -3490,7 +3497,7 @@ msgstr "" msgid "reading library_index.json: %s" msgstr "" -#: internal/arduino/resources/install.go:116 +#: internal/arduino/resources/install.go:125 msgid "reading package root dir: %s" msgstr "" @@ -3498,11 +3505,11 @@ msgstr "" msgid "reading sketch files" msgstr "" -#: commands/service_upload.go:713 +#: commands/service_upload.go:714 msgid "recipe not found '%s'" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:606 +#: internal/arduino/cores/packagemanager/package_manager.go:574 msgid "release %[1]s not found for tool %[2]s" msgstr "" @@ -3515,19 +3522,19 @@ msgstr "" msgid "removing corrupted archive file: %s" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:152 +#: internal/arduino/libraries/librariesmanager/install.go:151 msgid "removing library directory: %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:310 +#: internal/arduino/cores/packagemanager/install_uninstall.go:312 msgid "removing platform files: %s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:87 +#: internal/arduino/cores/packagemanager/download.go:89 msgid "required version %[1]s not found for platform %[2]s" msgstr "" -#: internal/arduino/security/signatures.go:72 +#: internal/arduino/security/signatures.go:74 msgid "retrieving Arduino public keys: %s" msgstr "" @@ -3536,10 +3543,14 @@ msgstr "" msgid "scanning sketch examples" msgstr "" -#: internal/arduino/resources/install.go:74 +#: internal/arduino/resources/install.go:83 msgid "searching package root dir: %s" msgstr "" +#: internal/arduino/security/signatures.go:87 +msgid "signature expired: is your system clock set correctly?" +msgstr "" + #: commands/service_sketch_new.go:78 msgid "sketch name cannot be empty" msgstr "" @@ -3577,11 +3588,11 @@ msgstr "" msgid "testing if archive is cached: %s" msgstr "" -#: internal/arduino/resources/install.go:38 +#: internal/arduino/resources/install.go:46 msgid "testing local archive integrity: %s" msgstr "" -#: internal/arduino/builder/sizer.go:191 +#: internal/arduino/builder/sizer.go:194 msgid "text section exceeds available space in board" msgstr "" @@ -3590,7 +3601,7 @@ msgstr "" msgid "the compilation database may be incomplete or inaccurate" msgstr "" -#: commands/service_board_list.go:102 +#: commands/service_board_identify.go:190 msgid "the server responded with status %s" msgstr "" @@ -3598,7 +3609,7 @@ msgstr "" msgid "timeout waiting for message" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:404 +#: internal/arduino/cores/packagemanager/install_uninstall.go:406 msgid "tool %s is not managed by package manager" msgstr "" @@ -3607,16 +3618,16 @@ msgstr "" msgid "tool %s not found" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:556 +#: internal/arduino/cores/packagemanager/package_manager.go:524 msgid "tool '%[1]s' not found in package '%[2]s'" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:399 +#: internal/arduino/cores/packagemanager/install_uninstall.go:401 msgid "tool not installed" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:735 -#: internal/arduino/cores/packagemanager/package_manager.go:841 +#: internal/arduino/cores/packagemanager/package_manager.go:703 +#: internal/arduino/cores/packagemanager/package_manager.go:809 msgid "tool release not found: %s" msgstr "" @@ -3624,21 +3635,21 @@ msgstr "" msgid "tool version %s not found" msgstr "" -#: commands/service_library_install.go:92 +#: commands/service_library_install.go:93 msgid "" "two different versions of the library %[1]s are required: %[2]s and %[3]s" msgstr "" -#: internal/arduino/builder/sketch.go:74 -#: internal/arduino/builder/sketch.go:118 +#: internal/arduino/builder/sketch.go:76 +#: internal/arduino/builder/sketch.go:120 msgid "unable to compute relative path to the sketch for the item" msgstr "" -#: internal/arduino/builder/sketch.go:43 +#: internal/arduino/builder/sketch.go:45 msgid "unable to create a folder to save the sketch" msgstr "" -#: internal/arduino/builder/sketch.go:124 +#: internal/arduino/builder/sketch.go:126 msgid "unable to create the folder containing the item" msgstr "" @@ -3646,23 +3657,23 @@ msgstr "" msgid "unable to marshal config to YAML: %v" msgstr "" -#: internal/arduino/builder/sketch.go:162 +#: internal/arduino/builder/sketch.go:164 msgid "unable to read contents of the destination item" msgstr "" -#: internal/arduino/builder/sketch.go:135 +#: internal/arduino/builder/sketch.go:137 msgid "unable to read contents of the source item" msgstr "" -#: internal/arduino/builder/sketch.go:145 +#: internal/arduino/builder/sketch.go:147 msgid "unable to write to destination file" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:329 +#: internal/arduino/cores/packagemanager/package_manager.go:297 msgid "unknown package %s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:336 +#: internal/arduino/cores/packagemanager/package_manager.go:304 msgid "unknown platform %s:%s" msgstr "" @@ -3682,7 +3693,7 @@ msgstr "" msgid "upgrade everything to the latest version" msgstr "" -#: commands/service_upload.go:759 +#: commands/service_upload.go:760 msgid "uploading error: %s" msgstr "" @@ -3706,6 +3717,6 @@ msgstr "" msgid "version %s not found" msgstr "versión %s no encontrada" -#: commands/service_board_list.go:120 +#: commands/service_board_identify.go:208 msgid "wrong format in server response" msgstr "Error de formato en la respuesta del servidor" diff --git a/internal/i18n/data/fr.po b/internal/locales/data/fr.po similarity index 85% rename from internal/i18n/data/fr.po rename to internal/locales/data/fr.po index b4947c42dab..2927ebc7d3a 100644 --- a/internal/i18n/data/fr.po +++ b/internal/locales/data/fr.po @@ -11,7 +11,7 @@ msgstr "" "Language: fr\n" "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" -#: version/version.go:56 +#: internal/version/version.go:56 msgid "%[1]s %[2]s Version: %[3]s Commit: %[4]s Date: %[5]s" msgstr "" @@ -25,11 +25,11 @@ msgstr "" msgid "%[1]s invalid, rebuilding all" msgstr "" -#: internal/cli/lib/check_deps.go:124 +#: internal/cli/lib/check_deps.go:125 msgid "%[1]s is required but %[2]s is currently installed." msgstr "" -#: internal/arduino/builder/builder.go:486 +#: internal/arduino/builder/builder.go:487 msgid "%[1]s pattern is missing" msgstr "%[1]s est un schéma manquant" @@ -37,24 +37,24 @@ msgstr "%[1]s est un schéma manquant" msgid "%s already downloaded" msgstr "%s déjà téléchargé" -#: commands/service_upload.go:781 +#: commands/service_upload.go:782 msgid "%s and %s cannot be used together" msgstr "%set%sne peuvent pas être téléchargé." -#: internal/arduino/cores/packagemanager/install_uninstall.go:371 +#: internal/arduino/cores/packagemanager/install_uninstall.go:373 msgid "%s installed" msgstr "" -#: internal/cli/lib/check_deps.go:121 +#: internal/cli/lib/check_deps.go:122 msgid "%s is already installed." msgstr "" #: internal/arduino/cores/packagemanager/loader.go:63 -#: internal/arduino/cores/packagemanager/loader.go:617 +#: internal/arduino/cores/packagemanager/loader.go:614 msgid "%s is not a directory" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:290 +#: internal/arduino/cores/packagemanager/install_uninstall.go:292 msgid "%s is not managed by package manager" msgstr "" @@ -62,20 +62,20 @@ msgstr "" msgid "%s must be >= 1024" msgstr "" -#: internal/cli/lib/check_deps.go:118 +#: internal/cli/lib/check_deps.go:119 msgid "%s must be installed." msgstr "" -#: internal/arduino/builder/internal/preprocessor/ctags.go:192 -#: internal/arduino/builder/internal/preprocessor/gcc.go:62 +#: internal/arduino/builder/internal/preprocessor/ctags.go:193 +#: internal/arduino/builder/internal/preprocessor/gcc.go:63 msgid "%s pattern is missing" msgstr "" -#: commands/cmderrors/cmderrors.go:818 +#: commands/cmderrors/cmderrors.go:839 msgid "'%s' has an invalid signature" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:448 +#: internal/arduino/cores/packagemanager/package_manager.go:416 msgid "" "'build.core' and 'build.variant' refer to different platforms: %[1]s and " "%[2]s" @@ -85,7 +85,7 @@ msgstr "" msgid "(hidden)" msgstr "" -#: internal/arduino/builder/libraries.go:302 +#: internal/arduino/builder/libraries.go:303 msgid "(legacy)" msgstr "(héritage)" @@ -113,7 +113,7 @@ msgstr "" msgid "A new release of Arduino CLI is available:" msgstr "" -#: commands/cmderrors/cmderrors.go:299 +#: commands/cmderrors/cmderrors.go:300 msgid "A programmer is required to upload" msgstr "" @@ -146,7 +146,7 @@ msgstr "" msgid "All the cores are already at the latest version" msgstr "Tous les cœurs sont à jours vers la dernière version." -#: commands/service_library_install.go:135 +#: commands/service_library_install.go:136 msgid "Already installed %s" msgstr "Déjà installé %s" @@ -174,7 +174,7 @@ msgstr "Architecture : %s" msgid "Archive already exists" msgstr "L'archive existe déjà" -#: internal/arduino/builder/core.go:163 +#: internal/arduino/builder/core.go:164 msgid "Archiving built core (caching) in: %[1]s" msgstr "Archivage du noyau construit (mise en cache) dans: %[1]s" @@ -222,7 +222,7 @@ msgstr "" msgid "Author: %s" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:79 +#: internal/arduino/libraries/librariesmanager/install.go:78 msgid "" "Automatic library install can't be performed in this case, please manually " "remove all duplicates and retry." @@ -259,11 +259,11 @@ msgstr "" msgid "Board version:" msgstr "" -#: internal/arduino/builder/sketch.go:243 +#: internal/arduino/builder/sketch.go:245 msgid "Bootloader file specified but missing: %[1]s" msgstr "Fichier du bootloader spécifié mais absent: %[1]s" -#: internal/cli/compile/compile.go:101 +#: internal/cli/compile/compile.go:104 msgid "" "Builds of cores and sketches are saved into this path to be cached and " "reused." @@ -273,25 +273,25 @@ msgstr "" msgid "Can't create data directory %s" msgstr "" -#: commands/cmderrors/cmderrors.go:511 +#: commands/cmderrors/cmderrors.go:532 msgid "Can't create sketch" msgstr "" -#: commands/service_library_download.go:91 -#: commands/service_library_download.go:94 +#: commands/service_library_download.go:95 +#: commands/service_library_download.go:98 msgid "Can't download library" msgstr "" #: commands/service_platform_uninstall.go:89 -#: internal/arduino/cores/packagemanager/install_uninstall.go:136 +#: internal/arduino/cores/packagemanager/install_uninstall.go:138 msgid "Can't find dependencies for platform %s" msgstr "" -#: commands/cmderrors/cmderrors.go:537 +#: commands/cmderrors/cmderrors.go:558 msgid "Can't open sketch" msgstr "" -#: commands/cmderrors/cmderrors.go:524 +#: commands/cmderrors/cmderrors.go:545 msgid "Can't update sketch" msgstr "" @@ -303,11 +303,11 @@ msgstr "" msgid "Can't write debug log: %s" msgstr "" -#: commands/service_compile.go:187 commands/service_compile.go:190 +#: commands/service_compile.go:190 commands/service_compile.go:193 msgid "Cannot create build cache directory" msgstr "" -#: commands/service_compile.go:212 +#: commands/service_compile.go:215 msgid "Cannot create build directory" msgstr "" @@ -319,11 +319,11 @@ msgstr "" msgid "Cannot create config file: %v" msgstr "" -#: commands/cmderrors/cmderrors.go:781 +#: commands/cmderrors/cmderrors.go:802 msgid "Cannot create temp dir" msgstr "Impossible de créer le dossier temporaire" -#: commands/cmderrors/cmderrors.go:799 +#: commands/cmderrors/cmderrors.go:820 msgid "Cannot create temp file" msgstr "Impossible de créer le fichier temporaire" @@ -345,15 +345,15 @@ msgstr "" msgid "Cannot get the configuration key %[1]s: %[2]v" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:143 +#: internal/arduino/cores/packagemanager/install_uninstall.go:145 msgid "Cannot install platform" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:349 +#: internal/arduino/cores/packagemanager/install_uninstall.go:351 msgid "Cannot install tool %s" msgstr "" -#: commands/service_upload.go:543 +#: commands/service_upload.go:544 msgid "Cannot perform port reset: %s" msgstr "" @@ -362,7 +362,7 @@ msgstr "" msgid "Cannot remove the configuration key %[1]s: %[2]v" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:161 +#: internal/arduino/cores/packagemanager/install_uninstall.go:163 msgid "Cannot upgrade platform" msgstr "" @@ -400,27 +400,31 @@ msgid "" "a change." msgstr "" -#: commands/service_debug_config.go:178 commands/service_upload.go:451 +#: commands/service_debug_config.go:178 commands/service_upload.go:452 msgid "Compiled sketch not found in %s" msgstr "Croquis compilé introuvable %s" +#: internal/arduino/builder/internal/preprocessor/gcc.go:93 +msgid "Compiler error output has been truncated." +msgstr "" + #: internal/cli/compile/compile.go:80 internal/cli/compile/compile.go:81 msgid "Compiles Arduino sketches." msgstr "Compilation des croquis Arduino." -#: internal/arduino/builder/builder.go:420 +#: internal/arduino/builder/builder.go:421 msgid "Compiling core..." msgstr "" -#: internal/arduino/builder/builder.go:399 +#: internal/arduino/builder/builder.go:400 msgid "Compiling libraries..." msgstr "" -#: internal/arduino/builder/libraries.go:133 +#: internal/arduino/builder/libraries.go:134 msgid "Compiling library \"%[1]s\"" msgstr "" -#: internal/arduino/builder/builder.go:383 +#: internal/arduino/builder/builder.go:384 msgid "Compiling sketch..." msgstr "Compilation du croquis..." @@ -443,11 +447,11 @@ msgid "" "=[,=]..." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:177 +#: internal/arduino/cores/packagemanager/install_uninstall.go:179 msgid "Configuring platform." msgstr "Configuration de la plateforme." -#: internal/arduino/cores/packagemanager/install_uninstall.go:359 +#: internal/arduino/cores/packagemanager/install_uninstall.go:361 msgid "Configuring tool." msgstr "" @@ -463,19 +467,19 @@ msgstr "" msgid "Core" msgstr "" -#: internal/cli/configuration/network.go:103 +#: internal/cli/configuration/network.go:127 msgid "Could not connect via HTTP" msgstr "" -#: commands/instances.go:486 +#: commands/instances.go:487 msgid "Could not create index directory" msgstr "" -#: internal/arduino/builder/core.go:41 +#: internal/arduino/builder/core.go:42 msgid "Couldn't deeply cache core build: %[1]s" msgstr "" -#: internal/arduino/builder/sizer.go:154 +#: internal/arduino/builder/sizer.go:155 msgid "Couldn't determine program size" msgstr "" @@ -487,7 +491,7 @@ msgstr "" msgid "Create a new Sketch" msgstr "" -#: internal/cli/compile/compile.go:98 +#: internal/cli/compile/compile.go:101 msgid "Create and print a profile configuration from the build." msgstr "" @@ -501,7 +505,7 @@ msgid "" "directory with the current configuration settings." msgstr "" -#: internal/cli/compile/compile.go:331 +#: internal/cli/compile/compile.go:340 msgid "" "Currently, Build Profiles only support libraries available through Arduino " "Library Manager." @@ -575,7 +579,7 @@ msgstr "" msgid "Description" msgstr "" -#: internal/arduino/builder/builder.go:313 +#: internal/arduino/builder/builder.go:314 msgid "Detecting libraries used..." msgstr "" @@ -635,7 +639,7 @@ msgstr "" msgid "Do not try to update library dependencies if already installed." msgstr "" -#: commands/service_library_download.go:88 +#: commands/service_library_download.go:92 msgid "Downloading %s" msgstr "Téléchargement %s" @@ -643,21 +647,21 @@ msgstr "Téléchargement %s" msgid "Downloading index signature: %s" msgstr "" -#: commands/instances.go:563 commands/instances.go:581 -#: commands/instances.go:595 commands/instances.go:612 +#: commands/instances.go:564 commands/instances.go:582 +#: commands/instances.go:596 commands/instances.go:613 #: internal/arduino/resources/index.go:82 msgid "Downloading index: %s" msgstr "" -#: commands/instances.go:371 +#: commands/instances.go:372 msgid "Downloading library %s" msgstr "" -#: commands/instances.go:53 +#: commands/instances.go:54 msgid "Downloading missing tool %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:96 +#: internal/arduino/cores/packagemanager/install_uninstall.go:98 msgid "Downloading packages" msgstr "Téléchargement des paquets" @@ -693,7 +697,7 @@ msgstr "" msgid "Error adding file to sketch archive" msgstr "" -#: internal/arduino/builder/core.go:169 +#: internal/arduino/builder/core.go:170 msgid "Error archiving built core (caching) in %[1]s: %[2]s" msgstr "" @@ -709,11 +713,11 @@ msgstr "" msgid "Error cleaning caches: %v" msgstr "" -#: internal/cli/compile/compile.go:220 +#: internal/cli/compile/compile.go:225 msgid "Error converting path to absolute: %v" msgstr "" -#: commands/service_compile.go:405 +#: commands/service_compile.go:420 msgid "Error copying output file %s" msgstr "" @@ -727,7 +731,7 @@ msgstr "" msgid "Error creating instance: %v" msgstr "" -#: commands/service_compile.go:389 +#: commands/service_compile.go:403 msgid "Error creating output dir" msgstr "" @@ -752,7 +756,7 @@ msgstr "" msgid "Error downloading %s" msgstr "" -#: commands/instances.go:660 internal/arduino/resources/index.go:83 +#: commands/instances.go:661 internal/arduino/resources/index.go:83 msgid "Error downloading index '%s'" msgstr "" @@ -760,7 +764,7 @@ msgstr "" msgid "Error downloading index signature '%s'" msgstr "" -#: commands/instances.go:381 commands/instances.go:387 +#: commands/instances.go:382 commands/instances.go:388 msgid "Error downloading library %s" msgstr "" @@ -769,7 +773,7 @@ msgstr "" msgid "Error downloading platform %s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:127 +#: internal/arduino/cores/packagemanager/download.go:129 #: internal/arduino/cores/packagemanager/profiles.go:179 msgid "Error downloading tool %s" msgstr "" @@ -784,7 +788,7 @@ msgstr "" #: internal/cli/burnbootloader/burnbootloader.go:78 #: internal/cli/burnbootloader/burnbootloader.go:100 -#: internal/cli/compile/compile.go:264 internal/cli/compile/compile.go:306 +#: internal/cli/compile/compile.go:269 internal/cli/compile/compile.go:311 #: internal/cli/upload/upload.go:99 internal/cli/upload/upload.go:128 msgid "Error during Upload: %v" msgstr "" @@ -793,7 +797,7 @@ msgstr "" msgid "Error during board detection" msgstr "" -#: internal/cli/compile/compile.go:379 +#: internal/cli/compile/compile.go:394 msgid "Error during build: %v" msgstr "" @@ -814,7 +818,7 @@ msgstr "" msgid "Error extracting %s" msgstr "" -#: commands/service_upload.go:448 +#: commands/service_upload.go:449 msgid "Error finding build artifacts" msgstr "" @@ -840,7 +844,7 @@ msgid "" "correct sketch folder or provide the --port flag: %s" msgstr "" -#: commands/service_compile.go:328 commands/service_library_list.go:115 +#: commands/service_compile.go:338 commands/service_library_list.go:115 msgid "Error getting information for library %s" msgstr "" @@ -876,7 +880,7 @@ msgstr "" msgid "Error installing Zip Library: %v" msgstr "Erreur lors de l'installation de la librairie Zip : %v" -#: commands/instances.go:397 +#: commands/instances.go:398 msgid "Error installing library %s" msgstr "" @@ -903,7 +907,7 @@ msgstr "" msgid "Error listing platforms: %v" msgstr "" -#: commands/cmderrors/cmderrors.go:424 +#: commands/cmderrors/cmderrors.go:445 msgid "Error loading hardware platform" msgstr "" @@ -920,15 +924,15 @@ msgstr "" msgid "Error opening debug logging file: %s" msgstr "" -#: internal/cli/compile/compile.go:193 +#: internal/cli/compile/compile.go:196 msgid "Error opening source code overrides data file: %v" msgstr "" -#: internal/cli/compile/compile.go:206 +#: internal/cli/compile/compile.go:209 msgid "Error parsing --show-properties flag: %v" msgstr "" -#: commands/service_compile.go:398 +#: commands/service_compile.go:412 msgid "Error reading build directory" msgstr "" @@ -944,7 +948,7 @@ msgstr "" msgid "Error retrieving core list: %v" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:158 +#: internal/arduino/cores/packagemanager/install_uninstall.go:160 msgid "Error rolling-back changes: %s" msgstr "" @@ -998,7 +1002,7 @@ msgstr "" msgid "Error upgrading libraries" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:153 +#: internal/arduino/cores/packagemanager/install_uninstall.go:155 msgid "Error upgrading platform: %s" msgstr "" @@ -1011,10 +1015,10 @@ msgstr "" msgid "Error while detecting libraries included by %[1]s" msgstr "" -#: internal/arduino/builder/sizer.go:79 internal/arduino/builder/sizer.go:88 -#: internal/arduino/builder/sizer.go:91 internal/arduino/builder/sizer.go:110 -#: internal/arduino/builder/sizer.go:215 internal/arduino/builder/sizer.go:225 -#: internal/arduino/builder/sizer.go:229 +#: internal/arduino/builder/sizer.go:80 internal/arduino/builder/sizer.go:89 +#: internal/arduino/builder/sizer.go:92 internal/arduino/builder/sizer.go:111 +#: internal/arduino/builder/sizer.go:218 internal/arduino/builder/sizer.go:228 +#: internal/arduino/builder/sizer.go:232 msgid "Error while determining sketch size: %s" msgstr "" @@ -1030,7 +1034,7 @@ msgstr "" msgid "Error: command description is not supported by %v" msgstr "" -#: internal/cli/compile/compile.go:199 +#: internal/cli/compile/compile.go:202 msgid "Error: invalid source code overrides data file: %v" msgstr "" @@ -1050,7 +1054,7 @@ msgstr "" msgid "Executable to debug" msgstr "" -#: commands/service_debug_config.go:181 commands/service_upload.go:454 +#: commands/service_debug_config.go:181 commands/service_upload.go:455 msgid "Expected compiled sketch in directory %s, but is a file instead" msgstr "" @@ -1064,23 +1068,23 @@ msgstr "" msgid "FQBN:" msgstr "" -#: commands/service_upload.go:577 +#: commands/service_upload.go:578 msgid "Failed chip erase" msgstr "" -#: commands/service_upload.go:584 +#: commands/service_upload.go:585 msgid "Failed programming" msgstr "" -#: commands/service_upload.go:580 +#: commands/service_upload.go:581 msgid "Failed to burn bootloader" msgstr "" -#: commands/instances.go:87 +#: commands/instances.go:88 msgid "Failed to create data directory" msgstr "" -#: commands/instances.go:76 +#: commands/instances.go:77 msgid "Failed to create downloads directory" msgstr "" @@ -1100,7 +1104,7 @@ msgstr "" msgid "Failed to listen on TCP port: %s. Address already in use." msgstr "" -#: commands/service_upload.go:588 +#: commands/service_upload.go:589 msgid "Failed uploading" msgstr "" @@ -1108,7 +1112,7 @@ msgstr "" msgid "File:" msgstr "" -#: commands/service_compile.go:160 +#: commands/service_compile.go:163 msgid "" "Firmware encryption/signing requires all the following properties to be " "defined: %s" @@ -1147,7 +1151,7 @@ msgid "" "Force skip of pre-uninstall scripts (if the CLI is running interactively)." msgstr "" -#: commands/cmderrors/cmderrors.go:839 +#: commands/cmderrors/cmderrors.go:860 msgid "Found %d platforms matching \"%s\": %s" msgstr "" @@ -1172,7 +1176,7 @@ msgstr "" msgid "Generates completion scripts for various shells" msgstr "" -#: internal/arduino/builder/builder.go:333 +#: internal/arduino/builder/builder.go:334 msgid "Generating function prototypes..." msgstr "" @@ -1184,7 +1188,7 @@ msgstr "" msgid "Global Flags:" msgstr "" -#: internal/arduino/builder/sizer.go:164 +#: internal/arduino/builder/sizer.go:166 msgid "" "Global variables use %[1]s bytes (%[3]s%%) of dynamic memory, leaving %[4]s " "bytes for local variables. Maximum is %[2]s bytes." @@ -1193,7 +1197,7 @@ msgstr "" "dynamique, ce qui laisse %[4]s octets pour les variables locales. Le maximum" " est de %[2]s octets." -#: internal/arduino/builder/sizer.go:170 +#: internal/arduino/builder/sizer.go:172 msgid "Global variables use %[1]s bytes of dynamic memory." msgstr "Les variables globales utilisent %[1]s octets de mémoire dynamique." @@ -1211,7 +1215,7 @@ msgstr "" msgid "Identification properties:" msgstr "" -#: internal/cli/compile/compile.go:132 +#: internal/cli/compile/compile.go:135 msgid "If set built binaries will be exported to the sketch folder." msgstr "" @@ -1238,20 +1242,20 @@ msgstr "" msgid "Installed" msgstr "Installé" -#: commands/service_library_install.go:200 +#: commands/service_library_install.go:201 msgid "Installed %s" msgstr "" -#: commands/service_library_install.go:183 -#: internal/arduino/cores/packagemanager/install_uninstall.go:333 +#: commands/service_library_install.go:184 +#: internal/arduino/cores/packagemanager/install_uninstall.go:335 msgid "Installing %s" msgstr "" -#: commands/instances.go:395 +#: commands/instances.go:396 msgid "Installing library %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:119 +#: internal/arduino/cores/packagemanager/install_uninstall.go:121 #: internal/arduino/cores/packagemanager/profiles.go:134 msgid "Installing platform %s" msgstr "" @@ -1272,11 +1276,11 @@ msgstr "" msgid "Internal error in cache" msgstr "" -#: commands/cmderrors/cmderrors.go:377 +#: commands/cmderrors/cmderrors.go:378 msgid "Invalid '%[1]s' property: %[2]s" msgstr "" -#: commands/cmderrors/cmderrors.go:60 +#: commands/cmderrors/cmderrors.go:61 msgid "Invalid FQBN" msgstr "" @@ -1284,11 +1288,11 @@ msgstr "" msgid "Invalid TCP address: port is missing" msgstr "" -#: commands/cmderrors/cmderrors.go:78 +#: commands/cmderrors/cmderrors.go:79 msgid "Invalid URL" msgstr "" -#: commands/instances.go:183 +#: commands/instances.go:184 msgid "Invalid additional URL: %v" msgstr "" @@ -1302,23 +1306,23 @@ msgstr "" msgid "Invalid argument passed: %v" msgstr "" -#: commands/service_compile.go:272 +#: commands/service_compile.go:282 msgid "Invalid build properties" msgstr "" -#: internal/arduino/builder/sizer.go:250 +#: internal/arduino/builder/sizer.go:253 msgid "Invalid data size regexp: %s" msgstr "" -#: internal/arduino/builder/sizer.go:256 +#: internal/arduino/builder/sizer.go:259 msgid "Invalid eeprom size regexp: %s" msgstr "" -#: commands/instances.go:596 +#: commands/instances.go:597 msgid "Invalid index URL: %s" msgstr "" -#: commands/cmderrors/cmderrors.go:46 +#: commands/cmderrors/cmderrors.go:47 msgid "Invalid instance" msgstr "" @@ -1326,7 +1330,7 @@ msgstr "" msgid "Invalid item %s" msgstr "" -#: commands/cmderrors/cmderrors.go:96 +#: commands/cmderrors/cmderrors.go:97 msgid "Invalid library" msgstr "" @@ -1334,11 +1338,11 @@ msgstr "" msgid "Invalid logging level: %s" msgstr "" -#: commands/instances.go:613 +#: commands/instances.go:614 msgid "Invalid network configuration: %s" msgstr "" -#: internal/cli/configuration/network.go:66 +#: internal/cli/configuration/network.go:83 msgid "Invalid network.proxy '%[1]s': %[2]s" msgstr "" @@ -1346,7 +1350,7 @@ msgstr "" msgid "Invalid output format: %s" msgstr "" -#: commands/instances.go:580 +#: commands/instances.go:581 msgid "Invalid package index in %s" msgstr "" @@ -1354,35 +1358,35 @@ msgstr "" msgid "Invalid parameter %s: version not allowed" msgstr "" -#: commands/service_board_list.go:81 +#: commands/service_board_identify.go:169 msgid "Invalid pid value: '%s'" msgstr "" -#: commands/cmderrors/cmderrors.go:220 +#: commands/cmderrors/cmderrors.go:221 msgid "Invalid profile" msgstr "" -#: commands/service_monitor.go:269 +#: commands/service_monitor.go:270 msgid "Invalid recipe in platform.txt" msgstr "" -#: internal/arduino/builder/sizer.go:240 +#: internal/arduino/builder/sizer.go:243 msgid "Invalid size regexp: %s" msgstr "" -#: main.go:85 +#: main.go:86 msgid "Invalid value in configuration" msgstr "" -#: commands/cmderrors/cmderrors.go:114 +#: commands/cmderrors/cmderrors.go:115 msgid "Invalid version" msgstr "" -#: commands/service_board_list.go:78 +#: commands/service_board_identify.go:166 msgid "Invalid vid value: '%s'" msgstr "" -#: internal/cli/compile/compile.go:129 +#: internal/cli/compile/compile.go:132 msgid "" "Just produce the compilation database, without actually compiling. All build" " commands are skipped except pre* hooks." @@ -1405,12 +1409,12 @@ msgstr "" msgid "Latest" msgstr "" -#: internal/arduino/builder/libraries.go:91 +#: internal/arduino/builder/libraries.go:92 msgid "Library %[1]s has been declared precompiled:" msgstr "" -#: commands/service_library_install.go:141 -#: internal/arduino/libraries/librariesmanager/install.go:131 +#: commands/service_library_install.go:142 +#: internal/arduino/libraries/librariesmanager/install.go:130 msgid "" "Library %[1]s is already installed, but with a different version: %[2]s" msgstr "" @@ -1423,11 +1427,11 @@ msgstr "" msgid "Library %s is not installed" msgstr "" -#: commands/instances.go:374 +#: commands/instances.go:375 msgid "Library %s not found" msgstr "" -#: commands/cmderrors/cmderrors.go:445 +#: commands/cmderrors/cmderrors.go:466 msgid "Library '%s' not found" msgstr "" @@ -1436,12 +1440,12 @@ msgid "" "Library can't use both '%[1]s' and '%[2]s' folders. Double check in '%[3]s'." msgstr "" -#: commands/cmderrors/cmderrors.go:574 +#: commands/cmderrors/cmderrors.go:595 msgid "Library install failed" msgstr "" -#: commands/service_library_install.go:234 -#: commands/service_library_install.go:274 +#: commands/service_library_install.go:235 +#: commands/service_library_install.go:275 msgid "Library installed" msgstr "" @@ -1449,7 +1453,7 @@ msgstr "" msgid "License: %s" msgstr "" -#: internal/arduino/builder/builder.go:436 +#: internal/arduino/builder/builder.go:437 msgid "Linking everything together..." msgstr "" @@ -1473,7 +1477,7 @@ msgid "" " multiple options." msgstr "" -#: internal/cli/compile/compile.go:107 +#: internal/cli/compile/compile.go:110 msgid "" "List of custom build properties separated by commas. Or can be used multiple" " times for multiple properties." @@ -1495,8 +1499,8 @@ msgstr "" msgid "Lists cores and libraries that can be upgraded" msgstr "" -#: commands/instances.go:221 commands/instances.go:232 -#: commands/instances.go:342 +#: commands/instances.go:222 commands/instances.go:233 +#: commands/instances.go:343 msgid "Loading index file: %v" msgstr "" @@ -1504,7 +1508,7 @@ msgstr "" msgid "Location" msgstr "" -#: internal/arduino/builder/sizer.go:205 +#: internal/arduino/builder/sizer.go:208 msgid "Low memory available, stability problems may occur." msgstr "" "La mémoire disponible faible, des problèmes de stabilité pourraient " @@ -1514,7 +1518,7 @@ msgstr "" msgid "Maintainer: %s" msgstr "" -#: internal/cli/compile/compile.go:137 +#: internal/cli/compile/compile.go:140 msgid "" "Max number of parallel compiles. If set to 0 the number of available CPUs " "cores will be used." @@ -1533,23 +1537,23 @@ msgstr "" msgid "Missing '%[1]s' from library in %[2]s" msgstr "Fichier manquant '%[1]s' de la bibliothèque dans %[2]s" -#: commands/cmderrors/cmderrors.go:169 +#: commands/cmderrors/cmderrors.go:170 msgid "Missing FQBN (Fully Qualified Board Name)" msgstr "" -#: commands/cmderrors/cmderrors.go:260 +#: commands/cmderrors/cmderrors.go:261 msgid "Missing port" msgstr "" -#: commands/cmderrors/cmderrors.go:236 +#: commands/cmderrors/cmderrors.go:237 msgid "Missing port address" msgstr "" -#: commands/cmderrors/cmderrors.go:248 +#: commands/cmderrors/cmderrors.go:249 msgid "Missing port protocol" msgstr "" -#: commands/cmderrors/cmderrors.go:286 +#: commands/cmderrors/cmderrors.go:287 msgid "Missing programmer" msgstr "" @@ -1557,15 +1561,15 @@ msgstr "" msgid "Missing required upload field: %s" msgstr "" -#: internal/arduino/builder/sizer.go:244 +#: internal/arduino/builder/sizer.go:247 msgid "Missing size regexp" msgstr "" -#: commands/cmderrors/cmderrors.go:497 +#: commands/cmderrors/cmderrors.go:518 msgid "Missing sketch path" msgstr "" -#: commands/cmderrors/cmderrors.go:358 +#: commands/cmderrors/cmderrors.go:359 msgid "Monitor '%s' not found" msgstr "" @@ -1621,7 +1625,7 @@ msgstr "" msgid "No libraries update is available." msgstr "" -#: commands/cmderrors/cmderrors.go:274 +#: commands/cmderrors/cmderrors.go:275 msgid "No monitor available for the port protocol %s" msgstr "" @@ -1637,15 +1641,15 @@ msgstr "" msgid "No platforms matching your search." msgstr "" -#: commands/service_upload.go:533 +#: commands/service_upload.go:534 msgid "No upload port found, using %s as fallback" msgstr "" -#: commands/cmderrors/cmderrors.go:464 +#: commands/cmderrors/cmderrors.go:485 msgid "No valid dependencies solution found" msgstr "" -#: internal/arduino/builder/sizer.go:195 +#: internal/arduino/builder/sizer.go:198 msgid "Not enough memory; see %[1]s for tips on reducing your footprint." msgstr "" "Mémore insuffisante; consulter la page %[1]s pour obtenir des astuces sur " @@ -1677,35 +1681,35 @@ msgstr "" msgid "Option:" msgstr "" -#: internal/cli/compile/compile.go:117 +#: internal/cli/compile/compile.go:120 msgid "" "Optional, can be: %s. Used to tell gcc which warning level to use (-W flag)." msgstr "" -#: internal/cli/compile/compile.go:130 +#: internal/cli/compile/compile.go:133 msgid "Optional, cleanup the build folder and do not use any cached build." msgstr "" -#: internal/cli/compile/compile.go:127 +#: internal/cli/compile/compile.go:130 msgid "" "Optional, optimize compile output for debugging, rather than for release." msgstr "" -#: internal/cli/compile/compile.go:119 +#: internal/cli/compile/compile.go:122 msgid "Optional, suppresses almost every output." msgstr "" -#: internal/cli/compile/compile.go:118 internal/cli/upload/upload.go:79 +#: internal/cli/compile/compile.go:121 internal/cli/upload/upload.go:79 msgid "Optional, turns on verbose mode." msgstr "" -#: internal/cli/compile/compile.go:133 +#: internal/cli/compile/compile.go:136 msgid "" "Optional. Path to a .json file that contains a set of replacements of the " "sketch source code." msgstr "" -#: internal/cli/compile/compile.go:109 +#: internal/cli/compile/compile.go:112 msgid "" "Override a build property with a custom value. Can be used multiple times " "for multiple properties." @@ -1765,17 +1769,17 @@ msgstr "" msgid "Paragraph: %s" msgstr "" -#: internal/cli/compile/compile.go:454 internal/cli/compile/compile.go:469 +#: internal/cli/compile/compile.go:473 internal/cli/compile/compile.go:488 msgid "Path" msgstr "" -#: internal/cli/compile/compile.go:126 +#: internal/cli/compile/compile.go:129 msgid "" "Path to a collection of libraries. Can be used multiple times or entries can" " be comma separated." msgstr "" -#: internal/cli/compile/compile.go:124 +#: internal/cli/compile/compile.go:127 msgid "" "Path to a single library’s root folder. Can be used multiple times or " "entries can be comma separated." @@ -1785,40 +1789,44 @@ msgstr "" msgid "Path to the file where logs will be written." msgstr "" -#: internal/cli/compile/compile.go:105 +#: internal/cli/compile/compile.go:108 msgid "" "Path where to save compiled files. If omitted, a directory will be created " "in the default temporary path of your OS." msgstr "" -#: commands/service_upload.go:514 +#: commands/service_upload.go:515 msgid "Performing 1200-bps touch reset on serial port %s" msgstr "" -#: commands/service_platform_install.go:86 -#: commands/service_platform_install.go:93 +#: commands/service_platform_install.go:91 +#: commands/service_platform_install.go:98 msgid "Platform %s already installed" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:194 +#: internal/arduino/cores/packagemanager/install_uninstall.go:196 msgid "Platform %s installed" msgstr "" -#: internal/cli/compile/compile.go:402 internal/cli/upload/upload.go:148 +#: internal/cli/compile/compile.go:417 internal/cli/upload/upload.go:148 msgid "" "Platform %s is not found in any known index\n" "Maybe you need to add a 3rd party URL?" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:318 +#: internal/arduino/cores/packagemanager/install_uninstall.go:320 msgid "Platform %s uninstalled" msgstr "" -#: commands/cmderrors/cmderrors.go:482 +#: commands/cmderrors/cmderrors.go:427 +msgid "Platform '%s'" +msgstr "" + +#: commands/cmderrors/cmderrors.go:503 msgid "Platform '%s' is already at the latest version" msgstr "" -#: commands/cmderrors/cmderrors.go:406 +#: commands/cmderrors/cmderrors.go:407 msgid "Platform '%s' not found" msgstr "" @@ -1826,7 +1834,7 @@ msgstr "" msgid "Platform ID" msgstr "" -#: internal/cli/compile/compile.go:387 internal/cli/upload/upload.go:136 +#: internal/cli/compile/compile.go:402 internal/cli/upload/upload.go:136 msgid "Platform ID is not correct" msgstr "" @@ -1858,13 +1866,13 @@ msgstr "" msgid "Platform size (bytes):" msgstr "" -#: commands/cmderrors/cmderrors.go:153 +#: commands/cmderrors/cmderrors.go:154 msgid "" "Please specify an FQBN. Multiple possible boards detected on port %[1]s with" " protocol %[2]s" msgstr "" -#: commands/cmderrors/cmderrors.go:133 +#: commands/cmderrors/cmderrors.go:134 msgid "" "Please specify an FQBN. The board on port %[1]s with protocol %[2]s can't be" " identified" @@ -1878,12 +1886,12 @@ msgstr "Port" msgid "Port closed: %v" msgstr "" -#: commands/cmderrors/cmderrors.go:668 +#: commands/cmderrors/cmderrors.go:689 msgid "Port monitor error" msgstr "" -#: internal/arduino/builder/libraries.go:101 -#: internal/arduino/builder/libraries.go:109 +#: internal/arduino/builder/libraries.go:102 +#: internal/arduino/builder/libraries.go:110 msgid "Precompiled library in \"%[1]s\" not found" msgstr "" @@ -1891,7 +1899,7 @@ msgstr "" msgid "Print details about a board." msgstr "" -#: internal/cli/compile/compile.go:100 +#: internal/cli/compile/compile.go:103 msgid "Print preprocessed code to stdout instead of compiling." msgstr "" @@ -1911,11 +1919,11 @@ msgstr "" msgid "Prints the current configuration." msgstr "" -#: commands/cmderrors/cmderrors.go:202 +#: commands/cmderrors/cmderrors.go:203 msgid "Profile '%s' not found" msgstr "" -#: commands/cmderrors/cmderrors.go:339 +#: commands/cmderrors/cmderrors.go:340 msgid "Programmer '%s' not found" msgstr "" @@ -1931,7 +1939,7 @@ msgstr "" msgid "Programmers:" msgstr "" -#: commands/cmderrors/cmderrors.go:391 +#: commands/cmderrors/cmderrors.go:392 msgid "Property '%s' is undefined" msgstr "" @@ -1947,11 +1955,11 @@ msgstr "" msgid "Removes one or more values from a setting." msgstr "" -#: commands/service_library_install.go:187 +#: commands/service_library_install.go:188 msgid "Replacing %[1]s with %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:123 +#: internal/arduino/cores/packagemanager/install_uninstall.go:125 msgid "Replacing platform %[1]s with %[2]s" msgstr "" @@ -1967,12 +1975,12 @@ msgstr "" msgid "Run the Arduino CLI as a gRPC daemon." msgstr "" -#: internal/arduino/builder/core.go:42 +#: internal/arduino/builder/core.go:43 msgid "Running normal build of the core..." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:297 -#: internal/arduino/cores/packagemanager/install_uninstall.go:411 +#: internal/arduino/cores/packagemanager/install_uninstall.go:299 +#: internal/arduino/cores/packagemanager/install_uninstall.go:413 msgid "Running pre_uninstall script." msgstr "" @@ -1984,7 +1992,7 @@ msgstr "" msgid "SVD file path" msgstr "" -#: internal/cli/compile/compile.go:103 +#: internal/cli/compile/compile.go:106 msgid "Save build artifacts in this directory." msgstr "" @@ -2196,7 +2204,7 @@ msgstr "" msgid "Size (bytes):" msgstr "" -#: commands/service_compile.go:276 +#: commands/service_compile.go:286 msgid "" "Sketch cannot be located in build path. Please specify a different build " "path" @@ -2210,11 +2218,11 @@ msgstr "" msgid "Sketch profile to use" msgstr "" -#: internal/arduino/builder/sizer.go:190 +#: internal/arduino/builder/sizer.go:193 msgid "Sketch too big; see %[1]s for tips on reducing it." msgstr "Croquis trop gros; vois %[1]s pour des conseils de réduction." -#: internal/arduino/builder/sizer.go:158 +#: internal/arduino/builder/sizer.go:160 msgid "" "Sketch uses %[1]s bytes (%[3]s%%) of program storage space. Maximum is %[2]s" " bytes." @@ -2228,19 +2236,19 @@ msgid "" "files to .ino:" msgstr "" -#: internal/arduino/builder/linker.go:30 +#: internal/arduino/builder/linker.go:31 msgid "Skip linking of final executable." msgstr "" -#: commands/service_upload.go:507 +#: commands/service_upload.go:508 msgid "Skipping 1200-bps touch reset: no serial port selected!" msgstr "" -#: internal/arduino/builder/archive_compiled_files.go:27 +#: internal/arduino/builder/archive_compiled_files.go:28 msgid "Skipping archive creation of: %[1]s" msgstr "" -#: internal/arduino/builder/compilation.go:183 +#: internal/arduino/builder/compilation.go:184 msgid "Skipping compile of: %[1]s" msgstr "" @@ -2248,16 +2256,16 @@ msgstr "" msgid "Skipping dependencies detection for precompiled library %[1]s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:190 +#: internal/arduino/cores/packagemanager/install_uninstall.go:192 msgid "Skipping platform configuration." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:306 -#: internal/arduino/cores/packagemanager/install_uninstall.go:420 +#: internal/arduino/cores/packagemanager/install_uninstall.go:308 +#: internal/arduino/cores/packagemanager/install_uninstall.go:422 msgid "Skipping pre_uninstall script." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:368 +#: internal/arduino/cores/packagemanager/install_uninstall.go:370 msgid "Skipping tool configuration." msgstr "" @@ -2265,7 +2273,7 @@ msgstr "" msgid "Skipping: %[1]s" msgstr "" -#: commands/instances.go:633 +#: commands/instances.go:634 msgid "Some indexes could not be updated." msgstr "" @@ -2285,7 +2293,7 @@ msgstr "" msgid "The custom config file (if not specified the default will be used)." msgstr "" -#: internal/cli/compile/compile.go:90 +#: internal/cli/compile/compile.go:93 msgid "" "The flag --build-cache-path has been deprecated. Please use just --build-" "path alone or configure the build cache path in the Arduino CLI settings." @@ -2303,7 +2311,7 @@ msgstr "" msgid "The given board/programmer configuration supports debugging." msgstr "" -#: commands/cmderrors/cmderrors.go:876 +#: commands/cmderrors/cmderrors.go:897 msgid "The instance is no longer valid and needs to be reinitialized" msgstr "" @@ -2319,17 +2327,17 @@ msgid "" "Maybe use '%[2]s'?" msgstr "" -#: commands/cmderrors/cmderrors.go:858 +#: commands/cmderrors/cmderrors.go:879 msgid "The library %s has multiple installations:" msgstr "" -#: internal/cli/compile/compile.go:115 +#: internal/cli/compile/compile.go:118 msgid "" "The name of the custom encryption key to use to encrypt a binary during the " "compile process. Used only by the platforms that support it." msgstr "" -#: internal/cli/compile/compile.go:113 +#: internal/cli/compile/compile.go:116 msgid "" "The name of the custom signing key to use to sign a binary during the " "compile process. Used only by the platforms that support it." @@ -2339,13 +2347,13 @@ msgstr "" msgid "The output format for the logs, can be: %s" msgstr "" -#: internal/cli/compile/compile.go:111 +#: internal/cli/compile/compile.go:114 msgid "" "The path of the dir to search for the custom keys to sign and encrypt a " "binary. Used only by the platforms that support it." msgstr "" -#: internal/arduino/builder/libraries.go:151 +#: internal/arduino/builder/libraries.go:152 msgid "The platform does not support '%[1]s' for precompiled libraries." msgstr "" @@ -2367,12 +2375,12 @@ msgstr "" msgid "Timestamp each incoming line." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:89 -#: internal/arduino/cores/packagemanager/install_uninstall.go:328 +#: internal/arduino/cores/packagemanager/install_uninstall.go:91 +#: internal/arduino/cores/packagemanager/install_uninstall.go:330 msgid "Tool %s already installed" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:432 +#: internal/arduino/cores/packagemanager/install_uninstall.go:434 msgid "Tool %s uninstalled" msgstr "" @@ -2392,7 +2400,7 @@ msgstr "" msgid "Toolchain type" msgstr "" -#: internal/cli/compile/compile.go:400 internal/cli/upload/upload.go:146 +#: internal/cli/compile/compile.go:415 internal/cli/upload/upload.go:146 msgid "Try running %s" msgstr "" @@ -2412,7 +2420,7 @@ msgstr "" msgid "URL:" msgstr "" -#: internal/arduino/builder/core.go:165 +#: internal/arduino/builder/core.go:166 msgid "" "Unable to cache built core, please tell %[1]s maintainers to follow %[2]s" msgstr "" @@ -2434,17 +2442,17 @@ msgstr "" msgid "Unable to open file for logging: %s" msgstr "" -#: commands/instances.go:562 +#: commands/instances.go:563 msgid "Unable to parse URL" msgstr "" #: commands/service_library_uninstall.go:71 -#: internal/arduino/cores/packagemanager/install_uninstall.go:280 +#: internal/arduino/cores/packagemanager/install_uninstall.go:282 msgid "Uninstalling %s" msgstr "" #: commands/service_platform_uninstall.go:99 -#: internal/arduino/cores/packagemanager/install_uninstall.go:166 +#: internal/arduino/cores/packagemanager/install_uninstall.go:168 msgid "Uninstalling %s, tool is no more required" msgstr "" @@ -2462,7 +2470,7 @@ msgstr "" msgid "Unknown" msgstr "" -#: commands/cmderrors/cmderrors.go:183 +#: commands/cmderrors/cmderrors.go:184 msgid "Unknown FQBN" msgstr "" @@ -2490,7 +2498,7 @@ msgstr "" msgid "Updates the libraries index." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:45 +#: internal/arduino/cores/packagemanager/install_uninstall.go:47 msgid "Upgrade doesn't accept parameters with version" msgstr "" @@ -2523,7 +2531,7 @@ msgstr "" msgid "Upload port address, e.g.: COM3 or /dev/ttyACM2" msgstr "" -#: commands/service_upload.go:531 +#: commands/service_upload.go:532 msgid "Upload port found on %s" msgstr "" @@ -2531,7 +2539,7 @@ msgstr "" msgid "Upload port protocol, e.g: serial" msgstr "" -#: internal/cli/compile/compile.go:120 +#: internal/cli/compile/compile.go:123 msgid "Upload the binary after the compilation." msgstr "" @@ -2543,7 +2551,7 @@ msgstr "" msgid "Upload the bootloader." msgstr "" -#: internal/cli/compile/compile.go:269 internal/cli/upload/upload.go:167 +#: internal/cli/compile/compile.go:274 internal/cli/upload/upload.go:167 msgid "" "Uploading to specified board using %s protocol requires the following info:" msgstr "" @@ -2562,11 +2570,11 @@ msgstr "" msgid "Use %s for more information about a command." msgstr "" -#: internal/cli/compile/compile.go:452 +#: internal/cli/compile/compile.go:471 msgid "Used library" msgstr "" -#: internal/cli/compile/compile.go:467 +#: internal/cli/compile/compile.go:486 msgid "Used platform" msgstr "" @@ -2574,7 +2582,7 @@ msgstr "" msgid "Used: %[1]s" msgstr "Utilisé: %[1]s" -#: commands/service_compile.go:351 +#: commands/service_compile.go:361 msgid "Using board '%[1]s' from platform in folder: %[2]s" msgstr "" @@ -2582,7 +2590,7 @@ msgstr "" msgid "Using cached library dependencies for file: %[1]s" msgstr "" -#: commands/service_compile.go:352 +#: commands/service_compile.go:362 msgid "Using core '%[1]s' from platform in folder: %[2]s" msgstr "" @@ -2596,28 +2604,28 @@ msgid "" "WARNING: Your board may require different settings to work!\n" msgstr "" -#: internal/arduino/builder/libraries.go:312 +#: internal/arduino/builder/libraries.go:313 msgid "Using library %[1]s at version %[2]s in folder: %[3]s %[4]s" msgstr "" "Utilisation de la bibliothèque %[1]s version %[2]s dans le dossier: %[3]s " "%[4]s" -#: internal/arduino/builder/libraries.go:306 +#: internal/arduino/builder/libraries.go:307 msgid "Using library %[1]s in folder: %[2]s %[3]s" msgstr "" "Utilisation de la bibliothèque %[1]s prise dans le dossier: %[2]s %[3]s" -#: internal/arduino/builder/core.go:120 internal/arduino/builder/core.go:132 +#: internal/arduino/builder/core.go:121 internal/arduino/builder/core.go:133 msgid "Using precompiled core: %[1]s" msgstr "" -#: internal/arduino/builder/libraries.go:98 -#: internal/arduino/builder/libraries.go:106 +#: internal/arduino/builder/libraries.go:99 +#: internal/arduino/builder/libraries.go:107 msgid "Using precompiled library in %[1]s" msgstr "" -#: internal/arduino/builder/archive_compiled_files.go:50 -#: internal/arduino/builder/compilation.go:181 +#: internal/arduino/builder/archive_compiled_files.go:51 +#: internal/arduino/builder/compilation.go:182 msgid "Using previously compiled file: %[1]s" msgstr "Utilisation du fichier déjà compilé: %[1]s" @@ -2634,11 +2642,11 @@ msgid "Values" msgstr "" #: internal/cli/burnbootloader/burnbootloader.go:62 -#: internal/cli/compile/compile.go:122 internal/cli/upload/upload.go:78 +#: internal/cli/compile/compile.go:125 internal/cli/upload/upload.go:78 msgid "Verify uploaded binary after the upload." msgstr "" -#: internal/cli/compile/compile.go:453 internal/cli/compile/compile.go:468 +#: internal/cli/compile/compile.go:472 internal/cli/compile/compile.go:487 #: internal/cli/core/search.go:117 msgid "Version" msgstr "" @@ -2647,24 +2655,24 @@ msgstr "" msgid "Versions: %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:185 +#: internal/arduino/cores/packagemanager/install_uninstall.go:187 msgid "WARNING cannot configure platform: %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:364 +#: internal/arduino/cores/packagemanager/install_uninstall.go:366 msgid "WARNING cannot configure tool: %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:302 -#: internal/arduino/cores/packagemanager/install_uninstall.go:416 +#: internal/arduino/cores/packagemanager/install_uninstall.go:304 +#: internal/arduino/cores/packagemanager/install_uninstall.go:418 msgid "WARNING cannot run pre_uninstall script: %s" msgstr "" -#: internal/cli/compile/compile.go:330 +#: internal/cli/compile/compile.go:339 msgid "WARNING: The sketch is compiled using one or more custom libraries." msgstr "" -#: internal/arduino/builder/libraries.go:283 +#: internal/arduino/builder/libraries.go:284 msgid "" "WARNING: library %[1]s claims to run on %[2]s architecture(s) and may be " "incompatible with your current board which runs on %[3]s architecture(s)." @@ -2673,11 +2681,11 @@ msgstr "" "architecture(s) %[2]s et peut être incompatible avec votre carte actuelle " "qui s'exécute sur %[3]s." -#: commands/service_upload.go:520 +#: commands/service_upload.go:521 msgid "Waiting for upload port..." msgstr "" -#: commands/service_compile.go:357 +#: commands/service_compile.go:367 msgid "" "Warning: Board %[1]s doesn't define a %[2]s preference. Auto-set to: %[3]s" msgstr "" @@ -2696,7 +2704,7 @@ msgid "" "directory." msgstr "" -#: internal/cli/compile/compile.go:150 internal/cli/compile/compile.go:153 +#: internal/cli/compile/compile.go:153 internal/cli/compile/compile.go:156 msgid "You cannot use the %s flag while compiling with a profile." msgstr "" @@ -2704,11 +2712,11 @@ msgstr "" msgid "archive hash differs from hash in index" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:188 +#: internal/arduino/libraries/librariesmanager/install.go:187 msgid "archive is not valid: multiple files found in zip file top level" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:191 +#: internal/arduino/libraries/librariesmanager/install.go:190 msgid "archive is not valid: no files found in zip file top level" msgstr "" @@ -2732,11 +2740,11 @@ msgstr "" msgid "basic search for \"esp32\" and \"display\" limited to official Maintainer" msgstr "" -#: commands/service_upload.go:791 +#: commands/service_upload.go:792 msgid "binary file not found in %s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:348 +#: internal/arduino/cores/packagemanager/package_manager.go:316 msgid "board %s not found" msgstr "" @@ -2752,11 +2760,11 @@ msgstr "" msgid "can't find latest release of %s" msgstr "" -#: commands/instances.go:272 +#: commands/instances.go:273 msgid "can't find latest release of tool %s" msgstr "" -#: internal/arduino/cores/packagemanager/loader.go:712 +#: internal/arduino/cores/packagemanager/loader.go:709 msgid "can't find pattern for discovery with id %s" msgstr "" @@ -2764,11 +2772,11 @@ msgstr "" msgid "candidates" msgstr "" -#: commands/service_upload.go:737 commands/service_upload.go:744 +#: commands/service_upload.go:738 commands/service_upload.go:745 msgid "cannot execute upload tool: %s" msgstr "" -#: internal/arduino/resources/install.go:40 +#: internal/arduino/resources/install.go:48 msgid "checking local archive integrity" msgstr "" @@ -2794,27 +2802,27 @@ msgstr "" msgid "computing hash: %s" msgstr "" -#: internal/arduino/cores/fqbn.go:81 +#: pkg/fqbn/fqbn.go:83 msgid "config key %s contains an invalid character" msgstr "" -#: internal/arduino/cores/fqbn.go:86 +#: pkg/fqbn/fqbn.go:87 msgid "config value %s contains an invalid character" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:141 +#: internal/arduino/libraries/librariesmanager/install.go:140 msgid "copying library to destination directory:" msgstr "" -#: commands/service_upload.go:863 +#: commands/service_upload.go:864 msgid "could not find a valid build artifact" msgstr "" -#: commands/service_platform_install.go:94 +#: commands/service_platform_install.go:99 msgid "could not overwrite" msgstr "" -#: commands/service_library_install.go:190 +#: commands/service_library_install.go:191 msgid "could not remove old library" msgstr "" @@ -2823,20 +2831,20 @@ msgstr "" msgid "could not update sketch project file" msgstr "" -#: internal/arduino/builder/core.go:116 internal/arduino/builder/core.go:140 +#: internal/arduino/builder/core.go:117 internal/arduino/builder/core.go:141 msgid "creating core cache folder: %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:219 +#: internal/arduino/cores/packagemanager/install_uninstall.go:221 msgid "creating installed.json in %[1]s: %[2]s" msgstr "" -#: internal/arduino/resources/install.go:45 -#: internal/arduino/resources/install.go:49 +#: internal/arduino/resources/install.go:54 +#: internal/arduino/resources/install.go:58 msgid "creating temp dir for extraction: %s" msgstr "" -#: internal/arduino/builder/sizer.go:196 +#: internal/arduino/builder/sizer.go:199 msgid "data section exceeds available space in board" msgstr "" @@ -2844,15 +2852,15 @@ msgstr "" msgid "dependency '%s' is not available" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:94 +#: internal/arduino/libraries/librariesmanager/install.go:93 msgid "destination dir %s already exists, cannot install" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:138 +#: internal/arduino/libraries/librariesmanager/install.go:137 msgid "destination directory already exists" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:278 +#: internal/arduino/libraries/librariesmanager/install.go:305 msgid "directory doesn't exist: %s" msgstr "" @@ -2860,15 +2868,15 @@ msgstr "" msgid "discovery %[1]s process not started" msgstr "" -#: internal/arduino/cores/packagemanager/loader.go:644 +#: internal/arduino/cores/packagemanager/loader.go:641 msgid "discovery %s not found" msgstr "" -#: internal/arduino/cores/packagemanager/loader.go:648 +#: internal/arduino/cores/packagemanager/loader.go:645 msgid "discovery %s not installed" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:746 +#: internal/arduino/cores/packagemanager/package_manager.go:714 msgid "discovery release not found: %s" msgstr "" @@ -2884,11 +2892,11 @@ msgstr "" msgid "downloaded" msgstr "" -#: commands/instances.go:55 +#: commands/instances.go:56 msgid "downloading %[1]s tool: %[2]s" msgstr "" -#: internal/arduino/cores/fqbn.go:60 +#: pkg/fqbn/fqbn.go:63 msgid "empty board identifier" msgstr "" @@ -2896,7 +2904,7 @@ msgstr "" msgid "error loading sketch project file:" msgstr "" -#: internal/arduino/cores/packagemanager/loader.go:615 +#: internal/arduino/cores/packagemanager/loader.go:612 msgid "error opening %s" msgstr "" @@ -2904,19 +2912,19 @@ msgstr "" msgid "error parsing version constraints" msgstr "" -#: commands/service_board_list.go:115 +#: commands/service_board_identify.go:203 msgid "error processing response from server" msgstr "" -#: commands/service_board_list.go:95 +#: commands/service_board_identify.go:183 msgid "error querying Arduino Cloud Api" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:179 +#: internal/arduino/libraries/librariesmanager/install.go:178 msgid "extracting archive" msgstr "" -#: internal/arduino/resources/install.go:68 +#: internal/arduino/resources/install.go:77 msgid "extracting archive: %s" msgstr "" @@ -2924,7 +2932,7 @@ msgstr "" msgid "failed to compute hash of file \"%s\"" msgstr "" -#: commands/service_board_list.go:90 +#: commands/service_board_identify.go:178 msgid "failed to initialize http client" msgstr "" @@ -2932,7 +2940,7 @@ msgstr "" msgid "fetched archive size differs from size specified in index" msgstr "" -#: internal/arduino/resources/install.go:123 +#: internal/arduino/resources/install.go:132 msgid "files in archive must be placed in a subdirectory" msgstr "" @@ -2962,7 +2970,7 @@ msgstr "" msgid "for the specific version." msgstr "" -#: internal/arduino/cores/fqbn.go:66 +#: pkg/fqbn/fqbn.go:68 msgid "fqbn's field %s contains an invalid character" msgstr "" @@ -2986,35 +2994,35 @@ msgstr "" #: internal/arduino/resources/checksums.go:89 #: internal/arduino/resources/download.go:36 #: internal/arduino/resources/helpers.go:39 -#: internal/arduino/resources/install.go:56 +#: internal/arduino/resources/install.go:65 msgid "getting archive path: %s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:354 +#: internal/arduino/cores/packagemanager/package_manager.go:322 msgid "getting build properties for board %[1]s: %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:106 +#: internal/arduino/cores/packagemanager/download.go:108 msgid "getting discovery dependencies for platform %[1]s: %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:114 +#: internal/arduino/cores/packagemanager/download.go:116 msgid "getting monitor dependencies for platform %[1]s: %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:99 +#: internal/arduino/cores/packagemanager/download.go:101 msgid "getting tool dependencies for platform %[1]s: %[2]s" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:149 +#: internal/arduino/libraries/librariesmanager/install.go:148 msgid "install directory not set" msgstr "" -#: commands/instances.go:59 +#: commands/instances.go:60 msgid "installing %[1]s tool: %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:211 +#: internal/arduino/cores/packagemanager/install_uninstall.go:213 msgid "installing platform %[1]s: %[2]s" msgstr "" @@ -3030,7 +3038,7 @@ msgstr "" msgid "invalid checksum format: %s" msgstr "" -#: internal/arduino/cores/fqbn.go:73 internal/arduino/cores/fqbn.go:78 +#: pkg/fqbn/fqbn.go:75 pkg/fqbn/fqbn.go:80 msgid "invalid config option: %s" msgstr "" @@ -3062,11 +3070,14 @@ msgstr "" msgid "invalid empty library version: %s" msgstr "" -#: internal/arduino/cores/board.go:143 +#: internal/arduino/cores/board.go:144 msgid "invalid empty option found" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:268 +#: internal/arduino/libraries/librariesmanager/install.go:276 +#: internal/arduino/libraries/librariesmanager/install.go:279 +#: internal/arduino/libraries/librariesmanager/install.go:286 +#: internal/arduino/libraries/librariesmanager/install.go:290 msgid "invalid git url" msgstr "" @@ -3094,7 +3105,7 @@ msgstr "" msgid "invalid library: no header files found" msgstr "" -#: internal/arduino/cores/board.go:146 +#: internal/arduino/cores/board.go:147 msgid "invalid option '%s'" msgstr "" @@ -3110,10 +3121,6 @@ msgstr "" msgid "invalid path writing inventory file: %[1]s error" msgstr "" -#: internal/arduino/cores/packageindex/index.go:278 -msgid "invalid platform archive size: %s" -msgstr "" - #: internal/arduino/sketch/profiles.go:252 msgid "invalid platform identifier" msgstr "" @@ -3134,7 +3141,7 @@ msgstr "" msgid "invalid port configuration: %s=%s" msgstr "" -#: commands/service_upload.go:724 +#: commands/service_upload.go:725 msgid "invalid recipe '%[1]s': %[2]s" msgstr "" @@ -3145,7 +3152,7 @@ msgid "" "cannot be \".\"." msgstr "" -#: internal/arduino/cores/board.go:150 +#: internal/arduino/cores/board.go:151 msgid "invalid value '%[1]s' for option '%[2]s'" msgstr "" @@ -3185,11 +3192,11 @@ msgstr "" msgid "libraries with a Name exactly matching \"pcf8523\"" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:126 +#: internal/arduino/libraries/librariesmanager/install.go:125 msgid "library %s already installed" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:315 +#: internal/arduino/libraries/librariesmanager/install.go:342 msgid "library not valid" msgstr "" @@ -3203,8 +3210,8 @@ msgstr "" msgid "loading boards: %s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:501 -#: internal/arduino/cores/packagemanager/package_manager.go:516 +#: internal/arduino/cores/packagemanager/package_manager.go:469 +#: internal/arduino/cores/packagemanager/package_manager.go:484 msgid "loading json index file %[1]s: %[2]s" msgstr "" @@ -3233,7 +3240,7 @@ msgstr "" msgid "loading required tool %s" msgstr "" -#: internal/arduino/cores/packagemanager/loader.go:590 +#: internal/arduino/cores/packagemanager/loader.go:587 msgid "loading tool release in %s" msgstr "" @@ -3241,7 +3248,7 @@ msgstr "" msgid "looking for boards.txt in %s" msgstr "" -#: commands/service_upload.go:806 +#: commands/service_upload.go:807 msgid "looking for build artifacts" msgstr "" @@ -3257,7 +3264,7 @@ msgstr "" msgid "missing checksum for: %s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:462 +#: internal/arduino/cores/packagemanager/package_manager.go:430 msgid "missing package %[1]s referenced by board %[2]s" msgstr "" @@ -3265,11 +3272,11 @@ msgstr "" msgid "missing package index for %s, future updates cannot be guaranteed" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:467 +#: internal/arduino/cores/packagemanager/package_manager.go:435 msgid "missing platform %[1]s:%[2]s referenced by board %[3]s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:472 +#: internal/arduino/cores/packagemanager/package_manager.go:440 msgid "missing platform release %[1]s:%[2]s referenced by board %[3]s" msgstr "" @@ -3277,17 +3284,17 @@ msgstr "" msgid "missing signature" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:757 +#: internal/arduino/cores/packagemanager/package_manager.go:725 msgid "monitor release not found: %s" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:197 -#: internal/arduino/libraries/librariesmanager/install.go:246 -#: internal/arduino/resources/install.go:97 +#: internal/arduino/libraries/librariesmanager/install.go:196 +#: internal/arduino/libraries/librariesmanager/install.go:247 +#: internal/arduino/resources/install.go:106 msgid "moving extracted archive to destination dir: %s" msgstr "" -#: commands/service_upload.go:858 +#: commands/service_upload.go:859 msgid "multiple build artifacts found: '%[1]s' and '%[2]s'" msgstr "" @@ -3295,17 +3302,17 @@ msgstr "" msgid "multiple main sketch files found (%[1]v, %[2]v)" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:338 +#: internal/arduino/cores/packagemanager/install_uninstall.go:340 msgid "" "no compatible version of %[1]s tools found for the current os, try " "contacting %[2]s" msgstr "" -#: commands/service_board_list.go:273 +#: commands/service_board_list.go:106 msgid "no instance specified" msgstr "" -#: commands/service_upload.go:813 +#: commands/service_upload.go:814 msgid "no sketch or build directory/file specified" msgstr "" @@ -3313,11 +3320,11 @@ msgstr "" msgid "no such file or directory" msgstr "" -#: internal/arduino/resources/install.go:126 +#: internal/arduino/resources/install.go:135 msgid "no unique root dir in archive, found '%[1]s' and '%[2]s'" msgstr "" -#: commands/service_upload.go:719 +#: commands/service_upload.go:720 msgid "no upload port provided" msgstr "" @@ -3325,11 +3332,11 @@ msgstr "" msgid "no valid sketch found in %[1]s: missing %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:128 +#: internal/arduino/cores/packagemanager/download.go:130 msgid "no versions available for the current OS, try contacting %s" msgstr "" -#: internal/arduino/cores/fqbn.go:50 +#: pkg/fqbn/fqbn.go:53 msgid "not an FQBN: %s" msgstr "" @@ -3338,7 +3345,7 @@ msgid "not running in a terminal" msgstr "" #: internal/arduino/resources/checksums.go:71 -#: internal/arduino/resources/install.go:60 +#: internal/arduino/resources/install.go:69 msgid "opening archive file: %s" msgstr "" @@ -3346,26 +3353,26 @@ msgstr "" msgid "opening boards.txt" msgstr "" -#: internal/arduino/security/signatures.go:81 +#: internal/arduino/security/signatures.go:82 msgid "opening signature file: %s" msgstr "" -#: internal/arduino/security/signatures.go:76 +#: internal/arduino/security/signatures.go:78 msgid "opening target file: %s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:76 +#: internal/arduino/cores/packagemanager/download.go:78 #: internal/arduino/cores/status.go:97 internal/arduino/cores/status.go:122 #: internal/arduino/cores/status.go:149 msgid "package %s not found" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:530 +#: internal/arduino/cores/packagemanager/package_manager.go:498 msgid "package '%s' not found" msgstr "" -#: internal/arduino/cores/board.go:166 -#: internal/arduino/cores/packagemanager/package_manager.go:295 +#: internal/arduino/cores/board.go:167 +#: internal/arduino/cores/packagemanager/package_manager.go:263 msgid "parsing fqbn: %s" msgstr "" @@ -3377,26 +3384,26 @@ msgstr "" msgid "path is not a platform directory: %s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:80 +#: internal/arduino/cores/packagemanager/download.go:82 msgid "platform %[1]s not found in package %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:341 +#: internal/arduino/cores/packagemanager/package_manager.go:309 msgid "platform %s is not installed" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:92 +#: commands/cmderrors/cmderrors.go:427 msgid "platform is not available for your OS" msgstr "" -#: commands/service_compile.go:126 -#: internal/arduino/cores/packagemanager/install_uninstall.go:179 -#: internal/arduino/cores/packagemanager/install_uninstall.go:283 -#: internal/arduino/cores/packagemanager/loader.go:420 +#: commands/service_compile.go:129 +#: internal/arduino/cores/packagemanager/install_uninstall.go:181 +#: internal/arduino/cores/packagemanager/install_uninstall.go:285 +#: internal/arduino/cores/packagemanager/loader.go:417 msgid "platform not installed" msgstr "" -#: internal/cli/compile/compile.go:139 +#: internal/cli/compile/compile.go:142 msgid "please use --build-property instead." msgstr "" @@ -3431,15 +3438,15 @@ msgstr "" #: internal/arduino/cores/packagemanager/loader.go:69 #: internal/arduino/cores/packagemanager/loader.go:151 #: internal/arduino/cores/packagemanager/loader.go:218 -#: internal/arduino/cores/packagemanager/loader.go:582 +#: internal/arduino/cores/packagemanager/loader.go:579 msgid "reading directory %s" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:288 +#: internal/arduino/libraries/librariesmanager/install.go:315 msgid "reading directory %s content" msgstr "" -#: internal/arduino/builder/sketch.go:81 +#: internal/arduino/builder/sketch.go:83 msgid "reading file %[1]s: %[2]s" msgstr "" @@ -3463,7 +3470,7 @@ msgstr "" msgid "reading library_index.json: %s" msgstr "" -#: internal/arduino/resources/install.go:116 +#: internal/arduino/resources/install.go:125 msgid "reading package root dir: %s" msgstr "" @@ -3471,11 +3478,11 @@ msgstr "" msgid "reading sketch files" msgstr "" -#: commands/service_upload.go:713 +#: commands/service_upload.go:714 msgid "recipe not found '%s'" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:606 +#: internal/arduino/cores/packagemanager/package_manager.go:574 msgid "release %[1]s not found for tool %[2]s" msgstr "" @@ -3488,19 +3495,19 @@ msgstr "" msgid "removing corrupted archive file: %s" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:152 +#: internal/arduino/libraries/librariesmanager/install.go:151 msgid "removing library directory: %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:310 +#: internal/arduino/cores/packagemanager/install_uninstall.go:312 msgid "removing platform files: %s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:87 +#: internal/arduino/cores/packagemanager/download.go:89 msgid "required version %[1]s not found for platform %[2]s" msgstr "" -#: internal/arduino/security/signatures.go:72 +#: internal/arduino/security/signatures.go:74 msgid "retrieving Arduino public keys: %s" msgstr "" @@ -3509,10 +3516,14 @@ msgstr "" msgid "scanning sketch examples" msgstr "" -#: internal/arduino/resources/install.go:74 +#: internal/arduino/resources/install.go:83 msgid "searching package root dir: %s" msgstr "" +#: internal/arduino/security/signatures.go:87 +msgid "signature expired: is your system clock set correctly?" +msgstr "" + #: commands/service_sketch_new.go:78 msgid "sketch name cannot be empty" msgstr "" @@ -3550,11 +3561,11 @@ msgstr "" msgid "testing if archive is cached: %s" msgstr "" -#: internal/arduino/resources/install.go:38 +#: internal/arduino/resources/install.go:46 msgid "testing local archive integrity: %s" msgstr "" -#: internal/arduino/builder/sizer.go:191 +#: internal/arduino/builder/sizer.go:194 msgid "text section exceeds available space in board" msgstr "" @@ -3563,7 +3574,7 @@ msgstr "" msgid "the compilation database may be incomplete or inaccurate" msgstr "" -#: commands/service_board_list.go:102 +#: commands/service_board_identify.go:190 msgid "the server responded with status %s" msgstr "" @@ -3571,7 +3582,7 @@ msgstr "" msgid "timeout waiting for message" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:404 +#: internal/arduino/cores/packagemanager/install_uninstall.go:406 msgid "tool %s is not managed by package manager" msgstr "" @@ -3580,16 +3591,16 @@ msgstr "" msgid "tool %s not found" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:556 +#: internal/arduino/cores/packagemanager/package_manager.go:524 msgid "tool '%[1]s' not found in package '%[2]s'" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:399 +#: internal/arduino/cores/packagemanager/install_uninstall.go:401 msgid "tool not installed" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:735 -#: internal/arduino/cores/packagemanager/package_manager.go:841 +#: internal/arduino/cores/packagemanager/package_manager.go:703 +#: internal/arduino/cores/packagemanager/package_manager.go:809 msgid "tool release not found: %s" msgstr "" @@ -3597,21 +3608,21 @@ msgstr "" msgid "tool version %s not found" msgstr "" -#: commands/service_library_install.go:92 +#: commands/service_library_install.go:93 msgid "" "two different versions of the library %[1]s are required: %[2]s and %[3]s" msgstr "" -#: internal/arduino/builder/sketch.go:74 -#: internal/arduino/builder/sketch.go:118 +#: internal/arduino/builder/sketch.go:76 +#: internal/arduino/builder/sketch.go:120 msgid "unable to compute relative path to the sketch for the item" msgstr "" -#: internal/arduino/builder/sketch.go:43 +#: internal/arduino/builder/sketch.go:45 msgid "unable to create a folder to save the sketch" msgstr "" -#: internal/arduino/builder/sketch.go:124 +#: internal/arduino/builder/sketch.go:126 msgid "unable to create the folder containing the item" msgstr "" @@ -3619,23 +3630,23 @@ msgstr "" msgid "unable to marshal config to YAML: %v" msgstr "" -#: internal/arduino/builder/sketch.go:162 +#: internal/arduino/builder/sketch.go:164 msgid "unable to read contents of the destination item" msgstr "" -#: internal/arduino/builder/sketch.go:135 +#: internal/arduino/builder/sketch.go:137 msgid "unable to read contents of the source item" msgstr "" -#: internal/arduino/builder/sketch.go:145 +#: internal/arduino/builder/sketch.go:147 msgid "unable to write to destination file" msgstr "impossible d’écrire dans le fichier de destination." -#: internal/arduino/cores/packagemanager/package_manager.go:329 +#: internal/arduino/cores/packagemanager/package_manager.go:297 msgid "unknown package %s" msgstr "paquet inconnu %s" -#: internal/arduino/cores/packagemanager/package_manager.go:336 +#: internal/arduino/cores/packagemanager/package_manager.go:304 msgid "unknown platform %s:%s" msgstr "plateforme inconnue %s:%s" @@ -3655,7 +3666,7 @@ msgstr "mise à jour de arduino:samd vers la dernière version" msgid "upgrade everything to the latest version" msgstr "tout mettre à jour tout vers la dernière version" -#: commands/service_upload.go:759 +#: commands/service_upload.go:760 msgid "uploading error: %s" msgstr "" @@ -3679,6 +3690,6 @@ msgstr "" msgid "version %s not found" msgstr "" -#: commands/service_board_list.go:120 +#: commands/service_board_identify.go:208 msgid "wrong format in server response" msgstr "" diff --git a/internal/i18n/data/he.po b/internal/locales/data/he.po similarity index 84% rename from internal/i18n/data/he.po rename to internal/locales/data/he.po index 98dfd9c2d05..5085c3b9964 100644 --- a/internal/i18n/data/he.po +++ b/internal/locales/data/he.po @@ -1,15 +1,16 @@ # # Translators: # rel_m3, 2022 +# Yaron Shahrabani , 2025 # msgid "" msgstr "" -"Last-Translator: rel_m3, 2022\n" +"Last-Translator: Yaron Shahrabani , 2025\n" "Language-Team: Hebrew (https://app.transifex.com/arduino-1/teams/108174/he/)\n" "Language: he\n" "Plural-Forms: nplurals=3; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: 2;\n" -#: version/version.go:56 +#: internal/version/version.go:56 msgid "%[1]s %[2]s Version: %[3]s Commit: %[4]s Date: %[5]s" msgstr "%[1]s%[2]s גרסה: %[3]s קומיט: %[4]sתאריך: %[5]s" @@ -21,57 +22,57 @@ msgstr "" msgid "%[1]s invalid, rebuilding all" msgstr "" -#: internal/cli/lib/check_deps.go:124 +#: internal/cli/lib/check_deps.go:125 msgid "%[1]s is required but %[2]s is currently installed." msgstr "" -#: internal/arduino/builder/builder.go:486 +#: internal/arduino/builder/builder.go:487 msgid "%[1]s pattern is missing" -msgstr "%[1]s תבנית חסרה" +msgstr "תבנית %[1]s חסרה" #: internal/arduino/resources/download.go:51 msgid "%s already downloaded" msgstr "" -#: commands/service_upload.go:781 +#: commands/service_upload.go:782 msgid "%s and %s cannot be used together" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:371 +#: internal/arduino/cores/packagemanager/install_uninstall.go:373 msgid "%s installed" msgstr "%s מותקן" -#: internal/cli/lib/check_deps.go:121 +#: internal/cli/lib/check_deps.go:122 msgid "%s is already installed." -msgstr "" +msgstr "%s כבר מותקן." #: internal/arduino/cores/packagemanager/loader.go:63 -#: internal/arduino/cores/packagemanager/loader.go:617 +#: internal/arduino/cores/packagemanager/loader.go:614 msgid "%s is not a directory" msgstr "%s אינו תיקייה" -#: internal/arduino/cores/packagemanager/install_uninstall.go:290 +#: internal/arduino/cores/packagemanager/install_uninstall.go:292 msgid "%s is not managed by package manager" -msgstr "%s אינו מנוהל על ידי מנהל ההתקנות" +msgstr "%s אינו מנוהל על ידי מנהל החבילות" #: internal/cli/daemon/daemon.go:67 msgid "%s must be >= 1024" msgstr "" -#: internal/cli/lib/check_deps.go:118 +#: internal/cli/lib/check_deps.go:119 msgid "%s must be installed." msgstr "" -#: internal/arduino/builder/internal/preprocessor/ctags.go:192 -#: internal/arduino/builder/internal/preprocessor/gcc.go:62 +#: internal/arduino/builder/internal/preprocessor/ctags.go:193 +#: internal/arduino/builder/internal/preprocessor/gcc.go:63 msgid "%s pattern is missing" msgstr "" -#: commands/cmderrors/cmderrors.go:818 +#: commands/cmderrors/cmderrors.go:839 msgid "'%s' has an invalid signature" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:448 +#: internal/arduino/cores/packagemanager/package_manager.go:416 msgid "" "'build.core' and 'build.variant' refer to different platforms: %[1]s and " "%[2]s" @@ -81,7 +82,7 @@ msgstr "" msgid "(hidden)" msgstr "(מוסתר)" -#: internal/arduino/builder/libraries.go:302 +#: internal/arduino/builder/libraries.go:303 msgid "(legacy)" msgstr "" @@ -109,7 +110,7 @@ msgstr "" msgid "A new release of Arduino CLI is available:" msgstr "" -#: commands/cmderrors/cmderrors.go:299 +#: commands/cmderrors/cmderrors.go:300 msgid "A programmer is required to upload" msgstr "" @@ -142,7 +143,7 @@ msgstr "" msgid "All the cores are already at the latest version" msgstr "" -#: commands/service_library_install.go:135 +#: commands/service_library_install.go:136 msgid "Already installed %s" msgstr "" @@ -170,7 +171,7 @@ msgstr "ארכיטקטורה: %s" msgid "Archive already exists" msgstr "" -#: internal/arduino/builder/core.go:163 +#: internal/arduino/builder/core.go:164 msgid "Archiving built core (caching) in: %[1]s" msgstr "" @@ -218,7 +219,7 @@ msgstr "" msgid "Author: %s" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:79 +#: internal/arduino/libraries/librariesmanager/install.go:78 msgid "" "Automatic library install can't be performed in this case, please manually " "remove all duplicates and retry." @@ -255,11 +256,11 @@ msgstr "" msgid "Board version:" msgstr "" -#: internal/arduino/builder/sketch.go:243 +#: internal/arduino/builder/sketch.go:245 msgid "Bootloader file specified but missing: %[1]s" msgstr "" -#: internal/cli/compile/compile.go:101 +#: internal/cli/compile/compile.go:104 msgid "" "Builds of cores and sketches are saved into this path to be cached and " "reused." @@ -269,25 +270,25 @@ msgstr "" msgid "Can't create data directory %s" msgstr "" -#: commands/cmderrors/cmderrors.go:511 +#: commands/cmderrors/cmderrors.go:532 msgid "Can't create sketch" msgstr "" -#: commands/service_library_download.go:91 -#: commands/service_library_download.go:94 +#: commands/service_library_download.go:95 +#: commands/service_library_download.go:98 msgid "Can't download library" msgstr "" #: commands/service_platform_uninstall.go:89 -#: internal/arduino/cores/packagemanager/install_uninstall.go:136 +#: internal/arduino/cores/packagemanager/install_uninstall.go:138 msgid "Can't find dependencies for platform %s" msgstr "" -#: commands/cmderrors/cmderrors.go:537 +#: commands/cmderrors/cmderrors.go:558 msgid "Can't open sketch" msgstr "" -#: commands/cmderrors/cmderrors.go:524 +#: commands/cmderrors/cmderrors.go:545 msgid "Can't update sketch" msgstr "" @@ -299,11 +300,11 @@ msgstr "" msgid "Can't write debug log: %s" msgstr "" -#: commands/service_compile.go:187 commands/service_compile.go:190 +#: commands/service_compile.go:190 commands/service_compile.go:193 msgid "Cannot create build cache directory" msgstr "" -#: commands/service_compile.go:212 +#: commands/service_compile.go:215 msgid "Cannot create build directory" msgstr "" @@ -315,11 +316,11 @@ msgstr "" msgid "Cannot create config file: %v" msgstr "" -#: commands/cmderrors/cmderrors.go:781 +#: commands/cmderrors/cmderrors.go:802 msgid "Cannot create temp dir" msgstr "" -#: commands/cmderrors/cmderrors.go:799 +#: commands/cmderrors/cmderrors.go:820 msgid "Cannot create temp file" msgstr "" @@ -341,15 +342,15 @@ msgstr "" msgid "Cannot get the configuration key %[1]s: %[2]v" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:143 +#: internal/arduino/cores/packagemanager/install_uninstall.go:145 msgid "Cannot install platform" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:349 +#: internal/arduino/cores/packagemanager/install_uninstall.go:351 msgid "Cannot install tool %s" msgstr "" -#: commands/service_upload.go:543 +#: commands/service_upload.go:544 msgid "Cannot perform port reset: %s" msgstr "" @@ -358,7 +359,7 @@ msgstr "" msgid "Cannot remove the configuration key %[1]s: %[2]v" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:161 +#: internal/arduino/cores/packagemanager/install_uninstall.go:163 msgid "Cannot upgrade platform" msgstr "" @@ -396,27 +397,31 @@ msgid "" "a change." msgstr "" -#: commands/service_debug_config.go:178 commands/service_upload.go:451 +#: commands/service_debug_config.go:178 commands/service_upload.go:452 msgid "Compiled sketch not found in %s" msgstr "" +#: internal/arduino/builder/internal/preprocessor/gcc.go:93 +msgid "Compiler error output has been truncated." +msgstr "" + #: internal/cli/compile/compile.go:80 internal/cli/compile/compile.go:81 msgid "Compiles Arduino sketches." msgstr "" -#: internal/arduino/builder/builder.go:420 +#: internal/arduino/builder/builder.go:421 msgid "Compiling core..." msgstr "" -#: internal/arduino/builder/builder.go:399 +#: internal/arduino/builder/builder.go:400 msgid "Compiling libraries..." msgstr "" -#: internal/arduino/builder/libraries.go:133 +#: internal/arduino/builder/libraries.go:134 msgid "Compiling library \"%[1]s\"" msgstr "" -#: internal/arduino/builder/builder.go:383 +#: internal/arduino/builder/builder.go:384 msgid "Compiling sketch..." msgstr "" @@ -439,11 +444,11 @@ msgid "" "=[,=]..." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:177 +#: internal/arduino/cores/packagemanager/install_uninstall.go:179 msgid "Configuring platform." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:359 +#: internal/arduino/cores/packagemanager/install_uninstall.go:361 msgid "Configuring tool." msgstr "" @@ -459,19 +464,19 @@ msgstr "" msgid "Core" msgstr "" -#: internal/cli/configuration/network.go:103 +#: internal/cli/configuration/network.go:127 msgid "Could not connect via HTTP" msgstr "" -#: commands/instances.go:486 +#: commands/instances.go:487 msgid "Could not create index directory" msgstr "" -#: internal/arduino/builder/core.go:41 +#: internal/arduino/builder/core.go:42 msgid "Couldn't deeply cache core build: %[1]s" msgstr "" -#: internal/arduino/builder/sizer.go:154 +#: internal/arduino/builder/sizer.go:155 msgid "Couldn't determine program size" msgstr "" @@ -483,7 +488,7 @@ msgstr "" msgid "Create a new Sketch" msgstr "" -#: internal/cli/compile/compile.go:98 +#: internal/cli/compile/compile.go:101 msgid "Create and print a profile configuration from the build." msgstr "" @@ -497,7 +502,7 @@ msgid "" "directory with the current configuration settings." msgstr "" -#: internal/cli/compile/compile.go:331 +#: internal/cli/compile/compile.go:340 msgid "" "Currently, Build Profiles only support libraries available through Arduino " "Library Manager." @@ -571,7 +576,7 @@ msgstr "" msgid "Description" msgstr "" -#: internal/arduino/builder/builder.go:313 +#: internal/arduino/builder/builder.go:314 msgid "Detecting libraries used..." msgstr "" @@ -631,7 +636,7 @@ msgstr "" msgid "Do not try to update library dependencies if already installed." msgstr "" -#: commands/service_library_download.go:88 +#: commands/service_library_download.go:92 msgid "Downloading %s" msgstr "" @@ -639,21 +644,21 @@ msgstr "" msgid "Downloading index signature: %s" msgstr "" -#: commands/instances.go:563 commands/instances.go:581 -#: commands/instances.go:595 commands/instances.go:612 +#: commands/instances.go:564 commands/instances.go:582 +#: commands/instances.go:596 commands/instances.go:613 #: internal/arduino/resources/index.go:82 msgid "Downloading index: %s" msgstr "" -#: commands/instances.go:371 +#: commands/instances.go:372 msgid "Downloading library %s" msgstr "" -#: commands/instances.go:53 +#: commands/instances.go:54 msgid "Downloading missing tool %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:96 +#: internal/arduino/cores/packagemanager/install_uninstall.go:98 msgid "Downloading packages" msgstr "" @@ -689,7 +694,7 @@ msgstr "" msgid "Error adding file to sketch archive" msgstr "" -#: internal/arduino/builder/core.go:169 +#: internal/arduino/builder/core.go:170 msgid "Error archiving built core (caching) in %[1]s: %[2]s" msgstr "" @@ -705,11 +710,11 @@ msgstr "" msgid "Error cleaning caches: %v" msgstr "" -#: internal/cli/compile/compile.go:220 +#: internal/cli/compile/compile.go:225 msgid "Error converting path to absolute: %v" msgstr "" -#: commands/service_compile.go:405 +#: commands/service_compile.go:420 msgid "Error copying output file %s" msgstr "" @@ -723,7 +728,7 @@ msgstr "" msgid "Error creating instance: %v" msgstr "" -#: commands/service_compile.go:389 +#: commands/service_compile.go:403 msgid "Error creating output dir" msgstr "" @@ -748,7 +753,7 @@ msgstr "" msgid "Error downloading %s" msgstr "" -#: commands/instances.go:660 internal/arduino/resources/index.go:83 +#: commands/instances.go:661 internal/arduino/resources/index.go:83 msgid "Error downloading index '%s'" msgstr "" @@ -756,7 +761,7 @@ msgstr "" msgid "Error downloading index signature '%s'" msgstr "" -#: commands/instances.go:381 commands/instances.go:387 +#: commands/instances.go:382 commands/instances.go:388 msgid "Error downloading library %s" msgstr "" @@ -765,7 +770,7 @@ msgstr "" msgid "Error downloading platform %s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:127 +#: internal/arduino/cores/packagemanager/download.go:129 #: internal/arduino/cores/packagemanager/profiles.go:179 msgid "Error downloading tool %s" msgstr "" @@ -780,7 +785,7 @@ msgstr "" #: internal/cli/burnbootloader/burnbootloader.go:78 #: internal/cli/burnbootloader/burnbootloader.go:100 -#: internal/cli/compile/compile.go:264 internal/cli/compile/compile.go:306 +#: internal/cli/compile/compile.go:269 internal/cli/compile/compile.go:311 #: internal/cli/upload/upload.go:99 internal/cli/upload/upload.go:128 msgid "Error during Upload: %v" msgstr "" @@ -789,7 +794,7 @@ msgstr "" msgid "Error during board detection" msgstr "" -#: internal/cli/compile/compile.go:379 +#: internal/cli/compile/compile.go:394 msgid "Error during build: %v" msgstr "" @@ -810,7 +815,7 @@ msgstr "" msgid "Error extracting %s" msgstr "" -#: commands/service_upload.go:448 +#: commands/service_upload.go:449 msgid "Error finding build artifacts" msgstr "" @@ -836,7 +841,7 @@ msgid "" "correct sketch folder or provide the --port flag: %s" msgstr "" -#: commands/service_compile.go:328 commands/service_library_list.go:115 +#: commands/service_compile.go:338 commands/service_library_list.go:115 msgid "Error getting information for library %s" msgstr "" @@ -872,7 +877,7 @@ msgstr "" msgid "Error installing Zip Library: %v" msgstr "" -#: commands/instances.go:397 +#: commands/instances.go:398 msgid "Error installing library %s" msgstr "" @@ -899,7 +904,7 @@ msgstr "" msgid "Error listing platforms: %v" msgstr "" -#: commands/cmderrors/cmderrors.go:424 +#: commands/cmderrors/cmderrors.go:445 msgid "Error loading hardware platform" msgstr "" @@ -916,15 +921,15 @@ msgstr "" msgid "Error opening debug logging file: %s" msgstr "" -#: internal/cli/compile/compile.go:193 +#: internal/cli/compile/compile.go:196 msgid "Error opening source code overrides data file: %v" msgstr "" -#: internal/cli/compile/compile.go:206 +#: internal/cli/compile/compile.go:209 msgid "Error parsing --show-properties flag: %v" msgstr "" -#: commands/service_compile.go:398 +#: commands/service_compile.go:412 msgid "Error reading build directory" msgstr "" @@ -940,7 +945,7 @@ msgstr "" msgid "Error retrieving core list: %v" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:158 +#: internal/arduino/cores/packagemanager/install_uninstall.go:160 msgid "Error rolling-back changes: %s" msgstr "" @@ -994,7 +999,7 @@ msgstr "" msgid "Error upgrading libraries" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:153 +#: internal/arduino/cores/packagemanager/install_uninstall.go:155 msgid "Error upgrading platform: %s" msgstr "" @@ -1007,10 +1012,10 @@ msgstr "" msgid "Error while detecting libraries included by %[1]s" msgstr "" -#: internal/arduino/builder/sizer.go:79 internal/arduino/builder/sizer.go:88 -#: internal/arduino/builder/sizer.go:91 internal/arduino/builder/sizer.go:110 -#: internal/arduino/builder/sizer.go:215 internal/arduino/builder/sizer.go:225 -#: internal/arduino/builder/sizer.go:229 +#: internal/arduino/builder/sizer.go:80 internal/arduino/builder/sizer.go:89 +#: internal/arduino/builder/sizer.go:92 internal/arduino/builder/sizer.go:111 +#: internal/arduino/builder/sizer.go:218 internal/arduino/builder/sizer.go:228 +#: internal/arduino/builder/sizer.go:232 msgid "Error while determining sketch size: %s" msgstr "" @@ -1026,7 +1031,7 @@ msgstr "" msgid "Error: command description is not supported by %v" msgstr "" -#: internal/cli/compile/compile.go:199 +#: internal/cli/compile/compile.go:202 msgid "Error: invalid source code overrides data file: %v" msgstr "" @@ -1046,7 +1051,7 @@ msgstr "" msgid "Executable to debug" msgstr "" -#: commands/service_debug_config.go:181 commands/service_upload.go:454 +#: commands/service_debug_config.go:181 commands/service_upload.go:455 msgid "Expected compiled sketch in directory %s, but is a file instead" msgstr "" @@ -1060,23 +1065,23 @@ msgstr "" msgid "FQBN:" msgstr "" -#: commands/service_upload.go:577 +#: commands/service_upload.go:578 msgid "Failed chip erase" msgstr "" -#: commands/service_upload.go:584 +#: commands/service_upload.go:585 msgid "Failed programming" msgstr "" -#: commands/service_upload.go:580 +#: commands/service_upload.go:581 msgid "Failed to burn bootloader" msgstr "" -#: commands/instances.go:87 +#: commands/instances.go:88 msgid "Failed to create data directory" msgstr "" -#: commands/instances.go:76 +#: commands/instances.go:77 msgid "Failed to create downloads directory" msgstr "" @@ -1096,7 +1101,7 @@ msgstr "" msgid "Failed to listen on TCP port: %s. Address already in use." msgstr "" -#: commands/service_upload.go:588 +#: commands/service_upload.go:589 msgid "Failed uploading" msgstr "" @@ -1104,7 +1109,7 @@ msgstr "" msgid "File:" msgstr "" -#: commands/service_compile.go:160 +#: commands/service_compile.go:163 msgid "" "Firmware encryption/signing requires all the following properties to be " "defined: %s" @@ -1143,7 +1148,7 @@ msgid "" "Force skip of pre-uninstall scripts (if the CLI is running interactively)." msgstr "" -#: commands/cmderrors/cmderrors.go:839 +#: commands/cmderrors/cmderrors.go:860 msgid "Found %d platforms matching \"%s\": %s" msgstr "" @@ -1168,7 +1173,7 @@ msgstr "" msgid "Generates completion scripts for various shells" msgstr "" -#: internal/arduino/builder/builder.go:333 +#: internal/arduino/builder/builder.go:334 msgid "Generating function prototypes..." msgstr "" @@ -1180,13 +1185,13 @@ msgstr "" msgid "Global Flags:" msgstr "" -#: internal/arduino/builder/sizer.go:164 +#: internal/arduino/builder/sizer.go:166 msgid "" "Global variables use %[1]s bytes (%[3]s%%) of dynamic memory, leaving %[4]s " "bytes for local variables. Maximum is %[2]s bytes." msgstr "" -#: internal/arduino/builder/sizer.go:170 +#: internal/arduino/builder/sizer.go:172 msgid "Global variables use %[1]s bytes of dynamic memory." msgstr "" @@ -1204,7 +1209,7 @@ msgstr "" msgid "Identification properties:" msgstr "" -#: internal/cli/compile/compile.go:132 +#: internal/cli/compile/compile.go:135 msgid "If set built binaries will be exported to the sketch folder." msgstr "" @@ -1231,20 +1236,20 @@ msgstr "" msgid "Installed" msgstr "" -#: commands/service_library_install.go:200 +#: commands/service_library_install.go:201 msgid "Installed %s" msgstr "" -#: commands/service_library_install.go:183 -#: internal/arduino/cores/packagemanager/install_uninstall.go:333 +#: commands/service_library_install.go:184 +#: internal/arduino/cores/packagemanager/install_uninstall.go:335 msgid "Installing %s" msgstr "" -#: commands/instances.go:395 +#: commands/instances.go:396 msgid "Installing library %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:119 +#: internal/arduino/cores/packagemanager/install_uninstall.go:121 #: internal/arduino/cores/packagemanager/profiles.go:134 msgid "Installing platform %s" msgstr "" @@ -1265,11 +1270,11 @@ msgstr "" msgid "Internal error in cache" msgstr "" -#: commands/cmderrors/cmderrors.go:377 +#: commands/cmderrors/cmderrors.go:378 msgid "Invalid '%[1]s' property: %[2]s" msgstr "" -#: commands/cmderrors/cmderrors.go:60 +#: commands/cmderrors/cmderrors.go:61 msgid "Invalid FQBN" msgstr "" @@ -1277,11 +1282,11 @@ msgstr "" msgid "Invalid TCP address: port is missing" msgstr "" -#: commands/cmderrors/cmderrors.go:78 +#: commands/cmderrors/cmderrors.go:79 msgid "Invalid URL" msgstr "" -#: commands/instances.go:183 +#: commands/instances.go:184 msgid "Invalid additional URL: %v" msgstr "" @@ -1295,23 +1300,23 @@ msgstr "" msgid "Invalid argument passed: %v" msgstr "" -#: commands/service_compile.go:272 +#: commands/service_compile.go:282 msgid "Invalid build properties" msgstr "" -#: internal/arduino/builder/sizer.go:250 +#: internal/arduino/builder/sizer.go:253 msgid "Invalid data size regexp: %s" msgstr "" -#: internal/arduino/builder/sizer.go:256 +#: internal/arduino/builder/sizer.go:259 msgid "Invalid eeprom size regexp: %s" msgstr "" -#: commands/instances.go:596 +#: commands/instances.go:597 msgid "Invalid index URL: %s" msgstr "" -#: commands/cmderrors/cmderrors.go:46 +#: commands/cmderrors/cmderrors.go:47 msgid "Invalid instance" msgstr "" @@ -1319,7 +1324,7 @@ msgstr "" msgid "Invalid item %s" msgstr "" -#: commands/cmderrors/cmderrors.go:96 +#: commands/cmderrors/cmderrors.go:97 msgid "Invalid library" msgstr "" @@ -1327,11 +1332,11 @@ msgstr "" msgid "Invalid logging level: %s" msgstr "" -#: commands/instances.go:613 +#: commands/instances.go:614 msgid "Invalid network configuration: %s" msgstr "" -#: internal/cli/configuration/network.go:66 +#: internal/cli/configuration/network.go:83 msgid "Invalid network.proxy '%[1]s': %[2]s" msgstr "" @@ -1339,7 +1344,7 @@ msgstr "" msgid "Invalid output format: %s" msgstr "" -#: commands/instances.go:580 +#: commands/instances.go:581 msgid "Invalid package index in %s" msgstr "" @@ -1347,35 +1352,35 @@ msgstr "" msgid "Invalid parameter %s: version not allowed" msgstr "" -#: commands/service_board_list.go:81 +#: commands/service_board_identify.go:169 msgid "Invalid pid value: '%s'" msgstr "" -#: commands/cmderrors/cmderrors.go:220 +#: commands/cmderrors/cmderrors.go:221 msgid "Invalid profile" msgstr "" -#: commands/service_monitor.go:269 +#: commands/service_monitor.go:270 msgid "Invalid recipe in platform.txt" msgstr "" -#: internal/arduino/builder/sizer.go:240 +#: internal/arduino/builder/sizer.go:243 msgid "Invalid size regexp: %s" msgstr "" -#: main.go:85 +#: main.go:86 msgid "Invalid value in configuration" msgstr "" -#: commands/cmderrors/cmderrors.go:114 +#: commands/cmderrors/cmderrors.go:115 msgid "Invalid version" msgstr "" -#: commands/service_board_list.go:78 +#: commands/service_board_identify.go:166 msgid "Invalid vid value: '%s'" msgstr "" -#: internal/cli/compile/compile.go:129 +#: internal/cli/compile/compile.go:132 msgid "" "Just produce the compilation database, without actually compiling. All build" " commands are skipped except pre* hooks." @@ -1398,12 +1403,12 @@ msgstr "" msgid "Latest" msgstr "" -#: internal/arduino/builder/libraries.go:91 +#: internal/arduino/builder/libraries.go:92 msgid "Library %[1]s has been declared precompiled:" msgstr "" -#: commands/service_library_install.go:141 -#: internal/arduino/libraries/librariesmanager/install.go:131 +#: commands/service_library_install.go:142 +#: internal/arduino/libraries/librariesmanager/install.go:130 msgid "" "Library %[1]s is already installed, but with a different version: %[2]s" msgstr "" @@ -1416,11 +1421,11 @@ msgstr "" msgid "Library %s is not installed" msgstr "" -#: commands/instances.go:374 +#: commands/instances.go:375 msgid "Library %s not found" msgstr "" -#: commands/cmderrors/cmderrors.go:445 +#: commands/cmderrors/cmderrors.go:466 msgid "Library '%s' not found" msgstr "" @@ -1429,12 +1434,12 @@ msgid "" "Library can't use both '%[1]s' and '%[2]s' folders. Double check in '%[3]s'." msgstr "" -#: commands/cmderrors/cmderrors.go:574 +#: commands/cmderrors/cmderrors.go:595 msgid "Library install failed" msgstr "" -#: commands/service_library_install.go:234 -#: commands/service_library_install.go:274 +#: commands/service_library_install.go:235 +#: commands/service_library_install.go:275 msgid "Library installed" msgstr "" @@ -1442,7 +1447,7 @@ msgstr "" msgid "License: %s" msgstr "" -#: internal/arduino/builder/builder.go:436 +#: internal/arduino/builder/builder.go:437 msgid "Linking everything together..." msgstr "" @@ -1466,7 +1471,7 @@ msgid "" " multiple options." msgstr "" -#: internal/cli/compile/compile.go:107 +#: internal/cli/compile/compile.go:110 msgid "" "List of custom build properties separated by commas. Or can be used multiple" " times for multiple properties." @@ -1488,8 +1493,8 @@ msgstr "" msgid "Lists cores and libraries that can be upgraded" msgstr "" -#: commands/instances.go:221 commands/instances.go:232 -#: commands/instances.go:342 +#: commands/instances.go:222 commands/instances.go:233 +#: commands/instances.go:343 msgid "Loading index file: %v" msgstr "" @@ -1497,7 +1502,7 @@ msgstr "" msgid "Location" msgstr "" -#: internal/arduino/builder/sizer.go:205 +#: internal/arduino/builder/sizer.go:208 msgid "Low memory available, stability problems may occur." msgstr "" @@ -1505,7 +1510,7 @@ msgstr "" msgid "Maintainer: %s" msgstr "" -#: internal/cli/compile/compile.go:137 +#: internal/cli/compile/compile.go:140 msgid "" "Max number of parallel compiles. If set to 0 the number of available CPUs " "cores will be used." @@ -1524,23 +1529,23 @@ msgstr "" msgid "Missing '%[1]s' from library in %[2]s" msgstr "" -#: commands/cmderrors/cmderrors.go:169 +#: commands/cmderrors/cmderrors.go:170 msgid "Missing FQBN (Fully Qualified Board Name)" msgstr "" -#: commands/cmderrors/cmderrors.go:260 +#: commands/cmderrors/cmderrors.go:261 msgid "Missing port" msgstr "" -#: commands/cmderrors/cmderrors.go:236 +#: commands/cmderrors/cmderrors.go:237 msgid "Missing port address" msgstr "" -#: commands/cmderrors/cmderrors.go:248 +#: commands/cmderrors/cmderrors.go:249 msgid "Missing port protocol" msgstr "" -#: commands/cmderrors/cmderrors.go:286 +#: commands/cmderrors/cmderrors.go:287 msgid "Missing programmer" msgstr "" @@ -1548,15 +1553,15 @@ msgstr "" msgid "Missing required upload field: %s" msgstr "" -#: internal/arduino/builder/sizer.go:244 +#: internal/arduino/builder/sizer.go:247 msgid "Missing size regexp" msgstr "" -#: commands/cmderrors/cmderrors.go:497 +#: commands/cmderrors/cmderrors.go:518 msgid "Missing sketch path" msgstr "" -#: commands/cmderrors/cmderrors.go:358 +#: commands/cmderrors/cmderrors.go:359 msgid "Monitor '%s' not found" msgstr "" @@ -1612,7 +1617,7 @@ msgstr "" msgid "No libraries update is available." msgstr "" -#: commands/cmderrors/cmderrors.go:274 +#: commands/cmderrors/cmderrors.go:275 msgid "No monitor available for the port protocol %s" msgstr "" @@ -1628,15 +1633,15 @@ msgstr "" msgid "No platforms matching your search." msgstr "" -#: commands/service_upload.go:533 +#: commands/service_upload.go:534 msgid "No upload port found, using %s as fallback" msgstr "" -#: commands/cmderrors/cmderrors.go:464 +#: commands/cmderrors/cmderrors.go:485 msgid "No valid dependencies solution found" msgstr "" -#: internal/arduino/builder/sizer.go:195 +#: internal/arduino/builder/sizer.go:198 msgid "Not enough memory; see %[1]s for tips on reducing your footprint." msgstr "" @@ -1666,35 +1671,35 @@ msgstr "" msgid "Option:" msgstr "" -#: internal/cli/compile/compile.go:117 +#: internal/cli/compile/compile.go:120 msgid "" "Optional, can be: %s. Used to tell gcc which warning level to use (-W flag)." msgstr "" -#: internal/cli/compile/compile.go:130 +#: internal/cli/compile/compile.go:133 msgid "Optional, cleanup the build folder and do not use any cached build." msgstr "" -#: internal/cli/compile/compile.go:127 +#: internal/cli/compile/compile.go:130 msgid "" "Optional, optimize compile output for debugging, rather than for release." msgstr "" -#: internal/cli/compile/compile.go:119 +#: internal/cli/compile/compile.go:122 msgid "Optional, suppresses almost every output." msgstr "" -#: internal/cli/compile/compile.go:118 internal/cli/upload/upload.go:79 +#: internal/cli/compile/compile.go:121 internal/cli/upload/upload.go:79 msgid "Optional, turns on verbose mode." msgstr "" -#: internal/cli/compile/compile.go:133 +#: internal/cli/compile/compile.go:136 msgid "" "Optional. Path to a .json file that contains a set of replacements of the " "sketch source code." msgstr "" -#: internal/cli/compile/compile.go:109 +#: internal/cli/compile/compile.go:112 msgid "" "Override a build property with a custom value. Can be used multiple times " "for multiple properties." @@ -1754,17 +1759,17 @@ msgstr "" msgid "Paragraph: %s" msgstr "" -#: internal/cli/compile/compile.go:454 internal/cli/compile/compile.go:469 +#: internal/cli/compile/compile.go:473 internal/cli/compile/compile.go:488 msgid "Path" msgstr "" -#: internal/cli/compile/compile.go:126 +#: internal/cli/compile/compile.go:129 msgid "" "Path to a collection of libraries. Can be used multiple times or entries can" " be comma separated." msgstr "" -#: internal/cli/compile/compile.go:124 +#: internal/cli/compile/compile.go:127 msgid "" "Path to a single library’s root folder. Can be used multiple times or " "entries can be comma separated." @@ -1774,40 +1779,44 @@ msgstr "" msgid "Path to the file where logs will be written." msgstr "" -#: internal/cli/compile/compile.go:105 +#: internal/cli/compile/compile.go:108 msgid "" "Path where to save compiled files. If omitted, a directory will be created " "in the default temporary path of your OS." msgstr "" -#: commands/service_upload.go:514 +#: commands/service_upload.go:515 msgid "Performing 1200-bps touch reset on serial port %s" msgstr "" -#: commands/service_platform_install.go:86 -#: commands/service_platform_install.go:93 +#: commands/service_platform_install.go:91 +#: commands/service_platform_install.go:98 msgid "Platform %s already installed" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:194 +#: internal/arduino/cores/packagemanager/install_uninstall.go:196 msgid "Platform %s installed" msgstr "" -#: internal/cli/compile/compile.go:402 internal/cli/upload/upload.go:148 +#: internal/cli/compile/compile.go:417 internal/cli/upload/upload.go:148 msgid "" "Platform %s is not found in any known index\n" "Maybe you need to add a 3rd party URL?" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:318 +#: internal/arduino/cores/packagemanager/install_uninstall.go:320 msgid "Platform %s uninstalled" msgstr "" -#: commands/cmderrors/cmderrors.go:482 +#: commands/cmderrors/cmderrors.go:427 +msgid "Platform '%s'" +msgstr "" + +#: commands/cmderrors/cmderrors.go:503 msgid "Platform '%s' is already at the latest version" msgstr "" -#: commands/cmderrors/cmderrors.go:406 +#: commands/cmderrors/cmderrors.go:407 msgid "Platform '%s' not found" msgstr "" @@ -1815,7 +1824,7 @@ msgstr "" msgid "Platform ID" msgstr "" -#: internal/cli/compile/compile.go:387 internal/cli/upload/upload.go:136 +#: internal/cli/compile/compile.go:402 internal/cli/upload/upload.go:136 msgid "Platform ID is not correct" msgstr "" @@ -1847,13 +1856,13 @@ msgstr "" msgid "Platform size (bytes):" msgstr "" -#: commands/cmderrors/cmderrors.go:153 +#: commands/cmderrors/cmderrors.go:154 msgid "" "Please specify an FQBN. Multiple possible boards detected on port %[1]s with" " protocol %[2]s" msgstr "" -#: commands/cmderrors/cmderrors.go:133 +#: commands/cmderrors/cmderrors.go:134 msgid "" "Please specify an FQBN. The board on port %[1]s with protocol %[2]s can't be" " identified" @@ -1867,12 +1876,12 @@ msgstr "" msgid "Port closed: %v" msgstr "" -#: commands/cmderrors/cmderrors.go:668 +#: commands/cmderrors/cmderrors.go:689 msgid "Port monitor error" msgstr "" -#: internal/arduino/builder/libraries.go:101 -#: internal/arduino/builder/libraries.go:109 +#: internal/arduino/builder/libraries.go:102 +#: internal/arduino/builder/libraries.go:110 msgid "Precompiled library in \"%[1]s\" not found" msgstr "" @@ -1880,7 +1889,7 @@ msgstr "" msgid "Print details about a board." msgstr "" -#: internal/cli/compile/compile.go:100 +#: internal/cli/compile/compile.go:103 msgid "Print preprocessed code to stdout instead of compiling." msgstr "" @@ -1900,11 +1909,11 @@ msgstr "" msgid "Prints the current configuration." msgstr "" -#: commands/cmderrors/cmderrors.go:202 +#: commands/cmderrors/cmderrors.go:203 msgid "Profile '%s' not found" msgstr "" -#: commands/cmderrors/cmderrors.go:339 +#: commands/cmderrors/cmderrors.go:340 msgid "Programmer '%s' not found" msgstr "" @@ -1920,7 +1929,7 @@ msgstr "" msgid "Programmers:" msgstr "" -#: commands/cmderrors/cmderrors.go:391 +#: commands/cmderrors/cmderrors.go:392 msgid "Property '%s' is undefined" msgstr "" @@ -1936,11 +1945,11 @@ msgstr "" msgid "Removes one or more values from a setting." msgstr "" -#: commands/service_library_install.go:187 +#: commands/service_library_install.go:188 msgid "Replacing %[1]s with %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:123 +#: internal/arduino/cores/packagemanager/install_uninstall.go:125 msgid "Replacing platform %[1]s with %[2]s" msgstr "" @@ -1956,12 +1965,12 @@ msgstr "" msgid "Run the Arduino CLI as a gRPC daemon." msgstr "" -#: internal/arduino/builder/core.go:42 +#: internal/arduino/builder/core.go:43 msgid "Running normal build of the core..." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:297 -#: internal/arduino/cores/packagemanager/install_uninstall.go:411 +#: internal/arduino/cores/packagemanager/install_uninstall.go:299 +#: internal/arduino/cores/packagemanager/install_uninstall.go:413 msgid "Running pre_uninstall script." msgstr "" @@ -1973,7 +1982,7 @@ msgstr "" msgid "SVD file path" msgstr "" -#: internal/cli/compile/compile.go:103 +#: internal/cli/compile/compile.go:106 msgid "Save build artifacts in this directory." msgstr "" @@ -2185,7 +2194,7 @@ msgstr "" msgid "Size (bytes):" msgstr "" -#: commands/service_compile.go:276 +#: commands/service_compile.go:286 msgid "" "Sketch cannot be located in build path. Please specify a different build " "path" @@ -2199,11 +2208,11 @@ msgstr "" msgid "Sketch profile to use" msgstr "" -#: internal/arduino/builder/sizer.go:190 +#: internal/arduino/builder/sizer.go:193 msgid "Sketch too big; see %[1]s for tips on reducing it." msgstr "" -#: internal/arduino/builder/sizer.go:158 +#: internal/arduino/builder/sizer.go:160 msgid "" "Sketch uses %[1]s bytes (%[3]s%%) of program storage space. Maximum is %[2]s" " bytes." @@ -2215,19 +2224,19 @@ msgid "" "files to .ino:" msgstr "" -#: internal/arduino/builder/linker.go:30 +#: internal/arduino/builder/linker.go:31 msgid "Skip linking of final executable." msgstr "" -#: commands/service_upload.go:507 +#: commands/service_upload.go:508 msgid "Skipping 1200-bps touch reset: no serial port selected!" msgstr "" -#: internal/arduino/builder/archive_compiled_files.go:27 +#: internal/arduino/builder/archive_compiled_files.go:28 msgid "Skipping archive creation of: %[1]s" msgstr "" -#: internal/arduino/builder/compilation.go:183 +#: internal/arduino/builder/compilation.go:184 msgid "Skipping compile of: %[1]s" msgstr "" @@ -2235,16 +2244,16 @@ msgstr "" msgid "Skipping dependencies detection for precompiled library %[1]s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:190 +#: internal/arduino/cores/packagemanager/install_uninstall.go:192 msgid "Skipping platform configuration." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:306 -#: internal/arduino/cores/packagemanager/install_uninstall.go:420 +#: internal/arduino/cores/packagemanager/install_uninstall.go:308 +#: internal/arduino/cores/packagemanager/install_uninstall.go:422 msgid "Skipping pre_uninstall script." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:368 +#: internal/arduino/cores/packagemanager/install_uninstall.go:370 msgid "Skipping tool configuration." msgstr "" @@ -2252,7 +2261,7 @@ msgstr "" msgid "Skipping: %[1]s" msgstr "" -#: commands/instances.go:633 +#: commands/instances.go:634 msgid "Some indexes could not be updated." msgstr "" @@ -2272,7 +2281,7 @@ msgstr "" msgid "The custom config file (if not specified the default will be used)." msgstr "" -#: internal/cli/compile/compile.go:90 +#: internal/cli/compile/compile.go:93 msgid "" "The flag --build-cache-path has been deprecated. Please use just --build-" "path alone or configure the build cache path in the Arduino CLI settings." @@ -2290,7 +2299,7 @@ msgstr "" msgid "The given board/programmer configuration supports debugging." msgstr "" -#: commands/cmderrors/cmderrors.go:876 +#: commands/cmderrors/cmderrors.go:897 msgid "The instance is no longer valid and needs to be reinitialized" msgstr "" @@ -2306,17 +2315,17 @@ msgid "" "Maybe use '%[2]s'?" msgstr "" -#: commands/cmderrors/cmderrors.go:858 +#: commands/cmderrors/cmderrors.go:879 msgid "The library %s has multiple installations:" msgstr "" -#: internal/cli/compile/compile.go:115 +#: internal/cli/compile/compile.go:118 msgid "" "The name of the custom encryption key to use to encrypt a binary during the " "compile process. Used only by the platforms that support it." msgstr "" -#: internal/cli/compile/compile.go:113 +#: internal/cli/compile/compile.go:116 msgid "" "The name of the custom signing key to use to sign a binary during the " "compile process. Used only by the platforms that support it." @@ -2326,13 +2335,13 @@ msgstr "" msgid "The output format for the logs, can be: %s" msgstr "" -#: internal/cli/compile/compile.go:111 +#: internal/cli/compile/compile.go:114 msgid "" "The path of the dir to search for the custom keys to sign and encrypt a " "binary. Used only by the platforms that support it." msgstr "" -#: internal/arduino/builder/libraries.go:151 +#: internal/arduino/builder/libraries.go:152 msgid "The platform does not support '%[1]s' for precompiled libraries." msgstr "" @@ -2354,12 +2363,12 @@ msgstr "" msgid "Timestamp each incoming line." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:89 -#: internal/arduino/cores/packagemanager/install_uninstall.go:328 +#: internal/arduino/cores/packagemanager/install_uninstall.go:91 +#: internal/arduino/cores/packagemanager/install_uninstall.go:330 msgid "Tool %s already installed" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:432 +#: internal/arduino/cores/packagemanager/install_uninstall.go:434 msgid "Tool %s uninstalled" msgstr "" @@ -2379,7 +2388,7 @@ msgstr "" msgid "Toolchain type" msgstr "" -#: internal/cli/compile/compile.go:400 internal/cli/upload/upload.go:146 +#: internal/cli/compile/compile.go:415 internal/cli/upload/upload.go:146 msgid "Try running %s" msgstr "" @@ -2399,7 +2408,7 @@ msgstr "" msgid "URL:" msgstr "" -#: internal/arduino/builder/core.go:165 +#: internal/arduino/builder/core.go:166 msgid "" "Unable to cache built core, please tell %[1]s maintainers to follow %[2]s" msgstr "" @@ -2421,17 +2430,17 @@ msgstr "" msgid "Unable to open file for logging: %s" msgstr "" -#: commands/instances.go:562 +#: commands/instances.go:563 msgid "Unable to parse URL" msgstr "" #: commands/service_library_uninstall.go:71 -#: internal/arduino/cores/packagemanager/install_uninstall.go:280 +#: internal/arduino/cores/packagemanager/install_uninstall.go:282 msgid "Uninstalling %s" msgstr "" #: commands/service_platform_uninstall.go:99 -#: internal/arduino/cores/packagemanager/install_uninstall.go:166 +#: internal/arduino/cores/packagemanager/install_uninstall.go:168 msgid "Uninstalling %s, tool is no more required" msgstr "" @@ -2449,7 +2458,7 @@ msgstr "" msgid "Unknown" msgstr "" -#: commands/cmderrors/cmderrors.go:183 +#: commands/cmderrors/cmderrors.go:184 msgid "Unknown FQBN" msgstr "" @@ -2477,7 +2486,7 @@ msgstr "" msgid "Updates the libraries index." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:45 +#: internal/arduino/cores/packagemanager/install_uninstall.go:47 msgid "Upgrade doesn't accept parameters with version" msgstr "" @@ -2510,7 +2519,7 @@ msgstr "" msgid "Upload port address, e.g.: COM3 or /dev/ttyACM2" msgstr "" -#: commands/service_upload.go:531 +#: commands/service_upload.go:532 msgid "Upload port found on %s" msgstr "" @@ -2518,7 +2527,7 @@ msgstr "" msgid "Upload port protocol, e.g: serial" msgstr "" -#: internal/cli/compile/compile.go:120 +#: internal/cli/compile/compile.go:123 msgid "Upload the binary after the compilation." msgstr "" @@ -2530,7 +2539,7 @@ msgstr "" msgid "Upload the bootloader." msgstr "" -#: internal/cli/compile/compile.go:269 internal/cli/upload/upload.go:167 +#: internal/cli/compile/compile.go:274 internal/cli/upload/upload.go:167 msgid "" "Uploading to specified board using %s protocol requires the following info:" msgstr "" @@ -2549,11 +2558,11 @@ msgstr "" msgid "Use %s for more information about a command." msgstr "" -#: internal/cli/compile/compile.go:452 +#: internal/cli/compile/compile.go:471 msgid "Used library" msgstr "" -#: internal/cli/compile/compile.go:467 +#: internal/cli/compile/compile.go:486 msgid "Used platform" msgstr "" @@ -2561,7 +2570,7 @@ msgstr "" msgid "Used: %[1]s" msgstr "" -#: commands/service_compile.go:351 +#: commands/service_compile.go:361 msgid "Using board '%[1]s' from platform in folder: %[2]s" msgstr "" @@ -2569,7 +2578,7 @@ msgstr "" msgid "Using cached library dependencies for file: %[1]s" msgstr "" -#: commands/service_compile.go:352 +#: commands/service_compile.go:362 msgid "Using core '%[1]s' from platform in folder: %[2]s" msgstr "" @@ -2583,25 +2592,25 @@ msgid "" "WARNING: Your board may require different settings to work!\n" msgstr "" -#: internal/arduino/builder/libraries.go:312 +#: internal/arduino/builder/libraries.go:313 msgid "Using library %[1]s at version %[2]s in folder: %[3]s %[4]s" msgstr "" -#: internal/arduino/builder/libraries.go:306 +#: internal/arduino/builder/libraries.go:307 msgid "Using library %[1]s in folder: %[2]s %[3]s" msgstr "" -#: internal/arduino/builder/core.go:120 internal/arduino/builder/core.go:132 +#: internal/arduino/builder/core.go:121 internal/arduino/builder/core.go:133 msgid "Using precompiled core: %[1]s" msgstr "" -#: internal/arduino/builder/libraries.go:98 -#: internal/arduino/builder/libraries.go:106 +#: internal/arduino/builder/libraries.go:99 +#: internal/arduino/builder/libraries.go:107 msgid "Using precompiled library in %[1]s" msgstr "" -#: internal/arduino/builder/archive_compiled_files.go:50 -#: internal/arduino/builder/compilation.go:181 +#: internal/arduino/builder/archive_compiled_files.go:51 +#: internal/arduino/builder/compilation.go:182 msgid "Using previously compiled file: %[1]s" msgstr "" @@ -2618,11 +2627,11 @@ msgid "Values" msgstr "" #: internal/cli/burnbootloader/burnbootloader.go:62 -#: internal/cli/compile/compile.go:122 internal/cli/upload/upload.go:78 +#: internal/cli/compile/compile.go:125 internal/cli/upload/upload.go:78 msgid "Verify uploaded binary after the upload." msgstr "" -#: internal/cli/compile/compile.go:453 internal/cli/compile/compile.go:468 +#: internal/cli/compile/compile.go:472 internal/cli/compile/compile.go:487 #: internal/cli/core/search.go:117 msgid "Version" msgstr "" @@ -2631,34 +2640,34 @@ msgstr "" msgid "Versions: %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:185 +#: internal/arduino/cores/packagemanager/install_uninstall.go:187 msgid "WARNING cannot configure platform: %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:364 +#: internal/arduino/cores/packagemanager/install_uninstall.go:366 msgid "WARNING cannot configure tool: %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:302 -#: internal/arduino/cores/packagemanager/install_uninstall.go:416 +#: internal/arduino/cores/packagemanager/install_uninstall.go:304 +#: internal/arduino/cores/packagemanager/install_uninstall.go:418 msgid "WARNING cannot run pre_uninstall script: %s" msgstr "" -#: internal/cli/compile/compile.go:330 +#: internal/cli/compile/compile.go:339 msgid "WARNING: The sketch is compiled using one or more custom libraries." msgstr "" -#: internal/arduino/builder/libraries.go:283 +#: internal/arduino/builder/libraries.go:284 msgid "" "WARNING: library %[1]s claims to run on %[2]s architecture(s) and may be " "incompatible with your current board which runs on %[3]s architecture(s)." msgstr "" -#: commands/service_upload.go:520 +#: commands/service_upload.go:521 msgid "Waiting for upload port..." msgstr "" -#: commands/service_compile.go:357 +#: commands/service_compile.go:367 msgid "" "Warning: Board %[1]s doesn't define a %[2]s preference. Auto-set to: %[3]s" msgstr "" @@ -2677,7 +2686,7 @@ msgid "" "directory." msgstr "" -#: internal/cli/compile/compile.go:150 internal/cli/compile/compile.go:153 +#: internal/cli/compile/compile.go:153 internal/cli/compile/compile.go:156 msgid "You cannot use the %s flag while compiling with a profile." msgstr "" @@ -2685,11 +2694,11 @@ msgstr "" msgid "archive hash differs from hash in index" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:188 +#: internal/arduino/libraries/librariesmanager/install.go:187 msgid "archive is not valid: multiple files found in zip file top level" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:191 +#: internal/arduino/libraries/librariesmanager/install.go:190 msgid "archive is not valid: no files found in zip file top level" msgstr "" @@ -2713,11 +2722,11 @@ msgstr "" msgid "basic search for \"esp32\" and \"display\" limited to official Maintainer" msgstr "" -#: commands/service_upload.go:791 +#: commands/service_upload.go:792 msgid "binary file not found in %s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:348 +#: internal/arduino/cores/packagemanager/package_manager.go:316 msgid "board %s not found" msgstr "" @@ -2733,11 +2742,11 @@ msgstr "" msgid "can't find latest release of %s" msgstr "" -#: commands/instances.go:272 +#: commands/instances.go:273 msgid "can't find latest release of tool %s" msgstr "" -#: internal/arduino/cores/packagemanager/loader.go:712 +#: internal/arduino/cores/packagemanager/loader.go:709 msgid "can't find pattern for discovery with id %s" msgstr "" @@ -2745,11 +2754,11 @@ msgstr "" msgid "candidates" msgstr "" -#: commands/service_upload.go:737 commands/service_upload.go:744 +#: commands/service_upload.go:738 commands/service_upload.go:745 msgid "cannot execute upload tool: %s" msgstr "" -#: internal/arduino/resources/install.go:40 +#: internal/arduino/resources/install.go:48 msgid "checking local archive integrity" msgstr "" @@ -2775,27 +2784,27 @@ msgstr "" msgid "computing hash: %s" msgstr "" -#: internal/arduino/cores/fqbn.go:81 +#: pkg/fqbn/fqbn.go:83 msgid "config key %s contains an invalid character" msgstr "" -#: internal/arduino/cores/fqbn.go:86 +#: pkg/fqbn/fqbn.go:87 msgid "config value %s contains an invalid character" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:141 +#: internal/arduino/libraries/librariesmanager/install.go:140 msgid "copying library to destination directory:" msgstr "" -#: commands/service_upload.go:863 +#: commands/service_upload.go:864 msgid "could not find a valid build artifact" msgstr "" -#: commands/service_platform_install.go:94 +#: commands/service_platform_install.go:99 msgid "could not overwrite" msgstr "" -#: commands/service_library_install.go:190 +#: commands/service_library_install.go:191 msgid "could not remove old library" msgstr "" @@ -2804,20 +2813,20 @@ msgstr "" msgid "could not update sketch project file" msgstr "" -#: internal/arduino/builder/core.go:116 internal/arduino/builder/core.go:140 +#: internal/arduino/builder/core.go:117 internal/arduino/builder/core.go:141 msgid "creating core cache folder: %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:219 +#: internal/arduino/cores/packagemanager/install_uninstall.go:221 msgid "creating installed.json in %[1]s: %[2]s" msgstr "" -#: internal/arduino/resources/install.go:45 -#: internal/arduino/resources/install.go:49 +#: internal/arduino/resources/install.go:54 +#: internal/arduino/resources/install.go:58 msgid "creating temp dir for extraction: %s" msgstr "" -#: internal/arduino/builder/sizer.go:196 +#: internal/arduino/builder/sizer.go:199 msgid "data section exceeds available space in board" msgstr "" @@ -2825,15 +2834,15 @@ msgstr "" msgid "dependency '%s' is not available" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:94 +#: internal/arduino/libraries/librariesmanager/install.go:93 msgid "destination dir %s already exists, cannot install" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:138 +#: internal/arduino/libraries/librariesmanager/install.go:137 msgid "destination directory already exists" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:278 +#: internal/arduino/libraries/librariesmanager/install.go:305 msgid "directory doesn't exist: %s" msgstr "" @@ -2841,15 +2850,15 @@ msgstr "" msgid "discovery %[1]s process not started" msgstr "" -#: internal/arduino/cores/packagemanager/loader.go:644 +#: internal/arduino/cores/packagemanager/loader.go:641 msgid "discovery %s not found" msgstr "" -#: internal/arduino/cores/packagemanager/loader.go:648 +#: internal/arduino/cores/packagemanager/loader.go:645 msgid "discovery %s not installed" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:746 +#: internal/arduino/cores/packagemanager/package_manager.go:714 msgid "discovery release not found: %s" msgstr "" @@ -2865,11 +2874,11 @@ msgstr "" msgid "downloaded" msgstr "" -#: commands/instances.go:55 +#: commands/instances.go:56 msgid "downloading %[1]s tool: %[2]s" msgstr "" -#: internal/arduino/cores/fqbn.go:60 +#: pkg/fqbn/fqbn.go:63 msgid "empty board identifier" msgstr "" @@ -2877,7 +2886,7 @@ msgstr "" msgid "error loading sketch project file:" msgstr "" -#: internal/arduino/cores/packagemanager/loader.go:615 +#: internal/arduino/cores/packagemanager/loader.go:612 msgid "error opening %s" msgstr "" @@ -2885,19 +2894,19 @@ msgstr "" msgid "error parsing version constraints" msgstr "" -#: commands/service_board_list.go:115 +#: commands/service_board_identify.go:203 msgid "error processing response from server" msgstr "" -#: commands/service_board_list.go:95 +#: commands/service_board_identify.go:183 msgid "error querying Arduino Cloud Api" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:179 +#: internal/arduino/libraries/librariesmanager/install.go:178 msgid "extracting archive" msgstr "" -#: internal/arduino/resources/install.go:68 +#: internal/arduino/resources/install.go:77 msgid "extracting archive: %s" msgstr "" @@ -2905,7 +2914,7 @@ msgstr "" msgid "failed to compute hash of file \"%s\"" msgstr "" -#: commands/service_board_list.go:90 +#: commands/service_board_identify.go:178 msgid "failed to initialize http client" msgstr "" @@ -2913,7 +2922,7 @@ msgstr "" msgid "fetched archive size differs from size specified in index" msgstr "" -#: internal/arduino/resources/install.go:123 +#: internal/arduino/resources/install.go:132 msgid "files in archive must be placed in a subdirectory" msgstr "" @@ -2943,7 +2952,7 @@ msgstr "" msgid "for the specific version." msgstr "" -#: internal/arduino/cores/fqbn.go:66 +#: pkg/fqbn/fqbn.go:68 msgid "fqbn's field %s contains an invalid character" msgstr "" @@ -2967,35 +2976,35 @@ msgstr "" #: internal/arduino/resources/checksums.go:89 #: internal/arduino/resources/download.go:36 #: internal/arduino/resources/helpers.go:39 -#: internal/arduino/resources/install.go:56 +#: internal/arduino/resources/install.go:65 msgid "getting archive path: %s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:354 +#: internal/arduino/cores/packagemanager/package_manager.go:322 msgid "getting build properties for board %[1]s: %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:106 +#: internal/arduino/cores/packagemanager/download.go:108 msgid "getting discovery dependencies for platform %[1]s: %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:114 +#: internal/arduino/cores/packagemanager/download.go:116 msgid "getting monitor dependencies for platform %[1]s: %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:99 +#: internal/arduino/cores/packagemanager/download.go:101 msgid "getting tool dependencies for platform %[1]s: %[2]s" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:149 +#: internal/arduino/libraries/librariesmanager/install.go:148 msgid "install directory not set" msgstr "" -#: commands/instances.go:59 +#: commands/instances.go:60 msgid "installing %[1]s tool: %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:211 +#: internal/arduino/cores/packagemanager/install_uninstall.go:213 msgid "installing platform %[1]s: %[2]s" msgstr "" @@ -3011,7 +3020,7 @@ msgstr "" msgid "invalid checksum format: %s" msgstr "" -#: internal/arduino/cores/fqbn.go:73 internal/arduino/cores/fqbn.go:78 +#: pkg/fqbn/fqbn.go:75 pkg/fqbn/fqbn.go:80 msgid "invalid config option: %s" msgstr "" @@ -3043,11 +3052,14 @@ msgstr "" msgid "invalid empty library version: %s" msgstr "" -#: internal/arduino/cores/board.go:143 +#: internal/arduino/cores/board.go:144 msgid "invalid empty option found" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:268 +#: internal/arduino/libraries/librariesmanager/install.go:276 +#: internal/arduino/libraries/librariesmanager/install.go:279 +#: internal/arduino/libraries/librariesmanager/install.go:286 +#: internal/arduino/libraries/librariesmanager/install.go:290 msgid "invalid git url" msgstr "" @@ -3075,7 +3087,7 @@ msgstr "" msgid "invalid library: no header files found" msgstr "" -#: internal/arduino/cores/board.go:146 +#: internal/arduino/cores/board.go:147 msgid "invalid option '%s'" msgstr "" @@ -3091,10 +3103,6 @@ msgstr "" msgid "invalid path writing inventory file: %[1]s error" msgstr "" -#: internal/arduino/cores/packageindex/index.go:278 -msgid "invalid platform archive size: %s" -msgstr "" - #: internal/arduino/sketch/profiles.go:252 msgid "invalid platform identifier" msgstr "" @@ -3115,7 +3123,7 @@ msgstr "" msgid "invalid port configuration: %s=%s" msgstr "" -#: commands/service_upload.go:724 +#: commands/service_upload.go:725 msgid "invalid recipe '%[1]s': %[2]s" msgstr "" @@ -3126,7 +3134,7 @@ msgid "" "cannot be \".\"." msgstr "" -#: internal/arduino/cores/board.go:150 +#: internal/arduino/cores/board.go:151 msgid "invalid value '%[1]s' for option '%[2]s'" msgstr "" @@ -3166,11 +3174,11 @@ msgstr "" msgid "libraries with a Name exactly matching \"pcf8523\"" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:126 +#: internal/arduino/libraries/librariesmanager/install.go:125 msgid "library %s already installed" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:315 +#: internal/arduino/libraries/librariesmanager/install.go:342 msgid "library not valid" msgstr "" @@ -3184,8 +3192,8 @@ msgstr "" msgid "loading boards: %s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:501 -#: internal/arduino/cores/packagemanager/package_manager.go:516 +#: internal/arduino/cores/packagemanager/package_manager.go:469 +#: internal/arduino/cores/packagemanager/package_manager.go:484 msgid "loading json index file %[1]s: %[2]s" msgstr "" @@ -3214,7 +3222,7 @@ msgstr "" msgid "loading required tool %s" msgstr "" -#: internal/arduino/cores/packagemanager/loader.go:590 +#: internal/arduino/cores/packagemanager/loader.go:587 msgid "loading tool release in %s" msgstr "" @@ -3222,7 +3230,7 @@ msgstr "" msgid "looking for boards.txt in %s" msgstr "" -#: commands/service_upload.go:806 +#: commands/service_upload.go:807 msgid "looking for build artifacts" msgstr "" @@ -3238,7 +3246,7 @@ msgstr "" msgid "missing checksum for: %s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:462 +#: internal/arduino/cores/packagemanager/package_manager.go:430 msgid "missing package %[1]s referenced by board %[2]s" msgstr "" @@ -3246,11 +3254,11 @@ msgstr "" msgid "missing package index for %s, future updates cannot be guaranteed" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:467 +#: internal/arduino/cores/packagemanager/package_manager.go:435 msgid "missing platform %[1]s:%[2]s referenced by board %[3]s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:472 +#: internal/arduino/cores/packagemanager/package_manager.go:440 msgid "missing platform release %[1]s:%[2]s referenced by board %[3]s" msgstr "" @@ -3258,17 +3266,17 @@ msgstr "" msgid "missing signature" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:757 +#: internal/arduino/cores/packagemanager/package_manager.go:725 msgid "monitor release not found: %s" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:197 -#: internal/arduino/libraries/librariesmanager/install.go:246 -#: internal/arduino/resources/install.go:97 +#: internal/arduino/libraries/librariesmanager/install.go:196 +#: internal/arduino/libraries/librariesmanager/install.go:247 +#: internal/arduino/resources/install.go:106 msgid "moving extracted archive to destination dir: %s" msgstr "" -#: commands/service_upload.go:858 +#: commands/service_upload.go:859 msgid "multiple build artifacts found: '%[1]s' and '%[2]s'" msgstr "" @@ -3276,17 +3284,17 @@ msgstr "" msgid "multiple main sketch files found (%[1]v, %[2]v)" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:338 +#: internal/arduino/cores/packagemanager/install_uninstall.go:340 msgid "" "no compatible version of %[1]s tools found for the current os, try " "contacting %[2]s" msgstr "" -#: commands/service_board_list.go:273 +#: commands/service_board_list.go:106 msgid "no instance specified" msgstr "" -#: commands/service_upload.go:813 +#: commands/service_upload.go:814 msgid "no sketch or build directory/file specified" msgstr "" @@ -3294,11 +3302,11 @@ msgstr "" msgid "no such file or directory" msgstr "" -#: internal/arduino/resources/install.go:126 +#: internal/arduino/resources/install.go:135 msgid "no unique root dir in archive, found '%[1]s' and '%[2]s'" msgstr "" -#: commands/service_upload.go:719 +#: commands/service_upload.go:720 msgid "no upload port provided" msgstr "" @@ -3306,11 +3314,11 @@ msgstr "" msgid "no valid sketch found in %[1]s: missing %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:128 +#: internal/arduino/cores/packagemanager/download.go:130 msgid "no versions available for the current OS, try contacting %s" msgstr "" -#: internal/arduino/cores/fqbn.go:50 +#: pkg/fqbn/fqbn.go:53 msgid "not an FQBN: %s" msgstr "" @@ -3319,7 +3327,7 @@ msgid "not running in a terminal" msgstr "" #: internal/arduino/resources/checksums.go:71 -#: internal/arduino/resources/install.go:60 +#: internal/arduino/resources/install.go:69 msgid "opening archive file: %s" msgstr "" @@ -3327,26 +3335,26 @@ msgstr "" msgid "opening boards.txt" msgstr "" -#: internal/arduino/security/signatures.go:81 +#: internal/arduino/security/signatures.go:82 msgid "opening signature file: %s" msgstr "" -#: internal/arduino/security/signatures.go:76 +#: internal/arduino/security/signatures.go:78 msgid "opening target file: %s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:76 +#: internal/arduino/cores/packagemanager/download.go:78 #: internal/arduino/cores/status.go:97 internal/arduino/cores/status.go:122 #: internal/arduino/cores/status.go:149 msgid "package %s not found" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:530 +#: internal/arduino/cores/packagemanager/package_manager.go:498 msgid "package '%s' not found" msgstr "" -#: internal/arduino/cores/board.go:166 -#: internal/arduino/cores/packagemanager/package_manager.go:295 +#: internal/arduino/cores/board.go:167 +#: internal/arduino/cores/packagemanager/package_manager.go:263 msgid "parsing fqbn: %s" msgstr "" @@ -3358,26 +3366,26 @@ msgstr "" msgid "path is not a platform directory: %s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:80 +#: internal/arduino/cores/packagemanager/download.go:82 msgid "platform %[1]s not found in package %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:341 +#: internal/arduino/cores/packagemanager/package_manager.go:309 msgid "platform %s is not installed" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:92 +#: commands/cmderrors/cmderrors.go:427 msgid "platform is not available for your OS" msgstr "" -#: commands/service_compile.go:126 -#: internal/arduino/cores/packagemanager/install_uninstall.go:179 -#: internal/arduino/cores/packagemanager/install_uninstall.go:283 -#: internal/arduino/cores/packagemanager/loader.go:420 +#: commands/service_compile.go:129 +#: internal/arduino/cores/packagemanager/install_uninstall.go:181 +#: internal/arduino/cores/packagemanager/install_uninstall.go:285 +#: internal/arduino/cores/packagemanager/loader.go:417 msgid "platform not installed" msgstr "" -#: internal/cli/compile/compile.go:139 +#: internal/cli/compile/compile.go:142 msgid "please use --build-property instead." msgstr "" @@ -3412,15 +3420,15 @@ msgstr "" #: internal/arduino/cores/packagemanager/loader.go:69 #: internal/arduino/cores/packagemanager/loader.go:151 #: internal/arduino/cores/packagemanager/loader.go:218 -#: internal/arduino/cores/packagemanager/loader.go:582 +#: internal/arduino/cores/packagemanager/loader.go:579 msgid "reading directory %s" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:288 +#: internal/arduino/libraries/librariesmanager/install.go:315 msgid "reading directory %s content" msgstr "" -#: internal/arduino/builder/sketch.go:81 +#: internal/arduino/builder/sketch.go:83 msgid "reading file %[1]s: %[2]s" msgstr "" @@ -3444,7 +3452,7 @@ msgstr "" msgid "reading library_index.json: %s" msgstr "" -#: internal/arduino/resources/install.go:116 +#: internal/arduino/resources/install.go:125 msgid "reading package root dir: %s" msgstr "" @@ -3452,11 +3460,11 @@ msgstr "" msgid "reading sketch files" msgstr "" -#: commands/service_upload.go:713 +#: commands/service_upload.go:714 msgid "recipe not found '%s'" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:606 +#: internal/arduino/cores/packagemanager/package_manager.go:574 msgid "release %[1]s not found for tool %[2]s" msgstr "" @@ -3469,19 +3477,19 @@ msgstr "" msgid "removing corrupted archive file: %s" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:152 +#: internal/arduino/libraries/librariesmanager/install.go:151 msgid "removing library directory: %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:310 +#: internal/arduino/cores/packagemanager/install_uninstall.go:312 msgid "removing platform files: %s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:87 +#: internal/arduino/cores/packagemanager/download.go:89 msgid "required version %[1]s not found for platform %[2]s" msgstr "" -#: internal/arduino/security/signatures.go:72 +#: internal/arduino/security/signatures.go:74 msgid "retrieving Arduino public keys: %s" msgstr "" @@ -3490,10 +3498,14 @@ msgstr "" msgid "scanning sketch examples" msgstr "" -#: internal/arduino/resources/install.go:74 +#: internal/arduino/resources/install.go:83 msgid "searching package root dir: %s" msgstr "" +#: internal/arduino/security/signatures.go:87 +msgid "signature expired: is your system clock set correctly?" +msgstr "" + #: commands/service_sketch_new.go:78 msgid "sketch name cannot be empty" msgstr "" @@ -3531,11 +3543,11 @@ msgstr "" msgid "testing if archive is cached: %s" msgstr "" -#: internal/arduino/resources/install.go:38 +#: internal/arduino/resources/install.go:46 msgid "testing local archive integrity: %s" msgstr "" -#: internal/arduino/builder/sizer.go:191 +#: internal/arduino/builder/sizer.go:194 msgid "text section exceeds available space in board" msgstr "" @@ -3544,7 +3556,7 @@ msgstr "" msgid "the compilation database may be incomplete or inaccurate" msgstr "" -#: commands/service_board_list.go:102 +#: commands/service_board_identify.go:190 msgid "the server responded with status %s" msgstr "" @@ -3552,7 +3564,7 @@ msgstr "" msgid "timeout waiting for message" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:404 +#: internal/arduino/cores/packagemanager/install_uninstall.go:406 msgid "tool %s is not managed by package manager" msgstr "" @@ -3561,16 +3573,16 @@ msgstr "" msgid "tool %s not found" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:556 +#: internal/arduino/cores/packagemanager/package_manager.go:524 msgid "tool '%[1]s' not found in package '%[2]s'" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:399 +#: internal/arduino/cores/packagemanager/install_uninstall.go:401 msgid "tool not installed" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:735 -#: internal/arduino/cores/packagemanager/package_manager.go:841 +#: internal/arduino/cores/packagemanager/package_manager.go:703 +#: internal/arduino/cores/packagemanager/package_manager.go:809 msgid "tool release not found: %s" msgstr "" @@ -3578,21 +3590,21 @@ msgstr "" msgid "tool version %s not found" msgstr "" -#: commands/service_library_install.go:92 +#: commands/service_library_install.go:93 msgid "" "two different versions of the library %[1]s are required: %[2]s and %[3]s" msgstr "" -#: internal/arduino/builder/sketch.go:74 -#: internal/arduino/builder/sketch.go:118 +#: internal/arduino/builder/sketch.go:76 +#: internal/arduino/builder/sketch.go:120 msgid "unable to compute relative path to the sketch for the item" msgstr "" -#: internal/arduino/builder/sketch.go:43 +#: internal/arduino/builder/sketch.go:45 msgid "unable to create a folder to save the sketch" msgstr "" -#: internal/arduino/builder/sketch.go:124 +#: internal/arduino/builder/sketch.go:126 msgid "unable to create the folder containing the item" msgstr "" @@ -3600,23 +3612,23 @@ msgstr "" msgid "unable to marshal config to YAML: %v" msgstr "" -#: internal/arduino/builder/sketch.go:162 +#: internal/arduino/builder/sketch.go:164 msgid "unable to read contents of the destination item" msgstr "" -#: internal/arduino/builder/sketch.go:135 +#: internal/arduino/builder/sketch.go:137 msgid "unable to read contents of the source item" msgstr "" -#: internal/arduino/builder/sketch.go:145 +#: internal/arduino/builder/sketch.go:147 msgid "unable to write to destination file" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:329 +#: internal/arduino/cores/packagemanager/package_manager.go:297 msgid "unknown package %s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:336 +#: internal/arduino/cores/packagemanager/package_manager.go:304 msgid "unknown platform %s:%s" msgstr "" @@ -3636,7 +3648,7 @@ msgstr "" msgid "upgrade everything to the latest version" msgstr "" -#: commands/service_upload.go:759 +#: commands/service_upload.go:760 msgid "uploading error: %s" msgstr "" @@ -3660,6 +3672,6 @@ msgstr "" msgid "version %s not found" msgstr "" -#: commands/service_board_list.go:120 +#: commands/service_board_identify.go:208 msgid "wrong format in server response" msgstr "" diff --git a/internal/i18n/data/it_IT.po b/internal/locales/data/it_IT.po similarity index 89% rename from internal/i18n/data/it_IT.po rename to internal/locales/data/it_IT.po index 6683cdc2b19..fa37399c0e5 100644 --- a/internal/i18n/data/it_IT.po +++ b/internal/locales/data/it_IT.po @@ -7,16 +7,16 @@ # Gabriel F., 2022 # CLI team , 2022 # Gaia Castronovo , 2023 -# Giovanni Scafora , 2024 +# Giovanni Scafora , 2025 # msgid "" msgstr "" -"Last-Translator: Giovanni Scafora , 2024\n" +"Last-Translator: Giovanni Scafora , 2025\n" "Language-Team: Italian (Italy) (https://app.transifex.com/arduino-1/teams/108174/it_IT/)\n" "Language: it_IT\n" "Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" -#: version/version.go:56 +#: internal/version/version.go:56 msgid "%[1]s %[2]s Version: %[3]s Commit: %[4]s Date: %[5]s" msgstr "%[1]s %[2]s Versione: %[3]s Commit: %[4]s Data: %[5]s" @@ -30,11 +30,11 @@ msgstr "" msgid "%[1]s invalid, rebuilding all" msgstr "%[1]s non è valido, ricompilo tutto" -#: internal/cli/lib/check_deps.go:124 +#: internal/cli/lib/check_deps.go:125 msgid "%[1]s is required but %[2]s is currently installed." msgstr "%[1]s è richiesto ma %[2]s risulta attualmente installato." -#: internal/arduino/builder/builder.go:486 +#: internal/arduino/builder/builder.go:487 msgid "%[1]s pattern is missing" msgstr "Manca il pattern %[1]s" @@ -42,24 +42,24 @@ msgstr "Manca il pattern %[1]s" msgid "%s already downloaded" msgstr " %s già scaricato" -#: commands/service_upload.go:781 +#: commands/service_upload.go:782 msgid "%s and %s cannot be used together" msgstr "%s e %s non possono essere usati insieme" -#: internal/arduino/cores/packagemanager/install_uninstall.go:371 +#: internal/arduino/cores/packagemanager/install_uninstall.go:373 msgid "%s installed" msgstr "%s installato" -#: internal/cli/lib/check_deps.go:121 +#: internal/cli/lib/check_deps.go:122 msgid "%s is already installed." msgstr "%s è già installato." #: internal/arduino/cores/packagemanager/loader.go:63 -#: internal/arduino/cores/packagemanager/loader.go:617 +#: internal/arduino/cores/packagemanager/loader.go:614 msgid "%s is not a directory" msgstr "%s non è una directory" -#: internal/arduino/cores/packagemanager/install_uninstall.go:290 +#: internal/arduino/cores/packagemanager/install_uninstall.go:292 msgid "%s is not managed by package manager" msgstr "%s non è gestito dal gestore pacchetti" @@ -67,20 +67,20 @@ msgstr "%s non è gestito dal gestore pacchetti" msgid "%s must be >= 1024" msgstr "%s deve essere >= 1024" -#: internal/cli/lib/check_deps.go:118 +#: internal/cli/lib/check_deps.go:119 msgid "%s must be installed." msgstr "%s deve essere installato." -#: internal/arduino/builder/internal/preprocessor/ctags.go:192 -#: internal/arduino/builder/internal/preprocessor/gcc.go:62 +#: internal/arduino/builder/internal/preprocessor/ctags.go:193 +#: internal/arduino/builder/internal/preprocessor/gcc.go:63 msgid "%s pattern is missing" msgstr "Manca il pattern %s" -#: commands/cmderrors/cmderrors.go:818 +#: commands/cmderrors/cmderrors.go:839 msgid "'%s' has an invalid signature" msgstr "'%s' ha una firma invalida" -#: internal/arduino/cores/packagemanager/package_manager.go:448 +#: internal/arduino/cores/packagemanager/package_manager.go:416 msgid "" "'build.core' and 'build.variant' refer to different platforms: %[1]s and " "%[2]s" @@ -92,7 +92,7 @@ msgstr "" msgid "(hidden)" msgstr "(nascosto)" -#: internal/arduino/builder/libraries.go:302 +#: internal/arduino/builder/libraries.go:303 msgid "(legacy)" msgstr "(ereditato)" @@ -125,7 +125,7 @@ msgstr "il file .ino è già presente" msgid "A new release of Arduino CLI is available:" msgstr "È disponibile una nuova versione di Arduino CLI:" -#: commands/cmderrors/cmderrors.go:299 +#: commands/cmderrors/cmderrors.go:300 msgid "A programmer is required to upload" msgstr "Per caricare è necessario un programmatore" @@ -158,7 +158,7 @@ msgstr "Tutte le piattaforme sono aggiornate." msgid "All the cores are already at the latest version" msgstr "Tutti i core sono già all'ultima versione" -#: commands/service_library_install.go:135 +#: commands/service_library_install.go:136 msgid "Already installed %s" msgstr "Già installato %s" @@ -186,7 +186,7 @@ msgstr "Architettura: %s" msgid "Archive already exists" msgstr "L'archivio è già presente" -#: internal/arduino/builder/core.go:163 +#: internal/arduino/builder/core.go:164 msgid "Archiving built core (caching) in: %[1]s" msgstr "Archivio il core compilato (caching) in: %[1]s" @@ -234,7 +234,7 @@ msgstr "Collega uno sketch ad una scheda." msgid "Author: %s" msgstr "Autore: %s" -#: internal/arduino/libraries/librariesmanager/install.go:79 +#: internal/arduino/libraries/librariesmanager/install.go:78 msgid "" "Automatic library install can't be performed in this case, please manually " "remove all duplicates and retry." @@ -275,11 +275,11 @@ msgstr "Nome scheda:" msgid "Board version:" msgstr "Versione scheda:" -#: internal/arduino/builder/sketch.go:243 +#: internal/arduino/builder/sketch.go:245 msgid "Bootloader file specified but missing: %[1]s" msgstr "Il file del bootloader specificato è inesistente: %[1]s" -#: internal/cli/compile/compile.go:101 +#: internal/cli/compile/compile.go:104 msgid "" "Builds of cores and sketches are saved into this path to be cached and " "reused." @@ -291,25 +291,25 @@ msgstr "" msgid "Can't create data directory %s" msgstr "Non è possibile creare la directory dei dati %s" -#: commands/cmderrors/cmderrors.go:511 +#: commands/cmderrors/cmderrors.go:532 msgid "Can't create sketch" msgstr "Non è possibile creare lo sketch" -#: commands/service_library_download.go:91 -#: commands/service_library_download.go:94 +#: commands/service_library_download.go:95 +#: commands/service_library_download.go:98 msgid "Can't download library" msgstr "Non è possibile scaricare la libreria" #: commands/service_platform_uninstall.go:89 -#: internal/arduino/cores/packagemanager/install_uninstall.go:136 +#: internal/arduino/cores/packagemanager/install_uninstall.go:138 msgid "Can't find dependencies for platform %s" msgstr "Impossibile trovare le dipendenze per la piattaforma %s" -#: commands/cmderrors/cmderrors.go:537 +#: commands/cmderrors/cmderrors.go:558 msgid "Can't open sketch" msgstr "Non è possibile aprire lo sketch" -#: commands/cmderrors/cmderrors.go:524 +#: commands/cmderrors/cmderrors.go:545 msgid "Can't update sketch" msgstr "Impossibile aggiornare lo sketch" @@ -321,11 +321,11 @@ msgstr "Non è possibile utilizzare insieme i seguenti flag: %s" msgid "Can't write debug log: %s" msgstr "Non è possibile scrivere il log di debug: %s" -#: commands/service_compile.go:187 commands/service_compile.go:190 +#: commands/service_compile.go:190 commands/service_compile.go:193 msgid "Cannot create build cache directory" msgstr "Non è possibile creare la directory di build della cache." -#: commands/service_compile.go:212 +#: commands/service_compile.go:215 msgid "Cannot create build directory" msgstr "Non è possibile creare la directory per la build" @@ -338,11 +338,11 @@ msgstr "" msgid "Cannot create config file: %v" msgstr "Non è possibile creare il file di configurazione: %v" -#: commands/cmderrors/cmderrors.go:781 +#: commands/cmderrors/cmderrors.go:802 msgid "Cannot create temp dir" msgstr "Non è possibile creare la cartella temporanea" -#: commands/cmderrors/cmderrors.go:799 +#: commands/cmderrors/cmderrors.go:820 msgid "Cannot create temp file" msgstr "Non è possibile creare il file temporaneo" @@ -364,15 +364,15 @@ msgstr "Percorso assoluto non trovato: %v" msgid "Cannot get the configuration key %[1]s: %[2]v" msgstr "Impossibile ottenere la chiave di configurazione %[1]s: %[2]v" -#: internal/arduino/cores/packagemanager/install_uninstall.go:143 +#: internal/arduino/cores/packagemanager/install_uninstall.go:145 msgid "Cannot install platform" msgstr "Non è possibile installare la piattaforma" -#: internal/arduino/cores/packagemanager/install_uninstall.go:349 +#: internal/arduino/cores/packagemanager/install_uninstall.go:351 msgid "Cannot install tool %s" msgstr "Non è possibile installare il tool %s" -#: commands/service_upload.go:543 +#: commands/service_upload.go:544 msgid "Cannot perform port reset: %s" msgstr "Non è possibile effettuare il reset della porta: %s" @@ -381,7 +381,7 @@ msgstr "Non è possibile effettuare il reset della porta: %s" msgid "Cannot remove the configuration key %[1]s: %[2]v" msgstr "Impossibile rimuovere la chiave di configurazione %[1]s: %[2]v" -#: internal/arduino/cores/packagemanager/install_uninstall.go:161 +#: internal/arduino/cores/packagemanager/install_uninstall.go:163 msgid "Cannot upgrade platform" msgstr "Non è possibile aggiornare la piattaforma" @@ -423,27 +423,31 @@ msgstr "" "Il comando continua a funzionare e stampa l'elenco delle schede collegate " "ogni volta che viene apportata una modifica." -#: commands/service_debug_config.go:178 commands/service_upload.go:451 +#: commands/service_debug_config.go:178 commands/service_upload.go:452 msgid "Compiled sketch not found in %s" msgstr "Sketch compilato non trovato in %s" +#: internal/arduino/builder/internal/preprocessor/gcc.go:93 +msgid "Compiler error output has been truncated." +msgstr "L'output degli errori del compilatore è stato troncato." + #: internal/cli/compile/compile.go:80 internal/cli/compile/compile.go:81 msgid "Compiles Arduino sketches." msgstr "Compila gli sketch di Arduino." -#: internal/arduino/builder/builder.go:420 +#: internal/arduino/builder/builder.go:421 msgid "Compiling core..." msgstr "Compilazione del core in corso..." -#: internal/arduino/builder/builder.go:399 +#: internal/arduino/builder/builder.go:400 msgid "Compiling libraries..." msgstr "Compilazione delle librerie in corso..." -#: internal/arduino/builder/libraries.go:133 +#: internal/arduino/builder/libraries.go:134 msgid "Compiling library \"%[1]s\"" msgstr "Compilazione della libreria \"%[1]s\"" -#: internal/arduino/builder/builder.go:383 +#: internal/arduino/builder/builder.go:384 msgid "Compiling sketch..." msgstr "Compilazione dello sketch in corso..." @@ -470,11 +474,11 @@ msgstr "" "Configura le impostazioni della porta di comunicazione. Il formato è " "=[,=]..." -#: internal/arduino/cores/packagemanager/install_uninstall.go:177 +#: internal/arduino/cores/packagemanager/install_uninstall.go:179 msgid "Configuring platform." msgstr "Configurazione della piattaforma." -#: internal/arduino/cores/packagemanager/install_uninstall.go:359 +#: internal/arduino/cores/packagemanager/install_uninstall.go:361 msgid "Configuring tool." msgstr "Strumento di configurazione." @@ -490,20 +494,20 @@ msgstr "Connessione in corso a %s. Premere CTRL-C per uscire." msgid "Core" msgstr "Core" -#: internal/cli/configuration/network.go:103 +#: internal/cli/configuration/network.go:127 msgid "Could not connect via HTTP" msgstr "Non è possibile connettersi via HTTP" -#: commands/instances.go:486 +#: commands/instances.go:487 msgid "Could not create index directory" msgstr "Impossibile creare la directory dell'indice" -#: internal/arduino/builder/core.go:41 +#: internal/arduino/builder/core.go:42 msgid "Couldn't deeply cache core build: %[1]s" msgstr "" "Non è stato possibile creare una cache profonda della build core: %[1]s" -#: internal/arduino/builder/sizer.go:154 +#: internal/arduino/builder/sizer.go:155 msgid "Couldn't determine program size" msgstr "Non è possibile determinare la dimensione del programma" @@ -515,7 +519,7 @@ msgstr "Impossibile ottenere la cartella di lavoro corrente: %v" msgid "Create a new Sketch" msgstr "Crea un nuovo Sketch" -#: internal/cli/compile/compile.go:98 +#: internal/cli/compile/compile.go:101 msgid "Create and print a profile configuration from the build." msgstr "Crea e stampa una configurazione del profilo dalla build." @@ -531,7 +535,7 @@ msgstr "" "Crea o aggiorna il file di configurazione nella directory dei dati o nella " "directory personalizzata con le impostazioni di configurazione correnti." -#: internal/cli/compile/compile.go:331 +#: internal/cli/compile/compile.go:340 msgid "" "Currently, Build Profiles only support libraries available through Arduino " "Library Manager." @@ -613,7 +617,7 @@ msgstr "Dipendenze: %s" msgid "Description" msgstr "Descrizione" -#: internal/arduino/builder/builder.go:313 +#: internal/arduino/builder/builder.go:314 msgid "Detecting libraries used..." msgstr "Rilevamento delle librerie utilizzate in corso..." @@ -679,7 +683,7 @@ msgstr "" "Non tentare di aggiornare le dipendenze delle librerie se sono già " "installate." -#: commands/service_library_download.go:88 +#: commands/service_library_download.go:92 msgid "Downloading %s" msgstr "Sto scaricando %s" @@ -687,21 +691,21 @@ msgstr "Sto scaricando %s" msgid "Downloading index signature: %s" msgstr "Sto scaricando la firma dell'indice: %s" -#: commands/instances.go:563 commands/instances.go:581 -#: commands/instances.go:595 commands/instances.go:612 +#: commands/instances.go:564 commands/instances.go:582 +#: commands/instances.go:596 commands/instances.go:613 #: internal/arduino/resources/index.go:82 msgid "Downloading index: %s" msgstr "Sto scaricando l'indice: %s" -#: commands/instances.go:371 +#: commands/instances.go:372 msgid "Downloading library %s" msgstr "Sto scaricando la libreria %s" -#: commands/instances.go:53 +#: commands/instances.go:54 msgid "Downloading missing tool %s" msgstr "Sto scaricando il tool mancante %s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:96 +#: internal/arduino/cores/packagemanager/install_uninstall.go:98 msgid "Downloading packages" msgstr "Sto scaricando i pacchetti" @@ -739,7 +743,7 @@ msgstr "" "Si è verificato un errore durante l'aggiunta del file all'archivio dello " "sketch" -#: internal/arduino/builder/core.go:169 +#: internal/arduino/builder/core.go:170 msgid "Error archiving built core (caching) in %[1]s: %[2]s" msgstr "" "Si è verificato un errore durante l'archiviazione del core compilato " @@ -758,13 +762,13 @@ msgstr "" msgid "Error cleaning caches: %v" msgstr "Si è verificato un errore durante la pulizia della cache: %v" -#: internal/cli/compile/compile.go:220 +#: internal/cli/compile/compile.go:225 msgid "Error converting path to absolute: %v" msgstr "" "Si è verificato un errore durante la conversione del percorso in assoluto:: " "%v" -#: commands/service_compile.go:405 +#: commands/service_compile.go:420 msgid "Error copying output file %s" msgstr "Si è verificato un errore durante la copia del file di output %s" @@ -779,7 +783,7 @@ msgstr "" msgid "Error creating instance: %v" msgstr "Si è verificato un errore durante la creazione dell'istanza: %v" -#: commands/service_compile.go:389 +#: commands/service_compile.go:403 msgid "Error creating output dir" msgstr "" "Si è verificato un errore durante la creazione della cartella di output" @@ -806,7 +810,7 @@ msgstr "Si è verificato un errore durante lo scaricamento di %[1]s:%[2]v" msgid "Error downloading %s" msgstr "Si è verificato un errore durante lo scaricamento di %s" -#: commands/instances.go:660 internal/arduino/resources/index.go:83 +#: commands/instances.go:661 internal/arduino/resources/index.go:83 msgid "Error downloading index '%s'" msgstr "Si è verificato un errore durante lo scaricamento dell'indice '%s'" @@ -816,7 +820,7 @@ msgstr "" "Si è verificato un errore durante lo scaricamento della firma dell'indice " "'%s'" -#: commands/instances.go:381 commands/instances.go:387 +#: commands/instances.go:382 commands/instances.go:388 msgid "Error downloading library %s" msgstr "Errore durante il download della libreria %s" @@ -825,7 +829,7 @@ msgstr "Errore durante il download della libreria %s" msgid "Error downloading platform %s" msgstr "Errore durante il download della piattaforma %s" -#: internal/arduino/cores/packagemanager/download.go:127 +#: internal/arduino/cores/packagemanager/download.go:129 #: internal/arduino/cores/packagemanager/profiles.go:179 msgid "Error downloading tool %s" msgstr "Errore durante il download del tool %s" @@ -840,7 +844,7 @@ msgstr "Si è verificato un errore durante la codifica JSON dell'output: %v" #: internal/cli/burnbootloader/burnbootloader.go:78 #: internal/cli/burnbootloader/burnbootloader.go:100 -#: internal/cli/compile/compile.go:264 internal/cli/compile/compile.go:306 +#: internal/cli/compile/compile.go:269 internal/cli/compile/compile.go:311 #: internal/cli/upload/upload.go:99 internal/cli/upload/upload.go:128 msgid "Error during Upload: %v" msgstr "Errore durante il caricamento di: %v" @@ -849,7 +853,7 @@ msgstr "Errore durante il caricamento di: %v" msgid "Error during board detection" msgstr "Si è verificato un errore durante il rilevamento della scheda" -#: internal/cli/compile/compile.go:379 +#: internal/cli/compile/compile.go:394 msgid "Error during build: %v" msgstr "Si è verificato un errore durante la compilazione: %v" @@ -870,7 +874,7 @@ msgstr "Si è verificato un errore durante l'aggiornamento: %v" msgid "Error extracting %s" msgstr "Si è verificato un errore durante l'estrazione di %s" -#: commands/service_upload.go:448 +#: commands/service_upload.go:449 msgid "Error finding build artifacts" msgstr "" "Si è verificato un errore durante la ricerca degli artefatti di compilazione" @@ -906,7 +910,7 @@ msgstr "" "`sketch.yaml`. Controllare se la cartella degli sketch è corretta oppure " "utilizzare il flag --port:: %s" -#: commands/service_compile.go:328 commands/service_library_list.go:115 +#: commands/service_compile.go:338 commands/service_library_list.go:115 msgid "Error getting information for library %s" msgstr "" "Si è verificato un errore durante l'acquisizione delle informazioni della " @@ -951,7 +955,7 @@ msgid "Error installing Zip Library: %v" msgstr "" "Si è verificato un errore durante l'installazione della libreria zip: %v" -#: commands/instances.go:397 +#: commands/instances.go:398 msgid "Error installing library %s" msgstr "Si è verificato un errore durante l'installazione della libreria %s" @@ -983,7 +987,7 @@ msgstr "" "Si è verificato un errore durante la visualizzazione dell'elenco delle " "piattaforme: %v" -#: commands/cmderrors/cmderrors.go:424 +#: commands/cmderrors/cmderrors.go:445 msgid "Error loading hardware platform" msgstr "" "Si è verificato un errore durante il caricamento della piattaforma hardware" @@ -1002,18 +1006,18 @@ msgid "Error opening debug logging file: %s" msgstr "" "Si è verificato un errore durante l'apertura del file di log di debug: %s" -#: internal/cli/compile/compile.go:193 +#: internal/cli/compile/compile.go:196 msgid "Error opening source code overrides data file: %v" msgstr "" "Si è verificato un errore durante l'apertura del codice sorgente che " "sovrascrive i file: %v" -#: internal/cli/compile/compile.go:206 +#: internal/cli/compile/compile.go:209 msgid "Error parsing --show-properties flag: %v" msgstr "" "Si è verificato un errore durante il parsing del flag --show-properties: %v" -#: commands/service_compile.go:398 +#: commands/service_compile.go:412 msgid "Error reading build directory" msgstr "" "Si è verificato un errore durante la lettura della directory di compilazione" @@ -1033,7 +1037,7 @@ msgid "Error retrieving core list: %v" msgstr "" "Si è verificato un errore durante il recupero dell'elenco dei core: %v " -#: internal/arduino/cores/packagemanager/install_uninstall.go:158 +#: internal/arduino/cores/packagemanager/install_uninstall.go:160 msgid "Error rolling-back changes: %s" msgstr "Si è verificato un errore durante il ripristino delle modifiche: %s" @@ -1094,7 +1098,7 @@ msgstr "" msgid "Error upgrading libraries" msgstr "Si è verificato un errore durante l'aggiornamento delle librerie" -#: internal/arduino/cores/packagemanager/install_uninstall.go:153 +#: internal/arduino/cores/packagemanager/install_uninstall.go:155 msgid "Error upgrading platform: %s" msgstr "" "Si è verificato un errore durante l'aggiornamento della piattaforma: %s" @@ -1110,10 +1114,10 @@ msgstr "" "Si è verificato un errore durante il rilevamento delle librerie incluse da " "%[1]s" -#: internal/arduino/builder/sizer.go:79 internal/arduino/builder/sizer.go:88 -#: internal/arduino/builder/sizer.go:91 internal/arduino/builder/sizer.go:110 -#: internal/arduino/builder/sizer.go:215 internal/arduino/builder/sizer.go:225 -#: internal/arduino/builder/sizer.go:229 +#: internal/arduino/builder/sizer.go:80 internal/arduino/builder/sizer.go:89 +#: internal/arduino/builder/sizer.go:92 internal/arduino/builder/sizer.go:111 +#: internal/arduino/builder/sizer.go:218 internal/arduino/builder/sizer.go:228 +#: internal/arduino/builder/sizer.go:232 msgid "Error while determining sketch size: %s" msgstr "" "Si è verificato un errore durante la determinazione delle dimensioni dello " @@ -1133,7 +1137,7 @@ msgstr "Si è verificato un errore durante la scrittura del file: %v" msgid "Error: command description is not supported by %v" msgstr "Errore: la descrizione del comando non è supportata da %v" -#: internal/cli/compile/compile.go:199 +#: internal/cli/compile/compile.go:202 msgid "Error: invalid source code overrides data file: %v" msgstr "Errore: il codice sorgente non è valido e sovrascrive i dati: %v" @@ -1153,7 +1157,7 @@ msgstr "Esempi:" msgid "Executable to debug" msgstr "Eseguibile per il debug" -#: commands/service_debug_config.go:181 commands/service_upload.go:454 +#: commands/service_debug_config.go:181 commands/service_upload.go:455 msgid "Expected compiled sketch in directory %s, but is a file instead" msgstr "" "Ci si aspettava che lo sketch compilato fosse nella directory %s, invece è " @@ -1169,23 +1173,23 @@ msgstr "FQBN" msgid "FQBN:" msgstr "FQBN:" -#: commands/service_upload.go:577 +#: commands/service_upload.go:578 msgid "Failed chip erase" msgstr "Impossibile cancellare il chip" -#: commands/service_upload.go:584 +#: commands/service_upload.go:585 msgid "Failed programming" msgstr "Programmazione non riuscita" -#: commands/service_upload.go:580 +#: commands/service_upload.go:581 msgid "Failed to burn bootloader" msgstr "Impossibile masterizzare il bootloader" -#: commands/instances.go:87 +#: commands/instances.go:88 msgid "Failed to create data directory" msgstr "Impossibile creare la directory dei dati" -#: commands/instances.go:76 +#: commands/instances.go:77 msgid "Failed to create downloads directory" msgstr "Impossibile creare la directory degli scaricamenti" @@ -1208,7 +1212,7 @@ msgstr "" msgid "Failed to listen on TCP port: %s. Address already in use." msgstr "Impossibile ascoltare sulla porta TCP: %s. L'indirizzo è già in uso." -#: commands/service_upload.go:588 +#: commands/service_upload.go:589 msgid "Failed uploading" msgstr "Caricamento non riuscito" @@ -1216,7 +1220,7 @@ msgstr "Caricamento non riuscito" msgid "File:" msgstr "File:" -#: commands/service_compile.go:160 +#: commands/service_compile.go:163 msgid "" "Firmware encryption/signing requires all the following properties to be " "defined: %s" @@ -1265,7 +1269,7 @@ msgstr "" "Forza il salto degli script pre-uninstall (se la CLI viene eseguita in modo " "interattivo)." -#: commands/cmderrors/cmderrors.go:839 +#: commands/cmderrors/cmderrors.go:860 msgid "Found %d platforms matching \"%s\": %s" msgstr "Sono state trovate %d piattaforme corrispondenti \"%s\": %s" @@ -1290,7 +1294,7 @@ msgstr "Genera gli script di completamento" msgid "Generates completion scripts for various shells" msgstr "Genera gli script di completamento per varie shell" -#: internal/arduino/builder/builder.go:333 +#: internal/arduino/builder/builder.go:334 msgid "Generating function prototypes..." msgstr "Sto generando i prototipi di funzione..." @@ -1302,7 +1306,7 @@ msgstr "Ottiene il valore di una chiave di impostazione." msgid "Global Flags:" msgstr "Flag globali:" -#: internal/arduino/builder/sizer.go:164 +#: internal/arduino/builder/sizer.go:166 msgid "" "Global variables use %[1]s bytes (%[3]s%%) of dynamic memory, leaving %[4]s " "bytes for local variables. Maximum is %[2]s bytes." @@ -1311,7 +1315,7 @@ msgstr "" "lasciando altri %[4]s byte liberi per le variabili locali. Il massimo è " "%[2]s byte." -#: internal/arduino/builder/sizer.go:170 +#: internal/arduino/builder/sizer.go:172 msgid "Global variables use %[1]s bytes of dynamic memory." msgstr "Le variabili globali usano %[1]s byte di memoria dinamica." @@ -1329,7 +1333,7 @@ msgstr "Id" msgid "Identification properties:" msgstr "Proprietà identificative:" -#: internal/cli/compile/compile.go:132 +#: internal/cli/compile/compile.go:135 msgid "If set built binaries will be exported to the sketch folder." msgstr "Se impostato, i binari saranno esportati nella cartella degli sketch." @@ -1359,20 +1363,20 @@ msgstr "Installare le librerie nella cartella IDE-Builtin" msgid "Installed" msgstr "Installato" -#: commands/service_library_install.go:200 +#: commands/service_library_install.go:201 msgid "Installed %s" msgstr "Installato %s" -#: commands/service_library_install.go:183 -#: internal/arduino/cores/packagemanager/install_uninstall.go:333 +#: commands/service_library_install.go:184 +#: internal/arduino/cores/packagemanager/install_uninstall.go:335 msgid "Installing %s" msgstr "Installazione %s" -#: commands/instances.go:395 +#: commands/instances.go:396 msgid "Installing library %s" msgstr "Sto installando la libreria %s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:119 +#: internal/arduino/cores/packagemanager/install_uninstall.go:121 #: internal/arduino/cores/packagemanager/profiles.go:134 msgid "Installing platform %s" msgstr "Sto installando la piattaforma %s" @@ -1393,11 +1397,11 @@ msgstr "Installa nel sistema una o più librerie specificate." msgid "Internal error in cache" msgstr "Errore interno alla cache" -#: commands/cmderrors/cmderrors.go:377 +#: commands/cmderrors/cmderrors.go:378 msgid "Invalid '%[1]s' property: %[2]s" msgstr "La proprietà '%[1]s' non è valida: %[2]s" -#: commands/cmderrors/cmderrors.go:60 +#: commands/cmderrors/cmderrors.go:61 msgid "Invalid FQBN" msgstr "FQBN non è valido" @@ -1405,11 +1409,11 @@ msgstr "FQBN non è valido" msgid "Invalid TCP address: port is missing" msgstr "Indirizzo TCP non valido: manca la porta" -#: commands/cmderrors/cmderrors.go:78 +#: commands/cmderrors/cmderrors.go:79 msgid "Invalid URL" msgstr "URL non è valido" -#: commands/instances.go:183 +#: commands/instances.go:184 msgid "Invalid additional URL: %v" msgstr "L' URL aggiuntivo non è valido: %v" @@ -1424,23 +1428,23 @@ msgstr "" msgid "Invalid argument passed: %v" msgstr "L' argomento passato non è valido: %v" -#: commands/service_compile.go:272 +#: commands/service_compile.go:282 msgid "Invalid build properties" msgstr "Proprietà di compilazione non valide" -#: internal/arduino/builder/sizer.go:250 +#: internal/arduino/builder/sizer.go:253 msgid "Invalid data size regexp: %s" msgstr "La dimensione dei dati della regexp non è valida: %s" -#: internal/arduino/builder/sizer.go:256 +#: internal/arduino/builder/sizer.go:259 msgid "Invalid eeprom size regexp: %s" msgstr "La dimensione della eeprom della regexp non è valida: %s" -#: commands/instances.go:596 +#: commands/instances.go:597 msgid "Invalid index URL: %s" msgstr "URL non valido: %s" -#: commands/cmderrors/cmderrors.go:46 +#: commands/cmderrors/cmderrors.go:47 msgid "Invalid instance" msgstr "Istanza non è valida" @@ -1448,7 +1452,7 @@ msgstr "Istanza non è valida" msgid "Invalid item %s" msgstr "Oggetto invalido %s" -#: commands/cmderrors/cmderrors.go:96 +#: commands/cmderrors/cmderrors.go:97 msgid "Invalid library" msgstr "Libreria non è valida" @@ -1456,11 +1460,11 @@ msgstr "Libreria non è valida" msgid "Invalid logging level: %s" msgstr "Livello di log non valido: %s" -#: commands/instances.go:613 +#: commands/instances.go:614 msgid "Invalid network configuration: %s" msgstr "Configurazione di rete non valida: %s" -#: internal/cli/configuration/network.go:66 +#: internal/cli/configuration/network.go:83 msgid "Invalid network.proxy '%[1]s': %[2]s" msgstr "network.proxy '%[1]s' non è valido: %[2]s" @@ -1468,7 +1472,7 @@ msgstr "network.proxy '%[1]s' non è valido: %[2]s" msgid "Invalid output format: %s" msgstr "Formato di output non valido: %s" -#: commands/instances.go:580 +#: commands/instances.go:581 msgid "Invalid package index in %s" msgstr "Indice del pacchetto non valido in %s" @@ -1476,35 +1480,35 @@ msgstr "Indice del pacchetto non valido in %s" msgid "Invalid parameter %s: version not allowed" msgstr "Il parametro %s non è valido: versione non consentita" -#: commands/service_board_list.go:81 +#: commands/service_board_identify.go:169 msgid "Invalid pid value: '%s'" msgstr "Il valore pid non è valido: '%s'" -#: commands/cmderrors/cmderrors.go:220 +#: commands/cmderrors/cmderrors.go:221 msgid "Invalid profile" msgstr "Il profilo non è valido" -#: commands/service_monitor.go:269 +#: commands/service_monitor.go:270 msgid "Invalid recipe in platform.txt" msgstr "Scrittura non valida in platform.txt" -#: internal/arduino/builder/sizer.go:240 +#: internal/arduino/builder/sizer.go:243 msgid "Invalid size regexp: %s" msgstr "La dimensione della regexp non è valida: %s" -#: main.go:85 +#: main.go:86 msgid "Invalid value in configuration" msgstr "Nella configurazione c'è un valore non valido" -#: commands/cmderrors/cmderrors.go:114 +#: commands/cmderrors/cmderrors.go:115 msgid "Invalid version" msgstr "Versione non è valida" -#: commands/service_board_list.go:78 +#: commands/service_board_identify.go:166 msgid "Invalid vid value: '%s'" msgstr "Il valore di vid non è valido: '%s'" -#: internal/cli/compile/compile.go:129 +#: internal/cli/compile/compile.go:132 msgid "" "Just produce the compilation database, without actually compiling. All build" " commands are skipped except pre* hooks." @@ -1529,12 +1533,12 @@ msgstr "LIBRARY_NAME" msgid "Latest" msgstr "Ultimo" -#: internal/arduino/builder/libraries.go:91 +#: internal/arduino/builder/libraries.go:92 msgid "Library %[1]s has been declared precompiled:" msgstr "La libreria %[1]s è stata dichiarata precompilata:" -#: commands/service_library_install.go:141 -#: internal/arduino/libraries/librariesmanager/install.go:131 +#: commands/service_library_install.go:142 +#: internal/arduino/libraries/librariesmanager/install.go:130 msgid "" "Library %[1]s is already installed, but with a different version: %[2]s" msgstr "" @@ -1548,11 +1552,11 @@ msgstr "La libreria %s è già alla versione più recente" msgid "Library %s is not installed" msgstr "La libreria %s non è installata" -#: commands/instances.go:374 +#: commands/instances.go:375 msgid "Library %s not found" msgstr "Impossibile trovare la libreria %s" -#: commands/cmderrors/cmderrors.go:445 +#: commands/cmderrors/cmderrors.go:466 msgid "Library '%s' not found" msgstr "Impossibile trovare la libreria '%s'" @@ -1563,12 +1567,12 @@ msgstr "" "La libreria non può utilizzare entramble le cartelle '%[1]s' e '%[2]s'. " "Doppio controllo in '%[3]s'." -#: commands/cmderrors/cmderrors.go:574 +#: commands/cmderrors/cmderrors.go:595 msgid "Library install failed" msgstr "Impossibile installare la libreria" -#: commands/service_library_install.go:234 -#: commands/service_library_install.go:274 +#: commands/service_library_install.go:235 +#: commands/service_library_install.go:275 msgid "Library installed" msgstr "La libreria è stata installata" @@ -1576,7 +1580,7 @@ msgstr "La libreria è stata installata" msgid "License: %s" msgstr "Licenza: %s" -#: internal/arduino/builder/builder.go:436 +#: internal/arduino/builder/builder.go:437 msgid "Linking everything together..." msgstr "Collegare tutto insieme..." @@ -1604,7 +1608,7 @@ msgstr "" "Elenco delle opzioni della scheda separate da virgole. Oppure può essere " "usato più volte per più opzioni." -#: internal/cli/compile/compile.go:107 +#: internal/cli/compile/compile.go:110 msgid "" "List of custom build properties separated by commas. Or can be used multiple" " times for multiple properties." @@ -1628,8 +1632,8 @@ msgstr "Lista di tutte le schede connesse." msgid "Lists cores and libraries that can be upgraded" msgstr "Elenca i core e le librerie che possono essere aggiornati" -#: commands/instances.go:221 commands/instances.go:232 -#: commands/instances.go:342 +#: commands/instances.go:222 commands/instances.go:233 +#: commands/instances.go:343 msgid "Loading index file: %v" msgstr "Sto caricando il file dell'indice: %v" @@ -1637,7 +1641,7 @@ msgstr "Sto caricando il file dell'indice: %v" msgid "Location" msgstr "Posizione" -#: internal/arduino/builder/sizer.go:205 +#: internal/arduino/builder/sizer.go:208 msgid "Low memory available, stability problems may occur." msgstr "" "Poca memoria disponibile, potrebbero presentarsi problemi di stabilità" @@ -1646,7 +1650,7 @@ msgstr "" msgid "Maintainer: %s" msgstr "Manutentore: %s" -#: internal/cli/compile/compile.go:137 +#: internal/cli/compile/compile.go:140 msgid "" "Max number of parallel compiles. If set to 0 the number of available CPUs " "cores will be used." @@ -1670,23 +1674,23 @@ msgstr "" msgid "Missing '%[1]s' from library in %[2]s" msgstr "Manca '%[1]s' nella libreria %[2]s" -#: commands/cmderrors/cmderrors.go:169 +#: commands/cmderrors/cmderrors.go:170 msgid "Missing FQBN (Fully Qualified Board Name)" msgstr "FQBN mancante (Fully Qualified Board Name)" -#: commands/cmderrors/cmderrors.go:260 +#: commands/cmderrors/cmderrors.go:261 msgid "Missing port" msgstr "Porta mancante" -#: commands/cmderrors/cmderrors.go:236 +#: commands/cmderrors/cmderrors.go:237 msgid "Missing port address" msgstr "Porta di comunicazione non trovata" -#: commands/cmderrors/cmderrors.go:248 +#: commands/cmderrors/cmderrors.go:249 msgid "Missing port protocol" msgstr "Manca il protocollo della porta" -#: commands/cmderrors/cmderrors.go:286 +#: commands/cmderrors/cmderrors.go:287 msgid "Missing programmer" msgstr "Manca il programmatore" @@ -1694,15 +1698,15 @@ msgstr "Manca il programmatore" msgid "Missing required upload field: %s" msgstr "Manca un campo obbligatorio del caricamento: %s" -#: internal/arduino/builder/sizer.go:244 +#: internal/arduino/builder/sizer.go:247 msgid "Missing size regexp" msgstr "Manca la dimensione della regexp" -#: commands/cmderrors/cmderrors.go:497 +#: commands/cmderrors/cmderrors.go:518 msgid "Missing sketch path" msgstr "Manca il percorso dello sketch" -#: commands/cmderrors/cmderrors.go:358 +#: commands/cmderrors/cmderrors.go:359 msgid "Monitor '%s' not found" msgstr "Impossibile trovare il monitor '%s'" @@ -1760,7 +1764,7 @@ msgstr "" msgid "No libraries update is available." msgstr "Non sono disponibili aggiornamenti per le librerie." -#: commands/cmderrors/cmderrors.go:274 +#: commands/cmderrors/cmderrors.go:275 msgid "No monitor available for the port protocol %s" msgstr "Nessun monitor disponibile per il protocollo della porta %s" @@ -1776,17 +1780,17 @@ msgstr "Nessuna piattaforma installata." msgid "No platforms matching your search." msgstr "Non ci sono piattaforme corrispondenti alla tua ricerca." -#: commands/service_upload.go:533 +#: commands/service_upload.go:534 msgid "No upload port found, using %s as fallback" msgstr "" "Non è stata trovata alcuna porta di upload, come alternativa verrà " "utilizzata %s" -#: commands/cmderrors/cmderrors.go:464 +#: commands/cmderrors/cmderrors.go:485 msgid "No valid dependencies solution found" msgstr "Non è stata trovata una soluzione valida per le dipendenze" -#: internal/arduino/builder/sizer.go:195 +#: internal/arduino/builder/sizer.go:198 msgid "Not enough memory; see %[1]s for tips on reducing your footprint." msgstr "" "Memoria esaurita; guarda %[1]s per consigli su come ridurne l'utilizzo." @@ -1819,35 +1823,35 @@ msgstr "Apre una porta di comunicazione con una scheda." msgid "Option:" msgstr "Opzione:" -#: internal/cli/compile/compile.go:117 +#: internal/cli/compile/compile.go:120 msgid "" "Optional, can be: %s. Used to tell gcc which warning level to use (-W flag)." msgstr "" "Facoltativo, può essere: %s. Utilizzato per indicare a gcc quale livello di " "warning utilizzare (flag -W)." -#: internal/cli/compile/compile.go:130 +#: internal/cli/compile/compile.go:133 msgid "Optional, cleanup the build folder and do not use any cached build." msgstr "" "Facoltativo, ripulisce la cartella di build e non usa nessuna build in " "cache." -#: internal/cli/compile/compile.go:127 +#: internal/cli/compile/compile.go:130 msgid "" "Optional, optimize compile output for debugging, rather than for release." msgstr "" "Facoltativo, ottimizza l'output di compilazione per il debug, piuttosto che " "per il rilascio." -#: internal/cli/compile/compile.go:119 +#: internal/cli/compile/compile.go:122 msgid "Optional, suppresses almost every output." msgstr "Facoltativo, sopprime quasi tutti gli output." -#: internal/cli/compile/compile.go:118 internal/cli/upload/upload.go:79 +#: internal/cli/compile/compile.go:121 internal/cli/upload/upload.go:79 msgid "Optional, turns on verbose mode." msgstr "Facoltativo, attiva la modalità verbosa." -#: internal/cli/compile/compile.go:133 +#: internal/cli/compile/compile.go:136 msgid "" "Optional. Path to a .json file that contains a set of replacements of the " "sketch source code." @@ -1855,7 +1859,7 @@ msgstr "" "Facoltativo. Percorso di un file .json che contiene una serie di " "sostituzioni del codice sorgente dello sketch." -#: internal/cli/compile/compile.go:109 +#: internal/cli/compile/compile.go:112 msgid "" "Override a build property with a custom value. Can be used multiple times " "for multiple properties." @@ -1921,11 +1925,11 @@ msgstr "Website pacchetto:" msgid "Paragraph: %s" msgstr "Paragrafo: %s" -#: internal/cli/compile/compile.go:454 internal/cli/compile/compile.go:469 +#: internal/cli/compile/compile.go:473 internal/cli/compile/compile.go:488 msgid "Path" msgstr "Percorso" -#: internal/cli/compile/compile.go:126 +#: internal/cli/compile/compile.go:129 msgid "" "Path to a collection of libraries. Can be used multiple times or entries can" " be comma separated." @@ -1933,7 +1937,7 @@ msgstr "" "Percorso di un gruppo di librerie. Può essere usato più volte o le voci " "possono essere separate da virgole." -#: internal/cli/compile/compile.go:124 +#: internal/cli/compile/compile.go:127 msgid "" "Path to a single library’s root folder. Can be used multiple times or " "entries can be comma separated." @@ -1945,7 +1949,7 @@ msgstr "" msgid "Path to the file where logs will be written." msgstr "Percorso del file in cui verranno scritti i log." -#: internal/cli/compile/compile.go:105 +#: internal/cli/compile/compile.go:108 msgid "" "Path where to save compiled files. If omitted, a directory will be created " "in the default temporary path of your OS." @@ -1953,20 +1957,20 @@ msgstr "" "Percorso in cui salvare i file compilati. Se omesso, verrà creata una " "directory nel percorso temporaneo predefinito del tuo sistema operativo." -#: commands/service_upload.go:514 +#: commands/service_upload.go:515 msgid "Performing 1200-bps touch reset on serial port %s" msgstr "Esecuzione di un touch reset a 1200-bps sulla porta seriale %s" -#: commands/service_platform_install.go:86 -#: commands/service_platform_install.go:93 +#: commands/service_platform_install.go:91 +#: commands/service_platform_install.go:98 msgid "Platform %s already installed" msgstr "La piattaforma %s è già installata" -#: internal/arduino/cores/packagemanager/install_uninstall.go:194 +#: internal/arduino/cores/packagemanager/install_uninstall.go:196 msgid "Platform %s installed" msgstr "La piattaforma %s è installata" -#: internal/cli/compile/compile.go:402 internal/cli/upload/upload.go:148 +#: internal/cli/compile/compile.go:417 internal/cli/upload/upload.go:148 msgid "" "Platform %s is not found in any known index\n" "Maybe you need to add a 3rd party URL?" @@ -1974,15 +1978,19 @@ msgstr "" "La piattaforma %s non è stata trovata in nessun indice conosciuto.\n" "Forse è necessario aggiungere un URL di 3terze parti?" -#: internal/arduino/cores/packagemanager/install_uninstall.go:318 +#: internal/arduino/cores/packagemanager/install_uninstall.go:320 msgid "Platform %s uninstalled" msgstr "La piattaforma %s è stata disinstallata" -#: commands/cmderrors/cmderrors.go:482 +#: commands/cmderrors/cmderrors.go:427 +msgid "Platform '%s'" +msgstr "" + +#: commands/cmderrors/cmderrors.go:503 msgid "Platform '%s' is already at the latest version" msgstr "La piattaforma '%s' è già aggiornata all'ultima versione" -#: commands/cmderrors/cmderrors.go:406 +#: commands/cmderrors/cmderrors.go:407 msgid "Platform '%s' not found" msgstr "Impossibile trovare la piattaforma '%s'" @@ -1990,7 +1998,7 @@ msgstr "Impossibile trovare la piattaforma '%s'" msgid "Platform ID" msgstr "ID piattaforma" -#: internal/cli/compile/compile.go:387 internal/cli/upload/upload.go:136 +#: internal/cli/compile/compile.go:402 internal/cli/upload/upload.go:136 msgid "Platform ID is not correct" msgstr "L' ID della piattaforma non è esatto" @@ -2022,7 +2030,7 @@ msgstr "Nome piattaforma:" msgid "Platform size (bytes):" msgstr "Dimensione della piattaforma (bytes):" -#: commands/cmderrors/cmderrors.go:153 +#: commands/cmderrors/cmderrors.go:154 msgid "" "Please specify an FQBN. Multiple possible boards detected on port %[1]s with" " protocol %[2]s" @@ -2030,7 +2038,7 @@ msgstr "" "Specificare un FQBN. Sono state rilevate più schede sulla porta %[1]s con " "protocollo %[2]s" -#: commands/cmderrors/cmderrors.go:133 +#: commands/cmderrors/cmderrors.go:134 msgid "" "Please specify an FQBN. The board on port %[1]s with protocol %[2]s can't be" " identified" @@ -2046,12 +2054,12 @@ msgstr "Porta" msgid "Port closed: %v" msgstr "Porta chiusa: %v" -#: commands/cmderrors/cmderrors.go:668 +#: commands/cmderrors/cmderrors.go:689 msgid "Port monitor error" msgstr "Errore di monitoraggio della porta" -#: internal/arduino/builder/libraries.go:101 -#: internal/arduino/builder/libraries.go:109 +#: internal/arduino/builder/libraries.go:102 +#: internal/arduino/builder/libraries.go:110 msgid "Precompiled library in \"%[1]s\" not found" msgstr "Impossibile trovare la libreria precompilata in \"%[1]s\"" @@ -2059,7 +2067,7 @@ msgstr "Impossibile trovare la libreria precompilata in \"%[1]s\"" msgid "Print details about a board." msgstr "Visualizza i dettagli di una scheda." -#: internal/cli/compile/compile.go:100 +#: internal/cli/compile/compile.go:103 msgid "Print preprocessed code to stdout instead of compiling." msgstr "Stampa il codice preelaborato su stdout invece di compilarlo." @@ -2079,11 +2087,11 @@ msgstr "Stampa la configurazione attuale" msgid "Prints the current configuration." msgstr "Stampa la configurazione attuale." -#: commands/cmderrors/cmderrors.go:202 +#: commands/cmderrors/cmderrors.go:203 msgid "Profile '%s' not found" msgstr "Impossibile trovare il profilo '%s'" -#: commands/cmderrors/cmderrors.go:339 +#: commands/cmderrors/cmderrors.go:340 msgid "Programmer '%s' not found" msgstr "Impossibile trovare il programmatore '%s'" @@ -2099,7 +2107,7 @@ msgstr "Programmatore da utilizzare, ad esempio: atmel_ice" msgid "Programmers:" msgstr "Programmatori:" -#: commands/cmderrors/cmderrors.go:391 +#: commands/cmderrors/cmderrors.go:392 msgid "Property '%s' is undefined" msgstr "La proprietà '%s' non è definita" @@ -2115,11 +2123,11 @@ msgstr "La dotazione comprende: %s" msgid "Removes one or more values from a setting." msgstr "Rimuove uno o più valori da un'impostazione." -#: commands/service_library_install.go:187 +#: commands/service_library_install.go:188 msgid "Replacing %[1]s with %[2]s" msgstr "Sostituire %[1]s con %[2]s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:123 +#: internal/arduino/cores/packagemanager/install_uninstall.go:125 msgid "Replacing platform %[1]s with %[2]s" msgstr "Sto sostituendo la piattaforma %[1]s con %[2]s" @@ -2136,12 +2144,12 @@ msgstr "" msgid "Run the Arduino CLI as a gRPC daemon." msgstr "Avvia la CLI di Arduino come demone gRPC." -#: internal/arduino/builder/core.go:42 +#: internal/arduino/builder/core.go:43 msgid "Running normal build of the core..." msgstr "Esecuzione della normale compilazione del core..." -#: internal/arduino/cores/packagemanager/install_uninstall.go:297 -#: internal/arduino/cores/packagemanager/install_uninstall.go:411 +#: internal/arduino/cores/packagemanager/install_uninstall.go:299 +#: internal/arduino/cores/packagemanager/install_uninstall.go:413 msgid "Running pre_uninstall script." msgstr "Sto avviando lo script pre_uninstall." @@ -2153,7 +2161,7 @@ msgstr "TERMINE_DI_RICERCA" msgid "SVD file path" msgstr "Path del file SVD" -#: internal/cli/compile/compile.go:103 +#: internal/cli/compile/compile.go:106 msgid "Save build artifacts in this directory." msgstr "Salva gli artefatti di compilazione in questa directory." @@ -2425,7 +2433,7 @@ msgstr "Mostra il numero di versione di Arduino CLI." msgid "Size (bytes):" msgstr "Dimensione (bytes):" -#: commands/service_compile.go:276 +#: commands/service_compile.go:286 msgid "" "Sketch cannot be located in build path. Please specify a different build " "path" @@ -2441,13 +2449,13 @@ msgstr "Sketch è stato creato in: %s" msgid "Sketch profile to use" msgstr "Profilo dello sketch da utilizzare" -#: internal/arduino/builder/sizer.go:190 +#: internal/arduino/builder/sizer.go:193 msgid "Sketch too big; see %[1]s for tips on reducing it." msgstr "" "Sketch troppo grande; guarda %[1]s per consigli su come ridurne la " "dimensione" -#: internal/arduino/builder/sizer.go:158 +#: internal/arduino/builder/sizer.go:160 msgid "" "Sketch uses %[1]s bytes (%[3]s%%) of program storage space. Maximum is %[2]s" " bytes." @@ -2463,20 +2471,20 @@ msgstr "" "Gli sketch con estensione .pde sono deprecati, rinominare i seguenti file in" " .ino:" -#: internal/arduino/builder/linker.go:30 +#: internal/arduino/builder/linker.go:31 msgid "Skip linking of final executable." msgstr "Salta il linking dell'eseguibile finale." -#: commands/service_upload.go:507 +#: commands/service_upload.go:508 msgid "Skipping 1200-bps touch reset: no serial port selected!" msgstr "" "Salto il touch reset a 1200-bps: nessuna porta seriale è stata selezionata!" -#: internal/arduino/builder/archive_compiled_files.go:27 +#: internal/arduino/builder/archive_compiled_files.go:28 msgid "Skipping archive creation of: %[1]s" msgstr "Salta la creazione dell'archivio di: %[1]s" -#: internal/arduino/builder/compilation.go:183 +#: internal/arduino/builder/compilation.go:184 msgid "Skipping compile of: %[1]s" msgstr "Salta la compilazione di: %[1]s" @@ -2485,16 +2493,16 @@ msgid "Skipping dependencies detection for precompiled library %[1]s" msgstr "" "Salta il rilevamento delle dipendenze della libreria precompilata %[1]s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:190 +#: internal/arduino/cores/packagemanager/install_uninstall.go:192 msgid "Skipping platform configuration." msgstr "Salta la configurazione della piattaforma." -#: internal/arduino/cores/packagemanager/install_uninstall.go:306 -#: internal/arduino/cores/packagemanager/install_uninstall.go:420 +#: internal/arduino/cores/packagemanager/install_uninstall.go:308 +#: internal/arduino/cores/packagemanager/install_uninstall.go:422 msgid "Skipping pre_uninstall script." msgstr "Salto lo script pre_uninstall." -#: internal/arduino/cores/packagemanager/install_uninstall.go:368 +#: internal/arduino/cores/packagemanager/install_uninstall.go:370 msgid "Skipping tool configuration." msgstr "Salta la configurazione dello strumento." @@ -2502,7 +2510,7 @@ msgstr "Salta la configurazione dello strumento." msgid "Skipping: %[1]s" msgstr "Salta: %[1]s" -#: commands/instances.go:633 +#: commands/instances.go:634 msgid "Some indexes could not be updated." msgstr "Non è stato possibile aggiornare alcuni indici." @@ -2526,7 +2534,7 @@ msgstr "" "Il file di configurazione personalizzato (se non specificato, verrà " "utilizzato quello predefinito)." -#: internal/cli/compile/compile.go:90 +#: internal/cli/compile/compile.go:93 msgid "" "The flag --build-cache-path has been deprecated. Please use just --build-" "path alone or configure the build cache path in the Arduino CLI settings." @@ -2547,7 +2555,7 @@ msgstr "La configurazione fornita scheda/programmatore NON supporta il debug." msgid "The given board/programmer configuration supports debugging." msgstr "La configurazione fornita scheda/programmatore supporta il debug." -#: commands/cmderrors/cmderrors.go:876 +#: commands/cmderrors/cmderrors.go:897 msgid "The instance is no longer valid and needs to be reinitialized" msgstr "L'istanza non è più valida e deve essere reinizializzata." @@ -2567,11 +2575,11 @@ msgstr "" "La chiave '%[1]v' non è un elenco di elementi, non può essere rimossa.\n" "Forse si può usare '%[2]s'?" -#: commands/cmderrors/cmderrors.go:858 +#: commands/cmderrors/cmderrors.go:879 msgid "The library %s has multiple installations:" msgstr "La libreria %s richiede altre installazioni:" -#: internal/cli/compile/compile.go:115 +#: internal/cli/compile/compile.go:118 msgid "" "The name of the custom encryption key to use to encrypt a binary during the " "compile process. Used only by the platforms that support it." @@ -2580,7 +2588,7 @@ msgstr "" "crittografare un binario durante il processo di compilazione. Utilizzata " "solo dalle piattaforme che la supportano." -#: internal/cli/compile/compile.go:113 +#: internal/cli/compile/compile.go:116 msgid "" "The name of the custom signing key to use to sign a binary during the " "compile process. Used only by the platforms that support it." @@ -2593,7 +2601,7 @@ msgstr "" msgid "The output format for the logs, can be: %s" msgstr "Il formato di output dei log può essere: %s" -#: internal/cli/compile/compile.go:111 +#: internal/cli/compile/compile.go:114 msgid "" "The path of the dir to search for the custom keys to sign and encrypt a " "binary. Used only by the platforms that support it." @@ -2602,7 +2610,7 @@ msgstr "" "firmare e crittografare un binario. Utilizzato solo dalle piattaforme che lo" " supportano." -#: internal/arduino/builder/libraries.go:151 +#: internal/arduino/builder/libraries.go:152 msgid "The platform does not support '%[1]s' for precompiled libraries." msgstr "La piattaforma non supporta '%[1]s' per le librerie precompilate." @@ -2630,12 +2638,12 @@ msgstr "" msgid "Timestamp each incoming line." msgstr "Timestamp di ogni linea in entrata." -#: internal/arduino/cores/packagemanager/install_uninstall.go:89 -#: internal/arduino/cores/packagemanager/install_uninstall.go:328 +#: internal/arduino/cores/packagemanager/install_uninstall.go:91 +#: internal/arduino/cores/packagemanager/install_uninstall.go:330 msgid "Tool %s already installed" msgstr "Il tool %s è già installato" -#: internal/arduino/cores/packagemanager/install_uninstall.go:432 +#: internal/arduino/cores/packagemanager/install_uninstall.go:434 msgid "Tool %s uninstalled" msgstr "Il tool %s è disinstallato" @@ -2655,7 +2663,7 @@ msgstr "Il prefisso della toolchain" msgid "Toolchain type" msgstr "Il tipo della toolchain" -#: internal/cli/compile/compile.go:400 internal/cli/upload/upload.go:146 +#: internal/cli/compile/compile.go:415 internal/cli/upload/upload.go:146 msgid "Try running %s" msgstr "Prova ad eseguire %s" @@ -2675,7 +2683,7 @@ msgstr "Tipi: %s" msgid "URL:" msgstr "URL:" -#: internal/arduino/builder/core.go:165 +#: internal/arduino/builder/core.go:166 msgid "" "Unable to cache built core, please tell %[1]s maintainers to follow %[2]s" msgstr "" @@ -2699,17 +2707,17 @@ msgstr "Impossibile ottenere la home directory dell'utente: %v" msgid "Unable to open file for logging: %s" msgstr "Impossibile aprire il file per il logging: %s" -#: commands/instances.go:562 +#: commands/instances.go:563 msgid "Unable to parse URL" msgstr "Non è stato possibile analizzare l'URL" #: commands/service_library_uninstall.go:71 -#: internal/arduino/cores/packagemanager/install_uninstall.go:280 +#: internal/arduino/cores/packagemanager/install_uninstall.go:282 msgid "Uninstalling %s" msgstr "Disinstallazione di %s" #: commands/service_platform_uninstall.go:99 -#: internal/arduino/cores/packagemanager/install_uninstall.go:166 +#: internal/arduino/cores/packagemanager/install_uninstall.go:168 msgid "Uninstalling %s, tool is no more required" msgstr "Disinstallazione di %s, il tool non è più necessario." @@ -2729,7 +2737,7 @@ msgstr "Disinstalla una o più librerie." msgid "Unknown" msgstr "Sconosciuto" -#: commands/cmderrors/cmderrors.go:183 +#: commands/cmderrors/cmderrors.go:184 msgid "Unknown FQBN" msgstr "FQBN sconosciuto" @@ -2758,7 +2766,7 @@ msgstr "Aggiorna l'indice delle librerie alla versione più recente." msgid "Updates the libraries index." msgstr "Aggiorna l'indice delle librerie." -#: internal/arduino/cores/packagemanager/install_uninstall.go:45 +#: internal/arduino/cores/packagemanager/install_uninstall.go:47 msgid "Upgrade doesn't accept parameters with version" msgstr "L'aggiornamento non accetta parametri con la versione" @@ -2793,7 +2801,7 @@ msgstr "" msgid "Upload port address, e.g.: COM3 or /dev/ttyACM2" msgstr "Indirizzo della porta di caricamento, ad esempio: COM3 o /dev/ttyACM2" -#: commands/service_upload.go:531 +#: commands/service_upload.go:532 msgid "Upload port found on %s" msgstr "Porta di caricamento trovata su %s" @@ -2801,7 +2809,7 @@ msgstr "Porta di caricamento trovata su %s" msgid "Upload port protocol, e.g: serial" msgstr "Protocollo della porta di caricamento, ad esempio: seriale" -#: internal/cli/compile/compile.go:120 +#: internal/cli/compile/compile.go:123 msgid "Upload the binary after the compilation." msgstr "Carica il binario dopo la compilazione." @@ -2814,7 +2822,7 @@ msgstr "" msgid "Upload the bootloader." msgstr "Carica il bootloader." -#: internal/cli/compile/compile.go:269 internal/cli/upload/upload.go:167 +#: internal/cli/compile/compile.go:274 internal/cli/upload/upload.go:167 msgid "" "Uploading to specified board using %s protocol requires the following info:" msgstr "" @@ -2837,11 +2845,11 @@ msgstr "Uso: " msgid "Use %s for more information about a command." msgstr "Usa %s per ulteriori informazioni su un comando." -#: internal/cli/compile/compile.go:452 +#: internal/cli/compile/compile.go:471 msgid "Used library" msgstr "Libreria utilizzata" -#: internal/cli/compile/compile.go:467 +#: internal/cli/compile/compile.go:486 msgid "Used platform" msgstr "Piattaforma utilizzata" @@ -2849,7 +2857,7 @@ msgstr "Piattaforma utilizzata" msgid "Used: %[1]s" msgstr "Usata: %[1]s" -#: commands/service_compile.go:351 +#: commands/service_compile.go:361 msgid "Using board '%[1]s' from platform in folder: %[2]s" msgstr "Utilizzo della scheda '%[1]s' dalla piattaforma nella cartella: %[2]s" @@ -2858,7 +2866,7 @@ msgid "Using cached library dependencies for file: %[1]s" msgstr "" "Utilizzo delle dipendenze delle librerie nella cache per i file: %[1]s" -#: commands/service_compile.go:352 +#: commands/service_compile.go:362 msgid "Using core '%[1]s' from platform in folder: %[2]s" msgstr "Utilizzo del core '%[1]s' dalla piattaforma nella cartella: %[2]s" @@ -2875,25 +2883,25 @@ msgstr "" "Si sta utilizzando una configurazione generica del monitor.\n" "ATTENZIONE: per funzionare correttamente, la scheda potrebbe richiedere impostazioni diverse!\n" -#: internal/arduino/builder/libraries.go:312 +#: internal/arduino/builder/libraries.go:313 msgid "Using library %[1]s at version %[2]s in folder: %[3]s %[4]s" msgstr "Uso la libreria %[1]s alla versione %[2]s nella cartella: %[3]s %[4]s" -#: internal/arduino/builder/libraries.go:306 +#: internal/arduino/builder/libraries.go:307 msgid "Using library %[1]s in folder: %[2]s %[3]s" msgstr "Uso la libreria %[1]s nella cartella: %[2]s %[3]s" -#: internal/arduino/builder/core.go:120 internal/arduino/builder/core.go:132 +#: internal/arduino/builder/core.go:121 internal/arduino/builder/core.go:133 msgid "Using precompiled core: %[1]s" msgstr "Utilizzo del core precompilato: %[1]s" -#: internal/arduino/builder/libraries.go:98 -#: internal/arduino/builder/libraries.go:106 +#: internal/arduino/builder/libraries.go:99 +#: internal/arduino/builder/libraries.go:107 msgid "Using precompiled library in %[1]s" msgstr "Utilizzo della libreria precompilata in %[1]s" -#: internal/arduino/builder/archive_compiled_files.go:50 -#: internal/arduino/builder/compilation.go:181 +#: internal/arduino/builder/archive_compiled_files.go:51 +#: internal/arduino/builder/compilation.go:182 msgid "Using previously compiled file: %[1]s" msgstr "Uso il file precedentemente compilato: %[1]s" @@ -2910,11 +2918,11 @@ msgid "Values" msgstr "Valori" #: internal/cli/burnbootloader/burnbootloader.go:62 -#: internal/cli/compile/compile.go:122 internal/cli/upload/upload.go:78 +#: internal/cli/compile/compile.go:125 internal/cli/upload/upload.go:78 msgid "Verify uploaded binary after the upload." msgstr "Verifica dei binari dopo il caricamento." -#: internal/cli/compile/compile.go:453 internal/cli/compile/compile.go:468 +#: internal/cli/compile/compile.go:472 internal/cli/compile/compile.go:487 #: internal/cli/core/search.go:117 msgid "Version" msgstr "Versione" @@ -2923,26 +2931,26 @@ msgstr "Versione" msgid "Versions: %s" msgstr "Versioni: %s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:185 +#: internal/arduino/cores/packagemanager/install_uninstall.go:187 msgid "WARNING cannot configure platform: %s" msgstr "ATTENZIONE: non è possibile configurare la piattaforma: %s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:364 +#: internal/arduino/cores/packagemanager/install_uninstall.go:366 msgid "WARNING cannot configure tool: %s" msgstr "ATTENZIONE non è possibile configurare lo strumento: %s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:302 -#: internal/arduino/cores/packagemanager/install_uninstall.go:416 +#: internal/arduino/cores/packagemanager/install_uninstall.go:304 +#: internal/arduino/cores/packagemanager/install_uninstall.go:418 msgid "WARNING cannot run pre_uninstall script: %s" msgstr "AVVISO non è possibile eseguire lo script pre_uninstall: %s" -#: internal/cli/compile/compile.go:330 +#: internal/cli/compile/compile.go:339 msgid "WARNING: The sketch is compiled using one or more custom libraries." msgstr "" "ATTENZIONE: lo sketch è compilato utilizzando una o più librerie " "personalizzate." -#: internal/arduino/builder/libraries.go:283 +#: internal/arduino/builder/libraries.go:284 msgid "" "WARNING: library %[1]s claims to run on %[2]s architecture(s) and may be " "incompatible with your current board which runs on %[3]s architecture(s)." @@ -2951,11 +2959,11 @@ msgstr "" "%[2]s e potrebbe non essere compatibile con la tua scheda che utilizza " "l'architettura %[3]s" -#: commands/service_upload.go:520 +#: commands/service_upload.go:521 msgid "Waiting for upload port..." msgstr "In attesa della porta di caricamento..." -#: commands/service_compile.go:357 +#: commands/service_compile.go:367 msgid "" "Warning: Board %[1]s doesn't define a %[2]s preference. Auto-set to: %[3]s" msgstr "" @@ -2978,7 +2986,7 @@ msgstr "" "Scrive la configurazione corrente nel file di configurazione nella directory" " dei dati." -#: internal/cli/compile/compile.go:150 internal/cli/compile/compile.go:153 +#: internal/cli/compile/compile.go:153 internal/cli/compile/compile.go:156 msgid "You cannot use the %s flag while compiling with a profile." msgstr "" "Non puoi utilizzare il flag %s durante la compilazione con un profilo." @@ -2987,13 +2995,13 @@ msgstr "" msgid "archive hash differs from hash in index" msgstr "L'hash dell'archivio è diverso dall'hash dell'indice" -#: internal/arduino/libraries/librariesmanager/install.go:188 +#: internal/arduino/libraries/librariesmanager/install.go:187 msgid "archive is not valid: multiple files found in zip file top level" msgstr "" "l'archivio non è valido: sono stati trovati più file nel livello superiore " "del file zip" -#: internal/arduino/libraries/librariesmanager/install.go:191 +#: internal/arduino/libraries/librariesmanager/install.go:190 msgid "archive is not valid: no files found in zip file top level" msgstr "" "l'archivio non è valido: nessun file trovato nella cartella principale del " @@ -3019,11 +3027,11 @@ msgstr "ricerca di base per \"audio\"" msgid "basic search for \"esp32\" and \"display\" limited to official Maintainer" msgstr "ricerca di base per \"esp32\" e \"display\" limitata al manutentore ufficiale" -#: commands/service_upload.go:791 +#: commands/service_upload.go:792 msgid "binary file not found in %s" msgstr "file binario non trovato in %s" -#: internal/arduino/cores/packagemanager/package_manager.go:348 +#: internal/arduino/cores/packagemanager/package_manager.go:316 msgid "board %s not found" msgstr "la scheda %s non è stata trovata" @@ -3039,11 +3047,11 @@ msgstr "la directory delle librerie integrate non è configurata" msgid "can't find latest release of %s" msgstr "Impossibile trovare l'ultima versione di %s" -#: commands/instances.go:272 +#: commands/instances.go:273 msgid "can't find latest release of tool %s" msgstr "Impossibile trovare l'ultima versione del tool %s" -#: internal/arduino/cores/packagemanager/loader.go:712 +#: internal/arduino/cores/packagemanager/loader.go:709 msgid "can't find pattern for discovery with id %s" msgstr "Non riesco a trovare un pattern per il rilevamento con id %s" @@ -3051,11 +3059,11 @@ msgstr "Non riesco a trovare un pattern per il rilevamento con id %s" msgid "candidates" msgstr "candidati" -#: commands/service_upload.go:737 commands/service_upload.go:744 +#: commands/service_upload.go:738 commands/service_upload.go:745 msgid "cannot execute upload tool: %s" msgstr "Impossibile eseguire il tool di caricamento: %s" -#: internal/arduino/resources/install.go:40 +#: internal/arduino/resources/install.go:48 msgid "checking local archive integrity" msgstr "Sto controllando l'integrità dell'archivio locale" @@ -3081,27 +3089,27 @@ msgstr "comunicazione fuori sincronia, atteso '%[1]s', ricevuto '%[2]s'" msgid "computing hash: %s" msgstr "calcolo dell'hash: %s" -#: internal/arduino/cores/fqbn.go:81 +#: pkg/fqbn/fqbn.go:83 msgid "config key %s contains an invalid character" msgstr "La chiave della configurazione %s contiene un carattere non valido" -#: internal/arduino/cores/fqbn.go:86 +#: pkg/fqbn/fqbn.go:87 msgid "config value %s contains an invalid character" msgstr "Il valore della configurazione %s contiene un carattere non valido" -#: internal/arduino/libraries/librariesmanager/install.go:141 +#: internal/arduino/libraries/librariesmanager/install.go:140 msgid "copying library to destination directory:" msgstr "copia della libreria nella directory di destinazione:" -#: commands/service_upload.go:863 +#: commands/service_upload.go:864 msgid "could not find a valid build artifact" msgstr "impossibile trovare un artefatto di compilazione valido" -#: commands/service_platform_install.go:94 +#: commands/service_platform_install.go:99 msgid "could not overwrite" msgstr "impossibile sovrascrivere" -#: commands/service_library_install.go:190 +#: commands/service_library_install.go:191 msgid "could not remove old library" msgstr "Impossibile rimuovere la vecchia libreria" @@ -3110,20 +3118,20 @@ msgstr "Impossibile rimuovere la vecchia libreria" msgid "could not update sketch project file" msgstr "non è stato possibile aggiornare il file del progetto" -#: internal/arduino/builder/core.go:116 internal/arduino/builder/core.go:140 +#: internal/arduino/builder/core.go:117 internal/arduino/builder/core.go:141 msgid "creating core cache folder: %s" msgstr "creazione in corso della cartella cache del core: %s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:219 +#: internal/arduino/cores/packagemanager/install_uninstall.go:221 msgid "creating installed.json in %[1]s: %[2]s" msgstr "creazione di installed.json in %[1]s: %[2]s" -#: internal/arduino/resources/install.go:45 -#: internal/arduino/resources/install.go:49 +#: internal/arduino/resources/install.go:54 +#: internal/arduino/resources/install.go:58 msgid "creating temp dir for extraction: %s" msgstr "creazione di una directory temporanea per l'estrazione: %s" -#: internal/arduino/builder/sizer.go:196 +#: internal/arduino/builder/sizer.go:199 msgid "data section exceeds available space in board" msgstr "la sezione dati supera lo spazio disponibile nella scheda" @@ -3131,16 +3139,16 @@ msgstr "la sezione dati supera lo spazio disponibile nella scheda" msgid "dependency '%s' is not available" msgstr "la dipendenza '%s' non è disponibile" -#: internal/arduino/libraries/librariesmanager/install.go:94 +#: internal/arduino/libraries/librariesmanager/install.go:93 msgid "destination dir %s already exists, cannot install" msgstr "" "La directory di destinazione %s esiste già, non è possibile installare" -#: internal/arduino/libraries/librariesmanager/install.go:138 +#: internal/arduino/libraries/librariesmanager/install.go:137 msgid "destination directory already exists" msgstr "il percorse della directory è già esistente" -#: internal/arduino/libraries/librariesmanager/install.go:278 +#: internal/arduino/libraries/librariesmanager/install.go:305 msgid "directory doesn't exist: %s" msgstr "la directory non esiste: %s" @@ -3148,15 +3156,15 @@ msgstr "la directory non esiste: %s" msgid "discovery %[1]s process not started" msgstr "sono stati trovati %[1]s processi non avviati" -#: internal/arduino/cores/packagemanager/loader.go:644 +#: internal/arduino/cores/packagemanager/loader.go:641 msgid "discovery %s not found" msgstr "rilevamento %s non è stato trovato" -#: internal/arduino/cores/packagemanager/loader.go:648 +#: internal/arduino/cores/packagemanager/loader.go:645 msgid "discovery %s not installed" msgstr "il rilevamento %s non è installato" -#: internal/arduino/cores/packagemanager/package_manager.go:746 +#: internal/arduino/cores/packagemanager/package_manager.go:714 msgid "discovery release not found: %s" msgstr "il rilascio del rilevamento non è stato trovato: %s" @@ -3172,11 +3180,11 @@ msgstr "scarica l'ultima versione del core SAMD di Arduino." msgid "downloaded" msgstr "scaricato" -#: commands/instances.go:55 +#: commands/instances.go:56 msgid "downloading %[1]s tool: %[2]s" msgstr "sto scaricando il tool %[1]s: %[2]s" -#: internal/arduino/cores/fqbn.go:60 +#: pkg/fqbn/fqbn.go:63 msgid "empty board identifier" msgstr "identificativo della scheda vuoto" @@ -3186,7 +3194,7 @@ msgstr "" "si è verificato un errore durante il caricamento del file di progetto dello " "sketch:" -#: internal/arduino/cores/packagemanager/loader.go:615 +#: internal/arduino/cores/packagemanager/loader.go:612 msgid "error opening %s" msgstr "si è verificato un errore durante l'apertura di %s" @@ -3194,21 +3202,21 @@ msgstr "si è verificato un errore durante l'apertura di %s" msgid "error parsing version constraints" msgstr "si è verificato un errore durante il parsing dei vincoli di versione" -#: commands/service_board_list.go:115 +#: commands/service_board_identify.go:203 msgid "error processing response from server" msgstr "" "si è verificato un errore durante l'elaborazione della risposta del server" -#: commands/service_board_list.go:95 +#: commands/service_board_identify.go:183 msgid "error querying Arduino Cloud Api" msgstr "" "si è verificato un errore durante l'interrogazione di Arduino Cloud Api" -#: internal/arduino/libraries/librariesmanager/install.go:179 +#: internal/arduino/libraries/librariesmanager/install.go:178 msgid "extracting archive" msgstr "estrazione in corso dell'archivio" -#: internal/arduino/resources/install.go:68 +#: internal/arduino/resources/install.go:77 msgid "extracting archive: %s" msgstr "estrazione dell'archivio: %s" @@ -3216,7 +3224,7 @@ msgstr "estrazione dell'archivio: %s" msgid "failed to compute hash of file \"%s\"" msgstr "Impossibile calcolare l'hash del file \"%s\"" -#: commands/service_board_list.go:90 +#: commands/service_board_identify.go:178 msgid "failed to initialize http client" msgstr "Impossibile inizializzare il client http" @@ -3226,7 +3234,7 @@ msgstr "" "La dimensione dell'archivio recuperato differisce dalla dimensione " "specificata nell'indice" -#: internal/arduino/resources/install.go:123 +#: internal/arduino/resources/install.go:132 msgid "files in archive must be placed in a subdirectory" msgstr "i file dell'archivio devono essere collocati in una sottodirectory" @@ -3256,7 +3264,7 @@ msgstr "per la versione più recente." msgid "for the specific version." msgstr "per la specifica versione." -#: internal/arduino/cores/fqbn.go:66 +#: pkg/fqbn/fqbn.go:68 msgid "fqbn's field %s contains an invalid character" msgstr "il campo di fqbn %s contiene un carattere non valido" @@ -3280,39 +3288,39 @@ msgstr "sto recuperando le informazioni sull'archivio: %s" #: internal/arduino/resources/checksums.go:89 #: internal/arduino/resources/download.go:36 #: internal/arduino/resources/helpers.go:39 -#: internal/arduino/resources/install.go:56 +#: internal/arduino/resources/install.go:65 msgid "getting archive path: %s" msgstr "sto recuperando il percorso dell'archivio: %s" -#: internal/arduino/cores/packagemanager/package_manager.go:354 +#: internal/arduino/cores/packagemanager/package_manager.go:322 msgid "getting build properties for board %[1]s: %[2]s" msgstr "sto recuperando le proprietà di costruzione della scheda %[1]s: %[2]s" -#: internal/arduino/cores/packagemanager/download.go:106 +#: internal/arduino/cores/packagemanager/download.go:108 msgid "getting discovery dependencies for platform %[1]s: %[2]s" msgstr "" "sto recuperando le dipendenze del rilevamento per la piattaforma %[1]s: " "%[2]s" -#: internal/arduino/cores/packagemanager/download.go:114 +#: internal/arduino/cores/packagemanager/download.go:116 msgid "getting monitor dependencies for platform %[1]s: %[2]s" msgstr "" "sto recuperando le dipendenze del monitor per la piattaforma %[1]s: %[2]s" -#: internal/arduino/cores/packagemanager/download.go:99 +#: internal/arduino/cores/packagemanager/download.go:101 msgid "getting tool dependencies for platform %[1]s: %[2]s" msgstr "" "sto recuperando le dipendenze dei tool per la piattaforma %[1]s: %[2]s" -#: internal/arduino/libraries/librariesmanager/install.go:149 +#: internal/arduino/libraries/librariesmanager/install.go:148 msgid "install directory not set" msgstr "La directory di installazione non è stata impostata" -#: commands/instances.go:59 +#: commands/instances.go:60 msgid "installing %[1]s tool: %[2]s" msgstr "Sto installando il tool %[1]s: %[2]s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:211 +#: internal/arduino/cores/packagemanager/install_uninstall.go:213 msgid "installing platform %[1]s: %[2]s" msgstr "Sto installando la piattaforma %[1]s: %[2]s" @@ -3329,7 +3337,7 @@ msgstr "la direttiva '%s' non è valida" msgid "invalid checksum format: %s" msgstr "il formato del checksum non è valido: %s" -#: internal/arduino/cores/fqbn.go:73 internal/arduino/cores/fqbn.go:78 +#: pkg/fqbn/fqbn.go:75 pkg/fqbn/fqbn.go:80 msgid "invalid config option: %s" msgstr "l'opzione di configurazione non è valida: %s" @@ -3361,11 +3369,14 @@ msgstr "il nome della libreria vuoto non è valido" msgid "invalid empty library version: %s" msgstr "la versione della libreria vuota non è valida: %s" -#: internal/arduino/cores/board.go:143 +#: internal/arduino/cores/board.go:144 msgid "invalid empty option found" msgstr "è stata trovata un'opzione vuota non valida" -#: internal/arduino/libraries/librariesmanager/install.go:268 +#: internal/arduino/libraries/librariesmanager/install.go:276 +#: internal/arduino/libraries/librariesmanager/install.go:279 +#: internal/arduino/libraries/librariesmanager/install.go:286 +#: internal/arduino/libraries/librariesmanager/install.go:290 msgid "invalid git url" msgstr "url git non è valido" @@ -3393,7 +3404,7 @@ msgstr "la posizione della libreria non è valida: %s" msgid "invalid library: no header files found" msgstr "libreria non valida: non è stato trovato alcun file di intestazione" -#: internal/arduino/cores/board.go:146 +#: internal/arduino/cores/board.go:147 msgid "invalid option '%s'" msgstr "l'opzione '%s' non è valida" @@ -3411,10 +3422,6 @@ msgstr "" msgid "invalid path writing inventory file: %[1]s error" msgstr "path non valido per la scrittura del file di inventario: errore %[1]s" -#: internal/arduino/cores/packageindex/index.go:278 -msgid "invalid platform archive size: %s" -msgstr "la dimensione dell'archivio della piattaforma non è valida: %s" - #: internal/arduino/sketch/profiles.go:252 msgid "invalid platform identifier" msgstr "l'identificatore della piattaforma non è valido" @@ -3435,7 +3442,7 @@ msgstr "il valore di configurazione della porta non è valido per %s: %s" msgid "invalid port configuration: %s=%s" msgstr "configurazione della porta non valida: %s=%s" -#: commands/service_upload.go:724 +#: commands/service_upload.go:725 msgid "invalid recipe '%[1]s': %[2]s" msgstr "scrittura non valida '%[1]s': %[2]s" @@ -3449,7 +3456,7 @@ msgstr "" "alfanumerico o \"_\", quelli successivi possono contenere anche \"-\" e " "\".\". L'ultimo non può essere \".\"." -#: internal/arduino/cores/board.go:150 +#: internal/arduino/cores/board.go:151 msgid "invalid value '%[1]s' for option '%[2]s'" msgstr "il valore '%[1]s' non è valido per l'opzione '%[2]s'" @@ -3489,11 +3496,11 @@ msgstr "librerie con \"buzzer\" nel campo nome" msgid "libraries with a Name exactly matching \"pcf8523\"" msgstr "librerie con un nome che corrisponde esattamente a \"pcf8523\"" -#: internal/arduino/libraries/librariesmanager/install.go:126 +#: internal/arduino/libraries/librariesmanager/install.go:125 msgid "library %s already installed" msgstr "la libreria %s è già installata" -#: internal/arduino/libraries/librariesmanager/install.go:315 +#: internal/arduino/libraries/librariesmanager/install.go:342 msgid "library not valid" msgstr "la libreria non è valida" @@ -3507,8 +3514,8 @@ msgstr "caricamento di %[1]s: %[2]s" msgid "loading boards: %s" msgstr "caricamento delle schede: %s" -#: internal/arduino/cores/packagemanager/package_manager.go:501 -#: internal/arduino/cores/packagemanager/package_manager.go:516 +#: internal/arduino/cores/packagemanager/package_manager.go:469 +#: internal/arduino/cores/packagemanager/package_manager.go:484 msgid "loading json index file %[1]s: %[2]s" msgstr "caricamento del file indice json %[1]s: %[2]s" @@ -3537,7 +3544,7 @@ msgstr "caricamento della piattaforma richiesta %s" msgid "loading required tool %s" msgstr "caricamento del tool richiesto %s" -#: internal/arduino/cores/packagemanager/loader.go:590 +#: internal/arduino/cores/packagemanager/loader.go:587 msgid "loading tool release in %s" msgstr "rilascio del tool di caricamento in %s" @@ -3545,7 +3552,7 @@ msgstr "rilascio del tool di caricamento in %s" msgid "looking for boards.txt in %s" msgstr "sto cercando boards.txt in %s" -#: commands/service_upload.go:806 +#: commands/service_upload.go:807 msgid "looking for build artifacts" msgstr "ricerca degli artefatti di compilazione in corso" @@ -3561,7 +3568,7 @@ msgstr "Manca la direttiva '%s'" msgid "missing checksum for: %s" msgstr "manca il checksum di: %s" -#: internal/arduino/cores/packagemanager/package_manager.go:462 +#: internal/arduino/cores/packagemanager/package_manager.go:430 msgid "missing package %[1]s referenced by board %[2]s" msgstr "manca il pacchetto %[1]s a cui fa riferimento la scheda %[2]s" @@ -3571,11 +3578,11 @@ msgstr "" "Manca l'indice del pacchetto %s, non possono essere garantiti aggiornamenti " "futuri" -#: internal/arduino/cores/packagemanager/package_manager.go:467 +#: internal/arduino/cores/packagemanager/package_manager.go:435 msgid "missing platform %[1]s:%[2]s referenced by board %[3]s" msgstr "manca la piattaforma %[1]s:%[2]s referenziata dalla scheda %[3]s" -#: internal/arduino/cores/packagemanager/package_manager.go:472 +#: internal/arduino/cores/packagemanager/package_manager.go:440 msgid "missing platform release %[1]s:%[2]s referenced by board %[3]s" msgstr "" "manca la release della piattaforma %[1]s:%[2]s a cui fa riferimento la " @@ -3585,17 +3592,17 @@ msgstr "" msgid "missing signature" msgstr "Firma mancante" -#: internal/arduino/cores/packagemanager/package_manager.go:757 +#: internal/arduino/cores/packagemanager/package_manager.go:725 msgid "monitor release not found: %s" msgstr "release del monitor non è stata trovata: %s" -#: internal/arduino/libraries/librariesmanager/install.go:197 -#: internal/arduino/libraries/librariesmanager/install.go:246 -#: internal/arduino/resources/install.go:97 +#: internal/arduino/libraries/librariesmanager/install.go:196 +#: internal/arduino/libraries/librariesmanager/install.go:247 +#: internal/arduino/resources/install.go:106 msgid "moving extracted archive to destination dir: %s" msgstr "sto spostando l'archivio estratto nella directory di destinazione: %s" -#: commands/service_upload.go:858 +#: commands/service_upload.go:859 msgid "multiple build artifacts found: '%[1]s' and '%[2]s'" msgstr "sono stati trovati più artefatti di compilazione: '%[1]s' e '%[2]s'" @@ -3603,7 +3610,7 @@ msgstr "sono stati trovati più artefatti di compilazione: '%[1]s' e '%[2]s'" msgid "multiple main sketch files found (%[1]v, %[2]v)" msgstr "Sono stati trovati più file di sketch principale (%[1]v, %[2]v)" -#: internal/arduino/cores/packagemanager/install_uninstall.go:338 +#: internal/arduino/cores/packagemanager/install_uninstall.go:340 msgid "" "no compatible version of %[1]s tools found for the current os, try " "contacting %[2]s" @@ -3611,11 +3618,11 @@ msgstr "" "non è disponibile una versione degli strumenti di %[1]s per il sistema " "operativo corrente, prova a contattare %[2]s" -#: commands/service_board_list.go:273 +#: commands/service_board_list.go:106 msgid "no instance specified" msgstr "non è stata specificata alcuna istanza" -#: commands/service_upload.go:813 +#: commands/service_upload.go:814 msgid "no sketch or build directory/file specified" msgstr "non è stata specificata alcuna directory/file di sketch o di build" @@ -3623,13 +3630,13 @@ msgstr "non è stata specificata alcuna directory/file di sketch o di build" msgid "no such file or directory" msgstr "nessun file o directory di questo tipo" -#: internal/arduino/resources/install.go:126 +#: internal/arduino/resources/install.go:135 msgid "no unique root dir in archive, found '%[1]s' and '%[2]s'" msgstr "" "non c'è una directory radice unica nell'archivio, ma sono state trovate " "'%[1]s' e '%[2]s'." -#: commands/service_upload.go:719 +#: commands/service_upload.go:720 msgid "no upload port provided" msgstr "Non è stata fornita alcuna porta di upload" @@ -3637,13 +3644,13 @@ msgstr "Non è stata fornita alcuna porta di upload" msgid "no valid sketch found in %[1]s: missing %[2]s" msgstr "Non è stato trovato uno sketch valido in %[1]s: manca %[2]s" -#: internal/arduino/cores/packagemanager/download.go:128 +#: internal/arduino/cores/packagemanager/download.go:130 msgid "no versions available for the current OS, try contacting %s" msgstr "" "non sono disponibili versioni per il sistema operativo corrente, prova a " "contattare %s" -#: internal/arduino/cores/fqbn.go:50 +#: pkg/fqbn/fqbn.go:53 msgid "not an FQBN: %s" msgstr "non è un FQBN: %s" @@ -3652,7 +3659,7 @@ msgid "not running in a terminal" msgstr "non è in esecuzione in un terminale" #: internal/arduino/resources/checksums.go:71 -#: internal/arduino/resources/install.go:60 +#: internal/arduino/resources/install.go:69 msgid "opening archive file: %s" msgstr "apertura del file di archivio: %s" @@ -3660,26 +3667,26 @@ msgstr "apertura del file di archivio: %s" msgid "opening boards.txt" msgstr "apertura di boards.txt" -#: internal/arduino/security/signatures.go:81 +#: internal/arduino/security/signatures.go:82 msgid "opening signature file: %s" msgstr "apertura del file della firma: %s" -#: internal/arduino/security/signatures.go:76 +#: internal/arduino/security/signatures.go:78 msgid "opening target file: %s" msgstr "apertura del file di destinazione: %s" -#: internal/arduino/cores/packagemanager/download.go:76 +#: internal/arduino/cores/packagemanager/download.go:78 #: internal/arduino/cores/status.go:97 internal/arduino/cores/status.go:122 #: internal/arduino/cores/status.go:149 msgid "package %s not found" msgstr "il pacchetto %s non è stato trovato" -#: internal/arduino/cores/packagemanager/package_manager.go:530 +#: internal/arduino/cores/packagemanager/package_manager.go:498 msgid "package '%s' not found" msgstr "Il pacchetto '%s' non è stato trovato" -#: internal/arduino/cores/board.go:166 -#: internal/arduino/cores/packagemanager/package_manager.go:295 +#: internal/arduino/cores/board.go:167 +#: internal/arduino/cores/packagemanager/package_manager.go:263 msgid "parsing fqbn: %s" msgstr "sto facendo il parsing di fqbn: %s" @@ -3691,26 +3698,26 @@ msgstr "sto facendo il parsing di library_index.json: %s" msgid "path is not a platform directory: %s" msgstr "il percorso non è una directory della piattaforma: %s" -#: internal/arduino/cores/packagemanager/download.go:80 +#: internal/arduino/cores/packagemanager/download.go:82 msgid "platform %[1]s not found in package %[2]s" msgstr "la piattaforma %[1]s non è stata trovata nel pacchetto %[2]s" -#: internal/arduino/cores/packagemanager/package_manager.go:341 +#: internal/arduino/cores/packagemanager/package_manager.go:309 msgid "platform %s is not installed" msgstr "la piattaforma %s non è installata" -#: internal/arduino/cores/packagemanager/download.go:92 +#: commands/cmderrors/cmderrors.go:427 msgid "platform is not available for your OS" msgstr "la piattaforma non è disponibile per il sistema operativo in uso" -#: commands/service_compile.go:126 -#: internal/arduino/cores/packagemanager/install_uninstall.go:179 -#: internal/arduino/cores/packagemanager/install_uninstall.go:283 -#: internal/arduino/cores/packagemanager/loader.go:420 +#: commands/service_compile.go:129 +#: internal/arduino/cores/packagemanager/install_uninstall.go:181 +#: internal/arduino/cores/packagemanager/install_uninstall.go:285 +#: internal/arduino/cores/packagemanager/loader.go:417 msgid "platform not installed" msgstr "piattaforma non installata" -#: internal/cli/compile/compile.go:139 +#: internal/cli/compile/compile.go:142 msgid "please use --build-property instead." msgstr "utilizza invece --build-property." @@ -3746,15 +3753,15 @@ msgstr "lettura in corso del contenuto della directory %[1]s" #: internal/arduino/cores/packagemanager/loader.go:69 #: internal/arduino/cores/packagemanager/loader.go:151 #: internal/arduino/cores/packagemanager/loader.go:218 -#: internal/arduino/cores/packagemanager/loader.go:582 +#: internal/arduino/cores/packagemanager/loader.go:579 msgid "reading directory %s" msgstr "lettura cartella %s" -#: internal/arduino/libraries/librariesmanager/install.go:288 +#: internal/arduino/libraries/librariesmanager/install.go:315 msgid "reading directory %s content" msgstr "lettura in corso del contenuto della directory %s" -#: internal/arduino/builder/sketch.go:81 +#: internal/arduino/builder/sketch.go:83 msgid "reading file %[1]s: %[2]s" msgstr "lettura del file %[1]s: %[2]s" @@ -3778,7 +3785,7 @@ msgstr "lettura in corso della directory dei sorgenti della libreria: %s" msgid "reading library_index.json: %s" msgstr "lettura di library_index.json: %s" -#: internal/arduino/resources/install.go:116 +#: internal/arduino/resources/install.go:125 msgid "reading package root dir: %s" msgstr "lettura della directory principale del pacchetto: %s" @@ -3786,11 +3793,11 @@ msgstr "lettura della directory principale del pacchetto: %s" msgid "reading sketch files" msgstr "lettura degli sketch in corso" -#: commands/service_upload.go:713 +#: commands/service_upload.go:714 msgid "recipe not found '%s'" msgstr "scrittura non trovata '%s'" -#: internal/arduino/cores/packagemanager/package_manager.go:606 +#: internal/arduino/cores/packagemanager/package_manager.go:574 msgid "release %[1]s not found for tool %[2]s" msgstr "il rilascio %[1]s non è stato trovato per il tool %[2]s" @@ -3803,20 +3810,20 @@ msgstr "il rilascio non può essere nullo" msgid "removing corrupted archive file: %s" msgstr "sto rimuovendo il file di archivio danneggiato: %s" -#: internal/arduino/libraries/librariesmanager/install.go:152 +#: internal/arduino/libraries/librariesmanager/install.go:151 msgid "removing library directory: %s" msgstr "rimozione directory della libreria: %s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:310 +#: internal/arduino/cores/packagemanager/install_uninstall.go:312 msgid "removing platform files: %s" msgstr "sto rimuovendo i file della piattaforma: %s" -#: internal/arduino/cores/packagemanager/download.go:87 +#: internal/arduino/cores/packagemanager/download.go:89 msgid "required version %[1]s not found for platform %[2]s" msgstr "" "la versione richiesta %[1]s non è stata trovata per la piattaforma %[2]s" -#: internal/arduino/security/signatures.go:72 +#: internal/arduino/security/signatures.go:74 msgid "retrieving Arduino public keys: %s" msgstr "sto recuperando le chiavi pubbliche di Arduino: %s" @@ -3825,10 +3832,15 @@ msgstr "sto recuperando le chiavi pubbliche di Arduino: %s" msgid "scanning sketch examples" msgstr "scansione degli esempi di sketch in corso" -#: internal/arduino/resources/install.go:74 +#: internal/arduino/resources/install.go:83 msgid "searching package root dir: %s" msgstr "ricerca nella directory principale del pacchetto: %s" +#: internal/arduino/security/signatures.go:87 +msgid "signature expired: is your system clock set correctly?" +msgstr "" +"la firma è scaduta: l'orologio del tuo sistema è impostato correttamente?" + #: commands/service_sketch_new.go:78 msgid "sketch name cannot be empty" msgstr "Il nome dello sketch non può essere vuoto" @@ -3868,11 +3880,11 @@ msgstr "verifica delle dimensioni dell'archivio: %s" msgid "testing if archive is cached: %s" msgstr "verifica se l'archivio è memorizzato nella cache: %s" -#: internal/arduino/resources/install.go:38 +#: internal/arduino/resources/install.go:46 msgid "testing local archive integrity: %s" msgstr "verifica l'integrità dell'archivio locale: %s" -#: internal/arduino/builder/sizer.go:191 +#: internal/arduino/builder/sizer.go:194 msgid "text section exceeds available space in board" msgstr "la sezione del testo supera lo spazio disponibile nella scheda" @@ -3881,7 +3893,7 @@ msgstr "la sezione del testo supera lo spazio disponibile nella scheda" msgid "the compilation database may be incomplete or inaccurate" msgstr "il database di compilazione potrebbe essere incompleto o impreciso" -#: commands/service_board_list.go:102 +#: commands/service_board_identify.go:190 msgid "the server responded with status %s" msgstr "il server ha risposto con lo stato %s" @@ -3889,7 +3901,7 @@ msgstr "il server ha risposto con lo stato %s" msgid "timeout waiting for message" msgstr "timeout in attesa del messaggio" -#: internal/arduino/cores/packagemanager/install_uninstall.go:404 +#: internal/arduino/cores/packagemanager/install_uninstall.go:406 msgid "tool %s is not managed by package manager" msgstr "il tool %s non è gestito dal gestore dei pacchetti" @@ -3898,16 +3910,16 @@ msgstr "il tool %s non è gestito dal gestore dei pacchetti" msgid "tool %s not found" msgstr "Il tool %s non è stato trovato" -#: internal/arduino/cores/packagemanager/package_manager.go:556 +#: internal/arduino/cores/packagemanager/package_manager.go:524 msgid "tool '%[1]s' not found in package '%[2]s'" msgstr "il tool '%[1]s' non è stato trovato nel pacchetto '%[2]s'" -#: internal/arduino/cores/packagemanager/install_uninstall.go:399 +#: internal/arduino/cores/packagemanager/install_uninstall.go:401 msgid "tool not installed" msgstr "Il tool non è installato" -#: internal/arduino/cores/packagemanager/package_manager.go:735 -#: internal/arduino/cores/packagemanager/package_manager.go:841 +#: internal/arduino/cores/packagemanager/package_manager.go:703 +#: internal/arduino/cores/packagemanager/package_manager.go:809 msgid "tool release not found: %s" msgstr "il rilascio del tool non è stato trovato: %s" @@ -3915,23 +3927,23 @@ msgstr "il rilascio del tool non è stato trovato: %s" msgid "tool version %s not found" msgstr "la versione %s del tool non è stata trovata" -#: commands/service_library_install.go:92 +#: commands/service_library_install.go:93 msgid "" "two different versions of the library %[1]s are required: %[2]s and %[3]s" msgstr "" "sono necessarie due versioni diverse della libreria %[1]s: %[2]s e %[3]s" -#: internal/arduino/builder/sketch.go:74 -#: internal/arduino/builder/sketch.go:118 +#: internal/arduino/builder/sketch.go:76 +#: internal/arduino/builder/sketch.go:120 msgid "unable to compute relative path to the sketch for the item" msgstr "" "non è possibile calcolare il percorso relativo allo sketch per l'elemento" -#: internal/arduino/builder/sketch.go:43 +#: internal/arduino/builder/sketch.go:45 msgid "unable to create a folder to save the sketch" msgstr "non è possibile creare una cartella per salvare lo sketch" -#: internal/arduino/builder/sketch.go:124 +#: internal/arduino/builder/sketch.go:126 msgid "unable to create the folder containing the item" msgstr "non è possibile creare la cartella contenente l'elemento" @@ -3940,23 +3952,23 @@ msgid "unable to marshal config to YAML: %v" msgstr "" "non è possibile eseguire il marshalling della configurazione in YAML: %v" -#: internal/arduino/builder/sketch.go:162 +#: internal/arduino/builder/sketch.go:164 msgid "unable to read contents of the destination item" msgstr "non è possibile leggere il contenuto dell'elemento di destinazione" -#: internal/arduino/builder/sketch.go:135 +#: internal/arduino/builder/sketch.go:137 msgid "unable to read contents of the source item" msgstr "non è stato possibile leggere i contenuti della risorsa" -#: internal/arduino/builder/sketch.go:145 +#: internal/arduino/builder/sketch.go:147 msgid "unable to write to destination file" msgstr "non è possibile scrivere sul file di destinazione" -#: internal/arduino/cores/packagemanager/package_manager.go:329 +#: internal/arduino/cores/packagemanager/package_manager.go:297 msgid "unknown package %s" msgstr "pacchetto sconosciuto %s" -#: internal/arduino/cores/packagemanager/package_manager.go:336 +#: internal/arduino/cores/packagemanager/package_manager.go:304 msgid "unknown platform %s:%s" msgstr "piattaforma sconosciuta %s:%s" @@ -3976,7 +3988,7 @@ msgstr "aggiorna arduino:samd all'ultima versione" msgid "upgrade everything to the latest version" msgstr "aggiornare tutto con l'ultima versione disponibile" -#: commands/service_upload.go:759 +#: commands/service_upload.go:760 msgid "uploading error: %s" msgstr "errore durante il caricamento: %s" @@ -4000,6 +4012,6 @@ msgstr "la versione %s non è disponibile per questo sistema operativo" msgid "version %s not found" msgstr "la versione %s non è stata trovata" -#: commands/service_board_list.go:120 +#: commands/service_board_identify.go:208 msgid "wrong format in server response" msgstr "formato errato nella risposta del server" diff --git a/internal/i18n/data/ja.po b/internal/locales/data/ja.po similarity index 85% rename from internal/i18n/data/ja.po rename to internal/locales/data/ja.po index 8b3da0ff1f9..02e887b959d 100644 --- a/internal/i18n/data/ja.po +++ b/internal/locales/data/ja.po @@ -11,7 +11,7 @@ msgstr "" "Language: ja\n" "Plural-Forms: nplurals=1; plural=0;\n" -#: version/version.go:56 +#: internal/version/version.go:56 msgid "%[1]s %[2]s Version: %[3]s Commit: %[4]s Date: %[5]s" msgstr "" @@ -23,11 +23,11 @@ msgstr "" msgid "%[1]s invalid, rebuilding all" msgstr "" -#: internal/cli/lib/check_deps.go:124 +#: internal/cli/lib/check_deps.go:125 msgid "%[1]s is required but %[2]s is currently installed." msgstr "" -#: internal/arduino/builder/builder.go:486 +#: internal/arduino/builder/builder.go:487 msgid "%[1]s pattern is missing" msgstr "%[1]s パターンが見つかりません" @@ -35,24 +35,24 @@ msgstr "%[1]s パターンが見つかりません" msgid "%s already downloaded" msgstr "%sはすでにダウンロードされています" -#: commands/service_upload.go:781 +#: commands/service_upload.go:782 msgid "%s and %s cannot be used together" msgstr "%sと%sは同時に利用できません" -#: internal/arduino/cores/packagemanager/install_uninstall.go:371 +#: internal/arduino/cores/packagemanager/install_uninstall.go:373 msgid "%s installed" msgstr "%sをインストールしました" -#: internal/cli/lib/check_deps.go:121 +#: internal/cli/lib/check_deps.go:122 msgid "%s is already installed." msgstr "%sはすでにインストールされています。" #: internal/arduino/cores/packagemanager/loader.go:63 -#: internal/arduino/cores/packagemanager/loader.go:617 +#: internal/arduino/cores/packagemanager/loader.go:614 msgid "%s is not a directory" msgstr "%sはディレクトリではありません" -#: internal/arduino/cores/packagemanager/install_uninstall.go:290 +#: internal/arduino/cores/packagemanager/install_uninstall.go:292 msgid "%s is not managed by package manager" msgstr "" @@ -60,20 +60,20 @@ msgstr "" msgid "%s must be >= 1024" msgstr "" -#: internal/cli/lib/check_deps.go:118 +#: internal/cli/lib/check_deps.go:119 msgid "%s must be installed." msgstr "" -#: internal/arduino/builder/internal/preprocessor/ctags.go:192 -#: internal/arduino/builder/internal/preprocessor/gcc.go:62 +#: internal/arduino/builder/internal/preprocessor/ctags.go:193 +#: internal/arduino/builder/internal/preprocessor/gcc.go:63 msgid "%s pattern is missing" msgstr "" -#: commands/cmderrors/cmderrors.go:818 +#: commands/cmderrors/cmderrors.go:839 msgid "'%s' has an invalid signature" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:448 +#: internal/arduino/cores/packagemanager/package_manager.go:416 msgid "" "'build.core' and 'build.variant' refer to different platforms: %[1]s and " "%[2]s" @@ -83,7 +83,7 @@ msgstr "" msgid "(hidden)" msgstr "" -#: internal/arduino/builder/libraries.go:302 +#: internal/arduino/builder/libraries.go:303 msgid "(legacy)" msgstr "(レガシー)" @@ -111,7 +111,7 @@ msgstr "" msgid "A new release of Arduino CLI is available:" msgstr "" -#: commands/cmderrors/cmderrors.go:299 +#: commands/cmderrors/cmderrors.go:300 msgid "A programmer is required to upload" msgstr "" @@ -144,7 +144,7 @@ msgstr "" msgid "All the cores are already at the latest version" msgstr "" -#: commands/service_library_install.go:135 +#: commands/service_library_install.go:136 msgid "Already installed %s" msgstr "" @@ -172,7 +172,7 @@ msgstr "" msgid "Archive already exists" msgstr "" -#: internal/arduino/builder/core.go:163 +#: internal/arduino/builder/core.go:164 msgid "Archiving built core (caching) in: %[1]s" msgstr "%[1]sにビルドされたコア(キャッシュ)をアーカイブ中です" @@ -220,7 +220,7 @@ msgstr "" msgid "Author: %s" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:79 +#: internal/arduino/libraries/librariesmanager/install.go:78 msgid "" "Automatic library install can't be performed in this case, please manually " "remove all duplicates and retry." @@ -257,11 +257,11 @@ msgstr "" msgid "Board version:" msgstr "" -#: internal/arduino/builder/sketch.go:243 +#: internal/arduino/builder/sketch.go:245 msgid "Bootloader file specified but missing: %[1]s" msgstr "ブートローダのファイルが指定されましたが次が不足しています:%[1]s" -#: internal/cli/compile/compile.go:101 +#: internal/cli/compile/compile.go:104 msgid "" "Builds of cores and sketches are saved into this path to be cached and " "reused." @@ -271,25 +271,25 @@ msgstr "" msgid "Can't create data directory %s" msgstr "" -#: commands/cmderrors/cmderrors.go:511 +#: commands/cmderrors/cmderrors.go:532 msgid "Can't create sketch" msgstr "" -#: commands/service_library_download.go:91 -#: commands/service_library_download.go:94 +#: commands/service_library_download.go:95 +#: commands/service_library_download.go:98 msgid "Can't download library" msgstr "" #: commands/service_platform_uninstall.go:89 -#: internal/arduino/cores/packagemanager/install_uninstall.go:136 +#: internal/arduino/cores/packagemanager/install_uninstall.go:138 msgid "Can't find dependencies for platform %s" msgstr "" -#: commands/cmderrors/cmderrors.go:537 +#: commands/cmderrors/cmderrors.go:558 msgid "Can't open sketch" msgstr "" -#: commands/cmderrors/cmderrors.go:524 +#: commands/cmderrors/cmderrors.go:545 msgid "Can't update sketch" msgstr "" @@ -301,11 +301,11 @@ msgstr "" msgid "Can't write debug log: %s" msgstr "" -#: commands/service_compile.go:187 commands/service_compile.go:190 +#: commands/service_compile.go:190 commands/service_compile.go:193 msgid "Cannot create build cache directory" msgstr "" -#: commands/service_compile.go:212 +#: commands/service_compile.go:215 msgid "Cannot create build directory" msgstr "" @@ -317,11 +317,11 @@ msgstr "" msgid "Cannot create config file: %v" msgstr "" -#: commands/cmderrors/cmderrors.go:781 +#: commands/cmderrors/cmderrors.go:802 msgid "Cannot create temp dir" msgstr "" -#: commands/cmderrors/cmderrors.go:799 +#: commands/cmderrors/cmderrors.go:820 msgid "Cannot create temp file" msgstr "" @@ -343,15 +343,15 @@ msgstr "" msgid "Cannot get the configuration key %[1]s: %[2]v" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:143 +#: internal/arduino/cores/packagemanager/install_uninstall.go:145 msgid "Cannot install platform" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:349 +#: internal/arduino/cores/packagemanager/install_uninstall.go:351 msgid "Cannot install tool %s" msgstr "" -#: commands/service_upload.go:543 +#: commands/service_upload.go:544 msgid "Cannot perform port reset: %s" msgstr "" @@ -360,7 +360,7 @@ msgstr "" msgid "Cannot remove the configuration key %[1]s: %[2]v" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:161 +#: internal/arduino/cores/packagemanager/install_uninstall.go:163 msgid "Cannot upgrade platform" msgstr "" @@ -398,27 +398,31 @@ msgid "" "a change." msgstr "" -#: commands/service_debug_config.go:178 commands/service_upload.go:451 +#: commands/service_debug_config.go:178 commands/service_upload.go:452 msgid "Compiled sketch not found in %s" msgstr "" +#: internal/arduino/builder/internal/preprocessor/gcc.go:93 +msgid "Compiler error output has been truncated." +msgstr "" + #: internal/cli/compile/compile.go:80 internal/cli/compile/compile.go:81 msgid "Compiles Arduino sketches." msgstr "" -#: internal/arduino/builder/builder.go:420 +#: internal/arduino/builder/builder.go:421 msgid "Compiling core..." msgstr "" -#: internal/arduino/builder/builder.go:399 +#: internal/arduino/builder/builder.go:400 msgid "Compiling libraries..." msgstr "" -#: internal/arduino/builder/libraries.go:133 +#: internal/arduino/builder/libraries.go:134 msgid "Compiling library \"%[1]s\"" msgstr "" -#: internal/arduino/builder/builder.go:383 +#: internal/arduino/builder/builder.go:384 msgid "Compiling sketch..." msgstr "スケッチをコンパイルしています..." @@ -441,11 +445,11 @@ msgid "" "=[,=]..." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:177 +#: internal/arduino/cores/packagemanager/install_uninstall.go:179 msgid "Configuring platform." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:359 +#: internal/arduino/cores/packagemanager/install_uninstall.go:361 msgid "Configuring tool." msgstr "" @@ -461,19 +465,19 @@ msgstr "" msgid "Core" msgstr "" -#: internal/cli/configuration/network.go:103 +#: internal/cli/configuration/network.go:127 msgid "Could not connect via HTTP" msgstr "" -#: commands/instances.go:486 +#: commands/instances.go:487 msgid "Could not create index directory" msgstr "" -#: internal/arduino/builder/core.go:41 +#: internal/arduino/builder/core.go:42 msgid "Couldn't deeply cache core build: %[1]s" msgstr "" -#: internal/arduino/builder/sizer.go:154 +#: internal/arduino/builder/sizer.go:155 msgid "Couldn't determine program size" msgstr "" @@ -485,7 +489,7 @@ msgstr "" msgid "Create a new Sketch" msgstr "" -#: internal/cli/compile/compile.go:98 +#: internal/cli/compile/compile.go:101 msgid "Create and print a profile configuration from the build." msgstr "" @@ -499,7 +503,7 @@ msgid "" "directory with the current configuration settings." msgstr "" -#: internal/cli/compile/compile.go:331 +#: internal/cli/compile/compile.go:340 msgid "" "Currently, Build Profiles only support libraries available through Arduino " "Library Manager." @@ -573,7 +577,7 @@ msgstr "" msgid "Description" msgstr "" -#: internal/arduino/builder/builder.go:313 +#: internal/arduino/builder/builder.go:314 msgid "Detecting libraries used..." msgstr "" @@ -633,7 +637,7 @@ msgstr "" msgid "Do not try to update library dependencies if already installed." msgstr "" -#: commands/service_library_download.go:88 +#: commands/service_library_download.go:92 msgid "Downloading %s" msgstr "" @@ -641,21 +645,21 @@ msgstr "" msgid "Downloading index signature: %s" msgstr "" -#: commands/instances.go:563 commands/instances.go:581 -#: commands/instances.go:595 commands/instances.go:612 +#: commands/instances.go:564 commands/instances.go:582 +#: commands/instances.go:596 commands/instances.go:613 #: internal/arduino/resources/index.go:82 msgid "Downloading index: %s" msgstr "" -#: commands/instances.go:371 +#: commands/instances.go:372 msgid "Downloading library %s" msgstr "" -#: commands/instances.go:53 +#: commands/instances.go:54 msgid "Downloading missing tool %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:96 +#: internal/arduino/cores/packagemanager/install_uninstall.go:98 msgid "Downloading packages" msgstr "" @@ -691,7 +695,7 @@ msgstr "" msgid "Error adding file to sketch archive" msgstr "" -#: internal/arduino/builder/core.go:169 +#: internal/arduino/builder/core.go:170 msgid "Error archiving built core (caching) in %[1]s: %[2]s" msgstr "" @@ -707,11 +711,11 @@ msgstr "" msgid "Error cleaning caches: %v" msgstr "" -#: internal/cli/compile/compile.go:220 +#: internal/cli/compile/compile.go:225 msgid "Error converting path to absolute: %v" msgstr "" -#: commands/service_compile.go:405 +#: commands/service_compile.go:420 msgid "Error copying output file %s" msgstr "" @@ -725,7 +729,7 @@ msgstr "" msgid "Error creating instance: %v" msgstr "" -#: commands/service_compile.go:389 +#: commands/service_compile.go:403 msgid "Error creating output dir" msgstr "" @@ -750,7 +754,7 @@ msgstr "" msgid "Error downloading %s" msgstr "" -#: commands/instances.go:660 internal/arduino/resources/index.go:83 +#: commands/instances.go:661 internal/arduino/resources/index.go:83 msgid "Error downloading index '%s'" msgstr "" @@ -758,7 +762,7 @@ msgstr "" msgid "Error downloading index signature '%s'" msgstr "" -#: commands/instances.go:381 commands/instances.go:387 +#: commands/instances.go:382 commands/instances.go:388 msgid "Error downloading library %s" msgstr "" @@ -767,7 +771,7 @@ msgstr "" msgid "Error downloading platform %s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:127 +#: internal/arduino/cores/packagemanager/download.go:129 #: internal/arduino/cores/packagemanager/profiles.go:179 msgid "Error downloading tool %s" msgstr "" @@ -782,7 +786,7 @@ msgstr "" #: internal/cli/burnbootloader/burnbootloader.go:78 #: internal/cli/burnbootloader/burnbootloader.go:100 -#: internal/cli/compile/compile.go:264 internal/cli/compile/compile.go:306 +#: internal/cli/compile/compile.go:269 internal/cli/compile/compile.go:311 #: internal/cli/upload/upload.go:99 internal/cli/upload/upload.go:128 msgid "Error during Upload: %v" msgstr "" @@ -791,7 +795,7 @@ msgstr "" msgid "Error during board detection" msgstr "" -#: internal/cli/compile/compile.go:379 +#: internal/cli/compile/compile.go:394 msgid "Error during build: %v" msgstr "" @@ -812,7 +816,7 @@ msgstr "" msgid "Error extracting %s" msgstr "" -#: commands/service_upload.go:448 +#: commands/service_upload.go:449 msgid "Error finding build artifacts" msgstr "" @@ -838,7 +842,7 @@ msgid "" "correct sketch folder or provide the --port flag: %s" msgstr "" -#: commands/service_compile.go:328 commands/service_library_list.go:115 +#: commands/service_compile.go:338 commands/service_library_list.go:115 msgid "Error getting information for library %s" msgstr "" @@ -874,7 +878,7 @@ msgstr "" msgid "Error installing Zip Library: %v" msgstr "" -#: commands/instances.go:397 +#: commands/instances.go:398 msgid "Error installing library %s" msgstr "" @@ -901,7 +905,7 @@ msgstr "" msgid "Error listing platforms: %v" msgstr "" -#: commands/cmderrors/cmderrors.go:424 +#: commands/cmderrors/cmderrors.go:445 msgid "Error loading hardware platform" msgstr "" @@ -918,15 +922,15 @@ msgstr "" msgid "Error opening debug logging file: %s" msgstr "" -#: internal/cli/compile/compile.go:193 +#: internal/cli/compile/compile.go:196 msgid "Error opening source code overrides data file: %v" msgstr "" -#: internal/cli/compile/compile.go:206 +#: internal/cli/compile/compile.go:209 msgid "Error parsing --show-properties flag: %v" msgstr "" -#: commands/service_compile.go:398 +#: commands/service_compile.go:412 msgid "Error reading build directory" msgstr "" @@ -942,7 +946,7 @@ msgstr "" msgid "Error retrieving core list: %v" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:158 +#: internal/arduino/cores/packagemanager/install_uninstall.go:160 msgid "Error rolling-back changes: %s" msgstr "" @@ -996,7 +1000,7 @@ msgstr "" msgid "Error upgrading libraries" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:153 +#: internal/arduino/cores/packagemanager/install_uninstall.go:155 msgid "Error upgrading platform: %s" msgstr "" @@ -1009,10 +1013,10 @@ msgstr "" msgid "Error while detecting libraries included by %[1]s" msgstr "" -#: internal/arduino/builder/sizer.go:79 internal/arduino/builder/sizer.go:88 -#: internal/arduino/builder/sizer.go:91 internal/arduino/builder/sizer.go:110 -#: internal/arduino/builder/sizer.go:215 internal/arduino/builder/sizer.go:225 -#: internal/arduino/builder/sizer.go:229 +#: internal/arduino/builder/sizer.go:80 internal/arduino/builder/sizer.go:89 +#: internal/arduino/builder/sizer.go:92 internal/arduino/builder/sizer.go:111 +#: internal/arduino/builder/sizer.go:218 internal/arduino/builder/sizer.go:228 +#: internal/arduino/builder/sizer.go:232 msgid "Error while determining sketch size: %s" msgstr "" @@ -1028,7 +1032,7 @@ msgstr "" msgid "Error: command description is not supported by %v" msgstr "" -#: internal/cli/compile/compile.go:199 +#: internal/cli/compile/compile.go:202 msgid "Error: invalid source code overrides data file: %v" msgstr "" @@ -1048,7 +1052,7 @@ msgstr "" msgid "Executable to debug" msgstr "" -#: commands/service_debug_config.go:181 commands/service_upload.go:454 +#: commands/service_debug_config.go:181 commands/service_upload.go:455 msgid "Expected compiled sketch in directory %s, but is a file instead" msgstr "" @@ -1062,23 +1066,23 @@ msgstr "" msgid "FQBN:" msgstr "" -#: commands/service_upload.go:577 +#: commands/service_upload.go:578 msgid "Failed chip erase" msgstr "" -#: commands/service_upload.go:584 +#: commands/service_upload.go:585 msgid "Failed programming" msgstr "" -#: commands/service_upload.go:580 +#: commands/service_upload.go:581 msgid "Failed to burn bootloader" msgstr "" -#: commands/instances.go:87 +#: commands/instances.go:88 msgid "Failed to create data directory" msgstr "" -#: commands/instances.go:76 +#: commands/instances.go:77 msgid "Failed to create downloads directory" msgstr "" @@ -1098,7 +1102,7 @@ msgstr "" msgid "Failed to listen on TCP port: %s. Address already in use." msgstr "" -#: commands/service_upload.go:588 +#: commands/service_upload.go:589 msgid "Failed uploading" msgstr "" @@ -1106,7 +1110,7 @@ msgstr "" msgid "File:" msgstr "" -#: commands/service_compile.go:160 +#: commands/service_compile.go:163 msgid "" "Firmware encryption/signing requires all the following properties to be " "defined: %s" @@ -1145,7 +1149,7 @@ msgid "" "Force skip of pre-uninstall scripts (if the CLI is running interactively)." msgstr "" -#: commands/cmderrors/cmderrors.go:839 +#: commands/cmderrors/cmderrors.go:860 msgid "Found %d platforms matching \"%s\": %s" msgstr "" @@ -1170,7 +1174,7 @@ msgstr "" msgid "Generates completion scripts for various shells" msgstr "" -#: internal/arduino/builder/builder.go:333 +#: internal/arduino/builder/builder.go:334 msgid "Generating function prototypes..." msgstr "" @@ -1182,14 +1186,14 @@ msgstr "" msgid "Global Flags:" msgstr "" -#: internal/arduino/builder/sizer.go:164 +#: internal/arduino/builder/sizer.go:166 msgid "" "Global variables use %[1]s bytes (%[3]s%%) of dynamic memory, leaving %[4]s " "bytes for local variables. Maximum is %[2]s bytes." msgstr "" "最大%[2]sバイトのRAMのうち、グローバル変数が%[1]sバイト(%[3]s%%)を使っていて、ローカル変数で%[4]sバイト使うことができます。" -#: internal/arduino/builder/sizer.go:170 +#: internal/arduino/builder/sizer.go:172 msgid "Global variables use %[1]s bytes of dynamic memory." msgstr "グローバル変数は%[1]sバイトのRAMを使用しています。" @@ -1207,7 +1211,7 @@ msgstr "" msgid "Identification properties:" msgstr "" -#: internal/cli/compile/compile.go:132 +#: internal/cli/compile/compile.go:135 msgid "If set built binaries will be exported to the sketch folder." msgstr "" @@ -1234,20 +1238,20 @@ msgstr "" msgid "Installed" msgstr "インストール済" -#: commands/service_library_install.go:200 +#: commands/service_library_install.go:201 msgid "Installed %s" msgstr "" -#: commands/service_library_install.go:183 -#: internal/arduino/cores/packagemanager/install_uninstall.go:333 +#: commands/service_library_install.go:184 +#: internal/arduino/cores/packagemanager/install_uninstall.go:335 msgid "Installing %s" msgstr "" -#: commands/instances.go:395 +#: commands/instances.go:396 msgid "Installing library %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:119 +#: internal/arduino/cores/packagemanager/install_uninstall.go:121 #: internal/arduino/cores/packagemanager/profiles.go:134 msgid "Installing platform %s" msgstr "" @@ -1268,11 +1272,11 @@ msgstr "" msgid "Internal error in cache" msgstr "" -#: commands/cmderrors/cmderrors.go:377 +#: commands/cmderrors/cmderrors.go:378 msgid "Invalid '%[1]s' property: %[2]s" msgstr "" -#: commands/cmderrors/cmderrors.go:60 +#: commands/cmderrors/cmderrors.go:61 msgid "Invalid FQBN" msgstr "" @@ -1280,11 +1284,11 @@ msgstr "" msgid "Invalid TCP address: port is missing" msgstr "" -#: commands/cmderrors/cmderrors.go:78 +#: commands/cmderrors/cmderrors.go:79 msgid "Invalid URL" msgstr "" -#: commands/instances.go:183 +#: commands/instances.go:184 msgid "Invalid additional URL: %v" msgstr "" @@ -1298,23 +1302,23 @@ msgstr "" msgid "Invalid argument passed: %v" msgstr "" -#: commands/service_compile.go:272 +#: commands/service_compile.go:282 msgid "Invalid build properties" msgstr "" -#: internal/arduino/builder/sizer.go:250 +#: internal/arduino/builder/sizer.go:253 msgid "Invalid data size regexp: %s" msgstr "" -#: internal/arduino/builder/sizer.go:256 +#: internal/arduino/builder/sizer.go:259 msgid "Invalid eeprom size regexp: %s" msgstr "" -#: commands/instances.go:596 +#: commands/instances.go:597 msgid "Invalid index URL: %s" msgstr "" -#: commands/cmderrors/cmderrors.go:46 +#: commands/cmderrors/cmderrors.go:47 msgid "Invalid instance" msgstr "" @@ -1322,7 +1326,7 @@ msgstr "" msgid "Invalid item %s" msgstr "" -#: commands/cmderrors/cmderrors.go:96 +#: commands/cmderrors/cmderrors.go:97 msgid "Invalid library" msgstr "" @@ -1330,11 +1334,11 @@ msgstr "" msgid "Invalid logging level: %s" msgstr "" -#: commands/instances.go:613 +#: commands/instances.go:614 msgid "Invalid network configuration: %s" msgstr "" -#: internal/cli/configuration/network.go:66 +#: internal/cli/configuration/network.go:83 msgid "Invalid network.proxy '%[1]s': %[2]s" msgstr "" @@ -1342,7 +1346,7 @@ msgstr "" msgid "Invalid output format: %s" msgstr "" -#: commands/instances.go:580 +#: commands/instances.go:581 msgid "Invalid package index in %s" msgstr "" @@ -1350,35 +1354,35 @@ msgstr "" msgid "Invalid parameter %s: version not allowed" msgstr "" -#: commands/service_board_list.go:81 +#: commands/service_board_identify.go:169 msgid "Invalid pid value: '%s'" msgstr "" -#: commands/cmderrors/cmderrors.go:220 +#: commands/cmderrors/cmderrors.go:221 msgid "Invalid profile" msgstr "" -#: commands/service_monitor.go:269 +#: commands/service_monitor.go:270 msgid "Invalid recipe in platform.txt" msgstr "" -#: internal/arduino/builder/sizer.go:240 +#: internal/arduino/builder/sizer.go:243 msgid "Invalid size regexp: %s" msgstr "" -#: main.go:85 +#: main.go:86 msgid "Invalid value in configuration" msgstr "" -#: commands/cmderrors/cmderrors.go:114 +#: commands/cmderrors/cmderrors.go:115 msgid "Invalid version" msgstr "" -#: commands/service_board_list.go:78 +#: commands/service_board_identify.go:166 msgid "Invalid vid value: '%s'" msgstr "" -#: internal/cli/compile/compile.go:129 +#: internal/cli/compile/compile.go:132 msgid "" "Just produce the compilation database, without actually compiling. All build" " commands are skipped except pre* hooks." @@ -1401,12 +1405,12 @@ msgstr "" msgid "Latest" msgstr "" -#: internal/arduino/builder/libraries.go:91 +#: internal/arduino/builder/libraries.go:92 msgid "Library %[1]s has been declared precompiled:" msgstr "" -#: commands/service_library_install.go:141 -#: internal/arduino/libraries/librariesmanager/install.go:131 +#: commands/service_library_install.go:142 +#: internal/arduino/libraries/librariesmanager/install.go:130 msgid "" "Library %[1]s is already installed, but with a different version: %[2]s" msgstr "" @@ -1419,11 +1423,11 @@ msgstr "" msgid "Library %s is not installed" msgstr "" -#: commands/instances.go:374 +#: commands/instances.go:375 msgid "Library %s not found" msgstr "" -#: commands/cmderrors/cmderrors.go:445 +#: commands/cmderrors/cmderrors.go:466 msgid "Library '%s' not found" msgstr "" @@ -1432,12 +1436,12 @@ msgid "" "Library can't use both '%[1]s' and '%[2]s' folders. Double check in '%[3]s'." msgstr "" -#: commands/cmderrors/cmderrors.go:574 +#: commands/cmderrors/cmderrors.go:595 msgid "Library install failed" msgstr "" -#: commands/service_library_install.go:234 -#: commands/service_library_install.go:274 +#: commands/service_library_install.go:235 +#: commands/service_library_install.go:275 msgid "Library installed" msgstr "" @@ -1445,7 +1449,7 @@ msgstr "" msgid "License: %s" msgstr "" -#: internal/arduino/builder/builder.go:436 +#: internal/arduino/builder/builder.go:437 msgid "Linking everything together..." msgstr "" @@ -1469,7 +1473,7 @@ msgid "" " multiple options." msgstr "" -#: internal/cli/compile/compile.go:107 +#: internal/cli/compile/compile.go:110 msgid "" "List of custom build properties separated by commas. Or can be used multiple" " times for multiple properties." @@ -1491,8 +1495,8 @@ msgstr "" msgid "Lists cores and libraries that can be upgraded" msgstr "" -#: commands/instances.go:221 commands/instances.go:232 -#: commands/instances.go:342 +#: commands/instances.go:222 commands/instances.go:233 +#: commands/instances.go:343 msgid "Loading index file: %v" msgstr "" @@ -1500,7 +1504,7 @@ msgstr "" msgid "Location" msgstr "" -#: internal/arduino/builder/sizer.go:205 +#: internal/arduino/builder/sizer.go:208 msgid "Low memory available, stability problems may occur." msgstr "スケッチが使用できるメモリが少なくなっています。動作が不安定になる可能性があります。" @@ -1508,7 +1512,7 @@ msgstr "スケッチが使用できるメモリが少なくなっています。 msgid "Maintainer: %s" msgstr "" -#: internal/cli/compile/compile.go:137 +#: internal/cli/compile/compile.go:140 msgid "" "Max number of parallel compiles. If set to 0 the number of available CPUs " "cores will be used." @@ -1527,23 +1531,23 @@ msgstr "" msgid "Missing '%[1]s' from library in %[2]s" msgstr "%[2]sのライブラリに「%[1]s」がありません" -#: commands/cmderrors/cmderrors.go:169 +#: commands/cmderrors/cmderrors.go:170 msgid "Missing FQBN (Fully Qualified Board Name)" msgstr "" -#: commands/cmderrors/cmderrors.go:260 +#: commands/cmderrors/cmderrors.go:261 msgid "Missing port" msgstr "" -#: commands/cmderrors/cmderrors.go:236 +#: commands/cmderrors/cmderrors.go:237 msgid "Missing port address" msgstr "" -#: commands/cmderrors/cmderrors.go:248 +#: commands/cmderrors/cmderrors.go:249 msgid "Missing port protocol" msgstr "" -#: commands/cmderrors/cmderrors.go:286 +#: commands/cmderrors/cmderrors.go:287 msgid "Missing programmer" msgstr "" @@ -1551,15 +1555,15 @@ msgstr "" msgid "Missing required upload field: %s" msgstr "" -#: internal/arduino/builder/sizer.go:244 +#: internal/arduino/builder/sizer.go:247 msgid "Missing size regexp" msgstr "" -#: commands/cmderrors/cmderrors.go:497 +#: commands/cmderrors/cmderrors.go:518 msgid "Missing sketch path" msgstr "" -#: commands/cmderrors/cmderrors.go:358 +#: commands/cmderrors/cmderrors.go:359 msgid "Monitor '%s' not found" msgstr "" @@ -1615,7 +1619,7 @@ msgstr "" msgid "No libraries update is available." msgstr "" -#: commands/cmderrors/cmderrors.go:274 +#: commands/cmderrors/cmderrors.go:275 msgid "No monitor available for the port protocol %s" msgstr "" @@ -1631,15 +1635,15 @@ msgstr "" msgid "No platforms matching your search." msgstr "" -#: commands/service_upload.go:533 +#: commands/service_upload.go:534 msgid "No upload port found, using %s as fallback" msgstr "" -#: commands/cmderrors/cmderrors.go:464 +#: commands/cmderrors/cmderrors.go:485 msgid "No valid dependencies solution found" msgstr "" -#: internal/arduino/builder/sizer.go:195 +#: internal/arduino/builder/sizer.go:198 msgid "Not enough memory; see %[1]s for tips on reducing your footprint." msgstr "スケッチが使用するメモリが足りません。メモリを節約する方法については、以下のURLのページを参照してください。%[1]s" @@ -1669,35 +1673,35 @@ msgstr "" msgid "Option:" msgstr "" -#: internal/cli/compile/compile.go:117 +#: internal/cli/compile/compile.go:120 msgid "" "Optional, can be: %s. Used to tell gcc which warning level to use (-W flag)." msgstr "" -#: internal/cli/compile/compile.go:130 +#: internal/cli/compile/compile.go:133 msgid "Optional, cleanup the build folder and do not use any cached build." msgstr "" -#: internal/cli/compile/compile.go:127 +#: internal/cli/compile/compile.go:130 msgid "" "Optional, optimize compile output for debugging, rather than for release." msgstr "" -#: internal/cli/compile/compile.go:119 +#: internal/cli/compile/compile.go:122 msgid "Optional, suppresses almost every output." msgstr "" -#: internal/cli/compile/compile.go:118 internal/cli/upload/upload.go:79 +#: internal/cli/compile/compile.go:121 internal/cli/upload/upload.go:79 msgid "Optional, turns on verbose mode." msgstr "" -#: internal/cli/compile/compile.go:133 +#: internal/cli/compile/compile.go:136 msgid "" "Optional. Path to a .json file that contains a set of replacements of the " "sketch source code." msgstr "" -#: internal/cli/compile/compile.go:109 +#: internal/cli/compile/compile.go:112 msgid "" "Override a build property with a custom value. Can be used multiple times " "for multiple properties." @@ -1757,17 +1761,17 @@ msgstr "" msgid "Paragraph: %s" msgstr "" -#: internal/cli/compile/compile.go:454 internal/cli/compile/compile.go:469 +#: internal/cli/compile/compile.go:473 internal/cli/compile/compile.go:488 msgid "Path" msgstr "" -#: internal/cli/compile/compile.go:126 +#: internal/cli/compile/compile.go:129 msgid "" "Path to a collection of libraries. Can be used multiple times or entries can" " be comma separated." msgstr "" -#: internal/cli/compile/compile.go:124 +#: internal/cli/compile/compile.go:127 msgid "" "Path to a single library’s root folder. Can be used multiple times or " "entries can be comma separated." @@ -1777,40 +1781,44 @@ msgstr "" msgid "Path to the file where logs will be written." msgstr "" -#: internal/cli/compile/compile.go:105 +#: internal/cli/compile/compile.go:108 msgid "" "Path where to save compiled files. If omitted, a directory will be created " "in the default temporary path of your OS." msgstr "" -#: commands/service_upload.go:514 +#: commands/service_upload.go:515 msgid "Performing 1200-bps touch reset on serial port %s" msgstr "" -#: commands/service_platform_install.go:86 -#: commands/service_platform_install.go:93 +#: commands/service_platform_install.go:91 +#: commands/service_platform_install.go:98 msgid "Platform %s already installed" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:194 +#: internal/arduino/cores/packagemanager/install_uninstall.go:196 msgid "Platform %s installed" msgstr "" -#: internal/cli/compile/compile.go:402 internal/cli/upload/upload.go:148 +#: internal/cli/compile/compile.go:417 internal/cli/upload/upload.go:148 msgid "" "Platform %s is not found in any known index\n" "Maybe you need to add a 3rd party URL?" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:318 +#: internal/arduino/cores/packagemanager/install_uninstall.go:320 msgid "Platform %s uninstalled" msgstr "" -#: commands/cmderrors/cmderrors.go:482 +#: commands/cmderrors/cmderrors.go:427 +msgid "Platform '%s'" +msgstr "" + +#: commands/cmderrors/cmderrors.go:503 msgid "Platform '%s' is already at the latest version" msgstr "" -#: commands/cmderrors/cmderrors.go:406 +#: commands/cmderrors/cmderrors.go:407 msgid "Platform '%s' not found" msgstr "" @@ -1818,7 +1826,7 @@ msgstr "" msgid "Platform ID" msgstr "" -#: internal/cli/compile/compile.go:387 internal/cli/upload/upload.go:136 +#: internal/cli/compile/compile.go:402 internal/cli/upload/upload.go:136 msgid "Platform ID is not correct" msgstr "" @@ -1850,13 +1858,13 @@ msgstr "" msgid "Platform size (bytes):" msgstr "" -#: commands/cmderrors/cmderrors.go:153 +#: commands/cmderrors/cmderrors.go:154 msgid "" "Please specify an FQBN. Multiple possible boards detected on port %[1]s with" " protocol %[2]s" msgstr "" -#: commands/cmderrors/cmderrors.go:133 +#: commands/cmderrors/cmderrors.go:134 msgid "" "Please specify an FQBN. The board on port %[1]s with protocol %[2]s can't be" " identified" @@ -1870,12 +1878,12 @@ msgstr "シリアルポート" msgid "Port closed: %v" msgstr "" -#: commands/cmderrors/cmderrors.go:668 +#: commands/cmderrors/cmderrors.go:689 msgid "Port monitor error" msgstr "" -#: internal/arduino/builder/libraries.go:101 -#: internal/arduino/builder/libraries.go:109 +#: internal/arduino/builder/libraries.go:102 +#: internal/arduino/builder/libraries.go:110 msgid "Precompiled library in \"%[1]s\" not found" msgstr "" @@ -1883,7 +1891,7 @@ msgstr "" msgid "Print details about a board." msgstr "" -#: internal/cli/compile/compile.go:100 +#: internal/cli/compile/compile.go:103 msgid "Print preprocessed code to stdout instead of compiling." msgstr "" @@ -1903,11 +1911,11 @@ msgstr "" msgid "Prints the current configuration." msgstr "" -#: commands/cmderrors/cmderrors.go:202 +#: commands/cmderrors/cmderrors.go:203 msgid "Profile '%s' not found" msgstr "" -#: commands/cmderrors/cmderrors.go:339 +#: commands/cmderrors/cmderrors.go:340 msgid "Programmer '%s' not found" msgstr "" @@ -1923,7 +1931,7 @@ msgstr "" msgid "Programmers:" msgstr "" -#: commands/cmderrors/cmderrors.go:391 +#: commands/cmderrors/cmderrors.go:392 msgid "Property '%s' is undefined" msgstr "" @@ -1939,11 +1947,11 @@ msgstr "" msgid "Removes one or more values from a setting." msgstr "" -#: commands/service_library_install.go:187 +#: commands/service_library_install.go:188 msgid "Replacing %[1]s with %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:123 +#: internal/arduino/cores/packagemanager/install_uninstall.go:125 msgid "Replacing platform %[1]s with %[2]s" msgstr "" @@ -1959,12 +1967,12 @@ msgstr "" msgid "Run the Arduino CLI as a gRPC daemon." msgstr "" -#: internal/arduino/builder/core.go:42 +#: internal/arduino/builder/core.go:43 msgid "Running normal build of the core..." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:297 -#: internal/arduino/cores/packagemanager/install_uninstall.go:411 +#: internal/arduino/cores/packagemanager/install_uninstall.go:299 +#: internal/arduino/cores/packagemanager/install_uninstall.go:413 msgid "Running pre_uninstall script." msgstr "" @@ -1976,7 +1984,7 @@ msgstr "" msgid "SVD file path" msgstr "" -#: internal/cli/compile/compile.go:103 +#: internal/cli/compile/compile.go:106 msgid "Save build artifacts in this directory." msgstr "" @@ -2188,7 +2196,7 @@ msgstr "" msgid "Size (bytes):" msgstr "" -#: commands/service_compile.go:276 +#: commands/service_compile.go:286 msgid "" "Sketch cannot be located in build path. Please specify a different build " "path" @@ -2202,11 +2210,11 @@ msgstr "" msgid "Sketch profile to use" msgstr "" -#: internal/arduino/builder/sizer.go:190 +#: internal/arduino/builder/sizer.go:193 msgid "Sketch too big; see %[1]s for tips on reducing it." msgstr "スケッチが大きすぎます。%[1]s には、小さくするコツが書いてあります。" -#: internal/arduino/builder/sizer.go:158 +#: internal/arduino/builder/sizer.go:160 msgid "" "Sketch uses %[1]s bytes (%[3]s%%) of program storage space. Maximum is %[2]s" " bytes." @@ -2218,19 +2226,19 @@ msgid "" "files to .ino:" msgstr "" -#: internal/arduino/builder/linker.go:30 +#: internal/arduino/builder/linker.go:31 msgid "Skip linking of final executable." msgstr "" -#: commands/service_upload.go:507 +#: commands/service_upload.go:508 msgid "Skipping 1200-bps touch reset: no serial port selected!" msgstr "" -#: internal/arduino/builder/archive_compiled_files.go:27 +#: internal/arduino/builder/archive_compiled_files.go:28 msgid "Skipping archive creation of: %[1]s" msgstr "" -#: internal/arduino/builder/compilation.go:183 +#: internal/arduino/builder/compilation.go:184 msgid "Skipping compile of: %[1]s" msgstr "" @@ -2238,16 +2246,16 @@ msgstr "" msgid "Skipping dependencies detection for precompiled library %[1]s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:190 +#: internal/arduino/cores/packagemanager/install_uninstall.go:192 msgid "Skipping platform configuration." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:306 -#: internal/arduino/cores/packagemanager/install_uninstall.go:420 +#: internal/arduino/cores/packagemanager/install_uninstall.go:308 +#: internal/arduino/cores/packagemanager/install_uninstall.go:422 msgid "Skipping pre_uninstall script." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:368 +#: internal/arduino/cores/packagemanager/install_uninstall.go:370 msgid "Skipping tool configuration." msgstr "" @@ -2255,7 +2263,7 @@ msgstr "" msgid "Skipping: %[1]s" msgstr "" -#: commands/instances.go:633 +#: commands/instances.go:634 msgid "Some indexes could not be updated." msgstr "" @@ -2275,7 +2283,7 @@ msgstr "" msgid "The custom config file (if not specified the default will be used)." msgstr "" -#: internal/cli/compile/compile.go:90 +#: internal/cli/compile/compile.go:93 msgid "" "The flag --build-cache-path has been deprecated. Please use just --build-" "path alone or configure the build cache path in the Arduino CLI settings." @@ -2293,7 +2301,7 @@ msgstr "" msgid "The given board/programmer configuration supports debugging." msgstr "" -#: commands/cmderrors/cmderrors.go:876 +#: commands/cmderrors/cmderrors.go:897 msgid "The instance is no longer valid and needs to be reinitialized" msgstr "" @@ -2309,17 +2317,17 @@ msgid "" "Maybe use '%[2]s'?" msgstr "" -#: commands/cmderrors/cmderrors.go:858 +#: commands/cmderrors/cmderrors.go:879 msgid "The library %s has multiple installations:" msgstr "" -#: internal/cli/compile/compile.go:115 +#: internal/cli/compile/compile.go:118 msgid "" "The name of the custom encryption key to use to encrypt a binary during the " "compile process. Used only by the platforms that support it." msgstr "" -#: internal/cli/compile/compile.go:113 +#: internal/cli/compile/compile.go:116 msgid "" "The name of the custom signing key to use to sign a binary during the " "compile process. Used only by the platforms that support it." @@ -2329,13 +2337,13 @@ msgstr "" msgid "The output format for the logs, can be: %s" msgstr "" -#: internal/cli/compile/compile.go:111 +#: internal/cli/compile/compile.go:114 msgid "" "The path of the dir to search for the custom keys to sign and encrypt a " "binary. Used only by the platforms that support it." msgstr "" -#: internal/arduino/builder/libraries.go:151 +#: internal/arduino/builder/libraries.go:152 msgid "The platform does not support '%[1]s' for precompiled libraries." msgstr "" @@ -2357,12 +2365,12 @@ msgstr "" msgid "Timestamp each incoming line." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:89 -#: internal/arduino/cores/packagemanager/install_uninstall.go:328 +#: internal/arduino/cores/packagemanager/install_uninstall.go:91 +#: internal/arduino/cores/packagemanager/install_uninstall.go:330 msgid "Tool %s already installed" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:432 +#: internal/arduino/cores/packagemanager/install_uninstall.go:434 msgid "Tool %s uninstalled" msgstr "" @@ -2382,7 +2390,7 @@ msgstr "" msgid "Toolchain type" msgstr "" -#: internal/cli/compile/compile.go:400 internal/cli/upload/upload.go:146 +#: internal/cli/compile/compile.go:415 internal/cli/upload/upload.go:146 msgid "Try running %s" msgstr "" @@ -2402,7 +2410,7 @@ msgstr "" msgid "URL:" msgstr "" -#: internal/arduino/builder/core.go:165 +#: internal/arduino/builder/core.go:166 msgid "" "Unable to cache built core, please tell %[1]s maintainers to follow %[2]s" msgstr "" @@ -2424,17 +2432,17 @@ msgstr "" msgid "Unable to open file for logging: %s" msgstr "" -#: commands/instances.go:562 +#: commands/instances.go:563 msgid "Unable to parse URL" msgstr "" #: commands/service_library_uninstall.go:71 -#: internal/arduino/cores/packagemanager/install_uninstall.go:280 +#: internal/arduino/cores/packagemanager/install_uninstall.go:282 msgid "Uninstalling %s" msgstr "" #: commands/service_platform_uninstall.go:99 -#: internal/arduino/cores/packagemanager/install_uninstall.go:166 +#: internal/arduino/cores/packagemanager/install_uninstall.go:168 msgid "Uninstalling %s, tool is no more required" msgstr "" @@ -2452,7 +2460,7 @@ msgstr "" msgid "Unknown" msgstr "" -#: commands/cmderrors/cmderrors.go:183 +#: commands/cmderrors/cmderrors.go:184 msgid "Unknown FQBN" msgstr "" @@ -2480,7 +2488,7 @@ msgstr "" msgid "Updates the libraries index." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:45 +#: internal/arduino/cores/packagemanager/install_uninstall.go:47 msgid "Upgrade doesn't accept parameters with version" msgstr "" @@ -2513,7 +2521,7 @@ msgstr "" msgid "Upload port address, e.g.: COM3 or /dev/ttyACM2" msgstr "" -#: commands/service_upload.go:531 +#: commands/service_upload.go:532 msgid "Upload port found on %s" msgstr "" @@ -2521,7 +2529,7 @@ msgstr "" msgid "Upload port protocol, e.g: serial" msgstr "" -#: internal/cli/compile/compile.go:120 +#: internal/cli/compile/compile.go:123 msgid "Upload the binary after the compilation." msgstr "" @@ -2533,7 +2541,7 @@ msgstr "" msgid "Upload the bootloader." msgstr "" -#: internal/cli/compile/compile.go:269 internal/cli/upload/upload.go:167 +#: internal/cli/compile/compile.go:274 internal/cli/upload/upload.go:167 msgid "" "Uploading to specified board using %s protocol requires the following info:" msgstr "" @@ -2552,11 +2560,11 @@ msgstr "" msgid "Use %s for more information about a command." msgstr "" -#: internal/cli/compile/compile.go:452 +#: internal/cli/compile/compile.go:471 msgid "Used library" msgstr "" -#: internal/cli/compile/compile.go:467 +#: internal/cli/compile/compile.go:486 msgid "Used platform" msgstr "" @@ -2564,7 +2572,7 @@ msgstr "" msgid "Used: %[1]s" msgstr "使用済:%[1]s" -#: commands/service_compile.go:351 +#: commands/service_compile.go:361 msgid "Using board '%[1]s' from platform in folder: %[2]s" msgstr "" @@ -2572,7 +2580,7 @@ msgstr "" msgid "Using cached library dependencies for file: %[1]s" msgstr "" -#: commands/service_compile.go:352 +#: commands/service_compile.go:362 msgid "Using core '%[1]s' from platform in folder: %[2]s" msgstr "" @@ -2586,25 +2594,25 @@ msgid "" "WARNING: Your board may require different settings to work!\n" msgstr "" -#: internal/arduino/builder/libraries.go:312 +#: internal/arduino/builder/libraries.go:313 msgid "Using library %[1]s at version %[2]s in folder: %[3]s %[4]s" msgstr "次のフォルダのライブラリ%[1]sバージョン%[2]sを使用中:%[3]s %[4]s" -#: internal/arduino/builder/libraries.go:306 +#: internal/arduino/builder/libraries.go:307 msgid "Using library %[1]s in folder: %[2]s %[3]s" msgstr "次のフォルダのライブラリ%[1]sを使用中:%[2]s %[3]s" -#: internal/arduino/builder/core.go:120 internal/arduino/builder/core.go:132 +#: internal/arduino/builder/core.go:121 internal/arduino/builder/core.go:133 msgid "Using precompiled core: %[1]s" msgstr "" -#: internal/arduino/builder/libraries.go:98 -#: internal/arduino/builder/libraries.go:106 +#: internal/arduino/builder/libraries.go:99 +#: internal/arduino/builder/libraries.go:107 msgid "Using precompiled library in %[1]s" msgstr "" -#: internal/arduino/builder/archive_compiled_files.go:50 -#: internal/arduino/builder/compilation.go:181 +#: internal/arduino/builder/archive_compiled_files.go:51 +#: internal/arduino/builder/compilation.go:182 msgid "Using previously compiled file: %[1]s" msgstr "以前コンパイルされたファイルを使用中:%[1]s" @@ -2621,11 +2629,11 @@ msgid "Values" msgstr "" #: internal/cli/burnbootloader/burnbootloader.go:62 -#: internal/cli/compile/compile.go:122 internal/cli/upload/upload.go:78 +#: internal/cli/compile/compile.go:125 internal/cli/upload/upload.go:78 msgid "Verify uploaded binary after the upload." msgstr "" -#: internal/cli/compile/compile.go:453 internal/cli/compile/compile.go:468 +#: internal/cli/compile/compile.go:472 internal/cli/compile/compile.go:487 #: internal/cli/core/search.go:117 msgid "Version" msgstr "" @@ -2634,35 +2642,35 @@ msgstr "" msgid "Versions: %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:185 +#: internal/arduino/cores/packagemanager/install_uninstall.go:187 msgid "WARNING cannot configure platform: %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:364 +#: internal/arduino/cores/packagemanager/install_uninstall.go:366 msgid "WARNING cannot configure tool: %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:302 -#: internal/arduino/cores/packagemanager/install_uninstall.go:416 +#: internal/arduino/cores/packagemanager/install_uninstall.go:304 +#: internal/arduino/cores/packagemanager/install_uninstall.go:418 msgid "WARNING cannot run pre_uninstall script: %s" msgstr "" -#: internal/cli/compile/compile.go:330 +#: internal/cli/compile/compile.go:339 msgid "WARNING: The sketch is compiled using one or more custom libraries." msgstr "" -#: internal/arduino/builder/libraries.go:283 +#: internal/arduino/builder/libraries.go:284 msgid "" "WARNING: library %[1]s claims to run on %[2]s architecture(s) and may be " "incompatible with your current board which runs on %[3]s architecture(s)." msgstr "" "警告:ライブラリ%[1]sはアーキテクチャ%[2]sに対応したものであり、アーキテクチャ%[3]sで動作するこのボードとは互換性がないかもしれません。" -#: commands/service_upload.go:520 +#: commands/service_upload.go:521 msgid "Waiting for upload port..." msgstr "" -#: commands/service_compile.go:357 +#: commands/service_compile.go:367 msgid "" "Warning: Board %[1]s doesn't define a %[2]s preference. Auto-set to: %[3]s" msgstr "" @@ -2681,7 +2689,7 @@ msgid "" "directory." msgstr "" -#: internal/cli/compile/compile.go:150 internal/cli/compile/compile.go:153 +#: internal/cli/compile/compile.go:153 internal/cli/compile/compile.go:156 msgid "You cannot use the %s flag while compiling with a profile." msgstr "" @@ -2689,11 +2697,11 @@ msgstr "" msgid "archive hash differs from hash in index" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:188 +#: internal/arduino/libraries/librariesmanager/install.go:187 msgid "archive is not valid: multiple files found in zip file top level" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:191 +#: internal/arduino/libraries/librariesmanager/install.go:190 msgid "archive is not valid: no files found in zip file top level" msgstr "" @@ -2717,11 +2725,11 @@ msgstr "" msgid "basic search for \"esp32\" and \"display\" limited to official Maintainer" msgstr "" -#: commands/service_upload.go:791 +#: commands/service_upload.go:792 msgid "binary file not found in %s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:348 +#: internal/arduino/cores/packagemanager/package_manager.go:316 msgid "board %s not found" msgstr "" @@ -2737,11 +2745,11 @@ msgstr "" msgid "can't find latest release of %s" msgstr "" -#: commands/instances.go:272 +#: commands/instances.go:273 msgid "can't find latest release of tool %s" msgstr "" -#: internal/arduino/cores/packagemanager/loader.go:712 +#: internal/arduino/cores/packagemanager/loader.go:709 msgid "can't find pattern for discovery with id %s" msgstr "" @@ -2749,11 +2757,11 @@ msgstr "" msgid "candidates" msgstr "" -#: commands/service_upload.go:737 commands/service_upload.go:744 +#: commands/service_upload.go:738 commands/service_upload.go:745 msgid "cannot execute upload tool: %s" msgstr "" -#: internal/arduino/resources/install.go:40 +#: internal/arduino/resources/install.go:48 msgid "checking local archive integrity" msgstr "" @@ -2779,27 +2787,27 @@ msgstr "" msgid "computing hash: %s" msgstr "" -#: internal/arduino/cores/fqbn.go:81 +#: pkg/fqbn/fqbn.go:83 msgid "config key %s contains an invalid character" msgstr "" -#: internal/arduino/cores/fqbn.go:86 +#: pkg/fqbn/fqbn.go:87 msgid "config value %s contains an invalid character" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:141 +#: internal/arduino/libraries/librariesmanager/install.go:140 msgid "copying library to destination directory:" msgstr "" -#: commands/service_upload.go:863 +#: commands/service_upload.go:864 msgid "could not find a valid build artifact" msgstr "" -#: commands/service_platform_install.go:94 +#: commands/service_platform_install.go:99 msgid "could not overwrite" msgstr "" -#: commands/service_library_install.go:190 +#: commands/service_library_install.go:191 msgid "could not remove old library" msgstr "" @@ -2808,20 +2816,20 @@ msgstr "" msgid "could not update sketch project file" msgstr "" -#: internal/arduino/builder/core.go:116 internal/arduino/builder/core.go:140 +#: internal/arduino/builder/core.go:117 internal/arduino/builder/core.go:141 msgid "creating core cache folder: %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:219 +#: internal/arduino/cores/packagemanager/install_uninstall.go:221 msgid "creating installed.json in %[1]s: %[2]s" msgstr "" -#: internal/arduino/resources/install.go:45 -#: internal/arduino/resources/install.go:49 +#: internal/arduino/resources/install.go:54 +#: internal/arduino/resources/install.go:58 msgid "creating temp dir for extraction: %s" msgstr "" -#: internal/arduino/builder/sizer.go:196 +#: internal/arduino/builder/sizer.go:199 msgid "data section exceeds available space in board" msgstr "" @@ -2829,15 +2837,15 @@ msgstr "" msgid "dependency '%s' is not available" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:94 +#: internal/arduino/libraries/librariesmanager/install.go:93 msgid "destination dir %s already exists, cannot install" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:138 +#: internal/arduino/libraries/librariesmanager/install.go:137 msgid "destination directory already exists" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:278 +#: internal/arduino/libraries/librariesmanager/install.go:305 msgid "directory doesn't exist: %s" msgstr "" @@ -2845,15 +2853,15 @@ msgstr "" msgid "discovery %[1]s process not started" msgstr "" -#: internal/arduino/cores/packagemanager/loader.go:644 +#: internal/arduino/cores/packagemanager/loader.go:641 msgid "discovery %s not found" msgstr "" -#: internal/arduino/cores/packagemanager/loader.go:648 +#: internal/arduino/cores/packagemanager/loader.go:645 msgid "discovery %s not installed" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:746 +#: internal/arduino/cores/packagemanager/package_manager.go:714 msgid "discovery release not found: %s" msgstr "" @@ -2869,11 +2877,11 @@ msgstr "" msgid "downloaded" msgstr "" -#: commands/instances.go:55 +#: commands/instances.go:56 msgid "downloading %[1]s tool: %[2]s" msgstr "" -#: internal/arduino/cores/fqbn.go:60 +#: pkg/fqbn/fqbn.go:63 msgid "empty board identifier" msgstr "" @@ -2881,7 +2889,7 @@ msgstr "" msgid "error loading sketch project file:" msgstr "" -#: internal/arduino/cores/packagemanager/loader.go:615 +#: internal/arduino/cores/packagemanager/loader.go:612 msgid "error opening %s" msgstr "" @@ -2889,19 +2897,19 @@ msgstr "" msgid "error parsing version constraints" msgstr "" -#: commands/service_board_list.go:115 +#: commands/service_board_identify.go:203 msgid "error processing response from server" msgstr "" -#: commands/service_board_list.go:95 +#: commands/service_board_identify.go:183 msgid "error querying Arduino Cloud Api" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:179 +#: internal/arduino/libraries/librariesmanager/install.go:178 msgid "extracting archive" msgstr "" -#: internal/arduino/resources/install.go:68 +#: internal/arduino/resources/install.go:77 msgid "extracting archive: %s" msgstr "" @@ -2909,7 +2917,7 @@ msgstr "" msgid "failed to compute hash of file \"%s\"" msgstr "" -#: commands/service_board_list.go:90 +#: commands/service_board_identify.go:178 msgid "failed to initialize http client" msgstr "" @@ -2917,7 +2925,7 @@ msgstr "" msgid "fetched archive size differs from size specified in index" msgstr "" -#: internal/arduino/resources/install.go:123 +#: internal/arduino/resources/install.go:132 msgid "files in archive must be placed in a subdirectory" msgstr "" @@ -2947,7 +2955,7 @@ msgstr "" msgid "for the specific version." msgstr "" -#: internal/arduino/cores/fqbn.go:66 +#: pkg/fqbn/fqbn.go:68 msgid "fqbn's field %s contains an invalid character" msgstr "" @@ -2971,35 +2979,35 @@ msgstr "" #: internal/arduino/resources/checksums.go:89 #: internal/arduino/resources/download.go:36 #: internal/arduino/resources/helpers.go:39 -#: internal/arduino/resources/install.go:56 +#: internal/arduino/resources/install.go:65 msgid "getting archive path: %s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:354 +#: internal/arduino/cores/packagemanager/package_manager.go:322 msgid "getting build properties for board %[1]s: %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:106 +#: internal/arduino/cores/packagemanager/download.go:108 msgid "getting discovery dependencies for platform %[1]s: %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:114 +#: internal/arduino/cores/packagemanager/download.go:116 msgid "getting monitor dependencies for platform %[1]s: %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:99 +#: internal/arduino/cores/packagemanager/download.go:101 msgid "getting tool dependencies for platform %[1]s: %[2]s" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:149 +#: internal/arduino/libraries/librariesmanager/install.go:148 msgid "install directory not set" msgstr "" -#: commands/instances.go:59 +#: commands/instances.go:60 msgid "installing %[1]s tool: %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:211 +#: internal/arduino/cores/packagemanager/install_uninstall.go:213 msgid "installing platform %[1]s: %[2]s" msgstr "" @@ -3015,7 +3023,7 @@ msgstr "" msgid "invalid checksum format: %s" msgstr "" -#: internal/arduino/cores/fqbn.go:73 internal/arduino/cores/fqbn.go:78 +#: pkg/fqbn/fqbn.go:75 pkg/fqbn/fqbn.go:80 msgid "invalid config option: %s" msgstr "" @@ -3047,11 +3055,14 @@ msgstr "" msgid "invalid empty library version: %s" msgstr "" -#: internal/arduino/cores/board.go:143 +#: internal/arduino/cores/board.go:144 msgid "invalid empty option found" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:268 +#: internal/arduino/libraries/librariesmanager/install.go:276 +#: internal/arduino/libraries/librariesmanager/install.go:279 +#: internal/arduino/libraries/librariesmanager/install.go:286 +#: internal/arduino/libraries/librariesmanager/install.go:290 msgid "invalid git url" msgstr "" @@ -3079,7 +3090,7 @@ msgstr "" msgid "invalid library: no header files found" msgstr "" -#: internal/arduino/cores/board.go:146 +#: internal/arduino/cores/board.go:147 msgid "invalid option '%s'" msgstr "" @@ -3095,10 +3106,6 @@ msgstr "" msgid "invalid path writing inventory file: %[1]s error" msgstr "" -#: internal/arduino/cores/packageindex/index.go:278 -msgid "invalid platform archive size: %s" -msgstr "" - #: internal/arduino/sketch/profiles.go:252 msgid "invalid platform identifier" msgstr "" @@ -3119,7 +3126,7 @@ msgstr "" msgid "invalid port configuration: %s=%s" msgstr "" -#: commands/service_upload.go:724 +#: commands/service_upload.go:725 msgid "invalid recipe '%[1]s': %[2]s" msgstr "" @@ -3130,7 +3137,7 @@ msgid "" "cannot be \".\"." msgstr "" -#: internal/arduino/cores/board.go:150 +#: internal/arduino/cores/board.go:151 msgid "invalid value '%[1]s' for option '%[2]s'" msgstr "" @@ -3170,11 +3177,11 @@ msgstr "" msgid "libraries with a Name exactly matching \"pcf8523\"" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:126 +#: internal/arduino/libraries/librariesmanager/install.go:125 msgid "library %s already installed" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:315 +#: internal/arduino/libraries/librariesmanager/install.go:342 msgid "library not valid" msgstr "" @@ -3188,8 +3195,8 @@ msgstr "" msgid "loading boards: %s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:501 -#: internal/arduino/cores/packagemanager/package_manager.go:516 +#: internal/arduino/cores/packagemanager/package_manager.go:469 +#: internal/arduino/cores/packagemanager/package_manager.go:484 msgid "loading json index file %[1]s: %[2]s" msgstr "" @@ -3218,7 +3225,7 @@ msgstr "" msgid "loading required tool %s" msgstr "" -#: internal/arduino/cores/packagemanager/loader.go:590 +#: internal/arduino/cores/packagemanager/loader.go:587 msgid "loading tool release in %s" msgstr "" @@ -3226,7 +3233,7 @@ msgstr "" msgid "looking for boards.txt in %s" msgstr "" -#: commands/service_upload.go:806 +#: commands/service_upload.go:807 msgid "looking for build artifacts" msgstr "" @@ -3242,7 +3249,7 @@ msgstr "" msgid "missing checksum for: %s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:462 +#: internal/arduino/cores/packagemanager/package_manager.go:430 msgid "missing package %[1]s referenced by board %[2]s" msgstr "" @@ -3250,11 +3257,11 @@ msgstr "" msgid "missing package index for %s, future updates cannot be guaranteed" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:467 +#: internal/arduino/cores/packagemanager/package_manager.go:435 msgid "missing platform %[1]s:%[2]s referenced by board %[3]s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:472 +#: internal/arduino/cores/packagemanager/package_manager.go:440 msgid "missing platform release %[1]s:%[2]s referenced by board %[3]s" msgstr "" @@ -3262,17 +3269,17 @@ msgstr "" msgid "missing signature" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:757 +#: internal/arduino/cores/packagemanager/package_manager.go:725 msgid "monitor release not found: %s" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:197 -#: internal/arduino/libraries/librariesmanager/install.go:246 -#: internal/arduino/resources/install.go:97 +#: internal/arduino/libraries/librariesmanager/install.go:196 +#: internal/arduino/libraries/librariesmanager/install.go:247 +#: internal/arduino/resources/install.go:106 msgid "moving extracted archive to destination dir: %s" msgstr "" -#: commands/service_upload.go:858 +#: commands/service_upload.go:859 msgid "multiple build artifacts found: '%[1]s' and '%[2]s'" msgstr "" @@ -3280,17 +3287,17 @@ msgstr "" msgid "multiple main sketch files found (%[1]v, %[2]v)" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:338 +#: internal/arduino/cores/packagemanager/install_uninstall.go:340 msgid "" "no compatible version of %[1]s tools found for the current os, try " "contacting %[2]s" msgstr "" -#: commands/service_board_list.go:273 +#: commands/service_board_list.go:106 msgid "no instance specified" msgstr "" -#: commands/service_upload.go:813 +#: commands/service_upload.go:814 msgid "no sketch or build directory/file specified" msgstr "" @@ -3298,11 +3305,11 @@ msgstr "" msgid "no such file or directory" msgstr "" -#: internal/arduino/resources/install.go:126 +#: internal/arduino/resources/install.go:135 msgid "no unique root dir in archive, found '%[1]s' and '%[2]s'" msgstr "" -#: commands/service_upload.go:719 +#: commands/service_upload.go:720 msgid "no upload port provided" msgstr "" @@ -3310,11 +3317,11 @@ msgstr "" msgid "no valid sketch found in %[1]s: missing %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:128 +#: internal/arduino/cores/packagemanager/download.go:130 msgid "no versions available for the current OS, try contacting %s" msgstr "" -#: internal/arduino/cores/fqbn.go:50 +#: pkg/fqbn/fqbn.go:53 msgid "not an FQBN: %s" msgstr "" @@ -3323,7 +3330,7 @@ msgid "not running in a terminal" msgstr "" #: internal/arduino/resources/checksums.go:71 -#: internal/arduino/resources/install.go:60 +#: internal/arduino/resources/install.go:69 msgid "opening archive file: %s" msgstr "" @@ -3331,26 +3338,26 @@ msgstr "" msgid "opening boards.txt" msgstr "" -#: internal/arduino/security/signatures.go:81 +#: internal/arduino/security/signatures.go:82 msgid "opening signature file: %s" msgstr "" -#: internal/arduino/security/signatures.go:76 +#: internal/arduino/security/signatures.go:78 msgid "opening target file: %s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:76 +#: internal/arduino/cores/packagemanager/download.go:78 #: internal/arduino/cores/status.go:97 internal/arduino/cores/status.go:122 #: internal/arduino/cores/status.go:149 msgid "package %s not found" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:530 +#: internal/arduino/cores/packagemanager/package_manager.go:498 msgid "package '%s' not found" msgstr "" -#: internal/arduino/cores/board.go:166 -#: internal/arduino/cores/packagemanager/package_manager.go:295 +#: internal/arduino/cores/board.go:167 +#: internal/arduino/cores/packagemanager/package_manager.go:263 msgid "parsing fqbn: %s" msgstr "" @@ -3362,26 +3369,26 @@ msgstr "" msgid "path is not a platform directory: %s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:80 +#: internal/arduino/cores/packagemanager/download.go:82 msgid "platform %[1]s not found in package %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:341 +#: internal/arduino/cores/packagemanager/package_manager.go:309 msgid "platform %s is not installed" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:92 +#: commands/cmderrors/cmderrors.go:427 msgid "platform is not available for your OS" msgstr "" -#: commands/service_compile.go:126 -#: internal/arduino/cores/packagemanager/install_uninstall.go:179 -#: internal/arduino/cores/packagemanager/install_uninstall.go:283 -#: internal/arduino/cores/packagemanager/loader.go:420 +#: commands/service_compile.go:129 +#: internal/arduino/cores/packagemanager/install_uninstall.go:181 +#: internal/arduino/cores/packagemanager/install_uninstall.go:285 +#: internal/arduino/cores/packagemanager/loader.go:417 msgid "platform not installed" msgstr "" -#: internal/cli/compile/compile.go:139 +#: internal/cli/compile/compile.go:142 msgid "please use --build-property instead." msgstr "" @@ -3416,15 +3423,15 @@ msgstr "" #: internal/arduino/cores/packagemanager/loader.go:69 #: internal/arduino/cores/packagemanager/loader.go:151 #: internal/arduino/cores/packagemanager/loader.go:218 -#: internal/arduino/cores/packagemanager/loader.go:582 +#: internal/arduino/cores/packagemanager/loader.go:579 msgid "reading directory %s" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:288 +#: internal/arduino/libraries/librariesmanager/install.go:315 msgid "reading directory %s content" msgstr "" -#: internal/arduino/builder/sketch.go:81 +#: internal/arduino/builder/sketch.go:83 msgid "reading file %[1]s: %[2]s" msgstr "" @@ -3448,7 +3455,7 @@ msgstr "" msgid "reading library_index.json: %s" msgstr "" -#: internal/arduino/resources/install.go:116 +#: internal/arduino/resources/install.go:125 msgid "reading package root dir: %s" msgstr "" @@ -3456,11 +3463,11 @@ msgstr "" msgid "reading sketch files" msgstr "" -#: commands/service_upload.go:713 +#: commands/service_upload.go:714 msgid "recipe not found '%s'" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:606 +#: internal/arduino/cores/packagemanager/package_manager.go:574 msgid "release %[1]s not found for tool %[2]s" msgstr "" @@ -3473,19 +3480,19 @@ msgstr "" msgid "removing corrupted archive file: %s" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:152 +#: internal/arduino/libraries/librariesmanager/install.go:151 msgid "removing library directory: %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:310 +#: internal/arduino/cores/packagemanager/install_uninstall.go:312 msgid "removing platform files: %s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:87 +#: internal/arduino/cores/packagemanager/download.go:89 msgid "required version %[1]s not found for platform %[2]s" msgstr "" -#: internal/arduino/security/signatures.go:72 +#: internal/arduino/security/signatures.go:74 msgid "retrieving Arduino public keys: %s" msgstr "" @@ -3494,10 +3501,14 @@ msgstr "" msgid "scanning sketch examples" msgstr "" -#: internal/arduino/resources/install.go:74 +#: internal/arduino/resources/install.go:83 msgid "searching package root dir: %s" msgstr "" +#: internal/arduino/security/signatures.go:87 +msgid "signature expired: is your system clock set correctly?" +msgstr "" + #: commands/service_sketch_new.go:78 msgid "sketch name cannot be empty" msgstr "" @@ -3535,11 +3546,11 @@ msgstr "" msgid "testing if archive is cached: %s" msgstr "" -#: internal/arduino/resources/install.go:38 +#: internal/arduino/resources/install.go:46 msgid "testing local archive integrity: %s" msgstr "" -#: internal/arduino/builder/sizer.go:191 +#: internal/arduino/builder/sizer.go:194 msgid "text section exceeds available space in board" msgstr "" @@ -3548,7 +3559,7 @@ msgstr "" msgid "the compilation database may be incomplete or inaccurate" msgstr "" -#: commands/service_board_list.go:102 +#: commands/service_board_identify.go:190 msgid "the server responded with status %s" msgstr "" @@ -3556,7 +3567,7 @@ msgstr "" msgid "timeout waiting for message" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:404 +#: internal/arduino/cores/packagemanager/install_uninstall.go:406 msgid "tool %s is not managed by package manager" msgstr "" @@ -3565,16 +3576,16 @@ msgstr "" msgid "tool %s not found" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:556 +#: internal/arduino/cores/packagemanager/package_manager.go:524 msgid "tool '%[1]s' not found in package '%[2]s'" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:399 +#: internal/arduino/cores/packagemanager/install_uninstall.go:401 msgid "tool not installed" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:735 -#: internal/arduino/cores/packagemanager/package_manager.go:841 +#: internal/arduino/cores/packagemanager/package_manager.go:703 +#: internal/arduino/cores/packagemanager/package_manager.go:809 msgid "tool release not found: %s" msgstr "" @@ -3582,21 +3593,21 @@ msgstr "" msgid "tool version %s not found" msgstr "" -#: commands/service_library_install.go:92 +#: commands/service_library_install.go:93 msgid "" "two different versions of the library %[1]s are required: %[2]s and %[3]s" msgstr "" -#: internal/arduino/builder/sketch.go:74 -#: internal/arduino/builder/sketch.go:118 +#: internal/arduino/builder/sketch.go:76 +#: internal/arduino/builder/sketch.go:120 msgid "unable to compute relative path to the sketch for the item" msgstr "" -#: internal/arduino/builder/sketch.go:43 +#: internal/arduino/builder/sketch.go:45 msgid "unable to create a folder to save the sketch" msgstr "" -#: internal/arduino/builder/sketch.go:124 +#: internal/arduino/builder/sketch.go:126 msgid "unable to create the folder containing the item" msgstr "" @@ -3604,23 +3615,23 @@ msgstr "" msgid "unable to marshal config to YAML: %v" msgstr "" -#: internal/arduino/builder/sketch.go:162 +#: internal/arduino/builder/sketch.go:164 msgid "unable to read contents of the destination item" msgstr "" -#: internal/arduino/builder/sketch.go:135 +#: internal/arduino/builder/sketch.go:137 msgid "unable to read contents of the source item" msgstr "" -#: internal/arduino/builder/sketch.go:145 +#: internal/arduino/builder/sketch.go:147 msgid "unable to write to destination file" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:329 +#: internal/arduino/cores/packagemanager/package_manager.go:297 msgid "unknown package %s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:336 +#: internal/arduino/cores/packagemanager/package_manager.go:304 msgid "unknown platform %s:%s" msgstr "" @@ -3640,7 +3651,7 @@ msgstr "" msgid "upgrade everything to the latest version" msgstr "" -#: commands/service_upload.go:759 +#: commands/service_upload.go:760 msgid "uploading error: %s" msgstr "" @@ -3664,6 +3675,6 @@ msgstr "" msgid "version %s not found" msgstr "" -#: commands/service_board_list.go:120 +#: commands/service_board_identify.go:208 msgid "wrong format in server response" msgstr "" diff --git a/internal/i18n/data/kk.po b/internal/locales/data/kk.po similarity index 100% rename from internal/i18n/data/kk.po rename to internal/locales/data/kk.po diff --git a/internal/i18n/data/ko.po b/internal/locales/data/ko.po similarity index 85% rename from internal/i18n/data/ko.po rename to internal/locales/data/ko.po index 753a66b31e7..fd7bfef0223 100644 --- a/internal/i18n/data/ko.po +++ b/internal/locales/data/ko.po @@ -9,7 +9,7 @@ msgstr "" "Language: ko\n" "Plural-Forms: nplurals=1; plural=0;\n" -#: version/version.go:56 +#: internal/version/version.go:56 msgid "%[1]s %[2]s Version: %[3]s Commit: %[4]s Date: %[5]s" msgstr "" @@ -21,11 +21,11 @@ msgstr "" msgid "%[1]s invalid, rebuilding all" msgstr "" -#: internal/cli/lib/check_deps.go:124 +#: internal/cli/lib/check_deps.go:125 msgid "%[1]s is required but %[2]s is currently installed." msgstr "" -#: internal/arduino/builder/builder.go:486 +#: internal/arduino/builder/builder.go:487 msgid "%[1]s pattern is missing" msgstr "%[1]s 패턴이 없습니다" @@ -33,24 +33,24 @@ msgstr "%[1]s 패턴이 없습니다" msgid "%s already downloaded" msgstr "" -#: commands/service_upload.go:781 +#: commands/service_upload.go:782 msgid "%s and %s cannot be used together" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:371 +#: internal/arduino/cores/packagemanager/install_uninstall.go:373 msgid "%s installed" msgstr "" -#: internal/cli/lib/check_deps.go:121 +#: internal/cli/lib/check_deps.go:122 msgid "%s is already installed." msgstr "" #: internal/arduino/cores/packagemanager/loader.go:63 -#: internal/arduino/cores/packagemanager/loader.go:617 +#: internal/arduino/cores/packagemanager/loader.go:614 msgid "%s is not a directory" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:290 +#: internal/arduino/cores/packagemanager/install_uninstall.go:292 msgid "%s is not managed by package manager" msgstr "" @@ -58,20 +58,20 @@ msgstr "" msgid "%s must be >= 1024" msgstr "" -#: internal/cli/lib/check_deps.go:118 +#: internal/cli/lib/check_deps.go:119 msgid "%s must be installed." msgstr "" -#: internal/arduino/builder/internal/preprocessor/ctags.go:192 -#: internal/arduino/builder/internal/preprocessor/gcc.go:62 +#: internal/arduino/builder/internal/preprocessor/ctags.go:193 +#: internal/arduino/builder/internal/preprocessor/gcc.go:63 msgid "%s pattern is missing" msgstr "" -#: commands/cmderrors/cmderrors.go:818 +#: commands/cmderrors/cmderrors.go:839 msgid "'%s' has an invalid signature" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:448 +#: internal/arduino/cores/packagemanager/package_manager.go:416 msgid "" "'build.core' and 'build.variant' refer to different platforms: %[1]s and " "%[2]s" @@ -81,7 +81,7 @@ msgstr "" msgid "(hidden)" msgstr "" -#: internal/arduino/builder/libraries.go:302 +#: internal/arduino/builder/libraries.go:303 msgid "(legacy)" msgstr "(레거시)" @@ -109,7 +109,7 @@ msgstr "" msgid "A new release of Arduino CLI is available:" msgstr "" -#: commands/cmderrors/cmderrors.go:299 +#: commands/cmderrors/cmderrors.go:300 msgid "A programmer is required to upload" msgstr "" @@ -142,7 +142,7 @@ msgstr "" msgid "All the cores are already at the latest version" msgstr "" -#: commands/service_library_install.go:135 +#: commands/service_library_install.go:136 msgid "Already installed %s" msgstr "" @@ -170,7 +170,7 @@ msgstr "" msgid "Archive already exists" msgstr "" -#: internal/arduino/builder/core.go:163 +#: internal/arduino/builder/core.go:164 msgid "Archiving built core (caching) in: %[1]s" msgstr "" @@ -218,7 +218,7 @@ msgstr "" msgid "Author: %s" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:79 +#: internal/arduino/libraries/librariesmanager/install.go:78 msgid "" "Automatic library install can't be performed in this case, please manually " "remove all duplicates and retry." @@ -255,11 +255,11 @@ msgstr "" msgid "Board version:" msgstr "" -#: internal/arduino/builder/sketch.go:243 +#: internal/arduino/builder/sketch.go:245 msgid "Bootloader file specified but missing: %[1]s" msgstr "부트로더 파일이 지정되었으나 누락됨: %[1]s" -#: internal/cli/compile/compile.go:101 +#: internal/cli/compile/compile.go:104 msgid "" "Builds of cores and sketches are saved into this path to be cached and " "reused." @@ -269,25 +269,25 @@ msgstr "" msgid "Can't create data directory %s" msgstr "" -#: commands/cmderrors/cmderrors.go:511 +#: commands/cmderrors/cmderrors.go:532 msgid "Can't create sketch" msgstr "" -#: commands/service_library_download.go:91 -#: commands/service_library_download.go:94 +#: commands/service_library_download.go:95 +#: commands/service_library_download.go:98 msgid "Can't download library" msgstr "" #: commands/service_platform_uninstall.go:89 -#: internal/arduino/cores/packagemanager/install_uninstall.go:136 +#: internal/arduino/cores/packagemanager/install_uninstall.go:138 msgid "Can't find dependencies for platform %s" msgstr "" -#: commands/cmderrors/cmderrors.go:537 +#: commands/cmderrors/cmderrors.go:558 msgid "Can't open sketch" msgstr "" -#: commands/cmderrors/cmderrors.go:524 +#: commands/cmderrors/cmderrors.go:545 msgid "Can't update sketch" msgstr "" @@ -299,11 +299,11 @@ msgstr "" msgid "Can't write debug log: %s" msgstr "" -#: commands/service_compile.go:187 commands/service_compile.go:190 +#: commands/service_compile.go:190 commands/service_compile.go:193 msgid "Cannot create build cache directory" msgstr "" -#: commands/service_compile.go:212 +#: commands/service_compile.go:215 msgid "Cannot create build directory" msgstr "" @@ -315,11 +315,11 @@ msgstr "" msgid "Cannot create config file: %v" msgstr "" -#: commands/cmderrors/cmderrors.go:781 +#: commands/cmderrors/cmderrors.go:802 msgid "Cannot create temp dir" msgstr "" -#: commands/cmderrors/cmderrors.go:799 +#: commands/cmderrors/cmderrors.go:820 msgid "Cannot create temp file" msgstr "" @@ -341,15 +341,15 @@ msgstr "" msgid "Cannot get the configuration key %[1]s: %[2]v" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:143 +#: internal/arduino/cores/packagemanager/install_uninstall.go:145 msgid "Cannot install platform" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:349 +#: internal/arduino/cores/packagemanager/install_uninstall.go:351 msgid "Cannot install tool %s" msgstr "" -#: commands/service_upload.go:543 +#: commands/service_upload.go:544 msgid "Cannot perform port reset: %s" msgstr "" @@ -358,7 +358,7 @@ msgstr "" msgid "Cannot remove the configuration key %[1]s: %[2]v" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:161 +#: internal/arduino/cores/packagemanager/install_uninstall.go:163 msgid "Cannot upgrade platform" msgstr "" @@ -396,27 +396,31 @@ msgid "" "a change." msgstr "" -#: commands/service_debug_config.go:178 commands/service_upload.go:451 +#: commands/service_debug_config.go:178 commands/service_upload.go:452 msgid "Compiled sketch not found in %s" msgstr "" +#: internal/arduino/builder/internal/preprocessor/gcc.go:93 +msgid "Compiler error output has been truncated." +msgstr "" + #: internal/cli/compile/compile.go:80 internal/cli/compile/compile.go:81 msgid "Compiles Arduino sketches." msgstr "" -#: internal/arduino/builder/builder.go:420 +#: internal/arduino/builder/builder.go:421 msgid "Compiling core..." msgstr "" -#: internal/arduino/builder/builder.go:399 +#: internal/arduino/builder/builder.go:400 msgid "Compiling libraries..." msgstr "" -#: internal/arduino/builder/libraries.go:133 +#: internal/arduino/builder/libraries.go:134 msgid "Compiling library \"%[1]s\"" msgstr "" -#: internal/arduino/builder/builder.go:383 +#: internal/arduino/builder/builder.go:384 msgid "Compiling sketch..." msgstr "스케치를 컴파일 중…" @@ -439,11 +443,11 @@ msgid "" "=[,=]..." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:177 +#: internal/arduino/cores/packagemanager/install_uninstall.go:179 msgid "Configuring platform." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:359 +#: internal/arduino/cores/packagemanager/install_uninstall.go:361 msgid "Configuring tool." msgstr "" @@ -459,19 +463,19 @@ msgstr "" msgid "Core" msgstr "" -#: internal/cli/configuration/network.go:103 +#: internal/cli/configuration/network.go:127 msgid "Could not connect via HTTP" msgstr "" -#: commands/instances.go:486 +#: commands/instances.go:487 msgid "Could not create index directory" msgstr "" -#: internal/arduino/builder/core.go:41 +#: internal/arduino/builder/core.go:42 msgid "Couldn't deeply cache core build: %[1]s" msgstr "" -#: internal/arduino/builder/sizer.go:154 +#: internal/arduino/builder/sizer.go:155 msgid "Couldn't determine program size" msgstr "" @@ -483,7 +487,7 @@ msgstr "" msgid "Create a new Sketch" msgstr "" -#: internal/cli/compile/compile.go:98 +#: internal/cli/compile/compile.go:101 msgid "Create and print a profile configuration from the build." msgstr "" @@ -497,7 +501,7 @@ msgid "" "directory with the current configuration settings." msgstr "" -#: internal/cli/compile/compile.go:331 +#: internal/cli/compile/compile.go:340 msgid "" "Currently, Build Profiles only support libraries available through Arduino " "Library Manager." @@ -571,7 +575,7 @@ msgstr "" msgid "Description" msgstr "" -#: internal/arduino/builder/builder.go:313 +#: internal/arduino/builder/builder.go:314 msgid "Detecting libraries used..." msgstr "" @@ -631,7 +635,7 @@ msgstr "" msgid "Do not try to update library dependencies if already installed." msgstr "" -#: commands/service_library_download.go:88 +#: commands/service_library_download.go:92 msgid "Downloading %s" msgstr "" @@ -639,21 +643,21 @@ msgstr "" msgid "Downloading index signature: %s" msgstr "" -#: commands/instances.go:563 commands/instances.go:581 -#: commands/instances.go:595 commands/instances.go:612 +#: commands/instances.go:564 commands/instances.go:582 +#: commands/instances.go:596 commands/instances.go:613 #: internal/arduino/resources/index.go:82 msgid "Downloading index: %s" msgstr "" -#: commands/instances.go:371 +#: commands/instances.go:372 msgid "Downloading library %s" msgstr "" -#: commands/instances.go:53 +#: commands/instances.go:54 msgid "Downloading missing tool %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:96 +#: internal/arduino/cores/packagemanager/install_uninstall.go:98 msgid "Downloading packages" msgstr "" @@ -689,7 +693,7 @@ msgstr "" msgid "Error adding file to sketch archive" msgstr "" -#: internal/arduino/builder/core.go:169 +#: internal/arduino/builder/core.go:170 msgid "Error archiving built core (caching) in %[1]s: %[2]s" msgstr "" @@ -705,11 +709,11 @@ msgstr "" msgid "Error cleaning caches: %v" msgstr "" -#: internal/cli/compile/compile.go:220 +#: internal/cli/compile/compile.go:225 msgid "Error converting path to absolute: %v" msgstr "" -#: commands/service_compile.go:405 +#: commands/service_compile.go:420 msgid "Error copying output file %s" msgstr "" @@ -723,7 +727,7 @@ msgstr "" msgid "Error creating instance: %v" msgstr "" -#: commands/service_compile.go:389 +#: commands/service_compile.go:403 msgid "Error creating output dir" msgstr "" @@ -748,7 +752,7 @@ msgstr "" msgid "Error downloading %s" msgstr "" -#: commands/instances.go:660 internal/arduino/resources/index.go:83 +#: commands/instances.go:661 internal/arduino/resources/index.go:83 msgid "Error downloading index '%s'" msgstr "" @@ -756,7 +760,7 @@ msgstr "" msgid "Error downloading index signature '%s'" msgstr "" -#: commands/instances.go:381 commands/instances.go:387 +#: commands/instances.go:382 commands/instances.go:388 msgid "Error downloading library %s" msgstr "" @@ -765,7 +769,7 @@ msgstr "" msgid "Error downloading platform %s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:127 +#: internal/arduino/cores/packagemanager/download.go:129 #: internal/arduino/cores/packagemanager/profiles.go:179 msgid "Error downloading tool %s" msgstr "" @@ -780,7 +784,7 @@ msgstr "" #: internal/cli/burnbootloader/burnbootloader.go:78 #: internal/cli/burnbootloader/burnbootloader.go:100 -#: internal/cli/compile/compile.go:264 internal/cli/compile/compile.go:306 +#: internal/cli/compile/compile.go:269 internal/cli/compile/compile.go:311 #: internal/cli/upload/upload.go:99 internal/cli/upload/upload.go:128 msgid "Error during Upload: %v" msgstr "" @@ -789,7 +793,7 @@ msgstr "" msgid "Error during board detection" msgstr "" -#: internal/cli/compile/compile.go:379 +#: internal/cli/compile/compile.go:394 msgid "Error during build: %v" msgstr "" @@ -810,7 +814,7 @@ msgstr "" msgid "Error extracting %s" msgstr "" -#: commands/service_upload.go:448 +#: commands/service_upload.go:449 msgid "Error finding build artifacts" msgstr "" @@ -836,7 +840,7 @@ msgid "" "correct sketch folder or provide the --port flag: %s" msgstr "" -#: commands/service_compile.go:328 commands/service_library_list.go:115 +#: commands/service_compile.go:338 commands/service_library_list.go:115 msgid "Error getting information for library %s" msgstr "" @@ -872,7 +876,7 @@ msgstr "" msgid "Error installing Zip Library: %v" msgstr "" -#: commands/instances.go:397 +#: commands/instances.go:398 msgid "Error installing library %s" msgstr "" @@ -899,7 +903,7 @@ msgstr "" msgid "Error listing platforms: %v" msgstr "" -#: commands/cmderrors/cmderrors.go:424 +#: commands/cmderrors/cmderrors.go:445 msgid "Error loading hardware platform" msgstr "" @@ -916,15 +920,15 @@ msgstr "" msgid "Error opening debug logging file: %s" msgstr "" -#: internal/cli/compile/compile.go:193 +#: internal/cli/compile/compile.go:196 msgid "Error opening source code overrides data file: %v" msgstr "" -#: internal/cli/compile/compile.go:206 +#: internal/cli/compile/compile.go:209 msgid "Error parsing --show-properties flag: %v" msgstr "" -#: commands/service_compile.go:398 +#: commands/service_compile.go:412 msgid "Error reading build directory" msgstr "" @@ -940,7 +944,7 @@ msgstr "" msgid "Error retrieving core list: %v" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:158 +#: internal/arduino/cores/packagemanager/install_uninstall.go:160 msgid "Error rolling-back changes: %s" msgstr "" @@ -994,7 +998,7 @@ msgstr "" msgid "Error upgrading libraries" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:153 +#: internal/arduino/cores/packagemanager/install_uninstall.go:155 msgid "Error upgrading platform: %s" msgstr "" @@ -1007,10 +1011,10 @@ msgstr "" msgid "Error while detecting libraries included by %[1]s" msgstr "" -#: internal/arduino/builder/sizer.go:79 internal/arduino/builder/sizer.go:88 -#: internal/arduino/builder/sizer.go:91 internal/arduino/builder/sizer.go:110 -#: internal/arduino/builder/sizer.go:215 internal/arduino/builder/sizer.go:225 -#: internal/arduino/builder/sizer.go:229 +#: internal/arduino/builder/sizer.go:80 internal/arduino/builder/sizer.go:89 +#: internal/arduino/builder/sizer.go:92 internal/arduino/builder/sizer.go:111 +#: internal/arduino/builder/sizer.go:218 internal/arduino/builder/sizer.go:228 +#: internal/arduino/builder/sizer.go:232 msgid "Error while determining sketch size: %s" msgstr "" @@ -1026,7 +1030,7 @@ msgstr "" msgid "Error: command description is not supported by %v" msgstr "" -#: internal/cli/compile/compile.go:199 +#: internal/cli/compile/compile.go:202 msgid "Error: invalid source code overrides data file: %v" msgstr "" @@ -1046,7 +1050,7 @@ msgstr "" msgid "Executable to debug" msgstr "" -#: commands/service_debug_config.go:181 commands/service_upload.go:454 +#: commands/service_debug_config.go:181 commands/service_upload.go:455 msgid "Expected compiled sketch in directory %s, but is a file instead" msgstr "" @@ -1060,23 +1064,23 @@ msgstr "" msgid "FQBN:" msgstr "" -#: commands/service_upload.go:577 +#: commands/service_upload.go:578 msgid "Failed chip erase" msgstr "" -#: commands/service_upload.go:584 +#: commands/service_upload.go:585 msgid "Failed programming" msgstr "" -#: commands/service_upload.go:580 +#: commands/service_upload.go:581 msgid "Failed to burn bootloader" msgstr "" -#: commands/instances.go:87 +#: commands/instances.go:88 msgid "Failed to create data directory" msgstr "" -#: commands/instances.go:76 +#: commands/instances.go:77 msgid "Failed to create downloads directory" msgstr "" @@ -1096,7 +1100,7 @@ msgstr "" msgid "Failed to listen on TCP port: %s. Address already in use." msgstr "" -#: commands/service_upload.go:588 +#: commands/service_upload.go:589 msgid "Failed uploading" msgstr "" @@ -1104,7 +1108,7 @@ msgstr "" msgid "File:" msgstr "" -#: commands/service_compile.go:160 +#: commands/service_compile.go:163 msgid "" "Firmware encryption/signing requires all the following properties to be " "defined: %s" @@ -1143,7 +1147,7 @@ msgid "" "Force skip of pre-uninstall scripts (if the CLI is running interactively)." msgstr "" -#: commands/cmderrors/cmderrors.go:839 +#: commands/cmderrors/cmderrors.go:860 msgid "Found %d platforms matching \"%s\": %s" msgstr "" @@ -1168,7 +1172,7 @@ msgstr "" msgid "Generates completion scripts for various shells" msgstr "" -#: internal/arduino/builder/builder.go:333 +#: internal/arduino/builder/builder.go:334 msgid "Generating function prototypes..." msgstr "" @@ -1180,14 +1184,14 @@ msgstr "" msgid "Global Flags:" msgstr "" -#: internal/arduino/builder/sizer.go:164 +#: internal/arduino/builder/sizer.go:166 msgid "" "Global variables use %[1]s bytes (%[3]s%%) of dynamic memory, leaving %[4]s " "bytes for local variables. Maximum is %[2]s bytes." msgstr "" "전역 변수는 동적 메모리 %[1]s바이트(%[3]s%%)를 사용, %[4]s바이트의 지역변수가 남음. 최대는 %[2]s 바이트." -#: internal/arduino/builder/sizer.go:170 +#: internal/arduino/builder/sizer.go:172 msgid "Global variables use %[1]s bytes of dynamic memory." msgstr "전역 변수는 %[1]s 바이트의 동적 메모리를 사용." @@ -1205,7 +1209,7 @@ msgstr "" msgid "Identification properties:" msgstr "" -#: internal/cli/compile/compile.go:132 +#: internal/cli/compile/compile.go:135 msgid "If set built binaries will be exported to the sketch folder." msgstr "" @@ -1232,20 +1236,20 @@ msgstr "" msgid "Installed" msgstr "설치됨" -#: commands/service_library_install.go:200 +#: commands/service_library_install.go:201 msgid "Installed %s" msgstr "" -#: commands/service_library_install.go:183 -#: internal/arduino/cores/packagemanager/install_uninstall.go:333 +#: commands/service_library_install.go:184 +#: internal/arduino/cores/packagemanager/install_uninstall.go:335 msgid "Installing %s" msgstr "" -#: commands/instances.go:395 +#: commands/instances.go:396 msgid "Installing library %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:119 +#: internal/arduino/cores/packagemanager/install_uninstall.go:121 #: internal/arduino/cores/packagemanager/profiles.go:134 msgid "Installing platform %s" msgstr "" @@ -1266,11 +1270,11 @@ msgstr "" msgid "Internal error in cache" msgstr "" -#: commands/cmderrors/cmderrors.go:377 +#: commands/cmderrors/cmderrors.go:378 msgid "Invalid '%[1]s' property: %[2]s" msgstr "" -#: commands/cmderrors/cmderrors.go:60 +#: commands/cmderrors/cmderrors.go:61 msgid "Invalid FQBN" msgstr "" @@ -1278,11 +1282,11 @@ msgstr "" msgid "Invalid TCP address: port is missing" msgstr "" -#: commands/cmderrors/cmderrors.go:78 +#: commands/cmderrors/cmderrors.go:79 msgid "Invalid URL" msgstr "" -#: commands/instances.go:183 +#: commands/instances.go:184 msgid "Invalid additional URL: %v" msgstr "" @@ -1296,23 +1300,23 @@ msgstr "" msgid "Invalid argument passed: %v" msgstr "" -#: commands/service_compile.go:272 +#: commands/service_compile.go:282 msgid "Invalid build properties" msgstr "" -#: internal/arduino/builder/sizer.go:250 +#: internal/arduino/builder/sizer.go:253 msgid "Invalid data size regexp: %s" msgstr "" -#: internal/arduino/builder/sizer.go:256 +#: internal/arduino/builder/sizer.go:259 msgid "Invalid eeprom size regexp: %s" msgstr "" -#: commands/instances.go:596 +#: commands/instances.go:597 msgid "Invalid index URL: %s" msgstr "" -#: commands/cmderrors/cmderrors.go:46 +#: commands/cmderrors/cmderrors.go:47 msgid "Invalid instance" msgstr "" @@ -1320,7 +1324,7 @@ msgstr "" msgid "Invalid item %s" msgstr "" -#: commands/cmderrors/cmderrors.go:96 +#: commands/cmderrors/cmderrors.go:97 msgid "Invalid library" msgstr "" @@ -1328,11 +1332,11 @@ msgstr "" msgid "Invalid logging level: %s" msgstr "" -#: commands/instances.go:613 +#: commands/instances.go:614 msgid "Invalid network configuration: %s" msgstr "" -#: internal/cli/configuration/network.go:66 +#: internal/cli/configuration/network.go:83 msgid "Invalid network.proxy '%[1]s': %[2]s" msgstr "" @@ -1340,7 +1344,7 @@ msgstr "" msgid "Invalid output format: %s" msgstr "" -#: commands/instances.go:580 +#: commands/instances.go:581 msgid "Invalid package index in %s" msgstr "" @@ -1348,35 +1352,35 @@ msgstr "" msgid "Invalid parameter %s: version not allowed" msgstr "" -#: commands/service_board_list.go:81 +#: commands/service_board_identify.go:169 msgid "Invalid pid value: '%s'" msgstr "" -#: commands/cmderrors/cmderrors.go:220 +#: commands/cmderrors/cmderrors.go:221 msgid "Invalid profile" msgstr "" -#: commands/service_monitor.go:269 +#: commands/service_monitor.go:270 msgid "Invalid recipe in platform.txt" msgstr "" -#: internal/arduino/builder/sizer.go:240 +#: internal/arduino/builder/sizer.go:243 msgid "Invalid size regexp: %s" msgstr "" -#: main.go:85 +#: main.go:86 msgid "Invalid value in configuration" msgstr "" -#: commands/cmderrors/cmderrors.go:114 +#: commands/cmderrors/cmderrors.go:115 msgid "Invalid version" msgstr "" -#: commands/service_board_list.go:78 +#: commands/service_board_identify.go:166 msgid "Invalid vid value: '%s'" msgstr "" -#: internal/cli/compile/compile.go:129 +#: internal/cli/compile/compile.go:132 msgid "" "Just produce the compilation database, without actually compiling. All build" " commands are skipped except pre* hooks." @@ -1399,12 +1403,12 @@ msgstr "" msgid "Latest" msgstr "" -#: internal/arduino/builder/libraries.go:91 +#: internal/arduino/builder/libraries.go:92 msgid "Library %[1]s has been declared precompiled:" msgstr "" -#: commands/service_library_install.go:141 -#: internal/arduino/libraries/librariesmanager/install.go:131 +#: commands/service_library_install.go:142 +#: internal/arduino/libraries/librariesmanager/install.go:130 msgid "" "Library %[1]s is already installed, but with a different version: %[2]s" msgstr "" @@ -1417,11 +1421,11 @@ msgstr "" msgid "Library %s is not installed" msgstr "" -#: commands/instances.go:374 +#: commands/instances.go:375 msgid "Library %s not found" msgstr "" -#: commands/cmderrors/cmderrors.go:445 +#: commands/cmderrors/cmderrors.go:466 msgid "Library '%s' not found" msgstr "" @@ -1430,12 +1434,12 @@ msgid "" "Library can't use both '%[1]s' and '%[2]s' folders. Double check in '%[3]s'." msgstr "" -#: commands/cmderrors/cmderrors.go:574 +#: commands/cmderrors/cmderrors.go:595 msgid "Library install failed" msgstr "" -#: commands/service_library_install.go:234 -#: commands/service_library_install.go:274 +#: commands/service_library_install.go:235 +#: commands/service_library_install.go:275 msgid "Library installed" msgstr "" @@ -1443,7 +1447,7 @@ msgstr "" msgid "License: %s" msgstr "" -#: internal/arduino/builder/builder.go:436 +#: internal/arduino/builder/builder.go:437 msgid "Linking everything together..." msgstr "" @@ -1467,7 +1471,7 @@ msgid "" " multiple options." msgstr "" -#: internal/cli/compile/compile.go:107 +#: internal/cli/compile/compile.go:110 msgid "" "List of custom build properties separated by commas. Or can be used multiple" " times for multiple properties." @@ -1489,8 +1493,8 @@ msgstr "" msgid "Lists cores and libraries that can be upgraded" msgstr "" -#: commands/instances.go:221 commands/instances.go:232 -#: commands/instances.go:342 +#: commands/instances.go:222 commands/instances.go:233 +#: commands/instances.go:343 msgid "Loading index file: %v" msgstr "" @@ -1498,7 +1502,7 @@ msgstr "" msgid "Location" msgstr "" -#: internal/arduino/builder/sizer.go:205 +#: internal/arduino/builder/sizer.go:208 msgid "Low memory available, stability problems may occur." msgstr "사용 가능한 메모리 부족, 안정성에 문제가 생길 수 있습니다." @@ -1506,7 +1510,7 @@ msgstr "사용 가능한 메모리 부족, 안정성에 문제가 생길 수 있 msgid "Maintainer: %s" msgstr "" -#: internal/cli/compile/compile.go:137 +#: internal/cli/compile/compile.go:140 msgid "" "Max number of parallel compiles. If set to 0 the number of available CPUs " "cores will be used." @@ -1525,23 +1529,23 @@ msgstr "" msgid "Missing '%[1]s' from library in %[2]s" msgstr "라이브러리 %[2]s에서 '%[1]s'가 없음" -#: commands/cmderrors/cmderrors.go:169 +#: commands/cmderrors/cmderrors.go:170 msgid "Missing FQBN (Fully Qualified Board Name)" msgstr "" -#: commands/cmderrors/cmderrors.go:260 +#: commands/cmderrors/cmderrors.go:261 msgid "Missing port" msgstr "" -#: commands/cmderrors/cmderrors.go:236 +#: commands/cmderrors/cmderrors.go:237 msgid "Missing port address" msgstr "" -#: commands/cmderrors/cmderrors.go:248 +#: commands/cmderrors/cmderrors.go:249 msgid "Missing port protocol" msgstr "" -#: commands/cmderrors/cmderrors.go:286 +#: commands/cmderrors/cmderrors.go:287 msgid "Missing programmer" msgstr "" @@ -1549,15 +1553,15 @@ msgstr "" msgid "Missing required upload field: %s" msgstr "" -#: internal/arduino/builder/sizer.go:244 +#: internal/arduino/builder/sizer.go:247 msgid "Missing size regexp" msgstr "" -#: commands/cmderrors/cmderrors.go:497 +#: commands/cmderrors/cmderrors.go:518 msgid "Missing sketch path" msgstr "" -#: commands/cmderrors/cmderrors.go:358 +#: commands/cmderrors/cmderrors.go:359 msgid "Monitor '%s' not found" msgstr "" @@ -1613,7 +1617,7 @@ msgstr "" msgid "No libraries update is available." msgstr "" -#: commands/cmderrors/cmderrors.go:274 +#: commands/cmderrors/cmderrors.go:275 msgid "No monitor available for the port protocol %s" msgstr "" @@ -1629,15 +1633,15 @@ msgstr "" msgid "No platforms matching your search." msgstr "" -#: commands/service_upload.go:533 +#: commands/service_upload.go:534 msgid "No upload port found, using %s as fallback" msgstr "" -#: commands/cmderrors/cmderrors.go:464 +#: commands/cmderrors/cmderrors.go:485 msgid "No valid dependencies solution found" msgstr "" -#: internal/arduino/builder/sizer.go:195 +#: internal/arduino/builder/sizer.go:198 msgid "Not enough memory; see %[1]s for tips on reducing your footprint." msgstr "메모리가 충분하지 않음; 메모리를 줄이기 위한 팁을 위해 다음 링크를 참고하세요%[1]s" @@ -1667,35 +1671,35 @@ msgstr "" msgid "Option:" msgstr "" -#: internal/cli/compile/compile.go:117 +#: internal/cli/compile/compile.go:120 msgid "" "Optional, can be: %s. Used to tell gcc which warning level to use (-W flag)." msgstr "" -#: internal/cli/compile/compile.go:130 +#: internal/cli/compile/compile.go:133 msgid "Optional, cleanup the build folder and do not use any cached build." msgstr "" -#: internal/cli/compile/compile.go:127 +#: internal/cli/compile/compile.go:130 msgid "" "Optional, optimize compile output for debugging, rather than for release." msgstr "" -#: internal/cli/compile/compile.go:119 +#: internal/cli/compile/compile.go:122 msgid "Optional, suppresses almost every output." msgstr "" -#: internal/cli/compile/compile.go:118 internal/cli/upload/upload.go:79 +#: internal/cli/compile/compile.go:121 internal/cli/upload/upload.go:79 msgid "Optional, turns on verbose mode." msgstr "" -#: internal/cli/compile/compile.go:133 +#: internal/cli/compile/compile.go:136 msgid "" "Optional. Path to a .json file that contains a set of replacements of the " "sketch source code." msgstr "" -#: internal/cli/compile/compile.go:109 +#: internal/cli/compile/compile.go:112 msgid "" "Override a build property with a custom value. Can be used multiple times " "for multiple properties." @@ -1755,17 +1759,17 @@ msgstr "" msgid "Paragraph: %s" msgstr "" -#: internal/cli/compile/compile.go:454 internal/cli/compile/compile.go:469 +#: internal/cli/compile/compile.go:473 internal/cli/compile/compile.go:488 msgid "Path" msgstr "" -#: internal/cli/compile/compile.go:126 +#: internal/cli/compile/compile.go:129 msgid "" "Path to a collection of libraries. Can be used multiple times or entries can" " be comma separated." msgstr "" -#: internal/cli/compile/compile.go:124 +#: internal/cli/compile/compile.go:127 msgid "" "Path to a single library’s root folder. Can be used multiple times or " "entries can be comma separated." @@ -1775,40 +1779,44 @@ msgstr "" msgid "Path to the file where logs will be written." msgstr "" -#: internal/cli/compile/compile.go:105 +#: internal/cli/compile/compile.go:108 msgid "" "Path where to save compiled files. If omitted, a directory will be created " "in the default temporary path of your OS." msgstr "" -#: commands/service_upload.go:514 +#: commands/service_upload.go:515 msgid "Performing 1200-bps touch reset on serial port %s" msgstr "" -#: commands/service_platform_install.go:86 -#: commands/service_platform_install.go:93 +#: commands/service_platform_install.go:91 +#: commands/service_platform_install.go:98 msgid "Platform %s already installed" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:194 +#: internal/arduino/cores/packagemanager/install_uninstall.go:196 msgid "Platform %s installed" msgstr "" -#: internal/cli/compile/compile.go:402 internal/cli/upload/upload.go:148 +#: internal/cli/compile/compile.go:417 internal/cli/upload/upload.go:148 msgid "" "Platform %s is not found in any known index\n" "Maybe you need to add a 3rd party URL?" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:318 +#: internal/arduino/cores/packagemanager/install_uninstall.go:320 msgid "Platform %s uninstalled" msgstr "" -#: commands/cmderrors/cmderrors.go:482 +#: commands/cmderrors/cmderrors.go:427 +msgid "Platform '%s'" +msgstr "" + +#: commands/cmderrors/cmderrors.go:503 msgid "Platform '%s' is already at the latest version" msgstr "" -#: commands/cmderrors/cmderrors.go:406 +#: commands/cmderrors/cmderrors.go:407 msgid "Platform '%s' not found" msgstr "" @@ -1816,7 +1824,7 @@ msgstr "" msgid "Platform ID" msgstr "" -#: internal/cli/compile/compile.go:387 internal/cli/upload/upload.go:136 +#: internal/cli/compile/compile.go:402 internal/cli/upload/upload.go:136 msgid "Platform ID is not correct" msgstr "" @@ -1848,13 +1856,13 @@ msgstr "" msgid "Platform size (bytes):" msgstr "" -#: commands/cmderrors/cmderrors.go:153 +#: commands/cmderrors/cmderrors.go:154 msgid "" "Please specify an FQBN. Multiple possible boards detected on port %[1]s with" " protocol %[2]s" msgstr "" -#: commands/cmderrors/cmderrors.go:133 +#: commands/cmderrors/cmderrors.go:134 msgid "" "Please specify an FQBN. The board on port %[1]s with protocol %[2]s can't be" " identified" @@ -1868,12 +1876,12 @@ msgstr "포트" msgid "Port closed: %v" msgstr "" -#: commands/cmderrors/cmderrors.go:668 +#: commands/cmderrors/cmderrors.go:689 msgid "Port monitor error" msgstr "" -#: internal/arduino/builder/libraries.go:101 -#: internal/arduino/builder/libraries.go:109 +#: internal/arduino/builder/libraries.go:102 +#: internal/arduino/builder/libraries.go:110 msgid "Precompiled library in \"%[1]s\" not found" msgstr "" @@ -1881,7 +1889,7 @@ msgstr "" msgid "Print details about a board." msgstr "" -#: internal/cli/compile/compile.go:100 +#: internal/cli/compile/compile.go:103 msgid "Print preprocessed code to stdout instead of compiling." msgstr "" @@ -1901,11 +1909,11 @@ msgstr "" msgid "Prints the current configuration." msgstr "" -#: commands/cmderrors/cmderrors.go:202 +#: commands/cmderrors/cmderrors.go:203 msgid "Profile '%s' not found" msgstr "" -#: commands/cmderrors/cmderrors.go:339 +#: commands/cmderrors/cmderrors.go:340 msgid "Programmer '%s' not found" msgstr "" @@ -1921,7 +1929,7 @@ msgstr "" msgid "Programmers:" msgstr "" -#: commands/cmderrors/cmderrors.go:391 +#: commands/cmderrors/cmderrors.go:392 msgid "Property '%s' is undefined" msgstr "" @@ -1937,11 +1945,11 @@ msgstr "" msgid "Removes one or more values from a setting." msgstr "" -#: commands/service_library_install.go:187 +#: commands/service_library_install.go:188 msgid "Replacing %[1]s with %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:123 +#: internal/arduino/cores/packagemanager/install_uninstall.go:125 msgid "Replacing platform %[1]s with %[2]s" msgstr "" @@ -1957,12 +1965,12 @@ msgstr "" msgid "Run the Arduino CLI as a gRPC daemon." msgstr "" -#: internal/arduino/builder/core.go:42 +#: internal/arduino/builder/core.go:43 msgid "Running normal build of the core..." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:297 -#: internal/arduino/cores/packagemanager/install_uninstall.go:411 +#: internal/arduino/cores/packagemanager/install_uninstall.go:299 +#: internal/arduino/cores/packagemanager/install_uninstall.go:413 msgid "Running pre_uninstall script." msgstr "" @@ -1974,7 +1982,7 @@ msgstr "" msgid "SVD file path" msgstr "" -#: internal/cli/compile/compile.go:103 +#: internal/cli/compile/compile.go:106 msgid "Save build artifacts in this directory." msgstr "" @@ -2186,7 +2194,7 @@ msgstr "" msgid "Size (bytes):" msgstr "" -#: commands/service_compile.go:276 +#: commands/service_compile.go:286 msgid "" "Sketch cannot be located in build path. Please specify a different build " "path" @@ -2200,11 +2208,11 @@ msgstr "" msgid "Sketch profile to use" msgstr "" -#: internal/arduino/builder/sizer.go:190 +#: internal/arduino/builder/sizer.go:193 msgid "Sketch too big; see %[1]s for tips on reducing it." msgstr "스케치가 너무 큼; 이것을 줄이기 위해 다음을 참고하세요. %[1]s" -#: internal/arduino/builder/sizer.go:158 +#: internal/arduino/builder/sizer.go:160 msgid "" "Sketch uses %[1]s bytes (%[3]s%%) of program storage space. Maximum is %[2]s" " bytes." @@ -2216,19 +2224,19 @@ msgid "" "files to .ino:" msgstr "" -#: internal/arduino/builder/linker.go:30 +#: internal/arduino/builder/linker.go:31 msgid "Skip linking of final executable." msgstr "" -#: commands/service_upload.go:507 +#: commands/service_upload.go:508 msgid "Skipping 1200-bps touch reset: no serial port selected!" msgstr "" -#: internal/arduino/builder/archive_compiled_files.go:27 +#: internal/arduino/builder/archive_compiled_files.go:28 msgid "Skipping archive creation of: %[1]s" msgstr "" -#: internal/arduino/builder/compilation.go:183 +#: internal/arduino/builder/compilation.go:184 msgid "Skipping compile of: %[1]s" msgstr "" @@ -2236,16 +2244,16 @@ msgstr "" msgid "Skipping dependencies detection for precompiled library %[1]s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:190 +#: internal/arduino/cores/packagemanager/install_uninstall.go:192 msgid "Skipping platform configuration." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:306 -#: internal/arduino/cores/packagemanager/install_uninstall.go:420 +#: internal/arduino/cores/packagemanager/install_uninstall.go:308 +#: internal/arduino/cores/packagemanager/install_uninstall.go:422 msgid "Skipping pre_uninstall script." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:368 +#: internal/arduino/cores/packagemanager/install_uninstall.go:370 msgid "Skipping tool configuration." msgstr "" @@ -2253,7 +2261,7 @@ msgstr "" msgid "Skipping: %[1]s" msgstr "" -#: commands/instances.go:633 +#: commands/instances.go:634 msgid "Some indexes could not be updated." msgstr "" @@ -2273,7 +2281,7 @@ msgstr "" msgid "The custom config file (if not specified the default will be used)." msgstr "" -#: internal/cli/compile/compile.go:90 +#: internal/cli/compile/compile.go:93 msgid "" "The flag --build-cache-path has been deprecated. Please use just --build-" "path alone or configure the build cache path in the Arduino CLI settings." @@ -2291,7 +2299,7 @@ msgstr "" msgid "The given board/programmer configuration supports debugging." msgstr "" -#: commands/cmderrors/cmderrors.go:876 +#: commands/cmderrors/cmderrors.go:897 msgid "The instance is no longer valid and needs to be reinitialized" msgstr "" @@ -2307,17 +2315,17 @@ msgid "" "Maybe use '%[2]s'?" msgstr "" -#: commands/cmderrors/cmderrors.go:858 +#: commands/cmderrors/cmderrors.go:879 msgid "The library %s has multiple installations:" msgstr "" -#: internal/cli/compile/compile.go:115 +#: internal/cli/compile/compile.go:118 msgid "" "The name of the custom encryption key to use to encrypt a binary during the " "compile process. Used only by the platforms that support it." msgstr "" -#: internal/cli/compile/compile.go:113 +#: internal/cli/compile/compile.go:116 msgid "" "The name of the custom signing key to use to sign a binary during the " "compile process. Used only by the platforms that support it." @@ -2327,13 +2335,13 @@ msgstr "" msgid "The output format for the logs, can be: %s" msgstr "" -#: internal/cli/compile/compile.go:111 +#: internal/cli/compile/compile.go:114 msgid "" "The path of the dir to search for the custom keys to sign and encrypt a " "binary. Used only by the platforms that support it." msgstr "" -#: internal/arduino/builder/libraries.go:151 +#: internal/arduino/builder/libraries.go:152 msgid "The platform does not support '%[1]s' for precompiled libraries." msgstr "" @@ -2355,12 +2363,12 @@ msgstr "" msgid "Timestamp each incoming line." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:89 -#: internal/arduino/cores/packagemanager/install_uninstall.go:328 +#: internal/arduino/cores/packagemanager/install_uninstall.go:91 +#: internal/arduino/cores/packagemanager/install_uninstall.go:330 msgid "Tool %s already installed" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:432 +#: internal/arduino/cores/packagemanager/install_uninstall.go:434 msgid "Tool %s uninstalled" msgstr "" @@ -2380,7 +2388,7 @@ msgstr "" msgid "Toolchain type" msgstr "" -#: internal/cli/compile/compile.go:400 internal/cli/upload/upload.go:146 +#: internal/cli/compile/compile.go:415 internal/cli/upload/upload.go:146 msgid "Try running %s" msgstr "" @@ -2400,7 +2408,7 @@ msgstr "" msgid "URL:" msgstr "" -#: internal/arduino/builder/core.go:165 +#: internal/arduino/builder/core.go:166 msgid "" "Unable to cache built core, please tell %[1]s maintainers to follow %[2]s" msgstr "" @@ -2422,17 +2430,17 @@ msgstr "" msgid "Unable to open file for logging: %s" msgstr "" -#: commands/instances.go:562 +#: commands/instances.go:563 msgid "Unable to parse URL" msgstr "" #: commands/service_library_uninstall.go:71 -#: internal/arduino/cores/packagemanager/install_uninstall.go:280 +#: internal/arduino/cores/packagemanager/install_uninstall.go:282 msgid "Uninstalling %s" msgstr "" #: commands/service_platform_uninstall.go:99 -#: internal/arduino/cores/packagemanager/install_uninstall.go:166 +#: internal/arduino/cores/packagemanager/install_uninstall.go:168 msgid "Uninstalling %s, tool is no more required" msgstr "" @@ -2450,7 +2458,7 @@ msgstr "" msgid "Unknown" msgstr "" -#: commands/cmderrors/cmderrors.go:183 +#: commands/cmderrors/cmderrors.go:184 msgid "Unknown FQBN" msgstr "" @@ -2478,7 +2486,7 @@ msgstr "" msgid "Updates the libraries index." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:45 +#: internal/arduino/cores/packagemanager/install_uninstall.go:47 msgid "Upgrade doesn't accept parameters with version" msgstr "" @@ -2511,7 +2519,7 @@ msgstr "" msgid "Upload port address, e.g.: COM3 or /dev/ttyACM2" msgstr "" -#: commands/service_upload.go:531 +#: commands/service_upload.go:532 msgid "Upload port found on %s" msgstr "" @@ -2519,7 +2527,7 @@ msgstr "" msgid "Upload port protocol, e.g: serial" msgstr "" -#: internal/cli/compile/compile.go:120 +#: internal/cli/compile/compile.go:123 msgid "Upload the binary after the compilation." msgstr "" @@ -2531,7 +2539,7 @@ msgstr "" msgid "Upload the bootloader." msgstr "" -#: internal/cli/compile/compile.go:269 internal/cli/upload/upload.go:167 +#: internal/cli/compile/compile.go:274 internal/cli/upload/upload.go:167 msgid "" "Uploading to specified board using %s protocol requires the following info:" msgstr "" @@ -2550,11 +2558,11 @@ msgstr "" msgid "Use %s for more information about a command." msgstr "" -#: internal/cli/compile/compile.go:452 +#: internal/cli/compile/compile.go:471 msgid "Used library" msgstr "" -#: internal/cli/compile/compile.go:467 +#: internal/cli/compile/compile.go:486 msgid "Used platform" msgstr "" @@ -2562,7 +2570,7 @@ msgstr "" msgid "Used: %[1]s" msgstr "사용됨: %[1]s" -#: commands/service_compile.go:351 +#: commands/service_compile.go:361 msgid "Using board '%[1]s' from platform in folder: %[2]s" msgstr "" @@ -2570,7 +2578,7 @@ msgstr "" msgid "Using cached library dependencies for file: %[1]s" msgstr "" -#: commands/service_compile.go:352 +#: commands/service_compile.go:362 msgid "Using core '%[1]s' from platform in folder: %[2]s" msgstr "" @@ -2584,25 +2592,25 @@ msgid "" "WARNING: Your board may require different settings to work!\n" msgstr "" -#: internal/arduino/builder/libraries.go:312 +#: internal/arduino/builder/libraries.go:313 msgid "Using library %[1]s at version %[2]s in folder: %[3]s %[4]s" msgstr "라이브러리 %[1]s를 버전 %[2]s 폴더: %[3]s %[4]s 에서 사용" -#: internal/arduino/builder/libraries.go:306 +#: internal/arduino/builder/libraries.go:307 msgid "Using library %[1]s in folder: %[2]s %[3]s" msgstr "폴더:%[2]s %[3]s의 라이브러리 %[1]s 사용" -#: internal/arduino/builder/core.go:120 internal/arduino/builder/core.go:132 +#: internal/arduino/builder/core.go:121 internal/arduino/builder/core.go:133 msgid "Using precompiled core: %[1]s" msgstr "" -#: internal/arduino/builder/libraries.go:98 -#: internal/arduino/builder/libraries.go:106 +#: internal/arduino/builder/libraries.go:99 +#: internal/arduino/builder/libraries.go:107 msgid "Using precompiled library in %[1]s" msgstr "" -#: internal/arduino/builder/archive_compiled_files.go:50 -#: internal/arduino/builder/compilation.go:181 +#: internal/arduino/builder/archive_compiled_files.go:51 +#: internal/arduino/builder/compilation.go:182 msgid "Using previously compiled file: %[1]s" msgstr "이전에 컴파일된 파일: %[1]s 사용" @@ -2619,11 +2627,11 @@ msgid "Values" msgstr "" #: internal/cli/burnbootloader/burnbootloader.go:62 -#: internal/cli/compile/compile.go:122 internal/cli/upload/upload.go:78 +#: internal/cli/compile/compile.go:125 internal/cli/upload/upload.go:78 msgid "Verify uploaded binary after the upload." msgstr "" -#: internal/cli/compile/compile.go:453 internal/cli/compile/compile.go:468 +#: internal/cli/compile/compile.go:472 internal/cli/compile/compile.go:487 #: internal/cli/core/search.go:117 msgid "Version" msgstr "" @@ -2632,35 +2640,35 @@ msgstr "" msgid "Versions: %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:185 +#: internal/arduino/cores/packagemanager/install_uninstall.go:187 msgid "WARNING cannot configure platform: %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:364 +#: internal/arduino/cores/packagemanager/install_uninstall.go:366 msgid "WARNING cannot configure tool: %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:302 -#: internal/arduino/cores/packagemanager/install_uninstall.go:416 +#: internal/arduino/cores/packagemanager/install_uninstall.go:304 +#: internal/arduino/cores/packagemanager/install_uninstall.go:418 msgid "WARNING cannot run pre_uninstall script: %s" msgstr "" -#: internal/cli/compile/compile.go:330 +#: internal/cli/compile/compile.go:339 msgid "WARNING: The sketch is compiled using one or more custom libraries." msgstr "" -#: internal/arduino/builder/libraries.go:283 +#: internal/arduino/builder/libraries.go:284 msgid "" "WARNING: library %[1]s claims to run on %[2]s architecture(s) and may be " "incompatible with your current board which runs on %[3]s architecture(s)." msgstr "" "경고: 라이브러리 %[1]s가 %[2]s 아키텍처에서 실행되며 %[3]s아키텍처에서 실행되는 현재보드에서는 호환되지 않을 수 있습니다." -#: commands/service_upload.go:520 +#: commands/service_upload.go:521 msgid "Waiting for upload port..." msgstr "" -#: commands/service_compile.go:357 +#: commands/service_compile.go:367 msgid "" "Warning: Board %[1]s doesn't define a %[2]s preference. Auto-set to: %[3]s" msgstr "" @@ -2679,7 +2687,7 @@ msgid "" "directory." msgstr "" -#: internal/cli/compile/compile.go:150 internal/cli/compile/compile.go:153 +#: internal/cli/compile/compile.go:153 internal/cli/compile/compile.go:156 msgid "You cannot use the %s flag while compiling with a profile." msgstr "" @@ -2687,11 +2695,11 @@ msgstr "" msgid "archive hash differs from hash in index" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:188 +#: internal/arduino/libraries/librariesmanager/install.go:187 msgid "archive is not valid: multiple files found in zip file top level" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:191 +#: internal/arduino/libraries/librariesmanager/install.go:190 msgid "archive is not valid: no files found in zip file top level" msgstr "" @@ -2715,11 +2723,11 @@ msgstr "" msgid "basic search for \"esp32\" and \"display\" limited to official Maintainer" msgstr "" -#: commands/service_upload.go:791 +#: commands/service_upload.go:792 msgid "binary file not found in %s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:348 +#: internal/arduino/cores/packagemanager/package_manager.go:316 msgid "board %s not found" msgstr "" @@ -2735,11 +2743,11 @@ msgstr "" msgid "can't find latest release of %s" msgstr "" -#: commands/instances.go:272 +#: commands/instances.go:273 msgid "can't find latest release of tool %s" msgstr "" -#: internal/arduino/cores/packagemanager/loader.go:712 +#: internal/arduino/cores/packagemanager/loader.go:709 msgid "can't find pattern for discovery with id %s" msgstr "" @@ -2747,11 +2755,11 @@ msgstr "" msgid "candidates" msgstr "" -#: commands/service_upload.go:737 commands/service_upload.go:744 +#: commands/service_upload.go:738 commands/service_upload.go:745 msgid "cannot execute upload tool: %s" msgstr "" -#: internal/arduino/resources/install.go:40 +#: internal/arduino/resources/install.go:48 msgid "checking local archive integrity" msgstr "" @@ -2777,27 +2785,27 @@ msgstr "" msgid "computing hash: %s" msgstr "" -#: internal/arduino/cores/fqbn.go:81 +#: pkg/fqbn/fqbn.go:83 msgid "config key %s contains an invalid character" msgstr "" -#: internal/arduino/cores/fqbn.go:86 +#: pkg/fqbn/fqbn.go:87 msgid "config value %s contains an invalid character" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:141 +#: internal/arduino/libraries/librariesmanager/install.go:140 msgid "copying library to destination directory:" msgstr "" -#: commands/service_upload.go:863 +#: commands/service_upload.go:864 msgid "could not find a valid build artifact" msgstr "" -#: commands/service_platform_install.go:94 +#: commands/service_platform_install.go:99 msgid "could not overwrite" msgstr "" -#: commands/service_library_install.go:190 +#: commands/service_library_install.go:191 msgid "could not remove old library" msgstr "" @@ -2806,20 +2814,20 @@ msgstr "" msgid "could not update sketch project file" msgstr "" -#: internal/arduino/builder/core.go:116 internal/arduino/builder/core.go:140 +#: internal/arduino/builder/core.go:117 internal/arduino/builder/core.go:141 msgid "creating core cache folder: %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:219 +#: internal/arduino/cores/packagemanager/install_uninstall.go:221 msgid "creating installed.json in %[1]s: %[2]s" msgstr "" -#: internal/arduino/resources/install.go:45 -#: internal/arduino/resources/install.go:49 +#: internal/arduino/resources/install.go:54 +#: internal/arduino/resources/install.go:58 msgid "creating temp dir for extraction: %s" msgstr "" -#: internal/arduino/builder/sizer.go:196 +#: internal/arduino/builder/sizer.go:199 msgid "data section exceeds available space in board" msgstr "" @@ -2827,15 +2835,15 @@ msgstr "" msgid "dependency '%s' is not available" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:94 +#: internal/arduino/libraries/librariesmanager/install.go:93 msgid "destination dir %s already exists, cannot install" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:138 +#: internal/arduino/libraries/librariesmanager/install.go:137 msgid "destination directory already exists" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:278 +#: internal/arduino/libraries/librariesmanager/install.go:305 msgid "directory doesn't exist: %s" msgstr "" @@ -2843,15 +2851,15 @@ msgstr "" msgid "discovery %[1]s process not started" msgstr "" -#: internal/arduino/cores/packagemanager/loader.go:644 +#: internal/arduino/cores/packagemanager/loader.go:641 msgid "discovery %s not found" msgstr "" -#: internal/arduino/cores/packagemanager/loader.go:648 +#: internal/arduino/cores/packagemanager/loader.go:645 msgid "discovery %s not installed" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:746 +#: internal/arduino/cores/packagemanager/package_manager.go:714 msgid "discovery release not found: %s" msgstr "" @@ -2867,11 +2875,11 @@ msgstr "" msgid "downloaded" msgstr "" -#: commands/instances.go:55 +#: commands/instances.go:56 msgid "downloading %[1]s tool: %[2]s" msgstr "" -#: internal/arduino/cores/fqbn.go:60 +#: pkg/fqbn/fqbn.go:63 msgid "empty board identifier" msgstr "" @@ -2879,7 +2887,7 @@ msgstr "" msgid "error loading sketch project file:" msgstr "" -#: internal/arduino/cores/packagemanager/loader.go:615 +#: internal/arduino/cores/packagemanager/loader.go:612 msgid "error opening %s" msgstr "" @@ -2887,19 +2895,19 @@ msgstr "" msgid "error parsing version constraints" msgstr "" -#: commands/service_board_list.go:115 +#: commands/service_board_identify.go:203 msgid "error processing response from server" msgstr "" -#: commands/service_board_list.go:95 +#: commands/service_board_identify.go:183 msgid "error querying Arduino Cloud Api" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:179 +#: internal/arduino/libraries/librariesmanager/install.go:178 msgid "extracting archive" msgstr "" -#: internal/arduino/resources/install.go:68 +#: internal/arduino/resources/install.go:77 msgid "extracting archive: %s" msgstr "" @@ -2907,7 +2915,7 @@ msgstr "" msgid "failed to compute hash of file \"%s\"" msgstr "" -#: commands/service_board_list.go:90 +#: commands/service_board_identify.go:178 msgid "failed to initialize http client" msgstr "" @@ -2915,7 +2923,7 @@ msgstr "" msgid "fetched archive size differs from size specified in index" msgstr "" -#: internal/arduino/resources/install.go:123 +#: internal/arduino/resources/install.go:132 msgid "files in archive must be placed in a subdirectory" msgstr "" @@ -2945,7 +2953,7 @@ msgstr "" msgid "for the specific version." msgstr "" -#: internal/arduino/cores/fqbn.go:66 +#: pkg/fqbn/fqbn.go:68 msgid "fqbn's field %s contains an invalid character" msgstr "" @@ -2969,35 +2977,35 @@ msgstr "" #: internal/arduino/resources/checksums.go:89 #: internal/arduino/resources/download.go:36 #: internal/arduino/resources/helpers.go:39 -#: internal/arduino/resources/install.go:56 +#: internal/arduino/resources/install.go:65 msgid "getting archive path: %s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:354 +#: internal/arduino/cores/packagemanager/package_manager.go:322 msgid "getting build properties for board %[1]s: %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:106 +#: internal/arduino/cores/packagemanager/download.go:108 msgid "getting discovery dependencies for platform %[1]s: %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:114 +#: internal/arduino/cores/packagemanager/download.go:116 msgid "getting monitor dependencies for platform %[1]s: %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:99 +#: internal/arduino/cores/packagemanager/download.go:101 msgid "getting tool dependencies for platform %[1]s: %[2]s" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:149 +#: internal/arduino/libraries/librariesmanager/install.go:148 msgid "install directory not set" msgstr "" -#: commands/instances.go:59 +#: commands/instances.go:60 msgid "installing %[1]s tool: %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:211 +#: internal/arduino/cores/packagemanager/install_uninstall.go:213 msgid "installing platform %[1]s: %[2]s" msgstr "" @@ -3013,7 +3021,7 @@ msgstr "" msgid "invalid checksum format: %s" msgstr "" -#: internal/arduino/cores/fqbn.go:73 internal/arduino/cores/fqbn.go:78 +#: pkg/fqbn/fqbn.go:75 pkg/fqbn/fqbn.go:80 msgid "invalid config option: %s" msgstr "" @@ -3045,11 +3053,14 @@ msgstr "" msgid "invalid empty library version: %s" msgstr "" -#: internal/arduino/cores/board.go:143 +#: internal/arduino/cores/board.go:144 msgid "invalid empty option found" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:268 +#: internal/arduino/libraries/librariesmanager/install.go:276 +#: internal/arduino/libraries/librariesmanager/install.go:279 +#: internal/arduino/libraries/librariesmanager/install.go:286 +#: internal/arduino/libraries/librariesmanager/install.go:290 msgid "invalid git url" msgstr "" @@ -3077,7 +3088,7 @@ msgstr "" msgid "invalid library: no header files found" msgstr "" -#: internal/arduino/cores/board.go:146 +#: internal/arduino/cores/board.go:147 msgid "invalid option '%s'" msgstr "" @@ -3093,10 +3104,6 @@ msgstr "" msgid "invalid path writing inventory file: %[1]s error" msgstr "" -#: internal/arduino/cores/packageindex/index.go:278 -msgid "invalid platform archive size: %s" -msgstr "" - #: internal/arduino/sketch/profiles.go:252 msgid "invalid platform identifier" msgstr "" @@ -3117,7 +3124,7 @@ msgstr "" msgid "invalid port configuration: %s=%s" msgstr "" -#: commands/service_upload.go:724 +#: commands/service_upload.go:725 msgid "invalid recipe '%[1]s': %[2]s" msgstr "" @@ -3128,7 +3135,7 @@ msgid "" "cannot be \".\"." msgstr "" -#: internal/arduino/cores/board.go:150 +#: internal/arduino/cores/board.go:151 msgid "invalid value '%[1]s' for option '%[2]s'" msgstr "" @@ -3168,11 +3175,11 @@ msgstr "" msgid "libraries with a Name exactly matching \"pcf8523\"" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:126 +#: internal/arduino/libraries/librariesmanager/install.go:125 msgid "library %s already installed" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:315 +#: internal/arduino/libraries/librariesmanager/install.go:342 msgid "library not valid" msgstr "" @@ -3186,8 +3193,8 @@ msgstr "" msgid "loading boards: %s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:501 -#: internal/arduino/cores/packagemanager/package_manager.go:516 +#: internal/arduino/cores/packagemanager/package_manager.go:469 +#: internal/arduino/cores/packagemanager/package_manager.go:484 msgid "loading json index file %[1]s: %[2]s" msgstr "" @@ -3216,7 +3223,7 @@ msgstr "" msgid "loading required tool %s" msgstr "" -#: internal/arduino/cores/packagemanager/loader.go:590 +#: internal/arduino/cores/packagemanager/loader.go:587 msgid "loading tool release in %s" msgstr "" @@ -3224,7 +3231,7 @@ msgstr "" msgid "looking for boards.txt in %s" msgstr "" -#: commands/service_upload.go:806 +#: commands/service_upload.go:807 msgid "looking for build artifacts" msgstr "" @@ -3240,7 +3247,7 @@ msgstr "" msgid "missing checksum for: %s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:462 +#: internal/arduino/cores/packagemanager/package_manager.go:430 msgid "missing package %[1]s referenced by board %[2]s" msgstr "" @@ -3248,11 +3255,11 @@ msgstr "" msgid "missing package index for %s, future updates cannot be guaranteed" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:467 +#: internal/arduino/cores/packagemanager/package_manager.go:435 msgid "missing platform %[1]s:%[2]s referenced by board %[3]s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:472 +#: internal/arduino/cores/packagemanager/package_manager.go:440 msgid "missing platform release %[1]s:%[2]s referenced by board %[3]s" msgstr "" @@ -3260,17 +3267,17 @@ msgstr "" msgid "missing signature" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:757 +#: internal/arduino/cores/packagemanager/package_manager.go:725 msgid "monitor release not found: %s" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:197 -#: internal/arduino/libraries/librariesmanager/install.go:246 -#: internal/arduino/resources/install.go:97 +#: internal/arduino/libraries/librariesmanager/install.go:196 +#: internal/arduino/libraries/librariesmanager/install.go:247 +#: internal/arduino/resources/install.go:106 msgid "moving extracted archive to destination dir: %s" msgstr "" -#: commands/service_upload.go:858 +#: commands/service_upload.go:859 msgid "multiple build artifacts found: '%[1]s' and '%[2]s'" msgstr "" @@ -3278,17 +3285,17 @@ msgstr "" msgid "multiple main sketch files found (%[1]v, %[2]v)" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:338 +#: internal/arduino/cores/packagemanager/install_uninstall.go:340 msgid "" "no compatible version of %[1]s tools found for the current os, try " "contacting %[2]s" msgstr "" -#: commands/service_board_list.go:273 +#: commands/service_board_list.go:106 msgid "no instance specified" msgstr "" -#: commands/service_upload.go:813 +#: commands/service_upload.go:814 msgid "no sketch or build directory/file specified" msgstr "" @@ -3296,11 +3303,11 @@ msgstr "" msgid "no such file or directory" msgstr "" -#: internal/arduino/resources/install.go:126 +#: internal/arduino/resources/install.go:135 msgid "no unique root dir in archive, found '%[1]s' and '%[2]s'" msgstr "" -#: commands/service_upload.go:719 +#: commands/service_upload.go:720 msgid "no upload port provided" msgstr "" @@ -3308,11 +3315,11 @@ msgstr "" msgid "no valid sketch found in %[1]s: missing %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:128 +#: internal/arduino/cores/packagemanager/download.go:130 msgid "no versions available for the current OS, try contacting %s" msgstr "" -#: internal/arduino/cores/fqbn.go:50 +#: pkg/fqbn/fqbn.go:53 msgid "not an FQBN: %s" msgstr "" @@ -3321,7 +3328,7 @@ msgid "not running in a terminal" msgstr "" #: internal/arduino/resources/checksums.go:71 -#: internal/arduino/resources/install.go:60 +#: internal/arduino/resources/install.go:69 msgid "opening archive file: %s" msgstr "" @@ -3329,26 +3336,26 @@ msgstr "" msgid "opening boards.txt" msgstr "" -#: internal/arduino/security/signatures.go:81 +#: internal/arduino/security/signatures.go:82 msgid "opening signature file: %s" msgstr "" -#: internal/arduino/security/signatures.go:76 +#: internal/arduino/security/signatures.go:78 msgid "opening target file: %s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:76 +#: internal/arduino/cores/packagemanager/download.go:78 #: internal/arduino/cores/status.go:97 internal/arduino/cores/status.go:122 #: internal/arduino/cores/status.go:149 msgid "package %s not found" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:530 +#: internal/arduino/cores/packagemanager/package_manager.go:498 msgid "package '%s' not found" msgstr "" -#: internal/arduino/cores/board.go:166 -#: internal/arduino/cores/packagemanager/package_manager.go:295 +#: internal/arduino/cores/board.go:167 +#: internal/arduino/cores/packagemanager/package_manager.go:263 msgid "parsing fqbn: %s" msgstr "" @@ -3360,26 +3367,26 @@ msgstr "" msgid "path is not a platform directory: %s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:80 +#: internal/arduino/cores/packagemanager/download.go:82 msgid "platform %[1]s not found in package %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:341 +#: internal/arduino/cores/packagemanager/package_manager.go:309 msgid "platform %s is not installed" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:92 +#: commands/cmderrors/cmderrors.go:427 msgid "platform is not available for your OS" msgstr "" -#: commands/service_compile.go:126 -#: internal/arduino/cores/packagemanager/install_uninstall.go:179 -#: internal/arduino/cores/packagemanager/install_uninstall.go:283 -#: internal/arduino/cores/packagemanager/loader.go:420 +#: commands/service_compile.go:129 +#: internal/arduino/cores/packagemanager/install_uninstall.go:181 +#: internal/arduino/cores/packagemanager/install_uninstall.go:285 +#: internal/arduino/cores/packagemanager/loader.go:417 msgid "platform not installed" msgstr "" -#: internal/cli/compile/compile.go:139 +#: internal/cli/compile/compile.go:142 msgid "please use --build-property instead." msgstr "" @@ -3414,15 +3421,15 @@ msgstr "" #: internal/arduino/cores/packagemanager/loader.go:69 #: internal/arduino/cores/packagemanager/loader.go:151 #: internal/arduino/cores/packagemanager/loader.go:218 -#: internal/arduino/cores/packagemanager/loader.go:582 +#: internal/arduino/cores/packagemanager/loader.go:579 msgid "reading directory %s" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:288 +#: internal/arduino/libraries/librariesmanager/install.go:315 msgid "reading directory %s content" msgstr "" -#: internal/arduino/builder/sketch.go:81 +#: internal/arduino/builder/sketch.go:83 msgid "reading file %[1]s: %[2]s" msgstr "" @@ -3446,7 +3453,7 @@ msgstr "" msgid "reading library_index.json: %s" msgstr "" -#: internal/arduino/resources/install.go:116 +#: internal/arduino/resources/install.go:125 msgid "reading package root dir: %s" msgstr "" @@ -3454,11 +3461,11 @@ msgstr "" msgid "reading sketch files" msgstr "" -#: commands/service_upload.go:713 +#: commands/service_upload.go:714 msgid "recipe not found '%s'" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:606 +#: internal/arduino/cores/packagemanager/package_manager.go:574 msgid "release %[1]s not found for tool %[2]s" msgstr "" @@ -3471,19 +3478,19 @@ msgstr "" msgid "removing corrupted archive file: %s" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:152 +#: internal/arduino/libraries/librariesmanager/install.go:151 msgid "removing library directory: %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:310 +#: internal/arduino/cores/packagemanager/install_uninstall.go:312 msgid "removing platform files: %s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:87 +#: internal/arduino/cores/packagemanager/download.go:89 msgid "required version %[1]s not found for platform %[2]s" msgstr "" -#: internal/arduino/security/signatures.go:72 +#: internal/arduino/security/signatures.go:74 msgid "retrieving Arduino public keys: %s" msgstr "" @@ -3492,10 +3499,14 @@ msgstr "" msgid "scanning sketch examples" msgstr "" -#: internal/arduino/resources/install.go:74 +#: internal/arduino/resources/install.go:83 msgid "searching package root dir: %s" msgstr "" +#: internal/arduino/security/signatures.go:87 +msgid "signature expired: is your system clock set correctly?" +msgstr "" + #: commands/service_sketch_new.go:78 msgid "sketch name cannot be empty" msgstr "" @@ -3533,11 +3544,11 @@ msgstr "" msgid "testing if archive is cached: %s" msgstr "" -#: internal/arduino/resources/install.go:38 +#: internal/arduino/resources/install.go:46 msgid "testing local archive integrity: %s" msgstr "" -#: internal/arduino/builder/sizer.go:191 +#: internal/arduino/builder/sizer.go:194 msgid "text section exceeds available space in board" msgstr "" @@ -3546,7 +3557,7 @@ msgstr "" msgid "the compilation database may be incomplete or inaccurate" msgstr "" -#: commands/service_board_list.go:102 +#: commands/service_board_identify.go:190 msgid "the server responded with status %s" msgstr "" @@ -3554,7 +3565,7 @@ msgstr "" msgid "timeout waiting for message" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:404 +#: internal/arduino/cores/packagemanager/install_uninstall.go:406 msgid "tool %s is not managed by package manager" msgstr "" @@ -3563,16 +3574,16 @@ msgstr "" msgid "tool %s not found" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:556 +#: internal/arduino/cores/packagemanager/package_manager.go:524 msgid "tool '%[1]s' not found in package '%[2]s'" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:399 +#: internal/arduino/cores/packagemanager/install_uninstall.go:401 msgid "tool not installed" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:735 -#: internal/arduino/cores/packagemanager/package_manager.go:841 +#: internal/arduino/cores/packagemanager/package_manager.go:703 +#: internal/arduino/cores/packagemanager/package_manager.go:809 msgid "tool release not found: %s" msgstr "" @@ -3580,21 +3591,21 @@ msgstr "" msgid "tool version %s not found" msgstr "" -#: commands/service_library_install.go:92 +#: commands/service_library_install.go:93 msgid "" "two different versions of the library %[1]s are required: %[2]s and %[3]s" msgstr "" -#: internal/arduino/builder/sketch.go:74 -#: internal/arduino/builder/sketch.go:118 +#: internal/arduino/builder/sketch.go:76 +#: internal/arduino/builder/sketch.go:120 msgid "unable to compute relative path to the sketch for the item" msgstr "" -#: internal/arduino/builder/sketch.go:43 +#: internal/arduino/builder/sketch.go:45 msgid "unable to create a folder to save the sketch" msgstr "" -#: internal/arduino/builder/sketch.go:124 +#: internal/arduino/builder/sketch.go:126 msgid "unable to create the folder containing the item" msgstr "" @@ -3602,23 +3613,23 @@ msgstr "" msgid "unable to marshal config to YAML: %v" msgstr "" -#: internal/arduino/builder/sketch.go:162 +#: internal/arduino/builder/sketch.go:164 msgid "unable to read contents of the destination item" msgstr "" -#: internal/arduino/builder/sketch.go:135 +#: internal/arduino/builder/sketch.go:137 msgid "unable to read contents of the source item" msgstr "" -#: internal/arduino/builder/sketch.go:145 +#: internal/arduino/builder/sketch.go:147 msgid "unable to write to destination file" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:329 +#: internal/arduino/cores/packagemanager/package_manager.go:297 msgid "unknown package %s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:336 +#: internal/arduino/cores/packagemanager/package_manager.go:304 msgid "unknown platform %s:%s" msgstr "" @@ -3638,7 +3649,7 @@ msgstr "" msgid "upgrade everything to the latest version" msgstr "" -#: commands/service_upload.go:759 +#: commands/service_upload.go:760 msgid "uploading error: %s" msgstr "" @@ -3662,6 +3673,6 @@ msgstr "" msgid "version %s not found" msgstr "" -#: commands/service_board_list.go:120 +#: commands/service_board_identify.go:208 msgid "wrong format in server response" msgstr "" diff --git a/internal/i18n/data/lb.po b/internal/locales/data/lb.po similarity index 85% rename from internal/i18n/data/lb.po rename to internal/locales/data/lb.po index ea749834752..5ee9360c847 100644 --- a/internal/i18n/data/lb.po +++ b/internal/locales/data/lb.po @@ -9,7 +9,7 @@ msgstr "" "Language: lb\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: version/version.go:56 +#: internal/version/version.go:56 msgid "%[1]s %[2]s Version: %[3]s Commit: %[4]s Date: %[5]s" msgstr "" @@ -21,11 +21,11 @@ msgstr "" msgid "%[1]s invalid, rebuilding all" msgstr "" -#: internal/cli/lib/check_deps.go:124 +#: internal/cli/lib/check_deps.go:125 msgid "%[1]s is required but %[2]s is currently installed." msgstr "" -#: internal/arduino/builder/builder.go:486 +#: internal/arduino/builder/builder.go:487 msgid "%[1]s pattern is missing" msgstr "" @@ -33,24 +33,24 @@ msgstr "" msgid "%s already downloaded" msgstr "%s schon erofgelueden" -#: commands/service_upload.go:781 +#: commands/service_upload.go:782 msgid "%s and %s cannot be used together" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:371 +#: internal/arduino/cores/packagemanager/install_uninstall.go:373 msgid "%s installed" msgstr "%s installéiert" -#: internal/cli/lib/check_deps.go:121 +#: internal/cli/lib/check_deps.go:122 msgid "%s is already installed." msgstr "%s ass schon installéiert." #: internal/arduino/cores/packagemanager/loader.go:63 -#: internal/arduino/cores/packagemanager/loader.go:617 +#: internal/arduino/cores/packagemanager/loader.go:614 msgid "%s is not a directory" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:290 +#: internal/arduino/cores/packagemanager/install_uninstall.go:292 msgid "%s is not managed by package manager" msgstr "" @@ -58,20 +58,20 @@ msgstr "" msgid "%s must be >= 1024" msgstr "" -#: internal/cli/lib/check_deps.go:118 +#: internal/cli/lib/check_deps.go:119 msgid "%s must be installed." msgstr "%s muss installéiert ginn." -#: internal/arduino/builder/internal/preprocessor/ctags.go:192 -#: internal/arduino/builder/internal/preprocessor/gcc.go:62 +#: internal/arduino/builder/internal/preprocessor/ctags.go:193 +#: internal/arduino/builder/internal/preprocessor/gcc.go:63 msgid "%s pattern is missing" msgstr "" -#: commands/cmderrors/cmderrors.go:818 +#: commands/cmderrors/cmderrors.go:839 msgid "'%s' has an invalid signature" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:448 +#: internal/arduino/cores/packagemanager/package_manager.go:416 msgid "" "'build.core' and 'build.variant' refer to different platforms: %[1]s and " "%[2]s" @@ -81,7 +81,7 @@ msgstr "" msgid "(hidden)" msgstr "(verstoppt)" -#: internal/arduino/builder/libraries.go:302 +#: internal/arduino/builder/libraries.go:303 msgid "(legacy)" msgstr "" @@ -109,7 +109,7 @@ msgstr "" msgid "A new release of Arduino CLI is available:" msgstr "" -#: commands/cmderrors/cmderrors.go:299 +#: commands/cmderrors/cmderrors.go:300 msgid "A programmer is required to upload" msgstr "" @@ -142,7 +142,7 @@ msgstr "" msgid "All the cores are already at the latest version" msgstr "" -#: commands/service_library_install.go:135 +#: commands/service_library_install.go:136 msgid "Already installed %s" msgstr "" @@ -170,7 +170,7 @@ msgstr "" msgid "Archive already exists" msgstr "" -#: internal/arduino/builder/core.go:163 +#: internal/arduino/builder/core.go:164 msgid "Archiving built core (caching) in: %[1]s" msgstr "" @@ -218,7 +218,7 @@ msgstr "" msgid "Author: %s" msgstr "Auteur: %s" -#: internal/arduino/libraries/librariesmanager/install.go:79 +#: internal/arduino/libraries/librariesmanager/install.go:78 msgid "" "Automatic library install can't be performed in this case, please manually " "remove all duplicates and retry." @@ -255,11 +255,11 @@ msgstr "" msgid "Board version:" msgstr "" -#: internal/arduino/builder/sketch.go:243 +#: internal/arduino/builder/sketch.go:245 msgid "Bootloader file specified but missing: %[1]s" msgstr "" -#: internal/cli/compile/compile.go:101 +#: internal/cli/compile/compile.go:104 msgid "" "Builds of cores and sketches are saved into this path to be cached and " "reused." @@ -269,25 +269,25 @@ msgstr "" msgid "Can't create data directory %s" msgstr "" -#: commands/cmderrors/cmderrors.go:511 +#: commands/cmderrors/cmderrors.go:532 msgid "Can't create sketch" msgstr "" -#: commands/service_library_download.go:91 -#: commands/service_library_download.go:94 +#: commands/service_library_download.go:95 +#: commands/service_library_download.go:98 msgid "Can't download library" msgstr "Kann Bibliothéik net roflueden" #: commands/service_platform_uninstall.go:89 -#: internal/arduino/cores/packagemanager/install_uninstall.go:136 +#: internal/arduino/cores/packagemanager/install_uninstall.go:138 msgid "Can't find dependencies for platform %s" msgstr "" -#: commands/cmderrors/cmderrors.go:537 +#: commands/cmderrors/cmderrors.go:558 msgid "Can't open sketch" msgstr "" -#: commands/cmderrors/cmderrors.go:524 +#: commands/cmderrors/cmderrors.go:545 msgid "Can't update sketch" msgstr "" @@ -299,11 +299,11 @@ msgstr "" msgid "Can't write debug log: %s" msgstr "" -#: commands/service_compile.go:187 commands/service_compile.go:190 +#: commands/service_compile.go:190 commands/service_compile.go:193 msgid "Cannot create build cache directory" msgstr "" -#: commands/service_compile.go:212 +#: commands/service_compile.go:215 msgid "Cannot create build directory" msgstr "" @@ -315,11 +315,11 @@ msgstr "" msgid "Cannot create config file: %v" msgstr "" -#: commands/cmderrors/cmderrors.go:781 +#: commands/cmderrors/cmderrors.go:802 msgid "Cannot create temp dir" msgstr "" -#: commands/cmderrors/cmderrors.go:799 +#: commands/cmderrors/cmderrors.go:820 msgid "Cannot create temp file" msgstr "" @@ -341,15 +341,15 @@ msgstr "" msgid "Cannot get the configuration key %[1]s: %[2]v" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:143 +#: internal/arduino/cores/packagemanager/install_uninstall.go:145 msgid "Cannot install platform" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:349 +#: internal/arduino/cores/packagemanager/install_uninstall.go:351 msgid "Cannot install tool %s" msgstr "" -#: commands/service_upload.go:543 +#: commands/service_upload.go:544 msgid "Cannot perform port reset: %s" msgstr "" @@ -358,7 +358,7 @@ msgstr "" msgid "Cannot remove the configuration key %[1]s: %[2]v" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:161 +#: internal/arduino/cores/packagemanager/install_uninstall.go:163 msgid "Cannot upgrade platform" msgstr "" @@ -396,27 +396,31 @@ msgid "" "a change." msgstr "" -#: commands/service_debug_config.go:178 commands/service_upload.go:451 +#: commands/service_debug_config.go:178 commands/service_upload.go:452 msgid "Compiled sketch not found in %s" msgstr "" +#: internal/arduino/builder/internal/preprocessor/gcc.go:93 +msgid "Compiler error output has been truncated." +msgstr "" + #: internal/cli/compile/compile.go:80 internal/cli/compile/compile.go:81 msgid "Compiles Arduino sketches." msgstr "" -#: internal/arduino/builder/builder.go:420 +#: internal/arduino/builder/builder.go:421 msgid "Compiling core..." msgstr "" -#: internal/arduino/builder/builder.go:399 +#: internal/arduino/builder/builder.go:400 msgid "Compiling libraries..." msgstr "" -#: internal/arduino/builder/libraries.go:133 +#: internal/arduino/builder/libraries.go:134 msgid "Compiling library \"%[1]s\"" msgstr "" -#: internal/arduino/builder/builder.go:383 +#: internal/arduino/builder/builder.go:384 msgid "Compiling sketch..." msgstr "" @@ -439,11 +443,11 @@ msgid "" "=[,=]..." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:177 +#: internal/arduino/cores/packagemanager/install_uninstall.go:179 msgid "Configuring platform." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:359 +#: internal/arduino/cores/packagemanager/install_uninstall.go:361 msgid "Configuring tool." msgstr "" @@ -459,19 +463,19 @@ msgstr "" msgid "Core" msgstr "" -#: internal/cli/configuration/network.go:103 +#: internal/cli/configuration/network.go:127 msgid "Could not connect via HTTP" msgstr "" -#: commands/instances.go:486 +#: commands/instances.go:487 msgid "Could not create index directory" msgstr "" -#: internal/arduino/builder/core.go:41 +#: internal/arduino/builder/core.go:42 msgid "Couldn't deeply cache core build: %[1]s" msgstr "" -#: internal/arduino/builder/sizer.go:154 +#: internal/arduino/builder/sizer.go:155 msgid "Couldn't determine program size" msgstr "" @@ -483,7 +487,7 @@ msgstr "" msgid "Create a new Sketch" msgstr "" -#: internal/cli/compile/compile.go:98 +#: internal/cli/compile/compile.go:101 msgid "Create and print a profile configuration from the build." msgstr "" @@ -497,7 +501,7 @@ msgid "" "directory with the current configuration settings." msgstr "" -#: internal/cli/compile/compile.go:331 +#: internal/cli/compile/compile.go:340 msgid "" "Currently, Build Profiles only support libraries available through Arduino " "Library Manager." @@ -571,7 +575,7 @@ msgstr "" msgid "Description" msgstr "Beschreiwung" -#: internal/arduino/builder/builder.go:313 +#: internal/arduino/builder/builder.go:314 msgid "Detecting libraries used..." msgstr "" @@ -631,7 +635,7 @@ msgstr "" msgid "Do not try to update library dependencies if already installed." msgstr "" -#: commands/service_library_download.go:88 +#: commands/service_library_download.go:92 msgid "Downloading %s" msgstr "" @@ -639,21 +643,21 @@ msgstr "" msgid "Downloading index signature: %s" msgstr "" -#: commands/instances.go:563 commands/instances.go:581 -#: commands/instances.go:595 commands/instances.go:612 +#: commands/instances.go:564 commands/instances.go:582 +#: commands/instances.go:596 commands/instances.go:613 #: internal/arduino/resources/index.go:82 msgid "Downloading index: %s" msgstr "" -#: commands/instances.go:371 +#: commands/instances.go:372 msgid "Downloading library %s" msgstr "" -#: commands/instances.go:53 +#: commands/instances.go:54 msgid "Downloading missing tool %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:96 +#: internal/arduino/cores/packagemanager/install_uninstall.go:98 msgid "Downloading packages" msgstr "" @@ -689,7 +693,7 @@ msgstr "" msgid "Error adding file to sketch archive" msgstr "" -#: internal/arduino/builder/core.go:169 +#: internal/arduino/builder/core.go:170 msgid "Error archiving built core (caching) in %[1]s: %[2]s" msgstr "" @@ -705,11 +709,11 @@ msgstr "" msgid "Error cleaning caches: %v" msgstr "" -#: internal/cli/compile/compile.go:220 +#: internal/cli/compile/compile.go:225 msgid "Error converting path to absolute: %v" msgstr "" -#: commands/service_compile.go:405 +#: commands/service_compile.go:420 msgid "Error copying output file %s" msgstr "" @@ -723,7 +727,7 @@ msgstr "" msgid "Error creating instance: %v" msgstr "" -#: commands/service_compile.go:389 +#: commands/service_compile.go:403 msgid "Error creating output dir" msgstr "" @@ -748,7 +752,7 @@ msgstr "" msgid "Error downloading %s" msgstr "" -#: commands/instances.go:660 internal/arduino/resources/index.go:83 +#: commands/instances.go:661 internal/arduino/resources/index.go:83 msgid "Error downloading index '%s'" msgstr "" @@ -756,7 +760,7 @@ msgstr "" msgid "Error downloading index signature '%s'" msgstr "" -#: commands/instances.go:381 commands/instances.go:387 +#: commands/instances.go:382 commands/instances.go:388 msgid "Error downloading library %s" msgstr "" @@ -765,7 +769,7 @@ msgstr "" msgid "Error downloading platform %s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:127 +#: internal/arduino/cores/packagemanager/download.go:129 #: internal/arduino/cores/packagemanager/profiles.go:179 msgid "Error downloading tool %s" msgstr "" @@ -780,7 +784,7 @@ msgstr "" #: internal/cli/burnbootloader/burnbootloader.go:78 #: internal/cli/burnbootloader/burnbootloader.go:100 -#: internal/cli/compile/compile.go:264 internal/cli/compile/compile.go:306 +#: internal/cli/compile/compile.go:269 internal/cli/compile/compile.go:311 #: internal/cli/upload/upload.go:99 internal/cli/upload/upload.go:128 msgid "Error during Upload: %v" msgstr "" @@ -789,7 +793,7 @@ msgstr "" msgid "Error during board detection" msgstr "" -#: internal/cli/compile/compile.go:379 +#: internal/cli/compile/compile.go:394 msgid "Error during build: %v" msgstr "" @@ -810,7 +814,7 @@ msgstr "" msgid "Error extracting %s" msgstr "" -#: commands/service_upload.go:448 +#: commands/service_upload.go:449 msgid "Error finding build artifacts" msgstr "" @@ -836,7 +840,7 @@ msgid "" "correct sketch folder or provide the --port flag: %s" msgstr "" -#: commands/service_compile.go:328 commands/service_library_list.go:115 +#: commands/service_compile.go:338 commands/service_library_list.go:115 msgid "Error getting information for library %s" msgstr "" @@ -872,7 +876,7 @@ msgstr "" msgid "Error installing Zip Library: %v" msgstr "" -#: commands/instances.go:397 +#: commands/instances.go:398 msgid "Error installing library %s" msgstr "Feeler bei der Installatioun vun der Bibliothéik %s" @@ -899,7 +903,7 @@ msgstr "" msgid "Error listing platforms: %v" msgstr "" -#: commands/cmderrors/cmderrors.go:424 +#: commands/cmderrors/cmderrors.go:445 msgid "Error loading hardware platform" msgstr "" @@ -916,15 +920,15 @@ msgstr "" msgid "Error opening debug logging file: %s" msgstr "" -#: internal/cli/compile/compile.go:193 +#: internal/cli/compile/compile.go:196 msgid "Error opening source code overrides data file: %v" msgstr "" -#: internal/cli/compile/compile.go:206 +#: internal/cli/compile/compile.go:209 msgid "Error parsing --show-properties flag: %v" msgstr "" -#: commands/service_compile.go:398 +#: commands/service_compile.go:412 msgid "Error reading build directory" msgstr "" @@ -940,7 +944,7 @@ msgstr "" msgid "Error retrieving core list: %v" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:158 +#: internal/arduino/cores/packagemanager/install_uninstall.go:160 msgid "Error rolling-back changes: %s" msgstr "" @@ -994,7 +998,7 @@ msgstr "" msgid "Error upgrading libraries" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:153 +#: internal/arduino/cores/packagemanager/install_uninstall.go:155 msgid "Error upgrading platform: %s" msgstr "" @@ -1007,10 +1011,10 @@ msgstr "" msgid "Error while detecting libraries included by %[1]s" msgstr "" -#: internal/arduino/builder/sizer.go:79 internal/arduino/builder/sizer.go:88 -#: internal/arduino/builder/sizer.go:91 internal/arduino/builder/sizer.go:110 -#: internal/arduino/builder/sizer.go:215 internal/arduino/builder/sizer.go:225 -#: internal/arduino/builder/sizer.go:229 +#: internal/arduino/builder/sizer.go:80 internal/arduino/builder/sizer.go:89 +#: internal/arduino/builder/sizer.go:92 internal/arduino/builder/sizer.go:111 +#: internal/arduino/builder/sizer.go:218 internal/arduino/builder/sizer.go:228 +#: internal/arduino/builder/sizer.go:232 msgid "Error while determining sketch size: %s" msgstr "" @@ -1026,7 +1030,7 @@ msgstr "" msgid "Error: command description is not supported by %v" msgstr "" -#: internal/cli/compile/compile.go:199 +#: internal/cli/compile/compile.go:202 msgid "Error: invalid source code overrides data file: %v" msgstr "" @@ -1046,7 +1050,7 @@ msgstr "Beispiller:" msgid "Executable to debug" msgstr "" -#: commands/service_debug_config.go:181 commands/service_upload.go:454 +#: commands/service_debug_config.go:181 commands/service_upload.go:455 msgid "Expected compiled sketch in directory %s, but is a file instead" msgstr "" @@ -1060,23 +1064,23 @@ msgstr "" msgid "FQBN:" msgstr "" -#: commands/service_upload.go:577 +#: commands/service_upload.go:578 msgid "Failed chip erase" msgstr "" -#: commands/service_upload.go:584 +#: commands/service_upload.go:585 msgid "Failed programming" msgstr "" -#: commands/service_upload.go:580 +#: commands/service_upload.go:581 msgid "Failed to burn bootloader" msgstr "" -#: commands/instances.go:87 +#: commands/instances.go:88 msgid "Failed to create data directory" msgstr "" -#: commands/instances.go:76 +#: commands/instances.go:77 msgid "Failed to create downloads directory" msgstr "" @@ -1096,7 +1100,7 @@ msgstr "" msgid "Failed to listen on TCP port: %s. Address already in use." msgstr "" -#: commands/service_upload.go:588 +#: commands/service_upload.go:589 msgid "Failed uploading" msgstr "" @@ -1104,7 +1108,7 @@ msgstr "" msgid "File:" msgstr "" -#: commands/service_compile.go:160 +#: commands/service_compile.go:163 msgid "" "Firmware encryption/signing requires all the following properties to be " "defined: %s" @@ -1143,7 +1147,7 @@ msgid "" "Force skip of pre-uninstall scripts (if the CLI is running interactively)." msgstr "" -#: commands/cmderrors/cmderrors.go:839 +#: commands/cmderrors/cmderrors.go:860 msgid "Found %d platforms matching \"%s\": %s" msgstr "" @@ -1168,7 +1172,7 @@ msgstr "" msgid "Generates completion scripts for various shells" msgstr "" -#: internal/arduino/builder/builder.go:333 +#: internal/arduino/builder/builder.go:334 msgid "Generating function prototypes..." msgstr "" @@ -1180,13 +1184,13 @@ msgstr "" msgid "Global Flags:" msgstr "" -#: internal/arduino/builder/sizer.go:164 +#: internal/arduino/builder/sizer.go:166 msgid "" "Global variables use %[1]s bytes (%[3]s%%) of dynamic memory, leaving %[4]s " "bytes for local variables. Maximum is %[2]s bytes." msgstr "" -#: internal/arduino/builder/sizer.go:170 +#: internal/arduino/builder/sizer.go:172 msgid "Global variables use %[1]s bytes of dynamic memory." msgstr "" @@ -1204,7 +1208,7 @@ msgstr "" msgid "Identification properties:" msgstr "" -#: internal/cli/compile/compile.go:132 +#: internal/cli/compile/compile.go:135 msgid "If set built binaries will be exported to the sketch folder." msgstr "" @@ -1231,20 +1235,20 @@ msgstr "" msgid "Installed" msgstr "Installéiert" -#: commands/service_library_install.go:200 +#: commands/service_library_install.go:201 msgid "Installed %s" msgstr "" -#: commands/service_library_install.go:183 -#: internal/arduino/cores/packagemanager/install_uninstall.go:333 +#: commands/service_library_install.go:184 +#: internal/arduino/cores/packagemanager/install_uninstall.go:335 msgid "Installing %s" msgstr "" -#: commands/instances.go:395 +#: commands/instances.go:396 msgid "Installing library %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:119 +#: internal/arduino/cores/packagemanager/install_uninstall.go:121 #: internal/arduino/cores/packagemanager/profiles.go:134 msgid "Installing platform %s" msgstr "" @@ -1265,11 +1269,11 @@ msgstr "" msgid "Internal error in cache" msgstr "" -#: commands/cmderrors/cmderrors.go:377 +#: commands/cmderrors/cmderrors.go:378 msgid "Invalid '%[1]s' property: %[2]s" msgstr "" -#: commands/cmderrors/cmderrors.go:60 +#: commands/cmderrors/cmderrors.go:61 msgid "Invalid FQBN" msgstr "" @@ -1277,11 +1281,11 @@ msgstr "" msgid "Invalid TCP address: port is missing" msgstr "" -#: commands/cmderrors/cmderrors.go:78 +#: commands/cmderrors/cmderrors.go:79 msgid "Invalid URL" msgstr "" -#: commands/instances.go:183 +#: commands/instances.go:184 msgid "Invalid additional URL: %v" msgstr "" @@ -1295,23 +1299,23 @@ msgstr "" msgid "Invalid argument passed: %v" msgstr "" -#: commands/service_compile.go:272 +#: commands/service_compile.go:282 msgid "Invalid build properties" msgstr "" -#: internal/arduino/builder/sizer.go:250 +#: internal/arduino/builder/sizer.go:253 msgid "Invalid data size regexp: %s" msgstr "" -#: internal/arduino/builder/sizer.go:256 +#: internal/arduino/builder/sizer.go:259 msgid "Invalid eeprom size regexp: %s" msgstr "" -#: commands/instances.go:596 +#: commands/instances.go:597 msgid "Invalid index URL: %s" msgstr "" -#: commands/cmderrors/cmderrors.go:46 +#: commands/cmderrors/cmderrors.go:47 msgid "Invalid instance" msgstr "" @@ -1319,7 +1323,7 @@ msgstr "" msgid "Invalid item %s" msgstr "" -#: commands/cmderrors/cmderrors.go:96 +#: commands/cmderrors/cmderrors.go:97 msgid "Invalid library" msgstr "Ongülteg Bibliothéik" @@ -1327,11 +1331,11 @@ msgstr "Ongülteg Bibliothéik" msgid "Invalid logging level: %s" msgstr "" -#: commands/instances.go:613 +#: commands/instances.go:614 msgid "Invalid network configuration: %s" msgstr "" -#: internal/cli/configuration/network.go:66 +#: internal/cli/configuration/network.go:83 msgid "Invalid network.proxy '%[1]s': %[2]s" msgstr "" @@ -1339,7 +1343,7 @@ msgstr "" msgid "Invalid output format: %s" msgstr "" -#: commands/instances.go:580 +#: commands/instances.go:581 msgid "Invalid package index in %s" msgstr "" @@ -1347,35 +1351,35 @@ msgstr "" msgid "Invalid parameter %s: version not allowed" msgstr "" -#: commands/service_board_list.go:81 +#: commands/service_board_identify.go:169 msgid "Invalid pid value: '%s'" msgstr "" -#: commands/cmderrors/cmderrors.go:220 +#: commands/cmderrors/cmderrors.go:221 msgid "Invalid profile" msgstr "" -#: commands/service_monitor.go:269 +#: commands/service_monitor.go:270 msgid "Invalid recipe in platform.txt" msgstr "" -#: internal/arduino/builder/sizer.go:240 +#: internal/arduino/builder/sizer.go:243 msgid "Invalid size regexp: %s" msgstr "" -#: main.go:85 +#: main.go:86 msgid "Invalid value in configuration" msgstr "" -#: commands/cmderrors/cmderrors.go:114 +#: commands/cmderrors/cmderrors.go:115 msgid "Invalid version" msgstr "Ongülteg Versioun" -#: commands/service_board_list.go:78 +#: commands/service_board_identify.go:166 msgid "Invalid vid value: '%s'" msgstr "" -#: internal/cli/compile/compile.go:129 +#: internal/cli/compile/compile.go:132 msgid "" "Just produce the compilation database, without actually compiling. All build" " commands are skipped except pre* hooks." @@ -1398,12 +1402,12 @@ msgstr "" msgid "Latest" msgstr "" -#: internal/arduino/builder/libraries.go:91 +#: internal/arduino/builder/libraries.go:92 msgid "Library %[1]s has been declared precompiled:" msgstr "" -#: commands/service_library_install.go:141 -#: internal/arduino/libraries/librariesmanager/install.go:131 +#: commands/service_library_install.go:142 +#: internal/arduino/libraries/librariesmanager/install.go:130 msgid "" "Library %[1]s is already installed, but with a different version: %[2]s" msgstr "" @@ -1416,11 +1420,11 @@ msgstr "D'Bibliothéik %s huet schon déi neisten Versioun" msgid "Library %s is not installed" msgstr "Bibliothéik %s ass net installéiert" -#: commands/instances.go:374 +#: commands/instances.go:375 msgid "Library %s not found" msgstr "Bibliothéik %s net fonnt" -#: commands/cmderrors/cmderrors.go:445 +#: commands/cmderrors/cmderrors.go:466 msgid "Library '%s' not found" msgstr "Bibliothéik '%s' net fonnt" @@ -1429,12 +1433,12 @@ msgid "" "Library can't use both '%[1]s' and '%[2]s' folders. Double check in '%[3]s'." msgstr "" -#: commands/cmderrors/cmderrors.go:574 +#: commands/cmderrors/cmderrors.go:595 msgid "Library install failed" msgstr "" -#: commands/service_library_install.go:234 -#: commands/service_library_install.go:274 +#: commands/service_library_install.go:235 +#: commands/service_library_install.go:275 msgid "Library installed" msgstr "Bibliothéik installéiert" @@ -1442,7 +1446,7 @@ msgstr "Bibliothéik installéiert" msgid "License: %s" msgstr "Lizenz: %s" -#: internal/arduino/builder/builder.go:436 +#: internal/arduino/builder/builder.go:437 msgid "Linking everything together..." msgstr "" @@ -1466,7 +1470,7 @@ msgid "" " multiple options." msgstr "" -#: internal/cli/compile/compile.go:107 +#: internal/cli/compile/compile.go:110 msgid "" "List of custom build properties separated by commas. Or can be used multiple" " times for multiple properties." @@ -1488,8 +1492,8 @@ msgstr "" msgid "Lists cores and libraries that can be upgraded" msgstr "" -#: commands/instances.go:221 commands/instances.go:232 -#: commands/instances.go:342 +#: commands/instances.go:222 commands/instances.go:233 +#: commands/instances.go:343 msgid "Loading index file: %v" msgstr "" @@ -1497,7 +1501,7 @@ msgstr "" msgid "Location" msgstr "" -#: internal/arduino/builder/sizer.go:205 +#: internal/arduino/builder/sizer.go:208 msgid "Low memory available, stability problems may occur." msgstr "" @@ -1505,7 +1509,7 @@ msgstr "" msgid "Maintainer: %s" msgstr "" -#: internal/cli/compile/compile.go:137 +#: internal/cli/compile/compile.go:140 msgid "" "Max number of parallel compiles. If set to 0 the number of available CPUs " "cores will be used." @@ -1524,23 +1528,23 @@ msgstr "" msgid "Missing '%[1]s' from library in %[2]s" msgstr "" -#: commands/cmderrors/cmderrors.go:169 +#: commands/cmderrors/cmderrors.go:170 msgid "Missing FQBN (Fully Qualified Board Name)" msgstr "" -#: commands/cmderrors/cmderrors.go:260 +#: commands/cmderrors/cmderrors.go:261 msgid "Missing port" msgstr "" -#: commands/cmderrors/cmderrors.go:236 +#: commands/cmderrors/cmderrors.go:237 msgid "Missing port address" msgstr "" -#: commands/cmderrors/cmderrors.go:248 +#: commands/cmderrors/cmderrors.go:249 msgid "Missing port protocol" msgstr "" -#: commands/cmderrors/cmderrors.go:286 +#: commands/cmderrors/cmderrors.go:287 msgid "Missing programmer" msgstr "" @@ -1548,15 +1552,15 @@ msgstr "" msgid "Missing required upload field: %s" msgstr "" -#: internal/arduino/builder/sizer.go:244 +#: internal/arduino/builder/sizer.go:247 msgid "Missing size regexp" msgstr "" -#: commands/cmderrors/cmderrors.go:497 +#: commands/cmderrors/cmderrors.go:518 msgid "Missing sketch path" msgstr "" -#: commands/cmderrors/cmderrors.go:358 +#: commands/cmderrors/cmderrors.go:359 msgid "Monitor '%s' not found" msgstr "" @@ -1612,7 +1616,7 @@ msgstr "" msgid "No libraries update is available." msgstr "" -#: commands/cmderrors/cmderrors.go:274 +#: commands/cmderrors/cmderrors.go:275 msgid "No monitor available for the port protocol %s" msgstr "" @@ -1628,15 +1632,15 @@ msgstr "" msgid "No platforms matching your search." msgstr "" -#: commands/service_upload.go:533 +#: commands/service_upload.go:534 msgid "No upload port found, using %s as fallback" msgstr "" -#: commands/cmderrors/cmderrors.go:464 +#: commands/cmderrors/cmderrors.go:485 msgid "No valid dependencies solution found" msgstr "" -#: internal/arduino/builder/sizer.go:195 +#: internal/arduino/builder/sizer.go:198 msgid "Not enough memory; see %[1]s for tips on reducing your footprint." msgstr "" @@ -1666,35 +1670,35 @@ msgstr "" msgid "Option:" msgstr "Optioun:" -#: internal/cli/compile/compile.go:117 +#: internal/cli/compile/compile.go:120 msgid "" "Optional, can be: %s. Used to tell gcc which warning level to use (-W flag)." msgstr "" -#: internal/cli/compile/compile.go:130 +#: internal/cli/compile/compile.go:133 msgid "Optional, cleanup the build folder and do not use any cached build." msgstr "" -#: internal/cli/compile/compile.go:127 +#: internal/cli/compile/compile.go:130 msgid "" "Optional, optimize compile output for debugging, rather than for release." msgstr "" -#: internal/cli/compile/compile.go:119 +#: internal/cli/compile/compile.go:122 msgid "Optional, suppresses almost every output." msgstr "" -#: internal/cli/compile/compile.go:118 internal/cli/upload/upload.go:79 +#: internal/cli/compile/compile.go:121 internal/cli/upload/upload.go:79 msgid "Optional, turns on verbose mode." msgstr "" -#: internal/cli/compile/compile.go:133 +#: internal/cli/compile/compile.go:136 msgid "" "Optional. Path to a .json file that contains a set of replacements of the " "sketch source code." msgstr "" -#: internal/cli/compile/compile.go:109 +#: internal/cli/compile/compile.go:112 msgid "" "Override a build property with a custom value. Can be used multiple times " "for multiple properties." @@ -1754,17 +1758,17 @@ msgstr "" msgid "Paragraph: %s" msgstr "" -#: internal/cli/compile/compile.go:454 internal/cli/compile/compile.go:469 +#: internal/cli/compile/compile.go:473 internal/cli/compile/compile.go:488 msgid "Path" msgstr "" -#: internal/cli/compile/compile.go:126 +#: internal/cli/compile/compile.go:129 msgid "" "Path to a collection of libraries. Can be used multiple times or entries can" " be comma separated." msgstr "" -#: internal/cli/compile/compile.go:124 +#: internal/cli/compile/compile.go:127 msgid "" "Path to a single library’s root folder. Can be used multiple times or " "entries can be comma separated." @@ -1774,40 +1778,44 @@ msgstr "" msgid "Path to the file where logs will be written." msgstr "" -#: internal/cli/compile/compile.go:105 +#: internal/cli/compile/compile.go:108 msgid "" "Path where to save compiled files. If omitted, a directory will be created " "in the default temporary path of your OS." msgstr "" -#: commands/service_upload.go:514 +#: commands/service_upload.go:515 msgid "Performing 1200-bps touch reset on serial port %s" msgstr "" -#: commands/service_platform_install.go:86 -#: commands/service_platform_install.go:93 +#: commands/service_platform_install.go:91 +#: commands/service_platform_install.go:98 msgid "Platform %s already installed" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:194 +#: internal/arduino/cores/packagemanager/install_uninstall.go:196 msgid "Platform %s installed" msgstr "" -#: internal/cli/compile/compile.go:402 internal/cli/upload/upload.go:148 +#: internal/cli/compile/compile.go:417 internal/cli/upload/upload.go:148 msgid "" "Platform %s is not found in any known index\n" "Maybe you need to add a 3rd party URL?" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:318 +#: internal/arduino/cores/packagemanager/install_uninstall.go:320 msgid "Platform %s uninstalled" msgstr "" -#: commands/cmderrors/cmderrors.go:482 +#: commands/cmderrors/cmderrors.go:427 +msgid "Platform '%s'" +msgstr "" + +#: commands/cmderrors/cmderrors.go:503 msgid "Platform '%s' is already at the latest version" msgstr "" -#: commands/cmderrors/cmderrors.go:406 +#: commands/cmderrors/cmderrors.go:407 msgid "Platform '%s' not found" msgstr "" @@ -1815,7 +1823,7 @@ msgstr "" msgid "Platform ID" msgstr "" -#: internal/cli/compile/compile.go:387 internal/cli/upload/upload.go:136 +#: internal/cli/compile/compile.go:402 internal/cli/upload/upload.go:136 msgid "Platform ID is not correct" msgstr "" @@ -1847,13 +1855,13 @@ msgstr "" msgid "Platform size (bytes):" msgstr "" -#: commands/cmderrors/cmderrors.go:153 +#: commands/cmderrors/cmderrors.go:154 msgid "" "Please specify an FQBN. Multiple possible boards detected on port %[1]s with" " protocol %[2]s" msgstr "" -#: commands/cmderrors/cmderrors.go:133 +#: commands/cmderrors/cmderrors.go:134 msgid "" "Please specify an FQBN. The board on port %[1]s with protocol %[2]s can't be" " identified" @@ -1867,12 +1875,12 @@ msgstr "" msgid "Port closed: %v" msgstr "" -#: commands/cmderrors/cmderrors.go:668 +#: commands/cmderrors/cmderrors.go:689 msgid "Port monitor error" msgstr "" -#: internal/arduino/builder/libraries.go:101 -#: internal/arduino/builder/libraries.go:109 +#: internal/arduino/builder/libraries.go:102 +#: internal/arduino/builder/libraries.go:110 msgid "Precompiled library in \"%[1]s\" not found" msgstr "" @@ -1880,7 +1888,7 @@ msgstr "" msgid "Print details about a board." msgstr "" -#: internal/cli/compile/compile.go:100 +#: internal/cli/compile/compile.go:103 msgid "Print preprocessed code to stdout instead of compiling." msgstr "" @@ -1900,11 +1908,11 @@ msgstr "" msgid "Prints the current configuration." msgstr "" -#: commands/cmderrors/cmderrors.go:202 +#: commands/cmderrors/cmderrors.go:203 msgid "Profile '%s' not found" msgstr "" -#: commands/cmderrors/cmderrors.go:339 +#: commands/cmderrors/cmderrors.go:340 msgid "Programmer '%s' not found" msgstr "" @@ -1920,7 +1928,7 @@ msgstr "" msgid "Programmers:" msgstr "" -#: commands/cmderrors/cmderrors.go:391 +#: commands/cmderrors/cmderrors.go:392 msgid "Property '%s' is undefined" msgstr "" @@ -1936,11 +1944,11 @@ msgstr "" msgid "Removes one or more values from a setting." msgstr "" -#: commands/service_library_install.go:187 +#: commands/service_library_install.go:188 msgid "Replacing %[1]s with %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:123 +#: internal/arduino/cores/packagemanager/install_uninstall.go:125 msgid "Replacing platform %[1]s with %[2]s" msgstr "" @@ -1956,12 +1964,12 @@ msgstr "" msgid "Run the Arduino CLI as a gRPC daemon." msgstr "" -#: internal/arduino/builder/core.go:42 +#: internal/arduino/builder/core.go:43 msgid "Running normal build of the core..." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:297 -#: internal/arduino/cores/packagemanager/install_uninstall.go:411 +#: internal/arduino/cores/packagemanager/install_uninstall.go:299 +#: internal/arduino/cores/packagemanager/install_uninstall.go:413 msgid "Running pre_uninstall script." msgstr "" @@ -1973,7 +1981,7 @@ msgstr "" msgid "SVD file path" msgstr "" -#: internal/cli/compile/compile.go:103 +#: internal/cli/compile/compile.go:106 msgid "Save build artifacts in this directory." msgstr "" @@ -2185,7 +2193,7 @@ msgstr "" msgid "Size (bytes):" msgstr "Gréisst (Bytes):" -#: commands/service_compile.go:276 +#: commands/service_compile.go:286 msgid "" "Sketch cannot be located in build path. Please specify a different build " "path" @@ -2199,11 +2207,11 @@ msgstr "" msgid "Sketch profile to use" msgstr "" -#: internal/arduino/builder/sizer.go:190 +#: internal/arduino/builder/sizer.go:193 msgid "Sketch too big; see %[1]s for tips on reducing it." msgstr "" -#: internal/arduino/builder/sizer.go:158 +#: internal/arduino/builder/sizer.go:160 msgid "" "Sketch uses %[1]s bytes (%[3]s%%) of program storage space. Maximum is %[2]s" " bytes." @@ -2215,19 +2223,19 @@ msgid "" "files to .ino:" msgstr "" -#: internal/arduino/builder/linker.go:30 +#: internal/arduino/builder/linker.go:31 msgid "Skip linking of final executable." msgstr "" -#: commands/service_upload.go:507 +#: commands/service_upload.go:508 msgid "Skipping 1200-bps touch reset: no serial port selected!" msgstr "" -#: internal/arduino/builder/archive_compiled_files.go:27 +#: internal/arduino/builder/archive_compiled_files.go:28 msgid "Skipping archive creation of: %[1]s" msgstr "" -#: internal/arduino/builder/compilation.go:183 +#: internal/arduino/builder/compilation.go:184 msgid "Skipping compile of: %[1]s" msgstr "" @@ -2235,16 +2243,16 @@ msgstr "" msgid "Skipping dependencies detection for precompiled library %[1]s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:190 +#: internal/arduino/cores/packagemanager/install_uninstall.go:192 msgid "Skipping platform configuration." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:306 -#: internal/arduino/cores/packagemanager/install_uninstall.go:420 +#: internal/arduino/cores/packagemanager/install_uninstall.go:308 +#: internal/arduino/cores/packagemanager/install_uninstall.go:422 msgid "Skipping pre_uninstall script." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:368 +#: internal/arduino/cores/packagemanager/install_uninstall.go:370 msgid "Skipping tool configuration." msgstr "" @@ -2252,7 +2260,7 @@ msgstr "" msgid "Skipping: %[1]s" msgstr "" -#: commands/instances.go:633 +#: commands/instances.go:634 msgid "Some indexes could not be updated." msgstr "" @@ -2272,7 +2280,7 @@ msgstr "" msgid "The custom config file (if not specified the default will be used)." msgstr "" -#: internal/cli/compile/compile.go:90 +#: internal/cli/compile/compile.go:93 msgid "" "The flag --build-cache-path has been deprecated. Please use just --build-" "path alone or configure the build cache path in the Arduino CLI settings." @@ -2290,7 +2298,7 @@ msgstr "" msgid "The given board/programmer configuration supports debugging." msgstr "" -#: commands/cmderrors/cmderrors.go:876 +#: commands/cmderrors/cmderrors.go:897 msgid "The instance is no longer valid and needs to be reinitialized" msgstr "" @@ -2306,17 +2314,17 @@ msgid "" "Maybe use '%[2]s'?" msgstr "" -#: commands/cmderrors/cmderrors.go:858 +#: commands/cmderrors/cmderrors.go:879 msgid "The library %s has multiple installations:" msgstr "" -#: internal/cli/compile/compile.go:115 +#: internal/cli/compile/compile.go:118 msgid "" "The name of the custom encryption key to use to encrypt a binary during the " "compile process. Used only by the platforms that support it." msgstr "" -#: internal/cli/compile/compile.go:113 +#: internal/cli/compile/compile.go:116 msgid "" "The name of the custom signing key to use to sign a binary during the " "compile process. Used only by the platforms that support it." @@ -2326,13 +2334,13 @@ msgstr "" msgid "The output format for the logs, can be: %s" msgstr "" -#: internal/cli/compile/compile.go:111 +#: internal/cli/compile/compile.go:114 msgid "" "The path of the dir to search for the custom keys to sign and encrypt a " "binary. Used only by the platforms that support it." msgstr "" -#: internal/arduino/builder/libraries.go:151 +#: internal/arduino/builder/libraries.go:152 msgid "The platform does not support '%[1]s' for precompiled libraries." msgstr "" @@ -2354,12 +2362,12 @@ msgstr "" msgid "Timestamp each incoming line." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:89 -#: internal/arduino/cores/packagemanager/install_uninstall.go:328 +#: internal/arduino/cores/packagemanager/install_uninstall.go:91 +#: internal/arduino/cores/packagemanager/install_uninstall.go:330 msgid "Tool %s already installed" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:432 +#: internal/arduino/cores/packagemanager/install_uninstall.go:434 msgid "Tool %s uninstalled" msgstr "" @@ -2379,7 +2387,7 @@ msgstr "" msgid "Toolchain type" msgstr "" -#: internal/cli/compile/compile.go:400 internal/cli/upload/upload.go:146 +#: internal/cli/compile/compile.go:415 internal/cli/upload/upload.go:146 msgid "Try running %s" msgstr "" @@ -2399,7 +2407,7 @@ msgstr "" msgid "URL:" msgstr "" -#: internal/arduino/builder/core.go:165 +#: internal/arduino/builder/core.go:166 msgid "" "Unable to cache built core, please tell %[1]s maintainers to follow %[2]s" msgstr "" @@ -2421,17 +2429,17 @@ msgstr "" msgid "Unable to open file for logging: %s" msgstr "" -#: commands/instances.go:562 +#: commands/instances.go:563 msgid "Unable to parse URL" msgstr "" #: commands/service_library_uninstall.go:71 -#: internal/arduino/cores/packagemanager/install_uninstall.go:280 +#: internal/arduino/cores/packagemanager/install_uninstall.go:282 msgid "Uninstalling %s" msgstr "" #: commands/service_platform_uninstall.go:99 -#: internal/arduino/cores/packagemanager/install_uninstall.go:166 +#: internal/arduino/cores/packagemanager/install_uninstall.go:168 msgid "Uninstalling %s, tool is no more required" msgstr "" @@ -2449,7 +2457,7 @@ msgstr "" msgid "Unknown" msgstr "Onbekannt" -#: commands/cmderrors/cmderrors.go:183 +#: commands/cmderrors/cmderrors.go:184 msgid "Unknown FQBN" msgstr "" @@ -2477,7 +2485,7 @@ msgstr "" msgid "Updates the libraries index." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:45 +#: internal/arduino/cores/packagemanager/install_uninstall.go:47 msgid "Upgrade doesn't accept parameters with version" msgstr "" @@ -2510,7 +2518,7 @@ msgstr "" msgid "Upload port address, e.g.: COM3 or /dev/ttyACM2" msgstr "" -#: commands/service_upload.go:531 +#: commands/service_upload.go:532 msgid "Upload port found on %s" msgstr "" @@ -2518,7 +2526,7 @@ msgstr "" msgid "Upload port protocol, e.g: serial" msgstr "" -#: internal/cli/compile/compile.go:120 +#: internal/cli/compile/compile.go:123 msgid "Upload the binary after the compilation." msgstr "" @@ -2530,7 +2538,7 @@ msgstr "" msgid "Upload the bootloader." msgstr "" -#: internal/cli/compile/compile.go:269 internal/cli/upload/upload.go:167 +#: internal/cli/compile/compile.go:274 internal/cli/upload/upload.go:167 msgid "" "Uploading to specified board using %s protocol requires the following info:" msgstr "" @@ -2549,11 +2557,11 @@ msgstr "" msgid "Use %s for more information about a command." msgstr "" -#: internal/cli/compile/compile.go:452 +#: internal/cli/compile/compile.go:471 msgid "Used library" msgstr "Benotzten Bibliothéik" -#: internal/cli/compile/compile.go:467 +#: internal/cli/compile/compile.go:486 msgid "Used platform" msgstr "" @@ -2561,7 +2569,7 @@ msgstr "" msgid "Used: %[1]s" msgstr "Benotzt: %[1]s" -#: commands/service_compile.go:351 +#: commands/service_compile.go:361 msgid "Using board '%[1]s' from platform in folder: %[2]s" msgstr "" @@ -2569,7 +2577,7 @@ msgstr "" msgid "Using cached library dependencies for file: %[1]s" msgstr "" -#: commands/service_compile.go:352 +#: commands/service_compile.go:362 msgid "Using core '%[1]s' from platform in folder: %[2]s" msgstr "" @@ -2583,25 +2591,25 @@ msgid "" "WARNING: Your board may require different settings to work!\n" msgstr "" -#: internal/arduino/builder/libraries.go:312 +#: internal/arduino/builder/libraries.go:313 msgid "Using library %[1]s at version %[2]s in folder: %[3]s %[4]s" msgstr "" -#: internal/arduino/builder/libraries.go:306 +#: internal/arduino/builder/libraries.go:307 msgid "Using library %[1]s in folder: %[2]s %[3]s" msgstr "" -#: internal/arduino/builder/core.go:120 internal/arduino/builder/core.go:132 +#: internal/arduino/builder/core.go:121 internal/arduino/builder/core.go:133 msgid "Using precompiled core: %[1]s" msgstr "" -#: internal/arduino/builder/libraries.go:98 -#: internal/arduino/builder/libraries.go:106 +#: internal/arduino/builder/libraries.go:99 +#: internal/arduino/builder/libraries.go:107 msgid "Using precompiled library in %[1]s" msgstr "" -#: internal/arduino/builder/archive_compiled_files.go:50 -#: internal/arduino/builder/compilation.go:181 +#: internal/arduino/builder/archive_compiled_files.go:51 +#: internal/arduino/builder/compilation.go:182 msgid "Using previously compiled file: %[1]s" msgstr "" @@ -2618,11 +2626,11 @@ msgid "Values" msgstr "" #: internal/cli/burnbootloader/burnbootloader.go:62 -#: internal/cli/compile/compile.go:122 internal/cli/upload/upload.go:78 +#: internal/cli/compile/compile.go:125 internal/cli/upload/upload.go:78 msgid "Verify uploaded binary after the upload." msgstr "" -#: internal/cli/compile/compile.go:453 internal/cli/compile/compile.go:468 +#: internal/cli/compile/compile.go:472 internal/cli/compile/compile.go:487 #: internal/cli/core/search.go:117 msgid "Version" msgstr "Versioun" @@ -2631,34 +2639,34 @@ msgstr "Versioun" msgid "Versions: %s" msgstr "Versiounen: %s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:185 +#: internal/arduino/cores/packagemanager/install_uninstall.go:187 msgid "WARNING cannot configure platform: %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:364 +#: internal/arduino/cores/packagemanager/install_uninstall.go:366 msgid "WARNING cannot configure tool: %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:302 -#: internal/arduino/cores/packagemanager/install_uninstall.go:416 +#: internal/arduino/cores/packagemanager/install_uninstall.go:304 +#: internal/arduino/cores/packagemanager/install_uninstall.go:418 msgid "WARNING cannot run pre_uninstall script: %s" msgstr "" -#: internal/cli/compile/compile.go:330 +#: internal/cli/compile/compile.go:339 msgid "WARNING: The sketch is compiled using one or more custom libraries." msgstr "" -#: internal/arduino/builder/libraries.go:283 +#: internal/arduino/builder/libraries.go:284 msgid "" "WARNING: library %[1]s claims to run on %[2]s architecture(s) and may be " "incompatible with your current board which runs on %[3]s architecture(s)." msgstr "" -#: commands/service_upload.go:520 +#: commands/service_upload.go:521 msgid "Waiting for upload port..." msgstr "" -#: commands/service_compile.go:357 +#: commands/service_compile.go:367 msgid "" "Warning: Board %[1]s doesn't define a %[2]s preference. Auto-set to: %[3]s" msgstr "" @@ -2677,7 +2685,7 @@ msgid "" "directory." msgstr "" -#: internal/cli/compile/compile.go:150 internal/cli/compile/compile.go:153 +#: internal/cli/compile/compile.go:153 internal/cli/compile/compile.go:156 msgid "You cannot use the %s flag while compiling with a profile." msgstr "" @@ -2685,11 +2693,11 @@ msgstr "" msgid "archive hash differs from hash in index" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:188 +#: internal/arduino/libraries/librariesmanager/install.go:187 msgid "archive is not valid: multiple files found in zip file top level" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:191 +#: internal/arduino/libraries/librariesmanager/install.go:190 msgid "archive is not valid: no files found in zip file top level" msgstr "" @@ -2713,11 +2721,11 @@ msgstr "" msgid "basic search for \"esp32\" and \"display\" limited to official Maintainer" msgstr "" -#: commands/service_upload.go:791 +#: commands/service_upload.go:792 msgid "binary file not found in %s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:348 +#: internal/arduino/cores/packagemanager/package_manager.go:316 msgid "board %s not found" msgstr "" @@ -2733,11 +2741,11 @@ msgstr "" msgid "can't find latest release of %s" msgstr "" -#: commands/instances.go:272 +#: commands/instances.go:273 msgid "can't find latest release of tool %s" msgstr "" -#: internal/arduino/cores/packagemanager/loader.go:712 +#: internal/arduino/cores/packagemanager/loader.go:709 msgid "can't find pattern for discovery with id %s" msgstr "" @@ -2745,11 +2753,11 @@ msgstr "" msgid "candidates" msgstr "" -#: commands/service_upload.go:737 commands/service_upload.go:744 +#: commands/service_upload.go:738 commands/service_upload.go:745 msgid "cannot execute upload tool: %s" msgstr "" -#: internal/arduino/resources/install.go:40 +#: internal/arduino/resources/install.go:48 msgid "checking local archive integrity" msgstr "" @@ -2775,27 +2783,27 @@ msgstr "" msgid "computing hash: %s" msgstr "" -#: internal/arduino/cores/fqbn.go:81 +#: pkg/fqbn/fqbn.go:83 msgid "config key %s contains an invalid character" msgstr "" -#: internal/arduino/cores/fqbn.go:86 +#: pkg/fqbn/fqbn.go:87 msgid "config value %s contains an invalid character" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:141 +#: internal/arduino/libraries/librariesmanager/install.go:140 msgid "copying library to destination directory:" msgstr "" -#: commands/service_upload.go:863 +#: commands/service_upload.go:864 msgid "could not find a valid build artifact" msgstr "" -#: commands/service_platform_install.go:94 +#: commands/service_platform_install.go:99 msgid "could not overwrite" msgstr "" -#: commands/service_library_install.go:190 +#: commands/service_library_install.go:191 msgid "could not remove old library" msgstr "" @@ -2804,20 +2812,20 @@ msgstr "" msgid "could not update sketch project file" msgstr "" -#: internal/arduino/builder/core.go:116 internal/arduino/builder/core.go:140 +#: internal/arduino/builder/core.go:117 internal/arduino/builder/core.go:141 msgid "creating core cache folder: %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:219 +#: internal/arduino/cores/packagemanager/install_uninstall.go:221 msgid "creating installed.json in %[1]s: %[2]s" msgstr "" -#: internal/arduino/resources/install.go:45 -#: internal/arduino/resources/install.go:49 +#: internal/arduino/resources/install.go:54 +#: internal/arduino/resources/install.go:58 msgid "creating temp dir for extraction: %s" msgstr "" -#: internal/arduino/builder/sizer.go:196 +#: internal/arduino/builder/sizer.go:199 msgid "data section exceeds available space in board" msgstr "" @@ -2825,15 +2833,15 @@ msgstr "" msgid "dependency '%s' is not available" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:94 +#: internal/arduino/libraries/librariesmanager/install.go:93 msgid "destination dir %s already exists, cannot install" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:138 +#: internal/arduino/libraries/librariesmanager/install.go:137 msgid "destination directory already exists" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:278 +#: internal/arduino/libraries/librariesmanager/install.go:305 msgid "directory doesn't exist: %s" msgstr "" @@ -2841,15 +2849,15 @@ msgstr "" msgid "discovery %[1]s process not started" msgstr "" -#: internal/arduino/cores/packagemanager/loader.go:644 +#: internal/arduino/cores/packagemanager/loader.go:641 msgid "discovery %s not found" msgstr "" -#: internal/arduino/cores/packagemanager/loader.go:648 +#: internal/arduino/cores/packagemanager/loader.go:645 msgid "discovery %s not installed" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:746 +#: internal/arduino/cores/packagemanager/package_manager.go:714 msgid "discovery release not found: %s" msgstr "" @@ -2865,11 +2873,11 @@ msgstr "" msgid "downloaded" msgstr "erofgelueden" -#: commands/instances.go:55 +#: commands/instances.go:56 msgid "downloading %[1]s tool: %[2]s" msgstr "" -#: internal/arduino/cores/fqbn.go:60 +#: pkg/fqbn/fqbn.go:63 msgid "empty board identifier" msgstr "" @@ -2877,7 +2885,7 @@ msgstr "" msgid "error loading sketch project file:" msgstr "" -#: internal/arduino/cores/packagemanager/loader.go:615 +#: internal/arduino/cores/packagemanager/loader.go:612 msgid "error opening %s" msgstr "" @@ -2885,19 +2893,19 @@ msgstr "" msgid "error parsing version constraints" msgstr "" -#: commands/service_board_list.go:115 +#: commands/service_board_identify.go:203 msgid "error processing response from server" msgstr "" -#: commands/service_board_list.go:95 +#: commands/service_board_identify.go:183 msgid "error querying Arduino Cloud Api" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:179 +#: internal/arduino/libraries/librariesmanager/install.go:178 msgid "extracting archive" msgstr "" -#: internal/arduino/resources/install.go:68 +#: internal/arduino/resources/install.go:77 msgid "extracting archive: %s" msgstr "" @@ -2905,7 +2913,7 @@ msgstr "" msgid "failed to compute hash of file \"%s\"" msgstr "" -#: commands/service_board_list.go:90 +#: commands/service_board_identify.go:178 msgid "failed to initialize http client" msgstr "" @@ -2913,7 +2921,7 @@ msgstr "" msgid "fetched archive size differs from size specified in index" msgstr "" -#: internal/arduino/resources/install.go:123 +#: internal/arduino/resources/install.go:132 msgid "files in archive must be placed in a subdirectory" msgstr "" @@ -2943,7 +2951,7 @@ msgstr "" msgid "for the specific version." msgstr "" -#: internal/arduino/cores/fqbn.go:66 +#: pkg/fqbn/fqbn.go:68 msgid "fqbn's field %s contains an invalid character" msgstr "" @@ -2967,35 +2975,35 @@ msgstr "" #: internal/arduino/resources/checksums.go:89 #: internal/arduino/resources/download.go:36 #: internal/arduino/resources/helpers.go:39 -#: internal/arduino/resources/install.go:56 +#: internal/arduino/resources/install.go:65 msgid "getting archive path: %s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:354 +#: internal/arduino/cores/packagemanager/package_manager.go:322 msgid "getting build properties for board %[1]s: %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:106 +#: internal/arduino/cores/packagemanager/download.go:108 msgid "getting discovery dependencies for platform %[1]s: %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:114 +#: internal/arduino/cores/packagemanager/download.go:116 msgid "getting monitor dependencies for platform %[1]s: %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:99 +#: internal/arduino/cores/packagemanager/download.go:101 msgid "getting tool dependencies for platform %[1]s: %[2]s" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:149 +#: internal/arduino/libraries/librariesmanager/install.go:148 msgid "install directory not set" msgstr "" -#: commands/instances.go:59 +#: commands/instances.go:60 msgid "installing %[1]s tool: %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:211 +#: internal/arduino/cores/packagemanager/install_uninstall.go:213 msgid "installing platform %[1]s: %[2]s" msgstr "" @@ -3011,7 +3019,7 @@ msgstr "" msgid "invalid checksum format: %s" msgstr "" -#: internal/arduino/cores/fqbn.go:73 internal/arduino/cores/fqbn.go:78 +#: pkg/fqbn/fqbn.go:75 pkg/fqbn/fqbn.go:80 msgid "invalid config option: %s" msgstr "" @@ -3043,11 +3051,14 @@ msgstr "ongültegen, eidelen Bibliothéiksnumm" msgid "invalid empty library version: %s" msgstr "ongülteg, eidel Bibliothéiksversioun: %s" -#: internal/arduino/cores/board.go:143 +#: internal/arduino/cores/board.go:144 msgid "invalid empty option found" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:268 +#: internal/arduino/libraries/librariesmanager/install.go:276 +#: internal/arduino/libraries/librariesmanager/install.go:279 +#: internal/arduino/libraries/librariesmanager/install.go:286 +#: internal/arduino/libraries/librariesmanager/install.go:290 msgid "invalid git url" msgstr "" @@ -3075,7 +3086,7 @@ msgstr "" msgid "invalid library: no header files found" msgstr "" -#: internal/arduino/cores/board.go:146 +#: internal/arduino/cores/board.go:147 msgid "invalid option '%s'" msgstr "Ongülteg Optioun '%s'" @@ -3091,10 +3102,6 @@ msgstr "" msgid "invalid path writing inventory file: %[1]s error" msgstr "" -#: internal/arduino/cores/packageindex/index.go:278 -msgid "invalid platform archive size: %s" -msgstr "" - #: internal/arduino/sketch/profiles.go:252 msgid "invalid platform identifier" msgstr "" @@ -3115,7 +3122,7 @@ msgstr "" msgid "invalid port configuration: %s=%s" msgstr "" -#: commands/service_upload.go:724 +#: commands/service_upload.go:725 msgid "invalid recipe '%[1]s': %[2]s" msgstr "" @@ -3126,7 +3133,7 @@ msgid "" "cannot be \".\"." msgstr "" -#: internal/arduino/cores/board.go:150 +#: internal/arduino/cores/board.go:151 msgid "invalid value '%[1]s' for option '%[2]s'" msgstr "" @@ -3166,11 +3173,11 @@ msgstr "" msgid "libraries with a Name exactly matching \"pcf8523\"" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:126 +#: internal/arduino/libraries/librariesmanager/install.go:125 msgid "library %s already installed" msgstr "Bibliothéik %s ass schon installéiert" -#: internal/arduino/libraries/librariesmanager/install.go:315 +#: internal/arduino/libraries/librariesmanager/install.go:342 msgid "library not valid" msgstr "Bibliothéik ongülteg" @@ -3184,8 +3191,8 @@ msgstr "" msgid "loading boards: %s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:501 -#: internal/arduino/cores/packagemanager/package_manager.go:516 +#: internal/arduino/cores/packagemanager/package_manager.go:469 +#: internal/arduino/cores/packagemanager/package_manager.go:484 msgid "loading json index file %[1]s: %[2]s" msgstr "" @@ -3214,7 +3221,7 @@ msgstr "" msgid "loading required tool %s" msgstr "" -#: internal/arduino/cores/packagemanager/loader.go:590 +#: internal/arduino/cores/packagemanager/loader.go:587 msgid "loading tool release in %s" msgstr "" @@ -3222,7 +3229,7 @@ msgstr "" msgid "looking for boards.txt in %s" msgstr "" -#: commands/service_upload.go:806 +#: commands/service_upload.go:807 msgid "looking for build artifacts" msgstr "" @@ -3238,7 +3245,7 @@ msgstr "" msgid "missing checksum for: %s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:462 +#: internal/arduino/cores/packagemanager/package_manager.go:430 msgid "missing package %[1]s referenced by board %[2]s" msgstr "" @@ -3246,11 +3253,11 @@ msgstr "" msgid "missing package index for %s, future updates cannot be guaranteed" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:467 +#: internal/arduino/cores/packagemanager/package_manager.go:435 msgid "missing platform %[1]s:%[2]s referenced by board %[3]s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:472 +#: internal/arduino/cores/packagemanager/package_manager.go:440 msgid "missing platform release %[1]s:%[2]s referenced by board %[3]s" msgstr "" @@ -3258,17 +3265,17 @@ msgstr "" msgid "missing signature" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:757 +#: internal/arduino/cores/packagemanager/package_manager.go:725 msgid "monitor release not found: %s" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:197 -#: internal/arduino/libraries/librariesmanager/install.go:246 -#: internal/arduino/resources/install.go:97 +#: internal/arduino/libraries/librariesmanager/install.go:196 +#: internal/arduino/libraries/librariesmanager/install.go:247 +#: internal/arduino/resources/install.go:106 msgid "moving extracted archive to destination dir: %s" msgstr "" -#: commands/service_upload.go:858 +#: commands/service_upload.go:859 msgid "multiple build artifacts found: '%[1]s' and '%[2]s'" msgstr "" @@ -3276,17 +3283,17 @@ msgstr "" msgid "multiple main sketch files found (%[1]v, %[2]v)" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:338 +#: internal/arduino/cores/packagemanager/install_uninstall.go:340 msgid "" "no compatible version of %[1]s tools found for the current os, try " "contacting %[2]s" msgstr "" -#: commands/service_board_list.go:273 +#: commands/service_board_list.go:106 msgid "no instance specified" msgstr "" -#: commands/service_upload.go:813 +#: commands/service_upload.go:814 msgid "no sketch or build directory/file specified" msgstr "" @@ -3294,11 +3301,11 @@ msgstr "" msgid "no such file or directory" msgstr "" -#: internal/arduino/resources/install.go:126 +#: internal/arduino/resources/install.go:135 msgid "no unique root dir in archive, found '%[1]s' and '%[2]s'" msgstr "" -#: commands/service_upload.go:719 +#: commands/service_upload.go:720 msgid "no upload port provided" msgstr "" @@ -3306,11 +3313,11 @@ msgstr "" msgid "no valid sketch found in %[1]s: missing %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:128 +#: internal/arduino/cores/packagemanager/download.go:130 msgid "no versions available for the current OS, try contacting %s" msgstr "" -#: internal/arduino/cores/fqbn.go:50 +#: pkg/fqbn/fqbn.go:53 msgid "not an FQBN: %s" msgstr "" @@ -3319,7 +3326,7 @@ msgid "not running in a terminal" msgstr "" #: internal/arduino/resources/checksums.go:71 -#: internal/arduino/resources/install.go:60 +#: internal/arduino/resources/install.go:69 msgid "opening archive file: %s" msgstr "" @@ -3327,26 +3334,26 @@ msgstr "" msgid "opening boards.txt" msgstr "" -#: internal/arduino/security/signatures.go:81 +#: internal/arduino/security/signatures.go:82 msgid "opening signature file: %s" msgstr "" -#: internal/arduino/security/signatures.go:76 +#: internal/arduino/security/signatures.go:78 msgid "opening target file: %s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:76 +#: internal/arduino/cores/packagemanager/download.go:78 #: internal/arduino/cores/status.go:97 internal/arduino/cores/status.go:122 #: internal/arduino/cores/status.go:149 msgid "package %s not found" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:530 +#: internal/arduino/cores/packagemanager/package_manager.go:498 msgid "package '%s' not found" msgstr "" -#: internal/arduino/cores/board.go:166 -#: internal/arduino/cores/packagemanager/package_manager.go:295 +#: internal/arduino/cores/board.go:167 +#: internal/arduino/cores/packagemanager/package_manager.go:263 msgid "parsing fqbn: %s" msgstr "" @@ -3358,26 +3365,26 @@ msgstr "" msgid "path is not a platform directory: %s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:80 +#: internal/arduino/cores/packagemanager/download.go:82 msgid "platform %[1]s not found in package %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:341 +#: internal/arduino/cores/packagemanager/package_manager.go:309 msgid "platform %s is not installed" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:92 +#: commands/cmderrors/cmderrors.go:427 msgid "platform is not available for your OS" msgstr "" -#: commands/service_compile.go:126 -#: internal/arduino/cores/packagemanager/install_uninstall.go:179 -#: internal/arduino/cores/packagemanager/install_uninstall.go:283 -#: internal/arduino/cores/packagemanager/loader.go:420 +#: commands/service_compile.go:129 +#: internal/arduino/cores/packagemanager/install_uninstall.go:181 +#: internal/arduino/cores/packagemanager/install_uninstall.go:285 +#: internal/arduino/cores/packagemanager/loader.go:417 msgid "platform not installed" msgstr "" -#: internal/cli/compile/compile.go:139 +#: internal/cli/compile/compile.go:142 msgid "please use --build-property instead." msgstr "" @@ -3412,15 +3419,15 @@ msgstr "" #: internal/arduino/cores/packagemanager/loader.go:69 #: internal/arduino/cores/packagemanager/loader.go:151 #: internal/arduino/cores/packagemanager/loader.go:218 -#: internal/arduino/cores/packagemanager/loader.go:582 +#: internal/arduino/cores/packagemanager/loader.go:579 msgid "reading directory %s" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:288 +#: internal/arduino/libraries/librariesmanager/install.go:315 msgid "reading directory %s content" msgstr "" -#: internal/arduino/builder/sketch.go:81 +#: internal/arduino/builder/sketch.go:83 msgid "reading file %[1]s: %[2]s" msgstr "" @@ -3444,7 +3451,7 @@ msgstr "" msgid "reading library_index.json: %s" msgstr "" -#: internal/arduino/resources/install.go:116 +#: internal/arduino/resources/install.go:125 msgid "reading package root dir: %s" msgstr "" @@ -3452,11 +3459,11 @@ msgstr "" msgid "reading sketch files" msgstr "" -#: commands/service_upload.go:713 +#: commands/service_upload.go:714 msgid "recipe not found '%s'" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:606 +#: internal/arduino/cores/packagemanager/package_manager.go:574 msgid "release %[1]s not found for tool %[2]s" msgstr "" @@ -3469,19 +3476,19 @@ msgstr "" msgid "removing corrupted archive file: %s" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:152 +#: internal/arduino/libraries/librariesmanager/install.go:151 msgid "removing library directory: %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:310 +#: internal/arduino/cores/packagemanager/install_uninstall.go:312 msgid "removing platform files: %s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:87 +#: internal/arduino/cores/packagemanager/download.go:89 msgid "required version %[1]s not found for platform %[2]s" msgstr "" -#: internal/arduino/security/signatures.go:72 +#: internal/arduino/security/signatures.go:74 msgid "retrieving Arduino public keys: %s" msgstr "" @@ -3490,10 +3497,14 @@ msgstr "" msgid "scanning sketch examples" msgstr "" -#: internal/arduino/resources/install.go:74 +#: internal/arduino/resources/install.go:83 msgid "searching package root dir: %s" msgstr "" +#: internal/arduino/security/signatures.go:87 +msgid "signature expired: is your system clock set correctly?" +msgstr "" + #: commands/service_sketch_new.go:78 msgid "sketch name cannot be empty" msgstr "" @@ -3531,11 +3542,11 @@ msgstr "" msgid "testing if archive is cached: %s" msgstr "" -#: internal/arduino/resources/install.go:38 +#: internal/arduino/resources/install.go:46 msgid "testing local archive integrity: %s" msgstr "" -#: internal/arduino/builder/sizer.go:191 +#: internal/arduino/builder/sizer.go:194 msgid "text section exceeds available space in board" msgstr "" @@ -3544,7 +3555,7 @@ msgstr "" msgid "the compilation database may be incomplete or inaccurate" msgstr "" -#: commands/service_board_list.go:102 +#: commands/service_board_identify.go:190 msgid "the server responded with status %s" msgstr "" @@ -3552,7 +3563,7 @@ msgstr "" msgid "timeout waiting for message" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:404 +#: internal/arduino/cores/packagemanager/install_uninstall.go:406 msgid "tool %s is not managed by package manager" msgstr "" @@ -3561,16 +3572,16 @@ msgstr "" msgid "tool %s not found" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:556 +#: internal/arduino/cores/packagemanager/package_manager.go:524 msgid "tool '%[1]s' not found in package '%[2]s'" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:399 +#: internal/arduino/cores/packagemanager/install_uninstall.go:401 msgid "tool not installed" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:735 -#: internal/arduino/cores/packagemanager/package_manager.go:841 +#: internal/arduino/cores/packagemanager/package_manager.go:703 +#: internal/arduino/cores/packagemanager/package_manager.go:809 msgid "tool release not found: %s" msgstr "" @@ -3578,21 +3589,21 @@ msgstr "" msgid "tool version %s not found" msgstr "" -#: commands/service_library_install.go:92 +#: commands/service_library_install.go:93 msgid "" "two different versions of the library %[1]s are required: %[2]s and %[3]s" msgstr "" -#: internal/arduino/builder/sketch.go:74 -#: internal/arduino/builder/sketch.go:118 +#: internal/arduino/builder/sketch.go:76 +#: internal/arduino/builder/sketch.go:120 msgid "unable to compute relative path to the sketch for the item" msgstr "" -#: internal/arduino/builder/sketch.go:43 +#: internal/arduino/builder/sketch.go:45 msgid "unable to create a folder to save the sketch" msgstr "" -#: internal/arduino/builder/sketch.go:124 +#: internal/arduino/builder/sketch.go:126 msgid "unable to create the folder containing the item" msgstr "" @@ -3600,23 +3611,23 @@ msgstr "" msgid "unable to marshal config to YAML: %v" msgstr "" -#: internal/arduino/builder/sketch.go:162 +#: internal/arduino/builder/sketch.go:164 msgid "unable to read contents of the destination item" msgstr "" -#: internal/arduino/builder/sketch.go:135 +#: internal/arduino/builder/sketch.go:137 msgid "unable to read contents of the source item" msgstr "" -#: internal/arduino/builder/sketch.go:145 +#: internal/arduino/builder/sketch.go:147 msgid "unable to write to destination file" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:329 +#: internal/arduino/cores/packagemanager/package_manager.go:297 msgid "unknown package %s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:336 +#: internal/arduino/cores/packagemanager/package_manager.go:304 msgid "unknown platform %s:%s" msgstr "" @@ -3636,7 +3647,7 @@ msgstr "" msgid "upgrade everything to the latest version" msgstr "" -#: commands/service_upload.go:759 +#: commands/service_upload.go:760 msgid "uploading error: %s" msgstr "" @@ -3660,6 +3671,6 @@ msgstr "" msgid "version %s not found" msgstr "" -#: commands/service_board_list.go:120 +#: commands/service_board_identify.go:208 msgid "wrong format in server response" msgstr "" diff --git a/internal/i18n/data/mn.po b/internal/locales/data/mn.po similarity index 100% rename from internal/i18n/data/mn.po rename to internal/locales/data/mn.po diff --git a/internal/i18n/data/my_MM.po b/internal/locales/data/my_MM.po similarity index 100% rename from internal/i18n/data/my_MM.po rename to internal/locales/data/my_MM.po diff --git a/internal/i18n/data/ne.po b/internal/locales/data/ne.po similarity index 100% rename from internal/i18n/data/ne.po rename to internal/locales/data/ne.po diff --git a/internal/i18n/data/pl.po b/internal/locales/data/pl.po similarity index 85% rename from internal/i18n/data/pl.po rename to internal/locales/data/pl.po index 4b10a29f4a6..46cba502fb7 100644 --- a/internal/i18n/data/pl.po +++ b/internal/locales/data/pl.po @@ -11,7 +11,7 @@ msgstr "" "Language: pl\n" "Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" -#: version/version.go:56 +#: internal/version/version.go:56 msgid "%[1]s %[2]s Version: %[3]s Commit: %[4]s Date: %[5]s" msgstr "" @@ -23,11 +23,11 @@ msgstr "%[1]sfolder nie jest już wspierany,.Zobacz %[2]spo więcej informacji" msgid "%[1]s invalid, rebuilding all" msgstr "%[1]snieprawidłowe, przebudowywuję całość" -#: internal/cli/lib/check_deps.go:124 +#: internal/cli/lib/check_deps.go:125 msgid "%[1]s is required but %[2]s is currently installed." msgstr "%[1]sjest wymagane ale %[2]s jest obecnie zaistalowane" -#: internal/arduino/builder/builder.go:486 +#: internal/arduino/builder/builder.go:487 msgid "%[1]s pattern is missing" msgstr "Brakujący wzorzec %[1]s" @@ -35,24 +35,24 @@ msgstr "Brakujący wzorzec %[1]s" msgid "%s already downloaded" msgstr "%sjuż pobrane" -#: commands/service_upload.go:781 +#: commands/service_upload.go:782 msgid "%s and %s cannot be used together" msgstr "%s oraz %s nie mogą być razem użyte" -#: internal/arduino/cores/packagemanager/install_uninstall.go:371 +#: internal/arduino/cores/packagemanager/install_uninstall.go:373 msgid "%s installed" msgstr "%s zainstalowane" -#: internal/cli/lib/check_deps.go:121 +#: internal/cli/lib/check_deps.go:122 msgid "%s is already installed." msgstr "%sjuż jest zainstalowane" #: internal/arduino/cores/packagemanager/loader.go:63 -#: internal/arduino/cores/packagemanager/loader.go:617 +#: internal/arduino/cores/packagemanager/loader.go:614 msgid "%s is not a directory" msgstr "%snie jest " -#: internal/arduino/cores/packagemanager/install_uninstall.go:290 +#: internal/arduino/cores/packagemanager/install_uninstall.go:292 msgid "%s is not managed by package manager" msgstr "%snie jest zarządzane przez zarządcę paczek" @@ -60,20 +60,20 @@ msgstr "%snie jest zarządzane przez zarządcę paczek" msgid "%s must be >= 1024" msgstr "" -#: internal/cli/lib/check_deps.go:118 +#: internal/cli/lib/check_deps.go:119 msgid "%s must be installed." msgstr "%smusi byc zainstalowane" -#: internal/arduino/builder/internal/preprocessor/ctags.go:192 -#: internal/arduino/builder/internal/preprocessor/gcc.go:62 +#: internal/arduino/builder/internal/preprocessor/ctags.go:193 +#: internal/arduino/builder/internal/preprocessor/gcc.go:63 msgid "%s pattern is missing" msgstr "%s brakuje wzoru" -#: commands/cmderrors/cmderrors.go:818 +#: commands/cmderrors/cmderrors.go:839 msgid "'%s' has an invalid signature" msgstr "'%s' posiada niewłaściwy podpis" -#: internal/arduino/cores/packagemanager/package_manager.go:448 +#: internal/arduino/cores/packagemanager/package_manager.go:416 msgid "" "'build.core' and 'build.variant' refer to different platforms: %[1]s and " "%[2]s" @@ -83,7 +83,7 @@ msgstr "" msgid "(hidden)" msgstr "(ukryte)" -#: internal/arduino/builder/libraries.go:302 +#: internal/arduino/builder/libraries.go:303 msgid "(legacy)" msgstr "(przestarzałe)" @@ -111,7 +111,7 @@ msgstr "" msgid "A new release of Arduino CLI is available:" msgstr "" -#: commands/cmderrors/cmderrors.go:299 +#: commands/cmderrors/cmderrors.go:300 msgid "A programmer is required to upload" msgstr "" @@ -144,7 +144,7 @@ msgstr "" msgid "All the cores are already at the latest version" msgstr "" -#: commands/service_library_install.go:135 +#: commands/service_library_install.go:136 msgid "Already installed %s" msgstr "" @@ -172,7 +172,7 @@ msgstr "Architektura: %s" msgid "Archive already exists" msgstr "" -#: internal/arduino/builder/core.go:163 +#: internal/arduino/builder/core.go:164 msgid "Archiving built core (caching) in: %[1]s" msgstr "Archiwizowanie budowanego rdzenia (buforowanie) w: %[1]s" @@ -220,7 +220,7 @@ msgstr "" msgid "Author: %s" msgstr "Autor: %s" -#: internal/arduino/libraries/librariesmanager/install.go:79 +#: internal/arduino/libraries/librariesmanager/install.go:78 msgid "" "Automatic library install can't be performed in this case, please manually " "remove all duplicates and retry." @@ -257,11 +257,11 @@ msgstr "Nazwa płytki:" msgid "Board version:" msgstr "" -#: internal/arduino/builder/sketch.go:243 +#: internal/arduino/builder/sketch.go:245 msgid "Bootloader file specified but missing: %[1]s" msgstr "Podany nieistniejący plik programu rozruchowego: %[1]s" -#: internal/cli/compile/compile.go:101 +#: internal/cli/compile/compile.go:104 msgid "" "Builds of cores and sketches are saved into this path to be cached and " "reused." @@ -271,25 +271,25 @@ msgstr "" msgid "Can't create data directory %s" msgstr "" -#: commands/cmderrors/cmderrors.go:511 +#: commands/cmderrors/cmderrors.go:532 msgid "Can't create sketch" msgstr "" -#: commands/service_library_download.go:91 -#: commands/service_library_download.go:94 +#: commands/service_library_download.go:95 +#: commands/service_library_download.go:98 msgid "Can't download library" msgstr "" #: commands/service_platform_uninstall.go:89 -#: internal/arduino/cores/packagemanager/install_uninstall.go:136 +#: internal/arduino/cores/packagemanager/install_uninstall.go:138 msgid "Can't find dependencies for platform %s" msgstr "" -#: commands/cmderrors/cmderrors.go:537 +#: commands/cmderrors/cmderrors.go:558 msgid "Can't open sketch" msgstr "" -#: commands/cmderrors/cmderrors.go:524 +#: commands/cmderrors/cmderrors.go:545 msgid "Can't update sketch" msgstr "" @@ -301,11 +301,11 @@ msgstr "" msgid "Can't write debug log: %s" msgstr "" -#: commands/service_compile.go:187 commands/service_compile.go:190 +#: commands/service_compile.go:190 commands/service_compile.go:193 msgid "Cannot create build cache directory" msgstr "" -#: commands/service_compile.go:212 +#: commands/service_compile.go:215 msgid "Cannot create build directory" msgstr "" @@ -317,11 +317,11 @@ msgstr "" msgid "Cannot create config file: %v" msgstr "" -#: commands/cmderrors/cmderrors.go:781 +#: commands/cmderrors/cmderrors.go:802 msgid "Cannot create temp dir" msgstr "" -#: commands/cmderrors/cmderrors.go:799 +#: commands/cmderrors/cmderrors.go:820 msgid "Cannot create temp file" msgstr "" @@ -343,15 +343,15 @@ msgstr "" msgid "Cannot get the configuration key %[1]s: %[2]v" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:143 +#: internal/arduino/cores/packagemanager/install_uninstall.go:145 msgid "Cannot install platform" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:349 +#: internal/arduino/cores/packagemanager/install_uninstall.go:351 msgid "Cannot install tool %s" msgstr "" -#: commands/service_upload.go:543 +#: commands/service_upload.go:544 msgid "Cannot perform port reset: %s" msgstr "" @@ -360,7 +360,7 @@ msgstr "" msgid "Cannot remove the configuration key %[1]s: %[2]v" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:161 +#: internal/arduino/cores/packagemanager/install_uninstall.go:163 msgid "Cannot upgrade platform" msgstr "" @@ -398,27 +398,31 @@ msgid "" "a change." msgstr "" -#: commands/service_debug_config.go:178 commands/service_upload.go:451 +#: commands/service_debug_config.go:178 commands/service_upload.go:452 msgid "Compiled sketch not found in %s" msgstr "" +#: internal/arduino/builder/internal/preprocessor/gcc.go:93 +msgid "Compiler error output has been truncated." +msgstr "" + #: internal/cli/compile/compile.go:80 internal/cli/compile/compile.go:81 msgid "Compiles Arduino sketches." msgstr "" -#: internal/arduino/builder/builder.go:420 +#: internal/arduino/builder/builder.go:421 msgid "Compiling core..." msgstr "" -#: internal/arduino/builder/builder.go:399 +#: internal/arduino/builder/builder.go:400 msgid "Compiling libraries..." msgstr "" -#: internal/arduino/builder/libraries.go:133 +#: internal/arduino/builder/libraries.go:134 msgid "Compiling library \"%[1]s\"" msgstr "" -#: internal/arduino/builder/builder.go:383 +#: internal/arduino/builder/builder.go:384 msgid "Compiling sketch..." msgstr "Kompilowanie szkicu..." @@ -441,11 +445,11 @@ msgid "" "=[,=]..." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:177 +#: internal/arduino/cores/packagemanager/install_uninstall.go:179 msgid "Configuring platform." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:359 +#: internal/arduino/cores/packagemanager/install_uninstall.go:361 msgid "Configuring tool." msgstr "" @@ -461,19 +465,19 @@ msgstr "" msgid "Core" msgstr "" -#: internal/cli/configuration/network.go:103 +#: internal/cli/configuration/network.go:127 msgid "Could not connect via HTTP" msgstr "" -#: commands/instances.go:486 +#: commands/instances.go:487 msgid "Could not create index directory" msgstr "" -#: internal/arduino/builder/core.go:41 +#: internal/arduino/builder/core.go:42 msgid "Couldn't deeply cache core build: %[1]s" msgstr "" -#: internal/arduino/builder/sizer.go:154 +#: internal/arduino/builder/sizer.go:155 msgid "Couldn't determine program size" msgstr "" @@ -485,7 +489,7 @@ msgstr "" msgid "Create a new Sketch" msgstr "" -#: internal/cli/compile/compile.go:98 +#: internal/cli/compile/compile.go:101 msgid "Create and print a profile configuration from the build." msgstr "" @@ -499,7 +503,7 @@ msgid "" "directory with the current configuration settings." msgstr "" -#: internal/cli/compile/compile.go:331 +#: internal/cli/compile/compile.go:340 msgid "" "Currently, Build Profiles only support libraries available through Arduino " "Library Manager." @@ -573,7 +577,7 @@ msgstr "" msgid "Description" msgstr "" -#: internal/arduino/builder/builder.go:313 +#: internal/arduino/builder/builder.go:314 msgid "Detecting libraries used..." msgstr "" @@ -633,7 +637,7 @@ msgstr "" msgid "Do not try to update library dependencies if already installed." msgstr "" -#: commands/service_library_download.go:88 +#: commands/service_library_download.go:92 msgid "Downloading %s" msgstr "" @@ -641,21 +645,21 @@ msgstr "" msgid "Downloading index signature: %s" msgstr "" -#: commands/instances.go:563 commands/instances.go:581 -#: commands/instances.go:595 commands/instances.go:612 +#: commands/instances.go:564 commands/instances.go:582 +#: commands/instances.go:596 commands/instances.go:613 #: internal/arduino/resources/index.go:82 msgid "Downloading index: %s" msgstr "" -#: commands/instances.go:371 +#: commands/instances.go:372 msgid "Downloading library %s" msgstr "" -#: commands/instances.go:53 +#: commands/instances.go:54 msgid "Downloading missing tool %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:96 +#: internal/arduino/cores/packagemanager/install_uninstall.go:98 msgid "Downloading packages" msgstr "" @@ -691,7 +695,7 @@ msgstr "" msgid "Error adding file to sketch archive" msgstr "" -#: internal/arduino/builder/core.go:169 +#: internal/arduino/builder/core.go:170 msgid "Error archiving built core (caching) in %[1]s: %[2]s" msgstr "" @@ -707,11 +711,11 @@ msgstr "" msgid "Error cleaning caches: %v" msgstr "" -#: internal/cli/compile/compile.go:220 +#: internal/cli/compile/compile.go:225 msgid "Error converting path to absolute: %v" msgstr "" -#: commands/service_compile.go:405 +#: commands/service_compile.go:420 msgid "Error copying output file %s" msgstr "" @@ -725,7 +729,7 @@ msgstr "" msgid "Error creating instance: %v" msgstr "" -#: commands/service_compile.go:389 +#: commands/service_compile.go:403 msgid "Error creating output dir" msgstr "" @@ -750,7 +754,7 @@ msgstr "" msgid "Error downloading %s" msgstr "" -#: commands/instances.go:660 internal/arduino/resources/index.go:83 +#: commands/instances.go:661 internal/arduino/resources/index.go:83 msgid "Error downloading index '%s'" msgstr "" @@ -758,7 +762,7 @@ msgstr "" msgid "Error downloading index signature '%s'" msgstr "" -#: commands/instances.go:381 commands/instances.go:387 +#: commands/instances.go:382 commands/instances.go:388 msgid "Error downloading library %s" msgstr "" @@ -767,7 +771,7 @@ msgstr "" msgid "Error downloading platform %s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:127 +#: internal/arduino/cores/packagemanager/download.go:129 #: internal/arduino/cores/packagemanager/profiles.go:179 msgid "Error downloading tool %s" msgstr "" @@ -782,7 +786,7 @@ msgstr "" #: internal/cli/burnbootloader/burnbootloader.go:78 #: internal/cli/burnbootloader/burnbootloader.go:100 -#: internal/cli/compile/compile.go:264 internal/cli/compile/compile.go:306 +#: internal/cli/compile/compile.go:269 internal/cli/compile/compile.go:311 #: internal/cli/upload/upload.go:99 internal/cli/upload/upload.go:128 msgid "Error during Upload: %v" msgstr "" @@ -791,7 +795,7 @@ msgstr "" msgid "Error during board detection" msgstr "" -#: internal/cli/compile/compile.go:379 +#: internal/cli/compile/compile.go:394 msgid "Error during build: %v" msgstr "" @@ -812,7 +816,7 @@ msgstr "" msgid "Error extracting %s" msgstr "" -#: commands/service_upload.go:448 +#: commands/service_upload.go:449 msgid "Error finding build artifacts" msgstr "" @@ -838,7 +842,7 @@ msgid "" "correct sketch folder or provide the --port flag: %s" msgstr "" -#: commands/service_compile.go:328 commands/service_library_list.go:115 +#: commands/service_compile.go:338 commands/service_library_list.go:115 msgid "Error getting information for library %s" msgstr "" @@ -874,7 +878,7 @@ msgstr "" msgid "Error installing Zip Library: %v" msgstr "" -#: commands/instances.go:397 +#: commands/instances.go:398 msgid "Error installing library %s" msgstr "" @@ -901,7 +905,7 @@ msgstr "" msgid "Error listing platforms: %v" msgstr "" -#: commands/cmderrors/cmderrors.go:424 +#: commands/cmderrors/cmderrors.go:445 msgid "Error loading hardware platform" msgstr "" @@ -918,15 +922,15 @@ msgstr "" msgid "Error opening debug logging file: %s" msgstr "" -#: internal/cli/compile/compile.go:193 +#: internal/cli/compile/compile.go:196 msgid "Error opening source code overrides data file: %v" msgstr "" -#: internal/cli/compile/compile.go:206 +#: internal/cli/compile/compile.go:209 msgid "Error parsing --show-properties flag: %v" msgstr "" -#: commands/service_compile.go:398 +#: commands/service_compile.go:412 msgid "Error reading build directory" msgstr "" @@ -942,7 +946,7 @@ msgstr "" msgid "Error retrieving core list: %v" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:158 +#: internal/arduino/cores/packagemanager/install_uninstall.go:160 msgid "Error rolling-back changes: %s" msgstr "" @@ -996,7 +1000,7 @@ msgstr "" msgid "Error upgrading libraries" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:153 +#: internal/arduino/cores/packagemanager/install_uninstall.go:155 msgid "Error upgrading platform: %s" msgstr "" @@ -1009,10 +1013,10 @@ msgstr "" msgid "Error while detecting libraries included by %[1]s" msgstr "" -#: internal/arduino/builder/sizer.go:79 internal/arduino/builder/sizer.go:88 -#: internal/arduino/builder/sizer.go:91 internal/arduino/builder/sizer.go:110 -#: internal/arduino/builder/sizer.go:215 internal/arduino/builder/sizer.go:225 -#: internal/arduino/builder/sizer.go:229 +#: internal/arduino/builder/sizer.go:80 internal/arduino/builder/sizer.go:89 +#: internal/arduino/builder/sizer.go:92 internal/arduino/builder/sizer.go:111 +#: internal/arduino/builder/sizer.go:218 internal/arduino/builder/sizer.go:228 +#: internal/arduino/builder/sizer.go:232 msgid "Error while determining sketch size: %s" msgstr "" @@ -1028,7 +1032,7 @@ msgstr "" msgid "Error: command description is not supported by %v" msgstr "" -#: internal/cli/compile/compile.go:199 +#: internal/cli/compile/compile.go:202 msgid "Error: invalid source code overrides data file: %v" msgstr "" @@ -1048,7 +1052,7 @@ msgstr "" msgid "Executable to debug" msgstr "" -#: commands/service_debug_config.go:181 commands/service_upload.go:454 +#: commands/service_debug_config.go:181 commands/service_upload.go:455 msgid "Expected compiled sketch in directory %s, but is a file instead" msgstr "" @@ -1062,23 +1066,23 @@ msgstr "" msgid "FQBN:" msgstr "" -#: commands/service_upload.go:577 +#: commands/service_upload.go:578 msgid "Failed chip erase" msgstr "" -#: commands/service_upload.go:584 +#: commands/service_upload.go:585 msgid "Failed programming" msgstr "" -#: commands/service_upload.go:580 +#: commands/service_upload.go:581 msgid "Failed to burn bootloader" msgstr "" -#: commands/instances.go:87 +#: commands/instances.go:88 msgid "Failed to create data directory" msgstr "" -#: commands/instances.go:76 +#: commands/instances.go:77 msgid "Failed to create downloads directory" msgstr "" @@ -1098,7 +1102,7 @@ msgstr "" msgid "Failed to listen on TCP port: %s. Address already in use." msgstr "" -#: commands/service_upload.go:588 +#: commands/service_upload.go:589 msgid "Failed uploading" msgstr "" @@ -1106,7 +1110,7 @@ msgstr "" msgid "File:" msgstr "" -#: commands/service_compile.go:160 +#: commands/service_compile.go:163 msgid "" "Firmware encryption/signing requires all the following properties to be " "defined: %s" @@ -1145,7 +1149,7 @@ msgid "" "Force skip of pre-uninstall scripts (if the CLI is running interactively)." msgstr "" -#: commands/cmderrors/cmderrors.go:839 +#: commands/cmderrors/cmderrors.go:860 msgid "Found %d platforms matching \"%s\": %s" msgstr "" @@ -1170,7 +1174,7 @@ msgstr "" msgid "Generates completion scripts for various shells" msgstr "" -#: internal/arduino/builder/builder.go:333 +#: internal/arduino/builder/builder.go:334 msgid "Generating function prototypes..." msgstr "" @@ -1182,7 +1186,7 @@ msgstr "" msgid "Global Flags:" msgstr "" -#: internal/arduino/builder/sizer.go:164 +#: internal/arduino/builder/sizer.go:166 msgid "" "Global variables use %[1]s bytes (%[3]s%%) of dynamic memory, leaving %[4]s " "bytes for local variables. Maximum is %[2]s bytes." @@ -1191,7 +1195,7 @@ msgstr "" "pozostawiając %[4]s bajtów dla zmiennych lokalnych. Maksimum to %[2]s " "bajtów." -#: internal/arduino/builder/sizer.go:170 +#: internal/arduino/builder/sizer.go:172 msgid "Global variables use %[1]s bytes of dynamic memory." msgstr "Zmienne globalne używają %[1]s bajtów pamięci dynamicznej." @@ -1209,7 +1213,7 @@ msgstr "" msgid "Identification properties:" msgstr "" -#: internal/cli/compile/compile.go:132 +#: internal/cli/compile/compile.go:135 msgid "If set built binaries will be exported to the sketch folder." msgstr "" @@ -1236,20 +1240,20 @@ msgstr "" msgid "Installed" msgstr "Zainstalowany" -#: commands/service_library_install.go:200 +#: commands/service_library_install.go:201 msgid "Installed %s" msgstr "" -#: commands/service_library_install.go:183 -#: internal/arduino/cores/packagemanager/install_uninstall.go:333 +#: commands/service_library_install.go:184 +#: internal/arduino/cores/packagemanager/install_uninstall.go:335 msgid "Installing %s" msgstr "" -#: commands/instances.go:395 +#: commands/instances.go:396 msgid "Installing library %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:119 +#: internal/arduino/cores/packagemanager/install_uninstall.go:121 #: internal/arduino/cores/packagemanager/profiles.go:134 msgid "Installing platform %s" msgstr "" @@ -1270,11 +1274,11 @@ msgstr "" msgid "Internal error in cache" msgstr "" -#: commands/cmderrors/cmderrors.go:377 +#: commands/cmderrors/cmderrors.go:378 msgid "Invalid '%[1]s' property: %[2]s" msgstr "" -#: commands/cmderrors/cmderrors.go:60 +#: commands/cmderrors/cmderrors.go:61 msgid "Invalid FQBN" msgstr "" @@ -1282,11 +1286,11 @@ msgstr "" msgid "Invalid TCP address: port is missing" msgstr "" -#: commands/cmderrors/cmderrors.go:78 +#: commands/cmderrors/cmderrors.go:79 msgid "Invalid URL" msgstr "" -#: commands/instances.go:183 +#: commands/instances.go:184 msgid "Invalid additional URL: %v" msgstr "" @@ -1300,23 +1304,23 @@ msgstr "" msgid "Invalid argument passed: %v" msgstr "" -#: commands/service_compile.go:272 +#: commands/service_compile.go:282 msgid "Invalid build properties" msgstr "" -#: internal/arduino/builder/sizer.go:250 +#: internal/arduino/builder/sizer.go:253 msgid "Invalid data size regexp: %s" msgstr "" -#: internal/arduino/builder/sizer.go:256 +#: internal/arduino/builder/sizer.go:259 msgid "Invalid eeprom size regexp: %s" msgstr "" -#: commands/instances.go:596 +#: commands/instances.go:597 msgid "Invalid index URL: %s" msgstr "" -#: commands/cmderrors/cmderrors.go:46 +#: commands/cmderrors/cmderrors.go:47 msgid "Invalid instance" msgstr "" @@ -1324,7 +1328,7 @@ msgstr "" msgid "Invalid item %s" msgstr "" -#: commands/cmderrors/cmderrors.go:96 +#: commands/cmderrors/cmderrors.go:97 msgid "Invalid library" msgstr "" @@ -1332,11 +1336,11 @@ msgstr "" msgid "Invalid logging level: %s" msgstr "" -#: commands/instances.go:613 +#: commands/instances.go:614 msgid "Invalid network configuration: %s" msgstr "" -#: internal/cli/configuration/network.go:66 +#: internal/cli/configuration/network.go:83 msgid "Invalid network.proxy '%[1]s': %[2]s" msgstr "" @@ -1344,7 +1348,7 @@ msgstr "" msgid "Invalid output format: %s" msgstr "" -#: commands/instances.go:580 +#: commands/instances.go:581 msgid "Invalid package index in %s" msgstr "" @@ -1352,35 +1356,35 @@ msgstr "" msgid "Invalid parameter %s: version not allowed" msgstr "" -#: commands/service_board_list.go:81 +#: commands/service_board_identify.go:169 msgid "Invalid pid value: '%s'" msgstr "" -#: commands/cmderrors/cmderrors.go:220 +#: commands/cmderrors/cmderrors.go:221 msgid "Invalid profile" msgstr "" -#: commands/service_monitor.go:269 +#: commands/service_monitor.go:270 msgid "Invalid recipe in platform.txt" msgstr "" -#: internal/arduino/builder/sizer.go:240 +#: internal/arduino/builder/sizer.go:243 msgid "Invalid size regexp: %s" msgstr "" -#: main.go:85 +#: main.go:86 msgid "Invalid value in configuration" msgstr "" -#: commands/cmderrors/cmderrors.go:114 +#: commands/cmderrors/cmderrors.go:115 msgid "Invalid version" msgstr "" -#: commands/service_board_list.go:78 +#: commands/service_board_identify.go:166 msgid "Invalid vid value: '%s'" msgstr "" -#: internal/cli/compile/compile.go:129 +#: internal/cli/compile/compile.go:132 msgid "" "Just produce the compilation database, without actually compiling. All build" " commands are skipped except pre* hooks." @@ -1403,12 +1407,12 @@ msgstr "" msgid "Latest" msgstr "" -#: internal/arduino/builder/libraries.go:91 +#: internal/arduino/builder/libraries.go:92 msgid "Library %[1]s has been declared precompiled:" msgstr "" -#: commands/service_library_install.go:141 -#: internal/arduino/libraries/librariesmanager/install.go:131 +#: commands/service_library_install.go:142 +#: internal/arduino/libraries/librariesmanager/install.go:130 msgid "" "Library %[1]s is already installed, but with a different version: %[2]s" msgstr "" @@ -1421,11 +1425,11 @@ msgstr "" msgid "Library %s is not installed" msgstr "" -#: commands/instances.go:374 +#: commands/instances.go:375 msgid "Library %s not found" msgstr "" -#: commands/cmderrors/cmderrors.go:445 +#: commands/cmderrors/cmderrors.go:466 msgid "Library '%s' not found" msgstr "" @@ -1434,12 +1438,12 @@ msgid "" "Library can't use both '%[1]s' and '%[2]s' folders. Double check in '%[3]s'." msgstr "" -#: commands/cmderrors/cmderrors.go:574 +#: commands/cmderrors/cmderrors.go:595 msgid "Library install failed" msgstr "" -#: commands/service_library_install.go:234 -#: commands/service_library_install.go:274 +#: commands/service_library_install.go:235 +#: commands/service_library_install.go:275 msgid "Library installed" msgstr "" @@ -1447,7 +1451,7 @@ msgstr "" msgid "License: %s" msgstr "" -#: internal/arduino/builder/builder.go:436 +#: internal/arduino/builder/builder.go:437 msgid "Linking everything together..." msgstr "" @@ -1471,7 +1475,7 @@ msgid "" " multiple options." msgstr "" -#: internal/cli/compile/compile.go:107 +#: internal/cli/compile/compile.go:110 msgid "" "List of custom build properties separated by commas. Or can be used multiple" " times for multiple properties." @@ -1493,8 +1497,8 @@ msgstr "" msgid "Lists cores and libraries that can be upgraded" msgstr "" -#: commands/instances.go:221 commands/instances.go:232 -#: commands/instances.go:342 +#: commands/instances.go:222 commands/instances.go:233 +#: commands/instances.go:343 msgid "Loading index file: %v" msgstr "" @@ -1502,7 +1506,7 @@ msgstr "" msgid "Location" msgstr "" -#: internal/arduino/builder/sizer.go:205 +#: internal/arduino/builder/sizer.go:208 msgid "Low memory available, stability problems may occur." msgstr "" "Niski poziom dostępnej pamięci, mogą wystąpić problemy ze stabilnością." @@ -1511,7 +1515,7 @@ msgstr "" msgid "Maintainer: %s" msgstr "" -#: internal/cli/compile/compile.go:137 +#: internal/cli/compile/compile.go:140 msgid "" "Max number of parallel compiles. If set to 0 the number of available CPUs " "cores will be used." @@ -1530,23 +1534,23 @@ msgstr "" msgid "Missing '%[1]s' from library in %[2]s" msgstr "Brakuje '%[1]s' z biblioteki w %[2]s" -#: commands/cmderrors/cmderrors.go:169 +#: commands/cmderrors/cmderrors.go:170 msgid "Missing FQBN (Fully Qualified Board Name)" msgstr "" -#: commands/cmderrors/cmderrors.go:260 +#: commands/cmderrors/cmderrors.go:261 msgid "Missing port" msgstr "" -#: commands/cmderrors/cmderrors.go:236 +#: commands/cmderrors/cmderrors.go:237 msgid "Missing port address" msgstr "" -#: commands/cmderrors/cmderrors.go:248 +#: commands/cmderrors/cmderrors.go:249 msgid "Missing port protocol" msgstr "" -#: commands/cmderrors/cmderrors.go:286 +#: commands/cmderrors/cmderrors.go:287 msgid "Missing programmer" msgstr "" @@ -1554,15 +1558,15 @@ msgstr "" msgid "Missing required upload field: %s" msgstr "" -#: internal/arduino/builder/sizer.go:244 +#: internal/arduino/builder/sizer.go:247 msgid "Missing size regexp" msgstr "" -#: commands/cmderrors/cmderrors.go:497 +#: commands/cmderrors/cmderrors.go:518 msgid "Missing sketch path" msgstr "" -#: commands/cmderrors/cmderrors.go:358 +#: commands/cmderrors/cmderrors.go:359 msgid "Monitor '%s' not found" msgstr "" @@ -1618,7 +1622,7 @@ msgstr "" msgid "No libraries update is available." msgstr "" -#: commands/cmderrors/cmderrors.go:274 +#: commands/cmderrors/cmderrors.go:275 msgid "No monitor available for the port protocol %s" msgstr "" @@ -1634,15 +1638,15 @@ msgstr "" msgid "No platforms matching your search." msgstr "" -#: commands/service_upload.go:533 +#: commands/service_upload.go:534 msgid "No upload port found, using %s as fallback" msgstr "" -#: commands/cmderrors/cmderrors.go:464 +#: commands/cmderrors/cmderrors.go:485 msgid "No valid dependencies solution found" msgstr "" -#: internal/arduino/builder/sizer.go:195 +#: internal/arduino/builder/sizer.go:198 msgid "Not enough memory; see %[1]s for tips on reducing your footprint." msgstr "" "Niewystarczająca ilość pamięci; sprawdź %[1]s w poszukiwaniu rozwiązania " @@ -1674,35 +1678,35 @@ msgstr "" msgid "Option:" msgstr "" -#: internal/cli/compile/compile.go:117 +#: internal/cli/compile/compile.go:120 msgid "" "Optional, can be: %s. Used to tell gcc which warning level to use (-W flag)." msgstr "" -#: internal/cli/compile/compile.go:130 +#: internal/cli/compile/compile.go:133 msgid "Optional, cleanup the build folder and do not use any cached build." msgstr "" -#: internal/cli/compile/compile.go:127 +#: internal/cli/compile/compile.go:130 msgid "" "Optional, optimize compile output for debugging, rather than for release." msgstr "" -#: internal/cli/compile/compile.go:119 +#: internal/cli/compile/compile.go:122 msgid "Optional, suppresses almost every output." msgstr "" -#: internal/cli/compile/compile.go:118 internal/cli/upload/upload.go:79 +#: internal/cli/compile/compile.go:121 internal/cli/upload/upload.go:79 msgid "Optional, turns on verbose mode." msgstr "" -#: internal/cli/compile/compile.go:133 +#: internal/cli/compile/compile.go:136 msgid "" "Optional. Path to a .json file that contains a set of replacements of the " "sketch source code." msgstr "" -#: internal/cli/compile/compile.go:109 +#: internal/cli/compile/compile.go:112 msgid "" "Override a build property with a custom value. Can be used multiple times " "for multiple properties." @@ -1762,17 +1766,17 @@ msgstr "" msgid "Paragraph: %s" msgstr "" -#: internal/cli/compile/compile.go:454 internal/cli/compile/compile.go:469 +#: internal/cli/compile/compile.go:473 internal/cli/compile/compile.go:488 msgid "Path" msgstr "" -#: internal/cli/compile/compile.go:126 +#: internal/cli/compile/compile.go:129 msgid "" "Path to a collection of libraries. Can be used multiple times or entries can" " be comma separated." msgstr "" -#: internal/cli/compile/compile.go:124 +#: internal/cli/compile/compile.go:127 msgid "" "Path to a single library’s root folder. Can be used multiple times or " "entries can be comma separated." @@ -1782,40 +1786,44 @@ msgstr "" msgid "Path to the file where logs will be written." msgstr "" -#: internal/cli/compile/compile.go:105 +#: internal/cli/compile/compile.go:108 msgid "" "Path where to save compiled files. If omitted, a directory will be created " "in the default temporary path of your OS." msgstr "" -#: commands/service_upload.go:514 +#: commands/service_upload.go:515 msgid "Performing 1200-bps touch reset on serial port %s" msgstr "" -#: commands/service_platform_install.go:86 -#: commands/service_platform_install.go:93 +#: commands/service_platform_install.go:91 +#: commands/service_platform_install.go:98 msgid "Platform %s already installed" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:194 +#: internal/arduino/cores/packagemanager/install_uninstall.go:196 msgid "Platform %s installed" msgstr "" -#: internal/cli/compile/compile.go:402 internal/cli/upload/upload.go:148 +#: internal/cli/compile/compile.go:417 internal/cli/upload/upload.go:148 msgid "" "Platform %s is not found in any known index\n" "Maybe you need to add a 3rd party URL?" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:318 +#: internal/arduino/cores/packagemanager/install_uninstall.go:320 msgid "Platform %s uninstalled" msgstr "" -#: commands/cmderrors/cmderrors.go:482 +#: commands/cmderrors/cmderrors.go:427 +msgid "Platform '%s'" +msgstr "" + +#: commands/cmderrors/cmderrors.go:503 msgid "Platform '%s' is already at the latest version" msgstr "" -#: commands/cmderrors/cmderrors.go:406 +#: commands/cmderrors/cmderrors.go:407 msgid "Platform '%s' not found" msgstr "" @@ -1823,7 +1831,7 @@ msgstr "" msgid "Platform ID" msgstr "" -#: internal/cli/compile/compile.go:387 internal/cli/upload/upload.go:136 +#: internal/cli/compile/compile.go:402 internal/cli/upload/upload.go:136 msgid "Platform ID is not correct" msgstr "" @@ -1855,13 +1863,13 @@ msgstr "" msgid "Platform size (bytes):" msgstr "" -#: commands/cmderrors/cmderrors.go:153 +#: commands/cmderrors/cmderrors.go:154 msgid "" "Please specify an FQBN. Multiple possible boards detected on port %[1]s with" " protocol %[2]s" msgstr "" -#: commands/cmderrors/cmderrors.go:133 +#: commands/cmderrors/cmderrors.go:134 msgid "" "Please specify an FQBN. The board on port %[1]s with protocol %[2]s can't be" " identified" @@ -1875,12 +1883,12 @@ msgstr "Port" msgid "Port closed: %v" msgstr "" -#: commands/cmderrors/cmderrors.go:668 +#: commands/cmderrors/cmderrors.go:689 msgid "Port monitor error" msgstr "" -#: internal/arduino/builder/libraries.go:101 -#: internal/arduino/builder/libraries.go:109 +#: internal/arduino/builder/libraries.go:102 +#: internal/arduino/builder/libraries.go:110 msgid "Precompiled library in \"%[1]s\" not found" msgstr "" @@ -1888,7 +1896,7 @@ msgstr "" msgid "Print details about a board." msgstr "" -#: internal/cli/compile/compile.go:100 +#: internal/cli/compile/compile.go:103 msgid "Print preprocessed code to stdout instead of compiling." msgstr "" @@ -1908,11 +1916,11 @@ msgstr "" msgid "Prints the current configuration." msgstr "" -#: commands/cmderrors/cmderrors.go:202 +#: commands/cmderrors/cmderrors.go:203 msgid "Profile '%s' not found" msgstr "" -#: commands/cmderrors/cmderrors.go:339 +#: commands/cmderrors/cmderrors.go:340 msgid "Programmer '%s' not found" msgstr "" @@ -1928,7 +1936,7 @@ msgstr "" msgid "Programmers:" msgstr "" -#: commands/cmderrors/cmderrors.go:391 +#: commands/cmderrors/cmderrors.go:392 msgid "Property '%s' is undefined" msgstr "" @@ -1944,11 +1952,11 @@ msgstr "" msgid "Removes one or more values from a setting." msgstr "" -#: commands/service_library_install.go:187 +#: commands/service_library_install.go:188 msgid "Replacing %[1]s with %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:123 +#: internal/arduino/cores/packagemanager/install_uninstall.go:125 msgid "Replacing platform %[1]s with %[2]s" msgstr "" @@ -1964,12 +1972,12 @@ msgstr "" msgid "Run the Arduino CLI as a gRPC daemon." msgstr "" -#: internal/arduino/builder/core.go:42 +#: internal/arduino/builder/core.go:43 msgid "Running normal build of the core..." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:297 -#: internal/arduino/cores/packagemanager/install_uninstall.go:411 +#: internal/arduino/cores/packagemanager/install_uninstall.go:299 +#: internal/arduino/cores/packagemanager/install_uninstall.go:413 msgid "Running pre_uninstall script." msgstr "" @@ -1981,7 +1989,7 @@ msgstr "" msgid "SVD file path" msgstr "" -#: internal/cli/compile/compile.go:103 +#: internal/cli/compile/compile.go:106 msgid "Save build artifacts in this directory." msgstr "" @@ -2193,7 +2201,7 @@ msgstr "" msgid "Size (bytes):" msgstr "" -#: commands/service_compile.go:276 +#: commands/service_compile.go:286 msgid "" "Sketch cannot be located in build path. Please specify a different build " "path" @@ -2207,11 +2215,11 @@ msgstr "" msgid "Sketch profile to use" msgstr "" -#: internal/arduino/builder/sizer.go:190 +#: internal/arduino/builder/sizer.go:193 msgid "Sketch too big; see %[1]s for tips on reducing it." msgstr "Szkic za duży, zobacz porady na %[1]s w celu zmiejszenia go." -#: internal/arduino/builder/sizer.go:158 +#: internal/arduino/builder/sizer.go:160 msgid "" "Sketch uses %[1]s bytes (%[3]s%%) of program storage space. Maximum is %[2]s" " bytes." @@ -2225,19 +2233,19 @@ msgid "" "files to .ino:" msgstr "" -#: internal/arduino/builder/linker.go:30 +#: internal/arduino/builder/linker.go:31 msgid "Skip linking of final executable." msgstr "" -#: commands/service_upload.go:507 +#: commands/service_upload.go:508 msgid "Skipping 1200-bps touch reset: no serial port selected!" msgstr "" -#: internal/arduino/builder/archive_compiled_files.go:27 +#: internal/arduino/builder/archive_compiled_files.go:28 msgid "Skipping archive creation of: %[1]s" msgstr "" -#: internal/arduino/builder/compilation.go:183 +#: internal/arduino/builder/compilation.go:184 msgid "Skipping compile of: %[1]s" msgstr "" @@ -2245,16 +2253,16 @@ msgstr "" msgid "Skipping dependencies detection for precompiled library %[1]s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:190 +#: internal/arduino/cores/packagemanager/install_uninstall.go:192 msgid "Skipping platform configuration." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:306 -#: internal/arduino/cores/packagemanager/install_uninstall.go:420 +#: internal/arduino/cores/packagemanager/install_uninstall.go:308 +#: internal/arduino/cores/packagemanager/install_uninstall.go:422 msgid "Skipping pre_uninstall script." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:368 +#: internal/arduino/cores/packagemanager/install_uninstall.go:370 msgid "Skipping tool configuration." msgstr "" @@ -2262,7 +2270,7 @@ msgstr "" msgid "Skipping: %[1]s" msgstr "" -#: commands/instances.go:633 +#: commands/instances.go:634 msgid "Some indexes could not be updated." msgstr "" @@ -2282,7 +2290,7 @@ msgstr "" msgid "The custom config file (if not specified the default will be used)." msgstr "" -#: internal/cli/compile/compile.go:90 +#: internal/cli/compile/compile.go:93 msgid "" "The flag --build-cache-path has been deprecated. Please use just --build-" "path alone or configure the build cache path in the Arduino CLI settings." @@ -2300,7 +2308,7 @@ msgstr "" msgid "The given board/programmer configuration supports debugging." msgstr "" -#: commands/cmderrors/cmderrors.go:876 +#: commands/cmderrors/cmderrors.go:897 msgid "The instance is no longer valid and needs to be reinitialized" msgstr "" @@ -2316,17 +2324,17 @@ msgid "" "Maybe use '%[2]s'?" msgstr "" -#: commands/cmderrors/cmderrors.go:858 +#: commands/cmderrors/cmderrors.go:879 msgid "The library %s has multiple installations:" msgstr "" -#: internal/cli/compile/compile.go:115 +#: internal/cli/compile/compile.go:118 msgid "" "The name of the custom encryption key to use to encrypt a binary during the " "compile process. Used only by the platforms that support it." msgstr "" -#: internal/cli/compile/compile.go:113 +#: internal/cli/compile/compile.go:116 msgid "" "The name of the custom signing key to use to sign a binary during the " "compile process. Used only by the platforms that support it." @@ -2336,13 +2344,13 @@ msgstr "" msgid "The output format for the logs, can be: %s" msgstr "" -#: internal/cli/compile/compile.go:111 +#: internal/cli/compile/compile.go:114 msgid "" "The path of the dir to search for the custom keys to sign and encrypt a " "binary. Used only by the platforms that support it." msgstr "" -#: internal/arduino/builder/libraries.go:151 +#: internal/arduino/builder/libraries.go:152 msgid "The platform does not support '%[1]s' for precompiled libraries." msgstr "" @@ -2364,12 +2372,12 @@ msgstr "" msgid "Timestamp each incoming line." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:89 -#: internal/arduino/cores/packagemanager/install_uninstall.go:328 +#: internal/arduino/cores/packagemanager/install_uninstall.go:91 +#: internal/arduino/cores/packagemanager/install_uninstall.go:330 msgid "Tool %s already installed" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:432 +#: internal/arduino/cores/packagemanager/install_uninstall.go:434 msgid "Tool %s uninstalled" msgstr "" @@ -2389,7 +2397,7 @@ msgstr "" msgid "Toolchain type" msgstr "" -#: internal/cli/compile/compile.go:400 internal/cli/upload/upload.go:146 +#: internal/cli/compile/compile.go:415 internal/cli/upload/upload.go:146 msgid "Try running %s" msgstr "" @@ -2409,7 +2417,7 @@ msgstr "" msgid "URL:" msgstr "" -#: internal/arduino/builder/core.go:165 +#: internal/arduino/builder/core.go:166 msgid "" "Unable to cache built core, please tell %[1]s maintainers to follow %[2]s" msgstr "" @@ -2431,17 +2439,17 @@ msgstr "" msgid "Unable to open file for logging: %s" msgstr "" -#: commands/instances.go:562 +#: commands/instances.go:563 msgid "Unable to parse URL" msgstr "" #: commands/service_library_uninstall.go:71 -#: internal/arduino/cores/packagemanager/install_uninstall.go:280 +#: internal/arduino/cores/packagemanager/install_uninstall.go:282 msgid "Uninstalling %s" msgstr "" #: commands/service_platform_uninstall.go:99 -#: internal/arduino/cores/packagemanager/install_uninstall.go:166 +#: internal/arduino/cores/packagemanager/install_uninstall.go:168 msgid "Uninstalling %s, tool is no more required" msgstr "" @@ -2459,7 +2467,7 @@ msgstr "" msgid "Unknown" msgstr "" -#: commands/cmderrors/cmderrors.go:183 +#: commands/cmderrors/cmderrors.go:184 msgid "Unknown FQBN" msgstr "" @@ -2487,7 +2495,7 @@ msgstr "" msgid "Updates the libraries index." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:45 +#: internal/arduino/cores/packagemanager/install_uninstall.go:47 msgid "Upgrade doesn't accept parameters with version" msgstr "" @@ -2520,7 +2528,7 @@ msgstr "" msgid "Upload port address, e.g.: COM3 or /dev/ttyACM2" msgstr "" -#: commands/service_upload.go:531 +#: commands/service_upload.go:532 msgid "Upload port found on %s" msgstr "" @@ -2528,7 +2536,7 @@ msgstr "" msgid "Upload port protocol, e.g: serial" msgstr "" -#: internal/cli/compile/compile.go:120 +#: internal/cli/compile/compile.go:123 msgid "Upload the binary after the compilation." msgstr "" @@ -2540,7 +2548,7 @@ msgstr "" msgid "Upload the bootloader." msgstr "" -#: internal/cli/compile/compile.go:269 internal/cli/upload/upload.go:167 +#: internal/cli/compile/compile.go:274 internal/cli/upload/upload.go:167 msgid "" "Uploading to specified board using %s protocol requires the following info:" msgstr "" @@ -2559,11 +2567,11 @@ msgstr "" msgid "Use %s for more information about a command." msgstr "" -#: internal/cli/compile/compile.go:452 +#: internal/cli/compile/compile.go:471 msgid "Used library" msgstr "" -#: internal/cli/compile/compile.go:467 +#: internal/cli/compile/compile.go:486 msgid "Used platform" msgstr "" @@ -2571,7 +2579,7 @@ msgstr "" msgid "Used: %[1]s" msgstr "Wykorzystane: %[1]s" -#: commands/service_compile.go:351 +#: commands/service_compile.go:361 msgid "Using board '%[1]s' from platform in folder: %[2]s" msgstr "" @@ -2579,7 +2587,7 @@ msgstr "" msgid "Using cached library dependencies for file: %[1]s" msgstr "" -#: commands/service_compile.go:352 +#: commands/service_compile.go:362 msgid "Using core '%[1]s' from platform in folder: %[2]s" msgstr "" @@ -2593,25 +2601,25 @@ msgid "" "WARNING: Your board may require different settings to work!\n" msgstr "" -#: internal/arduino/builder/libraries.go:312 +#: internal/arduino/builder/libraries.go:313 msgid "Using library %[1]s at version %[2]s in folder: %[3]s %[4]s" msgstr "Użycie biblioteki %[1]s w wersji %[2]s z folderu: %[3]s %[4]s" -#: internal/arduino/builder/libraries.go:306 +#: internal/arduino/builder/libraries.go:307 msgid "Using library %[1]s in folder: %[2]s %[3]s" msgstr "Użycie biblioteki %[1]s z folderu %[2]s %[3]s" -#: internal/arduino/builder/core.go:120 internal/arduino/builder/core.go:132 +#: internal/arduino/builder/core.go:121 internal/arduino/builder/core.go:133 msgid "Using precompiled core: %[1]s" msgstr "" -#: internal/arduino/builder/libraries.go:98 -#: internal/arduino/builder/libraries.go:106 +#: internal/arduino/builder/libraries.go:99 +#: internal/arduino/builder/libraries.go:107 msgid "Using precompiled library in %[1]s" msgstr "" -#: internal/arduino/builder/archive_compiled_files.go:50 -#: internal/arduino/builder/compilation.go:181 +#: internal/arduino/builder/archive_compiled_files.go:51 +#: internal/arduino/builder/compilation.go:182 msgid "Using previously compiled file: %[1]s" msgstr "Użycie wcześniej skompilowanego pliku: %[1]s" @@ -2628,11 +2636,11 @@ msgid "Values" msgstr "" #: internal/cli/burnbootloader/burnbootloader.go:62 -#: internal/cli/compile/compile.go:122 internal/cli/upload/upload.go:78 +#: internal/cli/compile/compile.go:125 internal/cli/upload/upload.go:78 msgid "Verify uploaded binary after the upload." msgstr "" -#: internal/cli/compile/compile.go:453 internal/cli/compile/compile.go:468 +#: internal/cli/compile/compile.go:472 internal/cli/compile/compile.go:487 #: internal/cli/core/search.go:117 msgid "Version" msgstr "" @@ -2641,24 +2649,24 @@ msgstr "" msgid "Versions: %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:185 +#: internal/arduino/cores/packagemanager/install_uninstall.go:187 msgid "WARNING cannot configure platform: %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:364 +#: internal/arduino/cores/packagemanager/install_uninstall.go:366 msgid "WARNING cannot configure tool: %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:302 -#: internal/arduino/cores/packagemanager/install_uninstall.go:416 +#: internal/arduino/cores/packagemanager/install_uninstall.go:304 +#: internal/arduino/cores/packagemanager/install_uninstall.go:418 msgid "WARNING cannot run pre_uninstall script: %s" msgstr "" -#: internal/cli/compile/compile.go:330 +#: internal/cli/compile/compile.go:339 msgid "WARNING: The sketch is compiled using one or more custom libraries." msgstr "" -#: internal/arduino/builder/libraries.go:283 +#: internal/arduino/builder/libraries.go:284 msgid "" "WARNING: library %[1]s claims to run on %[2]s architecture(s) and may be " "incompatible with your current board which runs on %[3]s architecture(s)." @@ -2667,11 +2675,11 @@ msgstr "" "może nie być kompatybilna z obecną płytką która działa na " "architekturze(/architekturach) %[3]s." -#: commands/service_upload.go:520 +#: commands/service_upload.go:521 msgid "Waiting for upload port..." msgstr "" -#: commands/service_compile.go:357 +#: commands/service_compile.go:367 msgid "" "Warning: Board %[1]s doesn't define a %[2]s preference. Auto-set to: %[3]s" msgstr "" @@ -2690,7 +2698,7 @@ msgid "" "directory." msgstr "" -#: internal/cli/compile/compile.go:150 internal/cli/compile/compile.go:153 +#: internal/cli/compile/compile.go:153 internal/cli/compile/compile.go:156 msgid "You cannot use the %s flag while compiling with a profile." msgstr "" @@ -2698,11 +2706,11 @@ msgstr "" msgid "archive hash differs from hash in index" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:188 +#: internal/arduino/libraries/librariesmanager/install.go:187 msgid "archive is not valid: multiple files found in zip file top level" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:191 +#: internal/arduino/libraries/librariesmanager/install.go:190 msgid "archive is not valid: no files found in zip file top level" msgstr "" @@ -2726,11 +2734,11 @@ msgstr "" msgid "basic search for \"esp32\" and \"display\" limited to official Maintainer" msgstr "" -#: commands/service_upload.go:791 +#: commands/service_upload.go:792 msgid "binary file not found in %s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:348 +#: internal/arduino/cores/packagemanager/package_manager.go:316 msgid "board %s not found" msgstr "" @@ -2746,11 +2754,11 @@ msgstr "" msgid "can't find latest release of %s" msgstr "" -#: commands/instances.go:272 +#: commands/instances.go:273 msgid "can't find latest release of tool %s" msgstr "" -#: internal/arduino/cores/packagemanager/loader.go:712 +#: internal/arduino/cores/packagemanager/loader.go:709 msgid "can't find pattern for discovery with id %s" msgstr "" @@ -2758,11 +2766,11 @@ msgstr "" msgid "candidates" msgstr "" -#: commands/service_upload.go:737 commands/service_upload.go:744 +#: commands/service_upload.go:738 commands/service_upload.go:745 msgid "cannot execute upload tool: %s" msgstr "" -#: internal/arduino/resources/install.go:40 +#: internal/arduino/resources/install.go:48 msgid "checking local archive integrity" msgstr "" @@ -2788,27 +2796,27 @@ msgstr "" msgid "computing hash: %s" msgstr "" -#: internal/arduino/cores/fqbn.go:81 +#: pkg/fqbn/fqbn.go:83 msgid "config key %s contains an invalid character" msgstr "" -#: internal/arduino/cores/fqbn.go:86 +#: pkg/fqbn/fqbn.go:87 msgid "config value %s contains an invalid character" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:141 +#: internal/arduino/libraries/librariesmanager/install.go:140 msgid "copying library to destination directory:" msgstr "" -#: commands/service_upload.go:863 +#: commands/service_upload.go:864 msgid "could not find a valid build artifact" msgstr "" -#: commands/service_platform_install.go:94 +#: commands/service_platform_install.go:99 msgid "could not overwrite" msgstr "" -#: commands/service_library_install.go:190 +#: commands/service_library_install.go:191 msgid "could not remove old library" msgstr "" @@ -2817,20 +2825,20 @@ msgstr "" msgid "could not update sketch project file" msgstr "" -#: internal/arduino/builder/core.go:116 internal/arduino/builder/core.go:140 +#: internal/arduino/builder/core.go:117 internal/arduino/builder/core.go:141 msgid "creating core cache folder: %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:219 +#: internal/arduino/cores/packagemanager/install_uninstall.go:221 msgid "creating installed.json in %[1]s: %[2]s" msgstr "" -#: internal/arduino/resources/install.go:45 -#: internal/arduino/resources/install.go:49 +#: internal/arduino/resources/install.go:54 +#: internal/arduino/resources/install.go:58 msgid "creating temp dir for extraction: %s" msgstr "" -#: internal/arduino/builder/sizer.go:196 +#: internal/arduino/builder/sizer.go:199 msgid "data section exceeds available space in board" msgstr "" @@ -2838,15 +2846,15 @@ msgstr "" msgid "dependency '%s' is not available" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:94 +#: internal/arduino/libraries/librariesmanager/install.go:93 msgid "destination dir %s already exists, cannot install" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:138 +#: internal/arduino/libraries/librariesmanager/install.go:137 msgid "destination directory already exists" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:278 +#: internal/arduino/libraries/librariesmanager/install.go:305 msgid "directory doesn't exist: %s" msgstr "" @@ -2854,15 +2862,15 @@ msgstr "" msgid "discovery %[1]s process not started" msgstr "" -#: internal/arduino/cores/packagemanager/loader.go:644 +#: internal/arduino/cores/packagemanager/loader.go:641 msgid "discovery %s not found" msgstr "" -#: internal/arduino/cores/packagemanager/loader.go:648 +#: internal/arduino/cores/packagemanager/loader.go:645 msgid "discovery %s not installed" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:746 +#: internal/arduino/cores/packagemanager/package_manager.go:714 msgid "discovery release not found: %s" msgstr "" @@ -2878,11 +2886,11 @@ msgstr "" msgid "downloaded" msgstr "" -#: commands/instances.go:55 +#: commands/instances.go:56 msgid "downloading %[1]s tool: %[2]s" msgstr "" -#: internal/arduino/cores/fqbn.go:60 +#: pkg/fqbn/fqbn.go:63 msgid "empty board identifier" msgstr "" @@ -2890,7 +2898,7 @@ msgstr "" msgid "error loading sketch project file:" msgstr "" -#: internal/arduino/cores/packagemanager/loader.go:615 +#: internal/arduino/cores/packagemanager/loader.go:612 msgid "error opening %s" msgstr "" @@ -2898,19 +2906,19 @@ msgstr "" msgid "error parsing version constraints" msgstr "" -#: commands/service_board_list.go:115 +#: commands/service_board_identify.go:203 msgid "error processing response from server" msgstr "" -#: commands/service_board_list.go:95 +#: commands/service_board_identify.go:183 msgid "error querying Arduino Cloud Api" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:179 +#: internal/arduino/libraries/librariesmanager/install.go:178 msgid "extracting archive" msgstr "" -#: internal/arduino/resources/install.go:68 +#: internal/arduino/resources/install.go:77 msgid "extracting archive: %s" msgstr "" @@ -2918,7 +2926,7 @@ msgstr "" msgid "failed to compute hash of file \"%s\"" msgstr "" -#: commands/service_board_list.go:90 +#: commands/service_board_identify.go:178 msgid "failed to initialize http client" msgstr "" @@ -2926,7 +2934,7 @@ msgstr "" msgid "fetched archive size differs from size specified in index" msgstr "" -#: internal/arduino/resources/install.go:123 +#: internal/arduino/resources/install.go:132 msgid "files in archive must be placed in a subdirectory" msgstr "" @@ -2956,7 +2964,7 @@ msgstr "" msgid "for the specific version." msgstr "" -#: internal/arduino/cores/fqbn.go:66 +#: pkg/fqbn/fqbn.go:68 msgid "fqbn's field %s contains an invalid character" msgstr "" @@ -2980,35 +2988,35 @@ msgstr "" #: internal/arduino/resources/checksums.go:89 #: internal/arduino/resources/download.go:36 #: internal/arduino/resources/helpers.go:39 -#: internal/arduino/resources/install.go:56 +#: internal/arduino/resources/install.go:65 msgid "getting archive path: %s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:354 +#: internal/arduino/cores/packagemanager/package_manager.go:322 msgid "getting build properties for board %[1]s: %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:106 +#: internal/arduino/cores/packagemanager/download.go:108 msgid "getting discovery dependencies for platform %[1]s: %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:114 +#: internal/arduino/cores/packagemanager/download.go:116 msgid "getting monitor dependencies for platform %[1]s: %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:99 +#: internal/arduino/cores/packagemanager/download.go:101 msgid "getting tool dependencies for platform %[1]s: %[2]s" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:149 +#: internal/arduino/libraries/librariesmanager/install.go:148 msgid "install directory not set" msgstr "" -#: commands/instances.go:59 +#: commands/instances.go:60 msgid "installing %[1]s tool: %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:211 +#: internal/arduino/cores/packagemanager/install_uninstall.go:213 msgid "installing platform %[1]s: %[2]s" msgstr "" @@ -3024,7 +3032,7 @@ msgstr "" msgid "invalid checksum format: %s" msgstr "" -#: internal/arduino/cores/fqbn.go:73 internal/arduino/cores/fqbn.go:78 +#: pkg/fqbn/fqbn.go:75 pkg/fqbn/fqbn.go:80 msgid "invalid config option: %s" msgstr "" @@ -3056,11 +3064,14 @@ msgstr "" msgid "invalid empty library version: %s" msgstr "" -#: internal/arduino/cores/board.go:143 +#: internal/arduino/cores/board.go:144 msgid "invalid empty option found" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:268 +#: internal/arduino/libraries/librariesmanager/install.go:276 +#: internal/arduino/libraries/librariesmanager/install.go:279 +#: internal/arduino/libraries/librariesmanager/install.go:286 +#: internal/arduino/libraries/librariesmanager/install.go:290 msgid "invalid git url" msgstr "" @@ -3088,7 +3099,7 @@ msgstr "" msgid "invalid library: no header files found" msgstr "" -#: internal/arduino/cores/board.go:146 +#: internal/arduino/cores/board.go:147 msgid "invalid option '%s'" msgstr "" @@ -3104,10 +3115,6 @@ msgstr "" msgid "invalid path writing inventory file: %[1]s error" msgstr "" -#: internal/arduino/cores/packageindex/index.go:278 -msgid "invalid platform archive size: %s" -msgstr "" - #: internal/arduino/sketch/profiles.go:252 msgid "invalid platform identifier" msgstr "" @@ -3128,7 +3135,7 @@ msgstr "" msgid "invalid port configuration: %s=%s" msgstr "" -#: commands/service_upload.go:724 +#: commands/service_upload.go:725 msgid "invalid recipe '%[1]s': %[2]s" msgstr "" @@ -3139,7 +3146,7 @@ msgid "" "cannot be \".\"." msgstr "" -#: internal/arduino/cores/board.go:150 +#: internal/arduino/cores/board.go:151 msgid "invalid value '%[1]s' for option '%[2]s'" msgstr "" @@ -3179,11 +3186,11 @@ msgstr "" msgid "libraries with a Name exactly matching \"pcf8523\"" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:126 +#: internal/arduino/libraries/librariesmanager/install.go:125 msgid "library %s already installed" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:315 +#: internal/arduino/libraries/librariesmanager/install.go:342 msgid "library not valid" msgstr "" @@ -3197,8 +3204,8 @@ msgstr "" msgid "loading boards: %s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:501 -#: internal/arduino/cores/packagemanager/package_manager.go:516 +#: internal/arduino/cores/packagemanager/package_manager.go:469 +#: internal/arduino/cores/packagemanager/package_manager.go:484 msgid "loading json index file %[1]s: %[2]s" msgstr "" @@ -3227,7 +3234,7 @@ msgstr "" msgid "loading required tool %s" msgstr "" -#: internal/arduino/cores/packagemanager/loader.go:590 +#: internal/arduino/cores/packagemanager/loader.go:587 msgid "loading tool release in %s" msgstr "" @@ -3235,7 +3242,7 @@ msgstr "" msgid "looking for boards.txt in %s" msgstr "" -#: commands/service_upload.go:806 +#: commands/service_upload.go:807 msgid "looking for build artifacts" msgstr "" @@ -3251,7 +3258,7 @@ msgstr "" msgid "missing checksum for: %s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:462 +#: internal/arduino/cores/packagemanager/package_manager.go:430 msgid "missing package %[1]s referenced by board %[2]s" msgstr "" @@ -3259,11 +3266,11 @@ msgstr "" msgid "missing package index for %s, future updates cannot be guaranteed" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:467 +#: internal/arduino/cores/packagemanager/package_manager.go:435 msgid "missing platform %[1]s:%[2]s referenced by board %[3]s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:472 +#: internal/arduino/cores/packagemanager/package_manager.go:440 msgid "missing platform release %[1]s:%[2]s referenced by board %[3]s" msgstr "" @@ -3271,17 +3278,17 @@ msgstr "" msgid "missing signature" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:757 +#: internal/arduino/cores/packagemanager/package_manager.go:725 msgid "monitor release not found: %s" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:197 -#: internal/arduino/libraries/librariesmanager/install.go:246 -#: internal/arduino/resources/install.go:97 +#: internal/arduino/libraries/librariesmanager/install.go:196 +#: internal/arduino/libraries/librariesmanager/install.go:247 +#: internal/arduino/resources/install.go:106 msgid "moving extracted archive to destination dir: %s" msgstr "" -#: commands/service_upload.go:858 +#: commands/service_upload.go:859 msgid "multiple build artifacts found: '%[1]s' and '%[2]s'" msgstr "" @@ -3289,17 +3296,17 @@ msgstr "" msgid "multiple main sketch files found (%[1]v, %[2]v)" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:338 +#: internal/arduino/cores/packagemanager/install_uninstall.go:340 msgid "" "no compatible version of %[1]s tools found for the current os, try " "contacting %[2]s" msgstr "" -#: commands/service_board_list.go:273 +#: commands/service_board_list.go:106 msgid "no instance specified" msgstr "" -#: commands/service_upload.go:813 +#: commands/service_upload.go:814 msgid "no sketch or build directory/file specified" msgstr "" @@ -3307,11 +3314,11 @@ msgstr "" msgid "no such file or directory" msgstr "" -#: internal/arduino/resources/install.go:126 +#: internal/arduino/resources/install.go:135 msgid "no unique root dir in archive, found '%[1]s' and '%[2]s'" msgstr "" -#: commands/service_upload.go:719 +#: commands/service_upload.go:720 msgid "no upload port provided" msgstr "" @@ -3319,11 +3326,11 @@ msgstr "" msgid "no valid sketch found in %[1]s: missing %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:128 +#: internal/arduino/cores/packagemanager/download.go:130 msgid "no versions available for the current OS, try contacting %s" msgstr "" -#: internal/arduino/cores/fqbn.go:50 +#: pkg/fqbn/fqbn.go:53 msgid "not an FQBN: %s" msgstr "" @@ -3332,7 +3339,7 @@ msgid "not running in a terminal" msgstr "" #: internal/arduino/resources/checksums.go:71 -#: internal/arduino/resources/install.go:60 +#: internal/arduino/resources/install.go:69 msgid "opening archive file: %s" msgstr "" @@ -3340,26 +3347,26 @@ msgstr "" msgid "opening boards.txt" msgstr "" -#: internal/arduino/security/signatures.go:81 +#: internal/arduino/security/signatures.go:82 msgid "opening signature file: %s" msgstr "" -#: internal/arduino/security/signatures.go:76 +#: internal/arduino/security/signatures.go:78 msgid "opening target file: %s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:76 +#: internal/arduino/cores/packagemanager/download.go:78 #: internal/arduino/cores/status.go:97 internal/arduino/cores/status.go:122 #: internal/arduino/cores/status.go:149 msgid "package %s not found" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:530 +#: internal/arduino/cores/packagemanager/package_manager.go:498 msgid "package '%s' not found" msgstr "" -#: internal/arduino/cores/board.go:166 -#: internal/arduino/cores/packagemanager/package_manager.go:295 +#: internal/arduino/cores/board.go:167 +#: internal/arduino/cores/packagemanager/package_manager.go:263 msgid "parsing fqbn: %s" msgstr "" @@ -3371,26 +3378,26 @@ msgstr "" msgid "path is not a platform directory: %s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:80 +#: internal/arduino/cores/packagemanager/download.go:82 msgid "platform %[1]s not found in package %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:341 +#: internal/arduino/cores/packagemanager/package_manager.go:309 msgid "platform %s is not installed" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:92 +#: commands/cmderrors/cmderrors.go:427 msgid "platform is not available for your OS" msgstr "" -#: commands/service_compile.go:126 -#: internal/arduino/cores/packagemanager/install_uninstall.go:179 -#: internal/arduino/cores/packagemanager/install_uninstall.go:283 -#: internal/arduino/cores/packagemanager/loader.go:420 +#: commands/service_compile.go:129 +#: internal/arduino/cores/packagemanager/install_uninstall.go:181 +#: internal/arduino/cores/packagemanager/install_uninstall.go:285 +#: internal/arduino/cores/packagemanager/loader.go:417 msgid "platform not installed" msgstr "" -#: internal/cli/compile/compile.go:139 +#: internal/cli/compile/compile.go:142 msgid "please use --build-property instead." msgstr "" @@ -3425,15 +3432,15 @@ msgstr "" #: internal/arduino/cores/packagemanager/loader.go:69 #: internal/arduino/cores/packagemanager/loader.go:151 #: internal/arduino/cores/packagemanager/loader.go:218 -#: internal/arduino/cores/packagemanager/loader.go:582 +#: internal/arduino/cores/packagemanager/loader.go:579 msgid "reading directory %s" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:288 +#: internal/arduino/libraries/librariesmanager/install.go:315 msgid "reading directory %s content" msgstr "" -#: internal/arduino/builder/sketch.go:81 +#: internal/arduino/builder/sketch.go:83 msgid "reading file %[1]s: %[2]s" msgstr "" @@ -3457,7 +3464,7 @@ msgstr "" msgid "reading library_index.json: %s" msgstr "" -#: internal/arduino/resources/install.go:116 +#: internal/arduino/resources/install.go:125 msgid "reading package root dir: %s" msgstr "" @@ -3465,11 +3472,11 @@ msgstr "" msgid "reading sketch files" msgstr "" -#: commands/service_upload.go:713 +#: commands/service_upload.go:714 msgid "recipe not found '%s'" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:606 +#: internal/arduino/cores/packagemanager/package_manager.go:574 msgid "release %[1]s not found for tool %[2]s" msgstr "" @@ -3482,19 +3489,19 @@ msgstr "" msgid "removing corrupted archive file: %s" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:152 +#: internal/arduino/libraries/librariesmanager/install.go:151 msgid "removing library directory: %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:310 +#: internal/arduino/cores/packagemanager/install_uninstall.go:312 msgid "removing platform files: %s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:87 +#: internal/arduino/cores/packagemanager/download.go:89 msgid "required version %[1]s not found for platform %[2]s" msgstr "" -#: internal/arduino/security/signatures.go:72 +#: internal/arduino/security/signatures.go:74 msgid "retrieving Arduino public keys: %s" msgstr "" @@ -3503,10 +3510,14 @@ msgstr "" msgid "scanning sketch examples" msgstr "" -#: internal/arduino/resources/install.go:74 +#: internal/arduino/resources/install.go:83 msgid "searching package root dir: %s" msgstr "" +#: internal/arduino/security/signatures.go:87 +msgid "signature expired: is your system clock set correctly?" +msgstr "" + #: commands/service_sketch_new.go:78 msgid "sketch name cannot be empty" msgstr "" @@ -3544,11 +3555,11 @@ msgstr "" msgid "testing if archive is cached: %s" msgstr "" -#: internal/arduino/resources/install.go:38 +#: internal/arduino/resources/install.go:46 msgid "testing local archive integrity: %s" msgstr "" -#: internal/arduino/builder/sizer.go:191 +#: internal/arduino/builder/sizer.go:194 msgid "text section exceeds available space in board" msgstr "" @@ -3557,7 +3568,7 @@ msgstr "" msgid "the compilation database may be incomplete or inaccurate" msgstr "" -#: commands/service_board_list.go:102 +#: commands/service_board_identify.go:190 msgid "the server responded with status %s" msgstr "" @@ -3565,7 +3576,7 @@ msgstr "" msgid "timeout waiting for message" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:404 +#: internal/arduino/cores/packagemanager/install_uninstall.go:406 msgid "tool %s is not managed by package manager" msgstr "" @@ -3574,16 +3585,16 @@ msgstr "" msgid "tool %s not found" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:556 +#: internal/arduino/cores/packagemanager/package_manager.go:524 msgid "tool '%[1]s' not found in package '%[2]s'" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:399 +#: internal/arduino/cores/packagemanager/install_uninstall.go:401 msgid "tool not installed" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:735 -#: internal/arduino/cores/packagemanager/package_manager.go:841 +#: internal/arduino/cores/packagemanager/package_manager.go:703 +#: internal/arduino/cores/packagemanager/package_manager.go:809 msgid "tool release not found: %s" msgstr "" @@ -3591,21 +3602,21 @@ msgstr "" msgid "tool version %s not found" msgstr "" -#: commands/service_library_install.go:92 +#: commands/service_library_install.go:93 msgid "" "two different versions of the library %[1]s are required: %[2]s and %[3]s" msgstr "" -#: internal/arduino/builder/sketch.go:74 -#: internal/arduino/builder/sketch.go:118 +#: internal/arduino/builder/sketch.go:76 +#: internal/arduino/builder/sketch.go:120 msgid "unable to compute relative path to the sketch for the item" msgstr "" -#: internal/arduino/builder/sketch.go:43 +#: internal/arduino/builder/sketch.go:45 msgid "unable to create a folder to save the sketch" msgstr "" -#: internal/arduino/builder/sketch.go:124 +#: internal/arduino/builder/sketch.go:126 msgid "unable to create the folder containing the item" msgstr "" @@ -3613,23 +3624,23 @@ msgstr "" msgid "unable to marshal config to YAML: %v" msgstr "" -#: internal/arduino/builder/sketch.go:162 +#: internal/arduino/builder/sketch.go:164 msgid "unable to read contents of the destination item" msgstr "" -#: internal/arduino/builder/sketch.go:135 +#: internal/arduino/builder/sketch.go:137 msgid "unable to read contents of the source item" msgstr "" -#: internal/arduino/builder/sketch.go:145 +#: internal/arduino/builder/sketch.go:147 msgid "unable to write to destination file" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:329 +#: internal/arduino/cores/packagemanager/package_manager.go:297 msgid "unknown package %s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:336 +#: internal/arduino/cores/packagemanager/package_manager.go:304 msgid "unknown platform %s:%s" msgstr "" @@ -3649,7 +3660,7 @@ msgstr "" msgid "upgrade everything to the latest version" msgstr "" -#: commands/service_upload.go:759 +#: commands/service_upload.go:760 msgid "uploading error: %s" msgstr "" @@ -3673,6 +3684,6 @@ msgstr "" msgid "version %s not found" msgstr "" -#: commands/service_board_list.go:120 +#: commands/service_board_identify.go:208 msgid "wrong format in server response" msgstr "" diff --git a/internal/i18n/data/pt.po b/internal/locales/data/pt.po similarity index 87% rename from internal/i18n/data/pt.po rename to internal/locales/data/pt.po index 391886a2bf5..bdaee9e90fd 100644 --- a/internal/i18n/data/pt.po +++ b/internal/locales/data/pt.po @@ -12,7 +12,7 @@ msgstr "" "Language: pt\n" "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" -#: version/version.go:56 +#: internal/version/version.go:56 msgid "%[1]s %[2]s Version: %[3]s Commit: %[4]s Date: %[5]s" msgstr "%[1]s%[5]s%[4]sData%[3]scomprometer%[2]sVersão" @@ -24,11 +24,11 @@ msgstr "%[1]spasta não é mais suportada! Ver%[2]sPara maiores informações" msgid "%[1]s invalid, rebuilding all" msgstr "%[1]sinválido, refazendo tudo" -#: internal/cli/lib/check_deps.go:124 +#: internal/cli/lib/check_deps.go:125 msgid "%[1]s is required but %[2]s is currently installed." msgstr "%[1]s‎é necessário, mas‎%[2]snão é instalado em nenhum momento." -#: internal/arduino/builder/builder.go:486 +#: internal/arduino/builder/builder.go:487 msgid "%[1]s pattern is missing" msgstr "%[1]so padrão está faltando" @@ -36,24 +36,24 @@ msgstr "%[1]so padrão está faltando" msgid "%s already downloaded" msgstr "%s‎já baixado‎" -#: commands/service_upload.go:781 +#: commands/service_upload.go:782 msgid "%s and %s cannot be used together" msgstr "%se%s‎não pode ser usado em conjunto‎" -#: internal/arduino/cores/packagemanager/install_uninstall.go:371 +#: internal/arduino/cores/packagemanager/install_uninstall.go:373 msgid "%s installed" msgstr "%sinstalado" -#: internal/cli/lib/check_deps.go:121 +#: internal/cli/lib/check_deps.go:122 msgid "%s is already installed." msgstr "%s‎já está instalado.‎" #: internal/arduino/cores/packagemanager/loader.go:63 -#: internal/arduino/cores/packagemanager/loader.go:617 +#: internal/arduino/cores/packagemanager/loader.go:614 msgid "%s is not a directory" msgstr "%s‎não é um diretório‎" -#: internal/arduino/cores/packagemanager/install_uninstall.go:290 +#: internal/arduino/cores/packagemanager/install_uninstall.go:292 msgid "%s is not managed by package manager" msgstr "%s‎não é gerenciado pelo gerente de pacotes‎" @@ -61,20 +61,20 @@ msgstr "%s‎não é gerenciado pelo gerente de pacotes‎" msgid "%s must be >= 1024" msgstr "" -#: internal/cli/lib/check_deps.go:118 +#: internal/cli/lib/check_deps.go:119 msgid "%s must be installed." msgstr "%s‎deve ser instalado.‎" -#: internal/arduino/builder/internal/preprocessor/ctags.go:192 -#: internal/arduino/builder/internal/preprocessor/gcc.go:62 +#: internal/arduino/builder/internal/preprocessor/ctags.go:193 +#: internal/arduino/builder/internal/preprocessor/gcc.go:63 msgid "%s pattern is missing" msgstr "%spadrão está faltando" -#: commands/cmderrors/cmderrors.go:818 +#: commands/cmderrors/cmderrors.go:839 msgid "'%s' has an invalid signature" msgstr "%s‎tem uma assinatura inválida‎" -#: internal/arduino/cores/packagemanager/package_manager.go:448 +#: internal/arduino/cores/packagemanager/package_manager.go:416 msgid "" "'build.core' and 'build.variant' refer to different platforms: %[1]s and " "%[2]s" @@ -86,7 +86,7 @@ msgstr "" msgid "(hidden)" msgstr "‎(oculto)‎" -#: internal/arduino/builder/libraries.go:302 +#: internal/arduino/builder/libraries.go:303 msgid "(legacy)" msgstr "‎(legado)‎" @@ -119,7 +119,7 @@ msgstr "arquivo .ino já existe" msgid "A new release of Arduino CLI is available:" msgstr "‎Uma nova atualização do Arduino CLI está disponível:‎" -#: commands/cmderrors/cmderrors.go:299 +#: commands/cmderrors/cmderrors.go:300 msgid "A programmer is required to upload" msgstr "‎É necessário um programador para carregar‎" @@ -152,7 +152,7 @@ msgstr "Todas as plataformas estão atualizadas." msgid "All the cores are already at the latest version" msgstr "Todos os Núcleos já estão na versão mais recente" -#: commands/service_library_install.go:135 +#: commands/service_library_install.go:136 msgid "Already installed %s" msgstr "%s‎Já instalado‎" @@ -180,7 +180,7 @@ msgstr "%sArquitetura:‎" msgid "Archive already exists" msgstr "O Arquivo já existe" -#: internal/arduino/builder/core.go:163 +#: internal/arduino/builder/core.go:164 msgid "Archiving built core (caching) in: %[1]s" msgstr "%[1]sArquivando núcleo construído (cache) em:" @@ -228,7 +228,7 @@ msgstr "‎Anexa um sketch a uma placa.‎" msgid "Author: %s" msgstr "%sAltor" -#: internal/arduino/libraries/librariesmanager/install.go:79 +#: internal/arduino/libraries/librariesmanager/install.go:78 msgid "" "Automatic library install can't be performed in this case, please manually " "remove all duplicates and retry." @@ -269,12 +269,12 @@ msgstr "Nome da Placa:" msgid "Board version:" msgstr "Versão da Placa:" -#: internal/arduino/builder/sketch.go:243 +#: internal/arduino/builder/sketch.go:245 msgid "Bootloader file specified but missing: %[1]s" msgstr "" "Um Arquivo carregador de inicialização definido, mas está faltando: %[1]s" -#: internal/cli/compile/compile.go:101 +#: internal/cli/compile/compile.go:104 msgid "" "Builds of cores and sketches are saved into this path to be cached and " "reused." @@ -284,25 +284,25 @@ msgstr "" msgid "Can't create data directory %s" msgstr "Não é possível criar o diretório de dados %s" -#: commands/cmderrors/cmderrors.go:511 +#: commands/cmderrors/cmderrors.go:532 msgid "Can't create sketch" msgstr "Não é possível criar esboço" -#: commands/service_library_download.go:91 -#: commands/service_library_download.go:94 +#: commands/service_library_download.go:95 +#: commands/service_library_download.go:98 msgid "Can't download library" msgstr "Não é possível baixar biblioteca" #: commands/service_platform_uninstall.go:89 -#: internal/arduino/cores/packagemanager/install_uninstall.go:136 +#: internal/arduino/cores/packagemanager/install_uninstall.go:138 msgid "Can't find dependencies for platform %s" msgstr "Não foi possível encontrar as dependências para a plataforma %s" -#: commands/cmderrors/cmderrors.go:537 +#: commands/cmderrors/cmderrors.go:558 msgid "Can't open sketch" msgstr "Não é possível abrir esboço" -#: commands/cmderrors/cmderrors.go:524 +#: commands/cmderrors/cmderrors.go:545 msgid "Can't update sketch" msgstr "Não é possível atualizar o esboço" @@ -314,11 +314,11 @@ msgstr "Não é possível utilizar as seguintes Flags ao mesmo tempo: %s" msgid "Can't write debug log: %s" msgstr "Não é possível escrever para o arquivo de depuração: %s" -#: commands/service_compile.go:187 commands/service_compile.go:190 +#: commands/service_compile.go:190 commands/service_compile.go:193 msgid "Cannot create build cache directory" msgstr "Não é possível criar Build do diretório de Cache" -#: commands/service_compile.go:212 +#: commands/service_compile.go:215 msgid "Cannot create build directory" msgstr "Não é possível criar Build do diretório" @@ -330,11 +330,11 @@ msgstr "Não é possível criar diretório de arquivo de configuração: %v" msgid "Cannot create config file: %v" msgstr "Não é possível criar arquivo de configuração: %v" -#: commands/cmderrors/cmderrors.go:781 +#: commands/cmderrors/cmderrors.go:802 msgid "Cannot create temp dir" msgstr "Não é possível criar diretório temporário" -#: commands/cmderrors/cmderrors.go:799 +#: commands/cmderrors/cmderrors.go:820 msgid "Cannot create temp file" msgstr "Não é possível criar arquivo temporário" @@ -356,15 +356,15 @@ msgstr "Não é possível encontrar caminho absoluto: %v" msgid "Cannot get the configuration key %[1]s: %[2]v" msgstr "Não é possível obter a chave de configuração %[1]s: %[2]v" -#: internal/arduino/cores/packagemanager/install_uninstall.go:143 +#: internal/arduino/cores/packagemanager/install_uninstall.go:145 msgid "Cannot install platform" msgstr "Não é possível instalar plataforma" -#: internal/arduino/cores/packagemanager/install_uninstall.go:349 +#: internal/arduino/cores/packagemanager/install_uninstall.go:351 msgid "Cannot install tool %s" msgstr "Não é possível instalar ferramenta %s" -#: commands/service_upload.go:543 +#: commands/service_upload.go:544 msgid "Cannot perform port reset: %s" msgstr "Não é possível realizar redefinição de porta: %s" @@ -373,7 +373,7 @@ msgstr "Não é possível realizar redefinição de porta: %s" msgid "Cannot remove the configuration key %[1]s: %[2]v" msgstr "Não é possível remover a chave de configuração %[1]s: %[2]v" -#: internal/arduino/cores/packagemanager/install_uninstall.go:161 +#: internal/arduino/cores/packagemanager/install_uninstall.go:163 msgid "Cannot upgrade platform" msgstr "Não é possível realizar Upgrade na plataforma" @@ -416,27 +416,31 @@ msgstr "" "Comando continua a executar e a imprimir lista de placas conectadas sempre " "que ocorrer uma mudança." -#: commands/service_debug_config.go:178 commands/service_upload.go:451 +#: commands/service_debug_config.go:178 commands/service_upload.go:452 msgid "Compiled sketch not found in %s" msgstr "Esboço compilado não encontrado em %s" +#: internal/arduino/builder/internal/preprocessor/gcc.go:93 +msgid "Compiler error output has been truncated." +msgstr "" + #: internal/cli/compile/compile.go:80 internal/cli/compile/compile.go:81 msgid "Compiles Arduino sketches." msgstr "Compila esboços Arduino." -#: internal/arduino/builder/builder.go:420 +#: internal/arduino/builder/builder.go:421 msgid "Compiling core..." msgstr "Compilando núcleo..." -#: internal/arduino/builder/builder.go:399 +#: internal/arduino/builder/builder.go:400 msgid "Compiling libraries..." msgstr "Compilando bibliotecas..." -#: internal/arduino/builder/libraries.go:133 +#: internal/arduino/builder/libraries.go:134 msgid "Compiling library \"%[1]s\"" msgstr "%[1]s‎Biblioteca de compilação‎ \"\"" -#: internal/arduino/builder/builder.go:383 +#: internal/arduino/builder/builder.go:384 msgid "Compiling sketch..." msgstr "Compilando sketch..." @@ -463,11 +467,11 @@ msgstr "" "Designe as configurações da porta de comunicação. O formato é = " "[, = ]..." -#: internal/arduino/cores/packagemanager/install_uninstall.go:177 +#: internal/arduino/cores/packagemanager/install_uninstall.go:179 msgid "Configuring platform." msgstr "Configurando plataforma." -#: internal/arduino/cores/packagemanager/install_uninstall.go:359 +#: internal/arduino/cores/packagemanager/install_uninstall.go:361 msgid "Configuring tool." msgstr "Configurando ferramenta." @@ -483,19 +487,19 @@ msgstr "Conectando a %s. Pressione CTRL-C para sair." msgid "Core" msgstr "Núcleo" -#: internal/cli/configuration/network.go:103 +#: internal/cli/configuration/network.go:127 msgid "Could not connect via HTTP" msgstr "Não foi possível conectar via HTTP" -#: commands/instances.go:486 +#: commands/instances.go:487 msgid "Could not create index directory" msgstr "Não foi possível criar diretório Index" -#: internal/arduino/builder/core.go:41 +#: internal/arduino/builder/core.go:42 msgid "Couldn't deeply cache core build: %[1]s" msgstr "Não foi possível fazer o Cache profundo para a Build central: %[1]s" -#: internal/arduino/builder/sizer.go:154 +#: internal/arduino/builder/sizer.go:155 msgid "Couldn't determine program size" msgstr "Não foi possível determinar o tamanho do programa" @@ -507,7 +511,7 @@ msgstr "Não foi possível obter o diretório de trabalho atual: %v" msgid "Create a new Sketch" msgstr "Criar novo Esboço" -#: internal/cli/compile/compile.go:98 +#: internal/cli/compile/compile.go:101 msgid "Create and print a profile configuration from the build." msgstr "Criar e imprimir perfil de configuração da Build." @@ -523,7 +527,7 @@ msgstr "" "Cria ou atualiza o arquivo de configuração no diretório de dados ou em um " "diretório customizado com as definições de configuração atuais." -#: internal/cli/compile/compile.go:331 +#: internal/cli/compile/compile.go:340 msgid "" "Currently, Build Profiles only support libraries available through Arduino " "Library Manager." @@ -602,7 +606,7 @@ msgstr "Dependências: %s" msgid "Description" msgstr "Descrição" -#: internal/arduino/builder/builder.go:313 +#: internal/arduino/builder/builder.go:314 msgid "Detecting libraries used..." msgstr "Detectando bibliotecas utilizadas..." @@ -664,7 +668,7 @@ msgstr "Não encerre o processo Daemon se o processo relacionado morrer." msgid "Do not try to update library dependencies if already installed." msgstr "" -#: commands/service_library_download.go:88 +#: commands/service_library_download.go:92 msgid "Downloading %s" msgstr "Baixando %s" @@ -672,21 +676,21 @@ msgstr "Baixando %s" msgid "Downloading index signature: %s" msgstr "Baixando assinatura Indes: %s" -#: commands/instances.go:563 commands/instances.go:581 -#: commands/instances.go:595 commands/instances.go:612 +#: commands/instances.go:564 commands/instances.go:582 +#: commands/instances.go:596 commands/instances.go:613 #: internal/arduino/resources/index.go:82 msgid "Downloading index: %s" msgstr "Baixando Index: %s" -#: commands/instances.go:371 +#: commands/instances.go:372 msgid "Downloading library %s" msgstr "Baixando biblioteca %s" -#: commands/instances.go:53 +#: commands/instances.go:54 msgid "Downloading missing tool %s" msgstr "Baixando ferramenta %s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:96 +#: internal/arduino/cores/packagemanager/install_uninstall.go:98 msgid "Downloading packages" msgstr "Baixando pacotes" @@ -723,7 +727,7 @@ msgstr "Insira URL git para bibliotecas hospedadas em repositórios" msgid "Error adding file to sketch archive" msgstr "Erro ao adicionar arquivo de esboço para o depósito de documentos" -#: internal/arduino/builder/core.go:169 +#: internal/arduino/builder/core.go:170 msgid "Error archiving built core (caching) in %[1]s: %[2]s" msgstr "Erro ao adicionar Build do Núcleo (caching) em %[1]s:%[2]s" @@ -739,11 +743,11 @@ msgstr "Erro ao calcular caminho de arquivo relativo" msgid "Error cleaning caches: %v" msgstr "Erro ao limpar caches: %v" -#: internal/cli/compile/compile.go:220 +#: internal/cli/compile/compile.go:225 msgid "Error converting path to absolute: %v" msgstr "Erro ao converter caminho para absoluto: %v" -#: commands/service_compile.go:405 +#: commands/service_compile.go:420 msgid "Error copying output file %s" msgstr "Erro ao copiar arquivo de saída %s" @@ -757,7 +761,7 @@ msgstr "" msgid "Error creating instance: %v" msgstr "Erro ao criar instância: %v" -#: commands/service_compile.go:389 +#: commands/service_compile.go:403 msgid "Error creating output dir" msgstr "Erro ao criar diretório de saída" @@ -782,7 +786,7 @@ msgstr "Erro ao baixar %[1]s: %[2]v" msgid "Error downloading %s" msgstr "Erro ao baixar %s" -#: commands/instances.go:660 internal/arduino/resources/index.go:83 +#: commands/instances.go:661 internal/arduino/resources/index.go:83 msgid "Error downloading index '%s'" msgstr "Erro ao baixar índice '%s'" @@ -790,7 +794,7 @@ msgstr "Erro ao baixar índice '%s'" msgid "Error downloading index signature '%s'" msgstr "Erro ao baixar assinatura de índice '%s'" -#: commands/instances.go:381 commands/instances.go:387 +#: commands/instances.go:382 commands/instances.go:388 msgid "Error downloading library %s" msgstr "Erro ao baixar biblioteca %s" @@ -799,7 +803,7 @@ msgstr "Erro ao baixar biblioteca %s" msgid "Error downloading platform %s" msgstr "Erro ao baixar plataforma %s" -#: internal/arduino/cores/packagemanager/download.go:127 +#: internal/arduino/cores/packagemanager/download.go:129 #: internal/arduino/cores/packagemanager/profiles.go:179 msgid "Error downloading tool %s" msgstr "Erro ao baixar ferramenta %s" @@ -814,7 +818,7 @@ msgstr "Erro durante codificação da saída JSON: %v" #: internal/cli/burnbootloader/burnbootloader.go:78 #: internal/cli/burnbootloader/burnbootloader.go:100 -#: internal/cli/compile/compile.go:264 internal/cli/compile/compile.go:306 +#: internal/cli/compile/compile.go:269 internal/cli/compile/compile.go:311 #: internal/cli/upload/upload.go:99 internal/cli/upload/upload.go:128 msgid "Error during Upload: %v" msgstr "Erro durante envio: %v" @@ -823,7 +827,7 @@ msgstr "Erro durante envio: %v" msgid "Error during board detection" msgstr "" -#: internal/cli/compile/compile.go:379 +#: internal/cli/compile/compile.go:394 msgid "Error during build: %v" msgstr "Erro durante build: %v" @@ -844,7 +848,7 @@ msgstr "Erro durante atualização: %v" msgid "Error extracting %s" msgstr "Erro ao extrair %s" -#: commands/service_upload.go:448 +#: commands/service_upload.go:449 msgid "Error finding build artifacts" msgstr "Erro ao buscar por artefatos da Build" @@ -871,7 +875,7 @@ msgid "" "correct sketch folder or provide the --port flag: %s" msgstr "" -#: commands/service_compile.go:328 commands/service_library_list.go:115 +#: commands/service_compile.go:338 commands/service_library_list.go:115 msgid "Error getting information for library %s" msgstr "Erro ao obter informações da biblioteca %s" @@ -907,7 +911,7 @@ msgstr "Erro ao instalar biblioteca Git: %v" msgid "Error installing Zip Library: %v" msgstr "Erro ao instalar biblioteca Zip: %v" -#: commands/instances.go:397 +#: commands/instances.go:398 msgid "Error installing library %s" msgstr "Erro ao instalar biblioteca %s" @@ -934,7 +938,7 @@ msgstr "Erro ao listar bibliotecas: %v" msgid "Error listing platforms: %v" msgstr "Erro ao listar plataformas: %v" -#: commands/cmderrors/cmderrors.go:424 +#: commands/cmderrors/cmderrors.go:445 msgid "Error loading hardware platform" msgstr "Erro ao carregar plataformas de hardware" @@ -951,15 +955,15 @@ msgstr "Erro ao abrir %s" msgid "Error opening debug logging file: %s" msgstr "Erro ao abrir arquivo de registro de depuração: %s" -#: internal/cli/compile/compile.go:193 +#: internal/cli/compile/compile.go:196 msgid "Error opening source code overrides data file: %v" msgstr "Erro ao abrir arquivo de dados que sobrescrevem o código fonte: %v" -#: internal/cli/compile/compile.go:206 +#: internal/cli/compile/compile.go:209 msgid "Error parsing --show-properties flag: %v" msgstr "Erro ao fazer análise sintática na flag --show-properties: %v" -#: commands/service_compile.go:398 +#: commands/service_compile.go:412 msgid "Error reading build directory" msgstr "Erro ao ler diretório de build" @@ -975,7 +979,7 @@ msgstr "Erro ao esclarecer dependências para %[1]s: %[2]s" msgid "Error retrieving core list: %v" msgstr "Erro ao adquirir lista de núcleos: %v" -#: internal/arduino/cores/packagemanager/install_uninstall.go:158 +#: internal/arduino/cores/packagemanager/install_uninstall.go:160 msgid "Error rolling-back changes: %s" msgstr "Erro ao reverter mudanças: %s" @@ -1029,7 +1033,7 @@ msgstr "Erro ao atualizar índice de biblioteca: %v" msgid "Error upgrading libraries" msgstr "Erro ao atualizar bibliotecas" -#: internal/arduino/cores/packagemanager/install_uninstall.go:153 +#: internal/arduino/cores/packagemanager/install_uninstall.go:155 msgid "Error upgrading platform: %s" msgstr "Erro ao atualizar plataforma: %s" @@ -1042,10 +1046,10 @@ msgstr "Erro ao verificar assinatura" msgid "Error while detecting libraries included by %[1]s" msgstr "Erro ao detectar bibliotecas incluídas por %[1]s" -#: internal/arduino/builder/sizer.go:79 internal/arduino/builder/sizer.go:88 -#: internal/arduino/builder/sizer.go:91 internal/arduino/builder/sizer.go:110 -#: internal/arduino/builder/sizer.go:215 internal/arduino/builder/sizer.go:225 -#: internal/arduino/builder/sizer.go:229 +#: internal/arduino/builder/sizer.go:80 internal/arduino/builder/sizer.go:89 +#: internal/arduino/builder/sizer.go:92 internal/arduino/builder/sizer.go:111 +#: internal/arduino/builder/sizer.go:218 internal/arduino/builder/sizer.go:228 +#: internal/arduino/builder/sizer.go:232 msgid "Error while determining sketch size: %s" msgstr "Erro ao determinar tamanho do esboço: %s" @@ -1061,7 +1065,7 @@ msgstr "" msgid "Error: command description is not supported by %v" msgstr "Erro: descrição de comando não suportado por %v" -#: internal/cli/compile/compile.go:199 +#: internal/cli/compile/compile.go:202 msgid "Error: invalid source code overrides data file: %v" msgstr "Erro: arquivo de dados que sobrescrevem o código fonte inválido: %v" @@ -1081,7 +1085,7 @@ msgstr "Exemplos:" msgid "Executable to debug" msgstr "Executável para depurar" -#: commands/service_debug_config.go:181 commands/service_upload.go:454 +#: commands/service_debug_config.go:181 commands/service_upload.go:455 msgid "Expected compiled sketch in directory %s, but is a file instead" msgstr "" "Um esboço compilado era esperado no diretório %s, mas um arquivo foi " @@ -1097,23 +1101,23 @@ msgstr "FQBN" msgid "FQBN:" msgstr "FQBN:" -#: commands/service_upload.go:577 +#: commands/service_upload.go:578 msgid "Failed chip erase" msgstr "Falha ao apagar chip" -#: commands/service_upload.go:584 +#: commands/service_upload.go:585 msgid "Failed programming" msgstr "Falha ao programar" -#: commands/service_upload.go:580 +#: commands/service_upload.go:581 msgid "Failed to burn bootloader" msgstr "Falha ao gravar carregador de inicialização" -#: commands/instances.go:87 +#: commands/instances.go:88 msgid "Failed to create data directory" msgstr "Falha ao criar diretório de dados" -#: commands/instances.go:76 +#: commands/instances.go:77 msgid "Failed to create downloads directory" msgstr "Falha ao criar diretório de downloads" @@ -1133,7 +1137,7 @@ msgstr "Falha ao ouvir porta TCP: %[1]s. Erro inesperado: %[2]v" msgid "Failed to listen on TCP port: %s. Address already in use." msgstr "Falha ao ouvir porta TCP: %s. Endereço já está em uso." -#: commands/service_upload.go:588 +#: commands/service_upload.go:589 msgid "Failed uploading" msgstr "Falha ao enviar" @@ -1141,7 +1145,7 @@ msgstr "Falha ao enviar" msgid "File:" msgstr "Arquivo:" -#: commands/service_compile.go:160 +#: commands/service_compile.go:163 msgid "" "Firmware encryption/signing requires all the following properties to be " "defined: %s" @@ -1187,7 +1191,7 @@ msgid "" "Force skip of pre-uninstall scripts (if the CLI is running interactively)." msgstr "" -#: commands/cmderrors/cmderrors.go:839 +#: commands/cmderrors/cmderrors.go:860 msgid "Found %d platforms matching \"%s\": %s" msgstr "" @@ -1212,7 +1216,7 @@ msgstr "Gera scripts de conclusão" msgid "Generates completion scripts for various shells" msgstr "Gera scripts de conclusão para várias Shells" -#: internal/arduino/builder/builder.go:333 +#: internal/arduino/builder/builder.go:334 msgid "Generating function prototypes..." msgstr "Gerando protótipos de função..." @@ -1224,7 +1228,7 @@ msgstr "" msgid "Global Flags:" msgstr "Flags Globais:" -#: internal/arduino/builder/sizer.go:164 +#: internal/arduino/builder/sizer.go:166 msgid "" "Global variables use %[1]s bytes (%[3]s%%) of dynamic memory, leaving %[4]s " "bytes for local variables. Maximum is %[2]s bytes." @@ -1232,7 +1236,7 @@ msgstr "" "Variáveis globais usam %[1]s bytes (%[3]s%%) de memória dinâmica, restando " "%[4]s bytes para variáveis locais. O maximo é %[2]s bytes." -#: internal/arduino/builder/sizer.go:170 +#: internal/arduino/builder/sizer.go:172 msgid "Global variables use %[1]s bytes of dynamic memory." msgstr "Variáveis globais usam %[1]s bytes de memória dinâmica." @@ -1250,7 +1254,7 @@ msgstr "Id" msgid "Identification properties:" msgstr "Propriedades de identificação:" -#: internal/cli/compile/compile.go:132 +#: internal/cli/compile/compile.go:135 msgid "If set built binaries will be exported to the sketch folder." msgstr "" "Se designado, binárias de build serão exportadas para o diretório de " @@ -1281,20 +1285,20 @@ msgstr "Instalar bibliotecas no Diretório Embutido da IDE." msgid "Installed" msgstr "Instalado" -#: commands/service_library_install.go:200 +#: commands/service_library_install.go:201 msgid "Installed %s" msgstr "%s instalado" -#: commands/service_library_install.go:183 -#: internal/arduino/cores/packagemanager/install_uninstall.go:333 +#: commands/service_library_install.go:184 +#: internal/arduino/cores/packagemanager/install_uninstall.go:335 msgid "Installing %s" msgstr "Instalado %s" -#: commands/instances.go:395 +#: commands/instances.go:396 msgid "Installing library %s" msgstr "Instalando biblioteca %s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:119 +#: internal/arduino/cores/packagemanager/install_uninstall.go:121 #: internal/arduino/cores/packagemanager/profiles.go:134 msgid "Installing platform %s" msgstr "Instalando plataforma %s" @@ -1317,11 +1321,11 @@ msgstr "Instala uma ou mais bibliotecas especificadas no sistema." msgid "Internal error in cache" msgstr "Erro interno no Cache" -#: commands/cmderrors/cmderrors.go:377 +#: commands/cmderrors/cmderrors.go:378 msgid "Invalid '%[1]s' property: %[2]s" msgstr "Propriedade '%[1]s' inválida: %[2]s" -#: commands/cmderrors/cmderrors.go:60 +#: commands/cmderrors/cmderrors.go:61 msgid "Invalid FQBN" msgstr "FQBN inválido" @@ -1329,11 +1333,11 @@ msgstr "FQBN inválido" msgid "Invalid TCP address: port is missing" msgstr "Endereço TCP inválido: a porta está faltando " -#: commands/cmderrors/cmderrors.go:78 +#: commands/cmderrors/cmderrors.go:79 msgid "Invalid URL" msgstr "URL inválida" -#: commands/instances.go:183 +#: commands/instances.go:184 msgid "Invalid additional URL: %v" msgstr "URL adicional inválida: %v" @@ -1347,23 +1351,23 @@ msgstr "" msgid "Invalid argument passed: %v" msgstr "Argumento inválido passado: %v" -#: commands/service_compile.go:272 +#: commands/service_compile.go:282 msgid "Invalid build properties" msgstr "Propriedades de compilação inválidas" -#: internal/arduino/builder/sizer.go:250 +#: internal/arduino/builder/sizer.go:253 msgid "Invalid data size regexp: %s" msgstr "Tamanho de dados para regexp inválida: %s" -#: internal/arduino/builder/sizer.go:256 +#: internal/arduino/builder/sizer.go:259 msgid "Invalid eeprom size regexp: %s" msgstr "Regexp de tamanho EEPROM inválida: %s" -#: commands/instances.go:596 +#: commands/instances.go:597 msgid "Invalid index URL: %s" msgstr "" -#: commands/cmderrors/cmderrors.go:46 +#: commands/cmderrors/cmderrors.go:47 msgid "Invalid instance" msgstr "Instância inválida" @@ -1371,7 +1375,7 @@ msgstr "Instância inválida" msgid "Invalid item %s" msgstr "Item inválido %s" -#: commands/cmderrors/cmderrors.go:96 +#: commands/cmderrors/cmderrors.go:97 msgid "Invalid library" msgstr "Biblioteca inválida" @@ -1379,11 +1383,11 @@ msgstr "Biblioteca inválida" msgid "Invalid logging level: %s" msgstr "" -#: commands/instances.go:613 +#: commands/instances.go:614 msgid "Invalid network configuration: %s" msgstr "" -#: internal/cli/configuration/network.go:66 +#: internal/cli/configuration/network.go:83 msgid "Invalid network.proxy '%[1]s': %[2]s" msgstr "network.proxy inválido: '%[1]s':%[2]s" @@ -1391,7 +1395,7 @@ msgstr "network.proxy inválido: '%[1]s':%[2]s" msgid "Invalid output format: %s" msgstr "Formato de saída inválido: %s" -#: commands/instances.go:580 +#: commands/instances.go:581 msgid "Invalid package index in %s" msgstr "Índice de pacote inválido em %s" @@ -1399,35 +1403,35 @@ msgstr "Índice de pacote inválido em %s" msgid "Invalid parameter %s: version not allowed" msgstr "Parâmetro %s inválido: versão não permitida" -#: commands/service_board_list.go:81 +#: commands/service_board_identify.go:169 msgid "Invalid pid value: '%s'" msgstr "Valor PID inválido: '%s'" -#: commands/cmderrors/cmderrors.go:220 +#: commands/cmderrors/cmderrors.go:221 msgid "Invalid profile" msgstr "Perfil inválido" -#: commands/service_monitor.go:269 +#: commands/service_monitor.go:270 msgid "Invalid recipe in platform.txt" msgstr "Receita inválida em platform.txt" -#: internal/arduino/builder/sizer.go:240 +#: internal/arduino/builder/sizer.go:243 msgid "Invalid size regexp: %s" msgstr "Tamanho de regexp inválido: %s" -#: main.go:85 +#: main.go:86 msgid "Invalid value in configuration" msgstr "" -#: commands/cmderrors/cmderrors.go:114 +#: commands/cmderrors/cmderrors.go:115 msgid "Invalid version" msgstr "Versão inválida" -#: commands/service_board_list.go:78 +#: commands/service_board_identify.go:166 msgid "Invalid vid value: '%s'" msgstr "Valor vid inválido: '%s'" -#: internal/cli/compile/compile.go:129 +#: internal/cli/compile/compile.go:132 msgid "" "Just produce the compilation database, without actually compiling. All build" " commands are skipped except pre* hooks." @@ -1452,12 +1456,12 @@ msgstr "NOME_BIBLIOTECA" msgid "Latest" msgstr "Mais recente" -#: internal/arduino/builder/libraries.go:91 +#: internal/arduino/builder/libraries.go:92 msgid "Library %[1]s has been declared precompiled:" msgstr "A biblioteca %[1]s foi declarada como pré-compilada:" -#: commands/service_library_install.go:141 -#: internal/arduino/libraries/librariesmanager/install.go:131 +#: commands/service_library_install.go:142 +#: internal/arduino/libraries/librariesmanager/install.go:130 msgid "" "Library %[1]s is already installed, but with a different version: %[2]s" msgstr "" @@ -1471,11 +1475,11 @@ msgstr "A biblioteca %s já está instalada em sua versão mais recente." msgid "Library %s is not installed" msgstr "A biblioteca %s não está instalada" -#: commands/instances.go:374 +#: commands/instances.go:375 msgid "Library %s not found" msgstr "A biblioteca %s não foi encontrada" -#: commands/cmderrors/cmderrors.go:445 +#: commands/cmderrors/cmderrors.go:466 msgid "Library '%s' not found" msgstr "A biblioteca '%s' não foi encontrada" @@ -1486,12 +1490,12 @@ msgstr "" "A biblioteca não pode usar ambos os diretórios '%[1]s' e '%[2]s'. Cheque " "novamente em '%[3]s'." -#: commands/cmderrors/cmderrors.go:574 +#: commands/cmderrors/cmderrors.go:595 msgid "Library install failed" msgstr "Instalação de biblioteca falhou" -#: commands/service_library_install.go:234 -#: commands/service_library_install.go:274 +#: commands/service_library_install.go:235 +#: commands/service_library_install.go:275 msgid "Library installed" msgstr "Biblioteca instalada" @@ -1499,7 +1503,7 @@ msgstr "Biblioteca instalada" msgid "License: %s" msgstr "Licença: %s" -#: internal/arduino/builder/builder.go:436 +#: internal/arduino/builder/builder.go:437 msgid "Linking everything together..." msgstr "Vinculando tudo..." @@ -1527,7 +1531,7 @@ msgstr "" "Listar todas as opções de placas separadas por vírgula. Ou pode ser usado " "múltiplas vezes para múltiplas opções." -#: internal/cli/compile/compile.go:107 +#: internal/cli/compile/compile.go:110 msgid "" "List of custom build properties separated by commas. Or can be used multiple" " times for multiple properties." @@ -1551,8 +1555,8 @@ msgstr "Listar todas as placas conectadas." msgid "Lists cores and libraries that can be upgraded" msgstr "Listar núcleos e bibliotecas que podem ser atualizadas" -#: commands/instances.go:221 commands/instances.go:232 -#: commands/instances.go:342 +#: commands/instances.go:222 commands/instances.go:233 +#: commands/instances.go:343 msgid "Loading index file: %v" msgstr "Carregando arquivo Index: %v" @@ -1560,7 +1564,7 @@ msgstr "Carregando arquivo Index: %v" msgid "Location" msgstr "Localização" -#: internal/arduino/builder/sizer.go:205 +#: internal/arduino/builder/sizer.go:208 msgid "Low memory available, stability problems may occur." msgstr "Pouca memória disponível, podem ocorrer problemas de estabilidade." @@ -1568,7 +1572,7 @@ msgstr "Pouca memória disponível, podem ocorrer problemas de estabilidade." msgid "Maintainer: %s" msgstr "Mantedor: %s" -#: internal/cli/compile/compile.go:137 +#: internal/cli/compile/compile.go:140 msgid "" "Max number of parallel compiles. If set to 0 the number of available CPUs " "cores will be used." @@ -1588,23 +1592,23 @@ msgstr "" msgid "Missing '%[1]s' from library in %[2]s" msgstr "'%[1]s' está faltando da biblioteca em %[2]s" -#: commands/cmderrors/cmderrors.go:169 +#: commands/cmderrors/cmderrors.go:170 msgid "Missing FQBN (Fully Qualified Board Name)" msgstr "FQBN (Nome de Placa Totalmente Qualificado) está faltando" -#: commands/cmderrors/cmderrors.go:260 +#: commands/cmderrors/cmderrors.go:261 msgid "Missing port" msgstr "Porta faltando" -#: commands/cmderrors/cmderrors.go:236 +#: commands/cmderrors/cmderrors.go:237 msgid "Missing port address" msgstr "Endereço de porta faltando" -#: commands/cmderrors/cmderrors.go:248 +#: commands/cmderrors/cmderrors.go:249 msgid "Missing port protocol" msgstr "Protocolo de porta faltando" -#: commands/cmderrors/cmderrors.go:286 +#: commands/cmderrors/cmderrors.go:287 msgid "Missing programmer" msgstr "Programador faltando" @@ -1612,15 +1616,15 @@ msgstr "Programador faltando" msgid "Missing required upload field: %s" msgstr "" -#: internal/arduino/builder/sizer.go:244 +#: internal/arduino/builder/sizer.go:247 msgid "Missing size regexp" msgstr "Tamanho de regexp faltando" -#: commands/cmderrors/cmderrors.go:497 +#: commands/cmderrors/cmderrors.go:518 msgid "Missing sketch path" msgstr "Caminho para esboço faltando" -#: commands/cmderrors/cmderrors.go:358 +#: commands/cmderrors/cmderrors.go:359 msgid "Monitor '%s' not found" msgstr "Monitor '%s' não encontrado" @@ -1678,7 +1682,7 @@ msgstr "" msgid "No libraries update is available." msgstr "Nenhuma atualização de bibliotecas disponível." -#: commands/cmderrors/cmderrors.go:274 +#: commands/cmderrors/cmderrors.go:275 msgid "No monitor available for the port protocol %s" msgstr "Sem monitor disponível para o protocolo de porta %s" @@ -1694,15 +1698,15 @@ msgstr "Nenhuma plataforma instalada." msgid "No platforms matching your search." msgstr "Nenhuma plataforma correspondente à sua busca." -#: commands/service_upload.go:533 +#: commands/service_upload.go:534 msgid "No upload port found, using %s as fallback" msgstr "Nenhuma porta de envio encontrada, usando %s como reserva" -#: commands/cmderrors/cmderrors.go:464 +#: commands/cmderrors/cmderrors.go:485 msgid "No valid dependencies solution found" msgstr "Sem solução válida para dependências encontrada " -#: internal/arduino/builder/sizer.go:195 +#: internal/arduino/builder/sizer.go:198 msgid "Not enough memory; see %[1]s for tips on reducing your footprint." msgstr "" "Memória insuficiente: veja %[1]s para sugestões sobre como reduzir a sua " @@ -1736,35 +1740,35 @@ msgstr "Abra uma porta de comunicação com a placa." msgid "Option:" msgstr "Opção:" -#: internal/cli/compile/compile.go:117 +#: internal/cli/compile/compile.go:120 msgid "" "Optional, can be: %s. Used to tell gcc which warning level to use (-W flag)." msgstr "" "Opcional, pode ser: %s. Usado para indicar ao GCC qual nível de alerta " "utilizar (flag -W)." -#: internal/cli/compile/compile.go:130 +#: internal/cli/compile/compile.go:133 msgid "Optional, cleanup the build folder and do not use any cached build." msgstr "" "Opcional, limpeza do diretório de compilação e não utilização de nenhuma " "compilação em cache." -#: internal/cli/compile/compile.go:127 +#: internal/cli/compile/compile.go:130 msgid "" "Optional, optimize compile output for debugging, rather than for release." msgstr "" "Opcional, otimize saída de compilação para depuração, ao invés de " "lançamento." -#: internal/cli/compile/compile.go:119 +#: internal/cli/compile/compile.go:122 msgid "Optional, suppresses almost every output." msgstr "Opcional, esconde quase qualquer saída. " -#: internal/cli/compile/compile.go:118 internal/cli/upload/upload.go:79 +#: internal/cli/compile/compile.go:121 internal/cli/upload/upload.go:79 msgid "Optional, turns on verbose mode." msgstr "Opcional, liga o modo verboso." -#: internal/cli/compile/compile.go:133 +#: internal/cli/compile/compile.go:136 msgid "" "Optional. Path to a .json file that contains a set of replacements of the " "sketch source code." @@ -1772,7 +1776,7 @@ msgstr "" "Opcional. Caminho para um arquivo .json que contém um conjunto de " "substituições do código fonte do esboço." -#: internal/cli/compile/compile.go:109 +#: internal/cli/compile/compile.go:112 msgid "" "Override a build property with a custom value. Can be used multiple times " "for multiple properties." @@ -1834,11 +1838,11 @@ msgstr "Website do pacote:" msgid "Paragraph: %s" msgstr "Parágrafo: %s" -#: internal/cli/compile/compile.go:454 internal/cli/compile/compile.go:469 +#: internal/cli/compile/compile.go:473 internal/cli/compile/compile.go:488 msgid "Path" msgstr "Caminho" -#: internal/cli/compile/compile.go:126 +#: internal/cli/compile/compile.go:129 msgid "" "Path to a collection of libraries. Can be used multiple times or entries can" " be comma separated." @@ -1846,7 +1850,7 @@ msgstr "" "Caminho para a coleção de bibliotecas. Pode ser utilizado múltiplas vezes. " "Entradas podem ser separadas por vírgulas." -#: internal/cli/compile/compile.go:124 +#: internal/cli/compile/compile.go:127 msgid "" "Path to a single library’s root folder. Can be used multiple times or " "entries can be comma separated." @@ -1858,7 +1862,7 @@ msgstr "" msgid "Path to the file where logs will be written." msgstr "Caminho para o arquivo onde os registros de dados serão escritos." -#: internal/cli/compile/compile.go:105 +#: internal/cli/compile/compile.go:108 msgid "" "Path where to save compiled files. If omitted, a directory will be created " "in the default temporary path of your OS." @@ -1866,20 +1870,20 @@ msgstr "" "Caminho para onde salvar arquivos compilados. Se omitido, um diretório vai " "ser criado no caminho temporário padrão do seu SO." -#: commands/service_upload.go:514 +#: commands/service_upload.go:515 msgid "Performing 1200-bps touch reset on serial port %s" msgstr "Executando toque de redefinição de 1200-bps na porta serial %s" -#: commands/service_platform_install.go:86 -#: commands/service_platform_install.go:93 +#: commands/service_platform_install.go:91 +#: commands/service_platform_install.go:98 msgid "Platform %s already installed" msgstr "Plataforma %s já está instalada" -#: internal/arduino/cores/packagemanager/install_uninstall.go:194 +#: internal/arduino/cores/packagemanager/install_uninstall.go:196 msgid "Platform %s installed" msgstr "Plataforma %s instalada" -#: internal/cli/compile/compile.go:402 internal/cli/upload/upload.go:148 +#: internal/cli/compile/compile.go:417 internal/cli/upload/upload.go:148 msgid "" "Platform %s is not found in any known index\n" "Maybe you need to add a 3rd party URL?" @@ -1887,15 +1891,19 @@ msgstr "" "A plataforma %s não foi encontrada em nenhum índice conhecido\n" "Talvez você precise adicionar uma URL externa de 3ºs?" -#: internal/arduino/cores/packagemanager/install_uninstall.go:318 +#: internal/arduino/cores/packagemanager/install_uninstall.go:320 msgid "Platform %s uninstalled" msgstr "Plataforma %s desinstalada. " -#: commands/cmderrors/cmderrors.go:482 +#: commands/cmderrors/cmderrors.go:427 +msgid "Platform '%s'" +msgstr "" + +#: commands/cmderrors/cmderrors.go:503 msgid "Platform '%s' is already at the latest version" msgstr "Plataforma '%s' já está em sua versão mais recente." -#: commands/cmderrors/cmderrors.go:406 +#: commands/cmderrors/cmderrors.go:407 msgid "Platform '%s' not found" msgstr "Plataforma '%s' não encontrada" @@ -1903,7 +1911,7 @@ msgstr "Plataforma '%s' não encontrada" msgid "Platform ID" msgstr "ID da Plataforma" -#: internal/cli/compile/compile.go:387 internal/cli/upload/upload.go:136 +#: internal/cli/compile/compile.go:402 internal/cli/upload/upload.go:136 msgid "Platform ID is not correct" msgstr "ID da Plataforma incorreto" @@ -1935,7 +1943,7 @@ msgstr "Nome da Plataforma:" msgid "Platform size (bytes):" msgstr "Tamanho da Plataforma (em bytes):" -#: commands/cmderrors/cmderrors.go:153 +#: commands/cmderrors/cmderrors.go:154 msgid "" "Please specify an FQBN. Multiple possible boards detected on port %[1]s with" " protocol %[2]s" @@ -1943,7 +1951,7 @@ msgstr "" "Por favor especifique um FQBN. Possíveis placas foram detectadas na porta " "%[1]s com o protocolo %[2]s" -#: commands/cmderrors/cmderrors.go:133 +#: commands/cmderrors/cmderrors.go:134 msgid "" "Please specify an FQBN. The board on port %[1]s with protocol %[2]s can't be" " identified" @@ -1959,12 +1967,12 @@ msgstr "Porta" msgid "Port closed: %v" msgstr "Porta fechada: %v" -#: commands/cmderrors/cmderrors.go:668 +#: commands/cmderrors/cmderrors.go:689 msgid "Port monitor error" msgstr "Erro no monitor de portas" -#: internal/arduino/builder/libraries.go:101 -#: internal/arduino/builder/libraries.go:109 +#: internal/arduino/builder/libraries.go:102 +#: internal/arduino/builder/libraries.go:110 msgid "Precompiled library in \"%[1]s\" not found" msgstr "Biblioteca pré-compilada em \"%[1]s\" não foi encontrada" @@ -1972,7 +1980,7 @@ msgstr "Biblioteca pré-compilada em \"%[1]s\" não foi encontrada" msgid "Print details about a board." msgstr "Imprimir detalhes sobre a placa." -#: internal/cli/compile/compile.go:100 +#: internal/cli/compile/compile.go:103 msgid "Print preprocessed code to stdout instead of compiling." msgstr "Imprimir código pré-processado para stdout ao invés de compilar." @@ -1992,11 +2000,11 @@ msgstr "Imprime a configuração atual" msgid "Prints the current configuration." msgstr "Imprime a configuração atual." -#: commands/cmderrors/cmderrors.go:202 +#: commands/cmderrors/cmderrors.go:203 msgid "Profile '%s' not found" msgstr "Perfil '%s' não encontrado" -#: commands/cmderrors/cmderrors.go:339 +#: commands/cmderrors/cmderrors.go:340 msgid "Programmer '%s' not found" msgstr "Programador '%s' não encontrado" @@ -2012,7 +2020,7 @@ msgstr "Programador para utilizar, ex: atmel_ice" msgid "Programmers:" msgstr "Programadores:" -#: commands/cmderrors/cmderrors.go:391 +#: commands/cmderrors/cmderrors.go:392 msgid "Property '%s' is undefined" msgstr "Propriedade '%s' não definida" @@ -2028,11 +2036,11 @@ msgstr "Providenciar includes: %s" msgid "Removes one or more values from a setting." msgstr "Remove um ou mais valores de uma configuração." -#: commands/service_library_install.go:187 +#: commands/service_library_install.go:188 msgid "Replacing %[1]s with %[2]s" msgstr "Substituindo %[1]s com %[2]s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:123 +#: internal/arduino/cores/packagemanager/install_uninstall.go:125 msgid "Replacing platform %[1]s with %[2]s" msgstr "Substituindo plataforma %[1]s com %[2]s" @@ -2049,12 +2057,12 @@ msgstr "" msgid "Run the Arduino CLI as a gRPC daemon." msgstr "" -#: internal/arduino/builder/core.go:42 +#: internal/arduino/builder/core.go:43 msgid "Running normal build of the core..." msgstr "Executando compilação normal do núcleo..." -#: internal/arduino/cores/packagemanager/install_uninstall.go:297 -#: internal/arduino/cores/packagemanager/install_uninstall.go:411 +#: internal/arduino/cores/packagemanager/install_uninstall.go:299 +#: internal/arduino/cores/packagemanager/install_uninstall.go:413 msgid "Running pre_uninstall script." msgstr "" @@ -2066,7 +2074,7 @@ msgstr "" msgid "SVD file path" msgstr "" -#: internal/cli/compile/compile.go:103 +#: internal/cli/compile/compile.go:106 msgid "Save build artifacts in this directory." msgstr "Salve artefatos de compilação neste diretório." @@ -2297,7 +2305,7 @@ msgstr "Mostra o número de versão da CLI Arduino." msgid "Size (bytes):" msgstr "Tamanho (em bytes):" -#: commands/service_compile.go:276 +#: commands/service_compile.go:286 msgid "" "Sketch cannot be located in build path. Please specify a different build " "path" @@ -2313,13 +2321,13 @@ msgstr "Esboço criado em: %s" msgid "Sketch profile to use" msgstr "Perfil de Esboço para utilizar" -#: internal/arduino/builder/sizer.go:190 +#: internal/arduino/builder/sizer.go:193 msgid "Sketch too big; see %[1]s for tips on reducing it." msgstr "" "O rascunho é demasiado grande; veja %[1]s para técnicas de reduzir o " "ficheiro." -#: internal/arduino/builder/sizer.go:158 +#: internal/arduino/builder/sizer.go:160 msgid "" "Sketch uses %[1]s bytes (%[3]s%%) of program storage space. Maximum is %[2]s" " bytes." @@ -2335,21 +2343,21 @@ msgstr "" "Esboços com a extensão. pde estão descontinuados. Por favor renomeie os " "seguintes arquivos para .ino:" -#: internal/arduino/builder/linker.go:30 +#: internal/arduino/builder/linker.go:31 msgid "Skip linking of final executable." msgstr "Pule a vinculação da executável final." -#: commands/service_upload.go:507 +#: commands/service_upload.go:508 msgid "Skipping 1200-bps touch reset: no serial port selected!" msgstr "" "Pulando o toque de redefinição 1200-bps: nenhuma porta serial foi " "selecionada!" -#: internal/arduino/builder/archive_compiled_files.go:27 +#: internal/arduino/builder/archive_compiled_files.go:28 msgid "Skipping archive creation of: %[1]s" msgstr "Pulando a criação de depósito de documentos de: %[1]s" -#: internal/arduino/builder/compilation.go:183 +#: internal/arduino/builder/compilation.go:184 msgid "Skipping compile of: %[1]s" msgstr "Pulando a compilação de: %[1]s" @@ -2358,16 +2366,16 @@ msgid "Skipping dependencies detection for precompiled library %[1]s" msgstr "" "Pulando detecção de dependências para a biblioteca pré-compilada %[1]s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:190 +#: internal/arduino/cores/packagemanager/install_uninstall.go:192 msgid "Skipping platform configuration." msgstr "Pulando configuração de plataforma." -#: internal/arduino/cores/packagemanager/install_uninstall.go:306 -#: internal/arduino/cores/packagemanager/install_uninstall.go:420 +#: internal/arduino/cores/packagemanager/install_uninstall.go:308 +#: internal/arduino/cores/packagemanager/install_uninstall.go:422 msgid "Skipping pre_uninstall script." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:368 +#: internal/arduino/cores/packagemanager/install_uninstall.go:370 msgid "Skipping tool configuration." msgstr "Pulando configuração de ferramenta." @@ -2375,7 +2383,7 @@ msgstr "Pulando configuração de ferramenta." msgid "Skipping: %[1]s" msgstr "Pulando: %[1]s" -#: commands/instances.go:633 +#: commands/instances.go:634 msgid "Some indexes could not be updated." msgstr "Alguns índices não puderam ser atualizados." @@ -2398,7 +2406,7 @@ msgstr "" "O arquivo de configuração customizado (caso não seja definido, o padrão vai " "ser usado)." -#: internal/cli/compile/compile.go:90 +#: internal/cli/compile/compile.go:93 msgid "" "The flag --build-cache-path has been deprecated. Please use just --build-" "path alone or configure the build cache path in the Arduino CLI settings." @@ -2416,7 +2424,7 @@ msgstr "" msgid "The given board/programmer configuration supports debugging." msgstr "" -#: commands/cmderrors/cmderrors.go:876 +#: commands/cmderrors/cmderrors.go:897 msgid "The instance is no longer valid and needs to be reinitialized" msgstr "" @@ -2436,11 +2444,11 @@ msgstr "" "A chave '%[1]v' não é uma lista de itens. Não é possível remover dela.\n" "Talvez tente usar '%[2]s'?" -#: commands/cmderrors/cmderrors.go:858 +#: commands/cmderrors/cmderrors.go:879 msgid "The library %s has multiple installations:" msgstr "A biblioteca %s possui múltiplas instalações:" -#: internal/cli/compile/compile.go:115 +#: internal/cli/compile/compile.go:118 msgid "" "The name of the custom encryption key to use to encrypt a binary during the " "compile process. Used only by the platforms that support it." @@ -2449,7 +2457,7 @@ msgstr "" "binários durante o processo de compilação. Usado apenas por plataformas que " "possuem suporte." -#: internal/cli/compile/compile.go:113 +#: internal/cli/compile/compile.go:116 msgid "" "The name of the custom signing key to use to sign a binary during the " "compile process. Used only by the platforms that support it." @@ -2462,7 +2470,7 @@ msgstr "" msgid "The output format for the logs, can be: %s" msgstr "Os formatos de saída para os arquivos de registro podem ser: %s" -#: internal/cli/compile/compile.go:111 +#: internal/cli/compile/compile.go:114 msgid "" "The path of the dir to search for the custom keys to sign and encrypt a " "binary. Used only by the platforms that support it." @@ -2471,7 +2479,7 @@ msgstr "" "e criptografar um resultado binário. Usado apenas por plataformas que " "possuem suporte." -#: internal/arduino/builder/libraries.go:151 +#: internal/arduino/builder/libraries.go:152 msgid "The platform does not support '%[1]s' for precompiled libraries." msgstr "A plataforma não suporta '%[1]s' para bibliotecas pré-compiladas." @@ -2500,12 +2508,12 @@ msgstr "" msgid "Timestamp each incoming line." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:89 -#: internal/arduino/cores/packagemanager/install_uninstall.go:328 +#: internal/arduino/cores/packagemanager/install_uninstall.go:91 +#: internal/arduino/cores/packagemanager/install_uninstall.go:330 msgid "Tool %s already installed" msgstr "Ferramenta %s já está instalada" -#: internal/arduino/cores/packagemanager/install_uninstall.go:432 +#: internal/arduino/cores/packagemanager/install_uninstall.go:434 msgid "Tool %s uninstalled" msgstr "" @@ -2525,7 +2533,7 @@ msgstr "" msgid "Toolchain type" msgstr "" -#: internal/cli/compile/compile.go:400 internal/cli/upload/upload.go:146 +#: internal/cli/compile/compile.go:415 internal/cli/upload/upload.go:146 msgid "Try running %s" msgstr "" @@ -2545,7 +2553,7 @@ msgstr "" msgid "URL:" msgstr "" -#: internal/arduino/builder/core.go:165 +#: internal/arduino/builder/core.go:166 msgid "" "Unable to cache built core, please tell %[1]s maintainers to follow %[2]s" msgstr "" @@ -2567,17 +2575,17 @@ msgstr "" msgid "Unable to open file for logging: %s" msgstr "" -#: commands/instances.go:562 +#: commands/instances.go:563 msgid "Unable to parse URL" msgstr "" #: commands/service_library_uninstall.go:71 -#: internal/arduino/cores/packagemanager/install_uninstall.go:280 +#: internal/arduino/cores/packagemanager/install_uninstall.go:282 msgid "Uninstalling %s" msgstr "" #: commands/service_platform_uninstall.go:99 -#: internal/arduino/cores/packagemanager/install_uninstall.go:166 +#: internal/arduino/cores/packagemanager/install_uninstall.go:168 msgid "Uninstalling %s, tool is no more required" msgstr "" @@ -2595,7 +2603,7 @@ msgstr "" msgid "Unknown" msgstr "" -#: commands/cmderrors/cmderrors.go:183 +#: commands/cmderrors/cmderrors.go:184 msgid "Unknown FQBN" msgstr "" @@ -2623,7 +2631,7 @@ msgstr "" msgid "Updates the libraries index." msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:45 +#: internal/arduino/cores/packagemanager/install_uninstall.go:47 msgid "Upgrade doesn't accept parameters with version" msgstr "" @@ -2656,7 +2664,7 @@ msgstr "" msgid "Upload port address, e.g.: COM3 or /dev/ttyACM2" msgstr "" -#: commands/service_upload.go:531 +#: commands/service_upload.go:532 msgid "Upload port found on %s" msgstr "" @@ -2664,7 +2672,7 @@ msgstr "" msgid "Upload port protocol, e.g: serial" msgstr "" -#: internal/cli/compile/compile.go:120 +#: internal/cli/compile/compile.go:123 msgid "Upload the binary after the compilation." msgstr "" @@ -2676,7 +2684,7 @@ msgstr "" msgid "Upload the bootloader." msgstr "" -#: internal/cli/compile/compile.go:269 internal/cli/upload/upload.go:167 +#: internal/cli/compile/compile.go:274 internal/cli/upload/upload.go:167 msgid "" "Uploading to specified board using %s protocol requires the following info:" msgstr "" @@ -2695,11 +2703,11 @@ msgstr "" msgid "Use %s for more information about a command." msgstr "" -#: internal/cli/compile/compile.go:452 +#: internal/cli/compile/compile.go:471 msgid "Used library" msgstr "" -#: internal/cli/compile/compile.go:467 +#: internal/cli/compile/compile.go:486 msgid "Used platform" msgstr "" @@ -2707,7 +2715,7 @@ msgstr "" msgid "Used: %[1]s" msgstr "Utilizado: %[1]s" -#: commands/service_compile.go:351 +#: commands/service_compile.go:361 msgid "Using board '%[1]s' from platform in folder: %[2]s" msgstr "" @@ -2715,7 +2723,7 @@ msgstr "" msgid "Using cached library dependencies for file: %[1]s" msgstr "" -#: commands/service_compile.go:352 +#: commands/service_compile.go:362 msgid "Using core '%[1]s' from platform in folder: %[2]s" msgstr "" @@ -2729,25 +2737,25 @@ msgid "" "WARNING: Your board may require different settings to work!\n" msgstr "" -#: internal/arduino/builder/libraries.go:312 +#: internal/arduino/builder/libraries.go:313 msgid "Using library %[1]s at version %[2]s in folder: %[3]s %[4]s" msgstr "" -#: internal/arduino/builder/libraries.go:306 +#: internal/arduino/builder/libraries.go:307 msgid "Using library %[1]s in folder: %[2]s %[3]s" msgstr "A usar a biblioteca %[1]s na directoria: %[2]s %[3]s" -#: internal/arduino/builder/core.go:120 internal/arduino/builder/core.go:132 +#: internal/arduino/builder/core.go:121 internal/arduino/builder/core.go:133 msgid "Using precompiled core: %[1]s" msgstr "" -#: internal/arduino/builder/libraries.go:98 -#: internal/arduino/builder/libraries.go:106 +#: internal/arduino/builder/libraries.go:99 +#: internal/arduino/builder/libraries.go:107 msgid "Using precompiled library in %[1]s" msgstr "" -#: internal/arduino/builder/archive_compiled_files.go:50 -#: internal/arduino/builder/compilation.go:181 +#: internal/arduino/builder/archive_compiled_files.go:51 +#: internal/arduino/builder/compilation.go:182 msgid "Using previously compiled file: %[1]s" msgstr "A usar o ficheiro previamente compilado: %[1]s" @@ -2764,11 +2772,11 @@ msgid "Values" msgstr "" #: internal/cli/burnbootloader/burnbootloader.go:62 -#: internal/cli/compile/compile.go:122 internal/cli/upload/upload.go:78 +#: internal/cli/compile/compile.go:125 internal/cli/upload/upload.go:78 msgid "Verify uploaded binary after the upload." msgstr "" -#: internal/cli/compile/compile.go:453 internal/cli/compile/compile.go:468 +#: internal/cli/compile/compile.go:472 internal/cli/compile/compile.go:487 #: internal/cli/core/search.go:117 msgid "Version" msgstr "" @@ -2777,24 +2785,24 @@ msgstr "" msgid "Versions: %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:185 +#: internal/arduino/cores/packagemanager/install_uninstall.go:187 msgid "WARNING cannot configure platform: %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:364 +#: internal/arduino/cores/packagemanager/install_uninstall.go:366 msgid "WARNING cannot configure tool: %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:302 -#: internal/arduino/cores/packagemanager/install_uninstall.go:416 +#: internal/arduino/cores/packagemanager/install_uninstall.go:304 +#: internal/arduino/cores/packagemanager/install_uninstall.go:418 msgid "WARNING cannot run pre_uninstall script: %s" msgstr "" -#: internal/cli/compile/compile.go:330 +#: internal/cli/compile/compile.go:339 msgid "WARNING: The sketch is compiled using one or more custom libraries." msgstr "" -#: internal/arduino/builder/libraries.go:283 +#: internal/arduino/builder/libraries.go:284 msgid "" "WARNING: library %[1]s claims to run on %[2]s architecture(s) and may be " "incompatible with your current board which runs on %[3]s architecture(s)." @@ -2803,11 +2811,11 @@ msgstr "" "%[2]s e pode ser incompatível com a sua placa actual que é executada em " "arquitectura(s) %[3]s." -#: commands/service_upload.go:520 +#: commands/service_upload.go:521 msgid "Waiting for upload port..." msgstr "" -#: commands/service_compile.go:357 +#: commands/service_compile.go:367 msgid "" "Warning: Board %[1]s doesn't define a %[2]s preference. Auto-set to: %[3]s" msgstr "" @@ -2826,7 +2834,7 @@ msgid "" "directory." msgstr "" -#: internal/cli/compile/compile.go:150 internal/cli/compile/compile.go:153 +#: internal/cli/compile/compile.go:153 internal/cli/compile/compile.go:156 msgid "You cannot use the %s flag while compiling with a profile." msgstr "" @@ -2834,11 +2842,11 @@ msgstr "" msgid "archive hash differs from hash in index" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:188 +#: internal/arduino/libraries/librariesmanager/install.go:187 msgid "archive is not valid: multiple files found in zip file top level" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:191 +#: internal/arduino/libraries/librariesmanager/install.go:190 msgid "archive is not valid: no files found in zip file top level" msgstr "" @@ -2862,11 +2870,11 @@ msgstr "" msgid "basic search for \"esp32\" and \"display\" limited to official Maintainer" msgstr "" -#: commands/service_upload.go:791 +#: commands/service_upload.go:792 msgid "binary file not found in %s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:348 +#: internal/arduino/cores/packagemanager/package_manager.go:316 msgid "board %s not found" msgstr "" @@ -2882,11 +2890,11 @@ msgstr "" msgid "can't find latest release of %s" msgstr "" -#: commands/instances.go:272 +#: commands/instances.go:273 msgid "can't find latest release of tool %s" msgstr "" -#: internal/arduino/cores/packagemanager/loader.go:712 +#: internal/arduino/cores/packagemanager/loader.go:709 msgid "can't find pattern for discovery with id %s" msgstr "" @@ -2894,11 +2902,11 @@ msgstr "" msgid "candidates" msgstr "" -#: commands/service_upload.go:737 commands/service_upload.go:744 +#: commands/service_upload.go:738 commands/service_upload.go:745 msgid "cannot execute upload tool: %s" msgstr "" -#: internal/arduino/resources/install.go:40 +#: internal/arduino/resources/install.go:48 msgid "checking local archive integrity" msgstr "" @@ -2924,27 +2932,27 @@ msgstr "" msgid "computing hash: %s" msgstr "" -#: internal/arduino/cores/fqbn.go:81 +#: pkg/fqbn/fqbn.go:83 msgid "config key %s contains an invalid character" msgstr "" -#: internal/arduino/cores/fqbn.go:86 +#: pkg/fqbn/fqbn.go:87 msgid "config value %s contains an invalid character" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:141 +#: internal/arduino/libraries/librariesmanager/install.go:140 msgid "copying library to destination directory:" msgstr "" -#: commands/service_upload.go:863 +#: commands/service_upload.go:864 msgid "could not find a valid build artifact" msgstr "" -#: commands/service_platform_install.go:94 +#: commands/service_platform_install.go:99 msgid "could not overwrite" msgstr "" -#: commands/service_library_install.go:190 +#: commands/service_library_install.go:191 msgid "could not remove old library" msgstr "" @@ -2953,20 +2961,20 @@ msgstr "" msgid "could not update sketch project file" msgstr "" -#: internal/arduino/builder/core.go:116 internal/arduino/builder/core.go:140 +#: internal/arduino/builder/core.go:117 internal/arduino/builder/core.go:141 msgid "creating core cache folder: %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:219 +#: internal/arduino/cores/packagemanager/install_uninstall.go:221 msgid "creating installed.json in %[1]s: %[2]s" msgstr "" -#: internal/arduino/resources/install.go:45 -#: internal/arduino/resources/install.go:49 +#: internal/arduino/resources/install.go:54 +#: internal/arduino/resources/install.go:58 msgid "creating temp dir for extraction: %s" msgstr "" -#: internal/arduino/builder/sizer.go:196 +#: internal/arduino/builder/sizer.go:199 msgid "data section exceeds available space in board" msgstr "" @@ -2974,15 +2982,15 @@ msgstr "" msgid "dependency '%s' is not available" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:94 +#: internal/arduino/libraries/librariesmanager/install.go:93 msgid "destination dir %s already exists, cannot install" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:138 +#: internal/arduino/libraries/librariesmanager/install.go:137 msgid "destination directory already exists" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:278 +#: internal/arduino/libraries/librariesmanager/install.go:305 msgid "directory doesn't exist: %s" msgstr "" @@ -2990,15 +2998,15 @@ msgstr "" msgid "discovery %[1]s process not started" msgstr "" -#: internal/arduino/cores/packagemanager/loader.go:644 +#: internal/arduino/cores/packagemanager/loader.go:641 msgid "discovery %s not found" msgstr "" -#: internal/arduino/cores/packagemanager/loader.go:648 +#: internal/arduino/cores/packagemanager/loader.go:645 msgid "discovery %s not installed" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:746 +#: internal/arduino/cores/packagemanager/package_manager.go:714 msgid "discovery release not found: %s" msgstr "" @@ -3014,11 +3022,11 @@ msgstr "" msgid "downloaded" msgstr "" -#: commands/instances.go:55 +#: commands/instances.go:56 msgid "downloading %[1]s tool: %[2]s" msgstr "" -#: internal/arduino/cores/fqbn.go:60 +#: pkg/fqbn/fqbn.go:63 msgid "empty board identifier" msgstr "" @@ -3026,7 +3034,7 @@ msgstr "" msgid "error loading sketch project file:" msgstr "" -#: internal/arduino/cores/packagemanager/loader.go:615 +#: internal/arduino/cores/packagemanager/loader.go:612 msgid "error opening %s" msgstr "" @@ -3034,19 +3042,19 @@ msgstr "" msgid "error parsing version constraints" msgstr "" -#: commands/service_board_list.go:115 +#: commands/service_board_identify.go:203 msgid "error processing response from server" msgstr "" -#: commands/service_board_list.go:95 +#: commands/service_board_identify.go:183 msgid "error querying Arduino Cloud Api" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:179 +#: internal/arduino/libraries/librariesmanager/install.go:178 msgid "extracting archive" msgstr "" -#: internal/arduino/resources/install.go:68 +#: internal/arduino/resources/install.go:77 msgid "extracting archive: %s" msgstr "" @@ -3054,7 +3062,7 @@ msgstr "" msgid "failed to compute hash of file \"%s\"" msgstr "" -#: commands/service_board_list.go:90 +#: commands/service_board_identify.go:178 msgid "failed to initialize http client" msgstr "" @@ -3062,7 +3070,7 @@ msgstr "" msgid "fetched archive size differs from size specified in index" msgstr "" -#: internal/arduino/resources/install.go:123 +#: internal/arduino/resources/install.go:132 msgid "files in archive must be placed in a subdirectory" msgstr "" @@ -3092,7 +3100,7 @@ msgstr "" msgid "for the specific version." msgstr "" -#: internal/arduino/cores/fqbn.go:66 +#: pkg/fqbn/fqbn.go:68 msgid "fqbn's field %s contains an invalid character" msgstr "" @@ -3116,35 +3124,35 @@ msgstr "" #: internal/arduino/resources/checksums.go:89 #: internal/arduino/resources/download.go:36 #: internal/arduino/resources/helpers.go:39 -#: internal/arduino/resources/install.go:56 +#: internal/arduino/resources/install.go:65 msgid "getting archive path: %s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:354 +#: internal/arduino/cores/packagemanager/package_manager.go:322 msgid "getting build properties for board %[1]s: %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:106 +#: internal/arduino/cores/packagemanager/download.go:108 msgid "getting discovery dependencies for platform %[1]s: %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:114 +#: internal/arduino/cores/packagemanager/download.go:116 msgid "getting monitor dependencies for platform %[1]s: %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:99 +#: internal/arduino/cores/packagemanager/download.go:101 msgid "getting tool dependencies for platform %[1]s: %[2]s" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:149 +#: internal/arduino/libraries/librariesmanager/install.go:148 msgid "install directory not set" msgstr "" -#: commands/instances.go:59 +#: commands/instances.go:60 msgid "installing %[1]s tool: %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:211 +#: internal/arduino/cores/packagemanager/install_uninstall.go:213 msgid "installing platform %[1]s: %[2]s" msgstr "" @@ -3160,7 +3168,7 @@ msgstr "" msgid "invalid checksum format: %s" msgstr "" -#: internal/arduino/cores/fqbn.go:73 internal/arduino/cores/fqbn.go:78 +#: pkg/fqbn/fqbn.go:75 pkg/fqbn/fqbn.go:80 msgid "invalid config option: %s" msgstr "" @@ -3192,11 +3200,14 @@ msgstr "" msgid "invalid empty library version: %s" msgstr "" -#: internal/arduino/cores/board.go:143 +#: internal/arduino/cores/board.go:144 msgid "invalid empty option found" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:268 +#: internal/arduino/libraries/librariesmanager/install.go:276 +#: internal/arduino/libraries/librariesmanager/install.go:279 +#: internal/arduino/libraries/librariesmanager/install.go:286 +#: internal/arduino/libraries/librariesmanager/install.go:290 msgid "invalid git url" msgstr "" @@ -3224,7 +3235,7 @@ msgstr "" msgid "invalid library: no header files found" msgstr "" -#: internal/arduino/cores/board.go:146 +#: internal/arduino/cores/board.go:147 msgid "invalid option '%s'" msgstr "" @@ -3240,10 +3251,6 @@ msgstr "" msgid "invalid path writing inventory file: %[1]s error" msgstr "" -#: internal/arduino/cores/packageindex/index.go:278 -msgid "invalid platform archive size: %s" -msgstr "" - #: internal/arduino/sketch/profiles.go:252 msgid "invalid platform identifier" msgstr "" @@ -3264,7 +3271,7 @@ msgstr "" msgid "invalid port configuration: %s=%s" msgstr "" -#: commands/service_upload.go:724 +#: commands/service_upload.go:725 msgid "invalid recipe '%[1]s': %[2]s" msgstr "" @@ -3275,7 +3282,7 @@ msgid "" "cannot be \".\"." msgstr "" -#: internal/arduino/cores/board.go:150 +#: internal/arduino/cores/board.go:151 msgid "invalid value '%[1]s' for option '%[2]s'" msgstr "" @@ -3315,11 +3322,11 @@ msgstr "" msgid "libraries with a Name exactly matching \"pcf8523\"" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:126 +#: internal/arduino/libraries/librariesmanager/install.go:125 msgid "library %s already installed" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:315 +#: internal/arduino/libraries/librariesmanager/install.go:342 msgid "library not valid" msgstr "" @@ -3333,8 +3340,8 @@ msgstr "" msgid "loading boards: %s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:501 -#: internal/arduino/cores/packagemanager/package_manager.go:516 +#: internal/arduino/cores/packagemanager/package_manager.go:469 +#: internal/arduino/cores/packagemanager/package_manager.go:484 msgid "loading json index file %[1]s: %[2]s" msgstr "" @@ -3363,7 +3370,7 @@ msgstr "" msgid "loading required tool %s" msgstr "" -#: internal/arduino/cores/packagemanager/loader.go:590 +#: internal/arduino/cores/packagemanager/loader.go:587 msgid "loading tool release in %s" msgstr "" @@ -3371,7 +3378,7 @@ msgstr "" msgid "looking for boards.txt in %s" msgstr "" -#: commands/service_upload.go:806 +#: commands/service_upload.go:807 msgid "looking for build artifacts" msgstr "" @@ -3387,7 +3394,7 @@ msgstr "" msgid "missing checksum for: %s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:462 +#: internal/arduino/cores/packagemanager/package_manager.go:430 msgid "missing package %[1]s referenced by board %[2]s" msgstr "" @@ -3395,11 +3402,11 @@ msgstr "" msgid "missing package index for %s, future updates cannot be guaranteed" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:467 +#: internal/arduino/cores/packagemanager/package_manager.go:435 msgid "missing platform %[1]s:%[2]s referenced by board %[3]s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:472 +#: internal/arduino/cores/packagemanager/package_manager.go:440 msgid "missing platform release %[1]s:%[2]s referenced by board %[3]s" msgstr "" @@ -3407,17 +3414,17 @@ msgstr "" msgid "missing signature" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:757 +#: internal/arduino/cores/packagemanager/package_manager.go:725 msgid "monitor release not found: %s" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:197 -#: internal/arduino/libraries/librariesmanager/install.go:246 -#: internal/arduino/resources/install.go:97 +#: internal/arduino/libraries/librariesmanager/install.go:196 +#: internal/arduino/libraries/librariesmanager/install.go:247 +#: internal/arduino/resources/install.go:106 msgid "moving extracted archive to destination dir: %s" msgstr "" -#: commands/service_upload.go:858 +#: commands/service_upload.go:859 msgid "multiple build artifacts found: '%[1]s' and '%[2]s'" msgstr "" @@ -3425,17 +3432,17 @@ msgstr "" msgid "multiple main sketch files found (%[1]v, %[2]v)" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:338 +#: internal/arduino/cores/packagemanager/install_uninstall.go:340 msgid "" "no compatible version of %[1]s tools found for the current os, try " "contacting %[2]s" msgstr "" -#: commands/service_board_list.go:273 +#: commands/service_board_list.go:106 msgid "no instance specified" msgstr "" -#: commands/service_upload.go:813 +#: commands/service_upload.go:814 msgid "no sketch or build directory/file specified" msgstr "" @@ -3443,11 +3450,11 @@ msgstr "" msgid "no such file or directory" msgstr "" -#: internal/arduino/resources/install.go:126 +#: internal/arduino/resources/install.go:135 msgid "no unique root dir in archive, found '%[1]s' and '%[2]s'" msgstr "" -#: commands/service_upload.go:719 +#: commands/service_upload.go:720 msgid "no upload port provided" msgstr "" @@ -3455,11 +3462,11 @@ msgstr "" msgid "no valid sketch found in %[1]s: missing %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:128 +#: internal/arduino/cores/packagemanager/download.go:130 msgid "no versions available for the current OS, try contacting %s" msgstr "" -#: internal/arduino/cores/fqbn.go:50 +#: pkg/fqbn/fqbn.go:53 msgid "not an FQBN: %s" msgstr "" @@ -3468,7 +3475,7 @@ msgid "not running in a terminal" msgstr "" #: internal/arduino/resources/checksums.go:71 -#: internal/arduino/resources/install.go:60 +#: internal/arduino/resources/install.go:69 msgid "opening archive file: %s" msgstr "" @@ -3476,26 +3483,26 @@ msgstr "" msgid "opening boards.txt" msgstr "" -#: internal/arduino/security/signatures.go:81 +#: internal/arduino/security/signatures.go:82 msgid "opening signature file: %s" msgstr "" -#: internal/arduino/security/signatures.go:76 +#: internal/arduino/security/signatures.go:78 msgid "opening target file: %s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:76 +#: internal/arduino/cores/packagemanager/download.go:78 #: internal/arduino/cores/status.go:97 internal/arduino/cores/status.go:122 #: internal/arduino/cores/status.go:149 msgid "package %s not found" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:530 +#: internal/arduino/cores/packagemanager/package_manager.go:498 msgid "package '%s' not found" msgstr "" -#: internal/arduino/cores/board.go:166 -#: internal/arduino/cores/packagemanager/package_manager.go:295 +#: internal/arduino/cores/board.go:167 +#: internal/arduino/cores/packagemanager/package_manager.go:263 msgid "parsing fqbn: %s" msgstr "" @@ -3507,26 +3514,26 @@ msgstr "" msgid "path is not a platform directory: %s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:80 +#: internal/arduino/cores/packagemanager/download.go:82 msgid "platform %[1]s not found in package %[2]s" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:341 +#: internal/arduino/cores/packagemanager/package_manager.go:309 msgid "platform %s is not installed" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:92 +#: commands/cmderrors/cmderrors.go:427 msgid "platform is not available for your OS" msgstr "" -#: commands/service_compile.go:126 -#: internal/arduino/cores/packagemanager/install_uninstall.go:179 -#: internal/arduino/cores/packagemanager/install_uninstall.go:283 -#: internal/arduino/cores/packagemanager/loader.go:420 +#: commands/service_compile.go:129 +#: internal/arduino/cores/packagemanager/install_uninstall.go:181 +#: internal/arduino/cores/packagemanager/install_uninstall.go:285 +#: internal/arduino/cores/packagemanager/loader.go:417 msgid "platform not installed" msgstr "" -#: internal/cli/compile/compile.go:139 +#: internal/cli/compile/compile.go:142 msgid "please use --build-property instead." msgstr "" @@ -3561,15 +3568,15 @@ msgstr "" #: internal/arduino/cores/packagemanager/loader.go:69 #: internal/arduino/cores/packagemanager/loader.go:151 #: internal/arduino/cores/packagemanager/loader.go:218 -#: internal/arduino/cores/packagemanager/loader.go:582 +#: internal/arduino/cores/packagemanager/loader.go:579 msgid "reading directory %s" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:288 +#: internal/arduino/libraries/librariesmanager/install.go:315 msgid "reading directory %s content" msgstr "" -#: internal/arduino/builder/sketch.go:81 +#: internal/arduino/builder/sketch.go:83 msgid "reading file %[1]s: %[2]s" msgstr "" @@ -3593,7 +3600,7 @@ msgstr "" msgid "reading library_index.json: %s" msgstr "" -#: internal/arduino/resources/install.go:116 +#: internal/arduino/resources/install.go:125 msgid "reading package root dir: %s" msgstr "" @@ -3601,11 +3608,11 @@ msgstr "" msgid "reading sketch files" msgstr "" -#: commands/service_upload.go:713 +#: commands/service_upload.go:714 msgid "recipe not found '%s'" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:606 +#: internal/arduino/cores/packagemanager/package_manager.go:574 msgid "release %[1]s not found for tool %[2]s" msgstr "" @@ -3618,19 +3625,19 @@ msgstr "" msgid "removing corrupted archive file: %s" msgstr "" -#: internal/arduino/libraries/librariesmanager/install.go:152 +#: internal/arduino/libraries/librariesmanager/install.go:151 msgid "removing library directory: %s" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:310 +#: internal/arduino/cores/packagemanager/install_uninstall.go:312 msgid "removing platform files: %s" msgstr "" -#: internal/arduino/cores/packagemanager/download.go:87 +#: internal/arduino/cores/packagemanager/download.go:89 msgid "required version %[1]s not found for platform %[2]s" msgstr "" -#: internal/arduino/security/signatures.go:72 +#: internal/arduino/security/signatures.go:74 msgid "retrieving Arduino public keys: %s" msgstr "" @@ -3639,10 +3646,14 @@ msgstr "" msgid "scanning sketch examples" msgstr "" -#: internal/arduino/resources/install.go:74 +#: internal/arduino/resources/install.go:83 msgid "searching package root dir: %s" msgstr "" +#: internal/arduino/security/signatures.go:87 +msgid "signature expired: is your system clock set correctly?" +msgstr "" + #: commands/service_sketch_new.go:78 msgid "sketch name cannot be empty" msgstr "" @@ -3680,11 +3691,11 @@ msgstr "" msgid "testing if archive is cached: %s" msgstr "" -#: internal/arduino/resources/install.go:38 +#: internal/arduino/resources/install.go:46 msgid "testing local archive integrity: %s" msgstr "" -#: internal/arduino/builder/sizer.go:191 +#: internal/arduino/builder/sizer.go:194 msgid "text section exceeds available space in board" msgstr "" @@ -3693,7 +3704,7 @@ msgstr "" msgid "the compilation database may be incomplete or inaccurate" msgstr "" -#: commands/service_board_list.go:102 +#: commands/service_board_identify.go:190 msgid "the server responded with status %s" msgstr "" @@ -3701,7 +3712,7 @@ msgstr "" msgid "timeout waiting for message" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:404 +#: internal/arduino/cores/packagemanager/install_uninstall.go:406 msgid "tool %s is not managed by package manager" msgstr "" @@ -3710,16 +3721,16 @@ msgstr "" msgid "tool %s not found" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:556 +#: internal/arduino/cores/packagemanager/package_manager.go:524 msgid "tool '%[1]s' not found in package '%[2]s'" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:399 +#: internal/arduino/cores/packagemanager/install_uninstall.go:401 msgid "tool not installed" msgstr "" -#: internal/arduino/cores/packagemanager/package_manager.go:735 -#: internal/arduino/cores/packagemanager/package_manager.go:841 +#: internal/arduino/cores/packagemanager/package_manager.go:703 +#: internal/arduino/cores/packagemanager/package_manager.go:809 msgid "tool release not found: %s" msgstr "" @@ -3727,24 +3738,24 @@ msgstr "" msgid "tool version %s not found" msgstr "" -#: commands/service_library_install.go:92 +#: commands/service_library_install.go:93 msgid "" "two different versions of the library %[1]s are required: %[2]s and %[3]s" msgstr "" "%[1]s‎existem duas versões diferentes da biblioteca‎%[2]s‎são " "necessárias:‎%[3]se" -#: internal/arduino/builder/sketch.go:74 -#: internal/arduino/builder/sketch.go:118 +#: internal/arduino/builder/sketch.go:76 +#: internal/arduino/builder/sketch.go:120 msgid "unable to compute relative path to the sketch for the item" msgstr "" "não é possível encontrar o caminho relativo para o esboço para o item‎" -#: internal/arduino/builder/sketch.go:43 +#: internal/arduino/builder/sketch.go:45 msgid "unable to create a folder to save the sketch" msgstr "‎não é possível criar uma pasta para salvar o sketch" -#: internal/arduino/builder/sketch.go:124 +#: internal/arduino/builder/sketch.go:126 msgid "unable to create the folder containing the item" msgstr "‎não é possível criar a pasta contendo o item‎" @@ -3752,23 +3763,23 @@ msgstr "‎não é possível criar a pasta contendo o item‎" msgid "unable to marshal config to YAML: %v" msgstr "" -#: internal/arduino/builder/sketch.go:162 +#: internal/arduino/builder/sketch.go:164 msgid "unable to read contents of the destination item" msgstr "‎não é possível de ler o conteúdo do item de destino‎" -#: internal/arduino/builder/sketch.go:135 +#: internal/arduino/builder/sketch.go:137 msgid "unable to read contents of the source item" msgstr "‎não é possível ler o conteúdo do item de origem‎" -#: internal/arduino/builder/sketch.go:145 +#: internal/arduino/builder/sketch.go:147 msgid "unable to write to destination file" msgstr "‎incapaz de escrever para o arquivo de destino‎" -#: internal/arduino/cores/packagemanager/package_manager.go:329 +#: internal/arduino/cores/packagemanager/package_manager.go:297 msgid "unknown package %s" msgstr "%spacote desconhecido" -#: internal/arduino/cores/packagemanager/package_manager.go:336 +#: internal/arduino/cores/packagemanager/package_manager.go:304 msgid "unknown platform %s:%s" msgstr "%splataforma desconhecida%s:" @@ -3788,7 +3799,7 @@ msgstr "‎atualizar arduino: samd para a versão mais recente‎" msgid "upgrade everything to the latest version" msgstr "‎atualizar tudo para a versão mais recente‎" -#: commands/service_upload.go:759 +#: commands/service_upload.go:760 msgid "uploading error: %s" msgstr "%serro ao carregar" @@ -3812,6 +3823,6 @@ msgstr "%sversão ‎não disponível para este sistema operacional‎" msgid "version %s not found" msgstr "%s versão não encontrada" -#: commands/service_board_list.go:120 +#: commands/service_board_identify.go:208 msgid "wrong format in server response" msgstr "‎formato errado na resposta do servidor‎" diff --git a/internal/i18n/data/pt_BR.po b/internal/locales/data/pt_BR.po similarity index 100% rename from internal/i18n/data/pt_BR.po rename to internal/locales/data/pt_BR.po diff --git a/internal/i18n/data/ru.po b/internal/locales/data/ru.po similarity index 91% rename from internal/i18n/data/ru.po rename to internal/locales/data/ru.po index 798e892ba8d..73de0cff77e 100644 --- a/internal/i18n/data/ru.po +++ b/internal/locales/data/ru.po @@ -3,19 +3,19 @@ # Дмитрий Кат, 2022 # CLI team , 2022 # Bakdaulet Kadyr , 2022 -# Asdfgr Wertyu, 2024 # lidacity , 2024 # Александр Минкин , 2024 # ildar , 2024 +# Asdfgr Wertyu, 2025 # msgid "" msgstr "" -"Last-Translator: ildar , 2024\n" +"Last-Translator: Asdfgr Wertyu, 2025\n" "Language-Team: Russian (https://app.transifex.com/arduino-1/teams/108174/ru/)\n" "Language: ru\n" "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" -#: version/version.go:56 +#: internal/version/version.go:56 msgid "%[1]s %[2]s Version: %[3]s Commit: %[4]s Date: %[5]s" msgstr "%[1]s%[2]s Версия: %[3]s Коммит: %[4]s Дата: %[5]s" @@ -27,11 +27,11 @@ msgstr "Каталог %[1]s более не поддерживается! Бо msgid "%[1]s invalid, rebuilding all" msgstr "%[1]s недействителен, пересборка всего" -#: internal/cli/lib/check_deps.go:124 +#: internal/cli/lib/check_deps.go:125 msgid "%[1]s is required but %[2]s is currently installed." msgstr "Требуется %[1]s, но в данный момент устанавливается %[2]s" -#: internal/arduino/builder/builder.go:486 +#: internal/arduino/builder/builder.go:487 msgid "%[1]s pattern is missing" msgstr "%[1]s не найден шаблон" @@ -39,24 +39,24 @@ msgstr "%[1]s не найден шаблон" msgid "%s already downloaded" msgstr "%s уже скачана" -#: commands/service_upload.go:781 +#: commands/service_upload.go:782 msgid "%s and %s cannot be used together" msgstr "%s не может быть использована вместе с %s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:371 +#: internal/arduino/cores/packagemanager/install_uninstall.go:373 msgid "%s installed" msgstr "%s установлен" -#: internal/cli/lib/check_deps.go:121 +#: internal/cli/lib/check_deps.go:122 msgid "%s is already installed." msgstr "%s уже установлено." #: internal/arduino/cores/packagemanager/loader.go:63 -#: internal/arduino/cores/packagemanager/loader.go:617 +#: internal/arduino/cores/packagemanager/loader.go:614 msgid "%s is not a directory" msgstr "%s не является директорией" -#: internal/arduino/cores/packagemanager/install_uninstall.go:290 +#: internal/arduino/cores/packagemanager/install_uninstall.go:292 msgid "%s is not managed by package manager" msgstr "%s не управляется менеджером пакетов" @@ -64,20 +64,20 @@ msgstr "%s не управляется менеджером пакетов" msgid "%s must be >= 1024" msgstr "%s должно быть >= 1024" -#: internal/cli/lib/check_deps.go:118 +#: internal/cli/lib/check_deps.go:119 msgid "%s must be installed." msgstr "%s должен быть установлен." -#: internal/arduino/builder/internal/preprocessor/ctags.go:192 -#: internal/arduino/builder/internal/preprocessor/gcc.go:62 +#: internal/arduino/builder/internal/preprocessor/ctags.go:193 +#: internal/arduino/builder/internal/preprocessor/gcc.go:63 msgid "%s pattern is missing" msgstr "не найден шаблон %s" -#: commands/cmderrors/cmderrors.go:818 +#: commands/cmderrors/cmderrors.go:839 msgid "'%s' has an invalid signature" msgstr "'%s' имеет неправильную сигнатуру " -#: internal/arduino/cores/packagemanager/package_manager.go:448 +#: internal/arduino/cores/packagemanager/package_manager.go:416 msgid "" "'build.core' and 'build.variant' refer to different platforms: %[1]s and " "%[2]s" @@ -88,7 +88,7 @@ msgstr "" msgid "(hidden)" msgstr "(скрытый)" -#: internal/arduino/builder/libraries.go:302 +#: internal/arduino/builder/libraries.go:303 msgid "(legacy)" msgstr "(устаревшее)" @@ -121,7 +121,7 @@ msgstr "файл .ino уже существует" msgid "A new release of Arduino CLI is available:" msgstr "Доступен новый релиз Arduino CLI:" -#: commands/cmderrors/cmderrors.go:299 +#: commands/cmderrors/cmderrors.go:300 msgid "A programmer is required to upload" msgstr "Требуется программатор для загрузки" @@ -154,7 +154,7 @@ msgstr "Все платформы актуальны." msgid "All the cores are already at the latest version" msgstr "Все ядра уже на последней версии" -#: commands/service_library_install.go:135 +#: commands/service_library_install.go:136 msgid "Already installed %s" msgstr "Уже установленно %s" @@ -182,7 +182,7 @@ msgstr "Архитектура: %s" msgid "Archive already exists" msgstr "Архив уже существует" -#: internal/arduino/builder/core.go:163 +#: internal/arduino/builder/core.go:164 msgid "Archiving built core (caching) in: %[1]s" msgstr "Архивирование откомпилированного ядра (кэширование) в: %[1]s" @@ -230,7 +230,7 @@ msgstr "Прикрепляет скетч к плате." msgid "Author: %s" msgstr "Автор: %s" -#: internal/arduino/libraries/librariesmanager/install.go:79 +#: internal/arduino/libraries/librariesmanager/install.go:78 msgid "" "Automatic library install can't be performed in this case, please manually " "remove all duplicates and retry." @@ -271,11 +271,11 @@ msgstr "Наименование платы:" msgid "Board version:" msgstr "Версия платы:" -#: internal/arduino/builder/sketch.go:243 +#: internal/arduino/builder/sketch.go:245 msgid "Bootloader file specified but missing: %[1]s" msgstr "Файл загрузчика указан но не существует: %[1]s" -#: internal/cli/compile/compile.go:101 +#: internal/cli/compile/compile.go:104 msgid "" "Builds of cores and sketches are saved into this path to be cached and " "reused." @@ -287,25 +287,25 @@ msgstr "" msgid "Can't create data directory %s" msgstr "Не удается создать каталог данных %s" -#: commands/cmderrors/cmderrors.go:511 +#: commands/cmderrors/cmderrors.go:532 msgid "Can't create sketch" msgstr "Не удается создать скетч" -#: commands/service_library_download.go:91 -#: commands/service_library_download.go:94 +#: commands/service_library_download.go:95 +#: commands/service_library_download.go:98 msgid "Can't download library" msgstr "Не удается скачать библиотеку" #: commands/service_platform_uninstall.go:89 -#: internal/arduino/cores/packagemanager/install_uninstall.go:136 +#: internal/arduino/cores/packagemanager/install_uninstall.go:138 msgid "Can't find dependencies for platform %s" msgstr "Не удается найти зависимости для платформы %s" -#: commands/cmderrors/cmderrors.go:537 +#: commands/cmderrors/cmderrors.go:558 msgid "Can't open sketch" msgstr "Не удается открыть скетч" -#: commands/cmderrors/cmderrors.go:524 +#: commands/cmderrors/cmderrors.go:545 msgid "Can't update sketch" msgstr "Не удается обновить скетч" @@ -317,11 +317,11 @@ msgstr "Невозможно использовать следующие фла msgid "Can't write debug log: %s" msgstr "Не удается записать журнал отладки: %s" -#: commands/service_compile.go:187 commands/service_compile.go:190 +#: commands/service_compile.go:190 commands/service_compile.go:193 msgid "Cannot create build cache directory" msgstr "Не удается создать каталог кэша сборки" -#: commands/service_compile.go:212 +#: commands/service_compile.go:215 msgid "Cannot create build directory" msgstr "Не удается создать каталог для сборки" @@ -333,11 +333,11 @@ msgstr "Не удается создать каталог конфигураци msgid "Cannot create config file: %v" msgstr "Не удается создать конфигурационный файл: %v" -#: commands/cmderrors/cmderrors.go:781 +#: commands/cmderrors/cmderrors.go:802 msgid "Cannot create temp dir" msgstr "Не удается создать временный каталог" -#: commands/cmderrors/cmderrors.go:799 +#: commands/cmderrors/cmderrors.go:820 msgid "Cannot create temp file" msgstr "Не удается создать временный файл" @@ -359,15 +359,15 @@ msgstr "Не удается найти абсолютный путь: %v" msgid "Cannot get the configuration key %[1]s: %[2]v" msgstr "Не удается получить конфигурационный ключ %[1]s: %[2]v" -#: internal/arduino/cores/packagemanager/install_uninstall.go:143 +#: internal/arduino/cores/packagemanager/install_uninstall.go:145 msgid "Cannot install platform" msgstr "Не удается установить платформу" -#: internal/arduino/cores/packagemanager/install_uninstall.go:349 +#: internal/arduino/cores/packagemanager/install_uninstall.go:351 msgid "Cannot install tool %s" msgstr "Не удается установить инструмент %s" -#: commands/service_upload.go:543 +#: commands/service_upload.go:544 msgid "Cannot perform port reset: %s" msgstr "Не удается выполнить сброс порта: %s" @@ -376,7 +376,7 @@ msgstr "Не удается выполнить сброс порта: %s" msgid "Cannot remove the configuration key %[1]s: %[2]v" msgstr "Не удается удалить конфигурационный ключ %[1]s: %[2]v" -#: internal/arduino/cores/packagemanager/install_uninstall.go:161 +#: internal/arduino/cores/packagemanager/install_uninstall.go:163 msgid "Cannot upgrade platform" msgstr "Не удается обновить платформу" @@ -419,27 +419,31 @@ msgstr "" "Команда продолжает выполняться и печатает список подключенных плат всякий " "раз, когда происходят изменения." -#: commands/service_debug_config.go:178 commands/service_upload.go:451 +#: commands/service_debug_config.go:178 commands/service_upload.go:452 msgid "Compiled sketch not found in %s" msgstr "Скомпилированный эскиз не найден в %s" +#: internal/arduino/builder/internal/preprocessor/gcc.go:93 +msgid "Compiler error output has been truncated." +msgstr "" + #: internal/cli/compile/compile.go:80 internal/cli/compile/compile.go:81 msgid "Compiles Arduino sketches." msgstr "Компилирует скетчи Arduino." -#: internal/arduino/builder/builder.go:420 +#: internal/arduino/builder/builder.go:421 msgid "Compiling core..." msgstr "Компиляция ядра..." -#: internal/arduino/builder/builder.go:399 +#: internal/arduino/builder/builder.go:400 msgid "Compiling libraries..." msgstr "Компиляция библиотек..." -#: internal/arduino/builder/libraries.go:133 +#: internal/arduino/builder/libraries.go:134 msgid "Compiling library \"%[1]s\"" msgstr "Компиляция библиотеки \"%[1]s\"" -#: internal/arduino/builder/builder.go:383 +#: internal/arduino/builder/builder.go:384 msgid "Compiling sketch..." msgstr "Компиляция скетча..." @@ -466,11 +470,11 @@ msgstr "" "Настройте параметры коммуникационного порта. Формат " "=[,=]..." -#: internal/arduino/cores/packagemanager/install_uninstall.go:177 +#: internal/arduino/cores/packagemanager/install_uninstall.go:179 msgid "Configuring platform." msgstr "Настройка платформы." -#: internal/arduino/cores/packagemanager/install_uninstall.go:359 +#: internal/arduino/cores/packagemanager/install_uninstall.go:361 msgid "Configuring tool." msgstr "Настройка инструмента." @@ -486,19 +490,19 @@ msgstr "Подключение к %s. Нажмите CTRL-C для выхода. msgid "Core" msgstr "Ядро" -#: internal/cli/configuration/network.go:103 +#: internal/cli/configuration/network.go:127 msgid "Could not connect via HTTP" msgstr "Не удалось подключиться по HTTP" -#: commands/instances.go:486 +#: commands/instances.go:487 msgid "Could not create index directory" msgstr "Не удалось создать индексный каталог" -#: internal/arduino/builder/core.go:41 +#: internal/arduino/builder/core.go:42 msgid "Couldn't deeply cache core build: %[1]s" msgstr "Не удалось глубоко кэшировать сборку ядра: %[1]s" -#: internal/arduino/builder/sizer.go:154 +#: internal/arduino/builder/sizer.go:155 msgid "Couldn't determine program size" msgstr "Не удалось определить размер программы" @@ -510,7 +514,7 @@ msgstr "Не удалось получить текущий рабочий ка msgid "Create a new Sketch" msgstr "Создать новый скетч" -#: internal/cli/compile/compile.go:98 +#: internal/cli/compile/compile.go:101 msgid "Create and print a profile configuration from the build." msgstr "Создать и распечатать конфигурацию профиля из сборки." @@ -526,7 +530,7 @@ msgstr "" "Создает или обновляет файл конфигурации в каталоге данных или " "пользовательском каталоге с текущими настройками конфигурации." -#: internal/cli/compile/compile.go:331 +#: internal/cli/compile/compile.go:340 msgid "" "Currently, Build Profiles only support libraries available through Arduino " "Library Manager." @@ -605,7 +609,7 @@ msgstr "Зависимости: %s" msgid "Description" msgstr "Описание" -#: internal/arduino/builder/builder.go:313 +#: internal/arduino/builder/builder.go:314 msgid "Detecting libraries used..." msgstr "Обнаружение используемых библиотек..." @@ -670,7 +674,7 @@ msgid "Do not try to update library dependencies if already installed." msgstr "" "Не пробовать обновить зависимости библиотеки, если они уже установлены." -#: commands/service_library_download.go:88 +#: commands/service_library_download.go:92 msgid "Downloading %s" msgstr "Скачивание %s" @@ -678,21 +682,21 @@ msgstr "Скачивание %s" msgid "Downloading index signature: %s" msgstr "Скачивание индексной сигнатуры: %s" -#: commands/instances.go:563 commands/instances.go:581 -#: commands/instances.go:595 commands/instances.go:612 +#: commands/instances.go:564 commands/instances.go:582 +#: commands/instances.go:596 commands/instances.go:613 #: internal/arduino/resources/index.go:82 msgid "Downloading index: %s" msgstr "Скачивание индекса: %s" -#: commands/instances.go:371 +#: commands/instances.go:372 msgid "Downloading library %s" msgstr "Скачивание библиотеки %s" -#: commands/instances.go:53 +#: commands/instances.go:54 msgid "Downloading missing tool %s" msgstr "Скачивание пропущенных инструментов %s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:96 +#: internal/arduino/cores/packagemanager/install_uninstall.go:98 msgid "Downloading packages" msgstr "Скачивание пакетов" @@ -730,7 +734,7 @@ msgstr "Введите git url для библиотек, размещенных msgid "Error adding file to sketch archive" msgstr "Ошибка при добавлении файла в архив скетчей" -#: internal/arduino/builder/core.go:169 +#: internal/arduino/builder/core.go:170 msgid "Error archiving built core (caching) in %[1]s: %[2]s" msgstr "Ошибка архивирования встроенного ядра (кэширования) в %[1]s: %[2]s" @@ -746,11 +750,11 @@ msgstr "Ошибка вычисления относительного пути msgid "Error cleaning caches: %v" msgstr "Ошибка при очистке кэшей: %v" -#: internal/cli/compile/compile.go:220 +#: internal/cli/compile/compile.go:225 msgid "Error converting path to absolute: %v" msgstr "Ошибка преобразования пути в абсолютный: %v" -#: commands/service_compile.go:405 +#: commands/service_compile.go:420 msgid "Error copying output file %s" msgstr "Ошибка при копировании выходного файла %s" @@ -764,7 +768,7 @@ msgstr "Ошибка при создании конфигурации: %v" msgid "Error creating instance: %v" msgstr "Ошибка при создании экземпляра: %v" -#: commands/service_compile.go:389 +#: commands/service_compile.go:403 msgid "Error creating output dir" msgstr "Ошибка создания каталога вывода" @@ -789,7 +793,7 @@ msgstr "Ошибка скачивания %[1]s: %[2]v" msgid "Error downloading %s" msgstr "Ошибка скачивания %s" -#: commands/instances.go:660 internal/arduino/resources/index.go:83 +#: commands/instances.go:661 internal/arduino/resources/index.go:83 msgid "Error downloading index '%s'" msgstr "Ошибка скачивания индекса '%s'" @@ -797,7 +801,7 @@ msgstr "Ошибка скачивания индекса '%s'" msgid "Error downloading index signature '%s'" msgstr "Ошибка скачивания индексной сигнатуры '%s'" -#: commands/instances.go:381 commands/instances.go:387 +#: commands/instances.go:382 commands/instances.go:388 msgid "Error downloading library %s" msgstr "Ошибка скачивания библиотеки %s" @@ -806,7 +810,7 @@ msgstr "Ошибка скачивания библиотеки %s" msgid "Error downloading platform %s" msgstr "Ошибка скачивания платформы %s" -#: internal/arduino/cores/packagemanager/download.go:127 +#: internal/arduino/cores/packagemanager/download.go:129 #: internal/arduino/cores/packagemanager/profiles.go:179 msgid "Error downloading tool %s" msgstr "Ошибка скачивания инструмента %s" @@ -821,7 +825,7 @@ msgstr "Ошибка при кодировании выходных данных #: internal/cli/burnbootloader/burnbootloader.go:78 #: internal/cli/burnbootloader/burnbootloader.go:100 -#: internal/cli/compile/compile.go:264 internal/cli/compile/compile.go:306 +#: internal/cli/compile/compile.go:269 internal/cli/compile/compile.go:311 #: internal/cli/upload/upload.go:99 internal/cli/upload/upload.go:128 msgid "Error during Upload: %v" msgstr "Ошибка во время загрузки: %v" @@ -830,7 +834,7 @@ msgstr "Ошибка во время загрузки: %v" msgid "Error during board detection" msgstr "Ошибка при обнаружении платы" -#: internal/cli/compile/compile.go:379 +#: internal/cli/compile/compile.go:394 msgid "Error during build: %v" msgstr "Ошибка во время сборки: %v" @@ -851,7 +855,7 @@ msgstr "Ошибка во время обновления: %v" msgid "Error extracting %s" msgstr "Ошибка извлечения %s" -#: commands/service_upload.go:448 +#: commands/service_upload.go:449 msgid "Error finding build artifacts" msgstr "Ошибка при поиске артефактов сборки" @@ -879,7 +883,7 @@ msgstr "" "Ошибка при получении порта по умолчанию из `sketch.yaml`. Проверьте, " "правильно ли вы указали папку sketch, или укажите флаг --port: %s" -#: commands/service_compile.go:328 commands/service_library_list.go:115 +#: commands/service_compile.go:338 commands/service_library_list.go:115 msgid "Error getting information for library %s" msgstr "Ошибка при получении информации для библиотеки %s" @@ -915,7 +919,7 @@ msgstr "Ошибка при установке библиотеки Git: %v" msgid "Error installing Zip Library: %v" msgstr "Ошибка при установке Zip-библиотеки: %v" -#: commands/instances.go:397 +#: commands/instances.go:398 msgid "Error installing library %s" msgstr "Ошибка при установке библиотеки %s" @@ -942,7 +946,7 @@ msgstr "Ошибка при перечислении библиотек: %v" msgid "Error listing platforms: %v" msgstr "Ошибка при перечислении платформ: %v" -#: commands/cmderrors/cmderrors.go:424 +#: commands/cmderrors/cmderrors.go:445 msgid "Error loading hardware platform" msgstr "Ошибка загрузки аппаратной платформы" @@ -959,15 +963,15 @@ msgstr "Ошибка при открытии %s" msgid "Error opening debug logging file: %s" msgstr "Ошибка при открытии файла журнала отладки: %s" -#: internal/cli/compile/compile.go:193 +#: internal/cli/compile/compile.go:196 msgid "Error opening source code overrides data file: %v" msgstr "Ошибка при открытии исходного кода переопределяет файл данных: %v" -#: internal/cli/compile/compile.go:206 +#: internal/cli/compile/compile.go:209 msgid "Error parsing --show-properties flag: %v" msgstr "Ошибка разбора флага --show-properties: %v" -#: commands/service_compile.go:398 +#: commands/service_compile.go:412 msgid "Error reading build directory" msgstr "Ошибка при чтении каталога сборки" @@ -983,7 +987,7 @@ msgstr "Ошибка устранение зависимостей для %[1]s: msgid "Error retrieving core list: %v" msgstr "Ошибка при извлечении списка ядер: %v" -#: internal/arduino/cores/packagemanager/install_uninstall.go:158 +#: internal/arduino/cores/packagemanager/install_uninstall.go:160 msgid "Error rolling-back changes: %s" msgstr "Ошибка при откате изменений: %s" @@ -1037,7 +1041,7 @@ msgstr "Ошибка при обновлении библиотечного ин msgid "Error upgrading libraries" msgstr "Ошибка при обновлении библиотек" -#: internal/arduino/cores/packagemanager/install_uninstall.go:153 +#: internal/arduino/cores/packagemanager/install_uninstall.go:155 msgid "Error upgrading platform: %s" msgstr "Ошибка при обновлении платформы: %s" @@ -1050,10 +1054,10 @@ msgstr "Ошибка проверки сигнатуры" msgid "Error while detecting libraries included by %[1]s" msgstr "Ошибка при обнаружении библиотек, включенных %[1]s" -#: internal/arduino/builder/sizer.go:79 internal/arduino/builder/sizer.go:88 -#: internal/arduino/builder/sizer.go:91 internal/arduino/builder/sizer.go:110 -#: internal/arduino/builder/sizer.go:215 internal/arduino/builder/sizer.go:225 -#: internal/arduino/builder/sizer.go:229 +#: internal/arduino/builder/sizer.go:80 internal/arduino/builder/sizer.go:89 +#: internal/arduino/builder/sizer.go:92 internal/arduino/builder/sizer.go:111 +#: internal/arduino/builder/sizer.go:218 internal/arduino/builder/sizer.go:228 +#: internal/arduino/builder/sizer.go:232 msgid "Error while determining sketch size: %s" msgstr "Ошибка при определении размера скетча: %s" @@ -1069,7 +1073,7 @@ msgstr "Ошибка записи в файл: %v" msgid "Error: command description is not supported by %v" msgstr "Ошибка: описание команды не поддерживается %v" -#: internal/cli/compile/compile.go:199 +#: internal/cli/compile/compile.go:202 msgid "Error: invalid source code overrides data file: %v" msgstr "Ошибка: неверный исходный код переопределяет файл данных: %v" @@ -1089,7 +1093,7 @@ msgstr "Примеры:" msgid "Executable to debug" msgstr "Исполняемый файл для отладки" -#: commands/service_debug_config.go:181 commands/service_upload.go:454 +#: commands/service_debug_config.go:181 commands/service_upload.go:455 msgid "Expected compiled sketch in directory %s, but is a file instead" msgstr "" "Ожидаемый скомпилированный скетч находится в каталоге %s, но вместо этого он" @@ -1105,23 +1109,23 @@ msgstr "FQBN" msgid "FQBN:" msgstr "FQBN:" -#: commands/service_upload.go:577 +#: commands/service_upload.go:578 msgid "Failed chip erase" msgstr "Не удалось стереть чип" -#: commands/service_upload.go:584 +#: commands/service_upload.go:585 msgid "Failed programming" msgstr "Не удалось программирование" -#: commands/service_upload.go:580 +#: commands/service_upload.go:581 msgid "Failed to burn bootloader" msgstr "Не удалось записать загрузчик" -#: commands/instances.go:87 +#: commands/instances.go:88 msgid "Failed to create data directory" msgstr "Не удалось создать каталог данных" -#: commands/instances.go:76 +#: commands/instances.go:77 msgid "Failed to create downloads directory" msgstr "Не удалось создать каталог загрузок" @@ -1141,7 +1145,7 @@ msgstr "Не удалось прослушать TCP-порт: %[1]s. Непре msgid "Failed to listen on TCP port: %s. Address already in use." msgstr "Не удалось прослушать TCP-порт: %s. Адрес, который уже используется." -#: commands/service_upload.go:588 +#: commands/service_upload.go:589 msgid "Failed uploading" msgstr "Не удалась загрузка" @@ -1149,7 +1153,7 @@ msgstr "Не удалась загрузка" msgid "File:" msgstr "Файл:" -#: commands/service_compile.go:160 +#: commands/service_compile.go:163 msgid "" "Firmware encryption/signing requires all the following properties to be " "defined: %s" @@ -1198,7 +1202,7 @@ msgstr "" "Принудительный пропуск сценариев предварительной деинсталляции (если CLI " "запущен в интерактивном режиме)." -#: commands/cmderrors/cmderrors.go:839 +#: commands/cmderrors/cmderrors.go:860 msgid "Found %d platforms matching \"%s\": %s" msgstr "Найдены платформы %d, соответствующие \"%s\": %s" @@ -1226,7 +1230,7 @@ msgstr "Генерирует скрипты автодополнений" msgid "Generates completion scripts for various shells" msgstr "Генерирует скрипты автодополнений для различных оболочек" -#: internal/arduino/builder/builder.go:333 +#: internal/arduino/builder/builder.go:334 msgid "Generating function prototypes..." msgstr "Создание прототипов функций..." @@ -1238,7 +1242,7 @@ msgstr "Получает значение ключа настроек." msgid "Global Flags:" msgstr "Глобальные флаги:" -#: internal/arduino/builder/sizer.go:164 +#: internal/arduino/builder/sizer.go:166 msgid "" "Global variables use %[1]s bytes (%[3]s%%) of dynamic memory, leaving %[4]s " "bytes for local variables. Maximum is %[2]s bytes." @@ -1246,7 +1250,7 @@ msgstr "" "Глобальные переменные используют %[1]s байт (%[3]s%%) динамической памяти, " "оставляя %[4]s байт для локальных переменных. Максимум: %[2]s байт." -#: internal/arduino/builder/sizer.go:170 +#: internal/arduino/builder/sizer.go:172 msgid "Global variables use %[1]s bytes of dynamic memory." msgstr "Глобальные переменные используют %[1]s байт динамической памяти." @@ -1264,7 +1268,7 @@ msgstr "Ид" msgid "Identification properties:" msgstr "Идентификационные свойства:" -#: internal/cli/compile/compile.go:132 +#: internal/cli/compile/compile.go:135 msgid "If set built binaries will be exported to the sketch folder." msgstr "" "Если установлено, то собранные двоичные файлы будут экспортированы в папку " @@ -1295,20 +1299,20 @@ msgstr "Установить библиотеки во встроенный ка msgid "Installed" msgstr "Установлено" -#: commands/service_library_install.go:200 +#: commands/service_library_install.go:201 msgid "Installed %s" msgstr "Установлен %s" -#: commands/service_library_install.go:183 -#: internal/arduino/cores/packagemanager/install_uninstall.go:333 +#: commands/service_library_install.go:184 +#: internal/arduino/cores/packagemanager/install_uninstall.go:335 msgid "Installing %s" msgstr "Установка %s" -#: commands/instances.go:395 +#: commands/instances.go:396 msgid "Installing library %s" msgstr "Установка библиотеки %s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:119 +#: internal/arduino/cores/packagemanager/install_uninstall.go:121 #: internal/arduino/cores/packagemanager/profiles.go:134 msgid "Installing platform %s" msgstr "Установка платформы %s" @@ -1331,11 +1335,11 @@ msgstr "Устанавливает в систему одну или неско msgid "Internal error in cache" msgstr "Внутренняя ошибка в кэше" -#: commands/cmderrors/cmderrors.go:377 +#: commands/cmderrors/cmderrors.go:378 msgid "Invalid '%[1]s' property: %[2]s" msgstr "Недопустимое свойство '%[1]s': %[2]s" -#: commands/cmderrors/cmderrors.go:60 +#: commands/cmderrors/cmderrors.go:61 msgid "Invalid FQBN" msgstr "Неверный FQBN" @@ -1343,11 +1347,11 @@ msgstr "Неверный FQBN" msgid "Invalid TCP address: port is missing" msgstr "Неверный TCP-адрес: порт не указан" -#: commands/cmderrors/cmderrors.go:78 +#: commands/cmderrors/cmderrors.go:79 msgid "Invalid URL" msgstr "Неверный URL-адрес" -#: commands/instances.go:183 +#: commands/instances.go:184 msgid "Invalid additional URL: %v" msgstr "Неверный дополнительный URL-адрес: %v" @@ -1361,23 +1365,23 @@ msgstr "Неверный архив: файл %[1]s не найден в арх msgid "Invalid argument passed: %v" msgstr "Передан недопустимый аргумент: %v" -#: commands/service_compile.go:272 +#: commands/service_compile.go:282 msgid "Invalid build properties" msgstr "Неверные свойства сборки" -#: internal/arduino/builder/sizer.go:250 +#: internal/arduino/builder/sizer.go:253 msgid "Invalid data size regexp: %s" msgstr "Неверное регулярное выражение для размера данных: %s" -#: internal/arduino/builder/sizer.go:256 +#: internal/arduino/builder/sizer.go:259 msgid "Invalid eeprom size regexp: %s" msgstr "Неверное регулярное выражение для размера eeprom: %s" -#: commands/instances.go:596 +#: commands/instances.go:597 msgid "Invalid index URL: %s" msgstr "Неверный URL индекса: %s" -#: commands/cmderrors/cmderrors.go:46 +#: commands/cmderrors/cmderrors.go:47 msgid "Invalid instance" msgstr "Неверный экземпляр" @@ -1385,7 +1389,7 @@ msgstr "Неверный экземпляр" msgid "Invalid item %s" msgstr "Неверный элемент %s" -#: commands/cmderrors/cmderrors.go:96 +#: commands/cmderrors/cmderrors.go:97 msgid "Invalid library" msgstr "Неверная библиотека" @@ -1393,11 +1397,11 @@ msgstr "Неверная библиотека" msgid "Invalid logging level: %s" msgstr "Неверный уровень логирования: %s" -#: commands/instances.go:613 +#: commands/instances.go:614 msgid "Invalid network configuration: %s" msgstr "Неверная конфигурация сети: %s" -#: internal/cli/configuration/network.go:66 +#: internal/cli/configuration/network.go:83 msgid "Invalid network.proxy '%[1]s': %[2]s" msgstr "Неверное значение network.proxy '%[1]s': %[2]s" @@ -1405,7 +1409,7 @@ msgstr "Неверное значение network.proxy '%[1]s': %[2]s" msgid "Invalid output format: %s" msgstr "Неверный формат вывода: %s" -#: commands/instances.go:580 +#: commands/instances.go:581 msgid "Invalid package index in %s" msgstr "Неверный индекс пакета в %s" @@ -1413,35 +1417,35 @@ msgstr "Неверный индекс пакета в %s" msgid "Invalid parameter %s: version not allowed" msgstr "Неверный параметр %s: версия недопустима" -#: commands/service_board_list.go:81 +#: commands/service_board_identify.go:169 msgid "Invalid pid value: '%s'" msgstr "Неверное значение pid: '%s'" -#: commands/cmderrors/cmderrors.go:220 +#: commands/cmderrors/cmderrors.go:221 msgid "Invalid profile" msgstr "Неверный профиль" -#: commands/service_monitor.go:269 +#: commands/service_monitor.go:270 msgid "Invalid recipe in platform.txt" msgstr "Неверный рецепт в platform.txt" -#: internal/arduino/builder/sizer.go:240 +#: internal/arduino/builder/sizer.go:243 msgid "Invalid size regexp: %s" msgstr "Неверное регулярное выражение для размера: %s" -#: main.go:85 +#: main.go:86 msgid "Invalid value in configuration" msgstr "Неверное значение в конфигурации" -#: commands/cmderrors/cmderrors.go:114 +#: commands/cmderrors/cmderrors.go:115 msgid "Invalid version" msgstr "Неверная версия" -#: commands/service_board_list.go:78 +#: commands/service_board_identify.go:166 msgid "Invalid vid value: '%s'" msgstr "Неверное значение vid: '%s'" -#: internal/cli/compile/compile.go:129 +#: internal/cli/compile/compile.go:132 msgid "" "Just produce the compilation database, without actually compiling. All build" " commands are skipped except pre* hooks." @@ -1466,12 +1470,12 @@ msgstr "LIBRARY_NAME" msgid "Latest" msgstr "Последняя" -#: internal/arduino/builder/libraries.go:91 +#: internal/arduino/builder/libraries.go:92 msgid "Library %[1]s has been declared precompiled:" msgstr "Библиотека %[1]s объявлена ​​предварительно скомпилированной::" -#: commands/service_library_install.go:141 -#: internal/arduino/libraries/librariesmanager/install.go:131 +#: commands/service_library_install.go:142 +#: internal/arduino/libraries/librariesmanager/install.go:130 msgid "" "Library %[1]s is already installed, but with a different version: %[2]s" msgstr "Библиотека %[1]s уже установлена, но другой версии: %[2]s" @@ -1484,11 +1488,11 @@ msgstr "Библиотека %s уже обновлена до последне msgid "Library %s is not installed" msgstr "Библиотека %s не установлена" -#: commands/instances.go:374 +#: commands/instances.go:375 msgid "Library %s not found" msgstr "Библиотека %s не найдена" -#: commands/cmderrors/cmderrors.go:445 +#: commands/cmderrors/cmderrors.go:466 msgid "Library '%s' not found" msgstr "Библиотека '%s' %s не найдена" @@ -1499,12 +1503,12 @@ msgstr "" "Библиотека не может использовать оба каталога '%[1]s' и '%[2]s'. " "Перепроверьте в '%[3]s'." -#: commands/cmderrors/cmderrors.go:574 +#: commands/cmderrors/cmderrors.go:595 msgid "Library install failed" msgstr "Не удалось установить библиотеку" -#: commands/service_library_install.go:234 -#: commands/service_library_install.go:274 +#: commands/service_library_install.go:235 +#: commands/service_library_install.go:275 msgid "Library installed" msgstr "Библиотека установлена" @@ -1512,7 +1516,7 @@ msgstr "Библиотека установлена" msgid "License: %s" msgstr "Лицензия: %s" -#: internal/arduino/builder/builder.go:436 +#: internal/arduino/builder/builder.go:437 msgid "Linking everything together..." msgstr "Связывается все вместе..." @@ -1540,7 +1544,7 @@ msgstr "" "Перечислить опции платы, разделенные запятыми. Или может быть использовано " "несколько раз для нескольких опций." -#: internal/cli/compile/compile.go:107 +#: internal/cli/compile/compile.go:110 msgid "" "List of custom build properties separated by commas. Or can be used multiple" " times for multiple properties." @@ -1564,8 +1568,8 @@ msgstr "Перечислить все подключенные платы." msgid "Lists cores and libraries that can be upgraded" msgstr "Перечисляет ядра и библиотеки которые могут быть обновлены" -#: commands/instances.go:221 commands/instances.go:232 -#: commands/instances.go:342 +#: commands/instances.go:222 commands/instances.go:233 +#: commands/instances.go:343 msgid "Loading index file: %v" msgstr "Загрузка индексного файла: %v" @@ -1573,7 +1577,7 @@ msgstr "Загрузка индексного файла: %v" msgid "Location" msgstr "Расположение" -#: internal/arduino/builder/sizer.go:205 +#: internal/arduino/builder/sizer.go:208 msgid "Low memory available, stability problems may occur." msgstr "Недостаточно памяти, программа может работать нестабильно." @@ -1581,7 +1585,7 @@ msgstr "Недостаточно памяти, программа может р msgid "Maintainer: %s" msgstr "Меинтейнер: %s" -#: internal/cli/compile/compile.go:137 +#: internal/cli/compile/compile.go:140 msgid "" "Max number of parallel compiles. If set to 0 the number of available CPUs " "cores will be used." @@ -1603,23 +1607,23 @@ msgstr "" msgid "Missing '%[1]s' from library in %[2]s" msgstr "Пропущен '%[1]s' из библиотеки в %[2]s" -#: commands/cmderrors/cmderrors.go:169 +#: commands/cmderrors/cmderrors.go:170 msgid "Missing FQBN (Fully Qualified Board Name)" msgstr "Отсутствует FQBN (Полное квалифицированное наименование платы)" -#: commands/cmderrors/cmderrors.go:260 +#: commands/cmderrors/cmderrors.go:261 msgid "Missing port" msgstr "Отсутствует порт" -#: commands/cmderrors/cmderrors.go:236 +#: commands/cmderrors/cmderrors.go:237 msgid "Missing port address" msgstr "Отсутствует адрес порта" -#: commands/cmderrors/cmderrors.go:248 +#: commands/cmderrors/cmderrors.go:249 msgid "Missing port protocol" msgstr "Отсутствует протокол порта" -#: commands/cmderrors/cmderrors.go:286 +#: commands/cmderrors/cmderrors.go:287 msgid "Missing programmer" msgstr "Отсутствует программатор" @@ -1627,15 +1631,15 @@ msgstr "Отсутствует программатор" msgid "Missing required upload field: %s" msgstr "Отсутствует обязательное поле загрузки: %s" -#: internal/arduino/builder/sizer.go:244 +#: internal/arduino/builder/sizer.go:247 msgid "Missing size regexp" msgstr "Отсутствует размер регулярного выражения" -#: commands/cmderrors/cmderrors.go:497 +#: commands/cmderrors/cmderrors.go:518 msgid "Missing sketch path" msgstr "Отсутствует путь к скетчу" -#: commands/cmderrors/cmderrors.go:358 +#: commands/cmderrors/cmderrors.go:359 msgid "Monitor '%s' not found" msgstr "Монитор '%s' не найден" @@ -1693,7 +1697,7 @@ msgstr "" msgid "No libraries update is available." msgstr "Нет доступных обновлений библиотек." -#: commands/cmderrors/cmderrors.go:274 +#: commands/cmderrors/cmderrors.go:275 msgid "No monitor available for the port protocol %s" msgstr "Нет доступного монитора для протокола порта %s" @@ -1709,16 +1713,16 @@ msgstr "Нет установленных платформ." msgid "No platforms matching your search." msgstr "Нет платформ, соответствующих вашему поиску." -#: commands/service_upload.go:533 +#: commands/service_upload.go:534 msgid "No upload port found, using %s as fallback" msgstr "" "Не найден порт загрузки, используется %s в качестве резервного варианта" -#: commands/cmderrors/cmderrors.go:464 +#: commands/cmderrors/cmderrors.go:485 msgid "No valid dependencies solution found" msgstr "Не найдено допустимое решение зависимостей" -#: internal/arduino/builder/sizer.go:195 +#: internal/arduino/builder/sizer.go:198 msgid "Not enough memory; see %[1]s for tips on reducing your footprint." msgstr "Недостаточно памяти; прочитайте %[1]s" @@ -1750,35 +1754,35 @@ msgstr "Открыть коммуникационный порт с платой msgid "Option:" msgstr "Параметр:" -#: internal/cli/compile/compile.go:117 +#: internal/cli/compile/compile.go:120 msgid "" "Optional, can be: %s. Used to tell gcc which warning level to use (-W flag)." msgstr "" "Необязательно. Возможно: %s. Используется для указания gcc, какой уровень " "предупреждений использовать (флаг -W)." -#: internal/cli/compile/compile.go:130 +#: internal/cli/compile/compile.go:133 msgid "Optional, cleanup the build folder and do not use any cached build." msgstr "" "Необязательно. Очистить каталог сборки и не использовать кэшированные " "сборки." -#: internal/cli/compile/compile.go:127 +#: internal/cli/compile/compile.go:130 msgid "" "Optional, optimize compile output for debugging, rather than for release." msgstr "" "Необязательно. Оптимизировать вывод компиляции для отладки, а не для " "выпуска." -#: internal/cli/compile/compile.go:119 +#: internal/cli/compile/compile.go:122 msgid "Optional, suppresses almost every output." msgstr "Необязательно. Подавляет почти весь вывод." -#: internal/cli/compile/compile.go:118 internal/cli/upload/upload.go:79 +#: internal/cli/compile/compile.go:121 internal/cli/upload/upload.go:79 msgid "Optional, turns on verbose mode." msgstr "Необязательно. Включает подробный режим." -#: internal/cli/compile/compile.go:133 +#: internal/cli/compile/compile.go:136 msgid "" "Optional. Path to a .json file that contains a set of replacements of the " "sketch source code." @@ -1786,7 +1790,7 @@ msgstr "" "Необязательно. Путь к файлу .json, содержащему набор замен исходного кода " "скетча." -#: internal/cli/compile/compile.go:109 +#: internal/cli/compile/compile.go:112 msgid "" "Override a build property with a custom value. Can be used multiple times " "for multiple properties." @@ -1852,11 +1856,11 @@ msgstr "Веб-страница пакета:" msgid "Paragraph: %s" msgstr "Параграф: %s" -#: internal/cli/compile/compile.go:454 internal/cli/compile/compile.go:469 +#: internal/cli/compile/compile.go:473 internal/cli/compile/compile.go:488 msgid "Path" msgstr "Путь" -#: internal/cli/compile/compile.go:126 +#: internal/cli/compile/compile.go:129 msgid "" "Path to a collection of libraries. Can be used multiple times or entries can" " be comma separated." @@ -1864,7 +1868,7 @@ msgstr "" "Путь к коллекции библиотек. Может использоваться несколько раз или значения " "могут быть разделены запятыми." -#: internal/cli/compile/compile.go:124 +#: internal/cli/compile/compile.go:127 msgid "" "Path to a single library’s root folder. Can be used multiple times or " "entries can be comma separated." @@ -1876,7 +1880,7 @@ msgstr "" msgid "Path to the file where logs will be written." msgstr "Путь к файлу, в который будут записываться логи." -#: internal/cli/compile/compile.go:105 +#: internal/cli/compile/compile.go:108 msgid "" "Path where to save compiled files. If omitted, a directory will be created " "in the default temporary path of your OS." @@ -1884,20 +1888,20 @@ msgstr "" "Путь сохранения скомпилированных файлов. Если не указан, каталог будет " "создан во временном пути по умолчанию вашей ОС." -#: commands/service_upload.go:514 +#: commands/service_upload.go:515 msgid "Performing 1200-bps touch reset on serial port %s" msgstr "Выполнение сенсорного сброса 1200 бит/с на последовательном порту" -#: commands/service_platform_install.go:86 -#: commands/service_platform_install.go:93 +#: commands/service_platform_install.go:91 +#: commands/service_platform_install.go:98 msgid "Platform %s already installed" msgstr "Платформа %s уже установлена" -#: internal/arduino/cores/packagemanager/install_uninstall.go:194 +#: internal/arduino/cores/packagemanager/install_uninstall.go:196 msgid "Platform %s installed" msgstr "Платформа %s установлена" -#: internal/cli/compile/compile.go:402 internal/cli/upload/upload.go:148 +#: internal/cli/compile/compile.go:417 internal/cli/upload/upload.go:148 msgid "" "Platform %s is not found in any known index\n" "Maybe you need to add a 3rd party URL?" @@ -1905,15 +1909,19 @@ msgstr "" "Платформа %s не найдена ни в одном из известных индексов\n" "Возможно необходимо добавить сторонний - 3rd party URL?" -#: internal/arduino/cores/packagemanager/install_uninstall.go:318 +#: internal/arduino/cores/packagemanager/install_uninstall.go:320 msgid "Platform %s uninstalled" msgstr "Платформа %s удалена" -#: commands/cmderrors/cmderrors.go:482 +#: commands/cmderrors/cmderrors.go:427 +msgid "Platform '%s'" +msgstr "" + +#: commands/cmderrors/cmderrors.go:503 msgid "Platform '%s' is already at the latest version" msgstr "Последняя версия платформы '%s' уже установлена" -#: commands/cmderrors/cmderrors.go:406 +#: commands/cmderrors/cmderrors.go:407 msgid "Platform '%s' not found" msgstr "Платформа '%s' не найдена" @@ -1921,7 +1929,7 @@ msgstr "Платформа '%s' не найдена" msgid "Platform ID" msgstr "Идентификатор платформы:" -#: internal/cli/compile/compile.go:387 internal/cli/upload/upload.go:136 +#: internal/cli/compile/compile.go:402 internal/cli/upload/upload.go:136 msgid "Platform ID is not correct" msgstr "Идентификатор платформы указан неверно" @@ -1953,7 +1961,7 @@ msgstr "Наименование платформы:" msgid "Platform size (bytes):" msgstr "Размер платформы (байт):" -#: commands/cmderrors/cmderrors.go:153 +#: commands/cmderrors/cmderrors.go:154 msgid "" "Please specify an FQBN. Multiple possible boards detected on port %[1]s with" " protocol %[2]s" @@ -1961,7 +1969,7 @@ msgstr "" "Пожалуйста, укажите FQBN. Несколько возможных плат обнаружено на порту %[1]s" " с протоколом %[2]s" -#: commands/cmderrors/cmderrors.go:133 +#: commands/cmderrors/cmderrors.go:134 msgid "" "Please specify an FQBN. The board on port %[1]s with protocol %[2]s can't be" " identified" @@ -1977,12 +1985,12 @@ msgstr "Порт" msgid "Port closed: %v" msgstr "Порт закрыт: %v" -#: commands/cmderrors/cmderrors.go:668 +#: commands/cmderrors/cmderrors.go:689 msgid "Port monitor error" msgstr "Ошибка монитора порта" -#: internal/arduino/builder/libraries.go:101 -#: internal/arduino/builder/libraries.go:109 +#: internal/arduino/builder/libraries.go:102 +#: internal/arduino/builder/libraries.go:110 msgid "Precompiled library in \"%[1]s\" not found" msgstr "Предварительно скомпилированная библиотека не найдена в \"%[1]s\"" @@ -1990,7 +1998,7 @@ msgstr "Предварительно скомпилированная библи msgid "Print details about a board." msgstr "Вывести детали о плате." -#: internal/cli/compile/compile.go:100 +#: internal/cli/compile/compile.go:103 msgid "Print preprocessed code to stdout instead of compiling." msgstr "" "Вывести предварительно обработанный код на стандартный вывод вместо " @@ -2012,11 +2020,11 @@ msgstr "Выводит текущую конфигурацию" msgid "Prints the current configuration." msgstr "Выводит текущую конфигурацию." -#: commands/cmderrors/cmderrors.go:202 +#: commands/cmderrors/cmderrors.go:203 msgid "Profile '%s' not found" msgstr "Профиль '%s' не найден" -#: commands/cmderrors/cmderrors.go:339 +#: commands/cmderrors/cmderrors.go:340 msgid "Programmer '%s' not found" msgstr "Программатор '%s' не найден" @@ -2032,7 +2040,7 @@ msgstr "Использовать программатор, например: atm msgid "Programmers:" msgstr "Программаторы:" -#: commands/cmderrors/cmderrors.go:391 +#: commands/cmderrors/cmderrors.go:392 msgid "Property '%s' is undefined" msgstr "Свойство '%s' не определено" @@ -2048,11 +2056,11 @@ msgstr "Предоставленное включает в себя: %s" msgid "Removes one or more values from a setting." msgstr "Удаляет одно или несколько значений из настройки." -#: commands/service_library_install.go:187 +#: commands/service_library_install.go:188 msgid "Replacing %[1]s with %[2]s" msgstr "Замена %[1]s на %[2]s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:123 +#: internal/arduino/cores/packagemanager/install_uninstall.go:125 msgid "Replacing platform %[1]s with %[2]s" msgstr "Замена платформы %[1]s на %[2]s" @@ -2068,12 +2076,12 @@ msgstr "Работать в тихом режиме, отображать тол msgid "Run the Arduino CLI as a gRPC daemon." msgstr "Запустить Arduino CLI как демон gRPC." -#: internal/arduino/builder/core.go:42 +#: internal/arduino/builder/core.go:43 msgid "Running normal build of the core..." msgstr "Запуск обычной сборки ядра..." -#: internal/arduino/cores/packagemanager/install_uninstall.go:297 -#: internal/arduino/cores/packagemanager/install_uninstall.go:411 +#: internal/arduino/cores/packagemanager/install_uninstall.go:299 +#: internal/arduino/cores/packagemanager/install_uninstall.go:413 msgid "Running pre_uninstall script." msgstr "Запуск скрипта pre_uninstall." @@ -2085,7 +2093,7 @@ msgstr "SEARCH_TERM" msgid "SVD file path" msgstr "путь файла SVD" -#: internal/cli/compile/compile.go:103 +#: internal/cli/compile/compile.go:106 msgid "Save build artifacts in this directory." msgstr "Сохранить артефакты сборки в этом каталоге." @@ -2362,7 +2370,7 @@ msgstr "Показывает номер версии Arduino CLI." msgid "Size (bytes):" msgstr "Размер (байт):" -#: commands/service_compile.go:276 +#: commands/service_compile.go:286 msgid "" "Sketch cannot be located in build path. Please specify a different build " "path" @@ -2378,11 +2386,11 @@ msgstr "Скетч создан в: %s" msgid "Sketch profile to use" msgstr "Использовать профиль скетча" -#: internal/arduino/builder/sizer.go:190 +#: internal/arduino/builder/sizer.go:193 msgid "Sketch too big; see %[1]s for tips on reducing it." msgstr "Скетч слишком большой; прочитайте %[1]s" -#: internal/arduino/builder/sizer.go:158 +#: internal/arduino/builder/sizer.go:160 msgid "" "Sketch uses %[1]s bytes (%[3]s%%) of program storage space. Maximum is %[2]s" " bytes." @@ -2398,20 +2406,20 @@ msgstr "" "Скетчи с расширением .pde устарели, пожалуйста, переименуйте следующие файлы" " в .ino:" -#: internal/arduino/builder/linker.go:30 +#: internal/arduino/builder/linker.go:31 msgid "Skip linking of final executable." msgstr "Пропустить компоновку конечного исполняемого файла." -#: commands/service_upload.go:507 +#: commands/service_upload.go:508 msgid "Skipping 1200-bps touch reset: no serial port selected!" msgstr "" "Пропуск сенсорного сброса 1200 бит/с: последовательный порт не выбран!" -#: internal/arduino/builder/archive_compiled_files.go:27 +#: internal/arduino/builder/archive_compiled_files.go:28 msgid "Skipping archive creation of: %[1]s" msgstr "Пропуск создания архива: %[1]s" -#: internal/arduino/builder/compilation.go:183 +#: internal/arduino/builder/compilation.go:184 msgid "Skipping compile of: %[1]s" msgstr "Пропуск компиляции: %[1]s" @@ -2421,16 +2429,16 @@ msgstr "" "Пропуск обнаружения зависимостей для предварительно скомпилированной " "библиотеки %[1]s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:190 +#: internal/arduino/cores/packagemanager/install_uninstall.go:192 msgid "Skipping platform configuration." msgstr "Пропуск конфигурации платформы." -#: internal/arduino/cores/packagemanager/install_uninstall.go:306 -#: internal/arduino/cores/packagemanager/install_uninstall.go:420 +#: internal/arduino/cores/packagemanager/install_uninstall.go:308 +#: internal/arduino/cores/packagemanager/install_uninstall.go:422 msgid "Skipping pre_uninstall script." msgstr "Пропуск скрипта pre_uninstall." -#: internal/arduino/cores/packagemanager/install_uninstall.go:368 +#: internal/arduino/cores/packagemanager/install_uninstall.go:370 msgid "Skipping tool configuration." msgstr "Пропуск конфигурации инструмента." @@ -2438,7 +2446,7 @@ msgstr "Пропуск конфигурации инструмента." msgid "Skipping: %[1]s" msgstr "Пропуск: %[1]s" -#: commands/instances.go:633 +#: commands/instances.go:634 msgid "Some indexes could not be updated." msgstr "Некоторые индексы не удалось обновить." @@ -2462,7 +2470,7 @@ msgstr "" "Пользовательский файл конфигурации (если не указан, будет использован файл " "по умолчанию)." -#: internal/cli/compile/compile.go:90 +#: internal/cli/compile/compile.go:93 msgid "" "The flag --build-cache-path has been deprecated. Please use just --build-" "path alone or configure the build cache path in the Arduino CLI settings." @@ -2482,7 +2490,7 @@ msgstr "Данная конфигурация платы/программато msgid "The given board/programmer configuration supports debugging." msgstr "Данная конфигурация платы/программатора поддерживает отладку." -#: commands/cmderrors/cmderrors.go:876 +#: commands/cmderrors/cmderrors.go:897 msgid "The instance is no longer valid and needs to be reinitialized" msgstr "Экземпляр недействителен и его необходимо повторно инициализировать" @@ -2502,11 +2510,11 @@ msgstr "" "Ключ '%[1]v' не является списком элементов, из него нельзя удалить.\n" "Может быть, использовать '%[2]s'?" -#: commands/cmderrors/cmderrors.go:858 +#: commands/cmderrors/cmderrors.go:879 msgid "The library %s has multiple installations:" msgstr "Библиотека %s имеет несколько установок:" -#: internal/cli/compile/compile.go:115 +#: internal/cli/compile/compile.go:118 msgid "" "The name of the custom encryption key to use to encrypt a binary during the " "compile process. Used only by the platforms that support it." @@ -2515,7 +2523,7 @@ msgstr "" "двоичного файла во время процесса компиляции. Используется только " "платформами, которые это поддерживают." -#: internal/cli/compile/compile.go:113 +#: internal/cli/compile/compile.go:116 msgid "" "The name of the custom signing key to use to sign a binary during the " "compile process. Used only by the platforms that support it." @@ -2528,7 +2536,7 @@ msgstr "" msgid "The output format for the logs, can be: %s" msgstr "Формат вывода для логов может быть: %s" -#: internal/cli/compile/compile.go:111 +#: internal/cli/compile/compile.go:114 msgid "" "The path of the dir to search for the custom keys to sign and encrypt a " "binary. Used only by the platforms that support it." @@ -2536,7 +2544,7 @@ msgstr "" "Путь к каталогу для поиска пользовательских ключей для подписи и шифрования " "двоичного файла. Используется только платформами, которые это поддерживают." -#: internal/arduino/builder/libraries.go:151 +#: internal/arduino/builder/libraries.go:152 msgid "The platform does not support '%[1]s' for precompiled libraries." msgstr "" "Платформа не поддерживает '%[1]s' для предварительно скомпилированных " @@ -2566,12 +2574,12 @@ msgstr "" msgid "Timestamp each incoming line." msgstr "Отмечать время каждой входящей строки." -#: internal/arduino/cores/packagemanager/install_uninstall.go:89 -#: internal/arduino/cores/packagemanager/install_uninstall.go:328 +#: internal/arduino/cores/packagemanager/install_uninstall.go:91 +#: internal/arduino/cores/packagemanager/install_uninstall.go:330 msgid "Tool %s already installed" msgstr "Инструмент %s уже установлен" -#: internal/arduino/cores/packagemanager/install_uninstall.go:432 +#: internal/arduino/cores/packagemanager/install_uninstall.go:434 msgid "Tool %s uninstalled" msgstr "Инструмент %s удален" @@ -2591,7 +2599,7 @@ msgstr "Префикс набора инструментов" msgid "Toolchain type" msgstr "Тип набора инструментов" -#: internal/cli/compile/compile.go:400 internal/cli/upload/upload.go:146 +#: internal/cli/compile/compile.go:415 internal/cli/upload/upload.go:146 msgid "Try running %s" msgstr "Попытка запуска %s" @@ -2611,7 +2619,7 @@ msgstr "Типы: %s" msgid "URL:" msgstr "URL:" -#: internal/arduino/builder/core.go:165 +#: internal/arduino/builder/core.go:166 msgid "" "Unable to cache built core, please tell %[1]s maintainers to follow %[2]s" msgstr "" @@ -2635,17 +2643,17 @@ msgstr "Невозможно получить домашний каталог п msgid "Unable to open file for logging: %s" msgstr "Невозможно открыть файл для логирования: %s" -#: commands/instances.go:562 +#: commands/instances.go:563 msgid "Unable to parse URL" msgstr "Невозможно разобрать URL" #: commands/service_library_uninstall.go:71 -#: internal/arduino/cores/packagemanager/install_uninstall.go:280 +#: internal/arduino/cores/packagemanager/install_uninstall.go:282 msgid "Uninstalling %s" msgstr "Удаление %s" #: commands/service_platform_uninstall.go:99 -#: internal/arduino/cores/packagemanager/install_uninstall.go:166 +#: internal/arduino/cores/packagemanager/install_uninstall.go:168 msgid "Uninstalling %s, tool is no more required" msgstr "Удаление %s, инструмент больше не нужен" @@ -2665,7 +2673,7 @@ msgstr "Удаляет одну или несколько библиотек." msgid "Unknown" msgstr "Неизвестный" -#: commands/cmderrors/cmderrors.go:183 +#: commands/cmderrors/cmderrors.go:184 msgid "Unknown FQBN" msgstr "Неизвестный FQBN" @@ -2693,7 +2701,7 @@ msgstr "Обновляет индекс библиотек до последни msgid "Updates the libraries index." msgstr "Обновляет индекс библиотек." -#: internal/arduino/cores/packagemanager/install_uninstall.go:45 +#: internal/arduino/cores/packagemanager/install_uninstall.go:47 msgid "Upgrade doesn't accept parameters with version" msgstr "Обновление не принимает параметры с версией" @@ -2726,7 +2734,7 @@ msgstr "Загрузить скетчи Arduino. Это НЕ компилиру msgid "Upload port address, e.g.: COM3 or /dev/ttyACM2" msgstr "Адрес порта загрузки, например: COM3 или /dev/ttyACM2" -#: commands/service_upload.go:531 +#: commands/service_upload.go:532 msgid "Upload port found on %s" msgstr "Порт загрузки найден на %s" @@ -2734,7 +2742,7 @@ msgstr "Порт загрузки найден на %s" msgid "Upload port protocol, e.g: serial" msgstr "Протокол порта загрузки, например: последовательный" -#: internal/cli/compile/compile.go:120 +#: internal/cli/compile/compile.go:123 msgid "Upload the binary after the compilation." msgstr "Загрузить двоичный файл после компиляции." @@ -2746,7 +2754,7 @@ msgstr "Загрузить загрузчик на плату с помощью msgid "Upload the bootloader." msgstr " Загрузить загрузчик." -#: internal/cli/compile/compile.go:269 internal/cli/upload/upload.go:167 +#: internal/cli/compile/compile.go:274 internal/cli/upload/upload.go:167 msgid "" "Uploading to specified board using %s protocol requires the following info:" msgstr "" @@ -2769,11 +2777,11 @@ msgstr "Использование:" msgid "Use %s for more information about a command." msgstr "Используйте %s для получения дополнительной информации о команде." -#: internal/cli/compile/compile.go:452 +#: internal/cli/compile/compile.go:471 msgid "Used library" msgstr "Использована библиотека" -#: internal/cli/compile/compile.go:467 +#: internal/cli/compile/compile.go:486 msgid "Used platform" msgstr "Использована платформа" @@ -2781,7 +2789,7 @@ msgstr "Использована платформа" msgid "Used: %[1]s" msgstr "Используется: %[1]s" -#: commands/service_compile.go:351 +#: commands/service_compile.go:361 msgid "Using board '%[1]s' from platform in folder: %[2]s" msgstr "использование платы '%[1]s' из платформы в каталоге: %[2]s" @@ -2789,7 +2797,7 @@ msgstr "использование платы '%[1]s' из платформы в msgid "Using cached library dependencies for file: %[1]s" msgstr "Использование кэшированных библиотечных зависимостей для файла: %[1]s" -#: commands/service_compile.go:352 +#: commands/service_compile.go:362 msgid "Using core '%[1]s' from platform in folder: %[2]s" msgstr "Использование ядра '%[1]s' из платформы в каталоге: %[2]s" @@ -2805,25 +2813,25 @@ msgstr "" "Использование обобщенной конфигурации монитора.\n" "ВНИМАНИЕ: для работы вашей платы могут потребоваться другие настройки!\n" -#: internal/arduino/builder/libraries.go:312 +#: internal/arduino/builder/libraries.go:313 msgid "Using library %[1]s at version %[2]s in folder: %[3]s %[4]s" msgstr "Используем библиотеку %[1]s версии %[2]s из папки: %[3]s %[4]s" -#: internal/arduino/builder/libraries.go:306 +#: internal/arduino/builder/libraries.go:307 msgid "Using library %[1]s in folder: %[2]s %[3]s" msgstr "Используем библиотеку %[1]s в папке: %[2]s %[3]s" -#: internal/arduino/builder/core.go:120 internal/arduino/builder/core.go:132 +#: internal/arduino/builder/core.go:121 internal/arduino/builder/core.go:133 msgid "Using precompiled core: %[1]s" msgstr "Использование предварительно скомпилированного ядра: %[1]s" -#: internal/arduino/builder/libraries.go:98 -#: internal/arduino/builder/libraries.go:106 +#: internal/arduino/builder/libraries.go:99 +#: internal/arduino/builder/libraries.go:107 msgid "Using precompiled library in %[1]s" msgstr "Использование предварительно скомпилированной библиотеки в %[1]s" -#: internal/arduino/builder/archive_compiled_files.go:50 -#: internal/arduino/builder/compilation.go:181 +#: internal/arduino/builder/archive_compiled_files.go:51 +#: internal/arduino/builder/compilation.go:182 msgid "Using previously compiled file: %[1]s" msgstr "Используем предварительно скомпилированный файл: %[1]s" @@ -2840,11 +2848,11 @@ msgid "Values" msgstr "Значения" #: internal/cli/burnbootloader/burnbootloader.go:62 -#: internal/cli/compile/compile.go:122 internal/cli/upload/upload.go:78 +#: internal/cli/compile/compile.go:125 internal/cli/upload/upload.go:78 msgid "Verify uploaded binary after the upload." msgstr "Проверить загруженный двоичный файл после загрузки." -#: internal/cli/compile/compile.go:453 internal/cli/compile/compile.go:468 +#: internal/cli/compile/compile.go:472 internal/cli/compile/compile.go:487 #: internal/cli/core/search.go:117 msgid "Version" msgstr "Версия" @@ -2853,26 +2861,26 @@ msgstr "Версия" msgid "Versions: %s" msgstr "Версии: %s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:185 +#: internal/arduino/cores/packagemanager/install_uninstall.go:187 msgid "WARNING cannot configure platform: %s" msgstr "ВНИМАНИЕ: невозможно настроить платформу" -#: internal/arduino/cores/packagemanager/install_uninstall.go:364 +#: internal/arduino/cores/packagemanager/install_uninstall.go:366 msgid "WARNING cannot configure tool: %s" msgstr "ВНИМАНИЕ: не удалось настроить инструмент: %s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:302 -#: internal/arduino/cores/packagemanager/install_uninstall.go:416 +#: internal/arduino/cores/packagemanager/install_uninstall.go:304 +#: internal/arduino/cores/packagemanager/install_uninstall.go:418 msgid "WARNING cannot run pre_uninstall script: %s" msgstr "ВНИМАНИЕ: невозможно выполнить скрипт pre_uninstall: %s" -#: internal/cli/compile/compile.go:330 +#: internal/cli/compile/compile.go:339 msgid "WARNING: The sketch is compiled using one or more custom libraries." msgstr "" "ВНИМАНИЕ: Скетч скомпилирован с использованием одной или нескольких " "пользовательских библиотек." -#: internal/arduino/builder/libraries.go:283 +#: internal/arduino/builder/libraries.go:284 msgid "" "WARNING: library %[1]s claims to run on %[2]s architecture(s) and may be " "incompatible with your current board which runs on %[3]s architecture(s)." @@ -2880,11 +2888,11 @@ msgstr "" "ВНИМАНИЕ: библиотека %[1]s должна запускаться на архитектуре(-ах) %[2]s и " "может быть несовместима с вашей платой на архитектуре(-ах) %[3]s." -#: commands/service_upload.go:520 +#: commands/service_upload.go:521 msgid "Waiting for upload port..." msgstr "Ожидание порта загрузки..." -#: commands/service_compile.go:357 +#: commands/service_compile.go:367 msgid "" "Warning: Board %[1]s doesn't define a %[2]s preference. Auto-set to: %[3]s" msgstr "" @@ -2906,7 +2914,7 @@ msgid "" msgstr "" "Записывает текущую конфигурацию в файл конфигурации в каталоге данных." -#: internal/cli/compile/compile.go:150 internal/cli/compile/compile.go:153 +#: internal/cli/compile/compile.go:153 internal/cli/compile/compile.go:156 msgid "You cannot use the %s flag while compiling with a profile." msgstr "Нельзя использовать флаг %s во время компиляции с профилем." @@ -2914,12 +2922,12 @@ msgstr "Нельзя использовать флаг %s во время ком msgid "archive hash differs from hash in index" msgstr "хэш архива отличается от хэша в индексе" -#: internal/arduino/libraries/librariesmanager/install.go:188 +#: internal/arduino/libraries/librariesmanager/install.go:187 msgid "archive is not valid: multiple files found in zip file top level" msgstr "" "архив не валиден: в верхнем уровне zip-файла обнаружено несколько файлов" -#: internal/arduino/libraries/librariesmanager/install.go:191 +#: internal/arduino/libraries/librariesmanager/install.go:190 msgid "archive is not valid: no files found in zip file top level" msgstr "" "archive is not valid: в верхнем уровне zip-файла не найдено ни одного файла" @@ -2944,11 +2952,11 @@ msgstr "базовый поиск по \"audio\"" msgid "basic search for \"esp32\" and \"display\" limited to official Maintainer" msgstr "базовый поиск по \"esp32\" и \"display\" ограничен официальным меинтейнером" -#: commands/service_upload.go:791 +#: commands/service_upload.go:792 msgid "binary file not found in %s" msgstr "двоичный файл не найден в %s" -#: internal/arduino/cores/packagemanager/package_manager.go:348 +#: internal/arduino/cores/packagemanager/package_manager.go:316 msgid "board %s not found" msgstr "плата %s не найдена" @@ -2964,11 +2972,11 @@ msgstr "не установлен каталог встроенных библи msgid "can't find latest release of %s" msgstr "не удается найти последний релиз %s" -#: commands/instances.go:272 +#: commands/instances.go:273 msgid "can't find latest release of tool %s" msgstr "не удалось найти последний релиз инструмента %s" -#: internal/arduino/cores/packagemanager/loader.go:712 +#: internal/arduino/cores/packagemanager/loader.go:709 msgid "can't find pattern for discovery with id %s" msgstr "не удалось найти шаблон для обнаружения с идентификатором %s" @@ -2976,11 +2984,11 @@ msgstr "не удалось найти шаблон для обнаружени msgid "candidates" msgstr "кандидаты" -#: commands/service_upload.go:737 commands/service_upload.go:744 +#: commands/service_upload.go:738 commands/service_upload.go:745 msgid "cannot execute upload tool: %s" msgstr "не удалось выполнить загрузку инструмента: %s" -#: internal/arduino/resources/install.go:40 +#: internal/arduino/resources/install.go:48 msgid "checking local archive integrity" msgstr "проверка целостности локального архива" @@ -3006,27 +3014,27 @@ msgstr "коммуникация не синхронизирована, ожид msgid "computing hash: %s" msgstr "вычисление хэша: %s" -#: internal/arduino/cores/fqbn.go:81 +#: pkg/fqbn/fqbn.go:83 msgid "config key %s contains an invalid character" msgstr "ключ конфигурации %s содержит недопустимый символ" -#: internal/arduino/cores/fqbn.go:86 +#: pkg/fqbn/fqbn.go:87 msgid "config value %s contains an invalid character" msgstr "значение конфигурации %s содержит недопустимый символ" -#: internal/arduino/libraries/librariesmanager/install.go:141 +#: internal/arduino/libraries/librariesmanager/install.go:140 msgid "copying library to destination directory:" msgstr "копирование библиотеки в целевой каталог:" -#: commands/service_upload.go:863 +#: commands/service_upload.go:864 msgid "could not find a valid build artifact" msgstr "не удалось найти валидный артефакт сборки" -#: commands/service_platform_install.go:94 +#: commands/service_platform_install.go:99 msgid "could not overwrite" msgstr "не удалось перезаписать" -#: commands/service_library_install.go:190 +#: commands/service_library_install.go:191 msgid "could not remove old library" msgstr "не удалось удалить старую библиотеку" @@ -3035,20 +3043,20 @@ msgstr "не удалось удалить старую библиотеку" msgid "could not update sketch project file" msgstr "не удалось обновить файл проекта скетча" -#: internal/arduino/builder/core.go:116 internal/arduino/builder/core.go:140 +#: internal/arduino/builder/core.go:117 internal/arduino/builder/core.go:141 msgid "creating core cache folder: %s" msgstr "создание основного каталога кэша: %s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:219 +#: internal/arduino/cores/packagemanager/install_uninstall.go:221 msgid "creating installed.json in %[1]s: %[2]s" msgstr "создание файла installed.json в %[1]s: %[2]s" -#: internal/arduino/resources/install.go:45 -#: internal/arduino/resources/install.go:49 +#: internal/arduino/resources/install.go:54 +#: internal/arduino/resources/install.go:58 msgid "creating temp dir for extraction: %s" msgstr " создание временного каталога для извлечения: %s" -#: internal/arduino/builder/sizer.go:196 +#: internal/arduino/builder/sizer.go:199 msgid "data section exceeds available space in board" msgstr "раздел данных превышает доступное пространство на плате" @@ -3056,15 +3064,15 @@ msgstr "раздел данных превышает доступное прос msgid "dependency '%s' is not available" msgstr "зависимость '%s' недоступна" -#: internal/arduino/libraries/librariesmanager/install.go:94 +#: internal/arduino/libraries/librariesmanager/install.go:93 msgid "destination dir %s already exists, cannot install" msgstr "целевой каталог %s уже существует, невозможно установить" -#: internal/arduino/libraries/librariesmanager/install.go:138 +#: internal/arduino/libraries/librariesmanager/install.go:137 msgid "destination directory already exists" msgstr "целевой каталог уже существует" -#: internal/arduino/libraries/librariesmanager/install.go:278 +#: internal/arduino/libraries/librariesmanager/install.go:305 msgid "directory doesn't exist: %s" msgstr "не существует каталог: %s" @@ -3072,15 +3080,15 @@ msgstr "не существует каталог: %s" msgid "discovery %[1]s process not started" msgstr "процесс обнаружения %[1]s не запущен" -#: internal/arduino/cores/packagemanager/loader.go:644 +#: internal/arduino/cores/packagemanager/loader.go:641 msgid "discovery %s not found" msgstr "обнаружение %s не найдено" -#: internal/arduino/cores/packagemanager/loader.go:648 +#: internal/arduino/cores/packagemanager/loader.go:645 msgid "discovery %s not installed" msgstr "обнаружение %s не установлено" -#: internal/arduino/cores/packagemanager/package_manager.go:746 +#: internal/arduino/cores/packagemanager/package_manager.go:714 msgid "discovery release not found: %s" msgstr "релиз обнаружения не найден: %s" @@ -3096,11 +3104,11 @@ msgstr "скачать последнюю версию ядра Arduino SAMD." msgid "downloaded" msgstr "скачивание завершено" -#: commands/instances.go:55 +#: commands/instances.go:56 msgid "downloading %[1]s tool: %[2]s" msgstr "скачивание %[1]s инструмента: %[2]s" -#: internal/arduino/cores/fqbn.go:60 +#: pkg/fqbn/fqbn.go:63 msgid "empty board identifier" msgstr "не заполнен идентификатор платы" @@ -3108,7 +3116,7 @@ msgstr "не заполнен идентификатор платы" msgid "error loading sketch project file:" msgstr "ошибка загрузки файла проекта скетча:" -#: internal/arduino/cores/packagemanager/loader.go:615 +#: internal/arduino/cores/packagemanager/loader.go:612 msgid "error opening %s" msgstr "ошибка открытия %s" @@ -3116,19 +3124,19 @@ msgstr "ошибка открытия %s" msgid "error parsing version constraints" msgstr "ошибка разбора ограничений версии" -#: commands/service_board_list.go:115 +#: commands/service_board_identify.go:203 msgid "error processing response from server" msgstr "ошибка обработки ответа от сервера" -#: commands/service_board_list.go:95 +#: commands/service_board_identify.go:183 msgid "error querying Arduino Cloud Api" msgstr "ошибка запроса Arduino Cloud Api" -#: internal/arduino/libraries/librariesmanager/install.go:179 +#: internal/arduino/libraries/librariesmanager/install.go:178 msgid "extracting archive" msgstr "распаковка архива" -#: internal/arduino/resources/install.go:68 +#: internal/arduino/resources/install.go:77 msgid "extracting archive: %s" msgstr "распаковка архива: %s" @@ -3136,7 +3144,7 @@ msgstr "распаковка архива: %s" msgid "failed to compute hash of file \"%s\"" msgstr "не удалось вычислить хэш файла \"%s\"" -#: commands/service_board_list.go:90 +#: commands/service_board_identify.go:178 msgid "failed to initialize http client" msgstr "не удалось инициализировать http-клиент" @@ -3145,7 +3153,7 @@ msgid "fetched archive size differs from size specified in index" msgstr "" "размер извлеченного архива отличается от размера, указанного в индексе" -#: internal/arduino/resources/install.go:123 +#: internal/arduino/resources/install.go:132 msgid "files in archive must be placed in a subdirectory" msgstr "файлы в архиве должны быть помещены в подкаталог" @@ -3175,7 +3183,7 @@ msgstr "для последней версии." msgid "for the specific version." msgstr "для конкретной версии." -#: internal/arduino/cores/fqbn.go:66 +#: pkg/fqbn/fqbn.go:68 msgid "fqbn's field %s contains an invalid character" msgstr "поле fqbn %s содержит недопустимый символ" @@ -3199,35 +3207,35 @@ msgstr "получение информации об архиве: %s" #: internal/arduino/resources/checksums.go:89 #: internal/arduino/resources/download.go:36 #: internal/arduino/resources/helpers.go:39 -#: internal/arduino/resources/install.go:56 +#: internal/arduino/resources/install.go:65 msgid "getting archive path: %s" msgstr "получение пути к архиву: %s" -#: internal/arduino/cores/packagemanager/package_manager.go:354 +#: internal/arduino/cores/packagemanager/package_manager.go:322 msgid "getting build properties for board %[1]s: %[2]s" msgstr "получение свойств сборки для платы %[1]s: %[2]s" -#: internal/arduino/cores/packagemanager/download.go:106 +#: internal/arduino/cores/packagemanager/download.go:108 msgid "getting discovery dependencies for platform %[1]s: %[2]s" msgstr "получение зависимостей обнаружения для платформы %[1]s: %[2]s" -#: internal/arduino/cores/packagemanager/download.go:114 +#: internal/arduino/cores/packagemanager/download.go:116 msgid "getting monitor dependencies for platform %[1]s: %[2]s" msgstr "получение зависимостей монитора для платформы %[1]s: %[2]s" -#: internal/arduino/cores/packagemanager/download.go:99 +#: internal/arduino/cores/packagemanager/download.go:101 msgid "getting tool dependencies for platform %[1]s: %[2]s" msgstr "получение зависимостей инструмента для платформы %[1]s: %[2]s" -#: internal/arduino/libraries/librariesmanager/install.go:149 +#: internal/arduino/libraries/librariesmanager/install.go:148 msgid "install directory not set" msgstr "не задан каталог для установки" -#: commands/instances.go:59 +#: commands/instances.go:60 msgid "installing %[1]s tool: %[2]s" msgstr "установка %[1]s инструмента: %[2]s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:211 +#: internal/arduino/cores/packagemanager/install_uninstall.go:213 msgid "installing platform %[1]s: %[2]s" msgstr "установка платформы %[1]s: %[2]s" @@ -3243,7 +3251,7 @@ msgstr "неверная директива '%s'" msgid "invalid checksum format: %s" msgstr "неверный формат контрольной суммы: %s" -#: internal/arduino/cores/fqbn.go:73 internal/arduino/cores/fqbn.go:78 +#: pkg/fqbn/fqbn.go:75 pkg/fqbn/fqbn.go:80 msgid "invalid config option: %s" msgstr "неверный параметр конфигурации: %s" @@ -3275,11 +3283,14 @@ msgstr "неверное пустое наименование библиоте msgid "invalid empty library version: %s" msgstr "неверная пустая версия библиотеки: %s" -#: internal/arduino/cores/board.go:143 +#: internal/arduino/cores/board.go:144 msgid "invalid empty option found" msgstr "найден неверный пустой параметр" -#: internal/arduino/libraries/librariesmanager/install.go:268 +#: internal/arduino/libraries/librariesmanager/install.go:276 +#: internal/arduino/libraries/librariesmanager/install.go:279 +#: internal/arduino/libraries/librariesmanager/install.go:286 +#: internal/arduino/libraries/librariesmanager/install.go:290 msgid "invalid git url" msgstr "неверный git url" @@ -3307,7 +3318,7 @@ msgstr "неверное расположение библиотеки: %s" msgid "invalid library: no header files found" msgstr "недействительная библиотека: заголовочные файлы не найдены" -#: internal/arduino/cores/board.go:146 +#: internal/arduino/cores/board.go:147 msgid "invalid option '%s'" msgstr "недопустимый параметр '%s'" @@ -3323,10 +3334,6 @@ msgstr "неверный путь создания конфигурационн msgid "invalid path writing inventory file: %[1]s error" msgstr "неверный путь записи файла инвентаризации: %[1]s ошибка" -#: internal/arduino/cores/packageindex/index.go:278 -msgid "invalid platform archive size: %s" -msgstr "неверный размер архива платформы: %s" - #: internal/arduino/sketch/profiles.go:252 msgid "invalid platform identifier" msgstr "неверный идентификатор платформы" @@ -3347,7 +3354,7 @@ msgstr "неверное значение в конфигурации порта msgid "invalid port configuration: %s=%s" msgstr "неверная конфигурация порта: %s=%s" -#: commands/service_upload.go:724 +#: commands/service_upload.go:725 msgid "invalid recipe '%[1]s': %[2]s" msgstr "неверный рецепт '%[1]s': %[2]s" @@ -3361,7 +3368,7 @@ msgstr "" "буквенно-цифровым или \"_\", последующие могут также содержать \"-\" и " "\".\". Последний не может быть \".\"." -#: internal/arduino/cores/board.go:150 +#: internal/arduino/cores/board.go:151 msgid "invalid value '%[1]s' for option '%[2]s'" msgstr "недопустимое значение '%[1]s' для параметра '%[2]s'" @@ -3401,11 +3408,11 @@ msgstr "библиотеки, в поле Название которых ука msgid "libraries with a Name exactly matching \"pcf8523\"" msgstr "библиотеки с наименованием, точно совпадающим с \"pcf8523\"" -#: internal/arduino/libraries/librariesmanager/install.go:126 +#: internal/arduino/libraries/librariesmanager/install.go:125 msgid "library %s already installed" msgstr "библиотека %s уже установлена" -#: internal/arduino/libraries/librariesmanager/install.go:315 +#: internal/arduino/libraries/librariesmanager/install.go:342 msgid "library not valid" msgstr "библиотека не найдена" @@ -3419,8 +3426,8 @@ msgstr "загрузка %[1]s: %[2]s" msgid "loading boards: %s" msgstr "загрузка плат: %s" -#: internal/arduino/cores/packagemanager/package_manager.go:501 -#: internal/arduino/cores/packagemanager/package_manager.go:516 +#: internal/arduino/cores/packagemanager/package_manager.go:469 +#: internal/arduino/cores/packagemanager/package_manager.go:484 msgid "loading json index file %[1]s: %[2]s" msgstr "загрузка индексного файла json %[1]s: %[2]s" @@ -3449,7 +3456,7 @@ msgstr "загрузка необходимой платформы %s" msgid "loading required tool %s" msgstr "загрузка необходимого инструмента %s" -#: internal/arduino/cores/packagemanager/loader.go:590 +#: internal/arduino/cores/packagemanager/loader.go:587 msgid "loading tool release in %s" msgstr "загрузка релиза инструмента в %s" @@ -3457,7 +3464,7 @@ msgstr "загрузка релиза инструмента в %s" msgid "looking for boards.txt in %s" msgstr "поиск boards.txt в %s" -#: commands/service_upload.go:806 +#: commands/service_upload.go:807 msgid "looking for build artifacts" msgstr "поиск артефактов сборки" @@ -3473,7 +3480,7 @@ msgstr "отсутствует директива '%s'" msgid "missing checksum for: %s" msgstr "отсутствует контрольная сумма для: %s" -#: internal/arduino/cores/packagemanager/package_manager.go:462 +#: internal/arduino/cores/packagemanager/package_manager.go:430 msgid "missing package %[1]s referenced by board %[2]s" msgstr "отсутствует пакет %[1]s, на который ссылается плата %[2]s" @@ -3483,11 +3490,11 @@ msgstr "" "отсутствует индекс пакета для %s, последующие обновления не могут быть " "гарантированы" -#: internal/arduino/cores/packagemanager/package_manager.go:467 +#: internal/arduino/cores/packagemanager/package_manager.go:435 msgid "missing platform %[1]s:%[2]s referenced by board %[3]s" msgstr "отсутствует релиз платформы %[1]s:%[2]s на которую ссылается %[3]s" -#: internal/arduino/cores/packagemanager/package_manager.go:472 +#: internal/arduino/cores/packagemanager/package_manager.go:440 msgid "missing platform release %[1]s:%[2]s referenced by board %[3]s" msgstr "отсутствует релиз платформы %[1]s:%[2]s на которую ссылается %[3]s" @@ -3495,17 +3502,17 @@ msgstr "отсутствует релиз платформы %[1]s:%[2]s на к msgid "missing signature" msgstr "отсутствует сигнатура" -#: internal/arduino/cores/packagemanager/package_manager.go:757 +#: internal/arduino/cores/packagemanager/package_manager.go:725 msgid "monitor release not found: %s" msgstr "релиз монитора не найден: %s" -#: internal/arduino/libraries/librariesmanager/install.go:197 -#: internal/arduino/libraries/librariesmanager/install.go:246 -#: internal/arduino/resources/install.go:97 +#: internal/arduino/libraries/librariesmanager/install.go:196 +#: internal/arduino/libraries/librariesmanager/install.go:247 +#: internal/arduino/resources/install.go:106 msgid "moving extracted archive to destination dir: %s" msgstr "перемещение извлеченного архива в каталог назначения: %s" -#: commands/service_upload.go:858 +#: commands/service_upload.go:859 msgid "multiple build artifacts found: '%[1]s' and '%[2]s'" msgstr "найдено несколько артефактов сборки: '%[1]s' и '%[2]s'" @@ -3513,7 +3520,7 @@ msgstr "найдено несколько артефактов сборки: '%[ msgid "multiple main sketch files found (%[1]v, %[2]v)" msgstr "найдено несколько основных файлов скетчей (%[1]v, %[2]v)" -#: internal/arduino/cores/packagemanager/install_uninstall.go:338 +#: internal/arduino/cores/packagemanager/install_uninstall.go:340 msgid "" "no compatible version of %[1]s tools found for the current os, try " "contacting %[2]s" @@ -3521,11 +3528,11 @@ msgstr "" "для текущей ОС не найдена совместимая версия инструмента %[1]s, обратитесь к" " %[2]s" -#: commands/service_board_list.go:273 +#: commands/service_board_list.go:106 msgid "no instance specified" msgstr "не указан экземпляр" -#: commands/service_upload.go:813 +#: commands/service_upload.go:814 msgid "no sketch or build directory/file specified" msgstr "скетч или каталог/файл сборки не указан" @@ -3533,12 +3540,12 @@ msgstr "скетч или каталог/файл сборки не указан msgid "no such file or directory" msgstr "файл или каталог не найден" -#: internal/arduino/resources/install.go:126 +#: internal/arduino/resources/install.go:135 msgid "no unique root dir in archive, found '%[1]s' and '%[2]s'" msgstr "" "нет уникального корневого каталога в архиве, найдены '%[1]s' и '%[2]s'" -#: commands/service_upload.go:719 +#: commands/service_upload.go:720 msgid "no upload port provided" msgstr "порт загрузки не указан" @@ -3546,11 +3553,11 @@ msgstr "порт загрузки не указан" msgid "no valid sketch found in %[1]s: missing %[2]s" msgstr "не найдено скетчей в %[1]s: отсутствует %[2]s" -#: internal/arduino/cores/packagemanager/download.go:128 +#: internal/arduino/cores/packagemanager/download.go:130 msgid "no versions available for the current OS, try contacting %s" msgstr "нет доступных версий для текущей ОС, попробуйте связаться с %s" -#: internal/arduino/cores/fqbn.go:50 +#: pkg/fqbn/fqbn.go:53 msgid "not an FQBN: %s" msgstr "не FQBN: %s" @@ -3559,7 +3566,7 @@ msgid "not running in a terminal" msgstr "не работает в терминале" #: internal/arduino/resources/checksums.go:71 -#: internal/arduino/resources/install.go:60 +#: internal/arduino/resources/install.go:69 msgid "opening archive file: %s" msgstr "открытие файла архива: %s" @@ -3567,26 +3574,26 @@ msgstr "открытие файла архива: %s" msgid "opening boards.txt" msgstr "открытие boards.txt" -#: internal/arduino/security/signatures.go:81 +#: internal/arduino/security/signatures.go:82 msgid "opening signature file: %s" msgstr "открывается файл сигнатуры:" -#: internal/arduino/security/signatures.go:76 +#: internal/arduino/security/signatures.go:78 msgid "opening target file: %s" msgstr "открывается целевой файл: %s" -#: internal/arduino/cores/packagemanager/download.go:76 +#: internal/arduino/cores/packagemanager/download.go:78 #: internal/arduino/cores/status.go:97 internal/arduino/cores/status.go:122 #: internal/arduino/cores/status.go:149 msgid "package %s not found" msgstr "пакет %s не найден" -#: internal/arduino/cores/packagemanager/package_manager.go:530 +#: internal/arduino/cores/packagemanager/package_manager.go:498 msgid "package '%s' not found" msgstr "пакет '%s' не найден" -#: internal/arduino/cores/board.go:166 -#: internal/arduino/cores/packagemanager/package_manager.go:295 +#: internal/arduino/cores/board.go:167 +#: internal/arduino/cores/packagemanager/package_manager.go:263 msgid "parsing fqbn: %s" msgstr "разбор fqbn: %s" @@ -3598,26 +3605,26 @@ msgstr "разбор library_index.json: %s" msgid "path is not a platform directory: %s" msgstr "путь не является каталогом платформы: %s" -#: internal/arduino/cores/packagemanager/download.go:80 +#: internal/arduino/cores/packagemanager/download.go:82 msgid "platform %[1]s not found in package %[2]s" msgstr "платформа %[1]s не найдена в пакете %[2]s" -#: internal/arduino/cores/packagemanager/package_manager.go:341 +#: internal/arduino/cores/packagemanager/package_manager.go:309 msgid "platform %s is not installed" msgstr "платформа %s не установлена" -#: internal/arduino/cores/packagemanager/download.go:92 +#: commands/cmderrors/cmderrors.go:427 msgid "platform is not available for your OS" msgstr "платформа не доступна для вашей ОС" -#: commands/service_compile.go:126 -#: internal/arduino/cores/packagemanager/install_uninstall.go:179 -#: internal/arduino/cores/packagemanager/install_uninstall.go:283 -#: internal/arduino/cores/packagemanager/loader.go:420 +#: commands/service_compile.go:129 +#: internal/arduino/cores/packagemanager/install_uninstall.go:181 +#: internal/arduino/cores/packagemanager/install_uninstall.go:285 +#: internal/arduino/cores/packagemanager/loader.go:417 msgid "platform not installed" msgstr "платформа не установлена" -#: internal/cli/compile/compile.go:139 +#: internal/cli/compile/compile.go:142 msgid "please use --build-property instead." msgstr "используйте вместо этого --build-property." @@ -3652,15 +3659,15 @@ msgstr "чтение содержимого каталога %[1]s " #: internal/arduino/cores/packagemanager/loader.go:69 #: internal/arduino/cores/packagemanager/loader.go:151 #: internal/arduino/cores/packagemanager/loader.go:218 -#: internal/arduino/cores/packagemanager/loader.go:582 +#: internal/arduino/cores/packagemanager/loader.go:579 msgid "reading directory %s" msgstr "чтение каталога %s" -#: internal/arduino/libraries/librariesmanager/install.go:288 +#: internal/arduino/libraries/librariesmanager/install.go:315 msgid "reading directory %s content" msgstr "чтение содержимого каталога %s " -#: internal/arduino/builder/sketch.go:81 +#: internal/arduino/builder/sketch.go:83 msgid "reading file %[1]s: %[2]s" msgstr "чтение файла %[1]s: %[2]s" @@ -3684,7 +3691,7 @@ msgstr "чтение исходного каталога библиотеки: % msgid "reading library_index.json: %s" msgstr "чтение library_index.json: %s" -#: internal/arduino/resources/install.go:116 +#: internal/arduino/resources/install.go:125 msgid "reading package root dir: %s" msgstr "чтение корневого каталога пакета: %s" @@ -3692,11 +3699,11 @@ msgstr "чтение корневого каталога пакета: %s" msgid "reading sketch files" msgstr "чтение файлов скетчей" -#: commands/service_upload.go:713 +#: commands/service_upload.go:714 msgid "recipe not found '%s'" msgstr "не найден рецепт '%s'" -#: internal/arduino/cores/packagemanager/package_manager.go:606 +#: internal/arduino/cores/packagemanager/package_manager.go:574 msgid "release %[1]s not found for tool %[2]s" msgstr "релиз %[1]s не найден для инструмента %[2]s" @@ -3709,19 +3716,19 @@ msgstr "релиз не может быть пустым" msgid "removing corrupted archive file: %s" msgstr "удаление поврежденного файла архива: %s" -#: internal/arduino/libraries/librariesmanager/install.go:152 +#: internal/arduino/libraries/librariesmanager/install.go:151 msgid "removing library directory: %s" msgstr "удаление каталога библиотеки: %s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:310 +#: internal/arduino/cores/packagemanager/install_uninstall.go:312 msgid "removing platform files: %s" msgstr "удаление файлов платформы: %s" -#: internal/arduino/cores/packagemanager/download.go:87 +#: internal/arduino/cores/packagemanager/download.go:89 msgid "required version %[1]s not found for platform %[2]s" msgstr "не найдена необходимая версия %[1]s для платформы %[2]s" -#: internal/arduino/security/signatures.go:72 +#: internal/arduino/security/signatures.go:74 msgid "retrieving Arduino public keys: %s" msgstr "получение открытых ключей Arduino: %s" @@ -3730,10 +3737,14 @@ msgstr "получение открытых ключей Arduino: %s" msgid "scanning sketch examples" msgstr "сканирование примеров скетчей" -#: internal/arduino/resources/install.go:74 +#: internal/arduino/resources/install.go:83 msgid "searching package root dir: %s" msgstr "поиск корневого каталога пакета: %s" +#: internal/arduino/security/signatures.go:87 +msgid "signature expired: is your system clock set correctly?" +msgstr "подпись истекла: правильно ли установлены системные часы?" + #: commands/service_sketch_new.go:78 msgid "sketch name cannot be empty" msgstr "наименование скетча не может быть пустым" @@ -3774,11 +3785,11 @@ msgstr "проверка размера архива: %s" msgid "testing if archive is cached: %s" msgstr "проверка кэширован ли архив: %s" -#: internal/arduino/resources/install.go:38 +#: internal/arduino/resources/install.go:46 msgid "testing local archive integrity: %s" msgstr "проверка целостности локального архива: %s" -#: internal/arduino/builder/sizer.go:191 +#: internal/arduino/builder/sizer.go:194 msgid "text section exceeds available space in board" msgstr "секция текста превышает доступное пространство на плате" @@ -3787,7 +3798,7 @@ msgstr "секция текста превышает доступное прос msgid "the compilation database may be incomplete or inaccurate" msgstr "база данных компиляции может быть неполной или неточной" -#: commands/service_board_list.go:102 +#: commands/service_board_identify.go:190 msgid "the server responded with status %s" msgstr "сервер ответил статусом %s" @@ -3795,7 +3806,7 @@ msgstr "сервер ответил статусом %s" msgid "timeout waiting for message" msgstr "тайм-аут ожидания сообщения" -#: internal/arduino/cores/packagemanager/install_uninstall.go:404 +#: internal/arduino/cores/packagemanager/install_uninstall.go:406 msgid "tool %s is not managed by package manager" msgstr "инструмент %s не контролируется менеджером пакетов" @@ -3804,16 +3815,16 @@ msgstr "инструмент %s не контролируется менедже msgid "tool %s not found" msgstr "инструмент %s не найден" -#: internal/arduino/cores/packagemanager/package_manager.go:556 +#: internal/arduino/cores/packagemanager/package_manager.go:524 msgid "tool '%[1]s' not found in package '%[2]s'" msgstr "инструмент '%[1]s' не найден в пакете '%[2]s'" -#: internal/arduino/cores/packagemanager/install_uninstall.go:399 +#: internal/arduino/cores/packagemanager/install_uninstall.go:401 msgid "tool not installed" msgstr "инструмент не установлен" -#: internal/arduino/cores/packagemanager/package_manager.go:735 -#: internal/arduino/cores/packagemanager/package_manager.go:841 +#: internal/arduino/cores/packagemanager/package_manager.go:703 +#: internal/arduino/cores/packagemanager/package_manager.go:809 msgid "tool release not found: %s" msgstr "релиз инструмента не найден: %s" @@ -3821,21 +3832,21 @@ msgstr "релиз инструмента не найден: %s" msgid "tool version %s not found" msgstr "версия инструмента %s не найдена" -#: commands/service_library_install.go:92 +#: commands/service_library_install.go:93 msgid "" "two different versions of the library %[1]s are required: %[2]s and %[3]s" msgstr "две различные версии библиотеки %[1]s необходимы: %[2]s и %[3]s" -#: internal/arduino/builder/sketch.go:74 -#: internal/arduino/builder/sketch.go:118 +#: internal/arduino/builder/sketch.go:76 +#: internal/arduino/builder/sketch.go:120 msgid "unable to compute relative path to the sketch for the item" msgstr "невозможно определить относительный путь к скетчу для элемента" -#: internal/arduino/builder/sketch.go:43 +#: internal/arduino/builder/sketch.go:45 msgid "unable to create a folder to save the sketch" msgstr "невозможно создать каталог для сохранения скетча" -#: internal/arduino/builder/sketch.go:124 +#: internal/arduino/builder/sketch.go:126 msgid "unable to create the folder containing the item" msgstr "невозможно создать каталог для хранения элемента" @@ -3843,23 +3854,23 @@ msgstr "невозможно создать каталог для хранени msgid "unable to marshal config to YAML: %v" msgstr "невозможно преобразовать конфигурацию в YAML: %v" -#: internal/arduino/builder/sketch.go:162 +#: internal/arduino/builder/sketch.go:164 msgid "unable to read contents of the destination item" msgstr "невозможно прочитать содержимое целевого элемента" -#: internal/arduino/builder/sketch.go:135 +#: internal/arduino/builder/sketch.go:137 msgid "unable to read contents of the source item" msgstr "невозможно прочитать содержимое исходного элемента" -#: internal/arduino/builder/sketch.go:145 +#: internal/arduino/builder/sketch.go:147 msgid "unable to write to destination file" msgstr "невозможно записать в целевой файл" -#: internal/arduino/cores/packagemanager/package_manager.go:329 +#: internal/arduino/cores/packagemanager/package_manager.go:297 msgid "unknown package %s" msgstr "неизвестный пакет %s" -#: internal/arduino/cores/packagemanager/package_manager.go:336 +#: internal/arduino/cores/packagemanager/package_manager.go:304 msgid "unknown platform %s:%s" msgstr "неизвестная платформа %s: %s" @@ -3879,7 +3890,7 @@ msgstr "обновить arduino:samd до последней версии" msgid "upgrade everything to the latest version" msgstr "обновить все до последней версии" -#: commands/service_upload.go:759 +#: commands/service_upload.go:760 msgid "uploading error: %s" msgstr "ошибка при загрузке: %s" @@ -3903,6 +3914,6 @@ msgstr "версия %s недоступна для данной операци msgid "version %s not found" msgstr "версия %s не найдена" -#: commands/service_board_list.go:120 +#: commands/service_board_identify.go:208 msgid "wrong format in server response" msgstr "неверный формат в ответе сервера" diff --git a/internal/locales/data/si.po b/internal/locales/data/si.po new file mode 100644 index 00000000000..9be3ef76e29 --- /dev/null +++ b/internal/locales/data/si.po @@ -0,0 +1,3676 @@ +# +# Translators: +# HelaBasa Group , 2024 +# +msgid "" +msgstr "" +"Last-Translator: HelaBasa Group , 2024\n" +"Language-Team: Sinhala (https://app.transifex.com/arduino-1/teams/108174/si/)\n" +"Language: si\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: internal/version/version.go:56 +msgid "%[1]s %[2]s Version: %[3]s Commit: %[4]s Date: %[5]s" +msgstr "" + +#: internal/arduino/builder/internal/detector/detector.go:462 +msgid "%[1]s folder is no longer supported! See %[2]s for more information" +msgstr "" + +#: internal/arduino/builder/build_options_manager.go:140 +msgid "%[1]s invalid, rebuilding all" +msgstr "" + +#: internal/cli/lib/check_deps.go:125 +msgid "%[1]s is required but %[2]s is currently installed." +msgstr "" + +#: internal/arduino/builder/builder.go:487 +msgid "%[1]s pattern is missing" +msgstr "" + +#: internal/arduino/resources/download.go:51 +msgid "%s already downloaded" +msgstr "" + +#: commands/service_upload.go:782 +msgid "%s and %s cannot be used together" +msgstr "" + +#: internal/arduino/cores/packagemanager/install_uninstall.go:373 +msgid "%s installed" +msgstr "%s ස්ථාපිතයි" + +#: internal/cli/lib/check_deps.go:122 +msgid "%s is already installed." +msgstr "" + +#: internal/arduino/cores/packagemanager/loader.go:63 +#: internal/arduino/cores/packagemanager/loader.go:614 +msgid "%s is not a directory" +msgstr "" + +#: internal/arduino/cores/packagemanager/install_uninstall.go:292 +msgid "%s is not managed by package manager" +msgstr "" + +#: internal/cli/daemon/daemon.go:67 +msgid "%s must be >= 1024" +msgstr "" + +#: internal/cli/lib/check_deps.go:119 +msgid "%s must be installed." +msgstr "" + +#: internal/arduino/builder/internal/preprocessor/ctags.go:193 +#: internal/arduino/builder/internal/preprocessor/gcc.go:63 +msgid "%s pattern is missing" +msgstr "" + +#: commands/cmderrors/cmderrors.go:839 +msgid "'%s' has an invalid signature" +msgstr "" + +#: internal/arduino/cores/packagemanager/package_manager.go:416 +msgid "" +"'build.core' and 'build.variant' refer to different platforms: %[1]s and " +"%[2]s" +msgstr "" + +#: internal/cli/board/listall.go:97 internal/cli/board/search.go:94 +msgid "(hidden)" +msgstr "(සැඟවුණු)" + +#: internal/arduino/builder/libraries.go:303 +msgid "(legacy)" +msgstr "(පරණ)" + +#: internal/cli/lib/install.go:82 +msgid "" +"--git-url and --zip-path are disabled by default, for more information see: " +"%v" +msgstr "" + +#: internal/cli/lib/install.go:84 +msgid "" +"--git-url and --zip-path flags allow installing untrusted files, use it at " +"your own risk." +msgstr "" + +#: internal/cli/lib/install.go:87 +msgid "--git-url or --zip-path can't be used with --install-in-builtin-dir" +msgstr "" + +#: commands/service_sketch_new.go:66 +msgid ".ino file already exists" +msgstr "" + +#: internal/cli/updater/updater.go:30 +msgid "A new release of Arduino CLI is available:" +msgstr "" + +#: commands/cmderrors/cmderrors.go:300 +msgid "A programmer is required to upload" +msgstr "" + +#: internal/cli/core/download.go:35 internal/cli/core/install.go:37 +#: internal/cli/core/uninstall.go:36 internal/cli/core/upgrade.go:38 +msgid "ARCH" +msgstr "ARCH" + +#: internal/cli/generatedocs/generatedocs.go:80 +msgid "ARDUINO COMMAND LINE MANUAL" +msgstr "" + +#: internal/cli/usage.go:28 +msgid "Additional help topics:" +msgstr "" + +#: internal/cli/config/add.go:34 internal/cli/config/add.go:35 +msgid "Adds one or more values to a setting." +msgstr "" + +#: internal/cli/usage.go:23 +msgid "Aliases:" +msgstr "" + +#: internal/cli/core/list.go:112 +msgid "All platforms are up to date." +msgstr "" + +#: internal/cli/core/upgrade.go:87 +msgid "All the cores are already at the latest version" +msgstr "" + +#: commands/service_library_install.go:136 +msgid "Already installed %s" +msgstr "" + +#: internal/arduino/builder/internal/detector/detector.go:91 +msgid "Alternatives for %[1]s: %[2]s" +msgstr "" + +#: internal/arduino/builder/internal/preprocessor/ctags.go:69 +msgid "An error occurred adding prototypes" +msgstr "" + +#: internal/arduino/builder/internal/detector/detector.go:213 +msgid "An error occurred detecting libraries" +msgstr "" + +#: internal/cli/daemon/daemon.go:87 +msgid "Append debug logging to the specified file" +msgstr "" + +#: internal/cli/lib/search.go:208 +msgid "Architecture: %s" +msgstr "" + +#: commands/service_sketch_archive.go:69 +msgid "Archive already exists" +msgstr "" + +#: internal/arduino/builder/core.go:164 +msgid "Archiving built core (caching) in: %[1]s" +msgstr "" + +#: internal/cli/sketch/sketch.go:30 internal/cli/sketch/sketch.go:31 +msgid "Arduino CLI sketch commands." +msgstr "" + +#: internal/cli/cli.go:88 +msgid "Arduino CLI." +msgstr "" + +#: internal/cli/cli.go:89 +msgid "Arduino Command Line Interface (arduino-cli)." +msgstr "" + +#: internal/cli/board/board.go:30 internal/cli/board/board.go:31 +msgid "Arduino board commands." +msgstr "" + +#: internal/cli/cache/cache.go:30 internal/cli/cache/cache.go:31 +msgid "Arduino cache commands." +msgstr "" + +#: internal/cli/lib/lib.go:30 internal/cli/lib/lib.go:31 +msgid "Arduino commands about libraries." +msgstr "" + +#: internal/cli/config/config.go:35 +msgid "Arduino configuration commands." +msgstr "" + +#: internal/cli/core/core.go:30 internal/cli/core/core.go:31 +msgid "Arduino core operations." +msgstr "" + +#: internal/cli/lib/check_deps.go:62 internal/cli/lib/install.go:130 +msgid "Arguments error: %v" +msgstr "" + +#: internal/cli/board/attach.go:36 +msgid "Attaches a sketch to a board." +msgstr "" + +#: internal/cli/lib/search.go:199 +msgid "Author: %s" +msgstr "කර්තෘ: %s" + +#: internal/arduino/libraries/librariesmanager/install.go:78 +msgid "" +"Automatic library install can't be performed in this case, please manually " +"remove all duplicates and retry." +msgstr "" + +#: commands/service_library_uninstall.go:87 +msgid "" +"Automatic library uninstall can't be performed in this case, please manually" +" remove them." +msgstr "" + +#: internal/cli/lib/list.go:138 +msgid "Available" +msgstr "" + +#: internal/cli/usage.go:25 +msgid "Available Commands:" +msgstr "" + +#: internal/cli/upload/upload.go:75 +msgid "Binary file to upload." +msgstr "" + +#: internal/cli/board/list.go:104 internal/cli/board/list.go:142 +#: internal/cli/board/listall.go:84 internal/cli/board/search.go:85 +msgid "Board Name" +msgstr "" + +#: internal/cli/board/details.go:139 +msgid "Board name:" +msgstr "" + +#: internal/cli/board/details.go:141 +msgid "Board version:" +msgstr "" + +#: internal/arduino/builder/sketch.go:245 +msgid "Bootloader file specified but missing: %[1]s" +msgstr "" + +#: internal/cli/compile/compile.go:104 +msgid "" +"Builds of cores and sketches are saved into this path to be cached and " +"reused." +msgstr "" + +#: internal/arduino/resources/index.go:65 +msgid "Can't create data directory %s" +msgstr "" + +#: commands/cmderrors/cmderrors.go:532 +msgid "Can't create sketch" +msgstr "" + +#: commands/service_library_download.go:95 +#: commands/service_library_download.go:98 +msgid "Can't download library" +msgstr "" + +#: commands/service_platform_uninstall.go:89 +#: internal/arduino/cores/packagemanager/install_uninstall.go:138 +msgid "Can't find dependencies for platform %s" +msgstr "" + +#: commands/cmderrors/cmderrors.go:558 +msgid "Can't open sketch" +msgstr "" + +#: commands/cmderrors/cmderrors.go:545 +msgid "Can't update sketch" +msgstr "" + +#: internal/cli/arguments/arguments.go:38 +msgid "Can't use the following flags together: %s" +msgstr "" + +#: internal/cli/daemon/daemon.go:117 +msgid "Can't write debug log: %s" +msgstr "" + +#: commands/service_compile.go:190 commands/service_compile.go:193 +msgid "Cannot create build cache directory" +msgstr "" + +#: commands/service_compile.go:215 +msgid "Cannot create build directory" +msgstr "" + +#: internal/cli/config/init.go:100 +msgid "Cannot create config file directory: %v" +msgstr "" + +#: internal/cli/config/init.go:124 +msgid "Cannot create config file: %v" +msgstr "" + +#: commands/cmderrors/cmderrors.go:802 +msgid "Cannot create temp dir" +msgstr "" + +#: commands/cmderrors/cmderrors.go:820 +msgid "Cannot create temp file" +msgstr "" + +#: internal/cli/config/delete.go:55 +msgid "Cannot delete the key %[1]s: %[2]v" +msgstr "" + +#: commands/service_debug.go:228 +msgid "Cannot execute debug tool" +msgstr "" + +#: internal/cli/config/init.go:77 internal/cli/config/init.go:84 +msgid "Cannot find absolute path: %v" +msgstr "" + +#: internal/cli/config/add.go:63 internal/cli/config/add.go:65 +#: internal/cli/config/get.go:59 internal/cli/config/remove.go:63 +#: internal/cli/config/remove.go:65 +msgid "Cannot get the configuration key %[1]s: %[2]v" +msgstr "" + +#: internal/arduino/cores/packagemanager/install_uninstall.go:145 +msgid "Cannot install platform" +msgstr "" + +#: internal/arduino/cores/packagemanager/install_uninstall.go:351 +msgid "Cannot install tool %s" +msgstr "" + +#: commands/service_upload.go:544 +msgid "Cannot perform port reset: %s" +msgstr "" + +#: internal/cli/config/add.go:75 internal/cli/config/add.go:77 +#: internal/cli/config/remove.go:73 internal/cli/config/remove.go:75 +msgid "Cannot remove the configuration key %[1]s: %[2]v" +msgstr "" + +#: internal/arduino/cores/packagemanager/install_uninstall.go:163 +msgid "Cannot upgrade platform" +msgstr "" + +#: internal/cli/lib/search.go:207 +msgid "Category: %s" +msgstr "" + +#: internal/cli/lib/check_deps.go:39 internal/cli/lib/check_deps.go:40 +msgid "Check dependencies status for the specified library." +msgstr "" + +#: internal/cli/debug/debug_check.go:42 +msgid "Check if the given board/programmer combination supports debugging." +msgstr "" + +#: internal/arduino/resources/checksums.go:166 +msgid "Checksum differs from checksum in package.json" +msgstr "" + +#: internal/cli/board/details.go:190 +msgid "Checksum:" +msgstr "" + +#: internal/cli/cache/cache.go:32 +msgid "Clean caches." +msgstr "" + +#: internal/cli/cli.go:181 +msgid "Comma-separated list of additional URLs for the Boards Manager." +msgstr "" + +#: internal/cli/board/list.go:56 +msgid "" +"Command keeps running and prints list of connected boards whenever there is " +"a change." +msgstr "" + +#: commands/service_debug_config.go:178 commands/service_upload.go:452 +msgid "Compiled sketch not found in %s" +msgstr "" + +#: internal/arduino/builder/internal/preprocessor/gcc.go:93 +msgid "Compiler error output has been truncated." +msgstr "" + +#: internal/cli/compile/compile.go:80 internal/cli/compile/compile.go:81 +msgid "Compiles Arduino sketches." +msgstr "" + +#: internal/arduino/builder/builder.go:421 +msgid "Compiling core..." +msgstr "" + +#: internal/arduino/builder/builder.go:400 +msgid "Compiling libraries..." +msgstr "" + +#: internal/arduino/builder/libraries.go:134 +msgid "Compiling library \"%[1]s\"" +msgstr "" + +#: internal/arduino/builder/builder.go:384 +msgid "Compiling sketch..." +msgstr "" + +#: internal/cli/config/init.go:94 +msgid "" +"Config file already exists, use --overwrite to discard the existing one." +msgstr "" + +#: internal/cli/config/init.go:179 +msgid "Config file written to: %s" +msgstr "" + +#: internal/cli/debug/debug.go:250 +msgid "Configuration options for %s" +msgstr "" + +#: internal/cli/monitor/monitor.go:78 +msgid "" +"Configure communication port settings. The format is " +"=[,=]..." +msgstr "" + +#: internal/arduino/cores/packagemanager/install_uninstall.go:179 +msgid "Configuring platform." +msgstr "" + +#: internal/arduino/cores/packagemanager/install_uninstall.go:361 +msgid "Configuring tool." +msgstr "" + +#: internal/cli/board/list.go:198 +msgid "Connected" +msgstr "" + +#: internal/cli/monitor/monitor.go:275 +msgid "Connecting to %s. Press CTRL-C to exit." +msgstr "" + +#: internal/cli/board/list.go:104 internal/cli/board/list.go:142 +msgid "Core" +msgstr "" + +#: internal/cli/configuration/network.go:127 +msgid "Could not connect via HTTP" +msgstr "" + +#: commands/instances.go:487 +msgid "Could not create index directory" +msgstr "" + +#: internal/arduino/builder/core.go:42 +msgid "Couldn't deeply cache core build: %[1]s" +msgstr "" + +#: internal/arduino/builder/sizer.go:155 +msgid "Couldn't determine program size" +msgstr "" + +#: internal/cli/arguments/sketch.go:37 internal/cli/lib/install.go:111 +msgid "Couldn't get current working directory: %v" +msgstr "" + +#: internal/cli/sketch/new.go:37 internal/cli/sketch/new.go:38 +msgid "Create a new Sketch" +msgstr "" + +#: internal/cli/compile/compile.go:101 +msgid "Create and print a profile configuration from the build." +msgstr "" + +#: internal/cli/sketch/archive.go:37 internal/cli/sketch/archive.go:38 +msgid "Creates a zip file containing all sketch files." +msgstr "" + +#: internal/cli/config/init.go:46 +msgid "" +"Creates or updates the configuration file in the data directory or custom " +"directory with the current configuration settings." +msgstr "" + +#: internal/cli/compile/compile.go:340 +msgid "" +"Currently, Build Profiles only support libraries available through Arduino " +"Library Manager." +msgstr "" + +#: internal/cli/debug/debug.go:266 +msgid "Custom configuration for %s:" +msgstr "" + +#: internal/cli/feedback/result/rpc.go:146 +#: internal/cli/outdated/outdated.go:119 +msgid "DEPRECATED" +msgstr "" + +#: internal/cli/daemon/daemon.go:195 +msgid "Daemon is now listening on %s:%s" +msgstr "" + +#: internal/cli/debug/debug.go:53 +msgid "Debug Arduino sketches." +msgstr "" + +#: internal/cli/debug/debug.go:54 +msgid "" +"Debug Arduino sketches. (this command opens an interactive gdb session)" +msgstr "" + +#: internal/cli/debug/debug.go:70 internal/cli/debug/debug_check.go:51 +msgid "Debug interpreter e.g.: %s" +msgstr "" + +#: commands/service_debug_config.go:215 +msgid "Debugging not supported for board %s" +msgstr "" + +#: internal/cli/monitor/monitor.go:331 +msgid "Default" +msgstr "" + +#: internal/cli/board/attach.go:115 +msgid "Default FQBN set to" +msgstr "" + +#: internal/cli/board/attach.go:114 +msgid "Default port set to" +msgstr "" + +#: internal/cli/board/attach.go:116 +msgid "Default programmer set to" +msgstr "" + +#: internal/cli/cache/clean.go:32 +msgid "Delete Boards/Library Manager download cache." +msgstr "" + +#: internal/cli/cache/clean.go:33 +msgid "" +"Delete contents of the downloads cache folder, where archive files are " +"staged during installation of libraries and boards platforms." +msgstr "" + +#: internal/cli/config/delete.go:32 internal/cli/config/delete.go:33 +msgid "Deletes a settings key and all its sub keys." +msgstr "" + +#: internal/cli/lib/search.go:215 +msgid "Dependencies: %s" +msgstr "" + +#: internal/cli/lib/list.go:138 internal/cli/outdated/outdated.go:106 +msgid "Description" +msgstr "" + +#: internal/arduino/builder/builder.go:314 +msgid "Detecting libraries used..." +msgstr "" + +#: internal/cli/board/list.go:46 +msgid "" +"Detects and displays a list of boards connected to the current computer." +msgstr "" + +#: internal/cli/debug/debug.go:71 internal/cli/debug/debug.go:72 +msgid "Directory containing binaries for debug." +msgstr "" + +#: internal/cli/upload/upload.go:73 internal/cli/upload/upload.go:74 +msgid "Directory containing binaries to upload." +msgstr "" + +#: internal/cli/generatedocs/generatedocs.go:45 +msgid "" +"Directory where to save generated files. Default is './docs', the directory " +"must exist." +msgstr "" + +#: internal/cli/completion/completion.go:44 +msgid "Disable completion description for shells that support it" +msgstr "" + +#: internal/cli/board/list.go:199 +msgid "Disconnected" +msgstr "" + +#: internal/cli/daemon/daemon.go:90 +msgid "Display only the provided gRPC calls" +msgstr "" + +#: internal/cli/lib/install.go:62 +msgid "Do not install dependencies." +msgstr "" + +#: internal/cli/lib/install.go:63 +msgid "Do not overwrite already installed libraries." +msgstr "" + +#: internal/cli/core/install.go:56 +msgid "Do not overwrite already installed platforms." +msgstr "" + +#: internal/cli/burnbootloader/burnbootloader.go:64 +#: internal/cli/upload/upload.go:81 +msgid "Do not perform the actual upload, just log out actions" +msgstr "" + +#: internal/cli/daemon/daemon.go:81 +msgid "Do not terminate daemon process if the parent process dies" +msgstr "" + +#: internal/cli/lib/check_deps.go:52 +msgid "Do not try to update library dependencies if already installed." +msgstr "" + +#: commands/service_library_download.go:92 +msgid "Downloading %s" +msgstr "" + +#: internal/arduino/resources/index.go:137 +msgid "Downloading index signature: %s" +msgstr "" + +#: commands/instances.go:564 commands/instances.go:582 +#: commands/instances.go:596 commands/instances.go:613 +#: internal/arduino/resources/index.go:82 +msgid "Downloading index: %s" +msgstr "" + +#: commands/instances.go:372 +msgid "Downloading library %s" +msgstr "" + +#: commands/instances.go:54 +msgid "Downloading missing tool %s" +msgstr "" + +#: internal/arduino/cores/packagemanager/install_uninstall.go:98 +msgid "Downloading packages" +msgstr "" + +#: internal/arduino/cores/packagemanager/profiles.go:101 +msgid "Downloading platform %s" +msgstr "" + +#: internal/arduino/cores/packagemanager/profiles.go:177 +msgid "Downloading tool %s" +msgstr "" + +#: internal/cli/core/download.go:36 internal/cli/core/download.go:37 +msgid "Downloads one or more cores and corresponding tool dependencies." +msgstr "" + +#: internal/cli/lib/download.go:36 internal/cli/lib/download.go:37 +msgid "Downloads one or more libraries without installing them." +msgstr "" + +#: internal/cli/daemon/daemon.go:84 +msgid "Enable debug logging of gRPC calls" +msgstr "" + +#: internal/cli/lib/install.go:65 +msgid "Enter a path to zip file" +msgstr "" + +#: internal/cli/lib/install.go:64 +msgid "Enter git url for libraries hosted on repositories" +msgstr "" + +#: commands/service_sketch_archive.go:105 +msgid "Error adding file to sketch archive" +msgstr "" + +#: internal/arduino/builder/core.go:170 +msgid "Error archiving built core (caching) in %[1]s: %[2]s" +msgstr "" + +#: internal/cli/sketch/archive.go:85 +msgid "Error archiving: %v" +msgstr "" + +#: commands/service_sketch_archive.go:93 +msgid "Error calculating relative file path" +msgstr "" + +#: internal/cli/cache/clean.go:48 +msgid "Error cleaning caches: %v" +msgstr "" + +#: internal/cli/compile/compile.go:225 +msgid "Error converting path to absolute: %v" +msgstr "" + +#: commands/service_compile.go:420 +msgid "Error copying output file %s" +msgstr "" + +#: internal/cli/config/init.go:106 internal/cli/config/init.go:113 +#: internal/cli/config/init.go:120 internal/cli/config/init.go:134 +#: internal/cli/config/init.go:138 +msgid "Error creating configuration: %v" +msgstr "" + +#: internal/cli/instance/instance.go:43 +msgid "Error creating instance: %v" +msgstr "" + +#: commands/service_compile.go:403 +msgid "Error creating output dir" +msgstr "" + +#: commands/service_sketch_archive.go:81 +msgid "Error creating sketch archive" +msgstr "" + +#: internal/cli/sketch/new.go:71 internal/cli/sketch/new.go:83 +msgid "Error creating sketch: %v" +msgstr "" + +#: internal/cli/board/list.go:83 internal/cli/board/list.go:97 +msgid "Error detecting boards: %v" +msgstr "" + +#: internal/cli/core/download.go:71 internal/cli/lib/download.go:69 +msgid "Error downloading %[1]s: %[2]v" +msgstr "" + +#: internal/arduino/cores/packagemanager/profiles.go:110 +#: internal/arduino/cores/packagemanager/profiles.go:111 +msgid "Error downloading %s" +msgstr "" + +#: commands/instances.go:661 internal/arduino/resources/index.go:83 +msgid "Error downloading index '%s'" +msgstr "" + +#: internal/arduino/resources/index.go:138 +msgid "Error downloading index signature '%s'" +msgstr "" + +#: commands/instances.go:382 commands/instances.go:388 +msgid "Error downloading library %s" +msgstr "" + +#: internal/arduino/cores/packagemanager/profiles.go:128 +#: internal/arduino/cores/packagemanager/profiles.go:129 +msgid "Error downloading platform %s" +msgstr "" + +#: internal/arduino/cores/packagemanager/download.go:129 +#: internal/arduino/cores/packagemanager/profiles.go:179 +msgid "Error downloading tool %s" +msgstr "" + +#: internal/cli/debug/debug.go:162 internal/cli/debug/debug.go:195 +msgid "Error during Debug: %v" +msgstr "" + +#: internal/cli/feedback/feedback.go:236 internal/cli/feedback/feedback.go:242 +msgid "Error during JSON encoding of the output: %v" +msgstr "" + +#: internal/cli/burnbootloader/burnbootloader.go:78 +#: internal/cli/burnbootloader/burnbootloader.go:100 +#: internal/cli/compile/compile.go:269 internal/cli/compile/compile.go:311 +#: internal/cli/upload/upload.go:99 internal/cli/upload/upload.go:128 +msgid "Error during Upload: %v" +msgstr "" + +#: internal/cli/arguments/port.go:144 +msgid "Error during board detection" +msgstr "" + +#: internal/cli/compile/compile.go:394 +msgid "Error during build: %v" +msgstr "" + +#: internal/cli/core/install.go:81 +msgid "Error during install: %v" +msgstr "" + +#: internal/cli/core/uninstall.go:75 +msgid "Error during uninstall: %v" +msgstr "" + +#: internal/cli/core/upgrade.go:136 +msgid "Error during upgrade: %v" +msgstr "" + +#: internal/arduino/resources/index.go:105 +#: internal/arduino/resources/index.go:124 +msgid "Error extracting %s" +msgstr "" + +#: commands/service_upload.go:449 +msgid "Error finding build artifacts" +msgstr "" + +#: internal/cli/debug/debug.go:139 +msgid "Error getting Debug info: %v" +msgstr "" + +#: commands/service_sketch_archive.go:57 +msgid "Error getting absolute path of sketch archive" +msgstr "" + +#: internal/cli/board/details.go:74 +msgid "Error getting board details: %v" +msgstr "" + +#: internal/arduino/builder/internal/compilation/database.go:82 +msgid "Error getting current directory for compilation database: %s" +msgstr "" + +#: internal/cli/monitor/monitor.go:105 +msgid "" +"Error getting default port from `sketch.yaml`. Check if you're in the " +"correct sketch folder or provide the --port flag: %s" +msgstr "" + +#: commands/service_compile.go:338 commands/service_library_list.go:115 +msgid "Error getting information for library %s" +msgstr "" + +#: internal/cli/lib/examples.go:75 +msgid "Error getting libraries info: %v" +msgstr "" + +#: internal/cli/arguments/fqbn.go:96 +msgid "Error getting port metadata: %v" +msgstr "" + +#: internal/cli/monitor/monitor.go:154 +msgid "Error getting port settings details: %s" +msgstr "" + +#: internal/cli/upload/upload.go:169 +msgid "Error getting user input" +msgstr "" + +#: internal/cli/instance/instance.go:82 internal/cli/instance/instance.go:100 +msgid "Error initializing instance: %v" +msgstr "" + +#: internal/cli/lib/install.go:148 +msgid "Error installing %s: %v" +msgstr "" + +#: internal/cli/lib/install.go:122 +msgid "Error installing Git Library: %v" +msgstr "" + +#: internal/cli/lib/install.go:100 +msgid "Error installing Zip Library: %v" +msgstr "" + +#: commands/instances.go:398 +msgid "Error installing library %s" +msgstr "" + +#: internal/arduino/cores/packagemanager/profiles.go:136 +#: internal/arduino/cores/packagemanager/profiles.go:137 +msgid "Error installing platform %s" +msgstr "" + +#: internal/arduino/cores/packagemanager/profiles.go:180 +#: internal/arduino/cores/packagemanager/profiles.go:187 +#: internal/arduino/cores/packagemanager/profiles.go:188 +msgid "Error installing tool %s" +msgstr "" + +#: internal/cli/board/listall.go:66 +msgid "Error listing boards: %v" +msgstr "" + +#: internal/cli/lib/list.go:91 +msgid "Error listing libraries: %v" +msgstr "" + +#: internal/cli/core/list.go:69 +msgid "Error listing platforms: %v" +msgstr "" + +#: commands/cmderrors/cmderrors.go:445 +msgid "Error loading hardware platform" +msgstr "" + +#: internal/arduino/cores/packagemanager/profiles.go:114 +#: internal/arduino/cores/packagemanager/profiles.go:115 +msgid "Error loading index %s" +msgstr "" + +#: internal/arduino/resources/index.go:99 +msgid "Error opening %s" +msgstr "" + +#: internal/cli/daemon/daemon.go:111 +msgid "Error opening debug logging file: %s" +msgstr "" + +#: internal/cli/compile/compile.go:196 +msgid "Error opening source code overrides data file: %v" +msgstr "" + +#: internal/cli/compile/compile.go:209 +msgid "Error parsing --show-properties flag: %v" +msgstr "" + +#: commands/service_compile.go:412 +msgid "Error reading build directory" +msgstr "" + +#: commands/service_sketch_archive.go:75 +msgid "Error reading sketch files" +msgstr "" + +#: internal/cli/lib/check_deps.go:72 +msgid "Error resolving dependencies for %[1]s: %[2]s" +msgstr "" + +#: internal/cli/core/upgrade.go:68 +msgid "Error retrieving core list: %v" +msgstr "" + +#: internal/arduino/cores/packagemanager/install_uninstall.go:160 +msgid "Error rolling-back changes: %s" +msgstr "" + +#: internal/arduino/resources/index.go:165 +#: internal/arduino/resources/index.go:177 +msgid "Error saving downloaded index" +msgstr "" + +#: internal/arduino/resources/index.go:172 +#: internal/arduino/resources/index.go:181 +msgid "Error saving downloaded index signature" +msgstr "" + +#: internal/cli/board/search.go:63 +msgid "Error searching boards: %v" +msgstr "" + +#: internal/cli/lib/search.go:126 +msgid "Error searching for Libraries: %v" +msgstr "" + +#: internal/cli/core/search.go:82 +msgid "Error searching for platforms: %v" +msgstr "" + +#: internal/arduino/builder/internal/compilation/database.go:67 +msgid "Error serializing compilation database: %s" +msgstr "" + +#: internal/cli/monitor/monitor.go:224 +msgid "Error setting raw mode: %s" +msgstr "" + +#: internal/cli/config/set.go:67 internal/cli/config/set.go:74 +msgid "Error setting value: %v" +msgstr "" + +#: internal/cli/board/list.go:86 +msgid "Error starting discovery: %v" +msgstr "" + +#: internal/cli/lib/uninstall.go:67 +msgid "Error uninstalling %[1]s: %[2]v" +msgstr "" + +#: internal/cli/lib/search.go:113 internal/cli/lib/update_index.go:59 +msgid "Error updating library index: %v" +msgstr "" + +#: internal/cli/lib/upgrade.go:75 +msgid "Error upgrading libraries" +msgstr "" + +#: internal/arduino/cores/packagemanager/install_uninstall.go:155 +msgid "Error upgrading platform: %s" +msgstr "" + +#: internal/arduino/resources/index.go:147 +#: internal/arduino/resources/index.go:153 +msgid "Error verifying signature" +msgstr "" + +#: internal/arduino/builder/internal/detector/detector.go:369 +msgid "Error while detecting libraries included by %[1]s" +msgstr "" + +#: internal/arduino/builder/sizer.go:80 internal/arduino/builder/sizer.go:89 +#: internal/arduino/builder/sizer.go:92 internal/arduino/builder/sizer.go:111 +#: internal/arduino/builder/sizer.go:218 internal/arduino/builder/sizer.go:228 +#: internal/arduino/builder/sizer.go:232 +msgid "Error while determining sketch size: %s" +msgstr "" + +#: internal/arduino/builder/internal/compilation/database.go:70 +msgid "Error writing compilation database: %s" +msgstr "" + +#: internal/cli/config/config.go:84 internal/cli/config/config.go:91 +msgid "Error writing to file: %v" +msgstr "" + +#: internal/cli/completion/completion.go:56 +msgid "Error: command description is not supported by %v" +msgstr "" + +#: internal/cli/compile/compile.go:202 +msgid "Error: invalid source code overrides data file: %v" +msgstr "" + +#: internal/cli/board/list.go:104 +msgid "Event" +msgstr "" + +#: internal/cli/lib/examples.go:123 +msgid "Examples for library %s" +msgstr "" + +#: internal/cli/usage.go:24 +msgid "Examples:" +msgstr "" + +#: internal/cli/debug/debug.go:233 +msgid "Executable to debug" +msgstr "" + +#: commands/service_debug_config.go:181 commands/service_upload.go:455 +msgid "Expected compiled sketch in directory %s, but is a file instead" +msgstr "" + +#: internal/cli/board/attach.go:35 internal/cli/board/details.go:41 +#: internal/cli/board/list.go:104 internal/cli/board/list.go:142 +#: internal/cli/board/listall.go:84 internal/cli/board/search.go:85 +msgid "FQBN" +msgstr "" + +#: internal/cli/board/details.go:140 +msgid "FQBN:" +msgstr "" + +#: commands/service_upload.go:578 +msgid "Failed chip erase" +msgstr "" + +#: commands/service_upload.go:585 +msgid "Failed programming" +msgstr "" + +#: commands/service_upload.go:581 +msgid "Failed to burn bootloader" +msgstr "" + +#: commands/instances.go:88 +msgid "Failed to create data directory" +msgstr "" + +#: commands/instances.go:77 +msgid "Failed to create downloads directory" +msgstr "" + +#: internal/cli/daemon/daemon.go:150 +msgid "Failed to listen on TCP port: %[1]s. %[2]s is an invalid port." +msgstr "" + +#: internal/cli/daemon/daemon.go:145 +msgid "Failed to listen on TCP port: %[1]s. %[2]s is unknown name." +msgstr "" + +#: internal/cli/daemon/daemon.go:157 +msgid "Failed to listen on TCP port: %[1]s. Unexpected error: %[2]v" +msgstr "" + +#: internal/cli/daemon/daemon.go:155 +msgid "Failed to listen on TCP port: %s. Address already in use." +msgstr "" + +#: commands/service_upload.go:589 +msgid "Failed uploading" +msgstr "" + +#: internal/cli/board/details.go:188 +msgid "File:" +msgstr "" + +#: commands/service_compile.go:163 +msgid "" +"Firmware encryption/signing requires all the following properties to be " +"defined: %s" +msgstr "" + +#: commands/service_debug.go:187 +msgid "First message must contain debug request, not data" +msgstr "" + +#: internal/cli/arguments/arguments.go:49 +msgid "Flag %[1]s is mandatory when used in conjunction with: %[2]s" +msgstr "" + +#: internal/cli/usage.go:26 +msgid "Flags:" +msgstr "" + +#: internal/cli/arguments/pre_post_script.go:38 +msgid "" +"Force run of post-install scripts (if the CLI is not running interactively)." +msgstr "" + +#: internal/cli/arguments/pre_post_script.go:40 +msgid "" +"Force run of pre-uninstall scripts (if the CLI is not running " +"interactively)." +msgstr "" + +#: internal/cli/arguments/pre_post_script.go:39 +msgid "" +"Force skip of post-install scripts (if the CLI is running interactively)." +msgstr "" + +#: internal/cli/arguments/pre_post_script.go:41 +msgid "" +"Force skip of pre-uninstall scripts (if the CLI is running interactively)." +msgstr "" + +#: commands/cmderrors/cmderrors.go:860 +msgid "Found %d platforms matching \"%s\": %s" +msgstr "" + +#: internal/cli/arguments/fqbn.go:39 +msgid "Fully Qualified Board Name, e.g.: arduino:avr:uno" +msgstr "" + +#: commands/service_debug.go:321 +msgid "GDB server '%s' is not supported" +msgstr "" + +#: internal/cli/generatedocs/generatedocs.go:38 +#: internal/cli/generatedocs/generatedocs.go:39 +msgid "Generates bash completion and command manpages." +msgstr "" + +#: internal/cli/completion/completion.go:38 +msgid "Generates completion scripts" +msgstr "" + +#: internal/cli/completion/completion.go:39 +msgid "Generates completion scripts for various shells" +msgstr "" + +#: internal/arduino/builder/builder.go:334 +msgid "Generating function prototypes..." +msgstr "" + +#: internal/cli/config/get.go:35 internal/cli/config/get.go:36 +msgid "Gets a settings key value." +msgstr "" + +#: internal/cli/usage.go:27 +msgid "Global Flags:" +msgstr "" + +#: internal/arduino/builder/sizer.go:166 +msgid "" +"Global variables use %[1]s bytes (%[3]s%%) of dynamic memory, leaving %[4]s " +"bytes for local variables. Maximum is %[2]s bytes." +msgstr "" + +#: internal/arduino/builder/sizer.go:172 +msgid "Global variables use %[1]s bytes of dynamic memory." +msgstr "" + +#: internal/cli/board/details.go:216 internal/cli/core/list.go:117 +#: internal/cli/core/search.go:117 internal/cli/monitor/monitor.go:331 +#: internal/cli/outdated/outdated.go:101 +msgid "ID" +msgstr "" + +#: internal/cli/board/details.go:111 +msgid "Id" +msgstr "" + +#: internal/cli/board/details.go:154 +msgid "Identification properties:" +msgstr "" + +#: internal/cli/compile/compile.go:135 +msgid "If set built binaries will be exported to the sketch folder." +msgstr "" + +#: internal/cli/core/list.go:46 +msgid "" +"If set return all installable and installed cores, including manually " +"installed." +msgstr "" + +#: internal/cli/lib/list.go:55 +msgid "Include built-in libraries (from platforms and IDE) in listing." +msgstr "" + +#: internal/cli/sketch/archive.go:51 +msgid "Includes %s directory in the archive." +msgstr "" + +#: internal/cli/lib/install.go:66 +msgid "Install libraries in the IDE-Builtin directory" +msgstr "" + +#: internal/cli/core/list.go:117 internal/cli/lib/list.go:138 +#: internal/cli/outdated/outdated.go:103 +msgid "Installed" +msgstr "" + +#: commands/service_library_install.go:201 +msgid "Installed %s" +msgstr "" + +#: commands/service_library_install.go:184 +#: internal/arduino/cores/packagemanager/install_uninstall.go:335 +msgid "Installing %s" +msgstr "" + +#: commands/instances.go:396 +msgid "Installing library %s" +msgstr "" + +#: internal/arduino/cores/packagemanager/install_uninstall.go:121 +#: internal/arduino/cores/packagemanager/profiles.go:134 +msgid "Installing platform %s" +msgstr "" + +#: internal/arduino/cores/packagemanager/profiles.go:185 +msgid "Installing tool %s" +msgstr "" + +#: internal/cli/core/install.go:38 internal/cli/core/install.go:39 +msgid "Installs one or more cores and corresponding tool dependencies." +msgstr "" + +#: internal/cli/lib/install.go:46 internal/cli/lib/install.go:47 +msgid "Installs one or more specified libraries into the system." +msgstr "" + +#: internal/arduino/builder/internal/detector/detector.go:394 +msgid "Internal error in cache" +msgstr "" + +#: commands/cmderrors/cmderrors.go:378 +msgid "Invalid '%[1]s' property: %[2]s" +msgstr "" + +#: commands/cmderrors/cmderrors.go:61 +msgid "Invalid FQBN" +msgstr "" + +#: internal/cli/daemon/daemon.go:168 +msgid "Invalid TCP address: port is missing" +msgstr "" + +#: commands/cmderrors/cmderrors.go:79 +msgid "Invalid URL" +msgstr "" + +#: commands/instances.go:184 +msgid "Invalid additional URL: %v" +msgstr "" + +#: internal/arduino/resources/index.go:111 +msgid "Invalid archive: file %[1]s not found in archive %[2]s" +msgstr "" + +#: internal/cli/core/download.go:59 internal/cli/core/install.go:66 +#: internal/cli/core/uninstall.go:58 internal/cli/core/upgrade.go:108 +#: internal/cli/lib/download.go:58 internal/cli/lib/uninstall.go:56 +msgid "Invalid argument passed: %v" +msgstr "" + +#: commands/service_compile.go:282 +msgid "Invalid build properties" +msgstr "" + +#: internal/arduino/builder/sizer.go:253 +msgid "Invalid data size regexp: %s" +msgstr "" + +#: internal/arduino/builder/sizer.go:259 +msgid "Invalid eeprom size regexp: %s" +msgstr "" + +#: commands/instances.go:597 +msgid "Invalid index URL: %s" +msgstr "" + +#: commands/cmderrors/cmderrors.go:47 +msgid "Invalid instance" +msgstr "" + +#: internal/cli/core/upgrade.go:114 +msgid "Invalid item %s" +msgstr "" + +#: commands/cmderrors/cmderrors.go:97 +msgid "Invalid library" +msgstr "" + +#: internal/cli/cli.go:265 +msgid "Invalid logging level: %s" +msgstr "" + +#: commands/instances.go:614 +msgid "Invalid network configuration: %s" +msgstr "" + +#: internal/cli/configuration/network.go:83 +msgid "Invalid network.proxy '%[1]s': %[2]s" +msgstr "" + +#: internal/cli/cli.go:222 +msgid "Invalid output format: %s" +msgstr "" + +#: commands/instances.go:581 +msgid "Invalid package index in %s" +msgstr "" + +#: internal/cli/core/uninstall.go:63 +msgid "Invalid parameter %s: version not allowed" +msgstr "" + +#: commands/service_board_identify.go:169 +msgid "Invalid pid value: '%s'" +msgstr "" + +#: commands/cmderrors/cmderrors.go:221 +msgid "Invalid profile" +msgstr "" + +#: commands/service_monitor.go:270 +msgid "Invalid recipe in platform.txt" +msgstr "" + +#: internal/arduino/builder/sizer.go:243 +msgid "Invalid size regexp: %s" +msgstr "" + +#: main.go:86 +msgid "Invalid value in configuration" +msgstr "" + +#: commands/cmderrors/cmderrors.go:115 +msgid "Invalid version" +msgstr "" + +#: commands/service_board_identify.go:166 +msgid "Invalid vid value: '%s'" +msgstr "" + +#: internal/cli/compile/compile.go:132 +msgid "" +"Just produce the compilation database, without actually compiling. All build" +" commands are skipped except pre* hooks." +msgstr "" + +#: internal/cli/lib/list.go:39 +msgid "LIBNAME" +msgstr "" + +#: internal/cli/lib/check_deps.go:38 internal/cli/lib/install.go:45 +msgid "LIBRARY" +msgstr "" + +#: internal/cli/lib/download.go:35 internal/cli/lib/examples.go:43 +#: internal/cli/lib/uninstall.go:35 +msgid "LIBRARY_NAME" +msgstr "" + +#: internal/cli/core/list.go:117 internal/cli/outdated/outdated.go:104 +msgid "Latest" +msgstr "" + +#: internal/arduino/builder/libraries.go:92 +msgid "Library %[1]s has been declared precompiled:" +msgstr "" + +#: commands/service_library_install.go:142 +#: internal/arduino/libraries/librariesmanager/install.go:130 +msgid "" +"Library %[1]s is already installed, but with a different version: %[2]s" +msgstr "" + +#: commands/service_library_upgrade.go:137 +msgid "Library %s is already at the latest version" +msgstr "" + +#: commands/service_library_uninstall.go:63 +msgid "Library %s is not installed" +msgstr "" + +#: commands/instances.go:375 +msgid "Library %s not found" +msgstr "" + +#: commands/cmderrors/cmderrors.go:466 +msgid "Library '%s' not found" +msgstr "" + +#: internal/arduino/builder/internal/detector/detector.go:471 +msgid "" +"Library can't use both '%[1]s' and '%[2]s' folders. Double check in '%[3]s'." +msgstr "" + +#: commands/cmderrors/cmderrors.go:595 +msgid "Library install failed" +msgstr "" + +#: commands/service_library_install.go:235 +#: commands/service_library_install.go:275 +msgid "Library installed" +msgstr "" + +#: internal/cli/lib/search.go:205 +msgid "License: %s" +msgstr "" + +#: internal/arduino/builder/builder.go:437 +msgid "Linking everything together..." +msgstr "" + +#: internal/cli/board/listall.go:40 +msgid "" +"List all boards that have the support platform installed. You can search\n" +"for a specific board if you specify the board name" +msgstr "" + +#: internal/cli/board/listall.go:39 +msgid "List all known boards and their corresponding FQBN." +msgstr "" + +#: internal/cli/board/list.go:45 +msgid "List connected boards." +msgstr "" + +#: internal/cli/arguments/fqbn.go:44 +msgid "" +"List of board options separated by commas. Or can be used multiple times for" +" multiple options." +msgstr "" + +#: internal/cli/compile/compile.go:110 +msgid "" +"List of custom build properties separated by commas. Or can be used multiple" +" times for multiple properties." +msgstr "" + +#: internal/cli/lib/list.go:57 +msgid "List updatable libraries." +msgstr "" + +#: internal/cli/core/list.go:45 +msgid "List updatable platforms." +msgstr "" + +#: internal/cli/board/board.go:32 +msgid "Lists all connected boards." +msgstr "" + +#: internal/cli/outdated/outdated.go:41 +msgid "Lists cores and libraries that can be upgraded" +msgstr "" + +#: commands/instances.go:222 commands/instances.go:233 +#: commands/instances.go:343 +msgid "Loading index file: %v" +msgstr "" + +#: internal/cli/lib/list.go:138 internal/cli/outdated/outdated.go:105 +msgid "Location" +msgstr "" + +#: internal/arduino/builder/sizer.go:208 +msgid "Low memory available, stability problems may occur." +msgstr "" + +#: internal/cli/lib/search.go:200 +msgid "Maintainer: %s" +msgstr "" + +#: internal/cli/compile/compile.go:140 +msgid "" +"Max number of parallel compiles. If set to 0 the number of available CPUs " +"cores will be used." +msgstr "" + +#: internal/cli/arguments/discovery_timeout.go:32 +msgid "Max time to wait for port discovery, e.g.: 30s, 1m" +msgstr "" + +#: internal/cli/cli.go:170 +msgid "" +"Messages with this level and above will be logged. Valid levels are: %s" +msgstr "" + +#: internal/arduino/builder/internal/detector/detector.go:466 +msgid "Missing '%[1]s' from library in %[2]s" +msgstr "" + +#: commands/cmderrors/cmderrors.go:170 +msgid "Missing FQBN (Fully Qualified Board Name)" +msgstr "" + +#: commands/cmderrors/cmderrors.go:261 +msgid "Missing port" +msgstr "" + +#: commands/cmderrors/cmderrors.go:237 +msgid "Missing port address" +msgstr "" + +#: commands/cmderrors/cmderrors.go:249 +msgid "Missing port protocol" +msgstr "" + +#: commands/cmderrors/cmderrors.go:287 +msgid "Missing programmer" +msgstr "" + +#: internal/cli/upload/upload.go:162 +msgid "Missing required upload field: %s" +msgstr "" + +#: internal/arduino/builder/sizer.go:247 +msgid "Missing size regexp" +msgstr "" + +#: commands/cmderrors/cmderrors.go:518 +msgid "Missing sketch path" +msgstr "" + +#: commands/cmderrors/cmderrors.go:359 +msgid "Monitor '%s' not found" +msgstr "" + +#: internal/cli/monitor/monitor.go:261 +msgid "Monitor port settings:" +msgstr "" + +#: internal/arduino/builder/internal/detector/detector.go:156 +msgid "Multiple libraries were found for \"%[1]s\"" +msgstr "" + +#: internal/cli/board/details.go:216 internal/cli/core/list.go:117 +#: internal/cli/core/search.go:117 internal/cli/lib/list.go:138 +#: internal/cli/outdated/outdated.go:102 +msgid "Name" +msgstr "" + +#: internal/cli/lib/search.go:179 +msgid "Name: \"%s\"" +msgstr "" + +#: internal/cli/upload/upload.go:238 +msgid "New upload port: %[1]s (%[2]s)" +msgstr "" + +#: internal/cli/board/list.go:132 +msgid "No boards found." +msgstr "" + +#: internal/cli/board/attach.go:112 +msgid "No default port, FQBN or programmer set" +msgstr "" + +#: internal/cli/lib/examples.go:108 +msgid "No libraries found." +msgstr "" + +#: internal/cli/lib/list.go:130 +msgid "No libraries installed." +msgstr "" + +#: internal/cli/lib/search.go:168 +msgid "No libraries matching your search." +msgstr "" + +#: internal/cli/lib/search.go:174 +msgid "" +"No libraries matching your search.\n" +"Did you mean...\n" +msgstr "" + +#: internal/cli/lib/list.go:128 +msgid "No libraries update is available." +msgstr "" + +#: commands/cmderrors/cmderrors.go:275 +msgid "No monitor available for the port protocol %s" +msgstr "" + +#: internal/cli/outdated/outdated.go:95 +msgid "No outdated platforms or libraries found." +msgstr "" + +#: internal/cli/core/list.go:114 +msgid "No platforms installed." +msgstr "" + +#: internal/cli/core/search.go:113 +msgid "No platforms matching your search." +msgstr "" + +#: commands/service_upload.go:534 +msgid "No upload port found, using %s as fallback" +msgstr "" + +#: commands/cmderrors/cmderrors.go:485 +msgid "No valid dependencies solution found" +msgstr "" + +#: internal/arduino/builder/sizer.go:198 +msgid "Not enough memory; see %[1]s for tips on reducing your footprint." +msgstr "" + +#: internal/arduino/builder/internal/detector/detector.go:159 +msgid "Not used: %[1]s" +msgstr "" + +#: internal/cli/board/details.go:187 +msgid "OS:" +msgstr "" + +#: internal/cli/board/details.go:145 +msgid "Official Arduino board:" +msgstr "" + +#: internal/cli/lib/search.go:98 +msgid "" +"Omit library details far all versions except the latest (produce a more " +"compact JSON output)." +msgstr "" + +#: internal/cli/monitor/monitor.go:59 internal/cli/monitor/monitor.go:60 +msgid "Open a communication port with a board." +msgstr "" + +#: internal/cli/board/details.go:200 +msgid "Option:" +msgstr "" + +#: internal/cli/compile/compile.go:120 +msgid "" +"Optional, can be: %s. Used to tell gcc which warning level to use (-W flag)." +msgstr "" + +#: internal/cli/compile/compile.go:133 +msgid "Optional, cleanup the build folder and do not use any cached build." +msgstr "" + +#: internal/cli/compile/compile.go:130 +msgid "" +"Optional, optimize compile output for debugging, rather than for release." +msgstr "" + +#: internal/cli/compile/compile.go:122 +msgid "Optional, suppresses almost every output." +msgstr "" + +#: internal/cli/compile/compile.go:121 internal/cli/upload/upload.go:79 +msgid "Optional, turns on verbose mode." +msgstr "" + +#: internal/cli/compile/compile.go:136 +msgid "" +"Optional. Path to a .json file that contains a set of replacements of the " +"sketch source code." +msgstr "" + +#: internal/cli/compile/compile.go:112 +msgid "" +"Override a build property with a custom value. Can be used multiple times " +"for multiple properties." +msgstr "" + +#: internal/cli/debug/debug.go:75 internal/cli/debug/debug_check.go:53 +msgid "" +"Override an debug property with a custom value. Can be used multiple times " +"for multiple properties." +msgstr "" + +#: internal/cli/burnbootloader/burnbootloader.go:61 +#: internal/cli/upload/upload.go:77 +msgid "" +"Override an upload property with a custom value. Can be used multiple times " +"for multiple properties." +msgstr "" + +#: internal/cli/config/init.go:62 +msgid "Overwrite existing config file." +msgstr "" + +#: internal/cli/sketch/archive.go:52 +msgid "Overwrites an already existing archive" +msgstr "" + +#: internal/cli/sketch/new.go:46 +msgid "Overwrites an existing .ino sketch." +msgstr "" + +#: internal/cli/core/download.go:35 internal/cli/core/install.go:37 +#: internal/cli/core/uninstall.go:36 internal/cli/core/upgrade.go:38 +msgid "PACKAGER" +msgstr "" + +#: internal/cli/board/details.go:165 +msgid "Package URL:" +msgstr "" + +#: internal/cli/board/details.go:164 +msgid "Package maintainer:" +msgstr "" + +#: internal/cli/board/details.go:163 +msgid "Package name:" +msgstr "" + +#: internal/cli/board/details.go:167 +msgid "Package online help:" +msgstr "" + +#: internal/cli/board/details.go:166 +msgid "Package website:" +msgstr "" + +#: internal/cli/lib/search.go:202 +msgid "Paragraph: %s" +msgstr "" + +#: internal/cli/compile/compile.go:473 internal/cli/compile/compile.go:488 +msgid "Path" +msgstr "" + +#: internal/cli/compile/compile.go:129 +msgid "" +"Path to a collection of libraries. Can be used multiple times or entries can" +" be comma separated." +msgstr "" + +#: internal/cli/compile/compile.go:127 +msgid "" +"Path to a single library’s root folder. Can be used multiple times or " +"entries can be comma separated." +msgstr "" + +#: internal/cli/cli.go:172 +msgid "Path to the file where logs will be written." +msgstr "" + +#: internal/cli/compile/compile.go:108 +msgid "" +"Path where to save compiled files. If omitted, a directory will be created " +"in the default temporary path of your OS." +msgstr "" + +#: commands/service_upload.go:515 +msgid "Performing 1200-bps touch reset on serial port %s" +msgstr "" + +#: commands/service_platform_install.go:91 +#: commands/service_platform_install.go:98 +msgid "Platform %s already installed" +msgstr "" + +#: internal/arduino/cores/packagemanager/install_uninstall.go:196 +msgid "Platform %s installed" +msgstr "" + +#: internal/cli/compile/compile.go:417 internal/cli/upload/upload.go:148 +msgid "" +"Platform %s is not found in any known index\n" +"Maybe you need to add a 3rd party URL?" +msgstr "" + +#: internal/arduino/cores/packagemanager/install_uninstall.go:320 +msgid "Platform %s uninstalled" +msgstr "" + +#: commands/cmderrors/cmderrors.go:427 +msgid "Platform '%s'" +msgstr "" + +#: commands/cmderrors/cmderrors.go:503 +msgid "Platform '%s' is already at the latest version" +msgstr "" + +#: commands/cmderrors/cmderrors.go:407 +msgid "Platform '%s' not found" +msgstr "" + +#: internal/cli/board/search.go:85 +msgid "Platform ID" +msgstr "" + +#: internal/cli/compile/compile.go:402 internal/cli/upload/upload.go:136 +msgid "Platform ID is not correct" +msgstr "" + +#: internal/cli/board/details.go:173 +msgid "Platform URL:" +msgstr "" + +#: internal/cli/board/details.go:172 +msgid "Platform architecture:" +msgstr "" + +#: internal/cli/board/details.go:171 +msgid "Platform category:" +msgstr "" + +#: internal/cli/board/details.go:178 +msgid "Platform checksum:" +msgstr "" + +#: internal/cli/board/details.go:174 +msgid "Platform file name:" +msgstr "" + +#: internal/cli/board/details.go:170 +msgid "Platform name:" +msgstr "" + +#: internal/cli/board/details.go:176 +msgid "Platform size (bytes):" +msgstr "" + +#: commands/cmderrors/cmderrors.go:154 +msgid "" +"Please specify an FQBN. Multiple possible boards detected on port %[1]s with" +" protocol %[2]s" +msgstr "" + +#: commands/cmderrors/cmderrors.go:134 +msgid "" +"Please specify an FQBN. The board on port %[1]s with protocol %[2]s can't be" +" identified" +msgstr "" + +#: internal/cli/board/list.go:104 internal/cli/board/list.go:142 +msgid "Port" +msgstr "" + +#: internal/cli/monitor/monitor.go:287 internal/cli/monitor/monitor.go:296 +msgid "Port closed: %v" +msgstr "" + +#: commands/cmderrors/cmderrors.go:689 +msgid "Port monitor error" +msgstr "" + +#: internal/arduino/builder/libraries.go:102 +#: internal/arduino/builder/libraries.go:110 +msgid "Precompiled library in \"%[1]s\" not found" +msgstr "" + +#: internal/cli/board/details.go:42 +msgid "Print details about a board." +msgstr "" + +#: internal/cli/compile/compile.go:103 +msgid "Print preprocessed code to stdout instead of compiling." +msgstr "" + +#: internal/cli/cli.go:166 internal/cli/cli.go:168 +msgid "Print the logs on the standard output." +msgstr "" + +#: internal/cli/cli.go:180 +msgid "Print the output in JSON format." +msgstr "" + +#: internal/cli/config/dump.go:31 +msgid "Prints the current configuration" +msgstr "" + +#: internal/cli/config/dump.go:32 +msgid "Prints the current configuration." +msgstr "" + +#: commands/cmderrors/cmderrors.go:203 +msgid "Profile '%s' not found" +msgstr "" + +#: commands/cmderrors/cmderrors.go:340 +msgid "Programmer '%s' not found" +msgstr "" + +#: internal/cli/board/details.go:111 +msgid "Programmer name" +msgstr "" + +#: internal/cli/arguments/programmer.go:35 +msgid "Programmer to use, e.g: atmel_ice" +msgstr "" + +#: internal/cli/board/details.go:216 +msgid "Programmers:" +msgstr "" + +#: commands/cmderrors/cmderrors.go:392 +msgid "Property '%s' is undefined" +msgstr "" + +#: internal/cli/board/list.go:142 +msgid "Protocol" +msgstr "" + +#: internal/cli/lib/search.go:212 +msgid "Provides includes: %s" +msgstr "" + +#: internal/cli/config/remove.go:34 internal/cli/config/remove.go:35 +msgid "Removes one or more values from a setting." +msgstr "" + +#: commands/service_library_install.go:188 +msgid "Replacing %[1]s with %[2]s" +msgstr "" + +#: internal/arduino/cores/packagemanager/install_uninstall.go:125 +msgid "Replacing platform %[1]s with %[2]s" +msgstr "" + +#: internal/cli/board/details.go:184 +msgid "Required tool:" +msgstr "" + +#: internal/cli/monitor/monitor.go:79 +msgid "Run in silent mode, show only monitor input and output." +msgstr "" + +#: internal/cli/daemon/daemon.go:47 +msgid "Run the Arduino CLI as a gRPC daemon." +msgstr "" + +#: internal/arduino/builder/core.go:43 +msgid "Running normal build of the core..." +msgstr "" + +#: internal/arduino/cores/packagemanager/install_uninstall.go:299 +#: internal/arduino/cores/packagemanager/install_uninstall.go:413 +msgid "Running pre_uninstall script." +msgstr "" + +#: internal/cli/lib/search.go:39 +msgid "SEARCH_TERM" +msgstr "" + +#: internal/cli/debug/debug.go:238 +msgid "SVD file path" +msgstr "" + +#: internal/cli/compile/compile.go:106 +msgid "Save build artifacts in this directory." +msgstr "" + +#: internal/cli/board/search.go:39 +msgid "Search for a board in the Boards Manager using the specified keywords." +msgstr "" + +#: internal/cli/board/search.go:38 +msgid "Search for a board in the Boards Manager." +msgstr "" + +#: internal/cli/core/search.go:41 +msgid "Search for a core in Boards Manager using the specified keywords." +msgstr "" + +#: internal/cli/core/search.go:40 +msgid "Search for a core in Boards Manager." +msgstr "" + +#: internal/cli/lib/search.go:41 +msgid "" +"Search for libraries matching zero or more search terms.\n" +"\n" +"All searches are performed in a case-insensitive fashion. Queries containing\n" +"multiple search terms will return only libraries that match all of the terms.\n" +"\n" +"Search terms that do not match the QV syntax described below are basic search\n" +"terms, and will match libraries that include the term anywhere in any of the\n" +"following fields:\n" +" - Author\n" +" - Name\n" +" - Paragraph\n" +" - Provides\n" +" - Sentence\n" +"\n" +"A special syntax, called qualifier-value (QV), indicates that a search term\n" +"should be compared against only one field of each library index entry. This\n" +"syntax uses the name of an index field (case-insensitive), an equals sign (=)\n" +"or a colon (:), and a value, e.g. 'name=ArduinoJson' or 'provides:tinyusb.h'.\n" +"\n" +"QV search terms that use a colon separator will match all libraries with the\n" +"value anywhere in the named field, and QV search terms that use an equals\n" +"separator will match only libraries with exactly the provided value in the\n" +"named field.\n" +"\n" +"QV search terms can include embedded spaces using double-quote (\") characters\n" +"around the value or the entire term, e.g. 'category=\"Data Processing\"' and\n" +"'\"category=Data Processing\"' are equivalent. A QV term can include a literal\n" +"double-quote character by preceding it with a backslash (\\) character.\n" +"\n" +"NOTE: QV search terms using double-quote or backslash characters that are\n" +"passed as command-line arguments may require quoting or escaping to prevent\n" +"the shell from interpreting those characters.\n" +"\n" +"In addition to the fields listed above, QV terms can use these qualifiers:\n" +" - Architectures\n" +" - Category\n" +" - Dependencies\n" +" - License\n" +" - Maintainer\n" +" - Types\n" +" - Version\n" +" - Website\n" +"\t\t" +msgstr "" + +#: internal/cli/lib/search.go:40 +msgid "Searches for one or more libraries matching a query." +msgstr "" + +#: internal/cli/lib/search.go:201 +msgid "Sentence: %s" +msgstr "" + +#: internal/cli/debug/debug.go:246 +msgid "Server path" +msgstr "" + +#: internal/arduino/httpclient/httpclient.go:61 +msgid "Server responded with: %s" +msgstr "" + +#: internal/cli/debug/debug.go:245 +msgid "Server type" +msgstr "" + +#: internal/cli/upload/upload.go:83 +msgid "Set a value for a field required to upload." +msgstr "" + +#: internal/cli/monitor/monitor.go:76 +msgid "Set terminal in raw mode (unbuffered)." +msgstr "" + +#: internal/cli/config/set.go:34 internal/cli/config/set.go:35 +msgid "Sets a setting value." +msgstr "" + +#: internal/cli/cli.go:189 +msgid "" +"Sets the default data directory (Arduino CLI will look for configuration " +"file in this directory)." +msgstr "" + +#: internal/cli/board/attach.go:37 +msgid "" +"Sets the default values for port and FQBN. If no port, FQBN or programmer " +"are specified, the current default port, FQBN and programmer are displayed." +msgstr "" + +#: internal/cli/daemon/daemon.go:93 +msgid "Sets the maximum message size in bytes the daemon can receive" +msgstr "" + +#: internal/cli/config/init.go:60 internal/cli/config/init.go:61 +msgid "Sets where to save the configuration file." +msgstr "" + +#: internal/cli/monitor/monitor.go:331 +msgid "Setting" +msgstr "" + +#: internal/cli/cli.go:101 +msgid "Should show help message, but it is available only in TEXT mode." +msgstr "" + +#: internal/cli/core/search.go:48 +msgid "Show all available core versions." +msgstr "" + +#: internal/cli/monitor/monitor.go:77 +msgid "Show all the settings of the communication port." +msgstr "" + +#: internal/cli/board/listall.go:50 internal/cli/board/search.go:48 +msgid "Show also boards marked as 'hidden' in the platform" +msgstr "" + +#: internal/cli/arguments/show_properties.go:60 +msgid "" +"Show build properties. The properties are expanded, use \"--show-" +"properties=unexpanded\" if you want them exactly as they are defined." +msgstr "" + +#: internal/cli/board/details.go:52 +msgid "Show full board details" +msgstr "" + +#: internal/cli/board/details.go:43 +msgid "" +"Show information about a board, in particular if the board has options to be" +" specified in the FQBN." +msgstr "" + +#: internal/cli/lib/search.go:97 +msgid "Show library names only." +msgstr "" + +#: internal/cli/board/details.go:53 +msgid "Show list of available programmers" +msgstr "" + +#: internal/cli/debug/debug.go:73 +msgid "" +"Show metadata about the debug session instead of starting the debugger." +msgstr "" + +#: internal/cli/update/update.go:45 +msgid "Show outdated cores and libraries after index update" +msgstr "" + +#: internal/cli/lib/list.go:40 +msgid "Shows a list of installed libraries." +msgstr "" + +#: internal/cli/lib/list.go:41 +msgid "" +"Shows a list of installed libraries.\n" +"\n" +"If the LIBNAME parameter is specified the listing is limited to that specific\n" +"library. By default the libraries provided as built-in by platforms/core are\n" +"not listed, they can be listed by adding the --all flag." +msgstr "" + +#: internal/cli/core/list.go:37 internal/cli/core/list.go:38 +msgid "Shows the list of installed platforms." +msgstr "" + +#: internal/cli/lib/examples.go:44 +msgid "Shows the list of the examples for libraries." +msgstr "" + +#: internal/cli/lib/examples.go:45 +msgid "" +"Shows the list of the examples for libraries. A name may be given as " +"argument to search a specific library." +msgstr "" + +#: internal/cli/version/version.go:37 +msgid "" +"Shows the version number of Arduino CLI which is installed on your system." +msgstr "" + +#: internal/cli/version/version.go:36 +msgid "Shows version number of Arduino CLI." +msgstr "" + +#: internal/cli/board/details.go:189 +msgid "Size (bytes):" +msgstr "" + +#: commands/service_compile.go:286 +msgid "" +"Sketch cannot be located in build path. Please specify a different build " +"path" +msgstr "" + +#: internal/cli/sketch/new.go:98 +msgid "Sketch created in: %s" +msgstr "" + +#: internal/cli/arguments/profiles.go:33 +msgid "Sketch profile to use" +msgstr "" + +#: internal/arduino/builder/sizer.go:193 +msgid "Sketch too big; see %[1]s for tips on reducing it." +msgstr "" + +#: internal/arduino/builder/sizer.go:160 +msgid "" +"Sketch uses %[1]s bytes (%[3]s%%) of program storage space. Maximum is %[2]s" +" bytes." +msgstr "" + +#: internal/cli/feedback/warn_deprecated.go:39 +msgid "" +"Sketches with .pde extension are deprecated, please rename the following " +"files to .ino:" +msgstr "" + +#: internal/arduino/builder/linker.go:31 +msgid "Skip linking of final executable." +msgstr "" + +#: commands/service_upload.go:508 +msgid "Skipping 1200-bps touch reset: no serial port selected!" +msgstr "" + +#: internal/arduino/builder/archive_compiled_files.go:28 +msgid "Skipping archive creation of: %[1]s" +msgstr "" + +#: internal/arduino/builder/compilation.go:184 +msgid "Skipping compile of: %[1]s" +msgstr "" + +#: internal/arduino/builder/internal/detector/detector.go:414 +msgid "Skipping dependencies detection for precompiled library %[1]s" +msgstr "" + +#: internal/arduino/cores/packagemanager/install_uninstall.go:192 +msgid "Skipping platform configuration." +msgstr "" + +#: internal/arduino/cores/packagemanager/install_uninstall.go:308 +#: internal/arduino/cores/packagemanager/install_uninstall.go:422 +msgid "Skipping pre_uninstall script." +msgstr "" + +#: internal/arduino/cores/packagemanager/install_uninstall.go:370 +msgid "Skipping tool configuration." +msgstr "" + +#: internal/arduino/builder/recipe.go:48 +msgid "Skipping: %[1]s" +msgstr "" + +#: commands/instances.go:634 +msgid "Some indexes could not be updated." +msgstr "" + +#: internal/cli/core/upgrade.go:141 +msgid "Some upgrades failed, please check the output for details." +msgstr "" + +#: internal/cli/daemon/daemon.go:78 +msgid "The TCP port the daemon will listen to" +msgstr "" + +#: internal/cli/cli.go:177 +msgid "The command output format, can be: %s" +msgstr "" + +#: internal/cli/cli.go:187 +msgid "The custom config file (if not specified the default will be used)." +msgstr "" + +#: internal/cli/compile/compile.go:93 +msgid "" +"The flag --build-cache-path has been deprecated. Please use just --build-" +"path alone or configure the build cache path in the Arduino CLI settings." +msgstr "" + +#: internal/cli/daemon/daemon.go:103 +msgid "The flag --debug-file must be used with --debug." +msgstr "" + +#: internal/cli/debug/debug_check.go:94 +msgid "The given board/programmer configuration does NOT support debugging." +msgstr "" + +#: internal/cli/debug/debug_check.go:92 +msgid "The given board/programmer configuration supports debugging." +msgstr "" + +#: commands/cmderrors/cmderrors.go:897 +msgid "The instance is no longer valid and needs to be reinitialized" +msgstr "" + +#: internal/cli/config/add.go:57 +msgid "" +"The key '%[1]v' is not a list of items, can't add to it.\n" +"Maybe use '%[2]s'?" +msgstr "" + +#: internal/cli/config/remove.go:57 +msgid "" +"The key '%[1]v' is not a list of items, can't remove from it.\n" +"Maybe use '%[2]s'?" +msgstr "" + +#: commands/cmderrors/cmderrors.go:879 +msgid "The library %s has multiple installations:" +msgstr "" + +#: internal/cli/compile/compile.go:118 +msgid "" +"The name of the custom encryption key to use to encrypt a binary during the " +"compile process. Used only by the platforms that support it." +msgstr "" + +#: internal/cli/compile/compile.go:116 +msgid "" +"The name of the custom signing key to use to sign a binary during the " +"compile process. Used only by the platforms that support it." +msgstr "" + +#: internal/cli/cli.go:174 +msgid "The output format for the logs, can be: %s" +msgstr "" + +#: internal/cli/compile/compile.go:114 +msgid "" +"The path of the dir to search for the custom keys to sign and encrypt a " +"binary. Used only by the platforms that support it." +msgstr "" + +#: internal/arduino/builder/libraries.go:152 +msgid "The platform does not support '%[1]s' for precompiled libraries." +msgstr "" + +#: internal/cli/lib/upgrade.go:36 +msgid "" +"This command upgrades an installed library to the latest available version. " +"Multiple libraries can be passed separated by a space. If no arguments are " +"provided, the command will upgrade all the installed libraries where an " +"update is available." +msgstr "" + +#: internal/cli/outdated/outdated.go:42 +msgid "" +"This commands shows a list of installed cores and/or libraries\n" +"that can be upgraded. If nothing needs to be updated the output is empty." +msgstr "" + +#: internal/cli/monitor/monitor.go:80 +msgid "Timestamp each incoming line." +msgstr "" + +#: internal/arduino/cores/packagemanager/install_uninstall.go:91 +#: internal/arduino/cores/packagemanager/install_uninstall.go:330 +msgid "Tool %s already installed" +msgstr "" + +#: internal/arduino/cores/packagemanager/install_uninstall.go:434 +msgid "Tool %s uninstalled" +msgstr "" + +#: commands/service_debug.go:277 +msgid "Toolchain '%s' is not supported" +msgstr "" + +#: internal/cli/debug/debug.go:235 +msgid "Toolchain path" +msgstr "" + +#: internal/cli/debug/debug.go:236 +msgid "Toolchain prefix" +msgstr "" + +#: internal/cli/debug/debug.go:234 +msgid "Toolchain type" +msgstr "" + +#: internal/cli/compile/compile.go:415 internal/cli/upload/upload.go:146 +msgid "Try running %s" +msgstr "" + +#: internal/cli/burnbootloader/burnbootloader.go:63 +msgid "Turns on verbose mode." +msgstr "" + +#: internal/cli/board/list.go:104 internal/cli/board/list.go:142 +msgid "Type" +msgstr "" + +#: internal/cli/lib/search.go:209 +msgid "Types: %s" +msgstr "" + +#: internal/cli/board/details.go:191 +msgid "URL:" +msgstr "" + +#: internal/arduino/builder/core.go:166 +msgid "" +"Unable to cache built core, please tell %[1]s maintainers to follow %[2]s" +msgstr "" + +#: internal/cli/configuration/configuration.go:95 +msgid "Unable to get Documents Folder: %v" +msgstr "" + +#: internal/cli/configuration/configuration.go:70 +msgid "Unable to get Local App Data Folder: %v" +msgstr "" + +#: internal/cli/configuration/configuration.go:58 +#: internal/cli/configuration/configuration.go:83 +msgid "Unable to get user home dir: %v" +msgstr "" + +#: internal/cli/cli.go:252 +msgid "Unable to open file for logging: %s" +msgstr "" + +#: commands/instances.go:563 +msgid "Unable to parse URL" +msgstr "" + +#: commands/service_library_uninstall.go:71 +#: internal/arduino/cores/packagemanager/install_uninstall.go:282 +msgid "Uninstalling %s" +msgstr "" + +#: commands/service_platform_uninstall.go:99 +#: internal/arduino/cores/packagemanager/install_uninstall.go:168 +msgid "Uninstalling %s, tool is no more required" +msgstr "" + +#: internal/cli/core/uninstall.go:37 internal/cli/core/uninstall.go:38 +msgid "" +"Uninstalls one or more cores and corresponding tool dependencies if no " +"longer used." +msgstr "" + +#: internal/cli/lib/uninstall.go:36 internal/cli/lib/uninstall.go:37 +msgid "Uninstalls one or more libraries." +msgstr "" + +#: internal/cli/board/list.go:174 +msgid "Unknown" +msgstr "" + +#: commands/cmderrors/cmderrors.go:184 +msgid "Unknown FQBN" +msgstr "" + +#: internal/cli/update/update.go:37 +msgid "Updates the index of cores and libraries" +msgstr "" + +#: internal/cli/update/update.go:38 +msgid "Updates the index of cores and libraries to the latest versions." +msgstr "" + +#: internal/cli/core/update_index.go:36 +msgid "Updates the index of cores to the latest version." +msgstr "" + +#: internal/cli/core/update_index.go:35 +msgid "Updates the index of cores." +msgstr "" + +#: internal/cli/lib/update_index.go:36 +msgid "Updates the libraries index to the latest version." +msgstr "" + +#: internal/cli/lib/update_index.go:35 +msgid "Updates the libraries index." +msgstr "" + +#: internal/arduino/cores/packagemanager/install_uninstall.go:47 +msgid "Upgrade doesn't accept parameters with version" +msgstr "" + +#: internal/cli/upgrade/upgrade.go:38 +msgid "Upgrades installed cores and libraries to latest version." +msgstr "" + +#: internal/cli/upgrade/upgrade.go:37 +msgid "Upgrades installed cores and libraries." +msgstr "" + +#: internal/cli/lib/upgrade.go:35 +msgid "Upgrades installed libraries." +msgstr "" + +#: internal/cli/core/upgrade.go:39 internal/cli/core/upgrade.go:40 +msgid "Upgrades one or all installed platforms to the latest version." +msgstr "" + +#: internal/cli/upload/upload.go:56 +msgid "Upload Arduino sketches." +msgstr "" + +#: internal/cli/upload/upload.go:57 +msgid "" +"Upload Arduino sketches. This does NOT compile the sketch prior to upload." +msgstr "" + +#: internal/cli/arguments/port.go:44 +msgid "Upload port address, e.g.: COM3 or /dev/ttyACM2" +msgstr "" + +#: commands/service_upload.go:532 +msgid "Upload port found on %s" +msgstr "" + +#: internal/cli/arguments/port.go:48 +msgid "Upload port protocol, e.g: serial" +msgstr "" + +#: internal/cli/compile/compile.go:123 +msgid "Upload the binary after the compilation." +msgstr "" + +#: internal/cli/burnbootloader/burnbootloader.go:49 +msgid "Upload the bootloader on the board using an external programmer." +msgstr "" + +#: internal/cli/burnbootloader/burnbootloader.go:48 +msgid "Upload the bootloader." +msgstr "" + +#: internal/cli/compile/compile.go:274 internal/cli/upload/upload.go:167 +msgid "" +"Uploading to specified board using %s protocol requires the following info:" +msgstr "" + +#: internal/cli/config/init.go:160 +msgid "" +"Urls cannot contain commas. Separate multiple urls exported as env var with a space:\n" +"%s" +msgstr "" + +#: internal/cli/usage.go:22 +msgid "Usage:" +msgstr "" + +#: internal/cli/usage.go:29 +msgid "Use %s for more information about a command." +msgstr "" + +#: internal/cli/compile/compile.go:471 +msgid "Used library" +msgstr "" + +#: internal/cli/compile/compile.go:486 +msgid "Used platform" +msgstr "" + +#: internal/arduino/builder/internal/detector/detector.go:157 +msgid "Used: %[1]s" +msgstr "" + +#: commands/service_compile.go:361 +msgid "Using board '%[1]s' from platform in folder: %[2]s" +msgstr "" + +#: internal/arduino/builder/internal/detector/detector.go:351 +msgid "Using cached library dependencies for file: %[1]s" +msgstr "" + +#: commands/service_compile.go:362 +msgid "Using core '%[1]s' from platform in folder: %[2]s" +msgstr "" + +#: internal/cli/monitor/monitor.go:256 +msgid "Using default monitor configuration for board: %s" +msgstr "" + +#: internal/cli/monitor/monitor.go:258 +msgid "" +"Using generic monitor configuration.\n" +"WARNING: Your board may require different settings to work!\n" +msgstr "" + +#: internal/arduino/builder/libraries.go:313 +msgid "Using library %[1]s at version %[2]s in folder: %[3]s %[4]s" +msgstr "" + +#: internal/arduino/builder/libraries.go:307 +msgid "Using library %[1]s in folder: %[2]s %[3]s" +msgstr "" + +#: internal/arduino/builder/core.go:121 internal/arduino/builder/core.go:133 +msgid "Using precompiled core: %[1]s" +msgstr "" + +#: internal/arduino/builder/libraries.go:99 +#: internal/arduino/builder/libraries.go:107 +msgid "Using precompiled library in %[1]s" +msgstr "" + +#: internal/arduino/builder/archive_compiled_files.go:51 +#: internal/arduino/builder/compilation.go:182 +msgid "Using previously compiled file: %[1]s" +msgstr "" + +#: internal/cli/core/download.go:35 internal/cli/core/install.go:37 +msgid "VERSION" +msgstr "" + +#: internal/cli/lib/check_deps.go:38 internal/cli/lib/install.go:45 +msgid "VERSION_NUMBER" +msgstr "" + +#: internal/cli/monitor/monitor.go:331 +msgid "Values" +msgstr "" + +#: internal/cli/burnbootloader/burnbootloader.go:62 +#: internal/cli/compile/compile.go:125 internal/cli/upload/upload.go:78 +msgid "Verify uploaded binary after the upload." +msgstr "" + +#: internal/cli/compile/compile.go:472 internal/cli/compile/compile.go:487 +#: internal/cli/core/search.go:117 +msgid "Version" +msgstr "" + +#: internal/cli/lib/search.go:210 +msgid "Versions: %s" +msgstr "" + +#: internal/arduino/cores/packagemanager/install_uninstall.go:187 +msgid "WARNING cannot configure platform: %s" +msgstr "" + +#: internal/arduino/cores/packagemanager/install_uninstall.go:366 +msgid "WARNING cannot configure tool: %s" +msgstr "" + +#: internal/arduino/cores/packagemanager/install_uninstall.go:304 +#: internal/arduino/cores/packagemanager/install_uninstall.go:418 +msgid "WARNING cannot run pre_uninstall script: %s" +msgstr "" + +#: internal/cli/compile/compile.go:339 +msgid "WARNING: The sketch is compiled using one or more custom libraries." +msgstr "" + +#: internal/arduino/builder/libraries.go:284 +msgid "" +"WARNING: library %[1]s claims to run on %[2]s architecture(s) and may be " +"incompatible with your current board which runs on %[3]s architecture(s)." +msgstr "" + +#: commands/service_upload.go:521 +msgid "Waiting for upload port..." +msgstr "" + +#: commands/service_compile.go:367 +msgid "" +"Warning: Board %[1]s doesn't define a %[2]s preference. Auto-set to: %[3]s" +msgstr "" + +#: internal/cli/lib/search.go:203 +msgid "Website: %s" +msgstr "" + +#: internal/cli/config/init.go:45 +msgid "Writes current configuration to a configuration file." +msgstr "" + +#: internal/cli/config/init.go:48 +msgid "" +"Writes current configuration to the configuration file in the data " +"directory." +msgstr "" + +#: internal/cli/compile/compile.go:153 internal/cli/compile/compile.go:156 +msgid "You cannot use the %s flag while compiling with a profile." +msgstr "" + +#: internal/arduino/resources/checksums.go:79 +msgid "archive hash differs from hash in index" +msgstr "" + +#: internal/arduino/libraries/librariesmanager/install.go:187 +msgid "archive is not valid: multiple files found in zip file top level" +msgstr "" + +#: internal/arduino/libraries/librariesmanager/install.go:190 +msgid "archive is not valid: no files found in zip file top level" +msgstr "" + +#: internal/cli/sketch/archive.go:36 +msgid "archivePath" +msgstr "" + +#: internal/arduino/builder/internal/preprocessor/arduino_preprocessor.go:64 +msgid "arduino-preprocessor pattern is missing" +msgstr "" + +#: internal/cli/feedback/stdio.go:37 +msgid "available only in text format" +msgstr "" + +#: internal/cli/lib/search.go:84 +msgid "basic search for \"audio\"" +msgstr "" + +#: internal/cli/lib/search.go:89 +msgid "basic search for \"esp32\" and \"display\" limited to official Maintainer" +msgstr "" + +#: commands/service_upload.go:792 +msgid "binary file not found in %s" +msgstr "" + +#: internal/arduino/cores/packagemanager/package_manager.go:316 +msgid "board %s not found" +msgstr "" + +#: internal/cli/board/listall.go:38 internal/cli/board/search.go:37 +msgid "boardname" +msgstr "" + +#: internal/arduino/libraries/librariesmanager/librariesmanager.go:191 +msgid "built-in libraries directory not set" +msgstr "" + +#: internal/arduino/cores/status.go:132 internal/arduino/cores/status.go:159 +msgid "can't find latest release of %s" +msgstr "" + +#: commands/instances.go:273 +msgid "can't find latest release of tool %s" +msgstr "" + +#: internal/arduino/cores/packagemanager/loader.go:709 +msgid "can't find pattern for discovery with id %s" +msgstr "" + +#: internal/arduino/builder/internal/detector/detector.go:93 +msgid "candidates" +msgstr "" + +#: commands/service_upload.go:738 commands/service_upload.go:745 +msgid "cannot execute upload tool: %s" +msgstr "" + +#: internal/arduino/resources/install.go:48 +msgid "checking local archive integrity" +msgstr "" + +#: internal/arduino/builder/build_options_manager.go:111 +#: internal/arduino/builder/build_options_manager.go:114 +msgid "cleaning build path" +msgstr "" + +#: internal/cli/cli.go:90 +msgid "command" +msgstr "" + +#: internal/arduino/monitor/monitor.go:149 +msgid "command '%[1]s' failed: %[2]s" +msgstr "" + +#: internal/arduino/monitor/monitor.go:146 +#: internal/arduino/monitor/monitor.go:152 +msgid "communication out of sync, expected '%[1]s', received '%[2]s'" +msgstr "" + +#: internal/arduino/resources/checksums.go:75 +msgid "computing hash: %s" +msgstr "" + +#: pkg/fqbn/fqbn.go:83 +msgid "config key %s contains an invalid character" +msgstr "" + +#: pkg/fqbn/fqbn.go:87 +msgid "config value %s contains an invalid character" +msgstr "" + +#: internal/arduino/libraries/librariesmanager/install.go:140 +msgid "copying library to destination directory:" +msgstr "" + +#: commands/service_upload.go:864 +msgid "could not find a valid build artifact" +msgstr "" + +#: commands/service_platform_install.go:99 +msgid "could not overwrite" +msgstr "" + +#: commands/service_library_install.go:191 +msgid "could not remove old library" +msgstr "" + +#: internal/arduino/sketch/yaml.go:80 internal/arduino/sketch/yaml.go:84 +#: internal/arduino/sketch/yaml.go:88 +msgid "could not update sketch project file" +msgstr "" + +#: internal/arduino/builder/core.go:117 internal/arduino/builder/core.go:141 +msgid "creating core cache folder: %s" +msgstr "" + +#: internal/arduino/cores/packagemanager/install_uninstall.go:221 +msgid "creating installed.json in %[1]s: %[2]s" +msgstr "" + +#: internal/arduino/resources/install.go:54 +#: internal/arduino/resources/install.go:58 +msgid "creating temp dir for extraction: %s" +msgstr "" + +#: internal/arduino/builder/sizer.go:199 +msgid "data section exceeds available space in board" +msgstr "" + +#: commands/service_library_resolve_deps.go:86 +msgid "dependency '%s' is not available" +msgstr "" + +#: internal/arduino/libraries/librariesmanager/install.go:93 +msgid "destination dir %s already exists, cannot install" +msgstr "" + +#: internal/arduino/libraries/librariesmanager/install.go:137 +msgid "destination directory already exists" +msgstr "" + +#: internal/arduino/libraries/librariesmanager/install.go:305 +msgid "directory doesn't exist: %s" +msgstr "" + +#: internal/arduino/discovery/discoverymanager/discoverymanager.go:204 +msgid "discovery %[1]s process not started" +msgstr "" + +#: internal/arduino/cores/packagemanager/loader.go:641 +msgid "discovery %s not found" +msgstr "" + +#: internal/arduino/cores/packagemanager/loader.go:645 +msgid "discovery %s not installed" +msgstr "" + +#: internal/arduino/cores/packagemanager/package_manager.go:714 +msgid "discovery release not found: %s" +msgstr "" + +#: internal/cli/core/download.go:40 internal/cli/core/install.go:42 +msgid "download a specific version (in this case 1.6.9)." +msgstr "" + +#: internal/cli/core/download.go:39 internal/cli/core/install.go:40 +msgid "download the latest version of Arduino SAMD core." +msgstr "" + +#: internal/cli/feedback/rpc_progress.go:74 +msgid "downloaded" +msgstr "" + +#: commands/instances.go:56 +msgid "downloading %[1]s tool: %[2]s" +msgstr "" + +#: pkg/fqbn/fqbn.go:63 +msgid "empty board identifier" +msgstr "" + +#: internal/arduino/sketch/sketch.go:93 +msgid "error loading sketch project file:" +msgstr "" + +#: internal/arduino/cores/packagemanager/loader.go:612 +msgid "error opening %s" +msgstr "" + +#: internal/arduino/sketch/profiles.go:250 +msgid "error parsing version constraints" +msgstr "" + +#: commands/service_board_identify.go:203 +msgid "error processing response from server" +msgstr "" + +#: commands/service_board_identify.go:183 +msgid "error querying Arduino Cloud Api" +msgstr "" + +#: internal/arduino/libraries/librariesmanager/install.go:178 +msgid "extracting archive" +msgstr "" + +#: internal/arduino/resources/install.go:77 +msgid "extracting archive: %s" +msgstr "" + +#: internal/arduino/resources/checksums.go:143 +msgid "failed to compute hash of file \"%s\"" +msgstr "" + +#: commands/service_board_identify.go:178 +msgid "failed to initialize http client" +msgstr "" + +#: internal/arduino/resources/checksums.go:98 +msgid "fetched archive size differs from size specified in index" +msgstr "" + +#: internal/arduino/resources/install.go:132 +msgid "files in archive must be placed in a subdirectory" +msgstr "" + +#: internal/arduino/cores/packagemanager/loader.go:59 +msgid "finding absolute path of %s" +msgstr "" + +#: internal/cli/cli.go:90 +msgid "flags" +msgstr "" + +#: internal/arduino/cores/packagemanager/loader.go:98 +msgid "following symlink %s" +msgstr "" + +#: internal/cli/lib/download.go:40 +msgid "for a specific version." +msgstr "" + +#: internal/cli/lib/check_deps.go:42 internal/cli/lib/download.go:39 +#: internal/cli/lib/install.go:49 +msgid "for the latest version." +msgstr "" + +#: internal/cli/lib/check_deps.go:43 internal/cli/lib/install.go:50 +#: internal/cli/lib/install.go:52 +msgid "for the specific version." +msgstr "" + +#: pkg/fqbn/fqbn.go:68 +msgid "fqbn's field %s contains an invalid character" +msgstr "" + +#: internal/inventory/inventory.go:67 +msgid "generating installation.id" +msgstr "" + +#: internal/inventory/inventory.go:73 +msgid "generating installation.secret" +msgstr "" + +#: internal/arduino/resources/download.go:55 +msgid "getting archive file info: %s" +msgstr "" + +#: internal/arduino/resources/checksums.go:93 +msgid "getting archive info: %s" +msgstr "" + +#: internal/arduino/resources/checksums.go:66 +#: internal/arduino/resources/checksums.go:89 +#: internal/arduino/resources/download.go:36 +#: internal/arduino/resources/helpers.go:39 +#: internal/arduino/resources/install.go:65 +msgid "getting archive path: %s" +msgstr "" + +#: internal/arduino/cores/packagemanager/package_manager.go:322 +msgid "getting build properties for board %[1]s: %[2]s" +msgstr "" + +#: internal/arduino/cores/packagemanager/download.go:108 +msgid "getting discovery dependencies for platform %[1]s: %[2]s" +msgstr "" + +#: internal/arduino/cores/packagemanager/download.go:116 +msgid "getting monitor dependencies for platform %[1]s: %[2]s" +msgstr "" + +#: internal/arduino/cores/packagemanager/download.go:101 +msgid "getting tool dependencies for platform %[1]s: %[2]s" +msgstr "" + +#: internal/arduino/libraries/librariesmanager/install.go:148 +msgid "install directory not set" +msgstr "" + +#: commands/instances.go:60 +msgid "installing %[1]s tool: %[2]s" +msgstr "" + +#: internal/arduino/cores/packagemanager/install_uninstall.go:213 +msgid "installing platform %[1]s: %[2]s" +msgstr "" + +#: internal/cli/feedback/terminal.go:38 +msgid "interactive terminal not supported for the '%s' output format" +msgstr "" + +#: internal/arduino/sketch/profiles.go:248 +msgid "invalid '%s' directive" +msgstr "" + +#: internal/arduino/resources/checksums.go:44 +msgid "invalid checksum format: %s" +msgstr "" + +#: pkg/fqbn/fqbn.go:75 pkg/fqbn/fqbn.go:80 +msgid "invalid config option: %s" +msgstr "" + +#: internal/cli/arguments/reference.go:92 +msgid "invalid empty core architecture '%s'" +msgstr "" + +#: internal/cli/arguments/reference.go:69 +msgid "invalid empty core argument" +msgstr "" + +#: internal/cli/arguments/reference.go:89 +msgid "invalid empty core name '%s'" +msgstr "" + +#: internal/cli/arguments/reference.go:74 +msgid "invalid empty core reference '%s'" +msgstr "" + +#: internal/cli/arguments/reference.go:79 +msgid "invalid empty core version: '%s'" +msgstr "" + +#: internal/cli/lib/args.go:49 +msgid "invalid empty library name" +msgstr "" + +#: internal/cli/lib/args.go:54 +msgid "invalid empty library version: %s" +msgstr "" + +#: internal/arduino/cores/board.go:144 +msgid "invalid empty option found" +msgstr "" + +#: internal/arduino/libraries/librariesmanager/install.go:276 +#: internal/arduino/libraries/librariesmanager/install.go:279 +#: internal/arduino/libraries/librariesmanager/install.go:286 +#: internal/arduino/libraries/librariesmanager/install.go:290 +msgid "invalid git url" +msgstr "" + +#: internal/arduino/resources/checksums.go:48 +msgid "invalid hash '%[1]s': %[2]s" +msgstr "" + +#: internal/cli/arguments/reference.go:86 +msgid "invalid item %s" +msgstr "" + +#: internal/arduino/sketch/profiles.go:282 +msgid "invalid library directive:" +msgstr "" + +#: internal/arduino/libraries/libraries_layout.go:67 +msgid "invalid library layout: %s" +msgstr "" + +#: internal/arduino/libraries/libraries_location.go:90 +msgid "invalid library location: %s" +msgstr "" + +#: internal/arduino/libraries/loader.go:140 +msgid "invalid library: no header files found" +msgstr "" + +#: internal/arduino/cores/board.go:147 +msgid "invalid option '%s'" +msgstr "" + +#: internal/cli/arguments/show_properties.go:52 +msgid "invalid option '%s'." +msgstr "" + +#: internal/inventory/inventory.go:92 +msgid "invalid path creating config dir: %[1]s error" +msgstr "" + +#: internal/inventory/inventory.go:98 +msgid "invalid path writing inventory file: %[1]s error" +msgstr "" + +#: internal/arduino/sketch/profiles.go:252 +msgid "invalid platform identifier" +msgstr "" + +#: internal/arduino/sketch/profiles.go:262 +msgid "invalid platform index URL:" +msgstr "" + +#: internal/arduino/cores/packagemanager/loader.go:326 +msgid "invalid pluggable monitor reference: %s" +msgstr "" + +#: internal/cli/monitor/monitor.go:176 +msgid "invalid port configuration value for %s: %s" +msgstr "" + +#: internal/cli/monitor/monitor.go:182 +msgid "invalid port configuration: %s=%s" +msgstr "" + +#: commands/service_upload.go:725 +msgid "invalid recipe '%[1]s': %[2]s" +msgstr "" + +#: commands/service_sketch_new.go:86 +msgid "" +"invalid sketch name \"%[1]s\": the first character must be alphanumeric or " +"\"_\", the following ones can also contain \"-\" and \".\". The last one " +"cannot be \".\"." +msgstr "" + +#: internal/arduino/cores/board.go:151 +msgid "invalid value '%[1]s' for option '%[2]s'" +msgstr "" + +#: internal/arduino/cores/packagemanager/loader.go:231 +msgid "invalid version directory %s" +msgstr "" + +#: internal/arduino/sketch/profiles.go:284 +msgid "invalid version:" +msgstr "" + +#: internal/cli/core/search.go:39 +msgid "keywords" +msgstr "" + +#: internal/cli/lib/search.go:87 +msgid "libraries authored by Daniel Garcia" +msgstr "" + +#: internal/cli/lib/search.go:88 +msgid "libraries authored only by Adafruit with \"gfx\" in their Name" +msgstr "" + +#: internal/cli/lib/search.go:90 +msgid "libraries that depend on at least \"IRremote\"" +msgstr "" + +#: internal/cli/lib/search.go:91 +msgid "libraries that depend only on \"IRremote\"" +msgstr "" + +#: internal/cli/lib/search.go:85 +msgid "libraries with \"buzzer\" in the Name field" +msgstr "" + +#: internal/cli/lib/search.go:86 +msgid "libraries with a Name exactly matching \"pcf8523\"" +msgstr "" + +#: internal/arduino/libraries/librariesmanager/install.go:125 +msgid "library %s already installed" +msgstr "" + +#: internal/arduino/libraries/librariesmanager/install.go:342 +msgid "library not valid" +msgstr "" + +#: internal/arduino/cores/packagemanager/loader.go:255 +#: internal/arduino/cores/packagemanager/loader.go:268 +#: internal/arduino/cores/packagemanager/loader.go:276 +msgid "loading %[1]s: %[2]s" +msgstr "" + +#: internal/arduino/cores/packagemanager/loader.go:314 +msgid "loading boards: %s" +msgstr "" + +#: internal/arduino/cores/packagemanager/package_manager.go:469 +#: internal/arduino/cores/packagemanager/package_manager.go:484 +msgid "loading json index file %[1]s: %[2]s" +msgstr "" + +#: internal/arduino/libraries/librariesmanager/librariesmanager.go:224 +msgid "loading library from %[1]s: %[2]s" +msgstr "" + +#: internal/arduino/libraries/loader.go:55 +msgid "loading library.properties: %s" +msgstr "" + +#: internal/arduino/cores/packagemanager/loader.go:208 +#: internal/arduino/cores/packagemanager/loader.go:236 +msgid "loading platform release %s" +msgstr "" + +#: internal/arduino/cores/packagemanager/loader.go:195 +msgid "loading platform.txt" +msgstr "" + +#: internal/arduino/cores/packagemanager/profiles.go:47 +msgid "loading required platform %s" +msgstr "" + +#: internal/arduino/cores/packagemanager/profiles.go:63 +msgid "loading required tool %s" +msgstr "" + +#: internal/arduino/cores/packagemanager/loader.go:587 +msgid "loading tool release in %s" +msgstr "" + +#: internal/arduino/cores/packagemanager/loader.go:188 +msgid "looking for boards.txt in %s" +msgstr "" + +#: commands/service_upload.go:807 +msgid "looking for build artifacts" +msgstr "" + +#: internal/arduino/sketch/sketch.go:77 +msgid "main file missing from sketch: %s" +msgstr "" + +#: internal/arduino/sketch/profiles.go:246 +msgid "missing '%s' directive" +msgstr "" + +#: internal/arduino/resources/checksums.go:40 +msgid "missing checksum for: %s" +msgstr "" + +#: internal/arduino/cores/packagemanager/package_manager.go:430 +msgid "missing package %[1]s referenced by board %[2]s" +msgstr "" + +#: internal/cli/core/upgrade.go:101 +msgid "missing package index for %s, future updates cannot be guaranteed" +msgstr "" + +#: internal/arduino/cores/packagemanager/package_manager.go:435 +msgid "missing platform %[1]s:%[2]s referenced by board %[3]s" +msgstr "" + +#: internal/arduino/cores/packagemanager/package_manager.go:440 +msgid "missing platform release %[1]s:%[2]s referenced by board %[3]s" +msgstr "" + +#: internal/arduino/resources/index.go:153 +msgid "missing signature" +msgstr "" + +#: internal/arduino/cores/packagemanager/package_manager.go:725 +msgid "monitor release not found: %s" +msgstr "" + +#: internal/arduino/libraries/librariesmanager/install.go:196 +#: internal/arduino/libraries/librariesmanager/install.go:247 +#: internal/arduino/resources/install.go:106 +msgid "moving extracted archive to destination dir: %s" +msgstr "" + +#: commands/service_upload.go:859 +msgid "multiple build artifacts found: '%[1]s' and '%[2]s'" +msgstr "" + +#: internal/arduino/sketch/sketch.go:69 +msgid "multiple main sketch files found (%[1]v, %[2]v)" +msgstr "" + +#: internal/arduino/cores/packagemanager/install_uninstall.go:340 +msgid "" +"no compatible version of %[1]s tools found for the current os, try " +"contacting %[2]s" +msgstr "" + +#: commands/service_board_list.go:106 +msgid "no instance specified" +msgstr "" + +#: commands/service_upload.go:814 +msgid "no sketch or build directory/file specified" +msgstr "" + +#: internal/arduino/sketch/sketch.go:56 +msgid "no such file or directory" +msgstr "" + +#: internal/arduino/resources/install.go:135 +msgid "no unique root dir in archive, found '%[1]s' and '%[2]s'" +msgstr "" + +#: commands/service_upload.go:720 +msgid "no upload port provided" +msgstr "" + +#: internal/arduino/sketch/sketch.go:279 +msgid "no valid sketch found in %[1]s: missing %[2]s" +msgstr "" + +#: internal/arduino/cores/packagemanager/download.go:130 +msgid "no versions available for the current OS, try contacting %s" +msgstr "" + +#: pkg/fqbn/fqbn.go:53 +msgid "not an FQBN: %s" +msgstr "" + +#: internal/cli/feedback/terminal.go:52 +msgid "not running in a terminal" +msgstr "" + +#: internal/arduino/resources/checksums.go:71 +#: internal/arduino/resources/install.go:69 +msgid "opening archive file: %s" +msgstr "" + +#: internal/arduino/cores/packagemanager/loader.go:224 +msgid "opening boards.txt" +msgstr "" + +#: internal/arduino/security/signatures.go:82 +msgid "opening signature file: %s" +msgstr "" + +#: internal/arduino/security/signatures.go:78 +msgid "opening target file: %s" +msgstr "" + +#: internal/arduino/cores/packagemanager/download.go:78 +#: internal/arduino/cores/status.go:97 internal/arduino/cores/status.go:122 +#: internal/arduino/cores/status.go:149 +msgid "package %s not found" +msgstr "" + +#: internal/arduino/cores/packagemanager/package_manager.go:498 +msgid "package '%s' not found" +msgstr "" + +#: internal/arduino/cores/board.go:167 +#: internal/arduino/cores/packagemanager/package_manager.go:263 +msgid "parsing fqbn: %s" +msgstr "" + +#: internal/arduino/libraries/librariesindex/json.go:70 +msgid "parsing library_index.json: %s" +msgstr "" + +#: internal/arduino/cores/packagemanager/loader.go:179 +msgid "path is not a platform directory: %s" +msgstr "" + +#: internal/arduino/cores/packagemanager/download.go:82 +msgid "platform %[1]s not found in package %[2]s" +msgstr "" + +#: internal/arduino/cores/packagemanager/package_manager.go:309 +msgid "platform %s is not installed" +msgstr "" + +#: commands/cmderrors/cmderrors.go:427 +msgid "platform is not available for your OS" +msgstr "" + +#: commands/service_compile.go:129 +#: internal/arduino/cores/packagemanager/install_uninstall.go:181 +#: internal/arduino/cores/packagemanager/install_uninstall.go:285 +#: internal/arduino/cores/packagemanager/loader.go:417 +msgid "platform not installed" +msgstr "" + +#: internal/cli/compile/compile.go:142 +msgid "please use --build-property instead." +msgstr "" + +#: internal/arduino/discovery/discoverymanager/discoverymanager.go:133 +msgid "pluggable discovery already added: %s" +msgstr "" + +#: internal/cli/board/attach.go:35 +msgid "port" +msgstr "" + +#: internal/cli/arguments/port.go:125 +msgid "port not found: %[1]s %[2]s" +msgstr "" + +#: internal/cli/board/attach.go:35 +msgid "programmer" +msgstr "" + +#: internal/arduino/monitor/monitor.go:235 +msgid "protocol version not supported: requested %[1]d, got %[2]d" +msgstr "" + +#: internal/arduino/libraries/librariesmanager/librariesmanager.go:213 +msgid "reading dir %[1]s: %[2]s" +msgstr "" + +#: internal/arduino/libraries/loader.go:199 +msgid "reading directory %[1]s content" +msgstr "" + +#: internal/arduino/cores/packagemanager/loader.go:69 +#: internal/arduino/cores/packagemanager/loader.go:151 +#: internal/arduino/cores/packagemanager/loader.go:218 +#: internal/arduino/cores/packagemanager/loader.go:579 +msgid "reading directory %s" +msgstr "" + +#: internal/arduino/libraries/librariesmanager/install.go:315 +msgid "reading directory %s content" +msgstr "" + +#: internal/arduino/builder/sketch.go:83 +msgid "reading file %[1]s: %[2]s" +msgstr "" + +#: internal/arduino/sketch/sketch.go:198 +msgid "reading files" +msgstr "" + +#: internal/arduino/libraries/librariesresolver/cpp.go:90 +msgid "reading lib headers: %s" +msgstr "" + +#: internal/arduino/libraries/libraries.go:115 +msgid "reading library headers" +msgstr "" + +#: internal/arduino/libraries/libraries.go:227 +msgid "reading library source directory: %s" +msgstr "" + +#: internal/arduino/libraries/librariesindex/json.go:64 +msgid "reading library_index.json: %s" +msgstr "" + +#: internal/arduino/resources/install.go:125 +msgid "reading package root dir: %s" +msgstr "" + +#: internal/arduino/sketch/sketch.go:108 +msgid "reading sketch files" +msgstr "" + +#: commands/service_upload.go:714 +msgid "recipe not found '%s'" +msgstr "" + +#: internal/arduino/cores/packagemanager/package_manager.go:574 +msgid "release %[1]s not found for tool %[2]s" +msgstr "" + +#: internal/arduino/cores/status.go:91 internal/arduino/cores/status.go:115 +#: internal/arduino/cores/status.go:142 +msgid "release cannot be nil" +msgstr "" + +#: internal/arduino/resources/download.go:46 +msgid "removing corrupted archive file: %s" +msgstr "" + +#: internal/arduino/libraries/librariesmanager/install.go:151 +msgid "removing library directory: %s" +msgstr "" + +#: internal/arduino/cores/packagemanager/install_uninstall.go:312 +msgid "removing platform files: %s" +msgstr "" + +#: internal/arduino/cores/packagemanager/download.go:89 +msgid "required version %[1]s not found for platform %[2]s" +msgstr "" + +#: internal/arduino/security/signatures.go:74 +msgid "retrieving Arduino public keys: %s" +msgstr "" + +#: internal/arduino/libraries/loader.go:117 +#: internal/arduino/libraries/loader.go:155 +msgid "scanning sketch examples" +msgstr "" + +#: internal/arduino/resources/install.go:83 +msgid "searching package root dir: %s" +msgstr "" + +#: internal/arduino/security/signatures.go:87 +msgid "signature expired: is your system clock set correctly?" +msgstr "" + +#: commands/service_sketch_new.go:78 +msgid "sketch name cannot be empty" +msgstr "" + +#: commands/service_sketch_new.go:91 +msgid "sketch name cannot be the reserved name \"%[1]s\"" +msgstr "" + +#: commands/service_sketch_new.go:81 +msgid "" +"sketch name too long (%[1]d characters). Maximum allowed length is %[2]d" +msgstr "" + +#: internal/arduino/sketch/sketch.go:49 internal/arduino/sketch/sketch.go:54 +msgid "sketch path is not valid" +msgstr "" + +#: internal/cli/board/attach.go:35 internal/cli/sketch/archive.go:36 +msgid "sketchPath" +msgstr "" + +#: internal/arduino/discovery/discoverymanager/discoverymanager.go:208 +msgid "starting discovery %s" +msgstr "" + +#: internal/arduino/resources/checksums.go:117 +msgid "testing archive checksum: %s" +msgstr "" + +#: internal/arduino/resources/checksums.go:112 +msgid "testing archive size: %s" +msgstr "" + +#: internal/arduino/resources/checksums.go:106 +msgid "testing if archive is cached: %s" +msgstr "" + +#: internal/arduino/resources/install.go:46 +msgid "testing local archive integrity: %s" +msgstr "" + +#: internal/arduino/builder/sizer.go:194 +msgid "text section exceeds available space in board" +msgstr "" + +#: internal/arduino/builder/internal/detector/detector.go:214 +#: internal/arduino/builder/internal/preprocessor/ctags.go:70 +msgid "the compilation database may be incomplete or inaccurate" +msgstr "" + +#: commands/service_board_identify.go:190 +msgid "the server responded with status %s" +msgstr "" + +#: internal/arduino/monitor/monitor.go:139 +msgid "timeout waiting for message" +msgstr "" + +#: internal/arduino/cores/packagemanager/install_uninstall.go:406 +msgid "tool %s is not managed by package manager" +msgstr "" + +#: internal/arduino/cores/status.go:101 internal/arduino/cores/status.go:126 +#: internal/arduino/cores/status.go:153 +msgid "tool %s not found" +msgstr "" + +#: internal/arduino/cores/packagemanager/package_manager.go:524 +msgid "tool '%[1]s' not found in package '%[2]s'" +msgstr "" + +#: internal/arduino/cores/packagemanager/install_uninstall.go:401 +msgid "tool not installed" +msgstr "" + +#: internal/arduino/cores/packagemanager/package_manager.go:703 +#: internal/arduino/cores/packagemanager/package_manager.go:809 +msgid "tool release not found: %s" +msgstr "" + +#: internal/arduino/cores/status.go:105 +msgid "tool version %s not found" +msgstr "" + +#: commands/service_library_install.go:93 +msgid "" +"two different versions of the library %[1]s are required: %[2]s and %[3]s" +msgstr "" + +#: internal/arduino/builder/sketch.go:76 +#: internal/arduino/builder/sketch.go:120 +msgid "unable to compute relative path to the sketch for the item" +msgstr "" + +#: internal/arduino/builder/sketch.go:45 +msgid "unable to create a folder to save the sketch" +msgstr "" + +#: internal/arduino/builder/sketch.go:126 +msgid "unable to create the folder containing the item" +msgstr "" + +#: internal/cli/config/get.go:85 +msgid "unable to marshal config to YAML: %v" +msgstr "" + +#: internal/arduino/builder/sketch.go:164 +msgid "unable to read contents of the destination item" +msgstr "" + +#: internal/arduino/builder/sketch.go:137 +msgid "unable to read contents of the source item" +msgstr "" + +#: internal/arduino/builder/sketch.go:147 +msgid "unable to write to destination file" +msgstr "" + +#: internal/arduino/cores/packagemanager/package_manager.go:297 +msgid "unknown package %s" +msgstr "" + +#: internal/arduino/cores/packagemanager/package_manager.go:304 +msgid "unknown platform %s:%s" +msgstr "" + +#: internal/arduino/sketch/sketch.go:137 +msgid "unknown sketch file extension '%s'" +msgstr "" + +#: internal/arduino/resources/checksums.go:61 +msgid "unsupported hash algorithm: %s" +msgstr "" + +#: internal/cli/core/upgrade.go:44 +msgid "upgrade arduino:samd to the latest version" +msgstr "" + +#: internal/cli/core/upgrade.go:42 +msgid "upgrade everything to the latest version" +msgstr "" + +#: commands/service_upload.go:760 +msgid "uploading error: %s" +msgstr "" + +#: internal/arduino/libraries/librariesmanager/librariesmanager.go:189 +msgid "user directory not set" +msgstr "" + +#: internal/cli/feedback/terminal.go:94 +msgid "user input not supported for the '%s' output format" +msgstr "" + +#: internal/cli/feedback/terminal.go:97 +msgid "user input not supported in non interactive mode" +msgstr "" + +#: internal/arduino/cores/packagemanager/profiles.go:175 +msgid "version %s not available for this operating system" +msgstr "" + +#: internal/arduino/cores/packagemanager/profiles.go:154 +msgid "version %s not found" +msgstr "" + +#: commands/service_board_identify.go:208 +msgid "wrong format in server response" +msgstr "" diff --git a/internal/i18n/data/zh.po b/internal/locales/data/zh.po similarity index 88% rename from internal/i18n/data/zh.po rename to internal/locales/data/zh.po index df6a5922aa6..30d1696d315 100644 --- a/internal/i18n/data/zh.po +++ b/internal/locales/data/zh.po @@ -13,7 +13,7 @@ msgstr "" "Language: zh\n" "Plural-Forms: nplurals=1; plural=0;\n" -#: version/version.go:56 +#: internal/version/version.go:56 msgid "%[1]s %[2]s Version: %[3]s Commit: %[4]s Date: %[5]s" msgstr "%[1]s %[2]s 版本:%[3]s 提交:%[4]s 日期:%[5]s" @@ -25,11 +25,11 @@ msgstr "%[1]s 文件夹不再受支持!有关详细信息,请参见 %[2]s" msgid "%[1]s invalid, rebuilding all" msgstr "%[1]s 无效,全部重建" -#: internal/cli/lib/check_deps.go:124 +#: internal/cli/lib/check_deps.go:125 msgid "%[1]s is required but %[2]s is currently installed." msgstr "%[1]s 是必需的,但当前已安装 %[2]s。" -#: internal/arduino/builder/builder.go:486 +#: internal/arduino/builder/builder.go:487 msgid "%[1]s pattern is missing" msgstr "%[1]s 模式丢失" @@ -37,24 +37,24 @@ msgstr "%[1]s 模式丢失" msgid "%s already downloaded" msgstr "%s 已经下载" -#: commands/service_upload.go:781 +#: commands/service_upload.go:782 msgid "%s and %s cannot be used together" msgstr "%s 和 %s 不能一起使用" -#: internal/arduino/cores/packagemanager/install_uninstall.go:371 +#: internal/arduino/cores/packagemanager/install_uninstall.go:373 msgid "%s installed" msgstr "%s 已安装" -#: internal/cli/lib/check_deps.go:121 +#: internal/cli/lib/check_deps.go:122 msgid "%s is already installed." msgstr "%s 已安装" #: internal/arduino/cores/packagemanager/loader.go:63 -#: internal/arduino/cores/packagemanager/loader.go:617 +#: internal/arduino/cores/packagemanager/loader.go:614 msgid "%s is not a directory" msgstr "%s 不是目录" -#: internal/arduino/cores/packagemanager/install_uninstall.go:290 +#: internal/arduino/cores/packagemanager/install_uninstall.go:292 msgid "%s is not managed by package manager" msgstr "%s 不是由软件包管理器管理的" @@ -62,20 +62,20 @@ msgstr "%s 不是由软件包管理器管理的" msgid "%s must be >= 1024" msgstr "" -#: internal/cli/lib/check_deps.go:118 +#: internal/cli/lib/check_deps.go:119 msgid "%s must be installed." msgstr "%s 必须安装" -#: internal/arduino/builder/internal/preprocessor/ctags.go:192 -#: internal/arduino/builder/internal/preprocessor/gcc.go:62 +#: internal/arduino/builder/internal/preprocessor/ctags.go:193 +#: internal/arduino/builder/internal/preprocessor/gcc.go:63 msgid "%s pattern is missing" msgstr "%s 模式丢失" -#: commands/cmderrors/cmderrors.go:818 +#: commands/cmderrors/cmderrors.go:839 msgid "'%s' has an invalid signature" msgstr "‘%s’ 的签名无效" -#: internal/arduino/cores/packagemanager/package_manager.go:448 +#: internal/arduino/cores/packagemanager/package_manager.go:416 msgid "" "'build.core' and 'build.variant' refer to different platforms: %[1]s and " "%[2]s" @@ -85,7 +85,7 @@ msgstr "‘build.core’ 和 ‘build.variant’ 指的是不同的平台:%[1] msgid "(hidden)" msgstr "(隐藏)" -#: internal/arduino/builder/libraries.go:302 +#: internal/arduino/builder/libraries.go:303 msgid "(legacy)" msgstr "(遗留)" @@ -113,7 +113,7 @@ msgstr ".ino 文件已存在" msgid "A new release of Arduino CLI is available:" msgstr "新版本的 Arduino CLI 可用:" -#: commands/cmderrors/cmderrors.go:299 +#: commands/cmderrors/cmderrors.go:300 msgid "A programmer is required to upload" msgstr "需要编程器上传" @@ -146,7 +146,7 @@ msgstr "所有平台都是最新的。" msgid "All the cores are already at the latest version" msgstr "所有内核都是最新版本" -#: commands/service_library_install.go:135 +#: commands/service_library_install.go:136 msgid "Already installed %s" msgstr "已经安装 %s" @@ -174,7 +174,7 @@ msgstr "架构:%s" msgid "Archive already exists" msgstr "存档已经存在" -#: internal/arduino/builder/core.go:163 +#: internal/arduino/builder/core.go:164 msgid "Archiving built core (caching) in: %[1]s" msgstr "存档构建代码(缓存):%[1]s" @@ -222,7 +222,7 @@ msgstr "将项目写入开发板上。" msgid "Author: %s" msgstr "作者:%s" -#: internal/arduino/libraries/librariesmanager/install.go:79 +#: internal/arduino/libraries/librariesmanager/install.go:78 msgid "" "Automatic library install can't be performed in this case, please manually " "remove all duplicates and retry." @@ -259,11 +259,11 @@ msgstr "开发板名:" msgid "Board version:" msgstr "开发板版本:" -#: internal/arduino/builder/sketch.go:243 +#: internal/arduino/builder/sketch.go:245 msgid "Bootloader file specified but missing: %[1]s" msgstr "已指定引导加载程序文件,缺少:%[1]s" -#: internal/cli/compile/compile.go:101 +#: internal/cli/compile/compile.go:104 msgid "" "Builds of cores and sketches are saved into this path to be cached and " "reused." @@ -273,25 +273,25 @@ msgstr "" msgid "Can't create data directory %s" msgstr "无法新建 %s 数据目录" -#: commands/cmderrors/cmderrors.go:511 +#: commands/cmderrors/cmderrors.go:532 msgid "Can't create sketch" msgstr "无法新建项目" -#: commands/service_library_download.go:91 -#: commands/service_library_download.go:94 +#: commands/service_library_download.go:95 +#: commands/service_library_download.go:98 msgid "Can't download library" msgstr "无法下载库" #: commands/service_platform_uninstall.go:89 -#: internal/arduino/cores/packagemanager/install_uninstall.go:136 +#: internal/arduino/cores/packagemanager/install_uninstall.go:138 msgid "Can't find dependencies for platform %s" msgstr "找不到 %s 平台的依赖" -#: commands/cmderrors/cmderrors.go:537 +#: commands/cmderrors/cmderrors.go:558 msgid "Can't open sketch" msgstr "无法打开项目" -#: commands/cmderrors/cmderrors.go:524 +#: commands/cmderrors/cmderrors.go:545 msgid "Can't update sketch" msgstr "无法更新项目" @@ -303,11 +303,11 @@ msgstr "不能同时使用以下参数:%s" msgid "Can't write debug log: %s" msgstr "无法写入调试日志:%s" -#: commands/service_compile.go:187 commands/service_compile.go:190 +#: commands/service_compile.go:190 commands/service_compile.go:193 msgid "Cannot create build cache directory" msgstr "无法新建构建缓存目录" -#: commands/service_compile.go:212 +#: commands/service_compile.go:215 msgid "Cannot create build directory" msgstr "无法新建构建目录" @@ -319,11 +319,11 @@ msgstr "无法新建配置文件目录:%v" msgid "Cannot create config file: %v" msgstr "无法新建配置文件:%v" -#: commands/cmderrors/cmderrors.go:781 +#: commands/cmderrors/cmderrors.go:802 msgid "Cannot create temp dir" msgstr "无法新建临时目录" -#: commands/cmderrors/cmderrors.go:799 +#: commands/cmderrors/cmderrors.go:820 msgid "Cannot create temp file" msgstr "无法新建临时文件" @@ -345,15 +345,15 @@ msgstr "找不到绝对路径:%v" msgid "Cannot get the configuration key %[1]s: %[2]v" msgstr "无法从配置中取得键值对 %[1]s:%[2]v" -#: internal/arduino/cores/packagemanager/install_uninstall.go:143 +#: internal/arduino/cores/packagemanager/install_uninstall.go:145 msgid "Cannot install platform" msgstr "无法安装平台" -#: internal/arduino/cores/packagemanager/install_uninstall.go:349 +#: internal/arduino/cores/packagemanager/install_uninstall.go:351 msgid "Cannot install tool %s" msgstr "无法安装 %s 工具 " -#: commands/service_upload.go:543 +#: commands/service_upload.go:544 msgid "Cannot perform port reset: %s" msgstr "无法执行端口重置:%s" @@ -362,7 +362,7 @@ msgstr "无法执行端口重置:%s" msgid "Cannot remove the configuration key %[1]s: %[2]v" msgstr "" -#: internal/arduino/cores/packagemanager/install_uninstall.go:161 +#: internal/arduino/cores/packagemanager/install_uninstall.go:163 msgid "Cannot upgrade platform" msgstr "无法升级平台" @@ -400,27 +400,31 @@ msgid "" "a change." msgstr "命令保持运行,并在发生更改时打印已连接开发板的列表。" -#: commands/service_debug_config.go:178 commands/service_upload.go:451 +#: commands/service_debug_config.go:178 commands/service_upload.go:452 msgid "Compiled sketch not found in %s" msgstr "在 %s 中找不到已编译项目" +#: internal/arduino/builder/internal/preprocessor/gcc.go:93 +msgid "Compiler error output has been truncated." +msgstr "" + #: internal/cli/compile/compile.go:80 internal/cli/compile/compile.go:81 msgid "Compiles Arduino sketches." msgstr "编译 Arduino 项目" -#: internal/arduino/builder/builder.go:420 +#: internal/arduino/builder/builder.go:421 msgid "Compiling core..." msgstr "正在编译内核。。。" -#: internal/arduino/builder/builder.go:399 +#: internal/arduino/builder/builder.go:400 msgid "Compiling libraries..." msgstr "正在编译库。。。" -#: internal/arduino/builder/libraries.go:133 +#: internal/arduino/builder/libraries.go:134 msgid "Compiling library \"%[1]s\"" msgstr "正在编译 “%[1]s” 库" -#: internal/arduino/builder/builder.go:383 +#: internal/arduino/builder/builder.go:384 msgid "Compiling sketch..." msgstr "正在编译项目。。。" @@ -443,11 +447,11 @@ msgid "" "=[,=]..." msgstr "用于通信的端口设置格式为:=[,=]……" -#: internal/arduino/cores/packagemanager/install_uninstall.go:177 +#: internal/arduino/cores/packagemanager/install_uninstall.go:179 msgid "Configuring platform." msgstr "配置平台。" -#: internal/arduino/cores/packagemanager/install_uninstall.go:359 +#: internal/arduino/cores/packagemanager/install_uninstall.go:361 msgid "Configuring tool." msgstr "配置工具。" @@ -463,19 +467,19 @@ msgstr "" msgid "Core" msgstr "内核" -#: internal/cli/configuration/network.go:103 +#: internal/cli/configuration/network.go:127 msgid "Could not connect via HTTP" msgstr "无法通过 HTTP 连接" -#: commands/instances.go:486 +#: commands/instances.go:487 msgid "Could not create index directory" msgstr "无法新建索引目录" -#: internal/arduino/builder/core.go:41 +#: internal/arduino/builder/core.go:42 msgid "Couldn't deeply cache core build: %[1]s" msgstr "无法深度缓存内核构建:%[1]s" -#: internal/arduino/builder/sizer.go:154 +#: internal/arduino/builder/sizer.go:155 msgid "Couldn't determine program size" msgstr "无法确定程序大小" @@ -487,7 +491,7 @@ msgstr "无法获得当前工作目录:%v" msgid "Create a new Sketch" msgstr "新建项目" -#: internal/cli/compile/compile.go:98 +#: internal/cli/compile/compile.go:101 msgid "Create and print a profile configuration from the build." msgstr "从构建中创建并打印一个配置文件的内容。" @@ -501,7 +505,7 @@ msgid "" "directory with the current configuration settings." msgstr "用当前的配置创建或更新数据目录或自定义目录中的配置文件。" -#: internal/cli/compile/compile.go:331 +#: internal/cli/compile/compile.go:340 msgid "" "Currently, Build Profiles only support libraries available through Arduino " "Library Manager." @@ -575,7 +579,7 @@ msgstr "依赖:%s" msgid "Description" msgstr "说明" -#: internal/arduino/builder/builder.go:313 +#: internal/arduino/builder/builder.go:314 msgid "Detecting libraries used..." msgstr "正在检测使用的库。。。" @@ -635,7 +639,7 @@ msgstr "如果父进程终止,则守护进程不终止。" msgid "Do not try to update library dependencies if already installed." msgstr "如果已经安装了库依赖项,请不要尝试更新它们。" -#: commands/service_library_download.go:88 +#: commands/service_library_download.go:92 msgid "Downloading %s" msgstr "正在下载 %s" @@ -643,21 +647,21 @@ msgstr "正在下载 %s" msgid "Downloading index signature: %s" msgstr "正在下载 %s 索引签名" -#: commands/instances.go:563 commands/instances.go:581 -#: commands/instances.go:595 commands/instances.go:612 +#: commands/instances.go:564 commands/instances.go:582 +#: commands/instances.go:596 commands/instances.go:613 #: internal/arduino/resources/index.go:82 msgid "Downloading index: %s" msgstr "正在下载 %s 索引" -#: commands/instances.go:371 +#: commands/instances.go:372 msgid "Downloading library %s" msgstr "正在下载 %s 库" -#: commands/instances.go:53 +#: commands/instances.go:54 msgid "Downloading missing tool %s" msgstr "正在下载丢失的 %s 工具 " -#: internal/arduino/cores/packagemanager/install_uninstall.go:96 +#: internal/arduino/cores/packagemanager/install_uninstall.go:98 msgid "Downloading packages" msgstr "正在下载软件包" @@ -693,7 +697,7 @@ msgstr "输入在存储库上托管的库的 git 地址" msgid "Error adding file to sketch archive" msgstr "将文件添加到项目存档时出错" -#: internal/arduino/builder/core.go:169 +#: internal/arduino/builder/core.go:170 msgid "Error archiving built core (caching) in %[1]s: %[2]s" msgstr "在 %[1]s 中存档构建内核(缓存)时出错:%[2]s" @@ -709,11 +713,11 @@ msgstr "计算相对文件路径时出错" msgid "Error cleaning caches: %v" msgstr "清理缓存出错:%v" -#: internal/cli/compile/compile.go:220 +#: internal/cli/compile/compile.go:225 msgid "Error converting path to absolute: %v" msgstr "将路径转换为绝对路径时出错:%v" -#: commands/service_compile.go:405 +#: commands/service_compile.go:420 msgid "Error copying output file %s" msgstr "复制输出 %s 文件时出错" @@ -727,7 +731,7 @@ msgstr "" msgid "Error creating instance: %v" msgstr "新建实例时出错:%v" -#: commands/service_compile.go:389 +#: commands/service_compile.go:403 msgid "Error creating output dir" msgstr "新建输出目录时出错" @@ -752,7 +756,7 @@ msgstr "下载 %[1]s 时出错:%[2]v" msgid "Error downloading %s" msgstr "下载 %s 时出错" -#: commands/instances.go:660 internal/arduino/resources/index.go:83 +#: commands/instances.go:661 internal/arduino/resources/index.go:83 msgid "Error downloading index '%s'" msgstr "下载 ‘%s’ 索引时出错" @@ -760,7 +764,7 @@ msgstr "下载 ‘%s’ 索引时出错" msgid "Error downloading index signature '%s'" msgstr "下载 ‘%s’ 索引签名时出错" -#: commands/instances.go:381 commands/instances.go:387 +#: commands/instances.go:382 commands/instances.go:388 msgid "Error downloading library %s" msgstr "下载 %s 库时出错" @@ -769,7 +773,7 @@ msgstr "下载 %s 库时出错" msgid "Error downloading platform %s" msgstr "下载 %s 平台时出错" -#: internal/arduino/cores/packagemanager/download.go:127 +#: internal/arduino/cores/packagemanager/download.go:129 #: internal/arduino/cores/packagemanager/profiles.go:179 msgid "Error downloading tool %s" msgstr "下载 %s 工具时出错" @@ -784,7 +788,7 @@ msgstr "输出编码 JSON 过程时出错:%v" #: internal/cli/burnbootloader/burnbootloader.go:78 #: internal/cli/burnbootloader/burnbootloader.go:100 -#: internal/cli/compile/compile.go:264 internal/cli/compile/compile.go:306 +#: internal/cli/compile/compile.go:269 internal/cli/compile/compile.go:311 #: internal/cli/upload/upload.go:99 internal/cli/upload/upload.go:128 msgid "Error during Upload: %v" msgstr "上传时出错:%v" @@ -793,7 +797,7 @@ msgstr "上传时出错:%v" msgid "Error during board detection" msgstr "" -#: internal/cli/compile/compile.go:379 +#: internal/cli/compile/compile.go:394 msgid "Error during build: %v" msgstr "构建时出错:%v" @@ -814,7 +818,7 @@ msgstr "升级时出错:%v" msgid "Error extracting %s" msgstr "提取 %s 时出错" -#: commands/service_upload.go:448 +#: commands/service_upload.go:449 msgid "Error finding build artifacts" msgstr "查找构建项目时出错" @@ -840,7 +844,7 @@ msgid "" "correct sketch folder or provide the --port flag: %s" msgstr "从 `sketch.yaml` 获取默认端口时出错。检查是否在正确的 sketch 文件夹中,或提供 --port 标志: " -#: commands/service_compile.go:328 commands/service_library_list.go:115 +#: commands/service_compile.go:338 commands/service_library_list.go:115 msgid "Error getting information for library %s" msgstr "获取 %s 库的信息时出错" @@ -876,7 +880,7 @@ msgstr "安装 Git 库时出错:%v" msgid "Error installing Zip Library: %v" msgstr "安装 Zip 库时出错:%v" -#: commands/instances.go:397 +#: commands/instances.go:398 msgid "Error installing library %s" msgstr "安装 %s 库时出错" @@ -903,7 +907,7 @@ msgstr "列出库时出错:%v" msgid "Error listing platforms: %v" msgstr "列出平台列表时出错:%v" -#: commands/cmderrors/cmderrors.go:424 +#: commands/cmderrors/cmderrors.go:445 msgid "Error loading hardware platform" msgstr "加载硬件平台时出错" @@ -920,15 +924,15 @@ msgstr "打开 %s 时出错" msgid "Error opening debug logging file: %s" msgstr "打开调试日志文件出错:%s" -#: internal/cli/compile/compile.go:193 +#: internal/cli/compile/compile.go:196 msgid "Error opening source code overrides data file: %v" msgstr "打开源代码覆盖数据文件时出错:%v" -#: internal/cli/compile/compile.go:206 +#: internal/cli/compile/compile.go:209 msgid "Error parsing --show-properties flag: %v" msgstr "解析 --show-properties 参数时出错:%v" -#: commands/service_compile.go:398 +#: commands/service_compile.go:412 msgid "Error reading build directory" msgstr "读取构建目录时出错" @@ -944,7 +948,7 @@ msgstr "解析 %[1]s 的依赖时出错:%[2]s" msgid "Error retrieving core list: %v" msgstr "检索内核列表时出错:%v" -#: internal/arduino/cores/packagemanager/install_uninstall.go:158 +#: internal/arduino/cores/packagemanager/install_uninstall.go:160 msgid "Error rolling-back changes: %s" msgstr "回滚更改时出错:%s" @@ -998,7 +1002,7 @@ msgstr "更新库索引时出错:%v" msgid "Error upgrading libraries" msgstr "升级库时出错" -#: internal/arduino/cores/packagemanager/install_uninstall.go:153 +#: internal/arduino/cores/packagemanager/install_uninstall.go:155 msgid "Error upgrading platform: %s" msgstr "更新平台时出错:%s" @@ -1011,10 +1015,10 @@ msgstr "验证签名时出错" msgid "Error while detecting libraries included by %[1]s" msgstr "检测 %[1]s 包含的库时出错" -#: internal/arduino/builder/sizer.go:79 internal/arduino/builder/sizer.go:88 -#: internal/arduino/builder/sizer.go:91 internal/arduino/builder/sizer.go:110 -#: internal/arduino/builder/sizer.go:215 internal/arduino/builder/sizer.go:225 -#: internal/arduino/builder/sizer.go:229 +#: internal/arduino/builder/sizer.go:80 internal/arduino/builder/sizer.go:89 +#: internal/arduino/builder/sizer.go:92 internal/arduino/builder/sizer.go:111 +#: internal/arduino/builder/sizer.go:218 internal/arduino/builder/sizer.go:228 +#: internal/arduino/builder/sizer.go:232 msgid "Error while determining sketch size: %s" msgstr "确定项目大小时出错:%s" @@ -1030,7 +1034,7 @@ msgstr "" msgid "Error: command description is not supported by %v" msgstr "错误:%v 不支持命令说明" -#: internal/cli/compile/compile.go:199 +#: internal/cli/compile/compile.go:202 msgid "Error: invalid source code overrides data file: %v" msgstr "错误:无效的源代码覆盖了数据文件:%v" @@ -1050,7 +1054,7 @@ msgstr "示例:" msgid "Executable to debug" msgstr "可执行调试" -#: commands/service_debug_config.go:181 commands/service_upload.go:454 +#: commands/service_debug_config.go:181 commands/service_upload.go:455 msgid "Expected compiled sketch in directory %s, but is a file instead" msgstr "应在 %s 目录中编译项目,但它是一个文件" @@ -1064,23 +1068,23 @@ msgstr "FQBN" msgid "FQBN:" msgstr "FQBN:" -#: commands/service_upload.go:577 +#: commands/service_upload.go:578 msgid "Failed chip erase" msgstr "芯片擦除失败" -#: commands/service_upload.go:584 +#: commands/service_upload.go:585 msgid "Failed programming" msgstr "编译失败" -#: commands/service_upload.go:580 +#: commands/service_upload.go:581 msgid "Failed to burn bootloader" msgstr "无法烧录引导加载程序" -#: commands/instances.go:87 +#: commands/instances.go:88 msgid "Failed to create data directory" msgstr "新建数据目录失败" -#: commands/instances.go:76 +#: commands/instances.go:77 msgid "Failed to create downloads directory" msgstr "新建下载文件夹失败" @@ -1100,7 +1104,7 @@ msgstr "未能侦听 TCP 端口:%[1]s。意外错误:%[2]v" msgid "Failed to listen on TCP port: %s. Address already in use." msgstr "未能侦听 TCP 端口:%s。地址已被使用。" -#: commands/service_upload.go:588 +#: commands/service_upload.go:589 msgid "Failed uploading" msgstr "上传失败" @@ -1108,7 +1112,7 @@ msgstr "上传失败" msgid "File:" msgstr "文件:" -#: commands/service_compile.go:160 +#: commands/service_compile.go:163 msgid "" "Firmware encryption/signing requires all the following properties to be " "defined: %s" @@ -1147,7 +1151,7 @@ msgid "" "Force skip of pre-uninstall scripts (if the CLI is running interactively)." msgstr "强制跳过 pre-uninstall 命令(如果 CLI 以交互方式运行)。" -#: commands/cmderrors/cmderrors.go:839 +#: commands/cmderrors/cmderrors.go:860 msgid "Found %d platforms matching \"%s\": %s" msgstr "找到%d平台有符合的 \"%s\": %s" @@ -1172,7 +1176,7 @@ msgstr "已生成脚本" msgid "Generates completion scripts for various shells" msgstr "已为各种 shell 生成脚本" -#: internal/arduino/builder/builder.go:333 +#: internal/arduino/builder/builder.go:334 msgid "Generating function prototypes..." msgstr "生成函数原型。。。" @@ -1184,13 +1188,13 @@ msgstr "取得设定的键值对。" msgid "Global Flags:" msgstr "全局参数:" -#: internal/arduino/builder/sizer.go:164 +#: internal/arduino/builder/sizer.go:166 msgid "" "Global variables use %[1]s bytes (%[3]s%%) of dynamic memory, leaving %[4]s " "bytes for local variables. Maximum is %[2]s bytes." msgstr "全局变量使用 %[1]s 个字节(%[3]s%%)的动态内存。剩下 %[4]s 个字节将被用于局部变量,最大可用值为 %[2]s 字节。" -#: internal/arduino/builder/sizer.go:170 +#: internal/arduino/builder/sizer.go:172 msgid "Global variables use %[1]s bytes of dynamic memory." msgstr "全局变量使用 %[1]s 字节的动态内存。" @@ -1208,7 +1212,7 @@ msgstr "Id" msgid "Identification properties:" msgstr "标识属性:" -#: internal/cli/compile/compile.go:132 +#: internal/cli/compile/compile.go:135 msgid "If set built binaries will be exported to the sketch folder." msgstr "如果设定,则构建的二进制文件将导出到项目文件夹。" @@ -1235,20 +1239,20 @@ msgstr "在 IDE-Builtin 目录下安装库" msgid "Installed" msgstr "已安装" -#: commands/service_library_install.go:200 +#: commands/service_library_install.go:201 msgid "Installed %s" msgstr "已安装 %s" -#: commands/service_library_install.go:183 -#: internal/arduino/cores/packagemanager/install_uninstall.go:333 +#: commands/service_library_install.go:184 +#: internal/arduino/cores/packagemanager/install_uninstall.go:335 msgid "Installing %s" msgstr "正在安装 %s" -#: commands/instances.go:395 +#: commands/instances.go:396 msgid "Installing library %s" msgstr "正在安装 %s 库" -#: internal/arduino/cores/packagemanager/install_uninstall.go:119 +#: internal/arduino/cores/packagemanager/install_uninstall.go:121 #: internal/arduino/cores/packagemanager/profiles.go:134 msgid "Installing platform %s" msgstr "正在安装 %s 平台" @@ -1269,11 +1273,11 @@ msgstr "在系统中安装一个或多个指定的库。" msgid "Internal error in cache" msgstr "缓存中的内部错误" -#: commands/cmderrors/cmderrors.go:377 +#: commands/cmderrors/cmderrors.go:378 msgid "Invalid '%[1]s' property: %[2]s" msgstr "无效的 ‘%[1]s’ 属性:%[2]s" -#: commands/cmderrors/cmderrors.go:60 +#: commands/cmderrors/cmderrors.go:61 msgid "Invalid FQBN" msgstr "无效的 FQBN" @@ -1281,11 +1285,11 @@ msgstr "无效的 FQBN" msgid "Invalid TCP address: port is missing" msgstr "无效的 TCP 地址:缺少端口" -#: commands/cmderrors/cmderrors.go:78 +#: commands/cmderrors/cmderrors.go:79 msgid "Invalid URL" msgstr "无效的地址" -#: commands/instances.go:183 +#: commands/instances.go:184 msgid "Invalid additional URL: %v" msgstr "无效的附加地址:%v" @@ -1299,23 +1303,23 @@ msgstr "" msgid "Invalid argument passed: %v" msgstr "传递的参数无效:%v" -#: commands/service_compile.go:272 +#: commands/service_compile.go:282 msgid "Invalid build properties" msgstr "无效的构建属性" -#: internal/arduino/builder/sizer.go:250 +#: internal/arduino/builder/sizer.go:253 msgid "Invalid data size regexp: %s" msgstr "无效的数据大小正则表达式:%s" -#: internal/arduino/builder/sizer.go:256 +#: internal/arduino/builder/sizer.go:259 msgid "Invalid eeprom size regexp: %s" msgstr "无效的 eeprom 大小正则表达式:%s" -#: commands/instances.go:596 +#: commands/instances.go:597 msgid "Invalid index URL: %s" msgstr "无效的网站主页: %s" -#: commands/cmderrors/cmderrors.go:46 +#: commands/cmderrors/cmderrors.go:47 msgid "Invalid instance" msgstr "无效的实例" @@ -1323,7 +1327,7 @@ msgstr "无效的实例" msgid "Invalid item %s" msgstr "无效的 %s 条目" -#: commands/cmderrors/cmderrors.go:96 +#: commands/cmderrors/cmderrors.go:97 msgid "Invalid library" msgstr "无效的库" @@ -1331,11 +1335,11 @@ msgstr "无效的库" msgid "Invalid logging level: %s" msgstr "" -#: commands/instances.go:613 +#: commands/instances.go:614 msgid "Invalid network configuration: %s" msgstr "" -#: internal/cli/configuration/network.go:66 +#: internal/cli/configuration/network.go:83 msgid "Invalid network.proxy '%[1]s': %[2]s" msgstr "无效的 ‘%[1]s’ 网络代理: %[2]s" @@ -1343,7 +1347,7 @@ msgstr "无效的 ‘%[1]s’ 网络代理: %[2]s" msgid "Invalid output format: %s" msgstr "无效的输出格式:%s" -#: commands/instances.go:580 +#: commands/instances.go:581 msgid "Invalid package index in %s" msgstr "%s 中的软件包索引无效" @@ -1351,35 +1355,35 @@ msgstr "%s 中的软件包索引无效" msgid "Invalid parameter %s: version not allowed" msgstr "无效 %s 参数:版本不允许" -#: commands/service_board_list.go:81 +#: commands/service_board_identify.go:169 msgid "Invalid pid value: '%s'" msgstr "无效的pid值:‘%s’" -#: commands/cmderrors/cmderrors.go:220 +#: commands/cmderrors/cmderrors.go:221 msgid "Invalid profile" msgstr "无效的配置文件" -#: commands/service_monitor.go:269 +#: commands/service_monitor.go:270 msgid "Invalid recipe in platform.txt" msgstr "platform.txt 中的方法无效" -#: internal/arduino/builder/sizer.go:240 +#: internal/arduino/builder/sizer.go:243 msgid "Invalid size regexp: %s" msgstr "无效的大小正则表达式:%s" -#: main.go:85 +#: main.go:86 msgid "Invalid value in configuration" msgstr "" -#: commands/cmderrors/cmderrors.go:114 +#: commands/cmderrors/cmderrors.go:115 msgid "Invalid version" msgstr "无效的版本" -#: commands/service_board_list.go:78 +#: commands/service_board_identify.go:166 msgid "Invalid vid value: '%s'" msgstr "无效的 vid 值:‘%s’" -#: internal/cli/compile/compile.go:129 +#: internal/cli/compile/compile.go:132 msgid "" "Just produce the compilation database, without actually compiling. All build" " commands are skipped except pre* hooks." @@ -1402,12 +1406,12 @@ msgstr "库_名" msgid "Latest" msgstr "最新的" -#: internal/arduino/builder/libraries.go:91 +#: internal/arduino/builder/libraries.go:92 msgid "Library %[1]s has been declared precompiled:" msgstr "%[1]s 库已声明为预编译:" -#: commands/service_library_install.go:141 -#: internal/arduino/libraries/librariesmanager/install.go:131 +#: commands/service_library_install.go:142 +#: internal/arduino/libraries/librariesmanager/install.go:130 msgid "" "Library %[1]s is already installed, but with a different version: %[2]s" msgstr "库 %[1]s 已经安装,但有不同的版本。:%[2]s" @@ -1420,11 +1424,11 @@ msgstr "库 %s 已经是最新版本" msgid "Library %s is not installed" msgstr "%s 库未安装" -#: commands/instances.go:374 +#: commands/instances.go:375 msgid "Library %s not found" msgstr "未找到 %s 库" -#: commands/cmderrors/cmderrors.go:445 +#: commands/cmderrors/cmderrors.go:466 msgid "Library '%s' not found" msgstr "未找到 %s 库" @@ -1433,12 +1437,12 @@ msgid "" "Library can't use both '%[1]s' and '%[2]s' folders. Double check in '%[3]s'." msgstr "库不能同时使用 ‘%[1]s’ 和 ‘%[2]s’ 文件夹。在 ‘%[3]s’ 再次检查。" -#: commands/cmderrors/cmderrors.go:574 +#: commands/cmderrors/cmderrors.go:595 msgid "Library install failed" msgstr "库安装失败" -#: commands/service_library_install.go:234 -#: commands/service_library_install.go:274 +#: commands/service_library_install.go:235 +#: commands/service_library_install.go:275 msgid "Library installed" msgstr "已安装的库" @@ -1446,7 +1450,7 @@ msgstr "已安装的库" msgid "License: %s" msgstr "许可证:%s" -#: internal/arduino/builder/builder.go:436 +#: internal/arduino/builder/builder.go:437 msgid "Linking everything together..." msgstr "将所有内容链接在一起。。。" @@ -1470,7 +1474,7 @@ msgid "" " multiple options." msgstr "用逗号分隔的开发板选项列表。可以对多个选项多次使用。" -#: internal/cli/compile/compile.go:107 +#: internal/cli/compile/compile.go:110 msgid "" "List of custom build properties separated by commas. Or can be used multiple" " times for multiple properties." @@ -1492,8 +1496,8 @@ msgstr "列出所有已连接的开发板。" msgid "Lists cores and libraries that can be upgraded" msgstr "列出可以升级的内核和库" -#: commands/instances.go:221 commands/instances.go:232 -#: commands/instances.go:342 +#: commands/instances.go:222 commands/instances.go:233 +#: commands/instances.go:343 msgid "Loading index file: %v" msgstr "正在加载索引文件:%v" @@ -1501,7 +1505,7 @@ msgstr "正在加载索引文件:%v" msgid "Location" msgstr "位置" -#: internal/arduino/builder/sizer.go:205 +#: internal/arduino/builder/sizer.go:208 msgid "Low memory available, stability problems may occur." msgstr "可用内存不足,可能会出现稳定性问题。" @@ -1509,7 +1513,7 @@ msgstr "可用内存不足,可能会出现稳定性问题。" msgid "Maintainer: %s" msgstr "维护者:%s" -#: internal/cli/compile/compile.go:137 +#: internal/cli/compile/compile.go:140 msgid "" "Max number of parallel compiles. If set to 0 the number of available CPUs " "cores will be used." @@ -1528,23 +1532,23 @@ msgstr "记录此级别及以上的消息。有效级别为 %s" msgid "Missing '%[1]s' from library in %[2]s" msgstr "%[2]s 中的库中缺少 ‘%[1]s’" -#: commands/cmderrors/cmderrors.go:169 +#: commands/cmderrors/cmderrors.go:170 msgid "Missing FQBN (Fully Qualified Board Name)" msgstr "缺少 FQBN(完全合格开发板名)" -#: commands/cmderrors/cmderrors.go:260 +#: commands/cmderrors/cmderrors.go:261 msgid "Missing port" msgstr "找不到端口" -#: commands/cmderrors/cmderrors.go:236 +#: commands/cmderrors/cmderrors.go:237 msgid "Missing port address" msgstr "缺少端口地址" -#: commands/cmderrors/cmderrors.go:248 +#: commands/cmderrors/cmderrors.go:249 msgid "Missing port protocol" msgstr "找不到端口协议" -#: commands/cmderrors/cmderrors.go:286 +#: commands/cmderrors/cmderrors.go:287 msgid "Missing programmer" msgstr "找不到编程器" @@ -1552,15 +1556,15 @@ msgstr "找不到编程器" msgid "Missing required upload field: %s" msgstr "缺少必要的上传字段:%s" -#: internal/arduino/builder/sizer.go:244 +#: internal/arduino/builder/sizer.go:247 msgid "Missing size regexp" msgstr "缺少大小正则表达式" -#: commands/cmderrors/cmderrors.go:497 +#: commands/cmderrors/cmderrors.go:518 msgid "Missing sketch path" msgstr "缺少项目路径" -#: commands/cmderrors/cmderrors.go:358 +#: commands/cmderrors/cmderrors.go:359 msgid "Monitor '%s' not found" msgstr "未找到 ‘%s’ 监视器" @@ -1618,7 +1622,7 @@ msgstr "" msgid "No libraries update is available." msgstr "没有可用的库更新。" -#: commands/cmderrors/cmderrors.go:274 +#: commands/cmderrors/cmderrors.go:275 msgid "No monitor available for the port protocol %s" msgstr "没有可用于端口协议 %s 的监视器" @@ -1634,15 +1638,15 @@ msgstr "没有任何平台被安装。" msgid "No platforms matching your search." msgstr "没有与你的搜索匹配的平台。" -#: commands/service_upload.go:533 +#: commands/service_upload.go:534 msgid "No upload port found, using %s as fallback" msgstr "未找到上传端口,使用 %s 作为后备" -#: commands/cmderrors/cmderrors.go:464 +#: commands/cmderrors/cmderrors.go:485 msgid "No valid dependencies solution found" msgstr "找不到有效的依赖解决方案" -#: internal/arduino/builder/sizer.go:195 +#: internal/arduino/builder/sizer.go:198 msgid "Not enough memory; see %[1]s for tips on reducing your footprint." msgstr "内存不足;有关减少空间的提示,请参见 %[1]s。" @@ -1672,35 +1676,35 @@ msgstr "开启开发板的通信端口。" msgid "Option:" msgstr "选项:" -#: internal/cli/compile/compile.go:117 +#: internal/cli/compile/compile.go:120 msgid "" "Optional, can be: %s. Used to tell gcc which warning level to use (-W flag)." msgstr "可选,可以是:%s。用于告诉 gcc 使用哪个警告级别(-W 参数)。" -#: internal/cli/compile/compile.go:130 +#: internal/cli/compile/compile.go:133 msgid "Optional, cleanup the build folder and do not use any cached build." msgstr "可选,清理构建文件夹并且不使用任何缓存构建。" -#: internal/cli/compile/compile.go:127 +#: internal/cli/compile/compile.go:130 msgid "" "Optional, optimize compile output for debugging, rather than for release." msgstr "可选,优化编译输出用于调试,而不是发布。" -#: internal/cli/compile/compile.go:119 +#: internal/cli/compile/compile.go:122 msgid "Optional, suppresses almost every output." msgstr "可选,禁止几乎所有输出。" -#: internal/cli/compile/compile.go:118 internal/cli/upload/upload.go:79 +#: internal/cli/compile/compile.go:121 internal/cli/upload/upload.go:79 msgid "Optional, turns on verbose mode." msgstr "可选,开启详细模式。" -#: internal/cli/compile/compile.go:133 +#: internal/cli/compile/compile.go:136 msgid "" "Optional. Path to a .json file that contains a set of replacements of the " "sketch source code." msgstr "可选。 包含一组替换项目源代码的文件的路径。" -#: internal/cli/compile/compile.go:109 +#: internal/cli/compile/compile.go:112 msgid "" "Override a build property with a custom value. Can be used multiple times " "for multiple properties." @@ -1760,17 +1764,17 @@ msgstr "软件包网站:" msgid "Paragraph: %s" msgstr "段落:%s" -#: internal/cli/compile/compile.go:454 internal/cli/compile/compile.go:469 +#: internal/cli/compile/compile.go:473 internal/cli/compile/compile.go:488 msgid "Path" msgstr "路径" -#: internal/cli/compile/compile.go:126 +#: internal/cli/compile/compile.go:129 msgid "" "Path to a collection of libraries. Can be used multiple times or entries can" " be comma separated." msgstr "一个库的集合的路径。可以多次使用,或者可以用逗号分隔条目。" -#: internal/cli/compile/compile.go:124 +#: internal/cli/compile/compile.go:127 msgid "" "Path to a single library’s root folder. Can be used multiple times or " "entries can be comma separated." @@ -1780,26 +1784,26 @@ msgstr "单个库的根文件夹的路径。可以多次使用,或者可以用 msgid "Path to the file where logs will be written." msgstr "写入日志的文件的路径。" -#: internal/cli/compile/compile.go:105 +#: internal/cli/compile/compile.go:108 msgid "" "Path where to save compiled files. If omitted, a directory will be created " "in the default temporary path of your OS." msgstr "保存已编译文件的路径。如果省略,将在操作系统的默认临时路径中创建目录。" -#: commands/service_upload.go:514 +#: commands/service_upload.go:515 msgid "Performing 1200-bps touch reset on serial port %s" msgstr "在 %s 端口上执行 1200-bps TOUCH 重置" -#: commands/service_platform_install.go:86 -#: commands/service_platform_install.go:93 +#: commands/service_platform_install.go:91 +#: commands/service_platform_install.go:98 msgid "Platform %s already installed" msgstr "%s 平台已经安装" -#: internal/arduino/cores/packagemanager/install_uninstall.go:194 +#: internal/arduino/cores/packagemanager/install_uninstall.go:196 msgid "Platform %s installed" msgstr "已安装 %s 平台" -#: internal/cli/compile/compile.go:402 internal/cli/upload/upload.go:148 +#: internal/cli/compile/compile.go:417 internal/cli/upload/upload.go:148 msgid "" "Platform %s is not found in any known index\n" "Maybe you need to add a 3rd party URL?" @@ -1807,15 +1811,19 @@ msgstr "" "在任何已知索引中都找不到 %s 平台\n" "也许你需要添加一个第 3 方地址?" -#: internal/arduino/cores/packagemanager/install_uninstall.go:318 +#: internal/arduino/cores/packagemanager/install_uninstall.go:320 msgid "Platform %s uninstalled" msgstr "%s 平台已卸载" -#: commands/cmderrors/cmderrors.go:482 +#: commands/cmderrors/cmderrors.go:427 +msgid "Platform '%s'" +msgstr "" + +#: commands/cmderrors/cmderrors.go:503 msgid "Platform '%s' is already at the latest version" msgstr "‘%s’ 平台已经是最新版本" -#: commands/cmderrors/cmderrors.go:406 +#: commands/cmderrors/cmderrors.go:407 msgid "Platform '%s' not found" msgstr "未找到 ‘%s’ 平台" @@ -1823,7 +1831,7 @@ msgstr "未找到 ‘%s’ 平台" msgid "Platform ID" msgstr "平台 ID" -#: internal/cli/compile/compile.go:387 internal/cli/upload/upload.go:136 +#: internal/cli/compile/compile.go:402 internal/cli/upload/upload.go:136 msgid "Platform ID is not correct" msgstr "平台 ID 不正确" @@ -1855,13 +1863,13 @@ msgstr "平台名称:" msgid "Platform size (bytes):" msgstr "平台大小(字节):" -#: commands/cmderrors/cmderrors.go:153 +#: commands/cmderrors/cmderrors.go:154 msgid "" "Please specify an FQBN. Multiple possible boards detected on port %[1]s with" " protocol %[2]s" msgstr "请指定一个 FQBN。在 %[1]s 端口上检测到多个可能的开发板,协议为 %[2]s" -#: commands/cmderrors/cmderrors.go:133 +#: commands/cmderrors/cmderrors.go:134 msgid "" "Please specify an FQBN. The board on port %[1]s with protocol %[2]s can't be" " identified" @@ -1875,12 +1883,12 @@ msgstr "端口" msgid "Port closed: %v" msgstr "端口关闭:%v" -#: commands/cmderrors/cmderrors.go:668 +#: commands/cmderrors/cmderrors.go:689 msgid "Port monitor error" msgstr "端口监视器错误" -#: internal/arduino/builder/libraries.go:101 -#: internal/arduino/builder/libraries.go:109 +#: internal/arduino/builder/libraries.go:102 +#: internal/arduino/builder/libraries.go:110 msgid "Precompiled library in \"%[1]s\" not found" msgstr "在 “%[1]s” 中找不到预编译库" @@ -1888,7 +1896,7 @@ msgstr "在 “%[1]s” 中找不到预编译库" msgid "Print details about a board." msgstr "打印开发板的详细信息。" -#: internal/cli/compile/compile.go:100 +#: internal/cli/compile/compile.go:103 msgid "Print preprocessed code to stdout instead of compiling." msgstr "将预处理的代码打印到标准输出,而不是编译。" @@ -1908,11 +1916,11 @@ msgstr "打印当前配置" msgid "Prints the current configuration." msgstr "打印当前配置。" -#: commands/cmderrors/cmderrors.go:202 +#: commands/cmderrors/cmderrors.go:203 msgid "Profile '%s' not found" msgstr "未找到 ‘%s’ 的配置文件''。" -#: commands/cmderrors/cmderrors.go:339 +#: commands/cmderrors/cmderrors.go:340 msgid "Programmer '%s' not found" msgstr "未找到 ‘%s’ 编程器" @@ -1928,7 +1936,7 @@ msgstr "要使用的编程器,例如:atmel_ice" msgid "Programmers:" msgstr "编程器:" -#: commands/cmderrors/cmderrors.go:391 +#: commands/cmderrors/cmderrors.go:392 msgid "Property '%s' is undefined" msgstr "‘%s’ 属性未定义" @@ -1944,11 +1952,11 @@ msgstr "提供包括:%s" msgid "Removes one or more values from a setting." msgstr "从设置中删除一个或多个值。" -#: commands/service_library_install.go:187 +#: commands/service_library_install.go:188 msgid "Replacing %[1]s with %[2]s" msgstr "将 %[1]s 替换为 %[2]s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:123 +#: internal/arduino/cores/packagemanager/install_uninstall.go:125 msgid "Replacing platform %[1]s with %[2]s" msgstr "用 %[2]s 替换 %[1]s 平台" @@ -1964,12 +1972,12 @@ msgstr "以静默模式运行,仅显示监视器输入和输出。" msgid "Run the Arduino CLI as a gRPC daemon." msgstr "" -#: internal/arduino/builder/core.go:42 +#: internal/arduino/builder/core.go:43 msgid "Running normal build of the core..." msgstr "正在运行正常的内核构建。。。" -#: internal/arduino/cores/packagemanager/install_uninstall.go:297 -#: internal/arduino/cores/packagemanager/install_uninstall.go:411 +#: internal/arduino/cores/packagemanager/install_uninstall.go:299 +#: internal/arduino/cores/packagemanager/install_uninstall.go:413 msgid "Running pre_uninstall script." msgstr "运行 pre_uninstall 命令。" @@ -1981,7 +1989,7 @@ msgstr "搜索_条件" msgid "SVD file path" msgstr "SVD 文件路径" -#: internal/cli/compile/compile.go:103 +#: internal/cli/compile/compile.go:106 msgid "Save build artifacts in this directory." msgstr "将生成文件保存在此目录中。" @@ -2234,7 +2242,7 @@ msgstr "显示 Arduino CLI 的版本号。" msgid "Size (bytes):" msgstr "大小(字节):" -#: commands/service_compile.go:276 +#: commands/service_compile.go:286 msgid "" "Sketch cannot be located in build path. Please specify a different build " "path" @@ -2248,11 +2256,11 @@ msgstr "项目新建于:%s" msgid "Sketch profile to use" msgstr "使用项目配置文件" -#: internal/arduino/builder/sizer.go:190 +#: internal/arduino/builder/sizer.go:193 msgid "Sketch too big; see %[1]s for tips on reducing it." msgstr "项目太大;请参阅 %[1]s,以获取减少项目大小的提示。" -#: internal/arduino/builder/sizer.go:158 +#: internal/arduino/builder/sizer.go:160 msgid "" "Sketch uses %[1]s bytes (%[3]s%%) of program storage space. Maximum is %[2]s" " bytes." @@ -2264,19 +2272,19 @@ msgid "" "files to .ino:" msgstr "项目 .pde 扩展名已弃用,请将以下文件重命名为 .ino:" -#: internal/arduino/builder/linker.go:30 +#: internal/arduino/builder/linker.go:31 msgid "Skip linking of final executable." msgstr "跳过最终可执行文件的链接。" -#: commands/service_upload.go:507 +#: commands/service_upload.go:508 msgid "Skipping 1200-bps touch reset: no serial port selected!" msgstr "跳过 1200-bps TOUCH 重置:未选择串口!" -#: internal/arduino/builder/archive_compiled_files.go:27 +#: internal/arduino/builder/archive_compiled_files.go:28 msgid "Skipping archive creation of: %[1]s" msgstr "正在跳过以下内容的存档创建:%[1]s" -#: internal/arduino/builder/compilation.go:183 +#: internal/arduino/builder/compilation.go:184 msgid "Skipping compile of: %[1]s" msgstr "跳过编译:%[1]s" @@ -2284,16 +2292,16 @@ msgstr "跳过编译:%[1]s" msgid "Skipping dependencies detection for precompiled library %[1]s" msgstr "跳过 %[1]s 预编译库的依赖检测" -#: internal/arduino/cores/packagemanager/install_uninstall.go:190 +#: internal/arduino/cores/packagemanager/install_uninstall.go:192 msgid "Skipping platform configuration." msgstr "跳过平台配置。" -#: internal/arduino/cores/packagemanager/install_uninstall.go:306 -#: internal/arduino/cores/packagemanager/install_uninstall.go:420 +#: internal/arduino/cores/packagemanager/install_uninstall.go:308 +#: internal/arduino/cores/packagemanager/install_uninstall.go:422 msgid "Skipping pre_uninstall script." msgstr "跳过 pre_uninstall 命令" -#: internal/arduino/cores/packagemanager/install_uninstall.go:368 +#: internal/arduino/cores/packagemanager/install_uninstall.go:370 msgid "Skipping tool configuration." msgstr "跳过工具配置。" @@ -2301,7 +2309,7 @@ msgstr "跳过工具配置。" msgid "Skipping: %[1]s" msgstr "跳过:%[1]s" -#: commands/instances.go:633 +#: commands/instances.go:634 msgid "Some indexes could not be updated." msgstr "一些索引无法更新。" @@ -2321,7 +2329,7 @@ msgstr "" msgid "The custom config file (if not specified the default will be used)." msgstr "自定义配置文件(如果未指定,将使用默认值)。" -#: internal/cli/compile/compile.go:90 +#: internal/cli/compile/compile.go:93 msgid "" "The flag --build-cache-path has been deprecated. Please use just --build-" "path alone or configure the build cache path in the Arduino CLI settings." @@ -2339,7 +2347,7 @@ msgstr "给定的开发板/编程器配置不支持调试。" msgid "The given board/programmer configuration supports debugging." msgstr "给定的开发板/编程器配置支持调试。" -#: commands/cmderrors/cmderrors.go:876 +#: commands/cmderrors/cmderrors.go:897 msgid "The instance is no longer valid and needs to be reinitialized" msgstr "实例不再有效,需要重新初始化" @@ -2359,17 +2367,17 @@ msgstr "" "‘%[1]v’ 键不是列表中的条目,无法从中删除。\n" "是否可以使用 ‘%[2]s’?" -#: commands/cmderrors/cmderrors.go:858 +#: commands/cmderrors/cmderrors.go:879 msgid "The library %s has multiple installations:" msgstr "库 %s 有多个安装。" -#: internal/cli/compile/compile.go:115 +#: internal/cli/compile/compile.go:118 msgid "" "The name of the custom encryption key to use to encrypt a binary during the " "compile process. Used only by the platforms that support it." msgstr "自定义加密密钥的名称,用于在编译过程中对二进制文件进行加密。只在支持它的平台上使用。" -#: internal/cli/compile/compile.go:113 +#: internal/cli/compile/compile.go:116 msgid "" "The name of the custom signing key to use to sign a binary during the " "compile process. Used only by the platforms that support it." @@ -2379,13 +2387,13 @@ msgstr "自定义签名密钥的名称,用于在编译过程中对二进制文 msgid "The output format for the logs, can be: %s" msgstr "日志的输出格​​式,可以是:%s" -#: internal/cli/compile/compile.go:111 +#: internal/cli/compile/compile.go:114 msgid "" "The path of the dir to search for the custom keys to sign and encrypt a " "binary. Used only by the platforms that support it." msgstr "搜索自定义密钥以签署和加密二进制文件的文件夹的路径。只在支持它的平台上使用。" -#: internal/arduino/builder/libraries.go:151 +#: internal/arduino/builder/libraries.go:152 msgid "The platform does not support '%[1]s' for precompiled libraries." msgstr "该平台不支持预编译库的 ‘%[1]s’。" @@ -2407,12 +2415,12 @@ msgstr "此命令显示可升级的已安装内核和库或其一的列表。如 msgid "Timestamp each incoming line." msgstr "显示时间戳。" -#: internal/arduino/cores/packagemanager/install_uninstall.go:89 -#: internal/arduino/cores/packagemanager/install_uninstall.go:328 +#: internal/arduino/cores/packagemanager/install_uninstall.go:91 +#: internal/arduino/cores/packagemanager/install_uninstall.go:330 msgid "Tool %s already installed" msgstr "%s 工具已经安装" -#: internal/arduino/cores/packagemanager/install_uninstall.go:432 +#: internal/arduino/cores/packagemanager/install_uninstall.go:434 msgid "Tool %s uninstalled" msgstr "%s 工具已经卸载" @@ -2432,7 +2440,7 @@ msgstr "工具链前缀" msgid "Toolchain type" msgstr "工具链类型" -#: internal/cli/compile/compile.go:400 internal/cli/upload/upload.go:146 +#: internal/cli/compile/compile.go:415 internal/cli/upload/upload.go:146 msgid "Try running %s" msgstr "尝试运行 %s" @@ -2452,7 +2460,7 @@ msgstr "类型:%s" msgid "URL:" msgstr "地址:" -#: internal/arduino/builder/core.go:165 +#: internal/arduino/builder/core.go:166 msgid "" "Unable to cache built core, please tell %[1]s maintainers to follow %[2]s" msgstr "无法缓存构建的内核,请告知 %[1]s 维护者关注 %[2]s" @@ -2474,17 +2482,17 @@ msgstr "无法获取用户主目录:%v" msgid "Unable to open file for logging: %s" msgstr "无法打开文件进行日志记录:%s" -#: commands/instances.go:562 +#: commands/instances.go:563 msgid "Unable to parse URL" msgstr "无法解析地址" #: commands/service_library_uninstall.go:71 -#: internal/arduino/cores/packagemanager/install_uninstall.go:280 +#: internal/arduino/cores/packagemanager/install_uninstall.go:282 msgid "Uninstalling %s" msgstr "正在卸载 %s" #: commands/service_platform_uninstall.go:99 -#: internal/arduino/cores/packagemanager/install_uninstall.go:166 +#: internal/arduino/cores/packagemanager/install_uninstall.go:168 msgid "Uninstalling %s, tool is no more required" msgstr "卸载 %s,工具不再需要了" @@ -2502,7 +2510,7 @@ msgstr "卸载一个或多个库。" msgid "Unknown" msgstr "未知" -#: commands/cmderrors/cmderrors.go:183 +#: commands/cmderrors/cmderrors.go:184 msgid "Unknown FQBN" msgstr "未知 FQBN" @@ -2530,7 +2538,7 @@ msgstr "更新库索引到最新版本。" msgid "Updates the libraries index." msgstr "更新库索引。" -#: internal/arduino/cores/packagemanager/install_uninstall.go:45 +#: internal/arduino/cores/packagemanager/install_uninstall.go:47 msgid "Upgrade doesn't accept parameters with version" msgstr "升级不接受带有版本范围" @@ -2563,7 +2571,7 @@ msgstr "上传 Arduino 项目。不会在上传之前编译项目。" msgid "Upload port address, e.g.: COM3 or /dev/ttyACM2" msgstr "上传端口地址,例如:COM3 或 /dev/ttyACM2" -#: commands/service_upload.go:531 +#: commands/service_upload.go:532 msgid "Upload port found on %s" msgstr "在 %s 上找到上传端口" @@ -2571,7 +2579,7 @@ msgstr "在 %s 上找到上传端口" msgid "Upload port protocol, e.g: serial" msgstr "上传端口协议,例如:串行" -#: internal/cli/compile/compile.go:120 +#: internal/cli/compile/compile.go:123 msgid "Upload the binary after the compilation." msgstr "编译后上传二进制文件。" @@ -2583,7 +2591,7 @@ msgstr "使用外部编程器将引导加载程序上传到板上。" msgid "Upload the bootloader." msgstr "上传引导加载程序。" -#: internal/cli/compile/compile.go:269 internal/cli/upload/upload.go:167 +#: internal/cli/compile/compile.go:274 internal/cli/upload/upload.go:167 msgid "" "Uploading to specified board using %s protocol requires the following info:" msgstr "使用 %s 协议上传到指定的开发板需要以下信息:" @@ -2604,11 +2612,11 @@ msgstr "用法:" msgid "Use %s for more information about a command." msgstr "使用 %s 获取有关命令的更多信息。" -#: internal/cli/compile/compile.go:452 +#: internal/cli/compile/compile.go:471 msgid "Used library" msgstr "已使用的库" -#: internal/cli/compile/compile.go:467 +#: internal/cli/compile/compile.go:486 msgid "Used platform" msgstr "已使用的平台" @@ -2616,7 +2624,7 @@ msgstr "已使用的平台" msgid "Used: %[1]s" msgstr "使用:%[1]s" -#: commands/service_compile.go:351 +#: commands/service_compile.go:361 msgid "Using board '%[1]s' from platform in folder: %[2]s" msgstr "使用平台的 ‘%[1]s’ 开发板,在列出的文件夹中:%[2]s" @@ -2624,7 +2632,7 @@ msgstr "使用平台的 ‘%[1]s’ 开发板,在列出的文件夹中:%[2]s msgid "Using cached library dependencies for file: %[1]s" msgstr "使用缓存库文件依赖项:%[1]s" -#: commands/service_compile.go:352 +#: commands/service_compile.go:362 msgid "Using core '%[1]s' from platform in folder: %[2]s" msgstr "使用平台的 ‘%[1]s’ 代码,在列出的文件夹中:%[2]s" @@ -2638,25 +2646,25 @@ msgid "" "WARNING: Your board may require different settings to work!\n" msgstr "" -#: internal/arduino/builder/libraries.go:312 +#: internal/arduino/builder/libraries.go:313 msgid "Using library %[1]s at version %[2]s in folder: %[3]s %[4]s" msgstr "使用 %[2]s 版本的 %[1]s 库,在列出的文件夹中:%[3]s%[4]s" -#: internal/arduino/builder/libraries.go:306 +#: internal/arduino/builder/libraries.go:307 msgid "Using library %[1]s in folder: %[2]s %[3]s" msgstr "使用的 %[1]s 库,在列出的文件夹中:%[2]s%[3]s" -#: internal/arduino/builder/core.go:120 internal/arduino/builder/core.go:132 +#: internal/arduino/builder/core.go:121 internal/arduino/builder/core.go:133 msgid "Using precompiled core: %[1]s" msgstr "使用预编译代码:%[1]s" -#: internal/arduino/builder/libraries.go:98 -#: internal/arduino/builder/libraries.go:106 +#: internal/arduino/builder/libraries.go:99 +#: internal/arduino/builder/libraries.go:107 msgid "Using precompiled library in %[1]s" msgstr "在 %[1]s 中使用预编译库" -#: internal/arduino/builder/archive_compiled_files.go:50 -#: internal/arduino/builder/compilation.go:181 +#: internal/arduino/builder/archive_compiled_files.go:51 +#: internal/arduino/builder/compilation.go:182 msgid "Using previously compiled file: %[1]s" msgstr "使用以前编译的文件:%[1]s" @@ -2673,11 +2681,11 @@ msgid "Values" msgstr "值" #: internal/cli/burnbootloader/burnbootloader.go:62 -#: internal/cli/compile/compile.go:122 internal/cli/upload/upload.go:78 +#: internal/cli/compile/compile.go:125 internal/cli/upload/upload.go:78 msgid "Verify uploaded binary after the upload." msgstr "上传后验证上传的二进制文件。" -#: internal/cli/compile/compile.go:453 internal/cli/compile/compile.go:468 +#: internal/cli/compile/compile.go:472 internal/cli/compile/compile.go:487 #: internal/cli/core/search.go:117 msgid "Version" msgstr "版本" @@ -2686,34 +2694,34 @@ msgstr "版本" msgid "Versions: %s" msgstr "版本:%s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:185 +#: internal/arduino/cores/packagemanager/install_uninstall.go:187 msgid "WARNING cannot configure platform: %s" msgstr "警告:无法配置平台:%s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:364 +#: internal/arduino/cores/packagemanager/install_uninstall.go:366 msgid "WARNING cannot configure tool: %s" msgstr "警告无法配置工具:%s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:302 -#: internal/arduino/cores/packagemanager/install_uninstall.go:416 +#: internal/arduino/cores/packagemanager/install_uninstall.go:304 +#: internal/arduino/cores/packagemanager/install_uninstall.go:418 msgid "WARNING cannot run pre_uninstall script: %s" msgstr "警告!无法运行 pre_uninstall 命令%s" -#: internal/cli/compile/compile.go:330 +#: internal/cli/compile/compile.go:339 msgid "WARNING: The sketch is compiled using one or more custom libraries." msgstr "警告:该项目是用一个或多个自定义库编译的。" -#: internal/arduino/builder/libraries.go:283 +#: internal/arduino/builder/libraries.go:284 msgid "" "WARNING: library %[1]s claims to run on %[2]s architecture(s) and may be " "incompatible with your current board which runs on %[3]s architecture(s)." msgstr "警告:%[1]s 库声称在 %[2]s 体系结构上运行,可能与当前在 %[3]s 体系结构上运行的开发板不兼容。" -#: commands/service_upload.go:520 +#: commands/service_upload.go:521 msgid "Waiting for upload port..." msgstr "正在等待上传端口。。。" -#: commands/service_compile.go:357 +#: commands/service_compile.go:367 msgid "" "Warning: Board %[1]s doesn't define a %[2]s preference. Auto-set to: %[3]s" msgstr "警告:%[1]s 开发板未定义 %[2]s 首选项。自动设置为:%[3]s" @@ -2732,7 +2740,7 @@ msgid "" "directory." msgstr "将当前配置写入数据目录中的配置文件。" -#: internal/cli/compile/compile.go:150 internal/cli/compile/compile.go:153 +#: internal/cli/compile/compile.go:153 internal/cli/compile/compile.go:156 msgid "You cannot use the %s flag while compiling with a profile." msgstr "在用配置文件编译时,你不能使用 %s 参数。" @@ -2740,11 +2748,11 @@ msgstr "在用配置文件编译时,你不能使用 %s 参数。" msgid "archive hash differs from hash in index" msgstr "存档哈希与索引中的哈希不同" -#: internal/arduino/libraries/librariesmanager/install.go:188 +#: internal/arduino/libraries/librariesmanager/install.go:187 msgid "archive is not valid: multiple files found in zip file top level" msgstr "存档无效:在 zip 文件顶层中找到多个文件" -#: internal/arduino/libraries/librariesmanager/install.go:191 +#: internal/arduino/libraries/librariesmanager/install.go:190 msgid "archive is not valid: no files found in zip file top level" msgstr "存档无效:在压缩文件的顶层没有找到文件" @@ -2768,11 +2776,11 @@ msgstr "基本搜索 \"audio\"" msgid "basic search for \"esp32\" and \"display\" limited to official Maintainer" msgstr "基础搜索只由官方维护的 \"esp32\" 和 \"display\" 字段" -#: commands/service_upload.go:791 +#: commands/service_upload.go:792 msgid "binary file not found in %s" msgstr "在 %s 中找不到二进制文件" -#: internal/arduino/cores/packagemanager/package_manager.go:348 +#: internal/arduino/cores/packagemanager/package_manager.go:316 msgid "board %s not found" msgstr "未找到开发板 %s" @@ -2788,11 +2796,11 @@ msgstr "未设置内置库目录" msgid "can't find latest release of %s" msgstr "找不到 %s 的最新版本" -#: commands/instances.go:272 +#: commands/instances.go:273 msgid "can't find latest release of tool %s" msgstr "找不到 %s 工具的最新版本" -#: internal/arduino/cores/packagemanager/loader.go:712 +#: internal/arduino/cores/packagemanager/loader.go:709 msgid "can't find pattern for discovery with id %s" msgstr "找不到 id 为 %s 的 discovery" @@ -2800,11 +2808,11 @@ msgstr "找不到 id 为 %s 的 discovery" msgid "candidates" msgstr "候选" -#: commands/service_upload.go:737 commands/service_upload.go:744 +#: commands/service_upload.go:738 commands/service_upload.go:745 msgid "cannot execute upload tool: %s" msgstr "无法使用上传工具:%s" -#: internal/arduino/resources/install.go:40 +#: internal/arduino/resources/install.go:48 msgid "checking local archive integrity" msgstr "检查本地存档完整性" @@ -2830,27 +2838,27 @@ msgstr "通信不同步,应为 ‘%[1]s’,收到 ‘%[2]s’" msgid "computing hash: %s" msgstr "计算哈希:%s" -#: internal/arduino/cores/fqbn.go:81 +#: pkg/fqbn/fqbn.go:83 msgid "config key %s contains an invalid character" msgstr "配置的键 %s 包含无效字符" -#: internal/arduino/cores/fqbn.go:86 +#: pkg/fqbn/fqbn.go:87 msgid "config value %s contains an invalid character" msgstr "配置的值 %s 包含无效字符" -#: internal/arduino/libraries/librariesmanager/install.go:141 +#: internal/arduino/libraries/librariesmanager/install.go:140 msgid "copying library to destination directory:" msgstr "将库复制到目标目录:" -#: commands/service_upload.go:863 +#: commands/service_upload.go:864 msgid "could not find a valid build artifact" msgstr "找不到有效的构建项目" -#: commands/service_platform_install.go:94 +#: commands/service_platform_install.go:99 msgid "could not overwrite" msgstr "无法覆盖" -#: commands/service_library_install.go:190 +#: commands/service_library_install.go:191 msgid "could not remove old library" msgstr "无法删除旧库" @@ -2859,20 +2867,20 @@ msgstr "无法删除旧库" msgid "could not update sketch project file" msgstr "无法更新项目文件" -#: internal/arduino/builder/core.go:116 internal/arduino/builder/core.go:140 +#: internal/arduino/builder/core.go:117 internal/arduino/builder/core.go:141 msgid "creating core cache folder: %s" msgstr "创建核心缓存文件夹:%s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:219 +#: internal/arduino/cores/packagemanager/install_uninstall.go:221 msgid "creating installed.json in %[1]s: %[2]s" msgstr "在 %[1]s 中创建 installed.json:%[2]s" -#: internal/arduino/resources/install.go:45 -#: internal/arduino/resources/install.go:49 +#: internal/arduino/resources/install.go:54 +#: internal/arduino/resources/install.go:58 msgid "creating temp dir for extraction: %s" msgstr "新建用于提取的临时目录:%s" -#: internal/arduino/builder/sizer.go:196 +#: internal/arduino/builder/sizer.go:199 msgid "data section exceeds available space in board" msgstr "数据部分超出开发板中的可用空间" @@ -2880,15 +2888,15 @@ msgstr "数据部分超出开发板中的可用空间" msgid "dependency '%s' is not available" msgstr "‘%s’ 依赖不可用" -#: internal/arduino/libraries/librariesmanager/install.go:94 +#: internal/arduino/libraries/librariesmanager/install.go:93 msgid "destination dir %s already exists, cannot install" msgstr "%s 目录已经存在,无法安装" -#: internal/arduino/libraries/librariesmanager/install.go:138 +#: internal/arduino/libraries/librariesmanager/install.go:137 msgid "destination directory already exists" msgstr "目标目录已经存在" -#: internal/arduino/libraries/librariesmanager/install.go:278 +#: internal/arduino/libraries/librariesmanager/install.go:305 msgid "directory doesn't exist: %s" msgstr "目录不存在:%s" @@ -2896,15 +2904,15 @@ msgstr "目录不存在:%s" msgid "discovery %[1]s process not started" msgstr "" -#: internal/arduino/cores/packagemanager/loader.go:644 +#: internal/arduino/cores/packagemanager/loader.go:641 msgid "discovery %s not found" msgstr "未找到 %s discovery" -#: internal/arduino/cores/packagemanager/loader.go:648 +#: internal/arduino/cores/packagemanager/loader.go:645 msgid "discovery %s not installed" msgstr "%s discovery 未安装" -#: internal/arduino/cores/packagemanager/package_manager.go:746 +#: internal/arduino/cores/packagemanager/package_manager.go:714 msgid "discovery release not found: %s" msgstr "未找到 discovery 版本:%s" @@ -2920,11 +2928,11 @@ msgstr "下载最新版本的 Arduino SAMD 内核。" msgid "downloaded" msgstr "下载" -#: commands/instances.go:55 +#: commands/instances.go:56 msgid "downloading %[1]s tool: %[2]s" msgstr "正在下载 %[1]s 工具:%[2]s" -#: internal/arduino/cores/fqbn.go:60 +#: pkg/fqbn/fqbn.go:63 msgid "empty board identifier" msgstr "空开发板标识符" @@ -2932,7 +2940,7 @@ msgstr "空开发板标识符" msgid "error loading sketch project file:" msgstr "加载项目文件时错误:" -#: internal/arduino/cores/packagemanager/loader.go:615 +#: internal/arduino/cores/packagemanager/loader.go:612 msgid "error opening %s" msgstr " 开启 %s 时错误" @@ -2940,19 +2948,19 @@ msgstr " 开启 %s 时错误" msgid "error parsing version constraints" msgstr "解析版本约束时错误" -#: commands/service_board_list.go:115 +#: commands/service_board_identify.go:203 msgid "error processing response from server" msgstr "处理来自服务器的响应时出错" -#: commands/service_board_list.go:95 +#: commands/service_board_identify.go:183 msgid "error querying Arduino Cloud Api" msgstr "查询 Arduino Cloud Api 时出错" -#: internal/arduino/libraries/librariesmanager/install.go:179 +#: internal/arduino/libraries/librariesmanager/install.go:178 msgid "extracting archive" msgstr "" -#: internal/arduino/resources/install.go:68 +#: internal/arduino/resources/install.go:77 msgid "extracting archive: %s" msgstr "正在提取存档:%s" @@ -2960,7 +2968,7 @@ msgstr "正在提取存档:%s" msgid "failed to compute hash of file \"%s\"" msgstr "无法计算 “%s” 文件的哈希值" -#: commands/service_board_list.go:90 +#: commands/service_board_identify.go:178 msgid "failed to initialize http client" msgstr "未能初始化 http 客户端" @@ -2968,7 +2976,7 @@ msgstr "未能初始化 http 客户端" msgid "fetched archive size differs from size specified in index" msgstr "提取的档存大小与索引中指定的大小不同" -#: internal/arduino/resources/install.go:123 +#: internal/arduino/resources/install.go:132 msgid "files in archive must be placed in a subdirectory" msgstr "存档中的文件必须放在子目录中" @@ -2998,7 +3006,7 @@ msgstr "最新版本。" msgid "for the specific version." msgstr "针对特定版本。" -#: internal/arduino/cores/fqbn.go:66 +#: pkg/fqbn/fqbn.go:68 msgid "fqbn's field %s contains an invalid character" msgstr "fqbn 的字段 %s 包含无效字符" @@ -3022,35 +3030,35 @@ msgstr "正在获取存档信息:%s" #: internal/arduino/resources/checksums.go:89 #: internal/arduino/resources/download.go:36 #: internal/arduino/resources/helpers.go:39 -#: internal/arduino/resources/install.go:56 +#: internal/arduino/resources/install.go:65 msgid "getting archive path: %s" msgstr "正在获取存档路径:%s" -#: internal/arduino/cores/packagemanager/package_manager.go:354 +#: internal/arduino/cores/packagemanager/package_manager.go:322 msgid "getting build properties for board %[1]s: %[2]s" msgstr "正在获取 %[1]s 开发板的构建属性:%[2]s" -#: internal/arduino/cores/packagemanager/download.go:106 +#: internal/arduino/cores/packagemanager/download.go:108 msgid "getting discovery dependencies for platform %[1]s: %[2]s" msgstr "获取 %[1]s 平台的 discovery 依赖:%[2]s" -#: internal/arduino/cores/packagemanager/download.go:114 +#: internal/arduino/cores/packagemanager/download.go:116 msgid "getting monitor dependencies for platform %[1]s: %[2]s" msgstr "获取 %[1]s 平台的监视器依赖项:%[2]s" -#: internal/arduino/cores/packagemanager/download.go:99 +#: internal/arduino/cores/packagemanager/download.go:101 msgid "getting tool dependencies for platform %[1]s: %[2]s" msgstr "正在获取 %[1]s 平台的工具依赖:%[2]s" -#: internal/arduino/libraries/librariesmanager/install.go:149 +#: internal/arduino/libraries/librariesmanager/install.go:148 msgid "install directory not set" msgstr "未设置安装目录" -#: commands/instances.go:59 +#: commands/instances.go:60 msgid "installing %[1]s tool: %[2]s" msgstr "正在安装 %[1]s 工具:%[2]s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:211 +#: internal/arduino/cores/packagemanager/install_uninstall.go:213 msgid "installing platform %[1]s: %[2]s" msgstr "安装 %[1]s 平台: %[2]s" @@ -3066,7 +3074,7 @@ msgstr "无效的 ‘%s’ 指令" msgid "invalid checksum format: %s" msgstr "无效的校验码格式:%s" -#: internal/arduino/cores/fqbn.go:73 internal/arduino/cores/fqbn.go:78 +#: pkg/fqbn/fqbn.go:75 pkg/fqbn/fqbn.go:80 msgid "invalid config option: %s" msgstr "无效的配置选项:%s" @@ -3098,11 +3106,14 @@ msgstr "无效的空库名" msgid "invalid empty library version: %s" msgstr "无效的空库版本:%s" -#: internal/arduino/cores/board.go:143 +#: internal/arduino/cores/board.go:144 msgid "invalid empty option found" msgstr "发现无效的空选项" -#: internal/arduino/libraries/librariesmanager/install.go:268 +#: internal/arduino/libraries/librariesmanager/install.go:276 +#: internal/arduino/libraries/librariesmanager/install.go:279 +#: internal/arduino/libraries/librariesmanager/install.go:286 +#: internal/arduino/libraries/librariesmanager/install.go:290 msgid "invalid git url" msgstr "无效的 git 地址" @@ -3130,7 +3141,7 @@ msgstr "无效的库 location:%s" msgid "invalid library: no header files found" msgstr "无效库:没有找到头文件" -#: internal/arduino/cores/board.go:146 +#: internal/arduino/cores/board.go:147 msgid "invalid option '%s'" msgstr "无效的 ‘%s’ 选项 " @@ -3146,10 +3157,6 @@ msgstr "" msgid "invalid path writing inventory file: %[1]s error" msgstr "" -#: internal/arduino/cores/packageindex/index.go:278 -msgid "invalid platform archive size: %s" -msgstr "无效的平台存档大小:%s" - #: internal/arduino/sketch/profiles.go:252 msgid "invalid platform identifier" msgstr "无效的平台标识符" @@ -3170,7 +3177,7 @@ msgstr "%s 的端口配置值无效:%s" msgid "invalid port configuration: %s=%s" msgstr "" -#: commands/service_upload.go:724 +#: commands/service_upload.go:725 msgid "invalid recipe '%[1]s': %[2]s" msgstr "无效的 ‘%[1]s’ 方法: %[2]s" @@ -3181,7 +3188,7 @@ msgid "" "cannot be \".\"." msgstr "无效的工程命名 \"%[1]s\": 第一个字符必须是字母数字或\"_\",后面的字符也可以包含\"-\"和\".\"。最后一个字符不能是\".\"。" -#: internal/arduino/cores/board.go:150 +#: internal/arduino/cores/board.go:151 msgid "invalid value '%[1]s' for option '%[2]s'" msgstr "‘%[2]s’ 选项的 ‘%[1]s’ 值无效" @@ -3221,11 +3228,11 @@ msgstr "名称中含有 \"buzzer\" 的库" msgid "libraries with a Name exactly matching \"pcf8523\"" msgstr "名称与 \"pcf8523 \"完全匹配的库" -#: internal/arduino/libraries/librariesmanager/install.go:126 +#: internal/arduino/libraries/librariesmanager/install.go:125 msgid "library %s already installed" msgstr "%s 库已安装" -#: internal/arduino/libraries/librariesmanager/install.go:315 +#: internal/arduino/libraries/librariesmanager/install.go:342 msgid "library not valid" msgstr "库无效" @@ -3239,8 +3246,8 @@ msgstr "正在加载 %[1]s: %[2]s" msgid "loading boards: %s" msgstr "正在加载开发板:%s" -#: internal/arduino/cores/packagemanager/package_manager.go:501 -#: internal/arduino/cores/packagemanager/package_manager.go:516 +#: internal/arduino/cores/packagemanager/package_manager.go:469 +#: internal/arduino/cores/packagemanager/package_manager.go:484 msgid "loading json index file %[1]s: %[2]s" msgstr "正在加载 %[1]s json 索引文件:%[2]s" @@ -3269,7 +3276,7 @@ msgstr "安装所需 %s 平台" msgid "loading required tool %s" msgstr "安装所需 %s 工具" -#: internal/arduino/cores/packagemanager/loader.go:590 +#: internal/arduino/cores/packagemanager/loader.go:587 msgid "loading tool release in %s" msgstr "在 %s 中加载工具发行版本" @@ -3277,7 +3284,7 @@ msgstr "在 %s 中加载工具发行版本" msgid "looking for boards.txt in %s" msgstr "在 %s 中查找 boards.txt" -#: commands/service_upload.go:806 +#: commands/service_upload.go:807 msgid "looking for build artifacts" msgstr "寻找构建产物" @@ -3293,7 +3300,7 @@ msgstr "缺少 ‘%s’ 指令" msgid "missing checksum for: %s" msgstr "缺少校验码:%s" -#: internal/arduino/cores/packagemanager/package_manager.go:462 +#: internal/arduino/cores/packagemanager/package_manager.go:430 msgid "missing package %[1]s referenced by board %[2]s" msgstr "缺少 %[2]s 开发板引用的 %[1]s 软件包 " @@ -3301,11 +3308,11 @@ msgstr "缺少 %[2]s 开发板引用的 %[1]s 软件包 " msgid "missing package index for %s, future updates cannot be guaranteed" msgstr "缺少软件包索引%s,无法保证未来的更新" -#: internal/arduino/cores/packagemanager/package_manager.go:467 +#: internal/arduino/cores/packagemanager/package_manager.go:435 msgid "missing platform %[1]s:%[2]s referenced by board %[3]s" msgstr "缺少 %[1]s 平台:%[2]s 被开发板 %[3]s 引用" -#: internal/arduino/cores/packagemanager/package_manager.go:472 +#: internal/arduino/cores/packagemanager/package_manager.go:440 msgid "missing platform release %[1]s:%[2]s referenced by board %[3]s" msgstr "缺少平台 %[1]s 发行版本:%[2]s 被开发板 %[3]s 引用" @@ -3313,17 +3320,17 @@ msgstr "缺少平台 %[1]s 发行版本:%[2]s 被开发板 %[3]s 引用" msgid "missing signature" msgstr "缺少签名" -#: internal/arduino/cores/packagemanager/package_manager.go:757 +#: internal/arduino/cores/packagemanager/package_manager.go:725 msgid "monitor release not found: %s" msgstr "未找到公开监视器:%s" -#: internal/arduino/libraries/librariesmanager/install.go:197 -#: internal/arduino/libraries/librariesmanager/install.go:246 -#: internal/arduino/resources/install.go:97 +#: internal/arduino/libraries/librariesmanager/install.go:196 +#: internal/arduino/libraries/librariesmanager/install.go:247 +#: internal/arduino/resources/install.go:106 msgid "moving extracted archive to destination dir: %s" msgstr "正在将提取的存档移动到目标目录:%s" -#: commands/service_upload.go:858 +#: commands/service_upload.go:859 msgid "multiple build artifacts found: '%[1]s' and '%[2]s'" msgstr "找到多个构建文件:‘%[1]s’ 和 ‘%[2]s’" @@ -3331,17 +3338,17 @@ msgstr "找到多个构建文件:‘%[1]s’ 和 ‘%[2]s’" msgid "multiple main sketch files found (%[1]v, %[2]v)" msgstr "找到多个主项目文件 (%[1]v, %[2]v)" -#: internal/arduino/cores/packagemanager/install_uninstall.go:338 +#: internal/arduino/cores/packagemanager/install_uninstall.go:340 msgid "" "no compatible version of %[1]s tools found for the current os, try " "contacting %[2]s" msgstr "没有找到适用于当前操作系统的 %[1]s 工具的兼容版本,请尝试联系 %[2]s" -#: commands/service_board_list.go:273 +#: commands/service_board_list.go:106 msgid "no instance specified" msgstr "没有指定实例" -#: commands/service_upload.go:813 +#: commands/service_upload.go:814 msgid "no sketch or build directory/file specified" msgstr "未指定项目或构建目录/文件" @@ -3349,11 +3356,11 @@ msgstr "未指定项目或构建目录/文件" msgid "no such file or directory" msgstr "没有这样的文件或目录" -#: internal/arduino/resources/install.go:126 +#: internal/arduino/resources/install.go:135 msgid "no unique root dir in archive, found '%[1]s' and '%[2]s'" msgstr "存档中没有唯一的根目录,找到了 ‘%[1]s’ 和 ‘%[2]s’" -#: commands/service_upload.go:719 +#: commands/service_upload.go:720 msgid "no upload port provided" msgstr "未提供上传端口" @@ -3361,11 +3368,11 @@ msgstr "未提供上传端口" msgid "no valid sketch found in %[1]s: missing %[2]s" msgstr "在 %[1]s 中找不到有效的项目:缺少 %[2]s" -#: internal/arduino/cores/packagemanager/download.go:128 +#: internal/arduino/cores/packagemanager/download.go:130 msgid "no versions available for the current OS, try contacting %s" msgstr "对于当前的操作系统没有可用的版本,请尝试联系 %s" -#: internal/arduino/cores/fqbn.go:50 +#: pkg/fqbn/fqbn.go:53 msgid "not an FQBN: %s" msgstr "" @@ -3374,7 +3381,7 @@ msgid "not running in a terminal" msgstr "未在终端中运行" #: internal/arduino/resources/checksums.go:71 -#: internal/arduino/resources/install.go:60 +#: internal/arduino/resources/install.go:69 msgid "opening archive file: %s" msgstr "正在打开存档文件:%s" @@ -3382,26 +3389,26 @@ msgstr "正在打开存档文件:%s" msgid "opening boards.txt" msgstr "正在打开 boards.txt" -#: internal/arduino/security/signatures.go:81 +#: internal/arduino/security/signatures.go:82 msgid "opening signature file: %s" msgstr "打开签名文件:%s" -#: internal/arduino/security/signatures.go:76 +#: internal/arduino/security/signatures.go:78 msgid "opening target file: %s" msgstr "打开目标文件:%s" -#: internal/arduino/cores/packagemanager/download.go:76 +#: internal/arduino/cores/packagemanager/download.go:78 #: internal/arduino/cores/status.go:97 internal/arduino/cores/status.go:122 #: internal/arduino/cores/status.go:149 msgid "package %s not found" msgstr "未找到 %s 软件包 " -#: internal/arduino/cores/packagemanager/package_manager.go:530 +#: internal/arduino/cores/packagemanager/package_manager.go:498 msgid "package '%s' not found" msgstr "未找到 ‘%s’ 软件包 " -#: internal/arduino/cores/board.go:166 -#: internal/arduino/cores/packagemanager/package_manager.go:295 +#: internal/arduino/cores/board.go:167 +#: internal/arduino/cores/packagemanager/package_manager.go:263 msgid "parsing fqbn: %s" msgstr "解析 FQBN:%s" @@ -3413,26 +3420,26 @@ msgstr "解析 library_index.json: %s" msgid "path is not a platform directory: %s" msgstr "路径不是平台目录:%s" -#: internal/arduino/cores/packagemanager/download.go:80 +#: internal/arduino/cores/packagemanager/download.go:82 msgid "platform %[1]s not found in package %[2]s" msgstr "在 %[2]s 软件包中找不到 %[1]s 平台" -#: internal/arduino/cores/packagemanager/package_manager.go:341 +#: internal/arduino/cores/packagemanager/package_manager.go:309 msgid "platform %s is not installed" msgstr "%s 平台未安装" -#: internal/arduino/cores/packagemanager/download.go:92 +#: commands/cmderrors/cmderrors.go:427 msgid "platform is not available for your OS" msgstr "该平台不适用于您的操作系统" -#: commands/service_compile.go:126 -#: internal/arduino/cores/packagemanager/install_uninstall.go:179 -#: internal/arduino/cores/packagemanager/install_uninstall.go:283 -#: internal/arduino/cores/packagemanager/loader.go:420 +#: commands/service_compile.go:129 +#: internal/arduino/cores/packagemanager/install_uninstall.go:181 +#: internal/arduino/cores/packagemanager/install_uninstall.go:285 +#: internal/arduino/cores/packagemanager/loader.go:417 msgid "platform not installed" msgstr "平台未安装" -#: internal/cli/compile/compile.go:139 +#: internal/cli/compile/compile.go:142 msgid "please use --build-property instead." msgstr "请改用 --build-property。" @@ -3467,15 +3474,15 @@ msgstr "" #: internal/arduino/cores/packagemanager/loader.go:69 #: internal/arduino/cores/packagemanager/loader.go:151 #: internal/arduino/cores/packagemanager/loader.go:218 -#: internal/arduino/cores/packagemanager/loader.go:582 +#: internal/arduino/cores/packagemanager/loader.go:579 msgid "reading directory %s" msgstr "正在读取 %s 目录" -#: internal/arduino/libraries/librariesmanager/install.go:288 +#: internal/arduino/libraries/librariesmanager/install.go:315 msgid "reading directory %s content" msgstr "" -#: internal/arduino/builder/sketch.go:81 +#: internal/arduino/builder/sketch.go:83 msgid "reading file %[1]s: %[2]s" msgstr "正在读取 %[1]s 文件: %[2]s" @@ -3499,7 +3506,7 @@ msgstr "" msgid "reading library_index.json: %s" msgstr "正在读取 library_index.json: %s" -#: internal/arduino/resources/install.go:116 +#: internal/arduino/resources/install.go:125 msgid "reading package root dir: %s" msgstr "正在读取软件包根目录:%s" @@ -3507,11 +3514,11 @@ msgstr "正在读取软件包根目录:%s" msgid "reading sketch files" msgstr "阅读项目文件" -#: commands/service_upload.go:713 +#: commands/service_upload.go:714 msgid "recipe not found '%s'" msgstr "未找到 ‘%s’ 方法" -#: internal/arduino/cores/packagemanager/package_manager.go:606 +#: internal/arduino/cores/packagemanager/package_manager.go:574 msgid "release %[1]s not found for tool %[2]s" msgstr "找不到 %[2]s 工具的 %[1]s 发行版本" @@ -3524,19 +3531,19 @@ msgstr "发行不能为无" msgid "removing corrupted archive file: %s" msgstr "正在删除损坏的存档文件:%s" -#: internal/arduino/libraries/librariesmanager/install.go:152 +#: internal/arduino/libraries/librariesmanager/install.go:151 msgid "removing library directory: %s" msgstr "删除库目录:%s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:310 +#: internal/arduino/cores/packagemanager/install_uninstall.go:312 msgid "removing platform files: %s" msgstr "正在删除平台文件:%s" -#: internal/arduino/cores/packagemanager/download.go:87 +#: internal/arduino/cores/packagemanager/download.go:89 msgid "required version %[1]s not found for platform %[2]s" msgstr "找不到 %[2]s 平台所需的 %[1]s 版本" -#: internal/arduino/security/signatures.go:72 +#: internal/arduino/security/signatures.go:74 msgid "retrieving Arduino public keys: %s" msgstr "正在检索Arduino密钥:%s" @@ -3545,10 +3552,14 @@ msgstr "正在检索Arduino密钥:%s" msgid "scanning sketch examples" msgstr "扫描项目示例" -#: internal/arduino/resources/install.go:74 +#: internal/arduino/resources/install.go:83 msgid "searching package root dir: %s" msgstr "正在搜索软件包根目录:%s" +#: internal/arduino/security/signatures.go:87 +msgid "signature expired: is your system clock set correctly?" +msgstr "" + #: commands/service_sketch_new.go:78 msgid "sketch name cannot be empty" msgstr "项目名称不能为空" @@ -3586,11 +3597,11 @@ msgstr "测试存档大小:%s" msgid "testing if archive is cached: %s" msgstr "测试存档是否被缓存:%s" -#: internal/arduino/resources/install.go:38 +#: internal/arduino/resources/install.go:46 msgid "testing local archive integrity: %s" msgstr "测试本地存档完整性:%s" -#: internal/arduino/builder/sizer.go:191 +#: internal/arduino/builder/sizer.go:194 msgid "text section exceeds available space in board" msgstr "文本部分超出开发板的可用空间" @@ -3599,7 +3610,7 @@ msgstr "文本部分超出开发板的可用空间" msgid "the compilation database may be incomplete or inaccurate" msgstr "编译数据库可能不完整或不准确" -#: commands/service_board_list.go:102 +#: commands/service_board_identify.go:190 msgid "the server responded with status %s" msgstr "服务器响应状态 %s" @@ -3607,7 +3618,7 @@ msgstr "服务器响应状态 %s" msgid "timeout waiting for message" msgstr "等待消息超时" -#: internal/arduino/cores/packagemanager/install_uninstall.go:404 +#: internal/arduino/cores/packagemanager/install_uninstall.go:406 msgid "tool %s is not managed by package manager" msgstr "%s 工具不是由软件包管理器管理的" @@ -3616,16 +3627,16 @@ msgstr "%s 工具不是由软件包管理器管理的" msgid "tool %s not found" msgstr "未找到 %s 工具" -#: internal/arduino/cores/packagemanager/package_manager.go:556 +#: internal/arduino/cores/packagemanager/package_manager.go:524 msgid "tool '%[1]s' not found in package '%[2]s'" msgstr "在 ‘%[2]s’ 软件包中找不到 ‘%[1]s’ 工具" -#: internal/arduino/cores/packagemanager/install_uninstall.go:399 +#: internal/arduino/cores/packagemanager/install_uninstall.go:401 msgid "tool not installed" msgstr "工具未安装" -#: internal/arduino/cores/packagemanager/package_manager.go:735 -#: internal/arduino/cores/packagemanager/package_manager.go:841 +#: internal/arduino/cores/packagemanager/package_manager.go:703 +#: internal/arduino/cores/packagemanager/package_manager.go:809 msgid "tool release not found: %s" msgstr "找不到发行工具:%s" @@ -3633,21 +3644,21 @@ msgstr "找不到发行工具:%s" msgid "tool version %s not found" msgstr "未找到工具的 %s 版本" -#: commands/service_library_install.go:92 +#: commands/service_library_install.go:93 msgid "" "two different versions of the library %[1]s are required: %[2]s and %[3]s" msgstr "需要 %[1]s 库的两个不同版本:%[2]s 和 %[3]s" -#: internal/arduino/builder/sketch.go:74 -#: internal/arduino/builder/sketch.go:118 +#: internal/arduino/builder/sketch.go:76 +#: internal/arduino/builder/sketch.go:120 msgid "unable to compute relative path to the sketch for the item" msgstr "无法计算项目的相对路径" -#: internal/arduino/builder/sketch.go:43 +#: internal/arduino/builder/sketch.go:45 msgid "unable to create a folder to save the sketch" msgstr "无法新建文件夹来保存项目" -#: internal/arduino/builder/sketch.go:124 +#: internal/arduino/builder/sketch.go:126 msgid "unable to create the folder containing the item" msgstr "无法新建包含该项目的文件夹" @@ -3655,23 +3666,23 @@ msgstr "无法新建包含该项目的文件夹" msgid "unable to marshal config to YAML: %v" msgstr "无法将 config 编码成 YAML:%v" -#: internal/arduino/builder/sketch.go:162 +#: internal/arduino/builder/sketch.go:164 msgid "unable to read contents of the destination item" msgstr "无法读取目标项目的内容" -#: internal/arduino/builder/sketch.go:135 +#: internal/arduino/builder/sketch.go:137 msgid "unable to read contents of the source item" msgstr "无法读取源项目的内容" -#: internal/arduino/builder/sketch.go:145 +#: internal/arduino/builder/sketch.go:147 msgid "unable to write to destination file" msgstr "无法写入目标文件" -#: internal/arduino/cores/packagemanager/package_manager.go:329 +#: internal/arduino/cores/packagemanager/package_manager.go:297 msgid "unknown package %s" msgstr "未知 %s 软件包 " -#: internal/arduino/cores/packagemanager/package_manager.go:336 +#: internal/arduino/cores/packagemanager/package_manager.go:304 msgid "unknown platform %s:%s" msgstr "未知 %s 平台:%s" @@ -3691,7 +3702,7 @@ msgstr "将 arduino:samd 升级到最新版本" msgid "upgrade everything to the latest version" msgstr "将所有内容升级到最新版本" -#: commands/service_upload.go:759 +#: commands/service_upload.go:760 msgid "uploading error: %s" msgstr "上传错误:%s" @@ -3715,6 +3726,6 @@ msgstr "%s 版本不适用于此操作系统" msgid "version %s not found" msgstr "未找到 %s 版本" -#: commands/service_board_list.go:120 +#: commands/service_board_identify.go:208 msgid "wrong format in server response" msgstr "服务器响应格式错误" diff --git a/internal/i18n/data/zh_TW.po b/internal/locales/data/zh_TW.po similarity index 88% rename from internal/i18n/data/zh_TW.po rename to internal/locales/data/zh_TW.po index 6acf4d1f0ba..894870e041f 100644 --- a/internal/i18n/data/zh_TW.po +++ b/internal/locales/data/zh_TW.po @@ -1,15 +1,15 @@ # # Translators: -# coby2023t, 2024 +# coby2023t, 2025 # msgid "" msgstr "" -"Last-Translator: coby2023t, 2024\n" +"Last-Translator: coby2023t, 2025\n" "Language-Team: Chinese (Taiwan) (https://app.transifex.com/arduino-1/teams/108174/zh_TW/)\n" "Language: zh_TW\n" "Plural-Forms: nplurals=1; plural=0;\n" -#: version/version.go:56 +#: internal/version/version.go:56 msgid "%[1]s %[2]s Version: %[3]s Commit: %[4]s Date: %[5]s" msgstr "%[1]s %[2]s 版本:%[3]s 交付:%[4]s 日期:%[5]s" @@ -21,11 +21,11 @@ msgstr "已不支援%[1]s 檔案夾!詳細資訊,請見 %[2]s" msgid "%[1]s invalid, rebuilding all" msgstr "%[1]s 無效,重新建構全部" -#: internal/cli/lib/check_deps.go:124 +#: internal/cli/lib/check_deps.go:125 msgid "%[1]s is required but %[2]s is currently installed." msgstr "需要 %[1]s ,但已安裝 %[2]s" -#: internal/arduino/builder/builder.go:486 +#: internal/arduino/builder/builder.go:487 msgid "%[1]s pattern is missing" msgstr "%[1]s 樣態遺失" @@ -33,45 +33,45 @@ msgstr "%[1]s 樣態遺失" msgid "%s already downloaded" msgstr "%s 已經下載" -#: commands/service_upload.go:781 +#: commands/service_upload.go:782 msgid "%s and %s cannot be used together" msgstr "%s 和 %s 不能一起使用" -#: internal/arduino/cores/packagemanager/install_uninstall.go:371 +#: internal/arduino/cores/packagemanager/install_uninstall.go:373 msgid "%s installed" msgstr "%s 已安裝" -#: internal/cli/lib/check_deps.go:121 +#: internal/cli/lib/check_deps.go:122 msgid "%s is already installed." msgstr "%s 已安裝" #: internal/arduino/cores/packagemanager/loader.go:63 -#: internal/arduino/cores/packagemanager/loader.go:617 +#: internal/arduino/cores/packagemanager/loader.go:614 msgid "%s is not a directory" msgstr "%s 不是目錄" -#: internal/arduino/cores/packagemanager/install_uninstall.go:290 +#: internal/arduino/cores/packagemanager/install_uninstall.go:292 msgid "%s is not managed by package manager" msgstr "%s 不是由套件管理員管理的" #: internal/cli/daemon/daemon.go:67 msgid "%s must be >= 1024" -msgstr "" +msgstr "%s 必須 >= 1024" -#: internal/cli/lib/check_deps.go:118 +#: internal/cli/lib/check_deps.go:119 msgid "%s must be installed." msgstr "必須安裝 %s " -#: internal/arduino/builder/internal/preprocessor/ctags.go:192 -#: internal/arduino/builder/internal/preprocessor/gcc.go:62 +#: internal/arduino/builder/internal/preprocessor/ctags.go:193 +#: internal/arduino/builder/internal/preprocessor/gcc.go:63 msgid "%s pattern is missing" msgstr "%s 樣態遺失" -#: commands/cmderrors/cmderrors.go:818 +#: commands/cmderrors/cmderrors.go:839 msgid "'%s' has an invalid signature" msgstr "'%s'的簽名無效" -#: internal/arduino/cores/packagemanager/package_manager.go:448 +#: internal/arduino/cores/packagemanager/package_manager.go:416 msgid "" "'build.core' and 'build.variant' refer to different platforms: %[1]s and " "%[2]s" @@ -81,7 +81,7 @@ msgstr "'build.core' 和 'build.variant' 參照到不同的平台: %[1]s 和 %[2 msgid "(hidden)" msgstr "(隱藏)" -#: internal/arduino/builder/libraries.go:302 +#: internal/arduino/builder/libraries.go:303 msgid "(legacy)" msgstr "(舊版)" @@ -109,7 +109,7 @@ msgstr ".ino 檔已存在" msgid "A new release of Arduino CLI is available:" msgstr "有新版的 Arduino CLI" -#: commands/cmderrors/cmderrors.go:299 +#: commands/cmderrors/cmderrors.go:300 msgid "A programmer is required to upload" msgstr "上傳需要編寫器/燒錄器" @@ -142,7 +142,7 @@ msgstr "全平台已是最新版" msgid "All the cores are already at the latest version" msgstr "所有核心都已是最新版" -#: commands/service_library_install.go:135 +#: commands/service_library_install.go:136 msgid "Already installed %s" msgstr "已安裝 %s" @@ -170,7 +170,7 @@ msgstr "架構:%s" msgid "Archive already exists" msgstr "壓縮檔已存在" -#: internal/arduino/builder/core.go:163 +#: internal/arduino/builder/core.go:164 msgid "Archiving built core (caching) in: %[1]s" msgstr "壓縮在: %[1]s 裏已編譯核心 (快取) " @@ -218,7 +218,7 @@ msgstr "將 sketch 放入開發板" msgid "Author: %s" msgstr "作者: %s" -#: internal/arduino/libraries/librariesmanager/install.go:79 +#: internal/arduino/libraries/librariesmanager/install.go:78 msgid "" "Automatic library install can't be performed in this case, please manually " "remove all duplicates and retry." @@ -255,11 +255,11 @@ msgstr "開發板名:" msgid "Board version:" msgstr "開發板版本:" -#: internal/arduino/builder/sketch.go:243 +#: internal/arduino/builder/sketch.go:245 msgid "Bootloader file specified but missing: %[1]s" msgstr "找不到指定的 Bootloader 檔: %[1]s" -#: internal/cli/compile/compile.go:101 +#: internal/cli/compile/compile.go:104 msgid "" "Builds of cores and sketches are saved into this path to be cached and " "reused." @@ -269,25 +269,25 @@ msgstr "相關 core 和 sketch 的編譯檔案將快取在這路徑上。" msgid "Can't create data directory %s" msgstr "無法建立 %s 資料目錄" -#: commands/cmderrors/cmderrors.go:511 +#: commands/cmderrors/cmderrors.go:532 msgid "Can't create sketch" msgstr "無法建立 sketch" -#: commands/service_library_download.go:91 -#: commands/service_library_download.go:94 +#: commands/service_library_download.go:95 +#: commands/service_library_download.go:98 msgid "Can't download library" msgstr "無法下載程式庫" #: commands/service_platform_uninstall.go:89 -#: internal/arduino/cores/packagemanager/install_uninstall.go:136 +#: internal/arduino/cores/packagemanager/install_uninstall.go:138 msgid "Can't find dependencies for platform %s" msgstr "找不到 %s 平台的相依" -#: commands/cmderrors/cmderrors.go:537 +#: commands/cmderrors/cmderrors.go:558 msgid "Can't open sketch" msgstr "無法打開 sketch" -#: commands/cmderrors/cmderrors.go:524 +#: commands/cmderrors/cmderrors.go:545 msgid "Can't update sketch" msgstr "無法更新 sketch" @@ -299,11 +299,11 @@ msgstr "不能同時使用下列參數: %s" msgid "Can't write debug log: %s" msgstr "無法寫入除錯日誌: %s" -#: commands/service_compile.go:187 commands/service_compile.go:190 +#: commands/service_compile.go:190 commands/service_compile.go:193 msgid "Cannot create build cache directory" msgstr "無法建立編譯快取的目錄" -#: commands/service_compile.go:212 +#: commands/service_compile.go:215 msgid "Cannot create build directory" msgstr "無法建立編譯目錄" @@ -315,11 +315,11 @@ msgstr "無法建立設定檔的目錄: %v" msgid "Cannot create config file: %v" msgstr "無法建立設定檔: %v" -#: commands/cmderrors/cmderrors.go:781 +#: commands/cmderrors/cmderrors.go:802 msgid "Cannot create temp dir" msgstr "無法建立暫存目錄" -#: commands/cmderrors/cmderrors.go:799 +#: commands/cmderrors/cmderrors.go:820 msgid "Cannot create temp file" msgstr "無法建立暫存檔" @@ -341,15 +341,15 @@ msgstr "找不到絕對路徑: %v" msgid "Cannot get the configuration key %[1]s: %[2]v" msgstr "無法從設定裏取得鍵值 %[1]s: %[2]v" -#: internal/arduino/cores/packagemanager/install_uninstall.go:143 +#: internal/arduino/cores/packagemanager/install_uninstall.go:145 msgid "Cannot install platform" msgstr "無法安裝平台" -#: internal/arduino/cores/packagemanager/install_uninstall.go:349 +#: internal/arduino/cores/packagemanager/install_uninstall.go:351 msgid "Cannot install tool %s" msgstr "無法安裝工具 %s" -#: commands/service_upload.go:543 +#: commands/service_upload.go:544 msgid "Cannot perform port reset: %s" msgstr "無法執行連接埠重設: %s" @@ -358,7 +358,7 @@ msgstr "無法執行連接埠重設: %s" msgid "Cannot remove the configuration key %[1]s: %[2]v" msgstr "無法移除設定鍵 %[1]s: %[2]v" -#: internal/arduino/cores/packagemanager/install_uninstall.go:161 +#: internal/arduino/cores/packagemanager/install_uninstall.go:163 msgid "Cannot upgrade platform" msgstr "無法升級平台" @@ -396,27 +396,31 @@ msgid "" "a change." msgstr "命令保持執行, 在有更動時列出連接的開發板" -#: commands/service_debug_config.go:178 commands/service_upload.go:451 +#: commands/service_debug_config.go:178 commands/service_upload.go:452 msgid "Compiled sketch not found in %s" msgstr "在 %s 中找不到已編譯的 sketch" +#: internal/arduino/builder/internal/preprocessor/gcc.go:93 +msgid "Compiler error output has been truncated." +msgstr "編譯器的錯誤訊息已截斷。" + #: internal/cli/compile/compile.go:80 internal/cli/compile/compile.go:81 msgid "Compiles Arduino sketches." msgstr "編譯 Arduino sketch" -#: internal/arduino/builder/builder.go:420 +#: internal/arduino/builder/builder.go:421 msgid "Compiling core..." msgstr "編譯核心..." -#: internal/arduino/builder/builder.go:399 +#: internal/arduino/builder/builder.go:400 msgid "Compiling libraries..." msgstr "編譯程式庫..." -#: internal/arduino/builder/libraries.go:133 +#: internal/arduino/builder/libraries.go:134 msgid "Compiling library \"%[1]s\"" msgstr "編譯程式庫 “%[1]s”" -#: internal/arduino/builder/builder.go:383 +#: internal/arduino/builder/builder.go:384 msgid "Compiling sketch..." msgstr "編譯 sketch ..." @@ -439,11 +443,11 @@ msgid "" "=[,=]..." msgstr "通訊埠設定, 格式為 =[,=]..." -#: internal/arduino/cores/packagemanager/install_uninstall.go:177 +#: internal/arduino/cores/packagemanager/install_uninstall.go:179 msgid "Configuring platform." msgstr "設定平台" -#: internal/arduino/cores/packagemanager/install_uninstall.go:359 +#: internal/arduino/cores/packagemanager/install_uninstall.go:361 msgid "Configuring tool." msgstr "設定工具" @@ -459,19 +463,19 @@ msgstr "連接 %s 中。按 CTRL-C 結束。" msgid "Core" msgstr "核心" -#: internal/cli/configuration/network.go:103 +#: internal/cli/configuration/network.go:127 msgid "Could not connect via HTTP" msgstr "無法通過 HTTP 連接" -#: commands/instances.go:486 +#: commands/instances.go:487 msgid "Could not create index directory" msgstr "無法建立索引目錄" -#: internal/arduino/builder/core.go:41 +#: internal/arduino/builder/core.go:42 msgid "Couldn't deeply cache core build: %[1]s" msgstr "無法深入快取核心編譯:%[1]s" -#: internal/arduino/builder/sizer.go:154 +#: internal/arduino/builder/sizer.go:155 msgid "Couldn't determine program size" msgstr "無法確定程式大小" @@ -483,7 +487,7 @@ msgstr "無法取得工作目錄:%v" msgid "Create a new Sketch" msgstr "建立新 sketch" -#: internal/cli/compile/compile.go:98 +#: internal/cli/compile/compile.go:101 msgid "Create and print a profile configuration from the build." msgstr "從建構中建立並印出設定檔內容" @@ -497,7 +501,7 @@ msgid "" "directory with the current configuration settings." msgstr "用目前的設定值建立或更新資料或自定義目錄內的設定檔" -#: internal/cli/compile/compile.go:331 +#: internal/cli/compile/compile.go:340 msgid "" "Currently, Build Profiles only support libraries available through Arduino " "Library Manager." @@ -571,7 +575,7 @@ msgstr "相依: %s" msgid "Description" msgstr "說明" -#: internal/arduino/builder/builder.go:313 +#: internal/arduino/builder/builder.go:314 msgid "Detecting libraries used..." msgstr "檢測有使用的程式庫..." @@ -631,7 +635,7 @@ msgstr "就算父程序已 GG,也不要中止背景程式" msgid "Do not try to update library dependencies if already installed." msgstr "如果已安裝好切勿試著再更新程式庫相依" -#: commands/service_library_download.go:88 +#: commands/service_library_download.go:92 msgid "Downloading %s" msgstr "下載 %s" @@ -639,21 +643,21 @@ msgstr "下載 %s" msgid "Downloading index signature: %s" msgstr "下載索引簽名: %s" -#: commands/instances.go:563 commands/instances.go:581 -#: commands/instances.go:595 commands/instances.go:612 +#: commands/instances.go:564 commands/instances.go:582 +#: commands/instances.go:596 commands/instances.go:613 #: internal/arduino/resources/index.go:82 msgid "Downloading index: %s" msgstr "下載索引: %s" -#: commands/instances.go:371 +#: commands/instances.go:372 msgid "Downloading library %s" msgstr "下載程式庫 %s" -#: commands/instances.go:53 +#: commands/instances.go:54 msgid "Downloading missing tool %s" msgstr "下載缺少的工具 %s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:96 +#: internal/arduino/cores/packagemanager/install_uninstall.go:98 msgid "Downloading packages" msgstr "下載安裝包" @@ -689,7 +693,7 @@ msgstr "輸入托管程式庫的 git 位址" msgid "Error adding file to sketch archive" msgstr "將檔案加入 sketch 時出錯" -#: internal/arduino/builder/core.go:169 +#: internal/arduino/builder/core.go:170 msgid "Error archiving built core (caching) in %[1]s: %[2]s" msgstr "在 %[1]s 中儲存編譯核心(快取)時出錯:%[2]s" @@ -705,11 +709,11 @@ msgstr "計算相對檔案路徑時出錯" msgid "Error cleaning caches: %v" msgstr "清理快取時出錯: %v" -#: internal/cli/compile/compile.go:220 +#: internal/cli/compile/compile.go:225 msgid "Error converting path to absolute: %v" msgstr "將路徑轉換成絕對路徑時出錯: %v" -#: commands/service_compile.go:405 +#: commands/service_compile.go:420 msgid "Error copying output file %s" msgstr "複製輸出檔 %s 時出錯" @@ -723,7 +727,7 @@ msgstr "建立設定檔出錯: %v" msgid "Error creating instance: %v" msgstr "建立實例時出錯: %v" -#: commands/service_compile.go:389 +#: commands/service_compile.go:403 msgid "Error creating output dir" msgstr "建立輸出目錄時出錯" @@ -748,7 +752,7 @@ msgstr "下載 %[1]s 出錯: %[2]v" msgid "Error downloading %s" msgstr "下載 %s 出錯" -#: commands/instances.go:660 internal/arduino/resources/index.go:83 +#: commands/instances.go:661 internal/arduino/resources/index.go:83 msgid "Error downloading index '%s'" msgstr "下載索引'%s'時出錯" @@ -756,7 +760,7 @@ msgstr "下載索引'%s'時出錯" msgid "Error downloading index signature '%s'" msgstr "下載索引簽名 '%s' 出錯" -#: commands/instances.go:381 commands/instances.go:387 +#: commands/instances.go:382 commands/instances.go:388 msgid "Error downloading library %s" msgstr "下載程式庫 %s 出錯" @@ -765,7 +769,7 @@ msgstr "下載程式庫 %s 出錯" msgid "Error downloading platform %s" msgstr "下載平台 %s 出錯" -#: internal/arduino/cores/packagemanager/download.go:127 +#: internal/arduino/cores/packagemanager/download.go:129 #: internal/arduino/cores/packagemanager/profiles.go:179 msgid "Error downloading tool %s" msgstr "下載工具 %s 出錯" @@ -780,7 +784,7 @@ msgstr "輸出 JSON 編碼過程出錯:%v" #: internal/cli/burnbootloader/burnbootloader.go:78 #: internal/cli/burnbootloader/burnbootloader.go:100 -#: internal/cli/compile/compile.go:264 internal/cli/compile/compile.go:306 +#: internal/cli/compile/compile.go:269 internal/cli/compile/compile.go:311 #: internal/cli/upload/upload.go:99 internal/cli/upload/upload.go:128 msgid "Error during Upload: %v" msgstr "上傳時出錯: %v" @@ -789,7 +793,7 @@ msgstr "上傳時出錯: %v" msgid "Error during board detection" msgstr "開發板偵測時出現錯誤。" -#: internal/cli/compile/compile.go:379 +#: internal/cli/compile/compile.go:394 msgid "Error during build: %v" msgstr "建構時出錯: %v" @@ -810,7 +814,7 @@ msgstr "升級時出錯: %v" msgid "Error extracting %s" msgstr "解開 %s 時出錯" -#: commands/service_upload.go:448 +#: commands/service_upload.go:449 msgid "Error finding build artifacts" msgstr "尋找建構成品時出錯" @@ -836,7 +840,7 @@ msgid "" "correct sketch folder or provide the --port flag: %s" msgstr "從 `sketch.yaml` 取得預設連接埠出錯. 請檢查是否在正確的 sketch 目錄下, 或者提供 --port 參數: %s" -#: commands/service_compile.go:328 commands/service_library_list.go:115 +#: commands/service_compile.go:338 commands/service_library_list.go:115 msgid "Error getting information for library %s" msgstr "取得程式庫 %s 資訊時出錯" @@ -872,7 +876,7 @@ msgstr "安裝 Git 程式庫出錯: %v" msgid "Error installing Zip Library: %v" msgstr "安裝 Zip 程式庫出錯: %v" -#: commands/instances.go:397 +#: commands/instances.go:398 msgid "Error installing library %s" msgstr "安裝程式庫 %s 出錯" @@ -899,7 +903,7 @@ msgstr "列出程式庫出錯: %v" msgid "Error listing platforms: %v" msgstr "列出平台出錯: %v" -#: commands/cmderrors/cmderrors.go:424 +#: commands/cmderrors/cmderrors.go:445 msgid "Error loading hardware platform" msgstr "載入硬體平台時出錯" @@ -916,15 +920,15 @@ msgstr "開啟 %s 時出錯" msgid "Error opening debug logging file: %s" msgstr "打開除錯日誌檔出錯: %s" -#: internal/cli/compile/compile.go:193 +#: internal/cli/compile/compile.go:196 msgid "Error opening source code overrides data file: %v" msgstr "打開原始碼覆寫資料檔時出錯: %v" -#: internal/cli/compile/compile.go:206 +#: internal/cli/compile/compile.go:209 msgid "Error parsing --show-properties flag: %v" msgstr "解析 --show-properties 參數出錯: %v" -#: commands/service_compile.go:398 +#: commands/service_compile.go:412 msgid "Error reading build directory" msgstr "讀取建構目錄時出錯" @@ -940,7 +944,7 @@ msgstr "解析 %[1]s 的相依時出錯: %[2]s" msgid "Error retrieving core list: %v" msgstr "取得核心列表出錯: %v" -#: internal/arduino/cores/packagemanager/install_uninstall.go:158 +#: internal/arduino/cores/packagemanager/install_uninstall.go:160 msgid "Error rolling-back changes: %s" msgstr "回復更改時出錯: %s" @@ -994,7 +998,7 @@ msgstr "更新程式庫索引時出錯: %v" msgid "Error upgrading libraries" msgstr "更新程式庫時出錯" -#: internal/arduino/cores/packagemanager/install_uninstall.go:153 +#: internal/arduino/cores/packagemanager/install_uninstall.go:155 msgid "Error upgrading platform: %s" msgstr "更新平台時出錯: %s" @@ -1007,10 +1011,10 @@ msgstr "驗證簽名時出錯" msgid "Error while detecting libraries included by %[1]s" msgstr "偵測 %[1]s 所包含的程式庫時出錯" -#: internal/arduino/builder/sizer.go:79 internal/arduino/builder/sizer.go:88 -#: internal/arduino/builder/sizer.go:91 internal/arduino/builder/sizer.go:110 -#: internal/arduino/builder/sizer.go:215 internal/arduino/builder/sizer.go:225 -#: internal/arduino/builder/sizer.go:229 +#: internal/arduino/builder/sizer.go:80 internal/arduino/builder/sizer.go:89 +#: internal/arduino/builder/sizer.go:92 internal/arduino/builder/sizer.go:111 +#: internal/arduino/builder/sizer.go:218 internal/arduino/builder/sizer.go:228 +#: internal/arduino/builder/sizer.go:232 msgid "Error while determining sketch size: %s" msgstr "確定 sketch 大小時出錯: %s" @@ -1026,7 +1030,7 @@ msgstr "寫入檔案時出錯: %v" msgid "Error: command description is not supported by %v" msgstr "錯誤: %v 不支持命令說明" -#: internal/cli/compile/compile.go:199 +#: internal/cli/compile/compile.go:202 msgid "Error: invalid source code overrides data file: %v" msgstr "錯誤: 無效原始碼覆蓋了資料檔: %v" @@ -1046,7 +1050,7 @@ msgstr "範例:" msgid "Executable to debug" msgstr "可執行來除錯" -#: commands/service_debug_config.go:181 commands/service_upload.go:454 +#: commands/service_debug_config.go:181 commands/service_upload.go:455 msgid "Expected compiled sketch in directory %s, but is a file instead" msgstr "%s 目錄內應該有已編譯的 sketch,卻只有個檔案" @@ -1060,23 +1064,23 @@ msgstr "FQBN" msgid "FQBN:" msgstr "FQBN:" -#: commands/service_upload.go:577 +#: commands/service_upload.go:578 msgid "Failed chip erase" msgstr "晶片擦除失敗" -#: commands/service_upload.go:584 +#: commands/service_upload.go:585 msgid "Failed programming" msgstr "燒錄失敗" -#: commands/service_upload.go:580 +#: commands/service_upload.go:581 msgid "Failed to burn bootloader" msgstr "燒錄 bootloader 失敗" -#: commands/instances.go:87 +#: commands/instances.go:88 msgid "Failed to create data directory" msgstr "建立資料目錄失敗" -#: commands/instances.go:76 +#: commands/instances.go:77 msgid "Failed to create downloads directory" msgstr "建立下載檔案夾失敗" @@ -1096,7 +1100,7 @@ msgstr "監聽 TCP 埠: %[1]s 失敗, 未預期的錯誤: %[2]v" msgid "Failed to listen on TCP port: %s. Address already in use." msgstr "監聽 TCP 埠: %s 失敗。位址已被使用" -#: commands/service_upload.go:588 +#: commands/service_upload.go:589 msgid "Failed uploading" msgstr "上傳失敗" @@ -1104,7 +1108,7 @@ msgstr "上傳失敗" msgid "File:" msgstr "檔案:" -#: commands/service_compile.go:160 +#: commands/service_compile.go:163 msgid "" "Firmware encryption/signing requires all the following properties to be " "defined: %s" @@ -1143,7 +1147,7 @@ msgid "" "Force skip of pre-uninstall scripts (if the CLI is running interactively)." msgstr "強制跳過 pre-uninstall 命令 (如果 CLI 在互動狀態)." -#: commands/cmderrors/cmderrors.go:839 +#: commands/cmderrors/cmderrors.go:860 msgid "Found %d platforms matching \"%s\": %s" msgstr "找到 %d 平台有符合 \"%s\": %s" @@ -1168,7 +1172,7 @@ msgstr "已生成指令檔" msgid "Generates completion scripts for various shells" msgstr "已為各種 shell 生成指令檔" -#: internal/arduino/builder/builder.go:333 +#: internal/arduino/builder/builder.go:334 msgid "Generating function prototypes..." msgstr "生成函式原型..." @@ -1180,13 +1184,13 @@ msgstr "取得設定的鍵值。" msgid "Global Flags:" msgstr "全域旗標:" -#: internal/arduino/builder/sizer.go:164 +#: internal/arduino/builder/sizer.go:166 msgid "" "Global variables use %[1]s bytes (%[3]s%%) of dynamic memory, leaving %[4]s " "bytes for local variables. Maximum is %[2]s bytes." msgstr "全域變數使用 %[1]s 位元組 (%[3]s%%) 的動態記憶體, 保留 %[4]s 位元組給區域變數. 最大 %[2]s 位元組" -#: internal/arduino/builder/sizer.go:170 +#: internal/arduino/builder/sizer.go:172 msgid "Global variables use %[1]s bytes of dynamic memory." msgstr "全域變數使用 %[1]s 位元組的動態記憶體" @@ -1204,7 +1208,7 @@ msgstr "Id" msgid "Identification properties:" msgstr "標識屬性:" -#: internal/cli/compile/compile.go:132 +#: internal/cli/compile/compile.go:135 msgid "If set built binaries will be exported to the sketch folder." msgstr "一經設定,建構的二進位檔將導出到 sketch 檔案夾" @@ -1231,20 +1235,20 @@ msgstr "安裝程式庫到 IDE-Builtin 目錄" msgid "Installed" msgstr "已安裝" -#: commands/service_library_install.go:200 +#: commands/service_library_install.go:201 msgid "Installed %s" msgstr "已安裝 %s" -#: commands/service_library_install.go:183 -#: internal/arduino/cores/packagemanager/install_uninstall.go:333 +#: commands/service_library_install.go:184 +#: internal/arduino/cores/packagemanager/install_uninstall.go:335 msgid "Installing %s" msgstr "安裝 %s..." -#: commands/instances.go:395 +#: commands/instances.go:396 msgid "Installing library %s" msgstr "安裝程式庫 %s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:119 +#: internal/arduino/cores/packagemanager/install_uninstall.go:121 #: internal/arduino/cores/packagemanager/profiles.go:134 msgid "Installing platform %s" msgstr "安裝平台 %s " @@ -1265,11 +1269,11 @@ msgstr "安裝一或多個指定程式庫到系統中" msgid "Internal error in cache" msgstr "快取的內部錯誤" -#: commands/cmderrors/cmderrors.go:377 +#: commands/cmderrors/cmderrors.go:378 msgid "Invalid '%[1]s' property: %[2]s" msgstr "無效的 '%[1]s' 屬性:%[2]s" -#: commands/cmderrors/cmderrors.go:60 +#: commands/cmderrors/cmderrors.go:61 msgid "Invalid FQBN" msgstr "無效的 FQBN" @@ -1277,11 +1281,11 @@ msgstr "無效的 FQBN" msgid "Invalid TCP address: port is missing" msgstr "無效的 TCP 位址:缺少連接埠" -#: commands/cmderrors/cmderrors.go:78 +#: commands/cmderrors/cmderrors.go:79 msgid "Invalid URL" msgstr "無效的網址" -#: commands/instances.go:183 +#: commands/instances.go:184 msgid "Invalid additional URL: %v" msgstr "無效的額外網址: %v" @@ -1295,23 +1299,23 @@ msgstr "無效的存檔:%[1]s 不在 %[2]s 存檔裏" msgid "Invalid argument passed: %v" msgstr "傳送的參數無效: %v" -#: commands/service_compile.go:272 +#: commands/service_compile.go:282 msgid "Invalid build properties" msgstr "無效的建構屬性" -#: internal/arduino/builder/sizer.go:250 +#: internal/arduino/builder/sizer.go:253 msgid "Invalid data size regexp: %s" msgstr "無效的資料大小正規表示式: %s" -#: internal/arduino/builder/sizer.go:256 +#: internal/arduino/builder/sizer.go:259 msgid "Invalid eeprom size regexp: %s" msgstr "無效的 eeprom 大小正規表示式: %s" -#: commands/instances.go:596 +#: commands/instances.go:597 msgid "Invalid index URL: %s" msgstr "無效的索引網址: 1%s" -#: commands/cmderrors/cmderrors.go:46 +#: commands/cmderrors/cmderrors.go:47 msgid "Invalid instance" msgstr "無效的實例" @@ -1319,7 +1323,7 @@ msgstr "無效的實例" msgid "Invalid item %s" msgstr "無效的項目 %s" -#: commands/cmderrors/cmderrors.go:96 +#: commands/cmderrors/cmderrors.go:97 msgid "Invalid library" msgstr "無效的程式庫" @@ -1327,11 +1331,11 @@ msgstr "無效的程式庫" msgid "Invalid logging level: %s" msgstr "無效的日誌層級: %s" -#: commands/instances.go:613 +#: commands/instances.go:614 msgid "Invalid network configuration: %s" msgstr "網路設定無效: %s" -#: internal/cli/configuration/network.go:66 +#: internal/cli/configuration/network.go:83 msgid "Invalid network.proxy '%[1]s': %[2]s" msgstr "無效的 '%[1]s' 網路代理 network.proxy: %[2]s" @@ -1339,7 +1343,7 @@ msgstr "無效的 '%[1]s' 網路代理 network.proxy: %[2]s" msgid "Invalid output format: %s" msgstr "無效的輸出格式: %s" -#: commands/instances.go:580 +#: commands/instances.go:581 msgid "Invalid package index in %s" msgstr "%s 內的套件索引無效" @@ -1347,35 +1351,35 @@ msgstr "%s 內的套件索引無效" msgid "Invalid parameter %s: version not allowed" msgstr "無效 %s 參數: 版本不允許" -#: commands/service_board_list.go:81 +#: commands/service_board_identify.go:169 msgid "Invalid pid value: '%s'" msgstr "無效的 pid 值: '%s'" -#: commands/cmderrors/cmderrors.go:220 +#: commands/cmderrors/cmderrors.go:221 msgid "Invalid profile" msgstr "無效的設定檔" -#: commands/service_monitor.go:269 +#: commands/service_monitor.go:270 msgid "Invalid recipe in platform.txt" msgstr "platform.txt 中的方法無效" -#: internal/arduino/builder/sizer.go:240 +#: internal/arduino/builder/sizer.go:243 msgid "Invalid size regexp: %s" msgstr "無效的大小正規表示式: %s" -#: main.go:85 +#: main.go:86 msgid "Invalid value in configuration" msgstr "設定裏有無效的數值" -#: commands/cmderrors/cmderrors.go:114 +#: commands/cmderrors/cmderrors.go:115 msgid "Invalid version" msgstr "無效的版本" -#: commands/service_board_list.go:78 +#: commands/service_board_identify.go:166 msgid "Invalid vid value: '%s'" msgstr "無效的 vid 值: '%s'" -#: internal/cli/compile/compile.go:129 +#: internal/cli/compile/compile.go:132 msgid "" "Just produce the compilation database, without actually compiling. All build" " commands are skipped except pre* hooks." @@ -1398,12 +1402,12 @@ msgstr "程式庫_名" msgid "Latest" msgstr "最新的" -#: internal/arduino/builder/libraries.go:91 +#: internal/arduino/builder/libraries.go:92 msgid "Library %[1]s has been declared precompiled:" msgstr "程式庫 %[1]s 已聲明為預編譯:" -#: commands/service_library_install.go:141 -#: internal/arduino/libraries/librariesmanager/install.go:131 +#: commands/service_library_install.go:142 +#: internal/arduino/libraries/librariesmanager/install.go:130 msgid "" "Library %[1]s is already installed, but with a different version: %[2]s" msgstr "程式庫 %[1]s 已經安裝, 但版本不同: %[2]s" @@ -1416,11 +1420,11 @@ msgstr "程式庫 %s 已是最新版" msgid "Library %s is not installed" msgstr "程式庫 %s 未安裝" -#: commands/instances.go:374 +#: commands/instances.go:375 msgid "Library %s not found" msgstr "未找到程式庫 %s " -#: commands/cmderrors/cmderrors.go:445 +#: commands/cmderrors/cmderrors.go:466 msgid "Library '%s' not found" msgstr "未找到程式庫 '%s'" @@ -1429,12 +1433,12 @@ msgid "" "Library can't use both '%[1]s' and '%[2]s' folders. Double check in '%[3]s'." msgstr "程式庫不能同時用'%[1]s'和'%[2]s'檔案夾。再檢查 '%[3]s'" -#: commands/cmderrors/cmderrors.go:574 +#: commands/cmderrors/cmderrors.go:595 msgid "Library install failed" msgstr "程式庫安裝失敗" -#: commands/service_library_install.go:234 -#: commands/service_library_install.go:274 +#: commands/service_library_install.go:235 +#: commands/service_library_install.go:275 msgid "Library installed" msgstr "程式庫已安裝" @@ -1442,7 +1446,7 @@ msgstr "程式庫已安裝" msgid "License: %s" msgstr "許可證: %s" -#: internal/arduino/builder/builder.go:436 +#: internal/arduino/builder/builder.go:437 msgid "Linking everything together..." msgstr "將所有內容鏈接在一起..." @@ -1466,7 +1470,7 @@ msgid "" " multiple options." msgstr "列出開發板選項列表。可多選項多次使用" -#: internal/cli/compile/compile.go:107 +#: internal/cli/compile/compile.go:110 msgid "" "List of custom build properties separated by commas. Or can be used multiple" " times for multiple properties." @@ -1488,8 +1492,8 @@ msgstr "列出所有連接的開發板" msgid "Lists cores and libraries that can be upgraded" msgstr "列出可升級的核心和程式庫" -#: commands/instances.go:221 commands/instances.go:232 -#: commands/instances.go:342 +#: commands/instances.go:222 commands/instances.go:233 +#: commands/instances.go:343 msgid "Loading index file: %v" msgstr "載入索引檔: %v" @@ -1497,7 +1501,7 @@ msgstr "載入索引檔: %v" msgid "Location" msgstr "位置" -#: internal/arduino/builder/sizer.go:205 +#: internal/arduino/builder/sizer.go:208 msgid "Low memory available, stability problems may occur." msgstr "記憶體低容量,可能影響穩定性" @@ -1505,7 +1509,7 @@ msgstr "記憶體低容量,可能影響穩定性" msgid "Maintainer: %s" msgstr "維護者: %s" -#: internal/cli/compile/compile.go:137 +#: internal/cli/compile/compile.go:140 msgid "" "Max number of parallel compiles. If set to 0 the number of available CPUs " "cores will be used." @@ -1524,23 +1528,23 @@ msgstr "記錄此等級含以上的訊息。有效等級為 %s" msgid "Missing '%[1]s' from library in %[2]s" msgstr "%[2]s 的程式庫缺少 '%[1]s'" -#: commands/cmderrors/cmderrors.go:169 +#: commands/cmderrors/cmderrors.go:170 msgid "Missing FQBN (Fully Qualified Board Name)" msgstr "缺少 FQBN (完全合格開發板名)" -#: commands/cmderrors/cmderrors.go:260 +#: commands/cmderrors/cmderrors.go:261 msgid "Missing port" msgstr "缺少連接埠" -#: commands/cmderrors/cmderrors.go:236 +#: commands/cmderrors/cmderrors.go:237 msgid "Missing port address" msgstr "缺少連接埠地址" -#: commands/cmderrors/cmderrors.go:248 +#: commands/cmderrors/cmderrors.go:249 msgid "Missing port protocol" msgstr "缺少連接埠協議" -#: commands/cmderrors/cmderrors.go:286 +#: commands/cmderrors/cmderrors.go:287 msgid "Missing programmer" msgstr "缺少燒錄器" @@ -1548,15 +1552,15 @@ msgstr "缺少燒錄器" msgid "Missing required upload field: %s" msgstr "缺少必要的上傳欄位: %s" -#: internal/arduino/builder/sizer.go:244 +#: internal/arduino/builder/sizer.go:247 msgid "Missing size regexp" msgstr "缺少大小正規表示式" -#: commands/cmderrors/cmderrors.go:497 +#: commands/cmderrors/cmderrors.go:518 msgid "Missing sketch path" msgstr "缺少 sketch 路徑" -#: commands/cmderrors/cmderrors.go:358 +#: commands/cmderrors/cmderrors.go:359 msgid "Monitor '%s' not found" msgstr "監視器 '%s' 找不到" @@ -1614,7 +1618,7 @@ msgstr "" msgid "No libraries update is available." msgstr "沒的程式庫更新檔" -#: commands/cmderrors/cmderrors.go:274 +#: commands/cmderrors/cmderrors.go:275 msgid "No monitor available for the port protocol %s" msgstr "沒有可用於連接埠協議 %s 的監視器" @@ -1630,15 +1634,15 @@ msgstr "沒安裝任何平台" msgid "No platforms matching your search." msgstr "沒有你想找的平台" -#: commands/service_upload.go:533 +#: commands/service_upload.go:534 msgid "No upload port found, using %s as fallback" msgstr "沒找到上傳連接埠,使用 %s 作為後援" -#: commands/cmderrors/cmderrors.go:464 +#: commands/cmderrors/cmderrors.go:485 msgid "No valid dependencies solution found" msgstr "找不到有效的相依解決方案" -#: internal/arduino/builder/sizer.go:195 +#: internal/arduino/builder/sizer.go:198 msgid "Not enough memory; see %[1]s for tips on reducing your footprint." msgstr "記憶體不足;有關減少用量的方法,請參見 %[1]s" @@ -1668,35 +1672,35 @@ msgstr "開啟開發板的通信埠" msgid "Option:" msgstr "選項:" -#: internal/cli/compile/compile.go:117 +#: internal/cli/compile/compile.go:120 msgid "" "Optional, can be: %s. Used to tell gcc which warning level to use (-W flag)." msgstr "選項,可以是:%s。用來告訴 gcc 使用哪個警告級別 (-W 參數)" -#: internal/cli/compile/compile.go:130 +#: internal/cli/compile/compile.go:133 msgid "Optional, cleanup the build folder and do not use any cached build." msgstr "選項,清理建構用的檔案夾且不使用任何快取" -#: internal/cli/compile/compile.go:127 +#: internal/cli/compile/compile.go:130 msgid "" "Optional, optimize compile output for debugging, rather than for release." msgstr "選項,優化編譯用於除錯的輸出,還不到發佈用" -#: internal/cli/compile/compile.go:119 +#: internal/cli/compile/compile.go:122 msgid "Optional, suppresses almost every output." msgstr "選項,禁止全部輸出" -#: internal/cli/compile/compile.go:118 internal/cli/upload/upload.go:79 +#: internal/cli/compile/compile.go:121 internal/cli/upload/upload.go:79 msgid "Optional, turns on verbose mode." msgstr "選項,開啟詳細模式" -#: internal/cli/compile/compile.go:133 +#: internal/cli/compile/compile.go:136 msgid "" "Optional. Path to a .json file that contains a set of replacements of the " "sketch source code." msgstr "選項, 包含一組替代 sketch 原始碼的 .json 檔的路徑" -#: internal/cli/compile/compile.go:109 +#: internal/cli/compile/compile.go:112 msgid "" "Override a build property with a custom value. Can be used multiple times " "for multiple properties." @@ -1756,17 +1760,17 @@ msgstr "套件網站:" msgid "Paragraph: %s" msgstr "段落: %s" -#: internal/cli/compile/compile.go:454 internal/cli/compile/compile.go:469 +#: internal/cli/compile/compile.go:473 internal/cli/compile/compile.go:488 msgid "Path" msgstr "路徑" -#: internal/cli/compile/compile.go:126 +#: internal/cli/compile/compile.go:129 msgid "" "Path to a collection of libraries. Can be used multiple times or entries can" " be comma separated." msgstr "程式庫集合的路徑。可多次使用,或以逗號分隔" -#: internal/cli/compile/compile.go:124 +#: internal/cli/compile/compile.go:127 msgid "" "Path to a single library’s root folder. Can be used multiple times or " "entries can be comma separated." @@ -1776,26 +1780,26 @@ msgstr "單一程式庫的根目錄路徑。可多次使用,或以逗號分隔 msgid "Path to the file where logs will be written." msgstr "日誌檔的路徑" -#: internal/cli/compile/compile.go:105 +#: internal/cli/compile/compile.go:108 msgid "" "Path where to save compiled files. If omitted, a directory will be created " "in the default temporary path of your OS." msgstr "保存已編譯檔的路徑。如果省略,將在作業系統預設的臨時目錄中建立" -#: commands/service_upload.go:514 +#: commands/service_upload.go:515 msgid "Performing 1200-bps touch reset on serial port %s" msgstr "在 %s 連接埠上執行 1200-bps TOUCH 重置" -#: commands/service_platform_install.go:86 -#: commands/service_platform_install.go:93 +#: commands/service_platform_install.go:91 +#: commands/service_platform_install.go:98 msgid "Platform %s already installed" msgstr "平台 %s 已安裝過" -#: internal/arduino/cores/packagemanager/install_uninstall.go:194 +#: internal/arduino/cores/packagemanager/install_uninstall.go:196 msgid "Platform %s installed" msgstr "平台 %s 已安裝" -#: internal/cli/compile/compile.go:402 internal/cli/upload/upload.go:148 +#: internal/cli/compile/compile.go:417 internal/cli/upload/upload.go:148 msgid "" "Platform %s is not found in any known index\n" "Maybe you need to add a 3rd party URL?" @@ -1803,15 +1807,19 @@ msgstr "" "在已知索引中找不到平台 %s \n" "也許你需要加入第三方 3rd 位址?" -#: internal/arduino/cores/packagemanager/install_uninstall.go:318 +#: internal/arduino/cores/packagemanager/install_uninstall.go:320 msgid "Platform %s uninstalled" msgstr "%s 平台已卸載" -#: commands/cmderrors/cmderrors.go:482 +#: commands/cmderrors/cmderrors.go:427 +msgid "Platform '%s'" +msgstr "" + +#: commands/cmderrors/cmderrors.go:503 msgid "Platform '%s' is already at the latest version" msgstr "平台 '%s' 已是最新版" -#: commands/cmderrors/cmderrors.go:406 +#: commands/cmderrors/cmderrors.go:407 msgid "Platform '%s' not found" msgstr "平台 '%s' 沒找到" @@ -1819,7 +1827,7 @@ msgstr "平台 '%s' 沒找到" msgid "Platform ID" msgstr "平台 ID" -#: internal/cli/compile/compile.go:387 internal/cli/upload/upload.go:136 +#: internal/cli/compile/compile.go:402 internal/cli/upload/upload.go:136 msgid "Platform ID is not correct" msgstr "平台 ID 不正確" @@ -1851,13 +1859,13 @@ msgstr "平台名:" msgid "Platform size (bytes):" msgstr "平台大小 (位元組):" -#: commands/cmderrors/cmderrors.go:153 +#: commands/cmderrors/cmderrors.go:154 msgid "" "Please specify an FQBN. Multiple possible boards detected on port %[1]s with" " protocol %[2]s" msgstr "請指定一個 FQBN。在 %[1]s 連接埠以協議 %[2]s 檢測到多個可能的開發板" -#: commands/cmderrors/cmderrors.go:133 +#: commands/cmderrors/cmderrors.go:134 msgid "" "Please specify an FQBN. The board on port %[1]s with protocol %[2]s can't be" " identified" @@ -1871,12 +1879,12 @@ msgstr "連接埠" msgid "Port closed: %v" msgstr "連接埠關閉: %v" -#: commands/cmderrors/cmderrors.go:668 +#: commands/cmderrors/cmderrors.go:689 msgid "Port monitor error" msgstr "連接埠監視器錯誤" -#: internal/arduino/builder/libraries.go:101 -#: internal/arduino/builder/libraries.go:109 +#: internal/arduino/builder/libraries.go:102 +#: internal/arduino/builder/libraries.go:110 msgid "Precompiled library in \"%[1]s\" not found" msgstr "找不到在“%[1]s”的預編譯程式庫" @@ -1884,7 +1892,7 @@ msgstr "找不到在“%[1]s”的預編譯程式庫" msgid "Print details about a board." msgstr "列出開發板的詳細資訊" -#: internal/cli/compile/compile.go:100 +#: internal/cli/compile/compile.go:103 msgid "Print preprocessed code to stdout instead of compiling." msgstr "列出預處理的代碼到標準輸出,而不是編譯" @@ -1904,11 +1912,11 @@ msgstr "列出目前設定" msgid "Prints the current configuration." msgstr "列出目前設定" -#: commands/cmderrors/cmderrors.go:202 +#: commands/cmderrors/cmderrors.go:203 msgid "Profile '%s' not found" msgstr "設定集'%s' 找不到" -#: commands/cmderrors/cmderrors.go:339 +#: commands/cmderrors/cmderrors.go:340 msgid "Programmer '%s' not found" msgstr "燒錄器 '%s' 找不到" @@ -1924,7 +1932,7 @@ msgstr "要使用的燒錄器,例如:atmel_ice" msgid "Programmers:" msgstr "燒錄器:" -#: commands/cmderrors/cmderrors.go:391 +#: commands/cmderrors/cmderrors.go:392 msgid "Property '%s' is undefined" msgstr "'%s' 屬性未定義" @@ -1940,11 +1948,11 @@ msgstr "提供的包括: %s" msgid "Removes one or more values from a setting." msgstr "從設定中移除一或多個值" -#: commands/service_library_install.go:187 +#: commands/service_library_install.go:188 msgid "Replacing %[1]s with %[2]s" msgstr "將 %[1]s 替換成 %[2]s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:123 +#: internal/arduino/cores/packagemanager/install_uninstall.go:125 msgid "Replacing platform %[1]s with %[2]s" msgstr "以平台 %[2]s 替換 %[1]s " @@ -1960,12 +1968,12 @@ msgstr "以靜默模式執行,只顯示監視輸入和輸出" msgid "Run the Arduino CLI as a gRPC daemon." msgstr "以 gRPC 精靈的形式執行 Arduino CLI。" -#: internal/arduino/builder/core.go:42 +#: internal/arduino/builder/core.go:43 msgid "Running normal build of the core..." msgstr "以正常建構的核心執行..." -#: internal/arduino/cores/packagemanager/install_uninstall.go:297 -#: internal/arduino/cores/packagemanager/install_uninstall.go:411 +#: internal/arduino/cores/packagemanager/install_uninstall.go:299 +#: internal/arduino/cores/packagemanager/install_uninstall.go:413 msgid "Running pre_uninstall script." msgstr "執行 pre_uninstall 命令." @@ -1977,7 +1985,7 @@ msgstr "搜尋_條件" msgid "SVD file path" msgstr "SVD 檔案路徑" -#: internal/cli/compile/compile.go:103 +#: internal/cli/compile/compile.go:106 msgid "Save build artifacts in this directory." msgstr "將建構成品存在這個目錄" @@ -2120,7 +2128,7 @@ msgstr "設定連接埠和 FQBN & 燒錄器的預設值. 如果沒指定, 將 #: internal/cli/daemon/daemon.go:93 msgid "Sets the maximum message size in bytes the daemon can receive" -msgstr "" +msgstr "設定精靈可接收的最大訊息量-位元組" #: internal/cli/config/init.go:60 internal/cli/config/init.go:61 msgid "Sets where to save the configuration file." @@ -2221,7 +2229,7 @@ msgstr "顯示 Arduino CLI 版本" msgid "Size (bytes):" msgstr "大小 (字元組) :" -#: commands/service_compile.go:276 +#: commands/service_compile.go:286 msgid "" "Sketch cannot be located in build path. Please specify a different build " "path" @@ -2235,11 +2243,11 @@ msgstr "Sketch 建立在: %s" msgid "Sketch profile to use" msgstr "採用的 Sketch 設定集" -#: internal/arduino/builder/sizer.go:190 +#: internal/arduino/builder/sizer.go:193 msgid "Sketch too big; see %[1]s for tips on reducing it." msgstr "Sketch 太胖了;請參考 %[1]s 裏的減肥技巧" -#: internal/arduino/builder/sizer.go:158 +#: internal/arduino/builder/sizer.go:160 msgid "" "Sketch uses %[1]s bytes (%[3]s%%) of program storage space. Maximum is %[2]s" " bytes." @@ -2251,19 +2259,19 @@ msgid "" "files to .ino:" msgstr "Sketch 已棄用 .pde 副檔名 ,請將下列檔案的副檔名改成.ino" -#: internal/arduino/builder/linker.go:30 +#: internal/arduino/builder/linker.go:31 msgid "Skip linking of final executable." msgstr "跳過鏈結成執行檔" -#: commands/service_upload.go:507 +#: commands/service_upload.go:508 msgid "Skipping 1200-bps touch reset: no serial port selected!" msgstr "跳過 1200-bps 接觸重設:未選取序列埠!" -#: internal/arduino/builder/archive_compiled_files.go:27 +#: internal/arduino/builder/archive_compiled_files.go:28 msgid "Skipping archive creation of: %[1]s" msgstr "跳過建立壓縮檔: %[1]s" -#: internal/arduino/builder/compilation.go:183 +#: internal/arduino/builder/compilation.go:184 msgid "Skipping compile of: %[1]s" msgstr "跳過編譯: %[1]s" @@ -2271,16 +2279,16 @@ msgstr "跳過編譯: %[1]s" msgid "Skipping dependencies detection for precompiled library %[1]s" msgstr "跳過預編譯程式庫 %[1]s 的相依偵測" -#: internal/arduino/cores/packagemanager/install_uninstall.go:190 +#: internal/arduino/cores/packagemanager/install_uninstall.go:192 msgid "Skipping platform configuration." msgstr "跳過平台設定" -#: internal/arduino/cores/packagemanager/install_uninstall.go:306 -#: internal/arduino/cores/packagemanager/install_uninstall.go:420 +#: internal/arduino/cores/packagemanager/install_uninstall.go:308 +#: internal/arduino/cores/packagemanager/install_uninstall.go:422 msgid "Skipping pre_uninstall script." msgstr "跳過 pre_uninstall 命令." -#: internal/arduino/cores/packagemanager/install_uninstall.go:368 +#: internal/arduino/cores/packagemanager/install_uninstall.go:370 msgid "Skipping tool configuration." msgstr "跳過工具設定" @@ -2288,7 +2296,7 @@ msgstr "跳過工具設定" msgid "Skipping: %[1]s" msgstr "跳過: %[1]s" -#: commands/instances.go:633 +#: commands/instances.go:634 msgid "Some indexes could not be updated." msgstr "有些索引無法更新" @@ -2308,7 +2316,7 @@ msgstr "輸出格式,可以是: %s" msgid "The custom config file (if not specified the default will be used)." msgstr "自定義設定檔 (如沒指定,將使用預設值)" -#: internal/cli/compile/compile.go:90 +#: internal/cli/compile/compile.go:93 msgid "" "The flag --build-cache-path has been deprecated. Please use just --build-" "path alone or configure the build cache path in the Arduino CLI settings." @@ -2327,7 +2335,7 @@ msgstr "指定的板子/燒錄器設置不支援除錯。" msgid "The given board/programmer configuration supports debugging." msgstr "指定的板子/燒錄器設置支援除錯。" -#: commands/cmderrors/cmderrors.go:876 +#: commands/cmderrors/cmderrors.go:897 msgid "The instance is no longer valid and needs to be reinitialized" msgstr "實例已無效需重新初始化" @@ -2347,17 +2355,17 @@ msgstr "" "'%[1]v' 鍵不是項目列表,無法移除。\n" "還是用 '%[2]s'?" -#: commands/cmderrors/cmderrors.go:858 +#: commands/cmderrors/cmderrors.go:879 msgid "The library %s has multiple installations:" msgstr "程式庫 %s 有多個安裝" -#: internal/cli/compile/compile.go:115 +#: internal/cli/compile/compile.go:118 msgid "" "The name of the custom encryption key to use to encrypt a binary during the " "compile process. Used only by the platforms that support it." msgstr "自定義加密密鑰的名稱,用在編譯過程中對二進位碼進行加密。只用在有支援的平台" -#: internal/cli/compile/compile.go:113 +#: internal/cli/compile/compile.go:116 msgid "" "The name of the custom signing key to use to sign a binary during the " "compile process. Used only by the platforms that support it." @@ -2367,13 +2375,13 @@ msgstr "自定義簽名密鑰的名稱,用在編譯過程中對二進位碼進 msgid "The output format for the logs, can be: %s" msgstr "日誌的輸出格​​式,可以是: %s" -#: internal/cli/compile/compile.go:111 +#: internal/cli/compile/compile.go:114 msgid "" "The path of the dir to search for the custom keys to sign and encrypt a " "binary. Used only by the platforms that support it." msgstr "尋找用來簽名和加密二進位碼的自定義密鑰檔的檔案夾路徑。只用在有支援的平台" -#: internal/arduino/builder/libraries.go:151 +#: internal/arduino/builder/libraries.go:152 msgid "The platform does not support '%[1]s' for precompiled libraries." msgstr "本平台不支援預編譯程式庫的 '%[1]s'" @@ -2395,12 +2403,12 @@ msgstr "此指令顯示可升級的已安裝核心和程式庫。如沒需要更 msgid "Timestamp each incoming line." msgstr "記錄每一行時間" -#: internal/arduino/cores/packagemanager/install_uninstall.go:89 -#: internal/arduino/cores/packagemanager/install_uninstall.go:328 +#: internal/arduino/cores/packagemanager/install_uninstall.go:91 +#: internal/arduino/cores/packagemanager/install_uninstall.go:330 msgid "Tool %s already installed" msgstr "工具 %s 已安裝" -#: internal/arduino/cores/packagemanager/install_uninstall.go:432 +#: internal/arduino/cores/packagemanager/install_uninstall.go:434 msgid "Tool %s uninstalled" msgstr "工具 %s 已卸除" @@ -2420,7 +2428,7 @@ msgstr "工具包前綴字元" msgid "Toolchain type" msgstr "工具包類型" -#: internal/cli/compile/compile.go:400 internal/cli/upload/upload.go:146 +#: internal/cli/compile/compile.go:415 internal/cli/upload/upload.go:146 msgid "Try running %s" msgstr "嘗試執行 %s" @@ -2440,7 +2448,7 @@ msgstr "類型: %s" msgid "URL:" msgstr "網址:" -#: internal/arduino/builder/core.go:165 +#: internal/arduino/builder/core.go:166 msgid "" "Unable to cache built core, please tell %[1]s maintainers to follow %[2]s" msgstr "無法快取建構核心,請通知 %[1]s 維護者注意 %[2]s" @@ -2462,17 +2470,17 @@ msgstr "無法取得用戶家目錄: %v" msgid "Unable to open file for logging: %s" msgstr "無法開啟檔案做日誌記錄: %s" -#: commands/instances.go:562 +#: commands/instances.go:563 msgid "Unable to parse URL" msgstr "無法解析網址" #: commands/service_library_uninstall.go:71 -#: internal/arduino/cores/packagemanager/install_uninstall.go:280 +#: internal/arduino/cores/packagemanager/install_uninstall.go:282 msgid "Uninstalling %s" msgstr "卸除 %s" #: commands/service_platform_uninstall.go:99 -#: internal/arduino/cores/packagemanager/install_uninstall.go:166 +#: internal/arduino/cores/packagemanager/install_uninstall.go:168 msgid "Uninstalling %s, tool is no more required" msgstr "卸除 %s,不需要這工具了" @@ -2490,7 +2498,7 @@ msgstr "卸載一或多個程式庫" msgid "Unknown" msgstr "未知的" -#: commands/cmderrors/cmderrors.go:183 +#: commands/cmderrors/cmderrors.go:184 msgid "Unknown FQBN" msgstr "未知的 FQBN" @@ -2518,7 +2526,7 @@ msgstr "更新程式庫索引到最新" msgid "Updates the libraries index." msgstr "更新程式庫索引" -#: internal/arduino/cores/packagemanager/install_uninstall.go:45 +#: internal/arduino/cores/packagemanager/install_uninstall.go:47 msgid "Upgrade doesn't accept parameters with version" msgstr "升級不接受版本參數" @@ -2551,7 +2559,7 @@ msgstr "上傳 Arduino sketch。不會在上傳前編譯它" msgid "Upload port address, e.g.: COM3 or /dev/ttyACM2" msgstr "上傳連接埠,例如:COM3 或 /dev/ttyACM2" -#: commands/service_upload.go:531 +#: commands/service_upload.go:532 msgid "Upload port found on %s" msgstr "找到上傳連接埠 %s " @@ -2559,7 +2567,7 @@ msgstr "找到上傳連接埠 %s " msgid "Upload port protocol, e.g: serial" msgstr "上傳連接埠協議,例如:串列" -#: internal/cli/compile/compile.go:120 +#: internal/cli/compile/compile.go:123 msgid "Upload the binary after the compilation." msgstr "編譯完成就上傳二進位碼" @@ -2571,7 +2579,7 @@ msgstr "使用燒錄器將 bootloader 上傳到開發板" msgid "Upload the bootloader." msgstr "上傳 bootloader" -#: internal/cli/compile/compile.go:269 internal/cli/upload/upload.go:167 +#: internal/cli/compile/compile.go:274 internal/cli/upload/upload.go:167 msgid "" "Uploading to specified board using %s protocol requires the following info:" msgstr "以 %s 協議上傳到開發板需要以下資訊:" @@ -2592,11 +2600,11 @@ msgstr "用法:" msgid "Use %s for more information about a command." msgstr "使用 %s 取得指令的更多資訊" -#: internal/cli/compile/compile.go:452 +#: internal/cli/compile/compile.go:471 msgid "Used library" msgstr "使用的程式庫" -#: internal/cli/compile/compile.go:467 +#: internal/cli/compile/compile.go:486 msgid "Used platform" msgstr "使用的平台" @@ -2604,7 +2612,7 @@ msgstr "使用的平台" msgid "Used: %[1]s" msgstr "使用: %[1]s" -#: commands/service_compile.go:351 +#: commands/service_compile.go:361 msgid "Using board '%[1]s' from platform in folder: %[2]s" msgstr "使用檔案夾: %[2]s 裏面平台的開發板 '%[1]s' " @@ -2612,7 +2620,7 @@ msgstr "使用檔案夾: %[2]s 裏面平台的開發板 '%[1]s' " msgid "Using cached library dependencies for file: %[1]s" msgstr "檔案: %[1]s 使用快取程式庫相依" -#: commands/service_compile.go:352 +#: commands/service_compile.go:362 msgid "Using core '%[1]s' from platform in folder: %[2]s" msgstr "使用檔案夾: %[2]s 裏面平台的核心 '%[1]s' " @@ -2628,25 +2636,25 @@ msgstr "" "使用一般監控設定。.\n" "警告: 您的開發板可能需要不同的設定才能適用!\n" -#: internal/arduino/builder/libraries.go:312 +#: internal/arduino/builder/libraries.go:313 msgid "Using library %[1]s at version %[2]s in folder: %[3]s %[4]s" msgstr "使用檔案夾: %[3]s %[4]s 內的程式庫 %[1]s 版本 %[2]s " -#: internal/arduino/builder/libraries.go:306 +#: internal/arduino/builder/libraries.go:307 msgid "Using library %[1]s in folder: %[2]s %[3]s" msgstr "使用檔案夾: %[2]s %[3]s 內的程式庫 %[1]s " -#: internal/arduino/builder/core.go:120 internal/arduino/builder/core.go:132 +#: internal/arduino/builder/core.go:121 internal/arduino/builder/core.go:133 msgid "Using precompiled core: %[1]s" msgstr "使用預編譯核心: %[1]s" -#: internal/arduino/builder/libraries.go:98 -#: internal/arduino/builder/libraries.go:106 +#: internal/arduino/builder/libraries.go:99 +#: internal/arduino/builder/libraries.go:107 msgid "Using precompiled library in %[1]s" msgstr "使用在%[1]s 裏預編譯的程式庫" -#: internal/arduino/builder/archive_compiled_files.go:50 -#: internal/arduino/builder/compilation.go:181 +#: internal/arduino/builder/archive_compiled_files.go:51 +#: internal/arduino/builder/compilation.go:182 msgid "Using previously compiled file: %[1]s" msgstr "使用先前編譯的檔案: %[1]s" @@ -2663,11 +2671,11 @@ msgid "Values" msgstr "數值" #: internal/cli/burnbootloader/burnbootloader.go:62 -#: internal/cli/compile/compile.go:122 internal/cli/upload/upload.go:78 +#: internal/cli/compile/compile.go:125 internal/cli/upload/upload.go:78 msgid "Verify uploaded binary after the upload." msgstr "上傳後驗證上傳的二進位碼" -#: internal/cli/compile/compile.go:453 internal/cli/compile/compile.go:468 +#: internal/cli/compile/compile.go:472 internal/cli/compile/compile.go:487 #: internal/cli/core/search.go:117 msgid "Version" msgstr "版本" @@ -2676,34 +2684,34 @@ msgstr "版本" msgid "Versions: %s" msgstr "版本: %s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:185 +#: internal/arduino/cores/packagemanager/install_uninstall.go:187 msgid "WARNING cannot configure platform: %s" msgstr "警告! 無法設定平台: %s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:364 +#: internal/arduino/cores/packagemanager/install_uninstall.go:366 msgid "WARNING cannot configure tool: %s" msgstr "警告!無法設定工具: %s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:302 -#: internal/arduino/cores/packagemanager/install_uninstall.go:416 +#: internal/arduino/cores/packagemanager/install_uninstall.go:304 +#: internal/arduino/cores/packagemanager/install_uninstall.go:418 msgid "WARNING cannot run pre_uninstall script: %s" msgstr "警告 ! 無法執行 pre_uninstall 命令: %s" -#: internal/cli/compile/compile.go:330 +#: internal/cli/compile/compile.go:339 msgid "WARNING: The sketch is compiled using one or more custom libraries." msgstr "警告! sketch 用了一或多個客製程式庫編譯" -#: internal/arduino/builder/libraries.go:283 +#: internal/arduino/builder/libraries.go:284 msgid "" "WARNING: library %[1]s claims to run on %[2]s architecture(s) and may be " "incompatible with your current board which runs on %[3]s architecture(s)." msgstr "警告: %[1]s 程式庫是 (%[2]s 架構),可能與選擇的開發板 (%[3]s架構)不相容 " -#: commands/service_upload.go:520 +#: commands/service_upload.go:521 msgid "Waiting for upload port..." msgstr "等待上傳連接埠..." -#: commands/service_compile.go:357 +#: commands/service_compile.go:367 msgid "" "Warning: Board %[1]s doesn't define a %[2]s preference. Auto-set to: %[3]s" msgstr "警告: 開發板 %[1]s 並沒定義 %[2]s 喜好。自動設定成:%[3]s" @@ -2722,7 +2730,7 @@ msgid "" "directory." msgstr "將目前的設定寫入資料目錄裏面的設定檔" -#: internal/cli/compile/compile.go:150 internal/cli/compile/compile.go:153 +#: internal/cli/compile/compile.go:153 internal/cli/compile/compile.go:156 msgid "You cannot use the %s flag while compiling with a profile." msgstr "使用設定集編譯時不能使用 %s 旗標參數" @@ -2730,11 +2738,11 @@ msgstr "使用設定集編譯時不能使用 %s 旗標參數" msgid "archive hash differs from hash in index" msgstr "保存與和索引不同的雜湊" -#: internal/arduino/libraries/librariesmanager/install.go:188 +#: internal/arduino/libraries/librariesmanager/install.go:187 msgid "archive is not valid: multiple files found in zip file top level" msgstr "存檔無效: 在 zip 檔頂層找到多個檔案" -#: internal/arduino/libraries/librariesmanager/install.go:191 +#: internal/arduino/libraries/librariesmanager/install.go:190 msgid "archive is not valid: no files found in zip file top level" msgstr "存檔無效: 在 zip 檔的頂層沒找到檔案" @@ -2758,11 +2766,11 @@ msgstr "基本搜尋\"audio\" " msgid "basic search for \"esp32\" and \"display\" limited to official Maintainer" msgstr "基本搜尋只限於官方維護者的 \"esp32\" 和 \"display\"" -#: commands/service_upload.go:791 +#: commands/service_upload.go:792 msgid "binary file not found in %s" msgstr "%s 裏找不到二進位檔" -#: internal/arduino/cores/packagemanager/package_manager.go:348 +#: internal/arduino/cores/packagemanager/package_manager.go:316 msgid "board %s not found" msgstr "找不到開發板 %s" @@ -2778,11 +2786,11 @@ msgstr "內建程式庫目錄未設定" msgid "can't find latest release of %s" msgstr "找不到最新版的 %s " -#: commands/instances.go:272 +#: commands/instances.go:273 msgid "can't find latest release of tool %s" msgstr "找不到最新版的工具 %s " -#: internal/arduino/cores/packagemanager/loader.go:712 +#: internal/arduino/cores/packagemanager/loader.go:709 msgid "can't find pattern for discovery with id %s" msgstr "找不到 id 為 %s 探索的樣態" @@ -2790,11 +2798,11 @@ msgstr "找不到 id 為 %s 探索的樣態" msgid "candidates" msgstr "候選" -#: commands/service_upload.go:737 commands/service_upload.go:744 +#: commands/service_upload.go:738 commands/service_upload.go:745 msgid "cannot execute upload tool: %s" msgstr "無法執行上傳工具: %s" -#: internal/arduino/resources/install.go:40 +#: internal/arduino/resources/install.go:48 msgid "checking local archive integrity" msgstr "檢查本地端存檔的完整性" @@ -2820,27 +2828,27 @@ msgstr "通信不同步,預期 '%[1]s',卻收到 '%[2]s'" msgid "computing hash: %s" msgstr "計算雜湊: %s" -#: internal/arduino/cores/fqbn.go:81 +#: pkg/fqbn/fqbn.go:83 msgid "config key %s contains an invalid character" msgstr "設定鍵 %s 含有無效字元" -#: internal/arduino/cores/fqbn.go:86 +#: pkg/fqbn/fqbn.go:87 msgid "config value %s contains an invalid character" msgstr "設定值%s 含有無效字元" -#: internal/arduino/libraries/librariesmanager/install.go:141 +#: internal/arduino/libraries/librariesmanager/install.go:140 msgid "copying library to destination directory:" msgstr "拷貝程式庫到目標目錄:" -#: commands/service_upload.go:863 +#: commands/service_upload.go:864 msgid "could not find a valid build artifact" msgstr "找不到正確的建構成品" -#: commands/service_platform_install.go:94 +#: commands/service_platform_install.go:99 msgid "could not overwrite" msgstr "無法覆寫" -#: commands/service_library_install.go:190 +#: commands/service_library_install.go:191 msgid "could not remove old library" msgstr "無法移除舊的程式庫" @@ -2849,20 +2857,20 @@ msgstr "無法移除舊的程式庫" msgid "could not update sketch project file" msgstr "無法更新 sketch 專案檔" -#: internal/arduino/builder/core.go:116 internal/arduino/builder/core.go:140 +#: internal/arduino/builder/core.go:117 internal/arduino/builder/core.go:141 msgid "creating core cache folder: %s" msgstr "建立核心快取檔案夾: %s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:219 +#: internal/arduino/cores/packagemanager/install_uninstall.go:221 msgid "creating installed.json in %[1]s: %[2]s" msgstr "在 %[1]s:%[2]s 建立 installed.json" -#: internal/arduino/resources/install.go:45 -#: internal/arduino/resources/install.go:49 +#: internal/arduino/resources/install.go:54 +#: internal/arduino/resources/install.go:58 msgid "creating temp dir for extraction: %s" msgstr "建立解壓縮用的臨時目錄: %s" -#: internal/arduino/builder/sizer.go:196 +#: internal/arduino/builder/sizer.go:199 msgid "data section exceeds available space in board" msgstr "資料區已超出開發板的可用空間" @@ -2870,15 +2878,15 @@ msgstr "資料區已超出開發板的可用空間" msgid "dependency '%s' is not available" msgstr "沒有 '%s' 的相依" -#: internal/arduino/libraries/librariesmanager/install.go:94 +#: internal/arduino/libraries/librariesmanager/install.go:93 msgid "destination dir %s already exists, cannot install" msgstr "目標目錄 %s 已存在,無法安裝" -#: internal/arduino/libraries/librariesmanager/install.go:138 +#: internal/arduino/libraries/librariesmanager/install.go:137 msgid "destination directory already exists" msgstr "目標目錄已存在" -#: internal/arduino/libraries/librariesmanager/install.go:278 +#: internal/arduino/libraries/librariesmanager/install.go:305 msgid "directory doesn't exist: %s" msgstr "目錄不存在: %s" @@ -2886,15 +2894,15 @@ msgstr "目錄不存在: %s" msgid "discovery %[1]s process not started" msgstr "探索%[1]s 程序沒啟動" -#: internal/arduino/cores/packagemanager/loader.go:644 +#: internal/arduino/cores/packagemanager/loader.go:641 msgid "discovery %s not found" msgstr "探索 %s找不到 " -#: internal/arduino/cores/packagemanager/loader.go:648 +#: internal/arduino/cores/packagemanager/loader.go:645 msgid "discovery %s not installed" msgstr "探索 %s 未安裝" -#: internal/arduino/cores/packagemanager/package_manager.go:746 +#: internal/arduino/cores/packagemanager/package_manager.go:714 msgid "discovery release not found: %s" msgstr "找不到探索發行: %s" @@ -2910,11 +2918,11 @@ msgstr "下載 Arduino SAMD 核心最新版" msgid "downloaded" msgstr "已下載" -#: commands/instances.go:55 +#: commands/instances.go:56 msgid "downloading %[1]s tool: %[2]s" msgstr "正在下載 %[1]s 工具: %[2]s" -#: internal/arduino/cores/fqbn.go:60 +#: pkg/fqbn/fqbn.go:63 msgid "empty board identifier" msgstr "清空開發板識別" @@ -2922,7 +2930,7 @@ msgstr "清空開發板識別" msgid "error loading sketch project file:" msgstr "錯誤載入 sketch 專案:" -#: internal/arduino/cores/packagemanager/loader.go:615 +#: internal/arduino/cores/packagemanager/loader.go:612 msgid "error opening %s" msgstr "錯誤開啟 %s" @@ -2930,19 +2938,19 @@ msgstr "錯誤開啟 %s" msgid "error parsing version constraints" msgstr "錯誤解析版本限制" -#: commands/service_board_list.go:115 +#: commands/service_board_identify.go:203 msgid "error processing response from server" msgstr "錯誤處理伺服器回應" -#: commands/service_board_list.go:95 +#: commands/service_board_identify.go:183 msgid "error querying Arduino Cloud Api" msgstr "錯誤查詢 Arduino Cloud Api" -#: internal/arduino/libraries/librariesmanager/install.go:179 +#: internal/arduino/libraries/librariesmanager/install.go:178 msgid "extracting archive" msgstr "解開存檔" -#: internal/arduino/resources/install.go:68 +#: internal/arduino/resources/install.go:77 msgid "extracting archive: %s" msgstr "解開存檔: %s" @@ -2950,7 +2958,7 @@ msgstr "解開存檔: %s" msgid "failed to compute hash of file \"%s\"" msgstr "計算 “%s” 檔的雜湊值失敗" -#: commands/service_board_list.go:90 +#: commands/service_board_identify.go:178 msgid "failed to initialize http client" msgstr "初始化 http 客戶端失敗" @@ -2958,7 +2966,7 @@ msgstr "初始化 http 客戶端失敗" msgid "fetched archive size differs from size specified in index" msgstr "抓取的存檔大小跟索引內指明的大小不同" -#: internal/arduino/resources/install.go:123 +#: internal/arduino/resources/install.go:132 msgid "files in archive must be placed in a subdirectory" msgstr "存檔內的檔案必須放在子目錄下" @@ -2988,7 +2996,7 @@ msgstr "針對最新版本" msgid "for the specific version." msgstr "針對特定版本" -#: internal/arduino/cores/fqbn.go:66 +#: pkg/fqbn/fqbn.go:68 msgid "fqbn's field %s contains an invalid character" msgstr "fqbn 欄 %s 含有無效字元" @@ -3012,35 +3020,35 @@ msgstr "取得存檔資訊: %s" #: internal/arduino/resources/checksums.go:89 #: internal/arduino/resources/download.go:36 #: internal/arduino/resources/helpers.go:39 -#: internal/arduino/resources/install.go:56 +#: internal/arduino/resources/install.go:65 msgid "getting archive path: %s" msgstr "取得存檔路徑: %s" -#: internal/arduino/cores/packagemanager/package_manager.go:354 +#: internal/arduino/cores/packagemanager/package_manager.go:322 msgid "getting build properties for board %[1]s: %[2]s" msgstr "取得開發板 %[1]s: %[2]s 的建構屬性" -#: internal/arduino/cores/packagemanager/download.go:106 +#: internal/arduino/cores/packagemanager/download.go:108 msgid "getting discovery dependencies for platform %[1]s: %[2]s" msgstr "取得平台 %[1]s: %[2]s 的探索相依" -#: internal/arduino/cores/packagemanager/download.go:114 +#: internal/arduino/cores/packagemanager/download.go:116 msgid "getting monitor dependencies for platform %[1]s: %[2]s" msgstr "取得平台 %[1]s: %[2]s 的監視器相依" -#: internal/arduino/cores/packagemanager/download.go:99 +#: internal/arduino/cores/packagemanager/download.go:101 msgid "getting tool dependencies for platform %[1]s: %[2]s" msgstr "取得平台 %[1]s: %[2]s 的工具相依" -#: internal/arduino/libraries/librariesmanager/install.go:149 +#: internal/arduino/libraries/librariesmanager/install.go:148 msgid "install directory not set" msgstr "未設定安裝目錄" -#: commands/instances.go:59 +#: commands/instances.go:60 msgid "installing %[1]s tool: %[2]s" msgstr "安裝 %[1]s 工具: %[2]s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:211 +#: internal/arduino/cores/packagemanager/install_uninstall.go:213 msgid "installing platform %[1]s: %[2]s" msgstr "安裝平台%[1]s: %[2]s" @@ -3056,7 +3064,7 @@ msgstr "無效的 '%s' 指令" msgid "invalid checksum format: %s" msgstr "無效的校驗碼格式: %s" -#: internal/arduino/cores/fqbn.go:73 internal/arduino/cores/fqbn.go:78 +#: pkg/fqbn/fqbn.go:75 pkg/fqbn/fqbn.go:80 msgid "invalid config option: %s" msgstr "無效的設定選項: %s" @@ -3088,11 +3096,14 @@ msgstr "無效的空程式庫名" msgid "invalid empty library version: %s" msgstr "無效的空程式庫版本: %s" -#: internal/arduino/cores/board.go:143 +#: internal/arduino/cores/board.go:144 msgid "invalid empty option found" msgstr "找到無效的空選項" -#: internal/arduino/libraries/librariesmanager/install.go:268 +#: internal/arduino/libraries/librariesmanager/install.go:276 +#: internal/arduino/libraries/librariesmanager/install.go:279 +#: internal/arduino/libraries/librariesmanager/install.go:286 +#: internal/arduino/libraries/librariesmanager/install.go:290 msgid "invalid git url" msgstr "無效的 git 網址" @@ -3120,7 +3131,7 @@ msgstr "無效的程式庫位置: %s" msgid "invalid library: no header files found" msgstr "無效的程式庫: 找不到 .h 標頭檔" -#: internal/arduino/cores/board.go:146 +#: internal/arduino/cores/board.go:147 msgid "invalid option '%s'" msgstr "無效的選項 '%s'" @@ -3136,10 +3147,6 @@ msgstr "無效路徑難建立設定目錄: %[1]s 錯誤" msgid "invalid path writing inventory file: %[1]s error" msgstr "無效路徑來寫入檔案: %[1]s 錯誤" -#: internal/arduino/cores/packageindex/index.go:278 -msgid "invalid platform archive size: %s" -msgstr "無效的平台存檔大小: %s" - #: internal/arduino/sketch/profiles.go:252 msgid "invalid platform identifier" msgstr "無效的平台識別" @@ -3158,9 +3165,9 @@ msgstr "無效的連接埠設定值 %s : %s" #: internal/cli/monitor/monitor.go:182 msgid "invalid port configuration: %s=%s" -msgstr "" +msgstr "無效的連接埠設定: %s" -#: commands/service_upload.go:724 +#: commands/service_upload.go:725 msgid "invalid recipe '%[1]s': %[2]s" msgstr "無效的作法'%[1]s': %[2]s" @@ -3171,7 +3178,7 @@ msgid "" "cannot be \".\"." msgstr "無效的 sketch 名 \\\"%[1]s\\\": 首字元必須是英數字或底線, 接著可以是減號和逗點, 但最後字元不可以是逗點" -#: internal/arduino/cores/board.go:150 +#: internal/arduino/cores/board.go:151 msgid "invalid value '%[1]s' for option '%[2]s'" msgstr "無效的 '%[2]s' 選項值 '%[1]s' " @@ -3211,11 +3218,11 @@ msgstr "名字有 \"buzzer\" 的程式庫" msgid "libraries with a Name exactly matching \"pcf8523\"" msgstr "名字上有 \"pcf8523\" 的程式庫" -#: internal/arduino/libraries/librariesmanager/install.go:126 +#: internal/arduino/libraries/librariesmanager/install.go:125 msgid "library %s already installed" msgstr "程式庫 %s 已安裝" -#: internal/arduino/libraries/librariesmanager/install.go:315 +#: internal/arduino/libraries/librariesmanager/install.go:342 msgid "library not valid" msgstr "程式庫無效" @@ -3229,8 +3236,8 @@ msgstr "載入 %[1]s: %[2]s" msgid "loading boards: %s" msgstr "載入開發板: %s" -#: internal/arduino/cores/packagemanager/package_manager.go:501 -#: internal/arduino/cores/packagemanager/package_manager.go:516 +#: internal/arduino/cores/packagemanager/package_manager.go:469 +#: internal/arduino/cores/packagemanager/package_manager.go:484 msgid "loading json index file %[1]s: %[2]s" msgstr "載入json 索引檔 %[1]s:%[2]s" @@ -3259,7 +3266,7 @@ msgstr "載入需要的平台 %s" msgid "loading required tool %s" msgstr "載入需要的工具 %s" -#: internal/arduino/cores/packagemanager/loader.go:590 +#: internal/arduino/cores/packagemanager/loader.go:587 msgid "loading tool release in %s" msgstr "載入在 %s 的工具" @@ -3267,7 +3274,7 @@ msgstr "載入在 %s 的工具" msgid "looking for boards.txt in %s" msgstr "在 %s 尋找 boards.txt" -#: commands/service_upload.go:806 +#: commands/service_upload.go:807 msgid "looking for build artifacts" msgstr "尋找建構成品" @@ -3283,7 +3290,7 @@ msgstr "缺少 '%s' 指令" msgid "missing checksum for: %s" msgstr "缺少 %s 的校驗碼" -#: internal/arduino/cores/packagemanager/package_manager.go:462 +#: internal/arduino/cores/packagemanager/package_manager.go:430 msgid "missing package %[1]s referenced by board %[2]s" msgstr "缺少開發板 %[2]s 參照的套件 %[1]s" @@ -3291,11 +3298,11 @@ msgstr "缺少開發板 %[2]s 參照的套件 %[1]s" msgid "missing package index for %s, future updates cannot be guaranteed" msgstr "缺少 %s 的套件索引, 不保証未來更新與否" -#: internal/arduino/cores/packagemanager/package_manager.go:467 +#: internal/arduino/cores/packagemanager/package_manager.go:435 msgid "missing platform %[1]s:%[2]s referenced by board %[3]s" msgstr "缺少被開發板 %[3]s 參照的平台 %[1]s : %[2]s" -#: internal/arduino/cores/packagemanager/package_manager.go:472 +#: internal/arduino/cores/packagemanager/package_manager.go:440 msgid "missing platform release %[1]s:%[2]s referenced by board %[3]s" msgstr "缺少開發板 %[3]s 參照的平台發行版 %[1]s : %[2]s" @@ -3303,17 +3310,17 @@ msgstr "缺少開發板 %[3]s 參照的平台發行版 %[1]s : %[2]s" msgid "missing signature" msgstr "找不到簽名" -#: internal/arduino/cores/packagemanager/package_manager.go:757 +#: internal/arduino/cores/packagemanager/package_manager.go:725 msgid "monitor release not found: %s" msgstr "沒找到監視器發行版: %s" -#: internal/arduino/libraries/librariesmanager/install.go:197 -#: internal/arduino/libraries/librariesmanager/install.go:246 -#: internal/arduino/resources/install.go:97 +#: internal/arduino/libraries/librariesmanager/install.go:196 +#: internal/arduino/libraries/librariesmanager/install.go:247 +#: internal/arduino/resources/install.go:106 msgid "moving extracted archive to destination dir: %s" msgstr "移動解壓縮的存檔到目標資料夾: %s" -#: commands/service_upload.go:858 +#: commands/service_upload.go:859 msgid "multiple build artifacts found: '%[1]s' and '%[2]s'" msgstr "找到多個建構成品: '%[1]s' 和 '%[2]s'" @@ -3321,17 +3328,17 @@ msgstr "找到多個建構成品: '%[1]s' 和 '%[2]s'" msgid "multiple main sketch files found (%[1]v, %[2]v)" msgstr "找到多個 sketch 檔 (%[1]v, %[2]v)" -#: internal/arduino/cores/packagemanager/install_uninstall.go:338 +#: internal/arduino/cores/packagemanager/install_uninstall.go:340 msgid "" "no compatible version of %[1]s tools found for the current os, try " "contacting %[2]s" msgstr "沒找到目前作業系統相容工具版本 %[1]s,請聯絡 %[2]s" -#: commands/service_board_list.go:273 +#: commands/service_board_list.go:106 msgid "no instance specified" msgstr "未指定實例" -#: commands/service_upload.go:813 +#: commands/service_upload.go:814 msgid "no sketch or build directory/file specified" msgstr "未指定 sketch 或建構目錄/檔" @@ -3339,11 +3346,11 @@ msgstr "未指定 sketch 或建構目錄/檔" msgid "no such file or directory" msgstr "沒有這檔案/目錄" -#: internal/arduino/resources/install.go:126 +#: internal/arduino/resources/install.go:135 msgid "no unique root dir in archive, found '%[1]s' and '%[2]s'" msgstr "存檔中沒有單一的根目錄,找到了 '%[1]s' 和 '%[2]s'" -#: commands/service_upload.go:719 +#: commands/service_upload.go:720 msgid "no upload port provided" msgstr "未提供上傳連接埠" @@ -3351,11 +3358,11 @@ msgstr "未提供上傳連接埠" msgid "no valid sketch found in %[1]s: missing %[2]s" msgstr "在 %[1]s 找不到有效的 sketch : 缺少 %[2]s" -#: internal/arduino/cores/packagemanager/download.go:128 +#: internal/arduino/cores/packagemanager/download.go:130 msgid "no versions available for the current OS, try contacting %s" msgstr "目前的作業系統沒可用的版本,請聯絡 %s" -#: internal/arduino/cores/fqbn.go:50 +#: pkg/fqbn/fqbn.go:53 msgid "not an FQBN: %s" msgstr "不是 FQBN: %s" @@ -3364,7 +3371,7 @@ msgid "not running in a terminal" msgstr "沒在終端執行" #: internal/arduino/resources/checksums.go:71 -#: internal/arduino/resources/install.go:60 +#: internal/arduino/resources/install.go:69 msgid "opening archive file: %s" msgstr "開啟存檔: %s" @@ -3372,26 +3379,26 @@ msgstr "開啟存檔: %s" msgid "opening boards.txt" msgstr "開啟 boards.txt" -#: internal/arduino/security/signatures.go:81 +#: internal/arduino/security/signatures.go:82 msgid "opening signature file: %s" msgstr "開啟簽名檔: %s" -#: internal/arduino/security/signatures.go:76 +#: internal/arduino/security/signatures.go:78 msgid "opening target file: %s" msgstr "開啟目標檔: %s" -#: internal/arduino/cores/packagemanager/download.go:76 +#: internal/arduino/cores/packagemanager/download.go:78 #: internal/arduino/cores/status.go:97 internal/arduino/cores/status.go:122 #: internal/arduino/cores/status.go:149 msgid "package %s not found" msgstr "找不到套件 %s" -#: internal/arduino/cores/packagemanager/package_manager.go:530 +#: internal/arduino/cores/packagemanager/package_manager.go:498 msgid "package '%s' not found" msgstr "找不到套件 '%s'" -#: internal/arduino/cores/board.go:166 -#: internal/arduino/cores/packagemanager/package_manager.go:295 +#: internal/arduino/cores/board.go:167 +#: internal/arduino/cores/packagemanager/package_manager.go:263 msgid "parsing fqbn: %s" msgstr "解析 FQBN:%s" @@ -3403,26 +3410,26 @@ msgstr "解析 library_index.json: %s" msgid "path is not a platform directory: %s" msgstr "路徑不是平台目錄: %s" -#: internal/arduino/cores/packagemanager/download.go:80 +#: internal/arduino/cores/packagemanager/download.go:82 msgid "platform %[1]s not found in package %[2]s" msgstr "%[2]s 套件裏找不到 %[1]s 平台" -#: internal/arduino/cores/packagemanager/package_manager.go:341 +#: internal/arduino/cores/packagemanager/package_manager.go:309 msgid "platform %s is not installed" msgstr "平台 %s 未安裝" -#: internal/arduino/cores/packagemanager/download.go:92 +#: commands/cmderrors/cmderrors.go:427 msgid "platform is not available for your OS" msgstr "平台不支援使用中的作業系統" -#: commands/service_compile.go:126 -#: internal/arduino/cores/packagemanager/install_uninstall.go:179 -#: internal/arduino/cores/packagemanager/install_uninstall.go:283 -#: internal/arduino/cores/packagemanager/loader.go:420 +#: commands/service_compile.go:129 +#: internal/arduino/cores/packagemanager/install_uninstall.go:181 +#: internal/arduino/cores/packagemanager/install_uninstall.go:285 +#: internal/arduino/cores/packagemanager/loader.go:417 msgid "platform not installed" msgstr "平台未安裝" -#: internal/cli/compile/compile.go:139 +#: internal/cli/compile/compile.go:142 msgid "please use --build-property instead." msgstr "請改用 --build-property" @@ -3457,15 +3464,15 @@ msgstr "讀取目錄 %[1]s 的內容" #: internal/arduino/cores/packagemanager/loader.go:69 #: internal/arduino/cores/packagemanager/loader.go:151 #: internal/arduino/cores/packagemanager/loader.go:218 -#: internal/arduino/cores/packagemanager/loader.go:582 +#: internal/arduino/cores/packagemanager/loader.go:579 msgid "reading directory %s" msgstr "讀取目錄 %s" -#: internal/arduino/libraries/librariesmanager/install.go:288 +#: internal/arduino/libraries/librariesmanager/install.go:315 msgid "reading directory %s content" msgstr "讀取目錄 %s 的內容" -#: internal/arduino/builder/sketch.go:81 +#: internal/arduino/builder/sketch.go:83 msgid "reading file %[1]s: %[2]s" msgstr "讀取檔案%[1]s: %[2]s" @@ -3489,7 +3496,7 @@ msgstr "讀取程式庫來源目錄: %s" msgid "reading library_index.json: %s" msgstr "讀取 library_index.json: %s" -#: internal/arduino/resources/install.go:116 +#: internal/arduino/resources/install.go:125 msgid "reading package root dir: %s" msgstr "讀取套件根目錄: %s" @@ -3497,11 +3504,11 @@ msgstr "讀取套件根目錄: %s" msgid "reading sketch files" msgstr "讀取 sketch 檔" -#: commands/service_upload.go:713 +#: commands/service_upload.go:714 msgid "recipe not found '%s'" msgstr "作法未找到 %s" -#: internal/arduino/cores/packagemanager/package_manager.go:606 +#: internal/arduino/cores/packagemanager/package_manager.go:574 msgid "release %[1]s not found for tool %[2]s" msgstr "找不到工具 %[2]s 的發行版 %[1]s" @@ -3514,19 +3521,19 @@ msgstr "發行版不能是無" msgid "removing corrupted archive file: %s" msgstr "刪除損壞的存檔 %s" -#: internal/arduino/libraries/librariesmanager/install.go:152 +#: internal/arduino/libraries/librariesmanager/install.go:151 msgid "removing library directory: %s" msgstr "刪除程式庫目錄: %s" -#: internal/arduino/cores/packagemanager/install_uninstall.go:310 +#: internal/arduino/cores/packagemanager/install_uninstall.go:312 msgid "removing platform files: %s" msgstr "刪除平台檔: %s" -#: internal/arduino/cores/packagemanager/download.go:87 +#: internal/arduino/cores/packagemanager/download.go:89 msgid "required version %[1]s not found for platform %[2]s" msgstr "找不到平台 %[2]s 需要的版本 %[1]s" -#: internal/arduino/security/signatures.go:72 +#: internal/arduino/security/signatures.go:74 msgid "retrieving Arduino public keys: %s" msgstr "取得 Arduino 公鑰:%s" @@ -3535,10 +3542,14 @@ msgstr "取得 Arduino 公鑰:%s" msgid "scanning sketch examples" msgstr "掃描 sketch 範例" -#: internal/arduino/resources/install.go:74 +#: internal/arduino/resources/install.go:83 msgid "searching package root dir: %s" msgstr "尋找套件根目錄: %s" +#: internal/arduino/security/signatures.go:87 +msgid "signature expired: is your system clock set correctly?" +msgstr "簽名過期:系統時間有設定正確嗎?" + #: commands/service_sketch_new.go:78 msgid "sketch name cannot be empty" msgstr "sketch 名字不能空白" @@ -3576,11 +3587,11 @@ msgstr "測試存檔大小: %s" msgid "testing if archive is cached: %s" msgstr "測試存檔是否被快取: %s" -#: internal/arduino/resources/install.go:38 +#: internal/arduino/resources/install.go:46 msgid "testing local archive integrity: %s" msgstr "測試本地存檔完整性: %s" -#: internal/arduino/builder/sizer.go:191 +#: internal/arduino/builder/sizer.go:194 msgid "text section exceeds available space in board" msgstr "本文區已超出開發板的可用空間" @@ -3589,7 +3600,7 @@ msgstr "本文區已超出開發板的可用空間" msgid "the compilation database may be incomplete or inaccurate" msgstr "編譯資料庫可能不完整或不準確" -#: commands/service_board_list.go:102 +#: commands/service_board_identify.go:190 msgid "the server responded with status %s" msgstr "伺服器回應狀態 %s" @@ -3597,7 +3608,7 @@ msgstr "伺服器回應狀態 %s" msgid "timeout waiting for message" msgstr "等待訊息超時" -#: internal/arduino/cores/packagemanager/install_uninstall.go:404 +#: internal/arduino/cores/packagemanager/install_uninstall.go:406 msgid "tool %s is not managed by package manager" msgstr "工具 %s 不是由套件管理員管理的" @@ -3606,16 +3617,16 @@ msgstr "工具 %s 不是由套件管理員管理的" msgid "tool %s not found" msgstr "找不到工具 %s" -#: internal/arduino/cores/packagemanager/package_manager.go:556 +#: internal/arduino/cores/packagemanager/package_manager.go:524 msgid "tool '%[1]s' not found in package '%[2]s'" msgstr "套件 '%[2]s' 裏找不到工具 '%[1]s'" -#: internal/arduino/cores/packagemanager/install_uninstall.go:399 +#: internal/arduino/cores/packagemanager/install_uninstall.go:401 msgid "tool not installed" msgstr "工具未安裝" -#: internal/arduino/cores/packagemanager/package_manager.go:735 -#: internal/arduino/cores/packagemanager/package_manager.go:841 +#: internal/arduino/cores/packagemanager/package_manager.go:703 +#: internal/arduino/cores/packagemanager/package_manager.go:809 msgid "tool release not found: %s" msgstr "工具發行未找到: %s" @@ -3623,21 +3634,21 @@ msgstr "工具發行未找到: %s" msgid "tool version %s not found" msgstr "工具版本 %s 未找到" -#: commands/service_library_install.go:92 +#: commands/service_library_install.go:93 msgid "" "two different versions of the library %[1]s are required: %[2]s and %[3]s" msgstr "需要兩個不同版本的程式庫 %[1]s : %[2]s 和 %[3]s" -#: internal/arduino/builder/sketch.go:74 -#: internal/arduino/builder/sketch.go:118 +#: internal/arduino/builder/sketch.go:76 +#: internal/arduino/builder/sketch.go:120 msgid "unable to compute relative path to the sketch for the item" msgstr "無法計算 sketch 的相對路徑" -#: internal/arduino/builder/sketch.go:43 +#: internal/arduino/builder/sketch.go:45 msgid "unable to create a folder to save the sketch" msgstr "無法建立保存 sketch 的資料夾" -#: internal/arduino/builder/sketch.go:124 +#: internal/arduino/builder/sketch.go:126 msgid "unable to create the folder containing the item" msgstr "無法建立含有項目的資料夾" @@ -3645,23 +3656,23 @@ msgstr "無法建立含有項目的資料夾" msgid "unable to marshal config to YAML: %v" msgstr "無法將 config 轉成 YAML: %v" -#: internal/arduino/builder/sketch.go:162 +#: internal/arduino/builder/sketch.go:164 msgid "unable to read contents of the destination item" msgstr "無法讀取目標項目的內容" -#: internal/arduino/builder/sketch.go:135 +#: internal/arduino/builder/sketch.go:137 msgid "unable to read contents of the source item" msgstr "無法讀取來源項目的內容" -#: internal/arduino/builder/sketch.go:145 +#: internal/arduino/builder/sketch.go:147 msgid "unable to write to destination file" msgstr "無法寫入目標檔" -#: internal/arduino/cores/packagemanager/package_manager.go:329 +#: internal/arduino/cores/packagemanager/package_manager.go:297 msgid "unknown package %s" msgstr "未知的套件 %s" -#: internal/arduino/cores/packagemanager/package_manager.go:336 +#: internal/arduino/cores/packagemanager/package_manager.go:304 msgid "unknown platform %s:%s" msgstr "未知的平台 %s:%s" @@ -3681,7 +3692,7 @@ msgstr "升級 arduino:samd 到最新版" msgid "upgrade everything to the latest version" msgstr "升級全部內容到最新版" -#: commands/service_upload.go:759 +#: commands/service_upload.go:760 msgid "uploading error: %s" msgstr "上傳錯誤: %s" @@ -3705,6 +3716,6 @@ msgstr "版本 %s 不適合本作業系統" msgid "version %s not found" msgstr "沒找到版本 %s " -#: commands/service_board_list.go:120 +#: commands/service_board_identify.go:208 msgid "wrong format in server response" msgstr "伺服器回應錯誤格式" diff --git a/internal/i18n/detect.go b/internal/locales/detect.go similarity index 98% rename from internal/i18n/detect.go rename to internal/locales/detect.go index f35d4f1b94e..36279f1388b 100644 --- a/internal/i18n/detect.go +++ b/internal/locales/detect.go @@ -13,7 +13,7 @@ // Arduino software without disclosing the source code of your own applications. // To purchase a commercial license, send an email to license@arduino.cc. -package i18n +package locales import ( "os" diff --git a/internal/i18n/detect_cgo_darwin.go b/internal/locales/detect_cgo_darwin.go similarity index 98% rename from internal/i18n/detect_cgo_darwin.go rename to internal/locales/detect_cgo_darwin.go index c9fd4ecefb9..7c613cf6135 100644 --- a/internal/i18n/detect_cgo_darwin.go +++ b/internal/locales/detect_cgo_darwin.go @@ -15,7 +15,7 @@ //go:build darwin && cgo -package i18n +package locales /* #cgo CFLAGS: -x objective-c diff --git a/internal/i18n/detect_freebsd.go b/internal/locales/detect_freebsd.go similarity index 98% rename from internal/i18n/detect_freebsd.go rename to internal/locales/detect_freebsd.go index 759509c5abe..4d03b8f3c92 100644 --- a/internal/i18n/detect_freebsd.go +++ b/internal/locales/detect_freebsd.go @@ -13,7 +13,7 @@ // Arduino software without disclosing the source code of your own applications. // To purchase a commercial license, send an email to license@arduino.cc. -package i18n +package locales func getLocaleIdentifier() string { return getLocaleIdentifierFromEnv() diff --git a/internal/i18n/detect_linux.go b/internal/locales/detect_linux.go similarity index 98% rename from internal/i18n/detect_linux.go rename to internal/locales/detect_linux.go index 759509c5abe..4d03b8f3c92 100644 --- a/internal/i18n/detect_linux.go +++ b/internal/locales/detect_linux.go @@ -13,7 +13,7 @@ // Arduino software without disclosing the source code of your own applications. // To purchase a commercial license, send an email to license@arduino.cc. -package i18n +package locales func getLocaleIdentifier() string { return getLocaleIdentifierFromEnv() diff --git a/internal/i18n/detect_nocgo_darwin.go b/internal/locales/detect_nocgo_darwin.go similarity index 98% rename from internal/i18n/detect_nocgo_darwin.go rename to internal/locales/detect_nocgo_darwin.go index f7ae977b19f..689b5e864c5 100644 --- a/internal/i18n/detect_nocgo_darwin.go +++ b/internal/locales/detect_nocgo_darwin.go @@ -15,7 +15,7 @@ //go:build darwin && !cgo -package i18n +package locales func getLocaleIdentifier() string { return getLocaleIdentifierFromEnv() diff --git a/internal/i18n/detect_windows.go b/internal/locales/detect_windows.go similarity index 91% rename from internal/i18n/detect_windows.go rename to internal/locales/detect_windows.go index 84bc3af7997..42c667447d6 100644 --- a/internal/i18n/detect_windows.go +++ b/internal/locales/detect_windows.go @@ -13,20 +13,18 @@ // Arduino software without disclosing the source code of your own applications. // To purchase a commercial license, send an email to license@arduino.cc. -package i18n +package locales import ( "strings" "syscall" "unsafe" - - "github.com/sirupsen/logrus" ) func getLocaleIdentifier() string { defer func() { if r := recover(); r != nil { - logrus.WithField("error", r).Errorf("Failed to get windows user locale") + // ignore error and do not panic } }() diff --git a/internal/locales/i18n.go b/internal/locales/i18n.go new file mode 100644 index 00000000000..8c7120a1771 --- /dev/null +++ b/internal/locales/i18n.go @@ -0,0 +1,39 @@ +// This file is part of arduino-cli. +// +// Copyright 2020 ARDUINO SA (http://www.arduino.cc/) +// +// This software is released under the GNU General Public License version 3, +// which covers the main part of arduino-cli. +// The terms of this license can be found at: +// https://www.gnu.org/licenses/gpl-3.0.en.html +// +// You can be released from the requirements of the above licenses by purchasing +// a commercial license. Buying such a license is mandatory if you want to +// modify or otherwise use the software for commercial activities involving the +// Arduino software without disclosing the source code of your own applications. +// To purchase a commercial license, send an email to license@arduino.cc. + +package locales + +// Init initializes the i18n module, setting the locale according to this order of preference: +// 1. Locale specified via the function call +// 2. OS Locale +// 3. en (default) +func Init(configLocale string) { + locales := supportedLocales() + if configLocale != "" { + if locale := findMatchingLocale(configLocale, locales); locale != "" { + setLocale(locale) + return + } + } + + if osLocale := getLocaleIdentifierFromOS(); osLocale != "" { + if locale := findMatchingLocale(osLocale, locales); locale != "" { + setLocale(locale) + return + } + } + + setLocale("en") +} diff --git a/internal/i18n/locale.go b/internal/locales/locale.go similarity index 93% rename from internal/i18n/locale.go rename to internal/locales/locale.go index 35a43e42e03..646b44059f7 100644 --- a/internal/i18n/locale.go +++ b/internal/locales/locale.go @@ -13,24 +13,19 @@ // Arduino software without disclosing the source code of your own applications. // To purchase a commercial license, send an email to license@arduino.cc. -package i18n +package locales import ( "embed" "strings" + "github.com/arduino/arduino-cli/internal/i18n" "github.com/leonelquinteros/gotext" ) -var po *gotext.Po - //go:embed data/*.po var contents embed.FS -func init() { - po = gotext.NewPo() -} - func supportedLocales() []string { var locales []string files, err := contents.ReadDir("data") @@ -75,6 +70,7 @@ func setLocale(locale string) { if err != nil { panic("Error reading embedded i18n data: " + err.Error()) } - po = gotext.NewPo() - po.Parse(poFile) + dict := gotext.NewPo() + dict.Parse(poFile) + i18n.SetLocale(dict) } diff --git a/internal/i18n/locale_test.go b/internal/locales/locale_test.go similarity index 98% rename from internal/i18n/locale_test.go rename to internal/locales/locale_test.go index 6212258e8f8..dc0ff7ad897 100644 --- a/internal/i18n/locale_test.go +++ b/internal/locales/locale_test.go @@ -13,7 +13,7 @@ // Arduino software without disclosing the source code of your own applications. // To purchase a commercial license, send an email to license@arduino.cc. -package i18n +package locales import ( "testing" diff --git a/internal/mock_serial_monitor/main.go b/internal/mock_serial_monitor/main.go index f13745e1458..60302af7cd2 100644 --- a/internal/mock_serial_monitor/main.go +++ b/internal/mock_serial_monitor/main.go @@ -143,8 +143,7 @@ func (d *SerialMonitor) Open(boardPort string) (io.ReadWriter, error) { d.mockedSerialPort.Write([]byte("Tmpfile: " + d.muxFile.String() + "\n")) } for parameter, descriptor := range d.serialSettings.ConfigurationParameter { - d.mockedSerialPort.Write([]byte( - fmt.Sprintf("Configuration %s = %s\n", parameter, descriptor.Selected))) + fmt.Fprintf(d.mockedSerialPort, "Configuration %s = %s\n", parameter, descriptor.Selected) } for { n, err := d.mockedSerialPort.Read(buff) diff --git a/version/version.go b/internal/version/version.go similarity index 100% rename from version/version.go rename to internal/version/version.go diff --git a/version/version_test.go b/internal/version/version_test.go similarity index 100% rename from version/version_test.go rename to internal/version/version_test.go diff --git a/main.go b/main.go index 84896ac19fe..0ead329254a 100644 --- a/main.go +++ b/main.go @@ -27,6 +27,7 @@ import ( "github.com/arduino/arduino-cli/internal/cli/configuration" "github.com/arduino/arduino-cli/internal/cli/feedback" "github.com/arduino/arduino-cli/internal/i18n" + "github.com/arduino/arduino-cli/internal/locales" rpc "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1" "github.com/arduino/go-paths-helper" "github.com/sirupsen/logrus" @@ -67,7 +68,7 @@ func main() { config := resp.GetConfiguration() // Setup i18n - i18n.Init(config.GetLocale()) + locales.Init(config.GetLocale()) // Setup command line parser with the server and settings arduinoCmd := cli.NewCommand(srv) diff --git a/mkdocs.yml b/mkdocs.yml index 59bd3a0128a..b4930eb9d7d 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -67,6 +67,7 @@ nav: - config init: commands/arduino-cli_config_init.md - config add: commands/arduino-cli_config_add.md - config delete: commands/arduino-cli_config_delete.md + - config get: commands/arduino-cli_config_get.md - config remove: commands/arduino-cli_config_remove.md - config set: commands/arduino-cli_config_set.md - core: commands/arduino-cli_core.md @@ -79,6 +80,7 @@ nav: - core upgrade: commands/arduino-cli_core_upgrade.md - daemon: commands/arduino-cli_daemon.md - debug: commands/arduino-cli_debug.md + - debug check: commands/arduino-cli_debug_check.md - lib: commands/arduino-cli_lib.md - lib deps: commands/arduino-cli_lib_deps.md - lib download: commands/arduino-cli_lib_download.md diff --git a/package-lock.json b/package-lock.json index ed3e3fd970f..b87ae733398 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,24 +5,72 @@ "packages": { "": { "devDependencies": { - "markdown-link-check": "3.10.3", + "markdown-link-check": "3.13.7", "markdownlint-cli": "^0.33.0", "prettier": "^3.3.1" } }, - "node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "node_modules/@oozcitak/dom": { + "version": "1.15.10", + "resolved": "https://registry.npmjs.org/@oozcitak/dom/-/dom-1.15.10.tgz", + "integrity": "sha512-0JT29/LaxVgRcGKvHmSrUTEvZ8BXvZhGl2LASRUgHqDTC1M5g1pLmVv56IYNyt3bG2CUjDkc67wnyZC14pbQrQ==", "dev": true, "dependencies": { - "color-convert": "^2.0.1" + "@oozcitak/infra": "1.0.8", + "@oozcitak/url": "1.0.4", + "@oozcitak/util": "8.3.8" }, "engines": { - "node": ">=8" + "node": ">=8.0" + } + }, + "node_modules/@oozcitak/infra": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/@oozcitak/infra/-/infra-1.0.8.tgz", + "integrity": "sha512-JRAUc9VR6IGHOL7OGF+yrvs0LO8SlqGnPAMqyzOuFZPSZSXI7Xf2O9+awQPSMXgIWGtgUf/dA6Hs6X6ySEaWTg==", + "dev": true, + "dependencies": { + "@oozcitak/util": "8.3.8" }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" + "engines": { + "node": ">=6.0" + } + }, + "node_modules/@oozcitak/url": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@oozcitak/url/-/url-1.0.4.tgz", + "integrity": "sha512-kDcD8y+y3FCSOvnBI6HJgl00viO/nGbQoCINmQ0h98OhnGITrWR3bOGfwYCthgcrV8AnTJz8MzslTQbC3SOAmw==", + "dev": true, + "dependencies": { + "@oozcitak/infra": "1.0.8", + "@oozcitak/util": "8.3.8" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/@oozcitak/util": { + "version": "8.3.8", + "resolved": "https://registry.npmjs.org/@oozcitak/util/-/util-8.3.8.tgz", + "integrity": "sha512-T8TbSnGsxo6TDBJx/Sgv/BlVJL3tshxZP7Aq5R1mSnM5OcHY2dQaxLMu2+E8u3gN0MLOzdjurqN4ZRVuzQycOQ==", + "dev": true, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/@tootallnate/quickjs-emscripten": { + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/@tootallnate/quickjs-emscripten/-/quickjs-emscripten-0.23.0.tgz", + "integrity": "sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA==", + "dev": true + }, + "node_modules/agent-base": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.3.tgz", + "integrity": "sha512-jRR5wdylq8CkOe6hei19GGZnxM6rBGwFl3Bg0YItGDimvjGtAvdZk4Pu6Cl4u4Igsws4a1fd1Vq3ezrhn4KmFw==", + "dev": true, + "engines": { + "node": ">= 14" } }, "node_modules/argparse": { @@ -31,10 +79,22 @@ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", "dev": true }, + "node_modules/ast-types": { + "version": "0.13.4", + "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.13.4.tgz", + "integrity": "sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w==", + "dev": true, + "dependencies": { + "tslib": "^2.0.1" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/async": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.4.tgz", - "integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==", + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz", + "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==", "dev": true }, "node_modules/balanced-match": { @@ -43,6 +103,15 @@ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", "dev": true }, + "node_modules/basic-ftp": { + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/basic-ftp/-/basic-ftp-5.0.5.tgz", + "integrity": "sha512-4Bcg1P8xhUuqcii/S0Z9wiHIrQVPMermM1any+MX5GeGD7faD3/msQUDGLol9wOcz4/jbg/WJnGqoJF6LiBdtg==", + "dev": true, + "engines": { + "node": ">=10.0.0" + } + }, "node_modules/boolbase": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", @@ -59,16 +128,12 @@ } }, "node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.4.1.tgz", + "integrity": "sha512-zgVZuo2WcZgfUEmsn6eO3kINexW8RAE4maiQ8QNs8CtpPCSyMiYsULR3HQYkm3w8FIA3SberyMJMSldGsW+U3w==", "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, "engines": { - "node": ">=10" + "node": "^12.17.0 || ^14.13 || >=16.0.0" }, "funding": { "url": "https://github.com/chalk/chalk?sponsor=1" @@ -112,31 +177,13 @@ "url": "https://github.com/sponsors/fb55" } }, - "node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, "node_modules/commander": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-6.2.1.tgz", - "integrity": "sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==", + "version": "13.1.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-13.1.0.tgz", + "integrity": "sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw==", "dev": true, "engines": { - "node": ">= 6" + "node": ">=18" } }, "node_modules/css-select": { @@ -167,13 +214,30 @@ "url": "https://github.com/sponsors/fb55" } }, + "node_modules/data-uri-to-buffer": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-6.0.2.tgz", + "integrity": "sha512-7hvf7/GW8e86rW0ptuwS3OcBGDjIi6SZva7hCyWC0yYry2cOPmLIjXAUHI6DK2HsnwJd9ifmt57i8eV2n4YNpw==", + "dev": true, + "engines": { + "node": ">= 14" + } + }, "node_modules/debug": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz", + "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==", "dev": true, "dependencies": { - "ms": "^2.1.1" + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } } }, "node_modules/deep-extend": { @@ -185,6 +249,20 @@ "node": ">=4.0.0" } }, + "node_modules/degenerator": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/degenerator/-/degenerator-5.0.1.tgz", + "integrity": "sha512-TllpMR/t0M5sqCXfj85i4XaAzxmS5tVA16dqvdkMwGmzI+dXLXnw3J+3Vdv7VKw+ThlTMboK6i9rnZ6Nntj5CQ==", + "dev": true, + "dependencies": { + "ast-types": "^0.13.4", + "escodegen": "^2.1.0", + "esprima": "^4.0.1" + }, + "engines": { + "node": ">= 14" + } + }, "node_modules/dom-serializer": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz", @@ -227,23 +305,23 @@ } }, "node_modules/domutils": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.0.1.tgz", - "integrity": "sha512-z08c1l761iKhDFtfXO04C7kTdPBLi41zwOZl00WS8b5eiaebNpY00HKbztwBq+e3vyqWNwWF3mP9YLUeqIrF+Q==", + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.2.2.tgz", + "integrity": "sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw==", "dev": true, "dependencies": { "dom-serializer": "^2.0.0", "domelementtype": "^2.3.0", - "domhandler": "^5.0.1" + "domhandler": "^5.0.3" }, "funding": { "url": "https://github.com/fb55/domutils?sponsor=1" } }, "node_modules/entities": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-4.4.0.tgz", - "integrity": "sha512-oYp7156SP8LkeGD0GF85ad1X9Ai79WtRsZ2gxJqtBuzH+98YUV6jkHEKlZkMbcrjJjIVJNIDP/3WL9wQkoPbWA==", + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", + "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", "dev": true, "engines": { "node": ">=0.12" @@ -252,6 +330,58 @@ "url": "https://github.com/fb55/entities?sponsor=1" } }, + "node_modules/escodegen": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.1.0.tgz", + "integrity": "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==", + "dev": true, + "dependencies": { + "esprima": "^4.0.1", + "estraverse": "^5.2.0", + "esutils": "^2.0.2" + }, + "bin": { + "escodegen": "bin/escodegen.js", + "esgenerate": "bin/esgenerate.js" + }, + "engines": { + "node": ">=6.0" + }, + "optionalDependencies": { + "source-map": "~0.6.1" + } + }, + "node_modules/esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true, + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", @@ -270,6 +400,20 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/get-uri": { + "version": "6.0.4", + "resolved": "https://registry.npmjs.org/get-uri/-/get-uri-6.0.4.tgz", + "integrity": "sha512-E1b1lFFLvLgak2whF2xDBcOy6NLVGZBqqjJjsIhvopKfWWEi64pLVTWWehV8KlLerZkfNTA95sTe2OdJKm1OzQ==", + "dev": true, + "dependencies": { + "basic-ftp": "^5.0.2", + "data-uri-to-buffer": "^6.0.2", + "debug": "^4.3.4" + }, + "engines": { + "node": ">= 14" + } + }, "node_modules/glob": { "version": "8.0.3", "resolved": "https://registry.npmjs.org/glob/-/glob-8.0.3.tgz", @@ -289,15 +433,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/html-link-extractor": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/html-link-extractor/-/html-link-extractor-1.0.5.tgz", @@ -308,9 +443,9 @@ } }, "node_modules/htmlparser2": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-8.0.1.tgz", - "integrity": "sha512-4lVbmc1diZC7GUJQtRQ5yBAeUCL1exyMwmForWkRLnwyzWBFxN633SALPMGYaWZvKe9j1pRZJpauvmxENSp/EA==", + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-8.0.2.tgz", + "integrity": "sha512-GYdjWKDkbRLkZ5geuHs5NY1puJ+PXwP7+fHPRz06Eirsb9ugf6d8kkXav6ADhcODhFFPMIXyxkxSuMf3D6NCFA==", "dev": true, "funding": [ "https://github.com/fb55/htmlparser2?sponsor=1", @@ -321,9 +456,35 @@ ], "dependencies": { "domelementtype": "^2.3.0", - "domhandler": "^5.0.2", + "domhandler": "^5.0.3", "domutils": "^3.0.1", - "entities": "^4.3.0" + "entities": "^4.4.0" + } + }, + "node_modules/http-proxy-agent": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz", + "integrity": "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==", + "dev": true, + "dependencies": { + "agent-base": "^7.1.0", + "debug": "^4.3.4" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/https-proxy-agent": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz", + "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==", + "dev": true, + "dependencies": { + "agent-base": "^7.1.2", + "debug": "4" + }, + "engines": { + "node": ">= 14" } }, "node_modules/iconv-lite": { @@ -372,6 +533,19 @@ "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, + "node_modules/ip-address": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-9.0.5.tgz", + "integrity": "sha512-zHtQzGojZXTwZTHQqra+ETKd4Sn3vgi7uBmlPoXVWZqYvuKmtI0l/VZTjqGmJY9x88GGOaZ9+G9ES8hC4T4X8g==", + "dev": true, + "dependencies": { + "jsbn": "1.1.0", + "sprintf-js": "^1.1.3" + }, + "engines": { + "node": ">= 12" + } + }, "node_modules/is-absolute-url": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/is-absolute-url/-/is-absolute-url-4.0.1.tgz", @@ -399,18 +573,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/isemail": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/isemail/-/isemail-3.2.0.tgz", - "integrity": "sha512-zKqkK+O+dGqevc93KNsbZ/TqTUFd46MwWjYOoMrjIMZ51eU7DtQG3Wmd9SQQT7i7RVnuTPEiYEWHU3MSbxC1Tg==", - "dev": true, - "dependencies": { - "punycode": "2.x.x" - }, - "engines": { - "node": ">=4.0.0" - } - }, "node_modules/js-yaml": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", @@ -423,6 +585,12 @@ "js-yaml": "bin/js-yaml.js" } }, + "node_modules/jsbn": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-1.1.0.tgz", + "integrity": "sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A==", + "dev": true + }, "node_modules/jsonc-parser": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", @@ -430,15 +598,16 @@ "dev": true }, "node_modules/link-check": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/link-check/-/link-check-5.2.0.tgz", - "integrity": "sha512-xRbhYLaGDw7eRDTibTAcl6fXtmUQ13vkezQiTqshHHdGueQeumgxxmQMIOmJYsh2p8BF08t8thhDQ++EAOOq3w==", + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/link-check/-/link-check-5.4.0.tgz", + "integrity": "sha512-0Pf4xBVUnwJdbDgpBlhHNmWDtbVjHTpIFs+JaBuIsC9PKRxjv4KMGCO2Gc8lkVnqMf9B/yaNY+9zmMlO5MyToQ==", "dev": true, "dependencies": { "is-relative-url": "^4.0.0", - "isemail": "^3.2.0", "ms": "^2.1.3", - "needle": "^3.1.0" + "needle": "^3.3.1", + "node-email-verifier": "^2.0.0", + "proxy-agent": "^6.4.0" } }, "node_modules/linkify-it": { @@ -450,11 +619,14 @@ "uc.micro": "^1.0.1" } }, - "node_modules/lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true + "node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true, + "engines": { + "node": ">=12" + } }, "node_modules/markdown-it": { "version": "13.0.1", @@ -485,32 +657,33 @@ } }, "node_modules/markdown-link-check": { - "version": "3.10.3", - "resolved": "https://registry.npmjs.org/markdown-link-check/-/markdown-link-check-3.10.3.tgz", - "integrity": "sha512-uGdJiZOy1CVWlRe7CyBSJ0Gz80Xm4vt++xjX9sNFjB7qcAxLinaMmzFQ5xOwERaXC9mK770BhnqnsyJT1gTr9w==", + "version": "3.13.7", + "resolved": "https://registry.npmjs.org/markdown-link-check/-/markdown-link-check-3.13.7.tgz", + "integrity": "sha512-Btn3HU8s2Uyh1ZfzmyZEkp64zp2+RAjwfQt1u4swq2Xa6w37OW0T2inQZrkSNVxDSa2jSN2YYhw/JkAp5jF1PQ==", "dev": true, "dependencies": { - "async": "^3.2.4", - "chalk": "^4.1.2", - "commander": "^6.2.0", - "link-check": "^5.2.0", - "lodash": "^4.17.21", - "markdown-link-extractor": "^3.1.0", - "needle": "^3.1.0", - "progress": "^2.0.3" + "async": "^3.2.6", + "chalk": "^5.3.0", + "commander": "^13.1.0", + "link-check": "^5.4.0", + "markdown-link-extractor": "^4.0.2", + "needle": "^3.3.1", + "progress": "^2.0.3", + "proxy-agent": "^6.4.0", + "xmlbuilder2": "^3.1.1" }, "bin": { "markdown-link-check": "markdown-link-check" } }, "node_modules/markdown-link-extractor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/markdown-link-extractor/-/markdown-link-extractor-3.1.0.tgz", - "integrity": "sha512-r0NEbP1dsM+IqB62Ru9TXLP/HDaTdBNIeylYXumuBi6Xv4ufjE1/g3TnslYL8VNqNcGAGbMptQFHrrdfoZ/Sug==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/markdown-link-extractor/-/markdown-link-extractor-4.0.2.tgz", + "integrity": "sha512-5cUOu4Vwx1wenJgxaudsJ8xwLUMN7747yDJX3V/L7+gi3e4MsCm7w5nbrDQQy8nEfnl4r5NV3pDXMAjhGXYXAw==", "dev": true, "dependencies": { "html-link-extractor": "^1.0.5", - "marked": "^4.1.0" + "marked": "^12.0.1" } }, "node_modules/markdownlint": { @@ -558,15 +731,15 @@ } }, "node_modules/marked": { - "version": "4.2.12", - "resolved": "https://registry.npmjs.org/marked/-/marked-4.2.12.tgz", - "integrity": "sha512-yr8hSKa3Fv4D3jdZmtMMPghgVt6TWbk86WQaWhDloQjRSQhMMYCAro7jP7VDJrjjdV8pxVxMssXS8B8Y5DZ5aw==", + "version": "12.0.2", + "resolved": "https://registry.npmjs.org/marked/-/marked-12.0.2.tgz", + "integrity": "sha512-qXUm7e/YKFoqFPYPa3Ukg9xlI5cyAtGmyEIzMfW//m6kXwCy2Ps9DYf5ioijFKQ8qyuscrHoY04iJGctu2Kg0Q==", "dev": true, "bin": { "marked": "bin/marked.js" }, "engines": { - "node": ">= 12" + "node": ">= 18" } }, "node_modules/mdurl": { @@ -603,12 +776,11 @@ "dev": true }, "node_modules/needle": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/needle/-/needle-3.2.0.tgz", - "integrity": "sha512-oUvzXnyLiVyVGoianLijF9O/RecZUf7TkBfimjGrLM4eQhXyeJwM6GeAWccwfQ9aa4gMCZKqhAOuLaMIcQxajQ==", + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/needle/-/needle-3.3.1.tgz", + "integrity": "sha512-6k0YULvhpw+RoLNiQCRKOl09Rv1dPLr8hHnVjHqdolKwDrdNyk+Hmrthi4lIGPPz3r39dLx0hsF5s40sZ3Us4Q==", "dev": true, "dependencies": { - "debug": "^3.2.6", "iconv-lite": "^0.6.3", "sax": "^1.2.4" }, @@ -619,6 +791,28 @@ "node": ">= 4.4.x" } }, + "node_modules/netmask": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/netmask/-/netmask-2.0.2.tgz", + "integrity": "sha512-dBpDMdxv9Irdq66304OLfEmQ9tbNRFnFTuZiLo+bD+r332bBmMJ8GBLXklIXXgxd3+v9+KUnZaUR5PJMa75Gsg==", + "dev": true, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/node-email-verifier": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/node-email-verifier/-/node-email-verifier-2.0.0.tgz", + "integrity": "sha512-AHcppjOH2KT0mxakrxFMOMjV/gOVMRpYvnJUkNfgF9oJ3INdVmqcMFJ5TlM8elpTPwt6A7bSp1IMnnWcxGom/Q==", + "dev": true, + "dependencies": { + "ms": "^2.1.3", + "validator": "^13.11.0" + }, + "engines": { + "node": ">=16.0.0" + } + }, "node_modules/nth-check": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz", @@ -640,31 +834,75 @@ "wrappy": "1" } }, + "node_modules/pac-proxy-agent": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-7.2.0.tgz", + "integrity": "sha512-TEB8ESquiLMc0lV8vcd5Ql/JAKAoyzHFXaStwjkzpOpC5Yv+pIzLfHvjTSdf3vpa2bMiUQrg9i6276yn8666aA==", + "dev": true, + "dependencies": { + "@tootallnate/quickjs-emscripten": "^0.23.0", + "agent-base": "^7.1.2", + "debug": "^4.3.4", + "get-uri": "^6.0.1", + "http-proxy-agent": "^7.0.0", + "https-proxy-agent": "^7.0.6", + "pac-resolver": "^7.0.1", + "socks-proxy-agent": "^8.0.5" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/pac-resolver": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/pac-resolver/-/pac-resolver-7.0.1.tgz", + "integrity": "sha512-5NPgf87AT2STgwa2ntRMr45jTKrYBGkVU36yT0ig/n/GMAa3oPqhZfIQ2kMEimReg0+t9kZViDVZ83qfVUlckg==", + "dev": true, + "dependencies": { + "degenerator": "^5.0.0", + "netmask": "^2.0.2" + }, + "engines": { + "node": ">= 14" + } + }, "node_modules/parse5": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.1.2.tgz", - "integrity": "sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==", + "version": "7.3.0", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.3.0.tgz", + "integrity": "sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw==", "dev": true, "dependencies": { - "entities": "^4.4.0" + "entities": "^6.0.0" }, "funding": { "url": "https://github.com/inikulin/parse5?sponsor=1" } }, "node_modules/parse5-htmlparser2-tree-adapter": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-7.0.0.tgz", - "integrity": "sha512-B77tOZrqqfUfnVcOrUvfdLbz4pu4RopLD/4vmu3HUPswwTA8OH0EMW9BlWR2B0RCoiZRAHEUu7IxeP1Pd1UU+g==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-7.1.0.tgz", + "integrity": "sha512-ruw5xyKs6lrpo9x9rCZqZZnIUntICjQAd0Wsmp396Ul9lN/h+ifgVV1x1gZHi8euej6wTfpqX8j+BFQxF0NS/g==", "dev": true, "dependencies": { - "domhandler": "^5.0.2", + "domhandler": "^5.0.3", "parse5": "^7.0.0" }, "funding": { "url": "https://github.com/inikulin/parse5?sponsor=1" } }, + "node_modules/parse5/node_modules/entities": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-6.0.0.tgz", + "integrity": "sha512-aKstq2TDOndCn4diEyp9Uq/Flu2i1GlLkc6XIDQSDMuaFE3OPW5OphLCyQ5SpSJZTb4reN+kTcYru5yIfXoRPw==", + "dev": true, + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, "node_modules/prettier": { "version": "3.3.1", "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.1.tgz", @@ -689,15 +927,31 @@ "node": ">=0.4.0" } }, - "node_modules/punycode": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", - "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", + "node_modules/proxy-agent": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-6.5.0.tgz", + "integrity": "sha512-TmatMXdr2KlRiA2CyDu8GqR8EjahTG3aY3nXjdzFyoZbmB8hrBsTyMezhULIXKnC0jpfjlmiZ3+EaCzoInSu/A==", "dev": true, + "dependencies": { + "agent-base": "^7.1.2", + "debug": "^4.3.4", + "http-proxy-agent": "^7.0.1", + "https-proxy-agent": "^7.0.6", + "lru-cache": "^7.14.1", + "pac-proxy-agent": "^7.1.0", + "proxy-from-env": "^1.1.0", + "socks-proxy-agent": "^8.0.5" + }, "engines": { - "node": ">=6" + "node": ">= 14" } }, + "node_modules/proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", + "dev": true + }, "node_modules/run-con": { "version": "1.2.11", "resolved": "https://registry.npmjs.org/run-con/-/run-con-1.2.11.tgz", @@ -720,9 +974,63 @@ "dev": true }, "node_modules/sax": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", - "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.4.1.tgz", + "integrity": "sha512-+aWOz7yVScEGoKNd4PA10LZ8sk0A/z5+nXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg==", + "dev": true + }, + "node_modules/smart-buffer": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", + "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==", + "dev": true, + "engines": { + "node": ">= 6.0.0", + "npm": ">= 3.0.0" + } + }, + "node_modules/socks": { + "version": "2.8.4", + "resolved": "https://registry.npmjs.org/socks/-/socks-2.8.4.tgz", + "integrity": "sha512-D3YaD0aRxR3mEcqnidIs7ReYJFVzWdd6fXJYUM8ixcQcJRGTka/b3saV0KflYhyVJXKhb947GndU35SxYNResQ==", + "dev": true, + "dependencies": { + "ip-address": "^9.0.5", + "smart-buffer": "^4.2.0" + }, + "engines": { + "node": ">= 10.0.0", + "npm": ">= 3.0.0" + } + }, + "node_modules/socks-proxy-agent": { + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.5.tgz", + "integrity": "sha512-HehCEsotFqbPW9sJ8WVYB6UbmIMv7kUUORIF2Nncq4VQvBfNBLibW9YZR5dlYCSUhwcD628pRllm7n+E+YTzJw==", + "dev": true, + "dependencies": { + "agent-base": "^7.1.2", + "debug": "^4.3.4", + "socks": "^2.8.3" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/sprintf-js": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.3.tgz", + "integrity": "sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==", "dev": true }, "node_modules/strip-json-comments": { @@ -737,17 +1045,11 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } + "node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "dev": true }, "node_modules/uc.micro": { "version": "1.0.6", @@ -755,33 +1057,133 @@ "integrity": "sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==", "dev": true }, + "node_modules/validator": { + "version": "13.15.0", + "resolved": "https://registry.npmjs.org/validator/-/validator-13.15.0.tgz", + "integrity": "sha512-36B2ryl4+oL5QxZ3AzD0t5SsMNGvTtQHpjgFO5tbNxfXbMFkY822ktCDe1MnlqV3301QQI9SLHDNJokDI+Z9pA==", + "dev": true, + "engines": { + "node": ">= 0.10" + } + }, "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", "dev": true + }, + "node_modules/xmlbuilder2": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/xmlbuilder2/-/xmlbuilder2-3.1.1.tgz", + "integrity": "sha512-WCSfbfZnQDdLQLiMdGUQpMxxckeQ4oZNMNhLVkcekTu7xhD4tuUDyAPoY8CwXvBYE6LwBHd6QW2WZXlOWr1vCw==", + "dev": true, + "dependencies": { + "@oozcitak/dom": "1.15.10", + "@oozcitak/infra": "1.0.8", + "@oozcitak/util": "8.3.8", + "js-yaml": "3.14.1" + }, + "engines": { + "node": ">=12.0" + } + }, + "node_modules/xmlbuilder2/node_modules/argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dev": true, + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "node_modules/xmlbuilder2/node_modules/js-yaml": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "dev": true, + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/xmlbuilder2/node_modules/sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", + "dev": true } }, "dependencies": { - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "@oozcitak/dom": { + "version": "1.15.10", + "resolved": "https://registry.npmjs.org/@oozcitak/dom/-/dom-1.15.10.tgz", + "integrity": "sha512-0JT29/LaxVgRcGKvHmSrUTEvZ8BXvZhGl2LASRUgHqDTC1M5g1pLmVv56IYNyt3bG2CUjDkc67wnyZC14pbQrQ==", "dev": true, "requires": { - "color-convert": "^2.0.1" + "@oozcitak/infra": "1.0.8", + "@oozcitak/url": "1.0.4", + "@oozcitak/util": "8.3.8" } }, + "@oozcitak/infra": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/@oozcitak/infra/-/infra-1.0.8.tgz", + "integrity": "sha512-JRAUc9VR6IGHOL7OGF+yrvs0LO8SlqGnPAMqyzOuFZPSZSXI7Xf2O9+awQPSMXgIWGtgUf/dA6Hs6X6ySEaWTg==", + "dev": true, + "requires": { + "@oozcitak/util": "8.3.8" + } + }, + "@oozcitak/url": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@oozcitak/url/-/url-1.0.4.tgz", + "integrity": "sha512-kDcD8y+y3FCSOvnBI6HJgl00viO/nGbQoCINmQ0h98OhnGITrWR3bOGfwYCthgcrV8AnTJz8MzslTQbC3SOAmw==", + "dev": true, + "requires": { + "@oozcitak/infra": "1.0.8", + "@oozcitak/util": "8.3.8" + } + }, + "@oozcitak/util": { + "version": "8.3.8", + "resolved": "https://registry.npmjs.org/@oozcitak/util/-/util-8.3.8.tgz", + "integrity": "sha512-T8TbSnGsxo6TDBJx/Sgv/BlVJL3tshxZP7Aq5R1mSnM5OcHY2dQaxLMu2+E8u3gN0MLOzdjurqN4ZRVuzQycOQ==", + "dev": true + }, + "@tootallnate/quickjs-emscripten": { + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/@tootallnate/quickjs-emscripten/-/quickjs-emscripten-0.23.0.tgz", + "integrity": "sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA==", + "dev": true + }, + "agent-base": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.3.tgz", + "integrity": "sha512-jRR5wdylq8CkOe6hei19GGZnxM6rBGwFl3Bg0YItGDimvjGtAvdZk4Pu6Cl4u4Igsws4a1fd1Vq3ezrhn4KmFw==", + "dev": true + }, "argparse": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", "dev": true }, + "ast-types": { + "version": "0.13.4", + "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.13.4.tgz", + "integrity": "sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w==", + "dev": true, + "requires": { + "tslib": "^2.0.1" + } + }, "async": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.4.tgz", - "integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==", + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz", + "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==", "dev": true }, "balanced-match": { @@ -790,6 +1192,12 @@ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", "dev": true }, + "basic-ftp": { + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/basic-ftp/-/basic-ftp-5.0.5.tgz", + "integrity": "sha512-4Bcg1P8xhUuqcii/S0Z9wiHIrQVPMermM1any+MX5GeGD7faD3/msQUDGLol9wOcz4/jbg/WJnGqoJF6LiBdtg==", + "dev": true + }, "boolbase": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", @@ -806,14 +1214,10 @@ } }, "chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.4.1.tgz", + "integrity": "sha512-zgVZuo2WcZgfUEmsn6eO3kINexW8RAE4maiQ8QNs8CtpPCSyMiYsULR3HQYkm3w8FIA3SberyMJMSldGsW+U3w==", + "dev": true }, "cheerio": { "version": "1.0.0-rc.12", @@ -844,25 +1248,10 @@ "domutils": "^3.0.1" } }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, "commander": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-6.2.1.tgz", - "integrity": "sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==", + "version": "13.1.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-13.1.0.tgz", + "integrity": "sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw==", "dev": true }, "css-select": { @@ -884,13 +1273,19 @@ "integrity": "sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==", "dev": true }, + "data-uri-to-buffer": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-6.0.2.tgz", + "integrity": "sha512-7hvf7/GW8e86rW0ptuwS3OcBGDjIi6SZva7hCyWC0yYry2cOPmLIjXAUHI6DK2HsnwJd9ifmt57i8eV2n4YNpw==", + "dev": true + }, "debug": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz", + "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==", "dev": true, "requires": { - "ms": "^2.1.1" + "ms": "^2.1.3" } }, "deep-extend": { @@ -899,6 +1294,17 @@ "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", "dev": true }, + "degenerator": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/degenerator/-/degenerator-5.0.1.tgz", + "integrity": "sha512-TllpMR/t0M5sqCXfj85i4XaAzxmS5tVA16dqvdkMwGmzI+dXLXnw3J+3Vdv7VKw+ThlTMboK6i9rnZ6Nntj5CQ==", + "dev": true, + "requires": { + "ast-types": "^0.13.4", + "escodegen": "^2.1.0", + "esprima": "^4.0.1" + } + }, "dom-serializer": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz", @@ -926,20 +1332,50 @@ } }, "domutils": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.0.1.tgz", - "integrity": "sha512-z08c1l761iKhDFtfXO04C7kTdPBLi41zwOZl00WS8b5eiaebNpY00HKbztwBq+e3vyqWNwWF3mP9YLUeqIrF+Q==", + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.2.2.tgz", + "integrity": "sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw==", "dev": true, "requires": { "dom-serializer": "^2.0.0", "domelementtype": "^2.3.0", - "domhandler": "^5.0.1" + "domhandler": "^5.0.3" } }, "entities": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-4.4.0.tgz", - "integrity": "sha512-oYp7156SP8LkeGD0GF85ad1X9Ai79WtRsZ2gxJqtBuzH+98YUV6jkHEKlZkMbcrjJjIVJNIDP/3WL9wQkoPbWA==", + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", + "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", + "dev": true + }, + "escodegen": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.1.0.tgz", + "integrity": "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==", + "dev": true, + "requires": { + "esprima": "^4.0.1", + "estraverse": "^5.2.0", + "esutils": "^2.0.2", + "source-map": "~0.6.1" + } + }, + "esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true + }, + "estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true + }, + "esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", "dev": true }, "fs.realpath": { @@ -954,6 +1390,17 @@ "integrity": "sha512-dVKBjfWisLAicarI2Sf+JuBE/DghV4UzNAVe9yhEJuzeREd3JhOTE9cUaJTeSa77fsbQUK3pcOpJfM59+VKZaA==", "dev": true }, + "get-uri": { + "version": "6.0.4", + "resolved": "https://registry.npmjs.org/get-uri/-/get-uri-6.0.4.tgz", + "integrity": "sha512-E1b1lFFLvLgak2whF2xDBcOy6NLVGZBqqjJjsIhvopKfWWEi64pLVTWWehV8KlLerZkfNTA95sTe2OdJKm1OzQ==", + "dev": true, + "requires": { + "basic-ftp": "^5.0.2", + "data-uri-to-buffer": "^6.0.2", + "debug": "^4.3.4" + } + }, "glob": { "version": "8.0.3", "resolved": "https://registry.npmjs.org/glob/-/glob-8.0.3.tgz", @@ -967,12 +1414,6 @@ "once": "^1.3.0" } }, - "has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true - }, "html-link-extractor": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/html-link-extractor/-/html-link-extractor-1.0.5.tgz", @@ -983,15 +1424,35 @@ } }, "htmlparser2": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-8.0.1.tgz", - "integrity": "sha512-4lVbmc1diZC7GUJQtRQ5yBAeUCL1exyMwmForWkRLnwyzWBFxN633SALPMGYaWZvKe9j1pRZJpauvmxENSp/EA==", + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-8.0.2.tgz", + "integrity": "sha512-GYdjWKDkbRLkZ5geuHs5NY1puJ+PXwP7+fHPRz06Eirsb9ugf6d8kkXav6ADhcODhFFPMIXyxkxSuMf3D6NCFA==", "dev": true, "requires": { "domelementtype": "^2.3.0", - "domhandler": "^5.0.2", + "domhandler": "^5.0.3", "domutils": "^3.0.1", - "entities": "^4.3.0" + "entities": "^4.4.0" + } + }, + "http-proxy-agent": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz", + "integrity": "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==", + "dev": true, + "requires": { + "agent-base": "^7.1.0", + "debug": "^4.3.4" + } + }, + "https-proxy-agent": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz", + "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==", + "dev": true, + "requires": { + "agent-base": "^7.1.2", + "debug": "4" } }, "iconv-lite": { @@ -1031,6 +1492,16 @@ "integrity": "sha512-it4HyVAUTKBc6m8e1iXWvXSTdndF7HbdN713+kvLrymxTaU4AUBWrJ4vEooP+V7fexnVD3LKcBshjGGPefSMUQ==", "dev": true }, + "ip-address": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-9.0.5.tgz", + "integrity": "sha512-zHtQzGojZXTwZTHQqra+ETKd4Sn3vgi7uBmlPoXVWZqYvuKmtI0l/VZTjqGmJY9x88GGOaZ9+G9ES8hC4T4X8g==", + "dev": true, + "requires": { + "jsbn": "1.1.0", + "sprintf-js": "^1.1.3" + } + }, "is-absolute-url": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/is-absolute-url/-/is-absolute-url-4.0.1.tgz", @@ -1046,15 +1517,6 @@ "is-absolute-url": "^4.0.1" } }, - "isemail": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/isemail/-/isemail-3.2.0.tgz", - "integrity": "sha512-zKqkK+O+dGqevc93KNsbZ/TqTUFd46MwWjYOoMrjIMZ51eU7DtQG3Wmd9SQQT7i7RVnuTPEiYEWHU3MSbxC1Tg==", - "dev": true, - "requires": { - "punycode": "2.x.x" - } - }, "js-yaml": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", @@ -1064,6 +1526,12 @@ "argparse": "^2.0.1" } }, + "jsbn": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-1.1.0.tgz", + "integrity": "sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A==", + "dev": true + }, "jsonc-parser": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", @@ -1071,15 +1539,16 @@ "dev": true }, "link-check": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/link-check/-/link-check-5.2.0.tgz", - "integrity": "sha512-xRbhYLaGDw7eRDTibTAcl6fXtmUQ13vkezQiTqshHHdGueQeumgxxmQMIOmJYsh2p8BF08t8thhDQ++EAOOq3w==", + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/link-check/-/link-check-5.4.0.tgz", + "integrity": "sha512-0Pf4xBVUnwJdbDgpBlhHNmWDtbVjHTpIFs+JaBuIsC9PKRxjv4KMGCO2Gc8lkVnqMf9B/yaNY+9zmMlO5MyToQ==", "dev": true, "requires": { "is-relative-url": "^4.0.0", - "isemail": "^3.2.0", "ms": "^2.1.3", - "needle": "^3.1.0" + "needle": "^3.3.1", + "node-email-verifier": "^2.0.0", + "proxy-agent": "^6.4.0" } }, "linkify-it": { @@ -1091,10 +1560,10 @@ "uc.micro": "^1.0.1" } }, - "lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", "dev": true }, "markdown-it": { @@ -1119,29 +1588,30 @@ } }, "markdown-link-check": { - "version": "3.10.3", - "resolved": "https://registry.npmjs.org/markdown-link-check/-/markdown-link-check-3.10.3.tgz", - "integrity": "sha512-uGdJiZOy1CVWlRe7CyBSJ0Gz80Xm4vt++xjX9sNFjB7qcAxLinaMmzFQ5xOwERaXC9mK770BhnqnsyJT1gTr9w==", + "version": "3.13.7", + "resolved": "https://registry.npmjs.org/markdown-link-check/-/markdown-link-check-3.13.7.tgz", + "integrity": "sha512-Btn3HU8s2Uyh1ZfzmyZEkp64zp2+RAjwfQt1u4swq2Xa6w37OW0T2inQZrkSNVxDSa2jSN2YYhw/JkAp5jF1PQ==", "dev": true, "requires": { - "async": "^3.2.4", - "chalk": "^4.1.2", - "commander": "^6.2.0", - "link-check": "^5.2.0", - "lodash": "^4.17.21", - "markdown-link-extractor": "^3.1.0", - "needle": "^3.1.0", - "progress": "^2.0.3" + "async": "^3.2.6", + "chalk": "^5.3.0", + "commander": "^13.1.0", + "link-check": "^5.4.0", + "markdown-link-extractor": "^4.0.2", + "needle": "^3.3.1", + "progress": "^2.0.3", + "proxy-agent": "^6.4.0", + "xmlbuilder2": "^3.1.1" } }, "markdown-link-extractor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/markdown-link-extractor/-/markdown-link-extractor-3.1.0.tgz", - "integrity": "sha512-r0NEbP1dsM+IqB62Ru9TXLP/HDaTdBNIeylYXumuBi6Xv4ufjE1/g3TnslYL8VNqNcGAGbMptQFHrrdfoZ/Sug==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/markdown-link-extractor/-/markdown-link-extractor-4.0.2.tgz", + "integrity": "sha512-5cUOu4Vwx1wenJgxaudsJ8xwLUMN7747yDJX3V/L7+gi3e4MsCm7w5nbrDQQy8nEfnl4r5NV3pDXMAjhGXYXAw==", "dev": true, "requires": { "html-link-extractor": "^1.0.5", - "marked": "^4.1.0" + "marked": "^12.0.1" } }, "markdownlint": { @@ -1179,9 +1649,9 @@ } }, "marked": { - "version": "4.2.12", - "resolved": "https://registry.npmjs.org/marked/-/marked-4.2.12.tgz", - "integrity": "sha512-yr8hSKa3Fv4D3jdZmtMMPghgVt6TWbk86WQaWhDloQjRSQhMMYCAro7jP7VDJrjjdV8pxVxMssXS8B8Y5DZ5aw==", + "version": "12.0.2", + "resolved": "https://registry.npmjs.org/marked/-/marked-12.0.2.tgz", + "integrity": "sha512-qXUm7e/YKFoqFPYPa3Ukg9xlI5cyAtGmyEIzMfW//m6kXwCy2Ps9DYf5ioijFKQ8qyuscrHoY04iJGctu2Kg0Q==", "dev": true }, "mdurl": { @@ -1212,16 +1682,31 @@ "dev": true }, "needle": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/needle/-/needle-3.2.0.tgz", - "integrity": "sha512-oUvzXnyLiVyVGoianLijF9O/RecZUf7TkBfimjGrLM4eQhXyeJwM6GeAWccwfQ9aa4gMCZKqhAOuLaMIcQxajQ==", + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/needle/-/needle-3.3.1.tgz", + "integrity": "sha512-6k0YULvhpw+RoLNiQCRKOl09Rv1dPLr8hHnVjHqdolKwDrdNyk+Hmrthi4lIGPPz3r39dLx0hsF5s40sZ3Us4Q==", "dev": true, "requires": { - "debug": "^3.2.6", "iconv-lite": "^0.6.3", "sax": "^1.2.4" } }, + "netmask": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/netmask/-/netmask-2.0.2.tgz", + "integrity": "sha512-dBpDMdxv9Irdq66304OLfEmQ9tbNRFnFTuZiLo+bD+r332bBmMJ8GBLXklIXXgxd3+v9+KUnZaUR5PJMa75Gsg==", + "dev": true + }, + "node-email-verifier": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/node-email-verifier/-/node-email-verifier-2.0.0.tgz", + "integrity": "sha512-AHcppjOH2KT0mxakrxFMOMjV/gOVMRpYvnJUkNfgF9oJ3INdVmqcMFJ5TlM8elpTPwt6A7bSp1IMnnWcxGom/Q==", + "dev": true, + "requires": { + "ms": "^2.1.3", + "validator": "^13.11.0" + } + }, "nth-check": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz", @@ -1240,22 +1725,56 @@ "wrappy": "1" } }, + "pac-proxy-agent": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-7.2.0.tgz", + "integrity": "sha512-TEB8ESquiLMc0lV8vcd5Ql/JAKAoyzHFXaStwjkzpOpC5Yv+pIzLfHvjTSdf3vpa2bMiUQrg9i6276yn8666aA==", + "dev": true, + "requires": { + "@tootallnate/quickjs-emscripten": "^0.23.0", + "agent-base": "^7.1.2", + "debug": "^4.3.4", + "get-uri": "^6.0.1", + "http-proxy-agent": "^7.0.0", + "https-proxy-agent": "^7.0.6", + "pac-resolver": "^7.0.1", + "socks-proxy-agent": "^8.0.5" + } + }, + "pac-resolver": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/pac-resolver/-/pac-resolver-7.0.1.tgz", + "integrity": "sha512-5NPgf87AT2STgwa2ntRMr45jTKrYBGkVU36yT0ig/n/GMAa3oPqhZfIQ2kMEimReg0+t9kZViDVZ83qfVUlckg==", + "dev": true, + "requires": { + "degenerator": "^5.0.0", + "netmask": "^2.0.2" + } + }, "parse5": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.1.2.tgz", - "integrity": "sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==", + "version": "7.3.0", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.3.0.tgz", + "integrity": "sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw==", "dev": true, "requires": { - "entities": "^4.4.0" + "entities": "^6.0.0" + }, + "dependencies": { + "entities": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-6.0.0.tgz", + "integrity": "sha512-aKstq2TDOndCn4diEyp9Uq/Flu2i1GlLkc6XIDQSDMuaFE3OPW5OphLCyQ5SpSJZTb4reN+kTcYru5yIfXoRPw==", + "dev": true + } } }, "parse5-htmlparser2-tree-adapter": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-7.0.0.tgz", - "integrity": "sha512-B77tOZrqqfUfnVcOrUvfdLbz4pu4RopLD/4vmu3HUPswwTA8OH0EMW9BlWR2B0RCoiZRAHEUu7IxeP1Pd1UU+g==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-7.1.0.tgz", + "integrity": "sha512-ruw5xyKs6lrpo9x9rCZqZZnIUntICjQAd0Wsmp396Ul9lN/h+ifgVV1x1gZHi8euej6wTfpqX8j+BFQxF0NS/g==", "dev": true, "requires": { - "domhandler": "^5.0.2", + "domhandler": "^5.0.3", "parse5": "^7.0.0" } }, @@ -1271,10 +1790,26 @@ "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", "dev": true }, - "punycode": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", - "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", + "proxy-agent": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-6.5.0.tgz", + "integrity": "sha512-TmatMXdr2KlRiA2CyDu8GqR8EjahTG3aY3nXjdzFyoZbmB8hrBsTyMezhULIXKnC0jpfjlmiZ3+EaCzoInSu/A==", + "dev": true, + "requires": { + "agent-base": "^7.1.2", + "debug": "^4.3.4", + "http-proxy-agent": "^7.0.1", + "https-proxy-agent": "^7.0.6", + "lru-cache": "^7.14.1", + "pac-proxy-agent": "^7.1.0", + "proxy-from-env": "^1.1.0", + "socks-proxy-agent": "^8.0.5" + } + }, + "proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", "dev": true }, "run-con": { @@ -1296,9 +1831,49 @@ "dev": true }, "sax": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", - "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.4.1.tgz", + "integrity": "sha512-+aWOz7yVScEGoKNd4PA10LZ8sk0A/z5+nXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg==", + "dev": true + }, + "smart-buffer": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", + "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==", + "dev": true + }, + "socks": { + "version": "2.8.4", + "resolved": "https://registry.npmjs.org/socks/-/socks-2.8.4.tgz", + "integrity": "sha512-D3YaD0aRxR3mEcqnidIs7ReYJFVzWdd6fXJYUM8ixcQcJRGTka/b3saV0KflYhyVJXKhb947GndU35SxYNResQ==", + "dev": true, + "requires": { + "ip-address": "^9.0.5", + "smart-buffer": "^4.2.0" + } + }, + "socks-proxy-agent": { + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.5.tgz", + "integrity": "sha512-HehCEsotFqbPW9sJ8WVYB6UbmIMv7kUUORIF2Nncq4VQvBfNBLibW9YZR5dlYCSUhwcD628pRllm7n+E+YTzJw==", + "dev": true, + "requires": { + "agent-base": "^7.1.2", + "debug": "^4.3.4", + "socks": "^2.8.3" + } + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "optional": true + }, + "sprintf-js": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.3.tgz", + "integrity": "sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==", "dev": true }, "strip-json-comments": { @@ -1307,14 +1882,11 @@ "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", "dev": true }, - "supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "requires": { - "has-flag": "^4.0.0" - } + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "dev": true }, "uc.micro": { "version": "1.0.6", @@ -1322,11 +1894,56 @@ "integrity": "sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==", "dev": true }, + "validator": { + "version": "13.15.0", + "resolved": "https://registry.npmjs.org/validator/-/validator-13.15.0.tgz", + "integrity": "sha512-36B2ryl4+oL5QxZ3AzD0t5SsMNGvTtQHpjgFO5tbNxfXbMFkY822ktCDe1MnlqV3301QQI9SLHDNJokDI+Z9pA==", + "dev": true + }, "wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", "dev": true + }, + "xmlbuilder2": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/xmlbuilder2/-/xmlbuilder2-3.1.1.tgz", + "integrity": "sha512-WCSfbfZnQDdLQLiMdGUQpMxxckeQ4oZNMNhLVkcekTu7xhD4tuUDyAPoY8CwXvBYE6LwBHd6QW2WZXlOWr1vCw==", + "dev": true, + "requires": { + "@oozcitak/dom": "1.15.10", + "@oozcitak/infra": "1.0.8", + "@oozcitak/util": "8.3.8", + "js-yaml": "3.14.1" + }, + "dependencies": { + "argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dev": true, + "requires": { + "sprintf-js": "~1.0.2" + } + }, + "js-yaml": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "dev": true, + "requires": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + } + }, + "sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", + "dev": true + } + } } } } diff --git a/package.json b/package.json index 2b5477852c6..a2fdad125ff 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "devDependencies": { - "markdown-link-check": "3.10.3", + "markdown-link-check": "3.13.7", "markdownlint-cli": "^0.33.0", "prettier": "^3.3.1" } diff --git a/internal/arduino/cores/fqbn.go b/pkg/fqbn/fqbn.go similarity index 77% rename from internal/arduino/cores/fqbn.go rename to pkg/fqbn/fqbn.go index 0db32f45cb0..4f7f66d06b2 100644 --- a/internal/arduino/cores/fqbn.go +++ b/pkg/fqbn/fqbn.go @@ -13,7 +13,7 @@ // Arduino software without disclosing the source code of your own applications. // To purchase a commercial license, send an email to license@arduino.cc. -package cores +package fqbn import ( "errors" @@ -24,35 +24,38 @@ import ( properties "github.com/arduino/go-properties-orderedmap" ) -// FQBN represents a Board with a specific configuration +// FQBN represents an Fully Qualified Board Name string type FQBN struct { - Package string - PlatformArch string + Vendor string + Architecture string BoardID string Configs *properties.Map } -// MustParseFQBN extract an FQBN object from the input string +// MustParse parse an FQBN string from the input string // or panics if the input is not a valid FQBN. -func MustParseFQBN(fqbnIn string) *FQBN { - res, err := ParseFQBN(fqbnIn) +func MustParse(fqbnIn string) *FQBN { + res, err := Parse(fqbnIn) if err != nil { panic(err) } return res } -// ParseFQBN extract an FQBN object from the input string -func ParseFQBN(fqbnIn string) (*FQBN, error) { - // Split fqbn +var fqbnValidationRegex = regexp.MustCompile(`^[a-zA-Z0-9_.-]*$`) +var valueValidationRegex = regexp.MustCompile(`^[a-zA-Z0-9=_.-]*$`) + +// Parse parses an FQBN string from the input string +func Parse(fqbnIn string) (*FQBN, error) { + // Split fqbn parts fqbnParts := strings.Split(fqbnIn, ":") if len(fqbnParts) < 3 || len(fqbnParts) > 4 { return nil, errors.New(i18n.Tr("not an FQBN: %s", fqbnIn)) } fqbn := &FQBN{ - Package: fqbnParts[0], - PlatformArch: fqbnParts[1], + Vendor: fqbnParts[0], + Architecture: fqbnParts[1], BoardID: fqbnParts[2], Configs: properties.NewMap(), } @@ -60,7 +63,6 @@ func ParseFQBN(fqbnIn string) (*FQBN, error) { return nil, errors.New(i18n.Tr("empty board identifier")) } // Check if the fqbn contains invalid characters - fqbnValidationRegex := regexp.MustCompile(`^[a-zA-Z0-9_.-]*$`) for i := 0; i < 3; i++ { if !fqbnValidationRegex.MatchString(fqbnParts[i]) { return nil, errors.New(i18n.Tr("fqbn's field %s contains an invalid character", fqbnParts[i])) @@ -81,7 +83,6 @@ func ParseFQBN(fqbnIn string) (*FQBN, error) { return nil, errors.New(i18n.Tr("config key %s contains an invalid character", k)) } // The config value can also contain the = symbol - valueValidationRegex := regexp.MustCompile(`^[a-zA-Z0-9=_.-]*$`) if !valueValidationRegex.MatchString(v) { return nil, errors.New(i18n.Tr("config value %s contains an invalid character", v)) } @@ -91,29 +92,17 @@ func ParseFQBN(fqbnIn string) (*FQBN, error) { return fqbn, nil } -func (fqbn *FQBN) String() string { - res := fqbn.StringWithoutConfig() - if fqbn.Configs.Size() > 0 { - sep := ":" - for _, k := range fqbn.Configs.Keys() { - res += sep + k + "=" + fqbn.Configs.Get(k) - sep = "," - } - } - return res -} - // Clone returns a copy of this FQBN. func (fqbn *FQBN) Clone() *FQBN { return &FQBN{ - Package: fqbn.Package, - PlatformArch: fqbn.PlatformArch, + Vendor: fqbn.Vendor, + Architecture: fqbn.Architecture, BoardID: fqbn.BoardID, Configs: fqbn.Configs.Clone(), } } -// Match check if the target FQBN corresponds to the receiver one. +// Match checks if the target FQBN equals to this one. // The core parts are checked for exact equality while board options are loosely // matched: the set of boards options of the target must be fully contained within // the one of the receiver and their values must be equal. @@ -122,10 +111,8 @@ func (fqbn *FQBN) Match(target *FQBN) bool { return false } - searchedProperties := target.Configs.Clone() - actualConfigs := fqbn.Configs.AsMap() - for neededKey, neededValue := range searchedProperties.AsMap() { - targetValue, hasKey := actualConfigs[neededKey] + for neededKey, neededValue := range target.Configs.AsMap() { + targetValue, hasKey := fqbn.Configs.GetOk(neededKey) if !hasKey || targetValue != neededValue { return false } @@ -135,5 +122,18 @@ func (fqbn *FQBN) Match(target *FQBN) bool { // StringWithoutConfig returns the FQBN without the Config part func (fqbn *FQBN) StringWithoutConfig() string { - return fqbn.Package + ":" + fqbn.PlatformArch + ":" + fqbn.BoardID + return fqbn.Vendor + ":" + fqbn.Architecture + ":" + fqbn.BoardID +} + +// String returns the FQBN as a string +func (fqbn *FQBN) String() string { + res := fqbn.StringWithoutConfig() + if fqbn.Configs.Size() > 0 { + sep := ":" + for _, k := range fqbn.Configs.Keys() { + res += sep + k + "=" + fqbn.Configs.Get(k) + sep = "," + } + } + return res } diff --git a/internal/arduino/cores/fqbn_test.go b/pkg/fqbn/fqbn_test.go similarity index 60% rename from internal/arduino/cores/fqbn_test.go rename to pkg/fqbn/fqbn_test.go index c7165af064a..9b20f9be578 100644 --- a/internal/arduino/cores/fqbn_test.go +++ b/pkg/fqbn/fqbn_test.go @@ -13,67 +13,68 @@ // Arduino software without disclosing the source code of your own applications. // To purchase a commercial license, send an email to license@arduino.cc. -package cores +package fqbn_test import ( "testing" + "github.com/arduino/arduino-cli/pkg/fqbn" "github.com/stretchr/testify/require" ) func TestFQBN(t *testing.T) { - a, err := ParseFQBN("arduino:avr:uno") + a, err := fqbn.Parse("arduino:avr:uno") require.Equal(t, "arduino:avr:uno", a.String()) require.NoError(t, err) - require.Equal(t, a.Package, "arduino") - require.Equal(t, a.PlatformArch, "avr") + require.Equal(t, a.Vendor, "arduino") + require.Equal(t, a.Architecture, "avr") require.Equal(t, a.BoardID, "uno") require.Zero(t, a.Configs.Size()) // Allow empty platforms or packages (aka. vendors + architectures) - b1, err := ParseFQBN("arduino::uno") + b1, err := fqbn.Parse("arduino::uno") require.Equal(t, "arduino::uno", b1.String()) require.NoError(t, err) - require.Equal(t, b1.Package, "arduino") - require.Equal(t, b1.PlatformArch, "") + require.Equal(t, b1.Vendor, "arduino") + require.Equal(t, b1.Architecture, "") require.Equal(t, b1.BoardID, "uno") require.Zero(t, b1.Configs.Size()) - b2, err := ParseFQBN(":avr:uno") + b2, err := fqbn.Parse(":avr:uno") require.Equal(t, ":avr:uno", b2.String()) require.NoError(t, err) - require.Equal(t, b2.Package, "") - require.Equal(t, b2.PlatformArch, "avr") + require.Equal(t, b2.Vendor, "") + require.Equal(t, b2.Architecture, "avr") require.Equal(t, b2.BoardID, "uno") require.Zero(t, b2.Configs.Size()) - b3, err := ParseFQBN("::uno") + b3, err := fqbn.Parse("::uno") require.Equal(t, "::uno", b3.String()) require.NoError(t, err) - require.Equal(t, b3.Package, "") - require.Equal(t, b3.PlatformArch, "") + require.Equal(t, b3.Vendor, "") + require.Equal(t, b3.Architecture, "") require.Equal(t, b3.BoardID, "uno") require.Zero(t, b3.Configs.Size()) // Do not allow missing board identifier - _, err = ParseFQBN("arduino:avr:") + _, err = fqbn.Parse("arduino:avr:") require.Error(t, err) // Do not allow partial fqbn - _, err = ParseFQBN("arduino") + _, err = fqbn.Parse("arduino") require.Error(t, err) - _, err = ParseFQBN("arduino:avr") + _, err = fqbn.Parse("arduino:avr") require.Error(t, err) // Keeps the config keys order - s1, err := ParseFQBN("arduino:avr:uno:d=x,b=x,a=x,e=x,c=x") + s1, err := fqbn.Parse("arduino:avr:uno:d=x,b=x,a=x,e=x,c=x") require.NoError(t, err) require.Equal(t, "arduino:avr:uno:d=x,b=x,a=x,e=x,c=x", s1.String()) require.Equal(t, "properties.Map{\n \"d\": \"x\",\n \"b\": \"x\",\n \"a\": \"x\",\n \"e\": \"x\",\n \"c\": \"x\",\n}", s1.Configs.Dump()) - s2, err := ParseFQBN("arduino:avr:uno:a=x,b=x,c=x,d=x,e=x") + s2, err := fqbn.Parse("arduino:avr:uno:a=x,b=x,c=x,d=x,e=x") require.NoError(t, err) require.Equal(t, "arduino:avr:uno:a=x,b=x,c=x,d=x,e=x", s2.String()) require.Equal(t, @@ -85,57 +86,78 @@ func TestFQBN(t *testing.T) { require.NotEqual(t, s1.String(), s2.String()) // Test configs - c, err := ParseFQBN("arduino:avr:uno:cpu=atmega") + c, err := fqbn.Parse("arduino:avr:uno:cpu=atmega") require.Equal(t, "arduino:avr:uno:cpu=atmega", c.String()) require.NoError(t, err) - require.Equal(t, c.Package, "arduino") - require.Equal(t, c.PlatformArch, "avr") + require.Equal(t, c.Vendor, "arduino") + require.Equal(t, c.Architecture, "avr") require.Equal(t, c.BoardID, "uno") require.Equal(t, "properties.Map{\n \"cpu\": \"atmega\",\n}", c.Configs.Dump()) - d, err := ParseFQBN("arduino:avr:uno:cpu=atmega,speed=1000") + d, err := fqbn.Parse("arduino:avr:uno:cpu=atmega,speed=1000") require.Equal(t, "arduino:avr:uno:cpu=atmega,speed=1000", d.String()) require.NoError(t, err) - require.Equal(t, d.Package, "arduino") - require.Equal(t, d.PlatformArch, "avr") + require.Equal(t, d.Vendor, "arduino") + require.Equal(t, d.Architecture, "avr") require.Equal(t, d.BoardID, "uno") require.Equal(t, "properties.Map{\n \"cpu\": \"atmega\",\n \"speed\": \"1000\",\n}", d.Configs.Dump()) // Do not allow empty keys or missing values in config - _, err = ParseFQBN("arduino:avr:uno:") + _, err = fqbn.Parse("arduino:avr:uno:") require.Error(t, err) - _, err = ParseFQBN("arduino:avr:uno,") + _, err = fqbn.Parse("arduino:avr:uno,") require.Error(t, err) - _, err = ParseFQBN("arduino:avr:uno:cpu") + _, err = fqbn.Parse("arduino:avr:uno:cpu") require.Error(t, err) - _, err = ParseFQBN("arduino:avr:uno:=atmega") + _, err = fqbn.Parse("arduino:avr:uno:=atmega") require.Error(t, err) - _, err = ParseFQBN("arduino:avr:uno:cpu=atmega,") + _, err = fqbn.Parse("arduino:avr:uno:cpu=atmega,") require.Error(t, err) - _, err = ParseFQBN("arduino:avr:uno:cpu=atmega,speed") + _, err = fqbn.Parse("arduino:avr:uno:cpu=atmega,speed") require.Error(t, err) - _, err = ParseFQBN("arduino:avr:uno:cpu=atmega,=1000") + _, err = fqbn.Parse("arduino:avr:uno:cpu=atmega,=1000") require.Error(t, err) // Allow keys with empty values - e, err := ParseFQBN("arduino:avr:uno:cpu=") + e, err := fqbn.Parse("arduino:avr:uno:cpu=") require.Equal(t, "arduino:avr:uno:cpu=", e.String()) require.NoError(t, err) - require.Equal(t, e.Package, "arduino") - require.Equal(t, e.PlatformArch, "avr") + require.Equal(t, e.Vendor, "arduino") + require.Equal(t, e.Architecture, "avr") require.Equal(t, e.BoardID, "uno") require.Equal(t, "properties.Map{\n \"cpu\": \"\",\n}", e.Configs.Dump()) // Allow "=" in config values - f, err := ParseFQBN("arduino:avr:uno:cpu=atmega,speed=1000,extra=core=arduino") + f, err := fqbn.Parse("arduino:avr:uno:cpu=atmega,speed=1000,extra=core=arduino") require.Equal(t, "arduino:avr:uno:cpu=atmega,speed=1000,extra=core=arduino", f.String()) require.NoError(t, err) - require.Equal(t, f.Package, "arduino") - require.Equal(t, f.PlatformArch, "avr") + require.Equal(t, f.Vendor, "arduino") + require.Equal(t, f.Architecture, "avr") require.Equal(t, f.BoardID, "uno") require.Equal(t, "properties.Map{\n \"cpu\": \"atmega\",\n \"speed\": \"1000\",\n \"extra\": \"core=arduino\",\n}", f.Configs.Dump()) + + // Check invalid characters in config keys + _, err = fqbn.Parse("arduino:avr:uno:cpu@=atmega") + require.Error(t, err) + _, err = fqbn.Parse("arduino:avr:uno:cpu@atmega") + require.Error(t, err) + _, err = fqbn.Parse("arduino:avr:uno:cpu=atmega,speed@=1000") + require.Error(t, err) + _, err = fqbn.Parse("arduino:avr:uno:cpu=atmega,speed@1000") + require.Error(t, err) + + // Check invalid characters in config values + _, err = fqbn.Parse("arduino:avr:uno:cpu=atmega@") + require.Error(t, err) + _, err = fqbn.Parse("arduino:avr:uno:cpu=atmega@extra") + require.Error(t, err) + _, err = fqbn.Parse("arduino:avr:uno:cpu=atmega,speed=1000@") + require.Error(t, err) + _, err = fqbn.Parse("arduino:avr:uno:cpu=atmega,speed=1000@extra") + require.Error(t, err) + } func TestMatch(t *testing.T) { @@ -148,9 +170,9 @@ func TestMatch(t *testing.T) { } for _, pair := range expectedMatches { - a, err := ParseFQBN(pair[0]) + a, err := fqbn.Parse(pair[0]) require.NoError(t, err) - b, err := ParseFQBN(pair[1]) + b, err := fqbn.Parse(pair[1]) require.NoError(t, err) require.True(t, b.Match(a)) } @@ -164,9 +186,9 @@ func TestMatch(t *testing.T) { } for _, pair := range expectedMismatches { - a, err := ParseFQBN(pair[0]) + a, err := fqbn.Parse(pair[0]) require.NoError(t, err) - b, err := ParseFQBN(pair[1]) + b, err := fqbn.Parse(pair[1]) require.NoError(t, err) require.False(t, b.Match(a)) } @@ -175,14 +197,32 @@ func TestMatch(t *testing.T) { func TestValidCharacters(t *testing.T) { // These FQBNs contain valid characters validFqbns := []string{"ardui_no:av_r:un_o", "arduin.o:av.r:un.o", "arduin-o:av-r:un-o", "arduin-o:av-r:un-o:a=b=c=d"} - for _, fqbn := range validFqbns { - _, err := ParseFQBN(fqbn) + for _, validFqbn := range validFqbns { + _, err := fqbn.Parse(validFqbn) require.NoError(t, err) } // These FQBNs contain invalid characters invalidFqbns := []string{"arduin-o:av-r:un=o", "arduin?o:av-r:uno", "arduino:av*r:uno"} - for _, fqbn := range invalidFqbns { - _, err := ParseFQBN(fqbn) + for _, validFqbn := range invalidFqbns { + _, err := fqbn.Parse(validFqbn) require.Error(t, err) } } + +func TestMustParse(t *testing.T) { + require.NotPanics(t, func() { fqbn.MustParse("arduino:avr:uno") }) + require.Panics(t, func() { fqbn.MustParse("ard=uino:avr=:u=no") }) +} + +func TestClone(t *testing.T) { + a, err := fqbn.Parse("arduino:avr:uno:opt1=1,opt2=2") + require.NoError(t, err) + b := a.Clone() + require.True(t, b.Match(a)) + require.True(t, a.Match(b)) + + c, err := fqbn.Parse("arduino:avr:uno:opt1=1,opt2=2,opt3=3") + require.NoError(t, err) + require.True(t, c.Match(a)) + require.False(t, a.Match(c)) +} diff --git a/poetry.lock b/poetry.lock index 42c246941e2..e9b3c99e1df 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,14 +1,15 @@ -# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.1.1 and should not be changed by hand. [[package]] name = "click" -version = "8.1.3" +version = "8.1.8" description = "Composable command line interface toolkit" optional = false python-versions = ">=3.7" +groups = ["dev"] files = [ - {file = "click-8.1.3-py3-none-any.whl", hash = "sha256:bb4d8133cb15a609f44e8213d9b391b0809795062913b383c62be0ee95b1db48"}, - {file = "click-8.1.3.tar.gz", hash = "sha256:7682dc8afb30297001674575ea00d1814d808d6a36af415a82bd481d37ba7b8e"}, + {file = "click-8.1.8-py3-none-any.whl", hash = "sha256:63c132bbbed01578a06712a2d1f497bb62d9c1c0d329b7903a866228027263b2"}, + {file = "click-8.1.8.tar.gz", hash = "sha256:ed53c9d8990d83c2a27deae68e4ee337473f6330c040a31d4225c9574d16096a"}, ] [package.dependencies] @@ -16,13 +17,15 @@ colorama = {version = "*", markers = "platform_system == \"Windows\""} [[package]] name = "colorama" -version = "0.4.4" +version = "0.4.6" description = "Cross-platform colored terminal text." optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" +python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7" +groups = ["dev"] +markers = "platform_system == \"Windows\"" files = [ - {file = "colorama-0.4.4-py2.py3-none-any.whl", hash = "sha256:9f47eda37229f68eee03b24b9748937c7dc3868f906e8ba69fbcbdd3bc5dc3e2"}, - {file = "colorama-0.4.4.tar.gz", hash = "sha256:5941b2b48a20143d2267e95b1c2a7603ce057ee39fd88e7329b0c292aa16869b"}, + {file = "colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6"}, + {file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"}, ] [[package]] @@ -31,6 +34,7 @@ version = "2.1.0" description = "Copy your docs directly to the gh-pages branch." optional = false python-versions = "*" +groups = ["dev"] files = [ {file = "ghp-import-2.1.0.tar.gz", hash = "sha256:9c535c4c61193c2df8871222567d7fd7e5014d835f97dc7b7439069e2413d343"}, {file = "ghp_import-2.1.0-py3-none-any.whl", hash = "sha256:8337dd7b50877f163d4c0289bc1f1c7f127550241988d568c1db512c4324a619"}, @@ -44,13 +48,14 @@ dev = ["flake8", "markdown", "twine", "wheel"] [[package]] name = "gitdb" -version = "4.0.9" +version = "4.0.12" description = "Git Object Database" optional = false -python-versions = ">=3.6" +python-versions = ">=3.7" +groups = ["dev"] files = [ - {file = "gitdb-4.0.9-py3-none-any.whl", hash = "sha256:8033ad4e853066ba6ca92050b9df2f89301b8fc8bf7e9324d412a63f8bf1a8fd"}, - {file = "gitdb-4.0.9.tar.gz", hash = "sha256:bac2fd45c0a1c9cf619e63a90d62bdc63892ef92387424b855792a6cabe789aa"}, + {file = "gitdb-4.0.12-py3-none-any.whl", hash = "sha256:67073e15955400952c6565cc3e707c554a4eea2e428946f7a4c162fab9bd9bcf"}, + {file = "gitdb-4.0.12.tar.gz", hash = "sha256:5ef71f855d191a3326fcfbc0d5da835f26b13fbcba60c32c21091c349ffdb571"}, ] [package.dependencies] @@ -58,49 +63,58 @@ smmap = ">=3.0.1,<6" [[package]] name = "gitpython" -version = "3.1.41" +version = "3.1.44" description = "GitPython is a Python library used to interact with Git repositories" optional = false python-versions = ">=3.7" +groups = ["dev"] files = [ - {file = "GitPython-3.1.41-py3-none-any.whl", hash = "sha256:c36b6634d069b3f719610175020a9aed919421c87552185b085e04fbbdb10b7c"}, - {file = "GitPython-3.1.41.tar.gz", hash = "sha256:ed66e624884f76df22c8e16066d567aaa5a37d5b5fa19db2c6df6f7156db9048"}, + {file = "GitPython-3.1.44-py3-none-any.whl", hash = "sha256:9e0e10cda9bed1ee64bc9a6de50e7e38a9c9943241cd7f585f6df3ed28011110"}, + {file = "gitpython-3.1.44.tar.gz", hash = "sha256:c87e30b26253bf5418b01b0660f818967f3c503193838337fe5e573331249269"}, ] [package.dependencies] gitdb = ">=4.0.1,<5" [package.extras] -test = ["black", "coverage[toml]", "ddt (>=1.1.1,!=1.4.3)", "mock", "mypy", "pre-commit", "pytest (>=7.3.1)", "pytest-cov", "pytest-instafail", "pytest-mock", "pytest-sugar", "sumtypes"] +doc = ["sphinx (>=7.1.2,<7.2)", "sphinx-autodoc-typehints", "sphinx_rtd_theme"] +test = ["coverage[toml]", "ddt (>=1.1.1,!=1.4.3)", "mock ; python_version < \"3.8\"", "mypy", "pre-commit", "pytest (>=7.3.1)", "pytest-cov", "pytest-instafail", "pytest-mock", "pytest-sugar", "typing-extensions ; python_version < \"3.11\""] [[package]] name = "importlib-metadata" -version = "4.11.4" +version = "8.5.0" description = "Read metadata from Python packages" optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" +groups = ["dev"] +markers = "python_version < \"3.10\"" files = [ - {file = "importlib_metadata-4.11.4-py3-none-any.whl", hash = "sha256:c58c8eb8a762858f49e18436ff552e83914778e50e9d2f1660535ffb364552ec"}, - {file = "importlib_metadata-4.11.4.tar.gz", hash = "sha256:5d26852efe48c0a32b0509ffbc583fda1a2266545a78d104a6f4aff3db17d700"}, + {file = "importlib_metadata-8.5.0-py3-none-any.whl", hash = "sha256:45e54197d28b7a7f1559e60b95e7c567032b602131fbd588f1497f47880aa68b"}, + {file = "importlib_metadata-8.5.0.tar.gz", hash = "sha256:71522656f0abace1d072b9e5481a48f07c138e00f079c38c8f883823f9c26bd7"}, ] [package.dependencies] -zipp = ">=0.5" +zipp = ">=3.20" [package.extras] -docs = ["jaraco.packaging (>=9)", "rst.linker (>=1.9)", "sphinx"] +check = ["pytest-checkdocs (>=2.4)", "pytest-ruff (>=0.2.1) ; sys_platform != \"cygwin\""] +cover = ["pytest-cov"] +doc = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-lint"] +enabler = ["pytest-enabler (>=2.2)"] perf = ["ipython"] -testing = ["flufl.flake8", "importlib-resources (>=1.3)", "packaging", "pyfakefs", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=1.0.1)", "pytest-flake8", "pytest-mypy (>=0.9.1)", "pytest-perf (>=0.9.2)"] +test = ["flufl.flake8", "importlib-resources (>=1.3) ; python_version < \"3.9\"", "jaraco.test (>=5.4)", "packaging", "pyfakefs", "pytest (>=6,!=8.1.*)", "pytest-perf (>=0.9.2)"] +type = ["pytest-mypy"] [[package]] name = "jinja2" -version = "3.1.4" +version = "3.1.6" description = "A very fast and expressive template engine." optional = false python-versions = ">=3.7" +groups = ["dev"] files = [ - {file = "jinja2-3.1.4-py3-none-any.whl", hash = "sha256:bc5dd2abb727a5319567b7a813e6a2e7318c39f4f487cfe6c89c6f9c7d25197d"}, - {file = "jinja2-3.1.4.tar.gz", hash = "sha256:4a3aee7acbbe7303aede8e9648d13b8bf88a429282aa6122a993f0ac800cb369"}, + {file = "jinja2-3.1.6-py3-none-any.whl", hash = "sha256:85ece4451f492d0c13c5dd7c13a64681a86afae63a5f347908daf103ce6d2f67"}, + {file = "jinja2-3.1.6.tar.gz", hash = "sha256:0137fb05990d35f1275a587e9aee6d56da821fc83491a0fb838183be43f66d6d"}, ] [package.dependencies] @@ -111,79 +125,104 @@ i18n = ["Babel (>=2.7)"] [[package]] name = "markdown" -version = "3.3.7" -description = "Python implementation of Markdown." +version = "3.7" +description = "Python implementation of John Gruber's Markdown." optional = false -python-versions = ">=3.6" +python-versions = ">=3.8" +groups = ["dev"] files = [ - {file = "Markdown-3.3.7-py3-none-any.whl", hash = "sha256:f5da449a6e1c989a4cea2631aa8ee67caa5a2ef855d551c88f9e309f4634c621"}, - {file = "Markdown-3.3.7.tar.gz", hash = "sha256:cbb516f16218e643d8e0a95b309f77eb118cb138d39a4f27851e6a63581db874"}, + {file = "Markdown-3.7-py3-none-any.whl", hash = "sha256:7eb6df5690b81a1d7942992c97fad2938e956e79df20cbc6186e9c3a77b1c803"}, + {file = "markdown-3.7.tar.gz", hash = "sha256:2ae2471477cfd02dbbf038d5d9bc226d40def84b4fe2986e49b59b6b472bbed2"}, ] [package.dependencies] importlib-metadata = {version = ">=4.4", markers = "python_version < \"3.10\""} [package.extras] +docs = ["mdx-gh-links (>=0.2)", "mkdocs (>=1.5)", "mkdocs-gen-files", "mkdocs-literate-nav", "mkdocs-nature (>=0.6)", "mkdocs-section-index", "mkdocstrings[python]"] testing = ["coverage", "pyyaml"] [[package]] name = "markupsafe" -version = "2.1.1" +version = "3.0.2" description = "Safely add untrusted strings to HTML/XML markup." optional = false -python-versions = ">=3.7" +python-versions = ">=3.9" +groups = ["dev"] files = [ - {file = "MarkupSafe-2.1.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:86b1f75c4e7c2ac2ccdaec2b9022845dbb81880ca318bb7a0a01fbf7813e3812"}, - {file = "MarkupSafe-2.1.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:f121a1420d4e173a5d96e47e9a0c0dcff965afdf1626d28de1460815f7c4ee7a"}, - {file = "MarkupSafe-2.1.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a49907dd8420c5685cfa064a1335b6754b74541bbb3706c259c02ed65b644b3e"}, - {file = "MarkupSafe-2.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:10c1bfff05d95783da83491be968e8fe789263689c02724e0c691933c52994f5"}, - {file = "MarkupSafe-2.1.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b7bd98b796e2b6553da7225aeb61f447f80a1ca64f41d83612e6139ca5213aa4"}, - {file = "MarkupSafe-2.1.1-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:b09bf97215625a311f669476f44b8b318b075847b49316d3e28c08e41a7a573f"}, - {file = "MarkupSafe-2.1.1-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:694deca8d702d5db21ec83983ce0bb4b26a578e71fbdbd4fdcd387daa90e4d5e"}, - {file = "MarkupSafe-2.1.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:efc1913fd2ca4f334418481c7e595c00aad186563bbc1ec76067848c7ca0a933"}, - {file = "MarkupSafe-2.1.1-cp310-cp310-win32.whl", hash = "sha256:4a33dea2b688b3190ee12bd7cfa29d39c9ed176bda40bfa11099a3ce5d3a7ac6"}, - {file = "MarkupSafe-2.1.1-cp310-cp310-win_amd64.whl", hash = "sha256:dda30ba7e87fbbb7eab1ec9f58678558fd9a6b8b853530e176eabd064da81417"}, - {file = "MarkupSafe-2.1.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:671cd1187ed5e62818414afe79ed29da836dde67166a9fac6d435873c44fdd02"}, - {file = "MarkupSafe-2.1.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3799351e2336dc91ea70b034983ee71cf2f9533cdff7c14c90ea126bfd95d65a"}, - {file = "MarkupSafe-2.1.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e72591e9ecd94d7feb70c1cbd7be7b3ebea3f548870aa91e2732960fa4d57a37"}, - {file = "MarkupSafe-2.1.1-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6fbf47b5d3728c6aea2abb0589b5d30459e369baa772e0f37a0320185e87c980"}, - {file = "MarkupSafe-2.1.1-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:d5ee4f386140395a2c818d149221149c54849dfcfcb9f1debfe07a8b8bd63f9a"}, - {file = "MarkupSafe-2.1.1-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:bcb3ed405ed3222f9904899563d6fc492ff75cce56cba05e32eff40e6acbeaa3"}, - {file = "MarkupSafe-2.1.1-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:e1c0b87e09fa55a220f058d1d49d3fb8df88fbfab58558f1198e08c1e1de842a"}, - {file = "MarkupSafe-2.1.1-cp37-cp37m-win32.whl", hash = "sha256:8dc1c72a69aa7e082593c4a203dcf94ddb74bb5c8a731e4e1eb68d031e8498ff"}, - {file = "MarkupSafe-2.1.1-cp37-cp37m-win_amd64.whl", hash = "sha256:97a68e6ada378df82bc9f16b800ab77cbf4b2fada0081794318520138c088e4a"}, - {file = "MarkupSafe-2.1.1-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:e8c843bbcda3a2f1e3c2ab25913c80a3c5376cd00c6e8c4a86a89a28c8dc5452"}, - {file = "MarkupSafe-2.1.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:0212a68688482dc52b2d45013df70d169f542b7394fc744c02a57374a4207003"}, - {file = "MarkupSafe-2.1.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8e576a51ad59e4bfaac456023a78f6b5e6e7651dcd383bcc3e18d06f9b55d6d1"}, - {file = "MarkupSafe-2.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4b9fe39a2ccc108a4accc2676e77da025ce383c108593d65cc909add5c3bd601"}, - {file = "MarkupSafe-2.1.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:96e37a3dc86e80bf81758c152fe66dbf60ed5eca3d26305edf01892257049925"}, - {file = "MarkupSafe-2.1.1-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:6d0072fea50feec76a4c418096652f2c3238eaa014b2f94aeb1d56a66b41403f"}, - {file = "MarkupSafe-2.1.1-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:089cf3dbf0cd6c100f02945abeb18484bd1ee57a079aefd52cffd17fba910b88"}, - {file = "MarkupSafe-2.1.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:6a074d34ee7a5ce3effbc526b7083ec9731bb3cbf921bbe1d3005d4d2bdb3a63"}, - {file = "MarkupSafe-2.1.1-cp38-cp38-win32.whl", hash = "sha256:421be9fbf0ffe9ffd7a378aafebbf6f4602d564d34be190fc19a193232fd12b1"}, - {file = "MarkupSafe-2.1.1-cp38-cp38-win_amd64.whl", hash = "sha256:fc7b548b17d238737688817ab67deebb30e8073c95749d55538ed473130ec0c7"}, - {file = "MarkupSafe-2.1.1-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:e04e26803c9c3851c931eac40c695602c6295b8d432cbe78609649ad9bd2da8a"}, - {file = "MarkupSafe-2.1.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:b87db4360013327109564f0e591bd2a3b318547bcef31b468a92ee504d07ae4f"}, - {file = "MarkupSafe-2.1.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:99a2a507ed3ac881b975a2976d59f38c19386d128e7a9a18b7df6fff1fd4c1d6"}, - {file = "MarkupSafe-2.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:56442863ed2b06d19c37f94d999035e15ee982988920e12a5b4ba29b62ad1f77"}, - {file = "MarkupSafe-2.1.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3ce11ee3f23f79dbd06fb3d63e2f6af7b12db1d46932fe7bd8afa259a5996603"}, - {file = "MarkupSafe-2.1.1-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:33b74d289bd2f5e527beadcaa3f401e0df0a89927c1559c8566c066fa4248ab7"}, - {file = "MarkupSafe-2.1.1-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:43093fb83d8343aac0b1baa75516da6092f58f41200907ef92448ecab8825135"}, - {file = "MarkupSafe-2.1.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:8e3dcf21f367459434c18e71b2a9532d96547aef8a871872a5bd69a715c15f96"}, - {file = "MarkupSafe-2.1.1-cp39-cp39-win32.whl", hash = "sha256:d4306c36ca495956b6d568d276ac11fdd9c30a36f1b6eb928070dc5360b22e1c"}, - {file = "MarkupSafe-2.1.1-cp39-cp39-win_amd64.whl", hash = "sha256:46d00d6cfecdde84d40e572d63735ef81423ad31184100411e6e3388d405e247"}, - {file = "MarkupSafe-2.1.1.tar.gz", hash = "sha256:7f91197cc9e48f989d12e4e6fbc46495c446636dfc81b9ccf50bb0ec74b91d4b"}, + {file = "MarkupSafe-3.0.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:7e94c425039cde14257288fd61dcfb01963e658efbc0ff54f5306b06054700f8"}, + {file = "MarkupSafe-3.0.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:9e2d922824181480953426608b81967de705c3cef4d1af983af849d7bd619158"}, + {file = "MarkupSafe-3.0.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:38a9ef736c01fccdd6600705b09dc574584b89bea478200c5fbf112a6b0d5579"}, + {file = "MarkupSafe-3.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bbcb445fa71794da8f178f0f6d66789a28d7319071af7a496d4d507ed566270d"}, + {file = "MarkupSafe-3.0.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:57cb5a3cf367aeb1d316576250f65edec5bb3be939e9247ae594b4bcbc317dfb"}, + {file = "MarkupSafe-3.0.2-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:3809ede931876f5b2ec92eef964286840ed3540dadf803dd570c3b7e13141a3b"}, + {file = "MarkupSafe-3.0.2-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:e07c3764494e3776c602c1e78e298937c3315ccc9043ead7e685b7f2b8d47b3c"}, + {file = "MarkupSafe-3.0.2-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:b424c77b206d63d500bcb69fa55ed8d0e6a3774056bdc4839fc9298a7edca171"}, + {file = "MarkupSafe-3.0.2-cp310-cp310-win32.whl", hash = "sha256:fcabf5ff6eea076f859677f5f0b6b5c1a51e70a376b0579e0eadef8db48c6b50"}, + {file = "MarkupSafe-3.0.2-cp310-cp310-win_amd64.whl", hash = "sha256:6af100e168aa82a50e186c82875a5893c5597a0c1ccdb0d8b40240b1f28b969a"}, + {file = "MarkupSafe-3.0.2-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:9025b4018f3a1314059769c7bf15441064b2207cb3f065e6ea1e7359cb46db9d"}, + {file = "MarkupSafe-3.0.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:93335ca3812df2f366e80509ae119189886b0f3c2b81325d39efdb84a1e2ae93"}, + {file = "MarkupSafe-3.0.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2cb8438c3cbb25e220c2ab33bb226559e7afb3baec11c4f218ffa7308603c832"}, + {file = "MarkupSafe-3.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a123e330ef0853c6e822384873bef7507557d8e4a082961e1defa947aa59ba84"}, + {file = "MarkupSafe-3.0.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1e084f686b92e5b83186b07e8a17fc09e38fff551f3602b249881fec658d3eca"}, + {file = "MarkupSafe-3.0.2-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:d8213e09c917a951de9d09ecee036d5c7d36cb6cb7dbaece4c71a60d79fb9798"}, + {file = "MarkupSafe-3.0.2-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:5b02fb34468b6aaa40dfc198d813a641e3a63b98c2b05a16b9f80b7ec314185e"}, + {file = "MarkupSafe-3.0.2-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:0bff5e0ae4ef2e1ae4fdf2dfd5b76c75e5c2fa4132d05fc1b0dabcd20c7e28c4"}, + {file = "MarkupSafe-3.0.2-cp311-cp311-win32.whl", hash = "sha256:6c89876f41da747c8d3677a2b540fb32ef5715f97b66eeb0c6b66f5e3ef6f59d"}, + {file = "MarkupSafe-3.0.2-cp311-cp311-win_amd64.whl", hash = "sha256:70a87b411535ccad5ef2f1df5136506a10775d267e197e4cf531ced10537bd6b"}, + {file = "MarkupSafe-3.0.2-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:9778bd8ab0a994ebf6f84c2b949e65736d5575320a17ae8984a77fab08db94cf"}, + {file = "MarkupSafe-3.0.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:846ade7b71e3536c4e56b386c2a47adf5741d2d8b94ec9dc3e92e5e1ee1e2225"}, + {file = "MarkupSafe-3.0.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1c99d261bd2d5f6b59325c92c73df481e05e57f19837bdca8413b9eac4bd8028"}, + {file = "MarkupSafe-3.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e17c96c14e19278594aa4841ec148115f9c7615a47382ecb6b82bd8fea3ab0c8"}, + {file = "MarkupSafe-3.0.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:88416bd1e65dcea10bc7569faacb2c20ce071dd1f87539ca2ab364bf6231393c"}, + {file = "MarkupSafe-3.0.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:2181e67807fc2fa785d0592dc2d6206c019b9502410671cc905d132a92866557"}, + {file = "MarkupSafe-3.0.2-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:52305740fe773d09cffb16f8ed0427942901f00adedac82ec8b67752f58a1b22"}, + {file = "MarkupSafe-3.0.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:ad10d3ded218f1039f11a75f8091880239651b52e9bb592ca27de44eed242a48"}, + {file = "MarkupSafe-3.0.2-cp312-cp312-win32.whl", hash = "sha256:0f4ca02bea9a23221c0182836703cbf8930c5e9454bacce27e767509fa286a30"}, + {file = "MarkupSafe-3.0.2-cp312-cp312-win_amd64.whl", hash = "sha256:8e06879fc22a25ca47312fbe7c8264eb0b662f6db27cb2d3bbbc74b1df4b9b87"}, + {file = "MarkupSafe-3.0.2-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:ba9527cdd4c926ed0760bc301f6728ef34d841f405abf9d4f959c478421e4efd"}, + {file = "MarkupSafe-3.0.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:f8b3d067f2e40fe93e1ccdd6b2e1d16c43140e76f02fb1319a05cf2b79d99430"}, + {file = "MarkupSafe-3.0.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:569511d3b58c8791ab4c2e1285575265991e6d8f8700c7be0e88f86cb0672094"}, + {file = "MarkupSafe-3.0.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:15ab75ef81add55874e7ab7055e9c397312385bd9ced94920f2802310c930396"}, + {file = "MarkupSafe-3.0.2-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f3818cb119498c0678015754eba762e0d61e5b52d34c8b13d770f0719f7b1d79"}, + {file = "MarkupSafe-3.0.2-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:cdb82a876c47801bb54a690c5ae105a46b392ac6099881cdfb9f6e95e4014c6a"}, + {file = "MarkupSafe-3.0.2-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:cabc348d87e913db6ab4aa100f01b08f481097838bdddf7c7a84b7575b7309ca"}, + {file = "MarkupSafe-3.0.2-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:444dcda765c8a838eaae23112db52f1efaf750daddb2d9ca300bcae1039adc5c"}, + {file = "MarkupSafe-3.0.2-cp313-cp313-win32.whl", hash = "sha256:bcf3e58998965654fdaff38e58584d8937aa3096ab5354d493c77d1fdd66d7a1"}, + {file = "MarkupSafe-3.0.2-cp313-cp313-win_amd64.whl", hash = "sha256:e6a2a455bd412959b57a172ce6328d2dd1f01cb2135efda2e4576e8a23fa3b0f"}, + {file = "MarkupSafe-3.0.2-cp313-cp313t-macosx_10_13_universal2.whl", hash = "sha256:b5a6b3ada725cea8a5e634536b1b01c30bcdcd7f9c6fff4151548d5bf6b3a36c"}, + {file = "MarkupSafe-3.0.2-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:a904af0a6162c73e3edcb969eeeb53a63ceeb5d8cf642fade7d39e7963a22ddb"}, + {file = "MarkupSafe-3.0.2-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4aa4e5faecf353ed117801a068ebab7b7e09ffb6e1d5e412dc852e0da018126c"}, + {file = "MarkupSafe-3.0.2-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c0ef13eaeee5b615fb07c9a7dadb38eac06a0608b41570d8ade51c56539e509d"}, + {file = "MarkupSafe-3.0.2-cp313-cp313t-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d16a81a06776313e817c951135cf7340a3e91e8c1ff2fac444cfd75fffa04afe"}, + {file = "MarkupSafe-3.0.2-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:6381026f158fdb7c72a168278597a5e3a5222e83ea18f543112b2662a9b699c5"}, + {file = "MarkupSafe-3.0.2-cp313-cp313t-musllinux_1_2_i686.whl", hash = "sha256:3d79d162e7be8f996986c064d1c7c817f6df3a77fe3d6859f6f9e7be4b8c213a"}, + {file = "MarkupSafe-3.0.2-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:131a3c7689c85f5ad20f9f6fb1b866f402c445b220c19fe4308c0b147ccd2ad9"}, + {file = "MarkupSafe-3.0.2-cp313-cp313t-win32.whl", hash = "sha256:ba8062ed2cf21c07a9e295d5b8a2a5ce678b913b45fdf68c32d95d6c1291e0b6"}, + {file = "MarkupSafe-3.0.2-cp313-cp313t-win_amd64.whl", hash = "sha256:e444a31f8db13eb18ada366ab3cf45fd4b31e4db1236a4448f68778c1d1a5a2f"}, + {file = "MarkupSafe-3.0.2-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:eaa0a10b7f72326f1372a713e73c3f739b524b3af41feb43e4921cb529f5929a"}, + {file = "MarkupSafe-3.0.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:48032821bbdf20f5799ff537c7ac3d1fba0ba032cfc06194faffa8cda8b560ff"}, + {file = "MarkupSafe-3.0.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1a9d3f5f0901fdec14d8d2f66ef7d035f2157240a433441719ac9a3fba440b13"}, + {file = "MarkupSafe-3.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:88b49a3b9ff31e19998750c38e030fc7bb937398b1f78cfa599aaef92d693144"}, + {file = "MarkupSafe-3.0.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:cfad01eed2c2e0c01fd0ecd2ef42c492f7f93902e39a42fc9ee1692961443a29"}, + {file = "MarkupSafe-3.0.2-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:1225beacc926f536dc82e45f8a4d68502949dc67eea90eab715dea3a21c1b5f0"}, + {file = "MarkupSafe-3.0.2-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:3169b1eefae027567d1ce6ee7cae382c57fe26e82775f460f0b2778beaad66c0"}, + {file = "MarkupSafe-3.0.2-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:eb7972a85c54febfb25b5c4b4f3af4dcc731994c7da0d8a0b4a6eb0640e1d178"}, + {file = "MarkupSafe-3.0.2-cp39-cp39-win32.whl", hash = "sha256:8c4e8c3ce11e1f92f6536ff07154f9d49677ebaaafc32db9db4620bc11ed480f"}, + {file = "MarkupSafe-3.0.2-cp39-cp39-win_amd64.whl", hash = "sha256:6e296a513ca3d94054c2c881cc913116e90fd030ad1c656b3869762b754f5f8a"}, + {file = "markupsafe-3.0.2.tar.gz", hash = "sha256:ee55d3edf80167e48ea11a923c7386f4669df67d7994554387f84e7d8b0a2bf0"}, ] [[package]] name = "mdx-truly-sane-lists" -version = "1.2" +version = "1.3" description = "Extension for Python-Markdown that makes lists truly sane. Custom indents for nested lists and fix for messy linebreaks." optional = false python-versions = "*" +groups = ["dev"] files = [ - {file = "mdx_truly_sane_lists-1.2-py3-none-any.whl", hash = "sha256:cc8bfa00f331403504e12377a9c94e6b40fc7db031e283316baeeeeac68f1da9"}, - {file = "mdx_truly_sane_lists-1.2.tar.gz", hash = "sha256:4600ade0fbd452db8233e25d644b62f59b2798e40595ea2e1923e29bc40c5b98"}, + {file = "mdx_truly_sane_lists-1.3-py3-none-any.whl", hash = "sha256:b9546a4c40ff8f1ab692f77cee4b6bfe8ddf9cccf23f0a24e71f3716fe290a37"}, + {file = "mdx_truly_sane_lists-1.3.tar.gz", hash = "sha256:b661022df7520a1e113af7c355c62216b384c867e4f59fb8ee7ad511e6e77f45"}, ] [package.dependencies] @@ -195,6 +234,7 @@ version = "1.3.4" description = "A deep merge function for 🐍." optional = false python-versions = ">=3.6" +groups = ["dev"] files = [ {file = "mergedeep-1.3.4-py3-none-any.whl", hash = "sha256:70775750742b25c0d8f36c55aed03d24c3384d17c951b3175d898bd778ef0307"}, {file = "mergedeep-1.3.4.tar.gz", hash = "sha256:0096d52e9dad9939c3d975a774666af186eda617e6ca84df4c94dec30004f2a8"}, @@ -206,6 +246,7 @@ version = "1.1.2" description = "Manage multiple versions of your MkDocs-powered documentation" optional = false python-versions = "*" +groups = ["dev"] files = [ {file = "mike-1.1.2-py3-none-any.whl", hash = "sha256:4c307c28769834d78df10f834f57f810f04ca27d248f80a75f49c6fa2d1527ca"}, {file = "mike-1.1.2.tar.gz", hash = "sha256:56c3f1794c2d0b5fdccfa9b9487beb013ca813de2e3ad0744724e9d34d40b77b"}, @@ -223,29 +264,53 @@ test = ["coverage", "flake8 (>=3.0)", "shtab"] [[package]] name = "mkdocs" -version = "1.3.0" +version = "1.6.1" description = "Project documentation with Markdown." optional = false -python-versions = ">=3.6" +python-versions = ">=3.8" +groups = ["dev"] files = [ - {file = "mkdocs-1.3.0-py3-none-any.whl", hash = "sha256:26bd2b03d739ac57a3e6eed0b7bcc86168703b719c27b99ad6ca91dc439aacde"}, - {file = "mkdocs-1.3.0.tar.gz", hash = "sha256:b504405b04da38795fec9b2e5e28f6aa3a73bb0960cb6d5d27ead28952bd35ea"}, + {file = "mkdocs-1.6.1-py3-none-any.whl", hash = "sha256:db91759624d1647f3f34aa0c3f327dd2601beae39a366d6e064c03468d35c20e"}, + {file = "mkdocs-1.6.1.tar.gz", hash = "sha256:7b432f01d928c084353ab39c57282f29f92136665bdd6abf7c1ec8d822ef86f2"}, ] [package.dependencies] -click = ">=3.3" +click = ">=7.0" +colorama = {version = ">=0.4", markers = "platform_system == \"Windows\""} ghp-import = ">=1.0" -importlib-metadata = ">=4.3" -Jinja2 = ">=2.10.2" -Markdown = ">=3.2.1" +importlib-metadata = {version = ">=4.4", markers = "python_version < \"3.10\""} +jinja2 = ">=2.11.1" +markdown = ">=3.3.6" +markupsafe = ">=2.0.1" mergedeep = ">=1.3.4" +mkdocs-get-deps = ">=0.2.0" packaging = ">=20.5" -PyYAML = ">=3.10" +pathspec = ">=0.11.1" +pyyaml = ">=5.1" pyyaml-env-tag = ">=0.1" watchdog = ">=2.0" [package.extras] i18n = ["babel (>=2.9.0)"] +min-versions = ["babel (==2.9.0)", "click (==7.0)", "colorama (==0.4) ; platform_system == \"Windows\"", "ghp-import (==1.0)", "importlib-metadata (==4.4) ; python_version < \"3.10\"", "jinja2 (==2.11.1)", "markdown (==3.3.6)", "markupsafe (==2.0.1)", "mergedeep (==1.3.4)", "mkdocs-get-deps (==0.2.0)", "packaging (==20.5)", "pathspec (==0.11.1)", "pyyaml (==5.1)", "pyyaml-env-tag (==0.1)", "watchdog (==2.0)"] + +[[package]] +name = "mkdocs-get-deps" +version = "0.2.0" +description = "MkDocs extension that lists all dependencies according to a mkdocs.yml file" +optional = false +python-versions = ">=3.8" +groups = ["dev"] +files = [ + {file = "mkdocs_get_deps-0.2.0-py3-none-any.whl", hash = "sha256:2bf11d0b133e77a0dd036abeeb06dec8775e46efa526dc70667d8863eefc6134"}, + {file = "mkdocs_get_deps-0.2.0.tar.gz", hash = "sha256:162b3d129c7fad9b19abfdcb9c1458a651628e4b1dea628ac68790fb3061c60c"}, +] + +[package.dependencies] +importlib-metadata = {version = ">=4.3", markers = "python_version < \"3.10\""} +mergedeep = ">=1.3.4" +platformdirs = ">=2.2.0" +pyyaml = ">=5.1" [[package]] name = "mkdocs-material" @@ -253,6 +318,7 @@ version = "7.3.6" description = "A Material Design theme for MkDocs" optional = false python-versions = "*" +groups = ["dev"] files = [ {file = "mkdocs-material-7.3.6.tar.gz", hash = "sha256:1b1dbd8ef2508b358d93af55a5c5db3f141c95667fad802301ec621c40c7c217"}, {file = "mkdocs_material-7.3.6-py2.py3-none-any.whl", hash = "sha256:1b6b3e9e09f922c2d7f1160fe15c8f43d4adc0d6fb81aa6ff0cbc7ef5b78ec75"}, @@ -268,81 +334,101 @@ pymdown-extensions = ">=9.0" [[package]] name = "mkdocs-material-extensions" -version = "1.0.3" -description = "Extension pack for Python Markdown." +version = "1.3.1" +description = "Extension pack for Python Markdown and MkDocs Material." optional = false -python-versions = ">=3.6" +python-versions = ">=3.8" +groups = ["dev"] files = [ - {file = "mkdocs-material-extensions-1.0.3.tar.gz", hash = "sha256:bfd24dfdef7b41c312ede42648f9eb83476ea168ec163b613f9abd12bbfddba2"}, - {file = "mkdocs_material_extensions-1.0.3-py3-none-any.whl", hash = "sha256:a82b70e533ce060b2a5d9eb2bc2e1be201cf61f901f93704b4acf6e3d5983a44"}, + {file = "mkdocs_material_extensions-1.3.1-py3-none-any.whl", hash = "sha256:adff8b62700b25cb77b53358dad940f3ef973dd6db797907c49e3c2ef3ab4e31"}, + {file = "mkdocs_material_extensions-1.3.1.tar.gz", hash = "sha256:10c9511cea88f568257f960358a467d12b970e1f7b2c0e5fb2bb48cab1928443"}, ] [[package]] name = "packaging" -version = "21.3" +version = "24.2" description = "Core utilities for Python packages" optional = false -python-versions = ">=3.6" +python-versions = ">=3.8" +groups = ["dev"] files = [ - {file = "packaging-21.3-py3-none-any.whl", hash = "sha256:ef103e05f519cdc783ae24ea4e2e0f508a9c99b2d4969652eed6a2e1ea5bd522"}, - {file = "packaging-21.3.tar.gz", hash = "sha256:dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb"}, + {file = "packaging-24.2-py3-none-any.whl", hash = "sha256:09abb1bccd265c01f4a3aa3f7a7db064b36514d2cba19a2f694fe6150451a759"}, + {file = "packaging-24.2.tar.gz", hash = "sha256:c228a6dc5e932d346bc5739379109d49e8853dd8223571c7c5b55260edc0b97f"}, ] -[package.dependencies] -pyparsing = ">=2.0.2,<3.0.5 || >3.0.5" +[[package]] +name = "pathspec" +version = "0.12.1" +description = "Utility library for gitignore style pattern matching of file paths." +optional = false +python-versions = ">=3.8" +groups = ["dev"] +files = [ + {file = "pathspec-0.12.1-py3-none-any.whl", hash = "sha256:a0d503e138a4c123b27490a4f7beda6a01c6f288df0e4a8b79c7eb0dc7b4cc08"}, + {file = "pathspec-0.12.1.tar.gz", hash = "sha256:a482d51503a1ab33b1c67a6c3813a26953dbdc71c31dacaef9a838c4e29f5712"}, +] + +[[package]] +name = "platformdirs" +version = "4.3.6" +description = "A small Python package for determining appropriate platform-specific dirs, e.g. a `user data dir`." +optional = false +python-versions = ">=3.8" +groups = ["dev"] +files = [ + {file = "platformdirs-4.3.6-py3-none-any.whl", hash = "sha256:73e575e1408ab8103900836b97580d5307456908a03e92031bab39e4554cc3fb"}, + {file = "platformdirs-4.3.6.tar.gz", hash = "sha256:357fb2acbc885b0419afd3ce3ed34564c13c9b95c89360cd9563f73aa5e2b907"}, +] + +[package.extras] +docs = ["furo (>=2024.8.6)", "proselint (>=0.14)", "sphinx (>=8.0.2)", "sphinx-autodoc-typehints (>=2.4)"] +test = ["appdirs (==1.4.4)", "covdefaults (>=2.3)", "pytest (>=8.3.2)", "pytest-cov (>=5)", "pytest-mock (>=3.14)"] +type = ["mypy (>=1.11.2)"] [[package]] name = "pygments" -version = "2.15.0" +version = "2.19.1" description = "Pygments is a syntax highlighting package written in Python." optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" +groups = ["dev"] files = [ - {file = "Pygments-2.15.0-py3-none-any.whl", hash = "sha256:77a3299119af881904cd5ecd1ac6a66214b6e9bed1f2db16993b54adede64094"}, - {file = "Pygments-2.15.0.tar.gz", hash = "sha256:f7e36cffc4c517fbc252861b9a6e4644ca0e5abadf9a113c72d1358ad09b9500"}, + {file = "pygments-2.19.1-py3-none-any.whl", hash = "sha256:9ea1544ad55cecf4b8242fab6dd35a93bbce657034b0611ee383099054ab6d8c"}, + {file = "pygments-2.19.1.tar.gz", hash = "sha256:61c16d2a8576dc0649d9f39e089b5f02bcd27fba10d8fb4dcc28173f7a45151f"}, ] [package.extras] -plugins = ["importlib-metadata"] +windows-terminal = ["colorama (>=0.4.6)"] [[package]] name = "pymdown-extensions" -version = "10.0" +version = "10.14" description = "Extension pack for Python Markdown." optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" +groups = ["dev"] files = [ - {file = "pymdown_extensions-10.0-py3-none-any.whl", hash = "sha256:e6cbe8ace7d8feda30bc4fd6a21a073893a9a0e90c373e92d69ce5b653051f55"}, - {file = "pymdown_extensions-10.0.tar.gz", hash = "sha256:9a77955e63528c2ee98073a1fb3207c1a45607bc74a34ef21acd098f46c3aa8a"}, + {file = "pymdown_extensions-10.14-py3-none-any.whl", hash = "sha256:202481f716cc8250e4be8fce997781ebf7917701b59652458ee47f2401f818b5"}, + {file = "pymdown_extensions-10.14.tar.gz", hash = "sha256:741bd7c4ff961ba40b7528d32284c53bc436b8b1645e8e37c3e57770b8700a34"}, ] [package.dependencies] -markdown = ">=3.2" +markdown = ">=3.6" pyyaml = "*" -[[package]] -name = "pyparsing" -version = "3.0.9" -description = "pyparsing module - Classes and methods to define and execute parsing grammars" -optional = false -python-versions = ">=3.6.8" -files = [ - {file = "pyparsing-3.0.9-py3-none-any.whl", hash = "sha256:5026bae9a10eeaefb61dab2f09052b9f4307d44aee4eda64b309723d8d206bbc"}, - {file = "pyparsing-3.0.9.tar.gz", hash = "sha256:2b020ecf7d21b687f219b71ecad3631f644a47f01403fa1d1036b0c6416d70fb"}, -] - [package.extras] -diagrams = ["jinja2", "railroad-diagrams"] +extra = ["pygments (>=2.19.1)"] [[package]] name = "python-dateutil" -version = "2.8.2" +version = "2.9.0.post0" description = "Extensions to the standard Python datetime module" optional = false python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7" +groups = ["dev"] files = [ - {file = "python-dateutil-2.8.2.tar.gz", hash = "sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86"}, - {file = "python_dateutil-2.8.2-py2.py3-none-any.whl", hash = "sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9"}, + {file = "python-dateutil-2.9.0.post0.tar.gz", hash = "sha256:37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3"}, + {file = "python_dateutil-2.9.0.post0-py2.py3-none-any.whl", hash = "sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427"}, ] [package.dependencies] @@ -350,51 +436,65 @@ six = ">=1.5" [[package]] name = "pyyaml" -version = "6.0" +version = "6.0.2" description = "YAML parser and emitter for Python" optional = false -python-versions = ">=3.6" +python-versions = ">=3.8" +groups = ["dev"] files = [ - {file = "PyYAML-6.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:d4db7c7aef085872ef65a8fd7d6d09a14ae91f691dec3e87ee5ee0539d516f53"}, - {file = "PyYAML-6.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:9df7ed3b3d2e0ecfe09e14741b857df43adb5a3ddadc919a2d94fbdf78fea53c"}, - {file = "PyYAML-6.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:77f396e6ef4c73fdc33a9157446466f1cff553d979bd00ecb64385760c6babdc"}, - {file = "PyYAML-6.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a80a78046a72361de73f8f395f1f1e49f956c6be882eed58505a15f3e430962b"}, - {file = "PyYAML-6.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:f84fbc98b019fef2ee9a1cb3ce93e3187a6df0b2538a651bfb890254ba9f90b5"}, - {file = "PyYAML-6.0-cp310-cp310-win32.whl", hash = "sha256:2cd5df3de48857ed0544b34e2d40e9fac445930039f3cfe4bcc592a1f836d513"}, - {file = "PyYAML-6.0-cp310-cp310-win_amd64.whl", hash = "sha256:daf496c58a8c52083df09b80c860005194014c3698698d1a57cbcfa182142a3a"}, - {file = "PyYAML-6.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:d4b0ba9512519522b118090257be113b9468d804b19d63c71dbcf4a48fa32358"}, - {file = "PyYAML-6.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:81957921f441d50af23654aa6c5e5eaf9b06aba7f0a19c18a538dc7ef291c5a1"}, - {file = "PyYAML-6.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:afa17f5bc4d1b10afd4466fd3a44dc0e245382deca5b3c353d8b757f9e3ecb8d"}, - {file = "PyYAML-6.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:dbad0e9d368bb989f4515da330b88a057617d16b6a8245084f1b05400f24609f"}, - {file = "PyYAML-6.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:432557aa2c09802be39460360ddffd48156e30721f5e8d917f01d31694216782"}, - {file = "PyYAML-6.0-cp311-cp311-win32.whl", hash = "sha256:bfaef573a63ba8923503d27530362590ff4f576c626d86a9fed95822a8255fd7"}, - {file = "PyYAML-6.0-cp311-cp311-win_amd64.whl", hash = "sha256:01b45c0191e6d66c470b6cf1b9531a771a83c1c4208272ead47a3ae4f2f603bf"}, - {file = "PyYAML-6.0-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:897b80890765f037df3403d22bab41627ca8811ae55e9a722fd0392850ec4d86"}, - {file = "PyYAML-6.0-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:50602afada6d6cbfad699b0c7bb50d5ccffa7e46a3d738092afddc1f9758427f"}, - {file = "PyYAML-6.0-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:48c346915c114f5fdb3ead70312bd042a953a8ce5c7106d5bfb1a5254e47da92"}, - {file = "PyYAML-6.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:98c4d36e99714e55cfbaaee6dd5badbc9a1ec339ebfc3b1f52e293aee6bb71a4"}, - {file = "PyYAML-6.0-cp36-cp36m-win32.whl", hash = "sha256:0283c35a6a9fbf047493e3a0ce8d79ef5030852c51e9d911a27badfde0605293"}, - {file = "PyYAML-6.0-cp36-cp36m-win_amd64.whl", hash = "sha256:07751360502caac1c067a8132d150cf3d61339af5691fe9e87803040dbc5db57"}, - {file = "PyYAML-6.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:819b3830a1543db06c4d4b865e70ded25be52a2e0631ccd2f6a47a2822f2fd7c"}, - {file = "PyYAML-6.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:473f9edb243cb1935ab5a084eb238d842fb8f404ed2193a915d1784b5a6b5fc0"}, - {file = "PyYAML-6.0-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:0ce82d761c532fe4ec3f87fc45688bdd3a4c1dc5e0b4a19814b9009a29baefd4"}, - {file = "PyYAML-6.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:231710d57adfd809ef5d34183b8ed1eeae3f76459c18fb4a0b373ad56bedcdd9"}, - {file = "PyYAML-6.0-cp37-cp37m-win32.whl", hash = "sha256:c5687b8d43cf58545ade1fe3e055f70eac7a5a1a0bf42824308d868289a95737"}, - {file = "PyYAML-6.0-cp37-cp37m-win_amd64.whl", hash = "sha256:d15a181d1ecd0d4270dc32edb46f7cb7733c7c508857278d3d378d14d606db2d"}, - {file = "PyYAML-6.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:0b4624f379dab24d3725ffde76559cff63d9ec94e1736b556dacdfebe5ab6d4b"}, - {file = "PyYAML-6.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:213c60cd50106436cc818accf5baa1aba61c0189ff610f64f4a3e8c6726218ba"}, - {file = "PyYAML-6.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9fa600030013c4de8165339db93d182b9431076eb98eb40ee068700c9c813e34"}, - {file = "PyYAML-6.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:277a0ef2981ca40581a47093e9e2d13b3f1fbbeffae064c1d21bfceba2030287"}, - {file = "PyYAML-6.0-cp38-cp38-win32.whl", hash = "sha256:d4eccecf9adf6fbcc6861a38015c2a64f38b9d94838ac1810a9023a0609e1b78"}, - {file = "PyYAML-6.0-cp38-cp38-win_amd64.whl", hash = "sha256:1e4747bc279b4f613a09eb64bba2ba602d8a6664c6ce6396a4d0cd413a50ce07"}, - {file = "PyYAML-6.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:055d937d65826939cb044fc8c9b08889e8c743fdc6a32b33e2390f66013e449b"}, - {file = "PyYAML-6.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:e61ceaab6f49fb8bdfaa0f92c4b57bcfbea54c09277b1b4f7ac376bfb7a7c174"}, - {file = "PyYAML-6.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d67d839ede4ed1b28a4e8909735fc992a923cdb84e618544973d7dfc71540803"}, - {file = "PyYAML-6.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:cba8c411ef271aa037d7357a2bc8f9ee8b58b9965831d9e51baf703280dc73d3"}, - {file = "PyYAML-6.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:40527857252b61eacd1d9af500c3337ba8deb8fc298940291486c465c8b46ec0"}, - {file = "PyYAML-6.0-cp39-cp39-win32.whl", hash = "sha256:b5b9eccad747aabaaffbc6064800670f0c297e52c12754eb1d976c57e4f74dcb"}, - {file = "PyYAML-6.0-cp39-cp39-win_amd64.whl", hash = "sha256:b3d267842bf12586ba6c734f89d1f5b871df0273157918b0ccefa29deb05c21c"}, - {file = "PyYAML-6.0.tar.gz", hash = "sha256:68fb519c14306fec9720a2a5b45bc9f0c8d1b9c72adf45c37baedfcd949c35a2"}, + {file = "PyYAML-6.0.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:0a9a2848a5b7feac301353437eb7d5957887edbf81d56e903999a75a3d743086"}, + {file = "PyYAML-6.0.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:29717114e51c84ddfba879543fb232a6ed60086602313ca38cce623c1d62cfbf"}, + {file = "PyYAML-6.0.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8824b5a04a04a047e72eea5cec3bc266db09e35de6bdfe34c9436ac5ee27d237"}, + {file = "PyYAML-6.0.2-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:7c36280e6fb8385e520936c3cb3b8042851904eba0e58d277dca80a5cfed590b"}, + {file = "PyYAML-6.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ec031d5d2feb36d1d1a24380e4db6d43695f3748343d99434e6f5f9156aaa2ed"}, + {file = "PyYAML-6.0.2-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:936d68689298c36b53b29f23c6dbb74de12b4ac12ca6cfe0e047bedceea56180"}, + {file = "PyYAML-6.0.2-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:23502f431948090f597378482b4812b0caae32c22213aecf3b55325e049a6c68"}, + {file = "PyYAML-6.0.2-cp310-cp310-win32.whl", hash = "sha256:2e99c6826ffa974fe6e27cdb5ed0021786b03fc98e5ee3c5bfe1fd5015f42b99"}, + {file = "PyYAML-6.0.2-cp310-cp310-win_amd64.whl", hash = "sha256:a4d3091415f010369ae4ed1fc6b79def9416358877534caf6a0fdd2146c87a3e"}, + {file = "PyYAML-6.0.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:cc1c1159b3d456576af7a3e4d1ba7e6924cb39de8f67111c735f6fc832082774"}, + {file = "PyYAML-6.0.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:1e2120ef853f59c7419231f3bf4e7021f1b936f6ebd222406c3b60212205d2ee"}, + {file = "PyYAML-6.0.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5d225db5a45f21e78dd9358e58a98702a0302f2659a3c6cd320564b75b86f47c"}, + {file = "PyYAML-6.0.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:5ac9328ec4831237bec75defaf839f7d4564be1e6b25ac710bd1a96321cc8317"}, + {file = "PyYAML-6.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3ad2a3decf9aaba3d29c8f537ac4b243e36bef957511b4766cb0057d32b0be85"}, + {file = "PyYAML-6.0.2-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:ff3824dc5261f50c9b0dfb3be22b4567a6f938ccce4587b38952d85fd9e9afe4"}, + {file = "PyYAML-6.0.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:797b4f722ffa07cc8d62053e4cff1486fa6dc094105d13fea7b1de7d8bf71c9e"}, + {file = "PyYAML-6.0.2-cp311-cp311-win32.whl", hash = "sha256:11d8f3dd2b9c1207dcaf2ee0bbbfd5991f571186ec9cc78427ba5bd32afae4b5"}, + {file = "PyYAML-6.0.2-cp311-cp311-win_amd64.whl", hash = "sha256:e10ce637b18caea04431ce14fabcf5c64a1c61ec9c56b071a4b7ca131ca52d44"}, + {file = "PyYAML-6.0.2-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:c70c95198c015b85feafc136515252a261a84561b7b1d51e3384e0655ddf25ab"}, + {file = "PyYAML-6.0.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ce826d6ef20b1bc864f0a68340c8b3287705cae2f8b4b1d932177dcc76721725"}, + {file = "PyYAML-6.0.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1f71ea527786de97d1a0cc0eacd1defc0985dcf6b3f17bb77dcfc8c34bec4dc5"}, + {file = "PyYAML-6.0.2-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9b22676e8097e9e22e36d6b7bda33190d0d400f345f23d4065d48f4ca7ae0425"}, + {file = "PyYAML-6.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:80bab7bfc629882493af4aa31a4cfa43a4c57c83813253626916b8c7ada83476"}, + {file = "PyYAML-6.0.2-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:0833f8694549e586547b576dcfaba4a6b55b9e96098b36cdc7ebefe667dfed48"}, + {file = "PyYAML-6.0.2-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:8b9c7197f7cb2738065c481a0461e50ad02f18c78cd75775628afb4d7137fb3b"}, + {file = "PyYAML-6.0.2-cp312-cp312-win32.whl", hash = "sha256:ef6107725bd54b262d6dedcc2af448a266975032bc85ef0172c5f059da6325b4"}, + {file = "PyYAML-6.0.2-cp312-cp312-win_amd64.whl", hash = "sha256:7e7401d0de89a9a855c839bc697c079a4af81cf878373abd7dc625847d25cbd8"}, + {file = "PyYAML-6.0.2-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:efdca5630322a10774e8e98e1af481aad470dd62c3170801852d752aa7a783ba"}, + {file = "PyYAML-6.0.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:50187695423ffe49e2deacb8cd10510bc361faac997de9efef88badc3bb9e2d1"}, + {file = "PyYAML-6.0.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0ffe8360bab4910ef1b9e87fb812d8bc0a308b0d0eef8c8f44e0254ab3b07133"}, + {file = "PyYAML-6.0.2-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:17e311b6c678207928d649faa7cb0d7b4c26a0ba73d41e99c4fff6b6c3276484"}, + {file = "PyYAML-6.0.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:70b189594dbe54f75ab3a1acec5f1e3faa7e8cf2f1e08d9b561cb41b845f69d5"}, + {file = "PyYAML-6.0.2-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:41e4e3953a79407c794916fa277a82531dd93aad34e29c2a514c2c0c5fe971cc"}, + {file = "PyYAML-6.0.2-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:68ccc6023a3400877818152ad9a1033e3db8625d899c72eacb5a668902e4d652"}, + {file = "PyYAML-6.0.2-cp313-cp313-win32.whl", hash = "sha256:bc2fa7c6b47d6bc618dd7fb02ef6fdedb1090ec036abab80d4681424b84c1183"}, + {file = "PyYAML-6.0.2-cp313-cp313-win_amd64.whl", hash = "sha256:8388ee1976c416731879ac16da0aff3f63b286ffdd57cdeb95f3f2e085687563"}, + {file = "PyYAML-6.0.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:24471b829b3bf607e04e88d79542a9d48bb037c2267d7927a874e6c205ca7e9a"}, + {file = "PyYAML-6.0.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d7fded462629cfa4b685c5416b949ebad6cec74af5e2d42905d41e257e0869f5"}, + {file = "PyYAML-6.0.2-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d84a1718ee396f54f3a086ea0a66d8e552b2ab2017ef8b420e92edbc841c352d"}, + {file = "PyYAML-6.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9056c1ecd25795207ad294bcf39f2db3d845767be0ea6e6a34d856f006006083"}, + {file = "PyYAML-6.0.2-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:82d09873e40955485746739bcb8b4586983670466c23382c19cffecbf1fd8706"}, + {file = "PyYAML-6.0.2-cp38-cp38-win32.whl", hash = "sha256:43fa96a3ca0d6b1812e01ced1044a003533c47f6ee8aca31724f78e93ccc089a"}, + {file = "PyYAML-6.0.2-cp38-cp38-win_amd64.whl", hash = "sha256:01179a4a8559ab5de078078f37e5c1a30d76bb88519906844fd7bdea1b7729ff"}, + {file = "PyYAML-6.0.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:688ba32a1cffef67fd2e9398a2efebaea461578b0923624778664cc1c914db5d"}, + {file = "PyYAML-6.0.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:a8786accb172bd8afb8be14490a16625cbc387036876ab6ba70912730faf8e1f"}, + {file = "PyYAML-6.0.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d8e03406cac8513435335dbab54c0d385e4a49e4945d2909a581c83647ca0290"}, + {file = "PyYAML-6.0.2-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f753120cb8181e736c57ef7636e83f31b9c0d1722c516f7e86cf15b7aa57ff12"}, + {file = "PyYAML-6.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3b1fdb9dc17f5a7677423d508ab4f243a726dea51fa5e70992e59a7411c89d19"}, + {file = "PyYAML-6.0.2-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:0b69e4ce7a131fe56b7e4d770c67429700908fc0752af059838b1cfb41960e4e"}, + {file = "PyYAML-6.0.2-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:a9f8c2e67970f13b16084e04f134610fd1d374bf477b17ec1599185cf611d725"}, + {file = "PyYAML-6.0.2-cp39-cp39-win32.whl", hash = "sha256:6395c297d42274772abc367baaa79683958044e5d3835486c16da75d2a694631"}, + {file = "PyYAML-6.0.2-cp39-cp39-win_amd64.whl", hash = "sha256:39693e1f8320ae4f43943590b49779ffb98acb81f788220ea932a6b6c51004d8"}, + {file = "pyyaml-6.0.2.tar.gz", hash = "sha256:d584d9ec91ad65861cc08d42e834324ef890a082e591037abe114850ff7bbc3e"}, ] [[package]] @@ -403,6 +503,7 @@ version = "0.1" description = "A custom YAML tag for referencing environment variables in YAML files. " optional = false python-versions = ">=3.6" +groups = ["dev"] files = [ {file = "pyyaml_env_tag-0.1-py3-none-any.whl", hash = "sha256:af31106dec8a4d68c60207c1886031cbf839b68aa7abccdb19868200532c2069"}, {file = "pyyaml_env_tag-0.1.tar.gz", hash = "sha256:70092675bda14fdec33b31ba77e7543de9ddc88f2e5b99160396572d11525bdb"}, @@ -411,26 +512,49 @@ files = [ [package.dependencies] pyyaml = "*" +[[package]] +name = "setuptools" +version = "75.7.0" +description = "Easily download, build, install, upgrade, and uninstall Python packages" +optional = false +python-versions = ">=3.9" +groups = ["main"] +files = [ + {file = "setuptools-75.7.0-py3-none-any.whl", hash = "sha256:84fb203f278ebcf5cd08f97d3fb96d3fbed4b629d500b29ad60d11e00769b183"}, + {file = "setuptools-75.7.0.tar.gz", hash = "sha256:886ff7b16cd342f1d1defc16fc98c9ce3fde69e087a4e1983d7ab634e5f41f4f"}, +] + +[package.extras] +check = ["pytest-checkdocs (>=2.4)", "pytest-ruff (>=0.2.1) ; sys_platform != \"cygwin\"", "ruff (>=0.8.0) ; sys_platform != \"cygwin\""] +core = ["importlib_metadata (>=6) ; python_version < \"3.10\"", "jaraco.collections", "jaraco.functools (>=4)", "jaraco.text (>=3.7)", "more_itertools", "more_itertools (>=8.8)", "packaging", "packaging (>=24.2)", "platformdirs (>=4.2.2)", "tomli (>=2.0.1) ; python_version < \"3.11\"", "wheel (>=0.43.0)"] +cover = ["pytest-cov"] +doc = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "pygments-github-lexers (==0.0.5)", "pyproject-hooks (!=1.1)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-favicon", "sphinx-inline-tabs", "sphinx-lint", "sphinx-notfound-page (>=1,<2)", "sphinx-reredirects", "sphinxcontrib-towncrier", "towncrier (<24.7)"] +enabler = ["pytest-enabler (>=2.2)"] +test = ["build[virtualenv] (>=1.0.3)", "filelock (>=3.4.0)", "ini2toml[lite] (>=0.14)", "jaraco.develop (>=7.21) ; python_version >= \"3.9\" and sys_platform != \"cygwin\"", "jaraco.envs (>=2.2)", "jaraco.path (>=3.7.2)", "jaraco.test (>=5.5)", "packaging (>=24.2)", "pip (>=19.1)", "pyproject-hooks (!=1.1)", "pytest (>=6,!=8.1.*)", "pytest-home (>=0.5)", "pytest-perf ; sys_platform != \"cygwin\"", "pytest-subprocess", "pytest-timeout", "pytest-xdist (>=3)", "tomli-w (>=1.0.0)", "virtualenv (>=13.0.0)", "wheel (>=0.44.0)"] +type = ["importlib_metadata (>=7.0.2) ; python_version < \"3.10\"", "jaraco.develop (>=7.21) ; sys_platform != \"cygwin\"", "mypy (==1.14.*)", "pytest-mypy"] + [[package]] name = "six" -version = "1.16.0" +version = "1.17.0" description = "Python 2 and 3 compatibility utilities" optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*" +python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7" +groups = ["dev"] files = [ - {file = "six-1.16.0-py2.py3-none-any.whl", hash = "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254"}, - {file = "six-1.16.0.tar.gz", hash = "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"}, + {file = "six-1.17.0-py2.py3-none-any.whl", hash = "sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274"}, + {file = "six-1.17.0.tar.gz", hash = "sha256:ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81"}, ] [[package]] name = "smmap" -version = "5.0.0" +version = "5.0.2" description = "A pure Python implementation of a sliding window memory map manager" optional = false -python-versions = ">=3.6" +python-versions = ">=3.7" +groups = ["dev"] files = [ - {file = "smmap-5.0.0-py3-none-any.whl", hash = "sha256:2aba19d6a040e78d8b09de5c57e96207b09ed71d8e55ce0959eeee6c8e190d94"}, - {file = "smmap-5.0.0.tar.gz", hash = "sha256:c840e62059cd3be204b0c9c9f74be2c09d5648eddd4580d9314c3ecde0b30936"}, + {file = "smmap-5.0.2-py3-none-any.whl", hash = "sha256:b30115f0def7d7531d22a0fb6502488d879e75b260a9db4d0819cfb25403af5e"}, + {file = "smmap-5.0.2.tar.gz", hash = "sha256:26ea65a03958fa0c8a1c7e8c7a58fdc77221b8910f6be2131affade476898ad5"}, ] [[package]] @@ -439,6 +563,7 @@ version = "0.1.0" description = "Flexible version handling" optional = false python-versions = "*" +groups = ["dev"] files = [ {file = "verspec-0.1.0-py3-none-any.whl", hash = "sha256:741877d5633cc9464c45a469ae2a31e801e6dbbaa85b9675d481cda100f11c31"}, {file = "verspec-0.1.0.tar.gz", hash = "sha256:c4504ca697b2056cdb4bfa7121461f5a0e81809255b41c03dda4ba823637c01e"}, @@ -449,36 +574,42 @@ test = ["coverage", "flake8 (>=3.7)", "mypy", "pretend", "pytest"] [[package]] name = "watchdog" -version = "2.1.8" +version = "6.0.0" description = "Filesystem events monitoring" optional = false -python-versions = ">=3.6" +python-versions = ">=3.9" +groups = ["dev"] files = [ - {file = "watchdog-2.1.8-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:676263bee67b165f16b05abc52acc7a94feac5b5ab2449b491f1a97638a79277"}, - {file = "watchdog-2.1.8-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:aa68d2d9a89d686fae99d28a6edf3b18595e78f5adf4f5c18fbfda549ac0f20c"}, - {file = "watchdog-2.1.8-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:5e2e51c53666850c3ecffe9d265fc5d7351db644de17b15e9c685dd3cdcd6f97"}, - {file = "watchdog-2.1.8-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:7721ac736170b191c50806f43357407138c6748e4eb3e69b071397f7f7aaeedd"}, - {file = "watchdog-2.1.8-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:ce7376aed3da5fd777483fe5ebc8475a440c6d18f23998024f832134b2938e7b"}, - {file = "watchdog-2.1.8-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:f9ee4c6bf3a1b2ed6be90a2d78f3f4bbd8105b6390c04a86eb48ed67bbfa0b0b"}, - {file = "watchdog-2.1.8-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:68dbe75e0fa1ba4d73ab3f8e67b21770fbed0651d32ce515cd38919a26873266"}, - {file = "watchdog-2.1.8-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:0c520009b8cce79099237d810aaa19bc920941c268578436b62013b2f0102320"}, - {file = "watchdog-2.1.8-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:efcc8cbc1b43902571b3dce7ef53003f5b97fe4f275fe0489565fc6e2ebe3314"}, - {file = "watchdog-2.1.8-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:746e4c197ec1083581bb1f64d07d1136accf03437badb5ff8fcb862565c193b2"}, - {file = "watchdog-2.1.8-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:1ae17b6be788fb8e4d8753d8d599de948f0275a232416e16436363c682c6f850"}, - {file = "watchdog-2.1.8-pp37-pypy37_pp73-macosx_10_9_x86_64.whl", hash = "sha256:ddde157dc1447d8130cb5b8df102fad845916fe4335e3d3c3f44c16565becbb7"}, - {file = "watchdog-2.1.8-pp38-pypy38_pp73-macosx_10_9_x86_64.whl", hash = "sha256:4978db33fc0934c92013ee163a9db158ec216099b69fce5aec790aba704da412"}, - {file = "watchdog-2.1.8-pp39-pypy39_pp73-macosx_10_9_x86_64.whl", hash = "sha256:b962de4d7d92ff78fb2dbc6a0cb292a679dea879a0eb5568911484d56545b153"}, - {file = "watchdog-2.1.8-py3-none-manylinux2014_aarch64.whl", hash = "sha256:1e5d0fdfaa265c29dc12621913a76ae99656cf7587d03950dfeb3595e5a26102"}, - {file = "watchdog-2.1.8-py3-none-manylinux2014_armv7l.whl", hash = "sha256:036ed15f7cd656351bf4e17244447be0a09a61aaa92014332d50719fc5973bc0"}, - {file = "watchdog-2.1.8-py3-none-manylinux2014_i686.whl", hash = "sha256:2962628a8777650703e8f6f2593065884c602df7bae95759b2df267bd89b2ef5"}, - {file = "watchdog-2.1.8-py3-none-manylinux2014_ppc64.whl", hash = "sha256:156ec3a94695ea68cfb83454b98754af6e276031ba1ae7ae724dc6bf8973b92a"}, - {file = "watchdog-2.1.8-py3-none-manylinux2014_ppc64le.whl", hash = "sha256:47598fe6713fc1fee86b1ca85c9cbe77e9b72d002d6adeab9c3b608f8a5ead10"}, - {file = "watchdog-2.1.8-py3-none-manylinux2014_s390x.whl", hash = "sha256:fed4de6e45a4f16e4046ea00917b4fe1700b97244e5d114f594b4a1b9de6bed8"}, - {file = "watchdog-2.1.8-py3-none-manylinux2014_x86_64.whl", hash = "sha256:24dedcc3ce75e150f2a1d704661f6879764461a481ba15a57dc80543de46021c"}, - {file = "watchdog-2.1.8-py3-none-win32.whl", hash = "sha256:6ddf67bc9f413791072e3afb466e46cc72c6799ba73dea18439b412e8f2e3257"}, - {file = "watchdog-2.1.8-py3-none-win_amd64.whl", hash = "sha256:88ef3e8640ef0a64b7ad7394b0f23384f58ac19dd759da7eaa9bc04b2898943f"}, - {file = "watchdog-2.1.8-py3-none-win_ia64.whl", hash = "sha256:0fb60c7d31474b21acba54079ce9ff0136411183e9a591369417cddb1d7d00d7"}, - {file = "watchdog-2.1.8.tar.gz", hash = "sha256:6d03149126864abd32715d4e9267d2754cede25a69052901399356ad3bc5ecff"}, + {file = "watchdog-6.0.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:d1cdb490583ebd691c012b3d6dae011000fe42edb7a82ece80965b42abd61f26"}, + {file = "watchdog-6.0.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:bc64ab3bdb6a04d69d4023b29422170b74681784ffb9463ed4870cf2f3e66112"}, + {file = "watchdog-6.0.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:c897ac1b55c5a1461e16dae288d22bb2e412ba9807df8397a635d88f671d36c3"}, + {file = "watchdog-6.0.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:6eb11feb5a0d452ee41f824e271ca311a09e250441c262ca2fd7ebcf2461a06c"}, + {file = "watchdog-6.0.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:ef810fbf7b781a5a593894e4f439773830bdecb885e6880d957d5b9382a960d2"}, + {file = "watchdog-6.0.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:afd0fe1b2270917c5e23c2a65ce50c2a4abb63daafb0d419fde368e272a76b7c"}, + {file = "watchdog-6.0.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:bdd4e6f14b8b18c334febb9c4425a878a2ac20efd1e0b231978e7b150f92a948"}, + {file = "watchdog-6.0.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:c7c15dda13c4eb00d6fb6fc508b3c0ed88b9d5d374056b239c4ad1611125c860"}, + {file = "watchdog-6.0.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:6f10cb2d5902447c7d0da897e2c6768bca89174d0c6e1e30abec5421af97a5b0"}, + {file = "watchdog-6.0.0-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:490ab2ef84f11129844c23fb14ecf30ef3d8a6abafd3754a6f75ca1e6654136c"}, + {file = "watchdog-6.0.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:76aae96b00ae814b181bb25b1b98076d5fc84e8a53cd8885a318b42b6d3a5134"}, + {file = "watchdog-6.0.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:a175f755fc2279e0b7312c0035d52e27211a5bc39719dd529625b1930917345b"}, + {file = "watchdog-6.0.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:e6f0e77c9417e7cd62af82529b10563db3423625c5fce018430b249bf977f9e8"}, + {file = "watchdog-6.0.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:90c8e78f3b94014f7aaae121e6b909674df5b46ec24d6bebc45c44c56729af2a"}, + {file = "watchdog-6.0.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:e7631a77ffb1f7d2eefa4445ebbee491c720a5661ddf6df3498ebecae5ed375c"}, + {file = "watchdog-6.0.0-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:c7ac31a19f4545dd92fc25d200694098f42c9a8e391bc00bdd362c5736dbf881"}, + {file = "watchdog-6.0.0-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:9513f27a1a582d9808cf21a07dae516f0fab1cf2d7683a742c498b93eedabb11"}, + {file = "watchdog-6.0.0-pp39-pypy39_pp73-macosx_10_15_x86_64.whl", hash = "sha256:7a0e56874cfbc4b9b05c60c8a1926fedf56324bb08cfbc188969777940aef3aa"}, + {file = "watchdog-6.0.0-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:e6439e374fc012255b4ec786ae3c4bc838cd7309a540e5fe0952d03687d8804e"}, + {file = "watchdog-6.0.0-py3-none-manylinux2014_aarch64.whl", hash = "sha256:7607498efa04a3542ae3e05e64da8202e58159aa1fa4acddf7678d34a35d4f13"}, + {file = "watchdog-6.0.0-py3-none-manylinux2014_armv7l.whl", hash = "sha256:9041567ee8953024c83343288ccc458fd0a2d811d6a0fd68c4c22609e3490379"}, + {file = "watchdog-6.0.0-py3-none-manylinux2014_i686.whl", hash = "sha256:82dc3e3143c7e38ec49d61af98d6558288c415eac98486a5c581726e0737c00e"}, + {file = "watchdog-6.0.0-py3-none-manylinux2014_ppc64.whl", hash = "sha256:212ac9b8bf1161dc91bd09c048048a95ca3a4c4f5e5d4a7d1b1a7d5752a7f96f"}, + {file = "watchdog-6.0.0-py3-none-manylinux2014_ppc64le.whl", hash = "sha256:e3df4cbb9a450c6d49318f6d14f4bbc80d763fa587ba46ec86f99f9e6876bb26"}, + {file = "watchdog-6.0.0-py3-none-manylinux2014_s390x.whl", hash = "sha256:2cce7cfc2008eb51feb6aab51251fd79b85d9894e98ba847408f662b3395ca3c"}, + {file = "watchdog-6.0.0-py3-none-manylinux2014_x86_64.whl", hash = "sha256:20ffe5b202af80ab4266dcd3e91aae72bf2da48c0d33bdb15c66658e685e94e2"}, + {file = "watchdog-6.0.0-py3-none-win32.whl", hash = "sha256:07df1fdd701c5d4c8e55ef6cf55b8f0120fe1aef7ef39a1c6fc6bc2e606d517a"}, + {file = "watchdog-6.0.0-py3-none-win_amd64.whl", hash = "sha256:cbafb470cf848d93b5d013e2ecb245d4aa1c8fd0504e863ccefa32445359d680"}, + {file = "watchdog-6.0.0-py3-none-win_ia64.whl", hash = "sha256:a1914259fa9e1454315171103c6a30961236f508b9b623eae470268bbcc6a22f"}, + {file = "watchdog-6.0.0.tar.gz", hash = "sha256:9ddf7c82fda3ae8e24decda1338ede66e1c99883db93711d8fb941eaa2d8c282"}, ] [package.extras] @@ -486,20 +617,26 @@ watchmedo = ["PyYAML (>=3.10)"] [[package]] name = "zipp" -version = "3.19.1" +version = "3.21.0" description = "Backport of pathlib-compatible object wrapper for zip files" optional = false -python-versions = ">=3.8" +python-versions = ">=3.9" +groups = ["dev"] +markers = "python_version < \"3.10\"" files = [ - {file = "zipp-3.19.1-py3-none-any.whl", hash = "sha256:2828e64edb5386ea6a52e7ba7cdb17bb30a73a858f5eb6eb93d8d36f5ea26091"}, - {file = "zipp-3.19.1.tar.gz", hash = "sha256:35427f6d5594f4acf82d25541438348c26736fa9b3afa2754bcd63cdb99d8e8f"}, + {file = "zipp-3.21.0-py3-none-any.whl", hash = "sha256:ac1bbe05fd2991f160ebce24ffbac5f6d11d83dc90891255885223d42b3cd931"}, + {file = "zipp-3.21.0.tar.gz", hash = "sha256:2c9958f6430a2040341a52eb608ed6dd93ef4392e02ffe219417c1b28b5dd1f4"}, ] [package.extras] +check = ["pytest-checkdocs (>=2.4)", "pytest-ruff (>=0.2.1) ; sys_platform != \"cygwin\""] +cover = ["pytest-cov"] doc = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-lint"] -test = ["big-O", "jaraco.functools", "jaraco.itertools", "jaraco.test", "more-itertools", "pytest (>=6,!=8.1.*)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-ignore-flaky", "pytest-mypy", "pytest-ruff (>=0.2.1)"] +enabler = ["pytest-enabler (>=2.2)"] +test = ["big-O", "importlib-resources ; python_version < \"3.9\"", "jaraco.functools", "jaraco.itertools", "jaraco.test", "more-itertools", "pytest (>=6,!=8.1.*)", "pytest-ignore-flaky"] +type = ["pytest-mypy"] [metadata] -lock-version = "2.0" -python-versions = ">=3.8, !=3.9.7, <4" -content-hash = "97810ce6e4681e1f5b6e19fde79fe38a6a9bf77d8cb512cb6d0e3f485953c7c1" +lock-version = "2.1" +python-versions = ">3.9.7, <4" +content-hash = "fde8577c7ce1611c6f339f739a74a706cc16f3782affb3f4dae65e0d36c891d6" diff --git a/pyproject.toml b/pyproject.toml index 37945f12b7e..81e1c489bd8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,9 +5,10 @@ description = "Project used to run integration tests for the Arduino CLI" authors = [] [tool.poetry.dependencies] -python = ">=3.8, !=3.9.7, <4" +python = ">3.9.7, <4" +setuptools = "^75.7.0" -[tool.poetry.dev-dependencies] +[tool.poetry.group.dev.dependencies] mkdocs = "^1.2.1" mkdocs-material = "^7.1.8" mdx-truly-sane-lists = "^1.2" diff --git a/rpc/cc/arduino/cli/commands/v1/board.pb.go b/rpc/cc/arduino/cli/commands/v1/board.pb.go index 3bc667e8192..251eca88221 100644 --- a/rpc/cc/arduino/cli/commands/v1/board.pb.go +++ b/rpc/cc/arduino/cli/commands/v1/board.pb.go @@ -874,6 +874,9 @@ type BoardListRequest struct { // The fully qualified board name of the board you want information about // (e.g., `arduino:avr:uno`). Fqbn string `protobuf:"bytes,3,opt,name=fqbn,proto3" json:"fqbn,omitempty"` + // If set to true, when a board cannot be identified using the installed + // platforms, the cloud API will not be called to detect the board. + SkipCloudApiForBoardDetection bool `protobuf:"varint,4,opt,name=skip_cloud_api_for_board_detection,json=skipCloudApiForBoardDetection,proto3" json:"skip_cloud_api_for_board_detection,omitempty"` } func (x *BoardListRequest) Reset() { @@ -929,6 +932,13 @@ func (x *BoardListRequest) GetFqbn() string { return "" } +func (x *BoardListRequest) GetSkipCloudApiForBoardDetection() bool { + if x != nil { + return x.SkipCloudApiForBoardDetection + } + return false +} + type BoardListResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1164,6 +1174,9 @@ type BoardListWatchRequest struct { // Arduino Core Service instance from the `Init` response. Instance *Instance `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"` + // If set to true, when a board cannot be identified using the installed + // platforms, the cloud API will not be called to detect the board. + SkipCloudApiForBoardDetection bool `protobuf:"varint,2,opt,name=skip_cloud_api_for_board_detection,json=skipCloudApiForBoardDetection,proto3" json:"skip_cloud_api_for_board_detection,omitempty"` } func (x *BoardListWatchRequest) Reset() { @@ -1205,6 +1218,13 @@ func (x *BoardListWatchRequest) GetInstance() *Instance { return nil } +func (x *BoardListWatchRequest) GetSkipCloudApiForBoardDetection() bool { + if x != nil { + return x.SkipCloudApiForBoardDetection + } + return false +} + type BoardListWatchResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1461,6 +1481,121 @@ func (x *BoardSearchResponse) GetBoards() []*BoardListItem { return nil } +type BoardIdentifyRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Arduino Core Service instance from the `Init` response. + Instance *Instance `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"` + // A set of properties to search (can be taken from a Port message). + Properties map[string]string `protobuf:"bytes,2,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // If set to true, when a board cannot be identified using the installed + // platforms, the cloud API will be called to detect the board. + UseCloudApiForUnknownBoardDetection bool `protobuf:"varint,3,opt,name=use_cloud_api_for_unknown_board_detection,json=useCloudApiForUnknownBoardDetection,proto3" json:"use_cloud_api_for_unknown_board_detection,omitempty"` +} + +func (x *BoardIdentifyRequest) Reset() { + *x = BoardIdentifyRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cc_arduino_cli_commands_v1_board_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BoardIdentifyRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BoardIdentifyRequest) ProtoMessage() {} + +func (x *BoardIdentifyRequest) ProtoReflect() protoreflect.Message { + mi := &file_cc_arduino_cli_commands_v1_board_proto_msgTypes[20] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BoardIdentifyRequest.ProtoReflect.Descriptor instead. +func (*BoardIdentifyRequest) Descriptor() ([]byte, []int) { + return file_cc_arduino_cli_commands_v1_board_proto_rawDescGZIP(), []int{20} +} + +func (x *BoardIdentifyRequest) GetInstance() *Instance { + if x != nil { + return x.Instance + } + return nil +} + +func (x *BoardIdentifyRequest) GetProperties() map[string]string { + if x != nil { + return x.Properties + } + return nil +} + +func (x *BoardIdentifyRequest) GetUseCloudApiForUnknownBoardDetection() bool { + if x != nil { + return x.UseCloudApiForUnknownBoardDetection + } + return false +} + +type BoardIdentifyResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // List of matching boards (they may have an FQBN with options set). + Boards []*BoardListItem `protobuf:"bytes,1,rep,name=boards,proto3" json:"boards,omitempty"` +} + +func (x *BoardIdentifyResponse) Reset() { + *x = BoardIdentifyResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cc_arduino_cli_commands_v1_board_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BoardIdentifyResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BoardIdentifyResponse) ProtoMessage() {} + +func (x *BoardIdentifyResponse) ProtoReflect() protoreflect.Message { + mi := &file_cc_arduino_cli_commands_v1_board_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BoardIdentifyResponse.ProtoReflect.Descriptor instead. +func (*BoardIdentifyResponse) Descriptor() ([]byte, []int) { + return file_cc_arduino_cli_commands_v1_board_proto_rawDescGZIP(), []int{21} +} + +func (x *BoardIdentifyResponse) GetBoards() []*BoardListItem { + if x != nil { + return x.Boards + } + return nil +} + var File_cc_arduino_cli_commands_v1_board_proto protoreflect.FileDescriptor var file_cc_arduino_cli_commands_v1_board_proto_rawDesc = []byte{ @@ -1608,7 +1743,7 @@ var file_cc_arduino_cli_commands_v1_board_proto_rawDesc = []byte{ 0x65, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x73, 0x65, 0x6c, - 0x65, 0x63, 0x74, 0x65, 0x64, 0x22, 0x82, 0x01, 0x0a, 0x10, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4c, + 0x65, 0x63, 0x74, 0x65, 0x64, 0x22, 0xcd, 0x01, 0x0a, 0x10, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, @@ -1616,86 +1751,123 @@ var file_cc_arduino_cli_commands_v1_board_proto_rawDesc = []byte{ 0x63, 0x65, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x71, 0x62, 0x6e, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x71, 0x62, 0x6e, 0x22, 0x6f, 0x0a, 0x11, 0x42, 0x6f, - 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x3e, 0x0a, 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, - 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, - 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x74, 0x65, - 0x63, 0x74, 0x65, 0x64, 0x50, 0x6f, 0x72, 0x74, 0x52, 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x12, - 0x1a, 0x0a, 0x08, 0x77, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, - 0x09, 0x52, 0x08, 0x77, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x98, 0x01, 0x0a, 0x0c, - 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x52, 0x0a, 0x0f, - 0x6d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x5f, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, - 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x74, 0x65, 0x6d, - 0x52, 0x0e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x73, - 0x12, 0x34, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, - 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, - 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x72, 0x74, - 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x22, 0xac, 0x01, 0x0a, 0x13, 0x42, 0x6f, 0x61, 0x72, 0x64, - 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, - 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x24, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, - 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, - 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, - 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x61, 0x72, 0x67, 0x73, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x67, - 0x73, 0x12, 0x32, 0x0a, 0x15, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x68, 0x69, 0x64, - 0x64, 0x65, 0x6e, 0x5f, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x13, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x48, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x42, - 0x6f, 0x61, 0x72, 0x64, 0x73, 0x22, 0x59, 0x0a, 0x14, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4c, 0x69, - 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, - 0x06, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, - 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, - 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6f, 0x61, 0x72, 0x64, - 0x4c, 0x69, 0x73, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x06, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, - 0x22, 0x59, 0x0a, 0x15, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x61, 0x74, - 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x08, 0x69, 0x6e, 0x73, - 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x63, 0x63, - 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, - 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, - 0x65, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x8b, 0x01, 0x0a, 0x16, - 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, - 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x65, 0x76, 0x65, 0x6e, - 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3c, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, - 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x50, 0x6f, 0x72, 0x74, 0x52, 0x04, 0x70, - 0x6f, 0x72, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x96, 0x01, 0x0a, 0x0d, 0x42, 0x6f, - 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, - 0x12, 0x0a, 0x04, 0x66, 0x71, 0x62, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, - 0x71, 0x62, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x48, 0x69, 0x64, 0x64, 0x65, 0x6e, - 0x12, 0x40, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, - 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, - 0x72, 0x6d, 0x22, 0xab, 0x01, 0x0a, 0x12, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x53, 0x65, 0x61, 0x72, - 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x08, 0x69, 0x6e, 0x73, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x71, 0x62, 0x6e, 0x12, 0x49, 0x0a, 0x22, 0x73, 0x6b, + 0x69, 0x70, 0x5f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x66, 0x6f, 0x72, + 0x5f, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1d, 0x73, 0x6b, 0x69, 0x70, 0x43, 0x6c, 0x6f, 0x75, + 0x64, 0x41, 0x70, 0x69, 0x46, 0x6f, 0x72, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x44, 0x65, 0x74, 0x65, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x6f, 0x0a, 0x11, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4c, 0x69, + 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x05, 0x70, 0x6f, + 0x72, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x63, 0x2e, 0x61, + 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, + 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x50, + 0x6f, 0x72, 0x74, 0x52, 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x61, + 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x77, 0x61, + 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x98, 0x01, 0x0a, 0x0c, 0x44, 0x65, 0x74, 0x65, 0x63, + 0x74, 0x65, 0x64, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x52, 0x0a, 0x0f, 0x6d, 0x61, 0x74, 0x63, 0x68, + 0x69, 0x6e, 0x67, 0x5f, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x29, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, + 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6f, + 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x0e, 0x6d, 0x61, 0x74, + 0x63, 0x68, 0x69, 0x6e, 0x67, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x12, 0x34, 0x0a, 0x04, 0x70, + 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x63, 0x63, 0x2e, 0x61, + 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, + 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x52, 0x04, 0x70, 0x6f, 0x72, + 0x74, 0x22, 0xac, 0x01, 0x0a, 0x13, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x41, + 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, - 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x61, 0x72, 0x67, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x61, 0x72, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x67, 0x73, 0x12, 0x32, 0x0a, 0x15, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x5f, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x48, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x73, - 0x22, 0x58, 0x0a, 0x13, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x06, 0x62, 0x6f, 0x61, 0x72, 0x64, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, + 0x22, 0x59, 0x0a, 0x14, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x06, 0x62, 0x6f, 0x61, 0x72, + 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, + 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, + 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x49, + 0x74, 0x65, 0x6d, 0x52, 0x06, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x22, 0xa4, 0x01, 0x0a, 0x15, + 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x74, - 0x65, 0x6d, 0x52, 0x06, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x42, 0x48, 0x5a, 0x46, 0x67, 0x69, - 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, - 0x2f, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2d, 0x63, 0x6c, 0x69, 0x2f, 0x72, 0x70, 0x63, - 0x2f, 0x63, 0x63, 0x2f, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2f, 0x63, 0x6c, 0x69, 0x2f, - 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x63, 0x6f, 0x6d, 0x6d, - 0x61, 0x6e, 0x64, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x08, 0x69, + 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x49, 0x0a, 0x22, 0x73, 0x6b, 0x69, 0x70, 0x5f, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x62, 0x6f, + 0x61, 0x72, 0x64, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x1d, 0x73, 0x6b, 0x69, 0x70, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x41, 0x70, + 0x69, 0x46, 0x6f, 0x72, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x22, 0x8b, 0x01, 0x0a, 0x16, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, + 0x57, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, + 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3c, 0x0a, 0x04, + 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x63, 0x2e, + 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, + 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, + 0x50, 0x6f, 0x72, 0x74, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, + 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, + 0x22, 0x96, 0x01, 0x0a, 0x0d, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x74, + 0x65, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x71, 0x62, 0x6e, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x71, 0x62, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, + 0x5f, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, + 0x73, 0x48, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x12, 0x40, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, + 0x6f, 0x72, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x63, 0x63, 0x2e, 0x61, + 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, + 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x52, + 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x22, 0xab, 0x01, 0x0a, 0x12, 0x42, 0x6f, + 0x61, 0x72, 0x64, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x40, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, + 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, + 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, + 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x61, 0x72, 0x67, + 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, + 0x72, 0x67, 0x73, 0x12, 0x32, 0x0a, 0x15, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x68, + 0x69, 0x64, 0x64, 0x65, 0x6e, 0x5f, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x13, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x48, 0x69, 0x64, 0x64, 0x65, + 0x6e, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x22, 0x58, 0x0a, 0x13, 0x42, 0x6f, 0x61, 0x72, 0x64, + 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, + 0x0a, 0x06, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, + 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, + 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6f, 0x61, 0x72, + 0x64, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x06, 0x62, 0x6f, 0x61, 0x72, 0x64, + 0x73, 0x22, 0xd1, 0x02, 0x0a, 0x14, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x49, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x66, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x08, 0x69, 0x6e, + 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x63, + 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, + 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, + 0x63, 0x65, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x60, 0x0a, 0x0a, + 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x40, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, + 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6f, + 0x61, 0x72, 0x64, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x56, + 0x0a, 0x29, 0x75, 0x73, 0x65, 0x5f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x61, 0x70, 0x69, 0x5f, + 0x66, 0x6f, 0x72, 0x5f, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x5f, 0x62, 0x6f, 0x61, 0x72, + 0x64, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x23, 0x75, 0x73, 0x65, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x41, 0x70, 0x69, 0x46, 0x6f, + 0x72, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x44, 0x65, 0x74, + 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x3d, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, + 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x5a, 0x0a, 0x15, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x49, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, + 0x0a, 0x06, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, + 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, + 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6f, 0x61, 0x72, + 0x64, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x06, 0x62, 0x6f, 0x61, 0x72, 0x64, + 0x73, 0x42, 0x48, 0x5a, 0x46, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2f, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2d, + 0x63, 0x6c, 0x69, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x63, 0x63, 0x2f, 0x61, 0x72, 0x64, 0x75, 0x69, + 0x6e, 0x6f, 0x2f, 0x63, 0x6c, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2f, + 0x76, 0x31, 0x3b, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, } var ( @@ -1710,7 +1882,7 @@ func file_cc_arduino_cli_commands_v1_board_proto_rawDescGZIP() []byte { return file_cc_arduino_cli_commands_v1_board_proto_rawDescData } -var file_cc_arduino_cli_commands_v1_board_proto_msgTypes = make([]protoimpl.MessageInfo, 21) +var file_cc_arduino_cli_commands_v1_board_proto_msgTypes = make([]protoimpl.MessageInfo, 24) var file_cc_arduino_cli_commands_v1_board_proto_goTypes = []any{ (*BoardDetailsRequest)(nil), // 0: cc.arduino.cli.commands.v1.BoardDetailsRequest (*BoardDetailsResponse)(nil), // 1: cc.arduino.cli.commands.v1.BoardDetailsResponse @@ -1732,40 +1904,46 @@ var file_cc_arduino_cli_commands_v1_board_proto_goTypes = []any{ (*BoardListItem)(nil), // 17: cc.arduino.cli.commands.v1.BoardListItem (*BoardSearchRequest)(nil), // 18: cc.arduino.cli.commands.v1.BoardSearchRequest (*BoardSearchResponse)(nil), // 19: cc.arduino.cli.commands.v1.BoardSearchResponse - nil, // 20: cc.arduino.cli.commands.v1.BoardIdentificationProperties.PropertiesEntry - (*Instance)(nil), // 21: cc.arduino.cli.commands.v1.Instance - (*Programmer)(nil), // 22: cc.arduino.cli.commands.v1.Programmer - (*Port)(nil), // 23: cc.arduino.cli.commands.v1.Port - (*Platform)(nil), // 24: cc.arduino.cli.commands.v1.Platform + (*BoardIdentifyRequest)(nil), // 20: cc.arduino.cli.commands.v1.BoardIdentifyRequest + (*BoardIdentifyResponse)(nil), // 21: cc.arduino.cli.commands.v1.BoardIdentifyResponse + nil, // 22: cc.arduino.cli.commands.v1.BoardIdentificationProperties.PropertiesEntry + nil, // 23: cc.arduino.cli.commands.v1.BoardIdentifyRequest.PropertiesEntry + (*Instance)(nil), // 24: cc.arduino.cli.commands.v1.Instance + (*Programmer)(nil), // 25: cc.arduino.cli.commands.v1.Programmer + (*Port)(nil), // 26: cc.arduino.cli.commands.v1.Port + (*Platform)(nil), // 27: cc.arduino.cli.commands.v1.Platform } var file_cc_arduino_cli_commands_v1_board_proto_depIdxs = []int32{ - 21, // 0: cc.arduino.cli.commands.v1.BoardDetailsRequest.instance:type_name -> cc.arduino.cli.commands.v1.Instance + 24, // 0: cc.arduino.cli.commands.v1.BoardDetailsRequest.instance:type_name -> cc.arduino.cli.commands.v1.Instance 3, // 1: cc.arduino.cli.commands.v1.BoardDetailsResponse.package:type_name -> cc.arduino.cli.commands.v1.Package 5, // 2: cc.arduino.cli.commands.v1.BoardDetailsResponse.platform:type_name -> cc.arduino.cli.commands.v1.BoardPlatform 6, // 3: cc.arduino.cli.commands.v1.BoardDetailsResponse.tools_dependencies:type_name -> cc.arduino.cli.commands.v1.ToolsDependencies 8, // 4: cc.arduino.cli.commands.v1.BoardDetailsResponse.config_options:type_name -> cc.arduino.cli.commands.v1.ConfigOption - 22, // 5: cc.arduino.cli.commands.v1.BoardDetailsResponse.programmers:type_name -> cc.arduino.cli.commands.v1.Programmer + 25, // 5: cc.arduino.cli.commands.v1.BoardDetailsResponse.programmers:type_name -> cc.arduino.cli.commands.v1.Programmer 2, // 6: cc.arduino.cli.commands.v1.BoardDetailsResponse.identification_properties:type_name -> cc.arduino.cli.commands.v1.BoardIdentificationProperties - 20, // 7: cc.arduino.cli.commands.v1.BoardIdentificationProperties.properties:type_name -> cc.arduino.cli.commands.v1.BoardIdentificationProperties.PropertiesEntry + 22, // 7: cc.arduino.cli.commands.v1.BoardIdentificationProperties.properties:type_name -> cc.arduino.cli.commands.v1.BoardIdentificationProperties.PropertiesEntry 4, // 8: cc.arduino.cli.commands.v1.Package.help:type_name -> cc.arduino.cli.commands.v1.Help 7, // 9: cc.arduino.cli.commands.v1.ToolsDependencies.systems:type_name -> cc.arduino.cli.commands.v1.Systems 9, // 10: cc.arduino.cli.commands.v1.ConfigOption.values:type_name -> cc.arduino.cli.commands.v1.ConfigValue - 21, // 11: cc.arduino.cli.commands.v1.BoardListRequest.instance:type_name -> cc.arduino.cli.commands.v1.Instance + 24, // 11: cc.arduino.cli.commands.v1.BoardListRequest.instance:type_name -> cc.arduino.cli.commands.v1.Instance 12, // 12: cc.arduino.cli.commands.v1.BoardListResponse.ports:type_name -> cc.arduino.cli.commands.v1.DetectedPort 17, // 13: cc.arduino.cli.commands.v1.DetectedPort.matching_boards:type_name -> cc.arduino.cli.commands.v1.BoardListItem - 23, // 14: cc.arduino.cli.commands.v1.DetectedPort.port:type_name -> cc.arduino.cli.commands.v1.Port - 21, // 15: cc.arduino.cli.commands.v1.BoardListAllRequest.instance:type_name -> cc.arduino.cli.commands.v1.Instance + 26, // 14: cc.arduino.cli.commands.v1.DetectedPort.port:type_name -> cc.arduino.cli.commands.v1.Port + 24, // 15: cc.arduino.cli.commands.v1.BoardListAllRequest.instance:type_name -> cc.arduino.cli.commands.v1.Instance 17, // 16: cc.arduino.cli.commands.v1.BoardListAllResponse.boards:type_name -> cc.arduino.cli.commands.v1.BoardListItem - 21, // 17: cc.arduino.cli.commands.v1.BoardListWatchRequest.instance:type_name -> cc.arduino.cli.commands.v1.Instance + 24, // 17: cc.arduino.cli.commands.v1.BoardListWatchRequest.instance:type_name -> cc.arduino.cli.commands.v1.Instance 12, // 18: cc.arduino.cli.commands.v1.BoardListWatchResponse.port:type_name -> cc.arduino.cli.commands.v1.DetectedPort - 24, // 19: cc.arduino.cli.commands.v1.BoardListItem.platform:type_name -> cc.arduino.cli.commands.v1.Platform - 21, // 20: cc.arduino.cli.commands.v1.BoardSearchRequest.instance:type_name -> cc.arduino.cli.commands.v1.Instance + 27, // 19: cc.arduino.cli.commands.v1.BoardListItem.platform:type_name -> cc.arduino.cli.commands.v1.Platform + 24, // 20: cc.arduino.cli.commands.v1.BoardSearchRequest.instance:type_name -> cc.arduino.cli.commands.v1.Instance 17, // 21: cc.arduino.cli.commands.v1.BoardSearchResponse.boards:type_name -> cc.arduino.cli.commands.v1.BoardListItem - 22, // [22:22] is the sub-list for method output_type - 22, // [22:22] is the sub-list for method input_type - 22, // [22:22] is the sub-list for extension type_name - 22, // [22:22] is the sub-list for extension extendee - 0, // [0:22] is the sub-list for field type_name + 24, // 22: cc.arduino.cli.commands.v1.BoardIdentifyRequest.instance:type_name -> cc.arduino.cli.commands.v1.Instance + 23, // 23: cc.arduino.cli.commands.v1.BoardIdentifyRequest.properties:type_name -> cc.arduino.cli.commands.v1.BoardIdentifyRequest.PropertiesEntry + 17, // 24: cc.arduino.cli.commands.v1.BoardIdentifyResponse.boards:type_name -> cc.arduino.cli.commands.v1.BoardListItem + 25, // [25:25] is the sub-list for method output_type + 25, // [25:25] is the sub-list for method input_type + 25, // [25:25] is the sub-list for extension type_name + 25, // [25:25] is the sub-list for extension extendee + 0, // [0:25] is the sub-list for field type_name } func init() { file_cc_arduino_cli_commands_v1_board_proto_init() } @@ -2016,6 +2194,30 @@ func file_cc_arduino_cli_commands_v1_board_proto_init() { return nil } } + file_cc_arduino_cli_commands_v1_board_proto_msgTypes[20].Exporter = func(v any, i int) any { + switch v := v.(*BoardIdentifyRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cc_arduino_cli_commands_v1_board_proto_msgTypes[21].Exporter = func(v any, i int) any { + switch v := v.(*BoardIdentifyResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } type x struct{} out := protoimpl.TypeBuilder{ @@ -2023,7 +2225,7 @@ func file_cc_arduino_cli_commands_v1_board_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_cc_arduino_cli_commands_v1_board_proto_rawDesc, NumEnums: 0, - NumMessages: 21, + NumMessages: 24, NumExtensions: 0, NumServices: 0, }, diff --git a/rpc/cc/arduino/cli/commands/v1/board.proto b/rpc/cc/arduino/cli/commands/v1/board.proto index 27be0f19d01..eef8307689d 100644 --- a/rpc/cc/arduino/cli/commands/v1/board.proto +++ b/rpc/cc/arduino/cli/commands/v1/board.proto @@ -162,6 +162,9 @@ message BoardListRequest { // The fully qualified board name of the board you want information about // (e.g., `arduino:avr:uno`). string fqbn = 3; + // If set to true, when a board cannot be identified using the installed + // platforms, the cloud API will not be called to detect the board. + bool skip_cloud_api_for_board_detection = 4; } message BoardListResponse { @@ -195,6 +198,9 @@ message BoardListAllResponse { message BoardListWatchRequest { // Arduino Core Service instance from the `Init` response. Instance instance = 1; + // If set to true, when a board cannot be identified using the installed + // platforms, the cloud API will not be called to detect the board. + bool skip_cloud_api_for_board_detection = 2; } message BoardListWatchResponse { @@ -231,3 +237,18 @@ message BoardSearchResponse { // List of installed and installable boards. repeated BoardListItem boards = 1; } + +message BoardIdentifyRequest { + // Arduino Core Service instance from the `Init` response. + Instance instance = 1; + // A set of properties to search (can be taken from a Port message). + map properties = 2; + // If set to true, when a board cannot be identified using the installed + // platforms, the cloud API will be called to detect the board. + bool use_cloud_api_for_unknown_board_detection = 3; +} + +message BoardIdentifyResponse { + // List of matching boards (they may have an FQBN with options set). + repeated BoardListItem boards = 1; +} diff --git a/rpc/cc/arduino/cli/commands/v1/commands.pb.go b/rpc/cc/arduino/cli/commands/v1/commands.pb.go index b79b2aa7893..b17f636954c 100644 --- a/rpc/cc/arduino/cli/commands/v1/commands.pb.go +++ b/rpc/cc/arduino/cli/commands/v1/commands.pb.go @@ -2081,7 +2081,7 @@ var file_cc_arduino_cli_commands_v1_commands_proto_rawDesc = []byte{ 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x03, 0x12, 0x34, 0x0a, 0x30, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x5f, 0x49, 0x4e, 0x53, 0x54, 0x41, 0x4e, 0x43, 0x45, 0x5f, 0x49, 0x4e, 0x49, 0x54, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x49, 0x4e, 0x44, 0x45, 0x58, 0x5f, 0x44, 0x4f, 0x57, - 0x4e, 0x4c, 0x4f, 0x41, 0x44, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x04, 0x32, 0xfb, 0x2f, + 0x4e, 0x4c, 0x4f, 0x41, 0x44, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x04, 0x32, 0xf1, 0x30, 0x0a, 0x12, 0x41, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x43, 0x6f, 0x72, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x06, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x29, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, @@ -2181,296 +2181,304 @@ var file_cc_arduino_cli_commands_v1_commands_proto_rawDesc = []byte{ 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6f, 0x61, 0x72, 0x64, - 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x79, - 0x0a, 0x0e, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x61, 0x74, 0x63, 0x68, - 0x12, 0x31, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, - 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6f, - 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, - 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x61, 0x74, 0x63, 0x68, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x64, 0x0a, 0x07, 0x43, 0x6f, 0x6d, - 0x70, 0x69, 0x6c, 0x65, 0x12, 0x2a, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, - 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x2b, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, - 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, - 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, - 0x7c, 0x0a, 0x0f, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x49, 0x6e, 0x73, 0x74, 0x61, - 0x6c, 0x6c, 0x12, 0x32, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, - 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, - 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x49, 0x6e, 0x73, 0x74, - 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x7f, 0x0a, - 0x10, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, - 0x64, 0x12, 0x33, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, - 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, - 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, + 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x74, + 0x0a, 0x0d, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x12, + 0x30, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, + 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6f, 0x61, + 0x72, 0x64, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, + 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, + 0x6f, 0x61, 0x72, 0x64, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x79, 0x0a, 0x0e, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, + 0x74, 0x57, 0x61, 0x74, 0x63, 0x68, 0x12, 0x31, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x44, 0x6f, 0x77, 0x6e, - 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x82, - 0x01, 0x0a, 0x11, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x55, 0x6e, 0x69, 0x6e, 0x73, - 0x74, 0x61, 0x6c, 0x6c, 0x12, 0x34, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, - 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x55, 0x6e, 0x69, 0x6e, 0x73, 0x74, - 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x63, 0x63, 0x2e, + 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x61, 0x74, + 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x63, 0x63, 0x2e, 0x61, + 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, + 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, + 0x57, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, + 0x64, 0x0a, 0x07, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x12, 0x2a, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, - 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, - 0x55, 0x6e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x30, 0x01, 0x12, 0x7c, 0x0a, 0x0f, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x55, - 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x12, 0x32, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, + 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x55, 0x70, 0x67, 0x72, - 0x61, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x63, 0x63, 0x2e, + 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x7c, 0x0a, 0x0f, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, + 0x6d, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x12, 0x32, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, + 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, + 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x49, 0x6e, + 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x63, + 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, + 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, + 0x72, 0x6d, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x30, 0x01, 0x12, 0x7f, 0x0a, 0x10, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x44, + 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x33, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, + 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, + 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x44, 0x6f, 0x77, + 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x63, + 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, + 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, + 0x72, 0x6d, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x30, 0x01, 0x12, 0x82, 0x01, 0x0a, 0x11, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, + 0x6d, 0x55, 0x6e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x12, 0x34, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, - 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, - 0x01, 0x12, 0x61, 0x0a, 0x06, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x29, 0x2e, 0x63, 0x63, - 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, - 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, - 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x30, 0x01, 0x12, 0x8e, 0x01, 0x0a, 0x15, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x55, - 0x73, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x6d, 0x65, 0x72, 0x12, 0x38, + 0x55, 0x6e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x35, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, + 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, + 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x55, 0x6e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x7c, 0x0a, 0x0f, 0x50, 0x6c, 0x61, + 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x12, 0x32, 0x2e, 0x63, + 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, + 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, + 0x72, 0x6d, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x33, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, + 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, + 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x61, 0x0a, 0x06, 0x55, 0x70, 0x6c, 0x6f, 0x61, + 0x64, 0x12, 0x29, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, + 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, + 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x63, + 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, + 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x8e, 0x01, 0x0a, 0x15, 0x55, + 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x73, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, + 0x6d, 0x6d, 0x65, 0x72, 0x12, 0x38, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, + 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, + 0x31, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x73, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, + 0x67, 0x72, 0x61, 0x6d, 0x6d, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x73, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x6d, 0x65, - 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, - 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, - 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x73, 0x69, 0x6e, - 0x67, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x6d, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x86, 0x01, 0x0a, 0x13, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, - 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x36, 0x2e, - 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, - 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x70, 0x70, 0x6f, - 0x72, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, - 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, - 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0xb0, - 0x01, 0x0a, 0x21, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x6d, 0x65, - 0x72, 0x73, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x55, 0x70, - 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x44, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, - 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x6d, 0x65, 0x72, - 0x73, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x55, 0x70, 0x6c, - 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x45, 0x2e, 0x63, 0x63, 0x2e, + 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x86, 0x01, 0x0a, 0x13, + 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x46, 0x69, 0x65, + 0x6c, 0x64, 0x73, 0x12, 0x36, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, + 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, + 0x2e, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x46, 0x69, + 0x65, 0x6c, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x63, 0x63, + 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, + 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, + 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0xb0, 0x01, 0x0a, 0x21, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, + 0x67, 0x72, 0x61, 0x6d, 0x6d, 0x65, 0x72, 0x73, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, + 0x65, 0x46, 0x6f, 0x72, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x44, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x6d, 0x65, 0x72, 0x73, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, - 0x46, 0x6f, 0x72, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x79, 0x0a, 0x0e, 0x42, 0x75, 0x72, 0x6e, 0x42, 0x6f, 0x6f, 0x74, 0x6c, 0x6f, 0x61, - 0x64, 0x65, 0x72, 0x12, 0x31, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, - 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x42, 0x75, 0x72, 0x6e, 0x42, 0x6f, 0x6f, 0x74, 0x6c, 0x6f, 0x61, 0x64, 0x65, 0x72, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, - 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x72, 0x6e, 0x42, 0x6f, 0x6f, 0x74, 0x6c, 0x6f, 0x61, 0x64, - 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x77, 0x0a, 0x0e, - 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0x31, - 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, - 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x74, - 0x66, 0x6f, 0x72, 0x6d, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x32, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, - 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, - 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7c, 0x0a, 0x0f, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, - 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x32, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, - 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, - 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x44, 0x6f, 0x77, - 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x63, - 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, - 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, - 0x79, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x30, 0x01, 0x12, 0x79, 0x0a, 0x0e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x49, 0x6e, - 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x12, 0x31, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, - 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, - 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, - 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, - 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x49, 0x6e, 0x73, - 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x79, - 0x0a, 0x0e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, - 0x12, 0x31, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, + 0x46, 0x6f, 0x72, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x45, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, - 0x62, 0x72, 0x61, 0x72, 0x79, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, - 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x82, 0x01, 0x0a, 0x11, 0x5a, 0x69, - 0x70, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x12, - 0x34, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, - 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x5a, 0x69, 0x70, - 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, + 0x73, 0x74, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x6d, 0x65, 0x72, 0x73, 0x41, 0x76, 0x61, + 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x79, 0x0a, 0x0e, 0x42, 0x75, 0x72, 0x6e, 0x42, + 0x6f, 0x6f, 0x74, 0x6c, 0x6f, 0x61, 0x64, 0x65, 0x72, 0x12, 0x31, 0x2e, 0x63, 0x63, 0x2e, 0x61, + 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, + 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x72, 0x6e, 0x42, 0x6f, 0x6f, 0x74, 0x6c, + 0x6f, 0x61, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x63, + 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, + 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x72, 0x6e, 0x42, 0x6f, + 0x6f, 0x74, 0x6c, 0x6f, 0x61, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x30, 0x01, 0x12, 0x77, 0x0a, 0x0e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x53, 0x65, + 0x61, 0x72, 0x63, 0x68, 0x12, 0x31, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, + 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, + 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, + 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, + 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x53, 0x65, 0x61, + 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7c, 0x0a, 0x0f, 0x4c, + 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x32, + 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, + 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, 0x72, + 0x61, 0x72, 0x79, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, + 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, + 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x79, 0x0a, 0x0e, 0x4c, 0x69, 0x62, + 0x72, 0x61, 0x72, 0x79, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x12, 0x31, 0x2e, 0x63, 0x63, + 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, + 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, + 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, + 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, + 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, 0x72, + 0x61, 0x72, 0x79, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x30, 0x01, 0x12, 0x79, 0x0a, 0x0e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x55, + 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x12, 0x31, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, + 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, + 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x55, 0x70, 0x67, 0x72, 0x61, + 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x63, 0x63, 0x2e, 0x61, + 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, + 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x55, 0x70, + 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, + 0x82, 0x01, 0x0a, 0x11, 0x5a, 0x69, 0x70, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x49, 0x6e, + 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x12, 0x34, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x5a, 0x69, 0x70, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x49, 0x6e, 0x73, - 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x82, - 0x01, 0x0a, 0x11, 0x47, 0x69, 0x74, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x49, 0x6e, 0x73, - 0x74, 0x61, 0x6c, 0x6c, 0x12, 0x34, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, - 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x47, 0x69, 0x74, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x49, 0x6e, 0x73, 0x74, - 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x63, 0x63, 0x2e, + 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x63, 0x63, + 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, + 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x5a, 0x69, 0x70, 0x4c, 0x69, 0x62, 0x72, + 0x61, 0x72, 0x79, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x30, 0x01, 0x12, 0x82, 0x01, 0x0a, 0x11, 0x47, 0x69, 0x74, 0x4c, 0x69, 0x62, 0x72, + 0x61, 0x72, 0x79, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x12, 0x34, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x69, 0x74, 0x4c, 0x69, 0x62, 0x72, 0x61, - 0x72, 0x79, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x30, 0x01, 0x12, 0x7f, 0x0a, 0x10, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x55, 0x6e, - 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x12, 0x33, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, - 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x55, 0x6e, 0x69, 0x6e, - 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x63, - 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, - 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, - 0x79, 0x55, 0x6e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x30, 0x01, 0x12, 0x82, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, - 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x41, 0x6c, 0x6c, 0x12, 0x34, 0x2e, 0x63, 0x63, 0x2e, - 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, - 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x55, - 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x72, 0x79, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, + 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x69, + 0x74, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x7f, 0x0a, 0x10, 0x4c, 0x69, 0x62, + 0x72, 0x61, 0x72, 0x79, 0x55, 0x6e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x12, 0x33, 0x2e, + 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, + 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, 0x72, 0x61, + 0x72, 0x79, 0x55, 0x6e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, + 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, + 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x55, 0x6e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x82, 0x01, 0x0a, 0x11, 0x4c, + 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x41, 0x6c, 0x6c, + 0x12, 0x34, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x41, 0x6c, 0x6c, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x9b, 0x01, 0x0a, 0x1a, 0x4c, 0x69, - 0x62, 0x72, 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x44, 0x65, 0x70, 0x65, - 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x12, 0x3d, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, - 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, - 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, - 0x6f, 0x6c, 0x76, 0x65, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3e, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, - 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, 0x6f, - 0x6c, 0x76, 0x65, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x74, 0x0a, 0x0d, 0x4c, 0x69, 0x62, 0x72, 0x61, - 0x72, 0x79, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0x30, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, - 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, - 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x53, 0x65, 0x61, - 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x63, 0x2e, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, + 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, + 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x55, 0x70, 0x67, 0x72, 0x61, + 0x64, 0x65, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, + 0x9b, 0x01, 0x0a, 0x1a, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x6c, + 0x76, 0x65, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x12, 0x3d, + 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, + 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, 0x72, + 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, + 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3e, 0x2e, + 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, + 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, 0x72, 0x61, + 0x72, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, + 0x6e, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x74, 0x0a, + 0x0d, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0x30, + 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, + 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, 0x72, + 0x61, 0x72, 0x79, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x31, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, + 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, + 0x62, 0x72, 0x61, 0x72, 0x79, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x0b, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x4c, 0x69, + 0x73, 0x74, 0x12, 0x2e, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, + 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, + 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, + 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, + 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x66, 0x0a, 0x07, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x12, 0x2a, + 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, + 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x6e, 0x69, + 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, - 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x53, - 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, - 0x0b, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2e, 0x2e, 0x63, - 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, - 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, - 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x63, + 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x28, 0x01, 0x30, 0x01, 0x12, 0xa1, 0x01, 0x0a, 0x1c, + 0x45, 0x6e, 0x75, 0x6d, 0x65, 0x72, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, + 0x50, 0x6f, 0x72, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x3f, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, - 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, - 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x66, 0x0a, - 0x07, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x12, 0x2a, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, - 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, - 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, - 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x28, 0x01, 0x30, 0x01, 0x12, 0xa1, 0x01, 0x0a, 0x1c, 0x45, 0x6e, 0x75, 0x6d, 0x65, 0x72, + 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x65, 0x72, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x50, 0x6f, 0x72, 0x74, 0x53, 0x65, - 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x3f, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, - 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x65, 0x72, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x6e, - 0x69, 0x74, 0x6f, 0x72, 0x50, 0x6f, 0x72, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x40, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, - 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x65, 0x72, 0x61, 0x74, 0x65, 0x4d, 0x6f, - 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x50, 0x6f, 0x72, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x05, 0x44, 0x65, 0x62, - 0x75, 0x67, 0x12, 0x28, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, + 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x40, 0x2e, + 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, + 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x65, + 0x72, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x50, 0x6f, 0x72, 0x74, 0x53, + 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x62, 0x0a, 0x05, 0x44, 0x65, 0x62, 0x75, 0x67, 0x12, 0x28, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, + 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, + 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x62, 0x75, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x44, 0x65, 0x62, 0x75, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x63, + 0x44, 0x65, 0x62, 0x75, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, + 0x01, 0x30, 0x01, 0x12, 0x7f, 0x0a, 0x10, 0x49, 0x73, 0x44, 0x65, 0x62, 0x75, 0x67, 0x53, 0x75, + 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x12, 0x33, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, + 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, + 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, 0x44, 0x65, 0x62, 0x75, 0x67, 0x53, 0x75, 0x70, 0x70, + 0x6f, 0x72, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, - 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x62, 0x75, 0x67, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x12, 0x7f, 0x0a, - 0x10, 0x49, 0x73, 0x44, 0x65, 0x62, 0x75, 0x67, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, - 0x64, 0x12, 0x33, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, - 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, - 0x73, 0x44, 0x65, 0x62, 0x75, 0x67, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, + 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, 0x44, 0x65, 0x62, 0x75, + 0x67, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x79, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x44, 0x65, 0x62, 0x75, 0x67, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x31, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x73, 0x44, 0x65, 0x62, 0x75, 0x67, 0x53, 0x75, 0x70, 0x70, 0x6f, - 0x72, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x79, - 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x44, 0x65, 0x62, 0x75, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x12, 0x31, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, - 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, - 0x74, 0x44, 0x65, 0x62, 0x75, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, - 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x47, 0x65, 0x74, 0x44, 0x65, 0x62, 0x75, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x98, 0x01, 0x0a, 0x19, 0x43, 0x68, - 0x65, 0x63, 0x6b, 0x46, 0x6f, 0x72, 0x41, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x43, 0x4c, 0x49, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x12, 0x3c, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, - 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x46, 0x6f, 0x72, 0x41, 0x72, 0x64, - 0x75, 0x69, 0x6e, 0x6f, 0x43, 0x4c, 0x49, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3d, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, - 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x46, 0x6f, 0x72, 0x41, 0x72, 0x64, 0x75, 0x69, - 0x6e, 0x6f, 0x43, 0x4c, 0x49, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x9e, 0x01, 0x0a, 0x1b, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x44, 0x6f, - 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x43, 0x61, 0x63, 0x68, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, - 0x74, 0x6f, 0x72, 0x79, 0x12, 0x3e, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, - 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x43, - 0x61, 0x63, 0x68, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3f, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, - 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x43, - 0x61, 0x63, 0x68, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x80, 0x01, 0x0a, 0x11, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x61, 0x76, 0x65, 0x12, 0x34, 0x2e, 0x63, 0x63, + 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x65, 0x62, 0x75, 0x67, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x63, 0x63, 0x2e, 0x61, + 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, + 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x65, 0x62, 0x75, 0x67, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x98, 0x01, 0x0a, 0x19, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x46, 0x6f, 0x72, 0x41, 0x72, 0x64, 0x75, + 0x69, 0x6e, 0x6f, 0x43, 0x4c, 0x49, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x12, 0x3c, 0x2e, + 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, + 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, + 0x46, 0x6f, 0x72, 0x41, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x43, 0x4c, 0x49, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3d, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, - 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x61, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x35, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, + 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x46, 0x6f, + 0x72, 0x41, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x43, 0x4c, 0x49, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x9e, 0x01, 0x0a, 0x1b, 0x43, + 0x6c, 0x65, 0x61, 0x6e, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x43, 0x61, 0x63, 0x68, + 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x3e, 0x2e, 0x63, 0x63, 0x2e, + 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, + 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x44, 0x6f, 0x77, + 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x43, 0x61, 0x63, 0x68, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3f, 0x2e, 0x63, 0x63, 0x2e, + 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, + 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x44, 0x6f, 0x77, + 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x43, 0x61, 0x63, 0x68, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x80, 0x01, 0x0a, 0x11, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x61, 0x76, + 0x65, 0x12, 0x34, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x61, 0x76, 0x65, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x80, 0x01, 0x0a, 0x11, 0x43, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x34, - 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, - 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x65, 0x6e, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, + 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, + 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x53, 0x61, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x80, + 0x01, 0x0a, 0x11, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x34, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, - 0x70, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7d, 0x0a, 0x10, 0x43, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x12, - 0x33, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, - 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, - 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, - 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x80, 0x01, 0x0a, 0x11, 0x53, - 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x45, 0x6e, 0x75, 0x6d, 0x65, 0x72, 0x61, 0x74, 0x65, - 0x12, 0x34, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, - 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, - 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x45, 0x6e, 0x75, 0x6d, 0x65, 0x72, 0x61, 0x74, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, + 0x70, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x63, 0x63, 0x2e, + 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, + 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x7d, 0x0a, 0x10, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x12, 0x33, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, + 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, + 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x63, 0x63, 0x2e, + 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, + 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x80, 0x01, 0x0a, 0x11, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x45, 0x6e, 0x75, + 0x6d, 0x65, 0x72, 0x61, 0x74, 0x65, 0x12, 0x34, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x45, 0x6e, 0x75, 0x6d, - 0x65, 0x72, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7d, 0x0a, - 0x10, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x12, 0x33, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, - 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, - 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, + 0x65, 0x72, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x63, + 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, + 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, + 0x67, 0x73, 0x45, 0x6e, 0x75, 0x6d, 0x65, 0x72, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x7d, 0x0a, 0x10, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x47, + 0x65, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x33, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, + 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, + 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x47, 0x65, 0x74, + 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x63, + 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, + 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, + 0x67, 0x73, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x7d, 0x0a, 0x10, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x53, 0x65, + 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x33, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x47, 0x65, 0x74, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7d, 0x0a, 0x10, - 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x53, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x12, 0x33, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, - 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, - 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x53, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, - 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x53, 0x65, 0x74, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x48, 0x5a, 0x46, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, - 0x6f, 0x2f, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2d, 0x63, 0x6c, 0x69, 0x2f, 0x72, 0x70, - 0x63, 0x2f, 0x63, 0x63, 0x2f, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2f, 0x63, 0x6c, 0x69, - 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x63, 0x6f, 0x6d, - 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x53, 0x65, 0x74, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x63, 0x63, + 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, + 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, + 0x73, 0x53, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x42, 0x48, 0x5a, 0x46, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2f, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2d, + 0x63, 0x6c, 0x69, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x63, 0x63, 0x2f, 0x61, 0x72, 0x64, 0x75, 0x69, + 0x6e, 0x6f, 0x2f, 0x63, 0x6c, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2f, + 0x76, 0x31, 0x3b, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, } var ( @@ -2529,76 +2537,78 @@ var file_cc_arduino_cli_commands_v1_commands_proto_goTypes = []any{ (*BoardListRequest)(nil), // 38: cc.arduino.cli.commands.v1.BoardListRequest (*BoardListAllRequest)(nil), // 39: cc.arduino.cli.commands.v1.BoardListAllRequest (*BoardSearchRequest)(nil), // 40: cc.arduino.cli.commands.v1.BoardSearchRequest - (*BoardListWatchRequest)(nil), // 41: cc.arduino.cli.commands.v1.BoardListWatchRequest - (*CompileRequest)(nil), // 42: cc.arduino.cli.commands.v1.CompileRequest - (*PlatformInstallRequest)(nil), // 43: cc.arduino.cli.commands.v1.PlatformInstallRequest - (*PlatformDownloadRequest)(nil), // 44: cc.arduino.cli.commands.v1.PlatformDownloadRequest - (*PlatformUninstallRequest)(nil), // 45: cc.arduino.cli.commands.v1.PlatformUninstallRequest - (*PlatformUpgradeRequest)(nil), // 46: cc.arduino.cli.commands.v1.PlatformUpgradeRequest - (*UploadRequest)(nil), // 47: cc.arduino.cli.commands.v1.UploadRequest - (*UploadUsingProgrammerRequest)(nil), // 48: cc.arduino.cli.commands.v1.UploadUsingProgrammerRequest - (*SupportedUserFieldsRequest)(nil), // 49: cc.arduino.cli.commands.v1.SupportedUserFieldsRequest - (*ListProgrammersAvailableForUploadRequest)(nil), // 50: cc.arduino.cli.commands.v1.ListProgrammersAvailableForUploadRequest - (*BurnBootloaderRequest)(nil), // 51: cc.arduino.cli.commands.v1.BurnBootloaderRequest - (*PlatformSearchRequest)(nil), // 52: cc.arduino.cli.commands.v1.PlatformSearchRequest - (*LibraryDownloadRequest)(nil), // 53: cc.arduino.cli.commands.v1.LibraryDownloadRequest - (*LibraryInstallRequest)(nil), // 54: cc.arduino.cli.commands.v1.LibraryInstallRequest - (*LibraryUpgradeRequest)(nil), // 55: cc.arduino.cli.commands.v1.LibraryUpgradeRequest - (*ZipLibraryInstallRequest)(nil), // 56: cc.arduino.cli.commands.v1.ZipLibraryInstallRequest - (*GitLibraryInstallRequest)(nil), // 57: cc.arduino.cli.commands.v1.GitLibraryInstallRequest - (*LibraryUninstallRequest)(nil), // 58: cc.arduino.cli.commands.v1.LibraryUninstallRequest - (*LibraryUpgradeAllRequest)(nil), // 59: cc.arduino.cli.commands.v1.LibraryUpgradeAllRequest - (*LibraryResolveDependenciesRequest)(nil), // 60: cc.arduino.cli.commands.v1.LibraryResolveDependenciesRequest - (*LibrarySearchRequest)(nil), // 61: cc.arduino.cli.commands.v1.LibrarySearchRequest - (*LibraryListRequest)(nil), // 62: cc.arduino.cli.commands.v1.LibraryListRequest - (*MonitorRequest)(nil), // 63: cc.arduino.cli.commands.v1.MonitorRequest - (*EnumerateMonitorPortSettingsRequest)(nil), // 64: cc.arduino.cli.commands.v1.EnumerateMonitorPortSettingsRequest - (*DebugRequest)(nil), // 65: cc.arduino.cli.commands.v1.DebugRequest - (*IsDebugSupportedRequest)(nil), // 66: cc.arduino.cli.commands.v1.IsDebugSupportedRequest - (*GetDebugConfigRequest)(nil), // 67: cc.arduino.cli.commands.v1.GetDebugConfigRequest - (*ConfigurationSaveRequest)(nil), // 68: cc.arduino.cli.commands.v1.ConfigurationSaveRequest - (*ConfigurationOpenRequest)(nil), // 69: cc.arduino.cli.commands.v1.ConfigurationOpenRequest - (*ConfigurationGetRequest)(nil), // 70: cc.arduino.cli.commands.v1.ConfigurationGetRequest - (*SettingsEnumerateRequest)(nil), // 71: cc.arduino.cli.commands.v1.SettingsEnumerateRequest - (*SettingsGetValueRequest)(nil), // 72: cc.arduino.cli.commands.v1.SettingsGetValueRequest - (*SettingsSetValueRequest)(nil), // 73: cc.arduino.cli.commands.v1.SettingsSetValueRequest - (*BoardDetailsResponse)(nil), // 74: cc.arduino.cli.commands.v1.BoardDetailsResponse - (*BoardListResponse)(nil), // 75: cc.arduino.cli.commands.v1.BoardListResponse - (*BoardListAllResponse)(nil), // 76: cc.arduino.cli.commands.v1.BoardListAllResponse - (*BoardSearchResponse)(nil), // 77: cc.arduino.cli.commands.v1.BoardSearchResponse - (*BoardListWatchResponse)(nil), // 78: cc.arduino.cli.commands.v1.BoardListWatchResponse - (*CompileResponse)(nil), // 79: cc.arduino.cli.commands.v1.CompileResponse - (*PlatformInstallResponse)(nil), // 80: cc.arduino.cli.commands.v1.PlatformInstallResponse - (*PlatformDownloadResponse)(nil), // 81: cc.arduino.cli.commands.v1.PlatformDownloadResponse - (*PlatformUninstallResponse)(nil), // 82: cc.arduino.cli.commands.v1.PlatformUninstallResponse - (*PlatformUpgradeResponse)(nil), // 83: cc.arduino.cli.commands.v1.PlatformUpgradeResponse - (*UploadResponse)(nil), // 84: cc.arduino.cli.commands.v1.UploadResponse - (*UploadUsingProgrammerResponse)(nil), // 85: cc.arduino.cli.commands.v1.UploadUsingProgrammerResponse - (*SupportedUserFieldsResponse)(nil), // 86: cc.arduino.cli.commands.v1.SupportedUserFieldsResponse - (*ListProgrammersAvailableForUploadResponse)(nil), // 87: cc.arduino.cli.commands.v1.ListProgrammersAvailableForUploadResponse - (*BurnBootloaderResponse)(nil), // 88: cc.arduino.cli.commands.v1.BurnBootloaderResponse - (*PlatformSearchResponse)(nil), // 89: cc.arduino.cli.commands.v1.PlatformSearchResponse - (*LibraryDownloadResponse)(nil), // 90: cc.arduino.cli.commands.v1.LibraryDownloadResponse - (*LibraryInstallResponse)(nil), // 91: cc.arduino.cli.commands.v1.LibraryInstallResponse - (*LibraryUpgradeResponse)(nil), // 92: cc.arduino.cli.commands.v1.LibraryUpgradeResponse - (*ZipLibraryInstallResponse)(nil), // 93: cc.arduino.cli.commands.v1.ZipLibraryInstallResponse - (*GitLibraryInstallResponse)(nil), // 94: cc.arduino.cli.commands.v1.GitLibraryInstallResponse - (*LibraryUninstallResponse)(nil), // 95: cc.arduino.cli.commands.v1.LibraryUninstallResponse - (*LibraryUpgradeAllResponse)(nil), // 96: cc.arduino.cli.commands.v1.LibraryUpgradeAllResponse - (*LibraryResolveDependenciesResponse)(nil), // 97: cc.arduino.cli.commands.v1.LibraryResolveDependenciesResponse - (*LibrarySearchResponse)(nil), // 98: cc.arduino.cli.commands.v1.LibrarySearchResponse - (*LibraryListResponse)(nil), // 99: cc.arduino.cli.commands.v1.LibraryListResponse - (*MonitorResponse)(nil), // 100: cc.arduino.cli.commands.v1.MonitorResponse - (*EnumerateMonitorPortSettingsResponse)(nil), // 101: cc.arduino.cli.commands.v1.EnumerateMonitorPortSettingsResponse - (*DebugResponse)(nil), // 102: cc.arduino.cli.commands.v1.DebugResponse - (*IsDebugSupportedResponse)(nil), // 103: cc.arduino.cli.commands.v1.IsDebugSupportedResponse - (*GetDebugConfigResponse)(nil), // 104: cc.arduino.cli.commands.v1.GetDebugConfigResponse - (*ConfigurationSaveResponse)(nil), // 105: cc.arduino.cli.commands.v1.ConfigurationSaveResponse - (*ConfigurationOpenResponse)(nil), // 106: cc.arduino.cli.commands.v1.ConfigurationOpenResponse - (*ConfigurationGetResponse)(nil), // 107: cc.arduino.cli.commands.v1.ConfigurationGetResponse - (*SettingsEnumerateResponse)(nil), // 108: cc.arduino.cli.commands.v1.SettingsEnumerateResponse - (*SettingsGetValueResponse)(nil), // 109: cc.arduino.cli.commands.v1.SettingsGetValueResponse - (*SettingsSetValueResponse)(nil), // 110: cc.arduino.cli.commands.v1.SettingsSetValueResponse + (*BoardIdentifyRequest)(nil), // 41: cc.arduino.cli.commands.v1.BoardIdentifyRequest + (*BoardListWatchRequest)(nil), // 42: cc.arduino.cli.commands.v1.BoardListWatchRequest + (*CompileRequest)(nil), // 43: cc.arduino.cli.commands.v1.CompileRequest + (*PlatformInstallRequest)(nil), // 44: cc.arduino.cli.commands.v1.PlatformInstallRequest + (*PlatformDownloadRequest)(nil), // 45: cc.arduino.cli.commands.v1.PlatformDownloadRequest + (*PlatformUninstallRequest)(nil), // 46: cc.arduino.cli.commands.v1.PlatformUninstallRequest + (*PlatformUpgradeRequest)(nil), // 47: cc.arduino.cli.commands.v1.PlatformUpgradeRequest + (*UploadRequest)(nil), // 48: cc.arduino.cli.commands.v1.UploadRequest + (*UploadUsingProgrammerRequest)(nil), // 49: cc.arduino.cli.commands.v1.UploadUsingProgrammerRequest + (*SupportedUserFieldsRequest)(nil), // 50: cc.arduino.cli.commands.v1.SupportedUserFieldsRequest + (*ListProgrammersAvailableForUploadRequest)(nil), // 51: cc.arduino.cli.commands.v1.ListProgrammersAvailableForUploadRequest + (*BurnBootloaderRequest)(nil), // 52: cc.arduino.cli.commands.v1.BurnBootloaderRequest + (*PlatformSearchRequest)(nil), // 53: cc.arduino.cli.commands.v1.PlatformSearchRequest + (*LibraryDownloadRequest)(nil), // 54: cc.arduino.cli.commands.v1.LibraryDownloadRequest + (*LibraryInstallRequest)(nil), // 55: cc.arduino.cli.commands.v1.LibraryInstallRequest + (*LibraryUpgradeRequest)(nil), // 56: cc.arduino.cli.commands.v1.LibraryUpgradeRequest + (*ZipLibraryInstallRequest)(nil), // 57: cc.arduino.cli.commands.v1.ZipLibraryInstallRequest + (*GitLibraryInstallRequest)(nil), // 58: cc.arduino.cli.commands.v1.GitLibraryInstallRequest + (*LibraryUninstallRequest)(nil), // 59: cc.arduino.cli.commands.v1.LibraryUninstallRequest + (*LibraryUpgradeAllRequest)(nil), // 60: cc.arduino.cli.commands.v1.LibraryUpgradeAllRequest + (*LibraryResolveDependenciesRequest)(nil), // 61: cc.arduino.cli.commands.v1.LibraryResolveDependenciesRequest + (*LibrarySearchRequest)(nil), // 62: cc.arduino.cli.commands.v1.LibrarySearchRequest + (*LibraryListRequest)(nil), // 63: cc.arduino.cli.commands.v1.LibraryListRequest + (*MonitorRequest)(nil), // 64: cc.arduino.cli.commands.v1.MonitorRequest + (*EnumerateMonitorPortSettingsRequest)(nil), // 65: cc.arduino.cli.commands.v1.EnumerateMonitorPortSettingsRequest + (*DebugRequest)(nil), // 66: cc.arduino.cli.commands.v1.DebugRequest + (*IsDebugSupportedRequest)(nil), // 67: cc.arduino.cli.commands.v1.IsDebugSupportedRequest + (*GetDebugConfigRequest)(nil), // 68: cc.arduino.cli.commands.v1.GetDebugConfigRequest + (*ConfigurationSaveRequest)(nil), // 69: cc.arduino.cli.commands.v1.ConfigurationSaveRequest + (*ConfigurationOpenRequest)(nil), // 70: cc.arduino.cli.commands.v1.ConfigurationOpenRequest + (*ConfigurationGetRequest)(nil), // 71: cc.arduino.cli.commands.v1.ConfigurationGetRequest + (*SettingsEnumerateRequest)(nil), // 72: cc.arduino.cli.commands.v1.SettingsEnumerateRequest + (*SettingsGetValueRequest)(nil), // 73: cc.arduino.cli.commands.v1.SettingsGetValueRequest + (*SettingsSetValueRequest)(nil), // 74: cc.arduino.cli.commands.v1.SettingsSetValueRequest + (*BoardDetailsResponse)(nil), // 75: cc.arduino.cli.commands.v1.BoardDetailsResponse + (*BoardListResponse)(nil), // 76: cc.arduino.cli.commands.v1.BoardListResponse + (*BoardListAllResponse)(nil), // 77: cc.arduino.cli.commands.v1.BoardListAllResponse + (*BoardSearchResponse)(nil), // 78: cc.arduino.cli.commands.v1.BoardSearchResponse + (*BoardIdentifyResponse)(nil), // 79: cc.arduino.cli.commands.v1.BoardIdentifyResponse + (*BoardListWatchResponse)(nil), // 80: cc.arduino.cli.commands.v1.BoardListWatchResponse + (*CompileResponse)(nil), // 81: cc.arduino.cli.commands.v1.CompileResponse + (*PlatformInstallResponse)(nil), // 82: cc.arduino.cli.commands.v1.PlatformInstallResponse + (*PlatformDownloadResponse)(nil), // 83: cc.arduino.cli.commands.v1.PlatformDownloadResponse + (*PlatformUninstallResponse)(nil), // 84: cc.arduino.cli.commands.v1.PlatformUninstallResponse + (*PlatformUpgradeResponse)(nil), // 85: cc.arduino.cli.commands.v1.PlatformUpgradeResponse + (*UploadResponse)(nil), // 86: cc.arduino.cli.commands.v1.UploadResponse + (*UploadUsingProgrammerResponse)(nil), // 87: cc.arduino.cli.commands.v1.UploadUsingProgrammerResponse + (*SupportedUserFieldsResponse)(nil), // 88: cc.arduino.cli.commands.v1.SupportedUserFieldsResponse + (*ListProgrammersAvailableForUploadResponse)(nil), // 89: cc.arduino.cli.commands.v1.ListProgrammersAvailableForUploadResponse + (*BurnBootloaderResponse)(nil), // 90: cc.arduino.cli.commands.v1.BurnBootloaderResponse + (*PlatformSearchResponse)(nil), // 91: cc.arduino.cli.commands.v1.PlatformSearchResponse + (*LibraryDownloadResponse)(nil), // 92: cc.arduino.cli.commands.v1.LibraryDownloadResponse + (*LibraryInstallResponse)(nil), // 93: cc.arduino.cli.commands.v1.LibraryInstallResponse + (*LibraryUpgradeResponse)(nil), // 94: cc.arduino.cli.commands.v1.LibraryUpgradeResponse + (*ZipLibraryInstallResponse)(nil), // 95: cc.arduino.cli.commands.v1.ZipLibraryInstallResponse + (*GitLibraryInstallResponse)(nil), // 96: cc.arduino.cli.commands.v1.GitLibraryInstallResponse + (*LibraryUninstallResponse)(nil), // 97: cc.arduino.cli.commands.v1.LibraryUninstallResponse + (*LibraryUpgradeAllResponse)(nil), // 98: cc.arduino.cli.commands.v1.LibraryUpgradeAllResponse + (*LibraryResolveDependenciesResponse)(nil), // 99: cc.arduino.cli.commands.v1.LibraryResolveDependenciesResponse + (*LibrarySearchResponse)(nil), // 100: cc.arduino.cli.commands.v1.LibrarySearchResponse + (*LibraryListResponse)(nil), // 101: cc.arduino.cli.commands.v1.LibraryListResponse + (*MonitorResponse)(nil), // 102: cc.arduino.cli.commands.v1.MonitorResponse + (*EnumerateMonitorPortSettingsResponse)(nil), // 103: cc.arduino.cli.commands.v1.EnumerateMonitorPortSettingsResponse + (*DebugResponse)(nil), // 104: cc.arduino.cli.commands.v1.DebugResponse + (*IsDebugSupportedResponse)(nil), // 105: cc.arduino.cli.commands.v1.IsDebugSupportedResponse + (*GetDebugConfigResponse)(nil), // 106: cc.arduino.cli.commands.v1.GetDebugConfigResponse + (*ConfigurationSaveResponse)(nil), // 107: cc.arduino.cli.commands.v1.ConfigurationSaveResponse + (*ConfigurationOpenResponse)(nil), // 108: cc.arduino.cli.commands.v1.ConfigurationOpenResponse + (*ConfigurationGetResponse)(nil), // 109: cc.arduino.cli.commands.v1.ConfigurationGetResponse + (*SettingsEnumerateResponse)(nil), // 110: cc.arduino.cli.commands.v1.SettingsEnumerateResponse + (*SettingsGetValueResponse)(nil), // 111: cc.arduino.cli.commands.v1.SettingsGetValueResponse + (*SettingsSetValueResponse)(nil), // 112: cc.arduino.cli.commands.v1.SettingsSetValueResponse } var file_cc_arduino_cli_commands_v1_commands_proto_depIdxs = []int32{ 31, // 0: cc.arduino.cli.commands.v1.CreateResponse.instance:type_name -> cc.arduino.cli.commands.v1.Instance @@ -2635,92 +2645,94 @@ var file_cc_arduino_cli_commands_v1_commands_proto_depIdxs = []int32{ 38, // 31: cc.arduino.cli.commands.v1.ArduinoCoreService.BoardList:input_type -> cc.arduino.cli.commands.v1.BoardListRequest 39, // 32: cc.arduino.cli.commands.v1.ArduinoCoreService.BoardListAll:input_type -> cc.arduino.cli.commands.v1.BoardListAllRequest 40, // 33: cc.arduino.cli.commands.v1.ArduinoCoreService.BoardSearch:input_type -> cc.arduino.cli.commands.v1.BoardSearchRequest - 41, // 34: cc.arduino.cli.commands.v1.ArduinoCoreService.BoardListWatch:input_type -> cc.arduino.cli.commands.v1.BoardListWatchRequest - 42, // 35: cc.arduino.cli.commands.v1.ArduinoCoreService.Compile:input_type -> cc.arduino.cli.commands.v1.CompileRequest - 43, // 36: cc.arduino.cli.commands.v1.ArduinoCoreService.PlatformInstall:input_type -> cc.arduino.cli.commands.v1.PlatformInstallRequest - 44, // 37: cc.arduino.cli.commands.v1.ArduinoCoreService.PlatformDownload:input_type -> cc.arduino.cli.commands.v1.PlatformDownloadRequest - 45, // 38: cc.arduino.cli.commands.v1.ArduinoCoreService.PlatformUninstall:input_type -> cc.arduino.cli.commands.v1.PlatformUninstallRequest - 46, // 39: cc.arduino.cli.commands.v1.ArduinoCoreService.PlatformUpgrade:input_type -> cc.arduino.cli.commands.v1.PlatformUpgradeRequest - 47, // 40: cc.arduino.cli.commands.v1.ArduinoCoreService.Upload:input_type -> cc.arduino.cli.commands.v1.UploadRequest - 48, // 41: cc.arduino.cli.commands.v1.ArduinoCoreService.UploadUsingProgrammer:input_type -> cc.arduino.cli.commands.v1.UploadUsingProgrammerRequest - 49, // 42: cc.arduino.cli.commands.v1.ArduinoCoreService.SupportedUserFields:input_type -> cc.arduino.cli.commands.v1.SupportedUserFieldsRequest - 50, // 43: cc.arduino.cli.commands.v1.ArduinoCoreService.ListProgrammersAvailableForUpload:input_type -> cc.arduino.cli.commands.v1.ListProgrammersAvailableForUploadRequest - 51, // 44: cc.arduino.cli.commands.v1.ArduinoCoreService.BurnBootloader:input_type -> cc.arduino.cli.commands.v1.BurnBootloaderRequest - 52, // 45: cc.arduino.cli.commands.v1.ArduinoCoreService.PlatformSearch:input_type -> cc.arduino.cli.commands.v1.PlatformSearchRequest - 53, // 46: cc.arduino.cli.commands.v1.ArduinoCoreService.LibraryDownload:input_type -> cc.arduino.cli.commands.v1.LibraryDownloadRequest - 54, // 47: cc.arduino.cli.commands.v1.ArduinoCoreService.LibraryInstall:input_type -> cc.arduino.cli.commands.v1.LibraryInstallRequest - 55, // 48: cc.arduino.cli.commands.v1.ArduinoCoreService.LibraryUpgrade:input_type -> cc.arduino.cli.commands.v1.LibraryUpgradeRequest - 56, // 49: cc.arduino.cli.commands.v1.ArduinoCoreService.ZipLibraryInstall:input_type -> cc.arduino.cli.commands.v1.ZipLibraryInstallRequest - 57, // 50: cc.arduino.cli.commands.v1.ArduinoCoreService.GitLibraryInstall:input_type -> cc.arduino.cli.commands.v1.GitLibraryInstallRequest - 58, // 51: cc.arduino.cli.commands.v1.ArduinoCoreService.LibraryUninstall:input_type -> cc.arduino.cli.commands.v1.LibraryUninstallRequest - 59, // 52: cc.arduino.cli.commands.v1.ArduinoCoreService.LibraryUpgradeAll:input_type -> cc.arduino.cli.commands.v1.LibraryUpgradeAllRequest - 60, // 53: cc.arduino.cli.commands.v1.ArduinoCoreService.LibraryResolveDependencies:input_type -> cc.arduino.cli.commands.v1.LibraryResolveDependenciesRequest - 61, // 54: cc.arduino.cli.commands.v1.ArduinoCoreService.LibrarySearch:input_type -> cc.arduino.cli.commands.v1.LibrarySearchRequest - 62, // 55: cc.arduino.cli.commands.v1.ArduinoCoreService.LibraryList:input_type -> cc.arduino.cli.commands.v1.LibraryListRequest - 63, // 56: cc.arduino.cli.commands.v1.ArduinoCoreService.Monitor:input_type -> cc.arduino.cli.commands.v1.MonitorRequest - 64, // 57: cc.arduino.cli.commands.v1.ArduinoCoreService.EnumerateMonitorPortSettings:input_type -> cc.arduino.cli.commands.v1.EnumerateMonitorPortSettingsRequest - 65, // 58: cc.arduino.cli.commands.v1.ArduinoCoreService.Debug:input_type -> cc.arduino.cli.commands.v1.DebugRequest - 66, // 59: cc.arduino.cli.commands.v1.ArduinoCoreService.IsDebugSupported:input_type -> cc.arduino.cli.commands.v1.IsDebugSupportedRequest - 67, // 60: cc.arduino.cli.commands.v1.ArduinoCoreService.GetDebugConfig:input_type -> cc.arduino.cli.commands.v1.GetDebugConfigRequest - 24, // 61: cc.arduino.cli.commands.v1.ArduinoCoreService.CheckForArduinoCLIUpdates:input_type -> cc.arduino.cli.commands.v1.CheckForArduinoCLIUpdatesRequest - 26, // 62: cc.arduino.cli.commands.v1.ArduinoCoreService.CleanDownloadCacheDirectory:input_type -> cc.arduino.cli.commands.v1.CleanDownloadCacheDirectoryRequest - 68, // 63: cc.arduino.cli.commands.v1.ArduinoCoreService.ConfigurationSave:input_type -> cc.arduino.cli.commands.v1.ConfigurationSaveRequest - 69, // 64: cc.arduino.cli.commands.v1.ArduinoCoreService.ConfigurationOpen:input_type -> cc.arduino.cli.commands.v1.ConfigurationOpenRequest - 70, // 65: cc.arduino.cli.commands.v1.ArduinoCoreService.ConfigurationGet:input_type -> cc.arduino.cli.commands.v1.ConfigurationGetRequest - 71, // 66: cc.arduino.cli.commands.v1.ArduinoCoreService.SettingsEnumerate:input_type -> cc.arduino.cli.commands.v1.SettingsEnumerateRequest - 72, // 67: cc.arduino.cli.commands.v1.ArduinoCoreService.SettingsGetValue:input_type -> cc.arduino.cli.commands.v1.SettingsGetValueRequest - 73, // 68: cc.arduino.cli.commands.v1.ArduinoCoreService.SettingsSetValue:input_type -> cc.arduino.cli.commands.v1.SettingsSetValueRequest - 3, // 69: cc.arduino.cli.commands.v1.ArduinoCoreService.Create:output_type -> cc.arduino.cli.commands.v1.CreateResponse - 5, // 70: cc.arduino.cli.commands.v1.ArduinoCoreService.Init:output_type -> cc.arduino.cli.commands.v1.InitResponse - 8, // 71: cc.arduino.cli.commands.v1.ArduinoCoreService.Destroy:output_type -> cc.arduino.cli.commands.v1.DestroyResponse - 10, // 72: cc.arduino.cli.commands.v1.ArduinoCoreService.UpdateIndex:output_type -> cc.arduino.cli.commands.v1.UpdateIndexResponse - 12, // 73: cc.arduino.cli.commands.v1.ArduinoCoreService.UpdateLibrariesIndex:output_type -> cc.arduino.cli.commands.v1.UpdateLibrariesIndexResponse - 15, // 74: cc.arduino.cli.commands.v1.ArduinoCoreService.Version:output_type -> cc.arduino.cli.commands.v1.VersionResponse - 17, // 75: cc.arduino.cli.commands.v1.ArduinoCoreService.NewSketch:output_type -> cc.arduino.cli.commands.v1.NewSketchResponse - 19, // 76: cc.arduino.cli.commands.v1.ArduinoCoreService.LoadSketch:output_type -> cc.arduino.cli.commands.v1.LoadSketchResponse - 21, // 77: cc.arduino.cli.commands.v1.ArduinoCoreService.ArchiveSketch:output_type -> cc.arduino.cli.commands.v1.ArchiveSketchResponse - 23, // 78: cc.arduino.cli.commands.v1.ArduinoCoreService.SetSketchDefaults:output_type -> cc.arduino.cli.commands.v1.SetSketchDefaultsResponse - 74, // 79: cc.arduino.cli.commands.v1.ArduinoCoreService.BoardDetails:output_type -> cc.arduino.cli.commands.v1.BoardDetailsResponse - 75, // 80: cc.arduino.cli.commands.v1.ArduinoCoreService.BoardList:output_type -> cc.arduino.cli.commands.v1.BoardListResponse - 76, // 81: cc.arduino.cli.commands.v1.ArduinoCoreService.BoardListAll:output_type -> cc.arduino.cli.commands.v1.BoardListAllResponse - 77, // 82: cc.arduino.cli.commands.v1.ArduinoCoreService.BoardSearch:output_type -> cc.arduino.cli.commands.v1.BoardSearchResponse - 78, // 83: cc.arduino.cli.commands.v1.ArduinoCoreService.BoardListWatch:output_type -> cc.arduino.cli.commands.v1.BoardListWatchResponse - 79, // 84: cc.arduino.cli.commands.v1.ArduinoCoreService.Compile:output_type -> cc.arduino.cli.commands.v1.CompileResponse - 80, // 85: cc.arduino.cli.commands.v1.ArduinoCoreService.PlatformInstall:output_type -> cc.arduino.cli.commands.v1.PlatformInstallResponse - 81, // 86: cc.arduino.cli.commands.v1.ArduinoCoreService.PlatformDownload:output_type -> cc.arduino.cli.commands.v1.PlatformDownloadResponse - 82, // 87: cc.arduino.cli.commands.v1.ArduinoCoreService.PlatformUninstall:output_type -> cc.arduino.cli.commands.v1.PlatformUninstallResponse - 83, // 88: cc.arduino.cli.commands.v1.ArduinoCoreService.PlatformUpgrade:output_type -> cc.arduino.cli.commands.v1.PlatformUpgradeResponse - 84, // 89: cc.arduino.cli.commands.v1.ArduinoCoreService.Upload:output_type -> cc.arduino.cli.commands.v1.UploadResponse - 85, // 90: cc.arduino.cli.commands.v1.ArduinoCoreService.UploadUsingProgrammer:output_type -> cc.arduino.cli.commands.v1.UploadUsingProgrammerResponse - 86, // 91: cc.arduino.cli.commands.v1.ArduinoCoreService.SupportedUserFields:output_type -> cc.arduino.cli.commands.v1.SupportedUserFieldsResponse - 87, // 92: cc.arduino.cli.commands.v1.ArduinoCoreService.ListProgrammersAvailableForUpload:output_type -> cc.arduino.cli.commands.v1.ListProgrammersAvailableForUploadResponse - 88, // 93: cc.arduino.cli.commands.v1.ArduinoCoreService.BurnBootloader:output_type -> cc.arduino.cli.commands.v1.BurnBootloaderResponse - 89, // 94: cc.arduino.cli.commands.v1.ArduinoCoreService.PlatformSearch:output_type -> cc.arduino.cli.commands.v1.PlatformSearchResponse - 90, // 95: cc.arduino.cli.commands.v1.ArduinoCoreService.LibraryDownload:output_type -> cc.arduino.cli.commands.v1.LibraryDownloadResponse - 91, // 96: cc.arduino.cli.commands.v1.ArduinoCoreService.LibraryInstall:output_type -> cc.arduino.cli.commands.v1.LibraryInstallResponse - 92, // 97: cc.arduino.cli.commands.v1.ArduinoCoreService.LibraryUpgrade:output_type -> cc.arduino.cli.commands.v1.LibraryUpgradeResponse - 93, // 98: cc.arduino.cli.commands.v1.ArduinoCoreService.ZipLibraryInstall:output_type -> cc.arduino.cli.commands.v1.ZipLibraryInstallResponse - 94, // 99: cc.arduino.cli.commands.v1.ArduinoCoreService.GitLibraryInstall:output_type -> cc.arduino.cli.commands.v1.GitLibraryInstallResponse - 95, // 100: cc.arduino.cli.commands.v1.ArduinoCoreService.LibraryUninstall:output_type -> cc.arduino.cli.commands.v1.LibraryUninstallResponse - 96, // 101: cc.arduino.cli.commands.v1.ArduinoCoreService.LibraryUpgradeAll:output_type -> cc.arduino.cli.commands.v1.LibraryUpgradeAllResponse - 97, // 102: cc.arduino.cli.commands.v1.ArduinoCoreService.LibraryResolveDependencies:output_type -> cc.arduino.cli.commands.v1.LibraryResolveDependenciesResponse - 98, // 103: cc.arduino.cli.commands.v1.ArduinoCoreService.LibrarySearch:output_type -> cc.arduino.cli.commands.v1.LibrarySearchResponse - 99, // 104: cc.arduino.cli.commands.v1.ArduinoCoreService.LibraryList:output_type -> cc.arduino.cli.commands.v1.LibraryListResponse - 100, // 105: cc.arduino.cli.commands.v1.ArduinoCoreService.Monitor:output_type -> cc.arduino.cli.commands.v1.MonitorResponse - 101, // 106: cc.arduino.cli.commands.v1.ArduinoCoreService.EnumerateMonitorPortSettings:output_type -> cc.arduino.cli.commands.v1.EnumerateMonitorPortSettingsResponse - 102, // 107: cc.arduino.cli.commands.v1.ArduinoCoreService.Debug:output_type -> cc.arduino.cli.commands.v1.DebugResponse - 103, // 108: cc.arduino.cli.commands.v1.ArduinoCoreService.IsDebugSupported:output_type -> cc.arduino.cli.commands.v1.IsDebugSupportedResponse - 104, // 109: cc.arduino.cli.commands.v1.ArduinoCoreService.GetDebugConfig:output_type -> cc.arduino.cli.commands.v1.GetDebugConfigResponse - 25, // 110: cc.arduino.cli.commands.v1.ArduinoCoreService.CheckForArduinoCLIUpdates:output_type -> cc.arduino.cli.commands.v1.CheckForArduinoCLIUpdatesResponse - 27, // 111: cc.arduino.cli.commands.v1.ArduinoCoreService.CleanDownloadCacheDirectory:output_type -> cc.arduino.cli.commands.v1.CleanDownloadCacheDirectoryResponse - 105, // 112: cc.arduino.cli.commands.v1.ArduinoCoreService.ConfigurationSave:output_type -> cc.arduino.cli.commands.v1.ConfigurationSaveResponse - 106, // 113: cc.arduino.cli.commands.v1.ArduinoCoreService.ConfigurationOpen:output_type -> cc.arduino.cli.commands.v1.ConfigurationOpenResponse - 107, // 114: cc.arduino.cli.commands.v1.ArduinoCoreService.ConfigurationGet:output_type -> cc.arduino.cli.commands.v1.ConfigurationGetResponse - 108, // 115: cc.arduino.cli.commands.v1.ArduinoCoreService.SettingsEnumerate:output_type -> cc.arduino.cli.commands.v1.SettingsEnumerateResponse - 109, // 116: cc.arduino.cli.commands.v1.ArduinoCoreService.SettingsGetValue:output_type -> cc.arduino.cli.commands.v1.SettingsGetValueResponse - 110, // 117: cc.arduino.cli.commands.v1.ArduinoCoreService.SettingsSetValue:output_type -> cc.arduino.cli.commands.v1.SettingsSetValueResponse - 69, // [69:118] is the sub-list for method output_type - 20, // [20:69] is the sub-list for method input_type + 41, // 34: cc.arduino.cli.commands.v1.ArduinoCoreService.BoardIdentify:input_type -> cc.arduino.cli.commands.v1.BoardIdentifyRequest + 42, // 35: cc.arduino.cli.commands.v1.ArduinoCoreService.BoardListWatch:input_type -> cc.arduino.cli.commands.v1.BoardListWatchRequest + 43, // 36: cc.arduino.cli.commands.v1.ArduinoCoreService.Compile:input_type -> cc.arduino.cli.commands.v1.CompileRequest + 44, // 37: cc.arduino.cli.commands.v1.ArduinoCoreService.PlatformInstall:input_type -> cc.arduino.cli.commands.v1.PlatformInstallRequest + 45, // 38: cc.arduino.cli.commands.v1.ArduinoCoreService.PlatformDownload:input_type -> cc.arduino.cli.commands.v1.PlatformDownloadRequest + 46, // 39: cc.arduino.cli.commands.v1.ArduinoCoreService.PlatformUninstall:input_type -> cc.arduino.cli.commands.v1.PlatformUninstallRequest + 47, // 40: cc.arduino.cli.commands.v1.ArduinoCoreService.PlatformUpgrade:input_type -> cc.arduino.cli.commands.v1.PlatformUpgradeRequest + 48, // 41: cc.arduino.cli.commands.v1.ArduinoCoreService.Upload:input_type -> cc.arduino.cli.commands.v1.UploadRequest + 49, // 42: cc.arduino.cli.commands.v1.ArduinoCoreService.UploadUsingProgrammer:input_type -> cc.arduino.cli.commands.v1.UploadUsingProgrammerRequest + 50, // 43: cc.arduino.cli.commands.v1.ArduinoCoreService.SupportedUserFields:input_type -> cc.arduino.cli.commands.v1.SupportedUserFieldsRequest + 51, // 44: cc.arduino.cli.commands.v1.ArduinoCoreService.ListProgrammersAvailableForUpload:input_type -> cc.arduino.cli.commands.v1.ListProgrammersAvailableForUploadRequest + 52, // 45: cc.arduino.cli.commands.v1.ArduinoCoreService.BurnBootloader:input_type -> cc.arduino.cli.commands.v1.BurnBootloaderRequest + 53, // 46: cc.arduino.cli.commands.v1.ArduinoCoreService.PlatformSearch:input_type -> cc.arduino.cli.commands.v1.PlatformSearchRequest + 54, // 47: cc.arduino.cli.commands.v1.ArduinoCoreService.LibraryDownload:input_type -> cc.arduino.cli.commands.v1.LibraryDownloadRequest + 55, // 48: cc.arduino.cli.commands.v1.ArduinoCoreService.LibraryInstall:input_type -> cc.arduino.cli.commands.v1.LibraryInstallRequest + 56, // 49: cc.arduino.cli.commands.v1.ArduinoCoreService.LibraryUpgrade:input_type -> cc.arduino.cli.commands.v1.LibraryUpgradeRequest + 57, // 50: cc.arduino.cli.commands.v1.ArduinoCoreService.ZipLibraryInstall:input_type -> cc.arduino.cli.commands.v1.ZipLibraryInstallRequest + 58, // 51: cc.arduino.cli.commands.v1.ArduinoCoreService.GitLibraryInstall:input_type -> cc.arduino.cli.commands.v1.GitLibraryInstallRequest + 59, // 52: cc.arduino.cli.commands.v1.ArduinoCoreService.LibraryUninstall:input_type -> cc.arduino.cli.commands.v1.LibraryUninstallRequest + 60, // 53: cc.arduino.cli.commands.v1.ArduinoCoreService.LibraryUpgradeAll:input_type -> cc.arduino.cli.commands.v1.LibraryUpgradeAllRequest + 61, // 54: cc.arduino.cli.commands.v1.ArduinoCoreService.LibraryResolveDependencies:input_type -> cc.arduino.cli.commands.v1.LibraryResolveDependenciesRequest + 62, // 55: cc.arduino.cli.commands.v1.ArduinoCoreService.LibrarySearch:input_type -> cc.arduino.cli.commands.v1.LibrarySearchRequest + 63, // 56: cc.arduino.cli.commands.v1.ArduinoCoreService.LibraryList:input_type -> cc.arduino.cli.commands.v1.LibraryListRequest + 64, // 57: cc.arduino.cli.commands.v1.ArduinoCoreService.Monitor:input_type -> cc.arduino.cli.commands.v1.MonitorRequest + 65, // 58: cc.arduino.cli.commands.v1.ArduinoCoreService.EnumerateMonitorPortSettings:input_type -> cc.arduino.cli.commands.v1.EnumerateMonitorPortSettingsRequest + 66, // 59: cc.arduino.cli.commands.v1.ArduinoCoreService.Debug:input_type -> cc.arduino.cli.commands.v1.DebugRequest + 67, // 60: cc.arduino.cli.commands.v1.ArduinoCoreService.IsDebugSupported:input_type -> cc.arduino.cli.commands.v1.IsDebugSupportedRequest + 68, // 61: cc.arduino.cli.commands.v1.ArduinoCoreService.GetDebugConfig:input_type -> cc.arduino.cli.commands.v1.GetDebugConfigRequest + 24, // 62: cc.arduino.cli.commands.v1.ArduinoCoreService.CheckForArduinoCLIUpdates:input_type -> cc.arduino.cli.commands.v1.CheckForArduinoCLIUpdatesRequest + 26, // 63: cc.arduino.cli.commands.v1.ArduinoCoreService.CleanDownloadCacheDirectory:input_type -> cc.arduino.cli.commands.v1.CleanDownloadCacheDirectoryRequest + 69, // 64: cc.arduino.cli.commands.v1.ArduinoCoreService.ConfigurationSave:input_type -> cc.arduino.cli.commands.v1.ConfigurationSaveRequest + 70, // 65: cc.arduino.cli.commands.v1.ArduinoCoreService.ConfigurationOpen:input_type -> cc.arduino.cli.commands.v1.ConfigurationOpenRequest + 71, // 66: cc.arduino.cli.commands.v1.ArduinoCoreService.ConfigurationGet:input_type -> cc.arduino.cli.commands.v1.ConfigurationGetRequest + 72, // 67: cc.arduino.cli.commands.v1.ArduinoCoreService.SettingsEnumerate:input_type -> cc.arduino.cli.commands.v1.SettingsEnumerateRequest + 73, // 68: cc.arduino.cli.commands.v1.ArduinoCoreService.SettingsGetValue:input_type -> cc.arduino.cli.commands.v1.SettingsGetValueRequest + 74, // 69: cc.arduino.cli.commands.v1.ArduinoCoreService.SettingsSetValue:input_type -> cc.arduino.cli.commands.v1.SettingsSetValueRequest + 3, // 70: cc.arduino.cli.commands.v1.ArduinoCoreService.Create:output_type -> cc.arduino.cli.commands.v1.CreateResponse + 5, // 71: cc.arduino.cli.commands.v1.ArduinoCoreService.Init:output_type -> cc.arduino.cli.commands.v1.InitResponse + 8, // 72: cc.arduino.cli.commands.v1.ArduinoCoreService.Destroy:output_type -> cc.arduino.cli.commands.v1.DestroyResponse + 10, // 73: cc.arduino.cli.commands.v1.ArduinoCoreService.UpdateIndex:output_type -> cc.arduino.cli.commands.v1.UpdateIndexResponse + 12, // 74: cc.arduino.cli.commands.v1.ArduinoCoreService.UpdateLibrariesIndex:output_type -> cc.arduino.cli.commands.v1.UpdateLibrariesIndexResponse + 15, // 75: cc.arduino.cli.commands.v1.ArduinoCoreService.Version:output_type -> cc.arduino.cli.commands.v1.VersionResponse + 17, // 76: cc.arduino.cli.commands.v1.ArduinoCoreService.NewSketch:output_type -> cc.arduino.cli.commands.v1.NewSketchResponse + 19, // 77: cc.arduino.cli.commands.v1.ArduinoCoreService.LoadSketch:output_type -> cc.arduino.cli.commands.v1.LoadSketchResponse + 21, // 78: cc.arduino.cli.commands.v1.ArduinoCoreService.ArchiveSketch:output_type -> cc.arduino.cli.commands.v1.ArchiveSketchResponse + 23, // 79: cc.arduino.cli.commands.v1.ArduinoCoreService.SetSketchDefaults:output_type -> cc.arduino.cli.commands.v1.SetSketchDefaultsResponse + 75, // 80: cc.arduino.cli.commands.v1.ArduinoCoreService.BoardDetails:output_type -> cc.arduino.cli.commands.v1.BoardDetailsResponse + 76, // 81: cc.arduino.cli.commands.v1.ArduinoCoreService.BoardList:output_type -> cc.arduino.cli.commands.v1.BoardListResponse + 77, // 82: cc.arduino.cli.commands.v1.ArduinoCoreService.BoardListAll:output_type -> cc.arduino.cli.commands.v1.BoardListAllResponse + 78, // 83: cc.arduino.cli.commands.v1.ArduinoCoreService.BoardSearch:output_type -> cc.arduino.cli.commands.v1.BoardSearchResponse + 79, // 84: cc.arduino.cli.commands.v1.ArduinoCoreService.BoardIdentify:output_type -> cc.arduino.cli.commands.v1.BoardIdentifyResponse + 80, // 85: cc.arduino.cli.commands.v1.ArduinoCoreService.BoardListWatch:output_type -> cc.arduino.cli.commands.v1.BoardListWatchResponse + 81, // 86: cc.arduino.cli.commands.v1.ArduinoCoreService.Compile:output_type -> cc.arduino.cli.commands.v1.CompileResponse + 82, // 87: cc.arduino.cli.commands.v1.ArduinoCoreService.PlatformInstall:output_type -> cc.arduino.cli.commands.v1.PlatformInstallResponse + 83, // 88: cc.arduino.cli.commands.v1.ArduinoCoreService.PlatformDownload:output_type -> cc.arduino.cli.commands.v1.PlatformDownloadResponse + 84, // 89: cc.arduino.cli.commands.v1.ArduinoCoreService.PlatformUninstall:output_type -> cc.arduino.cli.commands.v1.PlatformUninstallResponse + 85, // 90: cc.arduino.cli.commands.v1.ArduinoCoreService.PlatformUpgrade:output_type -> cc.arduino.cli.commands.v1.PlatformUpgradeResponse + 86, // 91: cc.arduino.cli.commands.v1.ArduinoCoreService.Upload:output_type -> cc.arduino.cli.commands.v1.UploadResponse + 87, // 92: cc.arduino.cli.commands.v1.ArduinoCoreService.UploadUsingProgrammer:output_type -> cc.arduino.cli.commands.v1.UploadUsingProgrammerResponse + 88, // 93: cc.arduino.cli.commands.v1.ArduinoCoreService.SupportedUserFields:output_type -> cc.arduino.cli.commands.v1.SupportedUserFieldsResponse + 89, // 94: cc.arduino.cli.commands.v1.ArduinoCoreService.ListProgrammersAvailableForUpload:output_type -> cc.arduino.cli.commands.v1.ListProgrammersAvailableForUploadResponse + 90, // 95: cc.arduino.cli.commands.v1.ArduinoCoreService.BurnBootloader:output_type -> cc.arduino.cli.commands.v1.BurnBootloaderResponse + 91, // 96: cc.arduino.cli.commands.v1.ArduinoCoreService.PlatformSearch:output_type -> cc.arduino.cli.commands.v1.PlatformSearchResponse + 92, // 97: cc.arduino.cli.commands.v1.ArduinoCoreService.LibraryDownload:output_type -> cc.arduino.cli.commands.v1.LibraryDownloadResponse + 93, // 98: cc.arduino.cli.commands.v1.ArduinoCoreService.LibraryInstall:output_type -> cc.arduino.cli.commands.v1.LibraryInstallResponse + 94, // 99: cc.arduino.cli.commands.v1.ArduinoCoreService.LibraryUpgrade:output_type -> cc.arduino.cli.commands.v1.LibraryUpgradeResponse + 95, // 100: cc.arduino.cli.commands.v1.ArduinoCoreService.ZipLibraryInstall:output_type -> cc.arduino.cli.commands.v1.ZipLibraryInstallResponse + 96, // 101: cc.arduino.cli.commands.v1.ArduinoCoreService.GitLibraryInstall:output_type -> cc.arduino.cli.commands.v1.GitLibraryInstallResponse + 97, // 102: cc.arduino.cli.commands.v1.ArduinoCoreService.LibraryUninstall:output_type -> cc.arduino.cli.commands.v1.LibraryUninstallResponse + 98, // 103: cc.arduino.cli.commands.v1.ArduinoCoreService.LibraryUpgradeAll:output_type -> cc.arduino.cli.commands.v1.LibraryUpgradeAllResponse + 99, // 104: cc.arduino.cli.commands.v1.ArduinoCoreService.LibraryResolveDependencies:output_type -> cc.arduino.cli.commands.v1.LibraryResolveDependenciesResponse + 100, // 105: cc.arduino.cli.commands.v1.ArduinoCoreService.LibrarySearch:output_type -> cc.arduino.cli.commands.v1.LibrarySearchResponse + 101, // 106: cc.arduino.cli.commands.v1.ArduinoCoreService.LibraryList:output_type -> cc.arduino.cli.commands.v1.LibraryListResponse + 102, // 107: cc.arduino.cli.commands.v1.ArduinoCoreService.Monitor:output_type -> cc.arduino.cli.commands.v1.MonitorResponse + 103, // 108: cc.arduino.cli.commands.v1.ArduinoCoreService.EnumerateMonitorPortSettings:output_type -> cc.arduino.cli.commands.v1.EnumerateMonitorPortSettingsResponse + 104, // 109: cc.arduino.cli.commands.v1.ArduinoCoreService.Debug:output_type -> cc.arduino.cli.commands.v1.DebugResponse + 105, // 110: cc.arduino.cli.commands.v1.ArduinoCoreService.IsDebugSupported:output_type -> cc.arduino.cli.commands.v1.IsDebugSupportedResponse + 106, // 111: cc.arduino.cli.commands.v1.ArduinoCoreService.GetDebugConfig:output_type -> cc.arduino.cli.commands.v1.GetDebugConfigResponse + 25, // 112: cc.arduino.cli.commands.v1.ArduinoCoreService.CheckForArduinoCLIUpdates:output_type -> cc.arduino.cli.commands.v1.CheckForArduinoCLIUpdatesResponse + 27, // 113: cc.arduino.cli.commands.v1.ArduinoCoreService.CleanDownloadCacheDirectory:output_type -> cc.arduino.cli.commands.v1.CleanDownloadCacheDirectoryResponse + 107, // 114: cc.arduino.cli.commands.v1.ArduinoCoreService.ConfigurationSave:output_type -> cc.arduino.cli.commands.v1.ConfigurationSaveResponse + 108, // 115: cc.arduino.cli.commands.v1.ArduinoCoreService.ConfigurationOpen:output_type -> cc.arduino.cli.commands.v1.ConfigurationOpenResponse + 109, // 116: cc.arduino.cli.commands.v1.ArduinoCoreService.ConfigurationGet:output_type -> cc.arduino.cli.commands.v1.ConfigurationGetResponse + 110, // 117: cc.arduino.cli.commands.v1.ArduinoCoreService.SettingsEnumerate:output_type -> cc.arduino.cli.commands.v1.SettingsEnumerateResponse + 111, // 118: cc.arduino.cli.commands.v1.ArduinoCoreService.SettingsGetValue:output_type -> cc.arduino.cli.commands.v1.SettingsGetValueResponse + 112, // 119: cc.arduino.cli.commands.v1.ArduinoCoreService.SettingsSetValue:output_type -> cc.arduino.cli.commands.v1.SettingsSetValueResponse + 70, // [70:120] is the sub-list for method output_type + 20, // [20:70] is the sub-list for method input_type 20, // [20:20] is the sub-list for extension type_name 20, // [20:20] is the sub-list for extension extendee 0, // [0:20] is the sub-list for field type_name diff --git a/rpc/cc/arduino/cli/commands/v1/commands.proto b/rpc/cc/arduino/cli/commands/v1/commands.proto index e7c7d078cb2..4a55e0ded24 100644 --- a/rpc/cc/arduino/cli/commands/v1/commands.proto +++ b/rpc/cc/arduino/cli/commands/v1/commands.proto @@ -78,6 +78,9 @@ service ArduinoCoreService { // Search boards in installed and not installed Platforms. rpc BoardSearch(BoardSearchRequest) returns (BoardSearchResponse); + // Identify a board using the given properties. + rpc BoardIdentify(BoardIdentifyRequest) returns (BoardIdentifyResponse); + // List boards connection and disconnected events. rpc BoardListWatch(BoardListWatchRequest) returns (stream BoardListWatchResponse); diff --git a/rpc/cc/arduino/cli/commands/v1/commands_grpc.pb.go b/rpc/cc/arduino/cli/commands/v1/commands_grpc.pb.go index 4eb8d9b4e4b..1daf07db43b 100644 --- a/rpc/cc/arduino/cli/commands/v1/commands_grpc.pb.go +++ b/rpc/cc/arduino/cli/commands/v1/commands_grpc.pb.go @@ -49,6 +49,7 @@ const ( ArduinoCoreService_BoardList_FullMethodName = "/cc.arduino.cli.commands.v1.ArduinoCoreService/BoardList" ArduinoCoreService_BoardListAll_FullMethodName = "/cc.arduino.cli.commands.v1.ArduinoCoreService/BoardListAll" ArduinoCoreService_BoardSearch_FullMethodName = "/cc.arduino.cli.commands.v1.ArduinoCoreService/BoardSearch" + ArduinoCoreService_BoardIdentify_FullMethodName = "/cc.arduino.cli.commands.v1.ArduinoCoreService/BoardIdentify" ArduinoCoreService_BoardListWatch_FullMethodName = "/cc.arduino.cli.commands.v1.ArduinoCoreService/BoardListWatch" ArduinoCoreService_Compile_FullMethodName = "/cc.arduino.cli.commands.v1.ArduinoCoreService/Compile" ArduinoCoreService_PlatformInstall_FullMethodName = "/cc.arduino.cli.commands.v1.ArduinoCoreService/PlatformInstall" @@ -123,6 +124,8 @@ type ArduinoCoreServiceClient interface { BoardListAll(ctx context.Context, in *BoardListAllRequest, opts ...grpc.CallOption) (*BoardListAllResponse, error) // Search boards in installed and not installed Platforms. BoardSearch(ctx context.Context, in *BoardSearchRequest, opts ...grpc.CallOption) (*BoardSearchResponse, error) + // Identify a board using the given properties. + BoardIdentify(ctx context.Context, in *BoardIdentifyRequest, opts ...grpc.CallOption) (*BoardIdentifyResponse, error) // List boards connection and disconnected events. BoardListWatch(ctx context.Context, in *BoardListWatchRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[BoardListWatchResponse], error) // Compile an Arduino sketch. @@ -375,6 +378,16 @@ func (c *arduinoCoreServiceClient) BoardSearch(ctx context.Context, in *BoardSea return out, nil } +func (c *arduinoCoreServiceClient) BoardIdentify(ctx context.Context, in *BoardIdentifyRequest, opts ...grpc.CallOption) (*BoardIdentifyResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(BoardIdentifyResponse) + err := c.cc.Invoke(ctx, ArduinoCoreService_BoardIdentify_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *arduinoCoreServiceClient) BoardListWatch(ctx context.Context, in *BoardListWatchRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[BoardListWatchResponse], error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) stream, err := c.cc.NewStream(ctx, &ArduinoCoreService_ServiceDesc.Streams[3], ArduinoCoreService_BoardListWatch_FullMethodName, cOpts...) @@ -912,6 +925,8 @@ type ArduinoCoreServiceServer interface { BoardListAll(context.Context, *BoardListAllRequest) (*BoardListAllResponse, error) // Search boards in installed and not installed Platforms. BoardSearch(context.Context, *BoardSearchRequest) (*BoardSearchResponse, error) + // Identify a board using the given properties. + BoardIdentify(context.Context, *BoardIdentifyRequest) (*BoardIdentifyResponse, error) // List boards connection and disconnected events. BoardListWatch(*BoardListWatchRequest, grpc.ServerStreamingServer[BoardListWatchResponse]) error // Compile an Arduino sketch. @@ -1039,6 +1054,9 @@ func (UnimplementedArduinoCoreServiceServer) BoardListAll(context.Context, *Boar func (UnimplementedArduinoCoreServiceServer) BoardSearch(context.Context, *BoardSearchRequest) (*BoardSearchResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method BoardSearch not implemented") } +func (UnimplementedArduinoCoreServiceServer) BoardIdentify(context.Context, *BoardIdentifyRequest) (*BoardIdentifyResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method BoardIdentify not implemented") +} func (UnimplementedArduinoCoreServiceServer) BoardListWatch(*BoardListWatchRequest, grpc.ServerStreamingServer[BoardListWatchResponse]) error { return status.Errorf(codes.Unimplemented, "method BoardListWatch not implemented") } @@ -1396,6 +1414,24 @@ func _ArduinoCoreService_BoardSearch_Handler(srv interface{}, ctx context.Contex return interceptor(ctx, in, info, handler) } +func _ArduinoCoreService_BoardIdentify_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BoardIdentifyRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ArduinoCoreServiceServer).BoardIdentify(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: ArduinoCoreService_BoardIdentify_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ArduinoCoreServiceServer).BoardIdentify(ctx, req.(*BoardIdentifyRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _ArduinoCoreService_BoardListWatch_Handler(srv interface{}, stream grpc.ServerStream) error { m := new(BoardListWatchRequest) if err := stream.RecvMsg(m); err != nil { @@ -1943,6 +1979,10 @@ var ArduinoCoreService_ServiceDesc = grpc.ServiceDesc{ MethodName: "BoardSearch", Handler: _ArduinoCoreService_BoardSearch_Handler, }, + { + MethodName: "BoardIdentify", + Handler: _ArduinoCoreService_BoardIdentify_Handler, + }, { MethodName: "SupportedUserFields", Handler: _ArduinoCoreService_SupportedUserFields_Handler,