waf: add flash_total to apj file
This commit is contained in:
parent
1ffbbb2896
commit
6b242bf1db
@ -154,6 +154,8 @@ class generate_apj(Task.Task):
|
||||
"summary": self.env.BOARD,
|
||||
"version": "0.1",
|
||||
"image_size": len(img),
|
||||
"flash_total": int(self.env.FLASH_TOTAL),
|
||||
"flash_free": int(self.env.FLASH_TOTAL) - len(img),
|
||||
"git_identity": self.generator.bld.git_head_hash(short=True),
|
||||
"board_revision": 0,
|
||||
"USBID": self.env.USBID
|
||||
|
Loading…
Reference in New Issue
Block a user