Andy wrote:Have you checked to see it is actually recompiling the file you have changed? Sometimes Eclipse doesn't seem to recognise you have edited a file and just runs the old binary (I experienced this on the 9.9 release).
Well put it this way.
If I just change the header file, it claims it has no work to do, so I guess it just reads the old binary.
**** Build of configuration Debug for project kent ****
xmake all
xmake: Nothing to be done for `all'.
If I change the header file *and* the XC code (for example, send a different command) it knows it has to recompile and invokes as follows.
**** Build of configuration Debug for project kent ****
xmake all
Building file: ../kent_test.xc
Invoking: XC Compiler
xcc -O0 -g -Wall -c -o "kent_test.o" "../kent_test.xc" "../XC-1A.xn"
Finished building: ../kent_test.xc
Building target: kent.xe
Invoking: Mapper/Linker
xcc -Werror=timing-syntax -o "kent.xe" ./kent.o ./kent_test.o ../XC-1A.xn
Finished building target: kent.xe
So it does, but it
still doesn't pick up the change in the header file!
So basically it seems that it won't pick up changes to constants defined in header files between simulation runs, even on a recompile? Really? That can't be "Eclipse's fault" can it...?