{"id":106674,"date":"2026-09-17T23:09:39","date_gmt":"2026-09-17T15:09:39","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/106674.html"},"modified":"2026-09-17T23:09:39","modified_gmt":"2026-09-17T15:09:39","slug":"%e3%80%90%e5%b5%8c%e5%85%a5%e5%bc%8farm%e8%a3%b8%e6%9c%ba%e5%bc%80%e5%8f%91day03%e3%80%91imx6ull%e5%90%af%e5%8a%a8%e4%bb%a3%e7%a0%81led%e9%97%aa%e7%83%81%e5%ae%9e%e9%aa%8c-%e4%bb%8e%e7%8e%af%e5%a2%83","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/106674.html","title":{"rendered":"\u3010\u5d4c\u5165\u5f0fARM\u88f8\u673a\u5f00\u53d1Day03\u3011IMX6ULL\u542f\u52a8\u4ee3\u7801+LED\u95ea\u70c1\u5b9e\u9a8c \u4ece\u73af\u5883\u5230\u539f\u7406\u5168\u62c6\u89e3"},"content":{"rendered":"<\/p>\n<h4>\u6587\u7ae0\u76ee\u5f55<\/h4>\n<ul>\n<li>\u524d\u8a00<\/li>\n<li>\u4e00\u3001\u5f00\u53d1\u73af\u5883\u642d\u5efa&#xff1a;\u4ea4\u53c9\u7f16\u8bd1\u5668\u4e0e\u70e7\u5f55\u73af\u5883\n<ul>\n<li>1.1 Linaro\u4ea4\u53c9\u7f16\u8bd1\u5668\u5b89\u88c5<\/li>\n<li>1.2 \u73af\u5883\u8e29\u5751\u8bb0\u5f55<\/li>\n<\/ul>\n<\/li>\n<li>\u4e8c\u3001ARM\u542f\u52a8\u4ee3\u7801\u6838\u5fc3\u539f\u7406&#xff1a;\u4ece\u5411\u91cf\u8868\u5230\u6808\u521d\u59cb\u5316\n<ul>\n<li>2.1 \u5f02\u5e38\u5411\u91cf\u8868&#xff1a;\u7a0b\u5e8f\u7684\u5165\u53e3\u7d22\u5f15<\/li>\n<li>2.2 \u5de5\u4f5c\u6a21\u5f0f\u4e0e\u6808&#xff1a;\u4e3a\u4ec0\u4e48\u8981\u8bbe\u4e24\u4e2a\u6808<\/li>\n<li>2.3 \u4e2d\u65ad\u7684\u5148\u5173\u540e\u5f00\u903b\u8f91<\/li>\n<\/ul>\n<\/li>\n<li>\u4e09\u3001SoC\u5f15\u811a\u914d\u7f6e\u4e09\u6b65\u6cd5&#xff1a;\u70b9\u4eaeLED\u7684\u786c\u4ef6\u903b\u8f91\n<ul>\n<li>3.1 \u7b2c\u4e00\u6b65&#xff1a;\u5f15\u811a\u590d\u7528\u914d\u7f6e&#xff08;IOMUXC&#xff09;<\/li>\n<li>3.2 \u7b2c\u4e8c\u6b65&#xff1a;\u7535\u6c14\u5c5e\u6027\u914d\u7f6e&#xff08;PAD&#xff09;<\/li>\n<li>3.3 \u7b2c\u4e09\u6b65&#xff1a;GPIO\u65b9\u5411\u4e0e\u7535\u5e73\u63a7\u5236<\/li>\n<\/ul>\n<\/li>\n<li>\u56db\u3001\u4ea4\u53c9\u7f16\u8bd1\u5de5\u5177\u94fe&#xff1a;\u56db\u4e2a\u6838\u5fc3\u5de5\u5177\u7684\u4f5c\u7528<\/li>\n<li>\u4e94\u3001\u6c47\u7f16\u4e0eC\u6df7\u5408\u8c03\u7528&#xff1a;AAPCS\u8c03\u7528\u89c4\u8303\n<ul>\n<li>5.1 \u6838\u5fc3\u89c4\u5219<\/li>\n<li>5.2 C\u8c03\u7528\u6c47\u7f16\u51fd\u6570\u793a\u4f8b<\/li>\n<li>5.3 \u6c47\u7f16\u8c03\u7528C\u51fd\u6570<\/li>\n<\/ul>\n<\/li>\n<li>\u516d\u3001\u5b8c\u6574\u4e0a\u7535\u6267\u884c\u6d41\u7a0b\u68b3\u7406<\/li>\n<li>\u603b\u7ed3<\/li>\n<\/ul>\n<h3>\u524d\u8a00<\/h3>\n<p>\u6700\u8fd1\u5728\u5b66\u4e60ARM Cortex-A\u67b6\u6784\u88f8\u673a\u5f00\u53d1&#xff0c;\u4ece\u4ea4\u53c9\u7f16\u8bd1\u73af\u5883\u642d\u5efa&#xff0c;\u5230\u5f02\u5e38\u5411\u91cf\u8868\u3001\u542f\u52a8\u6d41\u7a0b\u3001IOMUXC\u5f15\u811a\u914d\u7f6e&#xff0c;\u518d\u5230\u6c47\u7f16\u4e0eC\u8bed\u8a00\u6df7\u5408\u8c03\u7528\u89c4\u8303&#xff0c;\u8e29\u4e86\u4e0d\u5c11\u73af\u5883\u7684\u5751&#xff0c;\u4e5f\u628a\u5e95\u5c42\u539f\u7406\u4e32\u4e86\u4e00\u904d\u3002\u672c\u6587\u5c31\u4ee5\u6700\u7ecf\u5178\u7684LED\u95ea\u70c1\u5b9e\u9a8c\u4e3a\u8f7d\u4f53&#xff0c;\u5b8c\u6574\u68b3\u7406\u4ece\u73af\u5883\u642d\u5efa\u3001\u542f\u52a8\u4ee3\u7801\u539f\u7406\u3001\u786c\u4ef6\u5f15\u811a\u914d\u7f6e\u5230\u7f16\u8bd1\u8c03\u7528\u7684\u5168\u94fe\u8def\u77e5\u8bc6\u70b9&#xff0c;\u65e2\u662f\u4e2a\u4eba\u5b66\u4e60\u590d\u76d8&#xff0c;\u4e5f\u7ed9\u5165\u95e8\u7684\u540c\u5b66\u505a\u4e2a\u53c2\u8003\u3002<\/p>\n<hr \/>\n<h3>\u4e00\u3001\u5f00\u53d1\u73af\u5883\u642d\u5efa&#xff1a;\u4ea4\u53c9\u7f16\u8bd1\u5668\u4e0e\u70e7\u5f55\u73af\u5883<\/h3>\n<p>\u88f8\u673a\u5f00\u53d1\u7b2c\u4e00\u6b65\u5c31\u662f\u642d\u5efa\u4ea4\u53c9\u7f16\u8bd1\u73af\u5883&#xff0c;\u6211\u4eec\u7528\u7684\u662fLinaro GCC 4.9.4\u7248\u672c&#xff0c;\u5728x86\u4e3b\u673a\u4e0a\u7f16\u8bd1\u80fd\u5728ARM\u5f00\u53d1\u677f\u4e0a\u8fd0\u884c\u7684\u7a0b\u5e8f\u3002<\/p>\n<h4>1.1 Linaro\u4ea4\u53c9\u7f16\u8bd1\u5668\u5b89\u88c5<\/h4>\n<p>\u5b8c\u6574\u5b89\u88c5\u6b65\u9aa4\u5982\u4e0b&#xff1a;<\/p>\n<p># 1. \u521b\u5efa\u5b89\u88c5\u76ee\u5f55<br \/>\nsudo mkdir -p \/usr\/local\/arm<br \/>\n2. \u62f7\u8d1d\u538b\u7f29\u5305\u5e76\u89e3\u538b<br \/>\nsudo cp gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf.tar.xz \/usr\/local\/arm\/<br \/>\ncd \/usr\/local\/arm<br \/>\nsudo tar -xvf gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf.tar.xz<br \/>\n3. \u914d\u7f6e\u73af\u5883\u53d8\u91cf<br \/>\nvi ~\/.bashrc<br \/>\n\u5728\u6587\u4ef6\u672b\u5c3e\u6dfb\u52a0<br \/>\nexport PATH&#061;$PATH:\/usr\/local\/arm\/gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf\/bin<br \/>\n4. \u751f\u6548\u5e76\u9a8c\u8bc1<br \/>\nsource ~\/.bashrc<br \/>\narm-linux-gnueabihf-gcc -v <\/p>\n<p>\u8f93\u51fagcc version 4.9.4 (Linaro GCC 4.9-2017.01)\u5373\u4e3a\u5b89\u88c5\u6210\u529f\u3002<\/p>\n<h4>1.2 \u73af\u5883\u8e29\u5751\u8bb0\u5f55<\/h4>\n<p>\u672c\u6b21\u5b66\u4e60\u8e29\u4e86\u4e24\u4e2a\u5178\u578b\u7684\u73af\u5883\u5751&#xff0c;\u8fd9\u91cc\u4e00\u5e76\u8bb0\u5f55&#xff1a;<\/p>\n<li>VMware USB\u76f4\u901a\u5931\u8d25\n<ul>\n<li>\u73b0\u8c61&#xff1a;SD\u5361\u8bfb\u5361\u5668\u5728Windows\u4e3b\u673a\u6b63\u5e38\u8bc6\u522b&#xff0c;\u4f46\u865a\u62df\u673a\u53ef\u79fb\u52a8\u8bbe\u5907\u91cc\u627e\u4e0d\u5230&#xff0c;\u542f\u52a8VMware USB Arbitration Service\u65f6\u62a5\u9519\u201c\u7cfb\u7edf\u627e\u4e0d\u5230\u6307\u5b9a\u7684\u6587\u4ef6\u201d\u3002<\/li>\n<li>\u89e3\u51b3&#xff1a;\u4f18\u5148\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u8fd0\u884cVMware\u5b89\u88c5\u5305\u9009\u62e9\u300c\u4fee\u590d\u300d&#xff1b;\u4fee\u590d\u65e0\u6548\u5219\u5b8c\u6574\u5378\u8f7d\u91cd\u88c5&#xff0c;\u5b89\u88c5\u65f6\u5fc5\u987b\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u8fd0\u884c&#xff0c;\u907f\u514d\u670d\u52a1\u6ce8\u518c\u4e0d\u5168\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\u8bbe\u5907\u8fde\u63a5\u517c\u5bb9\u6027\u63d0\u793a\n<ul>\n<li>\u73b0\u8c61&#xff1a;\u8fde\u63a5USB\u8bfb\u5361\u5668\u65f6\u63d0\u793a\u201c\u65e0\u6cd5\u8fde\u63a5\u5230\u7406\u60f3\u7684\u4e3b\u673a\u63a7\u5236\u5668\u201d\u3002<\/li>\n<li>\u89e3\u51b3&#xff1a;\u5173\u95ed\u865a\u62df\u673a&#xff0c;\u5728\u8bbe\u7f6e\u4e2d\u5c06USB\u63a7\u5236\u5668\u4eceUSB 3.1\u6539\u4e3aUSB 2.0&#xff0c;\u91cd\u542f\u540e\u5373\u53ef\u6b63\u5e38\u8fde\u63a5&#xff0c;\u5927\u5bb9\u91cf\u5b58\u50a8\u8bbe\u5907\u548cUSB 2.0\u517c\u5bb9\u6027\u66f4\u597d\u3002<\/li>\n<\/ul>\n<\/li>\n<hr \/>\n<h3>\u4e8c\u3001ARM\u542f\u52a8\u4ee3\u7801\u6838\u5fc3\u539f\u7406&#xff1a;\u4ece\u5411\u91cf\u8868\u5230\u6808\u521d\u59cb\u5316<\/h3>\n<p>LED\u5b9e\u9a8c\u7684\u542f\u52a8\u4ee3\u7801\u662f\u6574\u4e2a\u88f8\u673a\u5f00\u53d1\u7684\u57fa\u7840\u6846\u67b6&#xff0c;\u8986\u76d6\u4e86ARM\u67b6\u6784\u6700\u6838\u5fc3\u7684\u5f02\u5e38\u673a\u5236\u3001\u5de5\u4f5c\u6a21\u5f0f\u3001\u6808\u7ba1\u7406\u3002<\/p>\n<h4>2.1 \u5f02\u5e38\u5411\u91cf\u8868&#xff1a;\u7a0b\u5e8f\u7684\u5165\u53e3\u7d22\u5f15<\/h4>\n<p>ARM\u67b6\u6784\u89c4\u5b9a&#xff1a;\u53d1\u751f\u5f02\u5e38\/\u4e2d\u65ad\u65f6&#xff0c;CPU\u4f1a\u5f3a\u5236\u8df3\u8f6c\u5230\u56fa\u5b9a\u5185\u5b58\u5730\u5740\u6267\u884c\u3002\u8fd9\u4e9b\u56fa\u5b9a\u5730\u5740\u6309\u987a\u5e8f\u7ec4\u6210\u5f02\u5e38\u5411\u91cf\u8868&#xff0c;\u5fc5\u987b\u653e\u5728\u7a0b\u5e8f\u6700\u5f00\u5934\u3002<\/p>\n<p>.global _start<br \/>\n_start:<br \/>\nldr pc, &#061;_reset_handler    &#064; \u590d\u4f4d\u5f02\u5e38<br \/>\nldr pc, &#061;_undef_handler    &#064; \u672a\u5b9a\u4e49\u6307\u4ee4\u5f02\u5e38<br \/>\nldr pc, &#061;_software_handler &#064; \u8f6f\u4ef6\u4e2d\u65ad\u5f02\u5e38<br \/>\nldr pc, &#061;_prefetch_handler &#064; \u9884\u53d6\u4e2d\u6b62\u5f02\u5e38<br \/>\nldr pc, &#061;_data_handler     &#064; \u6570\u636e\u4e2d\u6b62\u5f02\u5e38<br \/>\nnop                        &#064; \u4fdd\u7559\u4f4d<br \/>\nldr pc, &#061;_irq_handler      &#064; IRQ\u666e\u901a\u4e2d\u65ad<br \/>\nldr pc, &#061;_fiq_handler      &#064; FIQ\u5feb\u901f\u4e2d\u65ad<\/p>\n<p>\u5173\u952e\u7ec6\u8282&#xff1a;<\/p>\n<ul>\n<li>\u5411\u91cf\u8868\u7edf\u4e00\u4f7f\u7528ldr pc, &#061;\u6807\u53f7\u7684\u5199\u6cd5&#xff0c;\u8fd9\u662f\u5730\u5740\u52a0\u8f7d\u4f2a\u6307\u4ee4&#xff0c;\u5b9e\u73b032\u4f4d\u5168\u5730\u5740\u7a7a\u95f4\u7684\u7edd\u5bf9\u8df3\u8f6c\u3002\u76f8\u6bd4b\u76f8\u5bf9\u8df3\u8f6c&#xff08;\u00b132MB\u8303\u56f4\u9650\u5236&#xff09;&#xff0c;\u6ca1\u6709\u8df3\u8f6c\u8ddd\u79bb\u9650\u5236&#xff0c;\u662f\u5411\u91cf\u8868\u7684\u6807\u51c6\u5199\u6cd5\u3002<\/li>\n<li>\u540e\u9762\u7684\u5f02\u5e38\u5904\u7406\u51fd\u6570\u9ed8\u8ba4\u5199\u6210\u6b7b\u5faa\u73afb .&#xff0c;\u5c5e\u4e8e\u8c03\u8bd5\u5360\u4f4d\u5199\u6cd5\u2014\u2014\u5982\u679c\u610f\u5916\u89e6\u53d1\u5f02\u5e38&#xff0c;\u7a0b\u5e8f\u4f1a\u505c\u5728\u5bf9\u5e94\u4f4d\u7f6e&#xff0c;\u65b9\u4fbf\u5b9a\u4f4d\u8dd1\u98de\u539f\u56e0\u3002<\/li>\n<\/ul>\n<h4>2.2 \u5de5\u4f5c\u6a21\u5f0f\u4e0e\u6808&#xff1a;\u4e3a\u4ec0\u4e48\u8981\u8bbe\u4e24\u4e2a\u6808<\/h4>\n<p>ARM\u6bcf\u4e2a\u5de5\u4f5c\u6a21\u5f0f\u90fd\u6709\u72ec\u7acb\u7684SP\u6808\u6307\u9488\u5bc4\u5b58\u5668&#xff0c;\u6240\u4ee5\u542f\u52a8\u4ee3\u7801\u5fc5\u987b\u5206\u522b\u521d\u59cb\u5316\u6808\u3002<\/p>\n<p>cps #0x12               &#064; \u5207\u6362\u5230IRQ\u6a21\u5f0f<br \/>\nldr sp, &#061;0x82000000     &#064; \u8bbe\u7f6eIRQ\u6a21\u5f0f\u6808\u6307\u9488<br \/>\ncps #0x1F               &#064; \u5207\u6362\u5230SYS\u7cfb\u7edf\u6a21\u5f0f<br \/>\nldr sp, &#061;0x84000000     &#064; \u8bbe\u7f6e\u4e3b\u7a0b\u5e8f\u6808\u6307\u9488<\/p>\n<p>\u6838\u5fc3\u539f\u7406&#xff1a;<\/p>\n<li>\u6ee1\u9012\u51cf\u6808\u89c4\u5219&#xff1a;ARM\u9ed8\u8ba4\u4f7f\u7528\u6ee1\u9012\u51cf\u6808&#xff0c;\u6808\u4ece\u9ad8\u5730\u5740\u5411\u4f4e\u5730\u5740\u751f\u957f\u3002\u521d\u59cbSP\u6307\u5411\u6808\u7684\u6700\u9ad8\u5730\u5740&#xff08;\u5929\u82b1\u677f&#xff09;&#xff0c;\u538b\u6808\u65f6SP\u51cf\u5c0f&#xff0c;\u5f39\u6808\u65f6SP\u589e\u5927\u3002<\/li>\n<li>\u5730\u5740\u9009\u62e9\u903b\u8f91&#xff1a;DDR\u5185\u5b58\u4ece0x80000000\u8d77\u59cb&#xff0c;\u628a\u6808\u521d\u59cb\u503c\u8bbe\u57280x82000000\u30010x84000000&#xff0c;\u5c31\u662f\u7ed9\u6808\u5411\u4e0b\u751f\u957f\u7559\u51fa\u8db3\u591f\u7a7a\u95f4&#xff0c;\u907f\u514d\u6808\u6ea2\u51fa\u8d8a\u754c\u3002<\/li>\n<li>\u4e24\u4e2a\u6808\u7684\u5206\u5de5&#xff1a;IRQ\u6808\u4e13\u4f9b\u4e2d\u65ad\u89e6\u53d1\u65f6\u4fdd\u5b58\u73b0\u573a\u4f7f\u7528&#xff0c;SYS\u6808\u4f9b\u4e3b\u7a0b\u5e8f\u51fd\u6570\u8c03\u7528\u3001\u5c40\u90e8\u53d8\u91cf\u4f7f\u7528&#xff0c;\u4e24\u8005\u72ec\u7acb\u9694\u79bb&#xff0c;\u907f\u514d\u4e2d\u65ad\u7834\u574f\u4e3b\u7a0b\u5e8f\u6808\u6570\u636e\u3002<\/li>\n<h4>2.3 \u4e2d\u65ad\u7684\u5148\u5173\u540e\u5f00\u903b\u8f91<\/h4>\n<p>\u542f\u52a8\u4ee3\u7801\u6709\u4e2a\u7ecf\u5178\u64cd\u4f5c&#xff1a;\u521d\u59cb\u5316\u5f00\u59cb\u5148\u5173\u4e2d\u65ad&#xff0c;\u521d\u59cb\u5316\u5b8c\u6210\u518d\u5f00\u4e2d\u65ad\u3002<\/p>\n<p>cpsid i    &#064; \u5173\u95edIRQ\u603b\u4e2d\u65ad<br \/>\ncpsid f    &#064; \u5173\u95edFIQ\u603b\u4e2d\u65ad<br \/>\n&#8230; \u521d\u59cb\u5316\u6d41\u7a0b &#8230;<br \/>\ncpsie i    &#064; \u6253\u5f00IRQ\u603b\u4e2d\u65ad<\/p>\n<p>\u4e3a\u4ec0\u4e48\u8981\u8fd9\u4e48\u8bbe\u8ba1&#xff1f;<\/p>\n<ul>\n<li>\u521d\u59cb\u5316\u9636\u6bb5\u6808\u6307\u9488\u3001\u5411\u91cf\u8868\u3001\u5916\u8bbe\u90fd\u672a\u5c31\u7eea&#xff0c;\u6b64\u65f6\u89e6\u53d1\u4e2d\u65ad&#xff0c;CPU\u627e\u4e0d\u5230\u5904\u7406\u51fd\u6570\u3001\u6ca1\u6709\u6808\u7a7a\u95f4\u4fdd\u5b58\u73b0\u573a&#xff0c;\u76f4\u63a5\u8dd1\u98de\u6b7b\u673a\u3002<\/li>\n<li>IRQ\u662f\u666e\u901a\u5916\u8bbe\u4e2d\u65ad&#xff08;\u6309\u952e\u3001\u4e32\u53e3\u3001\u5b9a\u65f6\u5668\u7b49&#xff09;&#xff0c;FIQ\u662f\u9ad8\u4f18\u5148\u7ea7\u5feb\u901f\u4e2d\u65ad&#xff0c;\u5bf9\u5e94CPSR\u5bc4\u5b58\u5668\u7684I\u4f4d\u548cF\u4f4d\u4e24\u4e2a\u603b\u5f00\u5173\u3002<\/li>\n<li>\u5b8c\u6574\u4e2d\u65ad\u662f\u4e09\u7ea7\u5f00\u5173&#xff1a;\u5916\u8bbe\u81ea\u8eab\u4f7f\u80fd \u2192 \u4e2d\u65ad\u63a7\u5236\u5668\u901a\u9053\u4f7f\u80fd \u2192 CPU\u603b\u5f00\u5173&#xff0c;\u4e09\u7ea7\u5168\u5f00\u624d\u80fd\u6b63\u5e38\u54cd\u5e94\u4e2d\u65ad\u3002<\/li>\n<\/ul>\n<hr \/>\n<h3>\u4e09\u3001SoC\u5f15\u811a\u914d\u7f6e\u4e09\u6b65\u6cd5&#xff1a;\u70b9\u4eaeLED\u7684\u786c\u4ef6\u903b\u8f91<\/h3>\n<p>\u70b9\u4eaeLED\u7684\u6838\u5fc3\u662f\u914d\u7f6eSoC\u7684\u5f15\u811a&#xff0c;\u5168\u90e8\u901a\u8fc7\u5185\u5b58\u6620\u5c04&#xff08;MMIO&#xff09;\u7684\u5916\u8bbe\u5bc4\u5b58\u5668\u5b8c\u6210&#xff0c;\u4e5f\u5c31\u662f\u76f4\u63a5\u8bfb\u5199\u56fa\u5b9a\u5730\u5740\u7684\u5bc4\u5b58\u5668\u63a7\u5236\u786c\u4ef6\u3002<\/p>\n<h4>3.1 \u7b2c\u4e00\u6b65&#xff1a;\u5f15\u811a\u590d\u7528\u914d\u7f6e&#xff08;IOMUXC&#xff09;<\/h4>\n<p>SoC\u5f15\u811a\u6570\u91cf\u6709\u9650&#xff0c;\u4f46\u5185\u90e8\u5916\u8bbe\u4f17\u591a&#xff0c;IOMUXC\u7684\u4f5c\u7528\u5c31\u662f\u8ba9\u540c\u4e00\u4e2a\u7269\u7406\u5f15\u811a\u5207\u6362\u4e0d\u540c\u529f\u80fd\u3002<\/p>\n<p>ldr r0, &#061;0x020E0068   &#064; GPIO1_IO03\u5f15\u811a\u590d\u7528\u5bc4\u5b58\u5668\u5730\u5740<br \/>\nldr r1, &#061;0x05<br \/>\nstr r1, [r0]           &#064; \u914d\u7f6e\u4e3aALT5\u6a21\u5f0f&#xff0c;\u5373GPIO\u529f\u80fd<\/p>\n<ul>\n<li>\u5bc4\u5b58\u5668\u5730\u57400x020E0068\u7531\u82af\u7247\u624b\u518c\u89c4\u5b9a&#xff0c;\u662fIOMUXC\u57fa\u5730\u5740\u52a0\u5f15\u811a\u504f\u79fb\u5f97\u5230&#xff0c;\u786c\u4ef6\u56fa\u5b9a\u4e0d\u53ef\u4fee\u6539\u3002<\/li>\n<li>\u4e0d\u914d\u7f6e\u590d\u7528\u7684\u8bdd&#xff0c;\u5f15\u811a\u9ed8\u8ba4\u662f\u5176\u4ed6\u5916\u8bbe\u529f\u80fd&#xff0c;GPIO\u4fe1\u53f7\u6839\u672c\u8fde\u4e0d\u5230\u5916\u90e8\u5f15\u811a\u4e0a&#xff0c;\u706f\u4e0d\u4f1a\u4eae\u3002<\/li>\n<\/ul>\n<h4>3.2 \u7b2c\u4e8c\u6b65&#xff1a;\u7535\u6c14\u5c5e\u6027\u914d\u7f6e&#xff08;PAD&#xff09;<\/h4>\n<p>\u914d\u7f6e\u5f15\u811a\u7684\u9a71\u52a8\u5f3a\u5ea6\u3001\u4e0a\u4e0b\u62c9\u7535\u963b\u3001\u538b\u6446\u7387\u7b49\u7535\u6c14\u53c2\u6570&#xff0c;\u5339\u914d\u786c\u4ef6\u7535\u8def\u9700\u6c42\u3002<\/p>\n<p>ldr r0, &#061;0x020E02F4   &#064; PAD\u914d\u7f6e\u5bc4\u5b58\u5668\u5730\u5740<br \/>\nldr r1, &#061;0x10B0<br \/>\nstr r1, [r0]           &#064; \u914d\u7f6e\u666e\u901a\u9a71\u52a8\u5f3a\u5ea6\u3001\u4e0a\u62c9\u7535\u963b\u3001\u4f4e\u901f\u538b\u6446\u7387<\/p>\n<p>\u5408\u9002\u7684\u7535\u6c14\u914d\u7f6e\u53ef\u4ee5\u4fdd\u8bc1\u8f93\u51fa\u7535\u6d41\u8db3\u591f\u9a71\u52a8LED&#xff0c;\u540c\u65f6\u907f\u514d\u4e0a\u7535\u65f6\u7535\u5e73\u4e0d\u786e\u5b9a\u5bfc\u81f4\u8bef\u4eae\u3002<\/p>\n<h4>3.3 \u7b2c\u4e09\u6b65&#xff1a;GPIO\u65b9\u5411\u4e0e\u7535\u5e73\u63a7\u5236<\/h4>\n<p>\u6700\u540e\u914d\u7f6eGPIO\u4e3a\u8f93\u51fa\u6a21\u5f0f&#xff0c;\u901a\u8fc7\u6570\u636e\u5bc4\u5b58\u5668\u63a7\u5236\u5f15\u811a\u7535\u5e73\u3002<\/p>\n<p>&#064; \u8bbe\u7f6e\u8f93\u51fa\u65b9\u5411<br \/>\nldr r0, &#061;0x0209C004   &#064; GPIO1\u65b9\u5411\u5bc4\u5b58\u5668<br \/>\nldr r1, [r0]<br \/>\norr r1, r1, #(1 &lt;&lt; 3) &#064; \u53ea\u4fee\u6539bit3&#xff0c;\u5176\u4ed6\u4f4d\u4e0d\u53d8<br \/>\nstr r1, [r0]<br \/>\n&#064; \u70b9\u4eaeLED<br \/>\nldr r0, &#061;0x0209C000   &#064; GPIO1\u6570\u636e\u5bc4\u5b58\u5668<br \/>\nldr r1, [r0]<br \/>\nbic r1, r1, #(1 &lt;&lt; 3) &#064; bit3\u6e050&#xff0c;\u8f93\u51fa\u4f4e\u7535\u5e73<br \/>\nstr r1, [r0] <\/p>\n<p>\u4e24\u4e2a\u5173\u952e\u7ec6\u8282&#xff1a;<\/p>\n<li>\u8bfb\u6539\u5199\u539f\u5219&#xff1a;\u65b9\u5411\u5bc4\u5b58\u5668\u3001\u6570\u636e\u5bc4\u5b58\u5668\u90fd\u63a7\u5236\u4e00\u7ec432\u4e2a\u5f15\u811a&#xff0c;\u5fc5\u987b\u5148\u8bfb\u51fa\u539f\u503c\u3001\u4fee\u6539\u76ee\u6807\u4f4d\u3001\u518d\u5199\u56de&#xff0c;\u4e0d\u80fd\u76f4\u63a5\u5199\u503c&#xff0c;\u5426\u5219\u4f1a\u8986\u76d6\u540c\u7ec4\u5176\u4ed6\u5f15\u811a\u7684\u914d\u7f6e\u3002<\/li>\n<li>\u5171\u9633\u6781\u903b\u8f91&#xff1a;\u5f00\u53d1\u677fLED\u4e00\u822c\u662f\u5171\u9633\u6781\u63a5\u6cd5&#xff0c;\u6b63\u6781\u63a5\u7535\u6e90&#xff0c;\u8d1f\u6781\u63a5GPIO\u3002\u5f15\u811a\u8f93\u51fa\u4f4e\u7535\u5e73\u65f6\u5f62\u6210\u56de\u8def&#xff0c;LED\u70b9\u4eae&#xff1b;\u8f93\u51fa\u9ad8\u7535\u5e73\u65f6\u7184\u706d&#xff0c;\u6240\u4ee5\u7528bic\u6e050\u70b9\u4eae\u3001orr\u7f6e1\u7184\u706d\u3002<\/li>\n<hr \/>\n<h3>\u56db\u3001\u4ea4\u53c9\u7f16\u8bd1\u5de5\u5177\u94fe&#xff1a;\u56db\u4e2a\u6838\u5fc3\u5de5\u5177\u7684\u4f5c\u7528<\/h3>\n<p>Linaro\u5de5\u5177\u94fe\u4e0d\u53ea\u6709gcc\u7f16\u8bd1\u5668&#xff0c;\u8fd8\u6709\u56db\u4e2a\u6838\u5fc3\u7ec4\u4ef6&#xff0c;\u5404\u81ea\u627f\u62c5\u4e0d\u540c\u529f\u80fd&#xff1a;<\/p>\n<table>\n<tr>\u5de5\u5177\u5bf9\u5e94\u547d\u4ee4\u6838\u5fc3\u4f5c\u7528<\/tr>\n<tbody>\n<tr>\n<td>\u7f16\u8bd1\u5668<\/td>\n<td>arm-linux-gnueabihf-gcc<\/td>\n<td>\u5c06C\u8bed\u8a00\/\u6c47\u7f16\u6e90\u4ee3\u7801\u7f16\u8bd1\u6210\u4e8c\u8fdb\u5236\u76ee\u6807\u6587\u4ef6&#xff08;.o&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u8fde\u63a5\u5668<\/td>\n<td>arm-linux-gnueabihf-ld<\/td>\n<td>\u62fc\u63a5\u591a\u4e2a\u76ee\u6807\u6587\u4ef6\u548c\u5e93&#xff0c;\u5b8c\u6210\u5730\u5740\u91cd\u5b9a\u4f4d&#xff0c;\u751f\u6210elf\u53ef\u6267\u884c\u6587\u4ef6<\/td>\n<\/tr>\n<tr>\n<td>\u683c\u5f0f\u8f6c\u6362\u5668<\/td>\n<td>arm-linux-gnueabihf-objcopy<\/td>\n<td>\u5265\u79bbelf\u6587\u4ef6\u7684\u8c03\u8bd5\u4fe1\u606f&#xff0c;\u8f6c\u6362\u6210\u7eaf\u4e8c\u8fdb\u5236bin\u955c\u50cf&#xff0c;\u7528\u4e8e\u70e7\u5f55<\/td>\n<\/tr>\n<tr>\n<td>\u53cd\u6c47\u7f16\u5668<\/td>\n<td>arm-linux-gnueabihf-objdump<\/td>\n<td>\u5c06\u4e8c\u8fdb\u5236\u6587\u4ef6\u53cd\u5411\u8fd8\u539f\u6210\u6c47\u7f16\u4ee3\u7801&#xff0c;\u7528\u4e8e\u8c03\u8bd5\u548c\u5206\u6790\u6307\u4ee4<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h3>\u4e94\u3001\u6c47\u7f16\u4e0eC\u6df7\u5408\u8c03\u7528&#xff1a;AAPCS\u8c03\u7528\u89c4\u8303<\/h3>\n<p>\u88f8\u673a\u5f00\u53d1\u7ecf\u5e38\u9700\u8981\u6c47\u7f16\u548cC\u6df7\u5408\u7f16\u7a0b&#xff0c;\u4e24\u8005\u4e92\u76f8\u8c03\u7528\u5fc5\u987b\u9075\u5faaARM\u7684AAPCS\u8fc7\u7a0b\u8c03\u7528\u6807\u51c6&#xff0c;\u53c2\u6570\u548c\u8fd4\u56de\u503c\u6709\u56fa\u5b9a\u7684\u4f20\u9012\u89c4\u5219\u3002<\/p>\n<h4>5.1 \u6838\u5fc3\u89c4\u5219<\/h4>\n<ul>\n<li>\u53c2\u6570\u4f20\u9012&#xff1a;\u524d4\u4e2a\u6574\u578b\/\u6307\u9488\u53c2\u6570&#xff0c;\u4f9d\u6b21\u901a\u8fc7R0\u3001R1\u3001R2\u3001R3\u4f20\u9012&#xff1b;\u7b2c5\u4e2a\u53ca\u4ee5\u540e\u7684\u53c2\u6570\u901a\u8fc7\u6808\u4f20\u9012\u3002<\/li>\n<li>\u8fd4\u56de\u503c&#xff1a;32\u4f4d\u8fd4\u56de\u503c\u5b58\u653e\u5728R0\u5bc4\u5b58\u5668\u4e2d&#xff0c;64\u4f4d\u8fd4\u56de\u503c\u7528R0\u5b58\u4f4e32\u4f4d\u3001R1\u5b58\u9ad832\u4f4d\u3002<\/li>\n<li>\u5bc4\u5b58\u5668\u4fdd\u62a4&#xff1a;R4~R11\u5c5e\u4e8e\u88ab\u8c03\u7528\u8005\u4fdd\u62a4\u5bc4\u5b58\u5668&#xff0c;\u51fd\u6570\u5185\u90e8\u4f7f\u7528\u524d\u8981\u538b\u6808\u4fdd\u5b58&#xff0c;\u8fd4\u56de\u524d\u6062\u590d\u3002<\/li>\n<\/ul>\n<h4>5.2 C\u8c03\u7528\u6c47\u7f16\u51fd\u6570\u793a\u4f8b<\/h4>\n<p>\u6c47\u7f16\u4fa7\u5bfc\u51fa\u51fd\u6570&#xff0c;C\u4fa7\u58f0\u660e\u539f\u578b\u5373\u53ef\u76f4\u63a5\u8c03\u7528&#xff1a;<\/p>\n<p>&#064; \u6c47\u7f16\u6587\u4ef6&#xff1a;\u5b9e\u73b0\u52a0\u6cd5\u51fd\u6570<br \/>\n.global asm_add<br \/>\nasm_add:<br \/>\n    add r0, r0, r1   &#064; R0\u5b58\u7b2c\u4e00\u4e2a\u53c2\u6570&#xff0c;R1\u5b58\u7b2c\u4e8c\u4e2a\u53c2\u6570&#xff0c;\u7ed3\u679c\u5199\u56deR0<br \/>\n    bx lr<\/p>\n<p>\/\/ C\u6587\u4ef6&#xff1a;\u58f0\u660e\u5e76\u8c03\u7528<br \/>\nint asm_add(int a, int b);<br \/>\nint result &#061; asm_add(3, 5); \/\/ \u7f16\u8bd1\u5668\u81ea\u52a8\u5c063\u653e\u5165R0\u30015\u653e\u5165R1&#xff0c;\u8fd4\u56de\u503c\u4eceR0\u8bfb\u53d6<\/p>\n<h4>5.3 \u6c47\u7f16\u8c03\u7528C\u51fd\u6570<\/h4>\n<p>\u6c47\u7f16\u4e2d\u76f4\u63a5\u7528bl\u6307\u4ee4\u8c03\u7528&#xff0c;\u8c03\u7528\u524d\u6309\u89c4\u5219\u628a\u53c2\u6570\u653e\u5165\u5bf9\u5e94\u5bc4\u5b58\u5668\u5373\u53ef&#xff0c;\u8fd4\u56de\u503c\u4eceR0\u8bfb\u53d6\u3002<\/p>\n<hr \/>\n<h3>\u516d\u3001\u5b8c\u6574\u4e0a\u7535\u6267\u884c\u6d41\u7a0b\u68b3\u7406<\/h3>\n<p>\u6700\u540e\u628a\u6574\u4e2a\u6d41\u7a0b\u4e32\u4e00\u904d&#xff0c;\u5efa\u7acb\u5b8c\u6574\u7684\u6267\u884c\u94fe\u8def&#xff1a;<\/p>\n<li>\u82af\u7247\u4e0a\u7535\u590d\u4f4d \u2192 \u786c\u4ef6\u5f3a\u5236\u8df3\u8f6c\u5230\u5411\u91cf\u88680\u5730\u5740 \u2192 \u6267\u884cldr pc, &#061;_reset_handler\u8df3\u8f6c\u5230\u590d\u4f4d\u51fd\u6570<\/li>\n<li>\u5173\u95edIRQ\u3001FIQ\u603b\u4e2d\u65ad&#xff0c;\u786e\u4fdd\u521d\u59cb\u5316\u8fc7\u7a0b\u4e0d\u88ab\u6253\u65ad<\/li>\n<li>\u5207\u6362\u5230IRQ\u6a21\u5f0f&#xff0c;\u8bbe\u7f6eIRQ\u4e2d\u65ad\u6808\u6307\u9488<\/li>\n<li>\u5207\u6362\u5230SYS\u7cfb\u7edf\u6a21\u5f0f&#xff0c;\u8bbe\u7f6e\u4e3b\u7a0b\u5e8f\u6808\u6307\u9488<\/li>\n<li>\u6253\u5f00IRQ\u603b\u4e2d\u65ad&#xff0c;\u7cfb\u7edf\u521d\u59cb\u5316\u5b8c\u6210<\/li>\n<li>\u8c03\u7528led_init&#xff1a;\u914d\u7f6e\u5f15\u811a\u590d\u7528\u2192\u914d\u7f6e\u7535\u6c14\u5c5e\u6027\u2192\u8bbe\u7f6eGPIO\u8f93\u51fa\u65b9\u5411<\/li>\n<li>\u8fdb\u5165\u4e3b\u5faa\u73af&#xff1a;\u70b9\u4eaeLED \u2192 \u8f6f\u4ef6\u5ef6\u65f6 \u2192 \u7184\u706dLED \u2192 \u8f6f\u4ef6\u5ef6\u65f6 \u2192 \u5faa\u73af\u5f80\u590d<\/li>\n<hr \/>\n<h3>\u603b\u7ed3<\/h3>\n<p>\u770b\u4f3c\u7b80\u5355\u7684LED\u95ea\u70c1\u5b9e\u9a8c&#xff0c;\u5176\u5b9e\u8986\u76d6\u4e86ARM\u88f8\u673a\u5f00\u53d1\u6700\u6838\u5fc3\u7684\u77e5\u8bc6\u4f53\u7cfb&#xff1a;\u5f02\u5e38\u5411\u91cf\u673a\u5236\u3001\u5de5\u4f5c\u6a21\u5f0f\u4e0e\u6808\u7ba1\u7406\u3001\u5185\u5b58\u6620\u5c04\u5916\u8bbe\u64cd\u4f5c\u3001\u4ea4\u53c9\u7f16\u8bd1\u6d41\u7a0b\u3001\u6df7\u5408\u8c03\u7528\u89c4\u8303\u3002<\/p>\n<p>\u88f8\u673a\u5f00\u53d1\u7684\u6838\u5fc3\u672c\u8d28\u5c31\u662f\u300c\u5730\u5740\u51b3\u5b9a\u4e00\u5207\u300d&#xff1a;\u6240\u6709\u5916\u8bbe\u5bc4\u5b58\u5668\u90fd\u6709\u56fa\u5b9a\u7684\u7269\u7406\u5730\u5740&#xff0c;\u6240\u6709\u786c\u4ef6\u64cd\u4f5c\u672c\u8d28\u90fd\u662f\u5bf9\u5730\u5740\u7684\u8bfb\u5199\u3002\u7406\u89e3\u4e86\u52a0\u8f7d\u5b58\u50a8\u67b6\u6784\u548c\u5185\u5b58\u6620\u5c04&#xff0c;\u518d\u53bb\u5b66\u4e60UART\u3001SPI\u3001\u5b9a\u65f6\u5668\u7b49\u5176\u4ed6\u5916\u8bbe&#xff0c;\u90fd\u662f\u540c\u6837\u7684\u903b\u8f91&#xff0c;\u53ea\u662f\u5bc4\u5b58\u5668\u5730\u5740\u548c\u914d\u7f6e\u4f4d\u4e0d\u540c\u800c\u5df2\u3002<\/p>\n<p>\u540e\u7eed\u4f1a\u7ee7\u7eed\u5206\u4eab\u5b9a\u65f6\u5668\u4e2d\u65ad\u3001\u4e32\u53e3\u901a\u4fe1\u7b49\u66f4\u591a\u88f8\u673a\u5f00\u53d1\u5185\u5bb9&#xff0c;\u6b22\u8fce\u4e00\u8d77\u4ea4\u6d41\u5b66\u4e60\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u76ee\u5f55 \u524d\u8a00\u4e00\u3001\u5f00\u53d1\u73af\u5883\u642d\u5efa&#xff1a;\u4ea4\u53c9\u7f16\u8bd1\u5668\u4e0e\u70e7\u5f55\u73af\u5883 1.1 Linaro\u4ea4\u53c9\u7f16\u8bd1\u5668\u5b89\u88c51.2 \u73af\u5883\u8e29\u5751\u8bb0\u5f55 \u4e8c\u3001ARM\u542f\u52a8\u4ee3\u7801\u6838\u5fc3\u539f\u7406&#xff1a;\u4ece\u5411\u91cf\u8868\u5230\u6808\u521d\u59cb\u5316 2.1 \u5f02\u5e38\u5411\u91cf\u8868&#xff1a;\u7a0b\u5e8f\u7684\u5165\u53e3\u7d22\u5f152.2 \u5de5\u4f5c\u6a21\u5f0f\u4e0e\u6808&#xff1a;\u4e3a\u4ec0\u4e48\u8981\u8bbe\u4e24\u4e2a\u68082.3 \u4e2d\u65ad\u7684\u5148\u5173\u540e\u5f00\u903b\u8f91 \u4e09\u3001SoC\u5f15\u811a\u914d\u7f6e\u4e09\u6b65\u6cd5&#xff1a;\u70b9\u4eaeLED\u7684\u786c\u4ef6\u903b\u8f91 3.1 \u7b2c\u4e00\u6b65&#xff1a;\u5f15\u811a\u590d\u7528\u914d\u7f6e&#xff08;IOMUXC&#xff09;3.2 \u7b2c\u4e8c\u6b65&amp;#<\/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":[9841,11653,12119,751,270,269],"topic":[],"class_list":["post-106674","post","type-post","status-publish","format-standard","hentry","category-server","tag-9841","tag-11653","tag-12119","tag-arm","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>\u3010\u5d4c\u5165\u5f0fARM\u88f8\u673a\u5f00\u53d1Day03\u3011IMX6ULL\u542f\u52a8\u4ee3\u7801+LED\u95ea\u70c1\u5b9e\u9a8c \u4ece\u73af\u5883\u5230\u539f\u7406\u5168\u62c6\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\/106674.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010\u5d4c\u5165\u5f0fARM\u88f8\u673a\u5f00\u53d1Day03\u3011IMX6ULL\u542f\u52a8\u4ee3\u7801+LED\u95ea\u70c1\u5b9e\u9a8c \u4ece\u73af\u5883\u5230\u539f\u7406\u5168\u62c6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u76ee\u5f55 \u524d\u8a00\u4e00\u3001\u5f00\u53d1\u73af\u5883\u642d\u5efa&#xff1a;\u4ea4\u53c9\u7f16\u8bd1\u5668\u4e0e\u70e7\u5f55\u73af\u5883 1.1 Linaro\u4ea4\u53c9\u7f16\u8bd1\u5668\u5b89\u88c51.2 \u73af\u5883\u8e29\u5751\u8bb0\u5f55 \u4e8c\u3001ARM\u542f\u52a8\u4ee3\u7801\u6838\u5fc3\u539f\u7406&#xff1a;\u4ece\u5411\u91cf\u8868\u5230\u6808\u521d\u59cb\u5316 2.1 \u5f02\u5e38\u5411\u91cf\u8868&#xff1a;\u7a0b\u5e8f\u7684\u5165\u53e3\u7d22\u5f152.2 \u5de5\u4f5c\u6a21\u5f0f\u4e0e\u6808&#xff1a;\u4e3a\u4ec0\u4e48\u8981\u8bbe\u4e24\u4e2a\u68082.3 \u4e2d\u65ad\u7684\u5148\u5173\u540e\u5f00\u903b\u8f91 \u4e09\u3001SoC\u5f15\u811a\u914d\u7f6e\u4e09\u6b65\u6cd5&#xff1a;\u70b9\u4eaeLED\u7684\u786c\u4ef6\u903b\u8f91 3.1 \u7b2c\u4e00\u6b65&#xff1a;\u5f15\u811a\u590d\u7528\u914d\u7f6e&#xff08;IOMUXC&#xff09;3.2 \u7b2c\u4e8c\u6b65&amp;#\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/106674.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-17T15:09:39+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=\"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\/106674.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/106674.html\",\"name\":\"\u3010\u5d4c\u5165\u5f0fARM\u88f8\u673a\u5f00\u53d1Day03\u3011IMX6ULL\u542f\u52a8\u4ee3\u7801+LED\u95ea\u70c1\u5b9e\u9a8c \u4ece\u73af\u5883\u5230\u539f\u7406\u5168\u62c6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-09-17T15:09:39+00:00\",\"dateModified\":\"2026-09-17T15:09:39+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/106674.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/106674.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/106674.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010\u5d4c\u5165\u5f0fARM\u88f8\u673a\u5f00\u53d1Day03\u3011IMX6ULL\u542f\u52a8\u4ee3\u7801+LED\u95ea\u70c1\u5b9e\u9a8c \u4ece\u73af\u5883\u5230\u539f\u7406\u5168\u62c6\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":"\u3010\u5d4c\u5165\u5f0fARM\u88f8\u673a\u5f00\u53d1Day03\u3011IMX6ULL\u542f\u52a8\u4ee3\u7801+LED\u95ea\u70c1\u5b9e\u9a8c \u4ece\u73af\u5883\u5230\u539f\u7406\u5168\u62c6\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\/106674.html","og_locale":"zh_CN","og_type":"article","og_title":"\u3010\u5d4c\u5165\u5f0fARM\u88f8\u673a\u5f00\u53d1Day03\u3011IMX6ULL\u542f\u52a8\u4ee3\u7801+LED\u95ea\u70c1\u5b9e\u9a8c \u4ece\u73af\u5883\u5230\u539f\u7406\u5168\u62c6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u76ee\u5f55 \u524d\u8a00\u4e00\u3001\u5f00\u53d1\u73af\u5883\u642d\u5efa&#xff1a;\u4ea4\u53c9\u7f16\u8bd1\u5668\u4e0e\u70e7\u5f55\u73af\u5883 1.1 Linaro\u4ea4\u53c9\u7f16\u8bd1\u5668\u5b89\u88c51.2 \u73af\u5883\u8e29\u5751\u8bb0\u5f55 \u4e8c\u3001ARM\u542f\u52a8\u4ee3\u7801\u6838\u5fc3\u539f\u7406&#xff1a;\u4ece\u5411\u91cf\u8868\u5230\u6808\u521d\u59cb\u5316 2.1 \u5f02\u5e38\u5411\u91cf\u8868&#xff1a;\u7a0b\u5e8f\u7684\u5165\u53e3\u7d22\u5f152.2 \u5de5\u4f5c\u6a21\u5f0f\u4e0e\u6808&#xff1a;\u4e3a\u4ec0\u4e48\u8981\u8bbe\u4e24\u4e2a\u68082.3 \u4e2d\u65ad\u7684\u5148\u5173\u540e\u5f00\u903b\u8f91 \u4e09\u3001SoC\u5f15\u811a\u914d\u7f6e\u4e09\u6b65\u6cd5&#xff1a;\u70b9\u4eaeLED\u7684\u786c\u4ef6\u903b\u8f91 3.1 \u7b2c\u4e00\u6b65&#xff1a;\u5f15\u811a\u590d\u7528\u914d\u7f6e&#xff08;IOMUXC&#xff09;3.2 \u7b2c\u4e8c\u6b65&amp;#","og_url":"https:\/\/www.wsisp.com\/helps\/106674.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-09-17T15:09:39+00:00","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\/106674.html","url":"https:\/\/www.wsisp.com\/helps\/106674.html","name":"\u3010\u5d4c\u5165\u5f0fARM\u88f8\u673a\u5f00\u53d1Day03\u3011IMX6ULL\u542f\u52a8\u4ee3\u7801+LED\u95ea\u70c1\u5b9e\u9a8c \u4ece\u73af\u5883\u5230\u539f\u7406\u5168\u62c6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-09-17T15:09:39+00:00","dateModified":"2026-09-17T15:09:39+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/106674.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/106674.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/106674.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u3010\u5d4c\u5165\u5f0fARM\u88f8\u673a\u5f00\u53d1Day03\u3011IMX6ULL\u542f\u52a8\u4ee3\u7801+LED\u95ea\u70c1\u5b9e\u9a8c \u4ece\u73af\u5883\u5230\u539f\u7406\u5168\u62c6\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\/106674","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=106674"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/106674\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=106674"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=106674"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=106674"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=106674"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}