9097 Commits

Author SHA1 Message Date
d0bf70afbd Merge branch 'dcd_notif' into testing 2025-06-22 17:22:45 +02:00
fa5856c72a Merge branch 'xfer_close' into testing 2025-06-22 17:21:46 +02:00
bcb32fad9f Merge branch 'xfer_isr' into testing 2025-06-22 17:21:42 +02:00
b54967b9f9 Merge branch 'stm32_cache' into testing 2025-06-22 17:21:28 +02:00
1c13e5c5b7 Merge branch 'async_io' into testing 2025-06-22 17:21:23 +02:00
d789a87a7d Merge branch 'master' into async_io
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-06-22 17:19:08 +02:00
545690c834 audio: update examples
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-06-14 22:46:52 +02:00
19b5ec5fd9 bsp: fix NUCLEO-H7S3L8 button
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-06-14 22:46:51 +02:00
1a36a1c1af audio: remove FIFO mutex, as audio streaming is always single producer single consumer
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-06-14 22:46:51 +02:00
eed294fbb5 audio: move ISO transfers into xfer_isr
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-06-14 22:46:51 +02:00
76a6834659 USBD: introduce xfer_isr. 2025-06-14 22:45:40 +02:00
ea02e929b4 audio: buffer macro update
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-06-13 22:49:06 +02:00
424d743739 hw/h7rs: Update linker to put RTT in DTCM
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-06-13 22:49:06 +02:00
37316e057d hw/h7rs: Enable D-Cache in BSP
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-06-13 22:49:06 +02:00
e19ff3ecae Add cache line size alignment to buffer macro
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-06-13 22:49:06 +02:00
e84efd2771 Add STM32 DWC2 cache support
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-06-13 15:21:04 +02:00
e95973d346 Merge pull request #3137 from HiFiPhile/uac_simplify
uac2: remove support fifo
2025-06-12 22:18:17 +07:00
99b4ebeb10 Merge pull request #3140 from james-advatek/stm32n657nucleo
Add STM32N657 Nucleo Board support
2025-06-12 21:50:23 +07:00
7d66a3e775 merge n6 and h7rs (same config) 2025-06-12 21:20:49 +07:00
2e231a7517 doc update 2025-06-12 15:57:56 +07:00
76b7468c74 ci skip clang/iar build for stm32n6
add stm32-tcpp0203 driver as dependency for h7rs and n6
2025-06-12 15:32:36 +07:00
edec37c1a3 fix cmake build 2025-06-12 14:07:51 +07:00
386f33807a Merge branch 'master' into fork/james-advatek/stm32n657nucleo 2025-06-12 11:02:54 +07:00
170de855a3 Merge pull request #2960 from HiFiPhile/h7rs
Add NUCLEO-H7S3L8 BSP
2025-06-11 21:05:33 +07:00
732a07ba5d fix linker issue with clang 2025-06-11 19:59:24 +07:00
14124c1735 add h7rs to ci matrix 2025-06-11 19:35:20 +07:00
d3d505e8f7 Merge branch 'master' into fork/HiFiPhile/h7rs 2025-06-11 16:23:54 +07:00
8e25220369 Merge pull request #3145 from hathach/refactor-maxim-bsp
Refactor maxim bsp
2025-06-11 16:20:35 +07:00
41e615d7c2 add make build for maxim 2025-06-11 12:08:16 +07:00
1be7b8f781 remove max32666fthr from hil pool 2025-06-11 09:39:42 +07:00
b56265f381 merge all maxim (32650, 32666, 32690, 78002) family into common bsp/maxim. Only support cmake build system
rename hw/mcu/analog/max32 to hw/mcu/analog/msdk
2025-06-10 22:28:03 +07:00
b203d9eaf7 Merge pull request #3143 from Precidata/fix-epsize
Fix TUH_EPSIZE_BULK_MPS macro
2025-06-09 18:15:33 +02:00
d533650105 Fix TUH_EPSIZE_BULK_MPS macro
TUH_EPSIZE_BULK_MPS should be set based on TUH_OPT_HIGH_SPEED, not TUD_OPT_HIGH_SPEED
2025-06-09 16:56:02 +02:00
d61077cbad Merge pull request #3135 from andrewleech/ncm-link-state-control
Add USB NCM link state control support
2025-06-09 14:25:25 +02:00
1ccb10e3f1 Fix ECM compile
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-06-08 13:53:23 +02:00
b956d10487 fix: allow FreeRTOS examples to compile 2025-06-04 13:52:35 +10:00
5c4b2c75d2 docs: update dwc2_info.md 2025-06-04 13:21:34 +10:00
efc8c08a66 chore: delete accidentally commited submodules 2025-06-04 11:42:21 +10:00
3cf7234d67 chore: whitespace fix 2025-06-04 11:37:45 +10:00
001c7e3863 doc: remove reference to stm32n657_dk board 2025-06-04 11:27:55 +10:00
d62a521e7c chore: add newline to EOF 2025-06-04 11:27:34 +10:00
56c9521abd chore: squash previous commits from other branches 2025-06-04 11:21:27 +10:00
dc0038f614 uac2: remove support fifo
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-05-29 13:56:46 +02:00
3d2b870fcb Fix wrong SysTick clock on NUCLEO-C071RB
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-05-29 13:36:34 +02:00
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
9021efcacb Add link state control support for ECM mode
Extends the link state control feature to CDC-ECM mode.
RNDIS mode prints state changes but doesn't send notifications
to the host yet (would require RNDIS_INDICATE_STATUS_MSG).

For ECM:
- Tracks link state and sends proper CDC notifications
- Handles notification endpoint busy conditions
- Only sends connection notification when link is actually up

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-29 09:36:38 +10:00
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
2a364ca272 Merge pull request #3136 from hathach/update-max32
add OPT_MCU_MAX32665
2025-05-28 16:59:52 +07:00
132c55aca0 add OPT_MCU_MAX32665 2025-05-28 08:38:26 +07:00
8f077f9295 Merge pull request #3111 from hathach/ci_vbus 2025-05-23 21:50:00 +07:00