Closed katzio closed 3 weeks ago
Did you load the board support for the sparkfun Boards before?
I also didn't had this issue, but my working copy was building upon an installation of Arduino IDE 1.x
With Arduino IDE 2.3.2 and Arduino AVR board package 1.8.6 , a few changes in text pasted to boards.txt were needed
spacemouse.build.variant=leonardo
spacemouse.bootloader.file=caterina/Caterina-Leonardo.hex
Also SpaceMouse needs to be added to list of boards supported by Arduino AVR platform in package_index.json, so that you can select it in IDE.
{
"name": "SpaceMouse"
},
Thanks for your suggestion! I can't verify you suggestion, because I mainly use Ubuntu and the windows machine is already scrambled with an arduino IDE version 1.x. ...
As I read it, we may need proper instructions for those three use-cases of our repo:
Do you agree, that we need a second description or do you think we can omit the description for Arduino IDE 1?
Can you write your suggestions from above as a step-by-step instructions with a complete listing of the board.txt, and where to put it?
IMHO better than describing how to configure development environment would be
I've no idea why variant and bootloader in your setup is named differently, maybe you are not using latest Arduino AVR board package 1.8.6 ?
This solution worked for me as well.
IMHO better than describing how to configure development environment would be
- allow user to configure SpaceMouse behavior from console and save configuration to EEPROM
This good suggestion is now part of this feature request: https://github.com/AndunHH/spacemouse/issues/57
I close the rest of this issue, as it seems to be described by the wiki https://github.com/AndunHH/spacemouse/wiki/Uploading-firmware-to-the-Pro-Micro
Not a bug, but this might help someone else (maybe add it to FAQ)
WIndows 11, 2.3.2 Arduino IDE, AVR 1.8.6
I followed every setup step, but was getting complication error "pins_arduino.h" not found.
Checked the file - indeed, not existing, even though it is imported in core
Its the first time I interact with Arduino and I'm not sure if this was suppose to be auto copied or magic imported, but it didn't
Copying the config from
variants\leonardo
(in my case, I used the board TeachingTech recommended) to version root (...avr\1.8.6
) solved itThanks for the effort you put in this repo, cool project 👍🏻