I, I try to add uart funktionality to my code.
For this i looked what is be done in uart_pal_EchoS32k144
Then i used processorexpert to add the same uart (lpuart 1)
but i get the errormessagefrom Processor Expert
./Sources/main.o: In function `main':
C:\Users\FablabRonny\Documents\S32K1444Projects\iseled_freemaster_s32k144\iseled_freemaster_s32k144\Debug_FLASH/../Sources/main.c:274: undefined reference to `UART_Init'
C:\Users\FablabRonny\Documents\S32K1444Projects\iseled_freemaster_s32k144\iseled_freemaster_s32k144\Debug_FLASH/../Sources/main.c:278: undefined reference to `UART_SendData'
Anybody has some recommendation how to solve it, i did'nt find a solution....
I try it really hard, but find no solution
You wrote that you were referring to the uart_pal_echo_S32k144 example.
But you don't use the PAL drivers in your project.
Your project:
Example:
Please refer to the lpuart_echo_s32k144 example instead and use these functions:
LPUART_DRV_Init(INST_LPUART1, &lpuart1_State, &lpuart1_InitConfig0);
LPUART_DRV_SendDataBlocking(INST_LPUART1, (uint8_t *)welcomeMsg, strlen(welcomeMsg), TIMEOUT);
You can access the documentation of the driver by right-clicking on the LPUART component.
Regards,
Daniel