398
|
1
|
|
2 """
|
|
3 Contains a list of instantiated targets.
|
|
4 """
|
322
|
5
|
345
|
6 from .arm import ArmTarget
|
342
|
7 from .thumb import ThumbTarget
|
398
|
8 from .msp430.msp430 import Msp430Target
|
|
9 from .x86.target_x86 import X86Target
|
322
|
10
|
|
11 # Instance:
|
345
|
12 arm_target = ArmTarget()
|
341
|
13 thumb_target = ThumbTarget()
|
398
|
14 x86target = X86Target()
|
|
15 msp430target = Msp430Target()
|
322
|
16
|
398
|
17 target_list = [arm_target, thumb_target, x86target, msp430target]
|
366
|
18 targets = {t.name: t for t in target_list}
|
|
19 targetnames = list(targets.keys())
|