Problem with gpio.h

Technical questions regarding the xTIMEcomposer, xSOFTip Explorer and Programming with XMOS.
alwalker
Member
Posts: 10
Joined: Sun Apr 08, 2018 11:19 pm

Problem with gpio.h

Postby alwalker » Tue Dec 25, 2018 9:02 am

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
Attachments
gpio include error.jpg
(1.37 MiB) Not downloaded yet
gpio include error.jpg
(1.37 MiB) Not downloaded yet
gpio Makefile.jpg
(377.11 KiB) Not downloaded yet
gpio Makefile.jpg
(377.11 KiB) Not downloaded yet
Last edited by alwalker on Tue Dec 25, 2018 12:25 pm, edited 1 time in total.
alwalker
Member
Posts: 10
Joined: Sun Apr 08, 2018 11:19 pm

Postby alwalker » Tue Dec 25, 2018 9:31 am

I tried the recommendation in this thread

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
Attachments
AN00155 gpio.jpg
(527.94 KiB) Not downloaded yet
AN00155 gpio.jpg
(527.94 KiB) Not downloaded yet
User avatar
mon2
XCore Legend
Posts: 1315
Joined: Thu Jun 10, 2010 11:43 am
Contact:

Postby mon2 » Tue Dec 25, 2018 3:50 pm

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
xmos_launch_example.png (59.19 KiB) Viewed 13633 times
xmos_launch_example.png
xmos_launch_example.png (59.19 KiB) Viewed 13633 times


Hope this helps.
CousinItt
Experienced Member
Posts: 92
Joined: Wed May 31, 2017 6:55 pm

Postby CousinItt » Wed Dec 26, 2018 8:05 pm

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

Postby alwalker » Thu Jan 03, 2019 2:03 pm

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

Who is online

Users browsing this forum: No registered users and 185 guests