Forum : ST7/STM8
| Post Information | Post |
|---|---|
|
May 19, 2009 - 11:56pm
|
I get the following error: Compiling ..\fw\stm8s_can.c... Not a very helpful error message. Any help is appreciated. |
Forum : ST7/STM8
| Post Information | Post |
|---|---|
|
May 19, 2009 - 11:56pm
|
I get the following error: Compiling ..\fw\stm8s_can.c... Not a very helpful error message. Any help is appreciated. |
Hi
Please make a trail to install the latest release of Ride7 and Rkit-STM8 (from today) and let us know if it solves the issue.
Regards,
Matloub
From the release you can find:
Thanks, that appears to have fixed the problem. The next issue I have run into is the following unresolved symbol:
***ERROR 100 : UNRESOLVED EXTERNAL
SYMBOL : ?ITC_GetCPUCC(STM8S_ITC)
The ST firmware lib has the following code:
/**
* @brief Utility function used to read CC register.
* @par Parameters:
* None
* @retval u8 Content of CC register (in A register).
* @par Required preconditions:
* None
*/
#ifdef _COSMIC_
u8 ITC_GetCPUCC(void)
{
_asm("push cc");
_asm("pop a");
return; /* Ignore compiler warning, the returned value is in A register */
}
#else
extern u8 ITC_GetCPUCC(void);
#endif
Is this defined somewhere in a Raisonance library?
Hi
It is strange because I have no problem to compile stm8_it.c where the function is defined.
Actually it just call the function _getCC_ which is intrinsic function (declared in intrins.h)
regards,
Matloub