Is there a way to mix C with assembly code for the UC32 when using Arduino IDE? Document AT1886 describes how to accomplish this for Atmel chips, but I am wondering if the same thing is possible for the Chipkit devices since they use PIC microcontrollers?
Here is some more background:
I am writing a program for the UC32, and have an assembly program for the PIC32MX340 that I want to call. The assembly function has several arguments, as well as an output. I am wondering if there is any documentation for how to pass data to an assembly program from C? Additionally, which compiler does Arduino IDE use for the Chipkit UC32? It would help if I could find that information.
Question
rfuller
Good morning,
Is there a way to mix C with assembly code for the UC32 when using Arduino IDE? Document AT1886 describes how to accomplish this for Atmel chips, but I am wondering if the same thing is possible for the Chipkit devices since they use PIC microcontrollers?
Here is some more background:
I am writing a program for the UC32, and have an assembly program for the PIC32MX340 that I want to call. The assembly function has several arguments, as well as an output. I am wondering if there is any documentation for how to pass data to an assembly program from C? Additionally, which compiler does Arduino IDE use for the Chipkit UC32? It would help if I could find that information.
Thanks,
Ryan
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.