Hello,
MCU10.x has introduced the concept of RTOS adapters. This does not exist in MCU6.3 and causes the problem you see.
Looks like I might need to release two versions of the component: one for MCU10/eclipse and one for MCU6.x.
Here is how you can disable the RTOS adapter thing (plus another issue with the older Processor Expert):
a) In
C:\ProgramData\Processor Expert\CW08_PE3_09\Beans\FreeRTOS\FreeRTOS.bean
search for following line and remove it:
<OperatingSystemId>FreeRTOS</OperatingSystemId>
b) In
C:\ProgramData\Processor Expert\CW08_PE3_09\Drivers\sw\FreeRTOS.drv
remove following line (or comment it out with '%-':
%include sw\RTOSAdaptor\FreeRTOS_RTOSAdaptor.prg
Additionally, change
%if (defined(RuntimeCntr) & defined(@RuntimeCntrLDD@OnCounterRestart)) | (defined(RuntimeCntrLDD) & defined(@RuntimeCntrLDD@OnCounterRestart))
dword %'ModuleName'%.RunTimeCounter; /* runtime counter, used for configGENERATE_RUNTIME_STATS */
%endif
into
%if defined(RuntimeCntr) & defined(@RuntimeCntrLDD@OnCounterRestart)
dword %'ModuleName'%.RunTimeCounter; /* runtime counter, used for configGENERATE_RUNTIME_STATS */
%elif defined(RuntimeCntrLDD) & defined(@RuntimeCntrLDD@OnCounterRestart)
dword %'ModuleName'%.RunTimeCounter; /* runtime counter, used for configGENERATE_RUNTIME_STATS */
%endif
c) In
C:\ProgramData\Processor Expert\CW08_PE3_09\Drivers\sw\FreeRTOS.ts2
remove the content (make empty file or comment everything with '%-'
I have attached the changed version of the component so it should work now as well for the old 6.3.
BK