AnsweredAssumed Answered

LPC54018 uart issue

Question asked by Raymond Verbruggen on Jul 14, 2020
Latest reply on Jul 23, 2020 by Alice_Yang

I use an LPC54018 baseboard with IoT module on it. My project is based on lpc54018iotmodule_i2c_interrupt_b2b_transfer_master example, and I want to use UART4 (present on Shield connector) additional to that.

So I took the lpc54018iotmodule_usart_interrupt example, changed that to use UART4 and it worked fine.

Next I copied the specific parts or UART4 and copied it to the lpc54018iotmodule_i2c_interrupt_b2b_transfer_master base project. 

When I compile my project it gives the following error:

 

In file included from ../utilities/fsl_debug_console.c:54:

/Users/raymond/MCUXpresso/54018/vb-dcu/component/serial_manager/serial_manager.h:124:2: error: #error SERIAL_PORT_TYPE_UART, SERIAL_PORT_TYPE_USBCDC, SERIAL_PORT_TYPE_SWO and SERIAL_PORT_TYPE_USBCDC_VIRTUAL should not be cleared at same time.

#error SERIAL_PORT_TYPE_UART, SERIAL_PORT_TYPE_USBCDC, SERIAL_PORT_TYPE_SWO and SERIAL_PORT_TYPE_USBCDC_VIRTUAL should not be cleared at same time.

  ^~~~~

 

I tried lots of things but I can't get rid of the error.

Somebody please help me?

 

Best regards,

Outcomes