Esempio n. 1
0
static int nsh_usbdevinitialize(void)
{
  /* The Sure board has no way to know when the USB is connected.  So we
   * will fake it and tell the USB driver that the USB is connected now.
   */

  pic32mx_usbattach();
  return OK;
}
Esempio n. 2
0
static int nsh_usbdevinitialize(void)
{
  /* The PIC32 Starter Kit has no way to know when the USB is connected.  So
   * we will fake it and tell the USB driver that the USB is connected now.
   */

  pic32mx_usbattach();
  return OK;
}
static int nsh_usbdevinitialize(void)
{
  /* The Mikroelektronika PIC32MX7 MMB has no way to know when the USB is
   * connected.  So we will fake it and tell the USB driver that the USB is
   * connected now.
   */

  pic32mx_usbattach();
  return OK;
}
Esempio n. 4
0
int usbterm_devinit(void)
{
  /* The PIO32 Starter Kit has no way to know when the USB is connected.  So
   * we will fake it and tell the USB driver that the USB is connected now.
   *
   * If examples/usbterm is built as an NSH built-in application, then
   * pic32mx_usbattach() will be called in board_app_initialize().
   */

#ifndef CONFIG_NSH_BUILTIN_APPS
  pic32mx_usbattach();
#endif
  return OK;
}
Esempio n. 5
0
int usbterm_devinit(void)
{
  /* The Sure board has no way to know when the USB is connected.  So we
   * will fake it and tell the USB driver that the USB is connected now.
   *
   * If examples/usbterm is built as an NSH built-in application, then
   * pic32mx_usbattach() will be called in nsh_archinitialize().
   */

#ifndef CONFIG_EXAMPLES_USBTERM_BUILTIN
  pic32mx_usbattach();
#endif
  return OK;
}