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

How to configure individuell overlays #31

Open
volkmarnissen opened this issue Dec 13, 2022 · 3 comments
Open

How to configure individuell overlays #31

volkmarnissen opened this issue Dec 13, 2022 · 3 comments

Comments

@volkmarnissen
Copy link

Hi,

I am building an image for opizero.
I'd like to use the additional USB hosts.
So, I need to add overlays usbhost1 and usbhost2.
Usually this happens in extra.sh for the board.
I'll do the changes in my fork. However, does it make sense to pull it into master branch?

This makes it easier to support USB cameras.

@ludiazv
Copy link
Owner

ludiazv commented Dec 14, 2022

I think for opizero usb is enabled. Any how if you find any improvement please send over a pull request that will be included in the next release.

@volkmarnissen
Copy link
Author

Hi,

you are right. However, I also like to use pwm for LED control.

The manifest file is somehow matching perfectly for anycubic ... printers. I am using prusa MK3.
Prusa MK3 has no built in LED, but has mesh bed leveling in the firmware.
I have no idea how to implement it, but may be it makes sense to have a configurable manifest to support different printers.
However, If no one else has this issue, we can leave it as it is.
For other issues, I created fixes and a pull request.
However, thank you for providing the image builds. They make it a lot easier to run octoprint on armbian based hardware.

@ludiazv
Copy link
Owner

ludiazv commented Dec 20, 2022

Hi,
Thank you for your contributions.

I've never worked with pwm in the opi zero. I did not added by default it conflicts with UART0 / console. If you want to enable is simple. Go to extra.sh and add one overlay like this:

add_overlay uart1

For the pull request, thanks for the contribution. I've revived it and I will not merge it yet as it links the build to a specific commit in the dev tree of octopi. I prefer to link with stable versions published upstream to avoid including any unstable version that might create bugs difficult to trace.

OctoPi will release soon a new version 1.0.0. (new in Rc3) Then I will implement your pull request with some minor changes to be inline with new octopi version.

Thanks again for your help in the project.

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

2 participants