Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Add FLASHIAP component to DISCO_H747 #11619
FLASHIAP component/capability is needed for DeviceKey functionality
Related to issue 11617.
Enable FLASHIAP component on ST DISCO_H747I.
jeromecoutant left a comment
@SeppoTakalo - @jeromecoutant is right, does not make sense adding TDB_INTERNAL to these one-by-one, it should be a generic "default" choice, which you may then override if you so want. Question is - where does it actually put that TDB_INTERNAL storage in the flash? How does it define the place?
DeviceKey needs the definition of the default storage place, define it to be TDB_INTERNAL (as for the other boards).
Place it at the end of the bank1, last two erase sectors. As erase sector is 128 kB, default size must be double of that. This can't be in bank2 as that is apparently dedicated to the M4 core. Memory map is available in; https://github.com/ARMmbed/mbed-os/blob/master/targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/flash_data.h Memory map does not have this information, but issue (#11617) has.
Flash tests also pass;