Skip to content

Commit 00e9037

Browse files
Hard code uploader_plugin and additional_tools
1 parent a535203 commit 00e9037

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

generator/generator.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,14 @@ def generate_boards_json(input_data, arduino_cli_path):
242242
"fqbn": "arduino:mbed_nano:nanorp2040connect",
243243
"firmware": [],
244244
},
245-
"arduino:renesas_uno:unor4wifi": {"fqbn": "arduino:renesas_uno:unor4wifi", "firmware": []},
245+
"arduino:renesas_uno:unor4wifi": {
246+
"fqbn": "arduino:renesas_uno:unor4wifi",
247+
"firmware": [],
248+
# "uploader_plugin" and "additional_tools" need to be hard coded because
249+
# there is no way to retrieve them dinamically
250+
"uploader_plugin": "arduino:uno-r4-wifi-fwuploader@1.0.0",
251+
"additional_tools": ["arduino:espflash@2.0.0", "arduino:bossac@1.9.1-arduino5"],
252+
},
246253
}
247254

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

0 commit comments

Comments
 (0)