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.

C2000 Compiler Version 15.12.0: Additional hook function?

Guru 19935 points

Hello,

Does C2000 compiler 15.12.0 have the additional hook function as described at processors.wiki.ti.com/index.php The
reason I ask is that web page say "This hook function was previously only supported on MSP, but is now also supported on ARM.", but it doesn't say anything about the C2000.

Does everything described on that webpage pertain to the C2000?

Thanks,

Stephen

  • The __mpu_init function is not supported.  The likely reason is that C2000 devices do not have a memory protection unit (though that could change).  The functions _system_pre_init and _system_post_cinit are supported.  Read about them in the C2000 compiler manual.  

    stevenh said:
    Does everything described on that webpage pertain to the C2000?

    Not everything.  The page is explicit about features that are specific to a particular compiler.  That said, the wording may not always be entirely clear.  I'll let the authors know about this particular bit of confusion.

    Thanks and regards,

    -George

  • Whoops...I forgot all about the compiler manuals. It's great to hear that the compiler has the _system_pre_init and _system_post_cinit functions.

    Thanks,
    Stephen