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

trezorhal: chain loading works

This commit is contained in:
Pavol Rusnak 2017-03-30 16:50:39 +02:00
parent d3ec688d6f
commit 5e69cbe69f
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
2 changed files with 5 additions and 0 deletions

View File

@ -128,7 +128,11 @@ int main(void)
BOOTLOADER_PRINTLN("starting bootloader");
// TODO: remove debug
BOOTLOADER_PRINTLN("waiting 1 second");
HAL_Delay(1000);
BOOTLOADER_PRINTLN("jumping to loader");
jump_to(LOADER_START);
// end
if (check_sdcard()) {
if (!copy_sdcard()) {

View File

@ -23,6 +23,7 @@ int main(void)
display_backlight(255);
LOADER_PRINTLN("reached loader");
LOADER_PRINTLN("waiting 1 second");
HAL_Delay(1000);
LOADER_PRINTLN("jumping to firmware");