Commit Graph

20 Commits

Author SHA1 Message Date
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 b495d6f8ec
temporarily revert len back to uint8_t in tud_hid_report_complete_cb() for up coming release 2022-07-17 22:56:07 +07:00
hathach 556b5d5044 change report len in hid API from uint8_t to uint16_t
since HS interrupt endpoint can be up to 1024, 8-bit is not enough.
affected APIs are:
- tud_hid_n_report() / tud_hid_report()
- tud_hid_report_complete_cb()
2022-06-27 12:22:36 +07:00
hathach 9794a2b865 more example update 2022-06-06 22:41:04 +07:00
hathach 6a022c73db
add note for tud_task() behavior in freertos example 2022-04-20 18:35:38 +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 fba5ec8134 make freertos header include in examples more explicit 2021-09-26 12:23:08 +07: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 5f6418ccd7 add hid_boot_interface example 2021-08-17 13:21:24 +07:00
hathach 6de023d54b update hid_composite freertos with capslock as well 2021-07-01 22:54:57 +07: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 a070626729 add itf argument to hid API to support multiple instances
following API signature is changed:
- tud_hid_descriptor_report_cb()
- tud_hid_get_report_cb()
- tud_hid_set_report_cb()
- tud_hid_boot_mode_cb()
- tud_hid_set_idle_cb()
2021-02-24 14:27:20 +07:00
hathach 9c3a44b6a3 update hid_composite_freertos example 2021-02-09 16:06:38 +07:00
hathach 3d95835f22 add consumer control to hid_composite examples
both no OS and freeRTOS
2021-02-01 14:47:39 +07:00
hathach 94527951a0 add bus suspend & resume support for esp32s2 2020-11-27 15:54:55 +07: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 ccfc058646 add hid_composite_freertos example 2020-04-07 16:19:47 +07:00