targets/LPC/__init__.py
author laurent
Wed, 02 Jun 2010 16:35:00 +0200
changeset 539 6ff2c1d34640
parent 538 ad05f27222cd
child 540 bacc1314fee6
permissions -rwxr-xr-x
Modifying LPCBeremiz to launch silently a frame and show or hide it on demand.
Adding support for transferring LPC programs.
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