8 years, 11 months ago.

Compiler not producing a hex file when compiling a BLE nano project

I've got a project that is compiling without errors, but the compiler is not producing a hex file. The file is instead full of what looks like random characters along with some file path strings pointing to github.

Any ideas???

2 Answers

8 years ago.

I'm also unable to create an project offline using yota. Heres what I tried:

include the mbed library with this snippet

yotta init
yotta target 'blenano-gcc'
yotta install mbed-hal-blenano

Afterwards I just used the code provided with the mbed examples to do the blinky stuff. The compilation says that ninja is expecting nothing to do, which is the only weird output.

There is no .hex file generated!

8 years, 11 months ago.

I have same problem. Now mbed compiler does NOT work correctly. It seems world wide problem. We have to wait.

Followings are something wrong.

BLE_API rev.346 nRF51822 rev.119 mbed rev.98

You will get a bad file which does not work. I found the workaround. Revert with followings.

BLE_API rev.341 nRF51822 rev.111 mbed rev.97

Good luck!

posted by yasuyuki onodera 01 May 2015