10 months ago.

I am not getting build folder or and .bin file after compiling

As I am trying the new mbed OS.5 (before I used mbed OS.3) on my Ubuntu using mbed CLI first time to apply mbed-os-example-blinky cloning from /media/uploads/Mias/bildschirmfoto_vom_2016-08-24_10-45-1333.png after importing the example from github, as I use "mbed detect" the reply is "No mbed targets where detected on your system" though all the targets and tool chains are in mbed OS folders as I use "mbed target Nucleo_F401Re" and "mbed toolchain GCC_ARM" both will be set as default for this example. when I am compiling "mbed compile" I am getting +---+-+-+--+



+---+-+-+--+ and Image: ./.build/NUCLEO_F401RE/GCC_ARM/mbed-os-example-blinky.git.bin now my problem that I can`t find the .bin file anywhere!!! anyone can helping with this? what might the problem be?

Thanks in advance, Maria

Question relating to:

Comment on this question

1 Answer

10 months ago.

I think the .build folder will be hidden by default on Ubuntu. However if you run `ls -al` you should be able to see it, and by `open .build/NUCLEO_F401RE/GCC_ARM` you should get a shell from which you can drag and drop the firmware on your board.

Thank you for the answer, I have tried what you have advised me to do, but unfortunately I got nothing!

sadek@busd:~/mbed-os-example-blinky.git$ ls -al
insgesamt 52
drwxrwxr-x  6 sadek sadek 4096 Aug 24 10:22 .
drwxr-xr-x 54 sadek sadek 4096 Aug 26 10:17 ..
drwxrwxr-x  3 sadek sadek 4096 Aug 24 10:22 .build
drwxrwxr-x  8 sadek sadek 4096 Aug 24 10:11 .git
-rw-rw-r--  1 sadek sadek   32 Aug 24 10:11 .gitignore
drwxrwxr-x  2 sadek sadek 4096 Aug 24 10:11 img
-rw-rw-r--  1 sadek sadek  229 Aug 24 10:11 main.cpp
-rw-rw-r--  1 sadek sadek   46 Aug 24 10:21 .mbed
drwxrwxr-x 10 sadek sadek 4096 Aug 24 10:17 mbed-os
-rw-rw-r--  1 sadek sadek   77 Aug 24 10:11 mbed-os.lib
-rw-rw-r--  1 sadek sadek 1329 Aug 24 10:17
-rw-rw-r--  1 sadek sadek  827 Aug 24 10:20 mbed_settings.pyc
-rw-rw-r--  1 sadek sadek 2872 Aug 24 10:11

What does that mean? I am using Ubuntu for the first time so it`s still little bit complicated for me! Where should I find the build folder now ?

posted by Maria Sadek 26 Aug 2016

Here is a way to view by default in Nautilus

posted by Sam Grove 28 Aug 2016

Thanks Sam for your answer, it was quite useful. I was able to see the folder .build for the first time :) the file was hidden by Ubuntu and with ctrl+h it was shown and I found the .bin file finally!!

posted by Maria Sadek 29 Aug 2016

To post an answer, please log in.