[fix] add #include <rtthread.h> for stm32g4xx_hal.h
@@ -28,6 +28,7 @@ extern "C" {
/* Includes ------------------------------------------------------------------*/
#include "stm32g4xx_hal_conf.h"
+#include <rtthread.h>
/** @addtogroup STM32G4xx_HAL_Driver
* @{
