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,
It looks like conventional C code and a GNU makefile, nothing to do with Arduino. It just happens to build to an Atmel chip, but not using
the Arduino software.
The .ino file is just a text file, so in theory you could copy the .c file into a .ino file and try to make edits to make it build in the Arduino software environment.
The Makefile wouldn't be needed, you would discard it (or examine it and then discard it). It is only needed for a conventional build outside of the Arduino environment.
I think it may take a long time to edit and get the C code working in the Arduino environment, despite Arduino relying on the C language.
The alternative is to download a C compiler toolchain for the Atmel devices and just edit the .c file and make use of the Makefile.
I've not done anything with Atmel parts in years so I wouldn't know the links to what you need, but to answer your question, the Makefile is not used for the Arduino environment, just the C code.
Hi Ben,
It looks like conventional C code and a GNU makefile, nothing to do with Arduino. It just happens to build to an Atmel chip, but not using
the Arduino software.
The .ino file is just a text file, so in theory you could copy the .c file into a .ino file and try to make edits to make it build in the Arduino software environment.
The Makefile wouldn't be needed, you would discard it (or examine it and then discard it). It is only needed for a conventional build outside of the Arduino environment.
I think it may take a long time to edit and get the C code working in the Arduino environment, despite Arduino relying on the C language.
The alternative is to download a C compiler toolchain for the Atmel devices and just edit the .c file and make use of the Makefile.
I've not done anything with Atmel parts in years so I wouldn't know the links to what you need, but to answer your question, the Makefile is not used for the Arduino environment, just the C code.