-
Notifications
You must be signed in to change notification settings - Fork 18
/
beaglebone-green-wifi.coffee
53 lines (43 loc) · 1.63 KB
/
beaglebone-green-wifi.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
48
49
50
51
52
53
deviceTypesCommon = require '@resin.io/device-types/common'
{ networkOptions, commonImg, instructions } = deviceTypesCommon
BBGW_FLASH = 'Power up the <%= TYPE_NAME %> while holding down the small button near the SD slot.
You need to keep it pressed until the blue LEDs start flashing wildly.'
BBGW_REMOVE_POWER = 'Wait 5 seconds after the blue leds stopped flashing wildly, then remove power from the board. On some boards the leds will shut down completely.'
BBGW_BOARD_POWERON = 'Re-connect power to the board.'
postProvisioningInstructions = [
BBGW_REMOVE_POWER
instructions.REMOVE_INSTALL_MEDIA
BBGW_BOARD_POWERON
]
module.exports =
version: 1
slug: 'beaglebone-green-wifi'
name: 'BeagleBone Green Wireless'
arch: 'armv7hf'
state: 'released'
stateInstructions:
postProvisioning: postProvisioningInstructions
instructions: [
instructions.ETCHER_SD
instructions.EJECT_SD
instructions.FLASHER_WARNING
BBGW_FLASH
].concat(postProvisioningInstructions)
gettingStartedLink:
windows: 'https://docs.resin.io/beaglebone/nodejs/getting-started/#adding-your-first-device'
osx: 'https://docs.resin.io/beaglebone/nodejs/getting-started/#adding-your-first-device'
linux: 'https://docs.resin.io/beaglebone/nodejs/getting-started/#adding-your-first-device'
yocto:
machine: 'beaglebone-green-wifi'
image: 'balena-image-flasher'
fstype: 'balenaos-img'
version: 'yocto-kirkstone'
deployArtifact: 'balena-image-flasher-beaglebone-green-wifi.balenaos-img'
compressed: true
options: [ networkOptions.group ]
configuration:
config:
partition:
primary: 1
path: '/config.json'
initialization: commonImg.initialization