Re:Sample source code
I answered in another group here (OpenOCD). But you need to realize that all of the on-cip code needs to be programmed in C or Assembler, at least for right now. Arm assembler programming is not for the faint of heart, so C is normally the only practical choice.
But programming in Thumb-2 assembler is much better than the original Arm/Thumb assembler, so that's going to be viable for some users.
I write PC-side open source programs in my free time and I'm looking at supporting more language options down the road, but my time is small. Java will be my first language, and maybe later Basic or C#. Java support is over half done, but it takes a lot of time to test on the device and I never have any time lately.
Although I love Pascal, it's probably not popular enough to warrant a port (unless you guys can convince me otherwise). My VM work on embedded devices is modelled after the p-machine in UCSD Pascal, and updated by the JVM object orientation. So Pascal played a key historical role in most of the work I am doing now. And I still fire up Delphi several times a week.
For anyone interested in writing programs for the device written in Java, check out NanoVM. This is a cool open source nano-sized JVM. It runs programs compiled with a real Java compiler, and they run on-chip. NanoVM itself is written in C for the AVR, but it's being ported to other architectures by volunteers.
Eric
login or register to reply
|