CUBE error for STM32F476RG causes these processors to not work
If you modify the file I mentioned in the CUBE, it will modify the file you mentioned (the linker file).
My initial move was to fix the linker file, but every time I used CUBE it would reset it.
By modifying the families.xml file CUBE will product the correct linker file.
-Matt