2018-02-26 13:06:10 +00:00
|
|
|
/*
|
2019-06-17 18:27:55 +00:00
|
|
|
* This file is part of the Trezor project, https://trezor.io/
|
2018-02-26 13:06:10 +00:00
|
|
|
*
|
|
|
|
* 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 <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2024-11-15 09:07:01 +00:00
|
|
|
// This header is included in storage module that expect to find common
|
2024-11-01 11:55:31 +00:00
|
|
|
// functions like `ensure()`, `error_shutdown()`, or `hal_delay()`.
|
|
|
|
//
|
|
|
|
// Do not include this header or add dependencies to it unless required by
|
|
|
|
// storage.
|
2017-03-29 18:50:45 +00:00
|
|
|
|
2024-11-15 09:07:01 +00:00
|
|
|
#include <sys/systick.h>
|
|
|
|
#include "rtl/error_handling.h"
|