targets/LPC/__init__.py
author laurent
Wed, 02 Jun 2010 16:52:58 +0200
changeset 541 4d9ca788205e
parent 538 ad05f27222cd
child 540 bacc1314fee6
permissions -rwxr-xr-x
Adding compile button when unconnected
from .. import toolchain_makefile

class LPC_target(toolchain_makefile):
    extension = ".ld"
    DebugEnabled = False

    def GetBinaryCode(self):
        try:
            return open(os.path.join(self.buildpath, "ArmPLC_rom.bin"), "rb").read()
        except Exception, e:
            return None