-
Notifications
You must be signed in to change notification settings - Fork 2k
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
drivers/st7735: split off separate driver modules for st7789 and st7796 #19828
Closed
gschorcht
wants to merge
12
commits into
RIOT-OS:master
from
gschorcht:drivers/st7735_split_into_separate
Closed
drivers/st7735: split off separate driver modules for st7789 and st7796 #19828
gschorcht
wants to merge
12
commits into
RIOT-OS:master
from
gschorcht:drivers/st7735_split_into_separate
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To solve the repeatedly occurring dependency problems when modeling hardware options in Kconfig, the TFT hardware option is now modelled as a pseudomodule.
To solve the repeatedly occurring dependency problems when modeling hardware options in Kconfig, the TFT version of the Sipeed Longan Nano board has been split off into its own board definition based on the existing Siepeed Longan Nano board. A pseudo module is simply activated to indicate that the board has a TFT.
gschorcht
requested review from
leandrolanzieri,
jia200x,
MrKevinWeiss,
smlng,
aabadie,
MichelRottleuthner and
fjmolinas
as code owners
July 13, 2023 15:11
github-actions
bot
added
Area: doc
Area: Documentation
Area: tests
Area: tests and testing framework
Area: drivers
Area: Device drivers
Area: boards
Area: Board ports
Area: sys
Area: System
Area: Kconfig
Area: Kconfig integration
labels
Jul 13, 2023
Instead of using a wrong intialization command sequence for power and frame control, default values after reset are used.
gschorcht
force-pushed
the
drivers/st7735_split_into_separate
branch
from
July 13, 2023 15:26
959b216
to
f73d874
Compare
Closed in favor of cleaned up PR #19825 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Area: boards
Area: Board ports
Area: doc
Area: Documentation
Area: drivers
Area: Device drivers
Area: Kconfig
Area: Kconfig integration
Area: sys
Area: System
Area: tests
Area: tests and testing framework
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Contribution description
This PR demonstrates an alternative to PR #19825. Instead of handling the different ST77xx controller variants as pseudomodules by one driver, this PR uses a separate driver module for each variant that is simply duplicated code of
st7735
. The disadvantage is that most of the code is just copied and pasted. The advantages are:Testing procedure
tests/drivers/disp_dev
andtests/drivers/st77xx
should still work for all boards using a ST77xx display.adafruit-pybadge
esp32s2-lilygo-ttgo-t8
esp32s3-usb-otg
sipeed-longan-nano
Issues/PRs references