File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 2525
2626DOWNLOAD_URL = "https://downloads.arduino.cc/arduino-fwuploader"
2727
28+
2829# handle firmware name
2930def get_firmware_file (module , simple_fqbn , version ):
3031 firmware_full_path = Path (__file__ ).parent .parent / "firmwares" / module / version
@@ -227,7 +228,7 @@ def generate_boards_json(input_data, arduino_cli_path):
227228 "arduino:samd:mkrvidor4000" : {
228229 "fqbn" : "arduino:samd:mkrvidor4000" ,
229230 "firmware" : [],
230- }
231+ },
231232 }
232233
233234 # Gets the installed cores
@@ -270,6 +271,7 @@ def generate_boards_json(input_data, arduino_cli_path):
270271
271272 return boards_json
272273
274+
273275def generate_new_boards_json (input_data ):
274276 # init the boards dict
275277 boards = {}
@@ -295,6 +297,7 @@ def generate_new_boards_json(input_data):
295297
296298 return boards_json
297299
300+
298301if __name__ == "__main__" :
299302 parser = argparse .ArgumentParser (prog = "generator.py" )
300303 parser .add_argument (
You can’t perform that action at this time.
0 commit comments