/* * 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 #define DBG_TAG "main" #define DBG_LVL DBG_LOG #include 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