This repository has been archived by the owner on Apr 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
contractsfin-block.yml
56 lines (48 loc) · 1.61 KB
/
contractsfin-block.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
48
49
50
51
52
53
54
55
56
name: fin
description: >-
The fin block is a balenaBlock that provides flashing utilities, status
tagging, sleep control and firmata control functionality of the balenaFin.
post-provisioning: >-
[![balena](https://github.com/balenablocks/fin-block/actions/workflows/balena.yml/badge.svg)](https://github.com/balenablocks/browser/actions/workflows/balena.yml)
## Usage instructions
Include this snippet in your docker-compose.yml file under 'services':
```
fin:
image: bh.cr/balenablocks/fin-block
restart: always # required for flashing coprocessor and setting DT Overlay Params
network_mode: host
privileged: true
volumes:
- "fin:/data/firmware" # use this for coprocessor firmware
labels:
io.balena.features.supervisor-api: "1"
io.balena.features.balena-api: "1"
environment:
- "DEBUG=firmata,flasher,downloader,supervisor,eeprom,main"
- "AUTOFLASH=1" # automatically flash coprocessor on boot
- "AUTOCONFIG=1" # automatically set DT Overlay Params on boot
expose:
- "1337"
```
To pin to a specific [version](CHANGELOG.md) of this block use:
```
fin:
image: bh.cr/balenablocks/fin-block/<version>
...
```
fleetcta: Control the balenaFin
version: 3.9.0
type: sw.application
assets:
repository:
type: blob.asset
data:
url: "https://github.com/balenablocks/fin"
logo:
type: blob.asset
data:
url: "https://raw.githubusercontent.com/balenablocks/fin/main/images/icon.png"
data:
defaultDeviceType: fincm3
supportedDeviceTypes:
- fincm3