{"id":92718,"date":"2026-08-10T23:32:59","date_gmt":"2026-08-10T15:32:59","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/92718.html"},"modified":"2026-08-10T23:32:59","modified_gmt":"2026-08-10T15:32:59","slug":"%e5%b5%8c%e5%85%a5%e5%bc%8f%e5%bc%80%e5%8f%91%e5%85%ad%e5%a4%a7%e5%b2%97%e4%bd%8d%ef%bc%9a%e4%bb%8e-mcu-%e8%a3%b8%e6%9c%ba%e5%88%b0-linux-%e5%86%85%e6%a0%b8","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/92718.html","title":{"rendered":"\u5d4c\u5165\u5f0f\u5f00\u53d1\u516d\u5927\u5c97\u4f4d\uff1a\u4ece MCU \u88f8\u673a\u5230 Linux \u5185\u6838"},"content":{"rendered":"<p>\u672c\u6587\u7ed3\u5408\u4e00\u4e2a RT-Thread \u5de5\u7a0b&#xff0c;\u4ecb\u7ecd\u5d4c\u5165\u5f0f\u5f00\u53d1\u4e2d\u6700\u5e38\u89c1\u7684 6 \u7c7b\u5c97\u4f4d&#xff1a;<\/p>\n<li>\n<p>MCU \u88f8\u673a\u5f00\u53d1<\/p>\n<\/li>\n<li>\n<p>MCU-RTOS \u5e94\u7528\u5f00\u53d1<\/p>\n<\/li>\n<li>\n<p>MCU \u9a71\u52a8\/BSP \u5f00\u53d1<\/p>\n<\/li>\n<li>\n<p>\u5d4c\u5165\u5f0f Linux \u5e94\u7528\u5f00\u53d1<\/p>\n<\/li>\n<li>\n<p>\u5d4c\u5165\u5f0f Linux \u9a71\u52a8\/BSP \u5f00\u53d1<\/p>\n<\/li>\n<li>\n<p>Linux \u5185\u6838\u5f00\u53d1<\/p>\n<\/li>\n<p>\u8bfb\u5b8c\u540e&#xff0c;\u5c31\u80fd\u5927\u81f4\u5224\u65ad\u8fd9\u4e2a\u5c97\u4f4d\u6bcf\u5929\u5728\u505a\u4ec0\u4e48\u3001\u9700\u8981\u5199\u54ea\u4e00\u5c42\u4ee3\u7801\u3002<\/p>\n<h2><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"431\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260810153257-6a79ef29d2288.png\" width=\"311\" \/><\/h2>\n<p>rt\u2011thread<br \/>\n\u251c\u2500 Applications    # \u7528\u6237\u5e94\u7528\u4ee3\u7801&#xff0c;main.c\u653e\u8fd9\u91cc<br \/>\n\u251c\u2500 Compiler        # \u7f16\u8bd1\u5668\u9002\u914d\u5c42<br \/>\n\u251c\u2500 DeviceDrivers   # RT\u2011Thread\u9a71\u52a8\u6846\u67b6&#xff08;\u64cd\u4f5c\u7cfb\u7edf\u81ea\u5e26&#xff09;<br \/>\n\u251c\u2500 Drivers         # BSP\u677f\u7ea7\u9a71\u52a8 drv_xxx.c\u3001board.c\u3010\u91cd\u70b9\u3011<br \/>\n\u251c\u2500 Filesystem      # \u6587\u4ef6\u7cfb\u7edf\u7ec4\u4ef6<br \/>\n\u251c\u2500 Finsh           # \u547d\u4ee4\u884cshell<br \/>\n\u251c\u2500 Kernel          # RT\u2011Thread\u5185\u6838\u6e90\u7801<br \/>\n\u251c\u2500 klibc           # RT\u2011Thread\u5c0f\u578bC\u5e93<br \/>\n\u251c\u2500 libcpu          # CPU\u67b6\u6784\u79fb\u690d\u5c42<br \/>\n\u251c\u2500 Libraries       # MCU\u539f\u5382\u5e93(GD32\/STM32\u5e93)<br \/>\n\u2514\u2500 CMSIS           # ARM\u6807\u51c6CMSIS<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"633\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260810153258-6a79ef2a1cd66.png\" width=\"180\" \/><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"629\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260810153258-6a79ef2a3e79c.png\" width=\"183\" \/><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"632\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260810153258-6a79ef2a51298.png\" width=\"284\" \/><\/p>\n<h3>\u4e00\u3001\u5148\u770b\u61c2\u8fd9\u516d\u4e2a\u5c97\u4f4d\u7684\u4f4d\u7f6e<\/h3>\n<p>\u53ef\u4ee5\u628a\u5d4c\u5165\u5f0f\u7cfb\u7edf\u4ece\u4e0a\u5230\u4e0b\u5206\u6210\u4e09\u5c42&#xff1a;<\/p>\n<p>\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500<br \/>\n\u2502  \u5e94\u7528\u5c42&#xff1a;\u5b9e\u73b0\u4ea7\u54c1\u529f\u80fd \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<br \/>\n\u2502  MCU-RTOS \u5e94\u7528\u5f00\u53d1 \/ \u5d4c\u5165\u5f0f Linux \u5e94\u7528\u5f00\u53d1 \u00a0<br \/>\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500<br \/>\n\u2502  \u64cd\u4f5c\u7cfb\u7edf\u5c42&#xff1a;\u7ba1\u7406\u7ebf\u7a0b\u3001\u5185\u5b58\u3001\u6587\u4ef6\u548c\u7f51\u7edc \u00a0 \u00a0 \u00a0<br \/>\n\u2502  RTOS \/ Linux \u5185\u6838 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<br \/>\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500<br \/>\n\u2502  \u9a71\u52a8\u4e0e BSP \u5c42&#xff1a;\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u80fd\u591f\u63a7\u5236\u5177\u4f53\u786c\u4ef6 \u00a0 \u00a0<br \/>\n\u2502  MCU \u9a71\u52a8\/BSP \/ Linux \u9a71\u52a8\/BSP \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<br \/>\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500<br \/>\n\u2502  \u786c\u4ef6\u5c42&#xff1a;MCU\u3001SoC\u3001\u4f20\u611f\u5668\u3001Flash\u3001\u7f51\u5361\u7b49 \u00a0 \u00a0 \u00a0<br \/>\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500<\/p>\n<p>MCU \u88f8\u673a\u9879\u76ee\u6ca1\u6709\u64cd\u4f5c\u7cfb\u7edf&#xff0c;\u5e94\u7528\u3001\u4efb\u52a1\u8c03\u5ea6\u548c\u786c\u4ef6\u63a7\u5236\u901a\u5e38\u90fd\u653e\u5728\u540c\u4e00\u4e2a\u56fa\u4ef6\u4e2d\u3002<\/p>\n<h3>\u4e8c\u3001\u516d\u4e2a\u5c97\u4f4d\u5feb\u901f\u5bf9\u7167<\/h3>\n<table>\n<tr>\u5c97\u4f4d\u6838\u5fc3\u5de5\u4f5c\u4e3b\u8981\u9762\u5bf9\u4ec0\u4e48\u5178\u578b\u4ee3\u7801<\/tr>\n<tbody>\n<tr>\n<td>MCU \u88f8\u673a\u5f00\u53d1<\/td>\n<td>\u4e0d\u4f7f\u7528\u64cd\u4f5c\u7cfb\u7edf&#xff0c;\u76f4\u63a5\u5b8c\u6210\u4ea7\u54c1\u529f\u80fd<\/td>\n<td>\u4e3b\u5faa\u73af\u3001\u4e2d\u65ad\u3001\u5916\u8bbe<\/td>\n<td>main.c\u3001\u72b6\u6001\u673a\u3001\u5916\u8bbe\u521d\u59cb\u5316<\/td>\n<\/tr>\n<tr>\n<td>MCU-RTOS \u5e94\u7528\u5f00\u53d1<\/td>\n<td>\u4f7f\u7528 RTOS \u7f16\u5199\u4ea7\u54c1\u4e1a\u52a1<\/td>\n<td>\u7ebf\u7a0b\u3001IPC\u3001\u8bbe\u5907 API<\/td>\n<td>\u4e1a\u52a1\u7ebf\u7a0b\u3001\u534f\u8bae\u89e3\u6790\u3001\u6570\u636e\u5904\u7406<\/td>\n<\/tr>\n<tr>\n<td>MCU \u9a71\u52a8\/BSP \u5f00\u53d1<\/td>\n<td>\u8ba9 MCU \u5916\u8bbe\u548c\u5f00\u53d1\u677f\u6b63\u5e38\u5de5\u4f5c<\/td>\n<td>\u5bc4\u5b58\u5668\u3001\u4e2d\u65ad\u3001DMA<\/td>\n<td>board.c\u3001drv_xxx.c<\/td>\n<\/tr>\n<tr>\n<td>\u5d4c\u5165\u5f0f Linux \u5e94\u7528\u5f00\u53d1<\/td>\n<td>\u5728 Linux \u7528\u6237\u7a7a\u95f4\u5b9e\u73b0\u4ea7\u54c1\u529f\u80fd<\/td>\n<td>\u8fdb\u7a0b\u3001\u7ebf\u7a0b\u3001\u6587\u4ef6\u3001\u7f51\u7edc<\/td>\n<td>C\/C&#043;&#043; \u7a0b\u5e8f\u3001Qt\u3001\u540e\u53f0\u670d\u52a1<\/td>\n<\/tr>\n<tr>\n<td>\u5d4c\u5165\u5f0f Linux \u9a71\u52a8\/BSP \u5f00\u53d1<\/td>\n<td>\u8ba9 Linux \u8bc6\u522b\u5e76\u63a7\u5236\u786c\u4ef6<\/td>\n<td>\u8bbe\u5907\u6811\u3001\u5185\u6838\u9a71\u52a8\u3001SoC<\/td>\n<td>DTS\u3001platform \u9a71\u52a8\u3001\u5185\u6838\u914d\u7f6e<\/td>\n<\/tr>\n<tr>\n<td>Linux \u5185\u6838\u5f00\u53d1<\/td>\n<td>\u4fee\u6539 Linux \u64cd\u4f5c\u7cfb\u7edf\u672c\u8eab<\/td>\n<td>\u8c03\u5ea6\u3001\u5185\u5b58\u3001\u6587\u4ef6\u7cfb\u7edf\u3001\u7f51\u7edc<\/td>\n<td>kernel\/\u3001mm\/\u3001fs\/\u3001net\/<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h3>\u4e09\u3001MCU \u88f8\u673a\u5f00\u53d1<\/h3>\n<h4>\u8fd9\u4e2a\u5c97\u4f4d\u662f\u5e72\u4ec0\u4e48\u7684<\/h4>\n<p>MCU \u88f8\u673a\u5f00\u53d1\u5c31\u662f\u5728 STM32\u3001GD32 \u7b49\u5355\u7247\u673a\u4e0a\u76f4\u63a5\u7f16\u5199\u7a0b\u5e8f&#xff0c;\u4e0d\u4f7f\u7528 RTOS\u3002<\/p>\n<p>\u7a0b\u5e8f\u4e00\u822c\u4ece main() \u5f00\u59cb&#xff0c;\u5b8c\u6210\u786c\u4ef6\u521d\u59cb\u5316\u540e\u8fdb\u5165\u4e00\u4e2a\u65e0\u9650\u5faa\u73af\u3002\u5f00\u53d1\u8005\u9700\u8981\u81ea\u5df1\u51b3\u5b9a\u6309\u952e\u4ec0\u4e48\u65f6\u5019\u626b\u63cf\u3001\u4f20\u611f\u5668\u4ec0\u4e48\u65f6\u5019\u91c7\u96c6\u3001\u4e32\u53e3\u6570\u636e\u4ec0\u4e48\u65f6\u5019\u5904\u7406\u3002<\/p>\n<p>int main(void)<br \/>\n{<br \/>\n \u00a0 \u00a0board_init();<br \/>\n \u00a0 \u00a0uart_init();<br \/>\n \u00a0 \u00a0sensor_init();<br \/>\n\u200b<br \/>\n \u00a0 \u00a0while (1)<br \/>\n \u00a0  {<br \/>\n \u00a0 \u00a0 \u00a0 \u00a0key_scan();<br \/>\n \u00a0 \u00a0 \u00a0 \u00a0sensor_read();<br \/>\n \u00a0 \u00a0 \u00a0 \u00a0protocol_process();<br \/>\n \u00a0 \u00a0 \u00a0 \u00a0control_output();<br \/>\n \u00a0  }<br \/>\n}<\/p>\n<p>\u8fd9\u91cc\u6240\u8bf4\u7684\u201c\u88f8\u673a\u201d\u662f\u6ca1\u6709\u64cd\u4f5c\u7cfb\u7edf&#xff0c;\u4e0d\u662f\u6240\u6709\u4ee3\u7801\u90fd\u5fc5\u987b\u4ece\u96f6\u5f00\u59cb\u5199\u3002\u5f00\u53d1\u4e2d\u4ecd\u7136\u53ef\u4ee5\u4f7f\u7528 CMSIS\u3001HAL \u6216\u82af\u7247\u5382\u5546\u63d0\u4f9b\u7684\u6807\u51c6\u5916\u8bbe\u5e93\u3002<\/p>\n<h4>\u5e73\u65f6\u4e3b\u8981\u505a\u4ec0\u4e48<\/h4>\n<ul>\n<li>\n<p>\u914d\u7f6e GPIO\u3001UART\u3001SPI\u3001I2C\u3001ADC\u3001PWM \u548c\u5b9a\u65f6\u5668\u3002<\/p>\n<\/li>\n<li>\n<p>\u7f16\u5199\u4e3b\u5faa\u73af\u3001\u72b6\u6001\u673a\u548c\u4ea7\u54c1\u63a7\u5236\u903b\u8f91\u3002<\/p>\n<\/li>\n<li>\n<p>\u7f16\u5199\u5e76\u5904\u7406\u5404\u79cd\u4e2d\u65ad\u3002<\/p>\n<\/li>\n<li>\n<p>\u89e3\u6790\u4e32\u53e3\u3001CAN \u6216 RS485 \u901a\u4fe1\u534f\u8bae\u3002<\/p>\n<\/li>\n<li>\n<p>\u4f7f\u7528\u793a\u6ce2\u5668\u548c\u903b\u8f91\u5206\u6790\u4eea\u68c0\u67e5\u786c\u4ef6\u65f6\u5e8f\u3002<\/p>\n<\/li>\n<li>\n<p>\u5904\u7406\u7a0b\u5e8f\u8dd1\u98de\u3001\u6570\u636e\u4e22\u5931\u548c\u54cd\u5e94\u4e0d\u53ca\u65f6\u7b49\u95ee\u9898\u3002<\/p>\n<\/li>\n<\/ul>\n<h4>\u4e3b\u8981\u5199\u4ec0\u4e48\u4ee3\u7801<\/h4>\n<p>main.c \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0  \u4e3b\u51fd\u6570\u548c\u5927\u5faa\u73af<br \/>\nboard.c \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u5f00\u53d1\u677f\u521d\u59cb\u5316<br \/>\nxxx_it.c \u00a0 \u00a0 \u00a0 \u00a0 \u00a0  \u4e2d\u65ad\u670d\u52a1\u51fd\u6570<br \/>\nbsp_uart.c \u00a0 \u00a0 \u00a0 \u00a0  \u4e32\u53e3\u63a7\u5236<br \/>\nbsp_spi.c \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 SPI \u63a7\u5236<br \/>\nprotocol.c \u00a0 \u00a0 \u00a0 \u00a0  \u901a\u4fe1\u534f\u8bae<br \/>\ncontrol.c \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u4ea7\u54c1\u63a7\u5236\u903b\u8f91<\/p>\n<h4>\u5e38\u89c1\u4ea7\u54c1<\/h4>\n<p>\u5c0f\u5bb6\u7535\u3001\u73a9\u5177\u3001\u9065\u63a7\u5668\u3001\u7b80\u5355\u4eea\u8868\u3001\u4f20\u611f\u5668\u8282\u70b9\u548c\u7b80\u5355\u63a7\u5236\u5668\u3002<\/p>\n<h4>\u4e00\u53e5\u8bdd\u8bb0\u5fc6<\/h4>\n<p>MCU \u88f8\u673a\u5f00\u53d1&#xff1a;\u6ca1\u6709\u64cd\u4f5c\u7cfb\u7edf&#xff0c;\u5f00\u53d1\u8005\u7528\u4e3b\u5faa\u73af\u3001\u4e2d\u65ad\u548c\u72b6\u6001\u673a\u5b89\u6392\u6240\u6709\u4e8b\u60c5\u3002<\/p>\n<hr \/>\n<h3>\u56db\u3001MCU-RTOS \u5e94\u7528\u5f00\u53d1<\/h3>\n<h4>\u8fd9\u4e2a\u5c97\u4f4d\u662f\u5e72\u4ec0\u4e48\u7684<\/h4>\n<p>MCU-RTOS \u5e94\u7528\u5f00\u53d1\u662f\u5728 RT-Thread\u3001FreeRTOS\u3001ThreadX \u7b49\u5b9e\u65f6\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u7f16\u5199\u4ea7\u54c1\u4e1a\u52a1\u3002<\/p>\n<p>\u5f00\u53d1\u8005\u4e0d\u518d\u628a\u6240\u6709\u529f\u80fd\u90fd\u585e\u8fdb\u4e00\u4e2a\u5927\u5faa\u73af&#xff0c;\u800c\u662f\u628a\u4e0d\u540c\u529f\u80fd\u62c6\u6210\u7ebf\u7a0b&#xff0c;\u5e76\u901a\u8fc7\u4fe1\u53f7\u91cf\u3001\u4e92\u65a5\u91cf\u548c\u6d88\u606f\u961f\u5217\u8fdb\u884c\u534f\u4f5c\u3002<\/p>\n<p>\u4f8b\u5982&#xff1a;<\/p>\n<p>\u4f20\u611f\u5668\u7ebf\u7a0b&#xff1a;\u5b9a\u65f6\u91c7\u96c6\u6570\u636e<br \/>\n\u901a\u4fe1\u7ebf\u7a0b&#xff1a;\u63a5\u6536\u5e76\u89e3\u6790\u4e32\u53e3\u534f\u8bae<br \/>\n\u63a7\u5236\u7ebf\u7a0b&#xff1a;\u6839\u636e\u6570\u636e\u63a7\u5236\u8bbe\u5907<br \/>\n\u663e\u793a\u7ebf\u7a0b&#xff1a;\u5237\u65b0\u5c4f\u5e55<\/p>\n<h4>\u5e73\u65f6\u4e3b\u8981\u505a\u4ec0\u4e48<\/h4>\n<ul>\n<li>\n<p>\u521b\u5efa\u548c\u7ba1\u7406\u4e1a\u52a1\u7ebf\u7a0b\u3002<\/p>\n<\/li>\n<li>\n<p>\u4f7f\u7528\u4fe1\u53f7\u91cf\u3001\u4e92\u65a5\u91cf\u3001\u4e8b\u4ef6\u96c6\u548c\u6d88\u606f\u961f\u5217\u3002<\/p>\n<\/li>\n<li>\n<p>\u7f16\u5199\u4e32\u53e3\u534f\u8bae\u89e3\u6790\u3001\u4f20\u611f\u5668\u6570\u636e\u5904\u7406\u548c\u63a7\u5236\u903b\u8f91\u3002<\/p>\n<\/li>\n<li>\n<p>\u8c03\u7528 RTOS \u8bbe\u5907\u63a5\u53e3\u8bbf\u95ee\u4e32\u53e3\u3001SPI\u3001I2C \u7b49\u8bbe\u5907\u3002<\/p>\n<\/li>\n<li>\n<p>\u5904\u7406\u7ebf\u7a0b\u963b\u585e\u3001\u4f18\u5148\u7ea7\u3001\u6808\u7a7a\u95f4\u548c\u5171\u4eab\u6570\u636e\u95ee\u9898\u3002<\/p>\n<\/li>\n<li>\n<p>\u6dfb\u52a0 Shell \u547d\u4ee4&#xff0c;\u67e5\u770b\u8bbe\u5907\u8fd0\u884c\u72b6\u6001\u3002<\/p>\n<\/li>\n<\/ul>\n<h4>\u4e3b\u8981\u5199\u4ec0\u4e48\u4ee3\u7801<\/h4>\n<p>\u5728\u56fe\u4e2d\u7684 RT-Thread \u5de5\u7a0b\u91cc&#xff0c;\u4e3b\u8981\u5bf9\u5e94&#xff1a;<\/p>\n<p>Applications\/main.c<br \/>\nApplications\/ \u4e0b\u65b0\u589e\u7684\u4e1a\u52a1\u6587\u4ef6<\/p>\n<p>\u5178\u578b\u8bbe\u5907\u8c03\u7528\u5982\u4e0b&#xff1a;<\/p>\n<p>rt_device_t dev &#061; rt_device_find(&#034;uart1&#034;);<br \/>\nrt_device_open(dev, RT_DEVICE_FLAG_INT_RX);<br \/>\nrt_device_read(dev, 0, buffer, sizeof(buffer));<br \/>\nrt_device_write(dev, 0, data, length);<\/p>\n<p>\u8fd9\u4e2a\u5c97\u4f4d\u901a\u5e38\u901a\u8fc7\u8bbe\u5907 API \u4f7f\u7528\u786c\u4ef6&#xff0c;\u4e0d\u76f4\u63a5\u64cd\u4f5c\u5bc4\u5b58\u5668\u3002\u5c0f\u516c\u53f8\u4e2d\u5e94\u7528\u5f00\u53d1\u8005\u4e5f\u53ef\u80fd\u540c\u65f6\u627f\u62c5\u90e8\u5206\u9a71\u52a8\u5de5\u4f5c&#xff0c;\u4f46\u8fd9\u662f\u5c97\u4f4d\u5408\u5e76&#xff0c;\u4e0d\u662f\u5e94\u7528\u5c42\u672c\u8eab\u7684\u4e3b\u8981\u804c\u8d23\u3002<\/p>\n<h4>\u5e38\u89c1\u95ee\u9898<\/h4>\n<ul>\n<li>\n<p>\u7ebf\u7a0b\u4f18\u5148\u7ea7\u8bbe\u7f6e\u4e0d\u5408\u7406\u3002<\/p>\n<\/li>\n<li>\n<p>\u7ebf\u7a0b\u6808\u592a\u5c0f\u5bfc\u81f4\u6808\u6ea2\u51fa\u3002<\/p>\n<\/li>\n<li>\n<p>\u591a\u4e2a\u7ebf\u7a0b\u540c\u65f6\u8bbf\u95ee\u540c\u4e00\u8d44\u6e90\u3002<\/p>\n<\/li>\n<li>\n<p>\u6d88\u606f\u5904\u7406\u4e0d\u53ca\u65f6\u6216\u7ebf\u7a0b\u53d1\u751f\u6b7b\u9501\u3002<\/p>\n<\/li>\n<li>\n<p>\u4e1a\u52a1\u72b6\u6001\u673a\u8bbe\u8ba1\u6df7\u4e71\u3002<\/p>\n<\/li>\n<\/ul>\n<h4>\u4e00\u53e5\u8bdd\u8bb0\u5fc6<\/h4>\n<p>MCU-RTOS \u5e94\u7528\u5f00\u53d1&#xff1a;\u9a71\u52a8\u8d1f\u8d23\u8ba9\u786c\u4ef6\u53ef\u7528&#xff0c;\u5e94\u7528\u8d1f\u8d23\u8c03\u7528\u8bbe\u5907 API \u5b9e\u73b0\u4ea7\u54c1\u529f\u80fd\u3002<\/p>\n<hr \/>\n<h3>\u4e94\u3001MCU \u9a71\u52a8\/BSP \u5f00\u53d1<\/h3>\n<h4>\u8fd9\u4e2a\u5c97\u4f4d\u662f\u5e72\u4ec0\u4e48\u7684<\/h4>\n<p>MCU \u9a71\u52a8\/BSP \u5f00\u53d1\u8d1f\u8d23\u8ba9 RTOS \u5728\u4e00\u5757\u5177\u4f53\u5f00\u53d1\u677f\u4e0a\u8fd0\u884c&#xff0c;\u5e76\u8ba9\u677f\u4e0a\u7684\u4e32\u53e3\u3001SPI\u3001I2C\u3001CAN \u7b49\u5916\u8bbe\u6b63\u5e38\u5de5\u4f5c\u3002<\/p>\n<p>BSP \u662f Board Support Package&#xff0c;\u4e5f\u5c31\u662f\u677f\u7ea7\u652f\u6301\u5305\u3002\u5b83\u8fde\u63a5\u4e86 RTOS \u548c\u5177\u4f53\u786c\u4ef6\u3002<\/p>\n<p>RTOS \u5e94\u7528<br \/>\n \u00a0 \u2193 \u8c03\u7528 rt_device_read\/write<br \/>\nRT-Thread \u8bbe\u5907\u6846\u67b6<br \/>\n \u00a0 \u2193<br \/>\ndrv_uart.c \/ drv_spi.c<br \/>\n \u00a0 \u2193<br \/>\n\u5bc4\u5b58\u5668\u3001\u4e2d\u65ad\u3001DMA<br \/>\n \u00a0 \u2193<br \/>\n\u771f\u5b9e\u786c\u4ef6<\/p>\n<h4>\u5e73\u65f6\u4e3b\u8981\u505a\u4ec0\u4e48<\/h4>\n<ul>\n<li>\n<p>\u914d\u7f6e\u82af\u7247\u65f6\u949f\u548c\u5f15\u811a\u590d\u7528\u3002<\/p>\n<\/li>\n<li>\n<p>\u7f16\u5199 UART\u3001SPI\u3001I2C\u3001CAN\u3001ADC\u3001PWM \u7b49\u9a71\u52a8\u3002<\/p>\n<\/li>\n<li>\n<p>\u5904\u7406\u4e2d\u65ad\u3001DMA\u3001\u8d85\u65f6\u548c\u7f13\u51b2\u533a\u3002<\/p>\n<\/li>\n<li>\n<p>\u628a\u5177\u4f53\u9a71\u52a8\u6ce8\u518c\u5230 RT-Thread \u8bbe\u5907\u6846\u67b6\u3002<\/p>\n<\/li>\n<li>\n<p>\u79fb\u690d RTOS \u5230\u65b0\u7684 MCU \u6216\u5f00\u53d1\u677f\u3002<\/p>\n<\/li>\n<li>\n<p>\u4e0e\u786c\u4ef6\u5de5\u7a0b\u5e08\u4e00\u8d77\u6392\u67e5\u677f\u7ea7\u95ee\u9898\u3002<\/p>\n<\/li>\n<\/ul>\n<p>\u5e38\u89c1\u6545\u969c\u5305\u62ec&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u4e32\u53e3\u53d1\u9001\u6b63\u5e38\u4f46\u63a5\u6536\u4e0d\u5230\u6570\u636e\u3002<\/p>\n<\/li>\n<li>\n<p>SPI \u80fd\u8bfb\u5230\u6570\u636e&#xff0c;\u4f46\u6570\u636e\u5185\u5bb9\u9519\u8bef\u3002<\/p>\n<\/li>\n<li>\n<p>\u4e2d\u65ad\u59cb\u7ec8\u4e0d\u89e6\u53d1\u3002<\/p>\n<\/li>\n<li>\n<p>DMA \u5076\u5c14\u4e22\u6570\u636e\u3002<\/p>\n<\/li>\n<li>\n<p>\u6362\u4e00\u5757\u677f\u540e\u7cfb\u7edf\u65e0\u6cd5\u542f\u52a8\u3002<\/p>\n<\/li>\n<\/ul>\n<h4>\u4e3b\u8981\u5199\u4ec0\u4e48\u4ee3\u7801<\/h4>\n<p>\u5728\u56fe\u4e2d\u7684\u5de5\u7a0b\u91cc&#xff0c;\u4e3b\u8981\u5bf9\u5e94&#xff1a;<\/p>\n<p>Drivers\/<br \/>\n\u251c\u2500\u2500 board.c<br \/>\n\u251c\u2500\u2500 startup_gd32f30x_hd.s<br \/>\n\u251c\u2500\u2500 drv_gpio.c<br \/>\n\u251c\u2500\u2500 drv_spi.c<br \/>\n\u2514\u2500\u2500 drv_usart.c<\/p>\n<p>\u540c\u65f6\u9700\u8981\u4f7f\u7528\u6216\u7406\u89e3&#xff1a;<\/p>\n<p>Libraries\/ \u00a0 \u00a0 \u00a0 \u00a0  GD32 \u5382\u5546\u5916\u8bbe\u5e93<br \/>\nDeviceDrivers\/ \u00a0 \u00a0  RT-Thread \u901a\u7528\u8bbe\u5907\u6846\u67b6<\/p>\n<p>\u4e00\u822c\u60c5\u51b5\u4e0b&#xff0c;BSP \u5de5\u7a0b\u5e08\u4e3b\u8981\u4fee\u6539 Drivers\/\u3002\u53ea\u6709\u6269\u5c55 RT-Thread \u901a\u7528\u8bbe\u5907\u6a21\u578b\u65f6&#xff0c;\u624d\u9700\u8981\u7ecf\u5e38\u4fee\u6539 DeviceDrivers\/\u3002<\/p>\n<h4>\u9700\u8981\u638c\u63e1\u4ec0\u4e48<\/h4>\n<ul>\n<li>\n<p>C \u8bed\u8a00\u548c\u57fa\u672c\u6c47\u7f16\u77e5\u8bc6\u3002<\/p>\n<\/li>\n<li>\n<p>MCU \u5bc4\u5b58\u5668\u3001\u542f\u52a8\u6d41\u7a0b\u548c\u4e2d\u65ad\u673a\u5236\u3002<\/p>\n<\/li>\n<li>\n<p>GPIO\u3001UART\u3001SPI\u3001I2C\u3001CAN\u3001ADC \u548c DMA\u3002<\/p>\n<\/li>\n<li>\n<p>\u82af\u7247\u6570\u636e\u624b\u518c\u548c\u5f00\u53d1\u677f\u539f\u7406\u56fe\u3002<\/p>\n<\/li>\n<li>\n<p>\u793a\u6ce2\u5668\u3001\u903b\u8f91\u5206\u6790\u4eea\u548c\u8c03\u8bd5\u5668\u3002<\/p>\n<\/li>\n<\/ul>\n<h4>\u4e00\u53e5\u8bdd\u8bb0\u5fc6<\/h4>\n<p>MCU \u9a71\u52a8\/BSP \u5f00\u53d1&#xff1a;\u9762\u5bf9\u5bc4\u5b58\u5668\u548c\u786c\u4ef6&#xff0c;\u8ba9 RTOS \u80fd\u5728\u8fd9\u5757\u677f\u4e0a\u8fd0\u884c\u5e76\u4f7f\u7528\u5916\u8bbe\u3002<\/p>\n<hr \/>\n<h3>\u516d\u3001\u5d4c\u5165\u5f0f Linux \u5e94\u7528\u5f00\u53d1<\/h3>\n<h4>\u8fd9\u4e2a\u5c97\u4f4d\u662f\u5e72\u4ec0\u4e48\u7684<\/h4>\n<p>\u5d4c\u5165\u5f0f Linux \u5e94\u7528\u5f00\u53d1\u662f\u5728 ARM Linux \u7b49\u7cfb\u7edf\u7684\u7528\u6237\u7a7a\u95f4\u7f16\u5199\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n<p>\u5b83\u548c\u666e\u901a Linux \u5e94\u7528\u5f00\u53d1\u5f88\u63a5\u8fd1&#xff0c;\u5e38\u7528 C\u3001C&#043;&#043; \u6216 Python&#xff0c;\u901a\u8fc7\u6587\u4ef6\u3001\u8bbe\u5907\u8282\u70b9\u548c\u7f51\u7edc\u63a5\u53e3\u5b9e\u73b0\u4ea7\u54c1\u529f\u80fd\u3002<\/p>\n<p>\u4f8b\u5982&#xff0c;\u5e94\u7528\u901a\u8fc7 \/dev \u4e0b\u7684\u8bbe\u5907\u6587\u4ef6\u8bbf\u95ee\u4e32\u53e3&#xff1a;<\/p>\n<p>int fd &#061; open(&#034;\/dev\/ttyS1&#034;, O_RDWR);<br \/>\nwrite(fd, data, length);<br \/>\nread(fd, buffer, sizeof(buffer));<br \/>\nclose(fd);<\/p>\n<p>\u5e94\u7528\u7a0b\u5e8f\u53ea\u9700\u8981\u77e5\u9053\u600e\u6837\u4f7f\u7528 \/dev\/ttyS1\u3002\u8fd9\u4e2a\u8bbe\u5907\u8282\u70b9\u600e\u6837\u63a7\u5236\u771f\u5b9e\u4e32\u53e3&#xff0c;\u662f\u9a71\u52a8\u5de5\u7a0b\u5e08\u8d1f\u8d23\u7684\u4e8b\u60c5\u3002<\/p>\n<h4>\u5e73\u65f6\u4e3b\u8981\u505a\u4ec0\u4e48<\/h4>\n<ul>\n<li>\n<p>\u4f7f\u7528 C\/C&#043;&#043; \u7f16\u5199\u4ea7\u54c1\u4e1a\u52a1\u7a0b\u5e8f\u3002<\/p>\n<\/li>\n<li>\n<p>\u4f7f\u7528 Qt \u7f16\u5199\u89e6\u6478\u5c4f\u548c\u56fe\u5f62\u754c\u9762\u3002<\/p>\n<\/li>\n<li>\n<p>\u4f7f\u7528\u591a\u8fdb\u7a0b\u3001\u591a\u7ebf\u7a0b\u548c\u8fdb\u7a0b\u95f4\u901a\u4fe1\u3002<\/p>\n<\/li>\n<li>\n<p>\u7f16\u5199 TCP\u3001UDP\u3001HTTP\u3001MQTT \u7b49\u7f51\u7edc\u7a0b\u5e8f\u3002<\/p>\n<\/li>\n<li>\n<p>\u64cd\u4f5c\u4e32\u53e3\u3001\u6444\u50cf\u5934\u3001\u97f3\u9891\u548c\u5176\u4ed6\u8bbe\u5907\u3002<\/p>\n<\/li>\n<li>\n<p>\u4f7f\u7528 SQLite \u7b49\u6570\u636e\u5e93\u4fdd\u5b58\u6570\u636e\u3002<\/p>\n<\/li>\n<li>\n<p>\u7f16\u5199\u540e\u53f0\u670d\u52a1\u548c\u5f00\u673a\u542f\u52a8\u914d\u7f6e\u3002<\/p>\n<\/li>\n<li>\n<p>\u6392\u67e5\u5d29\u6e83\u3001\u5185\u5b58\u6cc4\u6f0f\u548c\u7ebf\u7a0b\u540c\u6b65\u95ee\u9898\u3002<\/p>\n<\/li>\n<\/ul>\n<h4>\u4e3b\u8981\u5199\u4ec0\u4e48\u4ee3\u7801<\/h4>\n<p>main.cpp \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u5e94\u7528\u5165\u53e3<br \/>\ndevice_manager.cpp \u00a0 \u8bbe\u5907\u8bbf\u95ee<br \/>\nprotocol.cpp \u00a0 \u00a0 \u00a0 \u00a0 \u901a\u4fe1\u534f\u8bae<br \/>\nbusiness.cpp \u00a0 \u00a0 \u00a0 \u00a0 \u4e1a\u52a1\u903b\u8f91<br \/>\nui\/ \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0  Qt \u754c\u9762<br \/>\nCMakeLists.txt \u00a0 \u00a0 \u00a0 \u6784\u5efa\u914d\u7f6e<br \/>\n*.service \u00a0 \u00a0 \u00a0 \u00a0 \u00a0  systemd \u670d\u52a1\u914d\u7f6e<\/p>\n<p>\u8fd9\u4e2a\u5c97\u4f4d\u4e0e RT-Thread \u5de5\u7a0b\u4e2d\u7684 Applications\/ \u5c42\u6700\u63a5\u8fd1&#xff0c;\u4f46\u7a0b\u5e8f\u8fd0\u884c\u5728 Linux \u7528\u6237\u7a7a\u95f4&#xff0c;\u80fd\u591f\u4f7f\u7528\u66f4\u52a0\u5b8c\u6574\u7684\u6587\u4ef6\u7cfb\u7edf\u3001\u7f51\u7edc\u3001\u6570\u636e\u5e93\u548c\u56fe\u5f62\u5e93\u3002<\/p>\n<h4>\u5e38\u89c1\u4ea7\u54c1<\/h4>\n<p>\u5de5\u63a7\u673a\u3001\u667a\u80fd\u7f51\u5173\u3001\u673a\u9876\u76d2\u3001\u5b89\u9632\u8bbe\u5907\u3001\u673a\u5668\u4eba\u63a7\u5236\u5668\u548c\u8f66\u8f7d\u4e2d\u63a7\u3002<\/p>\n<h4>\u4e00\u53e5\u8bdd\u8bb0\u5fc6<\/h4>\n<p>\u5d4c\u5165\u5f0f Linux \u5e94\u7528\u5f00\u53d1&#xff1a;\u9a71\u52a8\u63d0\u4f9b\u8bbe\u5907\u63a5\u53e3&#xff0c;\u5e94\u7528\u901a\u8fc7\u8fd9\u4e9b\u63a5\u53e3\u5b9e\u73b0\u754c\u9762\u3001\u7f51\u7edc\u548c\u4e1a\u52a1\u529f\u80fd\u3002<\/p>\n<hr \/>\n<h3>\u4e03\u3001\u5d4c\u5165\u5f0f Linux \u9a71\u52a8\/BSP \u5f00\u53d1<\/h3>\n<h4>\u8fd9\u4e2a\u5c97\u4f4d\u662f\u5e72\u4ec0\u4e48\u7684<\/h4>\n<p>\u5d4c\u5165\u5f0f Linux \u9a71\u52a8\/BSP \u5f00\u53d1\u8d1f\u8d23\u628a U-Boot \u548c Linux \u79fb\u690d\u5230\u65b0\u7684 ARM \u5f00\u53d1\u677f&#xff0c;\u5e76\u8ba9 Linux \u8bc6\u522b\u548c\u63a7\u5236\u677f\u4e0a\u7684\u786c\u4ef6\u3002<\/p>\n<p>\u5e94\u7528\u5f00\u53d1\u8005\u770b\u5230\u7684\u662f \/dev\/ttyS1\u3001\/dev\/video0 \u548c eth0&#xff0c;\u9a71\u52a8\u5de5\u7a0b\u5e08\u770b\u5230\u7684\u662f\u8bbe\u5907\u6811\u3001\u5bc4\u5b58\u5668\u3001\u4e2d\u65ad\u3001DMA \u548c Linux \u8bbe\u5907\u5b50\u7cfb\u7edf\u3002<\/p>\n<h4>\u5e73\u65f6\u4e3b\u8981\u505a\u4ec0\u4e48<\/h4>\n<ul>\n<li>\n<p>\u79fb\u690d U-Boot \u548c Linux \u5185\u6838\u3002<\/p>\n<\/li>\n<li>\n<p>\u4fee\u6539\u8bbe\u5907\u6811 DTS&#xff0c;\u63cf\u8ff0\u677f\u4e0a\u7684\u786c\u4ef6\u3002<\/p>\n<\/li>\n<li>\n<p>\u7f16\u5199 platform\u3001I2C\u3001SPI\u3001USB\u3001\u7f51\u5361\u3001\u663e\u793a\u548c\u97f3\u9891\u9a71\u52a8\u3002<\/p>\n<\/li>\n<li>\n<p>\u914d\u7f6e\u548c\u7f16\u8bd1 Linux \u5185\u6838\u3002<\/p>\n<\/li>\n<li>\n<p>\u7f16\u8bd1\u3001\u52a0\u8f7d\u548c\u8c03\u8bd5\u5185\u6838\u6a21\u5757\u3002<\/p>\n<\/li>\n<li>\n<p>\u5206\u6790\u5185\u6838\u542f\u52a8\u65e5\u5fd7\u548c\u9a71\u52a8\u52a0\u8f7d\u8fc7\u7a0b\u3002<\/p>\n<\/li>\n<li>\n<p>\u8c03\u8bd5\u8bbe\u5907\u8bc6\u522b\u5931\u8d25\u3001\u5185\u6838 panic \u548c\u786c\u4ef6\u6027\u80fd\u95ee\u9898\u3002<\/p>\n<\/li>\n<\/ul>\n<h4>\u4e3b\u8981\u5199\u4ec0\u4e48\u4ee3\u7801<\/h4>\n<p>\u8bbe\u5907\u6811\u7528\u6765\u63cf\u8ff0\u786c\u4ef6&#xff1a;<\/p>\n<p>sensor&#064;48 {<br \/>\n \u00a0  compatible &#061; &#034;vendor,temp-sensor&#034;;<br \/>\n \u00a0  reg &#061; &lt;0x48&gt;;<br \/>\n};<\/p>\n<p>\u9a71\u52a8\u4ee3\u7801\u8d1f\u8d23\u5339\u914d\u548c\u63a7\u5236\u8fd9\u4e2a\u8bbe\u5907&#xff1a;<\/p>\n<p>static const struct of_device_id sensor_of_match[] &#061; {<br \/>\n \u00a0  { .compatible &#061; &#034;vendor,temp-sensor&#034; },<br \/>\n \u00a0  { }<br \/>\n};<\/p>\n<p>\u5e38\u89c1\u6e90\u7801\u4f4d\u7f6e&#xff1a;<\/p>\n<p>arch\/arm\/boot\/dts\/ \u00a0 \u00a0 \u00a0 ARM \u8bbe\u5907\u6811<br \/>\narch\/arm64\/boot\/dts\/ \u00a0 \u00a0 ARM64 \u8bbe\u5907\u6811<br \/>\ndrivers\/gpio\/ \u00a0 \u00a0 \u00a0 \u00a0 \u00a0  GPIO \u9a71\u52a8<br \/>\ndrivers\/i2c\/ \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 I2C \u9a71\u52a8<br \/>\ndrivers\/spi\/ \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 SPI \u9a71\u52a8<br \/>\ndrivers\/tty\/ \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u4e32\u53e3\u9a71\u52a8<br \/>\ndrivers\/net\/ \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u7f51\u5361\u9a71\u52a8<br \/>\ndrivers\/media\/ \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u6444\u50cf\u5934\u9a71\u52a8<\/p>\n<p>\u9a71\u52a8\u53ef\u4ee5\u7f16\u8bd1\u4e3a .ko \u6a21\u5757&#xff0c;\u4e5f\u53ef\u4ee5\u76f4\u63a5\u7f16\u8bd1\u8fdb\u5185\u6838\u3002\u56e0\u6b64&#xff0c;.ko \u662f\u9a71\u52a8\u7684\u4e00\u79cd\u7f16\u8bd1\u548c\u52a0\u8f7d\u65b9\u5f0f&#xff0c;\u4e0d\u662f Linux \u9a71\u52a8\u7684\u5168\u90e8\u3002<\/p>\n<h4>BSP \u548c\u9a71\u52a8\u6709\u4ec0\u4e48\u533a\u522b<\/h4>\n<ul>\n<li>\n<p>BSP \u66f4\u504f\u6574\u5757\u677f&#xff1a;\u542f\u52a8\u3001\u8bbe\u5907\u6811\u3001\u65f6\u949f\u3001\u5185\u5b58\u3001\u5185\u6838\u914d\u7f6e\u548c\u6839\u6587\u4ef6\u7cfb\u7edf\u3002<\/p>\n<\/li>\n<li>\n<p>\u9a71\u52a8\u66f4\u504f\u67d0\u4e2a\u8bbe\u5907&#xff1a;\u4e32\u53e3\u3001\u4f20\u611f\u5668\u3001\u6444\u50cf\u5934\u3001\u7f51\u5361\u3001\u663e\u793a\u548c\u97f3\u9891\u3002<\/p>\n<\/li>\n<\/ul>\n<p>\u5c0f\u516c\u53f8\u7ecf\u5e38\u628a\u4e24\u4e2a\u65b9\u5411\u5408\u5e76\u6210\u4e00\u4e2a\u5c97\u4f4d\u3002<\/p>\n<h4>\u5e38\u89c1\u4ea7\u54c1<\/h4>\n<p>ARM \u5f00\u53d1\u677f\u3001\u5de5\u4e1a\u63a7\u5236\u8bbe\u5907\u3001\u5b89\u9632\u6444\u50cf\u5934\u3001\u667a\u80fd\u7f51\u5173\u3001\u673a\u5668\u4eba\u548c\u8f66\u8f7d\u8bbe\u5907\u3002<\/p>\n<h4>\u4e00\u53e5\u8bdd\u8bb0\u5fc6<\/h4>\n<p>\u5d4c\u5165\u5f0f Linux \u9a71\u52a8\/BSP \u5f00\u53d1&#xff1a;\u8ba9 Linux \u5728\u65b0\u677f\u5b50\u4e0a\u542f\u52a8&#xff0c;\u5e76\u6309\u7167 Linux \u7684\u89c4\u5219\u63a7\u5236\u786c\u4ef6\u3002<\/p>\n<hr \/>\n<h3>\u516b\u3001Linux \u5185\u6838\u5f00\u53d1<\/h3>\n<h4>\u8fd9\u4e2a\u5c97\u4f4d\u662f\u5e72\u4ec0\u4e48\u7684<\/h4>\n<p>Linux \u5185\u6838\u5f00\u53d1\u662f\u4fee\u6539 Linux \u64cd\u4f5c\u7cfb\u7edf\u672c\u8eab&#xff0c;\u800c\u4e0d\u662f\u53ea\u4e3a\u67d0\u4e2a\u5916\u8bbe\u7f16\u5199\u9a71\u52a8\u3002<\/p>\n<p>\u4e3b\u8981\u65b9\u5411\u5305\u62ec&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u8fdb\u7a0b\u548c\u7ebf\u7a0b\u8c03\u5ea6\u3002<\/p>\n<\/li>\n<li>\n<p>\u865a\u62df\u5185\u5b58\u548c\u9875\u9762\u7ba1\u7406\u3002<\/p>\n<\/li>\n<li>\n<p>\u6587\u4ef6\u7cfb\u7edf\u548c\u5757\u8bbe\u5907\u5c42\u3002<\/p>\n<\/li>\n<li>\n<p>TCP\/IP \u548c\u7f51\u7edc\u534f\u8bae\u6808\u3002<\/p>\n<\/li>\n<li>\n<p>\u7cfb\u7edf\u8c03\u7528\u3001\u9501\u548c\u591a\u6838\u5e76\u53d1\u3002<\/p>\n<\/li>\n<li>\n<p>\u5185\u6838\u5b89\u5168\u3001\u5b9e\u65f6\u6027\u548c\u6027\u80fd\u4f18\u5316\u3002<\/p>\n<\/li>\n<\/ul>\n<h4>\u5e73\u65f6\u4e3b\u8981\u505a\u4ec0\u4e48<\/h4>\n<ul>\n<li>\n<p>\u9605\u8bfb\u548c\u4fee\u6539 Linux \u5185\u6838\u6e90\u7801\u3002<\/p>\n<\/li>\n<li>\n<p>\u5206\u6790\u8c03\u5ea6\u5ef6\u8fdf\u3001\u5185\u5b58\u4e0d\u8db3\u548c\u7cfb\u7edf\u5361\u987f\u3002<\/p>\n<\/li>\n<li>\n<p>\u4f18\u5316\u6587\u4ef6\u7cfb\u7edf\u3001\u7f51\u7edc\u6216\u591a\u6838\u6027\u80fd\u3002<\/p>\n<\/li>\n<li>\n<p>\u6392\u67e5 kernel panic\u3001\u6b7b\u9501\u548c\u5185\u5b58\u9519\u8bef\u3002<\/p>\n<\/li>\n<li>\n<p>\u4f7f\u7528 perf\u3001ftrace\u3001crash \u7b49\u5de5\u5177\u5206\u6790\u5185\u6838\u3002<\/p>\n<\/li>\n<li>\n<p>\u7f16\u5199\u548c\u7ef4\u62a4\u5185\u6838\u8865\u4e01\u53ca\u6d4b\u8bd5\u7528\u4f8b\u3002<\/p>\n<\/li>\n<\/ul>\n<h4>\u4e3b\u8981\u5199\u4ec0\u4e48\u4ee3\u7801<\/h4>\n<p>kernel\/        \u8c03\u5ea6\u3001\u4e2d\u65ad\u3001\u65f6\u95f4\u548c\u5185\u6838\u6838\u5fc3\u673a\u5236<br \/>\nmm\/            \u865a\u62df\u5185\u5b58\u548c\u9875\u9762\u7ba1\u7406<br \/>\nfs\/            VFS \u548c\u5177\u4f53\u6587\u4ef6\u7cfb\u7edf<br \/>\nnet\/           \u7f51\u7edc\u534f\u8bae\u6808<br \/>\nipc\/           \u8fdb\u7a0b\u95f4\u901a\u4fe1<br \/>\nblock\/         \u5757\u8bbe\u5907\u901a\u7528\u5c42<br \/>\narch\/          CPU \u67b6\u6784\u76f8\u5173\u4ee3\u7801<\/p>\n<p>\u5728 RT-Thread \u5de5\u7a0b\u4e2d&#xff0c;\u53ef\u4ee5\u628a Linux \u5185\u6838\u7c97\u7565\u7c7b\u6bd4\u4e3a Kernel\/\u3001Filesystem\/\u3001DeviceDrivers\/ \u548c libcpu\/ \u7b49\u76ee\u5f55\u7684\u96c6\u5408\u3002\u4f46 Linux \u7684\u4ee3\u7801\u89c4\u6a21\u548c\u673a\u5236\u590d\u6742\u5f97\u591a\u3002<\/p>\n<h4>\u548c Linux \u9a71\u52a8\u5f00\u53d1\u6709\u4ec0\u4e48\u533a\u522b<\/h4>\n<table>\n<tr>\u5bf9\u6bd4\u9879Linux \u9a71\u52a8\/BSPLinux \u5185\u6838\u5f00\u53d1<\/tr>\n<tbody>\n<tr>\n<td>\u4e3b\u8981\u76ee\u6807<\/td>\n<td>\u8ba9\u67d0\u5757\u677f\u6216\u67d0\u4e2a\u8bbe\u5907\u5de5\u4f5c<\/td>\n<td>\u4fee\u6539\u64cd\u4f5c\u7cfb\u7edf\u7684\u901a\u7528\u673a\u5236<\/td>\n<\/tr>\n<tr>\n<td>\u5e38\u89c1\u5bf9\u8c61<\/td>\n<td>DTS\u3001\u5bc4\u5b58\u5668\u3001\u4e2d\u65ad\u3001DMA<\/td>\n<td>\u8c03\u5ea6\u3001\u5185\u5b58\u3001\u6587\u4ef6\u7cfb\u7edf\u3001\u7f51\u7edc<\/td>\n<\/tr>\n<tr>\n<td>\u5e38\u89c1\u76ee\u5f55<\/td>\n<td>drivers\/\u3001DTS\u3001\u90e8\u5206 arch\/<\/td>\n<td>kernel\/\u3001mm\/\u3001fs\/\u3001net\/<\/td>\n<\/tr>\n<tr>\n<td>\u5c97\u4f4d\u6570\u91cf<\/td>\n<td>\u76f8\u5bf9\u8f83\u591a<\/td>\n<td>\u76f8\u5bf9\u8f83\u5c11\u3001\u4e13\u4e1a\u65b9\u5411\u66f4\u7ec6<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4ece\u5e7f\u4e49\u4e0a\u8bf4&#xff0c;Linux \u9a71\u52a8\u4e5f\u662f\u5185\u6838\u4ee3\u7801&#xff1b;\u4f46\u5728\u5b9e\u9645\u62db\u8058\u4e2d&#xff0c;\u201cLinux \u9a71\u52a8\u5de5\u7a0b\u5e08\u201d\u548c\u201cLinux \u5185\u6838\u5de5\u7a0b\u5e08\u201d\u901a\u5e38\u6307\u4e24\u4e2a\u4e0d\u540c\u65b9\u5411\u3002<\/p>\n<p>Linux \u5185\u6838\u5c97\u4f4d\u5e38\u89c1\u4e8e\u82af\u7247\u539f\u5382\u3001\u64cd\u4f5c\u7cfb\u7edf\u5382\u5546\u3001\u4e91\u8ba1\u7b97\u516c\u53f8\u3001\u670d\u52a1\u5668\u5382\u5546\u548c\u5927\u578b\u7ec8\u7aef\u516c\u53f8&#xff0c;\u6570\u91cf\u901a\u5e38\u5c11\u4e8e\u5e94\u7528\u4e0e\u9a71\u52a8\u5c97\u4f4d\u3002<\/p>\n<h4>\u4e00\u53e5\u8bdd\u8bb0\u5fc6<\/h4>\n<p>Linux \u5185\u6838\u5f00\u53d1&#xff1a;\u4e0d\u53ea\u8ba9\u67d0\u4e2a\u786c\u4ef6\u5de5\u4f5c&#xff0c;\u800c\u662f\u4fee\u6539 Linux \u7ba1\u7406\u8fdb\u7a0b\u3001\u5185\u5b58\u3001\u6587\u4ef6\u548c\u7f51\u7edc\u7684\u65b9\u5f0f\u3002<\/p>\n<h3>\u4e5d\u3001\u6700\u540e\u7528\u516d\u53e5\u8bdd\u603b\u7ed3<\/h3>\n<li>\n<p>MCU \u88f8\u673a\u5f00\u53d1&#xff1a;\u6ca1\u6709\u64cd\u4f5c\u7cfb\u7edf&#xff0c;\u81ea\u5df1\u7528\u4e3b\u5faa\u73af\u548c\u4e2d\u65ad\u5b89\u6392\u6240\u6709\u5de5\u4f5c\u3002<\/p>\n<\/li>\n<li>\n<p>MCU-RTOS \u5e94\u7528\u5f00\u53d1&#xff1a;\u4f7f\u7528\u7ebf\u7a0b\u548c IPC \u7f16\u5199\u4ea7\u54c1\u4e1a\u52a1&#xff0c;\u4e3b\u8981\u8c03\u7528\u73b0\u6210\u8bbe\u5907\u63a5\u53e3\u3002<\/p>\n<\/li>\n<li>\n<p>MCU \u9a71\u52a8\/BSP \u5f00\u53d1&#xff1a;\u64cd\u4f5c\u5bc4\u5b58\u5668\u3001\u5904\u7406\u4e2d\u65ad&#xff0c;\u8ba9 RTOS \u548c\u786c\u4ef6\u8fde\u63a5\u8d77\u6765\u3002<\/p>\n<\/li>\n<li>\n<p>\u5d4c\u5165\u5f0f Linux \u5e94\u7528\u5f00\u53d1&#xff1a;\u5728\u7528\u6237\u7a7a\u95f4\u7f16\u5199\u754c\u9762\u3001\u7f51\u7edc\u548c\u4e1a\u52a1\u7a0b\u5e8f\u3002<\/p>\n<\/li>\n<li>\n<p>\u5d4c\u5165\u5f0f Linux \u9a71\u52a8\/BSP \u5f00\u53d1&#xff1a;\u79fb\u690d Linux&#xff0c;\u5e76\u8ba9\u5185\u6838\u8bc6\u522b\u548c\u63a7\u5236\u677f\u4e0a\u8bbe\u5907\u3002<\/p>\n<\/li>\n<li>\n<p>Linux \u5185\u6838\u5f00\u53d1&#xff1a;\u4fee\u6539\u8c03\u5ea6\u3001\u5185\u5b58\u3001\u6587\u4ef6\u7cfb\u7edf\u548c\u7f51\u7edc\u7b49 Linux \u6838\u5fc3\u673a\u5236\u3002<\/p>\n<\/li>\n<p>\u5224\u65ad\u4e00\u4e2a\u5c97\u4f4d\u6700\u7b80\u5355\u7684\u65b9\u6cd5\u662f\u770b\u5b83\u4e3b\u8981\u9762\u5bf9\u4ec0\u4e48&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u9762\u5bf9\u4ea7\u54c1\u9700\u6c42\u548c\u4e1a\u52a1\u903b\u8f91&#xff0c;\u662f\u5e94\u7528\u5f00\u53d1\u3002<\/p>\n<\/li>\n<li>\n<p>\u9762\u5bf9\u5bc4\u5b58\u5668\u3001\u4e2d\u65ad\u548c\u786c\u4ef6\u65f6\u5e8f&#xff0c;\u662f\u9a71\u52a8\/BSP \u5f00\u53d1\u3002<\/p>\n<\/li>\n<li>\n<p>\u9762\u5bf9\u8c03\u5ea6\u3001\u5185\u5b58\u548c\u6587\u4ef6\u7cfb\u7edf&#xff0c;\u662f\u5185\u6838\u5f00\u53d1\u3002<\/p>\n<\/li>\n<\/ul>\n<p>\u5c97\u4f4d\u540d\u79f0\u53ef\u80fd\u4e0d\u540c&#xff0c;\u4f46\u53ea\u8981\u627e\u5230\u5b83\u5728\u6574\u4e2a\u7cfb\u7edf\u4e2d\u7684\u4f4d\u7f6e&#xff0c;\u5c31\u80fd\u5224\u65ad\u8fd9\u4efd\u5de5\u4f5c\u7a76\u7adf\u9700\u8981\u5199\u54ea\u4e00\u5c42\u4ee3\u7801\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u6587\u7ed3\u5408\u4e00\u4e2a RT-Thread \u5de5\u7a0b&#xff0c;\u4ecb\u7ecd\u5d4c\u5165\u5f0f\u5f00\u53d1\u4e2d\u6700\u5e38\u89c1\u7684 6 \u7c7b\u5c97\u4f4d&#xff1a;MCU \u88f8\u673a\u5f00\u53d1MCU-RTOS \u5e94\u7528\u5f00\u53d1MCU \u9a71\u52a8\/BSP \u5f00\u53d1\u5d4c\u5165\u5f0f Linux \u5e94\u7528\u5f00\u53d1\u5d4c\u5165\u5f0f Linux \u9a71\u52a8\/BSP \u5f00\u53d1Linux \u5185\u6838\u5f00\u53d1\u8bfb\u5b8c\u540e&#xff0c;\u5c31\u80fd\u5927\u81f4\u5224\u65ad\u8fd9\u4e2a\u5c97\u4f4d\u6bcf\u5929\u5728\u505a\u4ec0\u4e48\u3001\u9700\u8981\u5199\u54ea\u4e00\u5c42\u4ee3\u7801\u3002rt\u2011thread<br \/>\n\u251c\u2500 Applications    # \u7528\u6237\u5e94\u7528\u4ee3\u7801&#xff0c;main.c\u653e\u8fd9\u91cc<br \/>\n\u251c\u2500 Compiler       <\/p>\n","protected":false},"author":2,"featured_media":92714,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[270,269],"topic":[],"class_list":["post-92718","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-270","tag-269"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5d4c\u5165\u5f0f\u5f00\u53d1\u516d\u5927\u5c97\u4f4d\uff1a\u4ece MCU \u88f8\u673a\u5230 Linux \u5185\u6838 - \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\/92718.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5d4c\u5165\u5f0f\u5f00\u53d1\u516d\u5927\u5c97\u4f4d\uff1a\u4ece MCU \u88f8\u673a\u5230 Linux \u5185\u6838 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u672c\u6587\u7ed3\u5408\u4e00\u4e2a RT-Thread \u5de5\u7a0b&#xff0c;\u4ecb\u7ecd\u5d4c\u5165\u5f0f\u5f00\u53d1\u4e2d\u6700\u5e38\u89c1\u7684 6 \u7c7b\u5c97\u4f4d&#xff1a;MCU \u88f8\u673a\u5f00\u53d1MCU-RTOS \u5e94\u7528\u5f00\u53d1MCU \u9a71\u52a8\/BSP \u5f00\u53d1\u5d4c\u5165\u5f0f Linux \u5e94\u7528\u5f00\u53d1\u5d4c\u5165\u5f0f Linux \u9a71\u52a8\/BSP \u5f00\u53d1Linux \u5185\u6838\u5f00\u53d1\u8bfb\u5b8c\u540e&#xff0c;\u5c31\u80fd\u5927\u81f4\u5224\u65ad\u8fd9\u4e2a\u5c97\u4f4d\u6bcf\u5929\u5728\u505a\u4ec0\u4e48\u3001\u9700\u8981\u5199\u54ea\u4e00\u5c42\u4ee3\u7801\u3002rt\u2011thread \u251c\u2500 Applications  # \u7528\u6237\u5e94\u7528\u4ee3\u7801&#xff0c;main.c\u653e\u8fd9\u91cc \u251c\u2500 Compiler\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/92718.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-10T15:32:59+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260810153257-6a79ef29d2288.png\" \/>\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=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/92718.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/92718.html\",\"name\":\"\u5d4c\u5165\u5f0f\u5f00\u53d1\u516d\u5927\u5c97\u4f4d\uff1a\u4ece MCU \u88f8\u673a\u5230 Linux \u5185\u6838 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-08-10T15:32:59+00:00\",\"dateModified\":\"2026-08-10T15:32:59+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/92718.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/92718.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/92718.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5d4c\u5165\u5f0f\u5f00\u53d1\u516d\u5927\u5c97\u4f4d\uff1a\u4ece MCU \u88f8\u673a\u5230 Linux \u5185\u6838\"}]},{\"@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":"\u5d4c\u5165\u5f0f\u5f00\u53d1\u516d\u5927\u5c97\u4f4d\uff1a\u4ece MCU \u88f8\u673a\u5230 Linux \u5185\u6838 - \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\/92718.html","og_locale":"zh_CN","og_type":"article","og_title":"\u5d4c\u5165\u5f0f\u5f00\u53d1\u516d\u5927\u5c97\u4f4d\uff1a\u4ece MCU \u88f8\u673a\u5230 Linux \u5185\u6838 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u672c\u6587\u7ed3\u5408\u4e00\u4e2a RT-Thread \u5de5\u7a0b&#xff0c;\u4ecb\u7ecd\u5d4c\u5165\u5f0f\u5f00\u53d1\u4e2d\u6700\u5e38\u89c1\u7684 6 \u7c7b\u5c97\u4f4d&#xff1a;MCU \u88f8\u673a\u5f00\u53d1MCU-RTOS \u5e94\u7528\u5f00\u53d1MCU \u9a71\u52a8\/BSP \u5f00\u53d1\u5d4c\u5165\u5f0f Linux \u5e94\u7528\u5f00\u53d1\u5d4c\u5165\u5f0f Linux \u9a71\u52a8\/BSP \u5f00\u53d1Linux \u5185\u6838\u5f00\u53d1\u8bfb\u5b8c\u540e&#xff0c;\u5c31\u80fd\u5927\u81f4\u5224\u65ad\u8fd9\u4e2a\u5c97\u4f4d\u6bcf\u5929\u5728\u505a\u4ec0\u4e48\u3001\u9700\u8981\u5199\u54ea\u4e00\u5c42\u4ee3\u7801\u3002rt\u2011thread \u251c\u2500 Applications  # \u7528\u6237\u5e94\u7528\u4ee3\u7801&#xff0c;main.c\u653e\u8fd9\u91cc \u251c\u2500 Compiler","og_url":"https:\/\/www.wsisp.com\/helps\/92718.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-08-10T15:32:59+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260810153257-6a79ef29d2288.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/92718.html","url":"https:\/\/www.wsisp.com\/helps\/92718.html","name":"\u5d4c\u5165\u5f0f\u5f00\u53d1\u516d\u5927\u5c97\u4f4d\uff1a\u4ece MCU \u88f8\u673a\u5230 Linux \u5185\u6838 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-08-10T15:32:59+00:00","dateModified":"2026-08-10T15:32:59+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/92718.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/92718.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/92718.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u5d4c\u5165\u5f0f\u5f00\u53d1\u516d\u5927\u5c97\u4f4d\uff1a\u4ece MCU \u88f8\u673a\u5230 Linux \u5185\u6838"}]},{"@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\/92718","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=92718"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/92718\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/92714"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=92718"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=92718"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=92718"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=92718"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}