File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -201,12 +201,12 @@ function build_sketch(){ # build_sketch <ide_path> <user_path> <path-to-ino> [ex
201
201
echo " Debug (sketch)- extracted path = $lib_sketch_name "
202
202
# append json file where key is fqbn, sketch name, sizes -> extracted values
203
203
echo " {\" name\" : \" $lib_sketch_name \" ,
204
- \" sizes\" : {
204
+ \" sizes\" : [ {
205
205
\" flash_bytes\" : $flash_bytes ,
206
206
\" flash_percentage\" : $flash_percentage ,
207
207
\" ram_bytes\" : $ram_bytes ,
208
208
\" ram_percentage\" : $ram_percentage
209
- }
209
+ }]
210
210
}," >> " $sizes_file "
211
211
212
212
elif [ -f " $ide_path /arduino-builder" ]; then
@@ -408,10 +408,10 @@ function build_sketches(){ # build_sketches <ide_path> <user_path> <target> <pat
408
408
sed -i ' $ s/.$//' " $sizes_file "
409
409
fi
410
410
# echo end of sketches sizes_file json
411
- echo " ]} " >> " $sizes_file "
411
+ echo " ]" >> " $sizes_file "
412
412
# echo end of board sizes_file json
413
413
echo " }," >> " $sizes_file "
414
-
414
+
415
415
return 0
416
416
}
417
417
You can’t perform that action at this time.
0 commit comments