Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Make macOS executables universal, for both x86_64 and arm64#104

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fpistm merged 1 commit intostm32duino:mainfrommarkmentovai:mac-arm64
Feb 17, 2025

Conversation

markmentovai
Copy link
Contributor

@markmentovaimarkmentovai commentedJan 23, 2025
edited by fpistm
Loading

This provides a rebuild of all macOS executables. For reproducibility, this was done entirely bybuild_mac.sh. I verified that different machines produce bit-for-bit identical output. A build machine running Xcode 16.2 16C5032a on macOS 15.2 24C101 was used.

These tools should run on macOS 10.13 and later. This version was selected as it's the minimum macOS version that the xPack tools declare support for.

A build of libusb is included, so that the provideddfu-util no longer has an external dependency.

The universal structure was chosen for these tools to avoid changing paths, anywhere they may be relied on. If desired,build_mac.sh can also be used to produce single-architecture tools, even cross-compiling, depending on the value of theARCH variable.

The current released versions were selected:

Link:stm32duino/BoardManagerFiles#72

This provides a rebuild of all macOS executables. For reproducibility,this was done entirely by `build_mac.sh`. I verified that differentmachines produce bit-for-bit identical output. A build machine runningXcode 16.2 16C5032a on macOS 15.2 24C101 was used.These tools should run on macOS 10.13 and later. This version wasselected as it's the minimum macOS version that the xPack tools declaresupport for.A build of libusb is included, so that the provided `dfu-util` no longerhas an external dependency.The universal structure was chosen for these tools to avoid changingpaths, anywhere they may be relied on. If desired, `build_mac.sh` canalso be used to produce single-architecture tools, even cross-compiling,depending on the value of the `ARCH` variable.The current released versions were selected: - libusb 1.0.27 - dfu-util 0.11 (including dfu-prefix and dfu-suffix) - hid-flash from STM32_HID_Bootloader 2.2.2 (this program erroneously   reports its version as 2.2.1), with a patch fromSerasidis/STM32_HID_Bootloader#68 (comment). - upload_reset from this repository at the HEAD of mainLink:stm32duino/BoardManagerFiles#72Signed-off-by: Mark Mentovai <mark@mentovai.com>
Copy link
Member

@fpistmfpistm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Thanks@markmentovai
Tested binaries with a MacBook Pro with Intel Core I5.

@fpistmfpistm merged commit492592d intostm32duino:mainFeb 17, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@fpistmfpistmfpistm approved these changes

Assignees
No one assigned
Labels
enhancementNew feature or request
Projects
Milestone
2.3.0
Development

Successfully merging this pull request may close these issues.

2 participants
@markmentovai@fpistm

[8]ページ先頭

©2009-2025 Movatter.jp