Skip to content

STM32: Add displayio to F7/H7 #2842

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

Merged
merged 3 commits into from
May 5, 2020
Merged

STM32: Add displayio to F7/H7 #2842

merged 3 commits into from
May 5, 2020

Conversation

hierophect
Copy link
Collaborator

@hierophect hierophect commented May 1, 2020

This PR adds DisplayIO support to the F7 and H7 STM32 families. Should enable some fairly impressive screen use given the large RAM sizes and speeds of these chipsets.

Includes some minor changes to remove DisplayIO's strict dependency on Pulsio. Before, DisplayIO required PulseIO to be implemented as empty stubs but with the CIRCUITPY_PULSIO macro still turned on, which was confusing from a documentation perspective and not especially necessary since it could smoothly default to DigitalIO backlights already.

Another minor change included is tripling the default filesystem size of the H7. It may be beneficial in the future to add some kind of board-level setting to adjust filesystem size on these chips, since H7 dev boards often forgo SPI flash since the on-board flash is so huge (1MB). For now it's simply large enough to cleanly fit all the DisplayIO .mpy libraries without crashing.

Tested on Nucleo H743, Nucleo H767 with a SSD1306 with success.

Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

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

One major fix and test needed.

@hierophect hierophect requested a review from tannewt May 4, 2020 14:26
@hierophect
Copy link
Collaborator Author

@tannewt ping for re-review

Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

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

This looks good! Please comment on how you tested it on a non-STM board and then feel free to merge.

@hierophect
Copy link
Collaborator Author

Tested on STM32 Feather F405 and Atmel-SAMD Feather M4 Express for regression, works on both.

@hierophect hierophect merged commit c311b5c into adafruit:master May 5, 2020
@hierophect hierophect deleted the stm32-h7-displayio branch May 5, 2020 16:37
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