Commit Graph

3800 Commits

Author SHA1 Message Date
Reinhard Panhuber a9fd0a454a Complete redesign of audio driver. 2021-02-12 16:28:41 +01:00
Reinhard Panhuber 84406f1654 Rework audio driver 2021-01-31 19:08:23 +01:00
Reinhard Panhuber f1551d7a5f Add __restrict keyword and memore alignment to src/dst pointer of
_tu_fifo_read_from_const_src_ptr()
 _tu_fifo_write_to_const_dst_ptr()
2021-01-20 20:14:23 +01:00
Reinhard Panhuber 93ec6f3735 Adjust #include "dcd.h" to "device/dcd.h", the same for usbd.h in usbd.c 2021-01-19 17:10:08 +01:00
Reinhard Panhuber 56edc2b261 Change names from edpt_ISO_xfer to edpt_iso_xfer 2021-01-19 10:50:19 +01:00
Reinhard Panhuber 99e6bc3720 Explicitly add cast to uint32_t before shifting uint8 to left 2021-01-18 17:54:08 +01:00
Reinhard Panhuber 595a88b34c Correct include path to #include "common/tusb_fifo.h" 2021-01-18 17:38:32 +01:00
Reinhard Panhuber 15152b62ce Merge remote-tracking branch 'upstream/master' into edpt_ISO_xfer 2021-01-18 17:16:25 +01:00
Reinhard Panhuber dff588d772 Implement dcd_edpt_ISO_xfer() and adapt transmission scheme 2021-01-18 17:15:23 +01:00
Reinhard Panhuber 2284db1fb5 Add usbd_edpt_ISO_xfer() 2021-01-18 17:14:17 +01:00
Reinhard Panhuber 51c80630f5 Clean up 2021-01-18 17:13:06 +01:00
Reinhard Panhuber 8450bc3225 Add FIFO copy modes: tu_fifo_copy_mode_t
Allows to copy from/to constant pointers required for STM32 hardware
FIFO copies.
2021-01-18 17:12:39 +01:00
Reinhard Panhuber 84c383061f Add tusb_fifo.h header file to dcd.h 2021-01-18 17:08:59 +01:00
Reinhard Panhuber 3a3ada0c57 Implement the usage of usbd_edpt_ISO_xfer() 2021-01-18 17:07:15 +01:00
Reinhard Panhuber bdbcb8df39 Add tu_fifo_read_n_into_other_fifo() to copy into from FIFO into another
Fix overflow in tu_fifo_write_n()
2021-01-17 11:55:33 +01:00
Ha Thach 7aaccd94d2
Merge pull request #590 from kkitayam/support_for_cmd
Add support for Windows10 Command Prompt as a shell on GNU make.
2021-01-14 11:37:34 +07:00
kkitayam d7cfd8b91d replaced variable name to CMDEXE from UNAME.
removed the rule that .d files are converted to .P files.
2021-01-14 01:19:43 +09:00
kkitayam fc69dd70cf Changed some source file paths for SRC_C to relative paths.
Added statements to validate GCCVERSION on Windows Command Prompt.
2021-01-12 01:02:17 +09:00
kkitayam 8fa083d79e added support for cmd.exe as a shell on make. 2021-01-11 15:56:16 +09:00
Ha Thach 05728e2b18
Merge pull request #589 from gsteiert/feature-dbl-m33
moved neopixel to its own files with additional features
2021-01-11 11:46:51 +07:00
Greg Steiert f4300afb1c moving sct neopixel driver to shared library 2021-01-10 18:31:40 +00:00
Greg Steiert 5ca7c285f5 moved neopixel to its own files with additional features 2021-01-10 05:17:49 +00:00
Reinhard Panhuber 485d8fa77e Merge remote-tracking branch 'upstream/master' into edpt_ISO_xfer 2021-01-09 12:10:08 +01:00
Ha Thach cfcffe94ce
Merge pull request #588 from hathach/use-dcd_event_bus_reset
use dcd_event_bus_reset() with speed to replace bus_signal
2021-01-08 23:09:18 +07:00
hathach d33b22d127 fix ci 2021-01-08 22:48:52 +07:00
hathach 6e6e6265e4 use dcd_event_bus_reset() with speed to replace bus_signal 2021-01-08 22:34:36 +07:00
Ha Thach fb896be201
Merge pull request #587 from hathach/followup-pr581
minor clean up following pr581
2021-01-08 21:17:38 +07:00
hathach cca27fc383 another rename 2021-01-08 16:54:50 +07:00
hathach 201ea7ca6d remove inline for update_grxfsiz 2021-01-08 16:38:41 +07:00
hathach 9998e8a665 more minor work 2021-01-08 16:34:36 +07:00
hathach 86c34a9a33 minor clean up following pr581 2021-01-08 16:25:30 +07:00
Ha Thach 1f00a182c4
Merge pull request #581 from hathach/dcd_synopsis_mem_allocation
Dcd synopsis mem allocation
2021-01-08 12:45:46 +07:00
Ha Thach 5442508f82
Merge pull request #586 from hathach/walkround-samd21-setup-overflow
walkround for samd21 setup_packet overflow
2021-01-08 11:57:25 +07:00
hathach 3e1d85eed2 comment clean up 2021-01-08 11:43:26 +07:00
hathach cc5dfd03cd update comment and correct the size to 8+2 2021-01-08 11:21:26 +07:00
hathach 60620dca42 walkround for samd21 setup_packet overflow
increase setup packet size from 8 to 12, since USB DMA controller is
suspected to overflow the buffer with 2 extra bytes
2021-01-08 01:21:03 +07:00
Ha Thach 9f0b401f80
Merge pull request #585 from hathach/increase-hid-default-epbuf
change default CFG_TUD_HID_EP_BUFSIZE from 16 to 64
2021-01-07 12:25:16 +07:00
hathach 29f84b1602 change default CFG_TUD_HID_EP_BUFSIZE from 16 to 64 2021-01-07 11:58:05 +07:00
Ha Thach 29f42903f3
Merge pull request #582 from gsteiert/feature-dbl-m33
Feature dbl m33
2021-01-07 10:19:51 +07:00
Greg Steiert 9c3bdd621b added Double M33 Express to boards.md 2021-01-07 02:25:04 +00:00
Reinhard Panhuber f2b4567a2b Correct function declaration 2021-01-04 17:15:42 +01:00
Reinhard Panhuber 2fa500af18 Minor corrections for PR
- externerlize code into functions
- correct comments
2021-01-04 17:00:23 +01:00
Reinhard Panhuber 37bb14678a Remove too verbose comment 2021-01-04 12:06:16 +01:00
Reinhard Panhuber 09d8ead4b8 Start changes - not yet finished 2021-01-04 12:02:08 +01:00
Greg Steiert 0f11858b0e working neopixel minor refactor 2021-01-03 23:26:54 +00:00
Greg Steiert 33f0d4b314 working neopixel 2021-01-03 23:01:18 +00:00
Greg Steiert f44c588dd7 8 state implementation, still not working 2021-01-03 18:53:55 +00:00
Greg Steiert 7f98d11454 24 state implementation, only upsdates first LED 2021-01-03 18:31:45 +00:00
Greg Steiert 06642910f4 neopixel driver one byte at a time non-func 2021-01-03 18:11:13 +00:00
Reinhard Panhuber 13b499f910 Clean up 2021-01-03 17:59:50 +01:00