Skip to content
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

"pins_arduino.h" not found #19

Closed
katzio opened this issue Jun 16, 2024 · 6 comments
Closed

"pins_arduino.h" not found #19

katzio opened this issue Jun 16, 2024 · 6 comments

Comments

@katzio
Copy link

katzio commented Jun 16, 2024

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 it

Thanks for the effort you put in this repo, cool project 👍🏻

@AndunHH
Copy link
Owner

AndunHH commented Jun 17, 2024

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

@horvatkm
Copy link

horvatkm commented Jun 23, 2024

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=promicro
spacemouse.build.variant=leonardo

#spacemouse.bootloader.file=caterina/Caterina-promicro16.hex
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"
        },

@AndunHH
Copy link
Owner

AndunHH commented Jun 23, 2024

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:

  1. Windows with Arduino IDE 2.x -> putting your suggestion into a proper step-by-step guide
  2. Linux (and windows?) with Arduino 1.x -> Archive the existing description, because it seems to work
  3. The PlatformIO instructions, already in the readme, thanks to @skorokithakis in Skorokithakis feat platformio #23. The user interface in platformIO is more powerfull (=overwhelming for newcomers), but the initial setup is trivial, because there is no board creation necessary.

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?

@horvatkm
Copy link

horvatkm commented Jun 23, 2024

IMHO better than describing how to configure development environment would be

  • allow user to configure SpaceMouse behavior from console and save configuration to EEPROM
  • to provide compiled binary with description how to flash it

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 ?

@Benoit-LdL
Copy link

This solution worked for me as well.

AndunHH added a commit that referenced this issue Jul 7, 2024
@AndunHH AndunHH mentioned this issue Jul 7, 2024
AndunHH added a commit that referenced this issue Jul 9, 2024
* New debug=11 to recalibrate (=zero) the joysticks.
* Integrated a dead zone suggestion and warnings for non-idle axis
* Updates to README and added FAQ for #19
@AndunHH
Copy link
Owner

AndunHH commented Sep 10, 2024

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:
#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

@AndunHH AndunHH closed this as completed Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants