[{"data":1,"prerenderedAt":974},["ShallowReactive",2],{"wiki-page-/en-us/wiki/2024-01-21-arm-keil-mdk6-jiao-cheng/ch3-linux-pei-zhi-mdk6-huan-jing-jiao-cheng":3,"wiki-doc-items-/en-us/wiki/2024-01-21-arm-keil-mdk6-jiao-cheng/ch3-linux-pei-zhi-mdk6-huan-jing-jiao-cheng":922,"language-switcher-data-/en-us/wiki/2024-01-21-arm-keil-mdk6-jiao-cheng/ch3-linux-pei-zhi-mdk6-huan-jing-jiao-cheng":958,"wiki-i18n-paths-/en-us/wiki/2024-01-21-arm-keil-mdk6-jiao-cheng/ch3-linux-pei-zhi-mdk6-huan-jing-jiao-cheng":973},{"id":4,"title":5,"body":6,"canonicalPath":903,"chapter":904,"chapterSort":905,"date":906,"description":21,"docI18nKey":907,"docKey":908,"docRoot":909,"docTitle":910,"extension":911,"i18nKey":912,"isBlogPost":913,"isWikiDoc":606,"isWikiIndex":913,"layout":914,"legacyPath":914,"locale":915,"localeSlug":916,"meta":917,"navigation":606,"path":903,"seo":918,"sourcePath":919,"sourceStem":912,"stem":920,"wikiDepth":68,"__hash__":921},"content/_i18n/en-us/wiki/2024-01-21-Arm-Keil-MDK6教程/ch3-Linux配置MDK6环境教程.md","Linux MDK6 Environment Setup Tutorial",{"type":7,"value":8,"toc":894},"minimark",[9,22,27,46,50,55,127,132,140,156,161,194,199,212,218,225,267,272,292,295,300,304,309,323,326,333,347,352,357,361,364,369,372,377,380,385,388,393,398,403,406,425,429,432,437,440,445,450,454,459,462,465,468,471,476,479,484,487,492,495,500,505,516,519,524,527,532,536,539,542,547,552,556,560,566,569,625,628,732,735,751,757,779,782,785,788,794,797,800,803,833,836,841,844,849,853,859,862,867,870,875,884,887,890],[10,11,12],"p",{},[13,14,15],"em",{},[16,17,18],"strong",{},[19,20,21],"code",{},"（本教程为2024年1月创建的，可能与以后的版本有些出入）",[23,24,26],"h3",{"id":25},"software-to-prepare","Software to prepare",[28,29,30,34,37,40,43],"ol",{},[31,32,33],"li",{},"CubeMX latest version",[31,35,36],{},"The latest version of VScode",[31,38,39],{},"vcpkg package management tool",[31,41,42],{},"pyOcd (see tutorial below for installation instructions)",[31,44,45],{},"ST-Link driver (see tutorial below for installation instructions)",[23,47,49],{"id":48},"vcpkg-installation-and-environment-setup","vcpkg Installation and Environment Setup",[28,51,52],{},[31,53,54],{},"Download the dependency packages",[56,57,62],"pre",{"className":58,"code":59,"language":60,"meta":61,"style":61},"language-bash shiki shiki-themes github-light github-dark","sudo apt-get update\nsudo apt-get upgrade\nsudo apt-get install build-essential tar curl zip unzip\nsudo apt-get install default-jre\n","bash","",[19,63,64,80,90,115],{"__ignoreMap":61},[65,66,69,73,77],"span",{"class":67,"line":68},"line",1,[65,70,72],{"class":71},"sScJk","sudo",[65,74,76],{"class":75},"sZZnC"," apt-get",[65,78,79],{"class":75}," update\n",[65,81,83,85,87],{"class":67,"line":82},2,[65,84,72],{"class":71},[65,86,76],{"class":75},[65,88,89],{"class":75}," upgrade\n",[65,91,93,95,97,100,103,106,109,112],{"class":67,"line":92},3,[65,94,72],{"class":71},[65,96,76],{"class":75},[65,98,99],{"class":75}," install",[65,101,102],{"class":75}," build-essential",[65,104,105],{"class":75}," tar",[65,107,108],{"class":75}," curl",[65,110,111],{"class":75}," zip",[65,113,114],{"class":75}," unzip\n",[65,116,118,120,122,124],{"class":67,"line":117},4,[65,119,72],{"class":71},[65,121,76],{"class":75},[65,123,99],{"class":75},[65,125,126],{"class":75}," default-jre\n",[28,128,129],{"start":82},[31,130,131],{},"Clone the vcpkg repository",[10,133,134],{},[135,136,137],"a",{"href":137,"rel":138},"https://github.com/microsoft/vcpkg/tree/master",[139],"nofollow",[56,141,143],{"className":58,"code":142,"language":60,"meta":61,"style":61},"git clone https://github.com/microsoft/vcpkg.git\n",[19,144,145],{"__ignoreMap":61},[65,146,147,150,153],{"class":67,"line":68},[65,148,149],{"class":71},"git",[65,151,152],{"class":75}," clone",[65,154,155],{"class":75}," https://github.com/microsoft/vcpkg.git\n",[28,157,158],{"start":92},[31,159,160],{},"Generate the vcpkg program.",[56,162,164],{"className":58,"code":163,"language":60,"meta":61,"style":61},"cd vcpkg\nsudo chmod a+x ./bootstrap-vcpkg.sh\nsudo ./bootstrap-vcpkg.sh\n",[19,165,166,175,188],{"__ignoreMap":61},[65,167,168,172],{"class":67,"line":68},[65,169,171],{"class":170},"sj4cs","cd",[65,173,174],{"class":75}," vcpkg\n",[65,176,177,179,182,185],{"class":67,"line":82},[65,178,72],{"class":71},[65,180,181],{"class":75}," chmod",[65,183,184],{"class":75}," a+x",[65,186,187],{"class":75}," ./bootstrap-vcpkg.sh\n",[65,189,190,192],{"class":67,"line":92},[65,191,72],{"class":71},[65,193,187],{"class":75},[28,195,196],{"start":117},[31,197,198],{},"Set up the environment",[56,200,202],{"className":58,"code":201,"language":60,"meta":61,"style":61},"vim ~/.bashrc\n",[19,203,204],{"__ignoreMap":61},[65,205,206,209],{"class":67,"line":68},[65,207,208],{"class":71},"vim",[65,210,211],{"class":75}," ~/.bashrc\n",[10,213,214],{},[215,216],"img",{"alt":61,"src":217},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2024/01/21/image1.webp",[10,219,220,221,224],{},"This ",[16,222,223],{},"VCPKG_HOME is the directory of vcpkg",".",[56,226,228],{"className":58,"code":227,"language":60,"meta":61,"style":61},"#配置vcpkg环境 \nexport VCPKG_HOME=/home/tungchiahui/user/applications/vcpkg  #目录需要改为你的vcpkg的目录\nexport PATH=$VCPKG_HOME:$PATH\n",[19,229,230,236,255],{"__ignoreMap":61},[65,231,232],{"class":67,"line":68},[65,233,235],{"class":234},"sJ8bj","#配置vcpkg环境 \n",[65,237,238,242,246,249,252],{"class":67,"line":82},[65,239,241],{"class":240},"szBVR","export",[65,243,245],{"class":244},"sVt8B"," VCPKG_HOME",[65,247,248],{"class":240},"=",[65,250,251],{"class":244},"/home/tungchiahui/user/applications/vcpkg  ",[65,253,254],{"class":234},"#目录需要改为你的vcpkg的目录\n",[65,256,257,259,262,264],{"class":67,"line":92},[65,258,241],{"class":240},[65,260,261],{"class":244}," PATH",[65,263,248],{"class":240},[65,265,266],{"class":244},"$VCPKG_HOME:$PATH\n",[10,268,269],{},[215,270],{"alt":61,"src":271},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2024/01/21/image2.webp",[56,273,275],{"className":58,"code":274,"language":60,"meta":61,"style":61},"source ~/.bashrc\nvcpkg --version\n",[19,276,277,284],{"__ignoreMap":61},[65,278,279,282],{"class":67,"line":68},[65,280,281],{"class":170},"source",[65,283,211],{"class":75},[65,285,286,289],{"class":67,"line":82},[65,287,288],{"class":71},"vcpkg",[65,290,291],{"class":170}," --version\n",[10,293,294],{},"If the prompt shown in the image appears, the installation was successful!",[10,296,297],{},[215,298],{"alt":61,"src":299},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2024/01/21/image3.webp",[23,301,303],{"id":302},"mdk5-project-generation-and-armclang-ac6-compiler-configuration","MDK5 Project Generation and ARMCLANG (AC6) Compiler Configuration",[305,306,308],"h4",{"id":307},"project-generation-and-compiler-configuration","Project Generation and Compiler Configuration",[28,310,311,317],{},[31,312,313,316],{},[16,314,315],{},"Method 1",": The compiler configuration tutorial needs to be done on Windows, as it is currently difficult to modify compiler options on Linux. You can refer to the Windows tutorial below for generating the project and configuring the default compiler. (Essentially, this means changing the compiler from the default AC5 to AC6.)",[31,318,319,322],{},[16,320,321],{},"Method 2",": Clone a pre-generated template (currently only a few common models are available).",[10,324,325],{},"Repository link:",[10,327,328],{},[135,329,332],{"href":330,"rel":331},"https://github.com/TungChiahuiMCURepos/CubeMX%5C_CMake%5C_Template",[139],"https://github.com/TungChiahuiMCURepos/CubeMX\\_CMake\\_Template",[56,334,336],{"className":58,"code":335,"language":60,"meta":61,"style":61},"git clone https://github.com/TungChiahuiMCURepos/CubeMX_CMake_Template.git\n",[19,337,338],{"__ignoreMap":61},[65,339,340,342,344],{"class":67,"line":68},[65,341,149],{"class":71},[65,343,152],{"class":75},[65,345,346],{"class":75}," https://github.com/TungChiahuiMCURepos/CubeMX_CMake_Template.git\n",[10,348,349],{},[215,350],{"alt":61,"src":351},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2024/01/21/image4.webp",[10,353,354],{},[215,355],{"alt":61,"src":356},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2024/01/21/image5.webp",[305,358,360],{"id":359},"project-configuration-eg-initializing-a-gpio-pin-and-creating-a-task-to-toggle-its-level","Project configuration (e.g., initializing a GPIO pin and creating a task to toggle its level)",[10,362,363],{},"First, make a copy of the project template.",[10,365,366],{},[215,367],{"alt":61,"src":368},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2024/01/21/image6.webp",[10,370,371],{},"Rename the project",[10,373,374],{},[215,375],{"alt":61,"src":376},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2024/01/21/image7.webp",[10,378,379],{},"Open CubeMX (and click File -> Load Project at the top, or directly click the icon shown in the image below).",[10,381,382],{},[215,383],{"alt":61,"src":384},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2024/01/21/image8.webp",[10,386,387],{},"Find the project and load it, then configure the project.",[10,389,390],{},[215,391],{"alt":61,"src":392},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2024/01/21/image9.webp",[10,394,395],{},[215,396],{"alt":61,"src":397},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2024/01/21/image10.webp",[10,399,400],{},[215,401],{"alt":61,"src":402},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2024/01/21/image11.webp",[10,404,405],{},"Open a terminal in the MDK-ARM folder.",[56,407,409],{"className":58,"code":408,"language":60,"meta":61,"style":61},"cd MDK-ARM\ncode .\n",[19,410,411,418],{"__ignoreMap":61},[65,412,413,415],{"class":67,"line":68},[65,414,171],{"class":170},[65,416,417],{"class":75}," MDK-ARM\n",[65,419,420,422],{"class":67,"line":82},[65,421,19],{"class":71},[65,423,424],{"class":75}," .\n",[23,426,428],{"id":427},"install-and-activate-the-mdk6-plugin","Install and activate the MDK6 plugin.",[10,430,431],{},"Download the ARM Keil Studio Pack.",[10,433,434],{},[215,435],{"alt":61,"src":436},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2024/01/21/image12.webp",[10,438,439],{},"Activate the MDK6 plugin",[10,441,442],{},[215,443],{"alt":61,"src":444},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2024/01/21/image13.webp",[10,446,447],{},[215,448],{"alt":61,"src":449},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2024/01/21/image14.webp",[23,451,453],{"id":452},"first-time-conversion-of-an-mdk5-project-and-downloading-dependency-packages","First-time conversion of an MDK5 project and downloading dependency packages.",[10,455,456],{},[215,457],{"alt":61,"src":458},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2024/01/21/image15.webp",[10,460,461],{},"In the bottom right corner, install all the packages that need to be installed, and allow any prompts that appear.",[10,463,464],{},"When installing Packs, you need to ensure a good network environment (one with internet access to bypass restrictions).",[10,466,467],{},"This stage will last 5–20 minutes, so please wait patiently. (Depends on the speed of your proxy service.)",[10,469,470],{},"(These operations are only needed for the first run)",[10,472,473],{},[215,474],{"alt":61,"src":475},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2024/01/21/image16.webp",[10,477,478],{},"This survey can be skipped.",[10,480,481],{},[215,482],{"alt":61,"src":483},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2024/01/21/image17.webp",[10,485,486],{},"As shown in the figure, the installation was successful.",[10,488,489],{},[215,490],{"alt":61,"src":491},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2024/01/21/image18.webp",[10,493,494],{},"If the environment below is already configured, right-click on uvprojx and select Convert.",[10,496,497],{},[215,498],{"alt":61,"src":499},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2024/01/21/image19.webp",[10,501,502],{},[215,503],{"alt":61,"src":504},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2024/01/21/image20.webp",[10,506,507,508,511,512,515],{},"If the environment is not configured properly, right-click this file and select ",[16,509,510],{},"active environment"," (in the image, since my environment is already configured, it shows ",[16,513,514],{},"deactivate",").",[10,517,518],{},"Then execute the Convert step from the previous step.",[10,520,521],{},[215,522],{"alt":61,"src":523},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2024/01/21/image21.webp",[10,525,526],{},"As shown in the figure, initialization has been successful.",[10,528,529],{},[215,530],{"alt":61,"src":531},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2024/01/21/image22.webp",[23,533,535],{"id":534},"compile","Compile",[10,537,538],{},"Clicking the build button and finding the file size is the same means the compilation was successful.",[10,540,541],{},"If compilation fails, check whether the project file list has an extra dot configured. (Refer to the advanced tutorial below on adding source files to resolve this.)",[10,543,544],{},[215,545],{"alt":61,"src":546},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2024/01/21/image23.webp",[10,548,549],{},[215,550],{"alt":61,"src":551},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2024/01/21/image24.webp",[23,553,555],{"id":554},"how-to-configure-debuggers-like-st-link-on-linux","How to configure debuggers like ST-Link on Linux?",[305,557,559],{"id":558},"install-pyocd-linux","Install pyOCD (Linux)",[10,561,562],{},[135,563,564],{"href":564,"rel":565},"https://github.com/pyocd/pyOCD",[139],[10,567,568],{},"First, open the terminal and enter (if you are using a Debian-based system, such as Ubuntu, please refer to the tutorial below).",[56,570,572],{"className":58,"code":571,"language":60,"meta":61,"style":61},"sudo apt install python3-pip\npython3 -mpip install -U pyocd\n\n# 如果上面的不行，则输入下方的\npip3 install -U pyocd\n",[19,573,574,586,602,608,613],{"__ignoreMap":61},[65,575,576,578,581,583],{"class":67,"line":68},[65,577,72],{"class":71},[65,579,580],{"class":75}," apt",[65,582,99],{"class":75},[65,584,585],{"class":75}," python3-pip\n",[65,587,588,591,594,596,599],{"class":67,"line":82},[65,589,590],{"class":71},"python3",[65,592,593],{"class":170}," -mpip",[65,595,99],{"class":75},[65,597,598],{"class":170}," -U",[65,600,601],{"class":75}," pyocd\n",[65,603,604],{"class":67,"line":92},[65,605,607],{"emptyLinePlaceholder":606},true,"\n",[65,609,610],{"class":67,"line":117},[65,611,612],{"class":234},"# 如果上面的不行，则输入下方的\n",[65,614,616,619,621,623],{"class":67,"line":615},5,[65,617,618],{"class":71},"pip3",[65,620,99],{"class":75},[65,622,598],{"class":170},[65,624,601],{"class":75},[10,626,627],{},"If it still doesn't work, and the prompt says",[56,629,631],{"className":58,"code":630,"language":60,"meta":61,"style":61},"error: externally-managed-environment\n\n× This environment is externally managed\n╰─> To install Python packages system-wide, try apt install\n    python3-xyz, where xyz is the package you are trying to\n    install.\n",[19,632,633,641,645,665,695,726],{"__ignoreMap":61},[65,634,635,638],{"class":67,"line":68},[65,636,637],{"class":71},"error:",[65,639,640],{"class":75}," externally-managed-environment\n",[65,642,643],{"class":67,"line":82},[65,644,607],{"emptyLinePlaceholder":606},[65,646,647,650,653,656,659,662],{"class":67,"line":92},[65,648,649],{"class":71},"×",[65,651,652],{"class":75}," This",[65,654,655],{"class":75}," environment",[65,657,658],{"class":75}," is",[65,660,661],{"class":75}," externally",[65,663,664],{"class":75}," managed\n",[65,666,667,670,673,676,678,681,684,687,690,692],{"class":67,"line":117},[65,668,669],{"class":71},"╰─",[65,671,672],{"class":244},"> ",[65,674,675],{"class":75},"To",[65,677,99],{"class":75},[65,679,680],{"class":75}," Python",[65,682,683],{"class":75}," packages",[65,685,686],{"class":75}," system-wide,",[65,688,689],{"class":75}," try",[65,691,580],{"class":75},[65,693,694],{"class":75}," install\n",[65,696,697,700,703,706,708,711,714,717,720,723],{"class":67,"line":615},[65,698,699],{"class":71},"    python3-xyz,",[65,701,702],{"class":75}," where",[65,704,705],{"class":75}," xyz",[65,707,658],{"class":75},[65,709,710],{"class":75}," the",[65,712,713],{"class":75}," package",[65,715,716],{"class":75}," you",[65,718,719],{"class":75}," are",[65,721,722],{"class":75}," trying",[65,724,725],{"class":75}," to\n",[65,727,729],{"class":67,"line":728},6,[65,730,731],{"class":71},"    install.\n",[10,733,734],{},"then use (a Debian-based system)",[56,736,738],{"className":58,"code":737,"language":60,"meta":61,"style":61},"sudo apt install python3-pyocd\n",[19,739,740],{"__ignoreMap":61},[65,741,742,744,746,748],{"class":67,"line":68},[65,743,72],{"class":71},[65,745,580],{"class":75},[65,747,99],{"class":75},[65,749,750],{"class":75}," python3-pyocd\n",[10,752,753,756],{},[16,754,755],{},"Or"," simply clone the repository.",[56,758,762],{"className":759,"code":760,"language":761,"meta":61,"style":61},"language-Python shiki shiki-themes github-light github-dark","git clone https://github.com/pyocd/pyOCD.git\ncd pyOCD\npip3 install .\n","Python",[19,763,764,769,774],{"__ignoreMap":61},[65,765,766],{"class":67,"line":68},[65,767,768],{},"git clone https://github.com/pyocd/pyOCD.git\n",[65,770,771],{"class":67,"line":82},[65,772,773],{},"cd pyOCD\n",[65,775,776],{"class":67,"line":92},[65,777,778],{},"pip3 install .\n",[10,780,781],{},"You can also install pyOCD this way.",[10,783,784],{},"Next, we need to install the driver for the ST-Link debugger and similar tools.",[10,786,787],{},"pyOCD Debugger Driver Installation Official Tutorial",[10,789,790],{},[135,791,792],{"href":792,"rel":793},"https://github.com/pyocd/pyOCD/tree/main/udev",[139],[10,795,796],{},"You still need to use the files from the pyOCD repository.",[10,798,799],{},"If you haven't cloned the repository yet, please do so as soon as possible.",[10,801,802],{},"In the repository directory, enter the following command:",[56,804,806],{"className":759,"code":805,"language":761,"meta":61,"style":61},"cd udev\nsudo cp *.rules /etc/udev/rules.d\n#重启udev\nsudo udevadm control --reload\nsudo udevadm trigger\n",[19,807,808,813,818,823,828],{"__ignoreMap":61},[65,809,810],{"class":67,"line":68},[65,811,812],{},"cd udev\n",[65,814,815],{"class":67,"line":82},[65,816,817],{},"sudo cp *.rules /etc/udev/rules.d\n",[65,819,820],{"class":67,"line":92},[65,821,822],{},"#重启udev\n",[65,824,825],{"class":67,"line":117},[65,826,827],{},"sudo udevadm control --reload\n",[65,829,830],{"class":67,"line":615},[65,831,832],{},"sudo udevadm trigger\n",[10,834,835],{},"Now the ST-Link can be detected normally.",[10,837,838],{},[215,839],{"alt":61,"src":840},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2024/01/21/image25.webp",[10,842,843],{},"If it is not detected, please unplug and re-plug the ST-Link, then click Add Device to add the device.",[10,845,846],{},[215,847],{"alt":61,"src":848},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2024/01/21/image26.webp",[305,850,852],{"id":851},"update-the-latest-st-link-driver-linux","Update the latest ST-Link driver (Linux)",[10,854,855],{},[135,856,857],{"href":857,"rel":858},"https://www.st.com/en/development-tools/stsw-link007.html#get-software",[139],[10,860,861],{},"Unable to display this content outside of Feishu documents for now.",[10,863,864],{},[215,865],{"alt":61,"src":866},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2024/01/21/image27.webp",[10,868,869],{},"After downloading, extract the files.",[10,871,872],{},[215,873],{"alt":61,"src":874},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2024/01/21/image28.webp",[56,876,878],{"className":759,"code":877,"language":761,"meta":61,"style":61},"sudo apt install ./st-stlink-udev-rules-1.0.3-2-linux-all.deb\n",[19,879,880],{"__ignoreMap":61},[65,881,882],{"class":67,"line":68},[65,883,877],{},[10,885,886],{},"Simply restart VSCode.",[10,888,889],{},"(Scroll down for more related tutorial operations below.)",[891,892,893],"style",{},"html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .szBVR, html code.shiki .szBVR{--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}",{"title":61,"searchDepth":82,"depth":82,"links":895},[896,897,898,899,900,901,902],{"id":25,"depth":92,"text":26},{"id":48,"depth":92,"text":49},{"id":302,"depth":92,"text":303},{"id":427,"depth":92,"text":428},{"id":452,"depth":92,"text":453},{"id":534,"depth":92,"text":535},{"id":554,"depth":92,"text":555},"/en-us/wiki/2024-01-21-arm-keil-mdk6-jiao-cheng/ch3-linux-pei-zhi-mdk6-huan-jing-jiao-cheng","3",3000000,"2024-01-21","wiki/2024-01-21-arm-keil-mdk6-jiao-cheng","en-us:2024-01-21-arm-keil-mdk6-jiao-cheng","/en-us/wiki/2024-01-21-arm-keil-mdk6-jiao-cheng","Arm Keil MDK6教程","md","wiki/2024-01-21-Arm-Keil-MDK6教程/ch3-Linux配置MDK6环境教程",false,null,"en-US","en-us",{},{"title":5,"description":21},"/wiki/2024-01-21-arm-keil-mdk6-jiao-cheng/ch3-linux-pei-zhi-mdk6-huan-jing-jiao-cheng","_i18n/en-us/wiki/2024-01-21-Arm-Keil-MDK6教程/ch3-Linux配置MDK6环境教程","Qz-bMeZs2Uq2LbD4zz4oOWFRF3xS60ysjlKm6JTFcOg",[923,929,935,936,942,948,954],{"path":924,"stem":925,"title":926,"date":906,"chapter":927,"chapterSort":928,"docKey":908,"docRoot":909,"docTitle":910,"isWikiDoc":606,"isWikiIndex":913},"/en-us/wiki/2024-01-21-arm-keil-mdk6-jiao-cheng/ch1-jian-jie","_i18n/en-us/wiki/2024-01-21-Arm-Keil-MDK6教程/ch1-简介","Introduction","1",1000000,{"path":930,"stem":931,"title":932,"date":906,"chapter":933,"chapterSort":934,"docKey":908,"docRoot":909,"docTitle":910,"isWikiDoc":606,"isWikiIndex":913},"/en-us/wiki/2024-01-21-arm-keil-mdk6-jiao-cheng/ch2-guan-fang-jiao-cheng","_i18n/en-us/wiki/2024-01-21-Arm-Keil-MDK6教程/ch2-官方教程","Official tutorial","2",2000000,{"path":903,"stem":920,"title":5,"date":906,"chapter":904,"chapterSort":905,"docKey":908,"docRoot":909,"docTitle":910,"isWikiDoc":606,"isWikiIndex":913},{"path":937,"stem":938,"title":939,"date":906,"chapter":940,"chapterSort":941,"docKey":908,"docRoot":909,"docTitle":910,"isWikiDoc":606,"isWikiIndex":913},"/en-us/wiki/2024-01-21-arm-keil-mdk6-jiao-cheng/ch4-windows-pei-zhi-mdk6-huan-jing-jiao-cheng","_i18n/en-us/wiki/2024-01-21-Arm-Keil-MDK6教程/ch4-Windows配置MDK6环境教程","Tutorial on Configuring MDK6 Environment on Windows","4",4000000,{"path":943,"stem":944,"title":945,"date":906,"chapter":946,"chapterSort":947,"docKey":908,"docRoot":909,"docTitle":910,"isWikiDoc":606,"isWikiIndex":913},"/en-us/wiki/2024-01-21-arm-keil-mdk6-jiao-cheng/ch5-jin-jie-shi-yong-jiao-cheng-quan-ping-tai-tong-yong","_i18n/en-us/wiki/2024-01-21-Arm-Keil-MDK6教程/ch5-进阶使用教程(全平台通用)","Advanced Usage Tutorial (Universal for All Platforms)","5",5000000,{"path":949,"stem":950,"title":951,"date":906,"chapter":952,"chapterSort":953,"docKey":908,"docRoot":909,"docTitle":910,"isWikiDoc":606,"isWikiIndex":913},"/en-us/wiki/2024-01-21-arm-keil-mdk6-jiao-cheng/ch6-chang-jian-wen-ti","_i18n/en-us/wiki/2024-01-21-Arm-Keil-MDK6教程/ch6-常见问题","Frequently Asked Questions","6",6000000,{"path":909,"stem":955,"title":956,"date":906,"chapter":914,"chapterSort":957,"docKey":908,"docRoot":909,"docTitle":910,"isWikiDoc":606,"isWikiIndex":606},"_i18n/en-us/wiki/2024-01-21-Arm-Keil-MDK6教程/index","Arm-Keil-MDK6 Tutorial",0,{"variants":959},[960,961,964,967,970],{"path":903,"localeSlug":916,"i18nKey":912},{"path":962,"localeSlug":963,"i18nKey":912},"/zh-hant/wiki/2024-01-21-arm-keil-mdk6-jiao-cheng/ch3-linux-pei-zhi-mdk6-huan-jing-jiao-cheng","zh-hant",{"path":965,"localeSlug":966,"i18nKey":912},"/zh-hk/wiki/2024-01-21-arm-keil-mdk6-jiao-cheng/ch3-linux-pei-zhi-mdk6-huan-jing-jiao-cheng","zh-hk",{"path":968,"localeSlug":969,"i18nKey":912},"/zh-tw/wiki/2024-01-21-arm-keil-mdk6-jiao-cheng/ch3-linux-pei-zhi-mdk6-huan-jing-jiao-cheng","zh-tw",{"path":971,"localeSlug":972,"i18nKey":912},"/zh-cn/wiki/2024-01-21-arm-keil-mdk6-jiao-cheng/ch3-linux-pei-zhi-mdk6-huan-jing-jiao-cheng","zh-cn",[903,919,962,919,965,919,968,919,971,919],1780671797244]