Custom driver interface in MbedOS


i have developed driver for Parallel PSARAM memory interface using STM32CubeIDE.
Now, i want to add driver part into MbedOS so any example or tutorial available?
my intend to use this external ram for the heap allocation ( malloc , calloc etc functions ).

Any guidance, is greatly appreciated.



just a theory, if you are able to achieve that in CubeIDE then then you can copy & paste necessary functions (RAM initialization and so on) to Mbed project.
However be sure the HAL drivers version for your target in Mbed are same like in your CubeIDE project, overwise there’s a chance the functions based on different HAL driver versions could not work.

BR, Jan