A Precision-Scalable RISC-V DNN Processor with On-Device Learning Capability at the Extreme Edge (Full Report)