https://www.luisllamas.es/programar-stm32-con-ide-de-arduino-y-conversor-usb-ttl/
Programar STM32 con IDE de Arduino y conversor USB-TTL