Skip to content

Commit

Permalink
Merge pull request #548 from particle-iot/feature/b5som
Browse files Browse the repository at this point in the history
feature/b5som
  • Loading branch information
busticated authored Feb 6, 2020
2 parents a1205a7 + 0e41326 commit 603726f
Show file tree
Hide file tree
Showing 7 changed files with 93 additions and 56 deletions.
68 changes: 18 additions & 50 deletions npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
}
],
"dependencies": {
"binary-version-reader": "^0.6.5",
"binary-version-reader": "^0.7.4",
"chalk": "^2.4.2",
"cli-spinner": "^0.2.10",
"cli-table": "^0.3.1",
Expand Down Expand Up @@ -102,7 +102,7 @@
"sinon-chai": "^3.3.0"
},
"optionalDependencies": {
"particle-usb": "^0.5.1",
"particle-usb": "^0.5.2",
"serialport": "^8.0.5"
},
"engines": {
Expand Down
7 changes: 4 additions & 3 deletions settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,10 @@ var settings = {
12: 'Argon',
13: 'Boron',
14: 'Xenon',
22: 'A Som',
23: 'B Som',
24: 'X Som',
22: 'A SoM',
23: 'B SoM',
24: 'X SoM',
25: 'B5 SoM',
88: 'Duo',
103: 'Bluz'
},
Expand Down
1 change: 1 addition & 0 deletions src/cmd/cloud.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ const PLATFORMS = extend(utilities.knownPlatforms(), {
'a-series': 22,
'b-series': 23,
'x-series': 24,
'b5som': 25,
'o': 82,
'd': 88,
'bl': 103,
Expand Down
1 change: 1 addition & 0 deletions src/cmd/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ module.exports.platformsById = {
22: 'A SoM',
23: 'B SoM',
24: 'X SoM',
25: 'B5 SoM',
31: 'Raspberry Pi',
88: 'Duo',
103: 'Bluz'
Expand Down
67 changes: 66 additions & 1 deletion src/lib/deviceSpecs/specifications.js
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,6 @@ const specs = {
defaultProtocol: 'udp',
productId: 14,
},

'2b04:d018': {
productName: 'X SoM',
tcpServerKey: {
Expand Down Expand Up @@ -745,6 +744,72 @@ const specs = {
},
defaultProtocol: 'udp',
productId: 24,
},
'2b04:d019': {
productName: 'B5 SoM',
tcpServerKey: {
address: '2082',
size: 512,
format: 'der',
alt: '1',
alg: 'rsa',
addressOffset: 384,
portOffset: 450
},
udpServerKey: {
address: '3298',
size: 320,
format: 'der',
alt: '1',
alg: 'ec',
variant: 'gen3',
addressOffset: 192,
portOffset: 258
},
tcpPrivateKey: {
address: '34',
size: 612,
format: 'der',
alt: '1',
alg: 'rsa'
},
udpPrivateKey: {
address: '3106',
size: 192,
format: 'der',
alt: '1',
alg: 'ec'
},
userFirmware: {
address: '0x000D4000',
alt: '0'
},
systemFirmwareOne: {
address: '0x00030000',
alt: '0'
},
otaRegion: {
address: '0x80289000',
alt: '2'
},
otaFlag: {
address: '1753',
alt: '1',
size: '1'
},
radioStack: {
address: '0x00001000',
alt: '0'
},
knownApps: {
},
serial: {
vid: '2b04',
pid: 'c019',
serialNumber: 'Particle_B_SoM'
},
defaultProtocol: 'udp',
productId: 25,
}
};

Expand Down
1 change: 1 addition & 0 deletions src/lib/utilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ module.exports = {
'asom': 22,
'bsom': 23,
'xsom': 24,
'b5som': 25,
'oak': 82,
'duo': 88,
'bluz': 103,
Expand Down

0 comments on commit 603726f

Please sign in to comment.