Stm32 RDP byte with Mbed framework

I’m new on programming the stm32 boards and started with the Mbed framework. I’d like to know if there is any mbed default function that allow me to change the readout protection byte level or if there is a library that i can use for this purpose. I didn’t find any example code in the documentation of the framework.

Mbed has no abstaction layer for the RDP, but since Mbed builds on the STM32 HAL, you have that fully available to you, and there are example programs widely available if you look under your chip series’ HAL, for example for the F4 series’s RDP in the option bytes.

Thank you for the help! Now I know how to procide.