Skip to content

Fix ARM Mac build#621

Open
victordiges wants to merge 1 commit intoFOME-Tech:masterfrom
victordiges:fix_mac_arm_compilation
Open

Fix ARM Mac build#621
victordiges wants to merge 1 commit intoFOME-Tech:masterfrom
victordiges:fix_mac_arm_compilation

Conversation

@victordiges
Copy link

Added a hex2dfu built binary for arm64 for Mac.
Updated hex2dfu submodule to RusEFI prod branch
Force the use of objcopy and objdump from arm-none-eabi toolchain in common_make.sh
Use darwin hex2dfu binary in Mac in common_make.sh

Fixes #466

Added a hex2dfu built binary for arm64 for Mac.
Updated hex2dfu submodule to RusEFI prod branch
Force the use of objcopy and objdump from arm-none-eabi toolchain in common_make.sh
Use darwin hex2dfu binary in Mac
Fixes FOME-Tech#466
@@ -35,8 +35,12 @@ fi

if uname | grep "NT"; then
Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder if we can tap/factor the platform detection logic in firmware/use_arm_gcc.mk, in the future.

Copy link
Author

Choose a reason for hiding this comment

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

do you mean that you'd like to make the detection just there and pass it along the build process? I did take inspiration from the logic there, but I didn't find a simple way to pass it along to the common_make script

Copy link
Contributor

Choose a reason for hiding this comment

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

  1. I wanted to create awareness about it; glad you'd seen it.
  2. We'd have to factor something to make them common, but I'm not sure along which lines makes sense (entirely w/in Make, via vars? or via callable .sh script? or ??)
  3. I don't expect it to be part of this changeset; unnecessary unless there's an obvious solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fome-fw doesnt compile on mac with m1 chip

2 participants