Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bundle native Arduino Firmware Uploader with Apple Silicon build
A separate build of Arduino IDE is produced for each of the macOS host architectures: * Apple Silicon (ARM) * Intel (x86) The Arduino IDE distribution includes several bundled helper tools. The build of those tools should also be selected according to the target host architecture. At the time the infrastructure was set up for bundling the "Arduino Firmware Uploader" tool with the Arduino IDE distribution, that tool was only produced in a macOS x86 variant. So this was used even in the Apple Silicon Arduino IDE distribution, relying on Rosetta 2 to provide compatibility when used on Apple Silicon machines. Since that time, the Arduino Firmware Uploader build infrastructure has been updated to produce an Apple Silicon build of the tool and such a build is available for the IDE's current version dependency of Arduino Firmware Updater. The "Arduino Firmware Uploader" tool bundling script is hereby updated to use the most appropriate variant of the dependency for the target host architecture. This provides the following benefits * Compatibility with systems that don't have Rosetta 2 installed * Improved performance
- Loading branch information