This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to use SVC in cortex m4

Hi all,

could anyone suggest how to use SVC in for cortex m4..am using XMC4500 from infineon with keil_RTX.

  • SVC is a Cotex M mechanism and is not specific to your chip.
    Example:

    __asm
    { SVC 1
    }

    you will need to patch the SVC handler to handle the SVC number you provided (1 in this case). There are examples on the ARM side and other sources.