diff --git a/core/SConscript.bootloader_emu b/core/SConscript.bootloader_emu index f9ce09bec9..90d13ad6f9 100644 --- a/core/SConscript.bootloader_emu +++ b/core/SConscript.bootloader_emu @@ -127,6 +127,7 @@ SOURCE_BOOTLOADER = [ SOURCE_TREZORHAL = [ 'embed/trezorhal/unix/boot_args.c', 'embed/trezorhal/unix/display-unix.c', + 'embed/trezorhal/unix/fault_handlers.c', 'embed/trezorhal/unix/flash.c', 'embed/trezorhal/unix/common.c', 'embed/trezorhal/unix/touch/touch.c', diff --git a/core/embed/trezorhal/unix/fault_handlers.c b/core/embed/trezorhal/unix/fault_handlers.c new file mode 100644 index 0000000000..1e7754849c --- /dev/null +++ b/core/embed/trezorhal/unix/fault_handlers.c @@ -0,0 +1,22 @@ +/* + * This file is part of the Trezor project, https://trezor.io/ + * + * Copyright (c) SatoshiLabs + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#include + +void fault_handlers_init(void) {}