Skip to content

AVR assembler .S files #1616

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
MissTree opened this issue Oct 11, 2013 · 1 comment · Fixed by #3227
Closed

AVR assembler .S files #1616

MissTree opened this issue Oct 11, 2013 · 1 comment · Fixed by #3227
Assignees
Labels
Component: Core Related to the code for the standard Arduino API Component: IDE The Arduino IDE
Milestone

Comments

@MissTree
Copy link

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

@drewfish
Copy link

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 .

@ffissore ffissore added New and removed New labels Feb 27, 2014
matthijskooijman added a commit to matthijskooijman/Arduino that referenced this issue Jul 10, 2014
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.
@ffissore ffissore added this to the Release 1.6.5 milestone May 26, 2015
@ffissore ffissore self-assigned this May 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Core Related to the code for the standard Arduino API Component: IDE The Arduino IDE
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants