AnsweredAssumed Answered

printf function in the TRK-KEA128_Lab1 gives error

Question asked by Dino David on Sep 10, 2015
Latest reply on Sep 15, 2015 by ZhangJennie

I am trying to debug the code of the example Lab1. I know its not the correct way.

Just wanted to ensure the correctness of the modified example program.

 

Basically I am trying to read and write from the UART line from my PC using a software C code.

 

I am getting this error

 

ARM_GCC_Support/ewl/EWL_C/src/sys/uart_console_io.c:200: undefined reference to `InitializeUART'

C:/Freescale/CW MCU v10.6/MCU/ARM_GCC_Support/ewl/lib/armv6-m\libuart.a(uart_console_io.o): In function `__read_console':

ARM_GCC_Support/ewl/EWL_C/src/sys/uart_console_io.c:93: undefined reference to `ReadUARTN'

C:/Freescale/CW MCU v10.6/MCU/ARM_GCC_Support/ewl/lib/armv6-m\libuart.a(uart_console_io.o): In function `__init_uart_console':

ARM_GCC_Support/ewl/EWL_C/src/sys/uart_console_io.c:200: undefined reference to `InitializeUART'

C:/Freescale/CW MCU v10.6/MCU/ARM_GCC_Support/ewl/lib/armv6-m\libuart.a(uart_console_io.o): In function `__write_console':

ARM_GCC_Support/ewl/EWL_C/src/sys/uart_console_io.c:151: undefined reference to `WriteUARTN'

mingw32-make: *** [TRK-KEA128_Lab1.elf] Error 1

 

I didn't get any satisfying answer from the previous blogs.

Please help me out in sorting this issue.

Thanks in advance

Outcomes