We are developing an application based on the latest USB audio reference kit. With all the preprocessing statements, it can be difficult to always see what is included in the actual build. It would be very helpful to have a map of the build 'details' of what and where the XMOS resources are distributed, between the two tiles. Something like a map file. I have seen posts on how to get this info, but no luck yet. What must be done to generate an XMOS resource usage map?
We are prototyping on XK-AUIDIO-316-MC-AB kit. Build is done from within the XTC Tools 15.2.1 command prompt:
wkspace\sw_usb_audio\app_usb_aud_xk_316_mc> xmake CONFIG=2AMi8o8xxxxxx
thanks
Create Xmos Resource Map File from within XTC command prompt
-
- Experienced Member
- Posts: 64
- Joined: Fri Mar 25, 2011 12:36 am
-
Verified
- XCore Legend
- Posts: 1163
- Joined: Thu Dec 10, 2009 9:20 pm
- Location: Bristol, UK
You're referring to the option to the compiler maybe?
Code: Select all
-report
Technical Director @ XMOS. Opinions expressed are my own
-
- Experienced Member
- Posts: 64
- Joined: Fri Mar 25, 2011 12:36 am
I think the -report option displays the available and the used resources on each tile. Just the numbers of timers, chanends, memory and cores used on each tile. I was more interested in getting all the specific details for those resources. The names of the chanend and cores specifically. I would then knnow exactly what was being built, so I could make some adjustments more effectively, when moving resources from tile to tile.
-
Verified
- XCore Legend
- Posts: 1163
- Joined: Thu Dec 10, 2009 9:20 pm
- Location: Bristol, UK
Ah, try -Xmapper --map -Xmapper map.txt
Technical Director @ XMOS. Opinions expressed are my own
-
- Experienced Member
- Posts: 64
- Joined: Fri Mar 25, 2011 12:36 am
okay. Is that just added to the BUILD_FLAGS in MAKEFILE?
-
Verified
- XCore Legend
- Posts: 1163
- Joined: Thu Dec 10, 2009 9:20 pm
- Location: Bristol, UK
Yes, there is an example here: https://github.com/xmos/sw_usb_audio/bl ... 6/Makefile
Technical Director @ XMOS. Opinions expressed are my own
-
- Experienced Member
- Posts: 64
- Joined: Fri Mar 25, 2011 12:36 am