Oops... I didn't see that optionI tried it and it worked but of course the bootloader is still there. To set up my own variant can I grab the board definition from somewhere within the arduino installation?
Me again...Ok, I created the variant structure inside my sketch:C:\Users\pjr\Google Drive\wf_meter\wf_meter_v2\hardware\my_boards\nrf52\variants\ARDUINO_NANO33BLENow, I suppose I have to change the location where the sketch will be loaded ?Is it -DMBED_APP_START inside ldflags.txt ?
Ok and should I do something to force the usage of the hardware folder inside the sketch ?
So it will be used by default the next time I do an upload ?
Done everything. The sketch was indeed uploaded through CMSIS-DAP, but the bootloader is still there.The board is still recognized by the IDE when I plug the USB port and the sketch still takes the same time to start.What could be wrong ?
Indeed, while the port appears visible, I'm unable to upload the sketch over USB anymore.However, the sketch still takes the same time as before to start running.