本帖最后由 nnqtdf 于 2021-4-23 15:54 编辑
使用自己画的AC7811最小系统板移植threadx6.1.6操作系统
int main(void)
{
/* USER CODE BEGIN 1 */
/* USER CODE END 1 */
/* MCU Configuration------------------------------------------------------*/
/* USER CODE BEGIN Init */
/* USER CODE END Init */
/* Configure the system clock */
SystemClock_Config();
/* USER CODE BEGIN SysInit */
/* USER CODE END SysInit */
/* Initialize all configured peripherals */
ATC_GPIO_Init();
/* USER CODE BEGIN 2 */
InitDebug();
tx_kernel_enter();
/* USER CODE END 2 */
/* Infinite loop */
while(1)
{
/* USER CODE BEGIN WHILE */
/* USER CODE END WHILE */
}
/* USER CODE BEGIN 3 */
/* USER CODE END 3 */
}
|