Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增加配置Keil/IAR路径的选项 #178

Merged
merged 1 commit into from
Sep 17, 2022
Merged

增加配置Keil/IAR路径的选项 #178

merged 1 commit into from
Sep 17, 2022

Conversation

mysterywolf
Copy link
Member

@mysterywolf mysterywolf commented Sep 15, 2022

社区小伙伴抱怨在生成IAR工程之前,每次都需要设置rtconfig.py或者set IAR路径。
可以考虑在menuconfig -s里直接设置IAR和KEIL的路径

@mysterywolf mysterywolf marked this pull request as draft September 15, 2022 16:07
@mysterywolf mysterywolf marked this pull request as ready for review September 17, 2022 01:43
@mysterywolf mysterywolf merged commit 6e60cf6 into master Sep 17, 2022
@mysterywolf mysterywolf deleted the keil branch September 17, 2022 01:44
mysterywolf added a commit that referenced this pull request Sep 17, 2022
* 增加find_MDK_EXEC_PATH、find_IAR_EXEC_PATH函数

* correct comment

* 增加初始化检查IAR\MDK路径是否设置
如果设置,将路径赋给RTT_EXEC_PATH环境变量

通过上述两个函数可以直接获取到 #178 新增的Kconfig CONFIG_SYS_CREATE_IAR_EXEC_PATH

勾选自动更新IAR、Keil工程时,可以自动根据Kconfig设置的CONFIG_SYS_CREATE_IAR_EXEC_PATH自动更新IAR 和Keil工程。仅限于自动更新时,自动设置IAR所在路径,使用手动scons --target=iar时,依然走rtconfig.py下的IAR路径。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant