AnsweredAssumed Answered

CubeMX, missing device-setting in generated EWARM project

Question asked by tomiyama.tadao on Jul 13, 2016
Latest reply on Jul 22, 2016 by tomiyama.tadao

Hi, I encountered following.
When I set device type as "ST STM32F401xE" on EWARM, the project was build successfully.

Is the device type should determined everytime?

with,
  STM32CubeMX Version 4.15.1
  STM32Cube FW_F4 V1.12.0

procedure,

by CubeMX
  File -> NewProject
  Board Selector -> MCU Series -> STM32F4  -> NUCLEO-F401RE
  Nothing change

  Project -> Settings -> Projcet Name:f401_projectname
  Toolchain / IDE -> EWARM
  OK
  Generate Code

  Open Project(IAR Embedded Workbench ofr ARM 7.10.3.6932, with 32KB code size limitation)
  Alt+F7(see option) -> device is set as 'None'.

Sice MPU type is not set, EWARM says as following at comilation.
  Error[Ta097]:Cannot call intrinsic function "_nounwind _DSB" from Thumb mode in this architecture
  Error[438]:This instruction is not available in the selected cpu/core
  Error[Ta097]:Cannot call intrinsic function "_nounwind _RBIT" from Thumb mode in this architecture
  Error[Ta097]:Cannot call intrinsic function "_nounwind _CLZ" from Thumb mode in this architecture
                           .
                           .
                           .

Outcomes