sdcc with ds400 and serial ports
Arne Gellhaus <[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <[email protected]> |
Hi, i am trying to use the serial port #4 in a C program. In <tinibios.h> i found the Serial1* functions. Are these functions for the serial port #4, or - as the name states - for the external port #1? Anyway, if i compile my program with sdcc -c -mds400 --model-flat24 --stack-10bit --no-xinit-opt -I include serial.c and link it with sdcc -mds400 --model-flat24 --stack-10bit -Wl-r --xram-loc 0x10000 --code-loc 0x400000 serial.rel startup400.rel -l rominit.lib -L lib i get the linker errors ?ASlink-Warning-Undefined Global '_Serial1PutChar' referenced by module 'serial' ?ASlink-Warning-Undefined Global '_Serial1Flush' referenced by module 'serial' Are Serial1* functions only supported on ds390? How can i use Serial4 on my ds400? I am using sdcc 2.4.0 (Feb 23 2004) (MINGW32). Thank you, Arne Gellhaus _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini