author | laurent |
Wed, 02 Jun 2010 16:52:58 +0200 | |
changeset 541 | 4d9ca788205e |
parent 538 | ad05f27222cd |
child 540 | bacc1314fee6 |
permissions | -rwxr-xr-x |
425 | 1 |
from .. import toolchain_makefile |
2 |
||
489 | 3 |
class LPC_target(toolchain_makefile): |
425 | 4 |
extension = ".ld" |
5 |
DebugEnabled = False |
|
538
ad05f27222cd
Moved LPC specific code from toolchain_makefile into LPC target, added FROM_BEREMIZ variable to tell LPC's makefile it is invoked from here.
edouard
parents:
508
diff
changeset
|
6 |
|
ad05f27222cd
Moved LPC specific code from toolchain_makefile into LPC target, added FROM_BEREMIZ variable to tell LPC's makefile it is invoked from here.
edouard
parents:
508
diff
changeset
|
7 |
def GetBinaryCode(self): |
ad05f27222cd
Moved LPC specific code from toolchain_makefile into LPC target, added FROM_BEREMIZ variable to tell LPC's makefile it is invoked from here.
edouard
parents:
508
diff
changeset
|
8 |
try: |
ad05f27222cd
Moved LPC specific code from toolchain_makefile into LPC target, added FROM_BEREMIZ variable to tell LPC's makefile it is invoked from here.
edouard
parents:
508
diff
changeset
|
9 |
return open(os.path.join(self.buildpath, "ArmPLC_rom.bin"), "rb").read() |
ad05f27222cd
Moved LPC specific code from toolchain_makefile into LPC target, added FROM_BEREMIZ variable to tell LPC's makefile it is invoked from here.
edouard
parents:
508
diff
changeset
|
10 |
except Exception, e: |
ad05f27222cd
Moved LPC specific code from toolchain_makefile into LPC target, added FROM_BEREMIZ variable to tell LPC's makefile it is invoked from here.
edouard
parents:
508
diff
changeset
|
11 |
return None |