targets/LPC/__init__.py
changeset 538 ad05f27222cd
parent 508 73ecb803d8af
child 540 bacc1314fee6
--- a/targets/LPC/__init__.py	Tue Jun 01 13:08:13 2010 +0200
+++ b/targets/LPC/__init__.py	Wed Jun 02 10:08:58 2010 +0200
@@ -3,3 +3,9 @@
 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