Reinhard Panhuber
9b2ddd9cc6
Generalize audio driver for 3 audio functions plus a lot more.
...
- Audio format and parameters are parsed from descriptors thus user no
longer needs to give them explicitely
- Tested for 4 channel software type I PCM encoding with 16 bit with 1
channel per FIFO and 2 channels per FIFO (this is I2S specific)
2021-04-03 09:49:27 +02:00
Reinhard Panhuber
994dddc231
Fix shadowing parameter in fifo.c
2021-03-25 14:38:55 +01:00
Reinhard Panhuber
bfddfbadc7
Implement unaligned word copy.
2021-03-25 14:28:59 +01:00
Reinhard Panhuber
1e4e87de51
Rework to copy wrapped word bytes by byte in copy_to_cont_dst etc.
2021-03-25 13:53:26 +01:00
Reinhard Panhuber
a60bd0c8ac
Fix bug in writing to constant src/dst address.
...
Copying has to be conduct in full words (at least for STM32). Renamed
copy function to tu_fifo_write_n_const_addr_full_words()
2021-03-23 19:33:04 +01:00
Reinhard Panhuber
cd491e296e
Intermediate commit
2021-03-14 18:55:16 +01:00
Reinhard Panhuber
d566444d58
Add new line at end of python script
2021-03-13 11:41:46 +01:00
Reinhard Panhuber
de3c03af76
Add python script to plot audio sample data.
2021-03-13 11:37:38 +01:00
hathach
db6242f076
move AUDIO_SAMPLE_RATE to example main.c
2021-03-13 00:23:13 +07:00
hathach
4ee1216aaf
fix fifo unlock typo, also clean up a bit
2021-03-13 00:22:04 +07:00
Reinhard Panhuber
b6db2ac99d
Merge remote-tracking branch 'upstream/master' into edpt_ISO_xfer
2021-03-10 19:34:22 +01:00
Reinhard Panhuber
8cb3bd3cd3
Merge remote-tracking branch 'upstream/edpt_ISO_xfer' into edpt_ISO_xfer
2021-03-10 19:33:11 +01:00
Reinhard Panhuber
d5a5a1cab6
Implement audio PCM type I enc./decoding acc. to 2.3.1.5 Audio Streams
...
Extending capabilities of support FIFOs
Removing copy from to FIFO
Adjusting audio examples
Remove peek/read into other FIFO
2021-03-10 19:32:13 +01:00
hathach
a397353916
fix ci build with rp2040
2021-03-10 17:58:39 +07:00
hathach
e864bda627
fix build with freertos
2021-03-10 17:21:59 +07:00
hathach
794083b647
Merge branch 'master' into edpt_ISO_xfer
2021-03-10 17:10:49 +07:00
Ha Thach
1cdd1b0209
Update pico sdk 1.1.0 ( #712 )
...
* update pico-sdk to 1.1.0
also correct fetch_submodule_if_empty behavior
2021-03-10 13:26:14 +07:00
Ha Thach
f9817da397
Merge pull request #711 from hathach/usbd-handle-set-interface
...
Usbd handle set interface
2021-03-10 12:10:52 +07:00
Ha Thach
ccb599f84b
Merge pull request #710 from hathach/update-doc
...
update doc for BOARD name, add note for udev on Linux
2021-03-10 11:37:07 +07:00
hathach
eeea19c0ab
usbd ack SET_INTERFACE if it is not implemented by class driver.
2021-03-10 11:33:03 +07:00
hathach
38ebb8502d
clean up
2021-03-10 11:31:50 +07:00
hathach
4a73b6a219
update doc for BOARD name, add note for udev on Linux
2021-03-10 11:23:44 +07:00
Ha Thach
2adb7e7193
Merge pull request #708 from hathach/add-back-cmsis5
...
Add back cmsis5 as submodule
2021-03-05 23:01:10 +07:00
hathach
7afe1d9e16
clean up
...
some how lpc55 ci cannot build without pre-checkout lib/sct_neopixel
2021-03-05 22:49:29 +07:00
hathach
ca6abea97d
nrf add lib/CMSIS_5 to DEPS_SUBMODULES
2021-03-05 22:30:03 +07:00
hathach
7d877e286a
update DEPS_SUBMODULES to optimize ci
2021-03-05 22:24:03 +07:00
hathach
a64535f57d
add back lib/CMSIS_5 submodule
2021-03-05 22:08:42 +07:00
hathach
af81089225
remove local cmsis_5
2021-03-05 22:04:04 +07:00
Reinhard Panhuber
de1f36f2b0
Adapt mutexes in fifo.c
2021-03-04 19:52:48 +01:00
Reinhard Panhuber
2e28861cf8
Remove TODOs done.
2021-03-04 18:20:22 +01:00
Ha Thach
b0ba105bd9
Merge pull request #702 from hathach/more-ci
...
More ci
2021-03-05 00:06:45 +07:00
hathach
590d8d4d5c
rename FAMILY_SUBMODULES to DEPS_SUBMODULES
2021-03-04 22:53:02 +07:00
hathach
b846ded487
merge no-family example build
...
specify FAMILY_SUBMODULES for all boards
2021-03-04 22:50:45 +07:00
Ha Thach
1b6bf796e1
Merge pull request #701 from hathach/ci-cache-toolchain
...
cache all toolchains to speed up ci
2021-03-04 22:04:25 +07:00
Ha Thach
5285548c75
Merge pull request #700 from hathach/fix-rp2040-bus-reset
...
fix enum walkaround forever check for SE0 when pull up is disabled
2021-03-04 21:01:39 +07:00
hathach
ce4da82ce9
cache all toolchains to speed up ci
2021-03-04 20:22:16 +07:00
Reinhard Panhuber
7e56f46957
Extend FIFO mutex to use separate write and read mutexes.
...
Adjust all USB drivers using FIFO and mutexes.
2021-03-04 13:52:14 +01:00
hathach
33a29c9e4c
add midi comment
2021-03-04 19:30:08 +07:00
hathach
8cabbb28df
fix enum walkaround forever check for SE0 when pull up is disabled
2021-03-04 18:36:18 +07:00
hathach
4c31a29ff0
update doc, skip board_test in esp32s2 ci
2021-03-04 12:35:43 +07:00
hathach
a655a4169e
add note for MIDI (audio v1.0) endpoint decriptor use 9 bytes instead of 7
2021-03-04 01:18:49 +07:00
Ha Thach
68db108b35
Merge pull request #688 from duddie/master
...
Fix Endpoint descriptor size for MIDI Device
2021-03-04 01:10:37 +07:00
Ha Thach
2d9896bf40
Merge pull request #695 from hathach/more-family-board
...
More family board
2021-03-03 20:59:07 +07:00
Ha Thach
515122669e
Create config.yml
2021-03-03 20:38:10 +07:00
Ha Thach
04e595dbda
Delete porting.md
2021-03-03 20:34:32 +07:00
hathach
16f501a14e
clean up
2021-03-03 20:25:44 +07:00
hathach
5d226ee733
add h745disco to family group
2021-03-03 20:22:55 +07:00
hathach
5799c471f1
group h743eval and h743nucleo into stm32h7
...
tested and work well
2021-03-03 20:07:17 +07:00
hathach
e1966f8d91
mcb1800 and lpc18s37 work well with both device and host demo
2021-03-03 17:29:30 +07:00
hathach
0dc1a3d3af
add lpc18 family
2021-03-03 16:03:21 +07:00