view python/ppci/target/target_list.py @ 399:a7c444404df9

Fix hexwrite
author Windel Bouwman
date Fri, 20 Jun 2014 16:36:49 +0200
parents c0d9837acde8
children
line wrap: on
line source


"""
    Contains a list of instantiated targets.
"""

from .arm import ArmTarget
from .thumb import ThumbTarget
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, x86target, msp430target]
targets = {t.name: t for t in target_list}
targetnames = list(targets.keys())