Skip to content

Commit 776d7f9

Browse files
nquartonjhand2
authored andcommitted
Updating RT & FMC version numbers for rt-1.2.2 release
1 parent 3c2dd1d commit 776d7f9

3 files changed

Lines changed: 11 additions & 5 deletions

File tree

builder/src/version.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ pub const ROM_VERSION_PATCH: u16 = 0;
66

77
pub const FMC_VERSION_MAJOR: u16 = 1;
88
pub const FMC_VERSION_MINOR: u16 = 2;
9-
pub const FMC_VERSION_PATCH: u16 = 1;
9+
pub const FMC_VERSION_PATCH: u16 = 2;
1010

1111
pub const RUNTIME_VERSION_MAJOR: u32 = 1;
1212
pub const RUNTIME_VERSION_MINOR: u32 = 2;
13-
pub const RUNTIME_VERSION_PATCH: u32 = 1;
13+
pub const RUNTIME_VERSION_PATCH: u32 = 2;
1414

1515
// ROM Version - 16 bits
1616
// Major - 5 bits [15:11]

builder/test_data/default_image_options.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
# NOTE: Only the first keys in the vendor config are populated. The keys are
66
# copied from image/fake-keys/src/lib.rs.
77

8-
fmc_version = 0x881
8+
fmc_version = 0x882
99
fmc_svn = 0x0
10-
app_version = 0x1020001
10+
app_version = 0x1020002
1111
app_svn = 0x0
1212

1313
[vendor_config]

test/tests/fips_test_suite/common.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,12 @@ const RT_EXP_1_2_1: RtExpVals = RtExpVals {
9999
fw_version: 0x0102_0001, // 1.2.1
100100
};
101101

102-
const RT_EXP_CURRENT: RtExpVals = RtExpVals { ..RT_EXP_1_2_1 };
102+
const RT_EXP_1_2_2: RtExpVals = RtExpVals {
103+
fmc_version: 0x882, // 1.2.2
104+
fw_version: 0x0102_0002, // 1.2.2
105+
};
106+
107+
const RT_EXP_CURRENT: RtExpVals = RtExpVals { ..RT_EXP_1_2_2 };
103108

104109
// === Getter implementations ===
105110
// TODO: These could be improved
@@ -156,6 +161,7 @@ impl RtExpVals {
156161
"1_1_0" => RT_EXP_1_1_0,
157162
"1_2_0" => RT_EXP_1_2_0,
158163
"1_2_1" => RT_EXP_1_2_1,
164+
"1_2_2" => RT_EXP_1_2_2,
159165
_ => panic!(
160166
"FIPS Test: Unknown version for expected Runtime values ({})",
161167
version

0 commit comments

Comments
 (0)