flash_loader: fix typo in the stm32l4 loader

pull/1124/head
anton 2021-03-27 19:14:37 +05:00
rodzic 32ba234b30
commit 7cfab876e7
2 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -12,7 +12,7 @@
.global copy
copy:
ldr r12, flash_base
ldr r10, flash_off_bsy
ldr r10, flash_off_sr
add r10, r10, r12
loop:
@ -44,5 +44,5 @@ exit:
.align 2
flash_base:
.word 0x40022000
flash_off_bsy:
.word 0x12
flash_off_sr:
.word 0x10

Wyświetl plik

@ -114,7 +114,7 @@ static const uint8_t loader_code_stm32l4[] = {
0x08, 0x3a, 0xf0, 0xdc,
0x00, 0xbe, 0x00, 0xbf,
0x00, 0x20, 0x02, 0x40,
0x12, 0x00, 0x00, 0x00
0x10, 0x00, 0x00, 0x00
};
static const uint8_t loader_code_stm32f7[] = {