summaryrefslogtreecommitdiff
path: root/class/msc
AgeCommit message (Collapse)Author
2026-07-12update(security): check null pointer and overflowsakumisu
Signed-off-by: sakumisu <[email protected]>
2026-04-21fix(class/msc/usbd_msc): fix inquiry80 sizesakumisu
Signed-off-by: sakumisu <[email protected]>
2026-02-03style(class): remove device warning logs for memorysakumisu
Signed-off-by: sakumisu <[email protected]>
2025-07-19Clear error code after intentionally ignoring itDerek Konigsberg
In the case of handling a stall on a max lun request, we need to clear the error code in `ret` after ignoring it. This is necessary so the connect function won't fail. Fix #339
2025-07-16style: remove some logssakumisu
Signed-off-by: sakumisu <[email protected]>
2025-06-17msc: add support for SCSI_CMD_SYNCHCACHE10 (0x35) to fix unsupported command ↵KK
error
2025-06-03feat(class): add usb_osal_thread_schedule_other to allow the applications ↵sakumisu
which use the struct usbh_xxx to exit properly before free struct usbh_xxx Signed-off-by: sakumisu <[email protected]>
2025-04-28update(class): add weak api to avoid undefine symbol(not use such class but add)sakumisu
Signed-off-by: sakumisu <[email protected]>
2025-04-22refactor(class/usbd_msc): replace cherryrb with only variablesakumisu
Signed-off-by: sakumisu <[email protected]>
2025-03-28update: add usb align up for every buffer when use dcache clean&invalid apisakumisu
Signed-off-by: sakumisu <[email protected]>
2025-01-26update(class/msc/usbh_msc): move msc scsi commands out to prevent blocking ↵sakumisu
enum thread Signed-off-by: sakumisu <[email protected]>
2025-01-20feat(osal): add argument macro for different os, especially for nuttxsakumisu
Signed-off-by: sakumisu <[email protected]>
2025-01-16update(class/msc/usbh_msc): add retry macrosakumisu
Signed-off-by: sakumisu <[email protected]>
2025-01-16[update] class: msc host: update msc host class stack (#285)chenzhihong007
- use CONFIG_USBHOST_MSC_TIMEOUT as inquiry timeout - separate cbw/csw from g_msc_buf - try again ready check when device not ready - print errcode in error log Signed-off-by: Zhihong Chen <[email protected]>
2024-10-30fix: rename class to class_code, for c++ compatibility (#269)electretmike
Co-authored-by: Michiel van Leeuwen <[email protected]>
2024-09-27fix(class/msc/usbh_msc): when device stalls by usbh_msc_get_maxlun, ingore ↵sakumisu
error and set lun=0, refs:#259
2024-09-19fix(class/msc/usbd_msc): fix warning and add check for ↵sakumisu
CONFIG_USBDEV_MSC_MAX_BUFSIZE
2024-09-19chore: static code analysissakumisu
2024-09-02fix(class/msc/usbd_msc): fix missing return valuesakumisu
2024-08-21fix: fix -Wunused-parameter warning with -Wextra cflagsakumisu
2024-08-15fix(class): use different buffer for cdc_acm,hid,msc,serialsakumisu
2024-08-08fix(class/msc/usbd_msc): fix spellingsakumisu
2024-08-08feat(class/msc/usbd_msc): add msc polling mode to move read & write from isr ↵sakumisu
to while1
2024-06-23update(class/msc/usbh_msc): add MSC_INQUIRY_TIMEOUT to break quickly in ↵sakumisu
inquiry stage
2024-06-23update: check class->hport validitysakumisu
2024-05-03support id table for multi vid pidsakumisu
2024-04-24add user_data param in host class for userssakumisu
2024-03-28fix msc buf overflow because of SCSICMD_INQUIRY_SIZEOFsakumisu
2024-02-23class: msc: stage change should be before usbd_ep_start_write()Zhihong Chen
- stage change should be before usbd_ep_start_write() Signed-off-by: Zhihong Chen <[email protected]>
2024-02-06support multi port api for devicesakumisu
2024-02-06class: msc device: support multi lunZhihong Chen
- support multi lun Signed-off-by: Zhihong Chen <[email protected]>
2024-01-30update log tagsakumisu
2024-01-16add usbd init and deinit event macrosakumisu
2024-01-06rename CONFIG_USBDEV_MSC_BLOCK_SIZE to CONFIG_USBDEV_MSC_MAX_BUFSIZEsakumisu
2023-12-05add usb errno, do not use system errnosakumisu
2023-11-16refactor urb, add ep & hport in urb to make hardware pipe more reusablesakumisu
2023-11-13check and execute modeswitch firstsakumisu
2023-11-04support usb modeswitchsakumisu
2023-10-12osal: add USB_OSAL_WAITING_FOREVER for Semaphore and Queue useZhihong Chen
- add USB_OSAL_WAITING_FOREVER for Semaphore and Queue use Signed-off-by: Zhihong Chen <[email protected]>
2023-08-29implement msc device thread,remove other unused os threadsakimisu
2023-08-05fix function namesakimisu
2023-07-12use static memory to malloc & free classsakimisu
2023-07-11add msc popup functionsakumisu
2023-06-21format class struct and global variable namesakimisu
2023-06-21export cdc/msc/rndis/mtp mps, configured by usersakimisu
2023-05-19修复requestsense设定数据长度错误的问题heyuanjie87
2023-05-17call usbh_xxx_stop when class enumerates completelysakimisu
2023-03-16fix print logsakumisu
2023-03-12format codesakimisu
2023-03-11[update] Improve the compatibility of USB flash drive enumeration。zhouji