I would like to use (link) a function written in assembler in an Arduino project. What I want to do is:
- write the function in assembler using avr-gcc calling conventions
- declare the function as extern in the .ino file
- provide the instructions and other information to link the assembler function into the project
I do not want(or I already know how to):
- use inline assembly (prologue and epilogue prevents effective parameter handling)
- use alternative ways/toolchains/programmers