mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 23:48:12 +00:00
trezorhal: enable USB on T1
This commit is contained in:
parent
0d8cc86a60
commit
411c2a2b2a
@ -46,9 +46,14 @@
|
||||
/* Exported types ------------------------------------------------------------*/
|
||||
/* Exported constants --------------------------------------------------------*/
|
||||
|
||||
// #define USE_USB_FS
|
||||
#ifdef STM32F427xx
|
||||
#define USE_USB_HS
|
||||
#define USE_USB_HS_IN_FS
|
||||
#elif STM32F405xx
|
||||
#define USE_USB_FS
|
||||
#else
|
||||
#error Unsupported MCU
|
||||
#endif
|
||||
|
||||
/* ########################## Module Selection ############################## */
|
||||
/**
|
||||
@ -56,10 +61,10 @@
|
||||
*/
|
||||
#define HAL_MODULE_ENABLED
|
||||
#define HAL_ADC_MODULE_ENABLED
|
||||
#define HAL_CAN_MODULE_ENABLED
|
||||
/* #define HAL_CAN_MODULE_ENABLED */
|
||||
/* #define HAL_CRC_MODULE_ENABLED */
|
||||
/* #define HAL_CRYP_MODULE_ENABLED */
|
||||
#define HAL_DAC_MODULE_ENABLED
|
||||
/* #define HAL_DAC_MODULE_ENABLED */
|
||||
/* #define HAL_DCMI_MODULE_ENABLED */
|
||||
#define HAL_DMA_MODULE_ENABLED
|
||||
/* #define HAL_DMA2D_MODULE_ENABLED */
|
||||
|
Loading…
Reference in New Issue
Block a user