cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX generated code does not seem to compile in EWARM

Rob Pattinson
Associate II
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
3 REPLIES 3
Adam BERLINGER
ST Employee
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

Imen.D
ST Employee
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".
Thanks
Imen
Imen.D
ST Employee
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".
Thanks
Imen