add gpio and spi examples
modify the doc of examples
change some bugs of st.cox
add GPIOPinToPeripheralId for gpio
Merge remote-tracking branch 'remotes/origin/CoX_STM32F1xx_V2.2.1.0'