mirror of
https://github.com/raphnet/gc_n64_usb-v3
synced 2024-12-21 14:58:51 -05:00
b22985712f
If the stack ever grows too large (and starts overwriting variables in .bss) the firmware jumps into the bootloader. This is better than just continuing to run with strange side effects. |
||
---|---|---|
misc | ||
scripts | ||
.gitignore | ||
bootloader.c | ||
bootloader.h | ||
changelog.txt | ||
config.c | ||
config.h | ||
dataHidReport.c | ||
eeprom.c | ||
eeprom.h | ||
gamecube.c | ||
gamecube.h | ||
gamepads.c | ||
gamepads.h | ||
gcn64_protocol.c | ||
gcn64_protocol.h | ||
gcn64txrx.h | ||
gcn64txrx.S | ||
hiddata.c | ||
hiddata.h | ||
intervaltimer.c | ||
intervaltimer.h | ||
LICENSE | ||
main.c | ||
main.h | ||
Makefile | ||
Makefile.inc | ||
Makefile.stk525 | ||
mappings.c | ||
mappings.h | ||
n64.c | ||
n64.h | ||
README.md | ||
release.sh | ||
reportdesc.c | ||
requests.h | ||
stkchk.c | ||
stkchk.h | ||
usart1.c | ||
usart1.h | ||
usb.c | ||
usb.h | ||
usbpad.c | ||
usbpad.h | ||
usbstrings.c | ||
usbstrings.h | ||
util.h | ||
version.c | ||
version.h |
Gamecube/N64 to USB adapter firmware (3rd generation)
Introduction
This is the source code for a Gamecube/N64 controller to USB adapter firmware meant to run on raphnet.net Multiuse PCB-X.
Homepage
- English: Gamecube/N64 controller to USB adapter (Third generation)
- French: Adaptateur manette Gamecube/N64 à USB (Troisième génération)
License
The project is released under the General Public License version 3.
Compiling the firmware
You will need a working avr-gcc toolchain with avr-libc and standard utilities such as make. Just type 'make' and it should build just fine. Under Linux at least.
Programming the firmware
The makefile has a convenient 'flash' target which sends a command to the firmware to enter the bootloader and then executes dfu-programmer (it must of course be installed) with the correct arguments.