Skip to content

Generate plugin_firmware_index.json with new boards data #172

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Jul 12, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Hard code uploader_plugin and additional_tools
  • Loading branch information
MatteoPologruto committed Jul 5, 2023
commit cabb75140d179796a0e69512157462a9a6a7fac6
9 changes: 8 additions & 1 deletion generator/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,14 @@ def generate_boards_json(input_data, arduino_cli_path):
"fqbn": "arduino:mbed_nano:nanorp2040connect",
"firmware": [],
},
"arduino:renesas_uno:unor4wifi": {"fqbn": "arduino:renesas_uno:unor4wifi", "firmware": []},
"arduino:renesas_uno:unor4wifi": {
"fqbn": "arduino:renesas_uno:unor4wifi",
"firmware": [],
# "uploader_plugin" and "additional_tools" need to be hard coded because
# there is no way to retrieve them dinamically
"uploader_plugin": "arduino:uno-r4-wifi-fwuploader@1.0.0",
"additional_tools": ["arduino:espflash@2.0.0", "arduino:bossac@1.9.1-arduino5"],
},
}

# List of old boards that need precompiled sketch data and uploader information obtained through platform.txt.
Expand Down