[SOLVED] When the software is ported to FreeRTOS, compilation prompt error: #35: #error directive: This port can only be used when the project options are configured to enable hardware floating point support.

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

  • [SOLVED] When the software is ported to FreeRTOS, compilation prompt error: #35: #error directive: This port can only be used when the project options are configured to enable hardware floating point support.

    When Keil migrated project, prompt at compile time,error:#35: #error directive: This port can only be used when the project options are configured to enable hardware floating point support.How to set in embedded?
  • Hello,

    Thank you for your inquiry.
    You can change the floatingpoint settings in Embedded Studio in project options under Code > Code Generation > ARM FP ABI Type
    There set it to hard and rebuild.

    Should you still get the error could you provide the source file where it happens so we can see the dependency that is required?

    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.