I'm trying to get RTAgent to work with RTX, however there is some disparity between RTX_Config.c and RTA_Config.c
RT Agent\Templates\RTA_Config.c is V2.6, and contains the definitions for use in the configuration wizard to control RT Agent & IO retargeting. All other RTA_Config.c files are V2.3, and only really differ in the task switch monitoring section. RTA_Config.c includes the RT_Agent.c file.
RTX_Config.c varies between V3.12 (in the RT Agent directory) and V3.21 (in Examples) and V3.20 (in Boards & Startup).
App note 194 suggests merging the changes from the 'RT Agent' RTX_Config.c (V3.12) to the 'Startup' RTX_Config (V3.20). Here lies the problem.
The 'RT Agent' RTX_Config.c also has RT Agent definitions and also includes the RT_Agent.c file - very similar to what the RTA_Config.c file does above.
Is RTA_Config.c redundent when using the RTX_Config.c from the 'RT Agent' directory? Or are the merged changes into RTX_Config.c no longer necessary?
As a further confusion I find that RT_Agent.c is V2.8 - should these version numbers match between RTA_Config.c and RT_Agent.c?
Figured it out (mostly) - with RTX don't include RTA_Config.c, merge code into RTX_Config.c from the 3.12 RTX_Config.c in the RT Agent directory. I can't see where to set hardware vs polling, but I'll get to that next.