I am currently running the PASM compiler and compiling ASM code for the PRU, but it would be good if I could compile some C code. Are there any plans to add support for compiling C code for the PRU?
Regards,
Tony.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tony,
No plans for a C compiler. The C language would add too much overhead in terms of PRU instructions and the PRU instruction RAM is already limited in size. Also, there are some useful PRU instructions and features (like directly mapping structures onto the register file) that you would not be able to leverage using C code. In reality, you should not think of the PRU as a general-purpose processor like an M3. The PRU is better suited at low-level data manipulation, movement, and I/O tasks for which assembly makes the most sense.
Gus