I’m currently testing platformio together with a Adafruit nrf5832 Feather. In special I’m trying to upload the Arduino generated firmware file via my J-Link. This works fine. However, I noticed that the upload script is always erasing the whole chip before upload. This leads to the issue that the feather isn’t booting up after the upload_script finished. However if I flash the bootloader afterwards manually, everything works fine.
So now I’m asking myself: Is it possible to either make the J-Link upload script not erase the chip (to keep the bootloader), or to additionally specify the
bootloader.hex so the upload_script is flashing it aswell. I know I could create my own upload script in Python, but I’m curios if there is an easier way.