Skip to main content
Rob Pattinson
Associate
January 25, 2018
Question

CubeMX generated code does not seem to compile in EWARM

  • January 25, 2018
  • 3 replies
  • 728 views
Posted on January 25, 2018 at 12:27

CubeMX 4.24.0 generated code does not seem to compile in EWARM 7.60.1.

I am trying to create code to set up a STM32F071C8Tx.

I get lots of errors relating to __DSB, __WFI, __WFE and __SEV saying cannot call intrinsic function from thumb mode in this architecture.

Can you help me get this working?

#cubemx #ewarm #cubemx-stm32f071c9tx
This topic has been closed for replies.

3 replies

Adam BERLINGER
ST Employee
February 15, 2018
Posted on February 15, 2018 at 13:08

Hello Rob,

the problem is that the IAR doesn't know the STM32F071C8 device.

To fix this you need to configure STM32F071CB device in the project settings. It is the same device, but with more flash memory.

0690X00000609kRQAQ.png

Best regards,

Adam Berlinger

Technical Moderator
February 15, 2018
Posted on February 15, 2018 at 14:17

Hello

Pattinson.Robert

,

After check, we confirm this issue and I raised it internally for fix.

Best Regards

Imen.

"When your question is answered, please close this topic by clicking ""Accept as Solution"".ThanksImen"
Technical Moderator
May 21, 2018
Posted on May 21, 2018 at 16:41

Hello

Pattinson.Robert

,

Could you please share your ioc project to check this issue.

With Regards,

Imen

"When your question is answered, please close this topic by clicking ""Accept as Solution"".ThanksImen"