Commit Graph

1097 Commits

Author SHA1 Message Date
HiFiPhile
545690c834 audio: update examples
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-06-14 22:46:52 +02:00
Ha Thach
e95973d346 Merge pull request #3137 from HiFiPhile/uac_simplify
uac2: remove support fifo
2025-06-12 22:18:17 +07:00
hathach
386f33807a Merge branch 'master' into fork/james-advatek/stm32n657nucleo 2025-06-12 11:02:54 +07:00
hathach
d3d505e8f7 Merge branch 'master' into fork/HiFiPhile/h7rs 2025-06-11 16:23:54 +07:00
James Sandison
56c9521abd chore: squash previous commits from other branches 2025-06-04 11:21:27 +10:00
HiFiPhile
dc0038f614 uac2: remove support fifo
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-05-29 13:56:46 +02:00
Andrew Leech
b6ce41188e examples/device/net_lwip_webserver: Simplify example code.
Now that tud_network_recv_renew has protections against recursion it's
safe and simpler to handle the lwip frame entirely in the same callback.
2025-05-29 09:36:38 +10:00
Andrew Leech
5de4a23abe Add USB NCM link state control support
This adds the ability to dynamically control the network link state
for NCM devices. The host OS will see the network interface as
connected/disconnected based on the link state.

New API:
- tud_network_link_state(rhport, is_up): Set link up/down state

Example updates:
- Added button control to toggle link state
- Fixed LWIP integration to properly handle link state changes
- Added printf to show correct protocol (NCM vs RNDIS/ECM)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-29 09:36:38 +10:00
HiFiPhile
6346fbec16 Merge branch 'master' into h7rs 2025-05-15 21:40:36 +02:00
hathach
9eb0ae7636 fix iar make build with stm32 l0, f2, f3, u5, wb 2025-04-17 15:15:07 +07:00
HiFiPhile
c183108a82 Skip net_lwip_webserver, too big for h7rs
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-04-13 12:24:30 +02:00
Ha Thach
9d2fd6c4ac Merge pull request #2984 from HiFiPhile/preset
Add CMake presets.
2025-02-14 11:29:33 +07:00
HiFiPhile
14f1feac84 Fix path.
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-02-11 20:56:41 +01:00
hathach
f1ce4918c2 update make to use FreeRTOSConfig in family instead of examples 2025-02-11 21:44:35 +07:00
hathach
5a39bcf79c remove freeeRTOSConfig in examples 2025-02-11 21:19:09 +07:00
HiFiPhile
09bce3532c Add CMake presets.
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-02-09 00:25:38 +01:00
hathach
cd0ca4832d Merge branch 'refs/heads/master' into fork/jay94ks/styluspen 2025-02-07 16:37:51 +07:00
hathach
7641060252 Merge branch 'master' into zephyr-support 2025-01-25 23:48:05 +07:00
hathach
f6f02f1893 correct offset check logic 2025-01-25 23:07:34 +07:00
hathach
8c7998b0e9 fix ci 2025-01-25 22:24:00 +07:00
hathach
13856af935 add -DRTOS=zephyr to ci west build 2025-01-25 12:19:24 +07:00
hathach
b53801a8ac add cmake RTOS=zephyr (default noos) for zephyr build 2025-01-24 15:06:05 +07:00
hathach
9f45e25b1c msc_dual_lun and cdc_msc work with zephyr on pca10056 2025-01-24 00:39:48 +07:00
hathach
0162d6ab32 kind of work with zephyr with pca10056 with cmake -DBUILD_ZEPHYR 2025-01-23 17:35:05 +07:00
hathach
31071ccf0e kind of work with zephyr with pca10056 with cmake -DBUILD_ZEPHYR 2025-01-23 17:10:48 +07:00
HiFiPhile
19d28a9d15 Fix also cdc_msc example. 2025-01-22 21:24:14 +01:00
HiFiPhile
bd08753583 Fix CI. 2025-01-22 21:22:32 +01:00
hathach
91214b4614 zephyr 2025-01-21 16:28:29 +07:00
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
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
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
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
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
HiFiPhile
cdc98e12c1 Improve EP IN flow control.
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2024-11-02 17:09:51 +01: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
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