Closed oltdaniel closed 2 years ago
If I understand it correctly, this PR would delete the old .ino file. WOudl it be possible to merge this PR into a new folder so that the old software version stays for now?
On windows, you don't have to specify any upload_* commands for your platformio.ini Port gets detected automatically and avrdude does it's magic by selecting the correct mcu, baud and protocol. I haven't tested this on a linux system though.
If I understand it correctly, this PR would delete the old .ino file. WOudl it be possible to merge this PR into a new folder so that the old software version stays for now?
@DerSpatz It crossed my mind when I started but forgot to restore it before the commit. Restored it and just created a new folder form the PlatformIO based firmware.
On windows, you don't have to specify any upload_* commands for your platformio.ini Port gets detected automatically and avrdude does it's magic by selecting the correct mcu, baud and protocol. I haven't tested this on a linux system though.
@deafloo Valid point regarding upload_protocol
. However, due to jtag2updi
we need a modification for a correct upload. So I removed the upload_protocol
option but kept the other ones.
This is for now just for testing. The original structure is Arduino IDE focused. This means, there is still a lot of work to clean up the order of function definitions. Also the main file should be split up into multiple ones to have a much easier workflow.