Solved
I have tested my code in blue pill and now have made my custom pcb containing stm32f103c8t6. I am unable to program with my st link. The ettings on stm32cubeide are correct as the code gets uploaded in the bluepill. Do we have to set or reset the BOO
..