82 Commits

Author SHA1 Message Date
hathach
11e1aff389 update freeRTOS kernel to latest for library cmake
add per family freeRTOSConfig.h also make changes to build with
freertos_kernel cmake
- hard coded configPRIO_BITS based on family
- change configSUPPORT_STATIC_ALLOCATION to 0,
configSUPPORT_DYNAMIC_ALLOCATION to 1
- enable configRECORD_STACK_HIGH_ADDRESS for tracing
- enable INCLUDE_xTaskGetCurrentTaskHandle which is required to compile
stream_buffer (although we don't use it).
2023-04-21 20:55:44 +07:00
hathach
cf7aad790c more esp32 cmake clean up 2023-03-30 11:37:36 +07:00
hathach
641613c428 update all cmake for esp32 build 2023-03-30 10:41:11 +07:00
hathach
96718b7ca0 merge s2 and s3, update cmake for espressif, add tinyusb_src as component 2023-03-30 00:31:26 +07:00
hathach
3623ba1884
fix trailing space and new line
temporarily disable codespell
2023-03-17 16:12:49 +07:00
hathach
cc18784479 hardcoded configPRIO_BITS for IAR build to pass CI 2023-01-30 16:42:56 +07:00
hathach
8df2fd1916 update freertos example to build with iar 2023-01-17 23:38:10 +07:00
hathach
de5a67bf3b clean osal_freertos, update freertos examples to work with configSUPPORT_DYNAMIC_ALLOCATION only
note: for example to build with configSUPPORT_STATIC_ALLOCATION = 0, one
of heap_n.c must be included in makefile/cmake
2022-12-05 12:09:41 +07:00
hathach
b9dc9dbd78
fix most warnings with rp2040 -wconversion 2022-06-27 11:50:17 +07:00
hathach
1d6918ce41
suppress redundant-decls warnings for freertos examples 2022-06-24 21:53:46 +07:00
hathach
f4c80dd218 clean up example to use CFG_TUD_ENABLED + CFG_TUD_MAX_SPEED instead of CFG_TUSB_RHPORT0_MODE 2022-06-06 17:35:17 +07:00
hathach
99c1585ed2 rename board specific macro for example
- BOARD_DEVICE/HOST_RHPORT_NUM to  BOARD_TUD/H_RHPORT
- BOARD_DEVICE/HOST_RHPORT_SPEED to  BOARD_TUD/H_MAX_SPEED
2022-06-01 23:53:40 +07:00
hathach
87572871d5
update example for better cdc echo 2022-04-20 18:52:15 +07:00
hathach
6a022c73db
add note for tud_task() behavior in freertos example 2022-04-20 18:35:38 +07:00
hathach
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
hathach
669e36d674
fix freertos issue when 1 tick > 1 ms 2022-04-20 14:37:42 +07:00
hathach
52645fcc1b fix build with latest esp idf 2022-02-18 13:07:21 +07:00
hathach
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
hathach
7ad0af64cc
use 4k stack for example with esp32sx 2021-11-29 13:24:10 +07:00
hathach
dbd31895bc
change usage of TU_CHECK_MCU() to prevent macro conflict 2021-10-25 17:04:03 +07:00
hathach
4ccf60954d
moving esp32s2 to dwc2, abstract dwc2_set_turnaround() 2021-10-25 15:51:41 +07:00
Jerzy Kasenberg
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
hathach
a867d87072
rename CFG_TUD_NET to CFG_TUD_ECM_RNDIS 2021-10-05 16:00:07 +07:00
hathach
31cfd5a684 Merge branch 'add_ncm' of https://github.com/majbthrd/tinyusb into majbthrd-add_ncm 2021-10-05 11:39:32 +07:00
hathach
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
hathach
fba5ec8134 make freertos header include in examples more explicit 2021-09-26 12:23:08 +07:00
Peter Lawrence
03d7988df3 add NCM driver in a compatible manner : hathach/tinyusb#550 2021-09-25 17:05:58 -05:00
hathach
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
hathach
3333703d25 Merge branch 'master' into zhangslice-master 2021-09-18 13:35:26 +07:00
hathach
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
hathach
54013737d5 fix msc example with out of bound lba (due to compliant test) 2021-08-28 20:26:56 +07:00
hathach
a53839ef44 correct msc example return type of tud_msc_scsi_cb() 2021-08-28 01:23:20 +07:00
hathach
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
hathach
c4a6a5ccb7 skip freertos example for gd32vf103 2021-08-15 17:56:04 +07:00
hathach
17137bbfff fix rx65n with freertos build 2021-06-28 12:35:12 +07:00
hathach
82618d2d5f fix build with mm32 board 2021-06-18 17:18:11 +07:00
Alex Lisitsyn
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
Alex Lisitsyn
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
hathach
1d8a79ef4f remove NVIC_SystemReset() in freertos examples 2021-03-31 20:50:08 +07:00
kkitayam
86dab3f7e9 added configurations for RX63X 2021-03-27 20:22:32 +09:00
hathach
2882390c82 clean up some examples 2021-03-18 15:23:08 +07:00
hathach
83ce2dfcb7 fix freeRTOS config symbol warning with latest kernel 2021-03-01 22:30:39 +07:00
hathach
7ff14a652b add submodule lib/FreeRTOS-Kernel 2021-03-01 22:13:21 +07:00
hathach
409a5fb7fc fix ci build 2020-11-24 00:18:18 +07:00
hathach
7860469661 comment out and add note for tud_cdc_connected() in cdc_msc examples 2020-11-24 00:06:59 +07:00
Jan Dümpelmann
e7069da7eb Reset CDC examples to original state 2020-11-18 09:47:39 +01:00
Jan Dümpelmann
e09ebea7b9 Remove tud_cdc_connected check from examples 2020-09-04 17:25:32 +02:00
hathach
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
hathach
787c891702
add note for MS OS 1.0 Descriptor at 0xEE 2020-07-21 21:00:11 +07:00
hathach
8e1290e51e minor clean up 2020-07-19 13:13:21 +07:00