You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/07/09 15:16:33 UTC

[GitHub] [incubator-nuttx] fjpanag opened a new pull request #4107: lpc17_40: Fixed progmem driver.

fjpanag opened a new pull request #4107:
URL: https://github.com/apache/incubator-nuttx/pull/4107


   ## Summary
   
   The LPC17XX/40XX had several issues and was not fully usable.  
   The most prominent was that it made the assumption that only the last sectors will be used by the progmem interface.
   
   The new driver can use the whole Flash memory available, correctly.
   
   ## Impact
   
   Applications using this driver will need changes.  
   The new driver uses absolute sector numbers, while previously they were relative to the first sector used.  
   Also now both 4k and 32k sectors are used, while before it was only possible to use the 32k ones.
   
   Fixing it however should be fairly trivial, only the sector numbers need to change.
   
   On the other hand, since the driver now works correctly, applications written for other MCUs, can now run directly to the LPC17XX family without any changes.
   
   ## Testing
   
   Tested on custom hardware, based on the LPC1769.  
   All functions seem to work as they should.
   
   Also tested porting STM32F4 software to the LPC1769.  
   The code worked perfectly without any modification.
   


-- 
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: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #4107: lpc17_40: Fixed progmem driver.

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 merged pull request #4107:
URL: https://github.com/apache/incubator-nuttx/pull/4107


   


-- 
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: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org