Add the Elecrow CrowPanel 7.0" as a third board, and take the packages and the add-on from Gitea (0.2.93)
A board file for the Elecrow CrowPanel 7.0" (DIS08070H, ESP32-S3-WROOM-1-N4R8): 800x480 through mipi_rgb, GT911 on the ESP32-S3's USB pins (elecrow_usb_phy.h frees them, behind a flag only this board sets), the Guition's vertical sizes across a wider page, no rotation. Its 4 MB of flash take the CYD's budget: a partition table of the component's (smart_display: partitions: 4mb_wide_slots, 1,984 KB slots), the icon fonts at 2 bits a pixel and the TLS client only bring the firmware to 1,865,440 bytes, 91.8 % of a slot, with camera images kept. docs/ELECROW.md has the numbers and the trade. The add-on reads a large board's name from the type sensor's value, the editor offers the board under New screen and draws the wide preview, tools/check.sh builds it with the budget, render_topbar and capture_ui take the panel's size. Firmware 0.2.79; the CYD image is unchanged (1,633,760 bytes). This fork builds from gittea.trippedonmy.name/Xandrossian/homeassistant_espscreen: the packages, the fonts, the component and the add-on repository point there instead of GitHub.
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
# ESP Screens - an Elecrow CrowPanel 7.0" (DIS08070H, 7-inch 800x480) built from this checkout: the bench and the
|
||||
# manual route (README_EXTENDED.md, docs/ELECROW.md).
|
||||
#
|
||||
# The screen is two packages: packages/core.yaml, which every board shares (the LVGL tree, the cards, the
|
||||
# scripts, the entities), and packages/boards/elecrow-crowpanel7.yaml with this board's hardware and sizes.
|
||||
# docs/PROFILES.md says how the files fit together. A screen installed from ESP Screens builds the same two
|
||||
# files over GitHub through packages/elecrow.yaml; this file only adds what a build from a checkout needs:
|
||||
# the secrets (api_encryption_key, ota_password, Wi-Fi) from secrets.yaml and the components of this checkout.
|
||||
substitutions:
|
||||
FONT_DIR: "fonts" # the fonts next to this file
|
||||
|
||||
packages:
|
||||
core: !include packages/core.yaml
|
||||
board: !include packages/boards/elecrow-crowpanel7.yaml
|
||||
|
||||
# The components of this checkout; packages/elecrow.yaml takes them from GitHub.
|
||||
external_components:
|
||||
- source:
|
||||
type: local
|
||||
path: components
|
||||
components: [smart_display]
|
||||
|
||||
api:
|
||||
encryption:
|
||||
key: !secret api_encryption_key
|
||||
|
||||
ota:
|
||||
- platform: esphome
|
||||
password: !secret ota_password
|
||||
|
||||
wifi:
|
||||
ssid: !secret wifi_ssid
|
||||
password: !secret wifi_password
|
||||
# Mains-powered panel: no modem sleep, so HA updates and OTA arrive without beacon latency.
|
||||
power_save_mode: none
|
||||
ap:
|
||||
ssid: "Smartdisplay Fallback Hotspot"
|
||||
password: !secret ap_password
|
||||
|
||||
captive_portal:
|
||||
Reference in New Issue
Block a user