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.

DSP BIOS API functions

Hello,

I am trying to compile a program for C6747 using DSP BIOS with interrupts. following the instructions in:

http://wiki.davincidsp.com/index.php/Setting_up_interrupts_in_DSP_BIOS

I get this warning for C62_enableIER() function:

"Idma_Functions.c", line 156: warning: function declared implicitly

I also trying to find a macro definitions for that function.

Do I need to include anything for that, or I can just disregard this warning?

 

Thank You

Arye

  • I think that you need to use C64_enableIER() which will be made available if you #include <c64.h>, or it might be there already since you are using DSP/BIOS. I always include it by habit at the top of all DSP c files.

    It works for the C674x core in the C6747.

    My opinion on warnings: leave all of them on and only disregard one if you know exactly what it is. Leaving a variable declared that you do not use is okay, but eventually get rid of it - and leave the warning on so it will remind you from time-to-time.

    Any "function declared implicitly" should be considered a source of immediate concern and should never be allowed to continue without being repaired.

    Not everyone agrees, but I want the compiler to do most of my job and I do not want to have any warnings in my code.