1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-23 07:58:09 +00:00
trezor-firmware/core/embed/bootloader/emulator.h

23 lines
430 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 display_set_little_endian(void);
void jump_to(void *addr);
void ensure_compatible_settings(void);
#endif