﻿{"id":67,"date":"2010-05-22T09:07:23","date_gmt":"2010-05-22T01:07:23","guid":{"rendered":"http:\/\/nick.workao.org\/?p=67"},"modified":"2010-05-22T09:10:26","modified_gmt":"2010-05-22T01:10:26","slug":"%e5%8e%9f%e5%88%9bstm32%e5%9f%ba%e4%ba%8efwlib-3-12%e5%ad%a6%e4%b9%a0%e7%ac%94%e8%ae%b0%e4%b8%80-%e6%90%ad%e8%88%92%e9%80%82%e5%bf%ab%e6%8d%b7%e7%9a%84%e5%bc%80%e5%8f%91%e7%8e%af%e5%a2%83mdkfwlib","status":"publish","type":"post","link":"http:\/\/nick.txtcc.com\/index.php\/scm\/67","title":{"rendered":"[\u539f\u521b]STM32\u57fa\u4e8eFWLIB 3.12\u5b66\u4e60\u7b14\u8bb0\u4e00 \u642d\u8212\u9002\u5feb\u6377\u7684\u5f00\u53d1\u73af\u5883(MDK+FWLIB+ECLIPSE+JLINK+KEILMAKE)"},"content":{"rendered":"<p>\u7531\u4e8e\u672c\u4eba\u6df1\u4e60\u60ef\u4e8e\u5fae\u8f6f\u7684VS\u5f00\u53d1\u73af\u5883\uff0c\u9996\u6b21\u63a5\u89e6KEIL\u7ed9\u6211\u7684\u611f\u89c9\u5c31\u662f\u96be\u7528\uff0c\u6ca1\u6709\u667a\u80fd\u63d0\u793a\u529f\u80fd\uff0c\u6211\u5b8c\u5168\u65e0\u6cd5\u63a5\u53d7\u3002\u5728\u7ecf\u8fc7N\u4e2aIDE\u7684\u8bd5\u7528\u5bf9\u6bd4\u4e0b\uff0c\u6211 \u6700\u7ec8\u9009\u62e9\u4e86ECLIPSE\u4f5c\u4e3aKEIL\u7684\u4ee3\u66ff\uff0c\u4f46\u8fd8\u662f\u9700\u8981KEIL\u7684\u5b58\u5728\uff0c\u56e0\u4e3a\u9700\u8981\u5b83\u6765\u7f16\u8bd1\u3002\u6240\u4ee5\u6211\u53c8\u5199\u4e86\u4e00\u4e2a\u5728ECLIPSE\u4e0b\u7528\u6765\u96c6\u6210KEIL\u7f16\u8bd1\u7684 \u5c0f\u7a0b\u5e8fKEILMAKE\uff0c\u6709\u4e86KEILMAKE\uff0c\u5c31\u53ef\u4ee5\u5728ECLIPSE\u4e0b\u76f4\u63a5\u7f16\u8bd1\u751f\u6210HEX\uff0c\u8fd8\u53ef\u4ee5\u8c03\u7528KEIL\u8fdb\u884c\u7a0b\u5e8fDEBUG\uff0c\u5475\u5475\uff0c\u662f\u4e0d\u662f\u89c9\u5f97 \u5f88\u723d\u5462\uff1f\u4e0b\u9762\u5148\u628a\u9700\u8981\u51c6\u5907\u7684\u8f6f\u4ef6\u90fd\u4e0b\u8f7d\u597d\u3002<\/p>\n<p>1.MDK 3.5\u4e0b\u8f7d\u5730\u5740\uff1a\n\u8bc4\u4f30\u7248 <a href=\"http:\/\/www.mystm32.com\/bbs\/viewthread.php?tid=1&#038;extra=page%3D2\">www.mystm32.com\/bbs\/viewthread.php<\/a>\n\u7834\u89e3 <a href=\"http:\/\/www.mystm32.com\/bbs\/viewthread.php?tid=228&#038;extra=page%3D2\">www.mystm32.com\/bbs\/viewthread.php<\/a><\/p>\n<p>2.FWLIB\u4e0b\u8f7d\u5730\u5740\uff1a\n\u5b98\u65b9\u4e0b\u8f7d <a href=\"http:\/\/www.st.com\/stonline\/products\/support\/micro\/files\/stm32f10x_stdperiph_lib.zip\">www.st.com\/stonline\/products\/support\/micro\/files\/stm32f10x_stdperiph_lib.zip<\/a>\n\u91cc\u9762\u5df2\u7ecf\u5305\u542b\u5e2e\u52a9\u6587\u6863<\/p>\n<p>3.ECLIPSE\u4e0b\u8f7d\u5730\u5740\uff1a\nC\/C++\u7248\u672c\u00a0<a href=\"http:\/\/www.eclipse.org\/downloads\/download.php?file=\/technology\/epp\/downloads\/release\/galileo\/SR1\/eclipse-cpp-galileo-SR1-win32.zip\">www.eclipse.org\/downloads\/download.php<\/a><\/p>\n<p>4.JLINK\u9a71\u52a8\u4e0b\u8f7d\u5730\u5740\uff1a\n4.08A\u7248\u672c <a href=\"http:\/\/www.mystm32.com\/bbs\/viewthread.php?tid=91&#038;extra=page%3D3\">www.mystm32.com\/bbs\/viewthread.php<\/a><\/p>\n<p>5.KEILMAKE\u4e0b\u8f7d\u5730\u5740\uff1a\n<a href=\"http:\/\/showvi.com\/DownloadSite\/download\/show_43030.aspx\">www.1983111.com\/download\/show_40342.aspx<\/a><\/p>\n<p>\u5173\u4e8eKEILMAKE\u7684\u66f4\u8be6\u7ec6\u4fe1\u606f\u8bf7\u5173\u6ce8\u8fd9\u91cc\uff1a<a href=\"http:\/\/showvi.com\/Blog\/ViewAirticle\/188\">showvi.com\/Blog\/ViewAirticle\/188<\/a><\/p>\n<p>\u628aMDK\uff0cECLIPSE\uff0cJLINK\u90fd\u5b89\u88c5\u597d\u540e\uff0c\u89e3\u538bFWLIB\uff0c\u6211\u662f\u89e3\u538b\u5230C\u76d8\u76ee\u5f55\u4e0b\uff0c\u7136\u540e\u628aTemplate\u76ee\u5f55\u590d\u5236\u4e00\u4efd\uff0c\u547d\u540d\u4e3a FirstProject\uff0c\u4ee5\u540e\u7684\u9879\u76ee\u5c31\u57fa\u4e8e\u6b64\u6a21\u677f\u8fdb\u884c\u5f00\u53d1\u3002Template\u662fFWLIB\u81ea\u5e26\u7684\u6a21\u677f\uff0c\u4ee5\u540e\u7684\u9879\u76ee\u53ea\u8981\u5728\u8fd9\u4e2a\u9879\u76ee\u4e0a\u4f5c\u4fee\u6539\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n<img decoding=\"async\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2010\/05\/010725ip1.png\" alt=\"\" \/>\n<p>\u63a5\u4e0b\u662f\u6253\u5f00\u9879\u76ee\uff0c\u53cc\u51fbFirstProjectRVMDKProject.Uv2\uff0c\u7cfb\u7edf\u4f1a\u81ea\u52a8\u7528KEIL\u6253\u5f00\u3002<\/p>\n<img decoding=\"async\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2010\/05\/010731nQn.png\" alt=\"\" \/>\n<p>\u7531\u4e8e\u6a21\u677f\u9ed8\u8ba4\u4f1a\u542f\u7528PLL2\uff0c\u5728105\u548c107\u7cfb\u5217\u624d\u6709\uff0c\u800c\u6211\u7528\u7684\u82af\u7247\u662f103FRB\uff0c\u6240\u4ee5\u8fd8\u9700\u8981\u8fdb\u884c\u4e00\u4e0b\u8bbe\u7f6e\u624d\u80fd\u6b63\u5e38\u8fd0\u884c\u6b64\u6a21\u677f\u7684\u4ee3\u7801\u3002\n\u70b9\u51fb\u4e0b\u56fe\u4e2d\u7ea2\u8272\u6846\u6846\u7684\u6309\u94ae\u8fdb\u884c\u8bbe\u7f6e<\/p>\n<img decoding=\"async\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2010\/05\/0107326wI.png\" alt=\"\" \/>\n<p>DEVICE\u8bf7\u6839\u636e\u81ea\u5df1\u7684\u82af\u7247\u578b\u53f7\u9009\u62e9<\/p>\n<img decoding=\"async\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2010\/05\/010740ftQ.png\" alt=\"\" \/>\n<img decoding=\"async\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2010\/05\/010746v5j.png\" alt=\"\" \/>\n<p>Define\u7684\u539f\u503c USE_STDPERIPH_DRIVER,  STM32F10X_CL, USE_STM3210C_EVAL \u4fee\u6539\u4e3a USE_STDPERIPH_DRIVER, STM32F10X_MD<\/p>\n<img decoding=\"async\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2010\/05\/010801LfC.png\" alt=\"\" \/>\n<p>\u8bbe\u7f6e\u4f7f\u7528JLINK\u8fdb\u884c\u8c03\u8bd5<\/p>\n<img decoding=\"async\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2010\/05\/010812DzS.png\" alt=\"\" \/>\n<p>JLINK\u7684\u4e00\u4e9b\u8bbe\u7f6e<\/p>\n<img decoding=\"async\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2010\/05\/010825fSG.png\" alt=\"\" \/>\n<img decoding=\"async\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2010\/05\/010829rOw.png\" alt=\"\" \/>\n<img decoding=\"async\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2010\/05\/010833zVh.png\" alt=\"\" \/>\n<img decoding=\"async\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2010\/05\/010835RaB.png\" alt=\"\" \/>\n<p>\u63a5\u4e0b\u6765\u628a\u6240\u6709STM_EVAL\u76f8\u5173\u7684\u4e1c\u897f\u90fd\u5220\u6389\uff0c\u5bf9\u4e8e\u521d\u5b66\u8005\u6765\u8bf4\uff0c\u8d8a\u7b80\u5355\u8d8a\u597d<\/p>\n<p>#include &#8220;stm32_eval.h&#8221;\n#include <stdio.h><\/p>\n<p>#ifdef USE_STM3210B_EVAL\n#include &#8220;stm3210b_eval_lcd.h&#8221;\n#elif defined USE_STM3210E_EVAL\n#include &#8220;stm3210e_eval_lcd.h&#8221;\n#elif defined USE_STM3210C_EVAL\n#include &#8220;stm3210c_eval_lcd.h&#8221;\n#endif<\/p>\n<p>\/<em> Private typedef  &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<\/em>\/\n\/<em> Private define  &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<\/em>\/\n#ifdef USE_STM3210B_EVAL\n#define MESSAGE1\u00a0\u00a0 &#8220;STM32 Medium Density&#8221;\n#define MESSAGE2\u00a0\u00a0 &#8221; Device running on\u00a0 &#8221;\n#define MESSAGE3\u00a0\u00a0 &#8221;\u00a0\u00a0 STM3210B-EVAL\u00a0\u00a0\u00a0 &#8221;\n#elif defined USE_STM3210E_EVAL\n#define MESSAGE1\u00a0\u00a0 &#8221; STM32 High Density &#8221;\n#define MESSAGE2\u00a0\u00a0 &#8221; Device running on\u00a0 &#8221;\n#define MESSAGE3\u00a0\u00a0 &#8221;\u00a0\u00a0 STM3210E-EVAL\u00a0\u00a0\u00a0 &#8221;\n#elif defined USE_STM3210C_EVAL\n#define MESSAGE1\u00a0\u00a0 &#8221; STM32 Connectivity &#8221;\n#define MESSAGE2\u00a0\u00a0 &#8221; Line Device running&#8221;\n#define MESSAGE3\u00a0\u00a0 &#8221; on STM3210C-EVAL\u00a0\u00a0 &#8221;\n#endif<\/p>\n<p>\/<em> Private macro  &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/em>\/\n\/<em> Private variables  &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<\/em>\/\nUSART_InitTypeDef USART_InitStructure;<\/p>\n<p>\/<em> Private function prototypes  &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<\/em>\/\n#ifdef <strong>GNUC<\/strong>\n\/<em> With GCC\/RAISONANCE, small printf (option LD  Linker->Libraries->Small printf\nset to &#8216;Yes&#8217;) calls __io_putchar() <\/em>\/\n#define PUTCHAR_PROTOTYPE int <strong>io_putchar(int ch)\n#else\n#define PUTCHAR_PROTOTYPE int fputc(int ch, FILE <em>f)\n#endif \/<\/em> <\/strong>GNUC__ <em>\/\n\/<\/em> Initialize LEDs, Key Button, LCD and COM port(USART) available on\nSTM3210X-EVAL board  <strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong>**<\/strong><\/strong><\/strong><\/strong><\/strong><\/strong><\/strong><\/strong><\/strong><\/strong><\/strong><\/strong><\/strong>\/\nSTM_EVAL_LEDInit(LED1);\nSTM_EVAL_LEDInit(LED2);\nSTM_EVAL_LEDInit(LED3);\nSTM_EVAL_LEDInit(LED4);<\/p>\n<p>\/* USARTx configured as follow:<\/p>\n<ul>\n<li>BaudRate = 115200 baud<\/li>\n<li>Word Length = 8 Bits<\/li>\n<li>One Stop Bit<\/li>\n<li>No parity<\/li>\n<li>Hardware flow control disabled (RTS and CTS signals)<\/li>\n<li>Receive and transmit enabled\n*\/\nUSART_InitStructure.USART_BaudRate = 115200;\nUSART_InitStructure.USART_WordLength = USART_WordLength_8b;\nUSART_InitStructure.USART_StopBits = USART_StopBits_1;\nUSART_InitStructure.USART_Parity = USART_Parity_No;\nUSART_InitStructure.USART_HardwareFlowControl =  USART_HardwareFlowControl_None;\nUSART_InitStructure.USART_Mode = USART_Mode_Rx | USART_Mode_Tx;<\/li>\n<\/ul>\n<p>STM_EVAL_COMInit(COM1, &#038;USART_InitStructure);<\/p>\n<p>\/<em> Initialize the LCD <\/em>\/\n#ifdef USE_STM3210B_EVAL\nSTM3210B_LCD_Init();\n#elif defined USE_STM3210E_EVAL\nSTM3210E_LCD_Init();\n#elif defined USE_STM3210C_EVAL\nSTM3210C_LCD_Init();\n#endif<\/p>\n<p>\/* Display message on STM3210X-EVAL LCD  *<strong><strong><strong><strong><strong><strong><strong><strong>****<\/strong><\/strong><\/strong><\/strong><\/strong><\/strong><\/strong><\/strong>\/\n\/<em> Clear the LCD <\/em>\/\nLCD_Clear(White);<\/p>\n<p>\/<em> Set the LCD Back Color <\/em>\/\nLCD_SetBackColor(Blue);\n\/<em> Set the LCD Text Color <\/em>\/\nLCD_SetTextColor(White);\nLCD_DisplayStringLine(Line0, MESSAGE1);\nLCD_DisplayStringLine(Line1, MESSAGE2);\nLCD_DisplayStringLine(Line2, MESSAGE3);<\/p>\n<p>\/* Retarget the C library printf function to the USARTx, can be USART1  or USART2\ndepending on the EVAL board you are using  <strong><strong><strong><strong><strong><strong><strong>****<\/strong><\/strong><\/strong><\/strong><\/strong><\/strong><\/strong>\/\nprintf(&#8220;nr %s&#8221;, MESSAGE1);\nprintf(&#8221; %s&#8221;, MESSAGE2);\nprintf(&#8221; %snr&#8221;, MESSAGE3);<\/p>\n<p>\/* Turn on leds available on STM3210X-EVAL  <strong><strong><strong><strong><strong><strong><strong><strong>**<\/strong><\/strong><\/strong><\/strong><\/strong><\/strong><\/strong><\/strong>\/\nSTM_EVAL_LEDOn(LED1);\nSTM_EVAL_LEDOn(LED2);\nSTM_EVAL_LEDOn(LED3);\nSTM_EVAL_LEDOn(LED4);\n\/**<\/p>\n<ul>\n<li>@brief\u00a0 Retargets the C library printf function to the USART.<\/li>\n<li>@param\u00a0 None<\/li>\n<li>@retval None\n<em>\/\nPUTCHAR_PROTOTYPE\n{\n\/<\/em> Place your implementation of fputc here <em>\/\n\/<\/em> e.g. write a character to the USART *\/\nUSART_SendData(EVAL_COM1, (uint8_t) ch);<\/li>\n<\/ul>\n<p>\/<em> Loop until the end of transmission <\/em>\/\nwhile (USART_GetFlagStatus(EVAL_COM1, USART_FLAG_TC) == RESET)\n{}<\/p>\n<p>return ch;\n}<\/p>\n<p>#ifdef\u00a0 USE_FULL_ASSERT<\/p>\n<p>\/**<\/p>\n<ul>\n<li>@brief\u00a0 Reports the name of the source file and the source line  number\n*\u00a0\u00a0 where the assert_param error has occurred.<\/li>\n<li>@param\u00a0 file: pointer to the source file name<\/li>\n<li>@param\u00a0 line: assert_param error line source number<\/li>\n<li>@retval None\n<em>\/\nvoid assert_failed(uint8_t<\/em> file, uint32_t line)\n{\n\/<em> User can add his own implementation to report the file name and  line number,\nex: printf(&#8220;Wrong parameters value: file %s on line %drn&#8221;, file,  line) <\/em>\/<\/li>\n<\/ul>\n<p>\/<em> Infinite loop <\/em>\/\nwhile (1)\n{\n}\n}\n#endif<\/p>\n<p>\/**<\/p>\n<ul>\n<li>@}\n*\/\n\u4e0a\u9762\u8fd9\u4e9b\u4ee3\u7801\u90fd\u662f\u8981\u5220\u9664\u6389\u7684\uff0c\u5220\u9664\u4ee3\u7801\u540e\u8fdb\u884c\u6700\u540e\u4e00\u6b65\u8bbe\u7f6e<\/li>\n<\/ul>\n<img decoding=\"async\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2010\/05\/010837xAf.png\" alt=\"\" \/>\n<img decoding=\"async\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2010\/05\/010841eoB.png\" alt=\"\" \/>\n<img decoding=\"async\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2010\/05\/0108445cW.png\" alt=\"\" \/>\n<img decoding=\"async\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2010\/05\/010852Xc7.png\" alt=\"\" \/>\n<p>\u5b8c\u6210\u540e\u56de\u5230KEIL\u4e3b\u754c\u9762\uff0c\u6211\u4eec\u770b\u5230\u5269\u4e0b\u7684\u4ee3\u7801\u53ea\u6709\u5f88\u5c11\uff0c\u5982\u679c\u4f60\u4e0d\u786e\u5b9a\u5230\u5e95\u8981\u5220\u9664\u54ea\u4e9b\u4ee3\u7801\uff0c\u53ef\u4ee5\u628a\u5269\u4e0b\u7684\u4ee3\u7801\u590d\u5236\u5230MAIN.C\u6587\u4ef6\u4e2d\uff0c\u4e0b\u9762\u662f\u6587\u4ef6 \u5269\u4e0b\u7684\u4ee3\u7801\uff1a<\/p>\n<p>\/**<\/p>\n<hr \/>\n<ul>\n<li>@file\u00a0\u00a0\u00a0 Project\/Template\/main.c<\/li>\n<li>@author\u00a0 MCD Application Team<\/li>\n<li>@version V3.1.2<\/li>\n<li>@date\u00a0\u00a0\u00a0 09\/28\/2009<\/li>\n<li>@brief\u00a0\u00a0 Main program body\n<hr \/><\/li>\n<li>@copy<\/li>\n<li>\n<\/li>\n<li>THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING  CUSTOMERS<\/li>\n<li>WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM  TO SAVE<\/li>\n<li>TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR  ANY<\/li>\n<li>DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS  ARISING<\/li>\n<li>FROM THE CONTENT OF SUCH FIRMWARE AND\/OR THE USE MADE BY CUSTOMERS  OF THE<\/li>\n<li>CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR  PRODUCTS.<\/li>\n<li>\n<\/li>\n<li><h2><center>&copy; COPYRIGHT 2009  STMicroelectronics<\/center><\/h2>\n*\/<\/li>\n<\/ul>\n<p>\/<em> Includes  &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<\/em>\/\n#include &#8220;stm32f10x.h&#8221;<\/p>\n<p>\/** @addtogroup Template_Project<\/p>\n<ul>\n<li>@{\n*\/<\/li>\n<\/ul>\n<p>\/<em> Private functions  &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<\/em>\/<\/p>\n<p>\/**<\/p>\n<ul>\n<li>@brief\u00a0 Main program.<\/li>\n<li>@param\u00a0 None<\/li>\n<li>@retval None\n<em>\/\nint main(void)\n{\n\/<\/em> Setup STM32 system (clock, PLL and Flash configuration) *\/\nSystemInit();<\/li>\n<\/ul>\n<p>\/<em> Add your application code here\n<\/em>\/<\/p>\n<p>\/<em> Infinite loop <\/em>\/\nwhile (1)\n{\n}\n}<\/p>\n<p>\/<strong><strong>*<strong><strong><strong>**<\/strong><\/strong><\/strong> (C) COPYRIGHT 2009 STMicroelectronics *<\/strong><\/strong>END OF  FILE****\/<\/p>\n<p>\u597d\u4e86\uff0c\u6700\u5173\u952e\u7684\u65f6\u523b\u4e86\uff0c\u7f16\u8bd1\u4e00\u4e0b\u770b\u662f\u5426\u6210\u529f\uff1f<\/p>\n<img decoding=\"async\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2010\/05\/010910Lny.png\" alt=\"\" \/>\n<p>0\u4e2a\u9519\u8bef\uff0c0\u4e2a\u8b66\u544a\uff0cMDK\u7684\u8bbe\u7f6e\u57fa\u672c\u5c31\u5b8c\u6210\u4e86\uff0c\u4e0b\u4e00\u6b65\u8bbe\u7f6eECLIPSE<\/p>\n<p>\u6253\u5f00ECLIPSE\uff0c\u6253\u5f00\u540e\u4f1a\u63d0\u793a\u9009\u62e9\u5de5\u4f5c\u76ee\u5f55\uff0c\u6211\u4eec\u8bbe\u7f6e\u4e3aC:STM32F10x_StdPeriph_Lib_V3.1.2 Project\uff0c\u5982\u56fe\uff1a<\/p>\n<img decoding=\"async\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2010\/05\/010913YwB.png\" alt=\"\" \/>\n<p>\u7b2c\u4e00\u6b21\u8fd0\u884cECLIPSE\u4f1a\u663e\u793a\u6b22\u8fce\u754c\u9762\uff0c\u5173\u95ed\u5b83\uff0c\u521b\u5efa\u4e00\u4e2aC\u9879\u76ee<\/p>\n<img decoding=\"async\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2010\/05\/010918v2S.png\" alt=\"\" \/>\n<img decoding=\"async\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2010\/05\/0109208IW.png\" alt=\"\" \/>\n<p>\u76f4\u63a5\u70b9\u51fbFinish\uff0c\u7136\u540e\u5bf9\u9879\u76ee\u8fdb\u884c\u4e00\u4e9b\u8bbe\u7f6e<\/p>\n<p>\u9996\u5148\u8bbe\u7f6e\u7cfb\u7edf\u7684\u73af\u5883\u53d8\u91cf\uff0c\u5728 \u201d\u6211\u7684\u7535\u8111\u201c \u53f3\u952e \u201d\u5c5e\u6027\u201c \u300b\u201c\u9ad8\u7ea7\u201d\u3000\u300b\u3000\u201c\u73af\u5883\u53d8\u91cf\u201d\u3000\u300b\u3000\u65b0\u5efa\u540d\u4e3a\uff1aFWLIB_PATH\n\u503c\u4e3a\uff1a..;C:STM32F10x_StdPeriph_Lib_V3.1.2LibrariesCMSISCoreCM3;C: STM32F10x_StdPeriph_Lib_V3.1.2LibrariesSTM32F10x_StdPeriph_Driverinc;C:STM32F10x_StdPeriph_Lib_V3.1.2UtilitiesSTM32_EVAL;C:STM32F10x_StdPeriph_Lib_V3.1.2UtilitiesSTM32_EVALSTM3210C_EVAL;C:KeilARMINC;C:KeilARMINCSTSTM32F10x;C:KeilARMRV31inc<\/p>\n<img decoding=\"async\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2010\/05\/010926Mof.png\" alt=\"\" \/>\n<p>\u6dfb\u52a0\u5b8c\u73af\u5883\u53d8\u91cf\uff0c\u6211\u4eec\u9700\u8981\u91cd\u542f\u4e00\u4e0bECLIPSE\uff0c\u4e0d\u7136\u4ed6\u4f1a\u627e\u4e0d\u5230\u65b0\u589e\u52a0\u7684\u73af\u5883\u53d8\u91cf\uff0c\u91cd\u542f\u540e\u8fdb\u884c\u4e0b\u5217\u64cd\u4f5c\uff1a<\/p>\n<img decoding=\"async\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2010\/05\/0109369mT.png\" alt=\"\" \/>\n<img decoding=\"async\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2010\/05\/011004QsF.png\" alt=\"\" \/>\n<p>\u70b9\u51fb\u5b8c\u6210\u540e\u4f1a\u63d0\u793a\u662f\u5426\u91cd\u65b0\u7f16\u8bd1\uff0c\u70b9\u51fb\u201c\u5426\u201d<\/p>\n<p>\u6700\u540e\u4e00\u6b65\u5c31\u662f\u7528KEILMAKE\u6765\u914d\u7f6eECLIPSE\u7684\u7f16\u8bd1\u73af\u5883\u4e86\u3002<\/p>\n<p>\u9996\u5148\u5efa\u7acb\u9879\u76ee\u6a21\u677f\uff0c\u7528\u8bb0\u4e8b\u672c\u6253\u5f00C:STM32F10x_StdPeriph_Lib_V3.1.2ProjectFirstProject RVMDKProject.Uv2<\/p>\n<p>\u53ea\u9700\u8981\u628aFile 1,1\u5f00\u5934\u7684\u90a3\u4e9b\uff0c\u5728\u524d\u9762\u52a0\u4e2a# \u53f7\uff0c\u7136\u540e\u52a0\u4e0a{CodeList}\uff0c\u6700\u540e\u5c31\u662f\u53e6\u5b58\u4e3a\u4e00\u4e2a\u6a21 \u677f\uff0c\u8fd9\u91cc\u4fdd\u5b58\u4e3astm32.uv2<\/p>\n<img decoding=\"async\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2010\/05\/011007KjU.png\" alt=\"\" \/>\n<p>\u6253\u5f00ECLIPSE\u9879\u76ee\u5c5e\u6027\u5bf9\u8bdd\u6846<\/p>\n<img decoding=\"async\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2010\/05\/011010hAY.png\" alt=\"\" \/>\n<p>Build command\u8f93\u5165\uff1a[KEILMAKE\u6240\u5728\u8def\u5f84]  [uv3.exe\u6240\u5728\u8def\u5f84] [\u6a21\u677f\u6240\u5728\u8def\u5f84]\n\u5982\uff1aD:MyWorkSCMKeilMakeReleaseKeilMake  C:KeilUV3Uv3.exe  C:STM32F10x_StdPeriph_Lib_V3.1.2ProjectFirstProjectRVMDKstm32.Uv2<\/p>\n<img decoding=\"async\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2010\/05\/011021LZ9.png\" alt=\"\" \/>\n<p>Build(Incremental build)\u5185\u5bb9\u7559\u7a7a\uff0c\u8fd9\u6837\u7f16\u8bd1\u73af\u5883\u5c31\u8bbe\u7f6e\u597d\u4e86\uff0c\u6211\u4eec\u8bd5\u4e00\u4e0b\u7f16\u8bd1\u3002<\/p>\n<img decoding=\"async\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2010\/05\/011026m2c.png\" alt=\"\" \/>\n<p>\u6211\u4eec\u53ef\u4ee5\u770b\u5230\u7f16\u8bd1\u7ed3\u679c\u548c\u5728MDK\u4e0a\u7f16\u8bd1\u7684\u7ed3\u679c\u662f\u4e00\u81f4\u7684\uff0c\u5475\u5475\uff0c\u5f00\u53d1\u73af\u5883\u5230\u6b64\u7ed3\u675f\u3002<\/p>","protected":false},"excerpt":{"rendered":"<p>\u7531\u4e8e\u672c\u4eba\u6df1\u4e60\u60ef\u4e8e\u5fae\u8f6f\u7684VS\u5f00\u53d1\u73af\u5883\uff0c\u9996\u6b21\u63a5\u89e6KEIL\u7ed9\u6211\u7684\u611f\u89c9\u5c31\u662f\u96be\u7528\uff0c\u6ca1\u6709\u667a\u80fd\u63d0\u793a\u529f\u80fd\uff0c\u6211\u5b8c\u5168\u65e0\u6cd5\u63a5\u53d7\u3002\u5728\u7ecf\u8fc7N\u4e2aIDE\u7684\u8bd5\u7528\u5bf9\u6bd4\u4e0b\uff0c\u6211 \u6700\u7ec8\u9009\u62e9\u4e86ECLIPSE\u4f5c\u4e3aKEIL\u7684\u4ee3\u66ff\uff0c\u4f46\u8fd8\u662f\u9700\u8981KEI&#46;&#46;&#46;<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[39],"tags":[43,42,44,45,40,41],"class_list":["post-67","post","type-post","status-publish","format-standard","hentry","category-scm","tag-eclipse","tag-fwlib","tag-jlink","tag-keilmake","tag-mdk","tag-stm32"],"_links":{"self":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/67","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/comments?post=67"}],"version-history":[{"count":1,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/67\/revisions"}],"predecessor-version":[{"id":69,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/67\/revisions\/69"}],"wp:attachment":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/media?parent=67"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/categories?post=67"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/tags?post=67"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}