diff options
| author | Ian McIntyre <me@mciantyre.dev> | 2025-06-14 10:46:32 -0400 |
|---|---|---|
| committer | Ian McIntyre <me@mciantyre.dev> | 2025-09-16 07:48:07 -0400 |
| commit | b91a6a6f11e014f96c91e5a67bef805349de7b43 (patch) | |
| tree | 78ff1917c6c17759813bedeedfe24d6e502552a4 /src/host.rs | |
| parent | ed806ce952cda7400405dbc2a0b83baa7e7824fd (diff) | |
Hexify the family ID
Makes it a little easier for me to manually inspect binaries and figure
out their targets.
Diffstat (limited to 'src/host.rs')
| -rw-r--r-- | src/host.rs | 20 |
1 files changed, 10 insertions, 10 deletions
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? |
