Skip to content

Instantly share code, notes, and snippets.

@maunsen
Last active August 2, 2024 23:27
Show Gist options
  • Save maunsen/8dbee2bddef027b04a450241c7d36668 to your computer and use it in GitHub Desktop.
Save maunsen/8dbee2bddef027b04a450241c7d36668 to your computer and use it in GitHub Desktop.
When using a Mac you need to make some other modifications to your boards.txt. You have to copy the internals of the folder /Users/<yourUserName>/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/ to /Users/<yourUserName>/Documents/Arduino/hardware/Spacemouse/avr/1.8.6/ and exchange the boards.txt file in there with the contents down below. …
micro.name=SpaceMouse Pro Wireless (cabled)
micro.vid.0=0x2341
micro.pid.0=0x0037
micro.vid.1=0x2341
micro.pid.1=0x8037
micro.vid.2=0x2A03
micro.pid.2=0x0037
micro.vid.3=0x2A03
micro.pid.3=0x8037
micro.vid.4=0x2341
micro.pid.4=0x0237
micro.vid.5=0x2341
micro.pid.5=0x8237
micro.upload_port.0.vid=0x2341
micro.upload_port.0.pid=0x0037
micro.upload_port.1.vid=0x2341
micro.upload_port.1.pid=0x8037
micro.upload_port.2.vid=0x2A03
micro.upload_port.2.pid=0x0037
micro.upload_port.3.vid=0x2A03
micro.upload_port.3.pid=0x8037
micro.upload_port.4.vid=0x2341
micro.upload_port.4.pid=0x0237
micro.upload_port.5.vid=0x2341
micro.upload_port.5.pid=0x8237
micro.upload_port.6.board=micro
micro.upload.tool=avrdude
micro.upload.tool.default=avrdude
micro.upload.tool.network=arduino_ota
micro.upload.protocol=avr109
micro.upload.maximum_size=28672
micro.upload.maximum_data_size=2560
micro.upload.speed=57600
micro.upload.disable_flushing=true
micro.upload.use_1200bps_touch=true
micro.upload.wait_for_upload_port=true
micro.bootloader.tool=avrdude
micro.bootloader.tool.default=avrdude
micro.bootloader.low_fuses=0xff
micro.bootloader.high_fuses=0xd8
micro.bootloader.extended_fuses=0xcb
micro.bootloader.file=caterina/Caterina-Micro.hex
micro.bootloader.unlock_bits=0x3F
micro.bootloader.lock_bits=0x2F
micro.build.mcu=atmega32u4
micro.build.f_cpu=16000000L
micro.build.vid=0x256f
micro.build.pid=0xc631
micro.build.usb_manufacturer="3Dconnexion"
micro.build.usb_product="SpaceMouse Pro Wireless (cabled)"
micro.build.board=AVR_MICRO
micro.build.core=arduino
micro.build.variant=micro
micro.build.extra_flags={build.usb_flags}
@bn326160
Copy link

bn326160 commented Jun 4, 2024

Thank you so much!

@JonatasMBrito
Copy link

Tk!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment