4 ms·
Is there a Raspberry PI emulator that exists that I could test my code on before attempting to load it onto the device?
by SomaticPirate 8y ago
Is there a Raspberry PI emulator that exists that I could test my code on before attempting to load it onto the device?
- torstenvl 8y agoI use the pre-built image from Azeria Labs. It's a Linux VM with QEMU set up for Pi/Raspian out of the box. https://azeria-labs.com/arm-lab-vm/ https://azeria-labs.com/arm-lab-vm/
- pm215 8y agoThose instructions are not using QEMU to emulate the Pi. They tell QEMU to emulate an entirely different piece of hardware (the versatilepb board) and run the raspbian userspace on it. You certainly won't be able to test any code for the Pi that directly accesses the hardware like that. (QEMU does have some limited real rpi emulation support, but those instructions don't use it.)
- monocasa 8y agoQemu has some support, but it's not much. There used to be this thing called PiEmu, but it's not on GitHub anymore as far as I can tell. IMO, just getting a PI and going to town is the best option currently.