2018-05-31 03:29 AM
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
Solved! Go to Solution.
2018-05-31 08:32 AM
Try different combinations of the float configuration flags
-msoft-float
,
-mfloat-abi={soft,softfp}
2018-05-31 05:49 AM
2018-05-31 06:20 AM
2018-05-31 06:22 AM
2018-05-31 06:37 AM
-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
2018-05-31 08:23 AM
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
2018-05-31 08:24 AM
It's complaining it is mis-matched, work through the FPU setting options if you can't tell from inspecting the library
2018-05-31 08:32 AM
Try different combinations of the float configuration flags
-msoft-float
,
-mfloat-abi={soft,softfp}
2018-05-31 08:43 AM
Hi
phanirajkiran.ma
,I recommend you to close this thread and open a new one describing your issue!
-Nesrine-
2018-05-31 10:21 AM
Make sure to a) clear the structures defined locally, and b) that the PLL_M parameter is correctly programmed on L4 platforms