[riot-devel] kinetis common - differences between families

2015-03-13 Thread Jozef Maslik
Hi, How we want deal with the difference between variants of peripherals in Freescale Kinetis families (I mean, what is RIOT OS prefered way)? Here is difference between families - for example between K family vs L family. And if I remember correctly ;), there can be difference between

Re: [riot-devel] kinetis common - differences between families

2015-03-14 Thread Jozef Maslik
to a structure that is as hard to maintain as some duplicated code... @gebart and @jfischer: would that solution work for you? Cheers, Hauke On 13.03.2015 19:47, Jozef Maslik wrote: Hi, How we want deal with the difference between variants of peripherals in Freescale Kinetis families (I

Re: [riot-devel] replace printf, puts issue

2015-02-26 Thread Jozef Maslik
Hi, Yes compiler do not optimize (remove out) empty function defined as is suggested. But if RIOT does not want use macros, we can define empty function as static inline function in header and then will be removed by optimization. log_api.h #if MODULE_LOG void log_info(...); #else static