RE: CAN and TinyAnt problems
"Orla Skehill" <[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <[email protected]> |
Fred, >From my knowledge of the 390 using firmware 1.02e all the CAN stuff needs is to be compiled with a dependecy on the tiniclasses.jar file from the $TINI_HOME\bin\ directory and of course the relevent dalsemi.comm imports in your code. I don't think the other versions of TINI and firmware are any different from this(?). Also the types are case sensitive.... <snip> static CANBus myCANBus; </snip> it should be CanBus not CANBus likewise for the CanFrame. Regards, Orla. Message: 3 Date: Tue, 04 May 2004 17:23:34 -0400 From: fred whitridge <[email protected]> Reply-To: [email protected] To: tini-6tN4nzCoH/[email protected] Subject: [TINI]CAN and TinyAnt problems I'm having trouble compiling a program from "Embedded Internet Devides" which is a CANViewer. here'sthe output from Ant: Buildfile: build.xml prepare: compile: [javac] Compiling 2 source files to C:\FW_PROGS\canviewer\build [javac] C:\FW_PROGS\canviewer\src\CANBusViewer.java:7: cannot resolve symbol [javac] symbol : class CANBus [javac] location: class CANBusViewer [javac] static CANBus myCANBus; [javac] ^ [javac] C:\FW_PROGS\canviewer\src\CANBusViewer.java:30: cannot resolve symbol [javac] symbol : class CANBus [javac] location: class CANBusViewer [javac] myCANBus = new CANBus( CANBus.CANBUS0 ); [javac] ^ [javac] C:\FW_PROGS\canviewer\src\CANBusViewer.java:30: cannot resolve symbol [javac] symbol : variable CANBus [javac] location: class CANBusViewer [javac] myCANBus = new CANBus( CANBus.CANBUS0 ); [javac] ^ [javac] C:\FW_PROGS\canviewer\src\CANBusViewer.java:75: cannot resolve symbol [javac] symbol : class CANFrame [javac] location: class CANBusViewer [javac] CANFrame myFrame = new CANFrame(); [javac] ^ [javac] C:\FW_PROGS\canviewer\src\CANBusViewer.java:75: cannot resolve symbol [javac] symbol : class CANFrame [javac] location: class CANBusViewer [javac] CANFrame myFrame = new CANFrame(); [javac] ^ [javac] 5 errors From what I have read scouring the archives, it looks like the CAN stuff has been put in modules, according to owapi_dep. Whichmodule and how tdo I tell ANT to include it in the compile section? TIA... _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini