7 years, 9 months ago.

How to get started

Disappointed with the guidance provided. I am a beginner; reading the whole lot of Q/As, still don't have a clue e.g. I have Hello World in cpp but how do I compile and run it is as clear as mud from the guidance given.

1 Answer

7 years, 9 months ago.

Well the compile button would be a good start to compile it.

Granted the getting started is a bit hidden and in general the documentation is a bit all over the place, but compiling is also fairly straight forward. I assume you did follow the getting started from your platform? So you did install the ST link drivers? Then see this: https://developer.mbed.org/handbook/Creating-a-program

Accepted Answer

Thanks. Can't find the download button! Compiled OK but how to d'load to the STM Board - is there a button for d'load? If there is it is well hidden.

posted by ken dias 08 Aug 2016

If it compiles it should turn up with a file your browser wants to download automatically. This file you can save on your STM board which should appear was mass storage device (USB drive). Or save it in the normal place and drag and drop it.

If your browser does not give you a file to download after compiling try another browser. Maybe you set your security settings a bit too high. Only other option I see if that you are compiling only, but the default if you press the button is that it also generates the download for you.

posted by Erik - 08 Aug 2016

tHANKS. Very frustrating - when I download, the light on the STM should flash briefly; don't see this. There is no run button to prove that it has d'loaded and runs OK.

posted by ken dias 08 Aug 2016

So can you now download a file from the compiler? Without sufficient information we also can't guess what is happening. As I wrote before, have you updated the ST link drivers? Can you downoad a file? Do you put it on your STM? Does it appear as mass storage device

posted by Erik - 09 Aug 2016