stevenvar / OMicroB

An OCaml generic virtual machine for microcontrollers
Other
138 stars 23 forks source link

Bytecode? #33

Open mweichert opened 3 years ago

mweichert commented 3 years ago

If I have ocaml bytecode, can I compile that with omicrob?

Thanks!

mweichert commented 3 years ago

Looks like it might be possible. I ask as I'd like to use ReasonML, and thought it be easiest to compile to bytecode first, and then use omicrob to compile to a microcontroller target.

omicrob example.byte -o example.c
omicrob example.c -o example.elf
omicrob example.c -o example.avr
omicrob example.avr -o example.hex