{"id":76593,"date":"2026-02-22T22:17:44","date_gmt":"2026-02-22T14:17:44","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/76593.html"},"modified":"2026-02-22T22:17:44","modified_gmt":"2026-02-22T14:17:44","slug":"stm32f429%e6%a0%87%e5%87%86%e5%a4%96%e8%ae%be%e5%ba%93%e5%b7%a5%e7%a8%8b%e6%a8%a1%e6%9d%bf%e6%9e%84%e5%bb%ba%e8%af%a6%e8%a7%a3","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/76593.html","title":{"rendered":"STM32F429\u6807\u51c6\u5916\u8bbe\u5e93\u5de5\u7a0b\u6a21\u677f\u6784\u5efa\u8be6\u89e3"},"content":{"rendered":"<h3>\n 1. \u56fa\u4ef6\u5e93\u5de5\u7a0b\u6a21\u677f\u6784\u5efa\u539f\u7406\u4e0e\u5b9e\u8df5<br \/>\n<\/h3>\n<p>\n \u5728STM32\u5d4c\u5165\u5f0f\u5f00\u53d1\u4e2d&#xff0c;\u5de5\u7a0b\u6a21\u677f\u5e76\u975e\u7b80\u5355\u7684\u6587\u4ef6\u96c6\u5408&#xff0c;\u800c\u662f\u6574\u4e2a\u8f6f\u4ef6\u67b6\u6784\u7684\u8d77\u70b9\u3002\u4e00\u4e2a\u7ed3\u6784\u6e05\u6670\u3001\u914d\u7f6e\u4e25\u8c28\u7684\u6a21\u677f&#xff0c;\u76f4\u63a5\u51b3\u5b9a\u4e86\u540e\u7eed\u9a71\u52a8\u5f00\u53d1\u3001\u5916\u8bbe\u8c03\u8bd5\u548c\u7cfb\u7edf\u96c6\u6210\u7684\u6548\u7387\u4e0e\u7a33\u5b9a\u6027\u3002\u672c\u8282\u5c06\u57fa\u4e8eSTM32F429IGT6\u5e73\u53f0&#xff0c;\u4ece\u82af\u7247\u5e95\u5c42\u786c\u4ef6\u7279\u6027\u51fa\u53d1&#xff0c;\u7cfb\u7edf\u6027\u5730\u9610\u8ff0\u6807\u51c6\u5916\u8bbe\u5e93&#xff08;Standard Peripheral Library&#xff09;\u5de5\u7a0b\u6a21\u677f\u7684\u6784\u5efa\u903b\u8f91\u3002\u6240\u6709\u64cd\u4f5c\u5747\u56f4\u7ed5\u201c\u53ef\u590d\u7528\u3001\u6613\u7ef4\u62a4\u3001\u96f6\u6b67\u4e49\u201d\u4e09\u5927\u5de5\u7a0b\u76ee\u6807\u5c55\u5f00&#xff0c;\u4e0d\u4f9d\u8d56IDE\u81ea\u52a8\u5411\u5bfc&#xff0c;\u5f3a\u8c03\u5f00\u53d1\u8005\u5bf9\u542f\u52a8\u6d41\u7a0b\u3001\u7f16\u8bd1\u8def\u5f84\u3001\u7b26\u53f7\u5b9a\u4e49\u7b49\u5173\u952e\u73af\u8282\u7684\u5b8c\u5168\u638c\u63a7\u3002\n<\/p>\n<h4>\n 1.1 \u6a21\u677f\u76ee\u5f55\u7ed3\u6784\u8bbe\u8ba1&#xff1a;\u7269\u7406\u9694\u79bb\u4e0e\u804c\u8d23\u5206\u660e<br \/>\n<\/h4>\n<p>\n \u5de5\u7a0b\u6a21\u677f\u7684\u76ee\u5f55\u7ed3\u6784\u662f\u8f6f\u4ef6\u5206\u5c42\u601d\u60f3\u7684\u7269\u7406\u6620\u5c04\u3002\u6211\u4eec\u521b\u5efa\u4ee5\u4e0b\u56db\u4e2a\u6838\u5fc3\u76ee\u5f55&#xff1a;\n<\/p>\n<ul>\n<li>\n<p>   PROJECT<\/p>\n<p>  &#xff1a;\u5b58\u653eKeil MDK\u6216IAR\u7b49IDE\u7684\u5de5\u7a0b\u914d\u7f6e\u6587\u4ef6&#xff08;<\/p>\n<p>   .uvprojx<\/p>\n<p>  \u3001<\/p>\n<p>   .uvoptx<\/p>\n<p>  &#xff09;&#xff0c;<\/p>\n<p>   \u4ec5\u5305\u542b\u9879\u76ee\u5143\u6570\u636e&#xff0c;\u4e0d\u542b\u4efb\u4f55\u6e90\u7801<\/p>\n<p>  \u3002\u8be5\u76ee\u5f55\u4e0e\u4ee3\u7801\u903b\u8f91\u5b8c\u5168\u89e3\u8026&#xff0c;\u786e\u4fdd\u540c\u4e00\u5957\u6e90\u7801\u53ef\u5728\u4e0d\u540cIDE\u95f4\u65e0\u7f1d\u8fc1\u79fb\u3002\n <\/li>\n<li>\n<p>   Libraries<\/p>\n<p>  &#xff1a;\u5b58\u653e\u6807\u51c6\u5916\u8bbe\u5e93\u7684\u7cbe\u7b80\u526f\u672c\u3002<\/p>\n<p>   \u4e25\u7981\u76f4\u63a5\u4f7f\u7528\u539f\u59cb\u5e93\u7684\u5b8c\u6574\u76ee\u5f55\u6811<\/p>\n<p>  &#xff0c;\u5fc5\u987b\u8fdb\u884c\u88c1\u526a\u3002\u539f\u59cb\u5e93\u4e2d<\/p>\n<p>   CMSIS<\/p>\n<p>  \u4e0e<\/p>\n<p>   STM32F4xx_StdPeriph_Driver<\/p>\n<p>  \u4e24\u4e2a\u6587\u4ef6\u5939\u4e3a\u5fc5\u9700&#xff0c;\u5176\u4f59\u5982<\/p>\n<p>   Project<\/p>\n<p>  \u3001<\/p>\n<p>   Utilities<\/p>\n<p>  \u7b49\u793a\u4f8b\u76ee\u5f55\u5168\u90e8\u5254\u9664\u3002\n <\/li>\n<li>\n<p>   USER<\/p>\n<p>  &#xff1a;\u7528\u6237\u4ee3\u7801\u4e13\u5c5e\u533a\u57df\u3002\u6240\u6709\u5e94\u7528\u5c42\u903b\u8f91\u3001\u5916\u8bbe\u521d\u59cb\u5316\u51fd\u6570\u3001\u4e2d\u65ad\u670d\u52a1\u7a0b\u5e8f&#xff08;ISR&#xff09;\u5747\u5728\u6b64\u7f16\u5199\u3002\u8be5\u76ee\u5f55\u4e0b\u6587\u4ef6\u7531\u5f00\u53d1\u8005\u5b8c\u5168\u638c\u63a7&#xff0c;\u662f\u5de5\u7a0b\u5dee\u5f02\u6027\u7684\u552f\u4e00\u6765\u6e90\u3002\n <\/li>\n<li>\n<p>   DOC<\/p>\n<p>  &#xff1a;\u5b58\u653e\u5de5\u7a0b\u8bf4\u660e\u6587\u6863&#xff08;<\/p>\n<p>   README.txt<\/p>\n<p>  &#xff09;\u3002\u5185\u5bb9\u9700\u660e\u786e\u6807\u6ce8&#xff1a;\u82af\u7247\u578b\u53f7&#xff08;STM32F429IGT6&#xff09;\u3001\u56fa\u4ef6\u5e93\u7248\u672c&#xff08;V1.8.0&#xff09;\u3001\u65f6\u949f\u914d\u7f6e&#xff08;HSE 8MHz&#xff0c;SYSCLK 180MHz&#xff09;\u3001\u4ee5\u53ca\u672c\u5de5\u7a0b\u7684\u6838\u5fc3\u7528\u9014&#xff08;\u5982\u201cUART\u901a\u4fe1\u57fa\u7840\u6a21\u677f\u201d&#xff09;\u3002\u6b64\u6587\u6863\u662f\u56e2\u961f\u534f\u4f5c\u4e0e\u540e\u671f\u7ef4\u62a4\u7684\u7b2c\u4e00\u624b\u8d44\u6599\u3002\n <\/li>\n<\/ul>\n<p>\n \u8fd9\u79cd\u7ed3\u6784\u7684\u8bbe\u8ba1\u54f2\u5b66\u5728\u4e8e&#xff1a;<\/p>\n<p>  Libraries<\/p>\n<p> \u63d0\u4f9b\u7a33\u5b9a\u3001\u4e0d\u53d8\u7684\u786c\u4ef6\u62bd\u8c61\u5c42&#xff1b;<\/p>\n<p>  USER<\/p>\n<p> \u627f\u8f7d\u53ef\u53d8\u3001\u8fed\u4ee3\u7684\u4e1a\u52a1\u903b\u8f91&#xff1b;<\/p>\n<p>  PROJECT<\/p>\n<p> \u7ba1\u7406\u6784\u5efa\u73af\u5883&#xff1b;<\/p>\n<p>  DOC<\/p>\n<p> \u56fa\u5316\u5de5\u7a0b\u4e0a\u4e0b\u6587\u3002\u56db\u8005\u8fb9\u754c\u6e05\u6670&#xff0c;\u675c\u7edd\u4e86\u56e0\u76ee\u5f55\u6df7\u6742\u5bfc\u81f4\u7684\u5934\u6587\u4ef6\u51b2\u7a81\u3001\u7f16\u8bd1\u8def\u5f84\u6df7\u4e71\u7b49\u9ad8\u9891\u95ee\u9898\u3002\n<\/p>\n<h4>\n 1.2 \u542f\u52a8\u6587\u4ef6\u4e0e\u7cfb\u7edf\u521d\u59cb\u5316&#xff1a;\u4ece\u590d\u4f4d\u5411\u91cf\u5230\u4e3b\u5faa\u73af\u7684\u7cbe\u786e\u63a7\u5236<br \/>\n<\/h4>\n<p>\n STM32\u4e0a\u7535\u540e&#xff0c;CPU\u6267\u884c\u7684\u7b2c\u4e00\u6761\u6307\u4ee4\u6765\u81ea\u542f\u52a8\u6587\u4ef6&#xff08;Startup File&#xff09;\u4e2d\u5b9a\u4e49\u7684\u590d\u4f4d\u5411\u91cf\u3002\u5bf9\u4e8eF429\u7cfb\u5217&#xff0c;\u5fc5\u987b\u9009\u7528<\/p>\n<p>  startup_stm32f429_439xx.s<\/p>\n<p> &#xff08;\u800c\u975eF407\u6216F411\u7248\u672c&#xff09;&#xff0c;\u56e0\u5176\u5185\u90e8\u5df2\u9488\u5bf9F429\u7279\u6709\u7684\u5916\u8bbe\u5bc4\u5b58\u5668\u5730\u5740\u7a7a\u95f4\u8fdb\u884c\u4e86\u9002\u914d\u3002\u8be5\u6587\u4ef6\u5b8c\u6210\u4e24\u9879\u4e0d\u53ef\u66ff\u4ee3\u7684\u4efb\u52a1&#xff1a;\n<\/p>\n<li>\n<p>   \u6808\u4e0e\u5806\u521d\u59cb\u5316<\/p>\n<p>  &#xff1a;\u5728<\/p>\n<p>   _estack<\/p>\n<p>  \u5904\u5efa\u7acb\u4e3b\u6808&#xff08;MSP&#xff09;&#xff0c;\u5e76\u9884\u7559<\/p>\n<p>   __initial_sp<\/p>\n<p>  \u4f5c\u4e3a\u521d\u59cb\u6808\u9876\u6307\u9488\u3002\u82e5\u5ffd\u7565\u6b64\u6b65&#xff0c;<\/p>\n<p>   main()<\/p>\n<p>  \u51fd\u6570\u4e2d\u4efb\u4f55\u5c40\u90e8\u53d8\u91cf\u6216\u51fd\u6570\u8c03\u7528\u90fd\u5c06\u5bfc\u81f4\u6808\u6307\u9488\u5931\u63a7&#xff0c;\u5f15\u53d1HardFault\u3002\n <\/li>\n<li>\n<p>    SystemInit()<\/p>\n<p>   \u8c03\u7528<\/p>\n<p>  &#xff1a;\u590d\u4f4d\u540e&#xff0c;\u542f\u52a8\u4ee3\u7801\u81ea\u52a8\u8df3\u8f6c\u81f3<\/p>\n<p>   SystemInit()<\/p>\n<p>  \u51fd\u6570\u3002\u8be5\u51fd\u6570\u4f4d\u4e8e<\/p>\n<p>   system_stm32f4xx.c<\/p>\n<p>  \u4e2d&#xff0c;\u5176\u6838\u5fc3\u4f5c\u7528\u662f\u914d\u7f6e\u7cfb\u7edf\u65f6\u949f\u6811\u3002<\/p>\n<p>   \u5173\u952e\u53c2\u6570\u5fc5\u987b\u4e0e\u786c\u4ef6\u5339\u914d<\/p>\n<p>  &#xff1a;\u82e5\u5f00\u53d1\u677f\u4f7f\u75288MHz\u5916\u90e8\u6676\u632f&#xff08;HSE&#xff09;&#xff0c;\u5219<\/p>\n<p>   RCC_OscInitTypeDef<\/p>\n<p>  \u7ed3\u6784\u4f53\u4e2d<\/p>\n<p>   OscillatorType<\/p>\n<p>  \u9700\u8bbe\u4e3a<\/p>\n<p>   RCC_OSCILLATORTYPE_HSE<\/p>\n<p>  &#xff0c;<\/p>\n<p>   HSEState<\/p>\n<p>  \u8bbe\u4e3a<\/p>\n<p>   RCC_HSE_ON<\/p>\n<p>  &#xff0c;<\/p>\n<p>   PLL.PLLSource<\/p>\n<p>  \u8bbe\u4e3a<\/p>\n<p>   RCC_PLLSOURCE_HSE<\/p>\n<p>  \u3002\u4efb\u4f55\u4e00\u9879\u914d\u7f6e\u9519\u8bef&#xff0c;\u90fd\u5c06\u5bfc\u81f4<\/p>\n<p>   SysTick<\/p>\n<p>  \u65e0\u6cd5\u5de5\u4f5c\u3001\u5916\u8bbe\u65f6\u949f\u672a\u4f7f\u80fd&#xff0c;\u6700\u7ec8\u8868\u73b0\u4e3a\u7a0b\u5e8f\u5361\u6b7b\u5728<\/p>\n<p>   SystemInit()<\/p>\n<p>  \u5185\u3002\n <\/li>\n<p>  main()<\/p>\n<p> \u51fd\u6570\u672c\u8eab\u5fc5\u987b\u5305\u542b\u4e00\u4e2a\u6c38\u4e0d\u9000\u51fa\u7684\u6b7b\u5faa\u73af&#xff08;<\/p>\n<p>  while(1)<\/p>\n<p> &#xff09;\u3002\u8fd9\u662f\u5d4c\u5165\u5f0f\u7cfb\u7edf\u7684\u94c1\u5f8b\u3002\u7a7a<\/p>\n<p>  main()<\/p>\n<p> \u51fd\u6570\u4f1a\u5bfc\u81f4\u94fe\u63a5\u5668\u5c06<\/p>\n<p>  main<\/p>\n<p> \u4e4b\u540e\u7684\u5185\u5b58\u533a\u57df\u8bef\u5224\u4e3a\u6709\u6548\u4ee3\u7801&#xff0c;PC\u6307\u9488\u5728\u6267\u884c\u5b8c<\/p>\n<p>  main<\/p>\n<p> \u540e\u7ee7\u7eed\u53d6\u6307&#xff0c;\u6700\u7ec8\u8df3\u5165\u672a\u521d\u59cb\u5316\u7684RAM\u533a\u57df&#xff0c;\u89e6\u53d1\u603b\u7ebf\u9519\u8bef&#xff08;BusFault&#xff09;\u3002\u4e00\u4e2a\u5178\u578b\u7684<\/p>\n<p>  main()<\/p>\n<p> \u9aa8\u67b6\u5982\u4e0b&#xff1a;\n<\/p>\n<p>int main(void)<br \/>\n{<br \/>\n    \/* \u7cfb\u7edf\u65f6\u949f\u521d\u59cb\u5316&#xff08;\u7531SystemInit()\u5b8c\u6210&#xff09; *\/<br \/>\n    \/* \u5916\u8bbeGPIO\u3001USART\u7b49\u521d\u59cb\u5316 *\/<br \/>\n    \/* \u5e94\u7528\u903b\u8f91 *\/<\/p>\n<p>    while (1)<br \/>\n    {<br \/>\n        \/* \u4e3b\u4efb\u52a1\u5faa\u73af&#xff1a;\u8f6e\u8be2\u3001\u72b6\u6001\u673a\u3001\u4f4e\u529f\u8017\u7b49\u5f85\u7b49 *\/<br \/>\n    }<br \/>\n}<\/p>\n<p>\n \u6b64\u7ed3\u6784\u786e\u4fdd\u4e86\u7a0b\u5e8f\u751f\u547d\u5468\u671f\u7684\u786e\u5b9a\u6027&#xff0c;\u4e3a\u540e\u7eed\u5f15\u5165RTOS\u6216\u4e8b\u4ef6\u9a71\u52a8\u6a21\u578b\u5960\u5b9a\u4e86\u57fa\u7840\u3002\n<\/p>\n<h4>\n 1.3 \u5934\u6587\u4ef6\u5305\u542b\u8def\u5f84\u914d\u7f6e&#xff1a;\u7f16\u8bd1\u5668\u89c6\u89d2\u7684\u7b26\u53f7\u89e3\u6790<br \/>\n<\/h4>\n<p>\n Keil MDK\u7684\u7f16\u8bd1\u9519\u8bef&#xff08;\u5982<\/p>\n<p>  undefined identifier &#039;GPIOA&#039;<\/p>\n<p> &#xff09;90%\u6e90\u4e8e\u5934\u6587\u4ef6\u8def\u5f84&#xff08;Include Path&#xff09;\u914d\u7f6e\u7f3a\u5931\u3002\u7f16\u8bd1\u5668\u5728\u9884\u5904\u7406\u9636\u6bb5\u9700\u8981\u627e\u5230<\/p>\n<p>  stm32f4xx.h<\/p>\n<p> \u4ee5\u58f0\u660e\u6240\u6709\u5bc4\u5b58\u5668\u5b8f&#xff0c;\u4f46\u8be5\u6587\u4ef6<\/p>\n<p>  \u7edd\u4e0d\u80fd<\/p>\n<p> \u6765\u81eaKeil\u5b89\u88c5\u76ee\u5f55\u4e0b\u7684CMSIS\u5305&#xff0c;\u800c\u5fc5\u987b\u6765\u81ea\u4f60\u624b\u52a8\u62f7\u8d1d\u7684<\/p>\n<p>  Libraries\/CMSIS\/Device\/ST\/STM32F4xx\/Include\/<\/p>\n<p> \u8def\u5f84\u3002\u539f\u56e0\u5728\u4e8e&#xff1a;Keil\u81ea\u5e26\u7684CMSIS\u5934\u6587\u4ef6\u9ed8\u8ba4\u542f\u7528HAL\u5e93\u5b8f\u5b9a\u4e49&#xff0c;\u4e0e\u6807\u51c6\u5916\u8bbe\u5e93\u7684\u7b26\u53f7\u4f53\u7cfb\u5b58\u5728\u6839\u672c\u51b2\u7a81\u3002\n<\/p>\n<p>\n \u6b63\u786e\u7684\u5305\u542b\u8def\u5f84\u5e94\u4e25\u683c\u6309\u4ee5\u4e0b\u987a\u5e8f\u6dfb\u52a0&#xff08;\u987a\u5e8f\u51b3\u5b9a\u5b8f\u5b9a\u4e49\u4f18\u5148\u7ea7&#xff09;&#xff1a;\n<\/p>\n<table>\n<tr>\n    \u8def\u5f84<\/p>\n<p>    \u4f5c\u7528<\/p>\n<p>    \u5fc5\u987b\u6027<br \/>\n   <\/tr>\n<tbody>\n<tr>\n<td>\n<p>     .\\\\USER\\\\<\/p>\n<\/td>\n<td>\n    \u7528\u6237\u81ea\u5b9a\u4e49\u5934\u6587\u4ef6&#xff08;\u5982<\/p>\n<p>     led.h<\/p>\n<p>    ,<\/p>\n<p>     uart.h<\/p>\n<p>    &#xff09;\n   <\/td>\n<td>\n    \u2605\u2605\u2605\n   <\/td>\n<\/tr>\n<tr>\n<td>\n<p>     .\\\\Libraries\\\\CMSIS\\\\Device\\\\ST\\\\STM32F4xx\\\\Include\\\\<\/p>\n<\/td>\n<td>\n    \u82af\u7247\u6838\u5fc3\u5bc4\u5b58\u5668\u5b9a\u4e49&#xff08;<\/p>\n<p>     stm32f4xx.h<\/p>\n<p>    &#xff09;\n   <\/td>\n<td>\n    \u2605\u2605\u2605\n   <\/td>\n<\/tr>\n<tr>\n<td>\n<p>     .\\\\Libraries\\\\CMSIS\\\\Include\\\\<\/p>\n<\/td>\n<td>\n    CMSIS\u901a\u7528\u63a5\u53e3&#xff08;<\/p>\n<p>     core_cm4.h<\/p>\n<p>    &#xff09;\n   <\/td>\n<td>\n    \u2605\u2605\u2606\n   <\/td>\n<\/tr>\n<tr>\n<td>\n<p>     .\\\\Libraries\\\\STM32F4xx_StdPeriph_Driver\\\\inc\\\\<\/p>\n<\/td>\n<td>\n    \u6807\u51c6\u5916\u8bbe\u5e93API\u58f0\u660e&#xff08;<\/p>\n<p>     stm32f4xx_gpio.h<\/p>\n<p>    &#xff09;\n   <\/td>\n<td>\n    \u2605\u2605\u2605\n   <\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>  \u7279\u522b\u6ce8\u610f<\/p>\n<p> &#xff1a;<\/p>\n<p>  Libraries\\\\STM32F4xx_StdPeriph_Driver\\\\src\\\\<\/p>\n<p> \u76ee\u5f55\u4e0b\u7684<\/p>\n<p>  .c<\/p>\n<p> \u6587\u4ef6&#xff08;\u5982<\/p>\n<p>  stm32f4xx_gpio.c<\/p>\n<p> &#xff09;\u9700\u4f5c\u4e3a\u6e90\u6587\u4ef6\u6dfb\u52a0\u5230\u5de5\u7a0b\u7ec4\u4e2d&#xff0c;\u4f46\u5176\u5bf9\u5e94\u7684<\/p>\n<p>  .h<\/p>\n<p> \u6587\u4ef6\u8def\u5f84<\/p>\n<p>  \u4e0d\u53ef<\/p>\n<p> \u52a0\u5165Include Path\u3002\u5426\u5219&#xff0c;\u5f53<\/p>\n<p>  #include &#034;stm32f4xx_gpio.h&#034;<\/p>\n<p> \u65f6&#xff0c;\u7f16\u8bd1\u5668\u4f1a\u56e0\u8def\u5f84\u5197\u4f59\u800c\u62a5\u9519\u3002\u8fd9\u4e00\u7ec6\u8282\u4f53\u73b0\u4e86\u201c\u58f0\u660e\u4e0e\u5b9e\u73b0\u5206\u79bb\u201d\u7684\u5de5\u7a0b\u539f\u5219\u3002\n<\/p>\n<h4>\n 1.4 \u9884\u5904\u7406\u5668\u5b8f\u5b9a\u4e49&#xff1a;\u6fc0\u6d3b\u6807\u51c6\u5916\u8bbe\u5e93\u7684\u94a5\u5319<br \/>\n<\/h4>\n<p>\n \u6807\u51c6\u5916\u8bbe\u5e93\u91c7\u7528\u6761\u4ef6\u7f16\u8bd1\u673a\u5236&#xff0c;\u901a\u8fc7\u5b8f\u5b9a\u4e49\u7cbe\u786e\u63a7\u5236\u4ee3\u7801\u6bb5\u7684\u7f16\u8bd1\u3002\u82e5\u672a\u6b63\u786e\u5b9a\u4e49\u5173\u952e\u5b8f&#xff0c;\u6574\u4e2a\u5e93\u5c06\u5904\u4e8e\u201c\u4f11\u7720\u201d\u72b6\u6001&#xff0c;\u6240\u6709<\/p>\n<p>  RCC_APB2PeriphClockCmd()<\/p>\n<p> \u7b49\u51fd\u6570\u8c03\u7528\u5747\u4f1a\u88ab\u9884\u5904\u7406\u5668\u5254\u9664&#xff0c;\u5bfc\u81f4\u94fe\u63a5\u5931\u8d25&#xff08;<\/p>\n<p>  Undefined symbol<\/p>\n<p> &#xff09;\u3002\n<\/p>\n<p>\n \u5fc5\u987b\u5728Keil\u7684<\/p>\n<p>  Options for Target \u2192 C\/C&#043;&#043; \u2192 Define<\/p>\n<p> \u4e2d\u6dfb\u52a0\u4ee5\u4e0b\u4e24\u4e2a\u5b8f&#xff1a;\n<\/p>\n<ul>\n<li>\n<p>   USE_STDPERIPH_DRIVER<\/p>\n<p>  &#xff1a;<\/p>\n<p>   \u5168\u5c40\u5f00\u5173<\/p>\n<p>  \u3002\u6b64\u5b8f\u662f\u6807\u51c6\u5916\u8bbe\u5e93\u7684\u603b\u95f8\u95e8\u3002\u5176\u5b9a\u4e49\u4f4d\u7f6e\u5728<\/p>\n<p>   stm32f4xx.h<\/p>\n<p>  \u7684\u5934\u90e8&#xff0c;\u82e5\u672a\u5b9a\u4e49&#xff0c;\u8be5\u5934\u6587\u4ef6\u5c06\u8df3\u8fc7\u6240\u6709\u5916\u8bbe\u9a71\u52a8\u76f8\u5173\u7684<\/p>\n<p>   #include<\/p>\n<p>  \u8bed\u53e5&#xff0c;\u5bfc\u81f4\u540e\u7eed\u6240\u6709\u5916\u8bbe\u5934\u6587\u4ef6\u65e0\u6cd5\u88ab\u5305\u542b\u3002\n <\/li>\n<li>\n<p>   STM32F429xx<\/p>\n<p>  &#xff1a;<\/p>\n<p>   \u82af\u7247\u578b\u53f7\u6807\u8bc6<\/p>\n<p>  \u3002\u6b64\u5b8f\u544a\u77e5\u5e93\u5f53\u524d\u76ee\u6807\u82af\u7247\u4e3aF429\u7cfb\u5217\u3002\u5e93\u5185\u90e8\u901a\u8fc7<\/p>\n<p>   #if defined(STM32F429xx)<\/p>\n<p>  \u5224\u65ad&#xff0c;\u4ec5\u7f16\u8bd1F429\u7279\u6709\u7684\u5916\u8bbe&#xff08;\u5982FMC\u3001LTDC\u3001SDIO&#xff09;\u9a71\u52a8\u4ee3\u7801&#xff0c;\u5c4f\u853dF407\u7b49\u4e0d\u517c\u5bb9\u5916\u8bbe&#xff08;\u5982FSMC&#xff09;\u7684\u58f0\u660e&#xff0c;\u4ece\u6839\u672c\u4e0a\u907f\u514d\u7b26\u53f7\u91cd\u5b9a\u4e49\u51b2\u7a81\u3002\n <\/li>\n<\/ul>\n<p>\n \u8fd9\u4e24\u4e2a\u5b8f\u7684\u5b9a\u4e49\u987a\u5e8f\u65e0\u5173\u7d27\u8981&#xff0c;\u4f46\u7f3a\u4e00\u4e0d\u53ef\u3002\u5b9e\u8df5\u4e2d&#xff0c;\u5e38\u6709\u5f00\u53d1\u8005\u4ec5\u5b9a\u4e49<\/p>\n<p>  USE_STDPERIPH_DRIVER<\/p>\n<p> \u800c\u9057\u6f0f<\/p>\n<p>  STM32F429xx<\/p>\n<p> &#xff0c;\u5bfc\u81f4\u7f16\u8bd1\u5668\u5728<\/p>\n<p>  stm32f4xx.h<\/p>\n<p> \u4e2d\u627e\u4e0d\u5230<\/p>\n<p>  FMC_Bank1_R<\/p>\n<p> \u7b49F429\u7279\u6709\u5bc4\u5b58\u5668\u5b9a\u4e49&#xff0c;\u4ece\u800c\u62a5\u51fa\u5927\u91cf<\/p>\n<p>  undefined identifier<\/p>\n<p> \u9519\u8bef\u3002\u6b64\u65f6&#xff0c;\u9519\u8bef\u6839\u6e90\u5e76\u975e\u4ee3\u7801\u672c\u8eab&#xff0c;\u800c\u662f\u5b8f\u5b9a\u4e49\u7684\u7f3a\u5931\u3002\n<\/p>\n<h4>\n 1.5 \u5916\u8bbe\u9a71\u52a8\u6587\u4ef6\u88c1\u526a&#xff1a;\u6d88\u9664\u9690\u6027\u51b2\u7a81\u7684\u5fc5\u8981\u6b65\u9aa4<br \/>\n<\/h4>\n<p>\n \u6807\u51c6\u5916\u8bbe\u5e93\u4e3a\u517c\u5bb9\u5168\u7cfb\u5217F4\u82af\u7247&#xff0c;\u5176<\/p>\n<p>  STM32F4xx_StdPeriph_Driver\/src\/<\/p>\n<p> \u76ee\u5f55\u4e0b\u5305\u542b\u4e86\u6240\u6709\u53ef\u80fd\u5916\u8bbe\u7684<\/p>\n<p>  .c<\/p>\n<p> \u6587\u4ef6\u3002\u7136\u800c&#xff0c;F429\u4e0eF407\u7684\u786c\u4ef6\u5dee\u5f02\u662f\u5ba2\u89c2\u5b58\u5728\u7684\u2014\u2014F429\u62e5\u6709FMC&#xff08;Flexible Memory Controller&#xff09;&#xff0c;\u800cF407\u4ec5\u6709FSMC&#xff08;Flexible Static Memory Controller&#xff09;\u3002\u4e24\u8005\u867d\u529f\u80fd\u76f8\u4f3c&#xff0c;\u4f46\u5bc4\u5b58\u5668\u5730\u5740\u3001\u4f4d\u57df\u5b9a\u4e49\u5b8c\u5168\u4e0d\u540c\u3002\u82e5\u5c06<\/p>\n<p>  stm32f4xx_fsmc.c<\/p>\n<p> \u548c<\/p>\n<p>  stm32f4xx_fmc.c<\/p>\n<p> \u540c\u65f6\u52a0\u5165\u5de5\u7a0b&#xff0c;\u94fe\u63a5\u5668\u4f1a\u56e0<\/p>\n<p>  FMC_Bank1_WriteOperationConfig()<\/p>\n<p> \u4e0e<\/p>\n<p>  FSMC_NORSRAM_Init()<\/p>\n<p> \u7b49\u540c\u540d\u51fd\u6570\u7b26\u53f7\u51b2\u7a81\u800c\u62a5\u9519\u3002\n<\/p>\n<p>\n \u56e0\u6b64&#xff0c;<\/p>\n<p>  \u5fc5\u987b\u8fdb\u884c\u7cbe\u51c6\u88c1\u526a<\/p>\n<p> &#xff1a;<\/p>\n<p> &#8211; \u5bf9\u4e8eF429IGT6&#xff0c;\u4fdd\u7559<\/p>\n<p>  stm32f4xx_fmc.c<\/p>\n<p> \u3001<\/p>\n<p>  stm32f4xx_sdio.c<\/p>\n<p> \u3001<\/p>\n<p>  stm32f4xx_ltdc.c<\/p>\n<p> &#xff08;LCD-TFT\u63a7\u5236\u5668&#xff09;\u7b49F429\u7279\u6709\u5916\u8bbe\u9a71\u52a8\u3002<\/p>\n<p> &#8211;<\/p>\n<p>  \u5f7b\u5e95\u79fb\u9664<\/p>\n<p>  stm32f4xx_fsmc.c<\/p>\n<p> &#xff08;F407\u4e13\u5c5e&#xff09;\u3001<\/p>\n<p>  stm32f4xx_can.c<\/p>\n<p> &#xff08;\u82e5\u672c\u5de5\u7a0b\u65e0\u9700CAN&#xff09;\u3001<\/p>\n<p>  stm32f4xx_i2s.c<\/p>\n<p> &#xff08;\u82e5\u65e0\u97f3\u9891\u9700\u6c42&#xff09;\u7b49\u975e\u5fc5\u9700\u6587\u4ef6\u3002<\/p>\n<p> &#8211; \u5bf9\u4e8e<\/p>\n<p>  stm32f4xx_it.c<\/p>\n<p> &#xff08;\u4e2d\u65ad\u670d\u52a1\u7a0b\u5e8f\u6a21\u677f&#xff09;&#xff0c;<\/p>\n<p>  \u5fc5\u987b\u6e05\u7a7a\u6240\u6709<\/p>\n<p>   __weak<\/p>\n<p>  \u51fd\u6570\u4f53<\/p>\n<p> \u3002\u8be5\u6587\u4ef6\u4ec5\u63d0\u4f9b\u51fd\u6570\u539f\u578b&#xff08;\u5982<\/p>\n<p>  void NMI_Handler(void) { }<\/p>\n<p> &#xff09;&#xff0c;\u5177\u4f53\u5b9e\u73b0\u7531\u7528\u6237\u5728<\/p>\n<p>  USER<\/p>\n<p> \u76ee\u5f55\u4e0b\u7f16\u5199\u3002\u82e5\u4fdd\u7559\u5b98\u65b9\u793a\u4f8b\u4e2d\u7684<\/p>\n<p>  while(1);<\/p>\n<p> &#xff0c;\u4f1a\u5bfc\u81f4\u4e2d\u65ad\u5411\u91cf\u8868\u6307\u5411\u65e0\u6548\u4ee3\u7801&#xff0c;\u4e00\u65e6\u53d1\u751fNMI&#xff0c;\u7cfb\u7edf\u7acb\u5373\u9501\u6b7b\u3002\n<\/p>\n<p>\n \u6b64\u88c1\u526a\u8fc7\u7a0b\u4e0d\u662f\u7b80\u5355\u7684\u201c\u5220\u6587\u4ef6\u201d&#xff0c;\u800c\u662f\u5bf9\u82af\u7247\u786c\u4ef6\u8d44\u6e90\u7684\u4e00\u6b21\u4e3b\u52a8\u58f0\u660e&#xff1a;\u544a\u8bc9\u7f16\u8bd1\u5668&#xff0c;\u201c\u6211\u7684\u76ee\u6807\u677f\u53ea\u4f7f\u7528\u8fd9\u4e9b\u5916\u8bbe\u201d&#xff0c;\u4ece\u800c\u751f\u6210\u4f53\u79ef\u66f4\u5c0f\u3001\u8fd0\u884c\u66f4\u53ef\u9760\u7684\u56fa\u4ef6\u3002\n<\/p>\n<h3>\n 2. \u5de5\u7a0b\u6784\u5efa\u4e0e\u8c03\u8bd5\u73af\u5883\u914d\u7f6e<br \/>\n<\/h3>\n<p>\n \u6a21\u677f\u7684\u6784\u5efa\u5b8c\u6210\u4ec5\u662f\u7b2c\u4e00\u6b65&#xff0c;\u80fd\u5426\u6210\u529f\u7f16\u8bd1\u3001\u4e0b\u8f7d\u4e0e\u8c03\u8bd5&#xff0c;\u53d6\u51b3\u4e8e\u6784\u5efa\u5de5\u5177\u94fe\u4e0e\u8c03\u8bd5\u5668\u7684\u534f\u540c\u914d\u7f6e\u3002\u672c\u8282\u805a\u7126\u4e8eKeil MDK\u73af\u5883\u4e0b&#xff0c;\u5982\u4f55\u89c4\u907f\u65b0\u624b\u6700\u6613\u8e29\u7684\u201c\u7ea2\u5b57\u6ee1\u5c4f\u201d\u9677\u9631&#xff0c;\u5e76\u5efa\u7acb\u4e00\u5957\u5065\u58ee\u3001\u53ef\u590d\u73b0\u7684\u8c03\u8bd5\u73af\u5883\u3002\n<\/p>\n<h4>\n 2.1 \u7f16\u8bd1\u9519\u8bef\u8bca\u65ad&#xff1a;\u4ece\u73b0\u8c61\u5230\u6839\u6e90\u7684\u4e09\u5c42\u5206\u6790\u6cd5<br \/>\n<\/h4>\n<p>\n \u5f53\u9996\u6b21\u7f16\u8bd1\u6a21\u677f\u65f6&#xff0c;\u51fa\u73b0\u6570\u5341\u4e2a<\/p>\n<p>  undefined symbol<\/p>\n<p> \u9519\u8bef\u662f\u6b63\u5e38\u73b0\u8c61\u3002\u6b64\u65f6\u5207\u5fcc\u76f2\u76ee\u641c\u7d22\u89e3\u51b3\u65b9\u6848&#xff0c;\u800c\u5e94\u91c7\u7528\u7cfb\u7edf\u6027\u6392\u67e5&#xff1a;\n<\/p>\n<ul>\n<li>\n<p>    \u7b2c\u4e00\u5c42&#xff1a;\u68c0\u67e5\u5934\u6587\u4ef6\u8def\u5f84&#xff08;Include Path&#xff09;<\/p>\n<p>   \u6253\u5f00\u4efb\u610f\u4e00\u4e2a\u62a5\u9519\u7684<\/p>\n<p>    .c<\/p>\n<p>   \u6587\u4ef6&#xff08;\u5982<\/p>\n<p>    main.c<\/p>\n<p>   &#xff09;&#xff0c;\u53f3\u952e\u9009\u62e9<\/p>\n<p>    Open #include file &#039;stm32f4xx.h&#039;<\/p>\n<p>   \u3002\u82e5\u5f39\u51fa\u201cFile not found\u201d&#xff0c;\u8bc1\u660eInclude Path\u914d\u7f6e\u9519\u8bef\u3002\u91cd\u70b9\u6838\u67e5\u8def\u5f84\u662f\u5426\u62fc\u5199\u6b63\u786e&#xff08;\u5982<\/p>\n<p>    STM32F4xx<\/p>\n<p>   \u4e0d\u80fd\u5199\u6210<\/p>\n<p>    STM32F4XX<\/p>\n<p>   &#xff09;&#xff0c;\u659c\u6760\u65b9\u5411\u662f\u5426\u4e3aWindows\u6807\u51c6\u7684<\/p>\n<p>    \\\\<\/p>\n<p>   &#xff08;Keil\u5bf9<\/p>\n<p>    \/<\/p>\n<p>   \u652f\u6301\u4e0d\u7a33\u5b9a&#xff09;\u3002\n  <\/p>\n<\/li>\n<li>\n<p>    \u7b2c\u4e8c\u5c42&#xff1a;\u9a8c\u8bc1\u9884\u5904\u7406\u5668\u5b8f&#xff08;Define&#xff09;<\/p>\n<p>   \u5728<\/p>\n<p>    main.c<\/p>\n<p>   \u4e2d\u4e34\u65f6\u6dfb\u52a0\u4e00\u884c&#xff1a;<\/p>\n<p>    #error &#034;TEST_MACRO&#034;<\/p>\n<p>   &#xff0c;\u91cd\u65b0\u7f16\u8bd1\u3002\u82e5\u770b\u5230\u6b64\u9519\u8bef&#xff0c;\u8bc1\u660e\u7f16\u8bd1\u5668\u5df2\u8bfb\u53d6<\/p>\n<p>    main.c<\/p>\n<p>   &#xff1b;\u82e5\u65e0\u53cd\u5e94&#xff0c;\u5219<\/p>\n<p>    main.c<\/p>\n<p>   \u672a\u88ab\u52a0\u5165\u5de5\u7a0b\u7ec4\u3002\u63a5\u7740&#xff0c;\u5728<\/p>\n<p>    stm32f4xx.h<\/p>\n<p>   \u5f00\u5934\u6dfb\u52a0<\/p>\n<p>    #error &#034;STM32F429xx_DEFINED&#034;<\/p>\n<p>   &#xff0c;\u82e5\u9519\u8bef\u672a\u89e6\u53d1&#xff0c;\u8bc1\u660e<\/p>\n<p>    STM32F429xx<\/p>\n<p>   \u5b8f\u672a\u751f\u6548&#xff0c;\u9700\u8fd4\u56de<\/p>\n<p>    Options for Target<\/p>\n<p>   \u786e\u8ba4\u5b9a\u4e49\u3002\n  <\/p>\n<\/li>\n<li>\n<p>    \u7b2c\u4e09\u5c42&#xff1a;\u5ba1\u67e5\u6e90\u6587\u4ef6\u6dfb\u52a0&#xff08;Add Group\/File&#xff09;<\/p>\n<p>   \u5728Keil\u7684<\/p>\n<p>    Project<\/p>\n<p>   \u7a97\u53e3\u4e2d&#xff0c;\u5c55\u5f00<\/p>\n<p>    Source Group 1<\/p>\n<p>   &#xff0c;\u786e\u8ba4<\/p>\n<p>    startup_stm32f429_439xx.s<\/p>\n<p>   \u3001<\/p>\n<p>    system_stm32f4xx.c<\/p>\n<p>   \u3001<\/p>\n<p>    stm32f4xx_gpio.c<\/p>\n<p>   \u7b49\u5173\u952e\u6587\u4ef6\u5747\u5b58\u5728\u4e14\u56fe\u6807\u4e3a\u6b63\u5e38&#xff08;\u975e\u7070\u8272\u7981\u7528&#xff09;\u3002\u53f3\u952e\u70b9\u51fb\u4efb\u4e00<\/p>\n<p>    .c<\/p>\n<p>   \u6587\u4ef6&#xff0c;\u9009\u62e9<\/p>\n<p>    Options for File&#8230;<\/p>\n<p>   &#xff0c;\u786e\u8ba4<\/p>\n<p>    Generate all compiler generated information<\/p>\n<p>   \u5df2\u52fe\u9009&#xff0c;\u8fd9\u80fd\u786e\u4fdd\u8c03\u8bd5\u4fe1\u606f\u5b8c\u6574\u3002\n  <\/p>\n<\/li>\n<\/ul>\n<p>\n \u901a\u8fc7\u6b64\u4e09\u5c42\u6cd5&#xff0c;95%\u7684\u7f16\u8bd1\u9519\u8bef\u53ef\u57285\u5206\u949f\u5185\u5b9a\u4f4d\u3002\u5176\u672c\u8d28\u662f\u5c06\u590d\u6742\u7684\u6784\u5efa\u6d41\u7a0b\u62c6\u89e3\u4e3a\u201c\u9884\u5904\u7406\u2192\u7f16\u8bd1\u2192\u94fe\u63a5\u201d\u4e09\u4e2a\u786e\u5b9a\u6027\u9636\u6bb5&#xff0c;\u6bcf\u4e2a\u9636\u6bb5\u90fd\u6709\u5176\u4e13\u5c5e\u7684\u6545\u969c\u6a21\u5f0f\u3002\n<\/p>\n<h4>\n 2.2 \u4eff\u771f\u5668&#xff08;Debugger&#xff09;\u914d\u7f6e&#xff1a;DAPLink\u4e0eSWD\u534f\u8bae\u7684\u6df1\u5ea6\u9002\u914d<br \/>\n<\/h4>\n<p>\n F429\u6311\u6218\u8005\u5f00\u53d1\u677f\u6807\u914d\u7684\u91ce\u706bDAPLink\u4eff\u771f\u5668&#xff0c;\u5176\u6027\u80fd\u8fdc\u8d85\u4f20\u7edfULINK2\u3002\u4f46\u53d1\u6325\u5176\u5168\u90e8\u6f5c\u529b&#xff0c;\u9700\u7cbe\u786e\u914d\u7f6eSWD&#xff08;Serial Wire Debug&#xff09;\u534f\u8bae\u53c2\u6570&#xff1a;\n<\/p>\n<ul>\n<li>\n<p>   Debug Interface<\/p>\n<p>  &#xff1a;\u5fc5\u987b\u9009\u62e9<\/p>\n<p>   SW<\/p>\n<p>  &#xff08;Serial Wire&#xff09;&#xff0c;\u800c\u975e<\/p>\n<p>   JTAG<\/p>\n<p>  \u3002F429\u7684SWD\u5f15\u811a&#xff08;SWDIO\/PB14, SWCLK\/PB13&#xff09;\u4e0eJTAG\u590d\u7528&#xff0c;\u4f46DAPLink\u56fa\u4ef6\u9ed8\u8ba4\u542f\u7528SWD&#xff0c;\u9009\u62e9JTAG\u5c06\u5bfc\u81f4\u8fde\u63a5\u5931\u8d25\u3002\n <\/li>\n<li>\n<p>   Port Configuration<\/p>\n<p>  &#xff1a;<\/p>\n<p>   SW Port<\/p>\n<p>  \u4e0b\u62c9\u83dc\u5355\u4e2d&#xff0c;<\/p>\n<p>   SWJ<\/p>\n<p>  &#xff08;SWD\/JTAG Combi&#xff09;\u4e3a\u6700\u4f73\u9009\u62e9\u3002\u5b83\u5141\u8bb8\u4eff\u771f\u5668\u5728SWD\u4e0eJTAG\u95f4\u81ea\u52a8\u534f\u5546&#xff0c;\u517c\u5bb9\u6027\u6700\u5f3a\u3002\n <\/li>\n<li>\n<p>   Clock Speed<\/p>\n<p>  &#xff1a;F429\u7684SWD\u6700\u9ad8\u652f\u630118MHz&#xff0c;\u4f46DAPLink\u5168\u901f\u7248\u786c\u4ef6\u9650\u5236\u4e3a1MHz\u3002\u82e5\u5728<\/p>\n<p>   Settings<\/p>\n<p>  \u4e2d\u8bef\u8bbe\u4e3a5MHz&#xff0c;Keil\u5c06\u9759\u9ed8\u964d\u9891\u81f31MHz&#xff0c;\u4f46\u53ef\u80fd\u5bfc\u81f4\u67d0\u4e9b\u9ad8\u901f\u8c03\u8bd5\u64cd\u4f5c&#xff08;\u5982\u5b9e\u65f6\u53d8\u91cf\u76d1\u89c6&#xff09;\u4e0d\u7a33\u5b9a\u3002<\/p>\n<p>   \u5efa\u8bae\u59cb\u7ec8\u663e\u5f0f\u8bbe\u7f6e\u4e3a1000kHz<\/p>\n<p>  &#xff0c;\u907f\u514d\u4e0d\u786e\u5b9a\u6027\u3002\n <\/li>\n<li>\n<p>   Initialization Script<\/p>\n<p>  &#xff1a;\u5728<\/p>\n<p>   Settings \u2192 Debug \u2192 Initialization File<\/p>\n<p>  \u4e2d&#xff0c;\u53ef\u6307\u5b9a\u4e00\u4e2a<\/p>\n<p>   .ini<\/p>\n<p>  \u811a\u672c\u3002\u5bf9\u4e8eF429&#xff0c;\u63a8\u8350\u6dfb\u52a0<\/p>\n<p>   LOAD %L INCREMENTAL<\/p>\n<p>  &#xff0c;\u786e\u4fdd\u6bcf\u6b21\u4e0b\u8f7d\u524d\u6e05\u9664Flash&#xff0c;\u9632\u6b62\u65e7\u4ee3\u7801\u6b8b\u7559\u5e72\u6270\u3002\n <\/li>\n<\/ul>\n<p>\n \u6700\u5173\u952e\u7684\u4e00\u6b65\u662f<\/p>\n<p>  Reset and Run<\/p>\n<p> \u9009\u9879\u3002\u52fe\u9009\u540e&#xff0c;\u7a0b\u5e8f\u4e0b\u8f7d\u5b8c\u6bd5\u5c06\u81ea\u52a8\u6267\u884c<\/p>\n<p>  SYSRESETREQ<\/p>\n<p> &#xff0c;\u65e0\u9700\u624b\u52a8\u6309\u4e0b\u5f00\u53d1\u677f\u590d\u4f4d\u952e\u3002\u6b64\u529f\u80fd\u4f9d\u8d56\u4e8e<\/p>\n<p>  system_stm32f4xx.c<\/p>\n<p> \u4e2d<\/p>\n<p>  SystemInit()<\/p>\n<p> \u5bf9<\/p>\n<p>  SCB-&gt;AIRCR<\/p>\n<p> \u5bc4\u5b58\u5668\u7684\u6b63\u786e\u914d\u7f6e\u3002\u82e5\u672a\u52fe\u9009&#xff0c;\u7a0b\u5e8f\u5c06\u505c\u7559\u5728\u590d\u4f4d\u72b6\u6001&#xff0c;\u8868\u73b0\u4e3a\u201c\u4e0b\u8f7d\u6210\u529f\u4f46\u65e0\u4efb\u4f55\u8f93\u51fa\u201d\u3002\n<\/p>\n<h4>\n 2.3 \u8f93\u51fa\u6587\u4ef6\u7ba1\u7406&#xff1a;\u6784\u5efa\u4ea7\u7269\u7684\u89c4\u8303\u5316\u7ec4\u7ec7<br \/>\n<\/h4>\n<p>\n \u4e00\u4e2a\u4e13\u4e1a\u7684\u5de5\u7a0b\u6a21\u677f&#xff0c;\u5176\u8f93\u51fa\u6587\u4ef6&#xff08;Output Files&#xff09;\u5fc5\u987b\u7ed3\u6784\u5316&#xff0c;\u4fbf\u4e8e\u7248\u672c\u63a7\u5236\u4e0e\u53d1\u5e03\u3002\u5728<\/p>\n<p>  Options for Target \u2192 Output<\/p>\n<p> \u4e2d&#xff1a;\n<\/p>\n<ul>\n<li>\n<p>   Select Folder for Objects<\/p>\n<p>  &#xff1a;\u6307\u5411<\/p>\n<p>   .\\\\OUTPUT\\\\<\/p>\n<p>  \u76ee\u5f55\u3002\u6240\u6709\u4e2d\u95f4\u6587\u4ef6&#xff08;<\/p>\n<p>   .o<\/p>\n<p>  ,<\/p>\n<p>   .d<\/p>\n<p>  ,<\/p>\n<p>   .crf<\/p>\n<p>  ,<\/p>\n<p>   .axf<\/p>\n<p>  &#xff09;\u5747\u5b58\u653e\u4e8e\u6b64&#xff0c;\u4e0e\u6e90\u7801\u76ee\u5f55\u7269\u7406\u9694\u79bb\u3002\n <\/li>\n<li>\n<p>   Name of Executable file<\/p>\n<p>  &#xff1a;\u8bbe\u4e3a<\/p>\n<p>   template.axf<\/p>\n<p>  &#xff0c;\u4fdd\u6301\u547d\u540d\u4e00\u81f4\u6027\u3002\n <\/li>\n<li>\n<p>   Browse Information<\/p>\n<p>  &#xff1a;<\/p>\n<p>   \u5fc5\u987b\u52fe\u9009<\/p>\n<p>  \u3002\u6b64\u9009\u9879\u751f\u6210<\/p>\n<p>   .browse<\/p>\n<p>  \u6587\u4ef6&#xff0c;\u4e3aKeil\u7684<\/p>\n<p>   Go To Definition<\/p>\n<p>  \u3001<\/p>\n<p>   Find All References<\/p>\n<p>  \u7b49\u9ad8\u7ea7\u5bfc\u822a\u529f\u80fd\u63d0\u4f9b\u6570\u636e\u652f\u6491&#xff0c;\u6781\u5927\u63d0\u5347\u5927\u578b\u5de5\u7a0b\u7684\u53ef\u7ef4\u62a4\u6027\u3002\n <\/li>\n<li>\n<p>   Debug Information<\/p>\n<p>  &#xff1a;\u52fe\u9009\u4ee5\u751f\u6210\u8c03\u8bd5\u7b26\u53f7&#xff0c;\u662f\u5355\u6b65\u8c03\u8bd5\u3001\u53d8\u91cf\u76d1\u89c6\u7684\u57fa\u7840\u3002\n <\/li>\n<li>\n<p>   Create HEX File<\/p>\n<p>  &#xff1a;\u6839\u636e\u9700\u6c42\u52fe\u9009\u3002HEX\u6587\u4ef6\u7528\u4e8eISP\u70e7\u5f55&#xff0c;\u800cAXF\u6587\u4ef6\u7528\u4e8eJTAG\/SWD\u5728\u7ebf\u8c03\u8bd5\u3002\n <\/li>\n<\/ul>\n<p>\n \u6b64\u5916&#xff0c;<\/p>\n<p>  Listings<\/p>\n<p> \u76ee\u5f55\u7528\u4e8e\u5b58\u653e<\/p>\n<p>  .lst<\/p>\n<p> &#xff08;\u6c47\u7f16\u5217\u8868&#xff09;\u3001<\/p>\n<p>  .map<\/p>\n<p> &#xff08;\u5185\u5b58\u6620\u5c04&#xff09;\u7b49\u8bca\u65ad\u6587\u4ef6\u3002<\/p>\n<p>  map<\/p>\n<p> \u6587\u4ef6\u662f\u5206\u6790Flash\/RAM\u5360\u7528\u3001\u5b9a\u4f4d\u7b26\u53f7\u5730\u5740\u7684\u9ec4\u91d1\u6807\u51c6\u3002\u4f8b\u5982&#xff0c;\u5f53\u9047\u5230<\/p>\n<p>  Error: L6406E: No space in execution regions<\/p>\n<p> &#xff08;\u5185\u5b58\u6ea2\u51fa&#xff09;\u65f6&#xff0c;\u6253\u5f00<\/p>\n<p>  template.map<\/p>\n<p> &#xff0c;\u67e5\u627e<\/p>\n<p>  ER_IROM1<\/p>\n<p> &#xff08;Flash&#xff09;\u548c<\/p>\n<p>  RW_IRAM1<\/p>\n<p> &#xff08;RAM&#xff09;\u7684<\/p>\n<p>  Total region size<\/p>\n<p> \u4e0e<\/p>\n<p>  Region size<\/p>\n<p> \u5bf9\u6bd4&#xff0c;\u5373\u53ef\u7cbe\u51c6\u5b9a\u4f4d\u662f\u4ee3\u7801\u8fd8\u662f\u6570\u636e\u8d85\u9650\u3002\n<\/p>\n<h3>\n 3. \u6a21\u677f\u9a8c\u8bc1\u4e0e\u5b9e\u6218&#xff1a;\u4ece\u7a7a\u5de5\u7a0b\u5230LED\u95ea\u70c1<br \/>\n<\/h3>\n<p>\n \u6784\u5efa\u5b8c\u6210\u7684\u6a21\u677f&#xff0c;\u5176\u7ec8\u6781\u4ef7\u503c\u5728\u4e8e\u5feb\u901f\u5b75\u5316\u5177\u4f53\u529f\u80fd\u3002\u672c\u8282\u4ee5\u201cGPIO\u8f93\u51fa\u63a7\u5236LED\u201d\u4e3a\u4f8b&#xff0c;\u6f14\u793a\u5982\u4f55\u5728\u6a21\u677f\u57fa\u7840\u4e0a&#xff0c;\u5b89\u5168\u3001\u9ad8\u6548\u5730\u6dfb\u52a0\u7b2c\u4e00\u884c\u529f\u80fd\u6027\u4ee3\u7801\u3002\n<\/p>\n<h4>\n 3.1 GPIO\u521d\u59cb\u5316&#xff1a;\u65f6\u949f\u4f7f\u80fd\u4e0e\u6a21\u5f0f\u914d\u7f6e\u7684\u539f\u5b50\u6027<br \/>\n<\/h4>\n<p>\n F429\u7684GPIO\u7aef\u53e3&#xff08;A-H&#xff09;\u5747\u6302\u8f7d\u4e8eAPB2\u603b\u7ebf\u4e0a\u3002\u5728\u64cd\u4f5c\u4efb\u4f55GPIO\u5f15\u811a\u524d&#xff0c;<\/p>\n<p>  \u5fc5\u987b\u5148\u4f7f\u80fd\u5176\u65f6\u949f<\/p>\n<p> &#xff0c;\u8fd9\u662f\u786c\u4ef6\u8bbe\u8ba1\u7684\u5f3a\u5236\u7ea6\u675f\u3002\u82e5\u9057\u6f0f<\/p>\n<p>  RCC_APB2PeriphClockCmd(RCC_APB2PERIPH_GPIOF, ENABLE)<\/p>\n<p> &#xff0c;\u5bf9<\/p>\n<p>  GPIOF-&gt;ODR<\/p>\n<p> \u7684\u5199\u64cd\u4f5c\u5c06\u5b8c\u5168\u65e0\u6548&#xff0c;LED\u7edd\u4e0d\u4f1a\u4eae\u8d77\u3002\n<\/p>\n<p>\n \u4ee5\u70b9\u4eaePF9&#xff08;\u5f00\u53d1\u677fLED1&#xff09;\u4e3a\u4f8b&#xff0c;\u521d\u59cb\u5316\u4ee3\u7801\u9700\u4e25\u683c\u9075\u5faa\u4ee5\u4e0b\u539f\u5b50\u6b65\u9aa4&#xff1a;\n<\/p>\n<p>void LED_GPIO_Config(void)<br \/>\n{<br \/>\n    GPIO_InitTypeDef GPIO_InitStructure;<\/p>\n<p>    \/* \u6b65\u9aa41&#xff1a;\u4f7f\u80fdGPIOF\u65f6\u949f *\/<br \/>\n    RCC_APB2PeriphClockCmd(RCC_APB2PERIPH_GPIOF, ENABLE);<\/p>\n<p>    \/* \u6b65\u9aa42&#xff1a;\u914d\u7f6ePF9\u4e3a\u63a8\u633d\u8f93\u51fa&#xff0c;50MHz\u901f\u5ea6 *\/<br \/>\n    GPIO_InitStructure.GPIO_Pin &#061; GPIO_Pin_9;<br \/>\n    GPIO_InitStructure.GPIO_Mode &#061; GPIO_Mode_OUT;          \/\/ \u63a8\u633d\u8f93\u51fa\u6a21\u5f0f<br \/>\n    GPIO_InitStructure.GPIO_OType &#061; GPIO_OType_PP;         \/\/ \u63a8\u633d\u7c7b\u578b<br \/>\n    GPIO_InitStructure.GPIO_Speed &#061; GPIO_Speed_50MHz;      \/\/ \u8f93\u51fa\u901f\u5ea6<br \/>\n    GPIO_InitStructure.GPIO_PuPd &#061; GPIO_PuPd_NOPULL;      \/\/ \u65e0\u4e0a\u4e0b\u62c9<br \/>\n    GPIO_Init(GPIOF, &amp;GPIO_InitStructure);<\/p>\n<p>    \/* \u6b65\u9aa43&#xff1a;\u521d\u59cb\u5316LED\u4e3a\u7184\u706d\u72b6\u6001&#xff08;\u9ad8\u7535\u5e73\u6709\u6548&#xff09; *\/<br \/>\n    GPIO_SetBits(GPIOF, GPIO_Pin_9);<br \/>\n}<\/p>\n<p>\n \u6b64\u5904<\/p>\n<p>  GPIO_PuPd_NOPULL<\/p>\n<p> \u7684\u8bbe\u5b9a\u81f3\u5173\u91cd\u8981\u3002F429\u7684GPIO\u5728\u590d\u4f4d\u540e\u9ed8\u8ba4\u4e3a\u6d6e\u7a7a\u8f93\u5165&#xff08;<\/p>\n<p>  GPIO_PuPd_UP<\/p>\n<p> &#xff09;&#xff0c;\u82e5\u672a\u663e\u5f0f\u914d\u7f6e\u4e3a<\/p>\n<p>  NOPULL<\/p>\n<p> &#xff0c;\u5916\u90e8\u7535\u8def\u53ef\u80fd\u901a\u8fc7LED\u7684\u5fae\u5c0f\u6f0f\u7535\u6d41\u5f62\u6210\u4e0d\u786e\u5b9a\u7535\u5e73&#xff0c;\u5bfc\u81f4LED\u5fae\u4eae\u6216\u95ea\u70c1\u3002<\/p>\n<p>  GPIO_SetBits()<\/p>\n<p> \u5728\u521d\u59cb\u5316\u540e\u7acb\u5373\u6267\u884c&#xff0c;\u786e\u4fddLED\u5904\u4e8e\u53ef\u63a7\u7684\u7184\u706d\u6001&#xff0c;\u907f\u514d\u4e0a\u7535\u77ac\u95f4\u7684\u610f\u5916\u884c\u4e3a\u3002\n<\/p>\n<h4>\n 3.2 \u4e3b\u5faa\u73af\u8bbe\u8ba1&#xff1a;\u8f6e\u8be2\u6a21\u5f0f\u4e0b\u7684\u65f6\u95f4\u7cbe\u5ea6\u8003\u91cf<br \/>\n<\/h4>\n<p>\n \u5728\u88f8\u673a\u73af\u5883\u4e0b&#xff0c;<\/p>\n<p>  main()<\/p>\n<p> \u4e2d\u7684<\/p>\n<p>  while(1)<\/p>\n<p> \u5faa\u73af\u662f\u552f\u4e00\u7684\u4efb\u52a1\u8c03\u5ea6\u5668\u3002\u5bf9\u4e8eLED\u95ea\u70c1\u8fd9\u7c7b\u7b80\u5355\u4efb\u52a1&#xff0c;\u5e38\u91c7\u7528<\/p>\n<p>  delay_ms()<\/p>\n<p> \u5ef6\u65f6\u51fd\u6570\u3002\u4f46\u6807\u51c6\u5916\u8bbe\u5e93<\/p>\n<p>  \u4e0d\u63d0\u4f9b<\/p>\n<p>  delay_ms()<\/p>\n<p> &#xff0c;\u5176<\/p>\n<p>  SysTick<\/p>\n<p> \u914d\u7f6e\u4ec5\u670d\u52a1\u4e8e<\/p>\n<p>  HAL_Delay()<\/p>\n<p> &#xff08;HAL\u5e93\u4e13\u7528&#xff09;\u3002\u56e0\u6b64&#xff0c;\u6211\u4eec\u5fc5\u987b\u81ea\u884c\u5b9e\u73b0\u4e00\u4e2a\u57fa\u4e8e<\/p>\n<p>  SysTick<\/p>\n<p> \u7684\u6beb\u79d2\u7ea7\u5ef6\u65f6\u3002\n<\/p>\n<p>\n \u9996\u5148&#xff0c;\u5728<\/p>\n<p>  system_stm32f4xx.c<\/p>\n<p> \u7684<\/p>\n<p>  SystemCoreClockUpdate()<\/p>\n<p> \u4e4b\u540e&#xff0c;\u6dfb\u52a0<\/p>\n<p>  SysTick_Config()<\/p>\n<p> \u8c03\u7528&#xff1a;\n<\/p>\n<p>\/\/ \u5728SystemCoreClockUpdate()\u8c03\u7528\u540e\u6dfb\u52a0<br \/>\nif (SysTick_Config(SystemCoreClock \/ 1000)) \/\/ 1ms\u4e2d\u65ad<br \/>\n{<br \/>\n    while (1); \/\/ \u914d\u7f6e\u5931\u8d25&#xff0c;\u6b7b\u5faa\u73af<br \/>\n}<\/p>\n<p>\n \u7136\u540e&#xff0c;\u5728<\/p>\n<p>  USER<\/p>\n<p> \u76ee\u5f55\u4e0b\u521b\u5efa<\/p>\n<p>  delay.c<\/p>\n<p> &#xff0c;\u5b9e\u73b0\u963b\u585e\u5f0f\u5ef6\u65f6&#xff1a;\n<\/p>\n<p>#include &#034;stm32f4xx.h&#034;<\/p>\n<p>static __IO uint32_t TimingDelay;<\/p>\n<p>void Delay_Ms(__IO uint32_t nTime)<br \/>\n{<br \/>\n    TimingDelay &#061; nTime;<br \/>\n    while (TimingDelay !&#061; 0);<br \/>\n}<\/p>\n<p>void SysTick_Handler(void)<br \/>\n{<br \/>\n    if (TimingDelay !&#061; 0)<br \/>\n    {<br \/>\n        TimingDelay&#8211;;<br \/>\n    }<br \/>\n}<\/p>\n<p>\n \u6700\u540e&#xff0c;\u5728<\/p>\n<p>  main()<\/p>\n<p> \u4e2d\u8c03\u7528&#xff1a;\n<\/p>\n<p>int main(void)<br \/>\n{<br \/>\n    SystemInit();       \/\/ \u521d\u59cb\u5316\u7cfb\u7edf\u65f6\u949f<br \/>\n    LED_GPIO_Config();  \/\/ \u521d\u59cb\u5316LED\u5f15\u811a<br \/>\n    Delay_Ms(1000);     \/\/ \u4e0a\u7535\u540e\u7b49\u5f851\u79d2&#xff0c;\u786e\u4fdd\u7535\u6e90\u7a33\u5b9a<\/p>\n<p>    while (1)<br \/>\n    {<br \/>\n        GPIO_ResetBits(GPIOF, GPIO_Pin_9); \/\/ LED\u4eae<br \/>\n        Delay_Ms(500);<br \/>\n        GPIO_SetBits(GPIOF, GPIO_Pin_9);   \/\/ LED\u706d<br \/>\n        Delay_Ms(500);<br \/>\n    }<br \/>\n}<\/p>\n<p>\n \u6b64\u8bbe\u8ba1\u7684\u5173\u952e\u5728\u4e8e&#xff1a;<\/p>\n<p>  SysTick_Handler<\/p>\n<p> \u662f\u552f\u4e00\u80fd\u88ab\u786c\u4ef6\u89e6\u53d1\u7684\u4e2d\u65ad&#xff0c;\u5176\u6267\u884c\u9891\u7387\u7cbe\u786e\u7b49\u4e8e\u7cfb\u7edf\u65f6\u949f\/1000\u3002<\/p>\n<p>  Delay_Ms()<\/p>\n<p> \u901a\u8fc7\u7b49\u5f85<\/p>\n<p>  TimingDelay<\/p>\n<p> \u5f52\u96f6\u6765\u5b9e\u73b0\u6beb\u79d2\u7ea7\u5ef6\u65f6&#xff0c;\u7cbe\u5ea6\u5b8c\u5168\u7531<\/p>\n<p>  SysTick<\/p>\n<p> \u786c\u4ef6\u4fdd\u8bc1&#xff0c;\u4e0d\u53d7\u4e3b\u5faa\u73af\u4e2d\u5176\u4ed6\u4ee3\u7801\u6267\u884c\u65f6\u95f4\u7684\u5f71\u54cd\u3002\n<\/p>\n<h4>\n 3.3 \u8c03\u8bd5\u6280\u5de7&#xff1a;\u5229\u7528Keil\u7684Peripherals\u89c6\u56fe\u6d1e\u5bdf\u786c\u4ef6\u72b6\u6001<br \/>\n<\/h4>\n<p>\n Keil MDK\u7684<\/p>\n<p>  Peripherals<\/p>\n<p> \u83dc\u5355\u662f\u88f8\u673a\u5f00\u53d1\u8005\u7684\u201c\u900f\u89c6\u773c\u201d\u3002\u5728\u7a0b\u5e8f\u8fd0\u884c\u65f6&#xff08;\u6682\u505c\u6216\u5168\u901f&#xff09;&#xff0c;\u6253\u5f00<\/p>\n<p>  Peripherals \u2192 GPIO \u2192 GPIOF<\/p>\n<p> &#xff0c;\u53ef\u5b9e\u65f6\u67e5\u770bPF9\u5f15\u811a\u7684<\/p>\n<p>  ODR<\/p>\n<p> &#xff08;\u8f93\u51fa\u6570\u636e\u5bc4\u5b58\u5668&#xff09;\u3001<\/p>\n<p>  IDR<\/p>\n<p> &#xff08;\u8f93\u5165\u6570\u636e\u5bc4\u5b58\u5668&#xff09;\u3001<\/p>\n<p>  BSRR<\/p>\n<p> &#xff08;\u7f6e\u4f4d\/\u590d\u4f4d\u5bc4\u5b58\u5668&#xff09;\u7b49\u5bc4\u5b58\u5668\u503c\u3002\u5f53LED\u4e0d\u4eae\u65f6&#xff0c;\u6b64\u89c6\u56fe\u80fd\u7acb\u5373\u544a\u8bc9\u4f60&#xff1a;<\/p>\n<p> &#8211;<\/p>\n<p>  ODR[9]<\/p>\n<p> \u662f\u5426\u4e3a<\/p>\n<p>  1<\/p>\n<p> &#xff1f;\u82e5\u4e3a<\/p>\n<p>  0<\/p>\n<p> &#xff0c;\u8bc1\u660e<\/p>\n<p>  GPIO_SetBits()<\/p>\n<p> \u672a\u6267\u884c\u6216\u6267\u884c\u5931\u8d25\u3002<\/p>\n<p> &#8211;<\/p>\n<p>  MODER[19:18]<\/p>\n<p> \u662f\u5426\u4e3a<\/p>\n<p>  01<\/p>\n<p> &#xff08;Output Mode&#xff09;&#xff1f;\u82e5\u4e3a<\/p>\n<p>  00<\/p>\n<p> &#xff08;Input Mode&#xff09;&#xff0c;\u8bc1\u660e<\/p>\n<p>  GPIO_Init()<\/p>\n<p> \u672a\u6b63\u786e\u914d\u7f6e\u6a21\u5f0f\u3002<\/p>\n<p> &#8211;<\/p>\n<p>  OTYPER[9]<\/p>\n<p> \u662f\u5426\u4e3a<\/p>\n<p>  0<\/p>\n<p> &#xff08;Push-Pull&#xff09;&#xff1f;\u82e5\u4e3a<\/p>\n<p>  1<\/p>\n<p> &#xff08;Open-Drain&#xff09;&#xff0c;\u800c\u5916\u90e8\u7535\u8def\u672a\u63a5\u4e0a\u62c9&#xff0c;\u5219\u8f93\u51fa\u7535\u5e73\u5c06\u4e0d\u786e\u5b9a\u3002\n<\/p>\n<p>\n \u8fd9\u79cd\u201c\u6240\u89c1\u5373\u6240\u5f97\u201d\u7684\u8c03\u8bd5\u65b9\u5f0f&#xff0c;\u6bd4\u5355\u7eaf\u770b\u4ee3\u7801\u903b\u8f91\u9ad8\u6548\u767e\u500d&#xff0c;\u662f\u6df1\u5165\u7406\u89e3STM32\u5bc4\u5b58\u5668\u6620\u5c04\u5173\u7cfb\u7684\u6700\u4f73\u5b9e\u8df5\u3002\n<\/p>\n<h3>\n 4. \u5de5\u7a0b\u6a21\u677f\u7684\u6f14\u8fdb\u4e0e\u7ef4\u62a4<br \/>\n<\/h3>\n<p>\n \u4e00\u4e2a\u9759\u6001\u7684\u6a21\u677f\u7ec8\u5c06\u88ab\u6dd8\u6c70\u3002\u5728\u771f\u5b9e\u9879\u76ee\u4e2d&#xff0c;\u6a21\u677f\u9700\u968f\u9700\u6c42\u6f14\u8fdb&#xff0c;\u5176\u7ef4\u62a4\u7b56\u7565\u76f4\u63a5\u51b3\u5b9a\u4e86\u56e2\u961f\u7684\u5f00\u53d1\u6548\u7387\u3002\n<\/p>\n<h4>\n 4.1 \u7248\u672c\u63a7\u5236\u7b56\u7565&#xff1a;Git\u4e0b\u7684\u4e8c\u8fdb\u5236\u4e0e\u6587\u672c\u5206\u79bb<br \/>\n<\/h4>\n<p>\n \u5728\u5c06\u6a21\u677f\u7eb3\u5165Git\u4ed3\u5e93\u65f6&#xff0c;\u5fc5\u987b\u533a\u5206\u5bf9\u5f85\u4e24\u7c7b\u6587\u4ef6&#xff1a;<\/p>\n<p> &#8211;<\/p>\n<p>  \u6587\u672c\u6587\u4ef6&#xff08;.c, .h, .s, .txt&#xff09;<\/p>\n<p> &#xff1a;\u7eb3\u5165<\/p>\n<p>  git add<\/p>\n<p> &#xff0c;\u4eab\u53d7\u5b8c\u6574\u7684\u7248\u672c\u5386\u53f2\u3001\u5206\u652f\u5408\u5e76\u3001\u4ee3\u7801\u5ba1\u67e5\u3002<\/p>\n<p> &#8211;<\/p>\n<p>  \u4e8c\u8fdb\u5236\u6587\u4ef6&#xff08;.uvprojx, .uvoptx, .axf, .hex, .lst&#xff09;<\/p>\n<p> &#xff1a;<\/p>\n<p>  \u5fc5\u987b\u52a0\u5165<\/p>\n<p>   .gitignore<\/p>\n<p> \u3002IDE\u914d\u7f6e\u6587\u4ef6\u5305\u542b\u7edd\u5bf9\u8def\u5f84\u3001\u672c\u5730\u8c03\u8bd5\u8bbe\u7f6e\u7b49\u673a\u5668\u76f8\u5173\u5c5e\u6027&#xff0c;\u5c06\u5176\u63d0\u4ea4\u4f1a\u5bfc\u81f4\u56e2\u961f\u6210\u5458\u95f4\u9891\u7e41\u51b2\u7a81\u3002<\/p>\n<p>  *.axf<\/p>\n<p> \u7b49\u6784\u5efa\u4ea7\u7269\u4f53\u79ef\u5e9e\u5927&#xff0c;\u4f1a\u6025\u5267\u81a8\u80c0\u4ed3\u5e93\u5927\u5c0f\u3002\n<\/p>\n<p>\n \u4e00\u4e2a\u5065\u58ee\u7684<\/p>\n<p>  .gitignore<\/p>\n<p> \u8303\u4f8b\u5982\u4e0b&#xff1a;\n<\/p>\n<p># Keil MDK<br \/>\n*.uvprojx<br \/>\n*.uvoptx<br \/>\n*.build_log.htm<br \/>\n*.htm<br \/>\n*.lnp<br \/>\n*.plg<br \/>\n*.tra<br \/>\n*.dep<\/p>\n<p># Build outputs<br \/>\nOUTPUT\/<br \/>\nLIST\/<\/p>\n<p># Temporary files<br \/>\n*.tmp<br \/>\n*.bak<\/p>\n<p>\n \u6b64\u7b56\u7565\u786e\u4fdd\u4e86\u4ed3\u5e93\u4e2d\u53ea\u4fdd\u5b58\u201c\u53ef\u518d\u751f\u201d\u7684\u6e90\u7801\u8d44\u4ea7&#xff0c;\u4efb\u4f55\u5f00\u53d1\u8005<\/p>\n<p>  git clone<\/p>\n<p> \u540e&#xff0c;\u53ea\u9700\u53cc\u51fb<\/p>\n<p>  .uvprojx<\/p>\n<p> \u5373\u53ef\u4e00\u952e\u91cd\u5efa\u5b8c\u6574\u5f00\u53d1\u73af\u5883\u3002\n<\/p>\n<h4>\n 4.2 \u81ea\u52a8\u5316\u6e05\u7406\u811a\u672c&#xff1a;<\/p>\n<p>  clean.bat<\/p>\n<p> \u7684\u5de5\u7a0b\u4ef7\u503c<br \/>\n<\/h4>\n<p>\n \u5de5\u7a0b\u6784\u5efa\u8fc7\u7a0b\u4e2d\u4ea7\u751f\u7684<\/p>\n<p>  .o<\/p>\n<p> ,<\/p>\n<p>  .d<\/p>\n<p> ,<\/p>\n<p>  .axf<\/p>\n<p> \u7b49\u6587\u4ef6&#xff0c;\u662f\u5178\u578b\u7684\u201c\u53ef\u518d\u751f\u5783\u573e\u201d\u3002\u624b\u52a8\u5220\u9664\u65e2\u7e41\u7410\u53c8\u6613\u9057\u6f0f\u3002\u4e00\u4e2a\u7b80\u5355\u7684<\/p>\n<p>  clean.bat<\/p>\n<p> \u6279\u5904\u7406\u811a\u672c\u53ef\u89e3\u51b3\u6b64\u95ee\u9898&#xff1a;\n<\/p>\n<p>&#064;echo off<br \/>\necho Cleaning build artifacts&#8230;<br \/>\nif exist OUTPUT rmdir \/s \/q OUTPUT<br \/>\nif exist LIST rmdir \/s \/q LIST<br \/>\necho Done.<br \/>\npause<\/p>\n<p>\n \u5c06\u6b64\u811a\u672c\u7f6e\u4e8e\u6a21\u677f\u6839\u76ee\u5f55&#xff0c;\u5f00\u53d1\u8005\u6bcf\u6b21\u5f00\u59cb\u65b0\u529f\u80fd\u5f00\u53d1\u524d&#xff0c;\u53cc\u51fb\u8fd0\u884c&#xff0c;\u5373\u53ef\u83b7\u5f97\u4e00\u4e2a\u201c\u5e72\u51c0\u201d\u7684\u6784\u5efa\u73af\u5883\u3002\u6b64\u4e3e\u6d88\u9664\u4e86\u56e0\u65e7\u76ee\u6807\u6587\u4ef6\u6b8b\u7559\u5bfc\u81f4\u7684\u201c\u660e\u660e\u6539\u4e86\u4ee3\u7801\u5374\u6ca1\u751f\u6548\u201d\u7684\u8be1\u5f02\u95ee\u9898&#xff0c;\u662f\u4fdd\u969c\u6784\u5efa\u53ef\u91cd\u73b0\u6027\u7684\u57fa\u77f3\u3002\n<\/p>\n<h4>\n 4.3 \u6a21\u677f\u5347\u7ea7\u8def\u5f84&#xff1a;\u4ece\u6807\u51c6\u5e93\u5230HAL\u7684\u5e73\u6ed1\u8fc7\u6e21<br \/>\n<\/h4>\n<p>\n \u968f\u7740\u9879\u76ee\u590d\u6742\u5ea6\u63d0\u5347&#xff0c;\u6807\u51c6\u5916\u8bbe\u5e93\u5728USB\u3001\u52a0\u5bc6\u3001\u56fe\u5f62\u754c\u9762\u7b49\u9886\u57df\u7684\u77ed\u677f\u65e5\u76ca\u51f8\u663e\u3002\u6b64\u65f6&#xff0c;\u6a21\u677f\u7684\u5347\u7ea7\u4e0d\u5e94\u662f\u63a8\u5012\u91cd\u6765&#xff0c;\u800c\u5e94\u662f\u6e10\u8fdb\u5f0f\u8fc1\u79fb&#xff1a;<\/p>\n<p> &#8211;<\/p>\n<p>  \u7b2c\u4e00\u6b65&#xff1a;\u5171\u5b58\u671f<\/p>\n<p> \u3002\u5728<\/p>\n<p>  Libraries<\/p>\n<p> \u76ee\u5f55\u4e0b\u5e76\u884c\u5b58\u653e<\/p>\n<p>  StdPeriph_Driver<\/p>\n<p> \u4e0e<\/p>\n<p>  HAL_Driver<\/p>\n<p> &#xff0c;\u901a\u8fc7\u6761\u4ef6\u7f16\u8bd1&#xff08;<\/p>\n<p>  #ifdef USE_HAL_DRIVER<\/p>\n<p> &#xff09;\u63a7\u5236\u4f7f\u7528\u54ea\u5957API\u3002<\/p>\n<p>  main.c<\/p>\n<p> \u4e2d\u53ef\u540c\u65f6\u8c03\u7528<\/p>\n<p>  GPIO_Init()<\/p>\n<p> \u4e0e<\/p>\n<p>  HAL_GPIO_Init()<\/p>\n<p> &#xff0c;\u9a8c\u8bc1\u4e24\u8005\u4e92\u4e0d\u5e72\u6270\u3002<\/p>\n<p> &#8211;<\/p>\n<p>  \u7b2c\u4e8c\u6b65&#xff1a;\u529f\u80fd\u8fc1\u79fb<\/p>\n<p> \u3002\u9009\u53d6\u4e00\u4e2a\u975e\u6838\u5fc3\u6a21\u5757&#xff08;\u5982\u72ec\u7acb\u6309\u952e\u626b\u63cf&#xff09;&#xff0c;\u7528HAL\u5e93\u91cd\u5199&#xff0c;\u5e76\u901a\u8fc7<\/p>\n<p>  #include &#034;stm32f4xx_hal.h&#034;<\/p>\n<p> \u5f15\u5165\u3002\u6b64\u65f6&#xff0c;<\/p>\n<p>  USE_STDPERIPH_DRIVER<\/p>\n<p> \u5b8f\u4ecd\u4fdd\u6301\u5b9a\u4e49&#xff0c;\u786e\u4fdd\u539f\u6709LED\u3001UART\u7b49\u529f\u80fd\u4e0d\u53d7\u5f71\u54cd\u3002<\/p>\n<p> &#8211;<\/p>\n<p>  \u7b2c\u4e09\u6b65&#xff1a;\u5168\u9762\u5207\u6362<\/p>\n<p> \u3002\u5f53\u6240\u6709\u6a21\u5757\u5747\u5b8c\u6210HAL\u79fb\u690d\u540e&#xff0c;\u79fb\u9664<\/p>\n<p>  USE_STDPERIPH_DRIVER<\/p>\n<p> \u5b8f\u5b9a\u4e49&#xff0c;\u5e76\u4eceInclude Path\u4e2d\u5220\u9664<\/p>\n<p>  STM32F4xx_StdPeriph_Driver\/inc\/<\/p>\n<p> \u8def\u5f84\u3002\u81f3\u6b64&#xff0c;\u6a21\u677f\u5b8c\u6210\u5411HAL\u751f\u6001\u7684\u5347\u7ea7\u3002\n<\/p>\n<p>\n \u6b64\u8def\u5f84\u907f\u514d\u4e86\u201c\u5927\u7206\u70b8\u5f0f\u91cd\u6784\u201d\u5e26\u6765\u7684\u5de8\u5927\u98ce\u9669&#xff0c;\u8ba9\u56e2\u961f\u80fd\u5728\u4fdd\u969c\u73b0\u6709\u529f\u80fd\u7a33\u5b9a\u7684\u524d\u63d0\u4e0b&#xff0c;\u9010\u6b65\u62e5\u62b1\u66f4\u73b0\u4ee3\u7684\u5f00\u53d1\u8303\u5f0f\u3002\n<\/p>\n<p>\n \u6211\u7b2c\u4e00\u6b21\u6210\u529f\u6784\u5efaF429\u56fa\u4ef6\u5e93\u6a21\u677f\u65f6&#xff0c;\u662f\u5728\u51cc\u6668\u4e09\u70b9\u3002\u5f53\u65f6\u9762\u5bf9\u6ee1\u5c4f\u7684<\/p>\n<p>  undefined symbol<\/p>\n<p> \u9519\u8bef&#xff0c;\u53cd\u590d\u6838\u5bf9\u4e86\u516b\u904d<\/p>\n<p>  STM32F429xx<\/p>\n<p> \u5b8f\u7684\u62fc\u5199&#xff0c;\u6700\u7ec8\u53d1\u73b0\u662f\u952e\u76d8\u5207\u6362\u5230\u4e86\u4e2d\u6587\u8f93\u5165\u6cd5&#xff0c;\u8f93\u5165\u4e86\u4e00\u4e2a\u5168\u89d2\u5b57\u6bcd\u3002\u8fd9\u4e2a\u6559\u8bad\u8ba9\u6211\u6df1\u523b\u4f53\u4f1a\u5230&#xff1a;\u5d4c\u5165\u5f0f\u5f00\u53d1\u7684\u6210\u8d25&#xff0c;\u5f80\u5f80\u7cfb\u4e8e\u4e00\u4e2a\u5b57\u7b26\u3001\u4e00\u4e2a\u7a7a\u683c\u3001\u4e00\u4e2a\u659c\u6760\u7684\u65b9\u5411\u3002\u6a21\u677f\u6784\u5efa\u6ca1\u6709\u6377\u5f84&#xff0c;\u552f\u6709\u5bf9\u82af\u7247\u624b\u518c\u7684\u656c\u754f\u3001\u5bf9\u7f16\u8bd1\u539f\u7406\u7684\u7406\u89e3\u3001\u4ee5\u53ca\u5bf9\u6bcf\u4e00\u884c\u914d\u7f6e\u7684\u5ba1\u614e\u3002\u5f53\u4f60\u4eb2\u624b\u6572\u4e0b\u7b2c\u4e00\u4e2a<\/p>\n<p>  GPIO_SetBits()<\/p>\n<p> \u5e76\u770b\u5230LED\u4eae\u8d77\u65f6&#xff0c;\u90a3\u675f\u5149\u4e0d\u4ec5\u6765\u81ea\u7269\u7406\u5f15\u811a&#xff0c;\u66f4\u6765\u81ea\u4f60\u5bf9\u6574\u4e2a\u5d4c\u5165\u5f0f\u4e16\u754c\u8ba4\u77e5\u8fb9\u754c\u7684\u7a81\u7834\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. \u56fa\u4ef6\u5e93\u5de5\u7a0b\u6a21\u677f\u6784\u5efa\u539f\u7406\u4e0e\u5b9e\u8df5\u5728STM32\u5d4c\u5165\u5f0f\u5f00\u53d1\u4e2d&#xff0c;\u5de5\u7a0b\u6a21\u677f\u5e76\u975e\u7b80\u5355\u7684\u6587\u4ef6\u96c6\u5408&#xff0c;\u800c\u662f\u6574\u4e2a\u8f6f\u4ef6\u67b6\u6784\u7684\u8d77\u70b9\u3002\u4e00\u4e2a\u7ed3\u6784\u6e05\u6670\u3001\u914d\u7f6e\u4e25\u8c28\u7684\u6a21\u677f&#xff0c;\u76f4\u63a5\u51b3\u5b9a\u4e86\u540e\u7eed\u9a71\u52a8\u5f00\u53d1\u3001\u5916\u8bbe\u8c03\u8bd5\u548c\u7cfb\u7edf\u96c6\u6210\u7684\u6548\u7387\u4e0e\u7a33\u5b9a\u6027\u3002\u672c\u8282\u5c06\u57fa\u4e8eSTM32F429IGT6\u5e73\u53f0&#xff0c;\u4ece\u82af\u7247\u5e95\u5c42\u786c\u4ef6\u7279\u6027\u51fa\u53d1&#xff0c;\u7cfb\u7edf\u6027\u5730\u9610\u8ff0\u6807\u51c6\u5916\u8bbe\u5e93&#xff08;Standard Peripheral Library&#xff09;\u5de5\u7a0b\u6a21\u677f\u7684\u6784\u5efa\u903b\u8f91\u3002\u6240\u6709\u64cd\u4f5c\u5747\u56f4\u7ed5\u201c<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[8256,8258,8257],"topic":[],"class_list":["post-76593","post","type-post","status-publish","format-standard","hentry","category-server","tag-stm32f429","tag-8258","tag-8257"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>STM32F429\u6807\u51c6\u5916\u8bbe\u5e93\u5de5\u7a0b\u6a21\u677f\u6784\u5efa\u8be6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/76593.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"STM32F429\u6807\u51c6\u5916\u8bbe\u5e93\u5de5\u7a0b\u6a21\u677f\u6784\u5efa\u8be6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"1. \u56fa\u4ef6\u5e93\u5de5\u7a0b\u6a21\u677f\u6784\u5efa\u539f\u7406\u4e0e\u5b9e\u8df5\u5728STM32\u5d4c\u5165\u5f0f\u5f00\u53d1\u4e2d&#xff0c;\u5de5\u7a0b\u6a21\u677f\u5e76\u975e\u7b80\u5355\u7684\u6587\u4ef6\u96c6\u5408&#xff0c;\u800c\u662f\u6574\u4e2a\u8f6f\u4ef6\u67b6\u6784\u7684\u8d77\u70b9\u3002\u4e00\u4e2a\u7ed3\u6784\u6e05\u6670\u3001\u914d\u7f6e\u4e25\u8c28\u7684\u6a21\u677f&#xff0c;\u76f4\u63a5\u51b3\u5b9a\u4e86\u540e\u7eed\u9a71\u52a8\u5f00\u53d1\u3001\u5916\u8bbe\u8c03\u8bd5\u548c\u7cfb\u7edf\u96c6\u6210\u7684\u6548\u7387\u4e0e\u7a33\u5b9a\u6027\u3002\u672c\u8282\u5c06\u57fa\u4e8eSTM32F429IGT6\u5e73\u53f0&#xff0c;\u4ece\u82af\u7247\u5e95\u5c42\u786c\u4ef6\u7279\u6027\u51fa\u53d1&#xff0c;\u7cfb\u7edf\u6027\u5730\u9610\u8ff0\u6807\u51c6\u5916\u8bbe\u5e93&#xff08;Standard Peripheral Library&#xff09;\u5de5\u7a0b\u6a21\u677f\u7684\u6784\u5efa\u903b\u8f91\u3002\u6240\u6709\u64cd\u4f5c\u5747\u56f4\u7ed5\u201c\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/76593.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-02-22T14:17:44+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/76593.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/76593.html\",\"name\":\"STM32F429\u6807\u51c6\u5916\u8bbe\u5e93\u5de5\u7a0b\u6a21\u677f\u6784\u5efa\u8be6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-02-22T14:17:44+00:00\",\"dateModified\":\"2026-02-22T14:17:44+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/76593.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/76593.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/76593.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"STM32F429\u6807\u51c6\u5916\u8bbe\u5e93\u5de5\u7a0b\u6a21\u677f\u6784\u5efa\u8be6\u89e3\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"STM32F429\u6807\u51c6\u5916\u8bbe\u5e93\u5de5\u7a0b\u6a21\u677f\u6784\u5efa\u8be6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/76593.html","og_locale":"zh_CN","og_type":"article","og_title":"STM32F429\u6807\u51c6\u5916\u8bbe\u5e93\u5de5\u7a0b\u6a21\u677f\u6784\u5efa\u8be6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"1. \u56fa\u4ef6\u5e93\u5de5\u7a0b\u6a21\u677f\u6784\u5efa\u539f\u7406\u4e0e\u5b9e\u8df5\u5728STM32\u5d4c\u5165\u5f0f\u5f00\u53d1\u4e2d&#xff0c;\u5de5\u7a0b\u6a21\u677f\u5e76\u975e\u7b80\u5355\u7684\u6587\u4ef6\u96c6\u5408&#xff0c;\u800c\u662f\u6574\u4e2a\u8f6f\u4ef6\u67b6\u6784\u7684\u8d77\u70b9\u3002\u4e00\u4e2a\u7ed3\u6784\u6e05\u6670\u3001\u914d\u7f6e\u4e25\u8c28\u7684\u6a21\u677f&#xff0c;\u76f4\u63a5\u51b3\u5b9a\u4e86\u540e\u7eed\u9a71\u52a8\u5f00\u53d1\u3001\u5916\u8bbe\u8c03\u8bd5\u548c\u7cfb\u7edf\u96c6\u6210\u7684\u6548\u7387\u4e0e\u7a33\u5b9a\u6027\u3002\u672c\u8282\u5c06\u57fa\u4e8eSTM32F429IGT6\u5e73\u53f0&#xff0c;\u4ece\u82af\u7247\u5e95\u5c42\u786c\u4ef6\u7279\u6027\u51fa\u53d1&#xff0c;\u7cfb\u7edf\u6027\u5730\u9610\u8ff0\u6807\u51c6\u5916\u8bbe\u5e93&#xff08;Standard Peripheral Library&#xff09;\u5de5\u7a0b\u6a21\u677f\u7684\u6784\u5efa\u903b\u8f91\u3002\u6240\u6709\u64cd\u4f5c\u5747\u56f4\u7ed5\u201c","og_url":"https:\/\/www.wsisp.com\/helps\/76593.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-02-22T14:17:44+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"8 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/76593.html","url":"https:\/\/www.wsisp.com\/helps\/76593.html","name":"STM32F429\u6807\u51c6\u5916\u8bbe\u5e93\u5de5\u7a0b\u6a21\u677f\u6784\u5efa\u8be6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-02-22T14:17:44+00:00","dateModified":"2026-02-22T14:17:44+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/76593.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/76593.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/76593.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"STM32F429\u6807\u51c6\u5916\u8bbe\u5e93\u5de5\u7a0b\u6a21\u677f\u6784\u5efa\u8be6\u89e3"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/76593","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=76593"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/76593\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=76593"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=76593"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=76593"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=76593"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}