-
Notifications
You must be signed in to change notification settings - Fork 8
Add Tronbyt S3 Device #24
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
Conversation
restore pixoticker env working, still no psram though i think. not working, but no watchdog on pixoticker build
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @tavdog, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!
Summary of Changes
This pull request adds support for the Tronbyt S3 device, which is an ESP32-S3 version of the Pixoticker with PSRAM. I've added a new board definition file (boards/tronbyt-S3.json
), modified extra_scripts/reset.py
to include the new board, and updated platformio.ini
to define the build environment for the Tronbyt S3. I've also included a default sdkconfig file for the Tronbyt S3.
Highlights
- New board support: Adds support for the Tronbyt S3 device, enabling it to be used with the project.
- Configuration files: Includes board definition, build environment, and default sdkconfig for the Tronbyt S3.
- Display definitions: Adds display definitions for the Tronbyt S3 device
Changelog
Click here to see the changelog
- .gitignore
- Added
.DS_Store
to the ignore list.
- Added
- boards/tronbyt-S3.json
- Created a new board definition file for the Tronbyt S3, including build settings, connectivity, debug configuration, frameworks, upload settings, URL, and vendor information.
- extra_scripts/reset.py
- Added
tronbyt-S3
to thePRODUCTION_VERSION
dictionary.
- Added
- platformio.ini
- Commented out the
board = wroom32
line and addedboard = tronbyt-S3
to the[env:pixoticker]
section. - Added a new environment
[env:tronbyt-S3]
with board settings, build flags, and library dependencies.
- Commented out the
- sdkconfig.pixoticker
- Created a new sdkconfig file for the pixoticker
- sdkconfig.tronbyt-S3
- Created a new sdkconfig file for the tronbyt-S3
- sdkconfig.tronbyt-S3.defaults
- Created a new sdkconfig defaults file for the tronbyt-S3
- src/display.cpp
- Added display definitions for the TRONBYT_S3 device, including pin assignments for R1, G1, BL1, R2, G2, BL2, CH_A, CH_B, CH_C, CH_D, CH_E, LAT, OE, and CLK.
- Conditionally disabled double-buffering for TRONBYT_S3 devices.
Using Gemini Code Assist
The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.
Invoking Gemini
You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command>
or @gemini-code-assist <command>
. Below is a summary of the supported commands.
Feature | Command | Description |
---|---|---|
Code Review | /gemini review |
Performs a code review for the current pull request in its current state. |
Pull Request Summary | /gemini summary |
Provides a summary of the current pull request in its current state. |
Comment | @gemini-code-assist | Responds in comments when explicitly tagged, both in issue comments and review comments. |
Help | /gemini help |
Displays a list of available commands. |
Customization
To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/
folder in the base of the repository. Detailed instructions can be found here.
Limitations & Feedback
Gemini Code Assist is currently in preview and may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments to provide feedback.
You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.
A new board takes its place,
Tronbyt S3, with PSRAM grace,
Pixels dance and gleam,
In a vibrant stream,
Code's canvas, a digital space.
Footnotes
-
Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution. ↩
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request introduces support for the Tronbyt S3 device, an ESP32-S3 version of the Pixoticker with PSRAM. The changes include adding a board definition, updating the reset script, modifying the platformio.ini file, and adding a new sdkconfig file. Overall, the changes seem well-structured and necessary for supporting the new device.
Summary of Findings
- Missing sdkconfig.tronbyt-S3.defaults file: The platformio.ini file references a
sdkconfig.tronbyt-S3.defaults
file, but this file is not included in the pull request. This file is necessary for configuring the ESP-IDF build for the Tronbyt S3 device. - Double buffering: Double buffering is disabled for the Tronbyt S3 device in
src/display.cpp
. Consider if this is the correct approach, and document why this is the case, or re-enable it.
Merge Readiness
The pull request introduces support for a new device and is well-structured. However, the missing sdkconfig.tronbyt-S3.defaults
file is a critical issue that must be addressed before merging. I recommend that the pull request not be merged until this file is added and the double buffering issue is resolved. I am unable to approve this pull request, and users should have others review and approve this code before merging.
board_build.cmake_extra_args = | ||
-DSDKCONFIG_DEFAULTS="sdkconfig.tronbyt-S3.defaults;" ; copied psram stuff from defaults |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"tidbyt-gen2": "v11/35369" | ||
"tronbyt-S3": "v10/35833", | ||
"tidbyt-gen2": "v11/35369", | ||
"matrixportal-s3": "v11/35369" # just to shut up the errors. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
board_build.extra_flags = | ||
-DBOARD_HAS_PSRAM | ||
board_build.cmake_extra_args = | ||
-DSDKCONFIG_DEFAULTS="sdkconfig.tronbyt-S3.defaults;" ; copied psram stuff from defaults |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
src/display.cpp
Outdated
#ifdef TRONBYT_S3 | ||
false, // double-buffering | ||
#else | ||
true, // double-buffering |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed
The tronbyt-s3 device is the esp32-s3 version of the pixoticker with psram