Commit Graph

26 Commits

Author SHA1 Message Date
Darian Leung
57fd78f5ba freertos: Remove legacy data types
This commit removes the usage of all legacy FreeRTOS data types that
are exposed via configENABLE_BACKWARD_COMPATIBILITY. Legacy types can
still be used by enabling CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY.
2022-02-09 23:05:45 +08:00
Ivan Grokhotkov
771f5d32eb tinyusb: removed set-but-never-used global variable tusb_desc_set 2022-01-27 11:00:09 +07:00
songruojing
5f6a128b64 tinyusb: Update tinyusb.c to use the usb_phy API to configure PHY 2022-01-18 22:44:05 +08:00
morris
869bed1bb5 soc: don't expose unstable soc header files in public api 2022-01-06 23:10:22 +08:00
Tomas Rezucha
6330d5d312 usb: Extend CDC device with second CDC channel
Closes https://github.com/espressif/esp-idf/issues/7020
Closes https://github.com/espressif/esp-idf/pull/8011
2022-01-05 08:18:03 +01:00
morris
6e661871c5 tusb: optional compile tusb_task 2022-01-04 10:38:13 +08:00
morris
cba1f57147 tusb: update copyright header 2022-01-04 10:25:06 +08:00
Venelin Efremov
8e3ad708b2 Fix compile isse when TinyUSB task is not enabled. 2021-12-30 04:49:03 -08:00
morris
16677b0d3c global: make periph enable/disable APIs private
peripheral enable/disable usually should be managed by driver itself,
so make it as espressif private APIs, not recommended for user to use it
in application code.
However, if user want to re-write the driver or ports to other platform,
this is still possible by including the header in this way:
"esp_private/peripheral_ctrl.h"
2021-11-08 10:37:47 +08:00
morris
be36c9ae36 tinyusb: const in_buf of tinyusb_cdcacm_write_queue 2021-08-25 14:43:46 +08:00
morris
81448dcae8 tiny_usb: rename Kconfig name
1. Renamed Kconfig file of tinyusb (distinguish tinyusb stack from usb
   peripheral)
2. bugfix/typofix/doc update of tinyusb
2021-07-22 10:43:10 +08:00
Michael (XIAO Xufeng)
2c1cc506bf Merge branch 'feature/tinyusb_error_check' into 'master'
tinyusb: use the generic error check macros

Closes IDF-3033

See merge request espressif/esp-idf!13015
2021-05-16 14:11:21 +00:00
Alex Lisitsyn
ea6710ce98 soc/hal: add tinyusb support esp32s3
add usb hal/soc, usb_ll files and esp32s3 target for usb
move usb_hal.h into soc common folder
soc/hal: fix soc and periph for usb
tinyusb: fix tinyusb io header
hal: usb_ll fix pull up/down config for esp32s3
soc/hal: fix peripheral addresses
2021-05-06 16:20:54 +08:00
Shu Chen
1b5894a5cb tinyusb: use the generic error check macros 2021-04-08 17:40:10 +08:00
Jon Sailor
8f064dabcd tinyusb: add 'extern C' bit to tusb_console.h
Public headers need the "if __cplusplus, extern C" boilerplate. Otherwise, C++
sources which include the header will look for a name-mangled symbol and fail
at link time.

Closes https://github.com/espressif/esp-idf/pull/6455
Closes IDFGH-4641
2021-03-23 17:36:34 +05:30
Roland Dobai
958bfcbf59 Update tinyusb to the latest upstream version 2021-01-15 15:06:20 +01:00
Michael (XIAO Xufeng)
680f924e86 tinyusb: reduce annoying log under verbose level in CDC
And a robust fix.
2021-01-11 01:00:06 +08:00
Andrei Gramakov
1d1896d409 tinyusb: Add fix for tinyusb reading
Closes IDF-2029
2021-01-08 14:21:26 +00:00
Ivan Grokhotkov
b1c4107275 vfs: zero-initialize struct stat in *_stat and *_fstat handlers
...otherwise some fields will contain garbage values.
This wasn't noticed until HAVE_BLKSIZE got enabled in newlib builds.
2020-12-29 16:18:04 +01:00
Marius Vikhammer
dc0e80a4c8 Docs: fix doxygen warnings 2020-12-16 14:37:14 +08:00
Angus Gratton
420aef1ffe Updates for riscv support
* Target components pull in xtensa component directly
* Use CPU HAL where applicable
* Remove unnecessary xtensa headers
* Compilation changes necessary to support non-xtensa gcc types (ie int32_t/uint32_t is no
  longer signed/unsigned int).

Changes come from internal branch commit a6723fc
2020-11-13 07:49:11 +11:00
Michael (XIAO Xufeng)
b1ace5808d Merge branch 'bugfix/tusb_console_strlen' into 'master'
Fix a strncpy-related warning caused by a wrong argument

See merge request espressif/esp-idf!10685
2020-10-14 17:42:10 +08:00
Andrei Gramakov
ab33f55e1b tinyusb: Fix a strncpy-related warning caused by a wrong argument
The issue was in using with `strncpy` a size of source array instead of using a size of destination array.
2020-10-12 12:30:42 +02:00
Andrei Gramakov
3164116abd Update tinyusb_cdcacm_write_flush to using ticks counting instead of the FreeRTOS timer 2020-10-08 09:42:44 +02:00
Andrei Gramakov
c863b4c777 docs: tinyusb documentation 2020-08-27 13:49:33 +02:00
Andrei Gramakov
84aa1c0cc3 usb: cdc support, streams redirection; ci, examples upd
tusb: cdc, tasks encapsulation, callbacks api, multiple interfaces
examples: added serial interface and usb console
ci: reimplemented cmake/make test in python with ignore lists

IDF-578
2020-08-06 15:26:08 +02:00