minor arm improvements
removed duplicate declaration
added ringbuf and ringfile