.\build\keil\Obj\rt-thread.axf: Error: L6406E: No space in execution regions with .ANY selector matching startup_stm32f407xx.o(STACK).
时间: 2023-08-23 20:12:37 浏览: 416
回答: 这个问题的原因可能是芯片的IRAM空间不足,导致存储区域空间用完。解决方法有两种。第一种是在KEIL的Target中选择IRAM2前的框打勾,这样可以增加IRAM的空间。另一种解决办法是增加RAM或ROM的空间。在开辟变量空间时,要结合实际情况,不要随便开辟一个过大的空间,以免浪费。\[1\]\[2\]
#### 引用[.reference_title]
- *1* [Error: L6406E: No space in execution regions with .ANY selector matching main.o(.bss).](https://blog.csdn.net/m0_68997646/article/details/130642226)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [.\Objects\newproject.axf: Error:L6406E:NO space in execution regions with .ANY selector matching hea](https://blog.csdn.net/include1_/article/details/106066263)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文