forked from balena-os/balena-raspberrypi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfincm3.coffee
47 lines (39 loc) · 1.43 KB
/
fincm3.coffee
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
deviceTypesCommon = require '@resin.io/device-types/common'
{ networkOptions, commonImg, instructions } = deviceTypesCommon
FIN_DEBUG = "While not having the Fin board powered, connect your system to the board's DBG port via a micro-USB cable.."
FIN_POWER = "Power on the Fin by attaching power to either the Barrel or the Phoenix connector."
FIN_WRITE = "Write the OS to the internal MMC storage device. We recommend using <a href=http://www.etcher.io/>Etcher</a>."
FIN_POWEROFF = "When flashing is complete, power off the board by detaching the power and unplug the DGB micro-USB cable."
module.exports =
version: 1
slug: 'fincm3'
aliases: [ 'fincm3' ]
name: 'Balena Fin (CM3)'
arch: 'armv7hf'
state: 'released'
instructions: [
FIN_DEBUG
FIN_POWER
FIN_WRITE
FIN_POWEROFF
instructions.CONNECT_AND_BOOT
]
gettingStartedLink:
windows: 'https://docs.resin.io/fincm3/nodejs/getting-started/#adding-your-first-device'
osx: 'https://docs.resin.io/fincm3/nodejs/getting-started/#adding-your-first-device'
linux: 'https://docs.resin.io/fincm3/nodejs/getting-started/#adding-your-first-device'
supportsBlink: true
options: [ networkOptions.group ]
yocto:
machine: 'fincm3'
image: 'resin-image'
fstype: 'resinos-img'
version: 'yocto-sumo'
deployArtifact: 'resin-image-fincm3.resinos-img'
compressed: true
configuration:
config:
partition:
primary: 1
path: '/config.json'
initialization: commonImg.initialization