-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #63 from vkottler/dev/3.3.0
3.3.0 - Add more advanced SVD support
- Loading branch information
Showing
30 changed files
with
367 additions
and
100 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
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 |
---|---|---|
|
@@ -15,3 +15,4 @@ coverage*.xml | |
tags | ||
mklocal | ||
docs | ||
src |
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,6 +1,7 @@ | ||
[DESIGN] | ||
max-args=8 | ||
max-args=9 | ||
max-attributes=8 | ||
max-locals=17 | ||
|
||
[MESSAGES CONTROL] | ||
disable=duplicate-code |
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
Submodule config
updated
36 files
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,13 @@ | ||
""" | ||
A module implementing an SVD-command configuration interface for the package. | ||
""" | ||
|
||
# third-party | ||
from vcorelib.dict.codec import BasicDictCodec as _BasicDictCodec | ||
|
||
# internal | ||
from ifgen.schemas import IfgenDictCodec | ||
|
||
|
||
class SvdConfig(IfgenDictCodec, _BasicDictCodec): | ||
"""The top-level configuration object for the package.""" |
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 @@ | ||
--- | ||
type: object | ||
additionalProperties: false | ||
required: [] | ||
|
||
properties: | ||
enable_pruning: | ||
type: array | ||
default: [XMC4700] | ||
items: | ||
type: string | ||
|
||
devices: | ||
type: object | ||
additionalProperties: false | ||
patternProperties: | ||
"^[a-zA-Z0-9-_.]+$": | ||
$ref: package://ifgen/schemas/SvdInstanceConfig.yaml |
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 @@ | ||
--- | ||
type: object | ||
additionalProperties: false | ||
required: [] | ||
|
||
properties: | ||
ignore_peripherals: | ||
type: array | ||
items: | ||
type: object | ||
additionalProperties: false | ||
required: [name, reason] | ||
|
||
properties: | ||
name: | ||
type: string | ||
reason: | ||
type: string |
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,15 @@ | ||
--- | ||
|
||
# Note: ignored peripherals still get generated YAML outputs, they're just | ||
# not included in the generated top-level ifgen.yaml. | ||
|
||
devices: | ||
mimxrt1176_cm4: &rt1176 | ||
ignore_peripherals: | ||
- name: caam | ||
reason: Register map not in reference manual / (#64). | ||
- name: dcic1 | ||
reason: (#64) dimIncrement not supported. | ||
- name: rdc | ||
reason: (#64) dimIncrement not supported. | ||
mimxrt1176_cm7: *rt1176 |
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
|
@@ -12,4 +12,4 @@ sphinx-book-theme | |
pytest-cov | ||
setuptools-wrapper | ||
types-setuptools | ||
yambs | ||
yambs>=3.0.4 |
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.