How to run a Mbed program on a NUCLEO - F302R8

I am trying to use a NUCLEO - F302R8 dev board, this used to be supported by Mbed OS, however when I try running a program on the board it says that : “NUCLEO_F302R8 is not a supported MCU”. Does anyone know a way so I can set up this board to use? When I went through the steps of setting up a custom target given by Mbed OS’s documentation I got the same error.

I really would like to use this board with Mbed OS, so if anyone knows of a way I can do so that would be extremely helpful.

This is a picture of the error I am getting:

I have the same issue,
is there any reply?

Hello,

here are base files for F302 so you need to make a custom target based on that
Here you can found how to do this and here some examples ARMmbed/stm32customtargets: Enable the support of your custom boards in mbed-os 6 (github.com)

BR, Jan