diff options
| author | hathach <[email protected]> | 2026-02-13 19:45:09 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2026-02-13 19:45:09 +0700 |
| commit | 8f14cf4bfa061690084c7c32b3f8b70301f5e0ff (patch) | |
| tree | 130ffc9c47db1608406a37ea36aa3fc0b267f895 /hw/bsp | |
| parent | 35a90f213d75a4630adf576f50d2b5bc8f03456c (diff) | |
add CFG_TUD_VBUS_SENSE, that could allow to skip tud_configure() for fixed vbus sensing
simplify dwc2_stm32_gccfg_cfg() using guid value
Diffstat (limited to 'hw/bsp')
| -rw-r--r-- | hw/bsp/stm32h7rs/boards/stm32h7s3nucleo/board.cmake | 2 | ||||
| -rw-r--r-- | hw/bsp/stm32h7rs/family.cmake | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/hw/bsp/stm32h7rs/boards/stm32h7s3nucleo/board.cmake b/hw/bsp/stm32h7rs/boards/stm32h7s3nucleo/board.cmake index 7b3456585..189c175dd 100644 --- a/hw/bsp/stm32h7rs/boards/stm32h7s3nucleo/board.cmake +++ b/hw/bsp/stm32h7rs/boards/stm32h7s3nucleo/board.cmake @@ -2,6 +2,8 @@ set(MCU_VARIANT stm32h7s3xx) set(JLINK_DEVICE stm32h7s3l8) set(LD_FILE_Clang ${LD_FILE_GNU}) +set(RHPORT_DEVICE 1) +set(RHPORT_HOST 1) function(update_board TARGET) target_compile_definitions(${TARGET} PUBLIC diff --git a/hw/bsp/stm32h7rs/family.cmake b/hw/bsp/stm32h7rs/family.cmake index 1fd1cb057..3b9dbf5cf 100644 --- a/hw/bsp/stm32h7rs/family.cmake +++ b/hw/bsp/stm32h7rs/family.cmake @@ -24,7 +24,7 @@ if (NOT DEFINED RHPORT_DEVICE) set(RHPORT_DEVICE 1) endif () if (NOT DEFINED RHPORT_HOST) - set(RHPORT_HOST 1) + set(RHPORT_HOST 0) endif () if (NOT DEFINED RHPORT_SPEED) |
