~ruther/avr-device

ref: f7089edfb0e59c598184e1ad8f783995d7f15dec avr-device/patch/svdpatch.py -rw-r--r-- 30.2 KiB
ea289f83 — Andrew Dona-Couch 4 years ago
svdpatch: create fields element if register has no fields
a8ea1312 — Rahix 4 years ago
svdpatch: Fix _replace_enum when used on derived fields

Make sure the enum is replaced properly in the case of derived
enumerated values.

Signed-off-by: Rahix <rahix@rahix.de>
c4a0807a — Andrew Dona-Couch 4 years ago
svdpatch: Fix peripheral modifications
0806f412 — Rahix 5 years ago
svdpatch: Add _write_constraint modifier

"_write_constraint" allows to change the write-constraint
to one of:

- "enum": Allow only enumerated values (useEnumeratedValues)
- "none": Completely remove the <writeConstraint> tag
- [min, max]: Allow only values in a certain range (this can
  be used to make the bits() method safe)

Fixes #8

Signed-off-by: Rahix <rahix@rahix.de>
e0d031a3 — Rahix 5 years ago
svdpatch: Fix field modifications

Signed-off-by: Rahix <rahix@rahix.de>
d5a733ea — octycs 5 years ago
Allow overwriting enumeratedValues and add exemplary patch
c15bfe54 — octycs 5 years ago
Integrate patching in the build process
c7d56808 — octycs 5 years ago
Integrate svdpatch.py of stm32-rs
Do not follow this link