找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 2696|回复: 0
打印 上一主题 下一主题
收起左侧

基于IAR的STM32的工程模板文件下载

[复制链接]
跳转到指定楼层
楼主
基于IAR的STM32的工程文件的模板,用的固件库版本为3.5


单片机源码:
  1. /*
  2.   ******************************************************************************

  3.   * @version V3.5.0

  4.   ******************************************************************************
  5. */

  6. #include "stm32f10x.h"



  7. int main(void)
  8. {
  9.   SystemInit();
  10.   while (1)
  11.   {
  12.   }
  13. }










  14. #ifdef  USE_FULL_ASSERT

  15. /**
  16.   * @brief  Reports the name of the source file and the source line number
  17.   *         where the assert_param error has occurred.
  18.   * @param  file: pointer to the source file name
  19.   * @param  line: assert_param error line source number
  20.   * @retval None
  21.   */
  22. void assert_failed(uint8_t* file, uint32_t line)
  23. {
  24.   /* User can add his own implementation to report the file name and line number,
  25.      ex: printf("Wrong parameters value: file %s on line %d\r\n", file, line) */

  26.   /* Infinite loop */
  27.   while (1)
  28.   {
  29.   }
  30. }

  31. #endif

  32. /**
  33.   * @}
  34.   */

  35. /**
  36.   * @}
  37.   */

  38. /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/

复制代码

所有资料51hei提供下载:
ProjIARV350.rar (584.28 KB, 下载次数: 104)


分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖 顶 踩
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|51黑电子论坛 |51黑电子论坛6群 QQ 管理员QQ:125739409;技术交流QQ群281945664

Powered by 单片机教程网

快速回复 返回顶部 返回列表