__CORTEX_SC not defined

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

Post Reply
steved
Posts: 834
Joined: Fri Nov 09, 2012 2:22 pm
Has thanked: 12 times
Been thanked: 138 times

__CORTEX_SC not defined

Post by steved »

I've just updated to the current 3.x repository code and tried to compile my 32F051 project - it fails with

Code: Select all

chibios3/os/ext/CMSIS/include/core_cmInstr.h:580:36: warning: "__CORTEX_SC" is not defined [-Wundef]

I've also cloned and copied the RT-32F051-DISCOVERY demo, and that fails with a similar error (plus a load more related to the test module).

I can't find that "__CORTEX_SC" is defined anywhere in Chib.
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: __CORTEX_SC not defined

Post by Giovanni »

I updated to CMSIS 4.0, there must be something wrong there.

Giovanni
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: __CORTEX_SC not defined

Post by Giovanni »

Fixed, yet another error in the great ARM code.

Giovanni
Post Reply