Quantcast
Channel: MSP low-power microcontroller forum - Recent Threads
Viewing all articles
Browse latest Browse all 22176

CCS/MSP430F5529: TDC7200EVM_USB, Unresolved symbol USB_disable()

$
0
0

Part Number: MSP430F5529

Tool/software: Code Composer Studio

Hi,

I'm trying to compile the example "TDC7200EVM_USB" (from "TDC720xEVM_Firmware_Source-v2.07"), using ccsv8, ti-cgt-msp430_19.6.0.STS compiler.

After a few project tweaks (wasn't finding "/libcxx/cstring" and added full support for printf) I'm seeing 5 linker errors all related to the unresolved external "USB_disable()" (declared in host_interface.c).

I've tried adding "${PROJECT_LOC}/../../Debug/obj" to linker search path, but no joy.

EDIT: So I think USB_disable() is defined in "\Debug\USB_API\USB_Common\usb.obj" - but how to link to it?

EDIT: Compiles w/out errors after adding "include usb.h" to host_interface.c, and commenting-out "extern uint8_t USB_disable(void)". Would still like to know how to make this work as original author intended. :-)

Any help is appreciated.

[Snipped] CONSOLE TEXT BELOW

undefined first referenced
symbol in file
--------- ----------------
USB_disable() ./host_interface.obj

remark #10372-D: (ULP 4.1) Detected uninitialized Port D in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins.
error #10234-D: unresolved symbols remain

>> Compilation failure
makefile:225: recipe for target 'TDC7200EVM_USB.out' failed
error #10010: errors encountered during linking; "TDC7200EVM_USB.out" not built
gmake: *** [TDC7200EVM_USB.out] Error 1
gmake: Target 'all' not remade because of errors.


Viewing all articles
Browse latest Browse all 22176

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>