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

GPIO display reset optional / Added M5Core2 / White space fixes #58

Merged
merged 4 commits into from
Jun 7, 2021

Conversation

ropg
Copy link
Contributor

@ropg ropg commented Apr 28, 2021

Three separate commits in one PR:

 

LV_DISP_USE_RST

This is the same fix as @usedbytes has made here before, making the use of a GPIO pin for reset optional. Some people have the reset tied, or have it hooked up to a pin of a power management IC. No need to waste a GPIO.

@usedbytes's fix is only implemented the Kconfig option in the IL9341 driver, this one is implemented in all drivers where there's a GPIO for reset.

 

LV_PREDEFINED_DISPLAY_M5CORE2

Added support for the M5Core2. This depends on the previous, because it is setting CONFIG_LV_DISP_USE_RST=n

 

White space

I used a separate commit to remove white space at EOL and added some EOLs at EOF where needed. People's code editors are often set to do this automatically and it can make commits where they don't belong hard to audit. Also added a few entries to .gitignore.

ropg added 3 commits April 28, 2021 11:04
Allows to not allocate a GPIO for display reset: some may have that pin tied or attached to a Power management IC.

Supersedes PR from @usedbytes doing same but only for IL9341, this is for all supported displays.
Many code editors are set to do this automatically now, so it ends up being annoying to scrape back out of commits to keep them easily reviewable.

Also added '.DS_Store' and 'build' entries to .gitignore
@kisvegabor kisvegabor merged commit 5424362 into lvgl:master Jun 7, 2021
@kisvegabor
Copy link
Member

Thanks. Although I'm not deep into this repo but the changes look good so I merge it.

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.

2 participants