AnsweredAssumed Answered

STM32L0 Libraries for __CC_ARM GreenHills Compiler

Question asked by GDC on Nov 7, 2014
Latest reply on Nov 7, 2014 by Clive One
Hi Guys,

I´m trying to compile a simple custom project in GreenHills but I´m getting some kind of problems.

I´m developing a project with STM32L0C52 uC.


core_cm0plus.h

#if   defined ( __CC_ARM )
  #define __ASM            __asm                                      /*!< asm keyword for ARM Compiler          */
  #define __INLINE         __inline                                   /*!< inline keyword for ARM Compiler       */
  #define __STATIC_INLINE  static __inline
#endif


core_cmFunc.h

__STATIC_INLINE uint32_t __get_CONTROL(void)
{
  register uint32_t __regControl        __ASM("control");
  return(__regControl);
}


 ST_FORUM.jpg
 
My question is. Are STM32L0 Libraries set to MULTI Compiler??

Outcomes