Motor Control Workbench failing to generate valid project
- February 26, 2020
- 2 replies
- 1236 views
Sorry if this has already been asked but I can't find a solution.
I'm trying to get MotorControl Workbench to generate a project I can open in STcubeIDE.
I'm using the only B-G431B-ESC1 board example project.
Everything is the latest I can download from ST, except I have also tried the "Recommended"1.1.0 Firmware package, as well as the current 1.2.0 package with no difference.
When generating the project, everything looks fine and I get the attached screen capture info about versions.
However the .project file only has a reference to a single file in it, entire contents below:
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>ElectronicSpeedControl</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
<triggers>clean,full,incremental,</triggers>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
<triggers>full,incremental,</triggers>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.st.stm32cube.ide.mcu.MCUProjectNature</nature>
<nature>org.eclipse.cdt.core.cnature</nature>
<nature>com.st.stm32cube.ide.mcu.MCUCubeIdeServicesRevAProjectNature</nature>
<nature>com.st.stm32cube.ide.mcu.MCUNonUnderRootProjectNature</nature>
<nature>com.st.stm32cube.ide.mcu.MCUCubeProjectNature</nature>
<nature>com.st.stm32cube.ide.mcu.MCUEndUserDisabledTrustZoneProjectNature</nature>
<nature>com.st.stm32cube.ide.mcu.MCUSingleCpuProjectNature</nature>
<nature>com.st.stm32cube.ide.mcu.MCURootProjectNature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
</natures>
<linkedResources>
<link>
<name>Application/User/esc.c</name>
<type>1</type>
<locationURI>$%7BPARENT-1-PROJECT_LOC%7D/Src/esc.c</locationURI>
</link>
</linkedResources>
</projectDescription>If I then open the .ioc file in CubeMX all looks fine but it wont generate a new project file which I find very odd.
The rest of the code looks ok at a glance (all the usual libraries are copied and source files generated.
All very odd, any idea?