Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse: Cannot run program "cs-make": Launching failed

For the past week, i have been hunting a free development environment for STM32F1xx, which is supported by FreeRTOS. And no success yet :( .

Now I've found this: http://www.stf12.org/developers/ODeV.html

It's an Eclipse configuration for STM32 compiling and debugging, and there is a FreeRTOS demo too. Perfect!

So I downloaded a preconfigered version of eclipse and tried to compile a demo project to get this error:

Cannot run program "cs-make": Launching failed. 

Depressing. Please help, i am very bad at configuring IDE's, compilers and linkers so this has to be newbie-friendly :)

like image 552
Jolle Avatar asked Sep 27 '26 16:09

Jolle


1 Answers

The Eclipse project is configured for CodeSourcery toolchain. You need to install CodeSourcery compiler toolchain from: http://www.mentor.com/embedded-software/codesourcery. Choose Lite Edition, ARM-NONE-EABI package. After the installation make sure you can start cs-make from command prompt (by typing it's name there). Generally, you want all toolchain programs to be accessible from command prompt, which implies that their installation path must be in system PATH variable.

P.S. Make sure the path DOES NOT contain spaces like standard Windows programs directory "C:\Program Files", instead install the tools in a directory like "C:\arm-none-eabi", "C:\ARM_tools" or something like that.

like image 168
BlueSky Avatar answered Sep 30 '26 07:09

BlueSky



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!