examples/calculator: Add an LVGL touchscreen calculator. - #3660
Open
aviralgarg05 wants to merge 1 commit into
Open
examples/calculator: Add an LVGL touchscreen calculator.#3660aviralgarg05 wants to merge 1 commit into
aviralgarg05 wants to merge 1 commit into
Conversation
6 tasks
aviralgarg05
force-pushed
the
gsoc/calculator-example-pr10
branch
from
August 14, 2026 15:12
9372de5 to
30c0eb7
Compare
aviralgarg05
marked this pull request as ready for review
August 14, 2026 15:14
🔗 Cross-repo PR dependenciesThe read-only Build run reported the following dependent PR(s) and fetched head SHA(s): CI run: https://github.com/apache/nuttx-apps/actions/runs/31813509921 |
aviralgarg05
force-pushed
the
gsoc/calculator-example-pr10
branch
from
August 15, 2026 10:02
f967ee4 to
158724f
Compare
🔗 Cross-repo PR dependenciesThe read-only Build run reported the following dependent PR(s) and fetched head SHA(s): CI run: https://github.com/apache/nuttx-apps/actions/runs/31878524647 |
aviralgarg05
force-pushed
the
gsoc/calculator-example-pr10
branch
from
August 15, 2026 10:33
158724f to
6c17d59
Compare
🔗 Cross-repo PR dependenciesThe read-only Build run reported the following dependent PR(s) and fetched head SHA(s): CI run: https://github.com/apache/nuttx-apps/actions/runs/31879830797 |
aviralgarg05
force-pushed
the
gsoc/calculator-example-pr10
branch
from
August 15, 2026 11:03
6c17d59 to
4183800
Compare
Add a standalone calculator with touch input and cooperative shutdown. Initialize the board through BOARDIOC_FINALINIT. Assisted-by: OpenAI Codex:gpt-5.6-sol Signed-off-by: aviralgarg05 <gargaviral99@gmail.com>
aviralgarg05
force-pushed
the
gsoc/calculator-example-pr10
branch
from
August 15, 2026 11:44
4183800 to
a235637
Compare
🔗 Cross-repo PR dependenciesThe read-only Build run reported the following dependent PR(s) and fetched head SHA(s): CI run: https://github.com/apache/nuttx-apps/actions/runs/31882801968 |
xiaoxiang781216
approved these changes
Aug 15, 2026
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.
Note: Please adhere to Contributing Guidelines.
Depends-On: /pull/3643
Summary
A touchscreen board had no small graphical application to exercise the
display and input path with, and nothing that demonstrated an application
cooperating with a supervisor.
This adds an LVGL calculator: the usual four operations, a display that
handles division by zero and overflow rather than showing a wrong result,
and a layout that scales to the framebuffer it finds. It exits cleanly when
asked to, so it can be started and closed repeatedly without leaking the
framebuffer.
The diff previously carried the commits it was branched from; it now
contains only the calculator.
Impact
Testing
Build host: macOS 26.5, arm64,
xtensa-esp-elf-gcc 14.2.0(
esp-14.2.0_20251107).Target: Xtensa / ESP32-S3, Waveshare ESP32-S3-Touch-LCD-7, 800x480 RGB565
with a GT911 touchscreen.
nxstyle,tools/checkpatch.sh,codespellandgit diff --checkand the application started and closed several times with no leftover
task afterwards
It uses
include/system/nxstore_chrome.h, so it does not build onmasteralone; the
Depends-Online above lets CI apply that first.PR verification Self-Check