mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-18 04:18:10 +00:00
trezorhal: enable CSS (Clock Security System)
This commit is contained in:
parent
d33ce4a666
commit
11e223850f
@ -43,6 +43,9 @@ void periph_init(void) {
|
||||
// Set the system clock to be HSE
|
||||
SystemClock_Config();
|
||||
|
||||
// Enable CSS (Clock Security System)
|
||||
HAL_RCC_EnableCSS();
|
||||
|
||||
// Enable GPIO clocks
|
||||
__HAL_RCC_GPIOA_CLK_ENABLE();
|
||||
__HAL_RCC_GPIOB_CLK_ENABLE();
|
||||
|
Loading…
Reference in New Issue
Block a user