Skip to content

Conversation

@greyltc
Copy link

@greyltc greyltc commented Dec 11, 2025

Some(/all?) J-link programmers can optionally power the target device: https://kb.segger.com/J-Link_Commander#Power

This change allows for control of that power source during the upload step.

After this change, if I put

board_upload.power_target_pre = 3000
board_upload.depower_target_post = 1000

info my platformio.ini file, the target will be powered up 3 seconds before the normal upload/flash commands and powered down 1 second after.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant