Hi, On Tue, 12 Jul 2016 10:49:07 +0200 Peter Kietzmann <[email protected]> wrote:
> Another solution would be to handle common and individual functions in > one file (without #ifdef). This might bloat code size but allows usage > of different versions in parallel. Also, it does not bloat the file > structure. The problem about naming schemes is still present here. I prefer clear only this solution, with the difference to handle common and individual functions in one directory. The derivative functions can be controlled using C if statements, which should be optimized by the compiler and the modern linker should remove the unused functions. I pour a little oil into the fire: some developer overdo it with the macros and the driver (also other) sources look like "a macro-monster has puked on the display". Regards, Johann Fischer _______________________________________________ devel mailing list [email protected] https://lists.riot-os.org/mailman/listinfo/devel
