acassis commented on PR #12350:
URL: https://github.com/apache/nuttx/pull/12350#issuecomment-2120377321

   @jfbblue0922 something like:
   
   ```
   #if defined(CONFIG_ARCH_CHIP_STM32H755II)
   #define STM32_PWR_CR3_VALUE (STM32_PWR_CR3_LDOEN)
   #else
   #define STM32_PWR_CR3_VALUE (STM32_PWR_CR3_LDOEN | STM32_PWR_CR3_SCUEN)
   #endif
   ```
   
   Then use the macro STM32_PWR_CR3_VALUE to enable the right bits in both 
cases.


-- 
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-unsubscr...@nuttx.apache.org

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

Reply via email to