Lightweight Mbed Library for STM F4 and F7