Commit Graph

6731 Commits

Author SHA1 Message Date
hathach 5dae5e1292
ehci fix dcache clean when control endpoint failed 2023-05-19 13:32:49 +07:00
hathach f26a93908e
only clean/invalidate dcache on imxrt if memory is not in DTCM 2023-05-19 10:56:52 +07:00
hathach f22d8ee3b9
add rt1060 jlink config 2023-05-18 16:46:02 +07:00
hathach ec4bd39a92
refactor ehci: add attached_buffer for dcache invalidate for IN transfer 2023-05-18 16:41:06 +07:00
hathach 27acaa013b
refactor ehci, since usbh only queue 1 TD per queue head 2023-05-18 15:44:08 +07:00
hathach 49e2aabc81
EHCI more improvement
- more dcache clean/invalidate
- extract init_periodic_list()
- improve isr list handling
2023-05-18 13:45:38 +07:00
hathach a0aea52a11
more cache, fix an similar issue with OHCI when removing an queue head 2023-05-18 12:39:53 +07:00
hathach e4f4ad5bc3
use weak local for dcache function to skip if() 2023-05-18 10:21:11 +07:00
hathach a3e017bfd2
EHCI adding dcahe support, passing enumertaion 2023-05-18 10:04:48 +07:00
hathach eb89df4115
adding hcd_dcache_clean/hcd_dcache_invalidate 2023-05-17 16:14:35 +07:00
hathach a9aa0e3a1a
fix error on EHCI causes xfer error in non-queued qhd which cause memory fault 2023-05-16 11:10:44 +07:00
hathach 1e998ce3bd
usbd: fix control transfer issue for chipidea hs when previous status and new setup complete in the same isr frame
change usbd edpt busy/stalled/claimed value to 0/1 instead of
(true/false) since they are 1-bit field.
2023-05-16 11:09:23 +07:00
hathach 2c48050993
add various check for disconncted device, also fix #1511 un-roll recursive hub removal with usbh queue 2023-05-16 11:09:22 +07:00
hathach 1c4f22a54c
EHCI: fix xfer failed with disconnected device as stalled
- change CFG_TUH_ENDPOINT_MAX to 16 (max endpoint pair per device) if
not defined
- change QHD_MAX for EHCI, should be user configurable and more
optimized in the future
2023-05-16 11:09:22 +07:00
hathach 206d63e038
correct EHCI reporting failed xfer (instead of stalled) when device is unplugged 2023-05-16 11:09:21 +07:00
Ha Thach e2d3c0b2d3
Merge pull request #2065 from hathach/cmake-lpc55
add support for nrf5340 application core with pca10059
2023-05-16 11:04:07 +07:00
hathach 116a258858
fix nrf build 2023-05-16 10:14:00 +07:00
hathach 792cf95f2d
revert ci gcc to 11.2, update nrfx to version 2.11 2023-05-15 23:35:29 +07:00
hathach d7175ad834
update nrf cmake and make to support nrf5340 (pca10095) 2023-05-15 23:34:24 +07:00
Ha Thach 9f5b08dc93
Update build_arm.yml
try bump up gcc to 12
2023-05-15 14:39:49 +07:00
hathach 9fd0fee458
adding nrf 2023-05-15 14:25:42 +07:00
Ha Thach a57ba87859
revert family.mk 2023-05-13 13:24:00 +07:00
hathach dbcef41f95
add support for other lpc55 boards 2023-05-13 13:24:00 +07:00
hathach 2c745d1b1e
able to build lpc55 2023-05-13 13:23:59 +07:00
HiFiPhile f1bef8d8dd
Merge pull request #2057 from abakosh/develop
fix(iar_template.ipcf): add missing portable links, and delete the us…
2023-05-12 13:15:19 +02:00
HiFiPhile 9c1918fe46
Remove deprecated dcd_synopsys 2023-05-12 13:13:42 +02:00
Ha Thach aaff27d220
Merge pull request #2058 from hathach/cmake-imxrt
Add Cmake for imxrt and Fix EHCI PortSC issue
2023-05-10 16:06:04 +07:00
hathach eaa159c0a6 more doc build fix 2023-05-10 15:52:33 +07:00
hathach 137d516882 try to fix build doc 2023-05-10 15:32:39 +07:00
hathach 1e91fc97e2 remove imxrt from makebuild 2023-05-10 14:59:23 +07:00
hathach c4b2fed8bd forgot sudo 2023-05-10 13:51:45 +07:00
hathach c3770019cb install ninja 2023-05-10 13:50:24 +07:00
hathach 8e3bdd2391 add python script to help building cmake, build all imxrt boards with ci 2023-05-10 13:09:15 +07:00
hathach 4c796b89d8 try to build with cmake on ci 2023-05-10 11:20:26 +07:00
hathach c0e4c02b9d allow imxrt build with dual exmaples 2023-05-10 11:15:11 +07:00
hathach bc579c045e skip link option --print-memory-usage for renesas rx since it does not support this option 2023-05-09 21:39:10 +07:00
hathach 77f0726361 fix ehci issue with portsc when enable port power and port reset
fix attached device not regconized if attached before power on
2023-05-09 17:32:14 +07:00
hathach 04c759028a simplify cmake target, remove -bsp 2023-05-09 10:02:44 +07:00
Aladdin Bakosh 4be7546372 fix(iar_template.ipcf): add missing portable links, and delete the usbh_control.c from the list 2023-05-08 15:57:34 +02:00
hathach fd50be2e62 change imxrt board_uart_read() to non-blocking
simple host seems to work
2023-05-08 19:43:48 +07:00
hathach 4fc4f35a8a fix linking missing ivt symbol for imxrt with cmake
changed device port = 0, host port =1 for imxrt 1060 and 1064
2023-05-08 17:25:47 +07:00
hathach 654f182176 build host examples with imx 2023-05-08 00:24:48 +07:00
hathach 6945c594d5 update all device cmake example for imx 2023-05-07 22:09:08 +07:00
hathach f15f79df5d cmake work well with imxrt 2023-05-06 15:14:54 +07:00
hathach cda5ab8b25 more temp work 2023-05-05 19:15:19 +07:00
hathach 97ee40fd7b add clion files 2023-05-05 16:51:50 +07:00
hathach 8a9d2b4b75 wip 2023-05-04 23:29:37 +07:00
hathach 629717cd13 fix cmake build 2023-05-04 16:38:06 +07:00
Ha Thach 5e023fa2ca
Merge pull request #2051 from hathach/improve-serial-host
Improve serial host
2023-04-28 22:59:57 +07:00
hathach 1763eede48
more update to host serial API 2023-04-28 22:14:14 +07:00