Can't use Mbed with Nucleo-F031K6

I have a NUCLEO-F031K6.

I have it plugged into my computer and it is detected by Mbed Studio.

I loaded the built-in blinky example and pressed the build button, resulting in the message

“NUCLEO_F031K6 is not a supported MCU”

Then a list of supported boards…

According to mbed.com this board is “mbed enabled”, not sure what that means since mbed studio disagrees.

Out of curiosity I tried the same thing in Keil Cloud Studio to find that the board is supported??

But when I try to build, it now says

“Target “NUCLEO_F031K6” is not recognized”

Not sure why these two IDEs behave completely differently seeing as they are basically the same thing, right?

I don’t know what I’m doing wrong but any help would be much appreciated.

Thanks!

Hello,

try to downgrade MbedOS library to version 5.15.9 and set Bare metal profile because this is low memory target and is not capable to run whole MbedOS. Moreover this board is not supported in MbedOS6.

BR, Jan

Thanks, now Mbed Studio recognizes my board is supported. But it cannot compile.

“[Warning] @0,0: L3912W: Option ‘legacyalign’ is deprecated.
[Error] @0,0: L6221E: Execution region RW_IRAM1 with Execution range [0x200000b0,0x20000368) overlaps with Execution region ARM_LIB_STACK with Execution range [0x20000000,0x20001000).
[Error] @0,0: L6221E: Execution region ARM_LIB_HEAP with Execution range [0x20000370,0x20000370) overlaps with Execution region ARM_LIB_STACK with Execution range [0x20000000,0x20001000).”

:man_shrugging:

I think I’m good, this hasn’t been a very good experience.

Zephyr OS worked out of the box with no problems so I think I will go that route.

Thank you for the help though.