Re: tini and c with java
Peter Wein <[email protected]> Fri, 11 Jun 2004 15:46:55 +0200
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <[email protected]> |
Hello Phil, It depends, for interrupt service routines, It is better not to use C. It was only a theoretical approach. It is then, if it will work, a C without any libraries and using of directs( especially not $20-21 or $68 above) and indirects, so you have to watch carefully after your code! You probably can use directs if you put them afterwards into the state before. The functions of the C libraries you can link in by hand as .asm files probably. I am working with the SDCC compiler (free available on sourceforge) and try to find out, what is possible and what not. In general I would say, you probably have more problems than solutions! You can use the -mTININative option of the SDCC to create Native libraries and that works fine (no global variables allowed, as I found out)). For the DS80C400 you have to make some changes to the linked in include files (in fact you replace them with the ones for DS80C400, f.e. ds80390.inc with ds80c400.inc and tini.inc with tini_400.inc, better only replace the content of the file, that saves time when compiling!) Kind regards Peter Philip Shaw wrote: > Dear Peter, > > Sorry for the direct aproach, I wonder from your posting to the list, > can c be used with java on the tini system? > > I have the keil C compiler but need to add ppp using java as its not > possable from c at present. > > any advise on this would be most helpful. > > regards > > philip _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini