i finally got around to trying some more STM8L thingy
i got stuck trying to put SDCC and codeblocks together according to this website
http://blog.podstuff.de/setup-codeblocks-for-stm8s-discovery/, for STM8L152.
basically, edit settings in codeblocks --> copy inc / src folders --> add in adaptations --> build. but due to lack of 8L152 adaptations, it does'nt build?
i can see some difference in the STM8S modified version, and the missing SDCC referal, which makes codeblock not building it.
stm8l15x.h --> have no SDCC part referal inside
#if defined(SDCC)
#include <stdint.h>
#else
/*!< Signed integer types */
typedef signed char int8_t;
typedef signed short int16_t;
typedef signed long int32_t;
/*!< Unsigned integer types */
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned long uint32_t;
#endif
missing stm8l15x_conf.h --> this looks like a "*.h capabilities" pointer?
does anyone have any experience in the above? or have an alternative or working file(s) i could look at?