This repository was archived by the owner on Apr 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbalena.yml
47 lines (45 loc) · 2.04 KB
/
balena.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: fbcp
description: Provides fbcp driver for using SPI-based displays on Raspberry Pis
post-provisioning: |
## Usage instructions
Include this snippet in your docker-compose.yml file under 'services':
```
browser:
image: bh.cr/balenalabs/fbcp
privileged: true
```
### Configuring HDMI and TFT display sizes
The following [Device Configuration](https://www.balena.io/docs/learn/manage/configuration/#configuration-variables) variables might be required for proper scaling and resolutions:
| Name | Value |
| ------------------------------------- | ----------------------------------------------------------------------------------------- |
| BALENA_HOST_CONFIG_hdmi_cvt | `<width> <height> <framerate> <aspect> <margins> <interlace> <rb>` e.g 480 320 60 1 0 0 0 |
| BALENA_HOST_CONFIG_hdmi_force_hotplug | 1 |
| BALENA_HOST_CONFIG_hdmi_group | 2 |
| BALENA_HOST_CONFIG_hdmi_mode | 87 |
type: sw.application
assets:
repository:
type: blob.asset
data:
url: 'https://github.com/balena-labs-projects/fbcp'
logo:
type: blob.asset
data:
url: 'https://raw.githubusercontent.com/balena-labs-projects/fbcp/master/logo.png'
data:
applicationEnvironmentVariables:
- FBCP_DISPLAY: ''
applicationConfigVariables:
- BALENA_HOST_CONFIG_hdmi_cvt: 480 320 60 1 0 0 0
- BALENA_HOST_CONFIG_hdmi_force_hotplug: 1
- BALENA_HOST_CONFIG_hdmi_group: 2
- BALENA_HOST_CONFIG_hdmi_mode: 87
- BALENA_HOST_CONFIG_gpu_mem: 64
defaultDeviceType: raspberry-pi3
supportedDeviceTypes:
- raspberrypi3
- raspberrypi4-64
- fincm3
- raspberry-pi
- raspberry-pi2
version: 1.1.0