Mercurial > lcfOS
diff python/codegenarm.py @ 256:225f444019b1
Added build and flash menu option
author | Windel Bouwman |
---|---|
date | Sun, 04 Aug 2013 18:32:04 +0200 |
parents | 7416c923a02a |
children | 04c19282a5aa |
line wrap: on
line diff
--- a/python/codegenarm.py Sun Aug 04 15:10:10 2013 +0200 +++ b/python/codegenarm.py Sun Aug 04 18:32:04 2013 +0200 @@ -62,6 +62,8 @@ self.align() self.outs.backpatch() self.outs.backpatch() + code = self.outs.getSection('code').to_bytes() + self.logger.info('Generated {} bytes code'.format(len(code))) def dcd(self, x): self.emit(arm.dcd_ins(Imm32(x)))