docs(uhci): Fix uhci compiling on non-supported target

This commit is contained in:
C.S.M
2025-09-01 18:24:50 +08:00
parent 0a7ace356d
commit 1b4ad917c5
3 changed files with 16 additions and 13 deletions

View File

@@ -115,7 +115,9 @@ BITSCRAMBLER_DOCS = ['api-reference/peripherals/bitscrambler.rst']
CLK_TREE_DOCS = ['api-reference/peripherals/clk_tree.rst']
UART_DOCS = ['api-reference/peripherals/uart.rst', 'api-reference/peripherals/uhci.rst']
UART_DOCS = ['api-reference/peripherals/uart.rst']
UHCI_DOCS = ['api-reference/peripherals/uhci.rst']
SDMMC_DOCS = ['api-reference/peripherals/sdmmc_host.rst']
@@ -340,6 +342,7 @@ conditional_include_dict = {
'SOC_CACHE_INTERNAL_MEM_VIA_L1CACHE': MM_SYNC_DOCS,
'SOC_CLK_TREE_SUPPORTED': CLK_TREE_DOCS,
'SOC_UART_SUPPORTED': UART_DOCS,
'SOC_UHCI_SUPPORTED': UHCI_DOCS,
'SOC_SDMMC_HOST_SUPPORTED': SDMMC_DOCS,
'SOC_SDIO_SLAVE_SUPPORTED': SDIO_SLAVE_DOCS,
'SOC_MCPWM_SUPPORTED': MCPWM_DOCS,