-
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
Mar 29, 2021
1 parent
8f49617
commit 5e999cf
Showing
150 changed files
with
4,891 additions
and
2,869 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 |
---|---|---|
|
@@ -102,7 +102,9 @@ ENV/ | |
env.bak/ | ||
venv.bak/ | ||
env* | ||
*env/ | ||
venv* | ||
*venv/ | ||
|
||
# Spyder project settings | ||
.spyderproject | ||
|
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
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,11 @@ | ||
Shadow Registers API | ||
===================== | ||
|
||
This module contains support for Shadow Registers. | ||
|
||
Module with the shadow registers control DAT support file | ||
---------------------------------------------------------- | ||
.. automodule:: spsdk.shadowregs.shadowregs | ||
: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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,7 @@ | |
api/image | ||
api/mboot | ||
api/pfr | ||
api/shadowregs | ||
api/sbfile | ||
api/sdp | ||
api/utils | ||
|
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 |
---|---|---|
|
@@ -9,8 +9,6 @@ | |
import sys | ||
from typing import List | ||
|
||
import pip # type: ignore | ||
|
||
from setuptools import setup, find_packages # type: ignore | ||
|
||
|
||
|
@@ -24,12 +22,6 @@ def sanitize_version(version_str: str) -> str: | |
return sanitizer[len(version_str)] | ||
|
||
|
||
if sys.version_info >= (3, 8, 0) and sanitize_version(pip.__version__) < '19.2.3': | ||
print(f"With python {sys.version}, you're using an old version of pip: {pip.__version__}") | ||
print("Please update pip using: 'python -m pip install --upgrade pip'.") | ||
sys.exit(1) | ||
|
||
|
||
with open('requirements.txt') as req_file: | ||
requirements = req_file.read().splitlines() | ||
# avoid build errors on readthedocs (excluding hidapi, which depends on C module) | ||
|
@@ -51,6 +43,11 @@ def sanitize_version(version_str: str) -> str: | |
version=version_info["__version__"], | ||
description='Open Source Secure Provisioning SDK for NXP MCU/MPU', | ||
url="https://github.com/NXPmicro/spsdk", | ||
project_urls={ | ||
"Code": 'https://github.com/NXPmicro/spsdk', | ||
"Issue tracker": 'https://github.com/NXPmicro/spsdk/issues', | ||
"Documentation": 'https://spsdk.readthedocs.io', | ||
}, | ||
author="NXP", | ||
author_email="[email protected]", | ||
license='BSD-3-Clause', | ||
|
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#!/usr/bin/env python | ||
# -*- coding: UTF-8 -*- | ||
# | ||
# Copyright 2019-2020 NXP | ||
# Copyright 2019-2021 NXP | ||
# | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
|
@@ -22,10 +22,12 @@ | |
from .__version__ import __version__ as version | ||
from .exceptions import SPSDKError | ||
|
||
SPSDK_DATA_FOLDER = os.path.join(os.path.dirname(os.path.abspath(__file__)), "data") | ||
|
||
__author__ = "NXP" | ||
__contact__ = "[email protected]" | ||
__license__ = "BSD-3-Clause" | ||
__version__ = version | ||
__release__ = "alpha" | ||
|
||
# The SPSDK behavior settings | ||
SPSDK_DATA_FOLDER = os.path.join(os.path.dirname(os.path.abspath(__file__)), "data") | ||
SPSDK_YML_INDENT = 2 |
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
Oops, something went wrong.