6 Replies Latest reply on Jun 21, 2017 4:19 AM by user_1377889

    AN56377 example question

    rseedle_2385561

      I have been reading the application note AN56377. On page 46 it starts out an USB communications example. I built the design in Creator and updated the code in main.c . Basically the code does not build because its looking for an include file that it can't file (device.h). My assumption is that there is a problem with the build environment. SO it can't find the file. The messeges that I get are:

         

      1. prj.M0121: can't open file 'device.h'                 main.c                  line 1        Project 1 USB...

         

      2. prj.M0121: can't open file 'device.h'                 main.c                  line 2        Project 1 USB...

         

      3. prj.M0120:Build error: missing ';' before 'USBFS_deviceAnddress'                 main.c                  line 17        Project 1 USB...

         

      The file main.c is attached.

         

      Any ideas about what is going on ?