We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi Nimaltd,
Can you help me please. I have problem buf ı can not solve that.
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
The text was updated successfully, but these errors were encountered:
@a-topkir Are you using LL or HAL version?
Sorry, something went wrong.
HAL... UART_HandleTypeDef defined in stm32f1xx_hal_uart.c Did you include it?
I use ll version. Thank you. I include it. Solved
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: