scripts: west: runners: nrf: fix UICR check
uicr_ranges dictionary entries did not contain the `_FAMILY` suffix, now used by self.family variable, resulting in an always false check. Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
parent
c181dcced4
commit
ec9dc5d739
1 changed files with 3 additions and 3 deletions
|
@ -178,9 +178,9 @@ class NrfBinaryRunner(ZephyrBinaryRunner):
|
|||
# A map from SoCs which need this check to their UICR address
|
||||
# ranges. If self.family isn't in here, do nothing.
|
||||
uicr_ranges = {
|
||||
'NRF53': ((0x00FF8000, 0x00FF8800),
|
||||
(0x01FF8000, 0x01FF8800)),
|
||||
'NRF91': ((0x00FF8000, 0x00FF8800),),
|
||||
'NRF53_FAMILY': ((0x00FF8000, 0x00FF8800),
|
||||
(0x01FF8000, 0x01FF8800)),
|
||||
'NRF91_FAMILY': ((0x00FF8000, 0x00FF8800),),
|
||||
}
|
||||
|
||||
if self.family not in uicr_ranges:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue