v01d commented on pull request #2177: URL: https://github.com/apache/incubator-nuttx/pull/2177#issuecomment-724748973
> So, how do you propose that I can continue? > > What is your recommendation on setting the correct FLASH prefetch cycles, in a safe way? There's not much I can suggest besides considering what I already mentioned about the correct order to do this, depending on the frequency the system clock might be at (as per the manual recommends), considering that this function can be called on boot and when returning from sleep. You should read on the available clock sources, which ones may be selected during sleep, and consider which one may be active at those moments. And again the tricky part is to ensure that all chips that run this function have their requirements met. I assume that the implementations of clockenable() which is currently split in different files follows the group of chips documented in each corresponding manual. Maybe this could be checked. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
