[{"data":1,"prerenderedAt":318},["ShallowReactive",2],{"wiki-page-/en-us/wiki/2024-01-21-arm-keil-mdk6-jiao-cheng/ch6-chang-jian-wen-ti":3,"wiki-doc-items-/en-us/wiki/2024-01-21-arm-keil-mdk6-jiao-cheng/ch6-chang-jian-wen-ti":266,"language-switcher-data-/en-us/wiki/2024-01-21-arm-keil-mdk6-jiao-cheng/ch6-chang-jian-wen-ti":302,"wiki-i18n-paths-/en-us/wiki/2024-01-21-arm-keil-mdk6-jiao-cheng/ch6-chang-jian-wen-ti":317},{"id":4,"title":5,"body":6,"canonicalPath":246,"chapter":247,"chapterSort":248,"date":249,"description":27,"docI18nKey":250,"docKey":251,"docRoot":252,"docTitle":253,"extension":254,"i18nKey":255,"isBlogPost":256,"isWikiDoc":257,"isWikiIndex":256,"layout":258,"legacyPath":258,"locale":259,"localeSlug":260,"meta":261,"navigation":257,"path":246,"seo":262,"sourcePath":263,"sourceStem":255,"stem":264,"wikiDepth":145,"__hash__":265},"content/_i18n/en-us/wiki/2024-01-21-Arm-Keil-MDK6教程/ch6-常见问题.md","Frequently Asked Questions",{"type":7,"value":8,"toc":240},"minimark",[9,14,21,29,34,40,48,53,60,66,72,77,82,89,94,99,104,108,113,128,133,164,169,173,176,181,205,208,212,223,226,231,236],[10,11,13],"h3",{"id":12},"issue-with-freertos-compilation-errors-using-armclang-ac6","Issue with FreeRTOS Compilation Errors Using ARMCLANG (AC6)",[15,16,17],"ol",{},[18,19,20],"li",{},"If you are using a template, simply copy the Middlewares folder from the \"Other Notes\" folder in the template to the root directory.",[22,23,24],"p",{},[25,26],"img",{"alt":27,"src":28},"","https://cdn.tungchiahui.cn/tungwebsite/assets/images/2024/01/21/image115.webp",[22,30,31],{},[25,32],{"alt":27,"src":33},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2024/01/21/image116.webp",[15,35,37],{"start":36},2,[18,38,39],{},"If you created the project from scratch on Windows (without using a template), you will need to locate the firmware source code downloaded by CubeMX.",[22,41,42,43,47],{},"For example, the firmware source code in Linux is located in ",[44,45,46],"code",{},"/home/tungchiahui(你自己的用户名)/STM32Cube/Repository/",".",[22,49,50],{},[25,51],{"alt":27,"src":52},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2024/01/21/image117.webp",[22,54,55,56,59],{},"If you are using an F103, open the ",[44,57,58],{},"STM32Cube_FW_F1_V1.8.5"," folder.",[22,61,62,63,59],{},"If you are using the F407, open the ",[44,64,65],{},"STM32Cube_FW_F4_V1.28.0",[22,67,68,69,47],{},"Find the path ",[44,70,71],{},"/home/tungchiahui/STM32Cube/Repository/STM32Cube_FW_F1_V1.8.5/Middlewares/Third_Party/FreeRTOS/Source/portable/",[22,73,74],{},[25,75],{"alt":27,"src":76},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2024/01/21/image118.webp",[22,78,79],{},[25,80],{"alt":27,"src":81},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2024/01/21/image119.webp",[22,83,84,85,47],{},"Copy the ARM_CM3 folder from this GCC folder into the corresponding RVDS folder under the ",[86,87,88],"strong",{},"project folder",[22,90,91],{},[25,92],{"alt":27,"src":93},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2024/01/21/image120.webp",[22,95,96],{},[25,97],{"alt":27,"src":98},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2024/01/21/image121.webp",[22,100,101],{},[25,102],{"alt":27,"src":103},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2024/01/21/image122.webp",[10,105,107],{"id":106},"error-executing-cmake-configuration","Error executing cmake configuration",[22,109,110],{},[25,111],{"alt":27,"src":112},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2024/01/21/image123.webp",[22,114,115,116,119,120,123,124,127],{},"If you encounter an error like ",[44,117,118],{},"error cbuild: error executing 'cmake' configuration",", delete the ",[44,121,122],{},"tmp"," folder under the ",[44,125,126],{},"MDK-ARM"," directory, then recompile.",[22,129,130],{},[25,131],{"alt":27,"src":132},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2024/01/21/image124.webp",[134,135,139],"pre",{"className":136,"code":137,"language":138,"meta":27,"style":27},"language-bash shiki shiki-themes github-light github-dark","#删除tmp文件夹\nrm -rf ./tmp\n","bash",[44,140,141,150],{"__ignoreMap":27},[142,143,146],"span",{"class":144,"line":145},"line",1,[142,147,149],{"class":148},"sJ8bj","#删除tmp文件夹\n",[142,151,152,156,160],{"class":144,"line":36},[142,153,155],{"class":154},"sScJk","rm",[142,157,159],{"class":158},"sj4cs"," -rf",[142,161,163],{"class":162},"sZZnC"," ./tmp\n",[22,165,166],{},[25,167],{"alt":27,"src":168},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2024/01/21/image125.webp",[10,170,172],{"id":171},"modify-the-assembler-for-the-assembly-language-to-the-armclang-integrated-assembler","Modify the assembler for the assembly language to the ARMClang integrated assembler.",[22,174,175],{},"This is a warning and does not affect normal use, but we should try to fix it if possible.",[22,177,178],{},[25,179],{"alt":27,"src":180},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2024/01/21/image126.webp",[134,182,187],{"className":183,"code":184,"language":185,"meta":186,"style":27},"language-Plain shiki shiki-themes github-light github-dark","Warning: A1950W: The legacy armasm assembler is deprecated. \nConsider using the armclang integrated assembler instead.\n0 Errors, 1 Warning\n","Plain","Text",[44,188,189,194,199],{"__ignoreMap":27},[142,190,191],{"class":144,"line":145},[142,192,193],{},"Warning: A1950W: The legacy armasm assembler is deprecated. \n",[142,195,196],{"class":144,"line":36},[142,197,198],{},"Consider using the armclang integrated assembler instead.\n",[142,200,202],{"class":144,"line":201},3,[142,203,204],{},"0 Errors, 1 Warning\n",[22,206,207],{},"No solution found yet.",[10,209,211],{"id":210},"some-tools-were-not-downloaded","Some tools were not downloaded.",[22,213,214,215,218,219,222],{},"Follow the steps below for ",[86,216,217],{},"arm tools",", then enter the interface below to select the corresponding version, and click ",[86,220,221],{},"Update tool registry",". (The most common issue is that the compiler and debugger libraries are not automatically downloaded.)",[22,224,225],{},"If you're unsure which tools are needed, it's recommended to select all the latest versions. (I've personally tested that selecting all the latest versions works fine.)",[22,227,228],{},[25,229],{"alt":27,"src":230},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2024/01/21/image127.webp",[22,232,233],{},[25,234],{"alt":27,"src":235},"https://cdn.tungchiahui.cn/tungwebsite/assets/images/2024/01/21/image128.webp",[237,238,239],"style",{},"html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}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);}",{"title":27,"searchDepth":36,"depth":36,"links":241},[242,243,244,245],{"id":12,"depth":201,"text":13},{"id":106,"depth":201,"text":107},{"id":171,"depth":201,"text":172},{"id":210,"depth":201,"text":211},"/en-us/wiki/2024-01-21-arm-keil-mdk6-jiao-cheng/ch6-chang-jian-wen-ti","6",6000000,"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教程/ch6-常见问题",false,true,null,"en-US","en-us",{},{"title":5,"description":27},"/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-常见问题","FSoTKE0S10aggnYVfr993k3zq6VcGG5DXdGoKvpENSo",[267,273,279,285,291,297,298],{"path":268,"stem":269,"title":270,"date":249,"chapter":271,"chapterSort":272,"docKey":251,"docRoot":252,"docTitle":253,"isWikiDoc":257,"isWikiIndex":256},"/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":274,"stem":275,"title":276,"date":249,"chapter":277,"chapterSort":278,"docKey":251,"docRoot":252,"docTitle":253,"isWikiDoc":257,"isWikiIndex":256},"/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":280,"stem":281,"title":282,"date":249,"chapter":283,"chapterSort":284,"docKey":251,"docRoot":252,"docTitle":253,"isWikiDoc":257,"isWikiIndex":256},"/en-us/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环境教程","Linux MDK6 Environment Setup Tutorial","3",3000000,{"path":286,"stem":287,"title":288,"date":249,"chapter":289,"chapterSort":290,"docKey":251,"docRoot":252,"docTitle":253,"isWikiDoc":257,"isWikiIndex":256},"/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":292,"stem":293,"title":294,"date":249,"chapter":295,"chapterSort":296,"docKey":251,"docRoot":252,"docTitle":253,"isWikiDoc":257,"isWikiIndex":256},"/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":246,"stem":264,"title":5,"date":249,"chapter":247,"chapterSort":248,"docKey":251,"docRoot":252,"docTitle":253,"isWikiDoc":257,"isWikiIndex":256},{"path":252,"stem":299,"title":300,"date":249,"chapter":258,"chapterSort":301,"docKey":251,"docRoot":252,"docTitle":253,"isWikiDoc":257,"isWikiIndex":257},"_i18n/en-us/wiki/2024-01-21-Arm-Keil-MDK6教程/index","Arm-Keil-MDK6 Tutorial",0,{"variants":303},[304,305,308,311,314],{"path":246,"localeSlug":260,"i18nKey":255},{"path":306,"localeSlug":307,"i18nKey":255},"/zh-hant/wiki/2024-01-21-arm-keil-mdk6-jiao-cheng/ch6-chang-jian-wen-ti","zh-hant",{"path":309,"localeSlug":310,"i18nKey":255},"/zh-hk/wiki/2024-01-21-arm-keil-mdk6-jiao-cheng/ch6-chang-jian-wen-ti","zh-hk",{"path":312,"localeSlug":313,"i18nKey":255},"/zh-tw/wiki/2024-01-21-arm-keil-mdk6-jiao-cheng/ch6-chang-jian-wen-ti","zh-tw",{"path":315,"localeSlug":316,"i18nKey":255},"/zh-cn/wiki/2024-01-21-arm-keil-mdk6-jiao-cheng/ch6-chang-jian-wen-ti","zh-cn",[246,263,306,263,309,263,312,263,315,263],1780673976671]