Commit Graph

70 Commits

Author SHA1 Message Date
87572871d5 update example for better cdc echo 2022-04-20 18:52:15 +07:00
6a022c73db add note for tud_task() behavior in freertos example 2022-04-20 18:35:38 +07:00
b034c18077 add tud_task_ext(), tuh_task_ext() as exteneded version that take timeout and in_isr
also allow exit tud_task,tuh_task after processing all events for
running other background task for user
2022-04-20 18:29:41 +07:00
669e36d674 fix freertos issue when 1 tick > 1 ms 2022-04-20 14:37:42 +07:00
52645fcc1b fix build with latest esp idf 2022-02-18 13:07:21 +07:00
391edc7afb msc example response PREVENT_ALLOW_MEDIUM_REMOVAL command as unsupported command
LUN1 of msc_disk_dual will be set to not ready to simulate medium not
present (e.g SD card removed)
2022-02-15 22:40:08 +07:00
7ad0af64cc use 4k stack for example with esp32sx 2021-11-29 13:24:10 +07:00
dbd31895bc change usage of TU_CHECK_MCU() to prevent macro conflict 2021-10-25 17:04:03 +07:00
4ccf60954d moving esp32s2 to dwc2, abstract dwc2_set_turnaround() 2021-10-25 15:51:41 +07:00
9a688224d0 msc examples: Extend serial number to 12 digits
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-10-15 14:07:40 +02:00
a867d87072 rename CFG_TUD_NET to CFG_TUD_ECM_RNDIS 2021-10-05 16:00:07 +07:00
31cfd5a684 Merge branch 'add_ncm' of https://github.com/majbthrd/tinyusb into majbthrd-add_ncm 2021-10-05 11:39:32 +07:00
103309b88b Merge branch 'master' of github.com:hathach/tinyusb into zhangslice-master
examples/device/hid_composite_freertos/src/FreeRTOSConfig/FreeRTOSConfig.h
2021-09-29 15:27:41 +07:00
fba5ec8134 make freertos header include in examples more explicit 2021-09-26 12:23:08 +07:00
03d7988df3 add NCM driver in a compatible manner : hathach/tinyusb#550 2021-09-25 17:05:58 -05:00
73872a5df0 add CFG_TUSB_OS_INC_PATH for os include path
useful for freertos/ prefix with esp IDF
2021-09-25 16:16:55 +07:00
3333703d25 Merge branch 'master' into zhangslice-master 2021-09-18 13:35:26 +07:00
f81368174b add other speed descriptor callback tud_descriptor_other_speed_configuration_cb()
example implement tud_descriptor_device_qualifier_cb() and
tud_descriptor_other_speed_configuration_cb() on high speed device to
fully compliant to usbcv
2021-09-09 15:17:19 +07:00
54013737d5 fix msc example with out of bound lba (due to compliant test) 2021-08-28 20:26:56 +07:00
a53839ef44 correct msc example return type of tud_msc_scsi_cb() 2021-08-28 01:23:20 +07:00
ed4602158b TD 9.12 remote wakeup test
remove TUSB_DESC_CONFIG_ATT_REMOTE_WAKEUP attribute from non-hid
examples
2021-08-26 17:08:22 +07:00
c4a6a5ccb7 skip freertos example for gd32vf103 2021-08-15 17:56:04 +07:00
17137bbfff fix rx65n with freertos build 2021-06-28 12:35:12 +07:00
82618d2d5f fix build with mm32 board 2021-06-18 17:18:11 +07:00
f5e02e72ed espressif: group boards using target name as a family
`hw\bsp` separate one family folder to esp32s2, esp32s3
add board specific board.cmake file to override board specific options(features)
fix examples and test scripts to use new family approach
2021-04-16 15:41:42 +02:00
2f0cb8b5f1 tinyusb: add support of esp32s3 target
add support of new esp32s3 target and the board
update the roles.mk wrapper to allow dfu flashing of espressif chip
update examples to allow compilation for esp32s3_addax_1 board
once the code is tested the PR to original tinyusb repo will be submitted
2021-04-16 13:38:00 +02:00
1d8a79ef4f remove NVIC_SystemReset() in freertos examples 2021-03-31 20:50:08 +07:00
86dab3f7e9 added configurations for RX63X 2021-03-27 20:22:32 +09:00
2882390c82 clean up some examples 2021-03-18 15:23:08 +07:00
83ce2dfcb7 fix freeRTOS config symbol warning with latest kernel 2021-03-01 22:30:39 +07:00
7ff14a652b add submodule lib/FreeRTOS-Kernel 2021-03-01 22:13:21 +07:00
409a5fb7fc fix ci build 2020-11-24 00:18:18 +07:00
7860469661 comment out and add note for tud_cdc_connected() in cdc_msc examples 2020-11-24 00:06:59 +07:00
e7069da7eb Reset CDC examples to original state 2020-11-18 09:47:39 +01:00
e09ebea7b9 Remove tud_cdc_connected check from examples 2020-09-04 17:25:32 +02:00
503c15217e example to call tud_init() after freeRTOS kernel is started
add note for usb init when using with RTOS
2020-07-23 09:20:45 +07:00
787c891702 add note for MS OS 1.0 Descriptor at 0xEE 2020-07-21 21:00:11 +07:00
8e1290e51e minor clean up 2020-07-19 13:13:21 +07:00
6ddee1b5cf more update 2020-07-18 01:07:44 +07:00
5ca748a68e rename CFG_TUD_MSC_BUFSIZE to CFG_TUD_MSC_EP_BUFSIZE
rename CFG_TUD_HID_BUFSIZE to CFG_TUD_HID_EP_BUFSIZE
2020-07-16 15:34:16 +07:00
fea6fb73a1 add fs & hs config for cdc_msc_freertos, midi_test, msc_dual_lun 2020-07-16 13:04:10 +07:00
ab75998316 Merge branch 'master' into add-stm-hs 2020-06-30 01:55:57 +07:00
c67b3a242e update example config and descriptor with better Highspeed support 2020-06-15 23:34:09 +07:00
0bfa839ac0 clean up, update other example config 2020-06-15 23:06:17 +07:00
e0490ae786 fix idf usb pin init changes 2020-05-29 13:06:33 +07:00
1fc7f54a8a added swo as logger
tested with feather nrf52840 + jlink
2020-04-22 19:18:03 +07:00
3f8b9c59dd update example to include CXD56 for highspeed mode 2020-04-17 11:40:33 +07:00
1751064f70 print correct example name 2020-04-11 13:40:40 +07:00
ae1314f1c7 fix incorrect setup packet
also increase usbd stack in example when debug is enabled
2020-04-11 12:55:45 +07:00
16dbbb2b4f make saola as cmake component, easier to add more esp32 board 2020-04-09 11:19:08 +07:00