boards/nrf52-based, dist/tools/jlink: fix and enhance JLINK_{PRE,POST}_FLASH command#21740
boards/nrf52-based, dist/tools/jlink: fix and enhance JLINK_{PRE,POST}_FLASH command#21740crasbe merged 3 commits intoRIOT-OS:masterfrom
JLINK_{PRE,POST}_FLASH command#21740Conversation
|
Request for Comments: Should I add the same change to the |
mguetschow
left a comment
There was a problem hiding this comment.
Thanks for caring and fixing!
Sounds reasonable to me, or is there any disadvantage to it? |
Not really, the |
JLINK_POST_FLASH commandJLINK_{PRE,POST}_FLASH command
|
I added the same functionality to the As a testing procedure, you don't have to have one of the affected boards, you can just check the First: Check that the changes didn't break anything: Second: Check that the new behavior works as intended: |
mguetschow
left a comment
There was a problem hiding this comment.
Thanks for fixing! Please squash :)
838e493 to
9bc3dd1
Compare
9bc3dd1 to
7a789f4
Compare
Contribution description
With #20965 I added the "Pinreset Enable" functionality to RIOT for nRF52 boards by setting the right values in the UICR register after flashing.
However this had two flaws:
Makefileinstead ofMakefile.include).The second part also involves modifying the
jlink.shscript to evaluate multiple commands that are each put into"..."brackets.Testing procedure
You can use an nRF52DK, nRF52840DK, DWM1001 or Waveshare-nRF52840 board for testing.
With current master, the two
ShowConfcommands are ignored and you only see the command to set the Pin Reset.With this PR, all commands are executed.
Issues/PRs references
Fixup for #20965.