aviralgarg05 opened a new pull request, #3660: URL: https://github.com/apache/nuttx-apps/pull/3660
*Note: Please adhere to [Contributing Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).* ## Summary Add a small LVGL touchscreen calculator that can be built in or loaded as a module. Framebuffer and input paths are configurable. The app validates setup before entering the LVGL loop, resets static state on each invocation, reserves the nxstore supervisor strip, and exits cooperatively after `SIGTERM`. This PR is stacked on the nxpkg/nxstore series because it uses the shared supervisor-bar contract. For focused review, the calculator-specific change is the final commit [`9372de597`](https://github.com/aviralgarg05/nuttx-apps/commit/9372de597be607fee4a3b93ce062e4b0d313e829). The earlier commits in the draft diff belong to #3642 and #3643 and will disappear as those dependencies merge. ## Impact - New feature: YES, a new LVGL calculator example. - User adaptation: NO when the example is disabled. - Build: YES only with `CONFIG_EXAMPLES_CALCULATOR`. - Hardware: NO driver change. - Documentation: YES; Kconfig help documents the selectable behavior and device paths. - Security: NO new security boundary or privilege change. - Compatibility: Supports builtin and loadable-module configurations. - Other: This draft depends on the nxpkg/nxstore series. ## Testing - Build host: macOS 26.5, arm64, GCC 14.2.0. - Target: Xtensa ESP32-S3, Waveshare ESP32-S3-Touch-LCD-7. - `git diff --check` - NuttX `tools/checkpatch.sh` - ESP32-S3 RGB565 build and loadable-module launch - Invalid displays shorter than the reserved supervisor strip are rejected - Calculator rendered and accepted touch input - Process stack usage observed at 13.5 percent - Supervisor `SIGTERM` removed the process cleanly Testing logs before change: ```text The base has no examples/calculator application. ``` Testing logs after change: ```text calculator rendered on the RGB565 framebuffer and accepted touch input stack usage: 13.5% supervisor close: process exited after SIGTERM ``` ## PR verification Self-Check - [x] This PR contains one focused example. - [x] I have updated all required description fields above. - [x] I have reviewed and signed the commit. - [x] Local static and hardware checks pass. - [x] This PR adheres to the current contribution and coding guidelines. - [x] My PR is still work in progress. - [ ] My PR is ready for review and can be safely merged. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
