Hi,
I tried glowing LED demo in xTIMEcomposer 14, and got the following build errors.
Does anyone know how to fix the issue?
Thank you,
J
11:26:40 **** Incremental Build of configuration Default for project AN00174_startKIT_glowing_LEDs_demo ****
xmake all
Checking build modules
Using build modules: lib_startkit_support(2.0.0)
Analyzing startkit_adc.xc
C:/Users/joezhao/workspace/lib_startkit_support/src/startkit_adc.xc:31:22: error: use of undeclared identifer `adc_tile'
write_periph_32(adc_tile, 2, 0x20, 1, data);
^~~~~~~~
xmake[1]: *** [.build/_l_startkit_support/src//startkit_adc.xc.pca.xml] Error 1
xmake: *** [analyze] Error 2
Errors when compiling glowing LED demo
-
- New User
- Posts: 2
- Joined: Thu Oct 15, 2015 4:56 pm
-
- XCore Legend
- Posts: 1913
- Joined: Thu Jun 10, 2010 11:43 am
From a quick review, the AN00174_startKIT_glowing_LEDs_demo does not appear to have any relation to the startkit_adc.xc file nor adc on the startkit.
Are you attempting to add the support for the adc into this demo ? If not, suspecting that you have multiple projects in the same workspace, which are raising this issue.
Please review your workspace or better yet, create a fresh workspace and then drag & drop or import only the code for the AN00174 demo from here:
http://www.xmos.com/support/appnotes/AN00174
then compile again and you should be fine.
Also try this method (using your latest compiler version):
http://www.softio.com/doc/xmos_tutorial_v11.pdf
Are you attempting to add the support for the adc into this demo ? If not, suspecting that you have multiple projects in the same workspace, which are raising this issue.
Please review your workspace or better yet, create a fresh workspace and then drag & drop or import only the code for the AN00174 demo from here:
http://www.xmos.com/support/appnotes/AN00174
then compile again and you should be fine.
Also try this method (using your latest compiler version):
http://www.softio.com/doc/xmos_tutorial_v11.pdf