-
Notifications
You must be signed in to change notification settings - Fork 190
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
160 board hal #183
160 board hal #183
Conversation
* added epd_powerdown On lilygo disable display power but not touch screen. The epd power flag was re-purposed as power enable however it also disables the touch. this workaround may still leave power on to epd and as such may cause other problems such as grey screen. please also use poweroff when you sleep the system wake on touch will still work just not the I2C interface. * lilygo epd_powerdown note in readme Sorry it's not the prettiest thing. * Documentation change Deoxygenised the comments on the function so it will be explained in the readthedocs.io * Clarify readme * Finish readme for lily go * Clean up * Oops
Instead of using defines to set the board hardware definitions each board get its own file with the routines to access the hardware functions. This way also third party boards can be implemented without being required to modify the epdiy source. So far only logic from display_ops.c has been ported. Work still also exists to optimize duplicated code. Care has been taken to not break existing code bases. If a board is defined in menuconfig this will still be used.
The goal is to get rid of the config_reg_v*.h files
This should not be done for individual boards.
Boards specific code should be marked as such.
Move signals oe, mode and stv to this Implement start_frame using the ctrl interface
Hello Micke,
And doing an idf.py build I'm getting the following:
Can be that there are something's missing for this Lilygo board configuration? |
A short heads up about this Lilygo update in #179 was reversed since it added a function cfg_powerdown is a exact copy of existing funcion cfg_poweroff So I guess you can simplify this part and make it for now the same as all the other boards. This fix, was not proposed correctly, and also is about keeping touch on due to a bad hardware design from the Lilygo board that IMHO should be not part of this component. |
This makes vcom voltage available at runtime and not at compile time
This will leave touch screen powered when power off
Looks like I left some old code. I removed it now. Please try it again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything looks good to me, will test again at home with some boards, are we ready to merge tonight?
Yes, I you cannot find anything else then yes |
Redo pull request #168