cancel
Showing results for 
Search instead for 
Did you mean: 

Problem to build example with iar 7.4

idealsim
Associate II
Posted on March 24, 2016 at 18:42

Hi, i have some problems to build a project for P-Nucleo IHM001_singledrive kit !

When i open the project it said me that some options are broken and when i build the project (after use workbench tool to configure the motor) i have this error :

startup_stm32f302.s 

Error[438]: This instruction is not available in the selected cpu/core C:\Program Files (x86)\STMicroelectronics\FOC SDK\STM32 PMSM FOC LIBv4.2\Common\Libraries\CMSIS\CMSIS_2_x\Device\ST\STM32F30x\Source\Templates\iar\startup_stm32f302.s 173 

Error while running Assembler 

arm_biquad_cascade_df2T_f32.c  

Fatal Error[Pe1696]: cannot open source file ''arm_math.h'' C:\Program Files (x86)\STMicroelectronics\FOC SDK\STM32 PMSM FOC LIBv4.2\Common\Libraries\CMSIS\CMSIS_2_x\DSP_Lib\Source\FilteringFunctions\arm_biquad_cascade_df2T_f32.c 41 

Can you help please ?

3 REPLIES 3
idealsim
Associate II
Posted on March 29, 2016 at 17:59

Update IAR to 7.5 solve the problem.

Gigi
ST Employee
Posted on April 01, 2016 at 14:33

Ciao

Sorry for the delay... yes, updating the IAR solves the issue.

Ciao

Gigi

Laurent Ca...
Lead II

The question has been moved from the "Motor Control Hardware" section to the "STM32 Motor Control" section (the question is about the STM32 MC SDK). 

Best regards