mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-27 09:58:27 +00:00
23 lines
430 B
C
23 lines
430 B
C
|
#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
|