You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading your usb virtual com example to the 2.12.0 version of the SDK on MCUXpresso, I got the following compile error:
/lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: ./component/serial_manager/fsl_component_serial_manager.o: in functionSerialManager_StartWriting':
C:\Users\linhz\Documents\MCUXpressoIDE_11.6.0_8187\workspace\teensy_hello_world_virtual_com\Debug/../component/serial_manager/fsl_component_serial_manager.c:289: undefined reference to Serial_UartWrite' c:/nxp/mcuxpressoide_11.6.0_8187/ide/plugins/com.nxp.mcuxpresso.tools.win32_11.6.0.202112161359/tools/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: ./component/serial_manager/fsl_component_serial_manager.o: in function SerialManager_StartReading':
C:\Users\linhz\Documents\MCUXpressoIDE_11.6.0_8187\workspace\teensy_hello_world_virtual_com\Debug/../component/serial_manager/fsl_component_serial_manager.c:356: undefined reference to Serial_UartRead' c:/nxp/mcuxpressoide_11.6.0_8187/ide/plugins/com.nxp.mcuxpresso.tools.win32_11.6.0.202112161359/tools/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: ./component/serial_manager/fsl_component_serial_manager.o: in function SerialManager_IsrFunction':
C:\Users\linhz\Documents\MCUXpressoIDE_11.6.0_8187\workspace\teensy_hello_world_virtual_com\Debug/../component/serial_manager/fsl_component_serial_manager.c:517: undefined reference to Serial_UartIsrFunction' c:/nxp/mcuxpressoide_11.6.0_8187/ide/plugins/com.nxp.mcuxpresso.tools.win32_11.6.0.202112161359/tools/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: ./component/serial_manager/fsl_component_serial_manager.o: in function SerialManager_Init':
C:\Users\linhz\Documents\MCUXpressoIDE_11.6.0_8187\workspace\teensy_hello_world_virtual_com\Debug/../component/serial_manager/fsl_component_serial_manager.c:1247: undefined reference to Serial_UartInit' c:/nxp/mcuxpressoide_11.6.0_8187/ide/plugins/com.nxp.mcuxpresso.tools.win32_11.6.0.202112161359/tools/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\linhz\Documents\MCUXpressoIDE_11.6.0_8187\workspace\teensy_hello_world_virtual_com\Debug/../component/serial_manager/fsl_component_serial_manager.c:1251: undefined reference to Serial_UartInstallTxCallback'
c:/nxp/mcuxpressoide_11.6.0_8187/ide/plugins/com.nxp.mcuxpresso.tools.win32_11.6.0.202112161359/tools/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\linhz\Documents\MCUXpressoIDE_11.6.0_8187\workspace\teensy_hello_world_virtual_com\Debug/../component/serial_manager/fsl_component_serial_manager.c:1254: undefined reference to Serial_UartInstallRxCallback'
I have to admit that I am not so familiar with how the NXP SDK files are structured, and not really an expert on MCU programming in general. It would be great if there is an hint what might be wrong. Thanks a lot!
And this example project is really helpful for me as I start to explore more complex MCUs with the Teensy!
The text was updated successfully, but these errors were encountered:
I think for some reason three files fsl_component_serial_port_uart.c, fsl_adapter_lpuart.c, fsl_lpuart.c are excluded from the build in eclipse. After going to the properties of each file and tick off the exclusion, it compiles again. This is strange. I would leave the information here for others.
The components for the uart device are originally not used for the usb virtual comport project.
Only for the iled blinky project the uart is enabled.
In the lwip_http project there are two build configurations one for debug output over uart and another over usb.
After upgrading your usb virtual com example to the 2.12.0 version of the SDK on MCUXpresso, I got the following compile error:
/lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: ./component/serial_manager/fsl_component_serial_manager.o: in function
SerialManager_StartWriting':C:\Users\linhz\Documents\MCUXpressoIDE_11.6.0_8187\workspace\teensy_hello_world_virtual_com\Debug/../component/serial_manager/fsl_component_serial_manager.c:289: undefined reference to
Serial_UartWrite' c:/nxp/mcuxpressoide_11.6.0_8187/ide/plugins/com.nxp.mcuxpresso.tools.win32_11.6.0.202112161359/tools/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: ./component/serial_manager/fsl_component_serial_manager.o: in function
SerialManager_StartReading':C:\Users\linhz\Documents\MCUXpressoIDE_11.6.0_8187\workspace\teensy_hello_world_virtual_com\Debug/../component/serial_manager/fsl_component_serial_manager.c:356: undefined reference to
Serial_UartRead' c:/nxp/mcuxpressoide_11.6.0_8187/ide/plugins/com.nxp.mcuxpresso.tools.win32_11.6.0.202112161359/tools/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: ./component/serial_manager/fsl_component_serial_manager.o: in function
SerialManager_IsrFunction':C:\Users\linhz\Documents\MCUXpressoIDE_11.6.0_8187\workspace\teensy_hello_world_virtual_com\Debug/../component/serial_manager/fsl_component_serial_manager.c:517: undefined reference to
Serial_UartIsrFunction' c:/nxp/mcuxpressoide_11.6.0_8187/ide/plugins/com.nxp.mcuxpresso.tools.win32_11.6.0.202112161359/tools/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: ./component/serial_manager/fsl_component_serial_manager.o: in function
SerialManager_Init':C:\Users\linhz\Documents\MCUXpressoIDE_11.6.0_8187\workspace\teensy_hello_world_virtual_com\Debug/../component/serial_manager/fsl_component_serial_manager.c:1247: undefined reference to
Serial_UartInit' c:/nxp/mcuxpressoide_11.6.0_8187/ide/plugins/com.nxp.mcuxpresso.tools.win32_11.6.0.202112161359/tools/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\linhz\Documents\MCUXpressoIDE_11.6.0_8187\workspace\teensy_hello_world_virtual_com\Debug/../component/serial_manager/fsl_component_serial_manager.c:1251: undefined reference to
Serial_UartInstallTxCallback'c:/nxp/mcuxpressoide_11.6.0_8187/ide/plugins/com.nxp.mcuxpresso.tools.win32_11.6.0.202112161359/tools/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\linhz\Documents\MCUXpressoIDE_11.6.0_8187\workspace\teensy_hello_world_virtual_com\Debug/../component/serial_manager/fsl_component_serial_manager.c:1254: undefined reference to
Serial_UartInstallRxCallback'
I have to admit that I am not so familiar with how the NXP SDK files are structured, and not really an expert on MCU programming in general. It would be great if there is an hint what might be wrong. Thanks a lot!
And this example project is really helpful for me as I start to explore more complex MCUs with the Teensy!
The text was updated successfully, but these errors were encountered: