Skip to main content
bdesantis
Associate II
September 26, 2014
Question

Free RTOS - Build Error with FPU

  • September 26, 2014
  • 3 replies
  • 1823 views
Posted on September 26, 2014 at 14:30

Hey guys, I just got my Keil MDK license and using the STM32CubeF4, tried creating a shell project with FreeRTOS selected. Looked good until I tried to build when I see the following error:

error:  #35: #error directive: This port can only be used when the project options are configured to enable hardware floating point support.

What does this mean? I don't have any options in Project > Options > Target for the FPU to turn on or off the FPU which almost makes me think the device selected is not right, however, I selected the STM32F427ZI device which has the FPU....

Did I miss something obvious?
    This topic has been closed for replies.

    3 replies

    Tesla DeLorean
    Guru
    September 26, 2014
    Posted on September 26, 2014 at 18:17

    Did I miss something obvious?

    Hard to say, works here.... uV4.7?

    0690X00000602xyQAA.jpg
    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    bdesantis
    bdesantisAuthor
    Associate II
    September 26, 2014
    Posted on September 26, 2014 at 18:45

    Odd that I don't see that.....not really sure what I am doing wrong.....

    The processor is the same however I am using version 5.12.....Everything else looks ok right?

    0690X00000605APQAY.png

    bdesantis
    bdesantisAuthor
    Associate II
    September 26, 2014
    Posted on September 26, 2014 at 19:28

    Ok, problem solved....In the project options within the Keil tool suite, the first tab (Device) has a pull down menu item that shows:

    • Software Packs
    • Legacy Device Database (no RTE) 
    Default was Legacy Device Database and not software packs. Not sure what the LDD is, however, when I selected Software Packs and applied the changes, I now see, the FPU option in the Target tab.....

    Thank you for the help....