Pages: [1]   Go Down
Author Topic: AVR assembler  (Read 618 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

   I have a project that uses an '.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. It would be able to see project specific header files. The header file could be maintained as usual simplifying the use of my project/library.
I think this can be done easily,  just handle the .S the same way it is handled when found in the library folder. 

Mr. E
   
Logged

Pages: [1]   Go Up
Jump to: