You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a project that uses a '.S' file for the assembler code portion, the code is quite complex and it is not practical to use asm(). I have to place this in the library folder for it to be assembled and linked into my sketch. The assembler file requires a common header/configuration file with the C portion of the project. I must keep this in the library folder as well, so it will be found when included by both files. This means the configuration can not be maintained in the Arduino IDE.
I believe it should be possible to allow .S files to be edited in the IDE and assembled/linked from the project folder (or its temp). It would be able to see project specific header files. The header file could be maintained as usual simplifying the use of mixed assembler and C++. It also opens up an important door for all Arduino programmers to explore through.
I would think this can be done easily, just handle the .S the same way it is handled when found in the library folder. Thank you for considering my request.
Bill
The text was updated successfully, but these errors were encountered:
Lately I've peen playing around with inotool (http://inotool.org/). I noticed that they also have a feature request open for .S support: amperka/ino#68 .
This prevents duplicating these lists in multiple places.
As a side-effect, .S files are now handled in sketches as well (instead
of just in libraries), fixing arduino#1616.
I have a project that uses a '.S' file for the assembler code portion, the code is quite complex and it is not practical to use asm(). I have to place this in the library folder for it to be assembled and linked into my sketch. The assembler file requires a common header/configuration file with the C portion of the project. I must keep this in the library folder as well, so it will be found when included by both files. This means the configuration can not be maintained in the Arduino IDE.
I believe it should be possible to allow .S files to be edited in the IDE and assembled/linked from the project folder (or its temp). It would be able to see project specific header files. The header file could be maintained as usual simplifying the use of mixed assembler and C++. It also opens up an important door for all Arduino programmers to explore through.
I would think this can be done easily, just handle the .S the same way it is handled when found in the library folder. Thank you for considering my request.
Bill
The text was updated successfully, but these errors were encountered: