Re: [Embedlets-dev] Re: JAPL Events
Status: Alpha
Brought to you by:
tkosan
|
From: Brill P. <bri...@ro...> - 2003-03-31 05:46:08
|
> Yes, but the catch 22 of this is that if you make JAPL dependent on > embedlets then the enourmous effort required to build the JAPL library, > which is actually an absolutely massive library, dependent on the James... the code you would actually have to write is much smaller than you think... thanks to the Link/Pipe architecure. There are a few base classes that you would need to implement (Processor, Port etc. for direct access) and any TransportLink implementations you might need... in your case with the uVM, the minimum would would be the UART link... but you could also do an I2C or API link as well. For instance, the JStamp platform impl. has a total of 4 classes, and that allows a fully working I2C system, with all the drivers availible in the JAPL (I think I've done about 10 or so already, though they are not all tested). You will have an added problem because you have to re-compile everything into native code... but that case I think is unusual, and you may not have a problem at all if it happens automatically, because you only have a few classes that must be native... everything else is pure JAPL. - Brill Pappin |