I am using MIMXRT1060-EVK board and MCUExpresso IDE 11.1.1.
I am facing weird problem with using queue from inside of Lwip Httpsrv CGI callback function. For demonstration of my problem I prepared everythink into SDK example code "evkmimxrt1060_lwip_httpsrv_freertos". My changed project is in attachment.
If I am reading and writing to queue from main_thread, it is working fine. But if I try to read or write to queue from cgi_example function, it did not work.
I can see, I am calling xQueueReceive with first argument containg value 0x200111f4. But when it jump inside of function xQueueReceive, first argument cointain value 0x20010d9c and also other two arguments are wrong!
Can someone tell me what is wrong?