使用rtthread

This commit is contained in:
ranchuan
2023-06-25 15:30:36 +08:00
parent 3604192d8f
commit cdad432f8a
41 changed files with 6047 additions and 95 deletions

View File

@@ -24,7 +24,7 @@
/* Private includes ----------------------------------------------------------*/
/* USER CODE BEGIN Includes */
#include "debug.h"
/* USER CODE END Includes */
/* Private typedef -----------------------------------------------------------*/
@@ -78,17 +78,17 @@ void VIRT_UART1_RxCpltCallback(VIRT_UART_HandleTypeDef *huart);
int main(void)
{
/* USER CODE BEGIN 1 */
debug_init();
/* USER CODE END 1 */
/* MCU Configuration--------------------------------------------------------*/
log_info("ssss");
DBG_LOG("mcu start.");
/* Reset of all peripherals, Initialize the Systick. */
HAL_Init();
log_info("aaaa");
/* USER CODE BEGIN Init */
if(IS_ENGINEERING_BOOT_MODE())
if(IS_ENGINEERING_BOOT_MODE())
{
/* Configure the system clock */
SystemClock_Config();