使用rtthread
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user