Skip to content

Commit

Permalink
add "flash-erase-all" target for nrf52*
Browse files Browse the repository at this point in the history
  • Loading branch information
kaspar030 committed Feb 29, 2024
1 parent e1f3e6a commit 9eb8c8c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions laze-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,13 @@ contexts:
RUSTFLAGS:
- --cfg context=\"nrf52\"

tasks:
flash-erase-all:
help: Erases the whole chip including user data. Unlocks it if locked.
build: false
cmd:
- probe-rs erase --chip ${PROBE_RS_CHIP} --allow-erase-all

- name: nrf52832
parent: nrf52
env:
Expand Down

0 comments on commit 9eb8c8c

Please sign in to comment.