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
Reinhard Panhuber
8d9f60ca5e
Improve user feedback in case of wrong configuration of audio driver
2021-04-14 21:52:54 +02:00
Dima Barsky
662cdcfb91
Changed LED_PIN to 17
2021-04-14 18:07:28 +01:00
Jeremiah McCarthy
7b45b38fe4
Remove DFU mode and rt
2021-04-12 11:17:01 -04:00
Ha Thach
8411f5b5c9
Merge pull request #782 from hathach/remove-submodule-pico-sdk
...
Remove submodule pico sdk
2021-04-11 14:05:13 +07:00
hathach
7c10b25dc1
try to correct ci
2021-04-11 13:45:55 +07:00
hathach
c8bb0020ea
update rp2040 to use pico-sdk externally
...
also try to update ci
2021-04-11 13:37:07 +07:00
hathach
bebc910447
remove pico-sdk as submodule
2021-04-11 13:19:51 +07:00
Ha Thach
cb1eee8b2d
Merge pull request #776 from joeycastillo/master
...
Add support for SAM L22 family
2021-04-11 12:39:54 +07:00
Joey Castillo
861fff00ff
Add SAML22 boards to build.yml
2021-04-10 17:03:21 -04:00
Joey Castillo
13e474997c
Update boards.md with SAM L22 boards
2021-04-10 17:02:59 -04:00
Joey Castillo
7c8b4991f1
Add support for SAM L22 family
2021-04-09 17:33:14 -04:00
Reinhard Panhuber
2134c1a875
Fix defines in audio_device.c
2021-04-08 21:48:36 +02:00
Reinhard Panhuber
97d1609c72
Ensure half word alignment in audio 4 channel example
2021-04-08 20:15:08 +02:00
Reinhard Panhuber
4bebb9ca49
Remove depracted defines in audio_device.c
2021-04-08 20:11:51 +02:00
Reinhard Panhuber
930eca0748
Add 4 channel microphone audio example using software encoding
2021-04-08 19:56:26 +02:00
Jeremiah McCarthy
ae851bba31
Resolve gcc warnings for no parameter functions
2021-04-07 17:15:26 -04:00
Jeremiah McCarthy
2e2dc7bdc5
Revise per initial comments
...
Returns the RT driver to the function state of previous iteration, which
did not support the will_detach. Behavior should be fine without this
feature. This removes much of the added bloat to track state, and
handle requests in the APP_DETACH state which is no longer required.
Removes the optional bloat added to the RT driver, such as responding to
GETSTATE requests.
Fixes the DFU Mode to extract the attr bits from the functional
descriptor when opened.
Fixes some incorrect bitwise if checks.
Also, updates some naming of functions to be consistent with the rest of
the library.
2021-04-07 17:05:04 -04:00
Reinhard Panhuber
8eacdffebd
Optimize encode/decode - refactor unnecessary repetitive division
2021-04-07 20:07:28 +02:00
hathach
d9a0cc9e9f
more cleanup
2021-04-07 16:50:45 +07:00
hathach
893919a848
remove tu_fifo_backward_write/read_pointer API
...
since it is illegal from fifo perspective
2021-04-07 13:27:28 +07:00
hathach
2468f9e26d
more _ff_pull/push clean up
2021-04-07 13:15:25 +07:00
hathach
9042e973d3
clean up _ff_push_n
2021-04-07 12:52:57 +07:00
hathach
d6737fb5fe
use tu_unaligned_write32() for _ff_push_const_addr
2021-04-07 12:34:00 +07:00
hathach
d0fa4d5189
rename
2021-04-07 12:24:24 +07:00
hathach
8ac156622d
fix cast-align warning
2021-04-07 00:38:12 +07:00
hathach
a3c06aa7bc
more clean up for _ff_pull_const_addr_in_full_words()
2021-04-06 23:39:39 +07:00
hathach
d82ee2f8c0
refactor _ff_pull_n() with const addr
2021-04-06 23:12:04 +07:00
hathach
58bab86d79
minor clean up
2021-04-06 21:09:23 +07:00
hathach
c5db2282ad
Merge branch 'master' of github.com:hathach/tinyusb into edpt_ISO_xfer
2021-04-06 19:35:01 +07:00
Ha Thach
1d20c84798
add tu_unaligned_read32/write32 ( #772 )
...
* add tu_unaligned_read32/write32
* added tu_unaligned_read16/write16
* add TU_ATTR_ALWAYS_INLINE, add to most of simple inline function
2021-04-06 19:32:01 +07:00
hathach
8b79040c38
code format
2021-04-06 15:34:50 +07:00
Jeremiah McCarthy
c39b7b8177
Add DFU runtime and mode "class"
...
With the runtime and mode portions in separate classes, a single
application should only be building with one or the other enabled. In
some applications both might be desired at build time.
The CFG_TUD_DFU_RUNTIME_AND_MODE option creates a DFU class, which asks
the application which mode to initialize to. This allows a runtime
change between RT and DFU mode, by just reinitializing tusb.
2021-04-05 17:52:33 -04:00
Jeremiah McCarthy
bc2cb99780
Remove unreachable callback
2021-04-05 17:06:27 -04:00
Jeremiah McCarthy
fdc91f8d2c
Fix bug during initialization of DFU Mode
2021-04-05 16:48:09 -04:00
Jeremiah McCarthy
c5b8ef1529
Separate DFU RT and Mode. Untested
2021-04-05 16:32:58 -04:00
hathach
68687ed0f4
fix build
2021-04-06 01:16:51 +07:00
hathach
7ab8da949e
audio driver only use USE_LINEAR_BUFFER = 0 for stm32 synopsys driver
2021-04-06 01:07:32 +07:00
hathach
3acf0c2d73
revert dcd_edpt_xfer_fifo() implementation for esp32s2
2021-04-06 01:00:00 +07:00