Mercurial > lcfOS
diff python/ppci/target/target_list.py @ 398:c0d9837acde8
x86 target refactor
author | Windel Bouwman |
---|---|
date | Thu, 29 May 2014 12:13:37 +0200 |
parents | 39bf68bf1891 |
children |
line wrap: on
line diff
--- a/python/ppci/target/target_list.py Thu May 29 10:47:28 2014 +0200 +++ b/python/ppci/target/target_list.py Thu May 29 12:13:37 2014 +0200 @@ -1,12 +1,19 @@ + +""" + Contains a list of instantiated targets. +""" from .arm import ArmTarget from .thumb import ThumbTarget -from .msp430.msp430 import msp430target +from .msp430.msp430 import Msp430Target +from .x86.target_x86 import X86Target # Instance: arm_target = ArmTarget() thumb_target = ThumbTarget() +x86target = X86Target() +msp430target = Msp430Target() -target_list = [arm_target, thumb_target] +target_list = [arm_target, thumb_target, x86target, msp430target] targets = {t.name: t for t in target_list} targetnames = list(targets.keys())