File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 25
25
26
26
DOWNLOAD_URL = "https://downloads.arduino.cc/arduino-fwuploader"
27
27
28
+
28
29
# handle firmware name
29
30
def get_firmware_file (module , simple_fqbn , version ):
30
31
firmware_full_path = Path (__file__ ).parent .parent / "firmwares" / module / version
@@ -227,7 +228,7 @@ def generate_boards_json(input_data, arduino_cli_path):
227
228
"arduino:samd:mkrvidor4000" : {
228
229
"fqbn" : "arduino:samd:mkrvidor4000" ,
229
230
"firmware" : [],
230
- }
231
+ },
231
232
}
232
233
233
234
# Gets the installed cores
@@ -270,6 +271,7 @@ def generate_boards_json(input_data, arduino_cli_path):
270
271
271
272
return boards_json
272
273
274
+
273
275
def generate_new_boards_json (input_data ):
274
276
# init the boards dict
275
277
boards = {}
@@ -295,6 +297,7 @@ def generate_new_boards_json(input_data):
295
297
296
298
return boards_json
297
299
300
+
298
301
if __name__ == "__main__" :
299
302
parser = argparse .ArgumentParser (prog = "generator.py" )
300
303
parser .add_argument (
You can’t perform that action at this time.
0 commit comments