Page 1 of 1
Problem with gpio.h
Posted: Tue Dec 25, 2018 9:02 am
by alwalker
I'm just starting coding with xTIMEcomposer, I don't understand why I am getting an error with gpio.h not being found when I do a build, can anyone help please?
Thanks!
Al
Re: Problem with gpio.h
Posted: Tue Dec 25, 2018 9:31 am
by alwalker
I tried the recommendation in this thread
http://www.xcore.com/viewtopic.php?f=47&t=6586
But whilst the code still runs ok on my eXplorer Kit, I still get warnings when I do the Build.
Any ideas please?
Thanks!
Al
Re: Problem with gpio.h
Posted: Tue Dec 25, 2018 3:50 pm
by mon2
Hi. I get different warnings but try the following procedure:
1) start with a fresh workspace
2) follow these steps and then Edit view -> Project -> Build All and keep selecting Finish button till the code compiles.
xmos_launch_example.png
Hope this helps.
Re: Problem with gpio.h
Posted: Wed Dec 26, 2018 8:05 pm
by CousinItt
Have you tried doing a "clean project" before a "build project"? I've had similar problems and this often helps.
Re: Problem with gpio.h
Posted: Thu Jan 03, 2019 2:03 pm
by alwalker
Thanks very much, a Clean seems to do the trick!