output cycles per sample and bytes used
set up dwt registers before main loop
make sure all dep files are removed with make clean. updated to latest gcc-arm.