If you push the Restore Defaults button in theC/C++ Build Settings window, all information about the Board Support Package (BSP) will be lost.
To work around this problem, you can assign your software project to its BSP by:
1. Right click on your software project
2. Select, Change Referenced BSP
3. Select your desired BSP
An improvement is scheduled to be made in 12.2 where the Restore Default will restore the values to match what is needed for the associated BSP.