Commit Graph

1676 Commits

Author SHA1 Message Date
hathach
4ce439a75a add ch32 support for fsdev driver. v20x can select fsdev or usbfs with make/cmake PORT=0/1. default to fsdev 2024-05-24 13:58:44 +07:00
hathach
927015baae wch usbfs/usbhs need to specify which driver to use. for v307 default to highspeed 2024-05-24 11:38:44 +07:00
hathach
4a5b190a22 re-add sof event 2024-05-21 18:34:25 +07:00
hathach
953e3bd634 - minor update to ep_set_response_and_toggle/xfer_data_packet
- merge USBHS_ISO_ACT_FLAG, USBHS_TRANSFER_FLAG handler since they are similar
- improve uart output
- add note for link speed in bus reset
2024-05-21 17:50:50 +07:00
hathach
4bd72da5cd use CFG_TUD_ENDPOINT0_SIZE, rename ep0_data_in_out_buffer to simply ep0_buffer
reformat indent to 2 spaces
2024-05-21 15:41:59 +07:00
Denis Krasutski
3e604d1d54 fix(ch32, iso): fix iso IN transfers for CH32 2024-05-21 15:24:40 +07:00
dkrasutski
869e5e950c bugfix(ch32-hs-dcd): fix ch32 DATAx managment and long packet transmission 2024-05-21 15:24:36 +07:00
Ha Thach
a068b81674 Merge pull request #2362 from dragonlock2/master
Add CH32V20x USB OTG/FS Driver
2024-05-20 18:47:22 +07:00
hathach
07d879378f code format
add missing MIT license
2024-05-20 17:41:48 +07:00
hathach
b19295c1c1 use correct wch usbhs, usbfs for ch32v307 using CFG_TUD_MAX_SPEED 2024-05-20 17:26:04 +07:00
hathach
5fee292606 temp code 2024-05-20 11:54:48 +07:00
Matthew Tran
ab5f276877 fix ep0 stall not clearing 2024-05-19 21:50:30 -07:00
hathach
2a67ce773d change default risv-gcc to riscv-none-elf- and add _zicsr extension
add cmake for ch32v20x, skip freertos examples for CH32V20X, also skip net webserver due to lack of RAM
update to use openocd with wlinke adapter
2024-05-16 19:18:43 +07:00
Matthew Tran
db60fa1c63 add CH32V20x USB OTG/FS driver 2024-05-15 20:01:00 +07:00
Ha Thach
5393f8ddbc Merge pull request #2626 from rgrr/dcd_nrf5x-fix-race-condition
dcd_nrf5x: fix race condition
2024-05-15 19:31:13 +07:00
hathach
aa2685536b implement max3421e hcd_edpt_abort_xfer() 2024-05-15 16:00:15 +07:00
HiFiPhile
ad734e658c Remove dead code. 2024-05-13 22:27:33 +02:00
HiFiPhile
e250b82377 Adjust logic. 2024-05-13 22:26:19 +02:00
HiFiPhile
0fce7d1f54 Merge branch 'master' into test-mode-support 2024-05-13 21:08:11 +02:00
Hardy Griech
9d561410e5 revert (unverified) second race condition 2024-05-13 18:57:03 +02:00
HiFiPhile
1cab553f4b Format. 2024-05-09 13:55:18 +02:00
HiFiPhile
fd1cde9b89 Merge branch 'master' into pr/2181 2024-05-09 13:45:44 +02:00
hathach
a9f1c62dff temp fix for mm32 redundant-decls of SystemCoreClock 2024-05-06 17:28:48 +07:00
Hardy Griech
82547372d1 edpt_dma_start() is called during interrupt time as well, dcd_edpt_xfer() needs DI/EI at one point 2024-05-06 08:42:08 +02:00
hathach
c020a0190d add cmake for f1c100s 2024-05-04 12:36:40 +07:00
hathach
2213fe40e5 add cmake for lpc15 2024-05-02 18:24:47 +07:00
hathach
c717e52ab2 add cmake for lpc11 2024-05-02 17:54:44 +07:00
hathach
223ce56625 - add esp32 c3, c6 mcu option
- skip breakpoint for espressif riscv
2024-04-26 00:10:57 +07:00
hathach
2e995d7cf4 adding support for esp32 for use with max3421e host 2024-04-25 20:23:40 +07:00
HiFiPhile
c2f836279e Disable EPs correctly to clear incomplete transfer. 2024-04-25 11:51:06 +07:00
hathach
0f3d6c61b5 port clang stm32: f1, f2, f3 2024-04-23 12:04:08 +07:00
hathach
3fd82cfe22 clang work with lpc55 2024-04-23 10:57:45 +07:00
hathach
db30eee0fc clang tested with mcb1800, add heap to lpc18 linker 2024-04-22 18:31:11 +07:00
hathach
c097c85dcf fix print lu format warnings with clang 2024-04-22 16:17:22 +07:00
hathach
2e383bf901 dcd nrf change atoimc_bool to atomic_flag 2024-04-22 12:12:56 +07:00
hathach
9d1d171b0c - update nrfx to v3.4.0
- compile nrf with __STARTUP_CLEAR_BSS and link flag -nostartfiles
2024-04-19 23:17:47 +07:00
hathach
3442a87d5b - clang h743 build and run cdc_msc ok
- switch unit test back to gcc, since path to clang conflict on local setup (x86 and arm)
2024-04-19 23:16:57 +07:00
hathach
bf29417e5f code format 2024-04-16 20:58:02 +07:00
hathach
d82ee79bd0 - in case of mdk conflict to use nrfx v2
- allow to force nrfx version with CFG_TUD_NRF_NRFX_VERSION=1
2024-04-16 11:55:03 +07:00
hathach
37a05e0264 revert nvic changes 2024-04-16 11:23:38 +07:00
Hardy Griech
c535a4d42b catch all nrfx versions with an old API 2024-04-16 11:18:47 +07:00
Hardy Griech
2567fe3fd8 softdevice nvic calls only if old SDK 2024-04-16 11:18:46 +07:00
Hardy Griech
1b0ec6b1bd make it compile also with old Nordic SDK 2024-04-16 11:18:45 +07:00
hathach
e1c3b5aeab minor update to sof 2024-04-16 10:57:54 +07:00
Ha Thach
50738f2ab4 Merge pull request #2588 from hathach/support-ra2a1
Enhance dcd rusb2, support ra2a1 pipe number scheme
2024-04-16 00:16:18 +07:00
hathach
6328301bb6 revert to use __builtin_ctz() for optimized time 2024-04-15 23:56:55 +07:00
Ha Thach
fb21b6a67d Merge pull request #2134 from clhenry/non-bus-powered-re-enumeration
Non-bus-powered MSP430 support.
2024-04-15 23:14:10 +07:00
hathach
bf649988ef add blocking delay for msp430 with max 25mhz 2024-04-15 12:06:13 +07:00
HiFiPhile
049ceda315 Implement dcd_edpt_close_all() 2024-04-11 22:02:59 +02:00
HiFiPhile
dfef0bc81b Cleanup 2024-04-11 22:01:57 +02:00