Draft
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Set byteboi-rev2 LCD SPI mode to 3, guard NC CS pin init, and switch to a ST7789-native init sequence with MADCTL 0xA0 for correct upright non-mirrored output. Also document the validated display profile in target docs. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This pull request adds support for the CircuitMess ByteBoi Rev. 2 hardware target to the retro-go project. The changes introduce a new target configuration, including hardware pin mappings, display initialization, and build environment settings. Additionally, the SPI display driver is updated to allow target-specific SPI mode selection, and initialization routines are made more robust for shared SPI buses.
New hardware target: ByteBoi Rev. 2
byteboi-rev2target configuration file with all relevant hardware settings, pin mappings, display initialization sequence, and battery calculation macros incomponents/retro-go/targets/byteboi-rev2/config.h.components/retro-go/targets/byteboi-rev2/docs/README.md.components/retro-go/targets/byteboi-rev2/env.py.sdkconfigfile for ByteBoi Rev. 2, specifying serial flasher, optimization, SPI RAM, filesystem, and other settings incomponents/retro-go/targets/byteboi-rev2/sdkconfig.RG_TARGET_BYTEBOI_REV2is defined incomponents/retro-go/config.h.Display driver improvements
RG_SCREEN_SPI_MODEmacro and updating the SPI device interface config incomponents/retro-go/drivers/display/ili9341.h. [1] [2]components/retro-go/drivers/display/ili9341.h.Platform initialization robustness
components/retro-go/rg_system.c.