linguini1 commented on code in PR #19005:
URL: https://github.com/apache/nuttx/pull/19005#discussion_r3337052796


##########
arch/arm64/src/am62x/CMakeLists.txt:
##########
@@ -24,6 +24,21 @@
 
 list(APPEND SRCS am62x_boot.c am62x_16550serial.c)
 
+if(CONFIG_AM62X_GPIO)
+  list(APPEND SRCS am62x_gpio.c)
+endif()
+
+if(CONFIG_AM62X_I2C0
+   OR CONFIG_AM62X_I2C1
+   OR CONFIG_AM62X_I2C2
+   OR CONFIG_AM62X_I2C3)

Review Comment:
   Is there not a global feature flag here for I2C you could use instead?



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