I have a project that ran on a PC we moved it to Stelaris and now to TIVA.
This product is a machine sensor ( reading an array of button and updating displays) that is connected to a PC via an USB.
When I configured this code I copy 3 files from the USB library into my project so can make changes to them (altering BUFFER_SIZE only) and keep them safe from USB library updates. Because of this issue these files are not touched.
The files are: usb_device_serial.c
usb_serial_structs.c
usb_serial_structs.h
The compiler error I get it s the following:
>> Compilation failure
gmake: *** [EPGMain.obj] Error 1
'Building file: ../EPGPackets.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/arm_5.1.8/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 --include_path="c:/ti/ccsv6/tools/compiler/arm_5.1.9/include" --include_path="c:/ti/TivaWare_C_series-2.1.0.12573" -g --gcc --define=ccs="ccs" --define=PART_TM4C123GH6PGE --display_error_number --diag_warning=225 --diag_wrap=off --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="EPGPackets.pp" "../EPGPackets.c"
"..\USB/usb_serial_structs.h", line 65: error #20: identifier "tUSBDCDCDevice" is undefined
1 error detected in the compilation of "../EPGPackets.c".
>> Compilation failure
gmake: *** [EPGPackets.obj] Error 1
gmake: Target `all' not remade because of errors.
**** Build Finished ****
Any suggestions as to where to look?