raphnet / gc_n64_usb-v3

Gamecube/N64 to USB adapter firmware (3rd generation)
http://www.raphnet.net/electronique/gcn64_usb_adapter_gen3/index_en.php
GNU General Public License v3.0
42 stars 10 forks source link

Fix & Improve ATmega32u4 support #8

Closed thinkingsand closed 2 years ago

thinkingsand commented 2 years ago

I've made a couple of improvements to support for the Arduino Leonardo and other boards based on an ATmega32u4 chip:

ATmega32u4 support was added in commit 7e90c06cf933db95a7fe7b5991343d010995a633 but broken again in commit ee3adafd2640b00cfe0f40e888b12bee4e19f11f, however this is easily rectified by adding a second define statement to account for both chips.

I have added a new 32u4 specific makefile and added instructions on how to use it to the readme, as it was very unclear how to compile for a 32u4 before.

With these changes 32u4 support should be fully complete, therefore I have removed it from the TODO section in the changelog.

Let me know if you find any issues, and I can get them fixed.

raphnet commented 2 years ago

Thank you!