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 4475b138af
commit ad608d254c
3 changed files with 16 additions and 13 deletions
+4 -1
View File
@@ -114,7 +114,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']
@@ -330,6 +332,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,