1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 15:38:11 +00:00
trezor-firmware/core/embed/bootloader/emulator.h
matejcik 3036d524a6 refactor(core): outline nested functions in mini_printf
so that we can compile it with clang

[no changelog]
2024-10-09 13:03:51 +02:00

18 lines
293 B
C

#ifndef __EMULATOR_H__
#define __EMULATOR_H__
#define CLOCK_180_MHZ 0
#undef FIRMWARE_START
#include <stdint.h>
#include <stdio.h>
extern uint8_t *FIRMWARE_START;
void emulator_poll_events(void);
void set_core_clock(int);
__attribute__((noreturn)) void jump_to(uint32_t address);
#endif