AnsweredAssumed Answered

Undefined InitializeUART, ReadUARTN, WriteUARTN

Question asked by Dan Quist on Apr 9, 2013
Latest reply on May 17, 2013 by Pascal Irrle

I asked this question in the Coldfire forum and was told to ask it here.


I'm setting up a new C++ project for a Coldfire MCF52110. Codewarrior 10.2 without MQX.


Everything builds fine until I start including code from the EWL_C++ library - I then get three linker errors.


Undefined InitializeUART Referenced from __init_uart_console

Undefined ReadUARTNReferenced from __read_console

Undefined WriteUARTNReferenced from __write_console


I don't understand why these keep popping up, especially because the files that are getting referenced are getting compiled out using the _EWL_CONSOLE_SUPPORT define.


I've tried rebuilding the EWL project several times, that doesn't seem to help either.


I don't need or want console support. I don't want to provide my own functions because I have no need for them. How do I get rid of these linker errors?