nuttx-apps/system/cdcacm
YAMAMOTO Takashi c304624fab Replace "STACKSIZE = 2048" with CONFIG_DEFAULT_TASK_SIZE
For now, I left the following instances because it isn't
clear to me why they are using the different values.
Maybe they need one-by-one inspection.

    examples/igmp/Makefile:STACKSIZE = 1024
    examples/powerled/Makefile:STACKSIZE = 1024
    examples/powermonitor/Makefile:STACKSIZE = 768
    examples/relays/Makefile:STACKSIZE = 512
    examples/smps/Makefile:STACKSIZE = 1024
    graphics/screenshot/Makefile:STACKSIZE = 4096
    system/flash_eraseall/Makefile:STACKSIZE = 1024
    testing/cxxtest/Makefile:STACKSIZE = 4096
    testing/smart_test/Makefile:STACKSIZE = 4096
2020-03-27 02:43:11 -05:00
..
.gitignore Revert "Don't generate .depend anymore" 2020-03-22 23:09:40 -05:00
cdcacm_main.c Unify the void cast usage 2020-01-02 23:21:01 +08:00
cdcacm.h apps.: Remove the inappropriate NSH_BUILTIN_APPS coupling 2019-10-07 02:37:56 -06:00
Kconfig Remove extra whitespace from files (#43) 2020-01-31 08:29:24 -06:00
Make.defs Remove extra whitespace from files (#43) 2020-01-31 08:29:24 -06:00
Makefile Replace "STACKSIZE = 2048" with CONFIG_DEFAULT_TASK_SIZE 2020-03-27 02:43:11 -05:00
README.txt Run codespell -w with the latest dictonary again 2020-02-23 07:10:14 -06:00

system/cdcacm
^^^^^^^^^^^^^^^

  This very simple add-on allows the USB CDC/ACM serial device can be dynamically
  connected and disconnected from a host.  This add-on can only be used as
  an NSH built-in command.  If built-in, then two new NSH commands will be
  supported:

    1. sercon - Connect the CDC/ACM serial device
    2. serdis - Disconnect the CDC/ACM serial device

  Configuration prerequisites (not complete):

    CONFIG_USBDEV=y                 : USB device support must be enabled
    CONFIG_CDCACM=y                 : The CDC/ACM driver must be built

  Configuration options specific to this add-on:

    CONFIG_SYSTEM_CDCACM_DEVMINOR : The minor number of the CDC/ACM device.
                                    : i.e., the 'x' in /dev/ttyACMx

  If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG_FEATURES and CONFIG_DEBUG_USB, or
  CONFIG_USBDEV_TRACE), then the add-on code will also initialize the USB trace
  output.  The amount of trace output can be controlled using:

  CONFIG_SYSTEM_CDCACM_TRACEINIT
    Show initialization events
  CONFIG_SYSTEM_CDCACM_TRACECLASS
    Show class driver events
  CONFIG_SYSTEM_CDCACM_TRACETRANSFERS
    Show data transfer events
  CONFIG_SYSTEM_CDCACM_TRACECONTROLLER
    Show controller events
  CONFIG_SYSTEM_CDCACM_TRACEINTERRUPTS
    Show interrupt-related events.

  Note:  This add-on is only enables or disable USB CDC/ACM via the NSH
  'sercon' and 'serdis' command.  It will enable and disable tracing per
  the settings before enabling and after disabling the CDC/ACM device. It
  will not, however, monitor buffered trace data in the interim.  If
  CONFIG_USBDEV_TRACE is defined (and the debug options are not), other
  application logic will need to monitor the buffered trace data.