[SOLVED] c++ compiler and linker options?

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

  • [SOLVED] c++ compiler and linker options?

    Hello,

    I want to create a C++ project for a Nordic BLE device. What would be the appropriate compiler and linker options if the goal is to be MISRA compliant? Is there a way to automate this configuration in the future?

    Thanks
  • Hello,

    Thank you for your inquiry.
    Please note that this is no support forum. For more information see my signature.

    Regarding your question. What do you mean with MISRCA compliant toolchain options?
    MISRA only defines a coding style. It does not give any guidelines for the compiler or linker.

    If you are looking for a MISRA check/analysis tool for Embedded Studio then you would need to use an external tool.
    You can then add it to Embedded Studio as an external Link/MISRA tool which then can be started from the context menu for example.

    For more information on how to implemented external tools in Embedded Studio see here:
    studio.segger.com/index.htm?ht…nal_tools_file_format.htm

    The default implementation shows an example for PC-Lint which supports MISRA for example.

    Best regards,
    Nino
    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.