p3p / pio-nxplpc-arduino-lpc176x

Apache License 2.0
4 stars 13 forks source link

Allow J-LINK uploads to specify firmware offset #6

Closed sjasonsmith closed 4 years ago

sjasonsmith commented 4 years ago

Allow J-LINK uploads to flash at an offset into the space. This allow flashing firmware through the J-Link without destroying a bootloader which may exist.

To utilize this, something like the following can be added to a platformio.ini environment:

debug_tool = jlink
upload_protocol = jlink
board_upload.offset_address = 0x00004000
o-nix commented 4 years ago

OMG that's exactly what I'm trying to find in 0.1.2...