Commit Graph

1613 Commits

Author SHA1 Message Date
hathach
c8130afe9b bump up cmake min to 3.20 2025-01-21 16:28:26 +07:00
Ritvik
19b6baa455 Fix potential out of bounds access in msc_disk.c 2025-01-09 15:40:21 -05:00
Jay
eb1c2b83ef trimed trailing whitespaces. 2024-12-23 22:19:35 +09:00
Jay
b029c94035 Modified example app. 2024-12-23 22:15:01 +09:00
Jay
15b1623aa3 add hid stylus pen device.
this works with android, for bypassing that absmouse does not support android.
note that, to hide cursor on android for every touch signal, find cursor option in android settings menu.

references:
1. https://stackoverflow.com/questions/28536602/hid-digitizer-descriptor-doesnt-perform-well-with-landscape-orientation
2. https://github.com/jonathanedgecombe/absmouse/blob/master/src/AbsMouse.cpp
2024-12-23 22:03:37 +09:00
hathach
a39e30db92 Merge branch 'refs/heads/master' into fork/HiFiPhile/rt1170 2024-12-17 11:16:27 +07:00
hathach
380bfc0a63 fix portenta build, added core-m85.cmake/mk 2024-12-13 18:16:19 +07:00
HiFiPhile
f2ed60e9fc Update audio class with dcache support.
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2024-11-30 21:49:33 +01:00
hathach
79373afaaf Merge branch 'master' into fork/HiFiPhile/lwip_fix 2024-11-28 16:11:30 +07:00
Ha Thach
dbc2c8d972 Fix missing protoype warning, change TUD_EPBUF_TYPE_DEF order (#2889)
* change TUD_EPBUF_TYPE_DEF order
* add and fix -Wmissing-prototypes warnings  for   cmake (skip  make)
2024-11-27 18:28:12 +07:00
hathach
123f1affb7 update device_info example to work with p4 dcache 2024-11-27 00:01:37 +07:00
hathach
67e92e6688 add TUH_EPBUF_DEF for cdc host 2024-11-26 22:07:28 +07:00
hathach
e9a3f88894 add buffer note for host msc api 2024-11-26 17:28:27 +07:00
hathach
d9f3e7dd25 add TUH_EPBUF_DEF for hid host 2024-11-26 16:32:19 +07:00
hathach
c09eedaf24 try to fix circleci with kinetis 2024-11-25 17:45:54 +07:00
hathach
01df8c36de fix ci 2024-11-21 22:03:52 +07:00
hathach
c370c70bbe fix build with midi_test_freertos 2024-11-21 18:44:17 +07:00
hathach
34346d61f0 missing host/cdc_msc_hid_freertos 2024-11-21 18:08:52 +07:00
hathach
dbdc5a239c - move freertos_hooks to board.c
- add device/midi_test_freertos example
- update bth/dfu/midi device for cache line size
2024-11-21 17:49:38 +07:00
Ha Thach
fee5ee6f0a Merge pull request #2866 from HiFiPhile/uac_fix
Fix 2 UAC issue
2024-11-18 13:02:23 +07:00
hathach
aeae2966a2 hil add stm32f723disco, add test flags for device/host/dual 2024-11-13 13:08:30 +07:00
hathach
839ec17292 fix example build 2024-11-12 22:03:13 +07:00
hathach
e391e33492 update host/device_info to build with freertos for espressif board. Add hil test for host/device_info 2024-11-12 19:00:00 +07:00
Ha Thach
9d86ca1777 Merge pull request #2870 from hathach/hcd-dwc2
Implement Host Driver support for synopsys dwc2
2024-11-09 00:10:32 +07:00
hathach
3831786ede minor clean up 2024-11-08 22:53:28 +07:00
hathach
ab8160a29b hcd work with esp32p4 in slave mode but have issue with DMA mode. In slave it enumerate device but has issue with msc bulk in 2024-11-07 16:37:33 +07:00
hathach
9920ebff4a update bsp for h7 to support host mode 2024-11-07 15:04:19 +07:00
hathach
4baeeeb564 enable stm32f4 host 2024-11-07 09:49:04 +07:00
hathach
772edf879b fix iar build 2024-11-06 22:13:05 +07:00
HiFiPhile
cdc98e12c1 Improve EP IN flow control.
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2024-11-02 17:09:51 +01:00
hathach
9afa64014c testing hcd with dma, work well after enumeration. 2024-10-31 21:37:57 +07:00
hathach
f953b6bf92 minor rename 2024-10-28 18:40:21 +07:00
hathach
f5978876d2 get hprt interrupt triggered 2024-10-21 11:43:37 +07:00
pschatzmann
87a35c5734 RP2040 Compile Errors 2024-10-15 23:38:16 +02:00
HiFiPhile
047ba0a62d Add comment to BOS descriptor. 2024-10-15 21:49:02 +02:00
hathach
4012e15075 move core init code to dwc2 common. update/correct build for esppressif 2024-10-15 17:55:24 +07:00
hathach
10a3aa3cc8 adding hcd dwc2 2024-10-15 13:03:12 +07:00
hathach
1f18be93db change the tusb_rhport_init_t struct, exclude the rhport to make API more consistent 2024-10-14 18:27:52 +07:00
hathach
92602b9de3 change tusb_init(), tusb_rhport_init() to use init struct for expandability 2024-10-11 13:41:53 +07:00
hathach
57aac432b5 add new tusb_int_handler(rhport, in_isr) as common irq handler
update tusb_init() to take rhport and role, defined as macro with optional argument for backward compatible
2024-10-10 16:28:36 +07:00
hathach
c3437961b8 remove stm32f769disco since it is not reliable 2024-10-10 00:08:47 +07:00
Ha Thach
a13dbd4452 Merge pull request #2809 from shuffle2/master
make all python files executable and standardize interpreter
2024-10-07 11:11:54 +07:00
HiFiPhile
ad362c8ac4 Add MSOS 2.0 descriptor to auto load NCM driver on Windows. 2024-10-05 15:51:02 +02:00
Stéphane Lenclud
3d3dcb1ee9 service_traffic: Don't call pbuf_free when ethernet_input is Ok 2024-10-05 15:51:02 +02:00
hathach
fa44923de1 skip some examples for mcxa15 2024-09-30 22:13:30 +07:00
Shawn Hoffman
616532892d make all python files executable and standardize interpreter 2024-09-17 12:17:12 -07:00
Ha Thach
4b107a2b9e Merge pull request #2450 from HiFiPhile/vendor_fifo
Allow vendor class to be used without FIFO.
2024-09-11 10:10:06 +07:00
hathach
7373a02396 minor clean up 2024-09-10 18:13:38 +07:00
dp111
fc07df320b use fixed with in printf ( found by clang)
NB %lu is a minimum of 32 bits where as the variable use is exactly 32 bits . This can affect porting to other systems.
2024-09-03 20:28:42 +01:00
HiFiPhile
8eb3bd213f Merge pull request #2765 from hinxx/usbtmc-clean
couple of fixes for usbtmc example
2024-09-01 18:09:36 +02:00