File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 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() {
110110 TypeName ("ToolPayload" )
111111
112112 Attribute ("name" , String , "The name of the tool" , func () {
113- Example ("avrdude " )
113+ Example ("bossac " )
114114 })
115115 Attribute ("version" , String , "The version of the tool" , func () {
116- Example ("6.3 .0-arduino9 " )
116+ Example ("1.7 .0-arduino3 " )
117117 })
118118 Attribute ("packager" , String , "The packager of the tool" , func () {
119119 Example ("arduino" )
120120 })
121121
122122 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+ })
124126
125127 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+ })
127131
128132 Required ("name" , "version" , "packager" )
129133})
You can’t perform that action at this time.
0 commit comments