Hello @Ersin Kuşçu,
Let me first welcome you to the Community :)
Glad to know you overcame this problem.
It was a limitation with the older versions of STM32CubeMx, and it's fixed after that.
Thank you for your contribution, and please allow me to close this thread by marking your answer as Best.
Imen
In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks