rebuilding the USB application from modules

Technical questions regarding the XTC tools and programming with XMOS.
pasau
Experienced Member
Posts: 77
Joined: Fri Dec 06, 2013 7:05 pm

rebuilding the USB application from modules

Post by pasau »

Hi there, i imported the USB-Audio-2.0-Software-v6.1 projects into a workspace. Then i built the app_usb_aud_skc_su1 into my skc_su1 board successfully.

What i am trying to do now is to use the same modules from app_usb_aud_skc_su1 but remake the application myself, as a starting point on understanding how to create applications from modules. I copied every source file the app has into my own app, made a similar makefile with the same .xn platform and the same flags, only difference being that im only making 2 versions of the build (release and debug). I am having some errors trying to build my application that is basically a copy paste from app_usb_aud_skc_su1 :

this in a popup:
Errors occurred during the build.
Errors running builder 'CDT Builder' on project 'module_xud'.
java.lang.NullPointerException


this the problems tab:
*** Invalid configuration. Stop.

Please tell me what i should do to make the USB modules work together without importing the application. Thanks!

pasau
mhelin
Active Member
Posts: 52
Joined: Fri Dec 24, 2010 10:54 am

Post by mhelin »

You are not supposed to build the modules, just the application. Ignore that error message from module_xud, just build your application and everything should be fine.
User avatar
Ross
Verified
XCore Legend
Posts: 1195
Joined: Thu Dec 10, 2009 9:20 pm
Location: Bristol, UK

Post by Ross »

You should be able to build the module separately. However, there was an issue with the auto generated project files in this release of the XUD module. This is rectified in later releases.