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

SW-SPI over Patch Method. #1291

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

SW-SPI over Patch Method. #1291

wants to merge 2 commits into from

Conversation

dAjaY85
Copy link
Contributor

@dAjaY85 dAjaY85 commented Aug 31, 2023

This is the SW-SPI Version, with the ahoy patch method, modified for OpenDTU!

@dAjaY85
Copy link
Contributor Author

dAjaY85 commented Sep 6, 2023

Besteht überhaupt ein Interesse an der ePaper Integration in OpenDTU @tbnobody ?

@Nobby9
Copy link

Nobby9 commented Sep 6, 2023

Yes, we are waiting for it !

@3PrintD-Solution
Copy link

What is the current status of the merge?

Copy link

@mtavenrath mtavenrath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Due to lack of details of the inner parts of the project I cannot judge the split of the split into two different display classes. Besides removing -Werror the rest of the change looks good to me.

@tbnobody It'd be great if you could have a look as well. This is a really great addition to the project.

GxEPD2_GFX* _display;
};

extern DisplayEPaperClass DisplayEPaper;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I cannot tell whether or not memory is limited. If memory is limited the different display classes could go into a union and get initialized with a placement new.

@@ -24,11 +24,17 @@ platform = [email protected]
build_flags =
-DCOMPONENT_EMBED_FILES=webapp_dist/index.html.gz:webapp_dist/zones.json.gz:webapp_dist/favicon.ico:webapp_dist/favicon.png:webapp_dist/js/app.js.gz
-DPIOENV=\"$PIOENV\"
-Wall -Wextra -Werror
-Wall -Wextra ;-Werror

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which part of the change generate warnings? Those should be fixed instead of just disabling warnings as errors to keep compile output readable.

@mtavenrath
Copy link

@3PrintD-Solution @dAjaY85 This PR is superseeeded by #1703 with the changes applied to master a and a few issues fixed.

@stefan123t
Copy link

@dAjaY85 could you check if this is solved / implemented with the changes in #2306 by LennartF22 this week or if you need to apply some additional changes to the Display code ?

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

Successfully merging this pull request may close these issues.

5 participants