Maple mini and STM32 MCU Based boards problem

Your sketch probably ran amok and overwrote the bootloader. Either that, or the kernel you used doesn't support USB serial. You have to re-install a working DFU bootloader. Get yourself an ST-Link programmer...

Another thing, if you want application (sketch) USB serial support, you have to ensure that it is selected in the upload menus... however it appears like you do.