cancel
Showing results for 
Search instead for 
Did you mean: 

VFP register arguments on STM32L4R5ZI System workbench

Posted on May 31, 2018 at 12:29

When I compile the STM32L4R5ZI BME680 libary, I got the error message of use VFP register arguments,

Can anyone let me know how to fix  inside the AC6 SW workbench?

Thanks

Phani

1 ACCEPTED SOLUTION

Accepted Solutions
Posted on May 31, 2018 at 15:32

Try different combinations of the float configuration flags

-msoft-float

,

-mfloat-abi={soft,softfp}

View solution in original post

9 REPLIES 9
Nesrine M_O
Lead II
Posted on May 31, 2018 at 14:49

https://community.st.com/0D50X00009XkWdFSAV

Posted on May 31, 2018 at 15:20

The original post was too long to process during our migration. Please click on the provided URL to read the original post. https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I6tE&d=%2Fa%2F0X0000000bxQ%2FiMx.qdM0_EcYCLNgKmLCmedUKlXKYenodkvJxbV5XdE&asPdf=false
Posted on May 31, 2018 at 15:22

0690X0000060L3DQAU.png
Posted on May 31, 2018 at 15:37

-mfloat-abi=soft -mfpu=fpv4-sp-d16 -L worked and got build but 

Now its failing in SystemClock_Config.

And entering to WWDG_IRQHandler() at startup_stm32l4r5xx.s:132 0x8009dc0

Failing at 

if(HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_4) != HAL_OK)

{

/* Initialization Error */

_Error_Handler(__FILE__, __LINE__);

}

Thanks

Phani

Posted on May 31, 2018 at 15:23

You'd need to determine the settings for the FPU used in the library

-mfpu=fpv4-sp-d16 -mfloat-abi=hard

If hard doesn't match, try the soft ABI setting, or NOT using the FPU

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on May 31, 2018 at 15:24

It's complaining it is mis-matched, work through the FPU setting options if you can't tell from inspecting the library

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on May 31, 2018 at 15:32

Try different combinations of the float configuration flags

-msoft-float

,

-mfloat-abi={soft,softfp}
Posted on May 31, 2018 at 15:43

Hi

phanirajkiran.ma

,

I recommend you to close this thread and open a new one describing your issue!

-Nesrine-

Posted on May 31, 2018 at 17:21

Make sure to a) clear the structures defined locally, and b) that the PLL_M parameter is correctly programmed on L4 platforms

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..