From b91a6a6f11e014f96c91e5a67bef805349de7b43 Mon Sep 17 00:00:00 2001 From: Ian McIntyre Date: Sat, 14 Jun 2025 10:46:32 -0400 Subject: Hexify the family ID Makes it a little easier for me to manually inspect binaries and figure out their targets. --- src/host.rs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/host.rs') diff --git a/src/host.rs b/src/host.rs index 902208a..18b9b62 100644 --- a/src/host.rs +++ b/src/host.rs @@ -796,16 +796,16 @@ impl Family { /// any hard-coded values. const fn id(self) -> u32 { match self { - Family::Imxrt1010 => 1010, - Family::Imxrt1015 => 1015, - Family::Imxrt1020 => 1020, - Family::Imxrt1040 => 1040, - Family::Imxrt1050 => 1050, - Family::Imxrt1060 => 1060, - Family::Imxrt1064 => 1064, - Family::Imxrt1160 => 1160, - Family::Imxrt1170 => 1170, - Family::Imxrt1180 => 1180, + Family::Imxrt1010 => 0x1010, + Family::Imxrt1015 => 0x1015, + Family::Imxrt1020 => 0x1020, + Family::Imxrt1040 => 0x1040, + Family::Imxrt1050 => 0x1050, + Family::Imxrt1060 => 0x1060, + Family::Imxrt1064 => 0x1064, + Family::Imxrt1160 => 0x1160, + Family::Imxrt1170 => 0x1170, + Family::Imxrt1180 => 0x1180, } } /// How many FlexRAM banks are available? -- cgit v1.2.3