![54](https://user-images.githubusercontent.com/63725705/114586211-15808c80-9c8d-11eb-867f-baba1e29657e.PNG)
Hi Nimaltd,
Can you help me please. I have problem buf ı can not solve that.
ERROR MESSAGE:
Build started: Project: sim
*** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'sim'
compiling atc.c...
../Inc/atc.h(54): error: #20: identifier "UART_HandleTypeDef" is undefined
UART_HandleTypeDef *usart;
../Inc/atc.h(55): warning: #29-D: expected an expression
#elif
../Inc/atc.h(70): error: #20: identifier "UART_HandleTypeDef" is undefined
void atc_init(atc_t *atc, const char *name, UART_HandleTypeDef *USARTx, void *found);
../Inc/atc.h(71): warning: #29-D: expected an expression
#elif
..\Src\atc.c(32): error: #20: identifier "UART_HandleTypeDef" is undefined
void atc_init(atc_t *atc, const char *name, UART_HandleTypeDef *USARTx, void *found)
..\Src\atc.c(33): warning: #29-D: expected an expression
#elif
..\Src\atc.c(42): warning: #513-D: a value of type "void " cannot be assigned to an entity of type "void ()(char *)"
atc->found = found;
..\Src\atc.c(44): warning: #29-D: expected an expression
#elif
..\Src\atc.c(79): warning: #223-D: function "HAL_UART_Transmit_IT" declared implicitly
HAL_UART_Transmit_IT(atc->usart,data,len);
..\Src\atc.c(81): warning: #29-D: expected an expression
#elif
..\Src\atc.c(102): warning: #223-D: function "HAL_UART_Receive_IT" declared implicitly
HAL_UART_Receive_IT(atc->usart, &atc->tmp, 1);
..\Src\atc.c(103): warning: #29-D: expected an expression
#elif
..\Src\atc.c: 9 warnings, 3 errors
compiling call.c...
../Inc/atc.h(54): error: #20: identifier "UART_HandleTypeDef" is undefined
UART_HandleTypeDef *usart;
../Inc/atc.h(55): warning: #29-D: expected an expression
#elif
../Inc/atc.h(70): error: #20: identifier "UART_HandleTypeDef" is undefined
void atc_init(atc_t *atc, const char *name, UART_HandleTypeDef *USARTx, void *found);
../Inc/atc.h(71): warning: #29-D: expected an expression
#elif
..\Src\call.c: 2 warnings, 2 errors
compiling gprs.c...
../Inc/atc.h(54): error: #20: identifier "UART_HandleTypeDef" is undefined
UART_HandleTypeDef *usart;
../Inc/atc.h(55): warning: #29-D: expected an expression
#elif
../Inc/atc.h(70): error: #20: identifier "UART_HandleTypeDef" is undefined
void atc_init(atc_t *atc, const char *name, UART_HandleTypeDef *USARTx, void *found);
../Inc/atc.h(71): warning: #29-D: expected an expression
#elif
..\Src\gprs.c: 2 warnings, 2 errors
compiling gsm.c...
../Inc/atc.h(54): error: #20: identifier "UART_HandleTypeDef" is undefined
UART_HandleTypeDef *usart;
../Inc/atc.h(55): warning: #29-D: expected an expression
#elif
../Inc/atc.h(70): error: #20: identifier "UART_HandleTypeDef" is undefined
void atc_init(atc_t *atc, const char *name, UART_HandleTypeDef *USARTx, void *found);
../Inc/atc.h(71): warning: #29-D: expected an expression
#elif
..\Src\gsm.c: 2 warnings, 2 errors
compiling gsmCallback.c...
../Inc/atc.h(54): error: #20: identifier "UART_HandleTypeDef" is undefined
UART_HandleTypeDef *usart;
../Inc/atc.h(55): warning: #29-D: expected an expression
#elif
../Inc/atc.h(70): error: #20: identifier "UART_HandleTypeDef" is undefined
void atc_init(atc_t *atc, const char *name, UART_HandleTypeDef *USARTx, void *found);
../Inc/atc.h(71): warning: #29-D: expected an expression
#elif
..\Src\gsmCallback.c: 2 warnings, 2 errors
compiling msg.c...
../Inc/atc.h(54): error: #20: identifier "UART_HandleTypeDef" is undefined
UART_HandleTypeDef *usart;
../Inc/atc.h(55): warning: #29-D: expected an expression
#elif
../Inc/atc.h(70): error: #20: identifier "UART_HandleTypeDef" is undefined
void atc_init(atc_t *atc, const char *name, UART_HandleTypeDef *USARTx, void *found);
../Inc/atc.h(71): warning: #29-D: expected an expression
#elif
..\Src\msg.c: 2 warnings, 2 errors
compiling stm32f4xx_it.c...
../Src/stm32f4xx_it.c(209): warning: #223-D: function "gsm_rxCallback" declared implicitly
gsm_rxCallback();
../Src/stm32f4xx_it.c: 1 warning, 0 errors
compiling main.c...
../Inc/atc.h(54): error: #20: identifier "UART_HandleTypeDef" is undefined
UART_HandleTypeDef *usart;
../Inc/atc.h(55): warning: #29-D: expected an expression
#elif
../Inc/atc.h(70): error: #20: identifier "UART_HandleTypeDef" is undefined
void atc_init(atc_t *atc, const char *name, UART_HandleTypeDef *USARTx, void *found);
../Inc/atc.h(71): warning: #29-D: expected an expression
#elif
../Src/main.c: 2 warnings, 2 errors
"sim\sim.axf" - 15 Error(s), 22 Warning(s).
Target not created.
Build Time Elapsed: 00:00:26
![54](https://user-images.githubusercontent.com/63725705/114586454-5b3d5500-9c8d-11eb-9a60-986c9b3d68b9.PNG)