1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-14 03:30:02 +00:00
trezor-firmware/core/embed/bootloader/emulator.h

21 lines
353 B
C
Raw Normal View History

#ifndef __EMULATOR_H__
#define __EMULATOR_H__
#define CLOCK_180_MHZ 0
#define mini_snprintf snprintf
#undef FIRMWARE_START
#include <stdint.h>
#include <stdio.h>
extern uint8_t *FIRMWARE_START;
void emulator_poll_events(void);
void set_core_clock(int);
void mpu_config_bootloader(void);
void mpu_config_off(void);
void jump_to(void *addr);
#endif