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
Port defenitions
-
- Junior Member
- Posts: 5
- Joined: Sat Nov 26, 2011 6:11 am
-
- XCore Expert
- Posts: 754
- Joined: Thu Dec 10, 2009 6:56 pm
they can be found in
The file name looks like a remnant from the past.
Code: Select all
target\include\xs1_g4000b-512.h
-
- Junior Member
- Posts: 5
- Joined: Sat Nov 26, 2011 6:11 am
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.
-
- XCore Expert
- Posts: 754
- Joined: Thu Dec 10, 2009 6:56 pm
Yes the port definitions are the same.