5 years, 5 months ago.

Makefile not working

Hi, I am kinda new to this ARM stuff. So I used the Mbed online compiler to export the Nucleo blink led example. I was trying to make it running in Visual Studio 17 and Visual Studio Code, but with no success. For some reason I lack the CppProperties.json and after right clicking the Makefile I have no option to Build or Clean. I can provide more info if needed.

1 Answer

5 years, 5 months ago.

Hi Matej,

As per https://os.mbed.com/docs/v5.6/tutorials/visual-studio-code.html, you need to install the visual studio code with the C/C++ extensions to begin.

Please check if your set up is according to this document and see if it helps.

Thanks,

Naveen

Team mbed

I did install it with those extensions, but it does not work. It says "make.exe : The term 'make.exe' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again." What I noticed from watching tutorial video from Microsoft, I am missing the CppProperties file after exporting the program, could that be the problem?

posted by Matej Prvý 16 Nov 2018

Dear MBED team,

Please recheck all your tutorials of MBED CLI export to other IDE's. Even though i follow step by step instructions, i faced many problems (such as Matej mentioned, or including storage fileheaders in eclipse, etc, etc..)

The only working solution is in this link: https://os.mbed.com/teams/MultiTech/wiki/Using-Eclipse-and-mbed-5-for-MTS-Devices... No hope for offical links...

Please revise all your export and debug tutorials carefully... And please try before posted.

Please explain clearly how to create run(upload to device) and debug profiles in eclipse and in other IDE's.

Regards

posted by Kamil M 17 Nov 2018

Hi MBED team

i would like to support Kamil M in his comments. The tutorials for exporting and debugging on this site are absolutely rubbish. I have tried several things and have had no luck. Have also sent an email to you about one of these issues and have had no response.

posted by Rory Hand 26 Nov 2018