Skip to content

Commit 9011f40

Browse files
committed
bindings: update const generator for AVR.
Signed-off-by: Glenn Baker <[email protected]>
1 parent ea387a2 commit 9011f40

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

bindings/const_generator.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
INCL_DIR = os.path.join('..', 'include', 'unicorn')
88

9-
include = [ 'arm.h', 'arm64.h', 'mips.h', 'x86.h', 'sparc.h', 'm68k.h', 'ppc.h', 'riscv.h', 's390x.h', 'tricore.h', 'unicorn.h' ]
9+
include = [ 'arm.h', 'arm64.h', 'avr.h', 'mips.h', 'x86.h', 'sparc.h', 'm68k.h', 'ppc.h', 'riscv.h', 's390x.h', 'tricore.h', 'unicorn.h' ]
1010

1111
template = {
1212
'python': {
@@ -17,6 +17,7 @@
1717
# prefixes for constant filenames of all archs - case sensitive
1818
'arm.h': 'arm',
1919
'arm64.h': 'arm64',
20+
'avr.h': 'avr',
2021
'mips.h': 'mips',
2122
'x86.h': 'x86',
2223
'sparc.h': 'sparc',
@@ -37,6 +38,7 @@
3738
# prefixes for constant filenames of all archs - case sensitive
3839
'arm.h': 'arm',
3940
'arm64.h': 'arm64',
41+
'avr.h': 'avr',
4042
'mips.h': 'mips',
4143
'x86.h': 'x86',
4244
'sparc.h': 'sparc',
@@ -57,6 +59,7 @@
5759
# prefixes for constant filenames of all archs - case sensitive
5860
'arm.h': 'arm',
5961
'arm64.h': 'arm64',
62+
'avr.h': 'avr',
6063
'mips.h': 'mips',
6164
'x86.h': 'x86',
6265
'sparc.h': 'sparc',
@@ -77,6 +80,7 @@
7780
# prefixes for constant filenames of all archs - case sensitive
7881
'arm.h': 'Arm',
7982
'arm64.h': 'Arm64',
83+
'avr.h': 'AVR',
8084
'mips.h': 'Mips',
8185
'x86.h': 'X86',
8286
'sparc.h': 'Sparc',
@@ -97,6 +101,7 @@
97101
# prefixes for constant filenames of all archs - case sensitive
98102
'arm.h': 'Arm',
99103
'arm64.h': 'Arm64',
104+
'avr.h': 'AVR',
100105
'mips.h': 'Mips',
101106
'x86.h': 'X86',
102107
'sparc.h': 'Sparc',
@@ -117,6 +122,7 @@
117122
# prefixes for constant filenames of all archs - case sensitive
118123
'arm.h': 'Arm',
119124
'arm64.h': 'Arm64',
125+
'avr.h': 'AVR',
120126
'mips.h': 'Mips',
121127
'x86.h': 'X86',
122128
'sparc.h': 'Sparc',
@@ -137,6 +143,7 @@
137143
# prefixes for constant filenames of all archs - case sensitive
138144
'arm.h': 'arm',
139145
'arm64.h': 'arm64',
146+
'avr.h': 'AVR',
140147
'mips.h': 'mips',
141148
'x86.h': 'x86',
142149
'sparc.h': 'sparc',

0 commit comments

Comments
 (0)