mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-24 07:18:09 +00:00
12 lines
256 B
C
12 lines
256 B
C
#include STM32_HAL_H
|
|
|
|
#include "lib/utils/interrupt_char.h"
|
|
|
|
#define MP_PLAT_PRINT_STRN(str, len) mp_hal_stdout_tx_strn_cooked(str, len)
|
|
|
|
static inline mp_uint_t mp_hal_ticks_cpu(void) {
|
|
return DWT->CYCCNT;
|
|
}
|
|
|
|
void mp_hal_set_vcp_iface(int iface_num);
|