Mercurial > lcfOS
view python/target/__init__.py @ 316:56e6ff84f646
Fixed burn led demo
author | Windel Bouwman |
---|---|
date | Sat, 21 Dec 2013 13:13: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')