I have a zip archive that has a Makefile in it. This archive is code for an arduino, and I want to edit it as an ino, to add to it.
I have a zip archive that has a Makefile in it. This archive is code for an arduino, and I want to edit it as an ino, to add to it.
firmwarev12.zip |
Hi Ben,
I agree with shabaz that the parts you can save are the source files. I took a look to the source, the first though was that it was a sort of arduino source from the AVR IDE instead of the more popular Arduino IDE. As a matter of fact there are a couple of things in the main.c source that makes it unusable "as-is". What you should, if this code is essential for you and you need to use the algorithms, is to create a new arduino project with the standard IDE then move the comments and functions you find, including the .h and .c sources. You can ignore instead the other standard includes as these are maintained automatically by the Arduino IDE. To refactor this code (better creating a library from the sources then use if in a smaller .ino main program) maybe weird and almost complex if you are not experienced in some more robust IDE than the Arduino IDE.
Enrico
Hi Ben,
I agree with shabaz that the parts you can save are the source files. I took a look to the source, the first though was that it was a sort of arduino source from the AVR IDE instead of the more popular Arduino IDE. As a matter of fact there are a couple of things in the main.c source that makes it unusable "as-is". What you should, if this code is essential for you and you need to use the algorithms, is to create a new arduino project with the standard IDE then move the comments and functions you find, including the .h and .c sources. You can ignore instead the other standard includes as these are maintained automatically by the Arduino IDE. To refactor this code (better creating a library from the sources then use if in a smaller .ino main program) maybe weird and almost complex if you are not experienced in some more robust IDE than the Arduino IDE.
Enrico