mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-22 22:38:08 +00:00
trezorhal: chain loading works
This commit is contained in:
parent
d3ec688d6f
commit
5e69cbe69f
@ -128,7 +128,11 @@ int main(void)
|
|||||||
BOOTLOADER_PRINTLN("starting bootloader");
|
BOOTLOADER_PRINTLN("starting bootloader");
|
||||||
|
|
||||||
// TODO: remove debug
|
// TODO: remove debug
|
||||||
|
BOOTLOADER_PRINTLN("waiting 1 second");
|
||||||
|
HAL_Delay(1000);
|
||||||
|
BOOTLOADER_PRINTLN("jumping to loader");
|
||||||
jump_to(LOADER_START);
|
jump_to(LOADER_START);
|
||||||
|
// end
|
||||||
|
|
||||||
if (check_sdcard()) {
|
if (check_sdcard()) {
|
||||||
if (!copy_sdcard()) {
|
if (!copy_sdcard()) {
|
||||||
|
@ -23,6 +23,7 @@ int main(void)
|
|||||||
display_backlight(255);
|
display_backlight(255);
|
||||||
|
|
||||||
LOADER_PRINTLN("reached loader");
|
LOADER_PRINTLN("reached loader");
|
||||||
|
LOADER_PRINTLN("waiting 1 second");
|
||||||
HAL_Delay(1000);
|
HAL_Delay(1000);
|
||||||
LOADER_PRINTLN("jumping to firmware");
|
LOADER_PRINTLN("jumping to firmware");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user