raiden00pl commented on PR #15524:
URL: https://github.com/apache/nuttx/pull/15524#issuecomment-2592179206

   Disabling DEV_CONSOLE when CDCACM is enable is the correct way:
   
   
https://github.com/apache/nuttx/blob/61f0c97193e3adbb1eee07bb854799d35843f12e/sched/Kconfig#L1366-L1371
   
   I think this is a common problem that many users have encountered. We should 
probably handle this in a better, automatic way. Probably sth like this:
   
   
   ```
   in sched/Kconfig:
   
   config LATE_CONSOLE
          bool
          ---help---
            Selected by console devices that are initialized after the 
application starts.
   
   config DEV_CONSOLE
        bool "Enable /dev/console"
        default !LATE_CONSOLE
   
   in drivers/usbdev/Kconfig:
   config CDCACM_CONSOLE
        bool "CDC/ACM console device"
           select LATE_CONSOLE
        default n
   
   ```


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