User Activity

Hi everyone!I am building a portable device wich has a batery, obviusly, and the MCU is the STM32F042. I need to use an USB to program it and charge the batery. Anyone can provide me with any schematic that I can use for the USB conections?Thank you.