*** Using Compiler 'V6.19', folder: 'G:\Software\keil\ARM\Keil_V5\ARM\ARMCLANG\Bin' Build target 'yaokon' ../Core/Src/oled.c(468): error: use of undeclared identifier 'oled_res_Pin_Port' OLED_RES_Clr(); ^ ../Core/Src/oled.h(22): note: expanded from macro 'OLED_RES_Clr' #define OLED_RES_Clr() HAL_GPIO_WritePin(oled_res_Pin_Port,oled_res_Pin,GPIO_PIN_RESET)//RES ^ ../Core/Src/oled.c(471): error: use of undeclared identifier 'oled_res_Pin_Port' OLED_RES_Set(); ^ ../Core/Src/oled.h(23): note: expanded from macro 'OLED_RES_Set' #define OLED_RES_Set() HAL_GPIO_WritePin(oled_res_Pin_Port,oled_res_Pin,GPIO_PIN_SET) ^ 2 errors generated. compiling oled.c... ".\yaokon.axf" - 2 Error(s), 0 Warning(s). Target not created. Build Time Elapsed: 00:00:01