1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-16 11:28:14 +00:00

embed/trezorhal: move lowlevel.{c,h} from boardloader to trezorhal

This commit is contained in:
Pavol Rusnak 2019-02-19 18:28:32 +01:00
parent ce834d4074
commit 3a467e756c
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
3 changed files with 4 additions and 4 deletions

View File

@ -59,7 +59,6 @@ SOURCE_STMHAL = [
SOURCE_BOARDLOADER = [
'embed/boardloader/startup.s',
'embed/boardloader/lowlevel.c',
'embed/boardloader/main.c',
]
@ -67,6 +66,7 @@ SOURCE_TREZORHAL = [
'embed/trezorhal/common.c',
'embed/trezorhal/image.c',
'embed/trezorhal/flash.c',
'embed/trezorhal/lowlevel.c',
'embed/trezorhal/mini_printf.c',
'embed/trezorhal/sdcard.c',
'embed/trezorhal/stm32.c',

View File

@ -17,8 +17,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef BOARDLOADER_LOWLEVEL_H
#define BOARDLOADER_LOWLEVEL_H
#ifndef __TREZORHAL_LOWLEVEL_H__
#define __TREZORHAL_LOWLEVEL_H__
#include "secbool.h"
@ -31,4 +31,4 @@ secbool flash_configure_option_bytes(void);
void periph_init(void);
secbool reset_flags_check(void);
#endif // BOARDLOADER_LOWLEVEL_H
#endif // __TREZORHAL_LOWLEVEL_H__