Loading...
 
Skip to main content

System Workbench for STM32


Compiling IHM07M1 Motor Code on Nucleo F302R8

Hi Ronaldombre,
I have the similar problem.
I using import "Existing project into Workbench" then I copied all c h files to the project.
Additional I checked if the program import right board.
Afterwards I changed the include path from installed C:\... to ${ProjDirPath}/..... (all files are in the workbench of the project)
Unfortunaltely I have still troubles with links to the header, I have many errors inside my files.
E.g main_302.c it doesn't link variable "DISABLE" from ${ProjDirPath}/Drivers/CMSIS/Device/ST/STM32F3xx/Include

and by compiling I got measage (which I don't know how to handle):
"make: *** No rule to make target `C:/Users/giuseppe scuderi-sl/Desktop/MOTOR CONTROL/Peppe/trunk/Firmware/X-CUBE-SPN7-MC-6STEP/Projects/Multi/Examples/MotorControl/Src/main_F302.c', needed by `user/main_F302.o'. Stop".

I waste meanwhile so many hours to get it run.
Then I installed Keil and copied the EWARM => it run perfect! But the Keil debugger is limited to 32k

If I get progress I will post it.

Hi,
I'm also running into this, and noticed that they're all in varios folder's "subdir.mk" under "C_SRCS += \". Since these are autogenerated, I'm not sure where it's pulling that data. I'm just switching over from microchip, and my guess is some path location is being pulled in. Any help would be much appreciated to resolve this.

thanks

Hi,

There may be some success by copying the contents of the zip file to:

C:\Users\giuseppe scuderi-sl\Desktop\MOTOR CONTROL\Peppe\trunk\Firmware\X-Cube-SPN7-MC-6STEP

This appears to be where some of the folders should reside and where the ST bod was working from.

it is a shame the references are not relational to the location of the project files.

Mark


 
Collapse/expand modules below