summaryrefslogtreecommitdiff
path: root/examples
AgeCommit message (Collapse)Author
2025-06-20cdch clean up and refactor, add explicit sync() APIhathach
2025-06-19revert CFG_TUH_CDC_DTR/RTS_CONTROL_ON_ENUMhathach
2025-06-17add common cdch_process_set_config() to safely complete set_config() when it ↵hathach
failed. driver_process_set_config() also pass drv index with user_data
2025-06-16Merge branch 'master' into fork/IngHK/cdch_upgradehathach
# Conflicts: # README.rst # docs/reference/index.rst # src/class/cdc/cdc_device.c # src/class/cdc/cdc_host.c
2025-06-12Merge pull request #3137 from HiFiPhile/uac_simplifyHa Thach
uac2: remove support fifo
2025-06-12Merge branch 'master' into fork/james-advatek/stm32n657nucleohathach
2025-06-11Merge branch 'master' into fork/HiFiPhile/h7rshathach
2025-06-11add make build for maximhathach
2025-06-04chore: squash previous commits from other branchesJames Sandison
2025-05-29uac2: remove support fifoHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-05-29examples/device/net_lwip_webserver: Simplify example code.Andrew Leech
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-29Add USB NCM link state control supportAndrew Leech
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 <[email protected]>
2025-05-15Merge branch 'master' into h7rsHiFiPhile
2025-05-14update stm32wb linker to match new startuphathach
2025-05-13fix dual example for rp2350 conflict printf and cdc_printfhathach
2025-05-13fix warnings, minor clean uphathach
2025-04-23examples cmake: fix gcc flag -mcpu=cortex-m0fenugrec
2025-04-23rename hcd_devtree_info_t to tuh_bus_info_t, hcd_devtree_get_info to ↵hathach
hcd_bus_info_get streamline bus info to usbh_devies, also replace dev0 (renamed to dev0_bus)
2025-04-22include h7rs in host examples.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-04-17fix iar make build with stm32 l0, f2, f3, u5, wbhathach
2025-04-17fix iar make build with wb and u5hathach
2025-04-13Skip net_lwip_webserver, too big for h7rsHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-04-03fix(hcd) hcd_edpt_open() return true if endpoint is already opened.hathach
2025-03-26added mimxrt1064_evk to hil test poolhathach
2025-03-25fix waningshathach
2025-03-25add tuh_edpt_close() API, it will abort any pending transferhathach
implement hcd_edpt_close() for pio-usb and max3421e, also move max3421e api into its own header.
2025-03-24update hil test to include dual and host for pico/pico2hathach
2025-03-21enable hil dual for metro m4 with max3421hathach
2025-03-09Merge pull request #1627 from atoktoto/midihostHa Thach
RP2040 MIDI Host
2025-03-06fix(dwc2) host driver conflict with max3421ehathach
2025-03-06midi host: skip rx data with all zeroeshathach
2025-03-05Merge branch 'master' into fork/atoktoto/midihosthathach
# Conflicts: # src/host/usbh.c
2025-03-03- add tuh_descriptor_get_string_langid() APIhathach
- host enumeration always get language id, manufacturer, product and serial string. Which is required by some device such as 8bitdo
2025-02-24add tuh_midi_mount_cb_t struct for tuh_midi_mount_cb()hathach
change tuh_midi_rx/tx_cb() to have xferred_bytes rename tuh_midi_get_num_rx/tx_cables() to tuh_midi_get_rx/tx_cable_count() use default empty callback instead of weak null to be compatible with keil compiler
2025-02-24add desc_audio_control to midi descriptor callbackhathach
2025-02-24change API to take index instead of dev address, this allow to support more ↵hathach
than 1 midi per device.
2025-02-21remove CFG_MIDI_HOST_DEVSTRINGS support, we will leave that for application ↵hathach
to parse/extract this information if needed rename tuh_midi_configure() to mounted() for consistency
2025-02-21Merge branch 'master' into fork/atoktoto/midihosthathach
# Conflicts: # src/host/usbh.c
2025-02-14Merge pull request #2984 from HiFiPhile/presetHa Thach
Add CMake presets.
2025-02-14- change signature of tuh_midi_mount/umount_cb()hathach
- rename midi_stream_t to midi_driver_stream_t and move to midi.h (common for device and host)
2025-02-14- remove tuh_midi_read_poll(), auto schedule EP in when set_config() and ↵hathach
xfer_cb as well as ep read() - de-dup tuh_midi_get_num_rx/tx_cables - add tuh_midi_read_available()
2025-02-12- use CFG_TUH_MIDI as number of midi host instancehathach
- comment out tuh_descriptor_device_cb/tuh_desc_configuration_cb since it is unrelated to this PR
2025-02-12more ci fixhathach
2025-02-12fix host midi buildhathach
2025-02-12pre-commit fixhathach
2025-02-12Merge branch 'master' into fork/atoktoto/midihosthathach
# Conflicts: # hw/bsp/rp2040/family.cmake # src/class/midi/midi.h # src/class/midi/midi_device.c # src/device/usbd_control.c # src/host/hcd.h # src/host/usbh.c # src/host/usbh.h
2025-02-11Fix path.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-02-11remove board_mcu.hhathach
2025-02-11update make to use FreeRTOSConfig in family instead of exampleshathach
2025-02-11remove freeeRTOSConfig in exampleshathach