Skip to content

Commit

Permalink
scripts: west_commands: ncs-provision: Support nRF54L05/nRF54L10
Browse files Browse the repository at this point in the history
Change adds support for nRF54L05 and nRF54L10 SoCs.

Jira: NCSDK-30311

Signed-off-by: Marek Pieta <[email protected]>
  • Loading branch information
MarekPieta authored and rlubos committed Jan 22, 2025
1 parent 7feff67 commit b701a88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/west_commands/ncs-provision.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ def do_add_parser(self, parser_adder):
" lock-last: last key is uploaded as locked,"
" others as revokable")
upload_parser.add_argument("-s", "--soc", type=str, help="SoC",
choices=["nrf54l15"], required=True)
choices=["nrf54l05", "nrf54l10", "nrf54l15"], required=True)
upload_parser.add_argument("--dev-id", help="Device serial number")

return parser

def do_run(self, args, unknown_args):
if args.command == "upload":
if args.soc == "nrf54l15":
if args.soc in ["nrf54l05", "nrf54l10", "nrf54l15"]:
if len(args.keys) > len(nrf54l15_key_slots):
sys.exit(
"Error: requested upload of more keys than there are designated slots.")
Expand Down

0 comments on commit b701a88

Please sign in to comment.