Question
SW4ST build of X-CUBE-SPN7 demo project
Posted on June 11, 2017 at 20:47
♯
build using♯
&sharpen.X-CUBE-SPN7.zip
Running an up-to-date Eclipse Ac6 session here is what happens when I try to build the &sharpX-CUBE-SPN7 demo application:
1.select File menu item2. select Open Projects from File System3. select Import Projects from File System or Archive4. click 'Archive...'5. choose file 'en.X-CUBE-SPN7.zip' and click 'open'6. displays 'en.X-CUBE-SPN7.zip_expanded' + 4 Nucleo 030/103/302/401 projects click 'Finish'An internal error occurred during:'C/C++ Indexer'
Details are: An internal error occurred during: 'C/C++ Indexer'. org.eclipse.cdt.internal.core.pdom.PDOMProxy cannot be cast to org.eclipse.cdt.internal.core.index.IWritableIndexFragment7. click OK
8. Right click on 'STM32F302R8-Nucleo Configuration' in Project Explorer tab9. select 'Build Project' from drop down listAn internal error occurred during:'C/C++ Indexer'
Details are: An internal error occurred during: 'C/C++ Indexer'. org.eclipse.cdt.internal.core.pdom.PDOMProxy cannot be cast to org.eclipse.cdt.internal.core.index.IWritableIndexFragment- same error as before. Click 'OK'
The Problems tab displays:
Description Resource Path Location Typemake: *** No rule to make target `C:/Users/giuseppe scuderi-sl/Desktop/MOTOR CONTROL/Peppe/trunk/Firmware/X-CUBE-SPN7-MC-6STEP/Middlewares/ST/UART_serial_com/Src/UART_UI.c', needed by `Middlewares/UART_serial_com/UART_UI.o'. Stop. STM32F401RE-Nucleo Configuration C/C++ Problemmake: *** 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. STM32F302R8-Nucleo C/C++ ProblemRepeating steps 8 and 9 selecting 'STM32F401RE-Nucleo Configuration' produces identical results.Analyzing the error message, the projects appear to have a hard path in the the project path 'C:/Users/giuseppe scuderi-sl/Desktop/MOTOR CONTROL/Peppe/trunk/Firmware/X-CUBE-SPN7-MC-6STEP/...'I want to build the project. First I need to load it into Eclipse.
How do I load the en.X-CUBE-SPN7.zip demo project into SW4ST Eclipse so the file paths are properly updated?
Failing that, how can I manually update the file paths?
#sw4st #ihm07a1