Arduino_STM32 library is based on Leaflabs Maple_mini board and hardware. And on-board ERROR_LED connected to PB1. So, libmaple library support this ERROR_LED as ...
Details from @ahull on the Arduino forum on how its possible to install and use the Maple bootloader on a generic STM32 board (one that doesn't have the Maple USB reset hardware) on Linux Using the ...