This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TivaWare USB Mouse Example

Hello-

I'm using CCS 5.04 with the latest TivaWare libraries as of Feb. 3 (2.0.1.11577) and working with the Tiva C Series Launchpad board (TM4C123G).  My goal is to get code working for a USB mouse device.  I've run into several problems that I am open to solutions for:

* If I follow the TivaWare USB Library Guide's (SW-UBL-UG-1.0) directions on how to get a mouse running and make a project from scratch, it doesn't work, because the `ccs` symbol isn't getting properly defined even though my project settings are correct for the board I wish to use.  Even if I add this in manually through the project properties, it still doesn't work.  I either get a failure in usb.h because `ccs` wasn't defined as a symbol, or I get failures from __attribute__ being redefined (if I manually define `ccs` myself somehow).

* If I follow somebody's StellarisWare example, it doesn't work because I can't figure out everything that needs to be changed to get it compatible with TivaWare.  A typical problem is that the target_config XML file has the wrong information in it, but I thought this file was auto-generated by the compiler from my project settings, which are correct for the part I want to use.  I can look at this file and see that it has bad entries, but I don't know what the exact form of the right entries should be even if the tool allowed me to edit this file.

  * My research seems to imply that there should be a usb_dev_mouse example folder somewhere, but I can't find any.  The examples for the TM4C123G board only give usb_dev_bulk and usb_dev_serial.  The closest I've come is seeing a usb_otg_mouse example for a different board.

Does anybody have a working TivaWare example of the USB mouse that just has the minimal code in it?  Right now I'm thinking of trying to take one of the other examples and trying to convert it to a mouse, but then I have to guess at what I need to add and what I can take out.