dev.ed.am
Arduino Makefile
previous_open_issue.png
Go to the previous open issue
previous_issue.png
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
bug_report_small.png
icon_project.png Arduino Makefile / Closed Bug report #8 Picking up, compiling and linking *.S files
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
next_issue.png
Go to the next issue (open or closed)
next_open_issue.png
Go to the next open issue
icon_info.png This issue has been closed with status "Closed" and resolution "RESOLVED".
Issue basics
  • Type of issue
    Bug report
  • Targetted for
    Not determined
  • Status
    Closed
  • 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
    RESOLVED
  • Reproducability
    Always
  • Severity
    Not determined
Attachments (0)
There is nothing attached to this issue
Commits (0)
There are no code checkins for this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
This is probably an extension of this feature request, http://dev.ed.am/arduino-mk/issues/6, however when I try and use a released library, AVRLib, https://github.com/DavyLandman/AESLib, 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:

244,246c244,246
< $(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))
276c276
< $(patsubst %, .lib/%.o, $(wildcard $(addprefix $(dir)/, *.c *.cpp))))
---
> $(patsubst %, .lib/%.o, $(wildcard $(addprefix $(dir)/, *.c *.cpp *.S))))
402a403,406
> %.o: %.S
> mkdir -p .dep/$(dir $<)
> $(COMPILE.c) $(CPPDEPFLAGS) -o $@ $<
>
428a433,436
> 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
Comments ()
#1
 edam (edam)
Jul 19, 2013
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.
History