1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-05-25 18:28:47 +00:00

fix(core): fix backup ram address in non-secure mode

[no changelog]
This commit is contained in:
cepetr 2025-05-07 16:17:07 +02:00 committed by cepetr
parent b9bb71a243
commit e17ec25e77

View File

@ -25,7 +25,7 @@
#define BACKUP_RAM_HEADER_BYTES 4
#define BACKUP_RAM_MAGIC_HEADER "BRAM"
#define BACKUP_RAM_VERSION 0x0001
#define BACKUP_RAM_BASE_ADDRESS 0x50036400
#define BACKUP_RAM_BASE_ADDRESS (PERIPH_BASE + 0x36400)
#define BACKUP_RAM_SIZE 0x800
#define ASSERT_IN_RANGE(x, min, max) ((x) >= (min) && (x) <= (max))