git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13550 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
cinsights 2020-04-22 02:52:44 +00:00
parent 3ee54c9874
commit ee185c0378
2 changed files with 29 additions and 28 deletions

View File

@ -60,38 +60,38 @@ EFlashDriver EFLD1;
#if defined(STM32F413xx) || defined(STM32F412xx) || defined(__DOXYGEN__)
/* Sector table for 1.5M device. */
static const flash_sector_descriptor_t efl_lld_sect1[STM32_FLASH1_SECTORS_TOTAL] = {
{ 0, 16134}, /* Sector 0. */
{ 1 * 16134, 16134}, /* Sector 1. */
{ 2 * 16134, 16134}, /* Sector 2. */
{ 3 * 16134, 16134}, /* Sector 3. */
{ 4 * 16134, 65536}, /* Sector 4. */
{ 4 * 16134 + 65536, 131072}, /* Sector 5. */
{ 4 * 16134 + 65536 + 1 * 131072, 131072}, /* Sector 6. */
{ 4 * 16134 + 65536 + 2 * 131072, 131072}, /* Sector 7. */
{ 4 * 16134 + 65536 + 3 * 131072, 131072}, /* Sector 8. */
{ 4 * 16134 + 65536 + 4 * 131072, 131072}, /* Sector 9. */
{ 4 * 16134 + 65536 + 5 * 131072, 131072}, /* Sector 10. */
{ 4 * 16134 + 65536 + 6 * 131072, 131072}, /* Sector 11. */
{ 4 * 16134 + 65536 + 7 * 131072, 131072}, /* Sector 12. */
{ 4 * 16134 + 65536 + 8 * 131072, 131072}, /* Sector 13. */
{ 4 * 16134 + 65536 + 9 * 131072, 131072}, /* Sector 14. */
{ 4 * 16134 + 65536 + 10 * 131072, 131072} /* Sector 15. */
{ 0, 16834}, /* Sector 0. */
{ 1 * 16834, 16834}, /* Sector 1. */
{ 2 * 16834, 16834}, /* Sector 2. */
{ 3 * 16834, 16834}, /* Sector 3. */
{ 4 * 16834, 65536}, /* Sector 4. */
{ 4 * 16834 + 65536, 131072}, /* Sector 5. */
{ 4 * 16834 + 65536 + 1 * 131072, 131072}, /* Sector 6. */
{ 4 * 16834 + 65536 + 2 * 131072, 131072}, /* Sector 7. */
{ 4 * 16834 + 65536 + 3 * 131072, 131072}, /* Sector 8. */
{ 4 * 16834 + 65536 + 4 * 131072, 131072}, /* Sector 9. */
{ 4 * 16834 + 65536 + 5 * 131072, 131072}, /* Sector 10. */
{ 4 * 16834 + 65536 + 6 * 131072, 131072}, /* Sector 11. */
{ 4 * 16834 + 65536 + 7 * 131072, 131072}, /* Sector 12. */
{ 4 * 16834 + 65536 + 8 * 131072, 131072}, /* Sector 13. */
{ 4 * 16834 + 65536 + 9 * 131072, 131072}, /* Sector 14. */
{ 4 * 16834 + 65536 + 10 * 131072, 131072} /* Sector 15. */
};
/* Sector table for 1M device. */
static const flash_sector_descriptor_t efl_lld_sect2[STM32_FLASH2_SECTORS_TOTAL] = {
{ 0, 16134}, /* Sector 0. */
{ 1 * 16134, 16134}, /* Sector 1. */
{ 2 * 16134, 16134}, /* Sector 2. */
{ 3 * 16134, 16134}, /* Sector 3. */
{ 4 * 16134, 65536}, /* Sector 4. */
{ 4 * 16134 + 65536, 131072}, /* Sector 5. */
{ 4 * 16134 + 65536 + 1 * 131072, 131072}, /* Sector 6. */
{ 4 * 16134 + 65536 + 2 * 131072, 131072}, /* Sector 7. */
{ 4 * 16134 + 65536 + 3 * 131072, 131072}, /* Sector 8. */
{ 4 * 16134 + 65536 + 4 * 131072, 131072}, /* Sector 9. */
{ 4 * 16134 + 65536 + 5 * 131072, 131072}, /* Sector 10. */
{ 4 * 16134 + 65536 + 6 * 131072, 131072} /* Sector 11. */
{ 0, 16834}, /* Sector 0. */
{ 1 * 16834, 16834}, /* Sector 1. */
{ 2 * 16834, 16834}, /* Sector 2. */
{ 3 * 16834, 16834}, /* Sector 3. */
{ 4 * 16834, 65536}, /* Sector 4. */
{ 4 * 16834 + 65536, 131072}, /* Sector 5. */
{ 4 * 16834 + 65536 + 1 * 131072, 131072}, /* Sector 6. */
{ 4 * 16834 + 65536 + 2 * 131072, 131072}, /* Sector 7. */
{ 4 * 16834 + 65536 + 3 * 131072, 131072}, /* Sector 8. */
{ 4 * 16834 + 65536 + 4 * 131072, 131072}, /* Sector 9. */
{ 4 * 16834 + 65536 + 5 * 131072, 131072}, /* Sector 10. */
{ 4 * 16834 + 65536 + 6 * 131072, 131072} /* Sector 11. */
};
/* The descriptors for 1.5M device. */

View File

@ -74,6 +74,7 @@
*****************************************************************************
*** Next ***
- FIX: Sector size incorrect in STM32F413 EFL driver (bug #1084).
- NEW: Mail Queues test implementation in CMSIS RTOS wrapper.
- NEW: Added dynamic reconfiguration API to lwIP bindings.
- FIX: Corrected I2C4 BDMA #define conditional in I2Cv3 (bug #1082)