Arduboy board implementation using simavr
Follow the instruction for your operating system's Dependencies setup section and then jump to the Build section.
Install homebrew by running:
> /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Then install SDL2 and ELF libraries:
> brew install sdl2 libelf
> sudo apt-get install build-essential libelf-dev libsdl2-dev freeglut3-dev
Clone repository:
> git clone --recursive https://github.com/dxxb/sim-arduboy.git
Build:
> cd sim-arduboy
> make
Run your .hex file:
> ./sim_arduboy filename.hex
If avr-gcc cross-compiler is not installed on your system (only needed when building via CMake):
> brew tap osx-cross/avr
> brew install avr-gcc
Create XCode project files:
> cd sim-arduboy
> cmake -G Xcode ./cmake
Then open with XCode and build.