Commit Graph

5596 Commits

Author SHA1 Message Date
hathach 03835c8183 move hcd_musb.c include to family.mk 2021-12-07 16:27:48 +07:00
Valentin Milea ef879e8a8a Support disabling feedback format correction #1234 2021-12-06 18:49:58 +02:00
Yunhao Tian 96979a2c4a Fix handling of RXRDY bit 2021-12-06 19:56:27 +08:00
Ha Thach f8288be03f
Merge pull request #1227 from kkitayam/fix_dcd_musb_buffer_overrun
Fix buffer overrun in dcd_musb driver
2021-12-06 00:43:25 +07:00
Yunhao Tian 1ffc366aa9 Change FIFO size to 4KB (not sure)
The datasheet says 2KB FIFO, but accroding to many
code examples, the F1C100s has at least 4KB of FIFO memory.
This is working with cdc_msc example,
but I'm not sure, this should be checked.
2021-12-05 22:40:05 +08:00
Yunhao Tian f308603a3a Fix a typo that leads to incorrect RX handling 2021-12-05 22:31:09 +08:00
Yunhao Tian 702698ee29 Add FIFO size check 2021-12-05 18:18:41 +08:00
Yunhao Tian 64b81fd4d3 Close all EPs upon reset 2021-12-05 18:08:01 +08:00
Yunhao Tian fa0e4d91f9 Save current EP before querying other EPs 2021-12-05 18:07:35 +08:00
Valentin Milea 48e1f6d899 Handle the closing of endpoints on RP2040 2021-12-04 16:04:48 +02:00
Yunhao Tian 28fb51c180 Add TODO to README 2021-12-04 18:08:23 +08:00
Yunhao Tian 68ca62dfd7 Add BSP support for F1C100s 2021-12-04 18:02:07 +08:00
Yunhao Tian dff54d854d Modify sunxi_musb code 2021-12-04 17:18:39 +08:00
kkitayam 7137a0a92f Fix buffer overrun at pipe_read_packet() 2021-12-04 01:25:34 +09:00
kkitayam 81285273a6 Fix memory overrun at pipe_read_packet() 2021-12-04 01:18:42 +09:00
Ha Thach 6ecd93eb60
Merge branch 'master' into add_hcd_for_msp_exp432e401y 2021-12-03 00:30:09 +07:00
Ha Thach 3e9bb3bee1
Merge pull request #1225 from perigoso/doc-requirements
after commit: eae4132 this dependency is no longer required
2021-12-03 00:27:37 +07:00
Rafael Silva c52c9cda91 after commit: eae4132 this dependency is no longer required
Signed-off-by: Rafael Silva <perigoso@riseup.net>
2021-12-02 10:24:19 +00:00
Ha Thach 6f0c2cf0d8
Merge pull request #1224 from hathach/chipidea-controller
rename transdimension to chipidea
2021-12-02 14:10:24 +07:00
hathach 94c35de0d2 minor doc update 2021-12-02 13:19:27 +07:00
Ha Thach 821c0a9f38
Merge pull request #1223 from hathach/fix-s3-ci
temporarily skip s3 build on ci
2021-12-02 12:48:31 +07:00
hathach 1d1e75236c temporarily skip s3 build on ci 2021-12-02 12:02:25 +07:00
hathach 369f11fe5c fix ci 2021-12-02 11:50:28 +07:00
hathach eae4132fbb update supported doc 2021-12-02 11:31:27 +07:00
hathach 207c60d055 more chipidea 2021-12-02 00:03:44 +07:00
hathach 83dc3e25f0 more work to abstract chipidea driver 2021-12-01 23:30:09 +07:00
hathach 61a9e125db more ci abstract 2021-12-01 23:19:17 +07:00
Sebastien COUDREAU c9d9bfab92 Remove unused-parameter errors when LOGGER=SWO 2021-12-01 17:10:31 +01:00
Yunhao Tian bb7d1fa3ba Add support for Allwinner F1Cx00s family
Allwinner F1Cx00s family is a series of SoCs
with Mentor MUSB controller and HS phy. It comes
with a slightly different register space layout,
and some quirks, so it's not multiplexed with
the existing musb support library.

This library currently requires to be compiled
with https://github.com/hongxuyao/F1C100s_with_Keil_RTX4_emWin5
2021-12-01 15:35:48 +08:00
hathach 0612433eef add chipidea highspeed controller
add warning to transdimension for the rename
2021-12-01 12:14:44 +07:00
Ha Thach 6af58e3385
Merge pull request #1193 from rppicomidi/implement_usbh_replug_on_pico
Implement usbh replug on pico
2021-11-30 21:53:28 +07:00
kkitayam 9bccc8068b Add register settings to handle a HUB 2021-11-30 23:13:20 +09:00
hathach 3e3fe1e429 improve hcd_device_close() for rp2040 2021-11-30 17:36:52 +07:00
rppicomidi 006522e437 on unplug release device endpoints 2021-11-30 17:17:06 +07:00
rppicomidi 06f99c220e implement hcd device close 2021-11-30 17:17:06 +07:00
Yunhao Tian a6929cf03e Add support for Keil RTX4 OS abstraction layer 2021-11-30 17:19:11 +08:00
Yunhao Tian ac20605e3f Ignore certain compiler options on ARMCC
ARMCC also sets __GNU__ macro, but doesn't support
GCC diagnostic pragmas.
2021-11-30 17:19:11 +08:00
Yunhao Tian dba59217da usbd: supress "statement is unreachable" warning on ARMCC 2021-11-30 17:19:10 +08:00
Ha Thach 9775e76910
Merge pull request #1216 from hathach/update-doc
Update doc
2021-11-30 12:02:05 +07:00
hathach 4678a4142e
remove warnings 2021-11-30 00:35:39 +07:00
hathach 33506675c5
update supported doc 2021-11-30 00:33:55 +07:00
Ha Thach ae5b1bab14
Merge pull request #1215 from hathach/fix-esp-stack
use 4k stack for example with esp32sx
2021-11-29 16:17:37 +07:00
Ha Thach aae57cd3fd
Merge pull request #1214 from hathach/fix-gamepad-comment
correct 32 button in gamepad hid descriptor template
2021-11-29 15:40:56 +07:00
hathach 7ad0af64cc
use 4k stack for example with esp32sx 2021-11-29 13:24:10 +07:00
hathach ab223eb1df
correct 32 button in gamepad hid descriptor template 2021-11-29 13:07:46 +07:00
kkitayam 24614de419 Fix build errors 2021-11-29 00:45:57 +09:00
kkitayam ae9a39ec1f Add musb driver 2021-11-29 00:42:18 +09:00
kkitayam b3dddc77eb Add initialization sequence as a HOST 2021-11-29 00:40:23 +09:00
kkitayam b50cf856b3 Add hcd_musb.c 2021-11-29 00:28:22 +09:00
kkitayam 7413b6b020 Add a compile condition for dcd 2021-11-27 10:26:32 +09:00