Search found 23 matches

by jsaksris
Fri Dec 21, 2018 10:54 am
Forum: Q&A
Topic: stddef.h cannot find __builtin_offsetof
Replies: 0
Views: 28959

stddef.h cannot find __builtin_offsetof

This is probably a C++ issue.. in side the tool suite.

help?
by jsaksris
Fri Dec 21, 2018 9:53 am
Forum: Q&A
Topic: compiling library
Replies: 3
Views: 26267

Re: compiling library

viewtopic.php?t=234

I may have answered my own question...
oh well, I'll leave it here so the next person have an easier time finding it
by jsaksris
Fri Dec 21, 2018 9:39 am
Forum: Q&A
Topic: compiling library
Replies: 3
Views: 26267

Re: compiling library

would you erraborate on adding the path to makefile?

In C there's usually a source variable to add path to gcc with -I
The xmos makefile doesn't seems to be evident here.
by jsaksris
Wed Dec 19, 2018 4:47 pm
Forum: Q&A
Topic: compiling library
Replies: 3
Views: 26267

compiling library

It seems that the when adding library to the code (lib_usb, lib_gpio, lib_i2c) The problem occurs when compiling, the program doesn't seems to find the .h files. These files are in the api folder of each library the path have been added to "property > general > path and symbols" as a works...
by jsaksris
Wed Dec 19, 2018 4:12 pm
Forum: Q&A
Topic: blink led using c_sof channel Topic is solved
Replies: 4
Views: 24717

Re: blink led using c_sof channel Topic is solved

found the file XUD_Manager.xc in lib_usb.

Now recompiling the library gives a bunch of error.. I think this is off topic now.. I'll close.
by jsaksris
Wed Dec 19, 2018 3:52 pm
Forum: Q&A
Topic: blink led using c_sof channel Topic is solved
Replies: 4
Views: 24717

Re: blink led using c_sof channel Topic is solved

it seems that there exist XUD_Manager.xc from the look inside the assembly code.
But I can't find it.

This work is related to USB audio 2.0 reference software
by jsaksris
Wed Dec 19, 2018 3:45 pm
Forum: Q&A
Topic: blink led using c_sof channel Topic is solved
Replies: 4
Views: 24717

Re: blink led using c_sof channel Topic is solved

It seems that I can add another channel to XUD_Manager to communicate through the channel..
I have found xud.h but doesn't seems to have xud.c that I can change.

anyone with experience?
by jsaksris
Wed Dec 19, 2018 3:19 pm
Forum: Q&A
Topic: blink led using c_sof channel Topic is solved
Replies: 4
Views: 24717

Re: blink led using c_sof channel Topic is solved

I have read this viewtopic.php?t=3751

but how can I copy the value to the c_sof to another channel?
by jsaksris
Wed Dec 19, 2018 3:17 pm
Forum: Q&A
Topic: blink led using c_sof channel Topic is solved
Replies: 4
Views: 24717

blink led using c_sof channel Topic is solved

Is it possible to blink LED using c_sof channel

I have created a function that take a channel as an input..
the compiler doesn't seems to be happy.
by jsaksris
Fri Dec 14, 2018 5:05 pm
Forum: Q&A
Topic: xcore-200 multichannel add function
Replies: 2
Views: 31041

Re: xcore-200 multichannel add function

bump!