Hello, I've tried googling this easy-looking question but I came up empty.
I have code that compiles under both HCS08 and ColdFire and I'm wondering, whether there is a builtin compiler directive to differentiate between this two uCs.
Like
#ifdef __HCS08__
....
#endif
or
#ifdef __COLDFIRE__
....
#endif
I don't want to define these (actually that's what I do right now and I hope there is a more civilised solution).
Thanks,
Richard