nuttx-apps icon indicating copy to clipboard operation
nuttx-apps copied to clipboard

apps/system USB Functional Partitioning

Open patacongo opened this issue 5 years ago • 0 comments

Several of the USB device helper applications in apps/system violate OS/application partitioning and will fail on a kernel or protected build. Many of these have been fixed by adding the BOARDIOC_USBDEV_CONTROL boardctl() command. But there are still issues.

These functions still call directly into operating system functions:

  • usbmsc_configure - Called from apps/system/usbmsc and apps/system/composite
  • usbmsc_bindlun - Called from apps/system/usbmsc
  • usbmsc_exportluns - Called from apps/system/usbmsc.

patacongo avatar Jul 02 '20 17:07 patacongo