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

More pico config #827

Merged
merged 6 commits into from
Jul 14, 2023
Merged

More pico config #827

merged 6 commits into from
Jul 14, 2023

Conversation

Daft-Freak
Copy link
Collaborator

Adds pin config for ST7789 displays and moves some of the definitions to a board-specific config.h instead of specifying all of them on the command line.

This is before I add more defines for SD card config... (Which isn't here, as SD card support is in another PR)

I've only tested this on PicoSystem, as I don't currently have the display packs or a monitor for my VGA board.

The number of definitions on the command line was getting silly
To hopefully avoid more code relying on internal #defines to guess the board type...

(DISPLAY_ST7789 != PicoSystem)
One less use of the DISPLAY_ #defines
@Daft-Freak
Copy link
Collaborator Author

Okay, tested the vga board hires change on pico dv (it does the same thing)... after spending way too much time getting that to work again.

@Gadgetoid Gadgetoid merged commit eaf25f8 into 32blit:master Jul 14, 2023
8 checks passed
@Daft-Freak Daft-Freak deleted the pico-config-defs branch July 14, 2023 21:12
Daft-Freak added a commit that referenced this pull request Aug 29, 2023
Otherwise the LED is never going to get enabled (broken by #827)
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