final raspi adaptions, sample compiling, warnings removed