add extern C to stm32f10x_conf.h to support C++