summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorZixun LI <[email protected]>2026-09-04 10:49:44 +0200
committerGitHub <[email protected]>2026-09-04 10:49:44 +0200
commit29851564af08cb4909175315d20c71f5eca13040 (patch)
tree32d417cc4f80d87b54cf16d31636b2f758525ab7 /hw
parentf89e21aa66ce142d7b959cd9fc2a45d47834f121 (diff)
parentef404be0337b1486b0a45acd248639ac8dea6c15 (diff)
Merge pull request #3774 from zjzhang-cn/feature/tuh-audio-uac-1.0
feat(audio): add USB Audio Host (UAC 1.0/2.0) support
Diffstat (limited to 'hw')
-rw-r--r--hw/bsp/rp2040/family.cmake1
-rw-r--r--hw/bsp/stm32f7/boards/stm32f723disco/board.h6
2 files changed, 4 insertions, 3 deletions
diff --git a/hw/bsp/rp2040/family.cmake b/hw/bsp/rp2040/family.cmake
index 57be416a2..ba63cf44b 100644
--- a/hw/bsp/rp2040/family.cmake
+++ b/hw/bsp/rp2040/family.cmake
@@ -122,6 +122,7 @@ target_sources(tinyusb_host_base INTERFACE
${TOP}/src/host/usbh.c
${TOP}/src/host/hub.c
${TOP}/src/class/cdc/cdc_host.c
+ ${TOP}/src/class/audio/audio_host.c
${TOP}/src/class/hid/hid_host.c
${TOP}/src/class/midi/midi_host.c
${TOP}/src/class/midi/midi2_host.c
diff --git a/hw/bsp/stm32f7/boards/stm32f723disco/board.h b/hw/bsp/stm32f7/boards/stm32f723disco/board.h
index 698a1a230..78942b884 100644
--- a/hw/bsp/stm32f7/boards/stm32f723disco/board.h
+++ b/hw/bsp/stm32f7/boards/stm32f723disco/board.h
@@ -103,9 +103,9 @@ static inline void board_clock_init(void) {
RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON;
RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSE;
RCC_OscInitStruct.PLL.PLLM = HSE_VALUE / 1000000;
- RCC_OscInitStruct.PLL.PLLN = 432;
- RCC_OscInitStruct.PLL.PLLP = RCC_PLLP_DIV2;
- RCC_OscInitStruct.PLL.PLLQ = 9;
+ RCC_OscInitStruct.PLL.PLLN = 288;
+ RCC_OscInitStruct.PLL.PLLP = RCC_PLLP_DIV4;
+ RCC_OscInitStruct.PLL.PLLQ = 6;
HAL_RCC_OscConfig(&RCC_OscInitStruct);
/* Activate the OverDrive to reach the 216 MHz Frequency */