hartmannathan commented on issue #745: [DO NOT MERGE] arch/stm32h7: Explicit 
support for all STM32H7x3xx
URL: https://github.com/apache/incubator-nuttx/pull/745#issuecomment-614284278
 
 
   > @hartmannathan if you wrap 
https://github.com/hartmannathan/incubator-nuttx/blob/stm32h7x3xx/arch/arm/src/stm32h7/stm32_gpio.h#L203-L204
 - With the defined(CONFIG_STM32H7_HAVE_GPIO{GF}) Then compiler will keep a 
user from using Ports G and F on a part that does not support it.
   
   Then it would make sense to wrap the other GPIO_PORTn defines with similar 
preprocessor logic, so that e.g., the compiler will prevent use of GPIO_PORTK 
when it doesn't exist. I'll make that change.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to