Many thanks Mark. The project compiles fine but the M5223X_RAM target is still throwing errors:
Link Error : Overflow in segment: user from section: .text
Segment reserved size is: 0x00007c00 -- Overflow of: 0x0000c770
Link Error : Overflow in segment: user from section: .data
Segment reserved size is: 0x00007c00 -- Overflow of: 0x0000c7d0
Link Error : Overflow in segment: user from section: .bss
Segment reserved size is: 0x00007c00 -- Overflow of: 0x0000cab4
Link failed.
I'm assuming that this is to do with the size of the project and that it can't be debugged from RAM anyway so tried running the simultator using Visual Stduio 2003 but the following errors were produced:
LINK : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification
PortSim.obj : error LNK2019: unresolved external symbol "void __cdecl fnInjectSPI(unsigned char *,unsigned short,int)" (?fnInjectSPI@@YAXPAEGH@Z) referenced in function "void __cdecl fnExecute(int,int)" (?fnExecute@@YAXHH@Z)
PortSim.obj : error LNK2019: unresolved external symbol "void __cdecl fnInjectSerial(unsigned char *,unsigned short,int)" (?fnInjectSerial@@YAXPAEGH@Z) referenced in function "void __cdecl fnExecute(int,int)" (?fnExecute@@YAXHH@Z)
.\Debug/uTaskerV1-3.exe : fatal error LNK1120: 2 unresolved externals
This happens for both SP7 and SP8. Do these errors make any sense?