wukong-m2m / wukong-darjeeling

Darjeeling for WuKong
Other
20 stars 17 forks source link

Remove AVR code from platform independent files #115

Closed nielsreijers closed 8 years ago

nielsreijers commented 10 years ago

radio_zwave.c and wkpf_init.c are both in the /c/common directories, which means they should only contain platform independent code. These files both #include <avr/io.h>, which means now the VM can only be compiled for the AVR platform, but no longer for the posix platform. Platform specific code will have to be removed, or move to one of the directories for platform specific code (/c/). Note that if we call a platform specific function from a file in the /c/common directory, we need to make sure this function is implemented, possibly with a dummy, for all platforms.

nielsreijers commented 8 years ago

There's nothing more permanent than a temporary solution. ;-) This seems to have worked well for the last two years, so closing the issue for now. We can open a new one if we want to tidy it up later.