I've just completed a project using SDCC 2.8 on the mcs51 platform to
control a model slot car drag strip, using interrupts based timers, LCD
display, I/O floating point maths, etc. All 1700 lines of source, 19k of
object code happily compiled running.
Now I'm trying to creat a simple matrix display driver using an NXP
P89V51RD2 prototype board from MindTek and I'm banging my head against a
brick wall.
After including the P89V51RD2.H header file and ever since, I keep getting
SIGSEGV errors from the cpp.
At one point when I had no includes, it just gave me errors that various
SFR's were not defined but once the failure has occurred I can't seem to get
anywhere.
I upgraded from 2.8 to 2.9 last night and I still get the same problem but
the last project still builds OK.

Any pointers would be great as I'm about to start writing it in assembler !

Graham Clinch

Attachment: matrix.c
Description: Binary data

Attachment: matrix.H
Description: Binary data

Attachment: p89v51rd2.h
Description: Binary data

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to