Skip to content

Recognize 2A03:0040 (Arduino Leonardo ETH) as a Caterina bootloader #486

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion macos/QMK Toolbox/USB/USBListener.swift
Original file line number Diff line number Diff line change
Expand Up @@ -202,13 +202,20 @@ class USBListener: BootloaderDeviceDelegate {
if productID == 0x0101 { // A-Star 32U4
return .caterina
}
case 0x2341, 0x2A03: // Arduino SA, dog hunter AG
case 0x2341: // Arduino SA
switch productID {
case 0x0036, 0x0037: // Leonardo, Micro
return .caterina
default:
break
}
case 0x2A03: // dog hunter AG
switch productID {
case 0x0036, 0x0037, 0x0040: // Leonardo, Micro, ETH
return .caterina
default:
break
}
case 0x239A: // Adafruit
switch productID {
case 0x000C, 0x000D, 0x000E: // Feather 32U4, ItsyBitsy 32U4 3V3/8MHz, ItsyBitsy 32U4 5V/16MHz
Expand Down
8 changes: 8 additions & 0 deletions windows/QMK Toolbox/Usb/UsbListener.cs
Original file line number Diff line number Diff line change
Expand Up @@ -279,11 +279,19 @@ private static BootloaderType GetDeviceType(ushort vendorId, ushort productId, u
}
break;
case 0x2341: // Arduino SA
switch (productId)
{
case 0x0036: // Leonardo
case 0x0037: // Micro
return BootloaderType.Caterina;
}
break;
case 0x2A03: // dog hunter AG
switch (productId)
{
case 0x0036: // Leonardo
case 0x0037: // Micro
case 0x0040: // ETH
return BootloaderType.Caterina;
}
break;
Expand Down