Problem in Release Mode
I am using the STM32F302R8Tx microcontroller. I usually work in debug mode. One day, I decided to use release mode and faced a problem. I looked for a solution and then tried several methods sequentially.
1)I had tried optimizasyon
2)include my driver layer
I didn't get result. Can you help for this problem?


I didn’t get any false evaluation in Debug mode
D:/Work/PLM/ST/STM32CubeIDE_1.19.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/bin/ld.exe: cannot find D:stm32BuildDriverMyDriverInc: No such file or directory
collect2.exe: error: ld returned 1 exit status
make: *** [makefile:63: BuildDriver.elf] Error 1
