Game Boy Advance

The Game Boy Advance is a handheld videogame platform based on the ARM7TDMI microcontroller.


Interface Hardware Supported TinyGo Support
GPIO ? ?
UART ? ?
SPI ? ?
I2C ? ?
ADC ? ?
PWM ? ?

Installing dependencies

You can use a Game Boy Advance software emulator such as MGBA ( to test your programs.

Building code

Build your Game Boy Advance programs using -target gameboy-advance like this:

tinygo build -o main.elf -target gameboy-advance examples/gba-display

Then convert the ELF output file to the GBA file format by using the arm-none-eabi-objcopy command like this:

arm-none-eabi-objcopy -v -O binary main.elf main.gba

You can now use the GBA file with your emulator or flash it onto your physical hardware.


Information needed here…