TT12-MCU/applications/main.c
murmur 1dcffeb5b0 adc --ok
uart3 --ok
2023-04-27 17:10:08 +08:00

34 lines
779 B
C

/*
* Copyright (c) 2006-2023, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2023-04-27 RT-Thread first version
*/
#include <rtthread.h>
#define DBG_TAG "main"
#define DBG_LVL DBG_LOG
#include <rtdbg.h>
int main(void)
{
int count = 1;
// while (count++)
// {
// LOG_D("Hello RT-Thread!"); LOG_D("System Clock information");
LOG_D("SYSCLK_Frequency = %d", HAL_RCC_GetSysClockFreq());
LOG_D("HCLK_Frequency = %d", HAL_RCC_GetHCLKFreq());
LOG_D("PCLK1_Frequency = %d", HAL_RCC_GetPCLK1Freq());
LOG_D("PCLK2_Frequency = %d", HAL_RCC_GetPCLK2Freq());
// rt_thread_mdelay(1000);
// }
return RT_EOK;
}
//fastlz_test -c demo.bin f.bin