- --System Log BEGINS--
- SRS=0x2070040
- Familly ID = 0x0, Sub-family ID = 0x2, Revision ID = 0x0, Pin ID = 0x7
- Pin Reset
- --System Log ENDS--
即使不调用任何函数,只有main函数的话仍然会通过UART1输出上面的那串系统日志,这是为什么呢?
- /******************************************************************************
- *
- * Freescale Semiconductor Inc.
- * (c) Copyright 2011-2012 Freescale Semiconductor, Inc.
- * ALL RIGHTS RESERVED.
- *
- *******************************************************************************
- *
- * [url=home.php?mod=space&uid=288409]@file[/url] Uart_demo.c
- *
- * [url=home.php?mod=space&uid=187600]@author[/url] a13984
- *
- * [url=home.php?mod=space&uid=895143]@version[/url] 0.0.1
- *
- * [url=home.php?mod=space&uid=212281]@date[/url] Jul-15-2011
- *
- * [url=home.php?mod=space&uid=247401]@brief[/url] providing framework of test cases for MCU.
- *
- *******************************************************************************/
- #include "common.h"
- #include "rtc.h"
- #include "uart.h"
- /******************************************************************************
- * Global variables
- ******************************************************************************/
- /******************************************************************************
- * Constants and macros
- ******************************************************************************/
- /******************************************************************************
- * Local types
- ******************************************************************************/
- /******************************************************************************
- * Local function prototypes
- ******************************************************************************/
- /******************************************************************************
- * Local variables
- ******************************************************************************/
- /******************************************************************************
- * Local functions
- ******************************************************************************/
- int main (void);
- /******************************************************************************
- * Global functions
- ******************************************************************************/
- /********************************************************************/
- int main (void)
- {
-
- }
|