Project

General

Profile

Actions

Feature #1030

closed

Switch to using include files for lcdshow hdmi vs tft configuration

Added by Hammel over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Immediate
Assignee:
Target version:
Start date:
29 Aug 2023
Due date:
% Done:

100%

Estimated time:
Severity:
01 - Critical

Description

In lcdshow, the pibox-hdmi script is used to switch between using hdmi and the TFT. This is done by using sed to change configuration options in config.txt

A better method would be to create stock hdmi and tft config files, as in lcdshow-hdmi-config.txt and lcdshow-tft-config.txt. Then the pibox-hdmi script need only change one line in config.txt to set the include file to use, as in either

  include lcdshow-hdmi-config.txt

or
  include lcdshow-tft-config.txt

The rest of pibox-hdmi is still required, since cmdline.txt and other config files don't support include files like this.


Related issues

Precedes picam - Feature #1027: Bump fps on RPi4 on TFTsClosedHammel30 Aug 202330 Aug 2023

Actions
Actions

Also available in: Atom PDF