mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-25 07:48:10 +00:00
c892d4b0ba
so that we don't have to do awkward string operations when we need it [no changelog]
19 lines
517 B
C
19 lines
517 B
C
#ifndef MODELS_MODEL_T1B1_H_
|
|
#define MODELS_MODEL_T1B1_H_
|
|
|
|
#define MODEL_NAME "1"
|
|
#define MODEL_FULL_NAME "Trezor Model One"
|
|
#define MODEL_INTERNAL_NAME "T1B1"
|
|
#define MODEL_INTERNAL_NAME_TOKEN T1B1
|
|
#define MODEL_NAME_QSTR MP_QSTR_1
|
|
#define MODEL_INTERNAL_NAME_QSTR MP_QSTR_T1B1
|
|
|
|
#define BOOTLOADER_START 0x08000000
|
|
#define FIRMWARE_START 0x08010000
|
|
|
|
#define BOOTLOADER_IMAGE_MAXSIZE (32 * 1024 * 1) // 32 KB
|
|
#define FIRMWARE_IMAGE_MAXSIZE (64 * 1024 * 15) // 960 KB
|
|
#define NORCOW_SECTOR_SIZE (16 * 1024)
|
|
|
|
#endif
|