找回密碼
 立即注冊(cè)

QQ登錄

只需一步,快速開始

搜索
查看: 3412|回復(fù): 0
打印 上一主題 下一主題
收起左側(cè)

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

[復(fù)制鏈接]
跳轉(zhuǎn)到指定樓層
樓主
基于IAR的STM32的工程文件的模板,用的固件庫(kù)版本為3.5


單片機(jī)源碼:
  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****/

復(fù)制代碼

所有資料51hei提供下載:
ProjIARV350.rar (584.28 KB, 下載次數(shù): 104)


分享到:  QQ好友和群QQ好友和群 QQ空間QQ空間 騰訊微博騰訊微博 騰訊朋友騰訊朋友
收藏收藏 分享淘帖 頂 踩
回復(fù)

使用道具 舉報(bào)

本版積分規(guī)則

小黑屋|51黑電子論壇 |51黑電子論壇6群 QQ 管理員QQ:125739409;技術(shù)交流QQ群281945664

Powered by 單片機(jī)教程網(wǎng)

快速回復(fù) 返回頂部 返回列表