Hi Malan, I doubt if lejos has been ported to that microcontroller before.
You can get the leJOS source from CVS (for the RCX version) or SVN (for the NXT version). As you are using an ARM chip, it may be best to use the VM from the NXT version in nxtvm/javavm. It has some changes to support aligment for ARM chips. The make file in nxtvm/platform/nxt may be the best starting point for an ARM chip. The main files you need to work on are platform/xxx/platform_config.h, platform/xxx/main.c and platform/xxx/native.c. You might find it easier to start with the Unix emulator version - there is one for RCX in CVS and one for the NXT in SVN. The platform-specific parts of the Unix versions are simpler. The Unix versions use nativeemul.c rather than native.c and tvmemul.c rather than main.c. They are in platform/unix. Lawrie ----- Original Message ----- From: "Malan Joubert" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Wednesday, August 08, 2007 11:34 PM Subject: [Lejos-discussion] Porting to MSP430 > Hi > > I want to port lejos to TI's MSP430 range of MCUs. Has anyone done > this before? If not, is there a guide to porting lejos. > > I found a short into in the docs, but it's not really comprehensive. > Apparantly the book Core LEGO MINDSTORMS Programming has a small > section on that. I don't want to buy the book just for the section > though. > > Thanks > Malan > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Lejos-discussion mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/lejos-discussion > > > -- > Internal Virus Database is out-of-date. > Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.11.0/927 - Release Date: 30/07/2007 > 17:02 > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Lejos-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lejos-discussion
