-
Notifications
You must be signed in to change notification settings - Fork 6
Description
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!