kasjer opened a new pull request, #3199:
URL: https://github.com/apache/mynewt-core/pull/3199

   STM32H7 actually has liner flash with sectors of 128kB. There is no need for 
stm32_flash_sectors table in BSP.
   
   Additionally non-linear version that was used so far would not compile for 
some H7 chips that have different FLASH CR register and where 
FLASH_VOLATEG_RANGE_3 is not defined.
   
   Liner sector variant was chosen when FLASH_PAGE_SIZE was defined. While H7 
and H5 don't have this definition they do have FLASH_SECTOR_SIZE and when this 
definition is present FLASH_IS_LINEAR is also set to 1


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to