move wireless code to wireless.c
bring f4 project makefile up to date