diff options
Diffstat (limited to 'tools/gen-device-svd.py')
-rwxr-xr-x | tools/gen-device-svd.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/gen-device-svd.py b/tools/gen-device-svd.py index ee0165ee7..16a35005a 100755 --- a/tools/gen-device-svd.py +++ b/tools/gen-device-svd.py @@ -396,6 +396,8 @@ const ( out.write('\t_padding{padNumber} {regType}\n'.format(padNumber=padNumber, regType='volatile.Register8')) elif bytesNeeded == 2: out.write('\t_padding{padNumber} {regType}\n'.format(padNumber=padNumber, regType='volatile.Register16')) + elif bytesNeeded == 3: + out.write('\t_padding{padNumber} [3]{regType}\n'.format(padNumber=padNumber, regType='volatile.Register8')) else: numSkip = (register['address'] - address) // eSize if numSkip == 1: |