完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
首先是生成代码时的报错信息,这个工程是直接使用IHM0003套件的默认配置,没有做任何修改:
日志内容: 2023-05-02 11:02:14,822 DEBUG [Main.lambda$run$0] Arguments: [-ioc, D:STMicroelectronicsMC_SDK_5.4.8UtilitiesPC_SoftwareSTMCWBGCSP_ProjectsIHM0003_kit_testIHM0003_kit_test.ioc, -xdm, D:STMicroelectronicsMC_SDK_5.4.8UtilitiesPC_SoftwareSTMCWBGCSP_ProjectsIHM0003_kit_testIHM0003_kit_test.wb_def]2023-05-02 11:02:14,826 DEBUG [ArgsValue.readPropertiesFile] [AppConfig] pack.source = "D:STMicroelectronicsMC_SDK_5.4.8MiddlewaresSTMotorControl" 2023-05-02 11:02:14,826 DEBUG [ArgsValue.readPropertiesFile] [UserConfig] do not exist in "C:UsersBoZhang.st_motor_controlwb2mx.properties" 2023-05-02 11:02:14,827 DEBUG [ArgsValue.getConfigProperties] pack.source = "../../../../Middlewares/ST/MotorControl"2023-05-02 11:02:14,835 DEBUG [ArgsValue.lambda$retrieve$2] CLI_ARG[xdm]: D:STMicroelectronicsMC_SDK_5.4.8UtilitiesPC_SoftwareSTMCWBGCSP_ProjectsIHM0003_kit_testIHM0003_kit_test.wb_def2023-05-02 11:02:14,836 DEBUG [ArgsValue.lambda$retrieve$2] CLI_ARG[ioc]: D:STMicroelectronicsMC_SDK_5.4.8UtilitiesPC_SoftwareSTMCWBGCSP_ProjectsIHM0003_kit_testIHM0003_kit_test.ioc2023-05-02 11:02:14,837 DEBUG [ArgsValue.retrieve] {xdm=D:STMicroelectronicsMC_SDK_5.4.8UtilitiesPC_SoftwareSTMCWBGCSP_ProjectsIHM0003_kit_testIHM0003_kit_test.wb_def, updftl=templates/wb_ioc_mc-middleware.ftl, mx_timeout=-1, exp=templates/wb-defines_where_and_what.txt, ioc=D:STMicroelectronicsMC_SDK_5.4.8UtilitiesPC_SoftwareSTMCWBGCSP_ProjectsIHM0003_kit_testIHM0003_kit_test.ioc, pack=../../../../Middlewares/ST/MotorControl, ftl=templates/wb_ioc_template.ftl}2023-05-02 11:02:14,920 DEBUG [Main.run] Targeted MCU family = G42023-05-02 11:02:14,949 DEBUG [Main.run] Minimum associated CubeMx to the `G4` targeted MCU family is `5.2.0-a0`2023-05-02 11:02:14,967 DEBUG [WindowsCubeMxFinder.lambda$findThem$2] Found 64-bit subkey HKEY_LOCAL_MACHINE~~~UninstallSTM32CubeMX2023-05-02 11:02:14,976 DEBUG [CubeMxCtx.EXE_version] Loaded path: 'D:STMicroelectronicsSTM32CubeMXSTM32CubeMX.exe'2023-05-02 11:02:14,977 DEBUG [CubeMxCtx.EXE_version] Loaded updater jar: 'D:STMicroelectronicsSTM32CubeMXpluginsupdater.jar'2023-05-02 11:02:14,996 DEBUG [CubeMxCtx.EXE_version] Loaded path: 'D:STMicroelectronicsSTM32CubeMXSTM32CubeMX.exe'2023-05-02 11:02:14,996 DEBUG [CubeMxCtx.EXE_version] Loaded updater jar: 'D:STMicroelectronicsSTM32CubeMXpluginsupdater.jar'2023-05-02 11:02:15,010 DEBUG [CubeMxCtx.EXE_version] Loaded path: 'D:STMicroelectronicsSTM32CubeMXSTM32CubeMX.exe'2023-05-02 11:02:15,010 DEBUG [CubeMxCtx.EXE_version] Loaded updater jar: 'D:STMicroelectronicsSTM32CubeMXpluginsupdater.jar'2023-05-02 11:02:18,289 DEBUG [CubeMxCtx.EXE_version] Loaded path: 'D:STMicroelectronicsSTM32CubeMXSTM32CubeMX.exe'2023-05-02 11:02:18,289 DEBUG [CubeMxCtx.EXE_version] Loaded updater jar: 'D:STMicroelectronicsSTM32CubeMXpluginsupdater.jar'2023-05-02 11:02:18,327 DEBUG [EnvironmentChecker.checkPack] STM32CubeMX.Version: 6.8.0-RC42023-05-02 11:02:21,275 ERROR [LineInfo_to_exitCode.manage_MCPackNotFound] MotorControl reference pack not found: "../../../../Middlewares/ST/MotorControl"软件安装路径: 工程路径: 是要在CubeMX里面单独安装MCSDK才能识别吗,这个相对路径的参考路径是.stmcx文件所在路径吗,或者库的路径能不能手动配置成绝对路径,感谢解答! |
|
相关推荐
1个回答
|
|
版本的问题,使用STM32CubeMX6.3.0的应该就没问题了
|
|
|
|
只有小组成员才能发言,加入小组>>
调试STM32H750的FMC总线读写PSRAM遇到的问题求解?
1786 浏览 1 评论
X-NUCLEO-IHM08M1板文档中输出电流为15Arms,15Arms是怎么得出来的呢?
1622 浏览 1 评论
1089 浏览 2 评论
STM32F030F4 HSI时钟温度测试过不去是怎么回事?
730 浏览 2 评论
ST25R3916能否对ISO15693的标签芯片进行分区域写密码?
1680 浏览 2 评论
1942浏览 9评论
STM32仿真器是选择ST-LINK还是选择J-LINK?各有什么优势啊?
739浏览 4评论
STM32F0_TIM2输出pwm2后OLED变暗或者系统重启是怎么回事?
576浏览 3评论
599浏览 3评论
stm32cubemx生成mdk-arm v4项目文件无法打开是什么原因导致的?
561浏览 3评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-25 22:06 , Processed in 0.789936 second(s), Total 48, Slave 42 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号