只有OpenMV和Arduino的 https://book.openmv.cc/MCU/serial1.html STM32需要自己改一改。