Mercurial > lcfOS
view python/target/__init__.py @ 306:b145f8e6050b
Start on c3 rewrite
author | Windel Bouwman |
---|---|
date | Mon, 09 Dec 2013 19:00:21 +0100 |
parents | 6753763d3bec |
children | 44f336460c2a |
line wrap: on
line source
#!/usr/bin/env python from .basetarget import Nop, Instruction, Label, Target, Comment, Alignment from .basetarget import Imm32, DebugInfo from .armtarget import ArmTarget from .armframe import ArmFrame from .arminstructionselector import ArmInstructionSelector from .msp430 import msp430target # Instance: armtarget = ArmTarget() armtarget.ins_sel = ArmInstructionSelector() armtarget.FrameClass = ArmFrame #from .msp430target import msp430target target_list = [armtarget] class SimpleTarget(Target): def __init__(self): super().__init__('SimpleTarget')