arduino / arduino-fwuploader

A Command Line Tool made to update the firmware and/or add SSL certificates for any Arduino board equipped with WINC or NINA Wi-Fi module.
https://arduino.github.io/arduino-fwuploader/
GNU Affero General Public License v3.0
54 stars 17 forks source link

Fix the name not being present on the index #207

Closed umbynos closed 1 year ago

umbynos commented 1 year ago

Before this we have to have the core installed to retrieve this info. It's not optimal to install a whole core for a name only.

This problem became clear when running: arduino-fwuploader firmware list:

Board                       FQBN                                Module     Version
[...]
Arduino MKR WiFi 1010       arduino:samd:mkrwifi1010            NINA     ✔ 1.5.0
[...]
Arduino Uno WiFi Rev2       arduino:megaavr:uno2018             NINA     ✔ 1.5.0  
[...]
Arduino Nano RP2040 Connect arduino:mbed_nano:nanorp2040connect NINA       1.4.8  
Arduino Nano RP2040 Connect arduino:mbed_nano:nanorp2040connect NINA     ✔ 1.5.0  
                            arduino:renesas_uno:unor4wifi       ESP32-S3   0.1.0  
                            arduino:renesas_uno:unor4wifi       ESP32-S3   0.2.0  
                            arduino:renesas_uno:unor4wifi       ESP32-S3 ✔ 0.2.1  

Note the missing board name: This is caused by the absence of this field in the plugin_firmware_index.json. This PR aims to add this info directly without needing to install the whole core