Moved LPC specific code from toolchain_makefile into LPC target, added FROM_BEREMIZ variable to tell LPC's makefile it is invoked from here.
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