Repository navigation
Board configs: Arduino GIGA R1 WiFi with the GIGA Display Shield - #424
Merged
Merged
Conversation
arduino-giga-display-shield sets up the shield's 480x800 ST7701S panel on 2-lane MIPI DSI through displayif's mipidsi, and its GT911 touch on I2C4. The panel's start-up commands are a driver package of their own, giga_display_shield_init, with the register values from Arduino's Zephyr ST7701 driver (Apache-2.0). It needs micropython-pydevices' ARDUINO_GIGA DISPLAY_SHIELD firmware with displayif and LVGL; the Python libraries go in the board's ROMFS. Ran tools/libbuild.py check and installers --check, then the config on the board: lv_test_timer for 60 s with no timer errors and touch reading.
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.
arduino-giga-display-shieldis a board package for the GIGA R1 WiFi with the GIGA Display Shield: the shield's 480x800 ST7701S panel on 2-lane MIPI DSI through displayif'smipidsi, its GT911 touch on I2C4, andwlanas a lazy role. The panel's start-up commands are a driver package of their own,giga_display_shield_init, like the Tab5's. Its register values are Arduino's, from Zephyr's ST7701 driver, binding defaults and shield overlay, so that file carries Arduino's copyright and the Apache-2.0 licence, and its docstring says where each part came from. The display boards, board configs and device matrix pages list it.It needs a firmware with displayif's stm32
mipidsi: micropython-pydevices'ARDUINO_GIGADISPLAY_SHIELDvariant (PyDevices/micropython-pydevices#265 and PyDevices/micropython-pydevices#266). There's no room to freeze the OmniPython libraries into that firmware, so they go in the board's ROMFS with the two drivers this board needs, and the board's section of the display boards page has the commands. I ran them against the board: onempremote romfs deployof the libraries,gt911andgiga_display_shield_init, thenboard_config.pyandboard_peripherals.pycopied to/flash, andboard_configimported with its drivers from/romand brought the display up.tools/libbuild.py checkandinstallers --checkpass. On the board, with this config in/flash/liband lv_test_timer running for 60 s:board_configimports, the panel draws (seen on camera), the GT911 answers, and the timers ran with no errors (app.service 5776 fires, refresh 1752, LVGL 5314, longest gap 30 ms). Taps were counted with the same pins and settings before they moved into this package (25 in 60 s); this run had none, as nobody touched the screen.wlanis the samenetwork.WLANthe board joins Wi-Fi with at boot, but I didn't call the role itself.