waf: rename EXTERNAL_PROG_FLASH_MB to EXT_FLASH_SIZE_MB

This commit is contained in:
Andy Piper 2021-09-07 16:42:52 +01:00 committed by Peter Hall
parent f441ba21ee
commit 2beb9cfc7d

View File

@ -237,8 +237,8 @@ class generate_apj(Task.Task):
"flash_total": int(self.env.FLASH_TOTAL), "flash_total": int(self.env.FLASH_TOTAL),
"image_maxsize": int(self.env.FLASH_TOTAL), "image_maxsize": int(self.env.FLASH_TOTAL),
"flash_free": int(self.env.FLASH_TOTAL) - len(intf_img), "flash_free": int(self.env.FLASH_TOTAL) - len(intf_img),
"extflash_total": int(self.env.EXTERNAL_PROG_FLASH_MB * 1024 * 1024), "extflash_total": int(self.env.EXT_FLASH_SIZE_MB * 1024 * 1024),
"extflash_free": int(self.env.EXTERNAL_PROG_FLASH_MB * 1024 * 1024) - len(extf_img), "extflash_free": int(self.env.EXT_FLASH_SIZE_MB * 1024 * 1024) - len(extf_img),
"git_identity": self.generator.bld.git_head_hash(short=True), "git_identity": self.generator.bld.git_head_hash(short=True),
"board_revision": 0, "board_revision": 0,
"USBID": self.env.USBID "USBID": self.env.USBID