5 years, 6 months ago.

Suddenly the Mbed compiler (1.10.18.0) compiles my code to less than 1/4 size.

I am working on a BLE application for the Nordic nRF51422 dev kit.

Suddenly the Mbed compiler (1.10.18.0) compiles my code to less than one fourth of the normal hex file size while claiming "Success!" with zero errors and a non-functioning program run. I am backing off the latest changes but nothing is working - the compiler is not giving any clues. I have clicked the 'verbose' box but still nothing. How do I get a more conservative compile, or a lint, or something to isolate the problem???

Steve

P.S. I ran an online lint on the code, but got nothing but kruft like spacing and line length violations.

posted by Steve Wald 27 Sep 2018

PPS. Now after a couple of minor changes I get "Error: Internal error." with no other info. Both RAM and Flash are only about 1/10 used. What gives with this no-output compiler?

posted by Steve Wald 27 Sep 2018

Yesterday I was forced to log in to Mbed - I haven't shut down since before this problem occurred. The problem is now gone. My assumption is that there are conditions where the system is only 'half' logged in and pretends to compile, but can't reach whatever it needs. This is a really creepy situation in that it gives no errors but doesn't really complete the task.

posted by Steve Wald 02 Oct 2018

1 Answer

5 years, 6 months ago.

Hi Steve,

We're glad that this problem is now resolved - as you told us over email through our support alias. For the benefit of others, the Online Compiler update made last week introduced an issue with building some Mbed OS2 applications. That has now been fixed.

We apologize for the inconvenience.

Regards,

Ralph, Team Mbed

Accepted Answer