-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Maria Wisniewska
committed
Oct 11, 2024
1 parent
40fbe39
commit eafb442
Showing
1,140 changed files
with
95,165 additions
and
24,636 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# This workflow will install Python dependencies, run tests and other codechecks on SPSDK project | ||
|
||
name: Publish To PyPi | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*' # Create release if a tag with version is pushed | ||
|
||
jobs: | ||
package: | ||
name: Build Package | ||
runs-on: ubuntu-latest | ||
permissions: # Required by attest-build-provenance-github. | ||
id-token: write | ||
attestations: write | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Build and Check Package | ||
uses: hynek/build-and-inspect-python-package@v2.8.0 | ||
with: | ||
attest-build-provenance-github: 'true' | ||
|
||
deploy: | ||
name: Upload Release To PyPI | ||
needs: [package] | ||
runs-on: ubuntu-latest | ||
environment: | ||
name: pypi | ||
url: https://pypi.org/project/spsdk/ | ||
permissions: | ||
id-token: write | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Download Package | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: Packages | ||
path: dist | ||
|
||
- name: Publish package to PyPI | ||
uses: pypa/gh-action-pypi-publish@v1.9.0 # The authentication is provided by OpenID Connect: https://docs.pypi.org/trusted-publishers/adding-a-publisher/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -147,3 +147,7 @@ logging.yaml | |
|
||
# setuptools_scm version file | ||
spsdk/__version__.py | ||
|
||
# coverity stuff | ||
idir | ||
data-coverity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#!/usr/bin/env python | ||
# -*- coding: UTF-8 -*- | ||
# | ||
# Copyright 2019-2024 NXP | ||
# | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
capture: | ||
languages: | ||
include: [python] | ||
files: | ||
include-regex: "spsdk|examples" | ||
exclude-regex: "venv|tests|docs" | ||
|
||
analyze: | ||
aggressiveness-level: high | ||
|
||
commit: | ||
connect: | ||
url: https://coverity2.nxp.com:8443 | ||
stream: spsdk_base | ||
on-new-cert: distrust | ||
|
||
############################################################## | ||
# This section is not a part of regular Coverity configuration | ||
# Because of that, Coverity will show some warnings | ||
reports: | ||
project-name: "SPSDK" | ||
coverity-name: "SPSDK" | ||
types: [syn-integrity, cov-integrity, cov-security] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Copyright 2024 NXP | ||
# | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
--- | ||
$schema: https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json | ||
version: "0.2" | ||
dictionaryDefinitions: | ||
- name: project-words | ||
path: "./project-words.txt" | ||
addWords: true | ||
dictionaries: | ||
- project-words | ||
ignorePaths: | ||
- "venv**" | ||
- "__pycache__**" | ||
- "_build**" | ||
- "/project-words.txt" | ||
- "approved_packages.json" | ||
- "reports/**" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
lpcprog | ||
==================================== | ||
|
||
This module contains support for programming LPC devices. | ||
|
||
Module representing communication interface | ||
---------------------------------------------------------- | ||
.. automodule:: spsdk.lpcprog.interface | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
Module representing communication protocol | ||
---------------------------------------------------------- | ||
.. automodule:: spsdk.lpcprog.protocol | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.