Hello,
Mbed does not support Blue Pill directly, but it could be used as a custom target.
You can look to this
- Bluepill board support for Mbed OS 6 - Custom and community boards - Arm Mbed OS support forum
- ARMmbed/stm32customtargets: Enable the support of your custom boards in mbed-os 6 (github.com)
BR, Jan