Re: Loading converted classes without build dependency
"Kris Ardis" <Kristopher.Ardis-6tN4nzCoH/[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <003101c42866$cc708d40$764000b4@kardis> |
There isn't an easy way to do this, unless you are willing to build multiple applications together into one application. If there were no native libraries involved you could use dynamic class loading (although that would be a performance hit). However, both I2C and SPI have native libraries, so this solution won't work. One way to do it that would be a little bit more work is to use an approach similar to the FastClassLoader example (in the 'examples' directory of the TINI SDK). Your app running on TINI would already have the I2C and SPI classes/libraries built in, and then you could dynamically load pre-chewed TINI class file images. Kris ----- Original Message ----- From: "Adam Ring" <aring-6tN4nzCoH/[email protected]> To: <tini-6tN4nzCoH/[email protected]> Sent: Tuesday, April 20, 2004 10:32 AM Subject: [TINI]Loading converted classes without build dependency > I am using a 80C400 for chip testing, and the number of applications is > growing very rapidly. I use I2C and SPI ports quite a bit, but it seems > a waste to have those com.dalsemi classes always built into the .tini > file. How do I shift the storage burden to one file instead of an > instance in every single app? My only experience with Java is what > I have tried to do with the TINI board, so my knowledge is admittedly > sparse on the subject of class loading and TINI class conversion. Any > help you can give is greatly appreciated. > > Adam Ring > _______________________________________________ > TINI mailing list > TINI-6tN4nzCoH/[email protected] > To UNSUBSCRIBE, edit your profile, or see list archives: > http://lists.dalsemi.com/mailman/listinfo/tini > _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini