aseba-community/aseba — Issue #49: Allow to write compiled code to a file
Author: retornaz
Created: 2011-10-24 13:56:14+00:00
State: open
Labels: Wish

It would by useful to be able to write binary (==compiled) code to a file.
Thus this code could be dynamically loaded by the thymio from the SD card.

In order to not automatically load code which is incompatible the following information should be in the file and checked by the VM:

- VM name
- VM ID
- VM fwversion
- VM productid
- VM_STACK_SIZE
- VM_BYTECODE_SIZE
- VM_VARIABLES_ARG_SIZE
- VM_VARIABLES_FREE_SPACE

Maybe a hash (CRC, or maybe md5) of the Full VM description could be used.