1、error: #136: struct "<unnamed>" has no field "BSRRL":
点击定位错误,将GPIO_SetBits函数中GPIOx->BSRRL改成GPIOx->BSRR。
2、同样 error: #136: struct "<unnamed>" has no field "BSRRH"
将GPIO_ResetBits函数中(GPIOx->BSRRH改成GPIOx->BSRR。
3、 将GPIO_WriteBit函数中BSRRL改成BSRR,将BSRRH改成BSRR