Skip to content

Commit ad37809

Browse files
Hard code uploader_plugin and additional_tools
1 parent 4403594 commit ad37809

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

generator/generator.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,17 @@ 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": [
252+
"arduino:espflash@2.0.0",
253+
"arduino:bossac@1.9.1-arduino5"
254+
],
255+
},
246256
}
247257

248258
# List of boards that do not need precompiled sketch data.

0 commit comments

Comments
 (0)