We tried porting freeRTOs 10.4 kernel to RH850 closely following the available ports at freertos.org
We are able to successfully build and debug using GHS IDE but when we migrate to eclipse based GHS environment we encounter an exception at ConfigASSERT(pxQueue). this doesnot happen in GHS IDE but only in eclipse toolchain and in case both binary and counting semaphores are being used.
We are surprised as to what changes things in a toolchain based system.
we tried out the different options such as introducing a delay after tasks are created and putting all source code into a single file and so on but no difference made .
we checked the freeRTOS configuration and found configASSERT is defined to be just a disable interrupts and a infinite loop to hang around. Thinking to try to replace it with a tracelog using sprintf and va_arg stuff.
There could be multiple reasons including different code generated by different compilers. We would be able to find why it works in different IDE once we find the reason of the failure.