This is how to solve the error: no member named ‘IP’ in ‘NVIC_Type‘
Open the misc.c file : AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\StdPeriph_Driver\src\misc.c, if you are using the Keil uVision IDE
Edit the following line
Replace the line with the following
NVIC->IPR[NVIC_InitStruct->NVIC_IRQChannel] = tmppriority;
Should look like this after editing