• MDK+VS+Eclipse的STM32库V3.5工程模板的建立(六)


    _【@. 目录】

       @.1 开篇

       @.2 MDK工程建立

       @.3 Visual Studio工程建立

       @.4 Eclipse工程建立

       @.5 工程模板实例:标准库GPIO实例讲解、仿真、下载

       @.6 工程模板下载

    【@.6 工程模板下载】

    @->STM32F10x_Temp_Lib3.5.7z Skydrive下载或者百度网盘

    @->Visual Studio和Eclipse两个编程环境选择你习惯的用就好了,没必要两个都用。当然也可以仅仅使用MDK来编辑代码也是可以的。Solution文件夹下面的对应工程文件夹保留一个就可以了。Eclipse添加新文件的时候比较繁琐,而Visual Studio跟MDK中的工程目录对应关系可以做到完全一致。

    @->关于Alientek MiniSTM32开发板所提供的工程模板,现在按照我们这里的路径设置重新添加的工程模板这里也提供打包下载(Alientek_STM32F10x_Temp_Lib3.5_V0.5.7z),可以将前面的那个工程目录一起打开来参考参考。可以发现,随着项目的增加,怎样合理安排项目的工程目录也是很有讲究的。我们这里打包的工程目录结构组织不见得是最好的,使用时还请根据实际实际项目要求做合适的修改。

    @->Alientek MiniSTM32开发板的资料可以参考这里

    _[@.1 UPDATE STM32 LIB]_
    @->Download STM32F10x_StdPeriph_Lib_Vxx from STM32 Official site.
    @->Unzip the file, Replace 'Libraries' folder in our template
       folder with that in your unzipped folder.
    @->Replace 'stm32f10x_conf.h' and 'stm32f10x_it.h' in our template
       foler\User\inc with that in your unzipped folder\Project
       \STM32F10x_StdPeriph_Template.
    @->Replace 'stm32f10x_it.c' in our template folder\User\scr with that
       in your unzipped folder\Project\STM32F10x_StdPeriph_Template.
    @->Done.

    _[@.2 PROJECT LOCATION]_
    @->MDK 4.60 : ..\Solution\MDK\STM32F10x_MDK.uvproj
    @->VS2010   : ..\Solution\VS\STM32F10x_VS.sln
    @->Eclipse  : Import ..\Solution\ECL folder into your workspace.

    _[@.3 USAGE]_
    @->Put your own head file in ..\User\inc. While MDK and VS will
       auto detect your head file path, you need to add link to your
       Eclipse project folder '_INC'
    @->Add your code in main.c in ..\User\scr, or put your .c file into
       ..\User\scr.
    @->Use Solution\Clear.bat to clean Solution Folder.
    @->'Build' command in VS/Eclipse IDE will do nothing.

    @.[FIN]      @.date->Nov 24, 2012      @.author->apollius

  • 相关阅读:
    Linux开发初探
    Linux开发初探
    电脑使用说明书
    电脑使用说明书
    Delegates, Events, and Anonymous Methods 委托、事件与匿名方法
    CSS haslayout
    js与flash结合使用
    sgen.exe" exited with code 1.解决方法
    selenium
    selenium支付高版本的FireFox
  • 原文地址:https://www.cnblogs.com/apollius/p/2785712.html
Copyright © 2020-2023  润新知