Problem with gpio.h

Technical questions regarding the XTC tools and programming with XMOS.
alwalker
Active Member
Posts: 45
Joined: Sun Apr 08, 2018 11:19 pm

Problem with gpio.h

Post 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
You do not have the required permissions to view the files attached to this post.
Last edited by alwalker on Tue Dec 25, 2018 12:25 pm, edited 1 time in total.


alwalker
Active Member
Posts: 45
Joined: Sun Apr 08, 2018 11:19 pm

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
mon2
XCore Legend
Posts: 1913
Joined: Thu Jun 10, 2010 11:43 am

Post 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.
You do not have the required permissions to view the files attached to this post.
User avatar
CousinItt
Respected Member
Posts: 360
Joined: Wed May 31, 2017 6:55 pm

Post by CousinItt »

Have you tried doing a "clean project" before a "build project"? I've had similar problems and this often helps.
alwalker
Active Member
Posts: 45
Joined: Sun Apr 08, 2018 11:19 pm

Post by alwalker »

Thanks very much, a Clean seems to do the trick!