Commit Graph

4608 Commits

Author SHA1 Message Date
MasterPhi 64f53c304c Merge branch 'local' of https://github.com/HiFiPhile/tinyusb into dcd_same70 2021-06-24 21:35:06 +02:00
Mengsk b9e9773d04 fix warning 2021-06-24 12:58:18 +02:00
Mengsk 9d6fd78b63 Add fifo helper function to CDC class for DMA transfer. 2021-06-24 11:34:29 +02:00
MasterPhi 30fff56aa4 Revert "Use byte copy.", add barrier after buffer write.
Signed-off-by: MasterPhi <admin@hifiphile.com>
2021-06-16 00:18:38 +02:00
MasterPhi 67a6560ec9 Default use dual bank for FS, use dcd irq switch. 2021-06-15 21:52:14 +02:00
MasterPhi 6cc702e9ec Prevent buffer overflow.
Signed-off-by: MasterPhi <admin@hifiphile.com>
2021-06-15 21:16:51 +02:00
MasterPhi 54dc694be4 Use byte copy. 2021-06-15 19:11:53 +02:00
MasterPhi ca8e8041ef Fix resume, always init FS clock.
Signed-off-by: MasterPhi <admin@hifiphile.com>
2021-06-15 17:53:09 +02:00
MasterPhi 85fc423569 Rename SAM7X to SAMX7X
Signed-off-by: MasterPhi <admin@hifiphile.com>
2021-06-12 12:36:59 +02:00
MasterPhi f039607afc Fix indent.
Signed-off-by: MasterPhi <admin@hifiphile.com>
2021-06-12 11:19:08 +02:00
Rafael Silva 0066e2b344 examples: freertos: add skip for same70
Signed-off-by: Rafael Silva <perigoso@riseup.net>
2021-06-12 00:18:26 +01:00
Rafael Silva 776a770947 dcd: sam7x: rename family dcd to include the whole family
Signed-off-by: Rafael Silva <perigoso@riseup.net>
2021-06-12 00:09:24 +01:00
Rafael Silva 2196991df3 dcd: same70: trim trailling spaces
Signed-off-by: Rafael Silva <perigoso@riseup.net>
2021-06-11 21:03:36 +01:00
Rafael Silva 28875c431b bsp: same70_xplained: replace template vars from make
Signed-off-by: Rafael Silva <perigoso@riseup.net>
2021-06-11 21:02:23 +01:00
Rafael Silva 71aae2743c bsp: same70_xplained: fix unused variable warning
Signed-off-by: Rafael Silva <perigoso@riseup.net>
2021-06-11 21:01:12 +01:00
Rafael Silva bcd3e31bd6 dcd: same70: fix unused variable warning
Signed-off-by: Rafael Silva <perigoso@riseup.net>
2021-06-11 20:59:48 +01:00
Rafael Silva 9a03ab9dfa dcd: same70: change cmsis deprecated macros
Signed-off-by: Rafael Silva <perigoso@riseup.net>
2021-06-11 20:52:22 +01:00
MasterPhi c291deccfa Add fifo & DMA linked list mode support. 2021-06-11 12:17:11 +02:00
HiFiPhile 24de9d39af Format. 2021-06-11 12:17:11 +02:00
HiFiPhile 1dafcd1132 - Add Full Speed switch
- Add DMA support
- Add Dual bank support

Signed-off-by: HiFiPhile <admin@hifiphile.com>
2021-06-11 12:17:11 +02:00
HiFiPhile 4f4a33b378 Seems like fixed ep0 issues, code format.
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2021-06-11 12:17:11 +02:00
HiFiPhile e7bee80948 Add OPT_MCU_SAME70 option value. 2021-06-11 12:17:11 +02:00
HiFiPhile f8aa4b3ff3 Add sketchy SAME70 DCD driver. 2021-06-11 12:17:10 +02:00
Ha Thach b34724215b
Merge pull request #887 from hathach/host-update
Host API clean up
2021-06-10 17:42:43 +07:00
hathach c9d66dcd5f remove BOARD from output name 2021-06-10 17:24:36 +07:00
hathach c7f51cde40 implement usbh_edpt_busy (WIP), remove hcd_edpt_busy 2021-06-10 17:19:21 +07:00
hathach 7e6cba7359 remove hcd_edpt_stalled() 2021-06-10 16:55:12 +07:00
hathach 13cb016042 add usbh_classdriver.h 2021-06-10 16:48:20 +07:00
Ha Thach 3c4ab6bd8a
Merge pull request #883 from hathach/fix-rp2040-host-transferred-bytes
fix computing transferred bytes with E4
2021-06-10 11:35:51 +07:00
Ha Thach 14fc0987ac
Update bug_report.md 2021-06-10 11:03:58 +07:00
Ha Thach c98a95c276
Merge pull request #882 from mmosca/master
Add support for 32 button gamepads
2021-06-09 18:05:14 +07:00
hathach cffa666bd1 use alias for button naming 2021-06-09 17:45:14 +07:00
Marcelo Bezerra a8abbcc34d Change buttons to start from 0 2021-06-09 12:14:04 +02:00
Marcelo Bezerra 9e4ecfde69 Merge branch 'master' of github.com:mmosca/tinyusb 2021-06-09 10:01:17 +02:00
hathach d81a37d1be fix enum overflow with msp430 2021-06-09 12:10:44 +07:00
hathach dca9bc97d6 miss a helper 2021-06-09 10:45:37 +07:00
hathach 2c0947ebb6 update gamepad helper 2021-06-09 10:33:57 +07:00
Marcelo Bezerra e393fb32a0 re-adding ifdef removed accidentally 2021-06-09 10:33:57 +07:00
Marcelo Bezerra d3b6e28387 indent fix 2021-06-09 10:33:57 +07:00
Marcelo Bezerra de71e72e31 Fix comment in hid.h 2021-06-09 10:33:57 +07:00
Marcelo Bezerra e12195705c Pull request changes
Remove configuration options and just bump number of buttons to 32
Fix button numbereing and comments in
2021-06-09 10:33:57 +07:00
Marcelo Bezerra f37c8ed749 Add CFG_TUD_MAX_BUTTONS to the example 2021-06-09 10:33:57 +07:00
Marcelo Bezerra ce634f226e remove excess empty lines 2021-06-09 10:33:57 +07:00
Marcelo Bezerra 3842c806a6 clean up 2021-06-09 10:33:57 +07:00
Marcelo Bezerra d5f8da44d1 Add optional support for 32 gamepad buttons 2021-06-09 10:33:57 +07:00
Marcelo Bezerra 95481d4c7f re-adding ifdef removed accidentally 2021-06-08 09:39:53 +02:00
Marcelo Bezerra b18769fe8e indent fix 2021-06-08 09:31:40 +02:00
Marcelo Bezerra 05b39aac5f Fix comment in hid.h 2021-06-08 09:26:17 +02:00
Marcelo Bezerra 05d30b0c37 Pull request changes
Remove configuration options and just bump number of buttons to 32
Fix button numbereing and comments in
2021-06-08 09:24:50 +02:00
hathach 501de2a5e8 fix computing transferred bytes with E4 2021-06-08 10:29:22 +07:00