mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 21:05:35 +03:00
Require explicit usage of firmware partition for EXST targets. (#12299)
Require explicit usage of firmware partition in preparation for memory mapped EXST targets with a second flash chip for data storage and config.
This commit is contained in:
parent
1ff78c6aac
commit
c1c1f95578
1 changed files with 1 additions and 1 deletions
|
@ -519,7 +519,7 @@ static void flashConfigurePartitions(void)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(FIRMWARE_SIZE)
|
#if defined(FIRMWARE_SIZE) && defined(USE_FIRMWARE_PARTITION)
|
||||||
const uint32_t firmwareSize = (FIRMWARE_SIZE * 1024);
|
const uint32_t firmwareSize = (FIRMWARE_SIZE * 1024);
|
||||||
flashSector_t firmwareSectors = (firmwareSize / flashGeometry->sectorSize);
|
flashSector_t firmwareSectors = (firmwareSize / flashGeometry->sectorSize);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue