[avr-gcc-list] [Announce] [OT] NanoVM 1.6 released (java for avr)

2007-07-08 Thread Nils Springob
Hi, The NanoVM is a portable tiny java vm running on microcontrollers with at least 8k code space, especially Atmel AVR controllers. Robotic examples for the Asuro, the c't-Bot and the Nibo robot are included. The NanoVM Team today announced the immediate availability of the NanoVM 1.6, a Java

[avr-gcc-list] [Announce] [OT] NanoVM 1.5 released

2007-02-21 Thread Nils Springob
Hi, The NanoVM Team today announced the immediate availability of the NanoVM 1.5, a Java VM running on Atmel AVR's. This release contains several new features: * c't-Bot support * Floating point is now functional * 31-bit constant values * Several new op-codes implemented (lookupswitch, dup*,

Re: [avr-gcc-list] OS for AVR

2006-03-22 Thread Nils Springob
I think you can use xmk as OS. It's able to operate on an atmega16, so it should also run on an 8k flash device... http://www.shift-right.com/xmk/ If you are interested, I can send you the modifications for the small avr devices. Regards, Nils -- Nils Springob http://www.nicai-systems.de

Re: [avr-gcc-list] AVR assembly for fast bit bang

2005-11-09 Thread Nils Springob
Hi, I think there are two problems with the code: - using 16 bit data - shifting by a variable number of bits An optimization would be to write a funktion which only shifts up to 8 bit, and to shift the data every time by one bit. Regards, Nils original code: void write_data (Word towrite,

[avr-gcc-list] namespace::main() function c++ bug

2005-09-23 Thread Nils Springob
Hi, I think I found a bug in avr-gcc: Every function called main() gets the stack-setup-code, even when it is inside a namespace. Example: namespace threadA { void main (void * p) { ... } } this function gets the same code as the real main function. I am not sure if it is allowed to name

Re: [avr-gcc-list] OT Generic C question

2005-09-20 Thread Nils Springob
Hi, In C the result of this expression is undefined. The C language defines that the compiler is allowed to increment the variable i before or after the assignment operation. h=i++ is valid C, h will have the old value of i, i will be incremented. i=i++ is invalid C, the value of the variable