Explain xmap error for a function call within combinable fun

If you have a simple question and just want an answer.
JamesBMorris
Newbie
Posts: 1
Joined: Mon Feb 16, 2015 10:53 pm

Explain xmap error for a function call within combinable fun

Post by JamesBMorris »

I have a combinable function with timed cases that call read_periph_32(), p_gpio_peek(), and p_gpio_out().  The project seems to compile, but fails at the end, with xmap errors for each of these calls:

error: call to function '*' which selects on a notification in a combinable function select case

...where '*' is the respective function name.

I originally had this running on its own core, without complaint, so what about combining this (on a single-tile device) is different?

User avatar
infiniteimprobability
Verified
XCore Legend
Posts: 1164
Joined: Thu May 27, 2010 10:08 am

Post by infiniteimprobability »

This looks like a known bug (Bug 16131 - False error - function call combinable function select case) 

It should be fixed in version 13.2.1 which is available to download here - https://www.xmos.com/support/xtools

There is a work around if the above doesn't work for you.. Let me know if 13.2.1 doesn't fix it.

Engineer at XMOS