Commit Graph

111 Commits

Author SHA1 Message Date
Ha Thach 71a5906865
Merge pull request #1767 from pete-pjb/master
Allow the use of non-static allocation for FreeRTOS mutexes & queues
2022-12-05 12:45:48 +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
Bastien Nocera 6a2cf67289 Fix typos 2022-12-04 19:43:23 +07:00
hathach 7949a4ec7c skip freertos example for F1C100S 2022-06-29 14:12:58 +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
Ha Thach 7de166390e
Merge branch 'master' into master 2022-01-25 22:29:05 +07:00
Scott Shawcroft 7b27b8f498
Unify skip and only logic for build scripts
And switch to a single file that can include mcu, family or board.
2022-01-05 15:44:23 -08:00
Scott Shawcroft 4fe0a30ec7
Skip net and freertos examples 2022-01-05 14:33:24 -08:00
hathach 84e2f6e0e1
skip freertos example for f1c100s 2021-12-29 19:12:41 +07:00
hathach 7ad0af64cc
use 4k stack for example with esp32sx 2021-11-29 13:24:10 +07:00
hathach 0e733ae14b
add pi4 to ci build in build_aarch64 2021-11-02 21:46:23 +07:00
hathach 4ea8f1441d correct freertos port for efm32gg 2021-10-31 00:19:17 +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
Ha Thach 311c05b401
Merge branch 'master' into fix-warnings 2021-10-23 21:23:56 +07:00
hathach a5f516893b more with -Wcast-qual 2021-10-17 16:36:53 +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
HiFiPhile b194aa240b
Merge branch 'master' into dcd_same70 2021-07-17 12:10:35 +02: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
hathach e4da606164 set TOP to build with esp32sx 2021-06-12 23:02:41 +07:00
MasterPhi 85fc423569 Rename SAM7X to SAMX7X
Signed-off-by: MasterPhi <admin@hifiphile.com>
2021-06-12 12:36:59 +02:00
Rafael Silva 0066e2b344 examples: freertos: add skip for same70
Signed-off-by: Rafael Silva <perigoso@riseup.net>
2021-06-12 00:18:26 +01:00
graham sanderson fd7b18a4f6 Make examples standalone buildable via CMake 2021-06-10 10:11:20 -05:00
hathach 59f0fa1e5e cmake cleanup 2021-04-19 13:30:04 +07:00
hathach 803b755554 update per review 2021-04-18 01:50:16 +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
Rafael Silva 735e0dff20 skip freertos example for efm32gg12
Signed-off-by: Rafael Silva <silvagracarafael@gmail.com>
2021-03-31 23:45:33 +01:00