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>
svdpatch: Fix field modifications Signed-off-by: Rahix <rahix@rahix.de>
Allow overwriting enumeratedValues and add exemplary patch
Integrate patching in the build process
Integrate svdpatch.py of stm32-rs