Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EEPROM emulation: wrong flash sector used for some F7 variants
Default configuration for F76xx and F77xx chip is single bank. But HAL define FLASH_SECTOR_TOTAL doesn't represent the real number of sector, instead, it represents the maximum number of sectors (for single and dual bank). So for variants using F76xx and F77xx chip, we must define FLASH_BASE_ADDRESS and FLASH_DATA_SECTOR in order to use the last sector of the flash corresponding to the default single bank configuration. Variants concerned: NUCLEO_F767ZI and REMRAM Fixes #297
- Loading branch information