mirror of
https://github.com/hathach/tinyusb.git
synced 2026-02-14 15:45:43 +00:00
@ -16,6 +16,7 @@ mcu:MSP432E4
|
||||
mcu:RP2040
|
||||
mcu:RX65X
|
||||
mcu:RAXXX
|
||||
mcu:STM32C0
|
||||
mcu:STM32F4
|
||||
mcu:STM32F7
|
||||
mcu:STM32H5
|
||||
|
||||
@ -6,4 +6,7 @@ function(update_board TARGET)
|
||||
STM32H503xx
|
||||
HSE_VALUE=24000000
|
||||
)
|
||||
target_compile_definitions(${BOARD_TARGET} PUBLIC
|
||||
CFG_EXAMPLE_VIDEO_READONLY
|
||||
)
|
||||
endfunction()
|
||||
|
||||
@ -133,6 +133,11 @@ static inline void board_init2(void) {
|
||||
// Empty for this board
|
||||
}
|
||||
|
||||
void board_vbus_set(uint8_t rhport, bool state) {
|
||||
(void) rhport;
|
||||
(void) state;
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
@ -3,6 +3,7 @@ MCU_VARIANT = stm32h503xx
|
||||
CFLAGS += \
|
||||
-DSTM32H503xx \
|
||||
-DHSE_VALUE=24000000 \
|
||||
-DCFG_EXAMPLE_VIDEO_READONLY \
|
||||
|
||||
# For flash-jlink target
|
||||
JLINK_DEVICE = stm32h503rb
|
||||
|
||||
@ -141,6 +141,11 @@ static inline void board_init2(void) {
|
||||
// Empty for this board
|
||||
}
|
||||
|
||||
void board_vbus_set(uint8_t rhport, bool state) {
|
||||
(void) rhport;
|
||||
(void) state;
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
@ -141,7 +141,7 @@ deps_optional = {
|
||||
'stm32h7'],
|
||||
'hw/mcu/st/stm32-tcpp0203': ['https://github.com/STMicroelectronics/stm32-tcpp0203.git',
|
||||
'9918655bff176ac3046ccf378b5c7bbbc6a38d15',
|
||||
'stm32h7rs stm32n6'],
|
||||
'stm32h5 stm32h7rs stm32n6'],
|
||||
'hw/mcu/st/stm32c0xx_hal_driver': ['https://github.com/STMicroelectronics/stm32c0xx_hal_driver.git',
|
||||
'c283b143bef6bdaacf64240ee6f15eb61dad6125',
|
||||
'stm32c0'],
|
||||
|
||||
Reference in New Issue
Block a user