Skip to content

Commit cbab765

Browse files
committed
fix build
Signed-off-by: HiFiPhile <[email protected]>
1 parent 7712205 commit cbab765

File tree

4 files changed

+12
-1
lines changed

4 files changed

+12
-1
lines changed

examples/host/midi_rx/only.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ mcu:MSP432E4
1616
mcu:RP2040
1717
mcu:RX65X
1818
mcu:RAXXX
19+
mcu:STM32C0
1920
mcu:STM32F4
2021
mcu:STM32F7
2122
mcu:STM32H5

hw/bsp/stm32h5/boards/stm32h503nucleo/board.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,11 @@ static inline void board_init2(void) {
133133
// Empty for this board
134134
}
135135

136+
void board_vbus_set(uint8_t rhport, bool state) {
137+
(void) rhport;
138+
(void) state;
139+
}
140+
136141
#ifdef __cplusplus
137142
}
138143
#endif

hw/bsp/stm32h5/boards/stm32h563nucleo/board.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,11 @@ static inline void board_init2(void) {
141141
// Empty for this board
142142
}
143143

144+
void board_vbus_set(uint8_t rhport, bool state) {
145+
(void) rhport;
146+
(void) state;
147+
}
148+
144149
#ifdef __cplusplus
145150
}
146151
#endif

tools/get_deps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
'stm32h7'],
142142
'hw/mcu/st/stm32-tcpp0203': ['https://github.com/STMicroelectronics/stm32-tcpp0203.git',
143143
'9918655bff176ac3046ccf378b5c7bbbc6a38d15',
144-
'stm32h7rs stm32n6'],
144+
'stm32h5 stm32h7rs stm32n6'],
145145
'hw/mcu/st/stm32c0xx_hal_driver': ['https://github.com/STMicroelectronics/stm32c0xx_hal_driver.git',
146146
'c283b143bef6bdaacf64240ee6f15eb61dad6125',
147147
'stm32c0'],

0 commit comments

Comments
 (0)