scripts: west_commands: runners: nrf_common: add support for nRF54L
Add support for new Nordic family in west commands. Signed-off-by: Witold Lukasik <witold.lukasik@nordicsemi.no>
This commit is contained in:
parent
6d3009ff2b
commit
13abdcccb3
2 changed files with 4 additions and 2 deletions
|
@ -59,7 +59,7 @@ class NrfBinaryRunner(ZephyrBinaryRunner):
|
|||
@classmethod
|
||||
def do_add_parser(cls, parser):
|
||||
parser.add_argument('--nrf-family',
|
||||
choices=['NRF51', 'NRF52', 'NRF53', 'NRF91'],
|
||||
choices=['NRF51', 'NRF52', 'NRF53', 'NRF54L', 'NRF91'],
|
||||
help='''MCU family; still accepted for
|
||||
compatibility only''')
|
||||
parser.add_argument('--softreset', required=False,
|
||||
|
@ -161,6 +161,8 @@ class NrfBinaryRunner(ZephyrBinaryRunner):
|
|||
self.family = 'NRF52_FAMILY'
|
||||
elif self.build_conf.getboolean('CONFIG_SOC_SERIES_NRF53X'):
|
||||
self.family = 'NRF53_FAMILY'
|
||||
elif self.build_conf.getboolean('CONFIG_SOC_SERIES_NRF54LX'):
|
||||
self.family = 'NRF54L_FAMILY'
|
||||
elif self.build_conf.getboolean('CONFIG_SOC_SERIES_NRF91X'):
|
||||
self.family = 'NRF91_FAMILY'
|
||||
else:
|
||||
|
|
|
@ -46,7 +46,7 @@ class NrfJprogBinaryRunner(NrfBinaryRunner):
|
|||
# Translate the op
|
||||
|
||||
families = {'NRF51_FAMILY': 'NRF51', 'NRF52_FAMILY': 'NRF52',
|
||||
'NRF53_FAMILY': 'NRF53', 'NRF91_FAMILY': 'NRF91'}
|
||||
'NRF53_FAMILY': 'NRF53', 'NRF54L_FAMILY': 'NRF54L', 'NRF91_FAMILY': 'NRF91'}
|
||||
cores = {'NRFDL_DEVICE_CORE_APPLICATION': 'CP_APPLICATION',
|
||||
'NRFDL_DEVICE_CORE_NETWORK': 'CP_NETWORK'}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue