Hex file creation failed with long project name.

28 Oct 2014

Project name "BLE_HTM_LM75B_HRM1017" generates 26kB HEX file. If I make it shorter like "BLE_HTM_LM75B", 304kB HEX file will be generated as usual.
Probably, long project name cause fault on combining HEX file.

28 Oct 2014

Hi,

can you test test it somehow with mbed SDK offline??

THanks for reporting.

0xc0170

-deleted-
28 Oct 2014

Hi,

I just tried naming a project in my workspace as BLE_HTM_LM75B_HRM1017 and it worked just fine. Are you by chance using mbed-src instead of mbed library in your program?

Cheers,
Mihail

28 Oct 2014

The problem with creating hex files has been reported earlier. See https://developer.mbed.org/forum/platform-39-Nordic-nRF51822-community/topic/4982/?page=1#comment-25650

I also noticed that it happens occasionally and it seems to be a compiler issue and is not related to filename length. Just try a recompile or rebuild all and it should work. Mihail or someone at mbed staff should look into the deeper cause.

28 Oct 2014

Hi,

I only imported exact working project as BLE_HTM_LM75B_HRM1017 and tried to build that for 5-6 times. It always output 26kB file at that time. So that I tried to rename that to BLE_HTM_LM75B and it getting works. I think it's not about mbed and meed-src problem. If it is not about the length of project name, it's about something caching matter as Wim mentioned. Now, I believe my problem was solved by changing project name.

28 Oct 2014

Now, I re-renamed that project to BLE_HTM_LM75B_HRM1017, and it works!