targets/LPC/__init__.py
changeset 538 ad05f27222cd
parent 508 73ecb803d8af
child 540 bacc1314fee6
equal deleted inserted replaced
537:881c0b3f0204 538:ad05f27222cd
     1 from .. import toolchain_makefile
     1 from .. import toolchain_makefile
     2 
     2 
     3 class LPC_target(toolchain_makefile):
     3 class LPC_target(toolchain_makefile):
     4     extension = ".ld"
     4     extension = ".ld"
     5     DebugEnabled = False
     5     DebugEnabled = False
       
     6 
       
     7     def GetBinaryCode(self):
       
     8         try:
       
     9             return open(os.path.join(self.buildpath, "ArmPLC_rom.bin"), "rb").read()
       
    10         except Exception, e:
       
    11             return None