The Makefile target is set to "xCORE-200 Explorer Kit", but on build, all I see is:
I didn't have this issue with the v2.0.0 of the library. Anyone any idea what I'm doing wrong ?10:50:59 **** Build of configuration Default for project usbtest ****
xmake CONFIG=Default all
Checking build modules
Using build modules: lib_usb(3.0.0) lib_logging(2.0.0) lib_xassert(2.0.0) lib_gpio(1.0.0)
Analyzing XUD_GetDone.c
Analyzing XUD_SetCrcTableAddr.c
Analyzing XUD_User.c
Analyzing debug_printf.c
Analyzing usbtest.xc
Analyzing device_reboot.xc
Analyzing usb_device.xc
Analyzing dfu.xc
Analyzing dfu_flash.xc
Analyzing endpoint0.xc
Analyzing XUD_EpFunctions.xc
Analyzing XUD_Ports.xc
Analyzing XUD_Client.xc
Analyzing XUD_DeviceAttach.xc
/Users/simon/src/xmos-usb3/lib_usb/xudlib/XUD_DeviceAttach.xc:139:2: warning: cannot poll for vbus on ARCH_G
#warning cannot poll for vbus on ARCH_G
^
Analyzing XUD_IOLoopCall.xc
Analyzing XUD_Manager.xc
/Users/simon/src/xmos-usb3/lib_usb/xudlib/XUD_Manager.xc:11:2: error: "Must set define XUD_SERIES_SUPPORT to XUD_L_SERIES, XUD_U_SERIES or XUD_X200_SERIES"
#error "Must set define XUD_SERIES_SUPPORT to XUD_L_SERIES, XUD_U_SERIES or XUD_X200_SERIES"
^
xmake[1]: *** [.build/_l_usb/xudlib//XUD_Manager.xc.pca.xml] Error 1
xmake: *** [analyze] Error 2
I did try going through the messages, fixing things as I went, then rebuilding etc. Eventually it told me it couldn't find a file that it had seemingly generated... Presumably it's not this hard to get the library to compile...
Cheers
Simon