How to make a Release configuration?
Is your custom board powerd through ST-Link ?
No, It uses power from USB (USB interface of the chip not used)
i don’t know which ST-Link HW you are using)
ST-LINK/V2 by STM
Firnware version: V2.J25.S4
STM32 ST-LINK Utility suggest to update to the same version as well as STLinkUpgrade
BOOT connected to ground thriugh 1M (tried to make it smaller - did not chane anything)
Running from the location where the AC6 loads the program by default.