adwait-godbole opened a new pull request, #18295:
URL: https://github.com/apache/nuttx/pull/18295

   This PR fixes a compilation error in `stm32f10xxf30xx_flash.c` where the 
variable `page` was used without being declared in up_progmem_write().
   
   The issue is configuration-dependent and occurs when STM32_FLASH_DUAL_BANK 
is enabled.
   
   The fix derives the page index from the write address using 
up_progmem_getpage() and uses it for flash bank selection.
   
   Fixes #18172 
   


-- 
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