Ecos mika
From RFID Guardian
Build MiKa with -DPLATFORM=synth-x86-ecos or -DPLATFORM=bfin-ecos
Use the MiKa eCos additions which I never yet committed anywhere
Use, in a synth directory that has nfc_synth.nfc.0, (see ecos synth networking howto))
| $ mrg_rfid_guardian_main -io -nw -t ~/projects/rfid-guardian/svn/ecos/ecos-build/synth/my.tdf -- -port none |
or
| $ dir -io -nw -t ~/projects/rfid-guardian/svn/ecos/ecos-build/synth/my.tdf |
using commands
| UI> tftp 10.1.1.30 # set tftp server |
| UI> upload -t tftp <remote filename> <local filename> |
to upload to your device's disk:
- /mika/lib/
- /mika/lib/mika/
- /mika/lib/mika/wre.jar
- /mika/lib/mika/ext/
- /mika/lib/mika/ext/microedition-io.jar
- /mika/classes/
- /mika/classes/Hello.class
Then run mika as a stand-alone program:
| $ gdb --args ~/projects/rfid-guardian/3rdparty/mika/build/synth-x86-ecos/jam/mika/bin/mika -io -nw -t ~/projects/rfid-guardian/svn/ecos/ecos-build/synth/my.tdf -- -Wfsroot:/ -classpath /mika/classes -Xbootclasspath:/mika/lib/mika/wre.jar Hello |
... and voilà!
MiKa native with me4se
PROJECTS=/home/rutger/projects/rfid-guardian JAVA=$PROJECTS/3rdparty/java MRG=$PROJECTS/mrg-simulator
$JAVA/mika-me4se/release/pc-awt/bin/mika \
-classpath $JAVA/me4se/src/build/me4se-2.2.0.jar:$JAVA/me4se/lib/png-sixlegs-1.2.3/png.jar:$MRG/java/build/mrg_GP.jar \ org/me4se/MIDletRunner org.rfidguardian.UI.ME.MainList


