Page 1 of 1

USB_CFG_HAVE_INTRIN_ENDPOINT3 set to 0 gives errors

Posted: Wed Jun 26, 2013 1:36 am
by ulao
Can anyone tell me why setting USB_CFG_HAVE_INTRIN_ENDPOINT3 to 0 gives the below warnings? I'm also told the compile failed but I have no errors? I do not use a 3rd but it had to be set to 1 to ovoid this crazy what not.

is it needed because I use an out pipe?

note: some warnings do not apply.

Code: Select all

Warning   1   "__CODEVISIONAVR__" is not defined   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\usbdrv\usbportability.h   85   7   main
Warning   2   "USB_CFG_DRIVER_FLASH_PAGE" is not defined   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\usbdrv\usbportability.h   128   5   main
Warning   3   "USB_CFG_HAVE_MEASURE_FRAME_LENGTH" is not defined   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\usbdrv\usbdrv.h   323   5   main
Warning   4   "USB_CFG_CHECK_DATA_TOGGLING" is not defined   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\usbdrv\usbdrv.h   346   5   main
Warning   5   "USB_CFG_CHECK_DATA_TOGGLING" is not defined   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\usbdrv\usbdrv.c   43   5   main
Warning   6   "USB_CFG_USE_SWITCH_STATEMENT" is not defined   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\usbdrv\usbdrv.c   266   5   main
Warning   7   initialization from incompatible pointer type   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\usbdrv\usbdrv.c   364   1   main
Warning   8   assignment from incompatible pointer type   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\usbdrv\usbdrv.c   396   1   main
Warning   9   assignment from incompatible pointer type   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\usbdrv\usbdrv.c   411   1   main
Warning   10   "/*" within comment   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\main.c   118   1   main
Warning   11   "__CODEVISIONAVR__" is not defined   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\usbdrv\usbportability.h   85   7   main
Warning   12   "USB_CFG_DRIVER_FLASH_PAGE" is not defined   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\usbdrv\usbportability.h   128   5   main
Warning   13   "USB_CFG_HAVE_MEASURE_FRAME_LENGTH" is not defined   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\usbdrv\usbdrv.h   323   5   main
Warning   14   "USB_CFG_CHECK_DATA_TOGGLING" is not defined   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\usbdrv\usbdrv.h   346   5   main
Warning   15   assignment discards qualifiers from pointer target type   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\main.c   323   1   main
Warning   16   initialization makes integer from pointer without a cast   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\main.c   403   1   main
Warning   17   passing argument 1 of 'curGamepad->rumbleData' makes integer from pointer without a cast   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\main.c   403   1   main
Warning   18   unused variable 'curData'   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\main.c   403   1   main
Warning   19   function declaration isn't a prototype   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\main.c   449   1   main
Warning   20   function declaration isn't a prototype   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\main.c   460   1   main
Warning   21   implicit declaration of function 'twelveGetGamepad'   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\main.c   493   1   main
Warning   22   assignment makes pointer from integer without a cast   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\main.c   493   1   main
Warning   23   implicit declaration of function 'snesGetGamepad'   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\main.c   503   1   main
Warning   24   assignment makes pointer from integer without a cast   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\main.c   503   1   main
Warning   25   implicit declaration of function 'psxGetGamepad'   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\main.c   506   1   main
Warning   26   assignment makes pointer from integer without a cast   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\main.c   506   1   main
Warning   27   implicit declaration of function 'saturnGetGamepad'   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\main.c   512   1   main
Warning   28   assignment makes pointer from integer without a cast   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\main.c   512   1   main
Warning   29   implicit declaration of function 'db9GetGamepad'   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\main.c   515   1   main
Warning   30   assignment makes pointer from integer without a cast   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\main.c   515   1   main
Warning   31   implicit declaration of function 'gcGetGamepad'   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\main.c   518   1   main
Warning   32   assignment makes pointer from integer without a cast   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\main.c   518   1   main
Warning   33   implicit declaration of function 'n64GetGamepad'   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\main.c   520   1   main
Warning   34   assignment makes pointer from integer without a cast   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\main.c   520   1   main
Warning   35   implicit declaration of function 'wiiGetGamepad'   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\main.c   523   1   main
Warning   36   assignment makes pointer from integer without a cast   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\main.c   523   1   main
Warning   37   implicit declaration of function 'jaguarGetGamepad'   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\main.c   526   1   main
Warning   38   assignment makes pointer from integer without a cast   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\main.c   526   1   main
Warning   39   implicit declaration of function 'dreamCastGetGamepad'   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\main.c   529   1   main
Warning   40   assignment makes pointer from integer without a cast   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\main.c   529   1   main
Warning   41   implicit declaration of function 'intellivisionGetGamepad'   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\main.c   532   1   main
Warning   42   assignment makes pointer from integer without a cast   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\main.c   532   1   main
Warning   43   assignment makes pointer from integer without a cast   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\main.c   536   1   main
Warning   44   suggest parentheses around assignment used as truth value   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\main.c   632   1   main
Warning   45   suggest parentheses around assignment used as truth value   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\main.c   635   1   main
Warning   46   passing argument 1 of 'usbSetInterrupt' discards qualifiers from pointer target type   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\main.c   671   1   main
Warning   47   'blinkLed' defined but not used   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\gamepad.h   33   1   main
Warning   48   'rt_usbDeviceName' defined but not used   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\main.c   181   1   main
Warning   49   'rt_usbDeviceNameSize' defined but not used   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\main.c   182   1   main
Warning   50   "__CODEVISIONAVR__" is not defined   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\usbdrv\usbportability.h   85   7   main
Warning   51   "USB_CFG_DRIVER_FLASH_PAGE" is not defined   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\usbdrv\usbportability.h   128   5   main
Warning   52   "USB_CFG_HAVE_MEASURE_FRAME_LENGTH" is not defined   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\usbdrv\usbdrv.h   323   5   main
Warning   53   "USB_CFG_CHECK_DATA_TOGGLING" is not defined   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\usbdrv\usbdrv.h   346   5   main
Warning   54   "USB_CFG_SERIAL_NUMBER_LENGTH" is not defined   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\gamepad.c   34   5   main
Warning   55   implicit declaration of function '_delay_us'   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\gamepad.h   41   1   main
Warning   56   parameter names (without types) in function declaration   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\gamepad.h   53   1   main
Warning   57   parameter names (without types) in function declaration   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\gamepad.h   54   1   main
Warning   58   'blinkLed' defined but not used   S:\blissbox\SOURCE_FILES\blissbox\bliss-box 328 version 2.0\gamepad.h   33   1   main

Re: USB_CFG_HAVE_INTRIN_ENDPOINT3 set to 0 gives errors

Posted: Sun Jun 30, 2013 4:28 pm
by ulao
ok I think I see what it thinks is an error now.
Linking: main.elf
usbdrv/usbdrvasm.o:usbdrv/asmcommon.inc:180: undefined reference to `usbTxStatus3'
usbdrv/usbdrvasm.o:usbdrv/asmcommon.inc:183: undefined reference to `usbTxStatus3'
usbdrv/usbdrvasm.o:usbdrv/asmcommon.inc:184: undefined reference to `usbTxStatus3'
usbdrv/usbdrvasm.o:usbdrv/asmcommon.inc:185: undefined reference to `usbTxStatus3'


but I still have no clue how to satisfy it.