~ruther/avr-device

ref: 99029de7abac0afb33ec4f38ec3760a8a1483e4c avr-device/patch/svdpatch.py -rw-r--r-- 29.9 KiB
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