mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-27 00:28:10 +00:00
bump version to 1.3.1
This commit is contained in:
parent
94531f264e
commit
f2f50aa188
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
IMAGETAG=trezor-mcu-build
|
||||
FIRMWARETAG=v1.3.0
|
||||
FIRMWARETAG=v1.3.1
|
||||
|
||||
docker build -t $IMAGETAG .
|
||||
docker run -t -v $(pwd):/output $IMAGETAG /bin/sh -c "\
|
||||
|
@ -63,7 +63,7 @@ static char sessionPassphrase[51];
|
||||
0x0010 | ? | Storage structure
|
||||
*/
|
||||
|
||||
#define STORAGE_VERSION 2
|
||||
#define STORAGE_VERSION 3
|
||||
|
||||
void storage_from_flash(uint32_t version)
|
||||
{
|
||||
@ -74,6 +74,9 @@ void storage_from_flash(uint32_t version)
|
||||
case 2: // copy
|
||||
memcpy(&storage, (void *)(FLASH_STORAGE_START + 4 + sizeof(storage_uuid)), sizeof(Storage));
|
||||
break;
|
||||
case 3: // copy
|
||||
memcpy(&storage, (void *)(FLASH_STORAGE_START + 4 + sizeof(storage_uuid)), sizeof(Storage));
|
||||
break;
|
||||
}
|
||||
storage.version = STORAGE_VERSION;
|
||||
}
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
#define VERSION_MAJOR 1
|
||||
#define VERSION_MINOR 3
|
||||
#define VERSION_PATCH 0
|
||||
#define VERSION_PATCH 1
|
||||
|
||||
#define STR(X) #X
|
||||
#define VERSTR(X) STR(X)
|
||||
|
Loading…
Reference in New Issue
Block a user