Skip to main content
idealsim
Associate II
March 24, 2016
Question

Problem to build example with iar 7.4

  • March 24, 2016
  • 3 replies
  • 1071 views
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 ?

This topic has been closed for replies.

3 replies

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

Update IAR to 7.5 solve the problem.

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

Ciao

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

Ciao

Gigi

Laurent Ca...
Senior III
June 17, 2021

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