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

Colin编译完无法下载,CreateProcess error=193, %1 不是有效的 Win32 应用程序。 #23

Open
0Element0 opened this issue Jul 12, 2022 · 2 comments

Comments

@0Element0
Copy link

运行 'Ctrl-FOC-Lite-fw.elf' 时出错: Cannot run program "E:\work\peng-zhihui.github\Ctrl-FOC-Lite-main\2.Firmware\STM32_HAL_version0\Ctrl-FOC-Lite-fw\cmake-build-debug\Ctrl-FOC-Lite-fw.elf" (in directory "E:\work\peng-zhihui.github\Ctrl-FOC-Lite-main\2.Firmware\STM32_HAL_version0\Ctrl-FOC-Lite-fw\cmake-build-debug"): CreateProcess error=193, %1 不是有效的 Win32 应用程序。

@0Element0
Copy link
Author

删除cmake-build-debug、.idea文件夹,重新加载构建工程就可以了,需要再次配置运行调试配置,OpenOCD设置。

@zhaoxiangyea
Copy link

@0Element0 您好,我也在编译simpleFOC版本的工程,但是我遇到了一些问题,可以请教您吗?
1、我删除了simpleFOC版本工程文件夹下的cmake-build-debug、.idea文件夹;
2、使用clion重新打开为“Cmake”工程,配置均按照稚晖君的教程进行的配置。
3、使用stm32cubeMX6.5版本重新生成了代码;
但是我遇到了下图中的问题:
https://img-blog.csdnimg.cn/c6ab33ea4e9c4dafb9d3ebcbcfc3f583.png

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

No branches or pull requests

2 participants