File tree 1 file changed +8
-4
lines changed
1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -110,20 +110,24 @@ var ToolPayload = Type("arduino.tool", func() {
110
110
TypeName ("ToolPayload" )
111
111
112
112
Attribute ("name" , String , "The name of the tool" , func () {
113
- Example ("avrdude " )
113
+ Example ("bossac " )
114
114
})
115
115
Attribute ("version" , String , "The version of the tool" , func () {
116
- Example ("6.3 .0-arduino9 " )
116
+ Example ("1.7 .0-arduino3 " )
117
117
})
118
118
Attribute ("packager" , String , "The packager of the tool" , func () {
119
119
Example ("arduino" )
120
120
})
121
121
122
122
Attribute ("url" , String , `The url where the package can be found. Optional.
123
- If present checksum must also be present.` )
123
+ If present checksum must also be present.` , func () {
124
+ Example ("http://downloads.arduino.cc/tools/bossac-1.7.0-arduino3-linux64.tar.gz" )
125
+ })
124
126
125
127
Attribute ("checksum" , String , `A checksum of the archive. Mandatory when url is present.
126
- This ensures that the package is downloaded correcly.` )
128
+ This ensures that the package is downloaded correcly.` , func () {
129
+ Example ("SHA-256:1ae54999c1f97234a5c603eb99ad39313b11746a4ca517269a9285afa05f9100" )
130
+ })
127
131
128
132
Required ("name" , "version" , "packager" )
129
133
})
You can’t perform that action at this time.
0 commit comments