From: Ben Slaghekke <ben.slaghekke@ia...> - 2001-07-09 21:53:52
Manuel Borchers wrote
> Hi all!
> I upgraded my old sdcc-2.2.1, because I had strange processor hangings.
> So I grabbed sdcc from cvs, compiled it and installed it.
> So, I did a first test with the c-file which had the "problematic" code.
> Worked just fine with the cvs version, no hangings anymore.
> The next step was to compile the (modified for my processor) ser_ir.c,
> but sdcc complains to compile:
> [master@... <mailto:master@...> work]$ sdcc -c ser_ir.c
> ser_ir.c(56):error *** Undefined identifier 'S0CON'
> But these regs are defined!
> -- snip --
> #define MICROCONTROLLER_SAB80517
> #define MCS51REG_EXTRENAL_RAM
> #include <mcs51reg.h>
> -- /snip --
> So, what's wrong here???
I don't know if it is relevant, but could not help to notice the
misspelling of the word 'external'.
You wrote 'extrenal', not 'external'.
Hope this helps,
Get latest updates about Open Source Projects, Conferences and News.