This repository was archived by the owner on Jun 5, 2019. It is now read-only.
This repository was archived by the owner on Jun 5, 2019. It is now read-only.
Configuration size vs. flash memory sector size #490
Open
Description
Some of the recent CPU variants, namely STM32F74xx and STM32F75xx, have flash memory divided into sectors of relatively large size, starting at 32 KB (then 128 KB and 256 KB).
In the current implementation, the NETMF configuration data requires a dedicated flash memory sector (BlockUsage::CONFIG), but its actual size is much smaller (<< 4 KB), which results in wasting precious flash space. (The situation will most likely be even worse, due to the size of tinybooter which is roughly 30 - 50 KB, depending on transport and presence of crypto libs.)
I am not sure what would be the best way to solve this problem (move the config data to some other block, deploy it as an assembly ?...); I guess this is rather something to keep in mind for v5...