Arduino Makefile
Go to the previous open issue
Go to the previous issue (open or closed)
Please log in to bookmark issues
icon_project.png Arduino Makefile / Closed Bug report #8 Picking up, compiling and linking *.S files
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "RESOLVED".
Issue basics
  • Type of issue
    Bug report
  • Targetted for
    Not determined
  • Status
  • Progress
  • Priority
    Not determined
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
Issue details
  • Resolution
  • Reproducability
  • Severity
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
This is probably an extension of this feature request,, however when I try and use a released library, AVRLib,, it does not successfully compile using the Makefile as there are a number of assembly files, in this case ending with the extension of *.S. The ardunio GUI successfully pickes up and compiles these files so I was able to figure out what was missing.

I have edited my local make file to pick up *.S as source files and to compile them the same as *.c files and it all works

Thanks for releasing this code, I much perfer working with arduinos using the command line than a clunky GUI

Here is the diff of the changes I made:

< $(wildcard *.c *.cc *.cpp *.C) \
< $(wildcard $(addprefix util/, *.c *.cc *.cpp *.C)) \
< $(wildcard $(addprefix utility/, *.c *.cc *.cpp *.C))
> $(wildcard *.c *.cc *.cpp *.C *.S) \
> $(wildcard $(addprefix util/, *.c *.cc *.cpp *.C *.S)) \
> $(wildcard $(addprefix utility/, *.c *.cc *.cpp *.C *.S))
< $(patsubst %, .lib/%.o, $(wildcard $(addprefix $(dir)/, *.c *.cpp))))
> $(patsubst %, .lib/%.o, $(wildcard $(addprefix $(dir)/, *.c *.cpp *.S))))
> %.o: %.S
> mkdir -p .dep/$(dir $<)
> $(COMPILE.c) $(CPPDEPFLAGS) -o $@ $<
> mkdir -p $(dir $@)
> $(COMPILE.c) -o $@ $<
> .lib/%.S.o: %.S
Steps to reproduce this issue
Download AESLib and follow the instructions there for incorporating the code triggers this problem
Todos (0 / 0)
Issue created

To auto-link to an existing issue, write "issue", "bug", "ticket" or the issue type (like "bug report" or "enhancement") followed by the issue number (ex: "ticket #3" or "bug report MYPROJ-1"). Enclose sourcecode samples between two "~~~~" lines.
See more formatting tips in MarkdownFormatting.

To create a bulleted list, start one or more lines with a star ("* bulleted list item"). You can create a numbered list by using the hash/pund sign instead ("# numbered list item").
See more formatting tips in MarkdownFormatting.

The Bug Genie will automatically add new lines when you add two new lines in your text, whereas one new line is used for formatting as you type. To force a new line, use the <br> tag: "There is a new<br>line here".
See more formatting tips in WikiFormatting.

Fixed in r88

The issue was updated with the following change(s):
  • This issue has been closed
  • The status has been updated, from New to Closed.
  • This issue's progression has been updated to 100 percent completed.
  • The resolution has been updated, from Not determined to RESOLVED.
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif