Port defenitions

Technical questions regarding the XTC tools and programming with XMOS.
xuser
Junior Member
Posts: 5
Joined: Sat Nov 26, 2011 6:11 am

Port defenitions

Post by xuser »

1) The XC programming manual says port definitions like XS1_PORT_1A are defined in <XS1.h>. See end of page-16 in "Programming XC on XMOS Devices" document.
We are using build tools 11.2.2 and found the xs1.h file in C:\Program Files\XMOS\DevelopmentTools\11.2.2\target\include\ directory but it doesn't contain any port definitions.

Any help is greatly appreciated.

Thanks in Advance
mjsunil
You do not have the required permissions to view the files attached to this post.


User avatar
Bianco
XCore Expert
Posts: 754
Joined: Thu Dec 10, 2009 6:56 pm

Post by Bianco »

they can be found in

Code: Select all

target\include\xs1_g4000b-512.h
The file name looks like a remnant from the past.
xuser
Junior Member
Posts: 5
Joined: Sat Nov 26, 2011 6:11 am

Post by xuser »

Thanks. We are using XS1-L1. Are the definitions in "XS1_G4000b_512b.h" for all processors? The file name makes me think it is for XS1_G4.
User avatar
Bianco
XCore Expert
Posts: 754
Joined: Thu Dec 10, 2009 6:56 pm

Post by Bianco »

Yes the port definitions are the same.