Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 3 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 https://github.com/ARMmbed/mbed-os-example-blinky.gitboard
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
+---+-+-+--+
Module | .text | .data | .bss |
+---+-+-+--+
Subtotals | 41816 | 2316 | 8536 |
+---+-+-+--+
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:
1 Answer
8 years, 3 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 mbed_settings.py -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 README.md
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 26 Aug 2016Here is a way to view by default in Nautilus
http://www.howtogeek.com/howto/ubuntu/view-hidden-files-and-folders-in-ubuntu-file-browser/
posted by 28 Aug 2016