summaryrefslogtreecommitdiff
path: root/src/class/msc/msc_device.c
AgeCommit message (Collapse)Author
2023-08-02default class driver log level to CFG_TUH/TUD_LOG_LEVEL allow application to ↵hathach
selectively disable usbd/usbh or driver log
2023-07-24rename CFG_TUSB_MEM_SECTION to CFG_TUD_MEM_SECTION in device stackhathach
CFG_TUD_MEM_SECTION is default to CFG_TUSB_MEM_SECTION
2023-07-20improve logging, allow easier to turn off usbd, driver logginghathach
can be useful when focusing on let's say usbh
2023-02-27Merge pull request #1852 from silvergasp/mem_sHa Thach
fix: Replace device calls to memcpy with tu_memcpy_s
2023-02-27minor clean uphathach
2023-02-22use tu_static instead of static _fuzz_threadhathach
2023-02-22rename maros from FUZZ to _FUZZ, change TU_STATIC to static _fuzz_threadhathach
2023-01-20fix: Change all static variables to thread when fuzzingNathaniel Brough
2023-01-13fix: Replace device calls to memcpy with tu_memcpy_sNathaniel Brough
Introduces a new function tu_memcpy_s, which is effectively a backport of memcpy_s. The change also refactors calls to memcpy over to the more secure tu_memcpy_s.
2022-06-24fix redundant-decls warnings by usbd/usbhhathach
2022-06-24add more warning option, also fix -Wconversion with rp2040hathach
-Wuninitialized, -Wunused, -Wredundant-decls
2022-02-26Merge pull request #1350 from hathach/enhance-multipl-portsHa Thach
Enhance rhports management
2022-02-25Set the standard inquiry response additional length field.iabdalkader
* The standard inquiry response additional length field needs to be set to the length in bytes of the remaining standard inquiry data (i.e. N - 5), otherwise the kernel driver issues a warning about short inquiry response..
2022-02-25rename TUSB_OPT_DEVICE_ENABLED to CFG_TUD_ENABLEDhathach
TUSB_OPT_DEVICE_ENABLED still usable for backward compatible
2022-02-15minor rename set sense functionhathach
2022-02-15msc example response PREVENT_ALLOW_MEDIUM_REMOVAL command as unsupported commandhathach
LUN1 of msc_disk_dual will be set to not ready to simulate medium not present (e.g SD card removed)
2022-02-14add tud_msc_request_sense_cb() as weak callbackhathach
set default error sense to NOT READY, Medium not present
2021-10-26Merge branch 'tannewt-rpi' into generalize-synopsys-dwc2hathach
2021-10-25change usage of TU_CHECK_MCU() to prevent macro conflicthathach
2021-10-15update some sense warning from -Wconversionhathach
2021-10-01Merge pull request #1120 from hathach/enhanceHa Thach
house keeping update
2021-09-30change scsis status to phase error when total_bytes < block_counthathach
2021-09-27Assure msc device block size is not zeroszymonh
2021-09-17rpi start. doesn't workScott Shawcroft
2021-09-14update configuration parserhathach
2021-09-07add msc workaround for cxd56hathach
2021-09-06Revert "Fix for MSC during stage STATUS"hathach
This reverts commit 2e23f3dd7287186445aeab39108f81c51644ed77.
2021-09-03Fix for MSC during stage STATUSKamil Tomaszewski
2021-09-01add back edpt check before cbw, since bot reset can occurred any timehathach
2021-09-01revert previous changes, edpt stall also clear any pending (not complete) ↵hathach
transfer
2021-08-31fix rp2040 chapter 9 TD 9.6 testhathach
2021-08-29responding with status per-spec in test case 4hathach
2021-08-29passed all USBCV bot complaince testhathach
2021-08-29msc handle more test, passed Command Self Test complianthathach
2021-08-29update msc to be more robusehathach
add more log, pass more complaint test
2021-08-27fix msc test case 8 and 10hathach
2021-08-27fix msc case 3 complaint testhathach
2021-08-27more msc refactoringhathach
2021-08-27fix BOT case 2 test complianthathach
2021-08-27refactor msc devicehathach
2021-08-27minor clean uphathach
2021-08-27update msc driver to pass MSC BOT error recovery compliant testhathach
2021-07-13add option to silent a driver loghathach
2021-06-02clean up loghathach
2021-05-27include clean uphathach
2021-04-26add TUP_MCU_STRICT_ALIGN macro that manually pick bytes for lpc55 port1 that ↵hathach
is m4 but cannot unaligned acces on usb ram
2020-12-20Fix error if "Required Prototype" is selected.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2020-11-24msc only invoke scsi complete callback after status transaction is completehathach
2020-11-19merge class driver control_request & control_complete to control_xfer_cb()hathach
migrated msc_device
2020-08-07allow application driver to overwrite built-in onehathach
- position application driver before built-in - remove dcd.h from public include.