基于IAR的STM32的工程文件的模板,用的固件库版本为3.5
单片机源码:
- /*
- ******************************************************************************
- * @version V3.5.0
- ******************************************************************************
- */
- #include "stm32f10x.h"
- int main(void)
- {
- SystemInit();
- while (1)
- {
- }
- }
- #ifdef USE_FULL_ASSERT
- /**
- * @brief Reports the name of the source file and the source line number
- * where the assert_param error has occurred.
- * @param file: pointer to the source file name
- * @param line: assert_param error line source number
- * @retval None
- */
- void assert_failed(uint8_t* file, uint32_t line)
- {
- /* User can add his own implementation to report the file name and line number,
- ex: printf("Wrong parameters value: file %s on line %d\r\n", file, line) */
- /* Infinite loop */
- while (1)
- {
- }
- }
- #endif
- /**
- * @}
- */
- /**
- * @}
- */
- /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/
复制代码
所有资料51hei提供下载:
ProjIARV350.rar
(584.28 KB, 下载次数: 104)
|