Skip to content

Pr/add nm tv 154 support - #70

Open
RockBase-iot wants to merge 2 commits into
MatixYo:mainfrom
RockBase-iot:pr/add-nm-tv-154-support
Open

Pr/add nm tv 154 support#70
RockBase-iot wants to merge 2 commits into
MatixYo:mainfrom
RockBase-iot:pr/add-nm-tv-154-support

Conversation

@RockBase-iot

Copy link
Copy Markdown

Summary

This PR adds support for the NM-TV-154 ESP32 dev board with a 240×240 ST7789 square display, while keeping the existing round GC9A01 supermini target fully buildable.

What changed

  • Added [env:nm-tv-154] in platformio.ini with the target's pins, partition table, and build flags.
  • Added NM-TV-154 pin definitions and LovyanGFX/ST7789 panel configuration (include/hardware/nm_tv_154_pins.h, include/hardware/lgfx_config.hpp, include/hardware/display_bus_policy.h).
  • Added compile-time policies for square-display rendering and status layout (include/ui/nm_tv_154_policy.h, include/ui/radar_render_policy.h, include/ui/square_status.h).
  • Updated the radar UI to render four-corner telemetry ( Wi-Fi, aircraft count, range, time HH:MM ) on the square panel without changing circular radar coordinates.
  • Added display, time settings, Wi-Fi setup, and main-loop integration for the new target.
  • Updated README with NM-TV-154 info and added a hardware photo.
  • Changed the default build environment to nm-tv-154.

Verification

  • Both pio run -e nm-tv-154 and pio run -e supermini build successfully.
  • The existing round GC9A01 supermini behavior is preserved.
  • The original supermini target can still be selected explicitly with -e supermini.

Notes

  • The two planning documents under docs/superpowers/specs were intentionally left out of this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant