[SOLVED] Does SES support stack check like GCC "fstack-check"?

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] Does SES support stack check like GCC "fstack-check"?

    Hi Sir,

    Does SES support stack check like GCC "fstack-check"?

    I tried to look at the setting of "Options", but I can not find the related parameter about the "stack check"

    Could you help to confirm does SES (Segger Embedded Studio" supports this feature?

    If yes, how to enable it?
    If not, any plan to support it.

    Thank you.
    BRs, Han
  • Hi Han,
    yes you can if you selected gcc as compiler (project options) and
    specify -fstack-check as an "Additional C/C++ Compiler Option" (project options)

    Clang and SEGGER-CC do not support this feature.

    Does this answer your question?

    Best regards,
    Fabian
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.