Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
umbynos committed Aug 2, 2023
1 parent 53f6387 commit 9397175
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion generator/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

DOWNLOAD_URL = "https://downloads.arduino.cc/arduino-fwuploader"


# handle firmware name
def get_firmware_file(module, simple_fqbn, version):
firmware_full_path = Path(__file__).parent.parent / "firmwares" / module / version
Expand Down Expand Up @@ -227,7 +228,7 @@ def generate_boards_json(input_data, arduino_cli_path):
"arduino:samd:mkrvidor4000": {
"fqbn": "arduino:samd:mkrvidor4000",
"firmware": [],
}
},
}

# Gets the installed cores
Expand Down Expand Up @@ -270,6 +271,7 @@ def generate_boards_json(input_data, arduino_cli_path):

return boards_json


def generate_new_boards_json(input_data):
# init the boards dict
boards = {}
Expand All @@ -295,6 +297,7 @@ def generate_new_boards_json(input_data):

return boards_json


if __name__ == "__main__":
parser = argparse.ArgumentParser(prog="generator.py")
parser.add_argument(
Expand Down

0 comments on commit 9397175

Please sign in to comment.