Commit Graph

4509 Commits

Author SHA1 Message Date
Reinhard Panhuber 03f974c9b9 Implement functions to allow for DMA usage in audio driver.
- Add tud_audio_n_get_ep_out_ff(), tud_audio_n_get_ep_in_ff(),
tud_audio_n_get_rx_support_ff(), and tud_audio_n_get_tx_support_ff()
- Change get_linear_read/write_info() to return linear and wrapped part
at once
- Adjusted affected code in audio_device.c and tested with
audio_4_channel.
2021-04-23 10:27:48 +02:00
Nathan Conrad 7998f11258 USBTMC: remove reference to visa DLL (which only was for windows, and auto-select instead. 2021-04-22 21:47:51 -04:00
Jeremiah McCarthy b8e5885c2b Removes polltimeout behaviour and restructures
Moves dfu_req_dnload_reply to ACK stage of a DNREQUEST.

Removes unneeded variables due to other simplifications.
2021-04-22 17:45:33 -04:00
Jeremiah McCarthy 8c80ddeb54 Fix statte check on DATA stage 2021-04-22 17:00:57 -04:00
Jeremiah McCarthy cc440ade81 Remove custom status description table 2021-04-22 16:47:05 -04:00
Jeremiah McCarthy 45e401e69d Remove unused alt_setting 2021-04-22 16:42:54 -04:00
Jeremiah McCarthy e54d9d10af Add const 2021-04-22 16:39:43 -04:00
Jeremiah McCarthy 289af581bb Remove uunused code 2021-04-22 16:06:06 -04:00
Jeremiah McCarthy 18e9d253e9 Remove usb reset callback 2021-04-22 16:04:09 -04:00
Jeremiah McCarthy 0936a76dc9 Remove nonstd behaviour 2021-04-22 15:59:49 -04:00
Jeremiah McCarthy 88dea7a0a8 Move debug from .h to .c 2021-04-22 15:02:50 -04:00
Jeremiah McCarthy 01661b3f28 Replace dfu_mode with dfu 2021-04-22 14:56:52 -04:00
hathach 5c5d4b189f add lpc55 uart write 2021-04-22 19:24:19 +07:00
Ha Thach d8fd4352a3
Merge pull request #798 from hathach/uac2_fix_cs_as_int_alt_set_0
Uac2 fix cs as int alt set 0
2021-04-22 10:56:13 +07:00
Reinhard Panhuber 29bcc83d0f Remove unnecessary volatile and short audio function index to func_id 2021-04-21 17:01:38 +02:00
Reinhard Panhuber 705753f448 Merge remote-tracking branch 'upstream/master' into uac2_fix_cs_as_int_alt_set_0 2021-04-20 20:15:54 +02:00
Reinhard Panhuber c7c11b181c Clean up old depracted and misleading variable names 2021-04-20 20:15:02 +02:00
Reinhard Panhuber fef0d54559 Refactor static function for better performance 2021-04-20 19:56:40 +02:00
Reinhard Panhuber 4408ffce88 Fix pointer alt_setting to be cleared when driver gets initialized 2021-04-20 18:44:56 +02:00
Ha Thach c5f440a6aa
Merge pull request #794 from hathach/fix-ci-rp2040
Fix ci rp2040
2021-04-19 15:17:05 +07:00
hathach a2be6c1472 correct boot stage2 for itsybitsy and qt rp2040 2021-04-19 14:03:29 +07:00
hathach 59f0fa1e5e cmake cleanup 2021-04-19 13:30:04 +07:00
Ha Thach 27c4a7db8d
Update bug_report.md 2021-04-19 13:18:19 +07:00
Ha Thach 01801c881b
Merge pull request #783 from alisitsyn/esp-based_on_334e95f
WIP: Add new Espressif target esp32s3 for tinyUSB
2021-04-19 13:01:50 +07:00
Ha Thach f2874f2431
Merge pull request #790 from hathach/group-f0
Group f0 boards
2021-04-18 17:00:12 +07:00
hathach faae19f560 update ci build 2021-04-18 15:44:50 +07:00
hathach 0517377dcb add stm32f072eval to group 2021-04-18 15:44:34 +07:00
hathach 4c8750badb add f070 nucleo to group 2021-04-18 14:26:07 +07:00
hathach a5b406da51 create stm32f0 group 2021-04-18 13:24:34 +07:00
Ha Thach d35c92eccd
Merge pull request #789 from kapacuk/freertos
When used with FreeRTOS, lower the interrupt priority for OTG_FS_IRQn
2021-04-18 13:09:05 +07:00
Dima Barsky 9fceed39fc When used with FreeRTOS, lower the interrupt priority for OTG_FS_IRQn 2021-04-17 23:43:03 +01:00
hathach 803b755554 update per review 2021-04-18 01:50:16 +07:00
hathach 38cc459c93 Merge branch 'master' into alisitsyn-esp-based_on_334e95f 2021-04-18 01:30:19 +07:00
Ha Thach 4ba64719bd
Merge pull request #788 from kapacuk/blackpill
Change LED_STATE_ON to 0 for stm32f401 and stm32f411 blackpill boards
2021-04-18 00:11:14 +07:00
Dima Barsky 70c89da7ba Change LED_STATE_ON to 0 for f401 and f411 blackpill boards 2021-04-16 15:51:19 +01:00
Alex Lisitsyn 91e574075d espressif: temporarily remove the espressif_addax_1 board from test 2021-04-16 15:49:21 +02: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
Dima Barsky 9f925bc900
Added support for Black Magic Probe (#787)
* Added flash-bmp and debug-bmp targets; added .gdb_history to .gitignore
* Added the BMP variable, defaults to /dev/ttyBmpGdb
The name of the BMP device is different on different systems. On Linux (after installing the recommended udev rules) it'll be /dev/ttyBmpGdb, but the user should be able to override it.
* Update rules.mk
2021-04-16 20:23:27 +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
Ha Thach c611199632
Merge pull request #593 from hathach/edpt_ISO_xfer
Edpt iso xfer
2021-04-16 01:59:47 +07:00
Reinhard Panhuber c7e4a86166 Fix bug in audio_4_channel_mic.c 2021-04-15 19:40:57 +02:00
Ha Thach 93dffba0ac
Merge pull request #786 from kapacuk/seeeduino-fixes
Changed LED_PIN to 17 on Seeeduino Xiao
2021-04-16 00:03:28 +07:00
hathach 9ecb91e1bd fix build with LOG=2 2021-04-15 23:47:28 +07:00
Dima Barsky 53eb74698b Merge branch 'seeeduino-fixes' of github.com:kapacuk/tinyusb into seeeduino-fixes 2021-04-15 16:14:48 +01:00
Dima Barsky 62a0d5b42d Changed LED_PIN to 17, LED_STATE_ON to 0 2021-04-15 16:12:19 +01:00
Reinhard Panhuber fa0d71f2cf Try to resolve include hassle in uac2_headset 2021-04-15 17:04:25 +02:00
hathach 2e65d1543f update cmakelist for audio_4_channel 2021-04-15 12:14:01 +07:00
hathach b687a4fc20 Merge branch 'master' into edpt_ISO_xfer 2021-04-15 12:12:52 +07:00
hathach 3c84776e0a minor clean up 2021-04-15 12:09:12 +07:00
hathach ad11481dd1 update plot script to work on macos and linux
also add note for installing pip module
2021-04-15 12:08:50 +07:00