Mercurial > lcfOS
view python/target/__init__.py @ 313:04cf4d26a3bc
Added constant function
author | Windel Bouwman |
---|---|
date | Wed, 18 Dec 2013 18:02:26 +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')