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.

stupid questions about PRUSS

so i'm horribly new at this so bare with me, I'm having a hard time compiling the examples, visual studio is giving me an error saying pru_code is not defined and when I import it to CCS4

PRU_miscOperations_bin.h is

not found

for some reason i feel like i'm suppsed to use the asm compiler and make some stuff it can find.

  • For CCS3, I believe the assembler is automatically called to generate this file.  However, in CCS4 you will need to manually generate this file.  To do so, open a Windows cmd prompt and do the following:

         1.  cd <path to PRU_miscOperations folder or any example folder>

         2.  ..\..\bin\windows\pasm -c <PRU_miscOperations.p or name of any assembly file in that directory> -CPRU_Code

    That should generate PRU_miscOperations_bin.h, which contains the PRU_Code function.  The wiki article http://processors.wiki.ti.com/index.php/PASM_Tool has more details about the assembler.

    Regards, Melissa