summaryrefslogtreecommitdiff
path: root/examples/device/msc_dual_lun
AgeCommit message (Collapse)Author
2023-03-17fix trailing space and new linehathach
temporarily disable codespell
2023-03-06integrate top.mk into make.mkhathach
2022-11-30Add endpoint definitions for more example projects.Gordon McNab
2022-09-13Remove unreachable codeBen Avison
IAR generates warning Pe111 'statement is unreachable'. In a couple of cases, replace return statements with TU_ATTR_FALLTHROUGH; because some compilers apparently can't figure out that the return statements are unreachable but do whinge about an imagined fall-through without them!
2022-07-12RP@040: rework CMake for compiler warningsgraham sanderson
2022-06-27fix all device examples warningshathach
2022-06-27fix most warnings with rp2040 -wconversionhathach
2022-06-06more example updatehathach
2022-06-01rename board specific macro for examplehathach
- BOARD_DEVICE/HOST_RHPORT_NUM to BOARD_TUD/H_RHPORT - BOARD_DEVICE/HOST_RHPORT_SPEED to BOARD_TUD/H_MAX_SPEED
2022-02-25auto detect max rhport speed based on mcuhathach
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-01-05Unify skip and only logic for build scriptsScott Shawcroft
And switch to a single file that can include mcu, family or board.
2021-10-15msc examples: Extend serial number to 12 digitsJerzy Kasenberg
USB3CV tool complains about too short serial number being used in MSC device. This just extends serial number to 12 characters, it makes it easier to analyze USB3CV logs where this unnecessary warning made output red. Offending warning: Serial Number string for MSC device : iSerialNumber = 0x3 Checking iSerialNumber String Descriptor: index = 0x03. String Descriptor : "123456". (ENGLISH_US) Using Language ID 0x409 MSC Serial Number length = 14 Invalid MSC Serial Number length : should be >= 26 ************************* Invalid MSC Serial Number length ************************* ************************* (MSC: 5.1.2) Serial number must be a string, 12 characters or longer (if the device supports a BOT interface, bInterfaceProtocol = 0x50), or exactly 12 characters long (if the device supports a CBI interface, bInterfaceProtocol = 0x00 or 0x01, and has a serial number).
2021-08-28fix msc example with out of bound lba (due to compliant test)hathach
2021-08-28correct msc example return type of tud_msc_scsi_cb()hathach
2021-08-27update msc driver to pass MSC BOT error recovery compliant testhathach
2021-08-26TD 9.12 remote wakeup testhathach
remove TUSB_DESC_CONFIG_ATT_REMOTE_WAKEUP attribute from non-hid examples
2021-06-10Make examples standalone buildable via CMakegraham sanderson
2021-05-30Rework rp2040 examples and CMake build:graham sanderson
- Examples should be CMake buildable from their own subdirectory; such a build will error out based on matching .skip.MCU_xxx or a mismatched .only.MCU_ - It should be possible to build from a higher level and use .skip.MCU_ and .only.MCU_ to filter which examples get built - The intention is for the CMakeLists.txts in the examples to be non family specific and without MCU based IFs. I have started this work, but am not really sure the state of the esp32 stuff; in any case the plan is to have everything encapsulated in the FAMILY/family.cmake - pico_examples now just includes examples/device/CMakeLists.txt and examples/host/CMakeLists.txt directly, as they also build correctly when included from there. Note that .skip.MCU_ for esp32 in the directories it wasn't previously avaiable has not been added, as the .skip is common to the regular Makefile builds also. It isn't clear whether these examples should build for esp32, but if not .skip should be added.
2021-04-19cmake cleanuphathach
2021-04-11update rp2040 to use pico-sdk externallyhathach
also try to update ci
2021-03-18use boot2_generic_03h for adafruit feather rp2040hathach
- also use boot2_generic_03h for now for itsy bitsy and qt rp2040 - change default flash target for rp2040 to flash-pyocd
2021-03-02update pico-sdk to more recent commithathach
- move target_link_libraries() to family.cmake - enable pico_bootsel_via_double_reset
2021-02-01added enumerate walkaround for RP2040-E5hathach
- PICO_RP2040_USB_DEVICE_ENUMERATION_FIX=1 - target linke pico_fix_rp2040_usb_device_enumeration
2021-01-26change output filename to BOARD-Directoryhathach
2021-01-25get all device example build with rp2040 (except freeRTOS)hathach
2020-12-25skip overflow sram examples for kl25hathach
2020-08-22add OPT_MCU_SAMD11hathach
skip ci build for example that need more ROM/RAM could fit into SAMD11
2020-07-21add note for MS OS 1.0 Descriptor at 0xEEhathach
2020-07-19minor clean uphathach
2020-07-16rename CFG_TUD_MSC_BUFSIZE to CFG_TUD_MSC_EP_BUFSIZEhathach
rename CFG_TUD_HID_BUFSIZE to CFG_TUD_HID_EP_BUFSIZE
2020-07-16add fs & hs config for cdc_msc_freertos, midi_test, msc_dual_lunhathach
2020-06-15update example config and descriptor with better Highspeed supporthathach
2020-04-17update example to include CXD56 for highspeed modehathach
2020-03-31revise argument order for TUD_CONFIG_DESCRIPTOR macroPeter Lawrence
2020-03-30add provision for multiple configurationsPeter Lawrence
2020-03-07Merge pull request #291 from hathach/port-samg55Ha Thach
Port samg55
2020-03-03Merge pull request #280 from majbthrd/nuc505Ha Thach
add Nuvoton NUC505
2020-02-26Add langid to examples.Chang Feng
Signed-off-by: Chang Feng <[email protected]>
2020-02-07add Nuvoton NUC505Peter Lawrence
2020-02-07correct waklaround with only status INhathach
correct usb descriptor msc dual example to work with samg
2019-11-22rename OPT_MCU_IMXRT10XX to OPT_MCU_MIMXRT10XXhathach
2019-11-22rename OPT_MCU_RT10XX to OPT_MCU_IMXRT10XXhathach
2019-11-22config clean uphathach
2019-09-27Fix typo of CFG_TUD_ENDOINT0_SIZE.Nathan Conrad
2019-09-23examples: Allow user to override EP0 size.William D. Jones
2019-09-11fix #130hathach
2019-09-09Set MSC DISK DUAL readonly on F070.Nathan Conrad
2019-09-06lpc11u37 supportedhathach
2019-08-01clean uphathach
- remove TUD_WEBUSB_URL_DESCRIPTOR to avoid flexible array member (C++ forbid in strict mode) - remove unused TUD_DESC_STRLEN/TUD_DESC_STR_HEADER/TUD_DESC_STR_HEADER