boot2duino serves no other purpose than to generate a bootable x86 floppy image using the Arduino IDE, which seemingly serves no purpose.
Watch it in action:writing a hello world; a very basic piano.
Video vid;
voidsetup() {
vid.print("Hello world, from Arduino!");
}
voidloop() {
}Other examples:
Linux :
mkdir -p ~/Arduino/hardware/boot2duino
cd~/Arduino/hardware/boot2duino
git clone https://github.com/jeanthom/boot2duinoWindows :
mkdir%UserProfile%\Documents\Arduino\hardware
cd%UserProfile%\Documents\Arduino\hardware
git clone https://github.com/jeanthom/boot2duinoUsing qemu:
qemu-system-x86_64 -drive file=boot2duino-demo.ino.x86-pc.img,index=0,if=floppy,format=raw -soundhw pcspk- Install an x86 compiler
- Try upgrading your Arduino IDE
- Windows is not very well supported, give Linux a try
- Upgrade GCC to 11 (see this issue and this)
