dalmir - 2015-08-12
  • Description has changed:

Diff:

--- old
+++ new
@@ -9,13 +9,13 @@
 Importing the project above into Eclipse with AVR plugin installed, there are 2 files: wiring_pulse.S and wiring_pulse.c. During the build process, the call to generate the wiring_pulse.S.o (or something) is not generated. The .S file is ignored from the build. 

 **Current behaviour:**
-* Only one output file is generated after the build for the 2 input files with the same name (but diff. ext);
-* wiring_pulse.S doesn't become wiring_pulse.S.o because the assembler is not called.
+Only one output file is generated after the build for the 2 input files with the same name (but diff. ext);
+wiring_pulse.S doesn't become wiring_pulse.S.o because the assembler is not called.

 **Desired behaviour**
-* Both files should have their corresponding output files; 
-* wiring_pulse.S should create wiring_pulse.S.o;
-* avr-gcc -x assembler-with-cpp -W -I"<path>/ArduinoCore" -Wa,-I"<path>/ArduinoCore" -g2 -gstabs -mmcu=atmega328p -MMD -MP -MF"wiring_pulse.S.d" -MT"wiring_pulse.S.d" -c -o "wiring_pulse.S.o" "../wiring_pulse.S" should be called.
+Both files should have their corresponding output files; 
+wiring_pulse.S should create wiring_pulse.S.o;
+avr-gcc -x assembler-with-cpp -W -I"<path>/ArduinoCore" -Wa,-I"<path>/ArduinoCore" -g2 -gstabs -mmcu=atmega328p -MMD -MP -MF"wiring_pulse.S.d" -MT"wiring_pulse.S.d" -c -o "wiring_pulse.S.o" "../wiring_pulse.S" should be called.

 **More info**
 It is not a matter of the asm (.s; .S) files not being recognized, because if I rename the file to have a name different than every other .c file (wiring_pulse_asm.S), the assembler is called and it generates the desired output. Looks like if the file has the same name as other one (which could be already processed), it is not processed.