Skip to content

Restioson/BF-Arduino

Repository files navigation

BF-Arduino

A Rust Arduino Brainfuck interpreter. Uses the Arduino library to make code simpler. Uses copy-pasted code.

Compiling

You will need to compile a working version of rustc for AVR. @gergoerdi wrote a nice tutorial for this. These steps do work under WSL (Windows Subsystem for Linux).

Flashing The Hex

You can use avrdude to flash the hex file to the AVR. I found this guide and this guide useful.

Example:

avrdude -v -p atmega328p -c arduino -P /dev/ttyUSB0 -b 57600 -D -U flash:w:target/arduino/release/bf_arduino.hex:i

You can replace /dev/ttyUSB0 with your port connected to the AVR, e.g /dev/ttyUSBX or, under windows COMX, where X is your port number. A quick way to find out which port it is plugged into is to use the Arduino IDE, and find it under Tools > Port.

About

A Brainfuck interpreter for Arduino

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published