Commit Graph

1672 Commits

Author SHA1 Message Date
raldone01
f36f97c45a More catches. 2025-07-26 10:11:20 +02:00
raldone01
30d678970e Improve web usb and web serial robustness. 2025-07-24 23:58:54 +02:00
raldone01
4cb4fb2e28 Mitigate potential xss. 2025-07-11 17:06:35 +02:00
raldone01
a9c51a7e65 Use localstorage clear. 2025-07-08 12:16:32 +02:00
raldone01
a0cb8aab50 Remember scroll position. 2025-07-08 12:04:01 +02:00
raldone01
1dcab43468 Fix ui desync issue. Fix disconnection issue. 2025-07-08 11:31:57 +02:00
raldone01
ce40b4c11e Add missing idf cmake file. 2025-07-05 19:42:45 +02:00
raldone01
eeb73550ef Remove double text encoder in SerialPort. 2025-07-05 19:42:44 +02:00
raldone01
e11047f003 Add support for dark and light theme. 2025-07-05 19:42:44 +02:00
raldone01
bc13c80c63 Attempt to fix disconnect button state desync. 2025-07-05 19:42:44 +02:00
raldone01
28ded62c1c Improve performance slightly 2025-07-05 19:42:44 +02:00
raldone01
eef5b92c9b Choose a larger buffer. 2025-07-05 19:42:44 +02:00
raldone01
d3f7dff180 Major overhaul and logic cleanup.
Adds support for web serial as well.
2025-07-05 19:42:44 +02:00
raldone01
98b975202c Minor bug fixes.
Persist settings.
2025-07-05 19:42:44 +02:00
raldone01
ff18dbd238 Rewrite of the web_serial example website.
Fixes: #2632
2025-07-05 19:42:44 +02:00
hathach
4b95a70bee enable ci host and dual build for ch32v20x 2025-07-05 11:51:33 +07:00
hathach
0df3bfb81d update cdc_msc/cdc_msc_freertos to also support notification 2025-07-03 14:28:19 +07:00
hathach
41606a533d make notify API and memory configurable with CFG_TUD_CDC_NOTIFY
add tud_cdc_n_notify_conn_speed_change()
add tud_cdc_notify_complete_cb()
2025-07-03 13:42:05 +07:00
hathach
cf3966efd9 Merge branch 'master' into fork/HiFiPhile/dcd_notif 2025-07-02 18:18:52 +07:00
hathach
a64e3eb0aa update board_test always output to uart regardless of LOGGER option 2025-07-02 17:27:03 +07:00
hathach
a8b5e2bfc0 update example 2025-07-02 15:38:14 +07:00
hathach
0388700ad7 update esp build, replace TUSB_MCU_VENDOR_ESPRESSIF by ESP_PLATFORM 2025-07-02 15:32:12 +07:00
hathach
a42184b6fe remove legacy DEPS_SUBMODULES in make 2025-07-02 11:03:50 +07:00
hathach
216a35e59a update example 2025-07-01 21:48:28 +07:00
hathach
77e142ed76 Merge branch 'master' into fork/HiFiPhile/async_io 2025-06-30 21:09:40 +07:00
hathach
d86362414e clean up 2025-06-27 21:17:30 +07:00
HiFiPhile
d789a87a7d Merge branch 'master' into async_io
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-06-22 17:19:08 +02:00
hathach
adf6cbfe03 cdch clean up and refactor, add explicit sync() API 2025-06-20 12:52:34 +07:00
hathach
fa3ec44533 revert CFG_TUH_CDC_DTR/RTS_CONTROL_ON_ENUM 2025-06-19 17:22:26 +07:00
hathach
d4abf43f22 add common cdch_process_set_config() to safely complete set_config() when it failed.
driver_process_set_config() also pass drv index with user_data
2025-06-17 22:16:13 +07:00
hathach
4a44dd5c47 Merge branch 'master' into fork/IngHK/cdch_upgrade
# Conflicts:
#	README.rst
#	docs/reference/index.rst
#	src/class/cdc/cdc_device.c
#	src/class/cdc/cdc_host.c
2025-06-16 11:08:01 +07: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
hathach
41e615d7c2 add make build for maxim 2025-06-11 12:08:16 +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
0ebc91ec97 update stm32wb linker to match new startup 2025-05-14 15:41:57 +07:00
hathach
fe4446090e fix dual example for rp2350 conflict printf and cdc_printf 2025-05-13 16:27:26 +07:00
hathach
baf67539fc fix warnings, minor clean up 2025-05-13 12:16:22 +07:00
fenugrec
736b1d50bc examples cmake: fix gcc flag -mcpu=cortex-m0 2025-04-23 16:04:42 -04:00
hathach
741cb3cf02 rename hcd_devtree_info_t to tuh_bus_info_t, hcd_devtree_get_info to hcd_bus_info_get
streamline bus info to usbh_devies, also replace dev0 (renamed to dev0_bus)
2025-04-23 12:35:32 +07:00
HiFiPhile
9645baa42e include h7rs in host examples.
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-04-22 20:19:34 +02:00
hathach
9eb0ae7636 fix iar make build with stm32 l0, f2, f3, u5, wb 2025-04-17 15:15:07 +07:00
hathach
b1eedf4d1d fix iar make build with wb and u5 2025-04-17 14:40:43 +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
HiFiPhile
459e2cd39e Merge remote-tracking branch 'upstream/master' into async_io
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-04-11 23:07:22 +02:00