Skip to content

Commit

Permalink
feat(core): add translations support for U5 models
Browse files Browse the repository at this point in the history
[no changelog]
  • Loading branch information
TychoVrahe committed Feb 20, 2024
1 parent 81b4851 commit aba4848
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions core/embed/models/model_D002_layout.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,15 @@ const flash_area_t BHK_AREA = {
},
};

const flash_area_t TRANSLATIONS_AREA = {
.num_subareas = 1,
.subarea[0] =
{
.first_sector = 504,
.num_sectors = 8,
},
};

const flash_area_t WIPE_AREA = {
.num_subareas = 1,
.subarea[0] =
Expand Down
9 changes: 9 additions & 0 deletions core/embed/models/model_T3T1_layout.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,15 @@ const flash_area_t BHK_AREA = {
},
};

const flash_area_t TRANSLATIONS_AREA = {
.num_subareas = 1,
.subarea[0] =
{
.first_sector = 248,
.num_sectors = 8,
},
};

const flash_area_t WIPE_AREA = {
.num_subareas = 1,
.subarea[0] =
Expand Down

0 comments on commit aba4848

Please sign in to comment.