mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
waf: rename EXTERNAL_PROG_FLASH_MB to EXT_FLASH_SIZE_MB
This commit is contained in:
parent
f441ba21ee
commit
2beb9cfc7d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user