You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/02/07 22:46:42 UTC

[GitHub] [incubator-nuttx] patacongo commented on a change in pull request #217: Refine Kconfig under drivers folder

patacongo commented on a change in pull request #217: Refine Kconfig under drivers folder
URL: https://github.com/apache/incubator-nuttx/pull/217#discussion_r376642907
 
 

 ##########
 File path: drivers/Kconfig
 ##########
 @@ -88,18 +88,6 @@ if CAN
 source drivers/can/Kconfig
 endif
 
-config ARCH_HAVE_PWM_PULSECOUNT
-	bool
-	default n
-
-config ARCH_HAVE_PWM_MULTICHAN
-	bool
-	default n
-
-config ARCH_HAVE_I2CRESET
-	bool
-	default n
-
 
 Review comment:
   I believe that it is an error to move ARCH_HAVE_I2CRESET so that it depencds on I2C.  There is no dependency on I2C at all.  Setting that option simply means that the architecture does dupport I2CRESET.  I2C is not needed.
   
   Further, this introduces errors. Abdelatif points out this the causes warnings in the Kconfig files.  Since there is absolutely no logical dependency on I2C, architecture configurations select ARCH_HAVE_I2CRESERT (correct) but because of this change, all of this selections now cause un-met dependency warnings incorrect.
   
   The correct fix is to restore the code as it was before (and NOT to add if I2C).
   

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


With regards,
Apache Git Services