Build system error using mbed-os and Nucleo-F303K8

23 Aug 2018

I'm working with the Nucleo-F303K8 and getting an error compiling after importing the latest mbed-os from the official github repo. The error is Error: The build system did not finish successfully. and the error code to the right is -231. I'm using the online compiler. The code compiles fine when I switch to the Nucleo-F446RE or Nucleo-L432KC, the error is only present with the F303K8. My code is below, obviously a test program after I ran into this in the actual application I'm working on. I can compile using the mbed library, but I need some of the features in mbed-os.

#include "mbed.h"
int main()
{
     while (true) {
          wait(0.2);
     }
}
27 Aug 2018

Bump. Did I post this in the wrong spot?

28 Aug 2018

Hi David,

Sorry that we didn't get to your post yesterday.

The issue is that the Nucleo-F303K8 is only supported by Mbed OS2. If you check the board's Mbed page and scroll down a bit on the right-hand side you'll see the Arm Mbed Enabled logo and only OS2 is listed:

This board has a small memory footprint so we suspect that's the reason why it's not supported by OS5.

We'll raise an issue with our tools team to try and get the build error message improved.

Regards,

Ralph, Team Mbed