Hello again people, I'm continuously running into trouble with my application since I'm using interrupts. The error that Raphael is trying (I hope) to debug is still there, although it dissappears apparently randomly when changing some code. BTW, I have corrected the error where I have misused 'extern' label, so it caused a lot of confusion to the compiler. Even then, the error I sent before (Error [115] Duplicate label or redefining symbol that cannot be redefined.) still happens sometimes. I have not been able to see the logic that *might* be behind it. But now, I get a new, completely different, error.
I attach a copy of the code on it's current state, you can try it just with: # make Now I'm using official SDCC 2.9.0. The application hangs frequently, but only when the interrupt is active and the countdown is working. I am now using options '--stack-auto --int-long-reent' as recommended by the Manual, here: http://sdcc.sourceforge.net/doc/sdccman.html/node69.html#SECTION00491400000000000000 I have taken a look and put some __critical and volatile tags in some (I hope proper) places to protect functions and variables, but I get the following error: ======== sdcc -mpic14 -p16f877 --stack-auto --int-long-reent --nooverlay -I/usr/local/share/sdcc/include/pic/ -I/usr/local/share/sdcc/include/ -c temete4.c sdcc: gen.c:3128: genCmp: Assertion `left->aop->size == right->aop->size' failed. Caught signal 6: SIGABRT make: *** [all] Error 1 ======== Can somebody please take a look? Thank you, really. BTW, all this code (except trademarks and the like, naturally) is GPLv3 licensed, I have included it now properly.
temete-0.1.tar.gz
Description: GNU Zip compressed data
------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com
_______________________________________________ Sdcc-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sdcc-user
