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

Arduino code compilation issue #276

Closed
maxxlife opened this issue Nov 8, 2024 · 6 comments
Closed

Arduino code compilation issue #276

maxxlife opened this issue Nov 8, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@maxxlife
Copy link

maxxlife commented Nov 8, 2024

When I try to compile Arduino ino file project from andino/andino_firmware, receive an error. Do you have a list of libraries to add to the Arduino IDE environment?

In file included from /home/maxxlife/andino/andino_firmware/src/app.h:32:0,
                 from /home/maxxlife/andino/andino_firmware/src/app.cpp:65:
/home/maxxlife/Arduino/libraries/Adafruit_BNO055/Adafruit_BNO055.h:29:10: fatal error: Adafruit_Sensor.h: No such file or directory
 #include <Adafruit_Sensor.h>
          ^~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1

Compilation error: exit status 1
@maxxlife maxxlife added the bug Something isn't working label Nov 8, 2024
@github-project-automation github-project-automation bot moved this to 🆕 Backlog in Andino Roadmap Nov 8, 2024
@francocipollone
Copy link
Collaborator

francocipollone commented Nov 8, 2024

Check the readme at andino_firmware's package: https://github.com/Ekumen-OS/andino/tree/humble/andino_firmware

There you will see the path for loading it using arduino IDE or platform io.

@maxxlife
Copy link
Author

maxxlife commented Nov 9, 2024

Check the readme at andino_firmware's package: https://github.com/Ekumen-OS/andino/tree/humble/andino_firmware

There you will see the path for loading it using arduino IDE or platform io.

Thanks, using terminal command pio I was able to compile it. Could I build a project for Arduino Leonardo?

@francocipollone
Copy link
Collaborator

Check the readme at andino_firmware's package: https://github.com/Ekumen-OS/andino/tree/humble/andino_firmware
There you will see the path for loading it using arduino IDE or platform io.

Thanks, using terminal command pio I was able to compile it. Could I build a project for Arduino Leonardo?

Hey @maxxlife to be honest I haven't tried it with Leonardo. The pinout should match and regarding the interruptions leonardo has a couple of hardware interruptions that are switched, however we mainly use software interruptions in the code. So it SHOULD work from theory.
In case you build it for Leonardo please feel free to comment here with the outcome! All info is welcomed! :D

Closing the issue as it is resolved.

@github-project-automation github-project-automation bot moved this from 🆕 Backlog to ✅ Done in Andino Roadmap Dec 20, 2024
@maxxlife
Copy link
Author

Yes, I was able to build for Leonardo. There is difference in Interrupts names. But it can be reconfigured following the datasheets for Leonardo and Arduino Uno different ATMega controllers. I compiled the code for Leonardo with the updated Interrupt name, but didn't test it.

@francocipollone
Copy link
Collaborator

Yes, I was able to build for Leonardo. There is difference in Interrupts names. But it can be reconfigured following the datasheets for Leonardo and Arduino Uno different ATMega controllers. I compiled the code for Leonardo with the updated Interrupt name, but didn't test it.

Thanks for closing the loop on that. I appreciate the information :D

@maxxlife
Copy link
Author

Yes, I was able to build for Leonardo. There is difference in Interrupts names. But it can be reconfigured following the datasheets for Leonardo and Arduino Uno different ATMega controllers. I compiled the code for Leonardo with the updated Interrupt name, but didn't test it.

Thanks for closing the loop on that. I appreciate the information :D

I will create a PR or feature for that. Currently I'm in the heavy job search process, and also lost paper with all my notes about Interrupts reconfigure during my home move.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

2 participants