Resolved! BOOT0 pin and BOOT bits
I am using an STM32 G474RE NUCLEO board. Is it necessary for me to configure the BOOT0 pin and the BOOT bits in the FLASH_OPTR register if I am going to program the chip using the SWDIO and SWCLK pins with an ST-LINK V2?