Assign a variable to the c-file line number.
I have a FreeRTOS queue with many calls from various tasks.
I would like to assign elements of a variable that is passed into the queue with the file name and line number of the task that is placing the variable on the queue.
I have a corruption issue that might be a stack or perhaps an array that is being sent to the queue that is not copied but sent as a reference?
At the moment I have started to hand code the line numbers, but it's not ideal.
Can anyone help?
